GIF94;
| Path : /var/www/wordpress/wp-content/plugins/oxygen/builder/dist/js/ |
| Current File : /var/www/wordpress/wp-content/plugins/oxygen/builder/dist/js/chunk-vendors.a8dd0b3d.js |
(globalThis["webpackChunkbuilder"]=globalThis["webpackChunkbuilder"]||[]).push([[998],{8241:(t,e,n)=>{"use strict";function i(t){if(!t||"object"!==typeof t||"function"===typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);if(Array.isArray(t))return t.map(i);if(t instanceof Map)return new Map(Array.from(t.entries()).map((([t,e])=>[t,i(e)])));if(t instanceof Set)return new Set(Array.from(t.values()).map(i));if(t instanceof Object){const e={},n=this&&this.circulars||[];n.push(t);for(const r in t)n.includes(t[r])||("object"===typeof t[r]?e[r]=i.call({circulars:n},t[r]):e[r]=i(t[r]));return e}return t}n.d(e,{Z:()=>c});const r=i,s=t=>"object"===typeof t&&t&&!Array.isArray(t);function o(...t){const e=this&&this.circulars||[],n=t.shift();for(const i of t)if(e.push(i),s(i))for(const t in i){const r=i[t],a=n[t];e.includes(r)||(s(r)?n[t]=o.call({circulars:e},s(a)?a:{},r):void 0!==r&&(n[t]=r))}return n}const a=o;function l(t={}){const{ssr:e,trigger:n}=a({trigger:"reset"},t);return t=>{const i=r(t.state);e&&t.replaceState(a(r(t.state),r(e))),t.subscribe(((e,s)=>{if(e.type===n){const e=r(i);s.route&&(e.route=r(s.route)),t.replaceState(e)}else{let o=e.type.split("/");const a=o.pop();a===n&&(o=o.join("/"),t.replaceState({...r(s),[o]:r(i[o])}))}})),t.registerModuleState=(e,n)=>{t.registerModule(e,n),i[e]=r(n.state)},t.unregisterModuleState=e=>{t.unregisterModule(e),delete i[e]}}}const c=l},94985:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(62556);function r(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&(0,i.Zq)(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},50400:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>s}),/^(14|9)3$/.test(n.j))var i=n(62556);if(/^(14|9)3$/.test(n.j))var r=n(138);function s(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),s=1,o=1;if((0,i.Re)(t)&&e){var a=t.offsetHeight,l=t.offsetWidth;l>0&&(s=(0,r.NM)(n.width)/l||1),a>0&&(o=(0,r.NM)(n.height)/a||1)}return{width:n.width/s,height:n.height/o,top:n.top/o,right:n.right/s,bottom:n.bottom/o,left:n.left/s,x:n.left/s,y:n.top/o}}},21437:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>b}),/^(14|9)3$/.test(n.j))var i=n(87701);if(/^(14|9)3$/.test(n.j))var r=n(3155);if(/^(14|9)3$/.test(n.j))var s=n(27723);if(/^(14|9)3$/.test(n.j))var o=n(7994);if(/^(14|9)3$/.test(n.j))var a=n(21955);if(/^(14|9)3$/.test(n.j))var l=n(67252);if(/^(14|9)3$/.test(n.j))var c=n(43062);if(/^(14|9)3$/.test(n.j))var u=n(62556);if(/^(14|9)3$/.test(n.j))var h=n(50400);if(/^(14|9)3$/.test(n.j))var p=n(95923);if(/^(14|9)3$/.test(n.j))var d=n(94985);if(/^(14|9)3$/.test(n.j))var f=n(96333);if(/^(14|9)3$/.test(n.j))var O=n(65626);if(/^(14|9)3$/.test(n.j))var m=n(138);function g(t){var e=(0,h.Z)(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function v(t,e){return e===i.Pj?(0,O.Z)((0,r.Z)(t)):(0,u.kK)(e)?g(e):(0,O.Z)((0,s.Z)((0,l.Z)(t)))}function y(t){var e=(0,o.Z)((0,p.Z)(t)),n=["absolute","fixed"].indexOf((0,c.Z)(t).position)>=0,i=n&&(0,u.Re)(t)?(0,a.Z)(t):t;return(0,u.kK)(i)?e.filter((function(t){return(0,u.kK)(t)&&(0,d.Z)(t,i)&&"body"!==(0,f.Z)(t)})):[]}function b(t,e,n){var i="clippingParents"===e?y(t):[].concat(e),r=[].concat(i,[n]),s=r[0],o=r.reduce((function(e,n){var i=v(t,n);return e.top=(0,m.Fp)(i.top,e.top),e.right=(0,m.VV)(i.right,e.right),e.bottom=(0,m.VV)(i.bottom,e.bottom),e.left=(0,m.Fp)(i.left,e.left),e}),v(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}},26143:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>p}),/^(14|9)3$/.test(n.j))var i=n(50400);if(/^(14|9)3$/.test(n.j))var r=n(64782);if(/^(14|9)3$/.test(n.j))var s=n(96333);if(/^(14|9)3$/.test(n.j))var o=n(62556);if(/^(14|9)3$/.test(n.j))var a=n(4063);if(/^(14|9)3$/.test(n.j))var l=n(67252);if(/^(14|9)3$/.test(n.j))var c=n(60611);if(/^(14|9)3$/.test(n.j))var u=n(138);function h(t){var e=t.getBoundingClientRect(),n=(0,u.NM)(e.width)/t.offsetWidth||1,i=(0,u.NM)(e.height)/t.offsetHeight||1;return 1!==n||1!==i}function p(t,e,n){void 0===n&&(n=!1);var u=(0,o.Re)(e),p=(0,o.Re)(e)&&h(e),d=(0,l.Z)(e),f=(0,i.Z)(t,p),O={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(u||!u&&!n)&&(("body"!==(0,s.Z)(e)||(0,c.Z)(d))&&(O=(0,r.Z)(e)),(0,o.Re)(e)?(m=(0,i.Z)(e,!0),m.x+=e.clientLeft,m.y+=e.clientTop):d&&(m.x=(0,a.Z)(d))),{x:f.left+O.scrollLeft-m.x,y:f.top+O.scrollTop-m.y,width:f.width,height:f.height}}},43062:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(62057);function r(t){return(0,i.Z)(t).getComputedStyle(t)}},67252:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(62556);function r(t){return(((0,i.kK)(t)?t.ownerDocument:t.document)||window.document).documentElement}},27723:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>l}),/^(14|9)3$/.test(n.j))var i=n(67252);if(/^(14|9)3$/.test(n.j))var r=n(43062);if(/^(14|9)3$/.test(n.j))var s=n(4063);if(/^(14|9)3$/.test(n.j))var o=n(82163);if(/^(14|9)3$/.test(n.j))var a=n(138);function l(t){var e,n=(0,i.Z)(t),l=(0,o.Z)(t),c=null==(e=t.ownerDocument)?void 0:e.body,u=(0,a.Fp)(n.scrollWidth,n.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),h=(0,a.Fp)(n.scrollHeight,n.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),p=-l.scrollLeft+(0,s.Z)(t),d=-l.scrollTop;return"rtl"===(0,r.Z)(c||n).direction&&(p+=(0,a.Fp)(n.clientWidth,c?c.clientWidth:0)-u),{width:u,height:h,x:p,y:d}}},18328:(t,e,n)=>{"use strict";function i(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}n.d(e,{Z:()=>i})},40583:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(50400);function r(t){var e=(0,i.Z)(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}},96333:(t,e,n)=>{"use strict";function i(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,{Z:()=>i})},64782:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>a}),/^(14|9)3$/.test(n.j))var i=n(82163);if(/^(14|9)3$/.test(n.j))var r=n(62057);if(/^(14|9)3$/.test(n.j))var s=n(62556);if(/^(14|9)3$/.test(n.j))var o=n(18328);function a(t){return t!==(0,r.Z)(t)&&(0,s.Re)(t)?(0,o.Z)(t):(0,i.Z)(t)}},21955:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>h}),/^(14|9)3$/.test(n.j))var i=n(62057);if(/^(14|9)3$/.test(n.j))var r=n(96333);if(/^(14|9)3$/.test(n.j))var s=n(43062);if(/^(14|9)3$/.test(n.j))var o=n(62556);if(/^(14|9)3$/.test(n.j))var a=n(67313);if(/^(14|9)3$/.test(n.j))var l=n(95923);function c(t){return(0,o.Re)(t)&&"fixed"!==(0,s.Z)(t).position?t.offsetParent:null}function u(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&(0,o.Re)(t)){var i=(0,s.Z)(t);if("fixed"===i.position)return null}var a=(0,l.Z)(t);while((0,o.Re)(a)&&["html","body"].indexOf((0,r.Z)(a))<0){var c=(0,s.Z)(a);if("none"!==c.transform||"none"!==c.perspective||"paint"===c.contain||-1!==["transform","perspective"].indexOf(c.willChange)||e&&"filter"===c.willChange||e&&c.filter&&"none"!==c.filter)return a;a=a.parentNode}return null}function h(t){var e=(0,i.Z)(t),n=c(t);while(n&&(0,a.Z)(n)&&"static"===(0,s.Z)(n).position)n=c(n);return n&&("html"===(0,r.Z)(n)||"body"===(0,r.Z)(n)&&"static"===(0,s.Z)(n).position)?e:n||u(t)||e}},95923:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>o}),/^(14|9)3$/.test(n.j))var i=n(96333);if(/^(14|9)3$/.test(n.j))var r=n(67252);if(/^(14|9)3$/.test(n.j))var s=n(62556);function o(t){return"html"===(0,i.Z)(t)?t:t.assignedSlot||t.parentNode||((0,s.Zq)(t)?t.host:null)||(0,r.Z)(t)}},97523:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>a}),/^(14|9)3$/.test(n.j))var i=n(95923);if(/^(14|9)3$/.test(n.j))var r=n(60611);if(/^(14|9)3$/.test(n.j))var s=n(96333);if(/^(14|9)3$/.test(n.j))var o=n(62556);function a(t){return["html","body","#document"].indexOf((0,s.Z)(t))>=0?t.ownerDocument.body:(0,o.Re)(t)&&(0,r.Z)(t)?t:a((0,i.Z)(t))}},3155:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>o}),/^(14|9)3$/.test(n.j))var i=n(62057);if(/^(14|9)3$/.test(n.j))var r=n(67252);if(/^(14|9)3$/.test(n.j))var s=n(4063);function o(t){var e=(0,i.Z)(t),n=(0,r.Z)(t),o=e.visualViewport,a=n.clientWidth,l=n.clientHeight,c=0,u=0;return o&&(a=o.width,l=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=o.offsetLeft,u=o.offsetTop)),{width:a,height:l,x:c+(0,s.Z)(t),y:u}}},62057:(t,e,n)=>{"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,{Z:()=>i})},82163:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(62057);function r(t){var e=(0,i.Z)(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}},4063:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>o}),/^(14|9)3$/.test(n.j))var i=n(50400);if(/^(14|9)3$/.test(n.j))var r=n(67252);if(/^(14|9)3$/.test(n.j))var s=n(82163);function o(t){return(0,i.Z)((0,r.Z)(t)).left+(0,s.Z)(t).scrollLeft}},62556:(t,e,n)=>{"use strict";if(n.d(e,{Re:()=>s,Zq:()=>o,kK:()=>r}),/^(14|9)3$/.test(n.j))var i=n(62057);function r(t){var e=(0,i.Z)(t).Element;return t instanceof e||t instanceof Element}function s(t){var e=(0,i.Z)(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function o(t){if("undefined"===typeof ShadowRoot)return!1;var e=(0,i.Z)(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}},60611:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(43062);function r(t){var e=(0,i.Z)(t),n=e.overflow,r=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}},67313:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(96333);function r(t){return["table","td","th"].indexOf((0,i.Z)(t))>=0}},7994:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>a}),/^(14|9)3$/.test(n.j))var i=n(97523);if(/^(14|9)3$/.test(n.j))var r=n(95923);if(/^(14|9)3$/.test(n.j))var s=n(62057);if(/^(14|9)3$/.test(n.j))var o=n(60611);function a(t,e){var n;void 0===e&&(e=[]);var l=(0,i.Z)(t),c=l===(null==(n=t.ownerDocument)?void 0:n.body),u=(0,s.Z)(l),h=c?[u].concat(u.visualViewport||[],(0,o.Z)(l)?l:[]):l,p=e.concat(h);return c?p:p.concat(a((0,r.Z)(h)))}},87701:(t,e,n)=>{"use strict";n.d(e,{BL:()=>c,Ct:()=>m,F2:()=>s,I:()=>r,Pj:()=>p,YP:()=>f,bw:()=>O,d7:()=>a,k5:()=>d,mv:()=>l,t$:()=>o,ut:()=>u,we:()=>i,xs:()=>k,zV:()=>h});var i="top",r="bottom",s="right",o="left",a="auto",l=[i,r,s,o],c="start",u="end",h="clippingParents",p="viewport",d="popper",f="reference",O=/^(14|9)3$/.test(n.j)?l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+u])}),[]):null,m=/^(14|9)3$/.test(n.j)?[].concat(l,[a]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+u])}),[]):null,g="beforeRead",v="read",y="afterRead",b="beforeMain",_="main",x="afterMain",w="beforeWrite",$="write",S="afterWrite",k=[g,v,y,b,_,x,w,$,S]},72581:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>a}),/^(14|9)3$/.test(n.j))var i=n(6206);if(/^(14|9)3$/.test(n.j))var r=n(14943);if(/^(14|9)3$/.test(n.j))var s=n(11516);if(/^(14|9)3$/.test(n.j))var o=n(87701);function a(t){var e,n=t.reference,a=t.element,l=t.placement,c=l?(0,i.Z)(l):null,u=l?(0,r.Z)(l):null,h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2;switch(c){case o.we:e={x:h,y:n.y-a.height};break;case o.I:e={x:h,y:n.y+n.height};break;case o.F2:e={x:n.x+n.width,y:p};break;case o.t$:e={x:n.x-a.width,y:p};break;default:e={x:n.x,y:n.y}}var d=c?(0,s.Z)(c):null;if(null!=d){var f="y"===d?"height":"width";switch(u){case o.BL:e[d]=e[d]-(n[f]/2-a[f]/2);break;case o.ut:e[d]=e[d]+(n[f]/2-a[f]/2);break;default:}}return e}},98293:(t,e,n)=>{"use strict";function i(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}n.d(e,{Z:()=>i})},23161:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>p}),/^(14|9)3$/.test(n.j))var i=n(21437);if(/^(14|9)3$/.test(n.j))var r=n(67252);if(/^(14|9)3$/.test(n.j))var s=n(50400);if(/^(14|9)3$/.test(n.j))var o=n(72581);if(/^(14|9)3$/.test(n.j))var a=n(65626);if(/^(14|9)3$/.test(n.j))var l=n(87701);if(/^(14|9)3$/.test(n.j))var c=n(62556);if(/^(14|9)3$/.test(n.j))var u=n(63293);if(/^(14|9)3$/.test(n.j))var h=n(33706);function p(t,e){void 0===e&&(e={});var n=e,p=n.placement,d=void 0===p?t.placement:p,f=n.boundary,O=void 0===f?l.zV:f,m=n.rootBoundary,g=void 0===m?l.Pj:m,v=n.elementContext,y=void 0===v?l.k5:v,b=n.altBoundary,_=void 0!==b&&b,x=n.padding,w=void 0===x?0:x,$=(0,u.Z)("number"!==typeof w?w:(0,h.Z)(w,l.mv)),S=y===l.k5?l.YP:l.k5,k=t.rects.popper,Q=t.elements[_?S:y],T=(0,i.Z)((0,c.kK)(Q)?Q:Q.contextElement||(0,r.Z)(t.elements.popper),O,g),P=(0,s.Z)(t.elements.reference),C=(0,o.Z)({reference:P,element:k,strategy:"absolute",placement:d}),A=(0,a.Z)(Object.assign({},k,C)),E=y===l.k5?A:P,R={top:T.top-E.top+$.top,bottom:E.bottom-T.bottom+$.bottom,left:T.left-E.left+$.left,right:E.right-T.right+$.right},M=t.modifiersData.offset;if(y===l.k5&&M){var D=M[d];Object.keys(R).forEach((function(t){var e=[l.F2,l.I].indexOf(t)>=0?1:-1,n=[l.we,l.I].indexOf(t)>=0?"y":"x";R[t]+=D[n]*e}))}return R}},33706:(t,e,n)=>{"use strict";function i(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,{Z:()=>i})},6206:(t,e,n)=>{"use strict";function i(t){return t.split("-")[0]}n.d(e,{Z:()=>i})},23607:(t,e,n)=>{"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(e,{Z:()=>i})},11516:(t,e,n)=>{"use strict";function i(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,{Z:()=>i})},14943:(t,e,n)=>{"use strict";function i(t){return t.split("-")[1]}n.d(e,{Z:()=>i})},138:(t,e,n)=>{"use strict";n.d(e,{Fp:()=>i,NM:()=>s,VV:()=>r});var i=Math.max,r=Math.min,s=Math.round},3:(t,e,n)=>{"use strict";function i(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}n.d(e,{Z:()=>i})},63293:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(23607);function r(t){return Object.assign({},(0,i.Z)(),t)}},50380:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>s}),/^(14|9)3$/.test(n.j))var i=n(87701);function r(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}function s(t){var e=r(t);return i.xs.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}},65626:(t,e,n)=>{"use strict";function i(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}n.d(e,{Z:()=>i})},25500:(t,e,n)=>{"use strict";n.d(e,{Il:()=>Tt,Wj:()=>Ei});const i={},r=[];function s(t,e){if(Array.isArray(t))for(const n of t)s(n,e);else if("object"!==typeof t)l(Object.getOwnPropertyNames(e)),i[t]=Object.assign(i[t]||{},e);else for(const n in t)s(n,t[n])}function o(t){return i[t]||{}}function a(){return[...new Set(r)]}function l(t){r.push(...t)}function c(t,e){let n;const i=t.length,r=[];for(n=0;n<i;n++)r.push(e(t[n]));return r}function u(t,e){let n;const i=t.length,r=[];for(n=0;n<i;n++)e(t[n])&&r.push(t[n]);return r}function h(t){return t%360*Math.PI/180}function p(t){return t.toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function d(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function f(t){return t.charAt(0).toUpperCase()+t.slice(1)}function O(t,e,n,i){return null!=e&&null!=n||(i=i||t.bbox(),null==e?e=i.width/i.height*n:null==n&&(n=i.height/i.width*e)),{width:e,height:n}}function m(t,e){const n=t.origin;let i=null!=t.ox?t.ox:null!=t.originX?t.originX:"center",r=null!=t.oy?t.oy:null!=t.originY?t.originY:"center";null!=n&&([i,r]=Array.isArray(n)?n:"object"===typeof n?[n.x,n.y]:[n,n]);const s="string"===typeof i,o="string"===typeof r;if(s||o){const{height:t,width:n,x:a,y:l}=e.bbox();s&&(i=i.includes("left")?a:i.includes("right")?a+n:a+n/2),o&&(r=r.includes("top")?l:r.includes("bottom")?l+t:l+t/2)}return[i,r]}const g="http://www.w3.org/2000/svg",v="http://www.w3.org/1999/xhtml",y="http://www.w3.org/2000/xmlns/",b="http://www.w3.org/1999/xlink",_="http://svgjs.dev/svgjs";const x={window:"undefined"===typeof window?null:window,document:"undefined"===typeof document?null:document};class w{}const $={},S="___SYMBOL___ROOT___";function k(t,e=g){return x.document.createElementNS(e,t)}function Q(t,e=!1){if(t instanceof w)return t;if("object"===typeof t)return C(t);if(null==t)return new $[S];if("string"===typeof t&&"<"!==t.charAt(0))return C(x.document.querySelector(t));const n=e?x.document.createElement("div"):k("svg");return n.innerHTML=t,t=C(n.firstChild),n.removeChild(n.firstChild),t}function T(t,e){return e instanceof x.window.Node?e:k(t)}function P(t){if(!t)return null;if(t.instance instanceof w)return t.instance;if("#document-fragment"===t.nodeName)return new $.Fragment(t);let e=f(t.nodeName||"Dom");return"LinearGradient"===e||"RadialGradient"===e?e="Gradient":$[e]||(e="Dom"),new $[e](t)}let C=P;function A(t,e=t.name,n=!1){return $[e]=t,n&&($[S]=t),l(Object.getOwnPropertyNames(t.prototype)),t}function E(t){return $[t]}let R=1e3;function M(t){return"Svgjs"+f(t)+R++}function D(t){for(let e=t.children.length-1;e>=0;e--)D(t.children[e]);return t.id?(t.id=M(t.nodeName),t):t}function z(t,e){let n,i;for(t=Array.isArray(t)?t:[t],i=t.length-1;i>=0;i--)for(n in e)t[i].prototype[n]=e[n]}function j(t){return function(...e){const n=e[e.length-1];return!n||n.constructor!==Object||n instanceof Array?t.apply(this,e):t.apply(this,e.slice(0,-1)).attr(n)}}function Z(){return this.parent().children()}function V(){return this.parent().index(this)}function X(){return this.siblings()[this.position()+1]}function W(){return this.siblings()[this.position()-1]}function q(){const t=this.position(),e=this.parent();return e.add(this.remove(),t+1),this}function I(){const t=this.position(),e=this.parent();return e.add(this.remove(),t?t-1:0),this}function N(){const t=this.parent();return t.add(this.remove()),this}function L(){const t=this.parent();return t.add(this.remove(),0),this}function B(t){t=Q(t),t.remove();const e=this.position();return this.parent().add(t,e),this}function U(t){t=Q(t),t.remove();const e=this.position();return this.parent().add(t,e+1),this}function Y(t){return t=Q(t),t.before(this),this}function F(t){return t=Q(t),t.after(this),this}s("Dom",{siblings:Z,position:V,next:X,prev:W,forward:q,backward:I,front:N,back:L,before:B,after:U,insertBefore:Y,insertAfter:F});const G=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,H=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,K=/rgb\((\d+),(\d+),(\d+)\)/,J=/(#[a-z_][a-z0-9\-_]*)/i,tt=/\)\s*,?\s*/,et=/\s/g,nt=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,it=/^rgb\(/,rt=/^(\s+)?$/,st=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ot=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,at=/[\s,]+/,lt=/[MLHVCSQTAZ]/i;function ct(){const t=this.attr("class");return null==t?[]:t.trim().split(at)}function ut(t){return-1!==this.classes().indexOf(t)}function ht(t){if(!this.hasClass(t)){const e=this.classes();e.push(t),this.attr("class",e.join(" "))}return this}function pt(t){return this.hasClass(t)&&this.attr("class",this.classes().filter((function(e){return e!==t})).join(" ")),this}function dt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}function ft(t,e){const n={};if(0===arguments.length)return this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const e=t.split(/\s*:\s*/);n[e[0]]=e[1]})),n;if(arguments.length<2){if(Array.isArray(t)){for(const e of t){const t=p(e);n[t]=this.node.style[t]}return n}if("string"===typeof t)return this.node.style[p(t)];if("object"===typeof t)for(const e in t)this.node.style[p(e)]=null==t[e]||rt.test(t[e])?"":t[e]}return 2===arguments.length&&(this.node.style[p(t)]=null==e||rt.test(e)?"":e),this}function Ot(){return this.css("display","")}function mt(){return this.css("display","none")}function gt(){return"none"!==this.css("display")}function vt(t,e,n){if(null==t)return this.data(c(u(this.node.attributes,(t=>0===t.nodeName.indexOf("data-"))),(t=>t.nodeName.slice(5))));if(t instanceof Array){const e={};for(const n of t)e[n]=this.data(n);return e}if("object"===typeof t)for(e in t)this.data(e,t[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(i){return this.attr("data-"+t)}else this.attr("data-"+t,null===e?null:!0===n||"string"===typeof e||"number"===typeof e?e:JSON.stringify(e));return this}function yt(t,e){if("object"===typeof arguments[0])for(const n in t)this.remember(n,t[n]);else{if(1===arguments.length)return this.memory()[t];this.memory()[t]=e}return this}function bt(){if(0===arguments.length)this._memory={};else for(let t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this}function _t(){return this._memory=this._memory||{}}function xt(t){return 4===t.length?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}function wt(t){const e=Math.round(t),n=Math.max(0,Math.min(255,e)),i=n.toString(16);return 1===i.length?"0"+i:i}function $t(t,e){for(let n=e.length;n--;)if(null==t[e[n]])return!1;return!0}function St(t,e){const n=$t(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:$t(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:$t(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:$t(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:$t(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:$t(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return n.space=e||n.space,n}function kt(t){return"lab"===t||"xyz"===t||"lch"===t}function Qt(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}s("Dom",{classes:ct,hasClass:ut,addClass:ht,removeClass:pt,toggleClass:dt}),s("Dom",{css:ft,show:Ot,hide:mt,visible:gt}),s("Dom",{data:vt}),s("Dom",{remember:yt,forget:bt,memory:_t});class Tt{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof Tt||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&"number"===typeof t.r&&"number"===typeof t.g&&"number"===typeof t.b}static random(t="vibrant",e,n){const{random:i,round:r,sin:s,PI:o}=Math;if("vibrant"===t){const t=24*i()+57,e=38*i()+45,n=360*i(),r=new Tt(t,e,n,"lch");return r}if("sine"===t){e=null==e?i():e;const t=r(80*s(2*o*e/.5+.01)+150),n=r(50*s(2*o*e/.5+4.6)+200),a=r(100*s(2*o*e/.5+2.3)+150),l=new Tt(t,n,a);return l}if("pastel"===t){const t=8*i()+86,e=17*i()+9,n=360*i(),r=new Tt(t,e,n,"lch");return r}if("dark"===t){const t=10+10*i(),e=50*i()+86,n=360*i(),r=new Tt(t,e,n,"lch");return r}if("rgb"===t){const t=255*i(),e=255*i(),n=255*i(),r=new Tt(t,e,n);return r}if("lab"===t){const t=100*i(),e=256*i()-128,n=256*i()-128,r=new Tt(t,e,n,"lab");return r}if("grey"===t){const t=255*i(),e=new Tt(t,t,t);return e}throw new Error("Unsupported random color mode")}static test(t){return"string"===typeof t&&(nt.test(t)||it.test(t))}cmyk(){const{_a:t,_b:e,_c:n}=this.rgb(),[i,r,s]=[t,e,n].map((t=>t/255)),o=Math.min(1-i,1-r,1-s);if(1===o)return new Tt(0,0,0,1,"cmyk");const a=(1-i-o)/(1-o),l=(1-r-o)/(1-o),c=(1-s-o)/(1-o),u=new Tt(a,l,c,o,"cmyk");return u}hsl(){const{_a:t,_b:e,_c:n}=this.rgb(),[i,r,s]=[t,e,n].map((t=>t/255)),o=Math.max(i,r,s),a=Math.min(i,r,s),l=(o+a)/2,c=o===a,u=o-a,h=c?0:l>.5?u/(2-o-a):u/(o+a),p=c?0:o===i?((r-s)/u+(r<s?6:0))/6:o===r?((s-i)/u+2)/6:o===s?((i-r)/u+4)/6:0,d=new Tt(360*p,100*h,100*l,"hsl");return d}init(t=0,e=0,n=0,i=0,r="rgb"){if(t=t||0,this.space)for(const u in this.space)delete this[this.space[u]];if("number"===typeof t)r="string"===typeof i?i:r,i="string"===typeof i?0:i,Object.assign(this,{_a:t,_b:e,_c:n,_d:i,space:r});else if(t instanceof Array)this.space=e||("string"===typeof t[3]?t[3]:t[4])||"rgb",Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0});else if(t instanceof Object){const n=St(t,e);Object.assign(this,n)}else if("string"===typeof t)if(it.test(t)){const e=t.replace(et,""),[n,i,r]=K.exec(e).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:n,_b:i,_c:r,_d:0,space:"rgb"})}else{if(!nt.test(t))throw Error("Unsupported string format, can't construct Color");{const e=t=>parseInt(t,16),[,n,i,r]=H.exec(xt(t)).map(e);Object.assign(this,{_a:n,_b:i,_c:r,_d:0,space:"rgb"})}}const{_a:s,_b:o,_c:a,_d:l}=this,c="rgb"===this.space?{r:s,g:o,b:a}:"xyz"===this.space?{x:s,y:o,z:a}:"hsl"===this.space?{h:s,s:o,l:a}:"lab"===this.space?{l:s,a:o,b:a}:"lch"===this.space?{l:s,c:o,h:a}:"cmyk"===this.space?{c:s,m:o,y:a,k:l}:{};Object.assign(this,c)}lab(){const{x:t,y:e,z:n}=this.xyz(),i=116*e-16,r=500*(t-e),s=200*(e-n),o=new Tt(i,r,s,"lab");return o}lch(){const{l:t,a:e,b:n}=this.lab(),i=Math.sqrt(e**2+n**2);let r=180*Math.atan2(n,e)/Math.PI;r<0&&(r*=-1,r=360-r);const s=new Tt(t,i,r,"lch");return s}rgb(){if("rgb"===this.space)return this;if(kt(this.space)){let{x:t,y:e,z:n}=this;if("lab"===this.space||"lch"===this.space){let{l:i,a:r,b:s}=this;if("lch"===this.space){const{c:t,h:e}=this,n=Math.PI/180;r=t*Math.cos(n*e),s=t*Math.sin(n*e)}const o=(i+16)/116,a=r/500+o,l=o-s/200,c=16/116,u=.008856,h=7.787;t=.95047*(a**3>u?a**3:(a-c)/h),e=1*(o**3>u?o**3:(o-c)/h),n=1.08883*(l**3>u?l**3:(l-c)/h)}const i=3.2406*t+-1.5372*e+-.4986*n,r=-.9689*t+1.8758*e+.0415*n,s=.0557*t+-.204*e+1.057*n,o=Math.pow,a=.0031308,l=i>a?1.055*o(i,1/2.4)-.055:12.92*i,c=r>a?1.055*o(r,1/2.4)-.055:12.92*r,u=s>a?1.055*o(s,1/2.4)-.055:12.92*s,h=new Tt(255*l,255*c,255*u);return h}if("hsl"===this.space){let{h:t,s:e,l:n}=this;if(t/=360,e/=100,n/=100,0===e){n*=255;const t=new Tt(n,n,n);return t}const i=n<.5?n*(1+e):n+e-n*e,r=2*n-i,s=255*Qt(r,i,t+1/3),o=255*Qt(r,i,t),a=255*Qt(r,i,t-1/3),l=new Tt(s,o,a);return l}if("cmyk"===this.space){const{c:t,m:e,y:n,k:i}=this,r=255*(1-Math.min(1,t*(1-i)+i)),s=255*(1-Math.min(1,e*(1-i)+i)),o=255*(1-Math.min(1,n*(1-i)+i)),a=new Tt(r,s,o);return a}return this}toArray(){const{_a:t,_b:e,_c:n,_d:i,space:r}=this;return[t,e,n,i,r]}toHex(){const[t,e,n]=this._clamped().map(wt);return`#${t}${e}${n}`}toRgb(){const[t,e,n]=this._clamped(),i=`rgb(${t},${e},${n})`;return i}toString(){return this.toHex()}xyz(){const{_a:t,_b:e,_c:n}=this.rgb(),[i,r,s]=[t,e,n].map((t=>t/255)),o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,a=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,l=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,c=(.4124*o+.3576*a+.1805*l)/.95047,u=(.2126*o+.7152*a+.0722*l)/1,h=(.0193*o+.1192*a+.9505*l)/1.08883,p=c>.008856?Math.pow(c,1/3):7.787*c+16/116,d=u>.008856?Math.pow(u,1/3):7.787*u+16/116,f=h>.008856?Math.pow(h,1/3):7.787*h+16/116,O=new Tt(p,d,f,"xyz");return O}_clamped(){const{_a:t,_b:e,_c:n}=this.rgb(),{max:i,min:r,round:s}=Math,o=t=>i(0,r(s(t),255));return[t,e,n].map(o)}}class Pt{constructor(...t){this.init(...t)}clone(){return new Pt(this)}init(t,e){const n={x:0,y:0},i=Array.isArray(t)?{x:t[0],y:t[1]}:"object"===typeof t?{x:t.x,y:t.y}:{x:t,y:e};return this.x=null==i.x?n.x:i.x,this.y=null==i.y?n.y:i.y,this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){Et.isMatrixLike(t)||(t=new Et(t));const{x:e,y:n}=this;return this.x=t.a*e+t.c*n+t.e,this.y=t.b*e+t.d*n+t.f,this}}function Ct(t,e){return new Pt(t,e).transform(this.screenCTM().inverse())}function At(t,e,n){return Math.abs(e-t)<(n||1e-6)}class Et{constructor(...t){this.init(...t)}static formatTransforms(t){const e="both"===t.flip||!0===t.flip,n=t.flip&&(e||"x"===t.flip)?-1:1,i=t.flip&&(e||"y"===t.flip)?-1:1,r=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0,s=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0,o=t.scale&&t.scale.length?t.scale[0]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleX)?t.scaleX*n:n,a=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i,l=t.shear||0,c=t.rotate||t.theta||0,u=new Pt(t.origin||t.around||t.ox||t.originX,t.oy||t.originY),h=u.x,p=u.y,d=new Pt(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN),f=d.x,O=d.y,m=new Pt(t.translate||t.tx||t.translateX,t.ty||t.translateY),g=m.x,v=m.y,y=new Pt(t.relative||t.rx||t.relativeX,t.ry||t.relativeY),b=y.x,_=y.y;return{scaleX:o,scaleY:a,skewX:r,skewY:s,shear:l,theta:c,rx:b,ry:_,tx:g,ty:v,ox:h,oy:p,px:f,py:O}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return null!=t.a||null!=t.b||null!=t.c||null!=t.d||null!=t.e||null!=t.f}static matrixMultiply(t,e,n){const i=t.a*e.a+t.c*e.b,r=t.b*e.a+t.d*e.b,s=t.a*e.c+t.c*e.d,o=t.b*e.c+t.d*e.d,a=t.e+t.a*e.e+t.c*e.f,l=t.f+t.b*e.e+t.d*e.f;return n.a=i,n.b=r,n.c=s,n.d=o,n.e=a,n.f=l,n}around(t,e,n){return this.clone().aroundO(t,e,n)}aroundO(t,e,n){const i=t||0,r=e||0;return this.translateO(-i,-r).lmultiplyO(n).translateO(i,r)}clone(){return new Et(this)}decompose(t=0,e=0){const n=this.a,i=this.b,r=this.c,s=this.d,o=this.e,a=this.f,l=n*s-i*r,c=l>0?1:-1,u=c*Math.sqrt(n*n+i*i),h=Math.atan2(c*i,c*n),p=180/Math.PI*h,d=Math.cos(h),f=Math.sin(h),O=(n*r+i*s)/l,m=r*u/(O*n-i)||s*u/(O*i+n),g=o-t+t*d*u+e*(O*d*u-f*m),v=a-e+t*f*u+e*(O*f*u+d*m);return{scaleX:u,scaleY:m,shear:O,rotate:p,translateX:g,translateY:v,originX:t,originY:e,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return!0;const e=new Et(t);return At(this.a,e.a)&&At(this.b,e.b)&&At(this.c,e.c)&&At(this.d,e.d)&&At(this.e,e.e)&&At(this.f,e.f)}flip(t,e){return this.clone().flipO(t,e)}flipO(t,e){return"x"===t?this.scaleO(-1,1,e,0):"y"===t?this.scaleO(1,-1,0,e):this.scaleO(-1,-1,t,e||t)}init(t){const e=Et.fromArray([1,0,0,1,0,0]);return t=t instanceof pe?t.matrixify():"string"===typeof t?Et.fromArray(t.split(at).map(parseFloat)):Array.isArray(t)?Et.fromArray(t):"object"===typeof t&&Et.isMatrixLike(t)?t:"object"===typeof t?(new Et).transform(t):6===arguments.length?Et.fromArray([].slice.call(arguments)):e,this.a=null!=t.a?t.a:e.a,this.b=null!=t.b?t.b:e.b,this.c=null!=t.c?t.c:e.c,this.d=null!=t.d?t.d:e.d,this.e=null!=t.e?t.e:e.e,this.f=null!=t.f?t.f:e.f,this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a,e=this.b,n=this.c,i=this.d,r=this.e,s=this.f,o=t*i-e*n;if(!o)throw new Error("Cannot invert "+this);const a=i/o,l=-e/o,c=-n/o,u=t/o,h=-(a*r+c*s),p=-(l*r+u*s);return this.a=a,this.b=l,this.c=c,this.d=u,this.e=h,this.f=p,this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const e=this,n=t instanceof Et?t:new Et(t);return Et.matrixMultiply(n,e,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const e=this,n=t instanceof Et?t:new Et(t);return Et.matrixMultiply(e,n,this)}rotate(t,e,n){return this.clone().rotateO(t,e,n)}rotateO(t,e=0,n=0){t=h(t);const i=Math.cos(t),r=Math.sin(t),{a:s,b:o,c:a,d:l,e:c,f:u}=this;return this.a=s*i-o*r,this.b=o*i+s*r,this.c=a*i-l*r,this.d=l*i+a*r,this.e=c*i-u*r+n*r-e*i+e,this.f=u*i+c*r-e*r-n*i+n,this}scale(t,e,n,i){return this.clone().scaleO(...arguments)}scaleO(t,e=t,n=0,i=0){3===arguments.length&&(i=n,n=e,e=t);const{a:r,b:s,c:o,d:a,e:l,f:c}=this;return this.a=r*t,this.b=s*e,this.c=o*t,this.d=a*e,this.e=l*t-n*t+n,this.f=c*e-i*e+i,this}shear(t,e,n){return this.clone().shearO(t,e,n)}shearO(t,e=0,n=0){const{a:i,b:r,c:s,d:o,e:a,f:l}=this;return this.a=i+r*t,this.c=s+o*t,this.e=a+l*t-n*t,this}skew(t,e,n,i){return this.clone().skewO(...arguments)}skewO(t,e=t,n=0,i=0){3===arguments.length&&(i=n,n=e,e=t),t=h(t),e=h(e);const r=Math.tan(t),s=Math.tan(e),{a:o,b:a,c:l,d:c,e:u,f:p}=this;return this.a=o+a*r,this.b=a+o*s,this.c=l+c*r,this.d=c+l*s,this.e=u+p*r-i*r,this.f=p+u*s-n*s,this}skewX(t,e,n){return this.skew(t,0,e,n)}skewY(t,e,n){return this.skew(0,t,e,n)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(Et.isMatrixLike(t)){const e=new Et(t);return e.multiplyO(this)}const e=Et.formatTransforms(t),n=this,{x:i,y:r}=new Pt(e.ox,e.oy).transform(n),s=(new Et).translateO(e.rx,e.ry).lmultiplyO(n).translateO(-i,-r).scaleO(e.scaleX,e.scaleY).skewO(e.skewX,e.skewY).shearO(e.shear).rotateO(e.theta).translateO(i,r);if(isFinite(e.px)||isFinite(e.py)){const t=new Pt(i,r).transform(s),n=isFinite(e.px)?e.px-t.x:0,o=isFinite(e.py)?e.py-t.y:0;s.translateO(n,o)}return s.translateO(e.tx,e.ty),s}translate(t,e){return this.clone().translateO(t,e)}translateO(t,e){return this.e+=t||0,this.f+=e||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function Rt(){return new Et(this.node.getCTM())}function Mt(){if("function"===typeof this.isRoot&&!this.isRoot()){const t=this.rect(1,1),e=t.node.getScreenCTM();return t.remove(),new Et(e)}return new Et(this.node.getScreenCTM())}function Dt(){if(!Dt.nodes){const t=Q().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),t.attr("focusable","false"),t.attr("aria-hidden","true");const e=t.path().node;Dt.nodes={svg:t,path:e}}if(!Dt.nodes.svg.node.parentNode){const t=x.document.body||x.document.documentElement;Dt.nodes.svg.addTo(t)}return Dt.nodes}function zt(t){return!t.width&&!t.height&&!t.x&&!t.y}function jt(t){return t===x.document||(x.document.documentElement.contains||function(t){while(t.parentNode)t=t.parentNode;return t===x.document}).call(x.document.documentElement,t)}A(Et,"Matrix");class Zt{constructor(...t){this.init(...t)}addOffset(){return this.x+=x.window.pageXOffset,this.y+=x.window.pageYOffset,new Zt(this)}init(t){const e=[0,0,0,0];return t="string"===typeof t?t.split(at).map(parseFloat):Array.isArray(t)?t:"object"===typeof t?[null!=t.left?t.left:t.x,null!=t.top?t.top:t.y,t.width,t.height]:4===arguments.length?[].slice.call(arguments):e,this.x=t[0]||0,this.y=t[1]||0,this.width=this.w=t[2]||0,this.height=this.h=t[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return zt(this)}merge(t){const e=Math.min(this.x,t.x),n=Math.min(this.y,t.y),i=Math.max(this.x+this.width,t.x+t.width)-e,r=Math.max(this.y+this.height,t.y+t.height)-n;return new Zt(e,n,i,r)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){t instanceof Et||(t=new Et(t));let e=1/0,n=-1/0,i=1/0,r=-1/0;const s=[new Pt(this.x,this.y),new Pt(this.x2,this.y),new Pt(this.x,this.y2),new Pt(this.x2,this.y2)];return s.forEach((function(s){s=s.transform(t),e=Math.min(e,s.x),n=Math.max(n,s.x),i=Math.min(i,s.y),r=Math.max(r,s.y)})),new Zt(e,i,n-e,r-i)}}function Vt(t,e,n){let i;try{if(i=e(t.node),zt(i)&&!jt(t.node))throw new Error("Element not in the dom")}catch(r){i=n(t)}return i}function Xt(){const t=t=>t.getBBox(),e=t=>{try{const e=t.clone().addTo(Dt().svg).show(),n=e.node.getBBox();return e.remove(),n}catch(e){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${e.toString()}`)}},n=Vt(this,t,e),i=new Zt(n);return i}function Wt(t){const e=t=>t.getBoundingClientRect(),n=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)},i=Vt(this,e,n),r=new Zt(i);return t?r.transform(t.screenCTM().inverseO()):r.addOffset()}function qt(t,e){const n=this.bbox();return t>n.x&&e>n.y&&t<n.x+n.width&&e<n.y+n.height}s({viewbox:{viewbox(t,e,n,i){return null==t?new Zt(this.attr("viewBox")):this.attr("viewBox",new Zt(t,e,n,i))},zoom(t,e){let{width:n,height:i}=this.attr(["width","height"]);if((n||i)&&"string"!==typeof n&&"string"!==typeof i||(n=this.node.clientWidth,i=this.node.clientHeight),!n||!i)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const r=this.viewbox(),s=n/r.width,o=i/r.height,a=Math.min(s,o);if(null==t)return a;let l=a/t;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),e=e||new Pt(n/2/s+r.x,i/2/o+r.y);const c=new Zt(r).transform(new Et({scale:l,origin:e}));return this.viewbox(c)}}}),A(Zt,"Box");class It extends Array{constructor(t=[],...e){if(super(t,...e),"number"===typeof t)return this;this.length=0,this.push(...t)}}z([It],{each(t,...e){return"function"===typeof t?this.map(((e,n,i)=>t.call(e,e,n,i))):this.map((n=>n[t](...e)))},toArray(){return Array.prototype.concat.apply([],this)}});const Nt=["toArray","constructor","each"];function Lt(t,e){return new It(c((e||x.document).querySelectorAll(t),(function(t){return P(t)})))}function Bt(t){return Lt(t,this.node)}function Ut(t){return P(this.node.querySelector(t))}It.extend=function(t){t=t.reduce(((t,e)=>(Nt.includes(e)||"_"===e[0]||(t[e]=function(...t){return this.each(e,...t)}),t)),{}),z([It],t)};let Yt=0;const Ft={};function Gt(t){let e=t.getEventHolder();return e===x.window&&(e=Ft),e.events||(e.events={}),e.events}function Ht(t){return t.getEventTarget()}function Kt(t){let e=t.getEventHolder();e===x.window&&(e=Ft),e.events&&(e.events={})}function Jt(t,e,n,i,r){const s=n.bind(i||t),o=Q(t),a=Gt(o),l=Ht(o);e=Array.isArray(e)?e:e.split(at),n._svgjsListenerId||(n._svgjsListenerId=++Yt),e.forEach((function(t){const e=t.split(".")[0],i=t.split(".")[1]||"*";a[e]=a[e]||{},a[e][i]=a[e][i]||{},a[e][i][n._svgjsListenerId]=s,l.addEventListener(e,s,r||!1)}))}function te(t,e,n,i){const r=Q(t),s=Gt(r),o=Ht(r);("function"!==typeof n||(n=n._svgjsListenerId,n))&&(e=Array.isArray(e)?e:(e||"").split(at),e.forEach((function(t){const e=t&&t.split(".")[0],a=t&&t.split(".")[1];let l,c;if(n)s[e]&&s[e][a||"*"]&&(o.removeEventListener(e,s[e][a||"*"][n],i||!1),delete s[e][a||"*"][n]);else if(e&&a){if(s[e]&&s[e][a]){for(c in s[e][a])te(o,[e,a].join("."),c);delete s[e][a]}}else if(a)for(t in s)for(l in s[t])a===l&&te(o,[t,a].join("."));else if(e){if(s[e]){for(l in s[e])te(o,[e,l].join("."));delete s[e]}}else{for(t in s)te(o,t);Kt(r)}})))}function ee(t,e,n,i){const r=Ht(t);return e instanceof x.window.Event||(e=new x.window.CustomEvent(e,{detail:n,cancelable:!0,...i})),r.dispatchEvent(e),e}class ne extends w{addEventListener(){}dispatch(t,e,n){return ee(this,t,e,n)}dispatchEvent(t){const e=this.getEventHolder().events;if(!e)return!0;const n=e[t.type];for(const i in n)for(const e in n[i])n[i][e](t);return!t.defaultPrevented}fire(t,e,n){return this.dispatch(t,e,n),this}getEventHolder(){return this}getEventTarget(){return this}off(t,e){return te(this,t,e),this}on(t,e,n,i){return Jt(this,t,e,n,i),this}removeEventListener(){}}function ie(){}A(ne,"EventTarget");const re={duration:400,ease:">",delay:0},se={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class oe extends Array{constructor(...t){super(...t),this.init(...t)}clone(){return new this.constructor(this)}init(t){return"number"===typeof t||(this.length=0,this.push(...this.parse(t))),this}parse(t=[]){return t instanceof Array?t:t.trim().split(at).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];return t.push(...this),t}}class ae{constructor(...t){this.init(...t)}convert(t){return new ae(this.value,t)}divide(t){return t=new ae(t),new ae(this/t,this.unit||t.unit)}init(t,e){return e=Array.isArray(t)?t[1]:e,t=Array.isArray(t)?t[0]:t,this.value=0,this.unit=e||"","number"===typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-34e37:34e37:"string"===typeof t?(e=t.match(G),e&&(this.value=parseFloat(e[1]),"%"===e[5]?this.value/=100:"s"===e[5]&&(this.value*=1e3),this.unit=e[5])):t instanceof ae&&(this.value=t.valueOf(),this.unit=t.unit),this}minus(t){return t=new ae(t),new ae(this-t,this.unit||t.unit)}plus(t){return t=new ae(t),new ae(this+t,this.unit||t.unit)}times(t){return t=new ae(t),new ae(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return("%"===this.unit?~~(1e8*this.value)/1e6:"s"===this.unit?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const le=[];function ce(t){le.push(t)}function ue(t,e,n){if(null==t){t={},e=this.node.attributes;for(const n of e)t[n.nodeName]=st.test(n.nodeValue)?parseFloat(n.nodeValue):n.nodeValue;return t}if(t instanceof Array)return t.reduce(((t,e)=>(t[e]=this.attr(e),t)),{});if("object"===typeof t&&t.constructor===Object)for(e in t)this.attr(e,t[e]);else if(null===e)this.node.removeAttribute(t);else{if(null==e)return e=this.node.getAttribute(t),null==e?se[t]:st.test(e)?parseFloat(e):e;e=le.reduce(((e,n)=>n(t,e,this)),e),"number"===typeof e?e=new ae(e):Tt.isColor(e)?e=new Tt(e):e.constructor===Array&&(e=new oe(e)),"leading"===t?this.leading&&this.leading(e):"string"===typeof n?this.node.setAttributeNS(n,t,e.toString()):this.node.setAttribute(t,e.toString()),!this.rebuild||"font-size"!==t&&"x"!==t||this.rebuild()}return this}class he extends ne{constructor(t,e){super(),this.node=t,this.type=t.nodeName,e&&t!==e&&this.attr(e)}add(t,e){return t=Q(t),t.removeNamespace&&this.node instanceof x.window.SVGElement&&t.removeNamespace(),null==e?this.node.appendChild(t.node):t.node!==this.node.childNodes[e]&&this.node.insertBefore(t.node,this.node.childNodes[e]),this}addTo(t,e){return Q(t).put(this,e)}children(){return new It(c(this.node.children,(function(t){return P(t)})))}clear(){while(this.node.hasChildNodes())this.node.removeChild(this.node.lastChild);return this}clone(t=!0){return this.writeDataToDom(),new this.constructor(D(this.node.cloneNode(t)))}each(t,e){const n=this.children();let i,r;for(i=0,r=n.length;i<r;i++)t.apply(n[i],[i,n]),e&&n[i].each(t,e);return this}element(t,e){return this.put(new he(k(t),e))}first(){return P(this.node.firstChild)}get(t){return P(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,e){return this.xml(t,e,v)}id(t){return"undefined"!==typeof t||this.node.id||(this.node.id=M(this.type)),this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return P(this.node.lastChild)}matches(t){const e=this.node,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector||null;return n&&n.call(e,t)}parent(t){let e=this;if(!e.node.parentNode)return null;if(e=P(e.node.parentNode),!t)return e;do{if("string"===typeof t?e.matches(t):e instanceof t)return e}while(e=P(e.node.parentNode));return e}put(t,e){return t=Q(t),this.add(t,e),t}putIn(t,e){return Q(t).add(this,e)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(t){return this.node.removeChild(t.node),this}replace(t){return t=Q(t),this.node.parentNode&&this.node.parentNode.replaceChild(t.node,this.node),t}round(t=2,e=null){const n=10**t,i=this.attr(e);for(const r in i)"number"===typeof i[r]&&(i[r]=Math.round(i[r]*n)/n);return this.attr(i),this}svg(t,e){return this.xml(t,e,g)}toString(){return this.id()}words(t){return this.node.textContent=t,this}wrap(t){const e=this.parent();if(!e)return this.addTo(t);const n=e.index(this);return e.put(t,n).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(t,e,n){if("boolean"===typeof t&&(n=e,e=t,t=null),null==t||"function"===typeof t){e=null==e||e,this.writeDataToDom();let n=this;if(null!=t){if(n=P(n.node.cloneNode(!0)),e){const e=t(n);if(n=e||n,!1===e)return""}n.each((function(){const e=t(this),n=e||this;!1===e?this.remove():e&&this!==n&&this.replace(n)}),!0)}return e?n.node.outerHTML:n.node.innerHTML}e=null!=e&&e;const i=k("wrapper",n),r=x.document.createDocumentFragment();i.innerHTML=t;for(let o=i.children.length;o--;)r.appendChild(i.firstElementChild);const s=this.parent();return e?this.replace(r)&&s:this.add(r)}}z(he,{attr:ue,find:Bt,findOne:Ut}),A(he,"Dom");class pe extends he{constructor(t,e){super(t,e),this.dom={},this.node.instance=this,t.hasAttribute("svgjs:data")&&this.setData(JSON.parse(t.getAttribute("svgjs:data"))||{})}center(t,e){return this.cx(t).cy(e)}cx(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,e){return this.dx(t).dy(e)}dx(t=0){return this.x(new ae(t).plus(this.x()))}dy(t=0){return this.y(new ae(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,e){return this.x(t).y(e)}parents(t=this.root()){t=Q(t);const e=new It;let n=this;while((n=n.parent())&&n.node!==x.document&&"#document-fragment"!==n.nodeName)if(e.push(n),n.node===t.node)break;return e}reference(t){if(t=this.attr(t),!t)return null;const e=(t+"").match(J);return e?Q(e[1]):null}root(){const t=this.parent(E(S));return t&&t.root()}setData(t){return this.dom=t,this}size(t,e){const n=O(this,t,e);return this.width(new ae(n.width)).height(new ae(n.height))}width(t){return this.attr("width",t)}writeDataToDom(){return this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}z(pe,{bbox:Xt,rbox:Wt,inside:qt,point:Ct,ctm:Rt,screenCTM:Mt}),A(pe,"Element");const de={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,e){return"color"===e?t:t+"-"+e}};["fill","stroke"].forEach((function(t){const e={};let n;e[t]=function(e){if("undefined"===typeof e)return this.attr(t);if("string"===typeof e||e instanceof Tt||Tt.isRgb(e)||e instanceof pe)this.attr(t,e);else for(n=de[t].length-1;n>=0;n--)null!=e[de[t][n]]&&this.attr(de.prefix(t,de[t][n]),e[de[t][n]]);return this},s(["Element","Runner"],e)})),s(["Element","Runner"],{matrix:function(t,e,n,i,r,s){return null==t?new Et(this):this.attr("transform",new Et(t,e,n,i,r,s))},rotate:function(t,e,n){return this.transform({rotate:t,ox:e,oy:n},!0)},skew:function(t,e,n,i){return 1===arguments.length||3===arguments.length?this.transform({skew:t,ox:e,oy:n},!0):this.transform({skew:[t,e],ox:n,oy:i},!0)},shear:function(t,e,n){return this.transform({shear:t,ox:e,oy:n},!0)},scale:function(t,e,n,i){return 1===arguments.length||3===arguments.length?this.transform({scale:t,ox:e,oy:n},!0):this.transform({scale:[t,e],ox:n,oy:i},!0)},translate:function(t,e){return this.transform({translate:[t,e]},!0)},relative:function(t,e){return this.transform({relative:[t,e]},!0)},flip:function(t="both",e="center"){return-1==="xybothtrue".indexOf(t)&&(e=t,t="both"),this.transform({flip:t,origin:e},!0)},opacity:function(t){return this.attr("opacity",t)}}),s("radius",{radius:function(t,e=t){const n=(this._element||this).type;return"radialGradient"===n?this.attr("r",new ae(t)):this.rx(t).ry(e)}}),s("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Pt(this.node.getPointAtLength(t))}}),s(["Element","Runner"],{font:function(t,e){if("object"===typeof t){for(e in t)this.font(e,t[e]);return this}return"leading"===t?this.leading(e):"anchor"===t?this.attr("text-anchor",e):"size"===t||"family"===t||"weight"===t||"stretch"===t||"variant"===t||"style"===t?this.attr("font-"+t,e):this.attr(t,e)}});const fe=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].reduce((function(t,e){const n=function(t){return null===t?this.off(e):this.on(e,t),this};return t[e]=n,t}),{});function Oe(){return this.attr("transform",null)}function me(){const t=(this.attr("transform")||"").split(tt).slice(0,-1).map((function(t){const e=t.trim().split("(");return[e[0],e[1].split(at).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,e){return"matrix"===e[0]?t.lmultiply(Et.fromArray(e[1])):t[e[0]].apply(t,e[1])}),new Et);return t}function ge(t,e){if(this===t)return this;const n=this.screenCTM(),i=t.screenCTM().inverse();return this.addTo(t,e).untransform().transform(i.multiply(n)),this}function ve(t){return this.toParent(this.root(),t)}function ye(t,e){if(null==t||"string"===typeof t){const e=new Et(this).decompose();return null==t?e:e[t]}Et.isMatrixLike(t)||(t={...t,origin:m(t,this)});const n=!0===e?this:e||!1,i=new Et(n).transform(t);return this.attr("transform",i)}s("Element",fe),s("Element",{untransform:Oe,matrixify:me,toParent:ge,toRoot:ve,transform:ye});class be extends pe{flatten(t=this,e){return this.each((function(){if(this instanceof be)return this.flatten().ungroup()})),this}ungroup(t=this.parent(),e=t.index(this)){return e=-1===e?t.children().length:e,this.each((function(n,i){return i[i.length-n-1].toParent(t,e)})),this.remove()}}A(be,"Container");class _e extends be{constructor(t,e=t){super(T("defs",t),e)}flatten(){return this}ungroup(){return this}}A(_e,"Defs");class xe extends pe{}function we(t){return this.attr("rx",t)}function $e(t){return this.attr("ry",t)}function Se(t){return null==t?this.cx()-this.rx():this.cx(t+this.rx())}function ke(t){return null==t?this.cy()-this.ry():this.cy(t+this.ry())}function Qe(t){return this.attr("cx",t)}function Te(t){return this.attr("cy",t)}function Pe(t){return null==t?2*this.rx():this.rx(new ae(t).divide(2))}function Ce(t){return null==t?2*this.ry():this.ry(new ae(t).divide(2))}A(xe,"Shape");var Ae={__proto__:null,rx:we,ry:$e,x:Se,y:ke,cx:Qe,cy:Te,width:Pe,height:Ce};class Ee extends xe{constructor(t,e=t){super(T("ellipse",t),e)}size(t,e){const n=O(this,t,e);return this.rx(new ae(n.width).divide(2)).ry(new ae(n.height).divide(2))}}z(Ee,Ae),s("Container",{ellipse:j((function(t=0,e=t){return this.put(new Ee).size(t,e).move(0,0)}))}),A(Ee,"Ellipse");class Re extends he{constructor(t=x.document.createDocumentFragment()){super(t)}xml(t,e,n){if("boolean"===typeof t&&(n=e,e=t,t=null),null==t||"function"===typeof t){const t=new he(k("wrapper",n));return t.add(this.node.cloneNode(!0)),t.xml(!1,n)}return super.xml(t,!1,n)}}function Me(t,e){return"radialGradient"===(this._element||this).type?this.attr({fx:new ae(t),fy:new ae(e)}):this.attr({x1:new ae(t),y1:new ae(e)})}function De(t,e){return"radialGradient"===(this._element||this).type?this.attr({cx:new ae(t),cy:new ae(e)}):this.attr({x2:new ae(t),y2:new ae(e)})}A(Re,"Fragment");var ze={__proto__:null,from:Me,to:De};class je extends be{constructor(t,e){super(T(t+"Gradient","string"===typeof t?null:t),e)}attr(t,e,n){return"transform"===t&&(t="gradientTransform"),super.attr(t,e,n)}bbox(){return new Zt}targets(){return Lt('svg [fill*="'+this.id()+'"]')}toString(){return this.url()}update(t){return this.clear(),"function"===typeof t&&t.call(this,this),this}url(){return'url("#'+this.id()+'")'}}z(je,ze),s({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:j((function(t,e){return this.put(new je(t)).update(e)}))}}),A(je,"Gradient");class Ze extends be{constructor(t,e=t){super(T("pattern",t),e)}attr(t,e,n){return"transform"===t&&(t="patternTransform"),super.attr(t,e,n)}bbox(){return new Zt}targets(){return Lt('svg [fill*="'+this.id()+'"]')}toString(){return this.url()}update(t){return this.clear(),"function"===typeof t&&t.call(this,this),this}url(){return'url("#'+this.id()+'")'}}s({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:j((function(t,e,n){return this.put(new Ze).update(n).attr({x:0,y:0,width:t,height:e,patternUnits:"userSpaceOnUse"})}))}}),A(Ze,"Pattern");class Ve extends xe{constructor(t,e=t){super(T("image",t),e)}load(t,e){if(!t)return this;const n=new x.window.Image;return Jt(n,"load",(function(t){const i=this.parent(Ze);0===this.width()&&0===this.height()&&this.size(n.width,n.height),i instanceof Ze&&0===i.width()&&0===i.height()&&i.size(this.width(),this.height()),"function"===typeof e&&e.call(this,t)}),this),Jt(n,"load error",(function(){te(n)})),this.attr("href",n.src=t,b)}}ce((function(t,e,n){return"fill"!==t&&"stroke"!==t||ot.test(e)&&(e=n.root().defs().image(e)),e instanceof Ve&&(e=n.root().defs().pattern(0,0,(t=>{t.add(e)}))),e})),s({Container:{image:j((function(t,e){return this.put(new Ve).size(0,0).load(t,e)}))}}),A(Ve,"Image");class Xe extends oe{bbox(){let t=-1/0,e=-1/0,n=1/0,i=1/0;return this.forEach((function(r){t=Math.max(r[0],t),e=Math.max(r[1],e),n=Math.min(r[0],n),i=Math.min(r[1],i)})),new Zt(n,i,t-n,e-i)}move(t,e){const n=this.bbox();if(t-=n.x,e-=n.y,!isNaN(t)&&!isNaN(e))for(let i=this.length-1;i>=0;i--)this[i]=[this[i][0]+t,this[i][1]+e];return this}parse(t=[0,0]){const e=[];t=t instanceof Array?Array.prototype.concat.apply([],t):t.trim().split(at).map(parseFloat),t.length%2!==0&&t.pop();for(let n=0,i=t.length;n<i;n+=2)e.push([t[n],t[n+1]]);return e}size(t,e){let n;const i=this.bbox();for(n=this.length-1;n>=0;n--)i.width&&(this[n][0]=(this[n][0]-i.x)*t/i.width+i.x),i.height&&(this[n][1]=(this[n][1]-i.y)*e/i.height+i.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let e=0,n=this.length;e<n;e++)t.push(this[e].join(","));return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){Et.isMatrixLike(t)||(t=new Et(t));for(let e=this.length;e--;){const[n,i]=this[e];this[e][0]=t.a*n+t.c*i+t.e,this[e][1]=t.b*n+t.d*i+t.f}return this}}const We=Xe;function qe(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}function Ie(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}function Ne(t){const e=this.bbox();return null==t?e.width:this.size(t,e.height)}function Le(t){const e=this.bbox();return null==t?e.height:this.size(e.width,t)}var Be={__proto__:null,MorphArray:We,x:qe,y:Ie,width:Ne,height:Le};class Ue extends xe{constructor(t,e=t){super(T("line",t),e)}array(){return new Xe([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,e){return this.attr(this.array().move(t,e).toLine())}plot(t,e,n,i){return null==t?this.array():(t="undefined"!==typeof e?{x1:t,y1:e,x2:n,y2:i}:new Xe(t).toLine(),this.attr(t))}size(t,e){const n=O(this,t,e);return this.attr(this.array().size(n.width,n.height).toLine())}}z(Ue,Be),s({Container:{line:j((function(...t){return Ue.prototype.plot.apply(this.put(new Ue),null!=t[0]?t:[0,0,0,0])}))}}),A(Ue,"Line");class Ye extends be{constructor(t,e=t){super(T("marker",t),e)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,e){return this.attr("refX",t).attr("refY",e)}toString(){return"url(#"+this.id()+")"}update(t){return this.clear(),"function"===typeof t&&t.call(this,this),this}width(t){return this.attr("markerWidth",t)}}function Fe(t,e){return function(n){return null==n?this[t]:(this[t]=n,e&&e.call(this),this)}}s({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:j((function(t,e,n){return this.put(new Ye).size(t,e).ref(t/2,e/2).viewbox(0,0,t,e).attr("orient","auto").update(n)}))},marker:{marker(t,e,n,i){let r=["marker"];return"all"!==t&&r.push(t),r=r.join("-"),t=arguments[1]instanceof Ye?arguments[1]:this.defs().marker(e,n,i),this.attr(r,t)}}}),A(Ye,"Marker");const Ge={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return 1-Math.cos(t*Math.PI/2)},bezier:function(t,e,n,i){return function(r){return r<0?t>0?e/t*r:n>0?i/n*r:0:r>1?n<1?(1-i)/(1-n)*r+(i-n)/(1-n):t<1?(1-e)/(1-t)*r+(e-t)/(1-t):1:3*r*(1-r)**2*e+3*r**2*(1-r)*i+r**3}},steps:function(t,e="end"){e=e.split("-").reverse()[0];let n=t;return"none"===e?--n:"both"===e&&++n,(i,r=!1)=>{let s=Math.floor(i*t);const o=i*s%1===0;return"start"!==e&&"both"!==e||++s,r&&o&&--s,i>=0&&s<0&&(s=0),i<=1&&s>n&&(s=n),s/n}}};class He{done(){return!1}}class Ke extends He{constructor(t=re.ease){super(),this.ease=Ge[t]||t}step(t,e,n){return"number"!==typeof t?n<1?t:e:t+(e-t)*this.ease(n)}}class Je extends He{constructor(t){super(),this.stepper=t}done(t){return t.done}step(t,e,n,i){return this.stepper(t,e,n,i)}}function tn(){const t=(this._duration||500)/1e3,e=this._overshoot||0,n=1e-10,i=Math.PI,r=Math.log(e/100+n),s=-r/Math.sqrt(i*i+r*r),o=3.9/(s*t);this.d=2*s*o,this.k=o*o}class en extends Je{constructor(t=500,e=0){super(),this.duration(t).overshoot(e)}step(t,e,n,i){if("string"===typeof t)return t;if(i.done=n===1/0,n===1/0)return e;if(0===n)return t;n>100&&(n=16),n/=1e3;const r=i.velocity||0,s=-this.d*r-this.k*(t-e),o=t+r*n+s*n*n/2;return i.velocity=r+s*n,i.done=Math.abs(e-o)+Math.abs(r)<.002,i.done?e:o}}z(en,{duration:Fe("_duration",tn),overshoot:Fe("_overshoot",tn)});class nn extends Je{constructor(t=.1,e=.01,n=0,i=1e3){super(),this.p(t).i(e).d(n).windup(i)}step(t,e,n,i){if("string"===typeof t)return t;if(i.done=n===1/0,n===1/0)return e;if(0===n)return t;const r=e-t;let s=(i.integral||0)+r*n;const o=(r-(i.error||0))/n,a=this._windup;return!1!==a&&(s=Math.max(-a,Math.min(s,a))),i.error=r,i.integral=s,i.done=Math.abs(r)<.001,i.done?e:t+(this.P*r+this.I*s+this.D*o)}}z(nn,{windup:Fe("_windup"),p:Fe("P"),i:Fe("I"),d:Fe("D")});const rn={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},sn={M:function(t,e,n){return e.x=n.x=t[0],e.y=n.y=t[1],["M",e.x,e.y]},L:function(t,e){return e.x=t[0],e.y=t[1],["L",t[0],t[1]]},H:function(t,e){return e.x=t[0],["H",t[0]]},V:function(t,e){return e.y=t[0],["V",t[0]]},C:function(t,e){return e.x=t[4],e.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,e){return e.x=t[2],e.y=t[3],["S",t[0],t[1],t[2],t[3]]},Q:function(t,e){return e.x=t[2],e.y=t[3],["Q",t[0],t[1],t[2],t[3]]},T:function(t,e){return e.x=t[0],e.y=t[1],["T",t[0],t[1]]},Z:function(t,e,n){return e.x=n.x,e.y=n.y,["Z"]},A:function(t,e){return e.x=t[5],e.y=t[6],["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}},on="mlhvqtcsaz".split("");for(let Ri=0,Mi=on.length;Ri<Mi;++Ri)sn[on[Ri]]=function(t){return function(e,n,i){if("H"===t)e[0]=e[0]+n.x;else if("V"===t)e[0]=e[0]+n.y;else if("A"===t)e[5]=e[5]+n.x,e[6]=e[6]+n.y;else for(let t=0,r=e.length;t<r;++t)e[t]=e[t]+(t%2?n.y:n.x);return sn[t](e,n,i)}}(on[Ri].toUpperCase());function an(t){const e=t.segment[0];return sn[e](t.segment.slice(1),t.p,t.p0)}function ln(t){return t.segment.length&&t.segment.length-1===rn[t.segment[0].toUpperCase()]}function cn(t,e){t.inNumber&&un(t,!1);const n=lt.test(e);if(n)t.segment=[e];else{const e=t.lastCommand,n=e.toLowerCase(),i=e===n;t.segment=["m"===n?i?"l":"L":e]}return t.inSegment=!0,t.lastCommand=t.segment[0],n}function un(t,e){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number)),t.inNumber=e,t.number="",t.pointSeen=!1,t.hasExponent=!1,ln(t)&&hn(t)}function hn(t){t.inSegment=!1,t.absolute&&(t.segment=an(t)),t.segments.push(t.segment)}function pn(t){if(!t.segment.length)return!1;const e="A"===t.segment[0].toUpperCase(),n=t.segment.length;return e&&(4===n||5===n)}function dn(t){return"E"===t.lastToken.toUpperCase()}function fn(t,e=!0){let n=0,i="";const r={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:e,p0:new Pt,p:new Pt};while(r.lastToken=i,i=t.charAt(n++))if(r.inSegment||!cn(r,i))if("."!==i)if(isNaN(parseInt(i)))if(" "!==i&&","!==i)if("-"!==i)if("E"!==i.toUpperCase()){if(lt.test(i)){if(r.inNumber)un(r,!1);else{if(!ln(r))throw new Error("parser Error");hn(r)}--n}}else r.number+=i,r.hasExponent=!0;else{if(r.inNumber&&!dn(r)){un(r,!1),--n;continue}r.number+=i,r.inNumber=!0}else r.inNumber&&un(r,!1);else{if("0"===r.number||pn(r)){r.inNumber=!0,r.number=i,un(r,!0);continue}r.inNumber=!0,r.number+=i}else{if(r.pointSeen||r.hasExponent){un(r,!1),--n;continue}r.inNumber=!0,r.pointSeen=!0,r.number+=i}return r.inNumber&&un(r,!1),r.inSegment&&ln(r)&&hn(r),r.segments}function On(t){let e="";for(let n=0,i=t.length;n<i;n++)e+=t[n][0],null!=t[n][1]&&(e+=t[n][1],null!=t[n][2]&&(e+=" ",e+=t[n][2],null!=t[n][3]&&(e+=" ",e+=t[n][3],e+=" ",e+=t[n][4],null!=t[n][5]&&(e+=" ",e+=t[n][5],e+=" ",e+=t[n][6],null!=t[n][7]&&(e+=" ",e+=t[n][7])))));return e+" "}class mn extends oe{bbox(){return Dt().path.setAttribute("d",this.toString()),new Zt(Dt.nodes.path.getBBox())}move(t,e){const n=this.bbox();if(t-=n.x,e-=n.y,!isNaN(t)&&!isNaN(e))for(let i,r=this.length-1;r>=0;r--)i=this[r][0],"M"===i||"L"===i||"T"===i?(this[r][1]+=t,this[r][2]+=e):"H"===i?this[r][1]+=t:"V"===i?this[r][1]+=e:"C"===i||"S"===i||"Q"===i?(this[r][1]+=t,this[r][2]+=e,this[r][3]+=t,this[r][4]+=e,"C"===i&&(this[r][5]+=t,this[r][6]+=e)):"A"===i&&(this[r][6]+=t,this[r][7]+=e);return this}parse(t="M0 0"){return Array.isArray(t)&&(t=Array.prototype.concat.apply([],t).toString()),fn(t)}size(t,e){const n=this.bbox();let i,r;for(n.width=0===n.width?1:n.width,n.height=0===n.height?1:n.height,i=this.length-1;i>=0;i--)r=this[i][0],"M"===r||"L"===r||"T"===r?(this[i][1]=(this[i][1]-n.x)*t/n.width+n.x,this[i][2]=(this[i][2]-n.y)*e/n.height+n.y):"H"===r?this[i][1]=(this[i][1]-n.x)*t/n.width+n.x:"V"===r?this[i][1]=(this[i][1]-n.y)*e/n.height+n.y:"C"===r||"S"===r||"Q"===r?(this[i][1]=(this[i][1]-n.x)*t/n.width+n.x,this[i][2]=(this[i][2]-n.y)*e/n.height+n.y,this[i][3]=(this[i][3]-n.x)*t/n.width+n.x,this[i][4]=(this[i][4]-n.y)*e/n.height+n.y,"C"===r&&(this[i][5]=(this[i][5]-n.x)*t/n.width+n.x,this[i][6]=(this[i][6]-n.y)*e/n.height+n.y)):"A"===r&&(this[i][1]=this[i][1]*t/n.width,this[i][2]=this[i][2]*e/n.height,this[i][6]=(this[i][6]-n.x)*t/n.width+n.x,this[i][7]=(this[i][7]-n.y)*e/n.height+n.y);return this}toString(){return On(this)}}const gn=t=>{const e=typeof t;return"number"===e?ae:"string"===e?Tt.isColor(t)?Tt:at.test(t)?lt.test(t)?mn:oe:G.test(t)?ae:yn:wn.indexOf(t.constructor)>-1?t.constructor:Array.isArray(t)?oe:"object"===e?xn:yn};class vn{constructor(t){this._stepper=t||new Ke("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(t){const e=this;return this._morphObj.fromArray(this._from.map((function(n,i){return e._stepper.step(n,e._to[i],t,e._context[i],e._context)})))}done(){const t=this._context.map(this._stepper.done).reduce((function(t,e){return t&&e}),!0);return t}from(t){return null==t?this._from:(this._from=this._set(t),this)}stepper(t){return null==t?this._stepper:(this._stepper=t,this)}to(t){return null==t?this._to:(this._to=this._set(t),this)}type(t){return null==t?this._type:(this._type=t,this)}_set(t){this._type||this.type(gn(t));let e=new this._type(t);return this._type===Tt&&(e=this._to?e[this._to[4]]():this._from?e[this._from[4]]():e),this._type===xn&&(e=this._to?e.align(this._to):this._from?e.align(this._from):e),e=e.toArray(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(e.length)).map(Object).map((function(t){return t.done=!0,t})),e}}class yn{constructor(...t){this.init(...t)}init(t){return t=Array.isArray(t)?t[0]:t,this.value=t,this}toArray(){return[this.value]}valueOf(){return this.value}}class bn{constructor(...t){this.init(...t)}init(t){return Array.isArray(t)&&(t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}),Object.assign(this,bn.defaults,t),this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}bn.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const _n=(t,e)=>t[0]<e[0]?-1:t[0]>e[0]?1:0;class xn{constructor(...t){this.init(...t)}align(t){for(let e=0,n=this.values.length;e<n;++e)if(this.values[e]===Tt){const n=t[e+6],i=new Tt(this.values.splice(e+2,5))[n]().toArray();this.values.splice(e+2,0,...i)}return this}init(t){if(this.values=[],Array.isArray(t))return void(this.values=t.slice());t=t||{};const e=[];for(const n in t){const i=gn(t[n]),r=new i(t[n]).toArray();e.push([n,i,r.length,...r])}return e.sort(_n),this.values=e.reduce(((t,e)=>t.concat(e)),[]),this}toArray(){return this.values}valueOf(){const t={},e=this.values;while(e.length){const n=e.shift(),i=e.shift(),r=e.shift(),s=e.splice(0,r);t[n]=new i(s).valueOf()}return t}}const wn=[yn,bn,xn];function $n(t=[]){wn.push(...[].concat(t))}function Sn(){z(wn,{to(t){return(new vn).type(this.constructor).from(this.valueOf()).to(t)},fromArray(t){return this.init(t),this}})}class kn extends xe{constructor(t,e=t){super(T("path",t),e)}array(){return this._array||(this._array=new mn(this.attr("d")))}clear(){return delete this._array,this}height(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}move(t,e){return this.attr("d",this.array().move(t,e))}plot(t){return null==t?this.array():this.clear().attr("d","string"===typeof t?t:this._array=new mn(t))}size(t,e){const n=O(this,t,e);return this.attr("d",this.array().size(n.width,n.height))}width(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)}x(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}y(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}}function Qn(){return this._array||(this._array=new Xe(this.attr("points")))}function Tn(){return delete this._array,this}function Pn(t,e){return this.attr("points",this.array().move(t,e))}function Cn(t){return null==t?this.array():this.clear().attr("points","string"===typeof t?t:this._array=new Xe(t))}function An(t,e){const n=O(this,t,e);return this.attr("points",this.array().size(n.width,n.height))}kn.prototype.MorphArray=mn,s({Container:{path:j((function(t){return this.put(new kn).plot(t||new mn)}))}}),A(kn,"Path");var En={__proto__:null,array:Qn,clear:Tn,move:Pn,plot:Cn,size:An};class Rn extends xe{constructor(t,e=t){super(T("polygon",t),e)}}s({Container:{polygon:j((function(t){return this.put(new Rn).plot(t||new Xe)}))}}),z(Rn,Be),z(Rn,En),A(Rn,"Polygon");class Mn extends xe{constructor(t,e=t){super(T("polyline",t),e)}}s({Container:{polyline:j((function(t){return this.put(new Mn).plot(t||new Xe)}))}}),z(Mn,Be),z(Mn,En),A(Mn,"Polyline");class Dn extends xe{constructor(t,e=t){super(T("rect",t),e)}}z(Dn,{rx:we,ry:$e}),s({Container:{rect:j((function(t,e){return this.put(new Dn).size(t,e)}))}}),A(Dn,"Rect");class zn{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const e="undefined"!==typeof t.next?t:{value:t,next:null,prev:null};return this._last?(e.prev=this._last,this._last.next=e,this._last=e):(this._last=e,this._first=e),e}remove(t){t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next),t.prev=null,t.next=null}shift(){const t=this._first;return t?(this._first=t.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,t.value):null}}const jn={nextDraw:null,frames:new zn,timeouts:new zn,immediates:new zn,timer:()=>x.window.performance||x.window.Date,transforms:[],frame(t){const e=jn.frames.push({run:t});return null===jn.nextDraw&&(jn.nextDraw=x.window.requestAnimationFrame(jn._draw)),e},timeout(t,e){e=e||0;const n=jn.timer().now()+e,i=jn.timeouts.push({run:t,time:n});return null===jn.nextDraw&&(jn.nextDraw=x.window.requestAnimationFrame(jn._draw)),i},immediate(t){const e=jn.immediates.push(t);return null===jn.nextDraw&&(jn.nextDraw=x.window.requestAnimationFrame(jn._draw)),e},cancelFrame(t){null!=t&&jn.frames.remove(t)},clearTimeout(t){null!=t&&jn.timeouts.remove(t)},cancelImmediate(t){null!=t&&jn.immediates.remove(t)},_draw(t){let e=null;const n=jn.timeouts.last();while(e=jn.timeouts.shift())if(t>=e.time?e.run():jn.timeouts.push(e),e===n)break;let i=null;const r=jn.frames.last();while(i!==r&&(i=jn.frames.shift()))i.run(t);let s=null;while(s=jn.immediates.shift())s();jn.nextDraw=jn.timeouts.first()||jn.frames.first()?x.window.requestAnimationFrame(jn._draw):null}},Zn=function(t){const e=t.start,n=t.runner.duration(),i=e+n;return{start:e,duration:n,end:i,runner:t.runner}},Vn=function(){const t=x.window;return(t.performance||t.Date).now()};class Xn extends ne{constructor(t=Vn){super(),this._timeSource=t,this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const t=this.getLastRunnerInfo(),e=t?t.runner.duration():0,n=t?t.start:this._time;return n+e}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){return this._paused=!0,this._continue()}persist(t){return null==t?this._persist:(this._persist=t,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(t){const e=this.speed();if(null==t)return this.speed(-e);const n=Math.abs(e);return this.speed(t?-n:n)}schedule(t,e,n){if(null==t)return this._runners.map(Zn);let i=0;const r=this.getEndTime();if(e=e||0,null==n||"last"===n||"after"===n)i=r;else if("absolute"===n||"start"===n)i=e,e=0;else if("now"===n)i=this._time;else if("relative"===n){const n=this.getRunnerInfoById(t.id);n&&(i=n.start+e,e=0)}else{if("with-last"!==n)throw new Error('Invalid value for the "when" parameter');{const t=this.getLastRunnerInfo(),e=t?t.start:this._time;i=e}}t.unschedule(),t.timeline(this);const s=t.persist(),o={persist:null===s?this._persist:s,start:i+e,runner:t};return this._lastRunnerId=t.id,this._runners.push(o),this._runners.sort(((t,e)=>t.start-e.start)),this._runnerIds=this._runners.map((t=>t.runner.id)),this.updateTime()._continue(),this}seek(t){return this.time(this._time+t)}source(t){return null==t?this._timeSource:(this._timeSource=t,this)}speed(t){return null==t?this._speed:(this._speed=t,this)}stop(){return this.time(0),this.pause()}time(t){return null==t?this._time:(this._time=t,this._continue(!0))}unschedule(t){const e=this._runnerIds.indexOf(t.id);return e<0||(this._runners.splice(e,1),this._runnerIds.splice(e,1),t.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(t=!1){return jn.cancelFrame(this._nextFrame),this._nextFrame=null,t?this._stepImmediate():(this._paused||(this._nextFrame=jn.frame(this._step)),this)}_stepFn(t=!1){const e=this._timeSource();let n=e-this._lastSourceTime;t&&(n=0);const i=this._speed*n+(this._time-this._lastStepTime);this._lastSourceTime=e,t||(this._time+=i,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let s=this._runners.length;s--;){const t=this._runners[s],e=t.runner,n=this._time-t.start;n<=0&&e.reset()}let r=!1;for(let s=0,o=this._runners.length;s<o;s++){const t=this._runners[s],e=t.runner;let n=i;const a=this._time-t.start;if(a<=0){r=!0;continue}if(a<n&&(n=a),!e.active())continue;const l=e.step(n).done;if(l){if(!0!==t.persist){const n=e.duration()-e.time()+this._time;n+t.persist<this._time&&(e.unschedule(),--s,--o)}}else r=!0}return r&&!(this._speed<0&&0===this._time)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}}s({Element:{timeline:function(t){return null==t?(this._timeline=this._timeline||new Xn,this._timeline):(this._timeline=t,this)}}});class Wn extends ne{constructor(t){super(),this.id=Wn.id++,t=null==t?re.duration:t,t="function"===typeof t?new Je(t):t,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration="number"===typeof t&&t,this._isDeclarative=t instanceof Je,this._stepper=this._isDeclarative?t:new Ke,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new Et,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(t,e,n){let i=1,r=!1,s=0;return t=t||re.duration,e=e||re.delay,n=n||"last","object"!==typeof t||t instanceof He||(e=t.delay||e,n=t.when||n,r=t.swing||r,i=t.times||i,s=t.wait||s,t=t.duration||re.duration),{duration:t,delay:e,swing:r,times:i,wait:s,when:n}}active(t){return null==t?this.enabled:(this.enabled=t,this)}addTransform(t,e){return this.transforms.lmultiplyO(t),this}after(t){return this.on("finished",t)}animate(t,e,n){const i=Wn.sanitise(t,e,n),r=new Wn(i.duration);return this._timeline&&r.timeline(this._timeline),this._element&&r.element(this._element),r.loop(i).schedule(i.delay,i.when)}clearTransform(){return this.transforms=new Et,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((t=>!t.isTransform)))}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){return this._stepper=new Ke(t),this}element(t){return null==t?this._element:(this._element=t,t._prepareRunner(),this)}finish(){return this.step(1/0)}loop(t,e,n){return"object"===typeof t&&(e=t.swing,n=t.wait,t=t.times),this._times=t||1/0,this._swing=e||!1,this._wait=n||0,!0===this._times&&(this._times=1/0),this}loops(t){const e=this._duration+this._wait;if(null==t){const t=Math.floor(this._time/e),n=this._time-t*e,i=n/this._duration;return Math.min(t+i,this._times)}const n=Math.floor(t),i=t%1,r=e*n+this._duration*i;return this.time(r)}persist(t){return null==t?this._persist:(this._persist=t,this)}position(t){const e=this._time,n=this._duration,i=this._wait,r=this._times,s=this._swing,o=this._reverse;let a;if(null==t){const t=function(t){const e=s*Math.floor(t%(2*(i+n))/(i+n)),r=e&&!o||!e&&o,a=Math.pow(-1,r)*(t%(i+n))/n+r,l=Math.max(Math.min(a,1),0);return l},l=r*(i+n)-i;return a=e<=0?Math.round(t(1e-5)):e<l?t(e):Math.round(t(l-1e-5)),a}const l=Math.floor(this.loops()),c=s&&l%2===0,u=c&&!o||o&&c;return a=l+(u?t:1-t),this.loops(a)}progress(t){return null==t?Math.min(1,this._time/this.duration()):this.time(t*this.duration())}queue(t,e,n,i){this._queue.push({initialiser:t||ie,runner:e||ie,retarget:n,isTransform:i,initialised:!1,finished:!1});const r=this.timeline();return r&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(t){return this._reverse=null==t?!this._reverse:t,this}schedule(t,e,n){if(t instanceof Xn||(n=e,e=t,t=this.timeline()),!t)throw Error("Runner cannot be scheduled without timeline");return t.schedule(this,e,n),this}step(t){if(!this.enabled)return this;t=null==t?16:t,this._time+=t;const e=this.position(),n=this._lastPosition!==e&&this._time>=0;this._lastPosition=e;const i=this.duration(),r=this._lastTime<=0&&this._time>0,s=this._lastTime<i&&this._time>=i;this._lastTime=this._time,r&&this.fire("start",this);const o=this._isDeclarative;this.done=!o&&!s&&this._time>=i,this._reseted=!1;let a=!1;return(n||o)&&(this._initialise(n),this.transforms=new Et,a=this._run(o?t:e),this.fire("step",this)),this.done=this.done||a&&o,s&&this.fire("finished",this),this}time(t){if(null==t)return this._time;const e=t-this._time;return this.step(e),this}timeline(t){return"undefined"===typeof t?this._timeline:(this._timeline=t,this)}unschedule(){const t=this.timeline();return t&&t.unschedule(this),this}_initialise(t){if(t||this._isDeclarative)for(let e=0,n=this._queue.length;e<n;++e){const n=this._queue[e],i=this._isDeclarative||!n.initialised&&t;t=!n.finished,i&&t&&(n.initialiser.call(this),n.initialised=!0)}}_rememberMorpher(t,e){if(this._history[t]={morpher:e,caller:this._queue[this._queue.length-1]},this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let e=!0;for(let n=0,i=this._queue.length;n<i;++n){const i=this._queue[n],r=i.runner.call(this,t);i.finished=i.finished||!0===r,e=e&&i.finished}return e}_tryRetarget(t,e,n){if(this._history[t]){if(!this._history[t].caller.initialised){const e=this._queue.indexOf(this._history[t].caller);return this._queue.splice(e,1),!1}this._history[t].caller.retarget?this._history[t].caller.retarget.call(this,e,n):this._history[t].morpher.to(e),this._history[t].caller.finished=!1;const i=this.timeline();return i&&i.play(),!0}return!1}}Wn.id=0;class qn{constructor(t=new Et,e=-1,n=!0){this.transforms=t,this.id=e,this.done=n}clearTransformsFromQueue(){}}z([Wn,qn],{mergeWith(t){return new qn(t.transforms.lmultiply(this.transforms),t.id)}});const In=(t,e)=>t.lmultiplyO(e),Nn=t=>t.transforms;function Ln(){const t=this._transformationRunners.runners,e=t.map(Nn).reduce(In,new Et);this.transform(e),this._transformationRunners.merge(),1===this._transformationRunners.length()&&(this._frameId=null)}class Bn{constructor(){this.runners=[],this.ids=[]}add(t){if(this.runners.includes(t))return;const e=t.id+1;return this.runners.push(t),this.ids.push(e),this}clearBefore(t){const e=this.ids.indexOf(t+1)||1;return this.ids.splice(0,e,0),this.runners.splice(0,e,new qn).forEach((t=>t.clearTransformsFromQueue())),this}edit(t,e){const n=this.ids.indexOf(t+1);return this.ids.splice(n,1,t+1),this.runners.splice(n,1,e),this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let e=0;e<this.runners.length;++e){const n=this.runners[e],i=t&&n.done&&t.done&&(!n._timeline||!n._timeline._runnerIds.includes(n.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(i){this.remove(n.id);const i=n.mergeWith(t);this.edit(t.id,i),t=i,--e}else t=n}return this}remove(t){const e=this.ids.indexOf(t+1);return this.ids.splice(e,1),this.runners.splice(e,1),this}}s({Element:{animate(t,e,n){const i=Wn.sanitise(t,e,n),r=this.timeline();return new Wn(i.duration).loop(i).element(this).timeline(r.play()).schedule(i.delay,i.when)},delay(t,e){return this.animate(0,t,e)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((e=>e.id<=t.id)).map(Nn).reduce(In,new Et)},_addRunner(t){this._transformationRunners.add(t),jn.cancelImmediate(this._frameId),this._frameId=jn.immediate(Ln.bind(this))},_prepareRunner(){null==this._frameId&&(this._transformationRunners=(new Bn).add(new qn(new Et(this))))}}});const Un=(t,e)=>t.filter((t=>!e.includes(t)));z(Wn,{attr(t,e){return this.styleAttr("attr",t,e)},css(t,e){return this.styleAttr("css",t,e)},styleAttr(t,e,n){if("string"===typeof e)return this.styleAttr(t,{[e]:n});let i=e;if(this._tryRetarget(t,i))return this;let r=new vn(this._stepper).to(i),s=Object.keys(i);return this.queue((function(){r=r.from(this.element()[t](s))}),(function(e){return this.element()[t](r.at(e).valueOf()),r.done()}),(function(e){const n=Object.keys(e),o=Un(n,s);if(o.length){const e=this.element()[t](o),n=new xn(r.from()).valueOf();Object.assign(n,e),r.from(n)}const a=new xn(r.to()).valueOf();Object.assign(a,e),r.to(a),s=n,i=e})),this._rememberMorpher(t,r),this},zoom(t,e){if(this._tryRetarget("zoom",t,e))return this;let n=new vn(this._stepper).to(new ae(t));return this.queue((function(){n=n.from(this.element().zoom())}),(function(t){return this.element().zoom(n.at(t),e),n.done()}),(function(t,i){e=i,n.to(t)})),this._rememberMorpher("zoom",n),this},transform(t,e,n){if(e=t.relative||e,this._isDeclarative&&!e&&this._tryRetarget("transform",t))return this;const i=Et.isMatrixLike(t);n=null!=t.affine?t.affine:null!=n?n:!i;const r=new vn(this._stepper).type(n?bn:Et);let s,o,a,l,c;function u(){o=o||this.element(),s=s||m(t,o),c=new Et(e?void 0:o),o._addRunner(this),e||o._clearTransformRunnersBefore(this)}function h(u){e||this.clearTransform();const{x:h,y:p}=new Pt(s).transform(o._currentTransform(this));let d=new Et({...t,origin:[h,p]}),f=this._isDeclarative&&a?a:c;if(n){d=d.decompose(h,p),f=f.decompose(h,p);const t=d.rotate,e=f.rotate,n=[t-360,t,t+360],i=n.map((t=>Math.abs(t-e))),r=Math.min(...i),s=i.indexOf(r);d.rotate=n[s]}e&&(i||(d.rotate=t.rotate||0),this._isDeclarative&&l&&(f.rotate=l)),r.from(f),r.to(d);const O=r.at(u);return l=O.rotate,a=new Et(O),this.addTransform(a),o._addRunner(this),r.done()}function p(e){(e.origin||"center").toString()!==(t.origin||"center").toString()&&(s=m(e,o)),t={...e,origin:s}}return this.queue(u,h,p,!0),this._isDeclarative&&this._rememberMorpher("transform",r),this},x(t,e){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,e){return this.dx(t).dy(e)},_queueNumberDelta(t,e){if(e=new ae(e),this._tryRetarget(t,e))return this;const n=new vn(this._stepper).to(e);let i=null;return this.queue((function(){i=this.element()[t](),n.from(i),n.to(i+e)}),(function(e){return this.element()[t](n.at(e)),n.done()}),(function(t){n.to(i+new ae(t))})),this._rememberMorpher(t,n),this},_queueObject(t,e){if(this._tryRetarget(t,e))return this;const n=new vn(this._stepper).to(e);return this.queue((function(){n.from(this.element()[t]())}),(function(e){return this.element()[t](n.at(e)),n.done()})),this._rememberMorpher(t,n),this},_queueNumber(t,e){return this._queueObject(t,new ae(e))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,e){return this.x(t).y(e)},center(t,e){return this.cx(t).cy(e)},size(t,e){let n;return t&&e||(n=this._element.bbox()),t||(t=n.width/n.height*e),e||(e=n.height/n.width*t),this.width(t).height(e)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,e,n,i){if(4===arguments.length)return this.plot([t,e,n,i]);if(this._tryRetarget("plot",t))return this;const r=new vn(this._stepper).type(this._element.MorphArray).to(t);return this.queue((function(){r.from(this._element.array())}),(function(t){return this._element.plot(r.at(t)),r.done()})),this._rememberMorpher("plot",r),this},leading(t){return this._queueNumber("leading",t)},viewbox(t,e,n,i){return this._queueObject("viewbox",new Zt(t,e,n,i))},update(t){return"object"!==typeof t?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",t.offset),this)}}),z(Wn,{rx:we,ry:$e,from:Me,to:De}),A(Wn,"Runner");class Yn extends be{constructor(t,e=t){super(T("svg",t),e),this.namespace()}defs(){return this.isRoot()?P(this.node.querySelector("defs"))||this.put(new _e):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof x.window.SVGElement)&&"#document-fragment"!==this.node.parentNode.nodeName}namespace(){return this.isRoot()?this.attr({xmlns:g,version:"1.1"}).attr("xmlns:xlink",b,y).attr("xmlns:svgjs",_,y):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,y).attr("xmlns:svgjs",null,y)}root(){return this.isRoot()?this:super.root()}}s({Container:{nested:j((function(){return this.put(new Yn)}))}}),A(Yn,"Svg",!0);class Fn extends be{constructor(t,e=t){super(T("symbol",t),e)}}function Gn(t){return!1===this._build&&this.clear(),this.node.appendChild(x.document.createTextNode(t)),this}function Hn(){return this.node.getComputedTextLength()}function Kn(t,e=this.bbox()){return null==t?e.x:this.attr("x",this.attr("x")+t-e.x)}function Jn(t,e=this.bbox()){return null==t?e.y:this.attr("y",this.attr("y")+t-e.y)}function ti(t,e,n=this.bbox()){return this.x(t,n).y(e,n)}function ei(t,e=this.bbox()){return null==t?e.cx:this.attr("x",this.attr("x")+t-e.cx)}function ni(t,e=this.bbox()){return null==t?e.cy:this.attr("y",this.attr("y")+t-e.cy)}function ii(t,e,n=this.bbox()){return this.cx(t,n).cy(e,n)}function ri(t){return this.attr("x",t)}function si(t){return this.attr("y",t)}function oi(t,e){return this.ax(t).ay(e)}function ai(t){return this._build=!!t,this}s({Container:{symbol:j((function(){return this.put(new Fn)}))}}),A(Fn,"Symbol");var li={__proto__:null,plain:Gn,length:Hn,x:Kn,y:Jn,move:ti,cx:ei,cy:ni,center:ii,ax:ri,ay:si,amove:oi,build:ai};class ci extends xe{constructor(t,e=t){super(T("text",t),e),this.dom.leading=new ae(1.3),this._rebuild=!0,this._build=!1}leading(t){return null==t?this.dom.leading:(this.dom.leading=new ae(t),this.rebuild())}rebuild(t){if("boolean"===typeof t&&(this._rebuild=t),this._rebuild){const t=this;let e=0;const n=this.dom.leading;this.each((function(i){const r=x.window.getComputedStyle(this.node).getPropertyValue("font-size"),s=n*new ae(r);this.dom.newLined&&(this.attr("x",t.attr("x")),"\n"===this.text()?e+=s:(this.attr("dy",i?s+e:0),e=0))})),this.fire("rebuild")}return this}setData(t){return this.dom=t,this.dom.leading=new ae(t.leading||1.3),this}text(t){if(void 0===t){const e=this.node.childNodes;let n=0;t="";for(let i=0,r=e.length;i<r;++i)"textPath"!==e[i].nodeName?(i!==n&&3!==e[i].nodeType&&!0===P(e[i]).dom.newLined&&(t+="\n"),t+=e[i].textContent):0===i&&(n=1);return t}if(this.clear().build(!0),"function"===typeof t)t.call(this,this);else{t=(t+"").split("\n");for(let e=0,n=t.length;e<n;e++)this.newLine(t[e])}return this.build(!1).rebuild()}}z(ci,li),s({Container:{text:j((function(t=""){return this.put(new ci).text(t)})),plain:j((function(t=""){return this.put(new ci).plain(t)}))}}),A(ci,"Text");class ui extends xe{constructor(t,e=t){super(T("tspan",t),e),this._build=!1}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=!0;const t=this.parent();if(!(t instanceof ci))return this;const e=t.index(this),n=x.window.getComputedStyle(this.node).getPropertyValue("font-size"),i=t.dom.leading*new ae(n);return this.dy(e?i:0).attr("x",t.x())}text(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"===typeof t?(this.clear().build(!0),t.call(this,this),this.build(!1)):this.plain(t),this)}}z(ui,li),s({Tspan:{tspan:j((function(t=""){const e=new ui;return this._build||this.clear(),this.put(e).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}}),A(ui,"Tspan");class hi extends xe{constructor(t,e=t){super(T("circle",t),e)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new ae(t).divide(2))}}z(hi,{x:Se,y:ke,cx:Qe,cy:Te,width:Pe,height:Ce}),s({Container:{circle:j((function(t=0){return this.put(new hi).size(t).move(0,0)}))}}),A(hi,"Circle");class pi extends be{constructor(t,e=t){super(T("clipPath",t),e)}remove(){return this.targets().forEach((function(t){t.unclip()})),super.remove()}targets(){return Lt('svg [clip-path*="'+this.id()+'"]')}}s({Container:{clip:j((function(){return this.defs().put(new pi)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const e=t instanceof pi?t:this.parent().clip().add(t);return this.attr("clip-path",'url("#'+e.id()+'")')},unclip(){return this.attr("clip-path",null)}}}),A(pi,"ClipPath");class di extends pe{constructor(t,e=t){super(T("foreignObject",t),e)}}function fi(t,e){return this.children().forEach(((n,i)=>{let r;try{r=n.bbox()}catch(l){return}const s=new Et(n),o=s.translate(t,e).transform(s.inverse()),a=new Pt(r.x,r.y).transform(o);n.move(a.x,a.y)})),this}function Oi(t){return this.dmove(t,0)}function mi(t){return this.dmove(0,t)}function gi(t,e=this.bbox()){return null==t?e.height:this.size(e.width,t,e)}function vi(t=0,e=0,n=this.bbox()){const i=t-n.x,r=e-n.y;return this.dmove(i,r)}function yi(t,e,n=this.bbox()){const i=O(this,t,e,n),r=i.width/n.width,s=i.height/n.height;return this.children().forEach(((t,e)=>{const i=new Pt(n).transform(new Et(t).inverse());t.scale(r,s,i.x,i.y)})),this}function bi(t,e=this.bbox()){return null==t?e.width:this.size(t,e.height,e)}function _i(t,e=this.bbox()){return null==t?e.x:this.move(t,e.y,e)}function xi(t,e=this.bbox()){return null==t?e.y:this.move(e.x,t,e)}s({Container:{foreignObject:j((function(t,e){return this.put(new di).size(t,e)}))}}),A(di,"ForeignObject");var wi={__proto__:null,dmove:fi,dx:Oi,dy:mi,height:gi,move:vi,size:yi,width:bi,x:_i,y:xi};class $i extends be{constructor(t,e=t){super(T("g",t),e)}}z($i,wi),s({Container:{group:j((function(){return this.put(new $i)}))}}),A($i,"G");class Si extends be{constructor(t,e=t){super(T("a",t),e)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,b)}}z(Si,wi),s({Container:{link:j((function(t){return this.put(new Si).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const e=t.parent();if(!e)return this.remove();const n=e.index(t);return e.add(this,n),t.remove(),this},linkTo(t){let e=this.linker();return e||(e=new Si,this.wrap(e)),"function"===typeof t?t.call(e,e):e.to(t),this},linker(){const t=this.parent();return t&&"a"===t.node.nodeName.toLowerCase()?t:null}}}),A(Si,"A");class ki extends be{constructor(t,e=t){super(T("mask",t),e)}remove(){return this.targets().forEach((function(t){t.unmask()})),super.remove()}targets(){return Lt('svg [mask*="'+this.id()+'"]')}}s({Container:{mask:j((function(){return this.defs().put(new ki)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const e=t instanceof ki?t:this.parent().mask().add(t);return this.attr("mask",'url("#'+e.id()+'")')},unmask(){return this.attr("mask",null)}}}),A(ki,"Mask");class Qi extends pe{constructor(t,e=t){super(T("stop",t),e)}update(t){return("number"===typeof t||t instanceof ae)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new ae(t.offset)),this}}function Ti(t,e){if(!t)return"";if(!e)return t;let n=t+"{";for(const i in e)n+=d(i)+":"+e[i]+";";return n+="}",n}s({Gradient:{stop:function(t,e,n){return this.put(new Qi).update(t,e,n)}}}),A(Qi,"Stop");class Pi extends pe{constructor(t,e=t){super(T("style",t),e)}addText(t=""){return this.node.textContent+=t,this}font(t,e,n={}){return this.rule("@font-face",{fontFamily:t,src:e,...n})}rule(t,e){return this.addText(Ti(t,e))}}s("Dom",{style(t,e){return this.put(new Pi).rule(t,e)},fontface(t,e,n){return this.put(new Pi).font(t,e,n)}}),A(Pi,"Style");class Ci extends ci{constructor(t,e=t){super(T("textPath",t),e)}array(){const t=this.track();return t?t.array():null}plot(t){const e=this.track();let n=null;return e&&(n=e.plot(t)),null==t?n:this}track(){return this.reference("href")}}s({Container:{textPath:j((function(t,e){return t instanceof ci||(t=this.text(t)),t.path(e)}))},Text:{path:j((function(t,e=!0){const n=new Ci;let i;if(t instanceof kn||(t=this.defs().path(t)),n.attr("href","#"+t,b),e)while(i=this.node.firstChild)n.node.appendChild(i);return this.put(n)})),textPath(){return this.findOne("textPath")}},Path:{text:j((function(t){return t instanceof ci||(t=(new ci).addTo(this.parent()).text(t)),t.path(this)})),targets(){return Lt("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}}),Ci.prototype.MorphArray=mn,A(Ci,"TextPath");class Ai extends xe{constructor(t,e=t){super(T("use",t),e)}use(t,e){return this.attr("href",(e||"")+"#"+t,b)}}s({Container:{use:j((function(t,e){return this.put(new Ai).use(t,e)}))}}),A(Ai,"Use");const Ei=/^(14|9)3$/.test(n.j)?Q:null;z([Yn,Fn,Ve,Ze,Ye],o("viewbox")),z([Ue,Mn,Rn,kn],o("marker")),z(ci,o("Text")),z(kn,o("Path")),z(_e,o("Defs")),z([ci,ui],o("Tspan")),z([Dn,Ee,je,Wn],o("radius")),z(ne,o("EventTarget")),z(he,o("Dom")),z(pe,o("Element")),z(xe,o("Shape")),z([be,Re],o("Container")),z(je,o("Gradient")),z(Wn,o("Runner")),It.extend(a()),$n([ae,Tt,Zt,Et,oe,Xe,mn]),Sn()},67625:(t,e,n)=>{"use strict";n.d(e,{ML:()=>ra,hj:()=>Bi,vc:()=>oa,NB:()=>sa,XP:()=>pa,b5:()=>da,u9:()=>Po,QC:()=>ma,IH:()=>xr,tI:()=>aa,EG:()=>ga,hT:()=>Pr,Cf:()=>la,K9:()=>ha,P1:()=>Lo,pr:()=>va,zK:()=>ca,S0:()=>ua});var i=n(76922),r=n(21081),s=n(32230);function o(t,e){return!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0)}function a(t,e,n){var o=t.selection,a=o.$cursor;if(!a||(n?!n.endOfTextblock("backward",t):a.parentOffset>0))return!1;var c=u(a);if(!c){var h=a.blockRange(),p=h&&(0,r.k9)(h);return null!=p&&(e&&e(t.tr.lift(h,p).scrollIntoView()),!0)}var d=c.nodeBefore;if(!d.type.spec.isolating&&$(t,c,e))return!0;if(0==a.parent.content.size&&(l(d,"end")||i.qv.isSelectable(d))){var f=(0,r.dR)(t.doc,a.before(),a.after(),s.p2.empty);if(f.slice.size<f.to-f.from){if(e){var O=t.tr.step(f);O.setSelection(l(d,"end")?i.Y1.findFrom(O.doc.resolve(O.mapping.map(c.pos,-1)),-1):i.qv.create(O.doc,c.pos-d.nodeSize)),e(O.scrollIntoView())}return!0}}return!(!d.isAtom||c.depth!=a.depth-1)&&(e&&e(t.tr.delete(c.pos-d.nodeSize,c.pos).scrollIntoView()),!0)}function l(t,e,n){for(;t;t="start"==e?t.firstChild:t.lastChild){if(t.isTextblock)return!0;if(n&&1!=t.childCount)return!1}return!1}function c(t,e,n){var r=t.selection,s=r.$head,o=r.empty,a=s;if(!o)return!1;if(s.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):s.parentOffset>0)return!1;a=u(s)}var l=a&&a.nodeBefore;return!(!l||!i.qv.isSelectable(l))&&(e&&e(t.tr.setSelection(i.qv.create(t.doc,a.pos-l.nodeSize)).scrollIntoView()),!0)}function u(t){if(!t.parent.type.spec.isolating)for(var e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function h(t,e,n){var o=t.selection,a=o.$cursor;if(!a||(n?!n.endOfTextblock("forward",t):a.parentOffset<a.parent.content.size))return!1;var c=d(a);if(!c)return!1;var u=c.nodeAfter;if($(t,c,e))return!0;if(0==a.parent.content.size&&(l(u,"start")||i.qv.isSelectable(u))){var h=(0,r.dR)(t.doc,a.before(),a.after(),s.p2.empty);if(h.slice.size<h.to-h.from){if(e){var p=t.tr.step(h);p.setSelection(l(u,"start")?i.Y1.findFrom(p.doc.resolve(p.mapping.map(c.pos)),1):i.qv.create(p.doc,p.mapping.map(c.pos))),e(p.scrollIntoView())}return!0}}return!(!u.isAtom||c.depth!=a.depth-1)&&(e&&e(t.tr.delete(c.pos,c.pos+u.nodeSize).scrollIntoView()),!0)}function p(t,e,n){var r=t.selection,s=r.$head,o=r.empty,a=s;if(!o)return!1;if(s.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):s.parentOffset<s.parent.content.size)return!1;a=d(s)}var l=a&&a.nodeAfter;return!(!l||!i.qv.isSelectable(l))&&(e&&e(t.tr.setSelection(i.qv.create(t.doc,a.pos)).scrollIntoView()),!0)}function d(t){if(!t.parent.type.spec.isolating)for(var e=t.depth-1;e>=0;e--){var n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}function f(t,e){var n=t.selection,i=n.$from,s=n.$to,o=i.blockRange(s),a=o&&(0,r.k9)(o);return null!=a&&(e&&e(t.tr.lift(o,a).scrollIntoView()),!0)}function O(t,e){var n=t.selection,i=n.$head,r=n.$anchor;return!(!i.parent.type.spec.code||!i.sameParent(r))&&(e&&e(t.tr.insertText("\n").scrollIntoView()),!0)}function m(t){for(var e=0;e<t.edgeCount;e++){var n=t.edge(e),i=n.type;if(i.isTextblock&&!i.hasRequiredAttrs())return i}return null}function g(t,e){var n=t.selection,r=n.$head,s=n.$anchor;if(!r.parent.type.spec.code||!r.sameParent(s))return!1;var o=r.node(-1),a=r.indexAfter(-1),l=m(o.contentMatchAt(a));if(!o.canReplaceWith(a,a,l))return!1;if(e){var c=r.after(),u=t.tr.replaceWith(c,c,l.createAndFill());u.setSelection(i.Y1.near(u.doc.resolve(c),1)),e(u.scrollIntoView())}return!0}function v(t,e){var n=t.selection,r=n.$from,s=n.$to;if(n instanceof i.C1||r.parent.inlineContent||s.parent.inlineContent)return!1;var o=m(s.parent.contentMatchAt(s.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){var a=(!r.parentOffset&&s.index()<s.parent.childCount?r:s).pos,l=t.tr.insert(a,o.createAndFill());l.setSelection(i.Bs.create(l.doc,a+1)),e(l.scrollIntoView())}return!0}function y(t,e){var n=t.selection,i=n.$cursor;if(!i||i.parent.content.size)return!1;if(i.depth>1&&i.after()!=i.end(-1)){var s=i.before();if((0,r.Ax)(t.doc,s))return e&&e(t.tr.split(s).scrollIntoView()),!0}var o=i.blockRange(),a=o&&(0,r.k9)(o);return null!=a&&(e&&e(t.tr.lift(o,a).scrollIntoView()),!0)}function b(t,e){var n=t.selection,s=n.$from,o=n.$to;if(t.selection instanceof i.qv&&t.selection.node.isBlock)return!(!s.parentOffset||!(0,r.Ax)(t.doc,s.pos))&&(e&&e(t.tr.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;if(e){var a=o.parentOffset==o.parent.content.size,l=t.tr;(t.selection instanceof i.Bs||t.selection instanceof i.C1)&&l.deleteSelection();var c=0==s.depth?null:m(s.node(-1).contentMatchAt(s.indexAfter(-1))),u=a&&c?[{type:c}]:null,h=(0,r.Ax)(l.doc,l.mapping.map(s.pos),1,u);if(u||h||!(0,r.Ax)(l.doc,l.mapping.map(s.pos),1,c&&[{type:c}])||(u=[{type:c}],h=!0),h&&(l.split(l.mapping.map(s.pos),1,u),!a&&!s.parentOffset&&s.parent.type!=c)){var p=l.mapping.map(s.before()),d=l.doc.resolve(p);s.node(-1).canReplaceWith(d.index(),d.index()+1,c)&&l.setNodeMarkup(l.mapping.map(s.before()),c)}e(l.scrollIntoView())}return!0}function _(t,e){var n,r=t.selection,s=r.$from,o=r.to,a=s.sharedDepth(o);return 0!=a&&(n=s.before(a),e&&e(t.tr.setSelection(i.qv.create(t.doc,n))),!0)}function x(t,e){return e&&e(t.tr.setSelection(new i.C1(t.doc))),!0}function w(t,e,n){var i=e.nodeBefore,s=e.nodeAfter,o=e.index();return!!(i&&s&&i.type.compatibleContent(s.type))&&(!i.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),!0):!(!e.parent.canReplace(o,o+1)||!s.isTextblock&&!(0,r.Mn)(t.doc,e.pos))&&(n&&n(t.tr.clearIncompatible(e.pos,i.type,i.contentMatchAt(i.childCount)).join(e.pos).scrollIntoView()),!0))}function $(t,e,n){var o,a,c=e.nodeBefore,u=e.nodeAfter;if(c.type.spec.isolating||u.type.spec.isolating)return!1;if(w(t,e,n))return!0;var h=e.parent.canReplace(e.index(),e.index()+1);if(h&&(o=(a=c.contentMatchAt(c.childCount)).findWrapping(u.type))&&a.matchType(o[0]||u.type).validEnd){if(n){for(var p=e.pos+u.nodeSize,d=s.HY.empty,f=o.length-1;f>=0;f--)d=s.HY.from(o[f].create(null,d));d=s.HY.from(c.copy(d));var O=t.tr.step(new r.FC(e.pos-1,p,e.pos,p,new s.p2(d,1,0),o.length,!0)),m=p+2*o.length;(0,r.Mn)(O.doc,m)&&O.join(m),n(O.scrollIntoView())}return!0}var g=i.Y1.findFrom(e,1),v=g&&g.$from.blockRange(g.$to),y=v&&(0,r.k9)(v);if(null!=y&&y>=e.depth)return n&&n(t.tr.lift(v,y).scrollIntoView()),!0;if(h&&l(u,"start",!0)&&l(c,"end")){for(var b=c,_=[];;){if(_.push(b),b.isTextblock)break;b=b.lastChild}for(var x=u,$=1;!x.isTextblock;x=x.firstChild)$++;if(b.canReplace(b.childCount,b.childCount,x.content)){if(n){for(var S=s.HY.empty,k=_.length-1;k>=0;k--)S=s.HY.from(_[k].copy(S));var Q=t.tr.step(new r.FC(e.pos-_.length,e.pos+u.nodeSize,e.pos+$,e.pos+u.nodeSize-$,new s.p2(S,_.length,0),0,!0));n(Q.scrollIntoView())}return!0}}return!1}function S(t){return function(e,n){var r=e.selection,s=t<0?r.$from:r.$to,o=s.depth;while(s.node(o).isInline){if(!o)return!1;o--}return!!s.node(o).isTextblock&&(n&&n(e.tr.setSelection(i.Bs.create(e.doc,t<0?s.start(o):s.end(o)))),!0)}}var k=S(-1),Q=S(1);function T(t,e){return function(n,i){var s=n.selection,o=s.$from,a=s.$to,l=o.blockRange(a),c=l&&(0,r.nd)(l,t,e);return!!c&&(i&&i(n.tr.wrap(l,c).scrollIntoView()),!0)}}function P(t,e){return function(n,i){var r=n.selection,s=r.from,o=r.to,a=!1;return n.doc.nodesBetween(s,o,(function(i,r){if(a)return!1;if(i.isTextblock&&!i.hasMarkup(t,e))if(i.type==t)a=!0;else{var s=n.doc.resolve(r),o=s.index();a=s.parent.canReplaceWith(o,o+1,t)}})),!!a&&(i&&i(n.tr.setBlockType(s,o,t,e).scrollIntoView()),!0)}}function C(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];return function(e,n,i){for(var r=0;r<t.length;r++)if(t[r](e,n,i))return!0;return!1}}var A=C(o,a,c),E=C(o,h,p),R={Enter:C(O,v,y,b),"Mod-Enter":g,Backspace:A,"Mod-Backspace":A,"Shift-Backspace":A,Delete:E,"Mod-Delete":E,"Mod-a":x},M={"Ctrl-h":R["Backspace"],"Alt-Backspace":R["Mod-Backspace"],"Ctrl-d":R["Delete"],"Ctrl-Alt-Backspace":R["Mod-Delete"],"Alt-Delete":R["Mod-Delete"],"Alt-d":R["Mod-Delete"],"Ctrl-a":k,"Ctrl-e":Q};for(var D in R)M[D]=R[D];R.Home=k,R.End=Q;"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform();function z(t,e){return function(n,i){var o=n.selection,a=o.$from,l=o.$to,c=a.blockRange(l),u=!1,h=c;if(!c)return!1;if(c.depth>=2&&a.node(c.depth-1).type.compatibleContent(t)&&0==c.startIndex){if(0==a.index(c.depth-1))return!1;var p=n.doc.resolve(c.start-2);h=new s.Ts(p,p,c.depth),c.endIndex<c.parent.childCount&&(c=new s.Ts(a,n.doc.resolve(l.end(c.depth)),c.depth)),u=!0}var d=(0,r.nd)(h,t,e,c);return!!d&&(i&&i(j(n.tr,c,d,u,t).scrollIntoView()),!0)}}function j(t,e,n,i,o){for(var a=s.HY.empty,l=n.length-1;l>=0;l--)a=s.HY.from(n[l].type.create(n[l].attrs,a));t.step(new r.FC(e.start-(i?2:0),e.end,e.start,e.end,new s.p2(a,0,0),n.length,!0));for(var c=0,u=0;u<n.length;u++)n[u].type==o&&(c=u+1);for(var h=n.length-c,p=e.start+n.length-(i?2:0),d=e.parent,f=e.startIndex,O=e.endIndex,m=!0;f<O;f++,m=!1)!m&&(0,r.Ax)(t.doc,p,h)&&(t.split(p,h),p+=2*h),p+=d.child(f).nodeSize;return t}function Z(t){return function(e,n){var i=e.selection,r=i.$from,s=i.$to,o=r.blockRange(s,(function(e){return e.childCount&&e.firstChild.type==t}));return!!o&&(!n||(r.node(o.depth-1).type==t?V(e,n,t,o):X(e,n,o)))}}function V(t,e,n,i){var o=t.tr,a=i.end,l=i.$to.end(i.depth);return a<l&&(o.step(new r.FC(a-1,l,a,l,new s.p2(s.HY.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new s.Ts(o.doc.resolve(i.$from.pos),o.doc.resolve(l),i.depth)),e(o.lift(i,(0,r.k9)(i)).scrollIntoView()),!0}function X(t,e,n){for(var i=t.tr,o=n.parent,a=n.end,l=n.endIndex-1,c=n.startIndex;l>c;l--)a-=o.child(l).nodeSize,i.delete(a-1,a+1);var u=i.doc.resolve(n.start),h=u.nodeAfter;if(i.mapping.map(n.end)!=n.start+u.nodeAfter.nodeSize)return!1;var p=0==n.startIndex,d=n.endIndex==o.childCount,f=u.node(-1),O=u.index(-1);if(!f.canReplace(O+(p?0:1),O+1,h.content.append(d?s.HY.empty:s.HY.from(o))))return!1;var m=u.pos,g=m+h.nodeSize;return i.step(new r.FC(m-(p?1:0),g+(d?1:0),m+1,g-1,new s.p2((p?s.HY.empty:s.HY.from(o.copy(s.HY.empty))).append(d?s.HY.empty:s.HY.from(o.copy(s.HY.empty))),p?0:1,d?0:1),p?0:1)),e(i.scrollIntoView()),!0}function W(t){return function(e,n){var i=e.selection,o=i.$from,a=i.$to,l=o.blockRange(a,(function(e){return e.childCount&&e.firstChild.type==t}));if(!l)return!1;var c=l.startIndex;if(0==c)return!1;var u=l.parent,h=u.child(c-1);if(h.type!=t)return!1;if(n){var p=h.lastChild&&h.lastChild.type==u.type,d=s.HY.from(p?t.create():null),f=new s.p2(s.HY.from(t.create(null,s.HY.from(u.type.create(null,d)))),p?3:1,0),O=l.start,m=l.end;n(e.tr.step(new r.FC(O-(p?3:1),m,O,m,f,1,!0)).scrollIntoView())}return!0}}var q={};if("undefined"!=typeof navigator&&"undefined"!=typeof document){var I=/Edge\/(\d+)/.exec(navigator.userAgent),N=/MSIE \d/.test(navigator.userAgent),L=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),B=q.ie=!!(N||L||I);q.ie_version=N?document.documentMode||6:L?+L[1]:I?+I[1]:null,q.gecko=!B&&/gecko\/(\d+)/i.test(navigator.userAgent),q.gecko_version=q.gecko&&+(/Firefox\/(\d+)/.exec(navigator.userAgent)||[0,0])[1];var U=!B&&/Chrome\/(\d+)/.exec(navigator.userAgent);q.chrome=!!U,q.chrome_version=U&&+U[1],q.safari=!B&&/Apple Computer/.test(navigator.vendor),q.ios=q.safari&&(/Mobile\/\w+/.test(navigator.userAgent)||navigator.maxTouchPoints>2),q.mac=q.ios||/Mac/.test(navigator.platform),q.android=/Android \d/.test(navigator.userAgent),q.webkit="webkitFontSmoothing"in document.documentElement.style,q.webkit_version=q.webkit&&+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]}var Y=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},F=function(t){var e=t.assignedSlot||t.parentNode;return e&&11==e.nodeType?e.host:e},G=null,H=function(t,e,n){var i=G||(G=document.createRange());return i.setEnd(t,null==n?t.nodeValue.length:n),i.setStart(t,e||0),i},K=function(t,e,n,i){return n&&(tt(t,e,n,i,-1)||tt(t,e,n,i,1))},J=/^(img|br|input|textarea|hr)$/i;function tt(t,e,n,i,r){for(;;){if(t==n&&e==i)return!0;if(e==(r<0?0:et(t))){var s=t.parentNode;if(1!=s.nodeType||it(t)||J.test(t.nodeName)||"false"==t.contentEditable)return!1;e=Y(t)+(r<0?0:1),t=s}else{if(1!=t.nodeType)return!1;if(t=t.childNodes[e+(r<0?-1:0)],"false"==t.contentEditable)return!1;e=r<0?et(t):0}}}function et(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function nt(t,e,n){for(var i=0==e,r=e==et(t);i||r;){if(t==n)return!0;var s=Y(t);if(t=t.parentNode,!t)return!1;i=i&&0==s,r=r&&s==et(t)}}function it(t){for(var e,n=t;n;n=n.parentNode)if(e=n.pmViewDesc)break;return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}var rt=function(t){var e=t.isCollapsed;return e&&q.chrome&&t.rangeCount&&!t.getRangeAt(0).collapsed&&(e=!1),e};function st(t,e){var n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function ot(t){return{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function at(t,e){return"number"==typeof t?t:t[e]}function lt(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*i}}function ct(t,e,n){for(var i=t.someProp("scrollThreshold")||0,r=t.someProp("scrollMargin")||5,s=t.dom.ownerDocument,o=n||t.dom;;o=F(o)){if(!o)break;if(1==o.nodeType){var a=o==s.body||1!=o.nodeType,l=a?ot(s):lt(o),c=0,u=0;if(e.top<l.top+at(i,"top")?u=-(l.top-e.top+at(r,"top")):e.bottom>l.bottom-at(i,"bottom")&&(u=e.bottom-l.bottom+at(r,"bottom")),e.left<l.left+at(i,"left")?c=-(l.left-e.left+at(r,"left")):e.right>l.right-at(i,"right")&&(c=e.right-l.right+at(r,"right")),c||u)if(a)s.defaultView.scrollBy(c,u);else{var h=o.scrollLeft,p=o.scrollTop;u&&(o.scrollTop+=u),c&&(o.scrollLeft+=c);var d=o.scrollLeft-h,f=o.scrollTop-p;e={left:e.left-d,top:e.top-f,right:e.right-d,bottom:e.bottom-f}}if(a)break}}}function ut(t){for(var e,n,i=t.dom.getBoundingClientRect(),r=Math.max(0,i.top),s=(i.left+i.right)/2,o=r+1;o<Math.min(innerHeight,i.bottom);o+=5){var a=t.root.elementFromPoint(s,o);if(a!=t.dom&&t.dom.contains(a)){var l=a.getBoundingClientRect();if(l.top>=r-20){e=a,n=l.top;break}}}return{refDOM:e,refTop:n,stack:ht(t.dom)}}function ht(t){for(var e=[],n=t.ownerDocument;t;t=F(t))if(e.push({dom:t,top:t.scrollTop,left:t.scrollLeft}),t==n)break;return e}function pt(t){var e=t.refDOM,n=t.refTop,i=t.stack,r=e?e.getBoundingClientRect().top:0;dt(i,0==r?0:r-n)}function dt(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=i.dom,s=i.top,o=i.left;r.scrollTop!=s+e&&(r.scrollTop=s+e),r.scrollLeft!=o&&(r.scrollLeft=o)}}var ft=null;function Ot(t){if(t.setActive)return t.setActive();if(ft)return t.focus(ft);var e=ht(t);t.focus(null==ft?{get preventScroll(){return ft={preventScroll:!0},!0}}:void 0),ft||(ft=!1,dt(e,0))}function mt(t,e){for(var n,i,r=2e8,s=0,o=e.top,a=e.top,l=t.firstChild,c=0;l;l=l.nextSibling,c++){var u=void 0;if(1==l.nodeType)u=l.getClientRects();else{if(3!=l.nodeType)continue;u=H(l).getClientRects()}for(var h=0;h<u.length;h++){var p=u[h];if(p.top<=o&&p.bottom>=a){o=Math.max(p.bottom,o),a=Math.min(p.top,a);var d=p.left>e.left?p.left-e.left:p.right<e.left?e.left-p.right:0;if(d<r){n=l,r=d,i=d&&3==n.nodeType?{left:p.right<e.left?p.right:p.left,top:e.top}:e,1==l.nodeType&&d&&(s=c+(e.left>=(p.left+p.right)/2?1:0));continue}}!n&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(s=c+1)}}return n&&3==n.nodeType?gt(n,i):!n||r&&1==n.nodeType?{node:t,offset:s}:mt(n,i)}function gt(t,e){for(var n=t.nodeValue.length,i=document.createRange(),r=0;r<n;r++){i.setEnd(t,r+1),i.setStart(t,r);var s=$t(i,1);if(s.top!=s.bottom&&vt(e,s))return{node:t,offset:r+(e.left>=(s.left+s.right)/2?1:0)}}return{node:t,offset:0}}function vt(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function yt(t,e){var n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}function bt(t,e,n){var i=mt(e,n),r=i.node,s=i.offset,o=-1;if(1==r.nodeType&&!r.firstChild){var a=r.getBoundingClientRect();o=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,s,o)}function _t(t,e,n,i){for(var r=-1,s=e;;){if(s==t.dom)break;var o=t.docView.nearestDesc(s,!0);if(!o)return null;if(o.node.isBlock&&o.parent){var a=o.dom.getBoundingClientRect();if(a.left>i.left||a.top>i.top)r=o.posBefore;else{if(!(a.right<i.left||a.bottom<i.top))break;r=o.posAfter}}s=o.dom.parentNode}return r>-1?r:t.docView.posFromDOM(e,n)}function xt(t,e,n){var i=t.childNodes.length;if(i&&n.top<n.bottom)for(var r=Math.max(0,Math.min(i-1,Math.floor(i*(e.top-n.top)/(n.bottom-n.top))-2)),s=r;;){var o=t.childNodes[s];if(1==o.nodeType)for(var a=o.getClientRects(),l=0;l<a.length;l++){var c=a[l];if(vt(e,c))return xt(o,e,c)}if((s=(s+1)%i)==r)break}return t}function wt(t,e){var n,i,r,s,o=t.dom.ownerDocument;if(o.caretPositionFromPoint)try{var a=o.caretPositionFromPoint(e.left,e.top);a&&(n=a,r=n.offsetNode,s=n.offset)}catch(m){}if(!r&&o.caretRangeFromPoint){var l=o.caretRangeFromPoint(e.left,e.top);l&&(i=l,r=i.startContainer,s=i.startOffset)}var c,u=(t.root.elementFromPoint?t.root:o).elementFromPoint(e.left,e.top+1);if(!u||!t.dom.contains(1!=u.nodeType?u.parentNode:u)){var h=t.dom.getBoundingClientRect();if(!vt(e,h))return null;if(u=xt(t.dom,e,h),!u)return null}if(q.safari)for(var p=u;r&&p;p=F(p))p.draggable&&(r=s=null);if(u=yt(u,e),r){if(q.gecko&&1==r.nodeType&&(s=Math.min(s,r.childNodes.length),s<r.childNodes.length)){var d,f=r.childNodes[s];"IMG"==f.nodeName&&(d=f.getBoundingClientRect()).right<=e.left&&d.bottom>e.top&&s++}r==t.dom&&s==r.childNodes.length-1&&1==r.lastChild.nodeType&&e.top>r.lastChild.getBoundingClientRect().bottom?c=t.state.doc.content.size:0!=s&&1==r.nodeType&&"BR"==r.childNodes[s-1].nodeName||(c=_t(t,r,s,e))}null==c&&(c=bt(t,u,e));var O=t.docView.nearestDesc(u,!0);return{pos:c,inside:O?O.posAtStart-O.border:-1}}function $t(t,e){var n=t.getClientRects();return n.length?n[e<0?0:n.length-1]:t.getBoundingClientRect()}var St=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function kt(t,e,n){var i=t.docView.domFromPos(e,n<0?-1:1),r=i.node,s=i.offset,o=q.webkit||q.gecko;if(3==r.nodeType){if(!o||!St.test(r.nodeValue)&&(n<0?s:s!=r.nodeValue.length)){var a=s,l=s,c=n<0?1:-1;return n<0&&!s?(l++,c=-1):n>=0&&s==r.nodeValue.length?(a--,c=1):n<0?a--:l++,Qt($t(H(r,a,l),c),c<0)}var u=$t(H(r,s,s),n);if(q.gecko&&s&&/\s/.test(r.nodeValue[s-1])&&s<r.nodeValue.length){var h=$t(H(r,s-1,s-1),-1);if(h.top==u.top){var p=$t(H(r,s,s+1),-1);if(p.top!=u.top)return Qt(p,p.left<h.left)}}return u}if(!t.state.doc.resolve(e).parent.inlineContent){if(s&&(n<0||s==et(r))){var d=r.childNodes[s-1];if(1==d.nodeType)return Tt(d.getBoundingClientRect(),!1)}if(s<et(r)){var f=r.childNodes[s];if(1==f.nodeType)return Tt(f.getBoundingClientRect(),!0)}return Tt(r.getBoundingClientRect(),n>=0)}if(s&&(n<0||s==et(r))){var O=r.childNodes[s-1],m=3==O.nodeType?H(O,et(O)-(o?0:1)):1!=O.nodeType||"BR"==O.nodeName&&O.nextSibling?null:O;if(m)return Qt($t(m,1),!1)}if(s<et(r)){var g=r.childNodes[s];while(g.pmViewDesc&&g.pmViewDesc.ignoreForCoords)g=g.nextSibling;var v=g?3==g.nodeType?H(g,0,o?0:1):1==g.nodeType?g:null:null;if(v)return Qt($t(v,-1),!0)}return Qt($t(3==r.nodeType?H(r):r,-n),n>=0)}function Qt(t,e){if(0==t.width)return t;var n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Tt(t,e){if(0==t.height)return t;var n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function Pt(t,e,n){var i=t.state,r=t.root.activeElement;i!=e&&t.updateState(e),r!=t.dom&&t.focus();try{return n()}finally{i!=e&&t.updateState(i),r!=t.dom&&r&&r.focus()}}function Ct(t,e,n){var i=e.selection,r="up"==n?i.$from:i.$to;return Pt(t,e,(function(){for(var e=t.docView.domFromPos(r.pos,"up"==n?-1:1),i=e.node;;){var s=t.docView.nearestDesc(i,!0);if(!s)break;if(s.node.isBlock){i=s.dom;break}i=s.dom.parentNode}for(var o=kt(t,r.pos,1),a=i.firstChild;a;a=a.nextSibling){var l=void 0;if(1==a.nodeType)l=a.getClientRects();else{if(3!=a.nodeType)continue;l=H(a,0,a.nodeValue.length).getClientRects()}for(var c=0;c<l.length;c++){var u=l[c];if(u.bottom>u.top+1&&("up"==n?o.top-u.top>2*(u.bottom-o.top):u.bottom-o.bottom>2*(o.bottom-u.top)))return!1}}return!0}))}var At=/[\u0590-\u08ac]/;function Et(t,e,n){var i=e.selection,r=i.$head;if(!r.parent.isTextblock)return!1;var s=r.parentOffset,o=!s,a=s==r.parent.content.size,l=t.root.getSelection();return At.test(r.parent.textContent)&&l.modify?Pt(t,e,(function(){var e=l.getRangeAt(0),i=l.focusNode,s=l.focusOffset,o=l.caretBidiLevel;l.modify("move",n,"character");var a=r.depth?t.docView.domAfterPos(r.before()):t.dom,c=!a.contains(1==l.focusNode.nodeType?l.focusNode:l.focusNode.parentNode)||i==l.focusNode&&s==l.focusOffset;return l.removeAllRanges(),l.addRange(e),null!=o&&(l.caretBidiLevel=o),c})):"left"==n||"backward"==n?o:a}var Rt=null,Mt=null,Dt=!1;function zt(t,e,n){return Rt==e&&Mt==n?Dt:(Rt=e,Mt=n,Dt="up"==n||"down"==n?Ct(t,e,n):Et(t,e,n))}var jt=0,Zt=1,Vt=2,Xt=3,Wt=function(t,e,n,i){this.parent=t,this.children=e,this.dom=n,n.pmViewDesc=this,this.contentDOM=i,this.dirty=jt},qt={size:{configurable:!0},border:{configurable:!0},posBefore:{configurable:!0},posAtStart:{configurable:!0},posAfter:{configurable:!0},posAtEnd:{configurable:!0},contentLost:{configurable:!0},domAtom:{configurable:!0},ignoreForCoords:{configurable:!0}};Wt.prototype.matchesWidget=function(){return!1},Wt.prototype.matchesMark=function(){return!1},Wt.prototype.matchesNode=function(){return!1},Wt.prototype.matchesHack=function(t){return!1},Wt.prototype.parseRule=function(){return null},Wt.prototype.stopEvent=function(){return!1},qt.size.get=function(){for(var t=0,e=0;e<this.children.length;e++)t+=this.children[e].size;return t},qt.border.get=function(){return 0},Wt.prototype.destroy=function(){this.parent=null,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=null);for(var t=0;t<this.children.length;t++)this.children[t].destroy()},Wt.prototype.posBeforeChild=function(t){for(var e=0,n=this.posAtStart;e<this.children.length;e++){var i=this.children[e];if(i==t)return n;n+=i.size}},qt.posBefore.get=function(){return this.parent.posBeforeChild(this)},qt.posAtStart.get=function(){return this.parent?this.parent.posBeforeChild(this)+this.border:0},qt.posAfter.get=function(){return this.posBefore+this.size},qt.posAtEnd.get=function(){return this.posAtStart+this.size-2*this.border},Wt.prototype.localPosFromDOM=function(t,e,n){if(this.contentDOM&&this.contentDOM.contains(1==t.nodeType?t:t.parentNode)){if(n<0){var i,r;if(t==this.contentDOM)i=t.childNodes[e-1];else{while(t.parentNode!=this.contentDOM)t=t.parentNode;i=t.previousSibling}while(i&&(!(r=i.pmViewDesc)||r.parent!=this))i=i.previousSibling;return i?this.posBeforeChild(r)+r.size:this.posAtStart}var s,o;if(t==this.contentDOM)s=t.childNodes[e];else{while(t.parentNode!=this.contentDOM)t=t.parentNode;s=t.nextSibling}while(s&&(!(o=s.pmViewDesc)||o.parent!=this))s=s.nextSibling;return s?this.posBeforeChild(o):this.posAtEnd}var a;if(t==this.dom&&this.contentDOM)a=e>Y(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))a=2&t.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==e)for(var l=t;;l=l.parentNode){if(l==this.dom){a=!1;break}if(l.parentNode.firstChild!=l)break}if(null==a&&e==t.childNodes.length)for(var c=t;;c=c.parentNode){if(c==this.dom){a=!0;break}if(c.parentNode.lastChild!=c)break}}return(null==a?n>0:a)?this.posAtEnd:this.posAtStart},Wt.prototype.nearestDesc=function(t,e){for(var n=!0,i=t;i;i=i.parentNode){var r=this.getDesc(i);if(r&&(!e||r.node)){if(!n||!r.nodeDOM||(1==r.nodeDOM.nodeType?r.nodeDOM.contains(1==t.nodeType?t:t.parentNode):r.nodeDOM==t))return r;n=!1}}},Wt.prototype.getDesc=function(t){for(var e=t.pmViewDesc,n=e;n;n=n.parent)if(n==this)return e},Wt.prototype.posFromDOM=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=this.getDesc(i);if(r)return r.localPosFromDOM(t,e,n)}return-1},Wt.prototype.descAt=function(t){for(var e=0,n=0;e<this.children.length;e++){var i=this.children[e],r=n+i.size;if(n==t&&r!=n){while(!i.border&&i.children.length)i=i.children[0];return i}if(t<r)return i.descAt(t-n-i.border);n=r}},Wt.prototype.domFromPos=function(t,e){if(!this.contentDOM)return{node:this.dom,offset:0};for(var n=0,i=0,r=0;n<this.children.length;n++){var s=this.children[n],o=r+s.size;if(o>t||s instanceof Gt){i=t-r;break}r=o}if(i)return this.children[n].domFromPos(i-this.children[n].border,e);for(var a=void 0;n&&!(a=this.children[n-1]).size&&a instanceof Nt&&a.widget.type.side>=0;n--);if(e<=0){for(var l,c=!0;;n--,c=!1)if(l=n?this.children[n-1]:null,!l||l.dom.parentNode==this.contentDOM)break;return l&&e&&c&&!l.border&&!l.domAtom?l.domFromPos(l.size,e):{node:this.contentDOM,offset:l?Y(l.dom)+1:0}}for(var u,h=!0;;n++,h=!1)if(u=n<this.children.length?this.children[n]:null,!u||u.dom.parentNode==this.contentDOM)break;return u&&h&&!u.border&&!u.domAtom?u.domFromPos(0,e):{node:this.contentDOM,offset:u?Y(u.dom):this.contentDOM.childNodes.length}},Wt.prototype.parseRange=function(t,e,n){if(void 0===n&&(n=0),0==this.children.length)return{node:this.contentDOM,from:t,to:e,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var i=-1,r=-1,s=n,o=0;;o++){var a=this.children[o],l=s+a.size;if(-1==i&&t<=l){var c=s+a.border;if(t>=c&&e<=l-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(t,e,c);t=s;for(var u=o;u>0;u--){var h=this.children[u-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){i=Y(h.dom)+1;break}t-=h.size}-1==i&&(i=0)}if(i>-1&&(l>e||o==this.children.length-1)){e=l;for(var p=o+1;p<this.children.length;p++){var d=this.children[p];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(-1)){r=Y(d.dom);break}e+=d.size}-1==r&&(r=this.contentDOM.childNodes.length);break}s=l}return{node:this.contentDOM,from:t,to:e,fromOffset:i,toOffset:r}},Wt.prototype.emptyChildAt=function(t){if(this.border||!this.contentDOM||!this.children.length)return!1;var e=this.children[t<0?0:this.children.length-1];return 0==e.size||e.emptyChildAt(t)},Wt.prototype.domAfterPos=function(t){var e=this.domFromPos(t,0),n=e.node,i=e.offset;if(1!=n.nodeType||i==n.childNodes.length)throw new RangeError("No node after pos "+t);return n.childNodes[i]},Wt.prototype.setSelection=function(t,e,n,i){for(var r=Math.min(t,e),s=Math.max(t,e),o=0,a=0;o<this.children.length;o++){var l=this.children[o],c=a+l.size;if(r>a&&s<c)return l.setSelection(t-a-l.border,e-a-l.border,n,i);a=c}var u=this.domFromPos(t,t?-1:1),h=e==t?u:this.domFromPos(e,e?-1:1),p=n.getSelection(),d=!1;if((q.gecko||q.safari)&&t==e){var f=u.node,O=u.offset;if(3==f.nodeType){if(d=O&&"\n"==f.nodeValue[O-1],d&&O==f.nodeValue.length)for(var m=f,g=void 0;m;m=m.parentNode){if(g=m.nextSibling){"BR"==g.nodeName&&(u=h={node:g.parentNode,offset:Y(g)+1});break}var v=m.pmViewDesc;if(v&&v.node&&v.node.isBlock)break}}else{var y=f.childNodes[O-1];d=y&&("BR"==y.nodeName||"false"==y.contentEditable)}}if(q.gecko&&p.focusNode&&p.focusNode!=h.node&&1==p.focusNode.nodeType){var b=p.focusNode.childNodes[p.focusOffset];b&&"false"==b.contentEditable&&(i=!0)}if(i||d&&q.safari||!K(u.node,u.offset,p.anchorNode,p.anchorOffset)||!K(h.node,h.offset,p.focusNode,p.focusOffset)){var _=!1;if((p.extend||t==e)&&!d){p.collapse(u.node,u.offset);try{t!=e&&p.extend(h.node,h.offset),_=!0}catch($){if(!($ instanceof DOMException))throw $}}if(!_){if(t>e){var x=u;u=h,h=x}var w=document.createRange();w.setEnd(h.node,h.offset),w.setStart(u.node,u.offset),p.removeAllRanges(),p.addRange(w)}}},Wt.prototype.ignoreMutation=function(t){return!this.contentDOM&&"selection"!=t.type},qt.contentLost.get=function(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)},Wt.prototype.markDirty=function(t,e){for(var n=0,i=0;i<this.children.length;i++){var r=this.children[i],s=n+r.size;if(n==s?t<=s&&e>=n:t<s&&e>n){var o=n+r.border,a=s-r.border;if(t>=o&&e<=a)return this.dirty=t==n||e==s?Vt:Zt,void(t!=o||e!=a||!r.contentLost&&r.dom.parentNode==this.contentDOM?r.markDirty(t-o,e-o):r.dirty=Xt);r.dirty=r.dom!=r.contentDOM||r.dom.parentNode!=this.contentDOM||r.children.length?Xt:Vt}n=s}this.dirty=Vt},Wt.prototype.markParentsDirty=function(){for(var t=1,e=this.parent;e;e=e.parent,t++){var n=1==t?Vt:Zt;e.dirty<n&&(e.dirty=n)}},qt.domAtom.get=function(){return!1},qt.ignoreForCoords.get=function(){return!1},Object.defineProperties(Wt.prototype,qt);var It=[],Nt=function(t){function e(e,n,i,r){var s,o=n.type.toDOM;if("function"==typeof o&&(o=o(i,(function(){return s?s.parent?s.parent.posBeforeChild(s):void 0:r}))),!n.type.spec.raw){if(1!=o.nodeType){var a=document.createElement("span");a.appendChild(o),o=a}o.contentEditable=!1,o.classList.add("ProseMirror-widget")}t.call(this,e,It,o,null),this.widget=n,s=this}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={domAtom:{configurable:!0}};return e.prototype.matchesWidget=function(t){return this.dirty==jt&&t.type.eq(this.widget.type)},e.prototype.parseRule=function(){return{ignore:!0}},e.prototype.stopEvent=function(t){var e=this.widget.spec.stopEvent;return!!e&&e(t)},e.prototype.ignoreMutation=function(t){return"selection"!=t.type||this.widget.spec.ignoreSelection},e.prototype.destroy=function(){this.widget.type.destroy(this.dom),t.prototype.destroy.call(this)},n.domAtom.get=function(){return!0},Object.defineProperties(e.prototype,n),e}(Wt),Lt=function(t){function e(e,n,i,r){t.call(this,e,It,n,null),this.textDOM=i,this.text=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={size:{configurable:!0}};return n.size.get=function(){return this.text.length},e.prototype.localPosFromDOM=function(t,e){return t!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e},e.prototype.domFromPos=function(t){return{node:this.textDOM,offset:t}},e.prototype.ignoreMutation=function(t){return"characterData"===t.type&&t.target.nodeValue==t.oldValue},Object.defineProperties(e.prototype,n),e}(Wt),Bt=function(t){function e(e,n,i,r){t.call(this,e,[],i,r),this.mark=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.create=function(t,n,i,r){var o=r.nodeViews[n.type.name],a=o&&o(n,r,i);return a&&a.dom||(a=s.PW.renderSpec(document,n.type.spec.toDOM(n,i))),new e(t,n,a.dom,a.contentDOM||a.dom)},e.prototype.parseRule=function(){return this.dirty&Xt||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}},e.prototype.matchesMark=function(t){return this.dirty!=Xt&&this.mark.eq(t)},e.prototype.markDirty=function(e,n){if(t.prototype.markDirty.call(this,e,n),this.dirty!=jt){var i=this.parent;while(!i.node)i=i.parent;i.dirty<this.dirty&&(i.dirty=this.dirty),this.dirty=jt}},e.prototype.slice=function(t,n,i){var r=e.create(this.parent,this.mark,!0,i),s=this.children,o=this.size;n<o&&(s=fe(s,n,o,i)),t>0&&(s=fe(s,0,t,i));for(var a=0;a<s.length;a++)s[a].parent=r;return r.children=s,r},e}(Wt),Ut=function(t){function e(e,n,i,r,s,o,a,l,c){t.call(this,e,n.isLeaf?It:[],s,o),this.nodeDOM=a,this.node=n,this.outerDeco=i,this.innerDeco=r,o&&this.updateChildren(l,c)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={size:{configurable:!0},border:{configurable:!0},domAtom:{configurable:!0}};return e.create=function(t,n,i,r,o,a){var l,c,u=o.nodeViews[n.type.name],h=u&&u(n,o,(function(){return c?c.parent?c.parent.posBeforeChild(c):void 0:a}),i,r),p=h&&h.dom,d=h&&h.contentDOM;if(n.isText)if(p){if(3!=p.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else p=document.createTextNode(n.text);else p||(l=s.PW.renderSpec(document,n.type.spec.toDOM(n)),p=l.dom,d=l.contentDOM);d||n.isText||"BR"==p.nodeName||(p.hasAttribute("contenteditable")||(p.contentEditable=!1),n.type.spec.draggable&&(p.draggable=!0));var f=p;return p=re(p,i,n),h?c=new Ht(t,n,i,r,p,d,f,h,o,a+1):n.isText?new Ft(t,n,i,r,p,f,o):new e(t,n,i,r,p,d,f,o,a+1)},e.prototype.parseRule=function(){var t=this;if(this.node.type.spec.reparseInView)return null;var e={node:this.node.type.name,attrs:this.node.attrs};return"pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM&&!this.contentLost?e.contentElement=this.contentDOM:e.getContent=function(){return t.contentDOM?s.HY.empty:t.node.content},e},e.prototype.matchesNode=function(t,e,n){return this.dirty==jt&&t.eq(this.node)&&se(e,this.outerDeco)&&n.eq(this.innerDeco)},n.size.get=function(){return this.node.nodeSize},n.border.get=function(){return this.node.isLeaf?0:1},e.prototype.updateChildren=function(t,e){var n=this,i=this.node.inlineContent,r=e,o=t.composing&&this.localCompositionInfo(t,e),a=o&&o.pos>-1?o:null,l=o&&o.pos<0,c=new ae(this,a&&a.node);ue(this.node,this.innerDeco,(function(e,o,a){e.spec.marks?c.syncToMarks(e.spec.marks,i,t):e.type.side>=0&&!a&&c.syncToMarks(o==n.node.childCount?s.vc.none:n.node.child(o).marks,i,t),c.placeWidget(e,t,r)}),(function(e,n,s,a){var u;c.syncToMarks(e.marks,i,t),c.findNodeMatch(e,n,s,a)||l&&t.state.selection.from>r&&t.state.selection.to<r+e.nodeSize&&(u=c.findIndexWithChild(o.node))>-1&&c.updateNodeAt(e,n,s,u,t)||c.updateNextNode(e,n,s,t,a)||c.addNode(e,n,s,t,r),r+=e.nodeSize})),c.syncToMarks(It,i,t),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==Vt)&&(a&&this.protectLocalComposition(t,a),Kt(this.contentDOM,this.children,t),q.ios&&he(this.dom))},e.prototype.localCompositionInfo=function(t,e){var n=t.state.selection,r=n.from,s=n.to;if(!(!(t.state.selection instanceof i.Bs)||r<e||s>e+this.node.content.size)){var o=t.root.getSelection(),a=pe(o.focusNode,o.focusOffset);if(a&&this.dom.contains(a.parentNode)){if(this.node.inlineContent){var l=a.nodeValue,c=de(this.node.content,l,r-e,s-e);return c<0?null:{node:a,pos:c,text:l}}return{node:a,pos:-1}}}},e.prototype.protectLocalComposition=function(t,e){var n=e.node,i=e.pos,r=e.text;if(!this.getDesc(n)){for(var s=n;;s=s.parentNode){if(s.parentNode==this.contentDOM)break;while(s.previousSibling)s.parentNode.removeChild(s.previousSibling);while(s.nextSibling)s.parentNode.removeChild(s.nextSibling);s.pmViewDesc&&(s.pmViewDesc=null)}var o=new Lt(this,s,n,r);t.compositionNodes.push(o),this.children=fe(this.children,i,i+r.length,t,o)}},e.prototype.update=function(t,e,n,i){return!(this.dirty==Xt||!t.sameMarkup(this.node))&&(this.updateInner(t,e,n,i),!0)},e.prototype.updateInner=function(t,e,n,i){this.updateOuterDeco(e),this.node=t,this.innerDeco=n,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=jt},e.prototype.updateOuterDeco=function(t){if(!se(t,this.outerDeco)){var e=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=ne(this.dom,this.nodeDOM,ee(this.outerDeco,this.node,e),ee(t,this.node,e)),this.dom!=n&&(n.pmViewDesc=null,this.dom.pmViewDesc=this),this.outerDeco=t}},e.prototype.selectNode=function(){this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)},e.prototype.deselectNode=function(){this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")},n.domAtom.get=function(){return this.node.isAtom},Object.defineProperties(e.prototype,n),e}(Wt);function Yt(t,e,n,i,r){return re(i,e,t),new Ut(null,t,e,n,i,i,i,r,0)}var Ft=function(t){function e(e,n,i,r,s,o,a){t.call(this,e,n,i,r,s,null,o,a)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={domAtom:{configurable:!0}};return e.prototype.parseRule=function(){var t=this.nodeDOM.parentNode;while(t&&t!=this.dom&&!t.pmIsDeco)t=t.parentNode;return{skip:t||!0}},e.prototype.update=function(t,e,n,i){return!(this.dirty==Xt||this.dirty!=jt&&!this.inParent()||!t.sameMarkup(this.node))&&(this.updateOuterDeco(e),this.dirty==jt&&t.text==this.node.text||t.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=t.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=t,this.dirty=jt,!0)},e.prototype.inParent=function(){for(var t=this.parent.contentDOM,e=this.nodeDOM;e;e=e.parentNode)if(e==t)return!0;return!1},e.prototype.domFromPos=function(t){return{node:this.nodeDOM,offset:t}},e.prototype.localPosFromDOM=function(e,n,i){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):t.prototype.localPosFromDOM.call(this,e,n,i)},e.prototype.ignoreMutation=function(t){return"characterData"!=t.type&&"selection"!=t.type},e.prototype.slice=function(t,n,i){var r=this.node.cut(t,n),s=document.createTextNode(r.text);return new e(this.parent,r,this.outerDeco,this.innerDeco,s,s,i)},e.prototype.markDirty=function(e,n){t.prototype.markDirty.call(this,e,n),this.dom==this.nodeDOM||0!=e&&n!=this.nodeDOM.nodeValue.length||(this.dirty=Xt)},n.domAtom.get=function(){return!1},Object.defineProperties(e.prototype,n),e}(Ut),Gt=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={domAtom:{configurable:!0},ignoreForCoords:{configurable:!0}};return e.prototype.parseRule=function(){return{ignore:!0}},e.prototype.matchesHack=function(t){return this.dirty==jt&&this.dom.nodeName==t},n.domAtom.get=function(){return!0},n.ignoreForCoords.get=function(){return"IMG"==this.dom.nodeName},Object.defineProperties(e.prototype,n),e}(Wt),Ht=function(t){function e(e,n,i,r,s,o,a,l,c,u){t.call(this,e,n,i,r,s,o,a,c,u),this.spec=l}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.update=function(e,n,i,r){if(this.dirty==Xt)return!1;if(this.spec.update){var s=this.spec.update(e,n,i);return s&&this.updateInner(e,n,i,r),s}return!(!this.contentDOM&&!e.isLeaf)&&t.prototype.update.call(this,e,n,i,r)},e.prototype.selectNode=function(){this.spec.selectNode?this.spec.selectNode():t.prototype.selectNode.call(this)},e.prototype.deselectNode=function(){this.spec.deselectNode?this.spec.deselectNode():t.prototype.deselectNode.call(this)},e.prototype.setSelection=function(e,n,i,r){this.spec.setSelection?this.spec.setSelection(e,n,i):t.prototype.setSelection.call(this,e,n,i,r)},e.prototype.destroy=function(){this.spec.destroy&&this.spec.destroy(),t.prototype.destroy.call(this)},e.prototype.stopEvent=function(t){return!!this.spec.stopEvent&&this.spec.stopEvent(t)},e.prototype.ignoreMutation=function(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):t.prototype.ignoreMutation.call(this,e)},e}(Ut);function Kt(t,e,n){for(var i=t.firstChild,r=!1,s=0;s<e.length;s++){var o=e[s],a=o.dom;if(a.parentNode==t){while(a!=i)i=oe(i),r=!0;i=i.nextSibling}else r=!0,t.insertBefore(a,i);if(o instanceof Bt){var l=i?i.previousSibling:t.lastChild;Kt(o.contentDOM,o.children,n),i=l?l.nextSibling:t.firstChild}}while(i)i=oe(i),r=!0;r&&n.trackWrites==t&&(n.trackWrites=null)}function Jt(t){t&&(this.nodeName=t)}Jt.prototype=Object.create(null);var te=[new Jt];function ee(t,e,n){if(0==t.length)return te;for(var i=n?te[0]:new Jt,r=[i],s=0;s<t.length;s++){var o=t[s].type.attrs;if(o)for(var a in o.nodeName&&r.push(i=new Jt(o.nodeName)),o){var l=o[a];null!=l&&(n&&1==r.length&&r.push(i=new Jt(e.isInline?"span":"div")),"class"==a?i.class=(i.class?i.class+" ":"")+l:"style"==a?i.style=(i.style?i.style+";":"")+l:"nodeName"!=a&&(i[a]=l))}}return r}function ne(t,e,n,i){if(n==te&&i==te)return e;for(var r=e,s=0;s<i.length;s++){var o=i[s],a=n[s];if(s){var l=void 0;a&&a.nodeName==o.nodeName&&r!=t&&(l=r.parentNode)&&l.tagName.toLowerCase()==o.nodeName||(l=document.createElement(o.nodeName),l.pmIsDeco=!0,l.appendChild(r),a=te[0]),r=l}ie(r,a||te[0],o)}return r}function ie(t,e,n){for(var i in e)"class"==i||"style"==i||"nodeName"==i||i in n||t.removeAttribute(i);for(var r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=e[r]&&t.setAttribute(r,n[r]);if(e.class!=n.class){for(var s=e.class?e.class.split(" ").filter(Boolean):It,o=n.class?n.class.split(" ").filter(Boolean):It,a=0;a<s.length;a++)-1==o.indexOf(s[a])&&t.classList.remove(s[a]);for(var l=0;l<o.length;l++)-1==s.indexOf(o[l])&&t.classList.add(o[l]);0==t.classList.length&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){var c,u=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;while(c=u.exec(e.style))t.style.removeProperty(c[1])}n.style&&(t.style.cssText+=n.style)}}function re(t,e,n){return ne(t,t,te,ee(e,n,1!=t.nodeType))}function se(t,e){if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1;return!0}function oe(t){var e=t.nextSibling;return t.parentNode.removeChild(t),e}var ae=function(t,e){this.top=t,this.lock=e,this.index=0,this.stack=[],this.changed=!1,this.preMatch=le(t.node.content,t)};function le(t,e){var n=e,i=n.children.length,r=t.childCount,s=new Map,o=[];t:while(r>0){for(var a=void 0;;)if(i){var l=n.children[i-1];if(!(l instanceof Bt)){a=l,i--;break}n=l,i=l.children.length}else{if(n==e)break t;i=n.parent.children.indexOf(n),n=n.parent}var c=a.node;if(c){if(c!=t.child(r-1))break;--r,s.set(a,r),o.push(a)}}return{index:r,matched:s,matches:o.reverse()}}function ce(t,e){return t.type.side-e.type.side}function ue(t,e,n,i){var r=e.locals(t),s=0;if(0!=r.length)for(var o=0,a=[],l=null,c=0;;){if(o<r.length&&r[o].to==s){var u=r[o++],h=void 0;while(o<r.length&&r[o].to==s)(h||(h=[u])).push(r[o++]);if(h){h.sort(ce);for(var p=0;p<h.length;p++)n(h[p],c,!!l)}else n(u,c,!!l)}var d=void 0,f=void 0;if(l)f=-1,d=l,l=null;else{if(!(c<t.childCount))break;f=c,d=t.child(c++)}for(var O=0;O<a.length;O++)a[O].to<=s&&a.splice(O--,1);while(o<r.length&&r[o].from<=s&&r[o].to>s)a.push(r[o++]);var m=s+d.nodeSize;if(d.isText){var g=m;o<r.length&&r[o].from<g&&(g=r[o].from);for(var v=0;v<a.length;v++)a[v].to<g&&(g=a[v].to);g<m&&(l=d.cut(g-s),d=d.cut(0,g-s),m=g,f=-1)}var y=a.length?d.isInline&&!d.isLeaf?a.filter((function(t){return!t.inline})):a.slice():It;i(d,y,e.forChild(s,d),f),s=m}else for(var b=0;b<t.childCount;b++){var _=t.child(b);i(_,r,e.forChild(s,_),b),s+=_.nodeSize}}function he(t){if("UL"==t.nodeName||"OL"==t.nodeName){var e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function pe(t,e){for(;;){if(3==t.nodeType)return t;if(1==t.nodeType&&e>0){if(t.childNodes.length>e&&3==t.childNodes[e].nodeType)return t.childNodes[e];t=t.childNodes[e-1],e=et(t)}else{if(!(1==t.nodeType&&e<t.childNodes.length))return null;t=t.childNodes[e],e=0}}}function de(t,e,n,i){for(var r=0,s=0;r<t.childCount&&s<=i;){var o=t.child(r++),a=s;if(s+=o.nodeSize,o.isText){var l=o.text;while(r<t.childCount){var c=t.child(r++);if(s+=c.nodeSize,!c.isText)break;l+=c.text}if(s>=n&&a<i){var u=l.lastIndexOf(e,i-a-1);if(u>=0&&u+e.length+a>=n)return a+u}}}return-1}function fe(t,e,n,i,r){for(var s=[],o=0,a=0;o<t.length;o++){var l=t[o],c=a,u=a+=l.size;c>=n||u<=e?s.push(l):(c<e&&s.push(l.slice(0,e-c,i)),r&&(s.push(r),r=null),u>n&&s.push(l.slice(n-c,l.size,i)))}return s}function Oe(t,e){var n=t.root.getSelection(),r=t.state.doc;if(!n.focusNode)return null;var s=t.docView.nearestDesc(n.focusNode),o=s&&0==s.size,a=t.docView.posFromDOM(n.focusNode,n.focusOffset);if(a<0)return null;var l,c,u=r.resolve(a);if(rt(n)){l=u;while(s&&!s.node)s=s.parent;if(s&&s.node.isAtom&&i.qv.isSelectable(s.node)&&s.parent&&(!s.node.isInline||!nt(n.focusNode,n.focusOffset,s.dom))){var h=s.posBefore;c=new i.qv(a==h?u:r.resolve(h))}}else{var p=t.docView.posFromDOM(n.anchorNode,n.anchorOffset);if(p<0)return null;l=r.resolve(p)}if(!c){var d="pointer"==e||t.state.selection.head<u.pos&&!o?1:-1;c=ke(t,l,u,d)}return c}function me(t){return t.editable?t.hasFocus():Te(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function ge(t,e){var n=t.state.selection;if($e(t,n),me(t)){if(!e&&t.mouseDown&&t.mouseDown.allowDefault&&q.chrome){var r=t.root.getSelection(),s=t.domObserver.currentSelection;if(r.anchorNode&&K(r.anchorNode,r.anchorOffset,s.anchorNode,s.anchorOffset))return t.mouseDown.delayedSelectionSync=!0,void t.domObserver.setCurSelection()}if(t.domObserver.disconnectSelection(),t.cursorWrapper)we(t);else{var o,a,l=n.anchor,c=n.head;!ve||n instanceof i.Bs||(n.$from.parent.inlineContent||(o=ye(t,n.from)),n.empty||n.$from.parent.inlineContent||(a=ye(t,n.to))),t.docView.setSelection(l,c,t.root,e),ve&&(o&&_e(o),a&&_e(a)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&xe(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}ae.prototype.destroyBetween=function(t,e){if(t!=e){for(var n=t;n<e;n++)this.top.children[n].destroy();this.top.children.splice(t,e-t),this.changed=!0}},ae.prototype.destroyRest=function(){this.destroyBetween(this.index,this.top.children.length)},ae.prototype.syncToMarks=function(t,e,n){var i=0,r=this.stack.length>>1,s=Math.min(r,t.length);while(i<s&&(i==r-1?this.top:this.stack[i+1<<1]).matchesMark(t[i])&&!1!==t[i].type.spec.spanning)i++;while(i<r)this.destroyRest(),this.top.dirty=jt,this.index=this.stack.pop(),this.top=this.stack.pop(),r--;while(r<t.length){this.stack.push(this.top,this.index+1);for(var o=-1,a=this.index;a<Math.min(this.index+3,this.top.children.length);a++)if(this.top.children[a].matchesMark(t[r])){o=a;break}if(o>-1)o>this.index&&(this.changed=!0,this.destroyBetween(this.index,o)),this.top=this.top.children[this.index];else{var l=Bt.create(this.top,t[r],e,n);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,r++}},ae.prototype.findNodeMatch=function(t,e,n,i){var r,s=-1;if(i>=this.preMatch.index&&(r=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&r.matchesNode(t,e,n))s=this.top.children.indexOf(r,this.index);else for(var o=this.index,a=Math.min(this.top.children.length,o+5);o<a;o++){var l=this.top.children[o];if(l.matchesNode(t,e,n)&&!this.preMatch.matched.has(l)){s=o;break}}return!(s<0)&&(this.destroyBetween(this.index,s),this.index++,!0)},ae.prototype.updateNodeAt=function(t,e,n,i,r){var s=this.top.children[i];return!!s.update(t,e,n,r)&&(this.destroyBetween(this.index,i),this.index=i+1,!0)},ae.prototype.findIndexWithChild=function(t){for(;;){var e=t.parentNode;if(!e)return-1;if(e==this.top.contentDOM){var n=t.pmViewDesc;if(n)for(var i=this.index;i<this.top.children.length;i++)if(this.top.children[i]==n)return i;return-1}t=e}},ae.prototype.updateNextNode=function(t,e,n,i,r){for(var s=this.index;s<this.top.children.length;s++){var o=this.top.children[s];if(o instanceof Ut){var a=this.preMatch.matched.get(o);if(null!=a&&a!=r)return!1;var l=o.dom,c=this.lock&&(l==this.lock||1==l.nodeType&&l.contains(this.lock.parentNode))&&!(t.isText&&o.node&&o.node.isText&&o.nodeDOM.nodeValue==t.text&&o.dirty!=Xt&&se(e,o.outerDeco));if(!c&&o.update(t,e,n,i))return this.destroyBetween(this.index,s),o.dom!=l&&(this.changed=!0),this.index++,!0;break}}return!1},ae.prototype.addNode=function(t,e,n,i,r){this.top.children.splice(this.index++,0,Ut.create(this.top,t,e,n,i,r)),this.changed=!0},ae.prototype.placeWidget=function(t,e,n){var i=this.index<this.top.children.length?this.top.children[this.index]:null;if(!i||!i.matchesWidget(t)||t!=i.widget&&i.widget.type.toDOM.parentNode){var r=new Nt(this.top,t,e,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++},ae.prototype.addTextblockHacks=function(){var t=this.top.children[this.index-1];while(t instanceof Bt)t=t.children[t.children.length-1];t&&t instanceof Ft&&!/\n$/.test(t.node.text)||((q.safari||q.chrome)&&t&&"false"==t.dom.contentEditable&&this.addHackNode("IMG"),this.addHackNode("BR"))},ae.prototype.addHackNode=function(t){if(this.index<this.top.children.length&&this.top.children[this.index].matchesHack(t))this.index++;else{var e=document.createElement(t);"IMG"==t&&(e.className="ProseMirror-separator"),"BR"==t&&(e.className="ProseMirror-trailingBreak"),this.top.children.splice(this.index++,0,new Gt(this.top,It,e,null)),this.changed=!0}};var ve=q.safari||q.chrome&&q.chrome_version<63;function ye(t,e){var n=t.docView.domFromPos(e,0),i=n.node,r=n.offset,s=r<i.childNodes.length?i.childNodes[r]:null,o=r?i.childNodes[r-1]:null;if(q.safari&&s&&"false"==s.contentEditable)return be(s);if((!s||"false"==s.contentEditable)&&(!o||"false"==o.contentEditable)){if(s)return be(s);if(o)return be(o)}}function be(t){return t.contentEditable="true",q.safari&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function _e(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function xe(t){var e=t.dom.ownerDocument;e.removeEventListener("selectionchange",t.hideSelectionGuard);var n=t.root.getSelection(),i=n.anchorNode,r=n.anchorOffset;e.addEventListener("selectionchange",t.hideSelectionGuard=function(){n.anchorNode==i&&n.anchorOffset==r||(e.removeEventListener("selectionchange",t.hideSelectionGuard),setTimeout((function(){me(t)&&!t.state.selection.visible||t.dom.classList.remove("ProseMirror-hideselection")}),20))})}function we(t){var e=t.root.getSelection(),n=document.createRange(),i=t.cursorWrapper.dom,r="IMG"==i.nodeName;r?n.setEnd(i.parentNode,Y(i)+1):n.setEnd(i,0),n.collapse(!1),e.removeAllRanges(),e.addRange(n),!r&&!t.state.selection.visible&&q.ie&&q.ie_version<=11&&(i.disabled=!0,i.disabled=!1)}function $e(t,e){if(e instanceof i.qv){var n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(Se(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else Se(t)}function Se(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=null)}function ke(t,e,n,r){return t.someProp("createSelectionBetween",(function(i){return i(t,e,n)}))||i.Bs.between(e,n,r)}function Qe(t){return(!t.editable||t.root.activeElement==t.dom)&&Te(t)}function Te(t){var e=t.root.getSelection();if(!e.anchorNode)return!1;try{return t.dom.contains(3==e.anchorNode.nodeType?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(3==e.focusNode.nodeType?e.focusNode.parentNode:e.focusNode))}catch(n){return!1}}function Pe(t){var e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.root.getSelection();return K(e.node,e.offset,n.anchorNode,n.anchorOffset)}function Ce(t,e){var n=t.selection,r=n.$anchor,s=n.$head,o=e>0?r.max(s):r.min(s),a=o.parent.inlineContent?o.depth?t.doc.resolve(e>0?o.after():o.before()):null:o;return a&&i.Y1.findFrom(a,e)}function Ae(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Ee(t,e,n){var r=t.state.selection;if(!(r instanceof i.Bs)){if(r instanceof i.qv&&r.node.isInline)return Ae(t,new i.Bs(e>0?r.$to:r.$from));var s=Ce(t.state,e);return!!s&&Ae(t,s)}if(!r.empty||n.indexOf("s")>-1)return!1;if(t.endOfTextblock(e>0?"right":"left")){var o=Ce(t.state,e);return!!(o&&o instanceof i.qv)&&Ae(t,o)}if(!(q.mac&&n.indexOf("m")>-1)){var a,l=r.$head,c=l.textOffset?null:e<0?l.nodeBefore:l.nodeAfter;if(!c||c.isText)return!1;var u=e<0?l.pos-c.nodeSize:l.pos;return!!(c.isAtom||(a=t.docView.descAt(u))&&!a.contentDOM)&&(i.qv.isSelectable(c)?Ae(t,new i.qv(e<0?t.state.doc.resolve(l.pos-c.nodeSize):l)):!!q.webkit&&Ae(t,new i.Bs(t.state.doc.resolve(e<0?u:u+c.nodeSize))))}}function Re(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function Me(t){var e=t.pmViewDesc;return e&&0==e.size&&(t.nextSibling||"BR"!=t.nodeName)}function De(t){var e=t.root.getSelection(),n=e.focusNode,i=e.focusOffset;if(n){var r,s,o=!1;for(q.gecko&&1==n.nodeType&&i<Re(n)&&Me(n.childNodes[i])&&(o=!0);;)if(i>0){if(1!=n.nodeType)break;var a=n.childNodes[i-1];if(Me(a))r=n,s=--i;else{if(3!=a.nodeType)break;n=a,i=n.nodeValue.length}}else{if(je(n))break;var l=n.previousSibling;while(l&&Me(l))r=n.parentNode,s=Y(l),l=l.previousSibling;if(l)n=l,i=Re(n);else{if(n=n.parentNode,n==t.dom)break;i=0}}o?Ze(t,e,n,i):r&&Ze(t,e,r,s)}}function ze(t){var e=t.root.getSelection(),n=e.focusNode,i=e.focusOffset;if(n){for(var r,s,o=Re(n);;)if(i<o){if(1!=n.nodeType)break;var a=n.childNodes[i];if(!Me(a))break;r=n,s=++i}else{if(je(n))break;var l=n.nextSibling;while(l&&Me(l))r=l.parentNode,s=Y(l)+1,l=l.nextSibling;if(l)n=l,i=0,o=Re(n);else{if(n=n.parentNode,n==t.dom)break;i=o=0}}r&&Ze(t,e,r,s)}}function je(t){var e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function Ze(t,e,n,i){if(rt(e)){var r=document.createRange();r.setEnd(n,i),r.setStart(n,i),e.removeAllRanges(),e.addRange(r)}else e.extend&&e.extend(n,i);t.domObserver.setCurSelection();var s=t.state;setTimeout((function(){t.state==s&&ge(t)}),50)}function Ve(t,e,n){var r=t.state.selection;if(r instanceof i.Bs&&!r.empty||n.indexOf("s")>-1)return!1;if(q.mac&&n.indexOf("m")>-1)return!1;var s=r.$from,o=r.$to;if(!s.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){var a=Ce(t.state,e);if(a&&a instanceof i.qv)return Ae(t,a)}if(!s.parent.inlineContent){var l=e<0?s:o,c=r instanceof i.C1?i.Y1.near(l,e):i.Y1.findFrom(l,e);return!!c&&Ae(t,c)}return!1}function Xe(t,e){if(!(t.state.selection instanceof i.Bs))return!0;var n=t.state.selection,r=n.$head,s=n.$anchor,o=n.empty;if(!r.sameParent(s))return!0;if(!o)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;var a=!r.textOffset&&(e<0?r.nodeBefore:r.nodeAfter);if(a&&!a.isText){var l=t.state.tr;return e<0?l.delete(r.pos-a.nodeSize,r.pos):l.delete(r.pos,r.pos+a.nodeSize),t.dispatch(l),!0}return!1}function We(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function qe(t){if(q.safari&&!(t.state.selection.$head.parentOffset>0)){var e=t.root.getSelection(),n=e.focusNode,i=e.focusOffset;if(n&&1==n.nodeType&&0==i&&n.firstChild&&"false"==n.firstChild.contentEditable){var r=n.firstChild;We(t,r,!0),setTimeout((function(){return We(t,r,!1)}),20)}}}function Ie(t){var e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function Ne(t,e){var n=e.keyCode,i=Ie(e);return 8==n||q.mac&&72==n&&"c"==i?Xe(t,-1)||De(t):46==n||q.mac&&68==n&&"c"==i?Xe(t,1)||ze(t):13==n||27==n||(37==n?Ee(t,-1,i)||De(t):39==n?Ee(t,1,i)||ze(t):38==n?Ve(t,-1,i)||De(t):40==n?qe(t)||Ve(t,1,i)||ze(t):i==(q.mac?"m":"c")&&(66==n||73==n||89==n||90==n))}function Le(t,e,n){var i=t.docView.parseRange(e,n),r=i.node,o=i.fromOffset,a=i.toOffset,l=i.from,c=i.to,u=t.root.getSelection(),h=null,p=u.anchorNode;if(p&&t.dom.contains(1==p.nodeType?p:p.parentNode)&&(h=[{node:p,offset:u.anchorOffset}],rt(u)||h.push({node:u.focusNode,offset:u.focusOffset})),q.chrome&&8===t.lastKeyCode)for(var d=a;d>o;d--){var f=r.childNodes[d-1],O=f.pmViewDesc;if("BR"==f.nodeName&&!O){a=d;break}if(!O||O.size)break}var m=t.state.doc,g=t.someProp("domParser")||s.aw.fromSchema(t.state.schema),v=m.resolve(l),y=null,b=g.parse(r,{topNode:v.parent,topMatch:v.parent.contentMatchAt(v.index()),topOpen:!0,from:o,to:a,preserveWhitespace:"pre"!=v.parent.type.whitespace||"full",editableContent:!0,findPositions:h,ruleFromNode:Be,context:v});if(h&&null!=h[0].pos){var _=h[0].pos,x=h[1]&&h[1].pos;null==x&&(x=_),y={anchor:_+l,head:x+l}}return{doc:b,sel:y,from:l,to:c}}function Be(t){var e=t.pmViewDesc;if(e)return e.parseRule();if("BR"==t.nodeName&&t.parentNode){if(q.safari&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){var n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}if(t.parentNode.lastChild==t||q.safari&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if("IMG"==t.nodeName&&t.getAttribute("mark-placeholder"))return{ignore:!0}}function Ue(t,e,n,r,s){if(e<0){var o=t.lastSelectionTime>Date.now()-50?t.lastSelectionOrigin:null,a=Oe(t,o);if(a&&!t.state.selection.eq(a)){var l=t.state.tr.setSelection(a);"pointer"==o?l.setMeta("pointer",!0):"key"==o&&l.scrollIntoView(),t.dispatch(l)}}else{var c=t.state.doc.resolve(e),u=c.sharedDepth(n);e=c.before(u+1),n=t.state.doc.resolve(n).after(u+1);var h=t.state.selection,p=Le(t,e,n);if(q.chrome&&t.cursorWrapper&&p.sel&&p.sel.anchor==t.cursorWrapper.deco.from){var d=t.cursorWrapper.deco.type.toDOM.nextSibling,f=d&&d.nodeValue?d.nodeValue.length:1;p.sel={anchor:p.sel.anchor+f,head:p.sel.anchor+f}}var O,m,g=t.state.doc,v=g.slice(p.from,p.to);8===t.lastKeyCode&&Date.now()-100<t.lastKeyCodeTime?(O=t.state.selection.to,m="end"):(O=t.state.selection.from,m="start"),t.lastKeyCode=null;var y=Ke(v.content,p.doc.content,p.from,O,m);if(!y){if(!(r&&h instanceof i.Bs&&!h.empty&&h.$head.sameParent(h.$anchor))||t.composing||p.sel&&p.sel.anchor!=p.sel.head){if((q.ios&&t.lastIOSEnter>Date.now()-225||q.android)&&s.some((function(t){return"DIV"==t.nodeName||"P"==t.nodeName}))&&t.someProp("handleKeyDown",(function(e){return e(t,st(13,"Enter"))})))return void(t.lastIOSEnter=0);if(p.sel){var b=Ye(t,t.state.doc,p.sel);b&&!b.eq(t.state.selection)&&t.dispatch(t.state.tr.setSelection(b))}return}y={start:h.from,endA:h.to,endB:h.to}}t.domChangeCount++,t.state.selection.from<t.state.selection.to&&y.start==y.endB&&t.state.selection instanceof i.Bs&&(y.start>t.state.selection.from&&y.start<=t.state.selection.from+2?y.start=t.state.selection.from:y.endA<t.state.selection.to&&y.endA>=t.state.selection.to-2&&(y.endB+=t.state.selection.to-y.endA,y.endA=t.state.selection.to)),q.ie&&q.ie_version<=11&&y.endB==y.start+1&&y.endA==y.start&&y.start>p.from&&" "==p.doc.textBetween(y.start-p.from-1,y.start-p.from+1)&&(y.start--,y.endA--,y.endB--);var _,x=p.doc.resolveNoCache(y.start-p.from),w=p.doc.resolveNoCache(y.endB-p.from),$=x.sameParent(w)&&x.parent.inlineContent;if((q.ios&&t.lastIOSEnter>Date.now()-225&&(!$||s.some((function(t){return"DIV"==t.nodeName||"P"==t.nodeName})))||!$&&x.pos<p.doc.content.size&&(_=i.Y1.findFrom(p.doc.resolve(x.pos+1),1,!0))&&_.head==w.pos)&&t.someProp("handleKeyDown",(function(e){return e(t,st(13,"Enter"))})))t.lastIOSEnter=0;else if(t.state.selection.anchor>y.start&&Ge(g,y.start,y.endA,x,w)&&t.someProp("handleKeyDown",(function(e){return e(t,st(8,"Backspace"))})))q.android&&q.chrome&&t.domObserver.suppressSelectionUpdates();else{q.chrome&&q.android&&y.toB==y.from&&(t.lastAndroidDelete=Date.now()),q.android&&!$&&x.start()!=w.start()&&0==w.parentOffset&&x.depth==w.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==y.endA&&(y.endB-=2,w=p.doc.resolveNoCache(y.endB-p.from),setTimeout((function(){t.someProp("handleKeyDown",(function(e){return e(t,st(13,"Enter"))}))}),20));var S,k,Q,T,P=y.start,C=y.endA;if($)if(x.pos==w.pos)q.ie&&q.ie_version<=11&&0==x.parentOffset&&(t.domObserver.suppressSelectionUpdates(),setTimeout((function(){return ge(t)}),20)),S=t.state.tr.delete(P,C),k=g.resolve(y.start).marksAcross(g.resolve(y.endA));else if(y.endA==y.endB&&(T=g.resolve(y.start))&&(Q=Fe(x.parent.content.cut(x.parentOffset,w.parentOffset),T.parent.content.cut(T.parentOffset,y.endA-T.start()))))S=t.state.tr,"add"==Q.type?S.addMark(P,C,Q.mark):S.removeMark(P,C,Q.mark);else if(x.parent.child(x.index()).isText&&x.index()==w.index()-(w.textOffset?0:1)){var A=x.parent.textBetween(x.parentOffset,w.parentOffset);if(t.someProp("handleTextInput",(function(e){return e(t,P,C,A)})))return;S=t.state.tr.insertText(A,P,C)}if(S||(S=t.state.tr.replace(P,C,p.doc.slice(y.start-p.from,y.endB-p.from))),p.sel){var E=Ye(t,S.doc,p.sel);E&&!(q.chrome&&q.android&&t.composing&&E.empty&&(y.start!=y.endB||t.lastAndroidDelete<Date.now()-100)&&(E.head==P||E.head==S.mapping.map(C)-1)||q.ie&&E.empty&&E.head==P)&&S.setSelection(E)}k&&S.ensureMarks(k),t.dispatch(S.scrollIntoView())}}}function Ye(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:ke(t,e.resolve(n.anchor),e.resolve(n.head))}function Fe(t,e){for(var n,i,r,o=t.firstChild.marks,a=e.firstChild.marks,l=o,c=a,u=0;u<a.length;u++)l=a[u].removeFromSet(l);for(var h=0;h<o.length;h++)c=o[h].removeFromSet(c);if(1==l.length&&0==c.length)i=l[0],n="add",r=function(t){return t.mark(i.addToSet(t.marks))};else{if(0!=l.length||1!=c.length)return null;i=c[0],n="remove",r=function(t){return t.mark(i.removeFromSet(t.marks))}}for(var p=[],d=0;d<e.childCount;d++)p.push(r(e.child(d)));if(s.HY.from(p).eq(t))return{mark:i,type:n}}function Ge(t,e,n,i,r){if(!i.parent.isTextblock||n-e<=r.pos-i.pos||He(i,!0,!1)<r.pos)return!1;var s=t.resolve(e);if(s.parentOffset<s.parent.content.size||!s.parent.isTextblock)return!1;var o=t.resolve(He(s,!0,!0));return!(!o.parent.isTextblock||o.pos>n||He(o,!0,!1)<n)&&i.parent.content.cut(i.parentOffset).eq(o.parent.content)}function He(t,e,n){var i=t.depth,r=e?t.end():t.pos;while(i>0&&(e||t.indexAfter(i)==t.node(i).childCount))i--,r++,e=!1;if(n){var s=t.node(i).maybeChild(t.indexAfter(i));while(s&&!s.isLeaf)s=s.firstChild,r++}return r}function Ke(t,e,n,i,r){var s=t.findDiffStart(e,n);if(null==s)return null;var o=t.findDiffEnd(e,n+t.size,n+e.size),a=o.a,l=o.b;if("end"==r){var c=Math.max(0,s-Math.min(a,l));i-=a+c-s}if(a<s&&t.size<e.size){var u=i<=s&&i>=a?s-i:0;s-=u,l=s+(l-a),a=s}else if(l<s){var h=i<=s&&i>=l?s-i:0;s-=h,a=s+(a-l),l=s}return{start:s,endA:a,endB:l}}function Je(t,e){var n=[],i=e.content,r=e.openStart,o=e.openEnd;while(r>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount){r--,o--;var a=i.firstChild;n.push(a.type.name,a.attrs!=a.type.defaultAttrs?a.attrs:null),i=a.content}var l=t.someProp("clipboardSerializer")||s.PW.fromSchema(t.state.schema),c=hn(),u=c.createElement("div");u.appendChild(l.serializeFragment(i,{document:c}));var h,p=u.firstChild;while(p&&1==p.nodeType&&(h=cn[p.nodeName.toLowerCase()])){for(var d=h.length-1;d>=0;d--){var f=c.createElement(h[d]);while(u.firstChild)f.appendChild(u.firstChild);u.appendChild(f),"tbody"!=h[d]&&(r++,o++)}p=u.firstChild}p&&1==p.nodeType&&p.setAttribute("data-pm-slice",r+" "+o+" "+JSON.stringify(n));var O=t.someProp("clipboardTextSerializer",(function(t){return t(e)}))||e.content.textBetween(0,e.content.size,"\n\n");return{dom:u,text:O}}function tn(t,e,n,i,r){var o,a,l=r.parent.type.spec.code;if(!n&&!e)return null;var c=e&&(i||l||!n);if(c){if(t.someProp("transformPastedText",(function(t){e=t(e,l||i)})),l)return e?new s.p2(s.HY.from(t.state.schema.text(e.replace(/\r\n?/g,"\n"))),0,0):s.p2.empty;var u=t.someProp("clipboardTextParser",(function(t){return t(e,r,i)}));if(u)a=u;else{var h=r.marks(),p=t.state,d=p.schema,f=s.PW.fromSchema(d);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach((function(t){var e=o.appendChild(document.createElement("p"));t&&e.appendChild(f.serializeNode(d.text(t,h)))}))}}else t.someProp("transformPastedHTML",(function(t){n=t(n)})),o=pn(n),q.webkit&&dn(o);var O=o&&o.querySelector("[data-pm-slice]"),m=O&&/^(\d+) (\d+) (.*)/.exec(O.getAttribute("data-pm-slice"));if(!a){var g=t.someProp("clipboardParser")||t.someProp("domParser")||s.aw.fromSchema(t.state.schema);a=g.parseSlice(o,{preserveWhitespace:!(!c&&!m),context:r,ruleFromNode:function(t){if("BR"==t.nodeName&&!t.nextSibling&&t.parentNode&&!en.test(t.parentNode.nodeName))return{ignore:!0}}})}if(m)a=fn(ln(a,+m[1],+m[2]),m[3]);else if(a=s.p2.maxOpen(nn(a.content,r),!0),a.openStart||a.openEnd){for(var v=0,y=0,b=a.content.firstChild;v<a.openStart&&!b.type.spec.isolating;v++,b=b.firstChild);for(var _=a.content.lastChild;y<a.openEnd&&!_.type.spec.isolating;y++,_=_.lastChild);a=ln(a,v,y)}return t.someProp("transformPasted",(function(t){a=t(a)})),a}var en=/^(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 nn(t,e){if(t.childCount<2)return t;for(var n=function(n){var i=e.node(n),r=i.contentMatchAt(e.index(n)),o=void 0,a=[];if(t.forEach((function(t){if(a){var e,n=r.findWrapping(t.type);if(!n)return a=null;if(e=a.length&&o.length&&sn(n,o,t,a[a.length-1],0))a[a.length-1]=e;else{a.length&&(a[a.length-1]=on(a[a.length-1],o.length));var i=rn(t,n);a.push(i),r=r.matchType(i.type,i.attrs),o=n}}})),a)return{v:s.HY.from(a)}},i=e.depth;i>=0;i--){var r=n(i);if(r)return r.v}return t}function rn(t,e,n){void 0===n&&(n=0);for(var i=e.length-1;i>=n;i--)t=e[i].create(null,s.HY.from(t));return t}function sn(t,e,n,i,r){if(r<t.length&&r<e.length&&t[r]==e[r]){var o=sn(t,e,n,i.lastChild,r+1);if(o)return i.copy(i.content.replaceChild(i.childCount-1,o));var a=i.contentMatchAt(i.childCount);if(a.matchType(r==t.length-1?n.type:t[r+1]))return i.copy(i.content.append(s.HY.from(rn(n,t,r+1))))}}function on(t,e){if(0==e)return t;var n=t.content.replaceChild(t.childCount-1,on(t.lastChild,e-1)),i=t.contentMatchAt(t.childCount).fillBefore(s.HY.empty,!0);return t.copy(n.append(i))}function an(t,e,n,i,r,o){var a=e<0?t.firstChild:t.lastChild,l=a.content;return r<i-1&&(l=an(l,e,n,i,r+1,o)),r>=n&&(l=e<0?a.contentMatchAt(0).fillBefore(l,t.childCount>1||o<=r).append(l):l.append(a.contentMatchAt(a.childCount).fillBefore(s.HY.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(l))}function ln(t,e,n){return e<t.openStart&&(t=new s.p2(an(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new s.p2(an(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}var cn={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},un=null;function hn(){return un||(un=document.implementation.createHTMLDocument("title"))}function pn(t){var e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));var n,i=hn().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t);if((n=r&&cn[r[1].toLowerCase()])&&(t=n.map((function(t){return"<"+t+">"})).join("")+t+n.map((function(t){return"</"+t+">"})).reverse().join("")),i.innerHTML=t,n)for(var s=0;s<n.length;s++)i=i.querySelector(n[s])||i;return i}function dn(t){for(var e=t.querySelectorAll(q.chrome?"span:not([class]):not([style])":"span.Apple-converted-space"),n=0;n<e.length;n++){var i=e[n];1==i.childNodes.length&&" "==i.textContent&&i.parentNode&&i.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),i)}}function fn(t,e){if(!t.size)return t;var n,i=t.content.firstChild.type.schema;try{n=JSON.parse(e)}catch(u){return t}for(var r=t.content,o=t.openStart,a=t.openEnd,l=n.length-2;l>=0;l-=2){var c=i.nodes[n[l]];if(!c||c.hasRequiredAttrs())break;r=s.HY.from(c.create(n[l+1],r)),o++,a++}return new s.p2(r,o,a)}var On={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},mn=q.ie&&q.ie_version<=11,gn=function(){this.anchorNode=this.anchorOffset=this.focusNode=this.focusOffset=null};gn.prototype.set=function(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset},gn.prototype.eq=function(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset};var vn=function(t,e){var n=this;this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=window.MutationObserver&&new window.MutationObserver((function(t){for(var e=0;e<t.length;e++)n.queue.push(t[e]);q.ie&&q.ie_version<=11&&t.some((function(t){return"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length}))?n.flushSoon():n.flush()})),this.currentSelection=new gn,mn&&(this.onCharData=function(t){n.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),n.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.suppressingSelectionUpdates=!1};vn.prototype.flushSoon=function(){var t=this;this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((function(){t.flushingSoon=-1,t.flush()}),20))},vn.prototype.forceFlush=function(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())},vn.prototype.start=function(){this.observer&&this.observer.observe(this.view.dom,On),mn&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()},vn.prototype.stop=function(){var t=this;if(this.observer){var e=this.observer.takeRecords();if(e.length){for(var n=0;n<e.length;n++)this.queue.push(e[n]);window.setTimeout((function(){return t.flush()}),20)}this.observer.disconnect()}mn&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()},vn.prototype.connectSelection=function(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)},vn.prototype.disconnectSelection=function(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)},vn.prototype.suppressSelectionUpdates=function(){var t=this;this.suppressingSelectionUpdates=!0,setTimeout((function(){return t.suppressingSelectionUpdates=!1}),50)},vn.prototype.onSelectionChange=function(){if(Qe(this.view)){if(this.suppressingSelectionUpdates)return ge(this.view);if(q.ie&&q.ie_version<=11&&!this.view.state.selection.empty){var t=this.view.root.getSelection();if(t.focusNode&&K(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}},vn.prototype.setCurSelection=function(){this.currentSelection.set(this.view.root.getSelection())},vn.prototype.ignoreSelectionChange=function(t){if(0==t.rangeCount)return!0;var e=t.getRangeAt(0).commonAncestorContainer,n=this.view.docView.nearestDesc(e);return n&&n.ignoreMutation({type:"selection",target:3==e.nodeType?e.parentNode:e})?(this.setCurSelection(),!0):void 0},vn.prototype.flush=function(){if(this.view.docView&&!(this.flushingSoon>-1)){var t=this.observer?this.observer.takeRecords():[];this.queue.length&&(t=this.queue.concat(t),this.queue.length=0);var e=this.view.root.getSelection(),n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(e)&&Te(this.view)&&!this.ignoreSelectionChange(e),i=-1,r=-1,s=!1,o=[];if(this.view.editable)for(var a=0;a<t.length;a++){var l=this.registerMutation(t[a],o);l&&(i=i<0?l.from:Math.min(l.from,i),r=r<0?l.to:Math.max(l.to,r),l.typeOver&&(s=!0))}if(q.gecko&&o.length>1){var c=o.filter((function(t){return"BR"==t.nodeName}));if(2==c.length){var u=c[0],h=c[1];u.parentNode&&u.parentNode.parentNode==h.parentNode?h.remove():u.remove()}}(i>-1||n)&&(i>-1&&(this.view.docView.markDirty(i,r),bn(this.view)),this.handleDOMChange(i,r,s,o),this.view.docView.dirty?this.view.updateState(this.view.state):this.currentSelection.eq(e)||ge(this.view),this.currentSelection.set(e))}},vn.prototype.registerMutation=function(t,e){if(e.indexOf(t.target)>-1)return null;var n=this.view.docView.nearestDesc(t.target);if("attributes"==t.type&&(n==this.view.docView||"contenteditable"==t.attributeName||"style"==t.attributeName&&!t.oldValue&&!t.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(t))return null;if("childList"==t.type){for(var i=0;i<t.addedNodes.length;i++)e.push(t.addedNodes[i]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(t.target))return{from:n.posBefore,to:n.posAfter};var r=t.previousSibling,s=t.nextSibling;if(q.ie&&q.ie_version<=11&&t.addedNodes.length)for(var o=0;o<t.addedNodes.length;o++){var a=t.addedNodes[o],l=a.previousSibling,c=a.nextSibling;(!l||Array.prototype.indexOf.call(t.addedNodes,l)<0)&&(r=l),(!c||Array.prototype.indexOf.call(t.addedNodes,c)<0)&&(s=c)}var u=r&&r.parentNode==t.target?Y(r)+1:0,h=n.localPosFromDOM(t.target,u,-1),p=s&&s.parentNode==t.target?Y(s):t.target.childNodes.length,d=n.localPosFromDOM(t.target,p,1);return{from:h,to:d}}return"attributes"==t.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}};var yn=!1;function bn(t){yn||(yn=!0,"normal"==getComputedStyle(t.dom).whiteSpace&&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."))}var _n={},xn={};function wn(t){t.shiftKey=!1,t.mouseDown=null,t.lastKeyCode=null,t.lastKeyCodeTime=0,t.lastClick={time:0,x:0,y:0,type:""},t.lastSelectionOrigin=null,t.lastSelectionTime=0,t.lastIOSEnter=0,t.lastIOSEnterFallbackTimeout=null,t.lastAndroidDelete=0,t.composing=!1,t.composingTimeout=null,t.compositionNodes=[],t.compositionEndedAt=-2e8,t.domObserver=new vn(t,(function(e,n,i,r){return Ue(t,e,n,i,r)})),t.domObserver.start(),t.domChangeCount=0,t.eventHandlers=Object.create(null);var e=function(e){var n=_n[e];t.dom.addEventListener(e,t.eventHandlers[e]=function(e){!Tn(t,e)||Qn(t,e)||!t.editable&&e.type in xn||n(t,e)})};for(var n in _n)e(n);q.safari&&t.dom.addEventListener("input",(function(){return null})),kn(t)}function $n(t,e){t.lastSelectionOrigin=e,t.lastSelectionTime=Date.now()}function Sn(t){for(var e in t.domObserver.stop(),t.eventHandlers)t.dom.removeEventListener(e,t.eventHandlers[e]);clearTimeout(t.composingTimeout),clearTimeout(t.lastIOSEnterFallbackTimeout)}function kn(t){t.someProp("handleDOMEvents",(function(e){for(var n in e)t.eventHandlers[n]||t.dom.addEventListener(n,t.eventHandlers[n]=function(e){return Qn(t,e)})}))}function Qn(t,e){return t.someProp("handleDOMEvents",(function(n){var i=n[e.type];return!!i&&(i(t,e)||e.defaultPrevented)}))}function Tn(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(var n=e.target;n!=t.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function Pn(t,e){Qn(t,e)||!_n[e.type]||!t.editable&&e.type in xn||_n[e.type](t,e)}function Cn(t){return{left:t.clientX,top:t.clientY}}function An(t,e){var n=e.x-t.clientX,i=e.y-t.clientY;return n*n+i*i<100}function En(t,e,n,i,r){if(-1==i)return!1;for(var s=t.state.doc.resolve(i),o=function(i){if(t.someProp(e,(function(e){return i>s.depth?e(t,n,s.nodeAfter,s.before(i),r,!0):e(t,n,s.node(i),s.before(i),r,!1)})))return{v:!0}},a=s.depth+1;a>0;a--){var l=o(a);if(l)return l.v}return!1}function Rn(t,e,n){t.focused||t.focus();var i=t.state.tr.setSelection(e);"pointer"==n&&i.setMeta("pointer",!0),t.dispatch(i)}function Mn(t,e){if(-1==e)return!1;var n=t.state.doc.resolve(e),r=n.nodeAfter;return!!(r&&r.isAtom&&i.qv.isSelectable(r))&&(Rn(t,new i.qv(n),"pointer"),!0)}function Dn(t,e){if(-1==e)return!1;var n,r,s=t.state.selection;s instanceof i.qv&&(n=s.node);for(var o=t.state.doc.resolve(e),a=o.depth+1;a>0;a--){var l=a>o.depth?o.nodeAfter:o.node(a);if(i.qv.isSelectable(l)){r=n&&s.$from.depth>0&&a>=s.$from.depth&&o.before(s.$from.depth+1)==s.$from.pos?o.before(s.$from.depth):o.before(a);break}}return null!=r&&(Rn(t,i.qv.create(t.state.doc,r),"pointer"),!0)}function zn(t,e,n,i,r){return En(t,"handleClickOn",e,n,i)||t.someProp("handleClick",(function(n){return n(t,e,i)}))||(r?Dn(t,n):Mn(t,n))}function jn(t,e,n,i){return En(t,"handleDoubleClickOn",e,n,i)||t.someProp("handleDoubleClick",(function(n){return n(t,e,i)}))}function Zn(t,e,n,i){return En(t,"handleTripleClickOn",e,n,i)||t.someProp("handleTripleClick",(function(n){return n(t,e,i)}))||Vn(t,n,i)}function Vn(t,e,n){if(0!=n.button)return!1;var r=t.state.doc;if(-1==e)return!!r.inlineContent&&(Rn(t,i.Bs.create(r,0,r.content.size),"pointer"),!0);for(var s=r.resolve(e),o=s.depth+1;o>0;o--){var a=o>s.depth?s.nodeAfter:s.node(o),l=s.before(o);if(a.inlineContent)Rn(t,i.Bs.create(r,l+1,l+1+a.content.size),"pointer");else{if(!i.qv.isSelectable(a))continue;Rn(t,i.qv.create(r,l),"pointer")}return!0}}function Xn(t){return Yn(t)}xn.keydown=function(t,e){if(t.shiftKey=16==e.keyCode||e.shiftKey,!In(t,e)&&(t.lastKeyCode=e.keyCode,t.lastKeyCodeTime=Date.now(),!q.android||!q.chrome||13!=e.keyCode))if(229!=e.keyCode&&t.domObserver.forceFlush(),!q.ios||13!=e.keyCode||e.ctrlKey||e.altKey||e.metaKey)t.someProp("handleKeyDown",(function(n){return n(t,e)}))||Ne(t,e)?e.preventDefault():$n(t,"key");else{var n=Date.now();t.lastIOSEnter=n,t.lastIOSEnterFallbackTimeout=setTimeout((function(){t.lastIOSEnter==n&&(t.someProp("handleKeyDown",(function(e){return e(t,st(13,"Enter"))})),t.lastIOSEnter=0)}),200)}},xn.keyup=function(t,e){16==e.keyCode&&(t.shiftKey=!1)},xn.keypress=function(t,e){if(!(In(t,e)||!e.charCode||e.ctrlKey&&!e.altKey||q.mac&&e.metaKey))if(t.someProp("handleKeyPress",(function(n){return n(t,e)})))e.preventDefault();else{var n=t.state.selection;if(!(n instanceof i.Bs)||!n.$from.sameParent(n.$to)){var r=String.fromCharCode(e.charCode);t.someProp("handleTextInput",(function(e){return e(t,n.$from.pos,n.$to.pos,r)}))||t.dispatch(t.state.tr.insertText(r).scrollIntoView()),e.preventDefault()}}};var Wn=q.mac?"metaKey":"ctrlKey";_n.mousedown=function(t,e){t.shiftKey=e.shiftKey;var n=Xn(t),i=Date.now(),r="singleClick";i-t.lastClick.time<500&&An(e,t.lastClick)&&!e[Wn]&&("singleClick"==t.lastClick.type?r="doubleClick":"doubleClick"==t.lastClick.type&&(r="tripleClick")),t.lastClick={time:i,x:e.clientX,y:e.clientY,type:r};var s=t.posAtCoords(Cn(e));s&&("singleClick"==r?(t.mouseDown&&t.mouseDown.done(),t.mouseDown=new qn(t,s,e,n)):("doubleClick"==r?jn:Zn)(t,s.pos,s.inside,e)?e.preventDefault():$n(t,"pointer"))};var qn=function(t,e,n,r){var s,o,a=this;if(this.view=t,this.startDoc=t.state.doc,this.pos=e,this.event=n,this.flushed=r,this.selectNode=n[Wn],this.allowDefault=n.shiftKey,this.delayedSelectionSync=!1,e.inside>-1)s=t.state.doc.nodeAt(e.inside),o=e.inside;else{var l=t.state.doc.resolve(e.pos);s=l.parent,o=l.depth?l.before():0}this.mightDrag=null;var c=r?null:n.target,u=c?t.docView.nearestDesc(c,!0):null;this.target=u?u.dom:null;var h=t.state,p=h.selection;(0==n.button&&s.type.spec.draggable&&!1!==s.type.spec.selectable||p instanceof i.qv&&p.from<=o&&p.to>o)&&(this.mightDrag={node:s,pos:o,addAttr:this.target&&!this.target.draggable,setUneditable:this.target&&q.gecko&&!this.target.hasAttribute("contentEditable")}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((function(){a.view.mouseDown==a&&a.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),$n(t,"pointer")};function In(t,e){return!!t.composing||!!(q.safari&&Math.abs(e.timeStamp-t.compositionEndedAt)<500)&&(t.compositionEndedAt=-2e8,!0)}qn.prototype.done=function(){var t=this;this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((function(){return ge(t.view)})),this.view.mouseDown=null},qn.prototype.up=function(t){if(this.done(),this.view.dom.contains(3==t.target.nodeType?t.target.parentNode:t.target)){var e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Cn(t))),this.allowDefault||!e?$n(this.view,"pointer"):zn(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||q.safari&&this.mightDrag&&!this.mightDrag.node.isAtom||q.chrome&&!(this.view.state.selection instanceof i.Bs)&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(Rn(this.view,i.Y1.near(this.view.state.doc.resolve(e.pos)),"pointer"),t.preventDefault()):$n(this.view,"pointer")}},qn.prototype.move=function(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0),$n(this.view,"pointer"),0==t.buttons&&this.done()},_n.touchdown=function(t){Xn(t),$n(t,"pointer")},_n.contextmenu=function(t){return Xn(t)};var Nn=q.android?5e3:-1;function Ln(t,e){clearTimeout(t.composingTimeout),e>-1&&(t.composingTimeout=setTimeout((function(){return Yn(t)}),e))}function Bn(t){t.composing&&(t.composing=!1,t.compositionEndedAt=Un());while(t.compositionNodes.length>0)t.compositionNodes.pop().markParentsDirty()}function Un(){var t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Yn(t,e){if(!(q.android&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),Bn(t),e||t.docView.dirty){var n=Oe(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):t.updateState(t.state),!0}return!1}}function Fn(t,e){if(t.dom.parentNode){var n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";var i=getSelection(),r=document.createRange();r.selectNodeContents(e),t.dom.blur(),i.removeAllRanges(),i.addRange(r),setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n),t.focus()}),50)}}xn.compositionstart=xn.compositionupdate=function(t){if(!t.composing){t.domObserver.flush();var e=t.state,n=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((function(t){return!1===t.type.spec.inclusive}))))t.markCursor=t.state.storedMarks||n.marks(),Yn(t,!0),t.markCursor=null;else if(Yn(t),q.gecko&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length)for(var i=t.root.getSelection(),r=i.focusNode,s=i.focusOffset;r&&1==r.nodeType&&0!=s;){var o=s<0?r.lastChild:r.childNodes[s-1];if(!o)break;if(3==o.nodeType){i.collapse(o,o.nodeValue.length);break}r=o,s=-1}t.composing=!0}Ln(t,Nn)},xn.compositionend=function(t,e){t.composing&&(t.composing=!1,t.compositionEndedAt=e.timeStamp,Ln(t,20))};var Gn=q.ie&&q.ie_version<15||q.ios&&q.webkit_version<604;function Hn(t){return 0==t.openStart&&0==t.openEnd&&1==t.content.childCount?t.content.firstChild:null}function Kn(t,e){if(t.dom.parentNode){var n=t.shiftKey||t.state.selection.$from.parent.type.spec.code,i=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout((function(){t.focus(),i.parentNode&&i.parentNode.removeChild(i),n?Jn(t,i.value,null,e):Jn(t,i.textContent,i.innerHTML,e)}),50)}}function Jn(t,e,n,i){var r=tn(t,e,n,t.shiftKey,t.state.selection.$from);if(t.someProp("handlePaste",(function(e){return e(t,i,r||s.p2.empty)})))return!0;if(!r)return!1;var o=Hn(r),a=o?t.state.tr.replaceSelectionWith(o,t.shiftKey):t.state.tr.replaceSelection(r);return t.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}_n.copy=xn.cut=function(t,e){var n=t.state.selection,i="cut"==e.type;if(!n.empty){var r=Gn?null:e.clipboardData,s=n.content(),o=Je(t,s),a=o.dom,l=o.text;r?(e.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",l)):Fn(t,a),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))}},xn.paste=function(t,e){if(!t.composing||q.android){var n=Gn?null:e.clipboardData;n&&Jn(t,n.getData("text/plain"),n.getData("text/html"),e)?e.preventDefault():Kn(t,e)}};var ti=function(t,e){this.slice=t,this.move=e},ei=q.mac?"altKey":"ctrlKey";for(var ni in _n.dragstart=function(t,e){var n=t.mouseDown;if(n&&n.done(),e.dataTransfer){var r=t.state.selection,s=r.empty?null:t.posAtCoords(Cn(e));if(s&&s.pos>=r.from&&s.pos<=(r instanceof i.qv?r.to-1:r.to));else if(n&&n.mightDrag)t.dispatch(t.state.tr.setSelection(i.qv.create(t.state.doc,n.mightDrag.pos)));else if(e.target&&1==e.target.nodeType){var o=t.docView.nearestDesc(e.target,!0);o&&o.node.type.spec.draggable&&o!=t.docView&&t.dispatch(t.state.tr.setSelection(i.qv.create(t.state.doc,o.posBefore)))}var a=t.state.selection.content(),l=Je(t,a),c=l.dom,u=l.text;e.dataTransfer.clearData(),e.dataTransfer.setData(Gn?"Text":"text/html",c.innerHTML),e.dataTransfer.effectAllowed="copyMove",Gn||e.dataTransfer.setData("text/plain",u),t.dragging=new ti(a,!e[ei])}},_n.dragend=function(t){var e=t.dragging;window.setTimeout((function(){t.dragging==e&&(t.dragging=null)}),50)},xn.dragover=xn.dragenter=function(t,e){return e.preventDefault()},xn.drop=function(t,e){var n=t.dragging;if(t.dragging=null,e.dataTransfer){var o=t.posAtCoords(Cn(e));if(o){var a=t.state.doc.resolve(o.pos);if(a){var l=n&&n.slice;l?t.someProp("transformPasted",(function(t){l=t(l)})):l=tn(t,e.dataTransfer.getData(Gn?"Text":"text/plain"),Gn?null:e.dataTransfer.getData("text/html"),!1,a);var c=n&&!e[ei];if(t.someProp("handleDrop",(function(n){return n(t,e,l||s.p2.empty,c)})))e.preventDefault();else if(l){e.preventDefault();var u=l?(0,r.nj)(t.state.doc,a.pos,l):a.pos;null==u&&(u=a.pos);var h=t.state.tr;c&&h.deleteSelection();var p=h.mapping.map(u),d=0==l.openStart&&0==l.openEnd&&1==l.content.childCount,f=h.doc;if(d?h.replaceRangeWith(p,p,l.content.firstChild):h.replaceRange(p,p,l),!h.doc.eq(f)){var O=h.doc.resolve(p);if(d&&i.qv.isSelectable(l.content.firstChild)&&O.nodeAfter&&O.nodeAfter.sameMarkup(l.content.firstChild))h.setSelection(new i.qv(O));else{var m=h.mapping.map(u);h.mapping.maps[h.mapping.maps.length-1].forEach((function(t,e,n,i){return m=i})),h.setSelection(ke(t,O,h.doc.resolve(m)))}t.focus(),t.dispatch(h.setMeta("uiEvent","drop"))}}}}}},_n.focus=function(t){t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout((function(){t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.root.getSelection())&&ge(t)}),20))},_n.blur=function(t,e){t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),e.relatedTarget&&t.dom.contains(e.relatedTarget)&&t.domObserver.currentSelection.set({}),t.focused=!1)},_n.beforeinput=function(t,e){if(q.chrome&&q.android&&"deleteContentBackward"==e.inputType){t.domObserver.flushSoon();var n=t.domChangeCount;setTimeout((function(){if(t.domChangeCount==n&&(t.dom.blur(),t.focus(),!t.someProp("handleKeyDown",(function(e){return e(t,st(8,"Backspace"))})))){var e=t.state.selection,i=e.$cursor;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())}}),50)}},xn)_n[ni]=xn[ni];function ii(t,e){if(t==e)return!0;for(var n in t)if(t[n]!==e[n])return!1;for(var i in e)if(!(i in t))return!1;return!0}var ri=function(t,e){this.spec=e||ui,this.side=this.spec.side||0,this.toDOM=t};ri.prototype.map=function(t,e,n,i){var r=t.mapResult(e.from+i,this.side<0?-1:1),s=r.pos,o=r.deleted;return o?null:new ai(s-n,s-n,this)},ri.prototype.valid=function(){return!0},ri.prototype.eq=function(t){return this==t||t instanceof ri&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&ii(this.spec,t.spec))},ri.prototype.destroy=function(t){this.spec.destroy&&this.spec.destroy(t)};var si=function(t,e){this.spec=e||ui,this.attrs=t};si.prototype.map=function(t,e,n,i){var r=t.map(e.from+i,this.spec.inclusiveStart?-1:1)-n,s=t.map(e.to+i,this.spec.inclusiveEnd?1:-1)-n;return r>=s?null:new ai(r,s,this)},si.prototype.valid=function(t,e){return e.from<e.to},si.prototype.eq=function(t){return this==t||t instanceof si&&ii(this.attrs,t.attrs)&&ii(this.spec,t.spec)},si.is=function(t){return t.type instanceof si};var oi=function(t,e){this.spec=e||ui,this.attrs=t};oi.prototype.map=function(t,e,n,i){var r=t.mapResult(e.from+i,1);if(r.deleted)return null;var s=t.mapResult(e.to+i,-1);return s.deleted||s.pos<=r.pos?null:new ai(r.pos-n,s.pos-n,this)},oi.prototype.valid=function(t,e){var n,i=t.content.findIndex(e.from),r=i.index,s=i.offset;return s==e.from&&!(n=t.child(r)).isText&&s+n.nodeSize==e.to},oi.prototype.eq=function(t){return this==t||t instanceof oi&&ii(this.attrs,t.attrs)&&ii(this.spec,t.spec)};var ai=function(t,e,n){this.from=t,this.to=e,this.type=n},li={spec:{configurable:!0},inline:{configurable:!0}};ai.prototype.copy=function(t,e){return new ai(t,e,this.type)},ai.prototype.eq=function(t,e){return void 0===e&&(e=0),this.type.eq(t.type)&&this.from+e==t.from&&this.to+e==t.to},ai.prototype.map=function(t,e,n){return this.type.map(t,this,e,n)},ai.widget=function(t,e,n){return new ai(t,t,new ri(e,n))},ai.inline=function(t,e,n,i){return new ai(t,e,new si(n,i))},ai.node=function(t,e,n,i){return new ai(t,e,new oi(n,i))},li.spec.get=function(){return this.type.spec},li.inline.get=function(){return this.type instanceof si},Object.defineProperties(ai.prototype,li);var ci=[],ui={},hi=function(t,e){this.local=t&&t.length?t:ci,this.children=e&&e.length?e:ci};hi.create=function(t,e){return e.length?yi(e,t,0,ui):pi},hi.prototype.find=function(t,e,n){var i=[];return this.findInner(null==t?0:t,null==e?1e9:e,i,0,n),i},hi.prototype.findInner=function(t,e,n,i,r){for(var s=0;s<this.local.length;s++){var o=this.local[s];o.from<=e&&o.to>=t&&(!r||r(o.spec))&&n.push(o.copy(o.from+i,o.to+i))}for(var a=0;a<this.children.length;a+=3)if(this.children[a]<e&&this.children[a+1]>t){var l=this.children[a]+1;this.children[a+2].findInner(t-l,e-l,n,i+l,r)}},hi.prototype.map=function(t,e,n){return this==pi||0==t.maps.length?this:this.mapInner(t,e,0,0,n||ui)},hi.prototype.mapInner=function(t,e,n,i,r){for(var s,o=0;o<this.local.length;o++){var a=this.local[o].map(t,n,i);a&&a.type.valid(e,a)?(s||(s=[])).push(a):r.onRemove&&r.onRemove(this.local[o].spec)}return this.children.length?fi(this.children,s,t,e,n,i,r):s?new hi(s.sort(bi)):pi},hi.prototype.add=function(t,e){return e.length?this==pi?hi.create(t,e):this.addInner(t,e,0):this},hi.prototype.addInner=function(t,e,n){var i,r=this,s=0;t.forEach((function(t,o){var a,l=o+n;if(a=gi(e,t,l)){i||(i=r.children.slice());while(s<i.length&&i[s]<o)s+=3;i[s]==o?i[s+2]=i[s+2].addInner(t,a,l+1):i.splice(s,0,o,o+t.nodeSize,yi(a,t,l+1,ui)),s+=3}}));for(var o=Oi(s?vi(e):e,-n),a=0;a<o.length;a++)o[a].type.valid(t,o[a])||o.splice(a--,1);return new hi(o.length?this.local.concat(o).sort(bi):this.local,i||this.children)},hi.prototype.remove=function(t){return 0==t.length||this==pi?this:this.removeInner(t,0)},hi.prototype.removeInner=function(t,e){for(var n=this.children,i=this.local,r=0;r<n.length;r+=3){for(var s=void 0,o=n[r]+e,a=n[r+1]+e,l=0,c=void 0;l<t.length;l++)(c=t[l])&&c.from>o&&c.to<a&&(t[l]=null,(s||(s=[])).push(c));if(s){n==this.children&&(n=this.children.slice());var u=n[r+2].removeInner(s,o+1);u!=pi?n[r+2]=u:(n.splice(r,3),r-=3)}}if(i.length)for(var h=0,p=void 0;h<t.length;h++)if(p=t[h])for(var d=0;d<i.length;d++)i[d].eq(p,e)&&(i==this.local&&(i=this.local.slice()),i.splice(d--,1));return n==this.children&&i==this.local?this:i.length||n.length?new hi(i,n):pi},hi.prototype.forChild=function(t,e){if(this==pi)return this;if(e.isLeaf)return hi.empty;for(var n,i,r=0;r<this.children.length;r+=3)if(this.children[r]>=t){this.children[r]==t&&(n=this.children[r+2]);break}for(var s=t+1,o=s+e.content.size,a=0;a<this.local.length;a++){var l=this.local[a];if(l.from<o&&l.to>s&&l.type instanceof si){var c=Math.max(s,l.from)-s,u=Math.min(o,l.to)-s;c<u&&(i||(i=[])).push(l.copy(c,u))}}if(i){var h=new hi(i.sort(bi));return n?new di([h,n]):h}return n||pi},hi.prototype.eq=function(t){if(this==t)return!0;if(!(t instanceof hi)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(var e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1;for(var n=0;n<this.children.length;n+=3)if(this.children[n]!=t.children[n]||this.children[n+1]!=t.children[n+1]||!this.children[n+2].eq(t.children[n+2]))return!1;return!0},hi.prototype.locals=function(t){return _i(this.localsInner(t))},hi.prototype.localsInner=function(t){if(this==pi)return ci;if(t.inlineContent||!this.local.some(si.is))return this.local;for(var e=[],n=0;n<this.local.length;n++)this.local[n].type instanceof si||e.push(this.local[n]);return e};var pi=new hi;hi.empty=pi,hi.removeOverlap=_i;var di=function(t){this.members=t};function fi(t,e,n,i,r,s,o){for(var a=t.slice(),l=function(t,e,n,i){for(var o=0;o<a.length;o+=3){var l=a[o+1],c=void 0;-1==l||t>l+s||(e>=a[o]+s?a[o+1]=-1:n>=r&&(c=i-n-(e-t))&&(a[o]+=c,a[o+1]+=c))}},c=0;c<n.maps.length;c++)n.maps[c].forEach(l);for(var u=!1,h=0;h<a.length;h+=3)if(-1==a[h+1]){var p=n.map(t[h]+s),d=p-r;if(d<0||d>=i.content.size){u=!0;continue}var f=n.map(t[h+1]+s,-1),O=f-r,m=i.content.findIndex(d),g=m.index,v=m.offset,y=i.maybeChild(g);if(y&&v==d&&v+y.nodeSize==O){var b=a[h+2].mapInner(n,y,p+1,t[h]+s+1,o);b!=pi?(a[h]=d,a[h+1]=O,a[h+2]=b):(a[h+1]=-2,u=!0)}else u=!0}if(u){var _=mi(a,t,e||[],n,r,s,o),x=yi(_,i,0,o);e=x.local;for(var w=0;w<a.length;w+=3)a[w+1]<0&&(a.splice(w,3),w-=3);for(var $=0,S=0;$<x.children.length;$+=3){var k=x.children[$];while(S<a.length&&a[S]<k)S+=3;a.splice(S,0,x.children[$],x.children[$+1],x.children[$+2])}}return new hi(e&&e.sort(bi),a)}function Oi(t,e){if(!e||!t.length)return t;for(var n=[],i=0;i<t.length;i++){var r=t[i];n.push(new ai(r.from+e,r.to+e,r.type))}return n}function mi(t,e,n,i,r,s,o){function a(t,e){for(var s=0;s<t.local.length;s++){var l=t.local[s].map(i,r,e);l?n.push(l):o.onRemove&&o.onRemove(t.local[s].spec)}for(var c=0;c<t.children.length;c+=3)a(t.children[c+2],t.children[c]+e+1)}for(var l=0;l<t.length;l+=3)-1==t[l+1]&&a(t[l+2],e[l]+s+1);return n}function gi(t,e,n){if(e.isLeaf)return null;for(var i=n+e.nodeSize,r=null,s=0,o=void 0;s<t.length;s++)(o=t[s])&&o.from>n&&o.to<i&&((r||(r=[])).push(o),t[s]=null);return r}function vi(t){for(var e=[],n=0;n<t.length;n++)null!=t[n]&&e.push(t[n]);return e}function yi(t,e,n,i){var r=[],s=!1;e.forEach((function(e,o){var a=gi(t,e,o+n);if(a){s=!0;var l=yi(a,e,n+o+1,i);l!=pi&&r.push(o,o+e.nodeSize,l)}}));for(var o=Oi(s?vi(t):t,-n).sort(bi),a=0;a<o.length;a++)o[a].type.valid(e,o[a])||(i.onRemove&&i.onRemove(o[a].spec),o.splice(a--,1));return o.length||r.length?new hi(o,r):pi}function bi(t,e){return t.from-e.from||t.to-e.to}function _i(t){for(var e=t,n=0;n<e.length-1;n++){var i=e[n];if(i.from!=i.to)for(var r=n+1;r<e.length;r++){var s=e[r];if(s.from!=i.from){s.from<i.to&&(e==t&&(e=t.slice()),e[n]=i.copy(i.from,s.from),xi(e,r,i.copy(s.from,i.to)));break}s.to!=i.to&&(e==t&&(e=t.slice()),e[r]=s.copy(s.from,i.to),xi(e,r+1,s.copy(i.to,s.to)))}}return e}function xi(t,e,n){while(e<t.length&&bi(n,t[e])>0)e++;t.splice(e,0,n)}function wi(t){var e=[];return t.someProp("decorations",(function(n){var i=n(t.state);i&&i!=pi&&e.push(i)})),t.cursorWrapper&&e.push(hi.create(t.state.doc,[t.cursorWrapper.deco])),di.from(e)}di.prototype.map=function(t,e){var n=this.members.map((function(n){return n.map(t,e,ui)}));return di.from(n)},di.prototype.forChild=function(t,e){if(e.isLeaf)return hi.empty;for(var n=[],i=0;i<this.members.length;i++){var r=this.members[i].forChild(t,e);r!=pi&&(r instanceof di?n=n.concat(r.members):n.push(r))}return di.from(n)},di.prototype.eq=function(t){if(!(t instanceof di)||t.members.length!=this.members.length)return!1;for(var e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))return!1;return!0},di.prototype.locals=function(t){for(var e,n=!0,i=0;i<this.members.length;i++){var r=this.members[i].localsInner(t);if(r.length)if(e){n&&(e=e.slice(),n=!1);for(var s=0;s<r.length;s++)e.push(r[s])}else e=r}return e?_i(n?e:e.sort(bi)):ci},di.from=function(t){switch(t.length){case 0:return pi;case 1:return t[0];default:return new di(t)}};var $i=function(t,e){this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(Ei),this.dispatch=this.dispatch.bind(this),this._root=null,this.focused=!1,this.trackWrites=null,this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):t.apply?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=Ti(this),this.markCursor=null,this.cursorWrapper=null,Qi(this),this.nodeViews=Ci(this),this.docView=Yt(this.state.doc,ki(this),wi(this),this.dom,this),this.lastSelectedViewDesc=null,this.dragging=null,wn(this),this.prevDirectPlugins=[],this.pluginViews=[],this.updatePluginViews()},Si={props:{configurable:!0},root:{configurable:!0},isDestroyed:{configurable:!0}};function ki(t){var e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),e.translate="no",t.someProp("attributes",(function(n){if("function"==typeof n&&(n=n(t.state)),n)for(var i in n)"class"==i&&(e.class+=" "+n[i]),"style"==i?e.style=(e.style?e.style+";":"")+n[i]:e[i]||"contenteditable"==i||"nodeName"==i||(e[i]=String(n[i]))})),[ai.node(0,t.state.doc.content.size,e)]}function Qi(t){if(t.markCursor){var e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),t.cursorWrapper={dom:e,deco:ai.widget(t.state.selection.head,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Ti(t){return!t.someProp("editable",(function(e){return!1===e(t.state)}))}function Pi(t,e){var n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Ci(t){var e={};return t.someProp("nodeViews",(function(t){for(var n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])})),e}function Ai(t,e){var n=0,i=0;for(var r in t){if(t[r]!=e[r])return!0;n++}for(var s in e)i++;return n!=i}function Ei(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}Si.props.get=function(){if(this._props.state!=this.state){var t=this._props;for(var e in this._props={},t)this._props[e]=t[e];this._props.state=this.state}return this._props},$i.prototype.update=function(t){t.handleDOMEvents!=this._props.handleDOMEvents&&kn(this),this._props=t,t.plugins&&(t.plugins.forEach(Ei),this.directPlugins=t.plugins),this.updateStateInner(t.state,!0)},$i.prototype.setProps=function(t){var e={};for(var n in this._props)e[n]=this._props[n];for(var i in e.state=this.state,t)e[i]=t[i];this.update(e)},$i.prototype.updateState=function(t){this.updateStateInner(t,this.state.plugins!=t.plugins)},$i.prototype.updateStateInner=function(t,e){var n=this,r=this.state,s=!1,o=!1;if(t.storedMarks&&this.composing&&(Bn(this),o=!0),this.state=t,e){var a=Ci(this);Ai(a,this.nodeViews)&&(this.nodeViews=a,s=!0),kn(this)}this.editable=Ti(this),Qi(this);var l=wi(this),c=ki(this),u=e?"reset":t.scrollToSelection>r.scrollToSelection?"to selection":"preserve",h=s||!this.docView.matchesNode(t.doc,c,l);!h&&t.selection.eq(r.selection)||(o=!0);var p="preserve"==u&&o&&null==this.dom.style.overflowAnchor&&ut(this);if(o){this.domObserver.stop();var d=h&&(q.ie||q.chrome)&&!this.composing&&!r.selection.empty&&!t.selection.empty&&Pi(r.selection,t.selection);if(h){var f=q.chrome?this.trackWrites=this.root.getSelection().focusNode:null;!s&&this.docView.update(t.doc,c,l,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=Yt(t.doc,c,l,this.dom,this)),f&&!this.trackWrites&&(d=!0)}d||!(this.mouseDown&&this.domObserver.currentSelection.eq(this.root.getSelection())&&Pe(this))?ge(this,d):($e(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}if(this.updatePluginViews(r),"reset"==u)this.dom.scrollTop=0;else if("to selection"==u){var O=this.root.getSelection().focusNode;this.someProp("handleScrollToSelection",(function(t){return t(n)}))||(t.selection instanceof i.qv?ct(this,this.docView.domAfterPos(t.selection.from).getBoundingClientRect(),O):ct(this,this.coordsAtPos(t.selection.head,1),O))}else p&&pt(p)},$i.prototype.destroyPluginViews=function(){var t;while(t=this.pluginViews.pop())t.destroy&&t.destroy()},$i.prototype.updatePluginViews=function(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(var e=0;e<this.pluginViews.length;e++){var n=this.pluginViews[e];n.update&&n.update(this,t)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(var i=0;i<this.directPlugins.length;i++){var r=this.directPlugins[i];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(var s=0;s<this.state.plugins.length;s++){var o=this.state.plugins[s];o.spec.view&&this.pluginViews.push(o.spec.view(this))}}},$i.prototype.someProp=function(t,e){var n,i=this._props&&this._props[t];if(null!=i&&(n=e?e(i):i))return n;for(var r=0;r<this.directPlugins.length;r++){var s=this.directPlugins[r].props[t];if(null!=s&&(n=e?e(s):s))return n}var o=this.state.plugins;if(o)for(var a=0;a<o.length;a++){var l=o[a].props[t];if(null!=l&&(n=e?e(l):l))return n}},$i.prototype.hasFocus=function(){return this.root.activeElement==this.dom},$i.prototype.focus=function(){this.domObserver.stop(),this.editable&&Ot(this.dom),ge(this),this.domObserver.start()},Si.root.get=function(){var t=this._root;if(null==t)for(var e=this.dom.parentNode;e;e=e.parentNode)if(9==e.nodeType||11==e.nodeType&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=function(){return document.getSelection()}),this._root=e;return t||document},$i.prototype.posAtCoords=function(t){return wt(this,t)},$i.prototype.coordsAtPos=function(t,e){return void 0===e&&(e=1),kt(this,t,e)},$i.prototype.domAtPos=function(t,e){return void 0===e&&(e=0),this.docView.domFromPos(t,e)},$i.prototype.nodeDOM=function(t){var e=this.docView.descAt(t);return e?e.nodeDOM:null},$i.prototype.posAtDOM=function(t,e,n){void 0===n&&(n=-1);var i=this.docView.posFromDOM(t,e,n);if(null==i)throw new RangeError("DOM position not inside the editor");return i},$i.prototype.endOfTextblock=function(t,e){return zt(this,e||this.state,t)},$i.prototype.destroy=function(){this.docView&&(Sn(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],wi(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)},Si.isDestroyed.get=function(){return null==this.docView},$i.prototype.dispatchEvent=function(t){return Pn(this,t)},$i.prototype.dispatch=function(t){var e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))},Object.defineProperties($i.prototype,Si);var Ri=n(33952),Mi="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function Di(t){var e,n,i,r,s=t.split(/-(?!$)/),o=s[s.length-1];"Space"==o&&(o=" ");for(var a=0;a<s.length-1;a++){var l=s[a];if(/^(cmd|meta|m)$/i.test(l))r=!0;else if(/^a(lt)?$/i.test(l))e=!0;else if(/^(c|ctrl|control)$/i.test(l))n=!0;else if(/^s(hift)?$/i.test(l))i=!0;else{if(!/^mod$/i.test(l))throw new Error("Unrecognized modifier name: "+l);Mi?r=!0:n=!0}}return e&&(o="Alt-"+o),n&&(o="Ctrl-"+o),r&&(o="Meta-"+o),i&&(o="Shift-"+o),o}function zi(t){var e=Object.create(null);for(var n in t)e[Di(n)]=t[n];return e}function ji(t,e,n){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),!1!==n&&e.shiftKey&&(t="Shift-"+t),t}function Zi(t){return new i.Sy({props:{handleKeyDown:Vi(t)}})}function Vi(t){var e=zi(t);return function(t,n){var i,r=(0,Ri.YG)(n),s=1==r.length&&" "!=r,o=e[ji(r,n,!s)];if(o&&o(t.state,t.dispatch,t))return!0;if(s&&(n.shiftKey||n.altKey||n.metaKey||r.charCodeAt(0)>127)&&(i=Ri.ue[n.keyCode])&&i!=r){var a=e[ji(i,n,!0)];if(a&&a(t.state,t.dispatch,t))return!0}else if(s&&n.shiftKey){var l=e[ji(r,n,!0)];if(l&&l(t.state,t.dispatch,t))return!0}return!1}}function Xi(t){return Object.prototype.toString.call(t).slice(8,-1)}function Wi(t){return"Object"===Xi(t)&&(t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype)}function qi(t,e){const n={...t};return Wi(t)&&Wi(e)&&Object.keys(e).forEach((i=>{Wi(e[i])?i in t?n[i]=qi(t[i],e[i]):Object.assign(n,{[i]:e[i]}):Object.assign(n,{[i]:e[i]})})),n}function Ii(t){return"function"===typeof t}function Ni(t,e,...n){return Ii(t)?e?t.bind(e)(...n):t(...n):t}function Li(t,e,n){if(void 0===t.config[e]&&t.parent)return Li(t.parent,e,n);if("function"===typeof t.config[e]){const i=t.config[e].bind({...n,parent:t.parent?Li(t.parent,e,n):null});return i}return t.config[e]}class Bi{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&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&&(this.options=Ni(Li(this,"addOptions",{name:this.name}))),this.storage=Ni(Li(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Bi(t)}configure(t={}){const e=this.extend();return e.options=qi(this.options,t),e.storage=Ni(Li(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Bi(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=Ni(Li(e,"addOptions",{name:e.name})),e.storage=Ni(Li(e,"addStorage",{name:e.name,options:e.options})),e}}function Ui(t,e,n){const{from:i,to:r}=e,{blockSeparator:s="\n\n",textSerializers:o={}}=n||{};let a="",l=!0;return t.nodesBetween(i,r,((t,e,n,c)=>{var u;const h=null===o||void 0===o?void 0:o[t.type.name];h?(t.isBlock&&!l&&(a+=s,l=!0),a+=h({node:t,pos:e,parent:n,index:c})):t.isText?(a+=null===(u=null===t||void 0===t?void 0:t.text)||void 0===u?void 0:u.slice(Math.max(i,e)-e,r-e),l=!1):t.isBlock&&!l&&(a+=s,l=!0)})),a}function Yi(t){return Object.fromEntries(Object.entries(t.nodes).filter((([,t])=>t.spec.toText)).map((([t,e])=>[t,e.spec.toText])))}const Fi=Bi.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new i.Sy({key:new i.H$("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:i,selection:r}=e,{ranges:s}=r,o=Math.min(...s.map((t=>t.$from.pos))),a=Math.max(...s.map((t=>t.$to.pos))),l=Yi(n),c={from:o,to:a};return Ui(i,c,{textSerializers:l})}}})]}}),Gi=()=>({editor:t,view:e})=>(requestAnimationFrame((()=>{var n;t.isDestroyed||(e.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0);var Hi=Object.freeze({__proto__:null,blur:Gi});const Ki=(t=!1)=>({commands:e})=>e.setContent("",t);var Ji=Object.freeze({__proto__:null,clearContent:Ki});const tr=()=>({state:t,tr:e,dispatch:n})=>{const{selection:i}=e,{ranges:s}=i;return!n||(s.forEach((({$from:n,$to:i})=>{t.doc.nodesBetween(n.pos,i.pos,((t,n)=>{if(t.type.isText)return;const{doc:i,mapping:s}=e,o=i.resolve(s.map(n)),a=i.resolve(s.map(n+t.nodeSize)),l=o.blockRange(a);if(!l)return;const c=(0,r.k9)(l);if(t.type.isTextblock){const{defaultType:t}=o.parent.contentMatchAt(o.index());e.setNodeMarkup(l.start,t)}(c||0===c)&&e.lift(l,c)}))})),!0)};var er=Object.freeze({__proto__:null,clearNodes:tr});const nr=t=>e=>t(e);var ir=Object.freeze({__proto__:null,command:nr});const rr=()=>({state:t,dispatch:e})=>v(t,e);var sr=Object.freeze({__proto__:null,createParagraphNear:rr});function or(t,e){if("string"===typeof t){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}const ar=t=>({tr:e,state:n,dispatch:i})=>{const r=or(t,n.schema),s=e.selection.$anchor;for(let t=s.depth;t>0;t-=1){const n=s.node(t);if(n.type===r){if(i){const n=s.before(t),i=s.after(t);e.delete(n,i).scrollIntoView()}return!0}}return!1};var lr=Object.freeze({__proto__:null,deleteNode:ar});const cr=t=>({tr:e,dispatch:n})=>{const{from:i,to:r}=t;return n&&e.delete(i,r),!0};var ur=Object.freeze({__proto__:null,deleteRange:cr});const hr=()=>({state:t,dispatch:e})=>o(t,e);var pr=Object.freeze({__proto__:null,deleteSelection:hr});const dr=()=>({commands:t})=>t.keyboardShortcut("Enter");var fr=Object.freeze({__proto__:null,enter:dr});const Or=()=>({state:t,dispatch:e})=>g(t,e);var mr=Object.freeze({__proto__:null,exitCode:Or});function gr(t,e){if("string"===typeof t){if(!e.marks[t])throw Error(`There is no mark type named '${t}'. Maybe you forgot to add the extension?`);return e.marks[t]}return t}function vr(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function yr(t,e,n={strict:!0}){const i=Object.keys(e);return!i.length||i.every((i=>n.strict?e[i]===t[i]:vr(e[i])?e[i].test(t[i]):e[i]===t[i]))}function br(t,e,n={}){return t.find((t=>t.type===e&&yr(t.attrs,n)))}function _r(t,e,n={}){return!!br(t,e,n)}function xr(t,e,n={}){if(!t||!e)return;const i=t.parent.childAfter(t.parentOffset);if(!i.node)return;const r=br(i.node.marks,e,n);if(!r)return;let s=t.index(),o=t.start()+i.offset,a=s+1,l=o+i.node.nodeSize;br(i.node.marks,e,n);while(s>0&&r.isInSet(t.parent.child(s-1).marks))s-=1,o-=t.parent.child(s).nodeSize;while(a<t.parent.childCount&&_r(t.parent.child(a).marks,e,n))l+=t.parent.child(a).nodeSize,a+=1;return{from:o,to:l}}const wr=(t,e={})=>({tr:n,state:r,dispatch:s})=>{const o=gr(t,r.schema),{doc:a,selection:l}=n,{$from:c,from:u,to:h}=l;if(s){const t=xr(c,o,e);if(t&&t.from<=u&&t.to>=h){const e=i.Bs.create(a,t.from,t.to);n.setSelection(e)}}return!0};var $r=Object.freeze({__proto__:null,extendMarkRange:wr});const Sr=t=>e=>{const n="function"===typeof t?t(e):t;for(let t=0;t<n.length;t+=1)if(n[t](e))return!0;return!1};var kr=Object.freeze({__proto__:null,first:Sr});function Qr(t){var e;return"class"===(null===(e=t.constructor)||void 0===e?void 0:e.toString().substring(0,5))}function Tr(t){return t&&"object"===typeof t&&!Array.isArray(t)&&!Qr(t)}function Pr(t){return Tr(t)&&t instanceof i.Bs}function Cr(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function Ar(t=0,e=0,n=0){return Math.min(Math.max(t,e),n)}function Er(t,e=null){if(!e)return null;if("start"===e||!0===e)return i.Y1.atStart(t);if("end"===e)return i.Y1.atEnd(t);if("all"===e)return i.Bs.create(t,0,t.content.size);const n=i.Y1.atStart(t).from,r=i.Y1.atEnd(t).to,s=Ar(e,n,r),o=Ar(e,n,r);return i.Bs.create(t,s,o)}const Rr=(t=null,e)=>({editor:n,view:i,tr:r,dispatch:s})=>{e={scrollIntoView:!0,...e};const o=()=>{Cr()&&i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null===e||void 0===e?void 0:e.scrollIntoView)&&n.commands.scrollIntoView())}))};if(i.hasFocus()&&null===t||!1===t)return!0;if(s&&null===t&&!Pr(n.state.selection))return o(),!0;const a=Er(n.state.doc,t)||n.state.selection,l=n.state.selection.eq(a);return s&&(l||r.setSelection(a),l&&r.storedMarks&&r.setStoredMarks(r.storedMarks),o()),!0};var Mr=Object.freeze({__proto__:null,focus:Rr});const Dr=(t,e)=>n=>t.every(((t,i)=>e(t,{...n,index:i})));var zr=Object.freeze({__proto__:null,forEach:Dr});const jr=(t,e)=>({tr:n,commands:i})=>i.insertContentAt({from:n.selection.from,to:n.selection.to},t,e);var Zr=Object.freeze({__proto__:null,insertContent:jr});function Vr(t){const e=`<body>${t}</body>`;return(new window.DOMParser).parseFromString(e,"text/html").body}function Xr(t,e,n){if(n={slice:!0,parseOptions:{},...n},"object"===typeof t&&null!==t)try{return Array.isArray(t)?s.HY.fromArray(t.map((t=>e.nodeFromJSON(t)))):e.nodeFromJSON(t)}catch(i){return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),Xr("",e,n)}if("string"===typeof t){const i=s.aw.fromSchema(e);return n.slice?i.parseSlice(Vr(t),n.parseOptions).content:i.parse(Vr(t),n.parseOptions)}return Xr("",e,n)}function Wr(t,e,n){const s=t.steps.length-1;if(s<e)return;const o=t.steps[s];if(!(o instanceof r.Pu||o instanceof r.FC))return;const a=t.mapping.maps[s];let l=0;a.forEach(((t,e,n,i)=>{0===l&&(l=i)})),t.setSelection(i.Y1.near(t.doc.resolve(l),n))}const qr=t=>t.toString().startsWith("<"),Ir=(t,e,n)=>({tr:i,dispatch:r,editor:s})=>{if(r){n={parseOptions:{},updateSelection:!0,...n};const r=Xr(e,s.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions}});if("<>"===r.toString())return!0;let{from:o,to:a}="number"===typeof t?{from:t,to:t}:t,l=!0,c=!0;const u=qr(r)?r:[r];if(u.forEach((t=>{t.check(),l=!!l&&(t.isText&&0===t.marks.length),c=!!c&&t.isBlock})),o===a&&c){const{parent:t}=i.doc.resolve(o),e=t.isTextblock&&!t.type.spec.code&&!t.childCount;e&&(o-=1,a+=1)}l?i.insertText(e,o,a):i.replaceWith(o,a,r),n.updateSelection&&Wr(i,i.steps.length-1,-1)}return!0};var Nr=Object.freeze({__proto__:null,insertContentAt:Ir});const Lr=()=>({state:t,dispatch:e})=>a(t,e);var Br=Object.freeze({__proto__:null,joinBackward:Lr});const Ur=()=>({state:t,dispatch:e})=>h(t,e);var Yr=Object.freeze({__proto__:null,joinForward:Ur});const Fr="undefined"!==typeof navigator&&/Mac/.test(navigator.platform);function Gr(t){const e=t.split(/-(?!$)/);let n,i,r,s,o=e[e.length-1];"Space"===o&&(o=" ");for(let a=0;a<e.length-1;a+=1){const t=e[a];if(/^(cmd|meta|m)$/i.test(t))s=!0;else if(/^a(lt)?$/i.test(t))n=!0;else if(/^(c|ctrl|control)$/i.test(t))i=!0;else if(/^s(hift)?$/i.test(t))r=!0;else{if(!/^mod$/i.test(t))throw new Error(`Unrecognized modifier name: ${t}`);Fr?s=!0:i=!0}}return n&&(o=`Alt-${o}`),i&&(o=`Ctrl-${o}`),s&&(o=`Meta-${o}`),r&&(o=`Shift-${o}`),o}const Hr=t=>({editor:e,view:n,tr:i,dispatch:r})=>{const s=Gr(t).split(/-(?!$)/),o=s.find((t=>!["Alt","Ctrl","Meta","Shift"].includes(t))),a=new KeyboardEvent("keydown",{key:"Space"===o?" ":o,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction((()=>{n.someProp("handleKeyDown",(t=>t(n,a)))}));return null===l||void 0===l||l.steps.forEach((t=>{const e=t.map(i.mapping);e&&r&&i.maybeStep(e)})),!0};var Kr=Object.freeze({__proto__:null,keyboardShortcut:Hr});function Jr(t,e,n={}){const{from:i,to:r,empty:s}=t.selection,o=e?or(e,t.schema):null,a=[];t.doc.nodesBetween(i,r,((t,e)=>{if(t.isText)return;const n=Math.max(i,e),s=Math.min(r,e+t.nodeSize);a.push({node:t,from:n,to:s})}));const l=r-i,c=a.filter((t=>!o||o.name===t.node.type.name)).filter((t=>yr(t.node.attrs,n,{strict:!1})));if(s)return!!c.length;const u=c.reduce(((t,e)=>t+e.to-e.from),0);return u>=l}const ts=(t,e={})=>({state:n,dispatch:i})=>{const r=or(t,n.schema),s=Jr(n,r,e);return!!s&&f(n,i)};var es=Object.freeze({__proto__:null,lift:ts});const ns=()=>({state:t,dispatch:e})=>y(t,e);var is=Object.freeze({__proto__:null,liftEmptyBlock:ns});const rs=t=>({state:e,dispatch:n})=>{const i=or(t,e.schema);return Z(i)(e,n)};var ss=Object.freeze({__proto__:null,liftListItem:rs});const as=()=>({state:t,dispatch:e})=>O(t,e);var ls=Object.freeze({__proto__:null,newlineInCode:as});function cs(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function us(t,e){const n="string"===typeof e?[e]:e;return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}const hs=(t,e)=>({tr:n,state:i,dispatch:r})=>{let s=null,o=null;const a=cs("string"===typeof t?t:t.name,i.schema);return!!a&&("node"===a&&(s=or(t,i.schema)),"mark"===a&&(o=gr(t,i.schema)),r&&n.selection.ranges.forEach((t=>{i.doc.nodesBetween(t.$from.pos,t.$to.pos,((t,i)=>{s&&s===t.type&&n.setNodeMarkup(i,void 0,us(t.attrs,e)),o&&t.marks.length&&t.marks.forEach((r=>{o===r.type&&n.addMark(i,i+t.nodeSize,o.create(us(r.attrs,e)))}))}))})),!0)};var ps=Object.freeze({__proto__:null,resetAttributes:hs});const ds=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0);var fs=Object.freeze({__proto__:null,scrollIntoView:ds});const Os=()=>({tr:t,commands:e})=>e.setTextSelection({from:0,to:t.doc.content.size});var ms=Object.freeze({__proto__:null,selectAll:Os});const gs=()=>({state:t,dispatch:e})=>c(t,e);var vs=Object.freeze({__proto__:null,selectNodeBackward:gs});const ys=()=>({state:t,dispatch:e})=>p(t,e);var bs=Object.freeze({__proto__:null,selectNodeForward:ys});const _s=()=>({state:t,dispatch:e})=>_(t,e);var xs=Object.freeze({__proto__:null,selectParentNode:_s});function ws(t,e,n={}){return Xr(t,e,{slice:!1,parseOptions:n})}const $s=(t,e=!1,n={})=>({tr:r,editor:s,dispatch:o})=>{const{doc:a}=r,l=ws(t,s.schema,n),c=i.Bs.create(a,0,a.content.size);return o&&r.setSelection(c).replaceSelectionWith(l,!1).setMeta("preventUpdate",!e),!0};var Ss=Object.freeze({__proto__:null,setContent:$s});function ks(t,e){const n=gr(e,t.schema),{from:i,to:r,empty:s}=t.selection,o=[];s?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(i,r,(t=>{o.push(...t.marks)}));const a=o.find((t=>t.type.name===n.name));return a?{...a.attrs}:{}}const Qs=(t,e={})=>({tr:n,state:i,dispatch:r})=>{const{selection:s}=n,{empty:o,ranges:a}=s,l=gr(t,i.schema);if(r)if(o){const t=ks(i,l);n.addStoredMark(l.create({...t,...e}))}else a.forEach((t=>{const r=t.$from.pos,s=t.$to.pos;i.doc.nodesBetween(r,s,((t,i)=>{const o=Math.max(i,r),a=Math.min(i+t.nodeSize,s),c=t.marks.find((t=>t.type===l));c?t.marks.forEach((t=>{l===t.type&&n.addMark(o,a,l.create({...t.attrs,...e}))})):n.addMark(o,a,l.create(e))}))}));return!0};var Ts=Object.freeze({__proto__:null,setMark:Qs});const Ps=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0);var Cs=Object.freeze({__proto__:null,setMeta:Ps});const As=(t,e={})=>({state:n,dispatch:i,chain:r})=>{const s=or(t,n.schema);return s.isTextblock?r().command((({commands:t})=>{const i=P(s,e)(n);return!!i||t.clearNodes()})).command((({state:t})=>P(s,e)(t,i))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)};var Es=Object.freeze({__proto__:null,setNode:As});const Rs=t=>({tr:e,dispatch:n})=>{if(n){const{doc:n}=e,r=i.Y1.atStart(n).from,s=i.Y1.atEnd(n).to,o=Ar(t,r,s),a=i.qv.create(n,o);e.setSelection(a)}return!0};var Ms=Object.freeze({__proto__:null,setNodeSelection:Rs});const Ds=t=>({tr:e,dispatch:n})=>{if(n){const{doc:n}=e,{from:r,to:s}="number"===typeof t?{from:t,to:t}:t,o=i.Y1.atStart(n).from,a=i.Y1.atEnd(n).to,l=Ar(r,o,a),c=Ar(s,o,a),u=i.Bs.create(n,l,c);e.setSelection(u)}return!0};var zs=Object.freeze({__proto__:null,setTextSelection:Ds});const js=t=>({state:e,dispatch:n})=>{const i=or(t,e.schema);return W(i)(e,n)};var Zs=Object.freeze({__proto__:null,sinkListItem:js});function Vs(t,e,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const i=t.find((t=>t.type===e&&t.name===n));return!!i&&i.attribute.keepOnSplit})))}function Xs(t){for(let e=0;e<t.edgeCount;e+=1){const{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function Ws(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const i=n.filter((t=>null===e||void 0===e?void 0:e.includes(t.type.name)));t.tr.ensureMarks(i)}}const qs=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:s,editor:o})=>{const{selection:a,doc:l}=e,{$from:c,$to:u}=a,h=o.extensionManager.attributes,p=Vs(h,c.node().type.name,c.node().attrs);if(a instanceof i.qv&&a.node.isBlock)return!(!c.parentOffset||!(0,r.Ax)(l,c.pos))&&(s&&(t&&Ws(n,o.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;if(s){const s=u.parentOffset===u.parent.content.size;a instanceof i.Bs&&e.deleteSelection();const l=0===c.depth?void 0:Xs(c.node(-1).contentMatchAt(c.indexAfter(-1)));let h=s&&l?[{type:l,attrs:p}]:void 0,d=(0,r.Ax)(e.doc,e.mapping.map(c.pos),1,h);if(h||d||!(0,r.Ax)(e.doc,e.mapping.map(c.pos),1,l?[{type:l}]:void 0)||(d=!0,h=l?[{type:l,attrs:p}]:void 0),d&&(e.split(e.mapping.map(c.pos),1,h),l&&!s&&!c.parentOffset&&c.parent.type!==l)){const t=e.mapping.map(c.before()),n=e.doc.resolve(t);c.node(-1).canReplaceWith(n.index(),n.index()+1,l)&&e.setNodeMarkup(e.mapping.map(c.before()),l)}t&&Ws(n,o.extensionManager.splittableMarks),e.scrollIntoView()}return!0};var Is=Object.freeze({__proto__:null,splitBlock:qs});const Ns=t=>({tr:e,state:n,dispatch:o,editor:a})=>{var l;const c=or(t,n.schema),{$from:u,$to:h}=n.selection,p=n.selection.node;if(p&&p.isBlock||u.depth<2||!u.sameParent(h))return!1;const d=u.node(-1);if(d.type!==c)return!1;const f=a.extensionManager.attributes;if(0===u.parent.content.size&&u.node(-1).childCount===u.indexAfter(-1)){if(2===u.depth||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(o){let t=s.HY.empty;const n=u.index(-1)?1:u.index(-2)?2:3;for(let e=u.depth-n;e>=u.depth-3;e-=1)t=s.HY.from(u.node(e).copy(t));const r=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3,o=Vs(f,u.node().type.name,u.node().attrs),a=(null===(l=c.contentMatch.defaultType)||void 0===l?void 0:l.createAndFill(o))||void 0;t=t.append(s.HY.from(c.createAndFill(null,a)||void 0));const h=u.before(u.depth-(n-1));e.replace(h,u.after(-r),new s.p2(t,4-n,0));let p=-1;e.doc.nodesBetween(h,e.doc.content.size,((t,e)=>{if(p>-1)return!1;t.isTextblock&&0===t.content.size&&(p=e+1)})),p>-1&&e.setSelection(i.Bs.near(e.doc.resolve(p))),e.scrollIntoView()}return!0}const O=h.pos===u.end()?d.contentMatchAt(0).defaultType:null,m=Vs(f,d.type.name,d.attrs),g=Vs(f,u.node().type.name,u.node().attrs);e.delete(u.pos,h.pos);const v=O?[{type:c,attrs:m},{type:O,attrs:g}]:[{type:c,attrs:m}];return!!(0,r.Ax)(e.doc,u.pos,2)&&(o&&e.split(u.pos,2,v).scrollIntoView(),!0)};var Ls=Object.freeze({__proto__:null,splitListItem:Ns});function Bs(t,e){for(let n=t.depth;n>0;n-=1){const i=t.node(n);if(e(i))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:i}}}function Us(t){return e=>Bs(e.$from,t)}function Ys(t){const e=t.filter((t=>"extension"===t.type)),n=t.filter((t=>"node"===t.type)),i=t.filter((t=>"mark"===t.type));return{baseExtensions:e,nodeExtensions:n,markExtensions:i}}function Fs(t,e){const{nodeExtensions:n}=Ys(e),i=n.find((e=>e.name===t));if(!i)return!1;const r={name:i.name,options:i.options,storage:i.storage},s=Ni(Li(i,"group",r));return"string"===typeof s&&s.split(" ").includes("list")}const Gs=(t,e)=>{const n=Us((t=>t.type===e))(t.selection);if(!n)return!0;const i=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===i)return!0;const s=t.doc.nodeAt(i),o=n.node.type===(null===s||void 0===s?void 0:s.type)&&(0,r.Mn)(t.doc,n.pos);return!o||(t.join(n.pos),!0)},Hs=(t,e)=>{const n=Us((t=>t.type===e))(t.selection);if(!n)return!0;const i=t.doc.resolve(n.start).after(n.depth);if(void 0===i)return!0;const s=t.doc.nodeAt(i),o=n.node.type===(null===s||void 0===s?void 0:s.type)&&(0,r.Mn)(t.doc,i);return!o||(t.join(i),!0)},Ks=(t,e)=>({editor:n,tr:i,state:r,dispatch:s,chain:o,commands:a,can:l})=>{const{extensions:c}=n.extensionManager,u=or(t,r.schema),h=or(e,r.schema),{selection:p}=r,{$from:d,$to:f}=p,O=d.blockRange(f);if(!O)return!1;const m=Us((t=>Fs(t.type.name,c)))(p);if(O.depth>=1&&m&&O.depth-m.depth<=1){if(m.node.type===u)return a.liftListItem(h);if(Fs(m.node.type.name,c)&&u.validContent(m.node.content)&&s)return o().command((()=>(i.setNodeMarkup(m.pos,u),!0))).command((()=>Gs(i,u))).command((()=>Hs(i,u))).run()}return o().command((()=>{const t=l().wrapInList(u);return!!t||a.clearNodes()})).wrapInList(u).command((()=>Gs(i,u))).command((()=>Hs(i,u))).run()};var Js=Object.freeze({__proto__:null,toggleList:Ks});function to(t,e,n={}){const{empty:i,ranges:r}=t.selection,s=e?gr(e,t.schema):null;if(i)return!!(t.storedMarks||t.selection.$from.marks()).filter((t=>!s||s.name===t.type.name)).find((t=>yr(t.attrs,n,{strict:!1})));let o=0;const a=[];if(r.forEach((({$from:e,$to:n})=>{const i=e.pos,r=n.pos;t.doc.nodesBetween(i,r,((t,e)=>{if(!t.isText&&!t.marks.length)return;const n=Math.max(i,e),s=Math.min(r,e+t.nodeSize),l=s-n;o+=l,a.push(...t.marks.map((t=>({mark:t,from:n,to:s}))))}))})),0===o)return!1;const l=a.filter((t=>!s||s.name===t.mark.type.name)).filter((t=>yr(t.mark.attrs,n,{strict:!1}))).reduce(((t,e)=>t+e.to-e.from),0),c=a.filter((t=>!s||t.mark.type!==s&&t.mark.type.excludes(s))).reduce(((t,e)=>t+e.to-e.from),0),u=l>0?l+c:l;return u>=o}const eo=(t,e={},n={})=>({state:i,commands:r})=>{const{extendEmptyMarkRange:s=!1}=n,o=gr(t,i.schema),a=to(i,o,e);return a?r.unsetMark(o,{extendEmptyMarkRange:s}):r.setMark(o,e)};var no=Object.freeze({__proto__:null,toggleMark:eo});const io=(t,e,n={})=>({state:i,commands:r})=>{const s=or(t,i.schema),o=or(e,i.schema),a=Jr(i,s,n);return a?r.setNode(o):r.setNode(s,n)};var ro=Object.freeze({__proto__:null,toggleNode:io});const so=(t,e={})=>({state:n,commands:i})=>{const r=or(t,n.schema),s=Jr(n,r,e);return s?i.lift(r):i.wrapIn(r,e)};var oo=Object.freeze({__proto__:null,toggleWrap:so});const ao=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let i=0;i<n.length;i+=1){const r=n[i];let s;if(r.spec.isInputRules&&(s=r.getState(t))){if(e){const e=t.tr,n=s.transform;for(let t=n.steps.length-1;t>=0;t-=1)e.step(n.steps[t].invert(n.docs[t]));if(s.text){const n=e.doc.resolve(s.from).marks();e.replaceWith(s.from,s.to,t.schema.text(s.text,n))}else e.delete(s.from,s.to)}return!0}}return!1};var lo=Object.freeze({__proto__:null,undoInputRule:ao});const co=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:i,ranges:r}=n;return i||e&&r.forEach((e=>{t.removeMark(e.$from.pos,e.$to.pos)})),!0};var uo=Object.freeze({__proto__:null,unsetAllMarks:co});const ho=(t,e={})=>({tr:n,state:i,dispatch:r})=>{var s;const{extendEmptyMarkRange:o=!1}=e,{selection:a}=n,l=gr(t,i.schema),{$from:c,empty:u,ranges:h}=a;if(!r)return!0;if(u&&o){let{from:t,to:e}=a;const i=null===(s=c.marks().find((t=>t.type===l)))||void 0===s?void 0:s.attrs,r=xr(c,l,i);r&&(t=r.from,e=r.to),n.removeMark(t,e,l)}else h.forEach((t=>{n.removeMark(t.$from.pos,t.$to.pos,l)}));return n.removeStoredMark(l),!0};var po=Object.freeze({__proto__:null,unsetMark:ho});const fo=(t,e={})=>({tr:n,state:i,dispatch:r})=>{let s=null,o=null;const a=cs("string"===typeof t?t:t.name,i.schema);return!!a&&("node"===a&&(s=or(t,i.schema)),"mark"===a&&(o=gr(t,i.schema)),r&&n.selection.ranges.forEach((t=>{const r=t.$from.pos,a=t.$to.pos;i.doc.nodesBetween(r,a,((t,i)=>{s&&s===t.type&&n.setNodeMarkup(i,void 0,{...t.attrs,...e}),o&&t.marks.length&&t.marks.forEach((s=>{if(o===s.type){const l=Math.max(i,r),c=Math.min(i+t.nodeSize,a);n.addMark(l,c,o.create({...s.attrs,...e}))}}))}))})),!0)};var Oo=Object.freeze({__proto__:null,updateAttributes:fo});const mo=(t,e={})=>({state:n,dispatch:i})=>{const r=or(t,n.schema);return T(r,e)(n,i)};var go=Object.freeze({__proto__:null,wrapIn:mo});const vo=(t,e={})=>({state:n,dispatch:i})=>{const r=or(t,n.schema);return z(r,e)(n,i)};var yo=Object.freeze({__proto__:null,wrapInList:vo});const bo=Bi.create({name:"commands",addCommands(){return{...Hi,...Ji,...er,...ir,...sr,...lr,...ur,...pr,...fr,...mr,...$r,...kr,...Mr,...zr,...Zr,...Nr,...Br,...Yr,...Kr,...es,...is,...ss,...ls,...ps,...fs,...ms,...vs,...bs,...xs,...Ss,...Ts,...Cs,...Es,...Ms,...zs,...Zs,...Is,...Ls,...Js,...no,...ro,...oo,...lo,...uo,...po,...Oo,...go,...yo}}}),_o=Bi.create({name:"editable",addProseMirrorPlugins(){return[new i.Sy({key:new i.H$("editable"),props:{editable:()=>this.editor.options.editable}})]}}),xo=Bi.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new i.Sy({key:new i.H$("focusEvents"),props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const i=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(i),!1},blur:(e,n)=>{t.isFocused=!1;const i=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(i),!1}}}})]}});function wo(t){const{state:e,transaction:n}=t;let{selection:i}=n,{doc:r}=n,{storedMarks:s}=n;return{...e,schema:e.schema,plugins:e.plugins,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return s},get selection(){return i},get doc(){return r},get tr(){return i=n.selection,r=n.doc,s=n.storedMarks,n}}}class $o{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:i}=e,{tr:r}=n,s=this.buildProps(r);return Object.fromEntries(Object.entries(t).map((([t,e])=>{const n=(...t)=>{const n=e(...t)(s);return r.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(r),n};return[t,n]})))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:i,state:r}=this,{view:s}=i,o=[],a=!!t,l=t||r.tr,c=()=>(a||!e||l.getMeta("preventDispatch")||this.hasCustomState||s.dispatch(l),o.every((t=>!0===t))),u={...Object.fromEntries(Object.entries(n).map((([t,n])=>{const i=(...t)=>{const i=this.buildProps(l,e),r=n(...t)(i);return o.push(r),u};return[t,i]}))),run:c};return u}createCan(t){const{rawCommands:e,state:n}=this,i=void 0,r=t||n.tr,s=this.buildProps(r,i),o=Object.fromEntries(Object.entries(e).map((([t,e])=>[t,(...t)=>e(...t)({...s,dispatch:i})])));return{...o,chain:()=>this.createChain(r,i)}}buildProps(t,e=!0){const{rawCommands:n,editor:i,state:r}=this,{view:s}=i;r.storedMarks&&t.setStoredMarks(r.storedMarks);const o={tr:t,editor:i,view:s,state:wo({state:r,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map((([t,e])=>[t,(...t)=>e(...t)(o)])))}};return o}}const So=Bi.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first((({commands:t})=>[()=>t.undoInputRule(),()=>t.command((({tr:e})=>{const{selection:n,doc:r}=e,{empty:s,$anchor:o}=n,{pos:a,parent:l}=o,c=i.Y1.atStart(r).from===a;return!(!(s&&c&&l.type.isTextblock)||l.textContent.length)&&t.clearNodes()})),()=>t.deleteSelection(),()=>t.joinBackward(),()=>t.selectNodeBackward()])),e=()=>this.editor.commands.first((({commands:t})=>[()=>t.deleteSelection(),()=>t.joinForward(),()=>t.selectNodeForward()]));return{Enter:()=>this.editor.commands.first((({commands:t})=>[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()}},addProseMirrorPlugins(){return[new i.Sy({key:new i.H$("clearDocument"),appendTransaction:(t,e,n)=>{const r=t.some((t=>t.docChanged))&&!e.doc.eq(n.doc);if(!r)return;const{empty:s,from:o,to:a}=e.selection,l=i.Y1.atStart(e.doc).from,c=i.Y1.atEnd(e.doc).to,u=o===l&&a===c,h=0===n.doc.textBetween(0,n.doc.content.size," "," ").length;if(s||!u||!h)return;const p=n.tr,d=wo({state:n,transaction:p}),{commands:f}=new $o({editor:this.editor,state:d});return f.clearNodes(),p.steps.length?p:void 0}})]}}),ko=Bi.create({name:"tabindex",addProseMirrorPlugins(){return[new i.Sy({key:new i.H$("tabindex"),props:{attributes:{tabindex:"0"}}})]}});var Qo=Object.freeze({__proto__:null,ClipboardTextSerializer:Fi,Commands:bo,Editable:_o,FocusEvents:xo,Keymap:So,Tabindex:ko});function To(t,e){const n=or(e,t.schema),{from:i,to:r}=t.selection,s=[];t.doc.nodesBetween(i,r,(t=>{s.push(t)}));const o=s.reverse().find((t=>t.type.name===n.name));return o?{...o.attrs}:{}}function Po(t,e){const n=cs("string"===typeof e?e:e.name,t.schema);return"node"===n?To(t,e):"mark"===n?ks(t,e):{}}function Co(t,e,n={}){if(!e)return Jr(t,null,n)||to(t,null,n);const i=cs(e,t.schema);return"node"===i?Jr(t,e,n):"mark"===i&&to(t,e,n)}function Ao(t,e){const n=s.PW.fromSchema(e).serializeFragment(t),i=document.implementation.createHTMLDocument(),r=i.createElement("div");return r.appendChild(n),r.innerHTML}function Eo(t,e){const n={from:0,to:t.content.size};return Ui(t,n,e)}function Ro(t){var e;const n=null===(e=t.type.createAndFill())||void 0===e?void 0:e.toJSON(),i=t.toJSON();return JSON.stringify(n)===JSON.stringify(i)}function Mo(t){const e=document.querySelector("style[data-tiptap-style]");if(null!==e)return e;const n=document.createElement("style");return n.setAttribute("data-tiptap-style",""),n.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(n),n}class Do{constructor(t){this.find=t.find,this.handler=t.handler}}const zo=(t,e)=>{if(vr(e))return e.exec(t);const n=e(t);if(!n)return null;const i=[];return i.push(n.text),i.index=n.index,i.input=t,i.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(n.replaceWith)),i};function jo(t){var e;const{editor:n,from:i,to:r,text:s,rules:o,plugin:a}=t,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(i);if(c.parent.type.spec.code||(null===(e=c.nodeBefore||c.nodeAfter)||void 0===e?void 0:e.marks.find((t=>t.type.spec.code))))return!1;let u=!1;const h=500,p=c.parent.textBetween(Math.max(0,c.parentOffset-h),c.parentOffset,void 0," ")+s;return o.forEach((t=>{if(u)return;const e=zo(p,t.find);if(!e)return;const o=l.state.tr,c=wo({state:l.state,transaction:o}),h={from:i-(e[0].length-s.length),to:r},{commands:d,chain:f,can:O}=new $o({editor:n,state:c}),m=t.handler({state:c,range:h,match:e,commands:d,chain:f,can:O});null!==m&&o.steps.length&&(o.setMeta(a,{transform:o,from:i,to:r,text:s}),l.dispatch(o),u=!0)})),u}function Zo(t){const{editor:e,rules:n}=t,r=new i.Sy({state:{init(){return null},apply(t,e){const n=t.getMeta(this);return n||(t.selectionSet||t.docChanged?null:e)}},props:{handleTextInput(t,i,s,o){return jo({editor:e,from:i,to:s,text:o,rules:n,plugin:r})},handleDOMEvents:{compositionend:t=>(setTimeout((()=>{const{$cursor:i}=t.state.selection;i&&jo({editor:e,from:i.pos,to:i.pos,text:"",rules:n,plugin:r})})),!1)},handleKeyDown(t,i){if("Enter"!==i.key)return!1;const{$cursor:s}=t.state.selection;return!!s&&jo({editor:e,from:s.pos,to:s.pos,text:"\n",rules:n,plugin:r})}},isInputRules:!0});return r}function Vo(t){return"number"===typeof t}class Xo{constructor(t){this.find=t.find,this.handler=t.handler}}const Wo=(t,e)=>{if(vr(e))return[...t.matchAll(e)];const n=e(t);return n?n.map((e=>{const n=[];return n.push(e.text),n.index=e.index,n.input=t,n.data=e.data,e.replaceWith&&(e.text.includes(e.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(e.replaceWith)),n})):[]};function qo(t){const{editor:e,state:n,from:i,to:r,rule:s}=t,{commands:o,chain:a,can:l}=new $o({editor:e,state:n}),c=[];n.doc.nodesBetween(i,r,((t,e)=>{if(!t.isTextblock||t.type.spec.code)return;const u=Math.max(i,e),h=Math.min(r,e+t.content.size),p=t.textBetween(u-e,h-e,void 0,""),d=Wo(p,s.find);d.forEach((t=>{if(void 0===t.index)return;const e=u+t.index+1,i=e+t[0].length,r={from:n.tr.mapping.map(e),to:n.tr.mapping.map(i)},h=s.handler({state:n,range:r,match:t,commands:o,chain:a,can:l});c.push(h)}))}));const u=c.every((t=>null!==t));return u}function Io(t){const{editor:e,rules:n}=t;let r=null,s=!1,o=!1;const a=n.map((t=>new i.Sy({view(t){const e=e=>{var n;r=(null===(n=t.dom.parentElement)||void 0===n?void 0:n.contains(e.target))?t.dom.parentElement:null};return window.addEventListener("dragstart",e),{destroy(){window.removeEventListener("dragstart",e)}}},props:{handleDOMEvents:{drop:t=>(o=r===t.dom.parentElement,!1),paste:(t,e)=>{var n;const i=null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/html");return s=!!(null===i||void 0===i?void 0:i.includes("data-pm-slice")),!1}}},appendTransaction:(n,i,r)=>{const a=n[0],l="paste"===a.getMeta("uiEvent")&&!s,c="drop"===a.getMeta("uiEvent")&&!o;if(!l&&!c)return;const u=i.doc.content.findDiffStart(r.doc.content),h=i.doc.content.findDiffEnd(r.doc.content);if(!Vo(u)||!h||u===h.b)return;const p=r.tr,d=wo({state:r,transaction:p}),f=qo({editor:e,state:d,from:Math.max(u-1,0),to:h.b,rule:t});return f&&p.steps.length?p:void 0}})));return a}function No(t){const e=[],{nodeExtensions:n,markExtensions:i}=Ys(t),r=[...n,...i],s={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0};return t.forEach((t=>{const n={name:t.name,options:t.options,storage:t.storage},i=Li(t,"addGlobalAttributes",n);if(!i)return;const r=i();r.forEach((t=>{t.types.forEach((n=>{Object.entries(t.attributes).forEach((([t,i])=>{e.push({type:n,name:t,attribute:{...s,...i}})}))}))}))})),r.forEach((t=>{const n={name:t.name,options:t.options,storage:t.storage},i=Li(t,"addAttributes",n);if(!i)return;const r=i();Object.entries(r).forEach((([n,i])=>{e.push({type:t.name,name:n,attribute:{...s,...i}})}))})),e}function Lo(...t){return t.filter((t=>!!t)).reduce(((t,e)=>{const n={...t};return Object.entries(e).forEach((([t,e])=>{const i=n[t];n[t]=i?"class"===t?[n[t],e].join(" "):"style"===t?[n[t],e].join("; "):e:e})),n}),{})}function Bo(t,e){return e.filter((t=>t.attribute.rendered)).map((e=>e.attribute.renderHTML?e.attribute.renderHTML(t.attrs)||{}:{[e.name]:t.attrs[e.name]})).reduce(((t,e)=>Lo(t,e)),{})}function Uo(t={}){return 0===Object.keys(t).length&&t.constructor===Object}function Yo(t){return"string"!==typeof t?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):"true"===t||"false"!==t&&t}function Fo(t,e){return t.style?t:{...t,getAttrs:n=>{const i=t.getAttrs?t.getAttrs(n):t.attrs;if(!1===i)return!1;const r=e.filter((t=>t.attribute.rendered)).reduce(((t,e)=>{const i=e.attribute.parseHTML?e.attribute.parseHTML(n):Yo(n.getAttribute(e.name));return Tr(i)&&console.warn(`[tiptap warn]: BREAKING CHANGE: "parseHTML" for your attribute "${e.name}" returns an object but should return the value itself. If this is expected you can ignore this message. This warning will be removed in one of the next releases. Further information: https://github.com/ueberdosis/tiptap/issues/1863`),null===i||void 0===i?t:{...t,[e.name]:i}}),{});return{...i,...r}}}}function Go(t){return Object.fromEntries(Object.entries(t).filter((([t,e])=>("attrs"!==t||!Uo(e))&&(null!==e&&void 0!==e))))}function Ho(t){var e;const n=No(t),{nodeExtensions:i,markExtensions:r}=Ys(t),o=null===(e=i.find((t=>Li(t,"topNode"))))||void 0===e?void 0:e.name,a=Object.fromEntries(i.map((e=>{const i=n.filter((t=>t.type===e.name)),r={name:e.name,options:e.options,storage:e.storage},s=t.reduce(((t,n)=>{const i=Li(n,"extendNodeSchema",r);return{...t,...i?i(e):{}}}),{}),o=Go({...s,content:Ni(Li(e,"content",r)),marks:Ni(Li(e,"marks",r)),group:Ni(Li(e,"group",r)),inline:Ni(Li(e,"inline",r)),atom:Ni(Li(e,"atom",r)),selectable:Ni(Li(e,"selectable",r)),draggable:Ni(Li(e,"draggable",r)),code:Ni(Li(e,"code",r)),defining:Ni(Li(e,"defining",r)),isolating:Ni(Li(e,"isolating",r)),attrs:Object.fromEntries(i.map((t=>{var e;return[t.name,{default:null===(e=null===t||void 0===t?void 0:t.attribute)||void 0===e?void 0:e.default}]})))}),a=Ni(Li(e,"parseHTML",r));a&&(o.parseDOM=a.map((t=>Fo(t,i))));const l=Li(e,"renderHTML",r);l&&(o.toDOM=t=>l({node:t,HTMLAttributes:Bo(t,i)}));const c=Li(e,"renderText",r);return c&&(o.toText=c),[e.name,o]}))),l=Object.fromEntries(r.map((e=>{const i=n.filter((t=>t.type===e.name)),r={name:e.name,options:e.options,storage:e.storage},s=t.reduce(((t,n)=>{const i=Li(n,"extendMarkSchema",r);return{...t,...i?i(e):{}}}),{}),o=Go({...s,inclusive:Ni(Li(e,"inclusive",r)),excludes:Ni(Li(e,"excludes",r)),group:Ni(Li(e,"group",r)),spanning:Ni(Li(e,"spanning",r)),code:Ni(Li(e,"code",r)),attrs:Object.fromEntries(i.map((t=>{var e;return[t.name,{default:null===(e=null===t||void 0===t?void 0:t.attribute)||void 0===e?void 0:e.default}]})))}),a=Ni(Li(e,"parseHTML",r));a&&(o.parseDOM=a.map((t=>Fo(t,i))));const l=Li(e,"renderHTML",r);return l&&(o.toDOM=t=>l({mark:t,HTMLAttributes:Bo(t,i)})),[e.name,o]})));return new s.V_({topNode:o,nodes:a,marks:l})}function Ko(t,e){return e.nodes[t]||e.marks[t]||null}function Jo(t,e){return Array.isArray(e)?e.some((e=>{const n="string"===typeof e?e:e.name;return n===t.name})):e}function ta(t){const e=t.filter(((e,n)=>t.indexOf(e)!==n));return[...new Set(e)]}class ea{constructor(t,e){this.splittableMarks=[],this.editor=e,this.extensions=ea.resolve(t),this.schema=Ho(this.extensions),this.extensions.forEach((t=>{var e;this.editor.extensionStorage[t.name]=t.storage;const n={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:Ko(t.name,this.schema)};if("mark"===t.type){const i=null===(e=Ni(Li(t,"keepOnSplit",n)))||void 0===e||e;i&&this.splittableMarks.push(t.name)}const i=Li(t,"onBeforeCreate",n);i&&this.editor.on("beforeCreate",i);const r=Li(t,"onCreate",n);r&&this.editor.on("create",r);const s=Li(t,"onUpdate",n);s&&this.editor.on("update",s);const o=Li(t,"onSelectionUpdate",n);o&&this.editor.on("selectionUpdate",o);const a=Li(t,"onTransaction",n);a&&this.editor.on("transaction",a);const l=Li(t,"onFocus",n);l&&this.editor.on("focus",l);const c=Li(t,"onBlur",n);c&&this.editor.on("blur",c);const u=Li(t,"onDestroy",n);u&&this.editor.on("destroy",u)}))}static resolve(t){const e=ea.sort(ea.flatten(t)),n=ta(e.map((t=>t.name)));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((t=>`'${t}'`)).join(", ")}]. This can lead to issues.`),e}static flatten(t){return t.map((t=>{const e={name:t.name,options:t.options,storage:t.storage},n=Li(t,"addExtensions",e);return n?[t,...this.flatten(n())]:t})).flat(10)}static sort(t){const e=100;return t.sort(((t,n)=>{const i=Li(t,"priority")||e,r=Li(n,"priority")||e;return i>r?-1:i<r?1:0}))}get commands(){return this.extensions.reduce(((t,e)=>{const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:Ko(e.name,this.schema)},i=Li(e,"addCommands",n);return i?{...t,...i()}:t}),{})}get plugins(){const{editor:t}=this,e=ea.sort([...this.extensions].reverse()),n=[],i=[],r=e.map((e=>{const r={name:e.name,options:e.options,storage:e.storage,editor:t,type:Ko(e.name,this.schema)},s=[],o=Li(e,"addKeyboardShortcuts",r);if(o){const e=Object.fromEntries(Object.entries(o()).map((([e,n])=>[e,()=>n({editor:t})]))),n=Zi(e);s.push(n)}const a=Li(e,"addInputRules",r);Jo(e,t.options.enableInputRules)&&a&&n.push(...a());const l=Li(e,"addPasteRules",r);Jo(e,t.options.enablePasteRules)&&l&&i.push(...l());const c=Li(e,"addProseMirrorPlugins",r);if(c){const t=c();s.push(...t)}return s})).flat();return[Zo({editor:t,rules:n}),...Io({editor:t,rules:i}),...r]}get attributes(){return No(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=Ys(this.extensions);return Object.fromEntries(e.filter((t=>!!Li(t,"addNodeView"))).map((e=>{const n=this.attributes.filter((t=>t.type===e.name)),i={name:e.name,options:e.options,storage:e.storage,editor:t,type:or(e.name,this.schema)},r=Li(e,"addNodeView",i);if(!r)return[];const s=(i,s,o,a)=>{const l=Bo(i,n);return r()({editor:t,node:i,getPos:o,decorations:a,HTMLAttributes:l,extension:e})};return[e.name,s]})))}}class na{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach((t=>t.apply(this,e))),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter((t=>t!==e)):delete this.callbacks[t]),this}removeAllListeners(){this.callbacks={}}}const ia='.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: 1px !important;\n height: 1px !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}';class ra extends na{constructor(t={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),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),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))}),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&&document&&(this.css=Mo(ia))}setOptions(t={}){this.options={...this.options,...t},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t){this.setOptions({editable:t})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,e){const n=Ii(e)?e(t,this.state.plugins):[...this.state.plugins,t],i=this.state.reconfigure({plugins:n});this.view.updateState(i)}unregisterPlugin(t){if(this.isDestroyed)return;const e="string"===typeof t?`${t}$`:t.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((t=>!t.key.startsWith(e)))});this.view.updateState(n)}createExtensionManager(){const t=this.options.enableCoreExtensions?Object.values(Qo):[],e=[...t,...this.options.extensions].filter((t=>["extension","node","mark"].includes(null===t||void 0===t?void 0:t.type)));this.extensionManager=new ea(e,this)}createCommandManager(){this.commandManager=new $o({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const t=ws(this.options.content,this.schema,this.options.parseOptions),e=Er(t,this.options.autofocus);this.view=new $i(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:i.yy.create({doc:t,selection:e})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews();const r=this.view.dom;r.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.isCapturingTransaction)return this.capturedTransaction?void t.steps.forEach((t=>{var e;return null===(e=this.capturedTransaction)||void 0===e?void 0:e.step(t)})):void(this.capturedTransaction=t);const e=this.state.apply(t),n=!this.state.selection.eq(e.selection);this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t}),n&&this.emit("selectionUpdate",{editor:this,transaction:t});const i=t.getMeta("focus"),r=t.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:t}),r&&this.emit("blur",{editor:this,event:r.event,transaction:t}),t.docChanged&&!t.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:t})}getAttributes(t){return Po(this.state,t)}isActive(t,e){const n="string"===typeof t?t:null,i="string"===typeof t?e:t;return Co(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Ao(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:n={}}=t||{};return Eo(this.state.doc,{blockSeparator:e,textSerializers:{...n,...Yi(this.schema)}})}get isEmpty(){return Ro(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(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var t;return!(null===(t=this.view)||void 0===t?void 0:t.docView)}}class sa{constructor(t={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&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&&(this.options=Ni(Li(this,"addOptions",{name:this.name}))),this.storage=Ni(Li(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new sa(t)}configure(t={}){const e=this.extend();return e.options=qi(this.options,t),e.storage=Ni(Li(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new sa(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=Ni(Li(e,"addOptions",{name:e.name})),e.storage=Ni(Li(e,"addStorage",{name:e.name,options:e.options})),e}}class oa{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&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&&(this.options=Ni(Li(this,"addOptions",{name:this.name}))),this.storage=Ni(Li(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new oa(t)}configure(t={}){const e=this.extend();return e.options=qi(this.options,t),e.storage=Ni(Li(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new oa(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=Ni(Li(e,"addOptions",{name:e.name})),e.storage=Ni(Li(e,"addStorage",{name:e.name,options:e.options})),e}}function aa(t,e,n){const i=[];return t===e?n.resolve(t).marks().forEach((e=>{const r=n.resolve(t-1),s=xr(r,e.type);s&&i.push({mark:e,...s})})):n.nodesBetween(t,e,((t,e)=>{i.push(...t.marks.map((n=>({from:e,to:e+t.nodeSize,mark:n}))))})),i}function la(t){return new Do({find:t.find,handler:({state:e,range:n,match:i})=>{const r=Ni(t.getAttributes,void 0,i);if(!1===r||null===r)return null;const{tr:s}=e,o=i[i.length-1],a=i[0];let l=n.to;if(o){const i=a.search(/\S/),c=n.from+a.indexOf(o),u=c+o.length,h=aa(n.from,n.to,e.doc).filter((e=>{const n=e.mark.type.excluded;return n.find((n=>n===t.type&&n!==e.mark.type))})).filter((t=>t.to>c));if(h.length)return null;u<n.to&&s.delete(u,n.to),c>n.from&&s.delete(n.from+i,c),l=n.from+i+o.length,s.addMark(n.from+i,l,t.type.create(r||{})),s.removeStoredMark(t.type)}}})}function ca(t){return new Do({find:t.find,handler:({state:e,range:n,match:i})=>{const r=e.doc.resolve(n.from),s=Ni(t.getAttributes,void 0,i)||{};if(!r.node(-1).canReplaceWith(r.index(-1),r.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,s)}})}function ua(t){return new Do({find:t.find,handler:({state:e,range:n,match:i})=>{const s=Ni(t.getAttributes,void 0,i)||{},o=e.tr.delete(n.from,n.to),a=o.doc.resolve(n.from),l=a.blockRange(),c=l&&(0,r.nd)(l,t.type,s);if(!c)return null;o.wrap(l,c);const u=o.doc.resolve(n.from-1).nodeBefore;u&&u.type===t.type&&(0,r.Mn)(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(i,u))&&o.join(n.from-1)}})}function ha(t){return new Xo({find:t.find,handler:({state:e,range:n,match:i})=>{const r=Ni(t.getAttributes,void 0,i);if(!1===r||null===r)return null;const{tr:s}=e,o=i[i.length-1],a=i[0];let l=n.to;if(o){const i=a.search(/\S/),c=n.from+a.indexOf(o),u=c+o.length,h=aa(n.from,n.to,e.doc).filter((e=>{const n=e.mark.type.excluded;return n.find((n=>n===t.type&&n!==e.mark.type))})).filter((t=>t.to>c));if(h.length)return null;u<n.to&&s.delete(u,n.to),c>n.from&&s.delete(n.from+i,c),l=n.from+i+o.length,s.addMark(n.from+i,l,t.type.create(r||{})),s.removeStoredMark(t.type)}}})}function pa(t,e){const n=new r.wx(t);return e.forEach((t=>{t.steps.forEach((t=>{n.step(t)}))})),n}function da(t,e,n){const i=[];return t.nodesBetween(e.from,e.to,((t,e)=>{n(t)&&i.push({node:t,pos:e})})),i}function fa(t,e=JSON.stringify){const n={};return t.filter((t=>{const i=e(t);return!Object.prototype.hasOwnProperty.call(n,i)&&(n[i]=!0)}))}function Oa(t){const e=fa(t);return 1===e.length?e:e.filter(((t,n)=>{const i=e.filter(((t,e)=>e!==n));return!i.some((e=>t.oldRange.from>=e.oldRange.from&&t.oldRange.to<=e.oldRange.to&&t.newRange.from>=e.newRange.from&&t.newRange.to<=e.newRange.to))}))}function ma(t){const{mapping:e,steps:n}=t,i=[];return e.maps.forEach(((t,r)=>{const s=[];if(t.ranges.length)t.forEach(((t,e)=>{s.push({from:t,to:e})}));else{const{from:t,to:e}=n[r];if(void 0===t||void 0===e)return;s.push({from:t,to:e})}s.forEach((({from:t,to:n})=>{const s=e.slice(r).map(t,-1),o=e.slice(r).map(n),a=e.invert().map(s,-1),l=e.invert().map(o);i.push({oldRange:{from:a,to:l},newRange:{from:s,to:o}})}))})),Oa(i)}function ga(t){return Tr(t)&&t instanceof i.qv}function va(t,e,n){const i=0,r=t.state.doc.content.size,s=Ar(e,i,r),o=Ar(n,i,r),a=t.coordsAtPos(s),l=t.coordsAtPos(o,-1),c=Math.min(a.top,l.top),u=Math.max(a.bottom,l.bottom),h=Math.min(a.left,l.left),p=Math.max(a.right,l.right),d=p-h,f=u-c,O=h,m=c,g={top:c,bottom:u,left:h,right:p,width:d,height:f,x:O,y:m};return{...g,toJSON:()=>g}}},70128:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>l});var i=n(67625);const r=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,s=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,o=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,a=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,l=i.vc.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!==t.style.fontWeight&&null},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return["strong",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold()}},addInputRules(){return[(0,i.Cf)({find:r,type:this.type}),(0,i.Cf)({find:o,type:this.type})]},addPasteRules(){return[(0,i.K9)({find:s,type:this.type}),(0,i.K9)({find:a,type:this.type})]}})},7082:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>s});var i=n(67625);const r=/^\s*([-+*])\s$/,s=i.NB.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){return[(0,i.S0)({find:r,type:this.type})]}})},60054:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>o});var i=n(67625);const r=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/,s=/(?:^|\s)((?:`)((?:[^`]+))(?:`))/g,o=i.vc.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[(0,i.Cf)({find:r,type:this.type})]},addPasteRules(){return[(0,i.K9)({find:s,type:this.type})]}})},8481:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.NB.create({name:"doc",topNode:!0,content:"block+"})},47191:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.NB.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",(0,i.P1)(this.options.HTMLAttributes,t)]},renderText(){return"\n"},addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:i})=>t.first([()=>t.exitCode(),()=>t.command((()=>{const{selection:t,storedMarks:r}=n;if(t.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:o}=i.extensionManager,a=r||t.$to.parentOffset&&t.$from.marks();return e().insertContent({type:this.name}).command((({tr:t,dispatch:e})=>{if(e&&a&&s){const e=a.filter((t=>o.includes(t.type.name)));t.ensureMarks(e)}return!0})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})},41769:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.NB.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map((t=>({tag:`h${t}`,attrs:{level:t}})))},renderHTML({node:t,HTMLAttributes:e}){const n=this.options.levels.includes(t.attrs.level),r=n?t.attrs.level:this.options.levels[0];return[`h${r}`,(0,i.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:t=>({commands:e})=>!!this.options.levels.includes(t.level)&&e.setNode(this.name,t),toggleHeading:t=>({commands:e})=>!!this.options.levels.includes(t.level)&&e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return this.options.levels.reduce(((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})})),{})},addInputRules(){return this.options.levels.map((t=>(0,i.zK)({find:new RegExp(`^(#{1,${t}})\\s$`),type:this.type,getAttributes:{level:t}})))}})},52693:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});var i=n(67625),r=200,s=function(){};s.prototype.append=function(t){return t.length?(t=s.from(t),!this.length&&t||t.length<r&&this.leafAppend(t)||this.length<r&&t.leafPrepend(this)||this.appendInner(t)):this},s.prototype.prepend=function(t){return t.length?s.from(t).append(this):this},s.prototype.appendInner=function(t){return new a(this,t)},s.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?s.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},s.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},s.prototype.forEach=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length),e<=n?this.forEachInner(t,e,n,0):this.forEachInvertedInner(t,e,n,0)},s.prototype.map=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length);var i=[];return this.forEach((function(e,n){return i.push(t(e,n))}),e,n),i},s.from=function(t){return t instanceof s?t:t&&t.length?new o(t):s.empty};var o=function(t){function e(e){t.call(this),this.values=e}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,i){for(var r=e;r<n;r++)if(!1===t(this.values[r],i+r))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){for(var r=e-1;r>=n;r--)if(!1===t(this.values[r],i+r))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=r)return new e(this.values.concat(t.flatten()))},e.prototype.leafPrepend=function(t){if(this.length+t.length<=r)return new e(t.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(s);s.empty=new o([]);var a=function(t){function e(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(t){return t<this.left.length?this.left.get(t):this.right.get(t-this.left.length)},e.prototype.forEachInner=function(t,e,n,i){var r=this.left.length;return!(e<r&&!1===this.left.forEachInner(t,e,Math.min(n,r),i))&&(!(n>r&&!1===this.right.forEachInner(t,Math.max(e-r,0),Math.min(this.length,n)-r,i+r))&&void 0)},e.prototype.forEachInvertedInner=function(t,e,n,i){var r=this.left.length;return!(e>r&&!1===this.right.forEachInvertedInner(t,e-r,Math.max(n,r)-r,i+r))&&(!(n<r&&!1===this.left.forEachInvertedInner(t,Math.min(e,r),n,i))&&void 0)},e.prototype.sliceInner=function(t,e){if(0==t&&e==this.length)return this;var n=this.left.length;return e<=n?this.left.slice(t,e):t>=n?this.right.slice(t-n,e-n):this.left.slice(t,n).append(this.right.slice(0,e-n))},e.prototype.leafAppend=function(t){var n=this.right.leafAppend(t);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(t){var n=this.left.leafPrepend(t);if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(s),l=s;const c=l;var u=n(21081),h=n(76922),p=500,d=function(t,e){this.items=t,this.eventCount=e};function f(t,e){var n;return t.forEach((function(t,i){if(t.selection&&0==e--)return n=i,!1})),t.slice(n)}d.prototype.popEvent=function(t,e){var n=this;if(0==this.eventCount)return null;for(var i,r,s=this.items.length;;s--){var o=this.items.get(s-1);if(o.selection){--s;break}}e&&(i=this.remapping(s,this.items.length),r=i.maps.length);var a,l,c=t.tr,u=[],h=[];return this.items.forEach((function(t,e){if(!t.step)return i||(i=n.remapping(s,e+1),r=i.maps.length),r--,void h.push(t);if(i){h.push(new O(t.map));var o,p=t.step.map(i.slice(r));p&&c.maybeStep(p).doc&&(o=c.mapping.maps[c.mapping.maps.length-1],u.push(new O(o,null,null,u.length+h.length))),r--,o&&i.appendMap(o,r)}else c.maybeStep(t.step);return t.selection?(a=i?t.selection.map(i.slice(r)):t.selection,l=new d(n.items.slice(0,s).append(h.reverse().concat(u)),n.eventCount-1),!1):void 0}),this.items.length,0),{remaining:l,transform:c,selection:a}},d.prototype.addTransform=function(t,e,n,i){for(var r=[],s=this.eventCount,o=this.items,a=!i&&o.length?o.get(o.length-1):null,l=0;l<t.steps.length;l++){var c=t.steps[l].invert(t.docs[l]),u=new O(t.mapping.maps[l],c,e),h=void 0;(h=a&&a.merge(u))&&(u=h,l?r.pop():o=o.slice(0,o.length-1)),r.push(u),e&&(s++,e=null),i||(a=u)}var p=s-n.depth;return p>g&&(o=f(o,p),s-=p),new d(o.append(r),s)},d.prototype.remapping=function(t,e){var n=new u.vs;return this.items.forEach((function(e,i){var r=null!=e.mirrorOffset&&i-e.mirrorOffset>=t?n.maps.length-e.mirrorOffset:null;n.appendMap(e.map,r)}),t,e),n},d.prototype.addMaps=function(t){return 0==this.eventCount?this:new d(this.items.append(t.map((function(t){return new O(t)}))),this.eventCount)},d.prototype.rebased=function(t,e){if(!this.eventCount)return this;var n=[],i=Math.max(0,this.items.length-e),r=t.mapping,s=t.steps.length,o=this.eventCount;this.items.forEach((function(t){t.selection&&o--}),i);var a=e;this.items.forEach((function(e){var i=r.getMirror(--a);if(null!=i){s=Math.min(s,i);var l=r.maps[i];if(e.step){var c=t.steps[i].invert(t.docs[i]),u=e.selection&&e.selection.map(r.slice(a+1,i));u&&o++,n.push(new O(l,c,u))}else n.push(new O(l))}}),i);for(var l=[],c=e;c<s;c++)l.push(new O(r.maps[c]));var u=this.items.slice(0,i).append(l).append(n),h=new d(u,o);return h.emptyItemCount()>p&&(h=h.compress(this.items.length-n.length)),h},d.prototype.emptyItemCount=function(){var t=0;return this.items.forEach((function(e){e.step||t++})),t},d.prototype.compress=function(t){void 0===t&&(t=this.items.length);var e=this.remapping(0,t),n=e.maps.length,i=[],r=0;return this.items.forEach((function(s,o){if(o>=t)i.push(s),s.selection&&r++;else if(s.step){var a=s.step.map(e.slice(n)),l=a&&a.getMap();if(n--,l&&e.appendMap(l,n),a){var c=s.selection&&s.selection.map(e.slice(n));c&&r++;var u,h=new O(l.invert(),a,c),p=i.length-1;(u=i.length&&i[p].merge(h))?i[p]=u:i.push(h)}}else s.map&&n--}),this.items.length,0),new d(c.from(i.reverse()),r)},d.empty=new d(c.empty,0);var O=function(t,e,n,i){this.map=t,this.step=e,this.selection=n,this.mirrorOffset=i};O.prototype.merge=function(t){if(this.step&&t.step&&!t.selection){var e=t.step.merge(this.step);if(e)return new O(e.getMap().invert(),e,this.selection)}};var m=function(t,e,n,i){this.done=t,this.undone=e,this.prevRanges=n,this.prevTime=i},g=20;function v(t,e,n,i){var r,s=n.getMeta(k);if(s)return s.historyState;n.getMeta(Q)&&(t=new m(t.done,t.undone,null,0));var o=n.getMeta("appendedTransaction");if(0==n.steps.length)return t;if(o&&o.getMeta(k))return o.getMeta(k).redo?new m(t.done.addTransform(n,null,i,S(e)),t.undone,b(n.mapping.maps[n.steps.length-1]),t.prevTime):new m(t.done,t.undone.addTransform(n,null,i,S(e)),null,t.prevTime);if(!1===n.getMeta("addToHistory")||o&&!1===o.getMeta("addToHistory"))return(r=n.getMeta("rebased"))?new m(t.done.rebased(n,r),t.undone.rebased(n,r),_(t.prevRanges,n.mapping),t.prevTime):new m(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),_(t.prevRanges,n.mapping),t.prevTime);var a=0==t.prevTime||!o&&(t.prevTime<(n.time||0)-i.newGroupDelay||!y(n,t.prevRanges)),l=o?_(t.prevRanges,n.mapping):b(n.mapping.maps[n.steps.length-1]);return new m(t.done.addTransform(n,a?e.selection.getBookmark():null,i,S(e)),d.empty,l,n.time)}function y(t,e){if(!e)return!1;if(!t.docChanged)return!0;var n=!1;return t.mapping.maps[0].forEach((function(t,i){for(var r=0;r<e.length;r+=2)t<=e[r+1]&&i>=e[r]&&(n=!0)})),n}function b(t){var e=[];return t.forEach((function(t,n,i,r){return e.push(i,r)})),e}function _(t,e){if(!t)return null;for(var n=[],i=0;i<t.length;i+=2){var r=e.map(t[i],1),s=e.map(t[i+1],-1);r<=s&&n.push(r,s)}return n}function x(t,e,n,i){var r=S(e),s=k.get(e).spec.config,o=(i?t.undone:t.done).popEvent(e,r);if(o){var a=o.selection.resolve(o.transform.doc),l=(i?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),s,r),c=new m(i?l:o.remaining,i?o.remaining:l,null,0);n(o.transform.setSelection(a).setMeta(k,{redo:i,historyState:c}).scrollIntoView())}}var w=!1,$=null;function S(t){var e=t.plugins;if($!=e){w=!1,$=e;for(var n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){w=!0;break}}return w}var k=new h.H$("history"),Q=new h.H$("closeHistory");function T(t){return t={depth:t&&t.depth||100,newGroupDelay:t&&t.newGroupDelay||500},new h.Sy({key:k,state:{init:function(){return new m(d.empty,d.empty,null,0)},apply:function(e,n,i){return v(n,i,e,t)}},config:t,props:{handleDOMEvents:{beforeinput:function(t,e){var n="historyUndo"==e.inputType?P(t.state,t.dispatch):"historyRedo"==e.inputType&&C(t.state,t.dispatch);return n&&e.preventDefault(),n}}}})}function P(t,e){var n=k.getState(t);return!(!n||0==n.done.eventCount)&&(e&&x(n,t,e,!1),!0)}function C(t,e){var n=k.getState(t);return!(!n||0==n.undone.eventCount)&&(e&&x(n,t,e,!0),!0)}const A=i.hj.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>P(t,e),redo:()=>({state:t,dispatch:e})=>C(t,e)}},addProseMirrorPlugins(){return[T(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}})},29802:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>l});var i=n(67625);const r=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,s=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,o=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,a=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,l=i.vc.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>"normal"!==t.style.fontStyle&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[(0,i.Cf)({find:r,type:this.type}),(0,i.Cf)({find:o,type:this.type})]},addPasteRules(){return[(0,i.K9)({find:s,type:this.type}),(0,i.K9)({find:a,type:this.type})]}})},26950:(t,e,n)=>{"use strict";n.d(e,{Z:()=>Dt});var i=n(67625);function r(t){this.j={},this.jr=[],this.jd=null,this.t=t}r.prototype={accepts:function(){return!!this.t},tt:function(t,e){if(e&&e.j)return this.j[t]=e,e;var n=e,i=this.j[t];if(i)return n&&(i.t=n),i;i=s();var r=c(this,t);return r?(Object.assign(i.j,r.j),i.jr.append(r.jr),i.jr=r.jd,i.t=n||r.t):i.t=n,this.j[t]=i,i}};var s=function(){return new r},o=function(t){return new r(t)},a=function(t,e,n){t.j[e]||(t.j[e]=n)},l=function(t,e,n){t.jr.push([e,n])},c=function(t,e){var n=t.j[e];if(n)return n;for(var i=0;i<t.jr.length;i++){var r=t.jr[i][0],s=t.jr[i][1];if(r.test(e))return s}return t.jd},u=function(t,e,n){for(var i=0;i<e.length;i++)a(t,e[i],n)},h=function(t,e){for(var n=0;n<e.length;n++){var i=e[n][0],r=e[n][1];a(t,i,r)}},p=function(t,e,n,i){var r,s=0,o=e.length;while(s<o&&(r=t.j[e[s]]))t=r,s++;if(s>=o)return[];while(s<o-1)r=i(),a(t,e[s],r),t=r,s++;a(t,e[o-1],n)},d="DOMAIN",f="LOCALHOST",O="TLD",m="NUM",g="PROTOCOL",v="MAILTO",y="WS",b="NL",_="OPENBRACE",x="OPENBRACKET",w="OPENANGLEBRACKET",$="OPENPAREN",S="CLOSEBRACE",k="CLOSEBRACKET",Q="CLOSEANGLEBRACKET",T="CLOSEPAREN",P="AMPERSAND",C="APOSTROPHE",A="ASTERISK",E="AT",R="BACKSLASH",M="BACKTICK",D="CARET",z="COLON",j="COMMA",Z="DOLLAR",V="DOT",X="EQUALS",W="EXCLAMATION",q="HYPHEN",I="PERCENT",N="PIPE",L="PLUS",B="POUND",U="QUERY",Y="QUOTE",F="SEMI",G="SLASH",H="TILDE",K="UNDERSCORE",J="SYM",tt=Object.freeze({__proto__:null,DOMAIN:d,LOCALHOST:f,TLD:O,NUM:m,PROTOCOL:g,MAILTO:v,WS:y,NL:b,OPENBRACE:_,OPENBRACKET:x,OPENANGLEBRACKET:w,OPENPAREN:$,CLOSEBRACE:S,CLOSEBRACKET:k,CLOSEANGLEBRACKET:Q,CLOSEPAREN:T,AMPERSAND:P,APOSTROPHE:C,ASTERISK:A,AT:E,BACKSLASH:R,BACKTICK:M,CARET:D,COLON:z,COMMA:j,DOLLAR:Z,DOT:V,EQUALS:X,EXCLAMATION:W,HYPHEN:q,PERCENT:I,PIPE:N,PLUS:L,POUND:B,QUERY:U,QUOTE:Y,SEMI:F,SLASH:G,TILDE:H,UNDERSCORE:K,SYM:J}),et="aaa aarp abarth abb abbott abbvie abc able abogado abudhabi ac academy accenture accountant accountants aco actor ad adac ads adult ae aeg aero aetna af afamilycompany afl africa ag agakhan agency ai aig airbus airforce airtel akdn al alfaromeo alibaba alipay allfinanz allstate ally alsace alstom am amazon americanexpress americanfamily amex amfam amica amsterdam analytics android anquan anz ao aol apartments app apple aq aquarelle ar arab aramco archi army arpa art arte as asda asia associates at athleta attorney au auction audi audible audio auspost author auto autos avianca aw aws ax axa az azure ba baby baidu banamex bananarepublic band bank bar barcelona barclaycard barclays barefoot bargains baseball basketball bauhaus bayern bb bbc bbt bbva bcg bcn bd be beats beauty beer bentley berlin best bestbuy bet bf bg bh bharti bi bible bid bike bing bingo bio biz bj black blackfriday blockbuster blog bloomberg blue bm bms bmw bn bnpparibas bo boats boehringer bofa bom bond boo book booking bosch bostik boston bot boutique box br bradesco bridgestone broadway broker brother brussels bs bt budapest bugatti build builders business buy buzz bv bw by bz bzh ca cab cafe cal call calvinklein cam camera camp cancerresearch canon capetown capital capitalone car caravan cards care career careers cars casa case cash casino cat catering catholic cba cbn cbre cbs cc cd center ceo cern cf cfa cfd cg ch chanel channel charity chase chat cheap chintai christmas chrome church ci cipriani circle cisco citadel citi citic city cityeats ck cl claims cleaning click clinic clinique clothing cloud club clubmed cm cn co coach codes coffee college cologne com comcast commbank community company compare computer comsec condos construction consulting contact contractors cooking cookingchannel cool coop corsica country coupon coupons courses cpa cr credit creditcard creditunion cricket crown crs cruise cruises csc cu cuisinella cv cw cx cy cymru cyou cz dabur dad dance data date dating datsun day dclk dds de deal dealer deals degree delivery dell deloitte delta democrat dental dentist desi design dev dhl diamonds diet digital direct directory discount discover dish diy dj dk dm dnp do docs doctor dog domains dot download drive dtv dubai duck dunlop dupont durban dvag dvr dz earth eat ec eco edeka edu education ee eg email emerck energy engineer engineering enterprises epson equipment er ericsson erni es esq estate et etisalat eu eurovision eus events exchange expert exposed express extraspace fage fail fairwinds faith family fan fans farm farmers fashion fast fedex feedback ferrari ferrero fi fiat fidelity fido film final finance financial fire firestone firmdale fish fishing fit fitness fj fk flickr flights flir florist flowers fly fm fo foo food foodnetwork football ford forex forsale forum foundation fox fr free fresenius frl frogans frontdoor frontier ftr fujitsu fujixerox fun fund furniture futbol fyi ga gal gallery gallo gallup game games gap garden gay gb gbiz gd gdn ge gea gent genting george gf gg ggee gh gi gift gifts gives giving gl glade glass gle global globo gm gmail gmbh gmo gmx gn godaddy gold goldpoint golf goo goodyear goog google gop got gov gp gq gr grainger graphics gratis green gripe grocery group gs gt gu guardian gucci guge guide guitars guru gw gy hair hamburg hangout haus hbo hdfc hdfcbank health healthcare help helsinki here hermes hgtv hiphop hisamitsu hitachi hiv hk hkt hm hn hockey holdings holiday homedepot homegoods homes homesense honda horse hospital host hosting hot hoteles hotels hotmail house how hr hsbc ht hu hughes hyatt hyundai ibm icbc ice icu id ie ieee ifm ikano il im imamat imdb immo immobilien in inc industries infiniti info ing ink institute insurance insure int international intuit investments io ipiranga iq ir irish is ismaili ist istanbul it itau itv iveco jaguar java jcb je jeep jetzt jewelry jio jll jm jmp jnj jo jobs joburg jot joy jp jpmorgan jprs juegos juniper kaufen kddi ke kerryhotels kerrylogistics kerryproperties kfh kg kh ki kia kim kinder kindle kitchen kiwi km kn koeln komatsu kosher kp kpmg kpn kr krd kred kuokgroup kw ky kyoto kz la lacaixa lamborghini lamer lancaster lancia land landrover lanxess lasalle lat latino latrobe law lawyer lb lc lds lease leclerc lefrak legal lego lexus lgbt li lidl life lifeinsurance lifestyle lighting like lilly limited limo lincoln linde link lipsy live living lixil lk llc llp loan loans locker locus loft lol london lotte lotto love lpl lplfinancial lr ls lt ltd ltda lu lundbeck luxe luxury lv ly ma macys madrid maif maison makeup man management mango map market marketing markets marriott marshalls maserati mattel mba mc mckinsey md me med media meet melbourne meme memorial men menu merckmsd mg mh miami microsoft mil mini mint mit mitsubishi mk ml mlb mls mm mma mn mo mobi mobile moda moe moi mom monash money monster mormon mortgage moscow moto motorcycles mov movie mp mq mr ms msd mt mtn mtr mu museum mutual mv mw mx my mz na nab nagoya name nationwide natura navy nba nc ne nec net netbank netflix network neustar new news next nextdirect nexus nf nfl ng ngo nhk ni nico nike nikon ninja nissan nissay nl no nokia northwesternmutual norton now nowruz nowtv np nr nra nrw ntt nu nyc nz obi observer off office okinawa olayan olayangroup oldnavy ollo om omega one ong onl online onyourside ooo open oracle orange org organic origins osaka otsuka ott ovh pa page panasonic paris pars partners parts party passagens pay pccw pe pet pf pfizer pg ph pharmacy phd philips phone photo photography photos physio pics pictet pictures pid pin ping pink pioneer pizza pk pl place play playstation plumbing plus pm pn pnc pohl poker politie porn post pr pramerica praxi press prime pro prod productions prof progressive promo properties property protection pru prudential ps pt pub pw pwc py qa qpon quebec quest qvc racing radio raid re read realestate realtor realty recipes red redstone redumbrella rehab reise reisen reit reliance ren rent rentals repair report republican rest restaurant review reviews rexroth rich richardli ricoh ril rio rip rmit ro rocher rocks rodeo rogers room rs rsvp ru rugby ruhr run rw rwe ryukyu sa saarland safe safety sakura sale salon samsclub samsung sandvik sandvikcoromant sanofi sap sarl sas save saxo sb sbi sbs sc sca scb schaeffler schmidt scholarships school schule schwarz science scjohnson scot sd se search seat secure security seek select sener services ses seven sew sex sexy sfr sg sh shangrila sharp shaw shell shia shiksha shoes shop shopping shouji show showtime si silk sina singles site sj sk ski skin sky skype sl sling sm smart smile sn sncf so soccer social softbank software sohu solar solutions song sony soy spa space sport spot spreadbetting sr srl ss st stada staples star statebank statefarm stc stcgroup stockholm storage store stream studio study style su sucks supplies supply support surf surgery suzuki sv swatch swiftcover swiss sx sy sydney systems sz tab taipei talk taobao target tatamotors tatar tattoo tax taxi tc tci td tdk team tech technology tel temasek tennis teva tf tg th thd theater theatre tiaa tickets tienda tiffany tips tires tirol tj tjmaxx tjx tk tkmaxx tl tm tmall tn to today tokyo tools top toray toshiba total tours town toyota toys tr trade trading training travel travelchannel travelers travelersinsurance trust trv tt tube tui tunes tushu tv tvs tw tz ua ubank ubs ug uk unicom university uno uol ups us uy uz va vacations vana vanguard vc ve vegas ventures verisign versicherung vet vg vi viajes video vig viking villas vin vip virgin visa vision viva vivo vlaanderen vn vodka volkswagen volvo vote voting voto voyage vu vuelos wales walmart walter wang wanggou watch watches weather weatherchannel webcam weber website wed wedding weibo weir wf whoswho wien wiki williamhill win windows wine winners wme wolterskluwer woodside work works world wow ws wtc wtf xbox xerox xfinity xihuan xin xxx xyz yachts yahoo yamaxun yandex ye yodobashi yoga yokohama you youtube yt yun za zappos zara zero zip zm zone zuerich zw vermögensberater-ctb vermögensberatung-pwb ελ ευ бг бел дети ею католик ком қаз мкд мон москва онлайн орг рус рф сайт срб укр გე հայ ישראל קום ابوظبي اتصالات ارامكو الاردن البحرين الجزائر السعودية العليان المغرب امارات ایران بارت بازار بھارت بيتك پاکستان ڀارت تونس سودان سورية شبكة عراق عرب عمان فلسطين قطر كاثوليك كوم مصر مليسيا موريتانيا موقع همراه कॉम नेट भारत भारतम् भारोत संगठन বাংলা ভারত ভাৰত ਭਾਰਤ ભારત ଭାରତ இந்தியா இலங்கை சிங்கப்பூர் భారత్ ಭಾರತ ഭാരതം ලංකා คอม ไทย ລາວ 닷넷 닷컴 삼성 한국 アマゾン グーグル クラウド コム ストア セール ファッション ポイント みんな 世界 中信 中国 中國 中文网 亚马逊 企业 佛山 信息 健康 八卦 公司 公益 台湾 台灣 商城 商店 商标 嘉里 嘉里大酒店 在线 大众汽车 大拿 天主教 娱乐 家電 广东 微博 慈善 我爱你 手机 招聘 政务 政府 新加坡 新闻 时尚 書籍 机构 淡马锡 游戏 澳門 点看 移动 组织机构 网址 网店 网站 网络 联通 诺基亚 谷歌 购物 通販 集团 電訊盈科 飞利浦 食品 餐厅 香格里拉 香港".split(" "),nt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C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8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\u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\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\u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E61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/,it=/(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDD-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6])/,rt=/\uFE0F/,st=/\d/,ot=/\s/;function at(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=s(),n=o(m),i=o(d),r=s(),c=o(y),u=[[st,i],[nt,i],[it,i],[rt,i]],tt=function(){var t=o(d);return t.j={"-":r},t.jr=[].concat(u),t},at=function(t){var e=tt();return e.t=t,e};h(e,[["'",o(C)],["{",o(_)],["[",o(x)],["<",o(w)],["(",o($)],["}",o(S)],["]",o(k)],[">",o(Q)],[")",o(T)],["&",o(P)],["*",o(A)],["@",o(E)],["`",o(M)],["^",o(D)],[":",o(z)],[",",o(j)],["$",o(Z)],[".",o(V)],["=",o(X)],["!",o(W)],["-",o(q)],["%",o(I)],["|",o(N)],["+",o(L)],["#",o(B)],["?",o(U)],['"',o(Y)],["/",o(G)],[";",o(F)],["~",o(H)],["_",o(K)],["\\",o(R)]]),a(e,"\n",o(b)),l(e,ot,c),a(c,"\n",s()),l(c,ot,c);for(var lt=0;lt<et.length;lt++)p(e,et[lt],at(O),tt);var ct=tt(),ut=tt(),ht=tt(),pt=tt();p(e,"file",ct,tt),p(e,"ftp",ut,tt),p(e,"http",ht,tt),p(e,"mailto",pt,tt);var dt=tt(),ft=o(g),Ot=o(v);a(ut,"s",dt),a(ut,":",ft),a(ht,"s",dt),a(ht,":",ft),a(ct,":",ft),a(dt,":",ft),a(pt,":",Ot);for(var mt=tt(),gt=0;gt<t.length;gt++)p(e,t[gt],mt,tt);return a(mt,":",ft),p(e,"localhost",at(f),tt),l(e,st,n),l(e,nt,i),l(e,it,i),l(e,rt,i),l(n,st,n),l(n,nt,i),l(n,it,i),l(n,rt,i),a(n,"-",r),a(i,"-",r),a(r,"-",r),l(i,st,i),l(i,nt,i),l(i,it,i),l(i,rt,i),l(r,st,i),l(r,nt,i),l(r,it,i),l(r,rt,i),e.jd=o(J),e}function lt(t,e){var n=ct(e.replace(/[A-Z]/g,(function(t){return t.toLowerCase()}))),i=n.length,r=[],s=0,o=0;while(o<i){var a=t,l=null,u=0,h=null,p=-1,d=-1;while(o<i&&(l=c(a,n[o])))a=l,a.accepts()?(p=0,d=0,h=a):p>=0&&(p+=n[o].length,d++),u+=n[o].length,s+=n[o].length,o++;s-=p,o-=d,u-=p,r.push({t:h.t,v:e.substr(s-u,u),s:s-u,e:s})}return r}function ct(t){var e=[],n=t.length,i=0;while(i<n){var r=t.charCodeAt(i),s=void 0,o=r<55296||r>56319||i+1===n||(s=t.charCodeAt(i+1))<56320||s>57343?t[i]:t.slice(i,i+2);e.push(o),i+=o.length}return e}function ut(t){return ut="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}var ht={defaultProtocol:"http",events:null,format:dt,formatHref:dt,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:0,className:null,attributes:null,ignoreTags:[]};function pt(t){t=t||{},this.defaultProtocol="defaultProtocol"in t?t.defaultProtocol:ht.defaultProtocol,this.events="events"in t?t.events:ht.events,this.format="format"in t?t.format:ht.format,this.formatHref="formatHref"in t?t.formatHref:ht.formatHref,this.nl2br="nl2br"in t?t.nl2br:ht.nl2br,this.tagName="tagName"in t?t.tagName:ht.tagName,this.target="target"in t?t.target:ht.target,this.rel="rel"in t?t.rel:ht.rel,this.validate="validate"in t?t.validate:ht.validate,this.truncate="truncate"in t?t.truncate:ht.truncate,this.className="className"in t?t.className:ht.className,this.attributes=t.attributes||ht.attributes,this.ignoreTags=[];for(var e=("ignoreTags"in t?t.ignoreTags:ht.ignoreTags),n=0;n<e.length;n++)this.ignoreTags.push(e[n].toUpperCase())}function dt(t){return t}pt.prototype={resolve:function(t){var e=t.toHref(this.defaultProtocol);return{formatted:this.get("format",t.toString(),t),formattedHref:this.get("formatHref",e,t),tagName:this.get("tagName",e,t),className:this.get("className",e,t),target:this.get("target",e,t),rel:this.get("rel",e,t),events:this.getObject("events",e,t),attributes:this.getObject("attributes",e,t),truncate:this.get("truncate",e,t)}},check:function(t){return this.get("validate",t.toString(),t)},get:function(t,e,n){var i,r=this[t];if(!r)return r;switch(ut(r)){case"function":return r(e,n.t);case"object":return i=n.t in r?r[n.t]:ht[t],"function"===typeof i?i(e,n.t):i}return r},getObject:function(t,e,n){var i=this[t];return"function"===typeof i?i(e,n.t):i}};function ft(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.create(t.prototype);for(var r in n)i[r]=n[r];return i.constructor=e,e.prototype=i,e}function Ot(){}function mt(t,e){function n(e,n){this.t=t,this.v=e,this.tk=n}return ft(Ot,n,e),n}Ot.prototype={t:"token",isLink:!1,toString:function(){return this.v},toHref:function(){return this.toString()},startIndex:function(){return this.tk[0].s},endIndex:function(){return this.tk[this.tk.length-1].e},toObject:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ht.defaultProtocol;return{type:this.t,value:this.v,isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}}};var gt=mt("email",{isLink:!0}),vt=mt("email",{isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),yt=mt("text"),bt=mt("nl"),_t=mt("url",{isLink:!0,toHref:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ht.defaultProtocol,e=this.tk,n=!1,i=!1,r=[],s=0;while(e[s].t===g)n=!0,r.push(e[s].v),s++;while(e[s].t===G)i=!0,r.push(e[s].v),s++;for(;s<e.length;s++)r.push(e[s].v);return r=r.join(""),n||i||(r="".concat(t,"://").concat(r)),r},hasProtocol:function(){return this.tk[0].t===g}}),xt=Object.freeze({__proto__:null,MultiToken:Ot,Base:Ot,createTokenClass:mt,MailtoEmail:gt,Email:vt,Text:yt,Nl:bt,Url:_t});function wt(){var t=s(),e=s(),n=s(),i=s(),r=s(),l=s(),c=s(),h=o(_t),p=s(),y=o(_t),tt=o(_t),et=s(),nt=s(),it=s(),rt=s(),st=s(),ot=o(_t),at=o(_t),lt=o(_t),ct=o(_t),ut=s(),ht=s(),pt=s(),dt=s(),ft=s(),Ot=s(),mt=o(vt),yt=s(),xt=o(vt),wt=o(gt),$t=s(),St=s(),kt=s(),Qt=s(),Tt=o(bt);a(t,b,Tt),a(t,g,e),a(t,v,n),a(e,G,i),a(i,G,r),a(t,O,l),a(t,d,l),a(t,f,h),a(t,m,l),a(r,O,tt),a(r,d,tt),a(r,m,tt),a(r,f,tt),a(l,V,c),a(ft,V,Ot),a(c,O,h),a(c,d,l),a(c,m,l),a(c,f,l),a(Ot,O,mt),a(Ot,d,ft),a(Ot,m,ft),a(Ot,f,ft),a(h,V,c),a(mt,V,Ot),a(h,z,p),a(h,G,tt),a(p,m,y),a(y,G,tt),a(mt,z,yt),a(yt,m,xt);var Pt=[P,A,E,R,M,D,Z,d,X,q,f,m,I,N,L,B,g,G,J,H,O,K],Ct=[C,Q,S,k,T,z,j,V,W,w,_,x,$,U,Y,F];a(tt,_,nt),a(tt,x,it),a(tt,w,rt),a(tt,$,st),a(et,_,nt),a(et,x,it),a(et,w,rt),a(et,$,st),a(nt,S,tt),a(it,k,tt),a(rt,Q,tt),a(st,T,tt),a(ot,S,tt),a(at,k,tt),a(lt,Q,tt),a(ct,T,tt),a(ut,S,tt),a(ht,k,tt),a(pt,Q,tt),a(dt,T,tt),u(nt,Pt,ot),u(it,Pt,at),u(rt,Pt,lt),u(st,Pt,ct),u(nt,Ct,ut),u(it,Ct,ht),u(rt,Ct,pt),u(st,Ct,dt),u(ot,Pt,ot),u(at,Pt,at),u(lt,Pt,lt),u(ct,Pt,ct),u(ot,Ct,ot),u(at,Ct,at),u(lt,Ct,lt),u(ct,Ct,ct),u(ut,Pt,ot),u(ht,Pt,at),u(pt,Pt,lt),u(dt,Pt,ct),u(ut,Ct,ut),u(ht,Ct,ht),u(pt,Ct,pt),u(dt,Ct,dt),u(tt,Pt,tt),u(et,Pt,tt),u(tt,Ct,et),u(et,Ct,et),a(n,O,wt),a(n,d,wt),a(n,m,wt),a(n,f,wt),u(wt,Pt,wt),u(wt,Ct,$t),u($t,Pt,wt),u($t,Ct,$t);var At=[P,C,A,R,M,D,S,Z,d,X,q,m,_,I,N,L,B,U,G,J,H,O,K];return u(l,At,St),a(l,E,kt),u(h,At,St),a(h,E,kt),u(c,At,St),u(St,At,St),a(St,E,kt),a(St,V,Qt),u(Qt,At,St),a(kt,O,ft),a(kt,d,ft),a(kt,m,ft),a(kt,f,mt),t}function $t(t,e,n){var i=n.length,r=0,s=[],o=[];while(r<i){var a=t,l=null,u=null,h=0,p=null,d=-1;while(r<i&&!(l=c(a,n[r].t)))o.push(n[r++]);while(r<i&&(u=l||c(a,n[r].t)))l=null,a=u,a.accepts()?(d=0,p=a):d>=0&&d++,r++,h++;if(d<0)for(var f=r-h;f<r;f++)o.push(n[f]);else{o.length>0&&(s.push(St(yt,e,o)),o=[]),r-=d,h-=d;var O=p.t,m=n.slice(r-h,r);s.push(St(O,e,m))}}return o.length>0&&s.push(St(yt,e,o)),s}function St(t,e,n){var i=n[0].s,r=n[n.length-1].e,s=e.substr(i,r-i);return new t(s,n)}"undefined"!==typeof console&&console&&console.warn;var kt={scanner:null,parser:null,pluginQueue:[],customProtocols:[],initialized:!1};function Qt(){kt.scanner={start:at(kt.customProtocols),tokens:tt},kt.parser={start:wt(),tokens:xt};for(var t={createTokenClass:mt},e=0;e<kt.pluginQueue.length;e++)kt.pluginQueue[e][1]({scanner:kt.scanner,parser:kt.parser,utils:t});kt.initialized=!0}function Tt(t){return kt.initialized||Qt(),$t(kt.parser.start,t,lt(kt.scanner.start,t))}function Pt(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Tt(t),i=[],r=0;r<n.length;r++){var s=n[r];!s.isLink||e&&s.t!==e||i.push(s.toObject())}return i}function Ct(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Tt(t);return 1===n.length&&n[0].isLink&&(!e||n[0].t===e)}var At=n(76922);function Et(t){return new At.Sy({key:new At.H$("autolink"),appendTransaction:(e,n,r)=>{const s=e.some((t=>t.docChanged))&&!n.doc.eq(r.doc),o=e.some((t=>t.getMeta("preventAutolink")));if(!s||o)return;const{tr:a}=r,l=(0,i.XP)(n.doc,e),{mapping:c}=l,u=(0,i.QC)(l);return u.forEach((({oldRange:e,newRange:s})=>{(0,i.tI)(e.from,e.to,n.doc).filter((e=>e.mark.type===t.type)).forEach((e=>{const s=c.map(e.from),o=c.map(e.to),l=(0,i.tI)(s,o,r.doc).filter((e=>e.mark.type===t.type));if(!l.length)return;const u=l[0],h=n.doc.textBetween(e.from,e.to,void 0," "),p=r.doc.textBetween(u.from,u.to,void 0," "),d=Ct(h),f=Ct(p);d&&!f&&a.removeMark(u.from,u.to,t.type)})),(0,i.b5)(r.doc,s,(t=>t.isTextblock)).forEach((e=>{const n=r.doc.textBetween(e.pos,e.pos+e.node.nodeSize,void 0," ");Pt(n).filter((t=>t.isLink)).map((t=>({...t,from:e.pos+t.start+1,to:e.pos+t.end+1}))).filter((t=>{const e=s.from>=t.from&&s.from<=t.to,n=s.to>=t.from&&s.to<=t.to;return e||n})).forEach((e=>{a.addMark(e.from,e.to,t.type.create({href:e.href}))}))}))})),a.steps.length?a:void 0}})}function Rt(t){return new At.Sy({key:new At.H$("handleClickLink"),props:{handleClick:(e,n,r)=>{var s;const o=(0,i.u9)(e.state,t.type.name),a=null===(s=r.target)||void 0===s?void 0:s.closest("a");return!(!a||!o.href)&&(window.open(o.href,o.target),!0)}}})}function Mt(t){return new At.Sy({key:new At.H$("handlePasteLink"),props:{handlePaste:(e,n,i)=>{const{state:r}=e,{selection:s}=r,{empty:o}=s;if(o)return!1;let a="";i.content.forEach((t=>{a+=t.textContent}));const l=Pt(a).find((t=>t.isLink&&t.value===a));return!(!a||!l)&&(t.editor.commands.setMark(t.type,{href:l.href}),!0)}}})}const Dt=i.vc.create({name:"link",priority:1e3,keepOnSplit:!1,inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow"}}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target}}},parseHTML(){return[{tag:"a[href]"}]},renderHTML({HTMLAttributes:t}){return["a",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setLink:t=>({chain:e})=>e().setMark(this.name,t).setMeta("preventAutolink",!0).run(),toggleLink:t=>({chain:e})=>e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[(0,i.K9)({find:t=>Pt(t).filter((t=>t.isLink)).map((t=>({text:t.value,index:t.start,data:t}))),type:this.type,getAttributes:t=>{var e;return{href:null===(e=t.data)||void 0===e?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[];return this.options.autolink&&t.push(Et({type:this.type})),this.options.openOnClick&&t.push(Rt({type:this.type})),this.options.linkOnPaste&&t.push(Mt({editor:this.editor,type:this.type})),t}})},93427:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.NB.create({name:"listItem",addOptions(){return{HTMLAttributes:{}}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",(0,i.P1)(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}})},85961:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>s});var i=n(67625);const r=/^(\d+)\.\s$/,s=i.NB.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return 1===e?["ol",(0,i.P1)(this.options.HTMLAttributes,n),0]:["ol",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){return[(0,i.S0)({find:r,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1]})]}})},69457:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.NB.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})},53418:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>o});var i=n(67625);const r=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/,s=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g,o=i.vc.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>!!t.includes("line-through")&&{}}]},renderHTML({HTMLAttributes:t}){return["s",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-x":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,i.Cf)({find:r,type:this.type})]},addPasteRules(){return[(0,i.K9)({find:s,type:this.type})]}})},79068:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.NB.create({name:"text",group:"inline"})},53237:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(67625);const r=i.vc.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>!!t.includes("underline")&&{}}]},renderHTML({HTMLAttributes:t}){return["u",(0,i.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline()}}})},67145:(t,e,n)=>{"use strict";n.d(e,{ML:()=>$e,kg:()=>Se});var i=n(67625),r=n(76922),s=n(26143),o=n(40583),a=n(7994),l=n(21955),c=n(50380),u=n(98293),h=n(3),p=n(62556),d={placement:"bottom",modifiers:[],strategy:"absolute"};function f(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function O(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,O=void 0===r?d:r;return function(t,e,n){void 0===n&&(n=O);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,O),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},m=[],g=!1,v={state:r,setOptions:function(n){var s="function"===typeof n?n(r.options):n;b(),r.options=Object.assign({},O,r.options,s),r.scrollParents={reference:(0,p.kK)(t)?(0,a.Z)(t):t.contextElement?(0,a.Z)(t.contextElement):[],popper:(0,a.Z)(e)};var o=(0,c.Z)((0,h.Z)([].concat(i,r.options.modifiers)));return r.orderedModifiers=o.filter((function(t){return t.enabled})),y(),v.update()},forceUpdate:function(){if(!g){var t=r.elements,e=t.reference,n=t.popper;if(f(e,n)){r.rects={reference:(0,s.Z)(e,(0,l.Z)(n),"fixed"===r.options.strategy),popper:(0,o.Z)(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(t){return r.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var a=r.orderedModifiers[i],c=a.fn,u=a.options,h=void 0===u?{}:u,p=a.name;"function"===typeof c&&(r=c({state:r,options:h,name:p,instance:v})||r)}else r.reset=!1,i=-1}}},update:(0,u.Z)((function(){return new Promise((function(t){v.forceUpdate(),t(r)}))})),destroy:function(){b(),g=!0}};if(!f(t,e))return v;function y(){r.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,s=t.effect;if("function"===typeof s){var o=s({state:r,name:e,instance:v,options:i}),a=function(){};m.push(o||a)}}))}function b(){m.forEach((function(t){return t()})),m=[]}return v.setOptions(n).then((function(t){!g&&n.onFirstUpdate&&n.onFirstUpdate(t)})),v}}var m=n(62057),g={passive:!0};function v(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,s=void 0===r||r,o=i.resize,a=void 0===o||o,l=(0,m.Z)(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach((function(t){t.addEventListener("scroll",n.update,g)})),a&&l.addEventListener("resize",n.update,g),function(){s&&c.forEach((function(t){t.removeEventListener("scroll",n.update,g)})),a&&l.removeEventListener("resize",n.update,g)}}const y={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:v,data:{}};var b=n(72581);function _(t){var e=t.state,n=t.name;e.modifiersData[n]=(0,b.Z)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const x={name:"popperOffsets",enabled:!0,phase:"read",fn:_,data:{}};var w=n(87701),$=n(67252),S=n(43062),k=n(6206),Q=n(14943),T=n(138),P={top:"auto",right:"auto",bottom:"auto",left:"auto"};function C(t){var e=t.x,n=t.y,i=window,r=i.devicePixelRatio||1;return{x:(0,T.NM)(e*r)/r||0,y:(0,T.NM)(n*r)/r||0}}function A(t){var e,n=t.popper,i=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,c=t.gpuAcceleration,u=t.adaptive,h=t.roundOffsets,p=t.isFixed,d=o.x,f=void 0===d?0:d,O=o.y,g=void 0===O?0:O,v="function"===typeof h?h({x:f,y:g}):{x:f,y:g};f=v.x,g=v.y;var y=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),_=w.t$,x=w.we,k=window;if(u){var Q=(0,l.Z)(n),T="clientHeight",A="clientWidth";if(Q===(0,m.Z)(n)&&(Q=(0,$.Z)(n),"static"!==(0,S.Z)(Q).position&&"absolute"===a&&(T="scrollHeight",A="scrollWidth")),r===w.we||(r===w.t$||r===w.F2)&&s===w.ut){x=w.I;var E=p&&k.visualViewport?k.visualViewport.height:Q[T];g-=E-i.height,g*=c?1:-1}if(r===w.t$||(r===w.we||r===w.I)&&s===w.ut){_=w.F2;var R=p&&k.visualViewport?k.visualViewport.width:Q[A];f-=R-i.width,f*=c?1:-1}}var M,D=Object.assign({position:a},u&&P),z=!0===h?C({x:f,y:g}):{x:f,y:g};return f=z.x,g=z.y,c?Object.assign({},D,(M={},M[x]=b?"0":"",M[_]=y?"0":"",M.transform=(k.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",M)):Object.assign({},D,(e={},e[x]=b?g+"px":"",e[_]=y?f+"px":"",e.transform="",e))}function E(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:(0,k.Z)(e.placement),variation:(0,Q.Z)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,A(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,A(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const R={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:E,data:{}};var M=n(96333);function D(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];(0,p.Re)(r)&&(0,M.Z)(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))}function z(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=s.reduce((function(t,e){return t[e]="",t}),{});(0,p.Re)(i)&&(0,M.Z)(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}}const j={name:"applyStyles",enabled:!0,phase:"write",fn:D,effect:z,requires:["computeStyles"]};function Z(t,e,n){var i=(0,k.Z)(t),r=[w.t$,w.we].indexOf(i)>=0?-1:1,s="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[w.t$,w.F2].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function V(t){var e=t.state,n=t.options,i=t.name,r=n.offset,s=void 0===r?[0,0]:r,o=w.Ct.reduce((function(t,n){return t[n]=Z(n,e.rects,s),t}),{}),a=o[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const X={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:V};var W={left:"right",right:"left",bottom:"top",top:"bottom"};function q(t){return t.replace(/left|right|bottom|top/g,(function(t){return W[t]}))}var I={start:"end",end:"start"};function N(t){return t.replace(/start|end/g,(function(t){return I[t]}))}var L=n(23161);function B(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?w.Ct:l,u=(0,Q.Z)(i),h=u?a?w.bw:w.bw.filter((function(t){return(0,Q.Z)(t)===u})):w.mv,p=h.filter((function(t){return c.indexOf(t)>=0}));0===p.length&&(p=h);var d=p.reduce((function(e,n){return e[n]=(0,L.Z)(t,{placement:n,boundary:r,rootBoundary:s,padding:o})[(0,k.Z)(n)],e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}function U(t){if((0,k.Z)(t)===w.d7)return[];var e=q(t);return[N(t),e,N(e)]}function Y(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,f=void 0===d||d,O=n.allowedAutoPlacements,m=e.options.placement,g=(0,k.Z)(m),v=g===m,y=l||(v||!f?[q(m)]:U(m)),b=[m].concat(y).reduce((function(t,n){return t.concat((0,k.Z)(n)===w.d7?B(e,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:O}):n)}),[]),_=e.rects.reference,x=e.rects.popper,$=new Map,S=!0,T=b[0],P=0;P<b.length;P++){var C=b[P],A=(0,k.Z)(C),E=(0,Q.Z)(C)===w.BL,R=[w.we,w.I].indexOf(A)>=0,M=R?"width":"height",D=(0,L.Z)(e,{placement:C,boundary:u,rootBoundary:h,altBoundary:p,padding:c}),z=R?E?w.F2:w.t$:E?w.I:w.we;_[M]>x[M]&&(z=q(z));var j=q(z),Z=[];if(s&&Z.push(D[A]<=0),a&&Z.push(D[z]<=0,D[j]<=0),Z.every((function(t){return t}))){T=C,S=!1;break}$.set(C,Z)}if(S)for(var V=f?3:1,X=function(t){var e=b.find((function(e){var n=$.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},W=V;W>0;W--){var I=X(W);if("break"===I)break}e.placement!==T&&(e.modifiersData[i]._skip=!0,e.placement=T,e.reset=!0)}}const F={name:"flip",enabled:!0,phase:"main",fn:Y,requiresIfExists:["offset"],data:{_skip:!1}};var G=n(11516);function H(t){return"x"===t?"y":"x"}function K(t,e,n){return(0,T.Fp)(t,(0,T.VV)(e,n))}function J(t,e,n){var i=K(t,e,n);return i>n?n:i}var tt=n(23607);function et(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,s=void 0===r||r,a=n.altAxis,c=void 0!==a&&a,u=n.boundary,h=n.rootBoundary,p=n.altBoundary,d=n.padding,f=n.tether,O=void 0===f||f,m=n.tetherOffset,g=void 0===m?0:m,v=(0,L.Z)(e,{boundary:u,rootBoundary:h,padding:d,altBoundary:p}),y=(0,k.Z)(e.placement),b=(0,Q.Z)(e.placement),_=!b,x=(0,G.Z)(y),$=H(x),S=e.modifiersData.popperOffsets,P=e.rects.reference,C=e.rects.popper,A="function"===typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,E="number"===typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),R=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(S){if(s){var D,z="y"===x?w.we:w.t$,j="y"===x?w.I:w.F2,Z="y"===x?"height":"width",V=S[x],X=V+v[z],W=V-v[j],q=O?-C[Z]/2:0,I=b===w.BL?P[Z]:C[Z],N=b===w.BL?-C[Z]:-P[Z],B=e.elements.arrow,U=O&&B?(0,o.Z)(B):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:(0,tt.Z)(),F=Y[z],et=Y[j],nt=K(0,P[Z],U[Z]),it=_?P[Z]/2-q-nt-F-E.mainAxis:I-nt-F-E.mainAxis,rt=_?-P[Z]/2+q+nt+et+E.mainAxis:N+nt+et+E.mainAxis,st=e.elements.arrow&&(0,l.Z)(e.elements.arrow),ot=st?"y"===x?st.clientTop||0:st.clientLeft||0:0,at=null!=(D=null==R?void 0:R[x])?D:0,lt=V+it-at-ot,ct=V+rt-at,ut=K(O?(0,T.VV)(X,lt):X,V,O?(0,T.Fp)(W,ct):W);S[x]=ut,M[x]=ut-V}if(c){var ht,pt="x"===x?w.we:w.t$,dt="x"===x?w.I:w.F2,ft=S[$],Ot="y"===$?"height":"width",mt=ft+v[pt],gt=ft-v[dt],vt=-1!==[w.we,w.t$].indexOf(y),yt=null!=(ht=null==R?void 0:R[$])?ht:0,bt=vt?mt:ft-P[Ot]-C[Ot]-yt+E.altAxis,_t=vt?ft+P[Ot]+C[Ot]-yt-E.altAxis:gt,xt=O&&vt?J(bt,ft,_t):K(O?bt:mt,ft,O?_t:gt);S[$]=xt,M[$]=xt-ft}e.modifiersData[i]=M}}const nt={name:"preventOverflow",enabled:!0,phase:"main",fn:et,requiresIfExists:["offset"]};var it=n(94985),rt=n(63293),st=n(33706),ot=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,(0,rt.Z)("number"!==typeof t?t:(0,st.Z)(t,w.mv))};function at(t){var e,n=t.state,i=t.name,r=t.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,c=(0,k.Z)(n.placement),u=(0,G.Z)(c),h=[w.t$,w.F2].indexOf(c)>=0,p=h?"height":"width";if(s&&a){var d=ot(r.padding,n),f=(0,o.Z)(s),O="y"===u?w.we:w.t$,m="y"===u?w.I:w.F2,g=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],v=a[u]-n.rects.reference[u],y=(0,l.Z)(s),b=y?"y"===u?y.clientHeight||0:y.clientWidth||0:0,_=g/2-v/2,x=d[O],$=b-f[p]-d[m],S=b/2-f[p]/2+_,Q=K(x,S,$),T=u;n.modifiersData[i]=(e={},e[T]=Q,e.centerOffset=Q-S,e)}}function lt(t){var e=t.state,n=t.options,i=n.element,r=void 0===i?"[data-popper-arrow]":i;null!=r&&("string"!==typeof r||(r=e.elements.popper.querySelector(r),r))&&(0,it.Z)(e.elements.popper,r)&&(e.elements.arrow=r)}const ct={name:"arrow",enabled:!0,phase:"main",fn:at,effect:lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ut(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ht(t){return[w.we,w.F2,w.I,w.t$].some((function(e){return t[e]>=0}))}function pt(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=(0,L.Z)(e,{elementContext:"reference"}),a=(0,L.Z)(e,{altBoundary:!0}),l=ut(o,i),c=ut(a,r,s),u=ht(l),h=ht(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const dt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pt};var ft=[y,x,R,j,X,F,nt,ct,dt],Ot=O({defaultModifiers:ft}),mt="tippy-box",gt="tippy-content",vt="tippy-backdrop",yt="tippy-arrow",bt="tippy-svg-arrow",_t={passive:!0,capture:!0},xt=function(){return document.body};function wt(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function $t(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function St(t,e){return"function"===typeof t?t.apply(void 0,e):t}function kt(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function Qt(t){return t.split(/\s+/).filter(Boolean)}function Tt(t){return[].concat(t)}function Pt(t,e){-1===t.indexOf(e)&&t.push(e)}function Ct(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function At(t){return t.split("-")[0]}function Et(t){return[].slice.call(t)}function Rt(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function Mt(){return document.createElement("div")}function Dt(t){return["Element","Fragment"].some((function(e){return $t(t,e)}))}function zt(t){return $t(t,"NodeList")}function jt(t){return $t(t,"MouseEvent")}function Zt(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Vt(t){return Dt(t)?[t]:zt(t)?Et(t):Array.isArray(t)?t:Et(document.querySelectorAll(t))}function Xt(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Wt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function qt(t){var e,n=Tt(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function It(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,r=t.popperState,s=t.props,o=s.interactiveBorder,a=At(r.placement),l=r.modifiersData.offset;if(!l)return!0;var c="bottom"===a?l.top.y:0,u="top"===a?l.bottom.y:0,h="right"===a?l.left.x:0,p="left"===a?l.right.x:0,d=e.top-i+c>o,f=i-e.bottom-u>o,O=e.left-n+h>o,m=n-e.right-p>o;return d||f||O||m}))}function Nt(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function Lt(t,e){var n=e;while(n){var i;if(t.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var Bt={isTouch:!1},Ut=0;function Yt(){Bt.isTouch||(Bt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ft))}function Ft(){var t=performance.now();t-Ut<20&&(Bt.isTouch=!1,document.removeEventListener("mousemove",Ft)),Ut=t}function Gt(){var t=document.activeElement;if(Zt(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Ht(){document.addEventListener("touchstart",Yt,_t),window.addEventListener("blur",Gt)}var Kt="undefined"!==typeof window&&"undefined"!==typeof document,Jt=!!Kt&&!!window.msCrypto;var te={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ee={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ne=Object.assign({appendTo:xt,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},te,ee),ie=Object.keys(ne),re=function(t){var e=Object.keys(t);e.forEach((function(e){ne[e]=t[e]}))};function se(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,r=n.name,s=n.defaultValue;r&&(e[r]=void 0!==t[r]?t[r]:null!=(i=ne[r])?i:s);return e}),{});return Object.assign({},t,n)}function oe(t,e){var n=e?Object.keys(se(Object.assign({},ne,{plugins:e}))):ie,i=n.reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(r){e[n]=i}return e}),{});return i}function ae(t,e){var n=Object.assign({},e,{content:St(e.content,[t])},e.ignoreAttributes?{}:oe(t,e.plugins));return n.aria=Object.assign({},ne.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}var le=function(){return"innerHTML"};function ce(t,e){t[le()]=e}function ue(t){var e=Mt();return!0===t?e.className=yt:(e.className=bt,Dt(t)?e.appendChild(t):ce(e,t)),e}function he(t,e){Dt(e.content)?(ce(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?ce(t,e.content):t.textContent=e.content)}function pe(t){var e=t.firstElementChild,n=Et(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(gt)})),arrow:n.find((function(t){return t.classList.contains(yt)||t.classList.contains(bt)})),backdrop:n.find((function(t){return t.classList.contains(vt)}))}}function de(t){var e=Mt(),n=Mt();n.className=mt,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Mt();function r(n,i){var r=pe(e),s=r.box,o=r.content,a=r.arrow;i.theme?s.setAttribute("data-theme",i.theme):s.removeAttribute("data-theme"),"string"===typeof i.animation?s.setAttribute("data-animation",i.animation):s.removeAttribute("data-animation"),i.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?s.setAttribute("role",i.role):s.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||he(o,t.props),i.arrow?a?n.arrow!==i.arrow&&(s.removeChild(a),s.appendChild(ue(i.arrow))):s.appendChild(ue(i.arrow)):a&&s.removeChild(a)}return i.className=gt,i.setAttribute("data-state","hidden"),he(i,t.props),e.appendChild(n),n.appendChild(i),r(t.props,t.props),{popper:e,onUpdate:r}}de.$$tippy=!0;var fe=1,Oe=[],me=[];function ge(t,e){var n,i,r,s,o,a,l,c=ae(t,Object.assign({},ne,se(Rt(e)))),u=!1,h=!1,p=!1,d=!1,f=[],O=kt(G,c.interactiveDebounce),m=fe++,g=null,v=Ct(c.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},b={id:m,reference:t,popper:Mt(),popperInstance:g,props:c,state:y,plugins:v,clearDelayTimeouts:lt,setProps:ct,setContent:ut,show:ht,hide:pt,hideWithInteractivity:dt,enable:ot,disable:at,unmount:ft,destroy:mt};if(!c.render)return b;var _=c.render(b),x=_.popper,w=_.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,t._tippy=b,x._tippy=b;var $=v.map((function(t){return t.fn(b)})),S=t.hasAttribute("aria-expanded");return U(),z(),R(),M("onCreate",[b]),c.showOnCreate&&rt(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",O)})),b;function k(){var t=b.props.touch;return Array.isArray(t)?t:[t,0]}function Q(){return"hold"===k()[0]}function T(){var t;return!(null==(t=b.props.render)||!t.$$tippy)}function P(){return l||t}function C(){var t=P().parentNode;return t?qt(t):document}function A(){return pe(x)}function E(t){return b.state.isMounted&&!b.state.isVisible||Bt.isTouch||s&&"focus"===s.type?0:wt(b.props.delay,t?0:1,ne.delay)}function R(t){void 0===t&&(t=!1),x.style.pointerEvents=b.props.interactive&&!t?"":"none",x.style.zIndex=""+b.props.zIndex}function M(t,e,n){var i;(void 0===n&&(n=!0),$.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(i=b.props)[t].apply(i,e)}function D(){var e=b.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,r=Tt(b.props.triggerTarget||t);r.forEach((function(t){var e=t.getAttribute(n);if(b.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var r=e&&e.replace(i,"").trim();r?t.setAttribute(n,r):t.removeAttribute(n)}}))}}function z(){if(!S&&b.props.aria.expanded){var e=Tt(b.props.triggerTarget||t);e.forEach((function(t){b.props.interactive?t.setAttribute("aria-expanded",b.state.isVisible&&t===P()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function j(){C().removeEventListener("mousemove",O),Oe=Oe.filter((function(t){return t!==O}))}function Z(e){if(!Bt.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!b.props.interactive||!Lt(x,n)){if(Tt(b.props.triggerTarget||t).some((function(t){return Lt(t,n)}))){if(Bt.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[b,e]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),h=!0,setTimeout((function(){h=!1})),b.state.isMounted||q())}}}function V(){p=!0}function X(){p=!1}function W(){var t=C();t.addEventListener("mousedown",Z,!0),t.addEventListener("touchend",Z,_t),t.addEventListener("touchstart",X,_t),t.addEventListener("touchmove",V,_t)}function q(){var t=C();t.removeEventListener("mousedown",Z,!0),t.removeEventListener("touchend",Z,_t),t.removeEventListener("touchstart",X,_t),t.removeEventListener("touchmove",V,_t)}function I(t,e){L(t,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function N(t,e){L(t,e)}function L(t,e){var n=A().box;function i(t){t.target===n&&(Nt(n,"remove",i),e())}if(0===t)return e();Nt(n,"remove",o),Nt(n,"add",i),o=i}function B(e,n,i){void 0===i&&(i=!1);var r=Tt(b.props.triggerTarget||t);r.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function U(){Q()&&(B("touchstart",F,{passive:!0}),B("touchend",H,{passive:!0})),Qt(b.props.trigger).forEach((function(t){if("manual"!==t)switch(B(t,F),t){case"mouseenter":B("mouseleave",H);break;case"focus":B(Jt?"focusout":"blur",K);break;case"focusin":B("focusout",K);break}}))}function Y(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)})),f=[]}function F(t){var e,n=!1;if(b.state.isEnabled&&!J(t)&&!h){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,z(),!b.state.isVisible&&jt(t)&&Oe.forEach((function(e){return e(t)})),"click"===t.type&&(b.props.trigger.indexOf("mouseenter")<0||u)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:rt(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function G(t){var e=t.target,n=P().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:c}:null})).filter(Boolean);It(i,t)&&(j(),st(t))}}function H(t){var e=J(t)||b.props.trigger.indexOf("click")>=0&&u;e||(b.props.interactive?b.hideWithInteractivity(t):st(t))}function K(t){b.props.trigger.indexOf("focusin")<0&&t.target!==P()||b.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!Bt.isTouch&&Q()!==t.type.indexOf("touch")>=0}function tt(){et();var e=b.props,n=e.popperOptions,i=e.placement,r=e.offset,s=e.getReferenceClientRect,o=e.moveTransition,l=T()?pe(x).arrow:null,c=s?{getBoundingClientRect:s,contextElement:s.contextElement||P()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(T()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},h=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];T()&&l&&h.push({name:"arrow",options:{element:l,padding:3}}),h.push.apply(h,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Ot(c,x,Object.assign({},n,{placement:i,onFirstUpdate:a,modifiers:h}))}function et(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function nt(){var t,e=b.props.appendTo,n=P();t=b.props.interactive&&e===xt||"parent"===e?n.parentNode:St(e,[n]),t.contains(x)||t.appendChild(x),b.state.isMounted=!0,tt()}function it(){return Et(x.querySelectorAll("[data-tippy-root]"))}function rt(t){b.clearDelayTimeouts(),t&&M("onTrigger",[b,t]),W();var e=E(!0),i=k(),r=i[0],s=i[1];Bt.isTouch&&"hold"===r&&s&&(e=s),e?n=setTimeout((function(){b.show()}),e):b.show()}function st(t){if(b.clearDelayTimeouts(),M("onUntrigger",[b,t]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=E(!1);e?i=setTimeout((function(){b.state.isVisible&&b.hide()}),e):r=requestAnimationFrame((function(){b.hide()}))}}else q()}function ot(){b.state.isEnabled=!0}function at(){b.hide(),b.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(r)}function ct(e){if(!b.state.isDestroyed){M("onBeforeUpdate",[b,e]),Y();var n=b.props,i=ae(t,Object.assign({},n,Rt(e),{ignoreAttributes:!0}));b.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(j(),O=kt(G,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?Tt(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),z(),R(),w&&w(n,i),b.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),M("onAfterUpdate",[b,e])}}function ut(t){b.setProps({content:t})}function ht(){var t=b.state.isVisible,e=b.state.isDestroyed,n=!b.state.isEnabled,i=Bt.isTouch&&!b.props.touch,r=wt(b.props.duration,0,ne.duration);if(!(t||e||n||i)&&!P().hasAttribute("disabled")&&(M("onShow",[b],!1),!1!==b.props.onShow(b))){if(b.state.isVisible=!0,T()&&(x.style.visibility="visible"),R(),W(),b.state.isMounted||(x.style.transition="none"),T()){var s=A(),o=s.box,l=s.content;Xt([o,l],0)}a=function(){var t;if(b.state.isVisible&&!d){if(d=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,T()&&b.props.animation){var e=A(),n=e.box,i=e.content;Xt([n,i],r),Wt([n,i],"visible")}D(),z(),Pt(me,b),null==(t=b.popperInstance)||t.forceUpdate(),M("onMount",[b]),b.props.animation&&T()&&N(r,(function(){b.state.isShown=!0,M("onShown",[b])}))}},nt()}}function pt(){var t=!b.state.isVisible,e=b.state.isDestroyed,n=!b.state.isEnabled,i=wt(b.props.duration,1,ne.duration);if(!(t||e||n)&&(M("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,d=!1,u=!1,T()&&(x.style.visibility="hidden"),j(),q(),R(!0),T()){var r=A(),s=r.box,o=r.content;b.props.animation&&(Xt([s,o],i),Wt([s,o],"hidden"))}D(),z(),b.props.animation?T()&&I(i,b.unmount):b.unmount()}}function dt(t){C().addEventListener("mousemove",O),Pt(Oe,O),O(t)}function ft(){b.state.isVisible&&b.hide(),b.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),me=me.filter((function(t){return t!==b})),b.state.isMounted=!1,M("onHidden",[b]))}function mt(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),Y(),delete t._tippy,b.state.isDestroyed=!0,M("onDestroy",[b]))}}function ve(t,e){void 0===e&&(e={});var n=ne.plugins.concat(e.plugins||[]);Ht();var i=Object.assign({},e,{plugins:n}),r=Vt(t),s=r.reduce((function(t,e){var n=e&&ge(e,i);return n&&t.push(n),t}),[]);return Dt(t)?s[0]:s}ve.defaultProps=ne,ve.setDefaultProps=re,ve.currentInput=Bt;Object.assign({},j,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});ve.setDefaultProps({render:de});const ye=ve;class be{constructor({editor:t,element:e,view:n,tippyOptions:r={},shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:t,state:e,from:n,to:r})=>{const{doc:s,selection:o}=e,{empty:a}=o,l=!s.textBetween(n,r).length&&(0,i.hT)(e.selection);return!(!t.hasFocus()||a||l)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:t})=>{var e;this.preventHide?this.preventHide=!1:(null===t||void 0===t?void 0:t.relatedTarget)&&(null===(e=this.element.parentNode)||void 0===e?void 0:e.contains(t.relatedTarget))||this.hide()},this.editor=t,this.element=e,this.view=n,s&&(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=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options,e=!!t.parentElement;!this.tippy&&e&&(this.tippy=ye(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",(t=>{this.blurHandler({event:t})})))}update(t,e){var n,r;const{state:s,composing:o}=t,{doc:a,selection:l}=s,c=e&&e.doc.eq(a)&&e.selection.eq(l);if(o||c)return;this.createTooltip();const{ranges:u}=l,h=Math.min(...u.map((t=>t.$from.pos))),p=Math.max(...u.map((t=>t.$to.pos))),d=null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:t,state:s,oldState:e,from:h,to:p});d?(null===(r=this.tippy)||void 0===r||r.setProps({getReferenceClientRect:()=>{if((0,i.EG)(s.selection)){const e=t.nodeDOM(h);if(e)return e.getBoundingClientRect()}return(0,i.pr)(t,h,p)}}),this.show()):this.hide()}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t;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 _e=t=>new r.Sy({key:"string"===typeof t.pluginKey?new r.H$(t.pluginKey):t.pluginKey,view:e=>new be({view:e,...t})});i.hj.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[_e({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});class xe{constructor({editor:t,element:e,view:n,tippyOptions:i={},shouldShow:r}){this.preventHide=!1,this.shouldShow=({view:t,state:e})=>{const{selection:n}=e,{$anchor:i,empty:r}=n,s=1===i.depth,o=i.parent.isTextblock&&!i.parent.type.spec.code&&!i.parent.textContent;return!!(t.hasFocus()&&r&&s&&o)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:t})=>{var e;this.preventHide?this.preventHide=!1:(null===t||void 0===t?void 0:t.relatedTarget)&&(null===(e=this.element.parentNode)||void 0===e?void 0:e.contains(t.relatedTarget))||this.hide()},this.editor=t,this.element=e,this.view=n,r&&(this.shouldShow=r),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options,e=!!t.parentElement;!this.tippy&&e&&(this.tippy=ye(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",(t=>{this.blurHandler({event:t})})))}update(t,e){var n,r;const{state:s}=t,{doc:o,selection:a}=s,{from:l,to:c}=a,u=e&&e.doc.eq(o)&&e.selection.eq(a);if(u)return;this.createTooltip();const h=null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:t,state:s,oldState:e});h?(null===(r=this.tippy)||void 0===r||r.setProps({getReferenceClientRect:()=>(0,i.pr)(t,l,c)}),this.show()):this.hide()}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t;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 we=t=>new r.Sy({key:"string"===typeof t.pluginKey?new r.H$(t.pluginKey):t.pluginKey,view:e=>new xe({view:e,...t})});i.hj.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[we({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});class $e extends i.ML{constructor(){super(...arguments),this.contentComponent=null}}const Se={name:"EditorContent",props:{editor:{default:null,type:Object}},watch:{editor:{immediate:!0,handler(t){t&&t.options.element&&this.$nextTick((()=>{const e=this.$el;e&&t.options.element.firstChild&&(e.append(...t.options.element.childNodes),t.contentComponent=this,t.setOptions({element:e}),t.createNodeViews())}))}}},render(t){return t("div")},beforeDestroy(){const{editor:t}=this;if(!t)return;if(t.isDestroyed||t.view.setProps({nodeViews:{}}),t.contentComponent=null,!t.options.element.firstChild)return;const e=document.createElement("div");e.append(...t.options.element.childNodes),t.setOptions({element:e})}};Boolean},88853:(t,e,n)=>{"use strict";function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},i.apply(null,arguments)}n.d(e,{cL:()=>h});var r=n(35524),s=n(47421),o=n(59119),a=t=>{var{theme:e,settings:n={},styles:i=[]}=t,r={".cm-gutters":{}},a={};n.background&&(a.backgroundColor=n.background),n.backgroundImage&&(a.backgroundImage=n.backgroundImage),n.foreground&&(a.color=n.foreground),n.fontSize&&(a.fontSize=n.fontSize),(n.background||n.foreground)&&(r["&"]=a),n.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(r[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(r[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(r[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(r[".cm-content"]={caretColor:n.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var l={};n.gutterActiveForeground&&(l.color=n.gutterActiveForeground),n.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:n.lineHighlight},l.backgroundColor=n.lineHighlight),r[".cm-activeLineGutter"]=l,n.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var c=s.tk.theme(r,{dark:"dark"===e}),u=o.Qf.define(i),h=[c,(0,o.nF)(u)];return h};var l={background:"#282a36",foreground:"#f8f8f2",caret:"#f8f8f0",selection:"rgba(255, 255, 255, 0.1)",selectionMatch:"rgba(255, 255, 255, 0.2)",gutterBackground:"#282a36",gutterForeground:"#6D8A88",gutterBorder:"transparent",lineHighlight:"rgba(255, 255, 255, 0.1)"},c=[{tag:r.pJ.comment,color:"#6272a4"},{tag:r.pJ.string,color:"#f1fa8c"},{tag:r.pJ.atom,color:"#bd93f9"},{tag:r.pJ.meta,color:"#f8f8f2"},{tag:[r.pJ.keyword,r.pJ.operator,r.pJ.tagName],color:"#ff79c6"},{tag:[r.pJ["function"](r.pJ.propertyName),r.pJ.propertyName],color:"#66d9ef"},{tag:[r.pJ.definition(r.pJ.variableName),r.pJ["function"](r.pJ.variableName),r.pJ.className,r.pJ.attributeName],color:"#50fa7b"},{tag:r.pJ.atom,color:"#bd93f9"}],u=t=>{var{theme:e="dark",settings:n={},styles:r=[]}=t||{};return a({theme:e,settings:i({},l,n),styles:[...c,...r]})},h=u()},1001:(t,e,n)=>{"use strict";function i(t,e,n,i,r,s,o,a){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,{Z:()=>i})},82202:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(62925),r=n(81903),s=n(11012),o=n(16470),a=n(23276),l=n(20144);const c=l.ZP.extend({name:"transitionable",props:{mode:String,origin:String,transition:String}});var u=n(74987),h=n(36596);const p=(0,u.Z)(i.Z,o.Z,c).extend({name:"v-alert",props:{border:{type:String,validator(t){return["top","right","bottom","left"].includes(t)}},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator(t){return"string"===typeof t||!1===t}},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator(t){return["info","error","success","warning"].includes(t)}},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let t={staticClass:"v-alert__border",class:{[`v-alert__border--${this.border}`]:!0}};return this.coloredBorder&&(t=this.setBackgroundColor(this.computedColor,t),t.class["v-alert__border--has-color"]=!0),this.$createElement("div",t)},__cachedDismissible(){if(!this.dismissible)return null;const t=this.iconColor;return this.$createElement(r.Z,{staticClass:"v-alert__dismissible",props:{color:t,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(s.Z,{props:{color:t}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(s.Z,{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const t={...i.Z.options.computed.classes.call(this),"v-alert--border":Boolean(this.border),"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text};return this.border&&(t[`v-alert--border-${this.border}`]=!0),t},computedColor(){return this.color||this.type},computedIcon(){return!1!==this.icon&&("string"===typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&`$${this.type}`)},hasColoredIcon(){return this.hasText||Boolean(this.border)&&this.coloredBorder},hasText(){return this.text||this.outlined},iconColor(){return this.hasColoredIcon?this.computedColor:void 0},isDark(){return!(!this.type||this.coloredBorder||this.outlined)||a.Z.options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&(0,h.fK)("outline","outlined",this)},methods:{genWrapper(){const t=[this.$slots.prepend||this.__cachedIcon,this.genContent(),this.__cachedBorder,this.$slots.append,this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible],e={staticClass:"v-alert__wrapper"};return this.$createElement("div",e,t)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},this.$slots.default)},genAlert(){let t={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){const e=this.hasText?this.setTextColor:this.setBackgroundColor;t=e(this.computedColor,t)}return this.$createElement("div",t,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(t){const e=this.genAlert();return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[e]):e}})},31096:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(23276),r=n(74987);const s=(0,r.Z)(i.Z).extend({name:"v-app",props:{dark:{type:Boolean,default:void 0},id:{type:String,default:"app"},light:{type:Boolean,default:void 0}},computed:{isDark(){return this.$vuetify.theme.dark}},beforeCreate(){if(!this.$vuetify||this.$vuetify===this.$root)throw new Error("Vuetify is not properly initialized, see https://vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object")},render(t){const e=t("div",{staticClass:"v-application--wrap"},this.$slots.default);return t("div",{staticClass:"v-application",class:{"v-application--is-rtl":this.$vuetify.rtl,"v-application--is-ltr":!this.$vuetify.rtl,...this.themeClasses},attrs:{"data-app":!0},domProps:{id:this.id}},[e])}})},78549:(t,e,n)=>{"use strict";n.d(e,{Z:()=>k});var i=n(99868),r=n(1558),s=n(34402);const o=s.Z;var a=n(23276),l=n(74987),c=n(2653),u=n(36596);const h="undefined"!==typeof window&&"IntersectionObserver"in window,p=(0,l.Z)(o,a.Z).extend({name:"v-img",directives:{intersect:r.Z},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data(){return{currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0,hasError:!1}},computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},normalisedSrc(){return this.src&&"object"===typeof this.src?{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}:{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}},__cachedImage(){if(!(this.normalisedSrc.src||this.normalisedSrc.lazySrc||this.gradient))return[];const t=[],e=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&t.push(`linear-gradient(${this.gradient})`),e&&t.push(`url("${e}")`);const n=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:t.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[n]):n}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(t,e,n){if(!h||n||this.eager){if(this.normalisedSrc.lazySrc){const t=new Image;t.src=this.normalisedSrc.lazySrc,this.pollForSize(t,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src),this.image&&(this.normalisedSrc.src.endsWith(".svg")||this.normalisedSrc.src.startsWith("data:image/svg+xml"))&&(this.image.naturalHeight&&this.image.naturalWidth?(this.naturalWidth=this.image.naturalWidth,this.calculatedAspectRatio=this.image.naturalWidth/this.image.naturalHeight):this.calculatedAspectRatio=1)},onError(){this.hasError=!0,this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const t=new Image;this.image=t,t.onload=()=>{t.decode?t.decode().catch((t=>{(0,u.Kd)(`Failed to decode image, trying to render anyway\n\nsrc: ${this.normalisedSrc.src}`+(t.message?`\nOriginal error: ${t.message}`:""),this)})).then(this.onLoad):this.onLoad()},t.onerror=this.onError,this.hasError=!1,this.sizes&&(t.sizes=this.sizes),this.normalisedSrc.srcset&&(t.srcset=this.normalisedSrc.srcset),t.src=this.normalisedSrc.src,this.$emit("loadstart",this.normalisedSrc.src),this.aspectRatio||this.pollForSize(t),this.getSrc()},pollForSize(t,e=100){const n=()=>{const{naturalHeight:i,naturalWidth:r}=t;i||r?(this.naturalWidth=r,this.calculatedAspectRatio=r/i):t.complete||!this.isLoading||this.hasError||null==e||setTimeout(n,e)};n()},genContent(){const t=o.options.methods.genContent.call(this);return this.naturalWidth&&this._b(t.data,"div",{style:{width:`${this.naturalWidth}px`}}),t},__genPlaceholder(){if(this.$slots.placeholder){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},this.$slots.placeholder)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(t){const e=o.options.render.call(this,t),n=(0,c.ZP)(e.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:h?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return e.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],t(e.tag,n,e.children)}});var d=n(31050);const f=i.Z.extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"}},data:()=>({isExtended:!1}),computed:{computedHeight(){const t=this.computedContentHeight;if(!this.isExtended)return t;const e=parseInt(this.extensionHeight);return this.isCollapsed?t:t+(isNaN(e)?0:e)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...i.Z.options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:(0,d.kb)(this.computedHeight)}}},created(){const t=[["app","<v-app-bar app>"],["manual-scroll",'<v-app-bar :value="false">'],["clipped-left","<v-app-bar clipped-left>"],["clipped-right","<v-app-bar clipped-right>"],["inverted-scroll","<v-app-bar inverted-scroll>"],["scroll-off-screen","<v-app-bar scroll-off-screen>"],["scroll-target","<v-app-bar scroll-target>"],["scroll-threshold","<v-app-bar scroll-threshold>"],["card","<v-app-bar flat>"]];t.forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&(0,u.fK)(t,e,this)}))},methods:{genBackground(){const t={height:(0,d.kb)(this.computedHeight),src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img({props:t}):this.$createElement(p,{props:t});return this.$createElement("div",{staticClass:"v-toolbar__image"},[e])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:(0,d.kb)(this.computedContentHeight)}},(0,d.z9)(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:(0,d.kb)(this.extensionHeight)}},(0,d.z9)(this,"extension"))}},render(t){this.isExtended=this.extended||!!this.$scopedSlots.extension;const e=[this.genContent()],n=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&e.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&e.unshift(this.genBackground()),t(this.tag,n,e)}});function O(t,e,n){const{self:i=!1}=e.modifiers||{},r=e.value,s="object"===typeof r&&r.options||{passive:!0},o="function"===typeof r||"handleEvent"in r?r:r.handler,a=i?t:e.arg?document.querySelector(e.arg):window;a&&(a.addEventListener("scroll",o,s),t._onScroll=Object(t._onScroll),t._onScroll[n.context._uid]={handler:o,options:s,target:i?void 0:a})}function m(t,e,n){var i;if(null==(i=t._onScroll)||!i[n.context._uid])return;const{handler:r,options:s,target:o=t}=t._onScroll[n.context._uid];o.removeEventListener("scroll",r,s),delete t._onScroll[n.context._uid]}const g={inserted:O,unbind:m},v=g;var y=n(78386);function b(t,e=[]){return(0,l.Z)((0,y.d)(["absolute","fixed"])).extend({name:"applicationable",props:{app:Boolean},computed:{applicationProperty(){return t}},watch:{app(t,e){e?this.removeApplication(!0):this.callUpdate()},applicationProperty(t,e){this.$vuetify.application.unregister(this._uid,e)}},activated(){this.callUpdate()},created(){for(let t=0,n=e.length;t<n;t++)this.$watch(e[t],this.callUpdate);this.callUpdate()},mounted(){this.callUpdate()},deactivated(){this.removeApplication()},destroyed(){this.removeApplication()},methods:{callUpdate(){this.app&&this.$vuetify.application.register(this._uid,this.applicationProperty,this.updateApplication())},removeApplication(t=!1){(t||this.app)&&this.$vuetify.application.unregister(this._uid,this.applicationProperty)},updateApplication:()=>0}})}var _=n(20144);const x=_.ZP.extend({name:"scrollable",directives:{Scroll:g},props:{scrollTarget:String,scrollThreshold:[String,Number]},data:()=>({currentScroll:0,currentThreshold:0,isActive:!1,isScrollingUp:!1,previousScroll:0,savedScroll:0,target:null}),computed:{canScroll(){return"undefined"!==typeof window},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):300}},watch:{isScrollingUp(){this.savedScroll=this.savedScroll||this.currentScroll},isActive(){this.savedScroll=0}},mounted(){this.scrollTarget&&(this.target=document.querySelector(this.scrollTarget),this.target||(0,u.Kd)(`Unable to locate element with identifier ${this.scrollTarget}`,this))},methods:{onScroll(){this.canScroll&&(this.previousScroll=this.currentScroll,this.currentScroll=this.target?this.target.scrollTop:window.pageYOffset,this.isScrollingUp=this.currentScroll<this.previousScroll,this.currentThreshold=Math.abs(this.currentScroll-this.computedScrollThreshold),this.$nextTick((()=>{Math.abs(this.currentScroll-this.savedScroll)>this.computedScrollThreshold&&this.thresholdMet()})))},thresholdMet(){}}});var w=n(58574),$=n(16470);const S=(0,l.Z)(f,x,w.Z,$.Z,b("top",["clippedLeft","clippedRight","computedHeight","invertedScroll","isExtended","isProminent","value"])),k=S.extend({name:"v-app-bar",directives:{Scroll:v},provide(){return{VAppBar:this}},props:{clippedLeft:Boolean,clippedRight:Boolean,collapseOnScroll:Boolean,elevateOnScroll:Boolean,fadeImgOnScroll:Boolean,hideOnScroll:Boolean,invertedScroll:Boolean,scrollOffScreen:Boolean,shrinkOnScroll:Boolean,value:{type:Boolean,default:!0}},data(){return{isActive:this.value}},computed:{applicationProperty(){return this.bottom?"bottom":"top"},canScroll(){return x.options.computed.canScroll.call(this)&&(this.invertedScroll||this.elevateOnScroll||this.hideOnScroll||this.collapseOnScroll||this.isBooted||!this.value)},classes(){return{...f.options.computed.classes.call(this),"v-toolbar--collapse":this.collapse||this.collapseOnScroll,"v-app-bar":!0,"v-app-bar--clipped":this.clippedLeft||this.clippedRight,"v-app-bar--fade-img-on-scroll":this.fadeImgOnScroll,"v-app-bar--elevate-on-scroll":this.elevateOnScroll,"v-app-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-app-bar--hide-shadow":this.hideShadow,"v-app-bar--is-scrolled":this.currentScroll>0,"v-app-bar--shrink-on-scroll":this.shrinkOnScroll}},scrollRatio(){const t=this.computedScrollThreshold;return Math.max((t-this.currentScroll)/t,0)},computedContentHeight(){if(!this.shrinkOnScroll)return f.options.computed.computedContentHeight.call(this);const t=this.dense?48:56,e=this.computedOriginalHeight;return t+(e-t)*this.scrollRatio},computedFontSize(){if(!this.isProminent)return;const t=1.25,e=1.5;return t+(e-t)*this.scrollRatio},computedLeft(){return!this.app||this.clippedLeft?0:this.$vuetify.application.left},computedMarginTop(){return this.app?this.$vuetify.application.bar:0},computedOpacity(){if(this.fadeImgOnScroll)return this.scrollRatio},computedOriginalHeight(){let t=f.options.computed.computedContentHeight.call(this);return this.isExtended&&(t+=parseInt(this.extensionHeight)),t},computedRight(){return!this.app||this.clippedRight?0:this.$vuetify.application.right},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):this.computedOriginalHeight-(this.dense?48:56)},computedTransform(){if(!this.canScroll||this.elevateOnScroll&&0===this.currentScroll&&this.isActive)return 0;if(this.isActive)return 0;const t=this.scrollOffScreen?this.computedHeight:this.computedContentHeight;return this.bottom?t:-t},hideShadow(){return this.elevateOnScroll&&this.isExtended?this.currentScroll<this.computedScrollThreshold:this.elevateOnScroll?0===this.currentScroll||this.computedTransform<0:(!this.isExtended||this.scrollOffScreen)&&0!==this.computedTransform},isCollapsed(){return this.collapseOnScroll?this.currentScroll>0:f.options.computed.isCollapsed.call(this)},isProminent(){return f.options.computed.isProminent.call(this)||this.shrinkOnScroll},styles(){return{...f.options.computed.styles.call(this),fontSize:(0,d.kb)(this.computedFontSize,"rem"),marginTop:(0,d.kb)(this.computedMarginTop),transform:`translateY(${(0,d.kb)(this.computedTransform)})`,left:(0,d.kb)(this.computedLeft),right:(0,d.kb)(this.computedRight)}}},watch:{canScroll:"onScroll",computedTransform(){this.canScroll&&(this.clippedLeft||this.clippedRight)&&this.callUpdate()},invertedScroll(t){this.isActive=!t||0!==this.currentScroll},hideOnScroll(t){this.isActive=!t||this.currentScroll<this.computedScrollThreshold}},created(){this.invertedScroll&&(this.isActive=!1)},methods:{genBackground(){const t=f.options.methods.genBackground.call(this);return t.data=this._b(t.data||{},t.tag,{style:{opacity:this.computedOpacity}}),t},updateApplication(){return this.invertedScroll?0:this.computedHeight+this.computedTransform},thresholdMet(){this.invertedScroll?this.isActive=this.currentScroll>this.computedScrollThreshold:(this.hideOnScroll&&(this.isActive=this.isScrollingUp||this.currentScroll<this.computedScrollThreshold),this.currentThreshold<this.computedScrollThreshold||(this.savedScroll=this.currentScroll))}},render(t){const e=f.options.render.call(this,t);return e.data=e.data||{},this.canScroll&&(e.data.directives=e.data.directives||[],e.data.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),e}})},1387:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});n(87655);var i=n(25135),r=n(77859),s=n(2653),o=n(31050);const a={...i.l,offsetY:!0,offsetOverflow:!0,transition:!1},l=i.Z.extend({name:"v-autocomplete",props:{allowOverflow:{type:Boolean,default:!0},autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:(t,e,n)=>n.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1},hideNoData:Boolean,menuProps:{type:i.Z.options.props.menuProps.type,default:()=>a},noFilter:Boolean,searchInput:{type:String}},data(){return{lazySearch:this.searchInput}},computed:{classes(){return{...i.Z.options.computed.classes.call(this),"v-autocomplete":!0,"v-autocomplete--is-selecting-index":this.selectedIndex>-1}},computedItems(){return this.filteredItems},selectedValues(){return this.selectedItems.map((t=>this.getValue(t)))},hasDisplayedItems(){return this.hideSelected?this.filteredItems.some((t=>!this.hasItem(t))):this.filteredItems.length>0},currentRange(){return null==this.selectedItem?0:String(this.getText(this.selectedItem)).length},filteredItems(){return!this.isSearching||this.noFilter||null==this.internalSearch?this.allItems:this.allItems.filter((t=>{const e=(0,o.qF)(t,this.itemText),n=null!=e?String(e):"";return this.filter(t,String(this.internalSearch),n)}))},internalSearch:{get(){return this.lazySearch},set(t){this.lazySearch!==t&&(this.lazySearch=t,this.$emit("update:search-input",t))}},isAnyValueAllowed(){return!1},isDirty(){return this.searchIsDirty||this.selectedItems.length>0},isSearching(){return this.multiple&&this.searchIsDirty||this.searchIsDirty&&this.internalSearch!==this.getText(this.selectedItem)},menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!this.hideNoData)},$_menuProps(){const t=i.Z.options.computed.$_menuProps.call(this);return t.contentClass=`v-autocomplete__content ${t.contentClass||""}`.trim(),{...a,...t}},searchIsDirty(){return null!=this.internalSearch&&""!==this.internalSearch},selectedItem(){return this.multiple?null:this.selectedItems.find((t=>this.valueComparator(this.getValue(t),this.getValue(this.internalValue))))},listData(){const t=i.Z.options.computed.listData.call(this);return t.props={...t.props,items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch},t}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused(t){t?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive(t){!t&&this.hasSlot&&(this.lazySearch=null)},items(t,e){e&&e.length||!this.hideNoData||!this.isFocused||this.isMenuActive||!t.length||this.activateMenu()},searchInput(t){this.lazySearch=t},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created(){this.setSearch()},destroyed(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged(t,e){if(t!==e){if(!this.autoSelectFirst){const n=e[this.$refs.menu.listIndex];n?this.setMenuIndex(t.findIndex((t=>t===n))):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick((()=>{this.internalSearch&&(1===t.length||this.autoSelectFirst)&&(this.$refs.menu.getTiles(),this.autoSelectFirst&&t.length&&(this.setMenuIndex(0),this.$emit("update:list-index",this.$refs.menu.listIndex)))}))}},onInternalSearchChanged(){this.updateMenuDimensions()},updateMenuDimensions(){this.isMenuActive&&this.$refs.menu&&this.$refs.menu.updateDimensions()},changeSelectedIndex(t){this.searchIsDirty||(this.multiple&&t===o.Do.left?-1===this.selectedIndex?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&t===o.Do.right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:t!==o.Do.backspace&&t!==o.Do["delete"]||this.deleteCurrentItem())},deleteCurrentItem(){const t=this.selectedIndex,e=this.selectedItems[t];if(!this.isInteractive||this.getDisabled(e))return;const n=this.selectedItems.length-1;if(-1===this.selectedIndex&&0!==n)return void(this.selectedIndex=n);const i=this.selectedItems.length,r=t!==i-1?t:t-1,s=this.selectedItems[r];s?this.selectItem(e):this.setValue(this.multiple?[]:null),this.selectedIndex=r},clearableCallback(){this.internalSearch=null,i.Z.options.methods.clearableCallback.call(this)},genInput(){const t=r.Z.options.methods.genInput.call(this);return t.data=(0,s.ZP)(t.data,{attrs:{"aria-activedescendant":(0,o.vO)(this.$refs.menu,"activeTile.id"),autocomplete:(0,o.vO)(t.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),t},genInputSlot(){const t=i.Z.options.methods.genInputSlot.call(this);return t.data.attrs.role="combobox",t},genSelections(){return this.hasSlot||this.multiple?i.Z.options.methods.genSelections.call(this):[]},onClick(t){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(t.target)||this.activateMenu())},onInput(t){if(this.selectedIndex>-1||!t.target)return;const e=t.target,n=e.value;e.value&&this.activateMenu(),this.multiple||""!==n||this.deleteCurrentItem(),this.internalSearch=n,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[o.Do.home,o.Do.end].includes(e)||i.Z.options.methods.onKeyDown.call(this,t),this.changeSelectedIndex(e)},onSpaceDown(t){},onTabDown(t){i.Z.options.methods.onTabDown.call(this,t),this.updateSelf()},onUpDown(t){t.preventDefault(),this.activateMenu()},selectItem(t){i.Z.options.methods.selectItem.call(this,t),this.setSearch()},setSelectedItems(){i.Z.options.methods.setSelectedItems.call(this),this.isFocused||this.setSearch()},setSearch(){this.$nextTick((()=>{this.multiple&&this.internalSearch&&this.isMenuActive||(this.internalSearch=!this.selectedItems.length||this.multiple||this.hasSlot?null:this.getText(this.selectedItem))}))},updateSelf(){(this.searchIsDirty||this.internalValue)&&(this.multiple||this.valueComparator(this.internalSearch,this.getValue(this.internalValue))||this.setSearch())},hasItem(t){return this.selectedValues.indexOf(this.getValue(t))>-1},onCopy(t){var e,n;if(-1===this.selectedIndex)return;const i=this.selectedItems[this.selectedIndex],r=this.getText(i);null==(e=t.clipboardData)||e.setData("text/plain",r),null==(n=t.clipboardData)||n.setData("text/vnd.vuetify.autocomplete.item+plain",r),t.preventDefault()}}})},88819:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n(28914),r=n(59196),s=n(23960),o=n(31050),a=n(74987);const l=(0,a.Z)(i.Z,r.Z,s.Z).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:(0,o.kb)(this.size),minWidth:(0,o.kb)(this.size),width:(0,o.kb)(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}})},37179:(t,e,n)=>{"use strict";n.d(e,{Z:()=>O});var i=n(62925),r=n(56275);const s=r.Z;var o=n(84791),a=n(16470),l=n(45303),c=n(78386),u=n(54040),h=n(60281),p=n(74987),d=n(36596);const f=(0,p.Z)(i.Z,u.Z,c.Z,h.Z,(0,o.d)("btnToggle"),(0,a.d)("inputValue")),O=f.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...u.Z.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return l.Z.options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!=(t=this.ripple)?t:e)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&(0,d.fK)(t,e,this)}))},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(s,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:n,data:i}=this.generateRouteLink(),r=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===n&&(i.attrs.type=this.type,i.attrs.disabled=this.disabled),i.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(n,this.disabled?i:r(this.color,i),e)}})},81903:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),974!=n.j)var i=n(37179);const r=974!=n.j?i.Z:null},13407:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(2021);const r=i.y.extend({name:"button-group",provide(){return{btnToggle:this}},computed:{classes(){return i.y.options.computed.classes.call(this)}},methods:{genData:i.y.options.methods.genData}});var s=n(28914),o=n(74987);const a=(0,o.Z)(r,s.Z).extend({name:"v-btn-toggle",props:{backgroundColor:String,borderless:Boolean,dense:Boolean,group:Boolean,rounded:Boolean,shaped:Boolean,tile:Boolean},computed:{classes(){return{...r.options.computed.classes.call(this),"v-btn-toggle":!0,"v-btn-toggle--borderless":this.borderless,"v-btn-toggle--dense":this.dense,"v-btn-toggle--group":this.group,"v-btn-toggle--rounded":this.rounded,"v-btn-toggle--shaped":this.shaped,"v-btn-toggle--tile":this.tile,...this.themeClasses}}},methods:{genData(){const t=this.setTextColor(this.color,{...r.options.methods.genData.call(this)});return this.group?t:this.setBackgroundColor(this.backgroundColor,t)}}})},73385:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});n(4245);var i=n(62925),r=n(36382),s=n(54040),o=n(74987);const a=(0,o.Z)(r.Z,s.Z,i.Z).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},raised:Boolean},computed:{classes(){return{"v-card":!0,...s.Z.options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--raised":this.raised,...i.Z.options.computed.classes.call(this)}},styles(){const t={...i.Z.options.computed.styles.call(this)};return this.img&&(t.background=`url("${this.img}") center center / cover no-repeat`),t}},methods:{genProgress(){const t=r.Z.options.methods.genProgress.call(this);return t?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[t]):null}},render(t){const{tag:e,data:n}=this.generateRouteLink();return n.style=this.styles,this.isClickable&&(n.attrs=n.attrs||{},n.attrs.tabindex=0),t(e,this.setBackgroundColor(this.color,n),[this.genProgress(),this.$slots.default])}})},75223:(t,e,n)=>{"use strict";n.d(e,{EB:()=>l,Qq:()=>o,ZB:()=>a,h7:()=>s});var i=n(73385),r=n(31050);const s=(0,r.Ji)("v-card__actions"),o=(0,r.Ji)("v-card__subtitle"),a=(0,r.Ji)("v-card__text"),l=(0,r.Ji)("v-card__title");i.Z},46072:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});n(47393);var i=n(11012),r=n(69782),s=n(80911);const o=s.Z.extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...r.Z.options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick((()=>this.inputIndeterminate=t))},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(i.Z,this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},14944:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var i=n(74987),r=n(83422),s=n(11012),o=n(28914),a=n(84791),l=n(23276),c=n(16470),u=n(54040),h=n(60281),p=n(36596);const d=(0,i.Z)(o.Z,h.Z,u.Z,l.Z,(0,a.d)("chipGroup"),(0,c.d)("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...u.Z.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(u.Z.options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach((([t,e])=>{this.$attrs.hasOwnProperty(t)&&(0,p.fK)(t,e,this)}))},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(s.Z,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(r.Zq,t)},genClose(){return this.$createElement(s.Z,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:n,data:i}=this.generateRouteLink();i.attrs={...i.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:i.attrs.tabindex},i.directives.push({name:"show",value:this.active}),i=this.setBackgroundColor(this.color,i);const r=this.textColor||this.outlined&&this.color;return t(n,this.setTextColor(r,i),e)}})},197:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});n(87655);var i=n(25135),r=n(1387),s=n(31050);const o=r.Z.extend({name:"v-combobox",props:{delimiters:{type:Array,default:()=>[]},returnObject:{type:Boolean,default:!0}},data:()=>({editingIndex:-1}),computed:{computedCounterValue(){return this.multiple?this.selectedItems.length:(this.internalSearch||"").toString().length},hasSlot(){return i.Z.options.computed.hasSlot.call(this)||this.multiple},isAnyValueAllowed(){return!0},menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!!this.$slots["no-data"]&&!this.hideNoData)},searchIsDirty(){return null!=this.internalSearch}},methods:{onInternalSearchChanged(t){if(t&&this.multiple&&this.delimiters.length){const e=this.delimiters.find((e=>t.endsWith(e)));null!=e&&(this.internalSearch=t.slice(0,t.length-e.length),this.updateTags())}this.updateMenuDimensions()},genInput(){const t=r.Z.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data.on.paste=this.onPaste,t},genChipSelection(t,e){const n=i.Z.options.methods.genChipSelection.call(this,t,e);return this.multiple&&(n.componentOptions.listeners={...n.componentOptions.listeners,dblclick:()=>{this.editingIndex=e,this.internalSearch=this.getText(t),this.selectedIndex=-1}}),n},onChipInput(t){i.Z.options.methods.onChipInput.call(this,t),this.editingIndex=-1},onEnterDown(t){t.preventDefault(),this.getMenuIndex()>-1||this.$nextTick(this.updateSelf)},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[s.Do.home,s.Do.end].includes(e)||i.Z.options.methods.onKeyDown.call(this,t),this.multiple&&e===s.Do.left&&0===this.$refs.input.selectionStart?this.updateSelf():e===s.Do.enter&&this.onEnterDown(t),this.changeSelectedIndex(e)},onTabDown(t){if(this.multiple&&this.internalSearch&&-1===this.getMenuIndex())return t.preventDefault(),t.stopPropagation(),this.updateTags();r.Z.options.methods.onTabDown.call(this,t)},selectItem(t){this.editingIndex>-1?this.updateEditing():(r.Z.options.methods.selectItem.call(this,t),this.internalSearch&&this.multiple&&this.getText(t).toLocaleLowerCase().includes(this.internalSearch.toLocaleLowerCase())&&(this.internalSearch=null))},setSelectedItems(){null==this.internalValue||""===this.internalValue?this.selectedItems=[]:this.selectedItems=this.multiple?this.internalValue:[this.internalValue]},setValue(t){i.Z.options.methods.setValue.call(this,null!=t?t:this.internalSearch)},updateEditing(){const t=this.internalValue.slice(),e=this.selectedItems.findIndex((t=>this.getText(t)===this.internalSearch));if(e>-1){const n="object"===typeof t[e]?Object.assign({},t[e]):t[e];t.splice(e,1),t.push(n)}else t[this.editingIndex]=this.internalSearch;this.setValue(t),this.editingIndex=-1,this.internalSearch=null},updateCombobox(){if(!this.searchIsDirty)return;this.internalSearch!==this.getText(this.internalValue)&&this.setValue();const t=Boolean(this.$scopedSlots.selection)||this.hasChips;t&&(this.internalSearch=null)},updateSelf(){this.multiple?this.updateTags():this.updateCombobox()},updateTags(){const t=this.getMenuIndex();if(t<0&&!this.searchIsDirty||!this.internalSearch)return;if(this.editingIndex>-1)return this.updateEditing();const e=this.selectedItems.findIndex((t=>this.internalSearch===this.getText(t))),n=e>-1&&"object"===typeof this.selectedItems[e]?Object.assign({},this.selectedItems[e]):this.internalSearch;if(e>-1){const t=this.internalValue.slice();t.splice(e,1),this.setValue(t)}if(t>-1)return this.internalSearch=null;this.selectItem(n),this.internalSearch=null},onPaste(t){var e;if(!this.multiple||this.searchIsDirty)return;const n=null==(e=t.clipboardData)?void 0:e.getData("text/vnd.vuetify.autocomplete.item+plain");n&&-1===this.findExistingIndex(n)&&(t.preventDefault(),i.Z.options.methods.selectItem.call(this,n))},clearableCallback(){this.editingIndex=-1,r.Z.options.methods.clearableCallback.call(this)}}})},82079:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(23276),r=n(74987);const s=(0,r.Z)(i.Z).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:n}=e,r=parseInt(n.max,10),s=parseInt(n.value,10),o=r?`${s} / ${r}`:String(n.value),a=r&&s>r;return t("div",{staticClass:"v-counter",class:{"error--text":a,...(0,i.X)(e)}},o)}})},30144:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(31050),r=n(23276),s=n(74987);const o=(0,s.Z)(r.Z).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:(0,i.kb)(this.height)}},[this.$createElement("table",this.$slots.default)])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}})},4494:(t,e,n)=>{"use strict";n.d(e,{Z:()=>M});var i=n(11012),r=n(6686),s=n(74987);const o=(0,s.Z)(r.Z).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(i.Z,{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||" "},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}});var a=n(81903),l=n(28914),c=n(20144);const u=c.ZP.extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}});var h=n(23276),p=n(32493);function d(t,e,n={start:0,length:0}){const i=t=>{const[e,n,i]=t.trim().split(" ")[0].split("-");return[(0,p.Z)(e,4),(0,p.Z)(n||1),(0,p.Z)(i||1)].join("-")};try{const n=new Intl.DateTimeFormat(t||void 0,e);return t=>n.format(new Date(`${i(t)}T00:00:00+00:00`))}catch(r){return n.start||n.length?t=>i(t).substr(n.start||0,n.length):void 0}}const f=d,O=(t,e)=>{const[n,i]=t.split("-").map(Number);return i+e===0?n-1+"-12":i+e===13?`${n+1}-01`:`${n}-${(0,p.Z)(i+e)}`},m=(0,s.Z)(l.Z,u,h.Z).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data(){return{isReversing:!1}},computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?f(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):f(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,n=e?this.$vuetify.lang.t(e):void 0,r=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(a.Z,{attrs:{"aria-label":n},props:{dark:this.dark,disabled:r,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(i.Z,t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,n]=String(this.value).split("-").map(Number);return null==n?`${e+t}`:O(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},[this.$slots.default||this.formatter(String(this.value))])]),n=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[n])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}});var g=n(43134);function v(t,e,n){return Object.keys(t.$listeners).reduce(((i,r)=>(r.endsWith(e)&&(i[r.slice(0,-e.length)]=e=>t.$emit(r,n,e)),i)),{})}function y(t,e){return Object.keys(t.$listeners).reduce(((n,i)=>(i.endsWith(e)&&(n[i]=t.$listeners[i]),n)),{})}const b=(t,e)=>{const[n,i=1,r=1]=t.split("-");return`${n}-${(0,p.Z)(i)}-${(0,p.Z)(r)}`.substr(0,{date:10,month:7,year:4}[e])};function _(t,e,n,i){return(!i||i(t))&&(!e||t>=e.substr(0,10))&&(!n||t<=n)}var x=n(2653),w=n(31050);const $=(0,s.Z)(l.Z,u,h.Z).extend({directives:{Touch:g.Z},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=(0,w.P2)(this.wheel,250)},methods:{genButtonClasses(t,e,n,i,r,s){return{"v-size--default":!e,"v-date-picker-table__current":i,"v-btn--active":n,"v-btn--flat":!t||this.disabled,"v-btn--text":n===i,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":i&&!n,"v-date-picker--first-in-range":r,"v-date-picker--last-in-range":s,...this.themeClasses}},genButtonEvents(t,e,n){if(!this.disabled)return(0,x.bp)({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},v(this,`:${n}`,t))},genButton(t,e,n,i,r=!1){const s=_(t,this.min,this.max,this.allowedDates),o=this.isSelected(t)&&s,a=t===this.current,l=o?this.setBackgroundColor:this.setTextColor,c=(o||a)&&(this.color||"accent");let u=!1,h=!1;return this.range&&this.value&&Array.isArray(this.value)&&(u=t===this.value[0],h=t===this.value[this.value.length-1]),this.$createElement("button",l(c,{staticClass:"v-btn",class:this.genButtonClasses(s&&!r,e,o,a,u,h),attrs:{type:"button"},domProps:{disabled:this.disabled||!s||r},on:this.genButtonEvents(t,s,n)}),[this.$createElement("div",{staticClass:"v-btn__content"},[i(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let n,i=[];return n=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,n?(i=!0!==n?e(n):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),i.filter((t=>t))):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map((t=>this.$createElement("div",this.setBackgroundColor(t))))):null},isValidScroll(t,e){const n=e(t),i=1===n.split("-").length?"year":"month";return t<0&&(!this.min||n>=b(this.min,i))||t>0&&(!this.max||n<=b(this.max,i))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,n){const i=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),r={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,n)&&this.touch(1,n),right:t=>t.offsetX>15&&this.isValidScroll(-1,n)&&this.touch(-1,n)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,n)&&this.wheelThrottle(t,n)}}:void 0,directives:[r]},[i])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,n]=[...this.value].sort();return e<=t&&t<=n}return-1!==this.value.indexOf(t)}return t===this.value}}});var S=n(62393);const k=(0,s.Z)($).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||f(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||f(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?(0,w.MT)(7).map((e=>this.weekdayFormatter(`2017-01-${t+e+15}`))):(0,w.MT)(7).map((e=>["S","M","T","W","T","F","S"][(e+t)%7]))}},methods:{calculateTableDate(t){return O(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map((t=>this.$createElement("th",t)));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){const t=new Date(`${this.displayedYear}-${(0,p.Z)(this.displayedMonth+1)}-01T00:00:00+00:00`),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return(0,S.b)(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let n=[],i=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&n.push(this.genWeekNumber(this.getWeekNumber(1)));const r=this.displayedMonth?this.displayedYear:this.displayedYear-1,s=(this.displayedMonth+11)%12,o=new Date(this.displayedYear,this.displayedMonth,0).getDate(),a=this.showWeek?8:7;while(i--){const t=`${r}-${(0,p.Z)(s+1)}-${(0,p.Z)(o-i)}`;n.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(i=1;i<=e;i++){const r=`${this.displayedYear}-${(0,p.Z)(this.displayedMonth+1)}-${(0,p.Z)(i)}`;n.push(this.$createElement("td",[this.genButton(r,!0,"date",this.formatter)])),n.length%a===0&&(t.push(this.genTR(n)),n=[],this.showWeek&&(i<e||this.showAdjacentMonths)&&n.push(this.genWeekNumber(this.getWeekNumber(i+7))))}const l=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,c=(this.displayedMonth+1)%12;let u=1;while(n.length<a){const t=`${l}-${(0,p.Z)(c+1)}-${(0,p.Z)(u++)}`;n.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return n.length&&t.push(this.genTR(n)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}}),Q=(0,s.Z)($).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||f(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return`${parseInt(this.tableDate,10)+Math.sign(t||1)}`},genTBody(){const t=[],e=Array(3).fill(null),n=12/e.length;for(let i=0;i<n;i++){const n=e.map(((t,n)=>{const r=i*e.length+n,s=`${this.displayedYear}-${(0,p.Z)(r+1)}`;return this.$createElement("td",{key:r},[this.genButton(s,!1,"month",this.formatter)])}));t.push(this.$createElement("tr",{key:i},n))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}}),T=(0,s.Z)(l.Z,u).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data(){return{defaultColor:"primary"}},computed:{formatter(){return this.format||f(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout((()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2}))},methods:{genYearItem(t){const e=this.formatter(`${t}`),n=parseInt(this.value,10)===t,i=n&&(this.color||"primary");return this.$createElement("li",this.setTextColor(i,{key:t,class:{active:n},on:(0,x.bp)({click:()=>this.$emit("input",t)},v(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),n=this.max?parseInt(this.max,10):e+100,i=Math.min(n,this.min?parseInt(this.min,10):e-100);for(let r=n;r>=i;r--)t.push(this.genYearItem(r));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}});var P=n(66879);const C=[0,31,28,31,30,31,30,31,31,30,31,30,31],A=[0,31,29,31,30,31,30,31,31,30,31,30,31];function E(t,e){return(0,S.E)(t)?A[e]:C[e]}var R=n(36596);const M=(0,s.Z)(u,P.Z).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=(0,w.TI)(this.value),n=e[e.length-1]||("string"===typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return b(n,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return(0,w.TI)(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map((t=>t.substr(0,7))):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?b(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${(0,p.Z)(this.inputMonth+1)}-${(0,p.Z)(this.inputDay)}`:`${this.inputYear}-${(0,p.Z)(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?b(this.min,"month"):null},maxMonth(){return this.max?b(this.max,"month"):null},minYear(){return this.min?b(this.min,"year"):null},maxYear(){return this.max?b(this.max,"year"):null},formatters(){return{year:this.yearFormat||f(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=f(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),n=t=>e(t).replace(/([^\d\s])([\d])/g,((t,e,n)=>`${e} ${n}`)).replace(", ",",<br>");return this.landscape?n:e}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const n="month"===this.type?"year":"month";this.isReversing=b(t,n)<b(e,n),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=b(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=b(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=b(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map((e=>b(e,t))).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter((e=>e!==t)):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&(0,R.Kd)(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return _(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=`${t}`:this.tableDate=`${t}-${(0,p.Z)((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,E(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,this.inputDay=parseInt(t.split("-")[2],10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(o,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?`${this.inputYear}`:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(m,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${(0,p.Z)(this.tableYear,4)}-${(0,p.Z)(this.tableMonth+1)}`:`${(0,p.Z)(this.tableYear,4)}`},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(k,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${(0,p.Z)(this.tableYear,4)}-${(0,p.Z)(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...y(this,":date")}})},genMonthTable(){return this.$createElement(Q,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?b(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:`${(0,p.Z)(this.tableYear,4)}`},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...y(this,":month")}})},genYears(){return this.$createElement(T,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...y(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}})},32493:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const i=(t,e,n)=>(e>>=0,t=String(t),n=String(n),t.length>e?String(t):(e-=t.length,e>n.length&&(n+=n.repeat(e/n.length)),n.slice(0,e)+String(t))),r=(t,e=2)=>i(t,e,"0")},12570:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var i=n(28791),r=n(55840),s=n(12524),o=n(32474),a=n(18236);const l=a.Z;var c=n(31050),u=n(20144);const h=u.ZP.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new l({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame((()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=(0,c.KK)(this.$el)),this.overlay.value=!0)})),!0},removeOverlay(t=!0){this.overlay&&((0,c.qh)(this.overlay.$el,"transitionend",(()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)})),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("keydown"===t.type){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[c.Do.up,c.Do.pageup],n=[c.Do.down,c.Do.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!n.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const n=e.shiftKey||e.deltaX?"x":"y",i="y"===n?e.deltaY:e.deltaX||e.deltaY;let r,s;"y"===n?(r=0===t.scrollTop,s=t.scrollTop+t.clientHeight===t.scrollHeight):(r=0===t.scrollLeft,s=t.scrollLeft+t.clientWidth===t.scrollWidth);const o=i<0,a=i>0;return!(r||!o)||(!(s||!a)||!(!r&&!s)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=(0,c.iZ)(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,n=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(n,e))||!this.shouldScroll(e,t)}for(let n=0;n<e.length;n++){const i=e[n];if(i===document)return!0;if(i===document.documentElement)return!0;if(i===this.$refs.content)return!0;if(this.hasScrollbar(i))return!this.shouldScroll(i,t)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):((0,c.lj)(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}});var p=n(91649),d=n(27943),f=n(16470),O=n(59042),m=n(74987),g=n(36596);const v=(0,m.Z)(r.Z,s.Z,o.Z,h,p.Z,d.Z,f.Z),y=v.extend({name:"v-dialog",directives:{ClickOutside:O.Z},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:{type:[String,Number],default:"none"},noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:{type:[String,Number],default:"auto"}},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,isActive:!!this.value,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[`v-dialog ${this.contentClass}`.trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null==(e=this.previousActiveElement)||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&(0,g.Jk)("full-width",this)},beforeMount(){this.$nextTick((()=>{this.isBooted=this.isActive,this.isActive&&this.show()}))},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick((()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout((()=>this.animate=!1),150)}))},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):h.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick((()=>{this.$nextTick((()=>{this.$refs.content.contains(document.activeElement)||(this.previousActiveElement=document.activeElement,this.$refs.content.focus()),this.bind()}))}))},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===c.Do.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick((()=>t&&t.focus()))}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&![document,this.$refs.content].includes(e)&&!this.$refs.content.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some((t=>t.contains(e)))){const t=this.$refs.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find((t=>!t.hasAttribute("disabled")));e&&e.focus()}},genContent(){return this.showLazyContent((()=>[this.$createElement(i.Z,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"document",tabindex:this.isActive?0:void 0,...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])]))},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:"none"===this.maxWidth?void 0:(0,c.kb)(this.maxWidth),width:"auto"===this.width?void 0:(0,c.kb)(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach},attrs:{role:"dialog"}},[this.genActivator(),this.genContent()])}})},84192:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(23276);const r=i.Z.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})},56904:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(74987),r=n(24609),s=n(90380);const o=(0,i.Z)(r.Z,(0,s.J)("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",(e=>{this.$set(this.errorBag,t._uid,e)}),{immediate:!0}),n={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?n.shouldValidate=t.$watch("shouldValidate",(i=>{i&&(this.errorBag.hasOwnProperty(t._uid)||(n.valid=e(t)))})):n.valid=e(t),n},validate(){return 0===this.inputs.filter((t=>!t.validate(!0))).length},reset(){this.inputs.forEach((t=>t.reset())),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout((()=>{this.errorBag={}}),0)},resetValidation(){this.inputs.forEach((t=>t.resetValidation())),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find((e=>e._uid===t._uid));if(!e)return;const n=this.watchers.find((t=>t._uid===e._uid));n&&(n.valid(),n.shouldValidate()),this.watchers=this.watchers.filter((t=>t._uid!==e._uid)),this.inputs=this.inputs.filter((t=>t._uid!==e._uid)),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}})},24437:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});n(1884);var i=n(20144),r=n(2653),s=n(31050);const o=["sm","md","lg","xl"],a=(()=>o.reduce(((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t)),{}))(),l=(()=>o.reduce(((t,e)=>(t["offset"+(0,s.jC)(e)]={type:[String,Number],default:null},t)),{}))(),c=(()=>o.reduce(((t,e)=>(t["order"+(0,s.jC)(e)]={type:[String,Number],default:null},t)),{}))(),u={col:Object.keys(a),offset:Object.keys(l),order:Object.keys(c)};function h(t,e,n){let i=t;if(null!=n&&!1!==n){if(e){const n=e.replace(t,"");i+=`-${n}`}return"col"!==t||""!==n&&!0!==n?(i+=`-${n}`,i.toLowerCase()):i.toLowerCase()}}const p=new Map,d=i.ZP.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...a,offset:{type:[String,Number],default:null},...l,order:{type:[String,Number],default:null},...c,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:n,children:i,parent:s}){let o="";for(const r in e)o+=String(e[r]);let a=p.get(o);if(!a){let t;for(t in a=[],u)u[t].forEach((n=>{const i=e[n],r=h(t,n,i);r&&a.push(r)}));const n=a.some((t=>t.startsWith("col-")));a.push({col:!n||!e.cols,[`col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),p.set(o,a)}return t(e.tag,(0,r.ZP)(n,{class:a}),i)}})},38433:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});n(19027);var i=n(20144);function r(t){return i.ZP.extend({name:`v-${t}`,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(e,{props:n,data:i,children:r}){i.staticClass=`${t} ${i.staticClass||""}`.trim();const{attrs:s}=i;if(s){i.attrs={};const t=Object.keys(s).filter((t=>{if("slot"===t)return!1;const e=s[t];return t.startsWith("data-")?(i.attrs[t]=e,!1):e||"string"===typeof e}));t.length&&(i.staticClass+=` ${t.join(" ")}`)}return n.id&&(i.domProps=i.domProps||{},i.domProps.id=n.id),e(n.tag,i,r)}})}const s=r("layout")},5294:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});n(1884);var i=n(20144),r=n(2653),s=n(31050);const o=["sm","md","lg","xl"],a=["start","end","center"];function l(t,e){return o.reduce(((n,i)=>(n[t+(0,s.jC)(i)]=e(),n)),{})}const c=t=>[...a,"baseline","stretch"].includes(t),u=l("align",(()=>({type:String,default:null,validator:c}))),h=t=>[...a,"space-between","space-around"].includes(t),p=l("justify",(()=>({type:String,default:null,validator:h}))),d=t=>[...a,"space-between","space-around","stretch"].includes(t),f=l("alignContent",(()=>({type:String,default:null,validator:d}))),O={align:Object.keys(u),justify:Object.keys(p),alignContent:Object.keys(f)},m={align:"align",justify:"justify",alignContent:"align-content"};function g(t,e,n){let i=m[t];if(null!=n){if(e){const n=e.replace(t,"");i+=`-${n}`}return i+=`-${n}`,i.toLowerCase()}}const v=new Map,y=i.ZP.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:c},...u,justify:{type:String,default:null,validator:h},...p,alignContent:{type:String,default:null,validator:d},...f},render(t,{props:e,data:n,children:i}){let s="";for(const r in e)s+=String(e[r]);let o=v.get(s);if(!o){let t;for(t in o=[],O)O[t].forEach((n=>{const i=e[n],r=g(t,n,i);r&&o.push(r)}));o.push({"no-gutters":e.noGutters,"row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),v.set(s,o)}return t(e.tag,(0,r.ZP)(n,{staticClass:"row",class:o}),i)}})},55234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});n(19027);var i=n(31050);const r=(0,i.Ji)("spacer","div","v-spacer")},5057:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i,r=n(24609),s=n(28914),o=n(60281),a=n(23276),l=n(31050),c=n(20144),u=n(74987);function h(t){return["fas","far","fal","fab","fad","fak"].some((e=>t.includes(e)))}function p(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(i||(i={}));const d=(0,u.Z)(r.Z,s.Z,o.Z,a.Z).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),(0,l.RB)(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=(0,l.XP)(t).find((e=>t[e]));return e&&i[e]||(0,l.kb)(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const n=[],i=this.getDefaultData();let r="material-icons";const s=t.indexOf("-"),o=s<=-1;o?n.push(t):(r=t.slice(0,s),h(r)&&(r="")),i.class[r]=!0,i.class[t]=!o;const a=this.getSize();return a&&(i.style={fontSize:a}),this.applyColors(i),e(this.hasClickListener?"button":this.tag,i,n)},renderSvgIcon(t,e){const n={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},i=this.getSize();return i&&(n.style={fontSize:i,height:i,width:i}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",n,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const n={class:{"v-icon__component":!0}},i=this.getSize();i&&(n.style={fontSize:i,height:i,width:i}),this.applyColors(n);const r=t.component;return n.props=t.props,n.nativeOn=n.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(r,n)])}},render(t){const e=this.getIcon();return"string"===typeof e?p(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}}),f=c.ZP.extend({name:"v-icon",$_wrapperFor:d,functional:!0,render(t,{data:e,children:n}){let i="";return e.domProps&&(i=e.domProps.textContent||e.domProps.innerHTML||i,delete e.domProps.textContent,delete e.domProps.innerHTML),t(d,e,i?[i]:n)}})},11012:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),974!=n.j)var i=n(5057);const r=974!=n.j?i.Z:null},54726:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var i=n(11012),r=n(10084),s=n(32105);const o=s.Z;var a=n(24609),l=n(94777),c=n(31050),u=n(2653),h=n(74987);const p=(0,h.Z)(a.Z,l.Z),d=p.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||`input-${this._uid}`},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map((t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""})).filter((t=>""!==t)):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(t,e,n={}){const r=this[`${t}Icon`],s=`click:${(0,c.GL)(t)}`,o=!(!this.listeners$[s]&&!e),a=(0,u.ZP)({attrs:{"aria-label":o?(0,c.GL)(t).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light},on:o?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(s,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},n);return this.$createElement("div",{staticClass:"v-input__icon",class:t?`v-input__icon--${(0,c.GL)(t)}`:void 0},[this.$createElement(i.Z,a,r)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:(0,c.kb)(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(r.Z,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(o,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>(0,c.z9)(this,"message",t)}}):null},genSlot(t,e,n){if(!n.length)return null;const i=`${t}-${e}`;return this.$createElement("div",{staticClass:`v-input__${i}`,ref:i},n)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}})},69782:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(54726);const r=/^(14|9)3$/.test(n.j)?i.Z:null},2021:(t,e,n)=>{"use strict";n.d(e,{y:()=>a});var i=n(93939),r=n(23276),s=n(74987),o=n(36596);const a=(0,s.Z)(i.Z,r.Z).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter(((t,e)=>this.toggleMethod(this.getValue(t,e))))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.internalValue===t;const t=this.internalValue;return Array.isArray(t)?e=>t.includes(e):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&(0,o.Kd)("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return null==t.value||""===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",(()=>this.onClick(t))),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),n=this.getValue(t,e);this.items.splice(e,1);const i=this.selectedValues.indexOf(n);if(!(i<0)){if(!this.mandatory)return this.updateInternalValue(n);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter((t=>t!==n)):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const n=this.getValue(t,e);t.isActive=this.toggleMethod(n)},updateItemsState(){this.$nextTick((()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)}))},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const n=e.find((t=>!t.disabled));if(!n)return;const i=this.items.indexOf(n);this.updateInternalValue(this.getValue(n,i))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],n=e.slice(),i=n.findIndex((e=>e===t));this.mandatory&&i>-1&&n.length-1<1||null!=this.max&&i<0&&n.length+1>this.max||(i>-1?n.splice(i,1):n.push(t),this.internalValue=n)},updateSingle(t){const e=t===this.internalValue;this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),this.$slots.default)}});a.extend({name:"v-item-group",provide(){return{itemGroup:this}}})},64648:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(28914),r=n(23276),s=n(74987),o=n(31050);const a=(0,s.Z)(r.Z).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:n,listeners:s,props:a}=e,l={staticClass:"v-label",class:{"v-label--active":a.value,"v-label--is-disabled":a.disabled,...(0,r.X)(e)},attrs:{for:a.for,"aria-hidden":!a.for},on:s,style:{left:(0,o.kb)(a.left),right:(0,o.kb)(a.right),position:a.absolute?"absolute":"relative"},ref:"label"};return t("label",i.Z.options.methods.setTextColor(a.focused&&a.color,l),n)}})},10084:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),/^(14|9)3$/.test(n.j))var i=n(64648);const r=/^(14|9)3$/.test(n.j)?i.Z:null},70248:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(99868);const r=i.Z.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...i.Z.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex((e=>e._uid===t._uid));e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}})},61908:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var i=n(28914),r=n(54040),s=n(84791),o=n(23276),a=n(16470),l=n(13176),c=n(31050),u=n(36596),h=n(74987);const p=(0,h.Z)(i.Z,r.Z,o.Z,(0,s.d)("listItemGroup"),(0,a.d)("inputValue")),d=p.extend().extend({name:"v-list-item",directives:{Ripple:l.Z},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...r.Z.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(r.Z.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&(0,u.Jk)("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||`list-item-${this._uid}`):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:n}=this.generateRouteLink();n.attrs={...n.attrs,...this.genAttrs()},n[this.to?"nativeOn":"on"]={...n[this.to?"nativeOn":"on"],keydown:t=>{t.keyCode===c.Do.enter&&this.click(t),this.$emit("keydown",t)}},this.inactive&&(e="div"),this.inactive&&this.to&&(n.on=n.nativeOn,delete n.nativeOn);const i=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return t(e,this.isActive?this.setTextColor(this.color,n):n,i)}})},72755:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:n=[]}){e.staticClass=e.staticClass?`v-list-item__action ${e.staticClass}`:"v-list-item__action";const i=n.filter((t=>!1===t.isComment&&" "!==t.text));return i.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,n)}})},48228:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:n}){return e.staticClass=`v-list-item__icon ${e.staticClass||""}`.trim(),t("div",e,n)}})},11193:(t,e,n)=>{"use strict";n.d(e,{km:()=>S,oZ:()=>Q,V9:()=>k});var i=n(31050),r=n(70248),s=n(11012),o=n(61908),a=n(48228),l=n(24609),c=n(67601),u=n(28914),h=n(16470),p=n(90380),d=n(13176),f=n(83422),O=n(74987);const m=(0,O.Z)(l.Z,c.Z,u.Z,(0,p.f)("list"),h.Z),g=m.extend().extend({name:"v-list-group",directives:{ripple:d.Z},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick((()=>this.isActive=!this.isActive)))},genIcon(t){return this.$createElement(s.Z,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(a.Z,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(o.Z,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.showLazyContent((()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},(0,i.z9)(this))]))},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon;return t||this.$slots.prependIcon?this.$createElement(a.Z,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick((()=>this.isActive=e))},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(f.Fx,this.genItems())])}});var v=n(2021);const y=(0,O.Z)(v.y,u.Z).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...v.y.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...v.y.options.methods.genData.call(this),attrs:{role:"listbox"}})}}});var b=n(72755),_=n(88819);const x=_.Z,w=x.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...x.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=x.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}}),$=(0,i.Ji)("v-list-item__action-text","span"),S=(0,i.Ji)("v-list-item__content","div"),k=(0,i.Ji)("v-list-item__title","div"),Q=(0,i.Ji)("v-list-item__subtitle","div");r.Z,o.Z,b.Z,a.Z},60092:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var i=n(28791),r=n(55840),s=n(94019),o=n(12524),a=n(57482),l=n(91649),c=n(23960),u=n(16470),h=n(23276),p=n(59042),d=n(29495),f=n(74987),O=n(36596),m=n(31050),g=n(473);const v=(0,f.Z)(o.Z,s.Z,a.Z,l.Z,c.Z,u.Z,h.Z),y=v.extend({name:"v-menu",directives:{ClickOutside:p.Z,Resize:d.Z},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?(0,m.kb)(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":(0,m.kb)(this.maxHeight);return t||"0"},calculatedMaxWidth(){return(0,m.kb)(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return(0,m.kb)(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return(0,m.kb)(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?(0,m.kb)(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find((t=>t.tabIndex>-1)))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const n=this.$refs.content.scrollTop,i=this.$refs.content.clientHeight;n>e.offsetTop-8?(0,g.Z)(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):n+i<e.offsetTop+e.clientHeight+8&&(0,g.Z)(e.offsetTop-i+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&(0,O.Jk)("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame((()=>{this.startTransition().then((()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))}))}))},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),n=t.scrollHeight-t.offsetHeight;return e?Math.min(n,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const n=e.offsetTop-this.calcScrollPosition(),i=t.querySelector(".v-list-item").offsetTop;return this.computedTop-n-i-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==m.Do.tab){if(t.keyCode===m.Do.down)this.nextTile();else if(t.keyCode===m.Do.up)this.prevTile();else if(t.keyCode===m.Do.end)this.lastTile();else if(t.keyCode===m.Do.home)this.firstTile();else{if(t.keyCode!==m.Do.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=r.Z.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=a.Z.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",(()=>{this.hasJustFocused||(this.hasJustFocused=!0)}))},mouseLeaveHandler(t){this.runDelay("close",(()=>{this.$refs.content.contains(t.relatedTarget)||requestAnimationFrame((()=>{this.isActive=!1,this.callDeactivate()}))}))},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(t.keyCode===m.Do.esc){setTimeout((()=>{this.isActive=!1}));const t=this.getActivator();this.$nextTick((()=>t&&t.focus()))}else!this.isActive&&[m.Do.up,m.Do.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick((()=>this.changeListIndex(t)))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.showLazyContent((()=>[this.$createElement(i.Z,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])]))])}})},32105:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(28914),r=n(23276),s=n(74987),o=n(31050);const a=(0,s.Z)(i.Z,r.Z).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},(0,o.z9)(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}})},18236:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(28914),r=n(23276),s=n(16470),o=n(74987);const a=(0,o.Z)(i.Z,r.Z,s.Z).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}})},55662:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});n(4245);var i=n(28914),r=n(45303),s=n(23276),o=n(31050),a=n(74987);const l=(0,a.Z)(i.Z,r.Z,s.Z).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:(0,o.kb)(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}})},56275:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(1558),r=n(28914),s=n(31050);const o=r.Z.extend({name:"v-progress-circular",directives:{intersect:i.Z},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:(0,s.kb)(this.calculatedSize),width:(0,s.kb)(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:`v-progress-circular__${t}`,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)},onObserve(t,e,n){this.isVisible=n}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})},11302:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(83422),r=n(1558),s=n(28914),o=n(78386),a=n(93939),l=n(23276),c=n(31050),u=n(74987);const h=(0,u.Z)(s.Z,(0,o.d)(["absolute","fixed","top","bottom"]),a.Z,l.Z),p=h.extend({name:"v-progress-linear",directives:{intersect:r.Z},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:(0,c.kb)(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:(0,c.kb)(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.isReversed?"right":"left"]:(0,c.kb)(this.normalizedValue,"%"),width:(0,c.kb)(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?i.Z5:i.Qn},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=(0,c.kb)(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=(0,c.z9)(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,n){this.isVisible=n},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?(0,c.kb)(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}})},9207:(t,e,n)=>{"use strict";n.d(e,{Z:()=>m});var i=n(10084),r=n(11012),s=n(69782),o=n(24609),a=n(28914),l=n(84791),c=n(51734),u=n(23276),h=n(80911),p=n(31050),d=n(74987),f=n(2653);const O=(0,d.Z)(o.Z,a.Z,c.Z,(0,l.d)("radioGroup"),u.Z),m=O.extend().extend({name:"v-radio",inheritAttrs:!1,props:{disabled:Boolean,id:String,label:String,name:String,offIcon:{type:String,default:"$radioOff"},onIcon:{type:String,default:"$radioOn"},readonly:Boolean,value:{default:null}},data:()=>({isFocused:!1}),computed:{classes(){return{"v-radio--is-disabled":this.isDisabled,"v-radio--is-focused":this.isFocused,...this.themeClasses,...this.groupClasses}},computedColor(){return h.Z.options.computed.computedColor.call(this)},computedIcon(){return this.isActive?this.onIcon:this.offIcon},computedId(){return s.Z.options.computed.computedId.call(this)},hasLabel:s.Z.options.computed.hasLabel,hasState(){return(this.radioGroup||{}).hasState},isDisabled(){return this.disabled||!!this.radioGroup&&this.radioGroup.isDisabled},isReadonly(){return this.readonly||!!this.radioGroup&&this.radioGroup.isReadonly},computedName(){return this.name||!this.radioGroup?this.name:this.radioGroup.name||`radio-${this.radioGroup._uid}`},rippleState(){return h.Z.options.computed.rippleState.call(this)},validationState(){return(this.radioGroup||{}).validationState||this.computedColor}},methods:{genInput(t){return h.Z.options.methods.genInput.call(this,"radio",t)},genLabel(){return this.hasLabel?this.$createElement(i.Z,{on:{click:h.X},attrs:{for:this.computedId},props:{color:this.validationState,focused:this.hasState}},(0,p.z9)(this,"label")||this.label):null},genRadio(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(r.Z,this.setTextColor(this.validationState,{props:{dense:this.radioGroup&&this.radioGroup.dense}}),this.computedIcon),this.genInput({name:this.computedName,value:this.value,...e}),this.genRipple(this.setTextColor(this.rippleState))])},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onChange(){this.isDisabled||this.isReadonly||this.isActive||this.toggle()},onKeydown:()=>{}},render(t){const e={staticClass:"v-radio",class:this.classes,on:(0,f.bp)({click:this.onChange},this.listeners$),attrs:{title:this.attrs$.title}};return t("div",e,[this.genRadio(),this.genLabel()])}})},42564:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});n(47393);var i=n(69782),r=n(2021),s=n(20564),o=n(74987);const a=(0,o.Z)(s.Z,r.y,i.Z),l=a.extend({name:"v-radio-group",provide(){return{radioGroup:this}},props:{column:{type:Boolean,default:!0},height:{type:[Number,String],default:"auto"},name:String,row:Boolean,value:null},computed:{classes(){return{...i.Z.options.computed.classes.call(this),"v-input--selection-controls v-input--radio-group":!0,"v-input--radio-group--column":this.column&&!this.row,"v-input--radio-group--row":this.row}}},methods:{genDefaultSlot(){return this.$createElement("div",{staticClass:"v-input--radio-group__input",attrs:{id:this.id,role:"radiogroup","aria-labelledby":this.computedId}},i.Z.options.methods.genDefaultSlot.call(this))},genInputSlot(){const t=i.Z.options.methods.genInputSlot.call(this);return delete t.data.on.click,t},genLabel(){const t=i.Z.options.methods.genLabel.call(this);return t?(t.data.attrs.id=this.computedId,delete t.data.attrs.for,t.tag="legend",t):null},onClick:r.y.options.methods.onClick},render(t){const e=i.Z.options.render.call(this,t);return this._b(e.data,"div",this.attrs$),e}})},70327:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(42059);const r=i.Z;var s=n(31050);const o=r.extend({name:"v-range-slider",props:{value:{type:Array,default:()=>[0,0]}},data(){return{activeThumb:null,lazyValue:this.value}},computed:{classes(){return{...r.options.computed.classes.call(this),"v-input--range-slider":!0}},internalValue:{get(){return this.lazyValue},set(t){let e=t.map(((t=0)=>this.roundValue(Math.min(Math.max(t,this.minValue),this.maxValue))));if(e[0]>e[1]||e[1]<e[0]){if(null!==this.activeThumb){const t=1===this.activeThumb?0:1,e=this.$refs[`thumb_${t}`];e.focus()}e=[e[1],e[0]]}this.lazyValue=e,(0,s.vZ)(e,this.value)||this.$emit("input",e),this.validate()}},inputWidth(){return this.internalValue.map((t=>(this.roundValue(t)-this.minValue)/(this.maxValue-this.minValue)*100))}},methods:{getTrackStyle(t,e,n=0,i=0){const r=this.vertical?this.$vuetify.rtl?"top":"bottom":this.$vuetify.rtl?"right":"left",s=this.vertical?"height":"width",o=`calc(${t}% + ${n}px)`,a=`calc(${e}% + ${i}px)`;return{transition:this.trackTransition,[r]:o,[s]:a}},getIndexOfClosestValue(t,e){return Math.abs(t[0]-e)<Math.abs(t[1]-e)?0:1},genInput(){return(0,s.MT)(2).map((t=>{const e=r.options.methods.genInput.call(this);return e.data=e.data||{},e.data.attrs=e.data.attrs||{},e.data.attrs.value=this.internalValue[t],e.data.attrs.id=`input-${t?"max":"min"}-${this._uid}`,e}))},genTrackContainer(){const t=[],e=this.isDisabled?10:0,n=[{class:"v-slider__track-background",color:this.computedTrackColor,styles:[0,this.inputWidth[0],0,-e]},{class:this.isDisabled?"v-slider__track-background":"v-slider__track-fill",color:this.isDisabled?this.computedTrackColor:this.computedTrackFillColor,styles:[this.inputWidth[0],Math.abs(this.inputWidth[1]-this.inputWidth[0]),e,-2*e]},{class:"v-slider__track-background",color:this.computedTrackColor,styles:[this.inputWidth[1],Math.abs(100-this.inputWidth[1]),e,-e]}];return this.$vuetify.rtl&&n.reverse(),t.push(...n.map((t=>this.$createElement("div",this.setBackgroundColor(t.color,{staticClass:t.class,style:this.getTrackStyle(...t.styles)}))))),this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},t)},genChildren(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),(0,s.MT)(2).map((t=>{const e=this.internalValue[t],n=e=>{this.isFocused=!0,this.activeThumb=t,this.$emit("focus",e)},i=t=>{this.isFocused=!1,this.activeThumb=null,this.$emit("blur",t)},r=this.inputWidth[t],s=this.isActive&&this.activeThumb===t,o=this.isFocused&&this.activeThumb===t;return this.genThumbContainer(e,r,s,o,n,i,`thumb_${t}`)}))]},reevaluateSelected(t){this.activeThumb=this.getIndexOfClosestValue(this.internalValue,t);const e=`thumb_${this.activeThumb}`,n=this.$refs[e];n.focus()},onSliderMouseDown(t){var e;const n=this.parseMouseMove(t);if(this.reevaluateSelected(n),this.oldValue=this.internalValue,this.isActive=!0,null!=(e=t.target)&&e.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;const e=t.target.getBoundingClientRect(),n="touches"in t?t.touches[0]:t;this.startOffset=this.vertical?n.clientY-(e.top+e.height/2):n.clientX-(e.left+e.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout((()=>{this.thumbPressed=!0}),300);const i=!s.e$||{passive:!0,capture:!0},r=!!s.e$&&{passive:!0},o="touches"in t;this.onMouseMove(t),this.app.addEventListener(o?"touchmove":"mousemove",this.onMouseMove,r),(0,s.qh)(this.app,o?"touchend":"mouseup",this.onSliderMouseUp,i),this.$emit("start",this.internalValue)},onSliderClick(t){if(!this.isActive){if(this.noClick)return void(this.noClick=!1);const e=this.parseMouseMove(t);this.reevaluateSelected(e),this.setInternalValue(e),this.$emit("change",this.internalValue)}},onMouseMove(t){const e=this.parseMouseMove(t);"mousemove"===t.type&&(this.thumbPressed=!0),null===this.activeThumb&&(this.activeThumb=this.getIndexOfClosestValue(this.internalValue,e)),this.setInternalValue(e)},onKeyDown(t){if(null===this.activeThumb)return;const e=this.parseKeyDown(t,this.internalValue[this.activeThumb]);null!=e&&(this.setInternalValue(e),this.$emit("change",this.internalValue))},setInternalValue(t){this.internalValue=this.internalValue.map(((e,n)=>n===this.activeThumb?t:Number(e)))}}})},34402:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(59196),r=n(74987);const s=(0,r.Z)(i.Z).extend({name:"v-responsive",props:{aspectRatio:[String,Number],contentClass:String},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content",class:this.contentClass},this.$slots.default)}},render(t){return t("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}})},25135:(t,e,n)=>{"use strict";n.d(e,{Z:()=>M,l:()=>E});n(22838);var i=n(14944);const r=i.Z;var s=n(60092);const o=s.Z;var a=n(13176),l=n(20144),c=n(5057),u=n(28914),h=n(23276),p=n(2653),d=n(31050);const f=l.ZP.extend({name:"v-simple-checkbox",functional:!0,directives:{ripple:a.Z},props:{...u.Z.options.props,...h.Z.options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:n,listeners:i}){const r=[];let s=e.offIcon;if(e.indeterminate?s=e.indeterminateIcon:e.value&&(s=e.onIcon),r.push(t(c.Z,u.Z.options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),s)),e.ripple&&!e.disabled){const n=t("div",u.Z.options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{name:"ripple",value:{center:!0}}]}));r.push(n)}return t("div",(0,p.ZP)(n,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),n.on&&n.on.input&&!e.disabled&&(0,d.TI)(n.on.input).forEach((t=>t(!e.value)))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},r)])}});var O=n(84192);const m=O.Z;var g=n(22680);const v=g.Z;var y=n(61908),b=n(72755),_=n(11193),x=n(70248),w=n(74987);const $=(0,w.Z)(u.Z,h.Z).extend({name:"v-select-list",directives:{ripple:a.Z},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map((t=>this.getValue(t)))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(y.Z,t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(b.Z,[this.$createElement(f,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(m,{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return(0,d.r)(t);const{start:e,middle:n,end:i}=this.getMaskedCharacters(t);return`${(0,d.r)(e)}${this.genHighlight(n)}${(0,d.r)(i)}`},genHeader(t){return this.$createElement(v,{props:t},t.header)},genHighlight(t){return`<span class="v-list-item__mask">${(0,d.r)(t)}</span>`},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),n=t.toLocaleLowerCase().indexOf(e);if(n<0)return{start:t,middle:"",end:""};const i=t.slice(0,n),r=t.slice(n,n+e.length),s=t.slice(n+e.length);return{start:i,middle:r,end:s}},genTile({item:t,index:e,disabled:n=null,value:i=!1}){i||(i=this.hasItem(t)),t===Object(t)&&(n=null!==n?n:this.getDisabled(t));const r={attrs:{"aria-selected":String(i),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>n||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:n,ripple:!0,inputValue:i}};if(!this.$scopedSlots.item)return this.$createElement(y.Z,r,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,i):null,this.genTileContent(t,e)]);const s=this,o=this.$scopedSlots.item({parent:s,item:t,attrs:{...r.attrs,...r.props},on:r.on});return this.needsTile(o)?this.$createElement(y.Z,r,o):o},genTileContent(t,e=0){const n=this.genFilteredText(this.getText(t));return this.$createElement(_.km,[this.$createElement(_.V9,{domProps:{innerHTML:n}})])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean((0,d.qF)(t,this.itemDisabled,!1))},getText(t){return String((0,d.qF)(t,this.itemText,t))},getValue(t){return(0,d.qF)(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let n=0;n<e;n++){const e=this.items[n];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:n})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:n})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement(x.Z,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},props:{dense:this.dense}},t)}});var S=n(69782),k=n(77859),Q=n(20564),T=n(12524);const P=l.ZP.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}});var C=n(59042),A=n(36596);const E={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},R=(0,w.Z)(k.Z,Q.Z,T.Z,P),M=R.extend().extend({name:"v-select",directives:{ClickOutside:C.Z},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>E},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...k.Z.options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return`list-${this._uid}`},computedCounterValue(){const t=this.multiple?this.selectedItems:(this.getText(this.selectedItems[0])||"").toString();return"function"===typeof this.counterValue?this.counterValue(t):t.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&(0,A.N6)("assert: staticList should not be called if slots are used"),this.$createElement($,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce(((t,e)=>(t[e.trim()]=!0,t)),{})),{...E,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems()},isMenuActive(t){window.setTimeout((()=>this.onMenuActiveChange(t)))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick((()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))})),this.setSelectedItems()}}},methods:{blur(t){k.Z.options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick((()=>this.$refs.input&&this.$refs.input.focus())),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let n=0;n<t.length;++n){const i=t[n];if(i.header||i.divider){e.set(i,i);continue}const r=this.getValue(i);!e.has(r)&&e.set(r,i)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex((t=>this.valueComparator(this.getValue(t),e)))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const n=this.isDisabled||this.getDisabled(t),i=!n&&this.isInteractive;return this.$createElement(r,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&i,disabled:n,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{i&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,n){const i=e===this.selectedIndex&&this.computedColor,r=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(i,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":r},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${n?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,n){const i=S.Z.options.methods.genIcon.call(this,t,e,n);return"append"===t&&(i.children[0].data=(0,p.ZP)(i.children[0].data,{attrs:{tabindex:i.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),i},genInput(){const t=k.Z.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=(0,p.ZP)(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":(0,d.vO)(this.$refs.menu,"activeTile.id"),autocomplete:(0,d.vO)(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=k.Z.options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter((t=>this.$slots[t])).map((t=>this.$createElement("template",{slot:t},this.$slots[t])));return this.$createElement($,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(o,{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let n;n=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=n(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return(0,d.qF)(t,this.itemDisabled,!1)},getText(t){return(0,d.qF)(t,this.itemText,t)},getValue(t){return(0,d.qF)(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=1e3,n=performance.now();n-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=n;const i=this.allItems.findIndex((t=>{const e=(this.getText(t)||"").toString();return e.toLowerCase().startsWith(this.keyboardLookupPrefix)})),r=this.allItems[i];-1!==i&&(this.lastItem=Math.max(this.lastItem,i+5),this.setValue(this.returnObject?r:this.getValue(r)),this.$nextTick((()=>this.$refs.menu.getTiles())),setTimeout((()=>this.setMenuIndex(i))))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==d.Do.tab)return;const e=t.keyCode,n=this.$refs.menu;return this.$emit("keydown",t),n?(this.isMenuActive&&[d.Do.up,d.Do.down,d.Do.home,d.Do.end,d.Do.enter].includes(e)&&this.$nextTick((()=>{n.changeListIndex(t),this.$emit("update:list-index",n.listIndex)})),[d.Do.enter,d.Do.space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[d.Do.up,d.Do.down,d.Do.home,d.Do.end].includes(e)?this.onUpDown(t):e===d.Do.esc?this.onEscDown(t):e===d.Do.tab?this.onTabDown(t):e===d.Do.space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick((()=>this.isMenuActive=!this.isMenuActive)),k.Z.options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame((()=>this.getContent().scrollTop=0))},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const n=e.activeTile;!this.multiple&&n&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),n.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const n=t.keyCode;e.isBooted=!0,window.requestAnimationFrame((()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(n){case d.Do.up:e.prevTile();break;case d.Do.down:e.nextTile();break;case d.Do.home:e.firstTile();break;case d.Do.end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])}))},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),n=this.findExistingIndex(t);if(-1!==n?e.splice(n,1):e.push(t),this.setValue(e.map((t=>this.returnObject?t:this.getValue(t)))),this.$nextTick((()=>{this.$refs.menu&&this.$refs.menu.updateDimensions()})),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick((()=>this.$refs.menu.getTiles())),setTimeout((()=>this.setMenuIndex(e))))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const n of e){const e=this.allItems.findIndex((t=>this.valueComparator(this.getValue(t),this.getValue(n))));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}})},99868:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(24609),r=n(28914),s=n(45303),o=n(59196),a=n(23960),l=n(23276),c=n(74987);const u=(0,c.Z)(i.Z,r.Z,s.Z,o.Z,a.Z,l.Z).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}})},62925:(t,e,n)=>{"use strict";if(n.d(e,{Z:()=>r}),974!=n.j)var i=n(99868);const r=974!=n.j?i.Z:null},8178:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n(45303),r=n(59196),s=n(23276),o=n(74987),a=n(31050);const l=(0,o.Z)(i.Z,r.Z,s.Z).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,tile:Boolean,transition:String,type:String,types:{type:Object,default:()=>({})}},computed:{attrs(){return this.isLoading?this.boilerplate?{}:{"aria-busy":!0,"aria-live":"polite",role:"alert",...this.$attrs}:this.$attrs},classes(){return{"v-skeleton-loader--boilerplate":this.boilerplate,"v-skeleton-loader--is-loading":this.isLoading,"v-skeleton-loader--tile":this.tile,...this.themeClasses,...this.elevationClasses}},isLoading(){return!("default"in this.$scopedSlots)||this.loading},rootTypes(){return{actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, card-heading","card-avatar":"image, list-item-avatar","card-heading":"heading",chip:"chip","date-picker":"list-item, card-heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",paragraph:"text@3",sentences:"text@2",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"heading, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"table-cell@6","table-cell":"text","table-tfoot":"text@2, avatar@2",text:"text",...this.types}}},methods:{genBone(t,e){return this.$createElement("div",{staticClass:`v-skeleton-loader__${t} v-skeleton-loader__bone`},e)},genBones(t){const[e,n]=t.split("@"),i=()=>this.genStructure(e);return Array.from({length:n}).map(i)},genStructure(t){let e=[];t=t||this.type||"";const n=this.rootTypes[t]||"";if(t===n);else{if(t.indexOf(",")>-1)return this.mapBones(t);if(t.indexOf("@")>-1)return this.genBones(t);n.indexOf(",")>-1?e=this.mapBones(n):n.indexOf("@")>-1?e=this.genBones(n):n&&e.push(this.genStructure(n))}return[this.genBone(t,e)]},genSkeleton(){const t=[];return this.isLoading?t.push(this.genStructure()):t.push((0,a.z9)(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},t):t},mapBones(t){return t.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter(t){this.resetStyles(t),this.isLoading&&(t._initialStyle={display:t.style.display,transition:t.style.transition},t.style.setProperty("transition","none","important"))},onBeforeLeave(t){t.style.setProperty("display","none","important")},resetStyles(t){t._initialStyle&&(t.style.display=t._initialStyle.display||"",t.style.transition=t._initialStyle.transition,delete t._initialStyle)}},render(t){return t("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}})},42059:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(69782),r=n(83422),s=n(74987),o=n(36382),a=n(59042),l=n(31050),c=n(36596);const u=(0,s.Z)(i.Z,o.Z).extend({name:"v-slider",directives:{ClickOutside:a.Z},mixins:[o.Z],props:{disabled:Boolean,inverseLabel:Boolean,max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:1},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:t=>"boolean"===typeof t||"always"===t},thumbSize:{type:[Number,String],default:32},tickLabels:{type:Array,default:()=>[]},ticks:{type:[Boolean,String],default:!1,validator:t=>"boolean"===typeof t||"always"===t},tickSize:{type:[Number,String],default:2},trackColor:String,trackFillColor:String,value:[Number,String],vertical:Boolean},data:()=>({app:null,oldValue:null,thumbPressed:!1,mouseTimeout:-1,isFocused:!1,isActive:!1,noClick:!1,startOffset:0}),computed:{classes(){return{...i.Z.options.computed.classes.call(this),"v-input__slider":!0,"v-input__slider--vertical":this.vertical,"v-input__slider--inverse-label":this.inverseLabel}},internalValue:{get(){return this.lazyValue},set(t){t=isNaN(t)?this.minValue:t;const e=this.roundValue(Math.min(Math.max(t,this.minValue),this.maxValue));e!==this.lazyValue&&(this.lazyValue=e,this.$emit("input",e))}},trackTransition(){return this.thumbPressed?this.showTicks||this.stepNumeric?"0.1s cubic-bezier(0.25, 0.8, 0.5, 1)":"none":""},minValue(){return parseFloat(this.min)},maxValue(){return parseFloat(this.max)},stepNumeric(){return this.step>0?parseFloat(this.step):0},inputWidth(){const t=(this.roundValue(this.internalValue)-this.minValue)/(this.maxValue-this.minValue)*100;return isNaN(t)?0:t},trackFillStyles(){const t=this.vertical?"bottom":"left",e=this.vertical?"top":"right",n=this.vertical?"height":"width",i=this.$vuetify.rtl?"auto":"0",r=this.$vuetify.rtl?"0":"auto",s=this.isDisabled?`calc(${this.inputWidth}% - 10px)`:`${this.inputWidth}%`;return{transition:this.trackTransition,[t]:i,[e]:r,[n]:s}},trackStyles(){const t=this.vertical?this.$vuetify.rtl?"bottom":"top":this.$vuetify.rtl?"left":"right",e=this.vertical?"height":"width",n="0px",i=this.isDisabled?`calc(${100-this.inputWidth}% - 10px)`:`calc(${100-this.inputWidth}%)`;return{transition:this.trackTransition,[t]:n,[e]:i}},showTicks(){return this.tickLabels.length>0||!(this.isDisabled||!this.stepNumeric||!this.ticks)},numTicks(){return Math.ceil((this.maxValue-this.minValue)/this.stepNumeric)},showThumbLabel(){return!this.isDisabled&&!(!this.thumbLabel&&!this.$scopedSlots["thumb-label"])},computedTrackColor(){if(!this.isDisabled)return this.trackColor?this.trackColor:this.isDark?this.validationState:this.validationState||"primary lighten-3"},computedTrackFillColor(){if(!this.isDisabled)return this.trackFillColor?this.trackFillColor:this.validationState||this.computedColor},computedThumbColor(){return this.thumbColor?this.thumbColor:this.validationState||this.computedColor}},watch:{min(t){const e=parseFloat(t);e>this.internalValue&&this.$emit("input",e)},max(t){const e=parseFloat(t);e<this.internalValue&&this.$emit("input",e)},value:{handler(t){this.internalValue=t}}},beforeMount(){this.internalValue=this.value},mounted(){this.app=document.querySelector("[data-app]")||(0,c.Kd)("Missing v-app or a non-body wrapping element with the [data-app] attribute",this)},methods:{genDefaultSlot(){const t=[this.genLabel()],e=this.genSlider();return this.inverseLabel?t.unshift(e):t.push(e),t.push(this.genProgress()),t},genSlider(){return this.$createElement("div",{class:{"v-slider":!0,"v-slider--horizontal":!this.vertical,"v-slider--vertical":this.vertical,"v-slider--focused":this.isFocused,"v-slider--active":this.isActive,"v-slider--disabled":this.isDisabled,"v-slider--readonly":this.isReadonly,...this.themeClasses},directives:[{name:"click-outside",value:this.onBlur}],on:{click:this.onSliderClick,mousedown:this.onSliderMouseDown,touchstart:this.onSliderMouseDown}},this.genChildren())},genChildren(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),this.genThumbContainer(this.internalValue,this.inputWidth,this.isActive,this.isFocused,this.onFocus,this.onBlur)]},genInput(){return this.$createElement("input",{attrs:{value:this.internalValue,id:this.computedId,disabled:!0,readonly:!0,tabindex:-1,...this.$attrs}})},genTrackContainer(){const t=[this.$createElement("div",this.setBackgroundColor(this.computedTrackColor,{staticClass:"v-slider__track-background",style:this.trackStyles})),this.$createElement("div",this.setBackgroundColor(this.computedTrackFillColor,{staticClass:"v-slider__track-fill",style:this.trackFillStyles}))];return this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},t)},genSteps(){if(!this.step||!this.showTicks)return null;const t=parseFloat(this.tickSize),e=(0,l.MT)(this.numTicks+1),n=this.vertical?"bottom":this.$vuetify.rtl?"right":"left",i=this.vertical?this.$vuetify.rtl?"left":"right":"top";this.vertical&&e.reverse();const r=e.map((e=>{const r=[];this.tickLabels[e]&&r.push(this.$createElement("div",{staticClass:"v-slider__tick-label"},this.tickLabels[e]));const s=e*(100/this.numTicks),o=this.$vuetify.rtl?100-this.inputWidth<s:s<this.inputWidth;return this.$createElement("span",{key:e,staticClass:"v-slider__tick",class:{"v-slider__tick--filled":o},style:{width:`${t}px`,height:`${t}px`,[n]:`calc(${s}% - ${t/2}px)`,[i]:`calc(50% - ${t/2}px)`}},r)}));return this.$createElement("div",{staticClass:"v-slider__ticks-container",class:{"v-slider__ticks-container--always-show":"always"===this.ticks||this.tickLabels.length>0}},r)},genThumbContainer(t,e,n,i,r,s,o="thumb"){const a=[this.genThumb()],l=this.genThumbLabelContent(t);return this.showThumbLabel&&a.push(this.genThumbLabel(l)),this.$createElement("div",this.setTextColor(this.computedThumbColor,{ref:o,key:o,staticClass:"v-slider__thumb-container",class:{"v-slider__thumb-container--active":n,"v-slider__thumb-container--focused":i,"v-slider__thumb-container--show-label":this.showThumbLabel},style:this.getThumbContainerStyles(e),attrs:{role:"slider",tabindex:this.isDisabled?-1:this.$attrs.tabindex?this.$attrs.tabindex:0,"aria-label":this.$attrs["aria-label"]||this.label,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.internalValue,"aria-readonly":String(this.isReadonly),"aria-orientation":this.vertical?"vertical":"horizontal"},on:{focus:r,blur:s,keydown:this.onKeyDown}}),a)},genThumbLabelContent(t){return this.$scopedSlots["thumb-label"]?this.$scopedSlots["thumb-label"]({value:t}):[this.$createElement("span",[String(t)])]},genThumbLabel(t){const e=(0,l.kb)(this.thumbSize),n=this.vertical?`translateY(20%) translateY(${Number(this.thumbSize)/3-1}px) translateX(55%) rotate(135deg)`:"translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)";return this.$createElement(r.T0,{props:{origin:"bottom center"}},[this.$createElement("div",{staticClass:"v-slider__thumb-label-container",directives:[{name:"show",value:this.isFocused||this.isActive||"always"===this.thumbLabel}]},[this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb-label",style:{height:e,width:e,transform:n}}),[this.$createElement("div",t)])])])},genThumb(){return this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb"}))},getThumbContainerStyles(t){const e=this.vertical?"top":"left";let n=this.$vuetify.rtl?100-t:t;return n=this.vertical?100-n:n,{transition:this.trackTransition,[e]:`${n}%`}},onSliderMouseDown(t){var e;if(t.preventDefault(),this.oldValue=this.internalValue,this.isActive=!0,null!=(e=t.target)&&e.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;const e=t.target.getBoundingClientRect(),n="touches"in t?t.touches[0]:t;this.startOffset=this.vertical?n.clientY-(e.top+e.height/2):n.clientX-(e.left+e.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout((()=>{this.thumbPressed=!0}),300);const n=!l.e$||{passive:!0,capture:!0},i=!!l.e$&&{passive:!0},r="touches"in t;this.onMouseMove(t),this.app.addEventListener(r?"touchmove":"mousemove",this.onMouseMove,i),(0,l.qh)(this.app,r?"touchend":"mouseup",this.onSliderMouseUp,n),this.$emit("start",this.internalValue)},onSliderMouseUp(t){t.stopPropagation(),window.clearTimeout(this.mouseTimeout),this.thumbPressed=!1;const e=!!l.e$&&{passive:!0};this.app.removeEventListener("touchmove",this.onMouseMove,e),this.app.removeEventListener("mousemove",this.onMouseMove,e),this.$emit("mouseup",t),this.$emit("end",this.internalValue),(0,l.vZ)(this.oldValue,this.internalValue)||(this.$emit("change",this.internalValue),this.noClick=!0),this.isActive=!1},onMouseMove(t){"mousemove"===t.type&&(this.thumbPressed=!0),this.internalValue=this.parseMouseMove(t)},onKeyDown(t){if(!this.isInteractive)return;const e=this.parseKeyDown(t,this.internalValue);null==e||e<this.minValue||e>this.maxValue||(this.internalValue=e,this.$emit("change",e))},onSliderClick(t){if(this.noClick)return void(this.noClick=!1);const e=this.$refs.thumb;e.focus(),this.onMouseMove(t),this.$emit("change",this.internalValue)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},parseMouseMove(t){const e=this.vertical?"top":"left",n=this.vertical?"height":"width",i=this.vertical?"clientY":"clientX",{[e]:r,[n]:s}=this.$refs.track.getBoundingClientRect(),o="touches"in t?t.touches[0][i]:t[i];let a=Math.min(Math.max((o-r-this.startOffset)/s,0),1)||0;return this.vertical&&(a=1-a),this.$vuetify.rtl&&(a=1-a),parseFloat(this.min)+a*(this.maxValue-this.minValue)},parseKeyDown(t,e){if(!this.isInteractive)return;const{pageup:n,pagedown:i,end:r,home:s,left:o,right:a,down:c,up:u}=l.Do;if(![n,i,r,s,o,a,c,u].includes(t.keyCode))return;t.preventDefault();const h=this.stepNumeric||1,p=(this.maxValue-this.minValue)/h;if([o,a,c,u].includes(t.keyCode)){const n=this.$vuetify.rtl?[o,u]:[a,u],i=n.includes(t.keyCode)?1:-1,r=t.shiftKey?3:t.ctrlKey?2:1;e+=i*h*r}else if(t.keyCode===s)e=this.minValue;else if(t.keyCode===r)e=this.maxValue;else{const n=t.keyCode===i?1:-1;e-=n*h*(p>100?p/10:10)}return e},roundValue(t){if(!this.stepNumeric)return t;const e=this.step.toString().trim(),n=e.indexOf(".")>-1?e.length-e.indexOf(".")-1:0,i=this.minValue%this.stepNumeric,r=Math.round((t-i)/this.stepNumeric)*this.stepNumeric+i;return parseFloat(Math.min(r,this.maxValue).toFixed(n))}}})},22680:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(23276),r=n(74987);const s=(0,r.Z)(i.Z).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})},76660:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});n(47393);var i=n(80911),r=n(69782),s=n(43134),o=n(83422),a=n(56275),l=n(31050);const c=i.Z.extend({name:"v-switch",directives:{Touch:s.Z},props:{inset:Boolean,loading:{type:[Boolean,String],default:!1},flat:{type:Boolean,default:!1}},computed:{classes(){return{...r.Z.options.computed.classes.call(this),"v-input--selection-controls v-input--switch":!0,"v-input--switch--flat":this.flat,"v-input--switch--inset":this.inset}},attrs(){return{"aria-checked":String(this.isActive),"aria-disabled":String(this.isDisabled),role:"switch"}},validationState(){return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0},switchData(){return this.setTextColor(this.loading?void 0:this.validationState,{class:this.themeClasses})}},methods:{genDefaultSlot(){return[this.genSwitch(),this.genLabel()]},genSwitch(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput("checkbox",{...this.attrs,...e}),this.genRipple(this.setTextColor(this.validationState,{directives:[{name:"touch",value:{left:this.onSwipeLeft,right:this.onSwipeRight}}]})),this.$createElement("div",{staticClass:"v-input--switch__track",...this.switchData}),this.$createElement("div",{staticClass:"v-input--switch__thumb",...this.switchData},[this.genProgress()])])},genProgress(){return this.$createElement(o.b0,{},[!1===this.loading?null:this.$slots.progress||this.$createElement(a.Z,{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,size:16,width:2,indeterminate:!0}})])},onSwipeLeft(){this.isActive&&this.onChange()},onSwipeRight(){this.isActive||this.onChange()},onKeydown(t){(t.keyCode===l.Do.left&&this.isActive||t.keyCode===l.Do.right&&!this.isActive)&&this.onChange()}}})},53333:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(84791),r=n(54040),s=n(23276),o=n(31050),a=n(74987);const l=(0,a.Z)(r.Z,(0,i.d)("tabsBar"),s.Z),c=l.extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...r.Z.options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){let t=this.to||this.href||"";if(this.$router&&this.to===Object(this.to)){const e=this.$router.resolve(this.to,this.$route,this.append);t=e.href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive||this.$emit("change")}},render(t){const{tag:e,data:n}=this.generateRouteLink();return n.attrs={...n.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:0},n.on={...n.on,keydown:t=>{t.keyCode===o.Do.enter&&this.click(t),this.$emit("keydown",t)}},t(e,n,this.$slots.default)}})},96878:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(67601),r=n(84791),s=n(43134),o=n(31050),a=n(74987);const l=(0,a.Z)(i.Z,(0,r.d)("windowGroup","v-window-item","v-window")),c=l.extend().extend().extend({name:"v-window-item",directives:{Touch:s.Z},props:{disabled:Boolean,reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},value:{required:!1}},data(){return{isActive:!1,inTransition:!1}},computed:{classes(){return this.groupClasses},computedTransition(){return this.windowGroup.internalReverse?"undefined"!==typeof this.reverseTransition?this.reverseTransition||"":this.windowGroup.computedTransition:"undefined"!==typeof this.transition?this.transition||"":this.windowGroup.computedTransition}},methods:{genDefaultSlot(){return this.$slots.default},genWindowItem(){return this.$createElement("div",{staticClass:"v-window-item",class:this.classes,directives:[{name:"show",value:this.isActive}],on:this.$listeners},this.genDefaultSlot())},onAfterTransition(){this.inTransition&&(this.inTransition=!1,this.windowGroup.transitionCount>0&&(this.windowGroup.transitionCount--,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=void 0)))},onBeforeTransition(){this.inTransition||(this.inTransition=!0,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=(0,o.kb)(this.windowGroup.$el.clientHeight)),this.windowGroup.transitionCount++)},onTransitionCancelled(){this.onAfterTransition()},onEnter(t){this.inTransition&&this.$nextTick((()=>{this.computedTransition&&this.inTransition&&(this.windowGroup.transitionHeight=(0,o.kb)(t.clientHeight))}))}},render(t){return t("transition",{props:{name:this.computedTransition},on:{beforeEnter:this.onBeforeTransition,afterEnter:this.onAfterTransition,enterCancelled:this.onTransitionCancelled,beforeLeave:this.onBeforeTransition,afterLeave:this.onAfterTransition,leaveCancelled:this.onTransitionCancelled,enter:this.onEnter}},this.showLazyContent((()=>[this.genWindowItem()])))}}),u=c.extend({name:"v-tab-item",props:{id:String},methods:{genWindowItem(){const t=c.options.methods.genWindowItem.call(this);return t.data.domProps=t.data.domProps||{},t.data.domProps.id=this.id||this.value,t}}})},77671:(t,e,n)=>{"use strict";n.d(e,{Z:()=>S});var i=n(11012),r=n(83422),s=n(2021),o=n(36596),a=n(20144);const l=a.ZP.extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:n,mobileBreakpoint:i}=this.$vuetify.breakpoint;if(i===this.mobileBreakpoint)return t;const r=parseInt(this.mobileBreakpoint,10),s=!isNaN(r);return s?e<r:n===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&(0,o.Rn)("mobile-break-point","mobile-breakpoint",this)}});var c=n(29495),u=n(43134),h=n(74987),p=n(31050);function d(t){const e=.501,n=Math.abs(t);return Math.sign(t)*(n/((1/e-2)*(1-n)+1))}function f(t,e,n,i){const r=t.clientWidth,s=n?e.content-t.offsetLeft-r:t.offsetLeft;n&&(i=-i);const o=e.wrapper+i,a=r+s,l=.4*r;return s<=i?i=Math.max(s-l,0):o<=a&&(i=Math.min(i-(o-a-l),e.content-e.wrapper)),n?-i:i}function O(t,e,n){const{offsetLeft:i,clientWidth:r}=t;if(n){const t=e.content-i-r/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=i+r/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const m=(0,h.Z)(s.y,l).extend({name:"base-slide-group",directives:{Resize:c.Z,Touch:u.Z},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({internalItemsLength:0,isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...s.y.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){const e=t<=0?d(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+d(this.widths.content-this.widths.wrapper-t):-t;this.$refs.content.style.transform=`translateX(${e}px)`}},beforeUpdate(){this.internalItemsLength=(this.$children||[]).length},updated(){this.internalItemsLength!==(this.$children||[]).length&&this.setWidths()},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of(0,p.iZ)(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=f(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const n=`${t[0].toUpperCase()}${t.slice(1)}`,r=this[`has${n}`];return this.showArrows||r?this.$createElement(i.Z,{props:{disabled:!r}},this[`${e}Icon`]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(r.Z5,[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,n,i){const r=n?-1:1,s=r*i+("prev"===t?-1:1)*e.wrapper;return r*Math.max(Math.min(s,e.content-e.wrapper),0)},onAffixClick(t){this.$emit(`click:${t}`),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,n=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(n),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,n=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-n&&(this.scrollOffset=-n):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=n&&(this.scrollOffset=n),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=O(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=f(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame((()=>{const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()}))}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});m.extend({name:"v-slide-group",provide(){return{slideGroup:this}}});var g=n(23276),v=n(58574);const y=(0,h.Z)(m,v.Z,g.Z).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...m.options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=m.options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const n=this.items,i=t.path,r=e.path;let s=!1,o=!1;for(const a of n)if(a.to===r?o=!0:a.to===i&&(s=!0),s&&o)break;!s&&o&&(this.internalValue=void 0)}},render(t){const e=m.options.render.call(this,t);return e.data.attrs={role:"tablist"},e}});var b=n(47233),_=n(28914);const x=(0,h.Z)(_.Z).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}});var w=n(93939);const $=(0,h.Z)(_.Z,w.Z,g.Z),S=$.extend().extend({name:"v-tabs",directives:{Resize:c.Z},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data(){return{resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}},computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:(0,p.kb)(this.slider.height),left:this.isReversed?void 0:(0,p.kb)(this.slider.left),right:this.isReversed?(0,p.kb)(this.slider.right):void 0,top:this.vertical?(0,p.kb)(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:(0,p.kb)(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){this.$nextTick((()=>{window.setTimeout(this.callSlider,30)}))},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick((()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}})),!0):(this.slider.width=0,!1)},genBar(t,e){const n={style:{height:(0,p.kb)(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,n),this.setBackgroundColor(this.backgroundColor,n),this.$createElement(y,n,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(b.Z,{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(x,{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const n=[],i=[],r=this.$slots.default||[],s=r.length;for(let o=0;o<s;o++){const s=r[o];if(s.componentOptions)switch(s.componentOptions.Ctor.options.name){case"v-tabs-slider":e=s;break;case"v-tabs-items":t=s;break;case"v-tab-item":n.push(s);break;default:i.push(s)}else i.push(s)}return{tab:i,slider:e,items:t,item:n}}},render(t){const{tab:e,slider:n,items:i,item:r}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,n),this.genItems(i,r)])}})},47233:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n(43134),r=n(81903),s=n(11012),o=n(2021);const a=o.y.extend({name:"v-window",directives:{Touch:i.Z},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data(){return{changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}},computed:{isActive(){return this.transitionCount>0},classes(){return{...o.y.options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";const t=this.vertical?"y":"x",e=this.internalReverse?!this.isReverse:this.isReverse,n=e?"-reverse":"";return`v-window-${t}${n}-transition`},hasActiveItems(){return Boolean(this.items.find((t=>!t.disabled)))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex(((t,e)=>this.internalValue===this.getValue(t,e)))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame((()=>this.isBooted=!0))},methods:{genDefaultSlot(){return this.$slots.default},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,n){var i,o,a;const l={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,n()}},c={"aria-label":this.$vuetify.lang.t(`$vuetify.carousel.${t}`)},u=null!=(i=null==(o=(a=this.$scopedSlots)[t])?void 0:o.call(a,{on:l,attrs:c}))?i:[this.$createElement(r.Z,{props:{icon:!0},attrs:c,on:l},[this.$createElement(s.Z,{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:`v-window__${t}`},u)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"===typeof e){const n=this.genIcon("prev",e,this.prev);n&&t.push(n)}const n=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&n&&"string"===typeof n){const e=this.genIcon("next",n,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length,n=this.items[e];return n.disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length,n=this.items[e];return n.disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const n=this.items.length,i=n-1;return n<=2?t<e:t===i&&0===e||(0!==t||e!==i)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}}),l=a.extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...a.options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||o.y.options.methods.getValue.call(this,t,e)}}})},77859:(t,e,n)=>{"use strict";n.d(e,{Z:()=>b});n(22838);var i=n(69782),r=n(82079);const s=r.Z;var o=n(10084),a=n(1558),l=n(36596),c=n(20144);function u(t){return c.ZP.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){a.Z.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){a.Z.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,n,i){if(this.isIntersecting=i,i)for(let r=0,s=t.onVisible.length;r<s;r++){const e=this[t.onVisible[r]];"function"!==typeof e?(0,l.Kd)(t.onVisible[r]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}var h=n(36382),p=n(94777),d=n(29495),f=n(13176),O=n(86044),m=n(31050),g=n(74987);const v=(0,g.Z)(i.Z,u({onVisible:["onResize","tryAutofocus"]}),h.Z),y=["color","file","time","date","datetime-local","week","month"],b=v.extend().extend({name:"v-text-field",directives:{resize:d.Z,ripple:f.Z},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...i.Z.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const t=p.Z.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return i.Z.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null==(t=this.lazyValue)?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||y.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&(0,l.fK)("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&(0,l.fK)("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&(0,l.Kd)("shaped should be used with either filled or outlined",this)},mounted(){this.$watch((()=>this.labelValue),this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame((()=>{this.isBooted=!0,requestAnimationFrame((()=>{this.isIntersecting||this.onResize()}))}))},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame((()=>{this.$refs.input&&this.$refs.input.blur()}))},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick((()=>this.internalValue=null))},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=i.Z.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var t,e,n;if(!this.hasCounter)return null;const i=!0===this.counter?this.attrs$.maxlength:this.counter,r={dark:this.dark,light:this.light,max:i,value:this.computedCounterValue};return null!=(t=null==(e=(n=this.$scopedSlots).counter)?void 0:e.call(n,{props:r}))?t:this.$createElement(s,{props:r})},genControl(){return i.Z.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(o.Z,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"​"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:(0,m.kb)(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...n}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...n,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const t=i.Z.options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:`v-text-field__${t}`,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick((()=>this.$emit("blur",t)))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=(0,O.e)(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===m.Do.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),i.Z.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),i.Z.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const t=(0,O.e)(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}})},75617:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(77859),r=n(74987);const s=(0,r.Z)(i.Z),o=s.extend({name:"v-textarea",props:{autoGrow:Boolean,noResize:Boolean,rowHeight:{type:[Number,String],default:24,validator:t=>!isNaN(parseFloat(t))},rows:{type:[Number,String],default:5,validator:t=>!isNaN(parseInt(t,10))}},computed:{classes(){return{"v-textarea":!0,"v-textarea--auto-grow":this.autoGrow,"v-textarea--no-resize":this.noResizeHandle,...i.Z.options.computed.classes.call(this)}},noResizeHandle(){return this.noResize||this.autoGrow}},watch:{autoGrow(t){this.$nextTick((()=>{var e;t?this.calculateInputHeight():null==(e=this.$refs.input)||e.style.removeProperty("height")}))},lazyValue(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)},rowHeight(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)}},mounted(){setTimeout((()=>{this.autoGrow&&this.calculateInputHeight()}),0)},methods:{calculateInputHeight(){const t=this.$refs.input;if(!t)return;t.style.height="0";const e=t.scrollHeight,n=parseInt(this.rows,10)*parseFloat(this.rowHeight);t.style.height=Math.max(n,e)+"px"},genInput(){const t=i.Z.options.methods.genInput.call(this);return t.tag="textarea",delete t.data.attrs.type,t.data.attrs.rows=this.rows,t},onInput(t){i.Z.options.methods.onInput.call(this,t),this.autoGrow&&this.calculateInputHeight()},onKeyDown(t){this.isFocused&&13===t.keyCode&&t.stopPropagation(),this.$emit("keydown",t)}}})},28791:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(23276);const r=i.Z.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:i.Z.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find((t=>!t.isComment&&" "!==t.text))}})},91898:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var i,r=n(6686),s=n(32493),o=n(74987);(function(t){t[t["Hour"]=1]="Hour",t[t["Minute"]=2]="Minute",t[t["Second"]=3]="Second"})(i||(i={}));const a=(0,o.Z)(r.Z).extend({name:"v-time-picker-title",props:{ampm:Boolean,ampmReadonly:Boolean,disabled:Boolean,hour:Number,minute:Number,second:Number,period:{type:String,validator:t=>"am"===t||"pm"===t},readonly:Boolean,useSeconds:Boolean,selecting:Number},methods:{genTime(){let t=this.hour;this.ampm&&(t=t?(t-1)%12+1:12);const e=null==this.hour?"--":this.ampm?String(t):(0,s.Z)(t),n=null==this.minute?"--":(0,s.Z)(this.minute),r=[this.genPickerButton("selecting",i.Hour,e,this.disabled),this.$createElement("span",":"),this.genPickerButton("selecting",i.Minute,n,this.disabled)];if(this.useSeconds){const t=null==this.second?"--":(0,s.Z)(this.second);r.push(this.$createElement("span",":")),r.push(this.genPickerButton("selecting",i.Second,t,this.disabled))}return this.$createElement("div",{class:"v-time-picker-title__time"},r)},genAmPm(){return this.$createElement("div",{staticClass:"v-time-picker-title__ampm",class:{"v-time-picker-title__ampm--readonly":this.ampmReadonly}},[this.ampmReadonly&&"am"!==this.period?null:this.genPickerButton("period","am",this.$vuetify.lang.t("$vuetify.timePicker.am"),this.disabled||this.readonly),this.ampmReadonly&&"pm"!==this.period?null:this.genPickerButton("period","pm",this.$vuetify.lang.t("$vuetify.timePicker.pm"),this.disabled||this.readonly)])}},render(t){const e=[this.genTime()];return this.ampm&&e.push(this.genAmPm()),t("div",{staticClass:"v-time-picker-title"},e)}});var l=n(28914),c=n(23276);const u=(0,o.Z)(l.Z,c.Z).extend({name:"v-time-picker-clock",props:{allowedValues:Function,ampm:Boolean,disabled:Boolean,double:Boolean,format:{type:Function,default:t=>t},max:{type:Number,required:!0},min:{type:Number,required:!0},scrollable:Boolean,readonly:Boolean,rotate:{type:Number,default:0},step:{type:Number,default:1},value:Number},data(){return{inputValue:this.value,isDragging:!1,valueOnMouseDown:null,valueOnMouseUp:null}},computed:{count(){return this.max-this.min+1},degreesPerUnit(){return 360/this.roundCount},degrees(){return this.degreesPerUnit*Math.PI/180},displayedValue(){return null==this.value?this.min:this.value},innerRadiusScale(){return.62},roundCount(){return this.double?this.count/2:this.count}},watch:{value(t){this.inputValue=t}},methods:{wheel(t){t.preventDefault();const e=Math.sign(-t.deltaY||1);let n=this.displayedValue;do{n+=e,n=(n-this.min+this.count)%this.count+this.min}while(!this.isAllowed(n)&&n!==this.displayedValue);n!==this.displayedValue&&this.update(n)},isInner(t){return this.double&&t-this.min>=this.roundCount},handScale(t){return this.isInner(t)?this.innerRadiusScale:1},isAllowed(t){return!this.allowedValues||this.allowedValues(t)},genValues(){const t=[];for(let e=this.min;e<=this.max;e+=this.step){const n=e===this.value&&(this.color||"accent");t.push(this.$createElement("span",this.setBackgroundColor(n,{staticClass:"v-time-picker-clock__item",class:{"v-time-picker-clock__item--active":e===this.displayedValue,"v-time-picker-clock__item--disabled":this.disabled||!this.isAllowed(e)},style:this.getTransform(e),domProps:{innerHTML:`<span>${this.format(e)}</span>`}})))}return t},genHand(){const t=`scaleY(${this.handScale(this.displayedValue)})`,e=this.rotate+this.degreesPerUnit*(this.displayedValue-this.min),n=null!=this.value&&(this.color||"accent");return this.$createElement("div",this.setBackgroundColor(n,{staticClass:"v-time-picker-clock__hand",class:{"v-time-picker-clock__hand--inner":this.isInner(this.value)},style:{transform:`rotate(${e}deg) ${t}`}}))},getTransform(t){const{x:e,y:n}=this.getPosition(t);return{left:50+50*e+"%",top:50+50*n+"%"}},getPosition(t){const e=this.rotate*Math.PI/180;return{x:Math.sin((t-this.min)*this.degrees+e)*this.handScale(t),y:-Math.cos((t-this.min)*this.degrees+e)*this.handScale(t)}},onMouseDown(t){t.preventDefault(),this.valueOnMouseDown=null,this.valueOnMouseUp=null,this.isDragging=!0,this.onDragMove(t)},onMouseUp(t){t.stopPropagation(),this.isDragging=!1,null!==this.valueOnMouseUp&&this.isAllowed(this.valueOnMouseUp)&&this.$emit("change",this.valueOnMouseUp)},onDragMove(t){if(t.preventDefault(),!this.isDragging&&"click"!==t.type||!this.$refs.clock)return;const{width:e,top:n,left:i}=this.$refs.clock.getBoundingClientRect(),{width:r}=this.$refs.innerClock.getBoundingClientRect(),{clientX:s,clientY:o}="touches"in t?t.touches[0]:t,a={x:e/2,y:-e/2},l={x:s-i,y:n-o},c=Math.round(this.angle(a,l)-this.rotate+360)%360,u=this.double&&this.euclidean(a,l)<(r+r*this.innerRadiusScale)/4,h=Math.ceil(15/this.degreesPerUnit);let p;for(let d=0;d<h;d++){if(p=this.angleToValue(c+d*this.degreesPerUnit,u),this.isAllowed(p))return this.setMouseDownValue(p);if(p=this.angleToValue(c-d*this.degreesPerUnit,u),this.isAllowed(p))return this.setMouseDownValue(p)}},angleToValue(t,e){const n=(Math.round(t/this.degreesPerUnit)+(e?this.roundCount:0))%this.count+this.min;return t<360-this.degreesPerUnit/2?n:e?this.max-this.roundCount+1:this.min},setMouseDownValue(t){null===this.valueOnMouseDown&&(this.valueOnMouseDown=t),this.valueOnMouseUp=t,this.update(t)},update(t){this.inputValue!==t&&(this.inputValue=t,this.$emit("input",t))},euclidean(t,e){const n=e.x-t.x,i=e.y-t.y;return Math.sqrt(n*n+i*i)},angle(t,e){const n=2*Math.atan2(e.y-t.y-this.euclidean(t,e),e.x-t.x);return Math.abs(180*n/Math.PI)}},render(t){const e={staticClass:"v-time-picker-clock",class:{"v-time-picker-clock--indeterminate":null==this.value,...this.themeClasses},on:this.readonly||this.disabled?void 0:{mousedown:this.onMouseDown,mouseup:this.onMouseUp,mouseleave:t=>this.isDragging&&this.onMouseUp(t),touchstart:this.onMouseDown,touchend:this.onMouseUp,mousemove:this.onDragMove,touchmove:this.onDragMove},ref:"clock"};return this.scrollable&&e.on&&(e.on.wheel=this.wheel),t("div",e,[t("div",{staticClass:"v-time-picker-clock__inner",ref:"innerClock"},[this.genHand(),this.genValues()])])}});var h=n(66879),p=n(31050);const d=(0,p.MT)(24),f=(0,p.MT)(12),O=f.map((t=>t+12)),m=(0,p.MT)(60),g={1:"hour",2:"minute",3:"second"},v=(0,o.Z)(h.Z,r.Z).extend({name:"v-time-picker",props:{allowedHours:[Function,Array],allowedMinutes:[Function,Array],allowedSeconds:[Function,Array],disabled:Boolean,format:{type:String,default:"ampm",validator(t){return["ampm","24hr"].includes(t)}},min:String,max:String,readonly:Boolean,scrollable:Boolean,useSeconds:Boolean,value:null,ampmInTitle:Boolean},data(){return{inputHour:null,inputMinute:null,inputSecond:null,lazyInputHour:null,lazyInputMinute:null,lazyInputSecond:null,period:"am",selecting:i.Hour}},computed:{selectingHour:{get(){return this.selecting===i.Hour},set(t){this.selecting=i.Hour}},selectingMinute:{get(){return this.selecting===i.Minute},set(t){this.selecting=i.Minute}},selectingSecond:{get(){return this.selecting===i.Second},set(t){this.selecting=i.Second}},isAllowedHourCb(){let t;if(t=this.allowedHours instanceof Array?t=>this.allowedHours.includes(t):this.allowedHours,!this.min&&!this.max)return t;const e=this.min?Number(this.min.split(":")[0]):0,n=this.max?Number(this.max.split(":")[0]):23;return i=>i>=1*e&&i<=1*n&&(!t||t(i))},isAllowedMinuteCb(){let t;const e=!this.isAllowedHourCb||null===this.inputHour||this.isAllowedHourCb(this.inputHour);if(t=this.allowedMinutes instanceof Array?t=>this.allowedMinutes.includes(t):this.allowedMinutes,!this.min&&!this.max)return e?t:()=>!1;const[n,i]=this.min?this.min.split(":").map(Number):[0,0],[r,s]=this.max?this.max.split(":").map(Number):[23,59],o=60*n+1*i,a=60*r+1*s;return n=>{const i=60*this.inputHour+n;return i>=o&&i<=a&&e&&(!t||t(n))}},isAllowedSecondCb(){let t;const e=!this.isAllowedHourCb||null===this.inputHour||this.isAllowedHourCb(this.inputHour),n=e&&(!this.isAllowedMinuteCb||null===this.inputMinute||this.isAllowedMinuteCb(this.inputMinute));if(t=this.allowedSeconds instanceof Array?t=>this.allowedSeconds.includes(t):this.allowedSeconds,!this.min&&!this.max)return n?t:()=>!1;const[i,r,s]=this.min?this.min.split(":").map(Number):[0,0,0],[o,a,l]=this.max?this.max.split(":").map(Number):[23,59,59],c=3600*i+60*r+1*(s||0),u=3600*o+60*a+1*(l||0);return e=>{const i=3600*this.inputHour+60*this.inputMinute+e;return i>=c&&i<=u&&n&&(!t||t(e))}},isAmPm(){return"ampm"===this.format}},watch:{value:"setInputData"},mounted(){this.setInputData(this.value),this.$on("update:period",this.setPeriod)},methods:{genValue(){return null==this.inputHour||null==this.inputMinute||this.useSeconds&&null==this.inputSecond?null:`${(0,s.Z)(this.inputHour)}:${(0,s.Z)(this.inputMinute)}`+(this.useSeconds?`:${(0,s.Z)(this.inputSecond)}`:"")},emitValue(){const t=this.genValue();null!==t&&this.$emit("input",t)},setPeriod(t){if(this.period=t,null!=this.inputHour){const e=this.inputHour+("am"===t?-12:12);this.inputHour=this.firstAllowed("hour",e),this.emitValue()}},setInputData(t){if(null==t||""===t)this.inputHour=null,this.inputMinute=null,this.inputSecond=null;else if(t instanceof Date)this.inputHour=t.getHours(),this.inputMinute=t.getMinutes(),this.inputSecond=t.getSeconds();else{const[,e,n,,i,r]=t.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/)||new Array(6);this.inputHour=r?this.convert12to24(parseInt(e,10),r):parseInt(e,10),this.inputMinute=parseInt(n,10),this.inputSecond=parseInt(i||0,10)}this.period=null==this.inputHour||this.inputHour<12?"am":"pm"},convert24to12(t){return t?(t-1)%12+1:12},convert12to24(t,e){return t%12+("pm"===e?12:0)},onInput(t){this.selecting===i.Hour?this.inputHour=this.isAmPm?this.convert12to24(t,this.period):t:this.selecting===i.Minute?this.inputMinute=t:this.inputSecond=t,this.emitValue()},onChange(t){this.$emit(`click:${g[this.selecting]}`,t);const e=this.selecting===(this.useSeconds?i.Second:i.Minute);if(this.selecting===i.Hour?this.selecting=i.Minute:this.useSeconds&&this.selecting===i.Minute&&(this.selecting=i.Second),this.inputHour===this.lazyInputHour&&this.inputMinute===this.lazyInputMinute&&(!this.useSeconds||this.inputSecond===this.lazyInputSecond))return;const n=this.genValue();null!==n&&(this.lazyInputHour=this.inputHour,this.lazyInputMinute=this.inputMinute,this.useSeconds&&(this.lazyInputSecond=this.inputSecond),e&&this.$emit("change",n))},firstAllowed(t,e){const n="hour"===t?this.isAllowedHourCb:"minute"===t?this.isAllowedMinuteCb:this.isAllowedSecondCb;if(!n)return e;const i="minute"===t||"second"===t?m:this.isAmPm?e<12?f:O:d,r=i.find((t=>n((t+e)%i.length+i[0])));return((r||0)+e)%i.length+i[0]},genClock(){return this.$createElement(u,{props:{allowedValues:this.selecting===i.Hour?this.isAllowedHourCb:this.selecting===i.Minute?this.isAllowedMinuteCb:this.isAllowedSecondCb,color:this.color,dark:this.dark,disabled:this.disabled,double:this.selecting===i.Hour&&!this.isAmPm,format:this.selecting===i.Hour?this.isAmPm?this.convert24to12:t=>t:t=>(0,s.Z)(t,2),light:this.light,max:this.selecting===i.Hour?this.isAmPm&&"am"===this.period?11:23:59,min:this.selecting===i.Hour&&this.isAmPm&&"pm"===this.period?12:0,readonly:this.readonly,scrollable:this.scrollable,size:Number(this.width)-(!this.fullWidth&&this.landscape?80:20),step:this.selecting===i.Hour?1:5,value:this.selecting===i.Hour?this.inputHour:this.selecting===i.Minute?this.inputMinute:this.inputSecond},on:{input:this.onInput,change:this.onChange},ref:"clock"})},genClockAmPm(){return this.$createElement("div",this.setTextColor(this.color||"primary",{staticClass:"v-time-picker-clock__ampm"}),[this.genPickerButton("period","am",this.$vuetify.lang.t("$vuetify.timePicker.am"),this.disabled||this.readonly),this.genPickerButton("period","pm",this.$vuetify.lang.t("$vuetify.timePicker.pm"),this.disabled||this.readonly)])},genPickerBody(){return this.$createElement("div",{staticClass:"v-time-picker-clock__container",key:this.selecting},[!this.ampmInTitle&&this.isAmPm&&this.genClockAmPm(),this.genClock()])},genPickerTitle(){return this.$createElement(a,{props:{ampm:this.isAmPm,ampmReadonly:this.isAmPm&&!this.ampmInTitle,disabled:this.disabled,hour:this.inputHour,minute:this.inputMinute,second:this.inputSecond,period:this.period,readonly:this.readonly,useSeconds:this.useSeconds,selecting:this.selecting},on:{"update:selecting":t=>this.selecting=t,"update:period":t=>this.$emit("update:period",t)},ref:"title",slot:"title"})}},render(){return this.genPicker("v-picker--time")}})},43432:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(55840),r=n(28914),s=n(94019),o=n(12524),a=n(57482),l=n(16470),c=n(31050),u=n(36596),h=n(74987);const p=(0,h.Z)(r.Z,s.Z,o.Z,a.Z,l.Z).extend({name:"v-tooltip",props:{closeDelay:{type:[Number,String],default:0},disabled:Boolean,openDelay:{type:[Number,String],default:0},openOnHover:{type:Boolean,default:!0},tag:{type:String,default:"span"},transition:String},data:()=>({calculatedMinWidth:0,closeDependents:!1}),computed:{calculatedLeft(){const{activator:t,content:e}=this.dimensions,n=!this.bottom&&!this.left&&!this.top&&!this.right,i=!1!==this.attach?t.offsetLeft:t.left;let r=0;return this.top||this.bottom||n?r=i+t.width/2-e.width/2:(this.left||this.right)&&(r=i+(this.right?t.width:-e.width)+(this.right?10:-10)),this.nudgeLeft&&(r-=parseInt(this.nudgeLeft)),this.nudgeRight&&(r+=parseInt(this.nudgeRight)),`${this.calcXOverflow(r,this.dimensions.content.width)}px`},calculatedTop(){const{activator:t,content:e}=this.dimensions,n=!1!==this.attach?t.offsetTop:t.top;let i=0;return this.top||this.bottom?i=n+(this.bottom?t.height:-e.height)+(this.bottom?10:-10):(this.left||this.right)&&(i=n+t.height/2-e.height/2),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),!1===this.attach&&(i+=this.pageYOffset),`${this.calcYOverflow(i)}px`},classes(){return{"v-tooltip--top":this.top,"v-tooltip--right":this.right,"v-tooltip--bottom":this.bottom,"v-tooltip--left":this.left,"v-tooltip--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},computedTransition(){return this.transition?this.transition:this.isActive?"scale-transition":"fade-transition"},offsetY(){return this.top||this.bottom},offsetX(){return this.left||this.right},styles(){return{left:this.calculatedLeft,maxWidth:(0,c.kb)(this.maxWidth),minWidth:(0,c.kb)(this.minWidth),top:this.calculatedTop,zIndex:this.zIndex||this.activeZIndex}}},beforeMount(){this.$nextTick((()=>{this.value&&this.callActivate()}))},mounted(){"v-slot"===(0,c.sp)(this,"activator",!0)&&(0,u.N6)("v-tooltip's activator slot must be bound, try '<template #activator=\"data\"><v-btn v-on=\"data.on>'",this)},methods:{activate(){this.updateDimensions(),requestAnimationFrame(this.startTransition)},deactivate(){this.runDelay("close")},genActivatorListeners(){const t=i.Z.options.methods.genActivatorListeners.call(this);return t.focus=t=>{this.getActivator(t),this.runDelay("open")},t.blur=t=>{this.getActivator(t),this.runDelay("close")},t.keydown=t=>{t.keyCode===c.Do.esc&&(this.getActivator(t),this.runDelay("close"))},t},genActivatorAttributes(){return{"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genTransition(){const t=this.genContent();return this.computedTransition?this.$createElement("transition",{props:{name:this.computedTransition}},[t]):t},genContent(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-tooltip__content",class:{[this.contentClass]:!0,menuable__content__active:this.isActive,"v-tooltip__content--fixed":this.activatorFixed},style:this.styles,attrs:this.getScopeIdAttrs(),directives:[{name:"show",value:this.isContentActive}],ref:"content"}),this.getContentSlot())}},render(t){return t(this.tag,{staticClass:"v-tooltip",class:this.classes},[this.showLazyContent((()=>[this.genTransition()])),this.genActivator()])}})},12817:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var i=n(83422),r=n(5057),s=n(90380),o=n(28914),a=n(74987),l=n(31050);const c=(0,a.Z)(o.Z,(0,s.f)("treeview")),u={activatable:Boolean,activeClass:{type:String,default:"v-treeview-node--active"},color:{type:String,default:"primary"},disablePerNode:Boolean,expandIcon:{type:String,default:"$subgroup"},indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},itemChildren:{type:String,default:"children"},itemDisabled:{type:String,default:"disabled"},itemKey:{type:String,default:"id"},itemText:{type:String,default:"name"},loadChildren:Function,loadingIcon:{type:String,default:"$loading"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"},openOnClick:Boolean,rounded:Boolean,selectable:Boolean,selectedColor:{type:String,default:"accent"},shaped:Boolean,transition:Boolean,selectionType:{type:String,default:"leaf",validator:t=>["leaf","independent"].includes(t)}},h=c.extend().extend({name:"v-treeview-node",inject:{treeview:{default:null}},props:{level:Number,item:{type:Object,default:()=>null},parentIsDisabled:Boolean,...u},data:()=>({hasLoaded:!1,isActive:!1,isIndeterminate:!1,isLoading:!1,isOpen:!1,isSelected:!1}),computed:{disabled(){return(0,l.vO)(this.item,this.itemDisabled)||!this.disablePerNode&&this.parentIsDisabled&&"leaf"===this.selectionType},key(){return(0,l.vO)(this.item,this.itemKey)},children(){const t=(0,l.vO)(this.item,this.itemChildren);return t&&t.filter((t=>!this.treeview.isExcluded((0,l.vO)(t,this.itemKey))))},text(){return(0,l.vO)(this.item,this.itemText)},scopedProps(){return{item:this.item,leaf:!this.children,selected:this.isSelected,indeterminate:this.isIndeterminate,active:this.isActive,open:this.isOpen}},computedIcon(){return this.isIndeterminate?this.indeterminateIcon:this.isSelected?this.onIcon:this.offIcon},hasChildren(){return!!this.children&&(!!this.children.length||!!this.loadChildren)}},created(){this.treeview.register(this)},beforeDestroy(){this.treeview.unregister(this)},methods:{checkChildren(){return new Promise((t=>{if(!this.children||this.children.length||!this.loadChildren||this.hasLoaded)return t();this.isLoading=!0,t(this.loadChildren(this.item))})).then((()=>{this.isLoading=!1,this.hasLoaded=!0}))},open(){this.isOpen=!this.isOpen,this.treeview.updateOpen(this.key,this.isOpen),this.treeview.emitOpen()},genLabel(){const t=[];return this.$scopedSlots.label?t.push(this.$scopedSlots.label(this.scopedProps)):t.push(this.text),this.$createElement("div",{slot:"label",staticClass:"v-treeview-node__label"},t)},genPrependSlot(){return this.$scopedSlots.prepend?this.$createElement("div",{staticClass:"v-treeview-node__prepend"},this.$scopedSlots.prepend(this.scopedProps)):null},genAppendSlot(){return this.$scopedSlots.append?this.$createElement("div",{staticClass:"v-treeview-node__append"},this.$scopedSlots.append(this.scopedProps)):null},genContent(){const t=[this.genPrependSlot(),this.genLabel(),this.genAppendSlot()];return this.$createElement("div",{staticClass:"v-treeview-node__content"},t)},genToggle(){return this.$createElement(r.Z,{staticClass:"v-treeview-node__toggle",class:{"v-treeview-node__toggle--open":this.isOpen,"v-treeview-node__toggle--loading":this.isLoading},slot:"prepend",on:{click:t=>{t.stopPropagation(),this.isLoading||this.checkChildren().then((()=>this.open()))}}},[this.isLoading?this.loadingIcon:this.expandIcon])},genCheckbox(){return this.$createElement(r.Z,{staticClass:"v-treeview-node__checkbox",props:{color:this.isSelected||this.isIndeterminate?this.selectedColor:void 0,disabled:this.disabled},on:{click:t=>{t.stopPropagation(),this.isLoading||this.checkChildren().then((()=>{this.$nextTick((()=>{this.isSelected=!this.isSelected,this.isIndeterminate=!1,this.treeview.updateSelected(this.key,this.isSelected),this.treeview.emitSelected()}))}))}}},[this.computedIcon])},genLevel(t){return(0,l.MT)(t).map((()=>this.$createElement("div",{staticClass:"v-treeview-node__level"})))},genNode(){const t=[this.genContent()];return this.selectable&&t.unshift(this.genCheckbox()),this.hasChildren?t.unshift(this.genToggle()):t.unshift(...this.genLevel(1)),t.unshift(...this.genLevel(this.level)),this.$createElement("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-treeview-node__root",class:{[this.activeClass]:this.isActive},on:{click:()=>{this.openOnClick&&this.hasChildren?this.checkChildren().then(this.open):this.activatable&&!this.disabled&&(this.isActive=!this.isActive,this.treeview.updateActive(this.key,this.isActive),this.treeview.emitActive())}}}),t)},genChild(t,e){return this.$createElement(h,{key:(0,l.vO)(t,this.itemKey),props:{activatable:this.activatable,activeClass:this.activeClass,item:t,selectable:this.selectable,selectedColor:this.selectedColor,color:this.color,disablePerNode:this.disablePerNode,expandIcon:this.expandIcon,indeterminateIcon:this.indeterminateIcon,offIcon:this.offIcon,onIcon:this.onIcon,loadingIcon:this.loadingIcon,itemKey:this.itemKey,itemText:this.itemText,itemDisabled:this.itemDisabled,itemChildren:this.itemChildren,loadChildren:this.loadChildren,transition:this.transition,openOnClick:this.openOnClick,rounded:this.rounded,shaped:this.shaped,level:this.level+1,selectionType:this.selectionType,parentIsDisabled:e},scopedSlots:this.$scopedSlots})},genChildrenWrapper(){if(!this.isOpen||!this.children)return null;const t=[this.children.map((t=>this.genChild(t,this.disabled)))];return this.$createElement("div",{staticClass:"v-treeview-node__children"},t)},genTransition(){return this.$createElement(i.Fx,[this.genChildrenWrapper()])}},render(t){const e=[this.genNode()];return this.transition?e.push(this.genTransition()):e.push(this.genChildrenWrapper()),t("div",{staticClass:"v-treeview-node",class:{"v-treeview-node--leaf":!this.hasChildren,"v-treeview-node--click":this.openOnClick,"v-treeview-node--disabled":this.disabled,"v-treeview-node--rounded":this.rounded,"v-treeview-node--shaped":this.shaped,"v-treeview-node--selected":this.isSelected},attrs:{"aria-expanded":String(this.isOpen)}},e)}}),p=h;var d=n(23276),f=n(36596);function O(t,e,n){const i=(0,l.vO)(t,n);return i.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1}function m(t,e,n,i,r,s,o){if(t(e,n,r))return!0;const a=(0,l.vO)(e,s);if(a){let e=!1;for(let l=0;l<a.length;l++)m(t,a[l],n,i,r,s,o)&&(e=!0);if(e)return!0}return o.add((0,l.vO)(e,i)),!1}const g=(0,a.Z)((0,s.J)("treeview"),d.Z).extend({name:"v-treeview",provide(){return{treeview:this}},props:{active:{type:Array,default:()=>[]},dense:Boolean,disabled:Boolean,filter:Function,hoverable:Boolean,items:{type:Array,default:()=>[]},multipleActive:Boolean,open:{type:Array,default:()=>[]},openAll:Boolean,returnObject:{type:Boolean,default:!1},search:String,value:{type:Array,default:()=>[]},...u},data:()=>({level:-1,activeCache:new Set,nodes:{},openCache:new Set,selectedCache:new Set}),computed:{excludedItems(){const t=new Set;if(!this.search)return t;for(let e=0;e<this.items.length;e++)m(this.filter||O,this.items[e],this.search,this.itemKey,this.itemText,this.itemChildren,t);return t}},watch:{items:{handler(){const t=Object.keys(this.nodes).map((t=>(0,l.vO)(this.nodes[t].item,this.itemKey))),e=this.getKeys(this.items),n=(0,l.tX)(e,t);if(!n.length&&e.length<t.length)return;n.forEach((t=>delete this.nodes[t]));const i=[...this.selectedCache];this.selectedCache=new Set,this.activeCache=new Set,this.openCache=new Set,this.buildTree(this.items),(0,l.vZ)(i,[...this.selectedCache])||this.emitSelected()},deep:!0},active(t){this.handleNodeCacheWatcher(t,this.activeCache,this.updateActive,this.emitActive)},value(t){this.handleNodeCacheWatcher(t,this.selectedCache,this.updateSelected,this.emitSelected)},open(t){this.handleNodeCacheWatcher(t,this.openCache,this.updateOpen,this.emitOpen)}},created(){const t=t=>this.returnObject?(0,l.vO)(t,this.itemKey):t;this.buildTree(this.items);for(const e of this.value.map(t))this.updateSelected(e,!0,!0);for(const e of this.active.map(t))this.updateActive(e,!0)},mounted(){(this.$slots.prepend||this.$slots.append)&&(0,f.Kd)("The prepend and append slots require a slot-scope attribute",this),this.openAll?this.updateAll(!0):(this.open.forEach((t=>this.updateOpen(this.returnObject?(0,l.vO)(t,this.itemKey):t,!0))),this.emitOpen())},methods:{updateAll(t){Object.keys(this.nodes).forEach((e=>this.updateOpen((0,l.vO)(this.nodes[e].item,this.itemKey),t))),this.emitOpen()},getKeys(t,e=[]){for(let n=0;n<t.length;n++){const i=(0,l.vO)(t[n],this.itemKey);e.push(i);const r=(0,l.vO)(t[n],this.itemChildren);r&&e.push(...this.getKeys(r))}return e},buildTree(t,e=null){for(let i=0;i<t.length;i++){var n;const r=t[i],s=(0,l.vO)(r,this.itemKey),o=null!=(n=(0,l.vO)(r,this.itemChildren))?n:[],a=this.nodes.hasOwnProperty(s)?this.nodes[s]:{isSelected:!1,isIndeterminate:!1,isActive:!1,isOpen:!1,vnode:null},c={vnode:a.vnode,parent:e,children:o.map((t=>(0,l.vO)(t,this.itemKey))),item:r};if(this.buildTree(o,s),!this.nodes.hasOwnProperty(s)&&null!==e&&this.nodes.hasOwnProperty(e)?c.isSelected=this.nodes[e].isSelected:(c.isSelected=a.isSelected,c.isIndeterminate=a.isIndeterminate),c.isActive=a.isActive,c.isOpen=a.isOpen,this.nodes[s]=c,o.length&&"independent"!==this.selectionType){const{isSelected:t,isIndeterminate:e}=this.calculateState(s,this.nodes);c.isSelected=t,c.isIndeterminate=e}!this.nodes[s].isSelected||"independent"!==this.selectionType&&0!==c.children.length||this.selectedCache.add(s),this.nodes[s].isActive&&this.activeCache.add(s),this.nodes[s].isOpen&&this.openCache.add(s),this.updateVnodeState(s)}},calculateState(t,e){const n=e[t].children,i=n.reduce(((t,n)=>(t[0]+=+Boolean(e[n].isSelected),t[1]+=+Boolean(e[n].isIndeterminate),t)),[0,0]),r=!!n.length&&i[0]===n.length,s=!r&&(i[0]>0||i[1]>0);return{isSelected:r,isIndeterminate:s}},emitOpen(){this.emitNodeCache("update:open",this.openCache)},emitSelected(){this.emitNodeCache("input",this.selectedCache)},emitActive(){this.emitNodeCache("update:active",this.activeCache)},emitNodeCache(t,e){this.$emit(t,this.returnObject?[...e].map((t=>this.nodes[t].item)):[...e])},handleNodeCacheWatcher(t,e,n,i){t=this.returnObject?t.map((t=>(0,l.vO)(t,this.itemKey))):t;const r=[...e];(0,l.vZ)(r,t)||(r.forEach((t=>n(t,!1))),t.forEach((t=>n(t,!0))),i())},getDescendants(t,e=[]){const n=this.nodes[t].children;e.push(...n);for(let i=0;i<n.length;i++)e=this.getDescendants(n[i],e);return e},getParents(t){let e=this.nodes[t].parent;const n=[];while(null!==e)n.push(e),e=this.nodes[e].parent;return n},register(t){const e=(0,l.vO)(t.item,this.itemKey);this.nodes[e].vnode=t,this.updateVnodeState(e)},unregister(t){const e=(0,l.vO)(t.item,this.itemKey);this.nodes[e]&&(this.nodes[e].vnode=null)},isParent(t){return this.nodes[t].children&&this.nodes[t].children.length},updateActive(t,e){if(!this.nodes.hasOwnProperty(t))return;this.multipleActive||this.activeCache.forEach((t=>{this.nodes[t].isActive=!1,this.updateVnodeState(t),this.activeCache.delete(t)}));const n=this.nodes[t];n&&(e?this.activeCache.add(t):this.activeCache.delete(t),n.isActive=e,this.updateVnodeState(t))},updateSelected(t,e,n=!1){if(!this.nodes.hasOwnProperty(t))return;const i=new Map;if("independent"!==this.selectionType){for(const s of this.getDescendants(t))(0,l.vO)(this.nodes[s].item,this.itemDisabled)&&!n||(this.nodes[s].isSelected=e,this.nodes[s].isIndeterminate=!1,i.set(s,e));const r=this.calculateState(t,this.nodes);this.nodes[t].isSelected=e,this.nodes[t].isIndeterminate=r.isIndeterminate,i.set(t,e);for(const e of this.getParents(t)){const t=this.calculateState(e,this.nodes);this.nodes[e].isSelected=t.isSelected,this.nodes[e].isIndeterminate=t.isIndeterminate,i.set(e,t.isSelected)}}else this.nodes[t].isSelected=e,this.nodes[t].isIndeterminate=!1,i.set(t,e);for(const[r,s]of i.entries())this.updateVnodeState(r),"leaf"===this.selectionType&&this.isParent(r)||(!0===s?this.selectedCache.add(r):this.selectedCache.delete(r))},updateOpen(t,e){if(!this.nodes.hasOwnProperty(t))return;const n=this.nodes[t],i=(0,l.vO)(n.item,this.itemChildren);i&&!i.length&&n.vnode&&!n.vnode.hasLoaded?n.vnode.checkChildren().then((()=>this.updateOpen(t,e))):i&&i.length&&(n.isOpen=e,n.isOpen?this.openCache.add(t):this.openCache.delete(t),this.updateVnodeState(t))},updateVnodeState(t){const e=this.nodes[t];e&&e.vnode&&(e.vnode.isSelected=e.isSelected,e.vnode.isIndeterminate=e.isIndeterminate,e.vnode.isActive=e.isActive,e.vnode.isOpen=e.isOpen)},isExcluded(t){return!!this.search&&this.excludedItems.has(t)}},render(t){const e=this.items.length?this.items.filter((t=>!this.isExcluded((0,l.vO)(t,this.itemKey)))).map((t=>{const e=p.options.methods.genChild.bind(this);return e(t,this.disabled||(0,l.vO)(t,this.itemDisabled))})):this.$slots.default;return t("div",{staticClass:"v-treeview",class:{"v-treeview--hoverable":this.hoverable,"v-treeview--dense":this.dense,...this.themeClasses}},e)}})},83422:(t,e,n)=>{"use strict";n.d(e,{Fx:()=>d,Zq:()=>f,b0:()=>c,Z5:()=>u,T0:()=>h,Qn:()=>p});var i=n(2653);function r(t=[],...e){return Array().concat(t,...e)}function s(t,e="top center 0",n){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:n},origin:{type:String,default:e}},render(e,n){const s="transition"+(n.props.group?"-group":""),o={props:{name:t,mode:n.props.mode},on:{beforeEnter(t){t.style.transformOrigin=n.props.origin,t.style.webkitTransformOrigin=n.props.origin}}};return n.props.leaveAbsolute&&(o.on.leave=r(o.on.leave,(t=>{const{offsetTop:e,offsetLeft:n,offsetWidth:i,offsetHeight:r}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=n+"px",t.style.width=i+"px",t.style.height=r+"px"})),o.on.afterLeave=r(o.on.afterLeave,(t=>{if(t&&t._transitionInitialStyles){const{position:e,top:n,left:i,width:r,height:s}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=n||"",t.style.left=i||"",t.style.width=r||"",t.style.height=s||""}}))),n.props.hideOnLeave&&(o.on.leave=r(o.on.leave,(t=>{t.style.setProperty("display","none","important")}))),e(s,(0,i.ZP)(n.data,o),n.children)}}}function o(t,e,n="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:n}},render(n,r){return n("transition",(0,i.ZP)(r.data,{props:{name:t},on:e}),r.children)}}}var a=n(31050);function l(t="",e=!1){const n=e?"width":"height",i=`offset${(0,a.jC)(n)}`;return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[n]:t.style[n]}},enter(e){const r=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const s=`${e[i]}px`;e.style[n]="0",e.offsetHeight,e.style.transition=r.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame((()=>{e.style[n]=s}))},afterEnter:s,enterCancelled:s,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[n]:t.style[n]},t.style.overflow="hidden",t.style[n]=`${t[i]}px`,t.offsetHeight,requestAnimationFrame((()=>t.style[n]="0"))},afterLeave:r,leaveCancelled:r};function r(e){t&&e._parent&&e._parent.classList.remove(t),s(e)}function s(t){const e=t._initialStyle[n];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[n]=e),delete t._initialStyle}}s("carousel-transition"),s("carousel-reverse-transition"),s("tab-transition"),s("tab-reverse-transition"),s("menu-transition");const c=s("fab-transition","center center","out-in"),u=(s("dialog-transition"),s("dialog-bottom-transition"),s("dialog-top-transition"),s("fade-transition")),h=s("scale-transition"),p=(s("scroll-x-transition"),s("scroll-x-reverse-transition"),s("scroll-y-transition"),s("scroll-y-reverse-transition"),s("slide-x-transition")),d=(s("slide-x-reverse-transition"),s("slide-y-transition"),s("slide-y-reverse-transition"),o("expand-transition",l())),f=o("expand-x-transition",l("",!0))},59042:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(86044);function r(){return!0}function s(t,e,n){if(!t||!1===o(t,n))return!1;const r=(0,i.e)(e);if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&r.host===t.target)return!1;const s=("object"===typeof n.value&&n.value.include||(()=>[]))();return s.push(e),!s.some((e=>e.contains(t.target)))}function o(t,e){const n="object"===typeof e.value&&e.value.closeConditional||r;return n(t)}function a(t,e,n,i){const r="function"===typeof n.value?n.value:n.value.handler;e._clickOutside.lastMousedownWasOutside&&s(t,e,n)&&setTimeout((()=>{o(t,n)&&r&&r(t)}),0)}function l(t,e){const n=(0,i.e)(t);e(document),"undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&e(n)}const c={inserted(t,e,n){const i=i=>a(i,t,e,n),r=n=>{t._clickOutside.lastMousedownWasOutside=s(n,t,e)};l(t,(t=>{t.addEventListener("click",i,!0),t.addEventListener("mousedown",r,!0)})),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[n.context._uid]={onClick:i,onMousedown:r}},unbind(t,e,n){t._clickOutside&&(l(t,(e=>{var i;if(!e||null==(i=t._clickOutside)||!i[n.context._uid])return;const{onClick:r,onMousedown:s}=t._clickOutside[n.context._uid];e.removeEventListener("click",r,!0),e.removeEventListener("mousedown",s,!0)})),delete t._clickOutside[n.context._uid])}},u=974!=n.j?c:null},1558:(t,e,n)=>{"use strict";function i(t,e,n){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const i=e.modifiers||{},s=e.value,{handler:o,options:a}="object"===typeof s?s:{handler:s,options:{}},l=new IntersectionObserver(((s=[],a)=>{var l;const c=null==(l=t._observe)?void 0:l[n.context._uid];if(!c)return;const u=s.some((t=>t.isIntersecting));!o||i.quiet&&!c.init||i.once&&!u&&!c.init||o(s,a,u),u&&i.once?r(t,e,n):c.init=!0}),a);t._observe=Object(t._observe),t._observe[n.context._uid]={init:!1,observer:l},l.observe(t)}function r(t,e,n){var i;const r=null==(i=t._observe)?void 0:i[n.context._uid];r&&(r.observer.unobserve(t),delete t._observe[n.context._uid])}n.d(e,{Z:()=>o});const s={inserted:i,unbind:r},o=974!=n.j?s:null},29495:(t,e,n)=>{"use strict";function i(t,e,n){const i=e.value,r=e.options||{passive:!0};window.addEventListener("resize",i,r),t._onResize=Object(t._onResize),t._onResize[n.context._uid]={callback:i,options:r},e.modifiers&&e.modifiers.quiet||i()}function r(t,e,n){var i;if(null==(i=t._onResize)||!i[n.context._uid])return;const{callback:r,options:s}=t._onResize[n.context._uid];window.removeEventListener("resize",r,s),delete t._onResize[n.context._uid]}n.d(e,{Z:()=>o});const s={inserted:i,unbind:r},o=974!=n.j?s:null},13176:(t,e,n)=>{"use strict";n.d(e,{Z:()=>S});var i=n(31050);const r=80;function s(t,e){t.style.transform=e,t.style.webkitTransform=e}function o(t,e){t.style.opacity=e.toString()}function a(t){return"TouchEvent"===t.constructor.name}function l(t){return"KeyboardEvent"===t.constructor.name}const c=(t,e,n={})=>{let i=0,r=0;if(!l(t)){const n=e.getBoundingClientRect(),s=a(t)?t.touches[t.touches.length-1]:t;i=s.clientX-n.left,r=s.clientY-n.top}let s=0,o=.3;e._ripple&&e._ripple.circle?(o=.15,s=e.clientWidth/2,s=n.center?s:s+Math.sqrt((i-s)**2+(r-s)**2)/4):s=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const c=(e.clientWidth-2*s)/2+"px",u=(e.clientHeight-2*s)/2+"px",h=n.center?c:i-s+"px",p=n.center?u:r-s+"px";return{radius:s,scale:o,x:h,y:p,centerX:c,centerY:u}},u={show(t,e,n={}){if(!e._ripple||!e._ripple.enabled)return;const i=document.createElement("span"),r=document.createElement("span");i.appendChild(r),i.className="v-ripple__container",n.class&&(i.className+=` ${n.class}`);const{radius:a,scale:l,x:u,y:h,centerX:p,centerY:d}=c(t,e,n),f=2*a+"px";r.className="v-ripple__animation",r.style.width=f,r.style.height=f,e.appendChild(i);const O=window.getComputedStyle(e);O&&"static"===O.position&&(e.style.position="relative",e.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),s(r,`translate(${u}, ${h}) scale3d(${l},${l},${l})`),o(r,0),r.dataset.activated=String(performance.now()),setTimeout((()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),s(r,`translate(${p}, ${d}) scale3d(1,1,1)`),o(r,.25)}),0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const n=e[e.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const i=performance.now()-Number(n.dataset.activated),r=Math.max(250-i,0);setTimeout((()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),o(n,0),setTimeout((()=>{const e=t.getElementsByClassName("v-ripple__animation");1===e.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),n.parentNode&&t.removeChild(n.parentNode)}),300)}),r)}};function h(t){return"undefined"===typeof t||!!t}function p(t){const e={},n=t.currentTarget;if(n&&n._ripple&&!n._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,a(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(e.center=n._ripple.centered||l(t),n._ripple.class&&(e.class=n._ripple.class),a(t)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{u.show(t,n,e)},n._ripple.showTimer=window.setTimeout((()=>{n&&n._ripple&&n._ripple.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)}),r)}else u.show(t,n,e)}}function d(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout((()=>{d(t)})));window.setTimeout((()=>{e._ripple&&(e._ripple.touched=!1)})),u.hide(e)}}function f(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let O=!1;function m(t){O||t.keyCode!==i.Do.enter&&t.keyCode!==i.Do.space||(O=!0,p(t))}function g(t){O=!1,d(t)}function v(t){!0===O&&(O=!1,d(t))}function y(t,e,n){const i=h(e.value);i||u.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=i;const r=e.value||{};r.center&&(t._ripple.centered=!0),r.class&&(t._ripple.class=e.value.class),r.circle&&(t._ripple.circle=r.circle),i&&!n?(t.addEventListener("touchstart",p,{passive:!0}),t.addEventListener("touchend",d,{passive:!0}),t.addEventListener("touchmove",f,{passive:!0}),t.addEventListener("touchcancel",d),t.addEventListener("mousedown",p),t.addEventListener("mouseup",d),t.addEventListener("mouseleave",d),t.addEventListener("keydown",m),t.addEventListener("keyup",g),t.addEventListener("blur",v),t.addEventListener("dragstart",d,{passive:!0})):!i&&n&&b(t)}function b(t){t.removeEventListener("mousedown",p),t.removeEventListener("touchstart",p),t.removeEventListener("touchend",d),t.removeEventListener("touchmove",f),t.removeEventListener("touchcancel",d),t.removeEventListener("mouseup",d),t.removeEventListener("mouseleave",d),t.removeEventListener("keydown",m),t.removeEventListener("keyup",g),t.removeEventListener("dragstart",d),t.removeEventListener("blur",v)}function _(t,e,n){y(t,e,!1)}function x(t){delete t._ripple,b(t)}function w(t,e){if(e.value===e.oldValue)return;const n=h(e.oldValue);y(t,e,n)}const $={bind:_,unbind:x,update:w},S=$},43134:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(31050);const r=t=>{const{touchstartX:e,touchendX:n,touchstartY:i,touchendY:r}=t,s=.5,o=16;t.offsetX=n-e,t.offsetY=r-i,Math.abs(t.offsetY)<s*Math.abs(t.offsetX)&&(t.left&&n<e-o&&t.left(t),t.right&&n>e+o&&t.right(t)),Math.abs(t.offsetX)<s*Math.abs(t.offsetY)&&(t.up&&r<i-o&&t.up(t),t.down&&r>i+o&&t.down(t))};function s(t,e){const n=t.changedTouches[0];e.touchstartX=n.clientX,e.touchstartY=n.clientY,e.start&&e.start(Object.assign(t,e))}function o(t,e){const n=t.changedTouches[0];e.touchendX=n.clientX,e.touchendY=n.clientY,e.end&&e.end(Object.assign(t,e)),r(e)}function a(t,e){const n=t.changedTouches[0];e.touchmoveX=n.clientX,e.touchmoveY=n.clientY,e.move&&e.move(Object.assign(t,e))}function l(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>s(t,e),touchend:t=>o(t,e),touchmove:t=>a(t,e)}}function c(t,e,n){const r=e.value,s=r.parent?t.parentElement:t,o=r.options||{passive:!0};if(!s)return;const a=l(e.value);s._touchHandlers=Object(s._touchHandlers),s._touchHandlers[n.context._uid]=a,(0,i.XP)(a).forEach((t=>{s.addEventListener(t,a[t],o)}))}function u(t,e,n){const r=e.value.parent?t.parentElement:t;if(!r||!r._touchHandlers)return;const s=r._touchHandlers[n.context._uid];(0,i.XP)(s).forEach((t=>{r.removeEventListener(t,s[t])})),delete r._touchHandlers[n.context._uid]}const h={inserted:c,unbind:u},p=974!=n.j?h:null},2250:(t,e,n)=>{"use strict";n.d(e,{Z:()=>tt});var i=n(20144),r=n(36596);function s(t,e={}){if(s.installed)return;s.installed=!0,i.ZP!==t&&(0,r.N6)("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const n=e.components||{},o=e.directives||{};for(const i in o){const e=o[i];t.directive(i,e)}(function e(n){if(n){for(const i in n){const r=n[i];r&&!e(r.$_vuetify_subcomponents)&&t.component(i,r)}return!0}return!1})(n),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,this.$ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}const o={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}}},a={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:o},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};var l=n(31050),c=n(78447);class u extends c.t{constructor(t,e){super();const n=(0,l.Ee)({},a),{userPreset:i}=e,{preset:s={},...o}=i;null!=s.preset&&(0,r.Kd)("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=(0,l.Ee)((0,l.Ee)(n,s),o)}}u.property="presets";class h extends c.t{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,n){this.application[e]={[t]:n},this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce(((t,e)=>t+e),0)}}h.property="application";class p extends c.t{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:e,scrollBarWidth:n,thresholds:i}=t[p.property];this.mobileBreakpoint=e,this.scrollBarWidth=n,this.thresholds=i}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),n=t?0:this.getClientWidth(),i=n<this.thresholds.xs,r=n<this.thresholds.sm&&!i,s=n<this.thresholds.md-this.scrollBarWidth&&!(r||i),o=n<this.thresholds.lg-this.scrollBarWidth&&!(s||r||i),a=n>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=n,this.xs=i,this.sm=r,this.md=s,this.lg=o,this.xl=a,this.xsOnly=i,this.smOnly=r,this.smAndDown=(i||r)&&!(s||o||a),this.smAndUp=!i&&(r||s||o||a),this.mdOnly=s,this.mdAndDown=(i||r||s)&&!(o||a),this.mdAndUp=!(i||r)&&(s||o||a),this.lgOnly=o,this.lgAndDown=(i||r||s||o)&&!a,this.lgAndUp=!(i||r||s)&&(o||a),this.xlOnly=a,!0){case i:this.name="xs";break;case r:this.name="sm";break;case s:this.name="md";break;case o:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=n<parseInt(this.mobileBreakpoint,10));const l={xs:0,sm:1,md:2,lg:3,xl:4},c=l[this.name],u=l[this.mobileBreakpoint];this.mobile=c<=u}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}p.property="breakpoint";var d=n(473);const f={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",success:"M12,2C17.52,2 22,6.48 22,12C22,17.52 17.52,22 12,22C6.48,22 2,17.52 2,12C2,6.48 6.48,2 12,2M11,16.5L18,9.5L16.59,8.09L11,13.67L7.91,10.59L6.5,12L11,16.5Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",warning:"M11,4.5H13V15.5H11V4.5M13,17.5V19.5H11V17.5H13Z",error:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"},O=f,m={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"},g=m,v={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"},y=v,b={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"},_=b,x={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"},w=x;function $(t,e){const n={};for(const i in e)n[i]={component:t,props:{icon:e[i].split(" fa-")}};return n}const S=$("font-awesome-icon",_),k=Object.freeze({mdiSvg:O,md:g,mdi:y,fa:_,fa4:w,faSvg:S});class Q extends c.t{constructor(t){super();const{iconfont:e,values:n,component:i}=t[Q.property];this.component=i,this.iconfont=e,this.values=(0,l.Ee)(k[e],n)}}Q.property="icons";const T="$vuetify.",P=Symbol("Lang fallback");function C(t,e,n=!1,i){const s=e.replace(T,"");let o=(0,l.vO)(t,s,P);return o===P&&(n?((0,r.N6)(`Translation key "${s}" not found in fallback`),o=e):((0,r.Kd)(`Translation key "${s}" not found, falling back to default`),o=C(i,e,!0,i))),o}class A extends c.t{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:n,t:i}=t[A.property];this.current=e,this.locales=n,this.translator=i||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],n=this.locales[this.defaultLocale];return C(e,t,!1,n)}t(t,...e){return t.startsWith(T)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,((t,n)=>String(e[+n])))}}A.property="lang";var E=n(8604);const R=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],M=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,D=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],z=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function j(t){const e=Array(3),n=M,i=R;for(let r=0;r<3;++r)e[r]=Math.round(255*(0,l.uZ)(n(i[r][0]*t[0]+i[r][1]*t[1]+i[r][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function Z(t){const e=[0,0,0],n=z,i=D,r=n((t>>16&255)/255),s=n((t>>8&255)/255),o=n((t>>0&255)/255);for(let a=0;a<3;++a)e[a]=i[a][0]*r+i[a][1]*s+i[a][2]*o;return e}const V=.20689655172413793,X=t=>t>V**3?Math.cbrt(t):t/(3*V**2)+4/29,W=t=>t>V?t**3:3*V**2*(t-4/29);function q(t){const e=X,n=e(t[1]);return[116*n-16,500*(e(t[0]/.95047)-n),200*(n-e(t[2]/1.08883))]}function I(t){const e=W,n=(t[0]+16)/116;return[.95047*e(n+t[1]/500),e(n),1.08883*e(n-t[2]/200)]}function N(t,e=!1,n=!0){const{anchor:i,...r}=t,s=Object.keys(r),o={};for(let a=0;a<s.length;++a){const i=s[a],r=t[i];null!=r&&(n?e?("base"===i||i.startsWith("lighten")||i.startsWith("darken"))&&(o[i]=(0,E.hq)(r)):o[i]="object"===typeof r?N(r,!0,n):G(i,(0,E.jx)(r)):o[i]={base:(0,E.I4)((0,E.jx)(r))})}return e||(o.anchor=i||o.base||o.primary.base),o}const L=(t,e)=>`\n.v-application .${t} {\n background-color: ${e} !important;\n border-color: ${e} !important;\n}\n.v-application .${t}--text {\n color: ${e} !important;\n caret-color: ${e} !important;\n}`,B=(t,e,n)=>{const[i,r]=e.split(/(\d)/,2);return`\n.v-application .${t}.${i}-${r} {\n background-color: ${n} !important;\n border-color: ${n} !important;\n}\n.v-application .${t}--text.text--${i}-${r} {\n color: ${n} !important;\n caret-color: ${n} !important;\n}`},U=(t,e="base")=>`--v-${t}-${e}`,Y=(t,e="base")=>`var(${U(t,e)})`;function F(t,e=!1){const{anchor:n,...i}=t,r=Object.keys(i);if(!r.length)return"";let s="",o="";const a=e?Y("anchor"):n;o+=`.v-application a { color: ${a}; }`,e&&(s+=` ${U("anchor")}: ${n};\n`);for(let c=0;c<r.length;++c){const n=r[c],i=t[n];o+=L(n,e?Y(n):i.base),e&&(s+=` ${U(n)}: ${i.base};\n`);const a=(0,l.XP)(i);for(let t=0;t<a.length;++t){const r=a[t],l=i[r];"base"!==r&&(o+=B(n,r,e?Y(n,r):l),e&&(s+=` ${U(n,r)}: ${l};\n`))}}return e&&(s=`:root {\n${s}}\n\n`),s+o}function G(t,e){const n={base:(0,E.I4)(e)};for(let i=5;i>0;--i)n[`lighten${i}`]=(0,E.I4)(H(e,i));for(let i=1;i<=4;++i)n[`darken${i}`]=(0,E.I4)(K(e,i));return n}function H(t,e){const n=q(Z(t));return n[0]=n[0]+10*e,j(I(n))}function K(t,e){const n=q(Z(t));return n[0]=n[0]-10*e,j(I(n))}class J extends c.t{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:n,options:i,themes:r}=t[J.property];this.dark=Boolean(e),this.defaults=this.themes=r,this.options=i,n?this.disabled=!0:this.themes={dark:this.fillVariant(r.dark,!0),light:this.fillVariant(r.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const n=this.themes[e?"dark":"light"];return Object.assign({},n,t)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick((()=>{this.applyVueMeta23()}));const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",n=t.$options[e]||{};t.$options[e]=()=>{n.style=n.style||[];const t=n.style.find((t=>"vuetify-theme-stylesheet"===t.id));return t?t.cssText=this.generatedStyles:n.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),n}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",(()=>{const e=i.ZP.observable({themes:this.themes});this.unwatch=t.$watch((()=>e.themes),(()=>this.applyTheme()),{deep:!0})})),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let n;return null!=e.themeCache&&(n=e.themeCache.get(t),null!=n)||(n=F(t,e.customProperties),null!=e.minifyTheme&&(n=e.minifyTheme(n)),null!=e.themeCache&&e.themeCache.set(t,n)),n}get parsedTheme(){return N(this.currentTheme||{},void 0,(0,l.qw)(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}J.property="theme";class tt{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(u),this.use(h),this.use(p),this.use(d.A),this.use(Q),this.use(A),this.use(J)}init(t,e){this.installed.forEach((n=>{const i=this.framework[n];i.framework=this.framework,i.init(t,e)})),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}tt.install=s,tt.installed=!1,tt.version="2.6.0",tt.config={silent:!1}},55840:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(94019),r=n(16470),s=n(74987),o=n(31050),a=n(36596);const l=(0,s.Z)(i.Z,r.Z),c=l.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=(0,o.sp)(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&(0,a.N6)('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=(0,o.z9)(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:"button","aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive},this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){var e;if(this.activatorElement)return this.activatorElement;let n=null;if(this.activator){const t=this.internalActivator?this.$el:document;n="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;n=t&&t.$options.mixins&&t.$options.mixins.some((t=>t.options&&["activatable","menuable"].includes(t.options.name)))?t.getActivator():this.activatorNode[0].elm}else t&&(n=t.currentTarget||t.target);return this.activatorElement=(null==(e=n)?void 0:e.nodeType)===Node.ELEMENT_NODE?n:null,this.activatorElement},getContentSlot(){return(0,o.z9)(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}})},24609:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(20144);function r(t){return function(e,n){for(const i in n)Object.prototype.hasOwnProperty.call(e,i)||this.$delete(this.$data[t],i);for(const i in e)this.$set(this.$data[t],i,e[i])}}const s=i.ZP.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",r("attrs$"),{immediate:!0}),this.$watch("$listeners",r("listeners$"),{immediate:!0})}})},67601:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(36596),r=n(20144);const s=r.ZP.extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&(0,i.Jk)("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}})},28914:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(20144),r=n(36596),s=n(8604);const o=i.ZP.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?((0,r.N6)("style must be an object",this),e):"string"===typeof e.class?((0,r.N6)("class must be an object",this),e):((0,s.NA)(t)?e.style={...e.style,"background-color":`${t}`,"border-color":`${t}`}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return(0,r.N6)("style must be an object",this),e;if("string"===typeof e.class)return(0,r.N6)("class must be an object",this),e;if((0,s.NA)(t))e.style={...e.style,color:`${t}`,"caret-color":`${t}`};else if(t){const[n,i]=t.toString().trim().split(" ",2);e.class={...e.class,[n+"--text"]:!0},i&&(e.class["text--"+i]=!0)}return e}}})},20564:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(20144),r=n(31050);const s=i.ZP.extend({name:"comparable",props:{valueComparator:{type:Function,default:r.vZ}}})},94019:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const n=parseInt(this[`${t}Delay`],10);this[`${t}Timeout`]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),n)}}})},12524:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(74987);function r(t){const e=[];for(let n=0;n<t.length;n++){const i=t[n];i.isActive&&i.isDependent?e.push(i):e.push(...r(i.$children))}return e}const s=(0,i.Z)().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let n=0;n<e.length;n++)e[n].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?r(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let n=0;n<e.length;n++)t.push(...e[n].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}})},32474:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(67601),r=n(31050),s=n(74987),o=n(36596);function a(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function l(t){t.forEach((t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)}))}const c=(0,s.Z)(i.Z).extend({name:"detachable",props:{attach:{default:!1,validator:a},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick((()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach((t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)}))}}))},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver((n=>{n.some((t=>Array.from(t.removedNodes).includes(this.$el)))&&(e.disconnect(),l(t))}));e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else l(t)}},methods:{getScopeIdAttrs(){const t=(0,r.vO)(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):(0,o.Kd)(`Unable to locate target ${this.attach||"[data-app]"}`,this)}}})},45303:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{[`elevation-${this.elevation}`]:!0}}}})},84791:(t,e,n)=>{"use strict";n.d(e,{d:()=>r});var i=n(90380);function r(t,e,n){return(0,i.f)(t,e,n).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}r("itemGroup")},36382:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(20144),r=n(11302);const s=r.Z,o=i.ZP.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(s,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},59196:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(31050),r=n(20144);const s=r.ZP.extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=(0,i.kb)(this.height),n=(0,i.kb)(this.minHeight),r=(0,i.kb)(this.minWidth),s=(0,i.kb)(this.maxHeight),o=(0,i.kb)(this.maxWidth),a=(0,i.kb)(this.width);return e&&(t.height=e),n&&(t.minHeight=n),r&&(t.minWidth=r),s&&(t.maxHeight=s),o&&(t.maxWidth=o),a&&(t.width=a),t}}})},57482:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(27943),r=n(78386),s=n(55840),o=n(32474),a=n(74987),l=n(31050);const c=(0,a.Z)(i.Z,(0,r.d)(["top","right","bottom","left","absolute"]),s.Z,o.Z),u=c.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,openOnClick:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,n=(!1!==this.attach?t.offsetLeft:t.left)||0,i=Math.max(t.width,e.width);let r=0;if(r+=this.left?n-(i-t.width):n,this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));r+=this.left?-e:t.width}return this.nudgeLeft&&(r-=parseInt(this.nudgeLeft)),this.nudgeRight&&(r+=parseInt(this.nudgeRight)),r},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let n=0;return this.top&&(n+=t.height-e.height),!1!==this.attach?n+=t.offsetTop:n+=t.top+this.pageYOffset,this.offsetY&&(n+=this.top?-t.height:t.height),this.nudgeTop&&(n-=parseInt(this.nudgeTop)),this.nudgeBottom&&(n+=parseInt(this.nudgeBottom)),n},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return(0,l.kb)(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return(0,l.kb)(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const n=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&n>0?Math.max(t-n,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),n=this.absoluteYOffset+e,i=this.dimensions.activator,r=this.dimensions.content.height,s=t+r,o=n<s;return o&&this.offsetOverflow&&i.top>r?t=this.pageYOffset+(i.top-r):o&&!this.allowOverflow?t=n-r-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=s.Z.options.methods.genActivatorListeners.call(this),e=t.click;return t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY},t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const n=window.getComputedStyle(t);e.left=parseInt(n.marginLeft),e.top=parseInt(n.marginTop)}return e},sneakPeek(t){requestAnimationFrame((()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()}))},startTransition(){return new Promise((t=>requestAnimationFrame((()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek((()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t}))}}})},6686:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(28914),r=n(74987),s=n(31050);const o=(0,r.Z)(i.Z).extend({methods:{genPickerButton(t,e,n,i=!1,r=""){const o=this[t]===e,a=n=>{n.stopPropagation(),this.$emit(`update:${(0,s.GL)(t)}`,e)};return this.$createElement("div",{staticClass:`v-picker__title__btn ${r}`.trim(),class:{"v-picker__title__btn--active":o,"v-picker__title__btn--readonly":i},on:o||i?void 0:{click:a}},Array.isArray(n)?n:[n])}}})},66879:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(55662);const r=i.Z;var s=n(28914),o=n(45303),a=n(23276),l=n(74987);const c=(0,l.Z)(s.Z,o.Z,a.Z).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle(){return null},genPickerBody(){return null},genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const n=this.genPickerBody();return n&&e.push(n),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(r,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}})},78386:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,d:()=>o});var i=n(20144),r=n(31050);const s={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function o(t=[]){return i.ZP.extend({name:"positionable",props:t.length?(0,r.ji)(s,t):s})}const a=o()},93939:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(20144);function r(t="value",e="change"){return i.ZP.extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const s=r(),o=974!=n.j?s:null},90380:(t,e,n)=>{"use strict";if(n.d(e,{J:()=>a,f:()=>o}),974!=n.j)var i=n(20144);if(974!=n.j)var r=n(36596);function s(t,e){return()=>(0,r.Kd)(`The ${t} component must be used inside a ${e}`)}function o(t,e,n){const r=e&&n?{register:s(e,n),unregister:s(e,n)}:null;return i.ZP.extend({name:"registrable-inject",inject:{[t]:{default:r}}})}function a(t,e=!1){return i.ZP.extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}},91649:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout((()=>{this.isActive=!1}))}}})},51734:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(13176),r=n(20144);const s=r.ZP.extend({name:"rippleable",directives:{ripple:i.Z},props:{ripple:{type:[Boolean,Object],default:!0}},methods:{genRipple(t={}){return this.ripple?(t.staticClass="v-input--selection-controls__ripple",t.directives=t.directives||[],t.directives.push({name:"ripple",value:{center:!0}}),this.$createElement("div",t)):null}}})},23960:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const n=e.split(" ");for(const e of n)t.push(`rounded-${e}`)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}})},54040:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(20144),r=n(13176),s=n(31050);const o=i.ZP.extend({name:"routable",directives:{Ripple:r.Z},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!=(t=this.ripple)?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{click(t){this.$emit("click",t)},generateRouteLink(){let t,e=this.exact;const n={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,click:this.click},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let i=this.activeClass,r=this.exactActiveClass||i;this.proxyClass&&(i=`${i} ${this.proxyClass}`.trim(),r=`${r} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(n.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:i,exactActiveClass:r,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(n.attrs.href=this.href);return this.target&&(n.attrs.target=this.target),{tag:t,data:n}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass} ${this.proxyClass||""}`.trim()||t,n="_vnode.data.class."+(this.exact?e:t);this.$nextTick((()=>{!(0,s.vO)(this.$refs.link,n)===this.isActive&&this.toggle()}))},toggle(){this.isActive=!this.isActive}}})},80911:(t,e,n)=>{"use strict";n.d(e,{X:()=>a,Z:()=>l});var i=n(69782),r=n(51734),s=n(20564),o=n(74987);function a(t){t.preventDefault()}const l=(0,o.Z)(i.Z,r.Z,s.Z).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const t=this.value,e=this.internalValue;return this.isMultiple?!!Array.isArray(e)&&e.some((e=>this.valueComparator(e,t))):void 0===this.trueValue||void 0===this.falseValue?t?this.valueComparator(t,e):Boolean(e):this.valueComparator(e,this.trueValue)},isDirty(){return this.isActive},rippleState(){return this.isDisabled||this.validationState?this.validationState:void 0}},watch:{inputValue(t){this.lazyValue=t,this.hasColor=t}},methods:{genLabel(){const t=i.Z.options.methods.genLabel.call(this);return t?(t.data.on={click:a},t):t},genInput(t,e){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:t,type:t},e),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown,click:a},ref:"input"})},onBlur(){this.isFocused=!1},onClick(t){this.onChange(),this.$emit("click",t)},onChange(){if(!this.isInteractive)return;const t=this.value;let e=this.internalValue;if(this.isMultiple){Array.isArray(e)||(e=[]);const n=e.length;e=e.filter((e=>!this.valueComparator(e,t))),e.length===n&&e.push(t)}else e=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(e,this.trueValue)?this.falseValue:this.trueValue:t?this.valueComparator(e,t)?null:t:!e;this.validate(!0,e),this.internalValue=e,this.hasColor=e},onFocus(){this.isFocused=!0},onKeydown(t){}}})},60281:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}})},58574:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);const r=i.ZP.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame((()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0}))}})},27943:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(20144),r=n(31050);const s=i.ZP.extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:(0,r.KK)(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,n=[this.stackMinZIndex,(0,r.KK)(e)],i=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let s=0;s<i.length;s++)t.includes(i[s])||n.push((0,r.KK)(i[s]));return Math.max(...n)}}})},23276:(t,e,n)=>{"use strict";n.d(e,{X:()=>o,Z:()=>s});var i=n(20144);const r=i.ZP.extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}}),s=r;function o(t){const e={...t.props,...t.injections},n=r.options.computed.isDark.call(e);return r.options.computed.themeClasses.call({isDark:n})}},16470:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o,d:()=>r});var i=n(20144);function r(t="value",e="input"){return i.ZP.extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(n){!!n!==this[t]&&this.$emit(e,n)}}})}const s=r(),o=974!=n.j?s:null},94777:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(28914),r=n(23276),s=n(90380),o=n(31050),a=n(36596),l=n(74987);const c=(0,l.Z)(i.Z,(0,s.f)("form"),r.Z),u=c.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){(0,o.vZ)(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout((()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()}),0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const n=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let i=0;i<this.rules.length;i++){const t=this.rules[i],r="function"===typeof t?t(e):t;!1===r||"string"===typeof r?n.push(r||""):"boolean"!==typeof r&&(0,a.N6)(`Rules should return a string or boolean, received '${typeof r}' instead`,this)}return this.errorBucket=n,this.valid=0===n.length,this.valid}}})},473:(t,e,n)=>{"use strict";n.d(e,{A:()=>w,Z:()=>x});var i={};n.r(i),n.d(i,{easeInCubic:()=>c,easeInOutCubic:()=>h,easeInOutQuad:()=>l,easeInOutQuart:()=>f,easeInOutQuint:()=>g,easeInQuad:()=>o,easeInQuart:()=>p,easeInQuint:()=>O,easeOutCubic:()=>u,easeOutQuad:()=>a,easeOutQuart:()=>d,easeOutQuint:()=>m,linear:()=>s});var r=n(78447);const s=t=>t,o=t=>t**2,a=t=>t*(2-t),l=t=>t<.5?2*t**2:(4-2*t)*t-1,c=t=>t**3,u=t=>--t**3+1,h=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,p=t=>t**4,d=t=>1- --t**4,f=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,O=t=>t**5,m=t=>1+--t**5,g=t=>t<.5?16*t**5:1+16*--t**5;function v(t){if("number"===typeof t)return t;let e=_(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${b(t)} instead.`);let n=0;while(e)n+=e.offsetTop,e=e.offsetParent;return n}function y(t){const e=_(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${b(t)} instead.`)}function b(t){return null==t?t:t.constructor.name}function _(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function x(t,e={}){const n={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},r=y(n.container);if(n.appOffset&&x.framework.application){const t=r.classList.contains("v-navigation-drawer"),e=r.classList.contains("v-navigation-drawer--clipped"),{bar:i,top:s}=x.framework.application;n.offset+=i,t&&!e||(n.offset+=s)}const s=performance.now();let o;o="number"===typeof t?v(t)-n.offset:v(t)-v(r)-n.offset;const a=r.scrollTop;if(o===a)return Promise.resolve(o);const l="function"===typeof n.easing?n.easing:i[n.easing];if(!l)throw new TypeError(`Easing function "${n.easing}" not found.`);return new Promise((t=>requestAnimationFrame((function e(i){const c=i-s,u=Math.abs(n.duration?Math.min(c/n.duration,1):1);r.scrollTop=Math.floor(a+(o-a)*l(u));const h=r===document.body?document.documentElement.clientHeight:r.clientHeight,p=h+r.scrollTop>=r.scrollHeight;if(1===u||o>r.scrollTop&&p)return t(o);requestAnimationFrame(e)}))))}x.framework={},x.init=()=>{};class w extends r.t{constructor(){return super(),x}}w.property="goTo"},78447:(t,e,n)=>{"use strict";n.d(e,{t:()=>i});class i{constructor(){this.framework={}}init(t,e){}}},8604:(t,e,n)=>{"use strict";n.d(e,{I4:()=>o,NA:()=>r,hq:()=>a,jx:()=>s});var i=n(36596);function r(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function s(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let n="#"===t[0]?t.substring(1):t;3===n.length&&(n=n.split("").map((t=>t+t)).join("")),6!==n.length&&(0,i.Kd)(`'${t}' is not a valid rgb color`),e=parseInt(n,16)}}return e<0?((0,i.Kd)(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&((0,i.Kd)(`'${t}' is not a valid rgb color`),e=16777215),e}function o(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function a(t){return o(s(t))}},36596:(t,e,n)=>{"use strict";n.d(e,{Jk:()=>c,Kd:()=>s,N6:()=>o,Rn:()=>a,fK:()=>l});var i=n(2250);function r(t,e,n){if(!i.Z.config.silent){if(n&&(e={_isVue:!0,$parent:n,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return`[Vuetify] ${t}`+(e?d(e):"")}}function s(t,e,n){const i=r(t,e,n);null!=i&&console.warn(i)}function o(t,e,n){const i=r(t,e,n);null!=i&&console.error(i)}function a(t,e,n,i){s(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,n,i)}function l(t,e,n,i){o(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,n,i)}function c(t,e,n){s(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,n)}const u=/(?:^|[-_])(\w)/g,h=t=>t.replace(u,(t=>t.toUpperCase())).replace(/[-_]/g,"");function p(t,e){if(t.$root===t)return"<Root>";const n="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let i=n.name||n._componentTag;const r=n.__file;if(!i&&r){const t=r.match(/([^/\\]+)\.vue$/);i=t&&t[1]}return(i?`<${h(i)}>`:"<Anonymous>")+(r&&!1!==e?` at ${r}`:"")}function d(t){if(t._isVue&&t.$parent){const e=[];let n=0;while(t){if(e.length>0){const i=e[e.length-1];if(i.constructor===t.constructor){n++,t=t.$parent;continue}n>0&&(e[e.length-1]=[i,n],n=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map(((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${p(t[0])}... (${t[1]} recursive calls)`:p(t)}`)).join("\n")}return`\n\n(found in ${p(t)})`}},62393:(t,e,n)=>{"use strict";function i(t,e=0,n=1){let i;return t<100&&t>=0?(i=new Date(Date.UTC(t,e,n)),isFinite(i.getUTCFullYear())&&i.setUTCFullYear(t)):i=new Date(Date.UTC(t,e,n)),i}function r(t,e,n){const r=7+e-n,s=(7+i(t,0,r).getUTCDay()-e)%7;return-s+r-1}function s(t,e,n,i){let r=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&l(t)&&r++,r+n}function o(t,e,n){const i=r(t,e,n),s=r(t+1,e,n),o=l(t)?366:365;return(o-i+s)/7}function a(t,e,n,i,a){const l=r(t,i,a),c=Math.ceil((s(t,e,n,i)-l)/7);return c<1?c+o(t-1,i,a):c>o(t,i,a)?c-o(t,i,a):c}function l(t){return t%4===0&&t%100!==0||t%400===0}n.d(e,{E:()=>l,b:()=>a})},86044:(t,e,n)=>{"use strict";function i(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}n.d(e,{e:()=>i})},31050:(t,e,n)=>{"use strict";if(n.d(e,{Do:()=>b,Ee:()=>E,GL:()=>v,Ji:()=>r,KK:()=>d,MT:()=>p,P2:()=>P,RB:()=>_,TI:()=>Q,XP:()=>x,_A:()=>$,e$:()=>o,iZ:()=>R,jC:()=>k,ji:()=>m,kb:()=>g,lj:()=>a,qF:()=>h,qh:()=>s,qw:()=>l,r:()=>O,sp:()=>T,tX:()=>S,uZ:()=>A,vO:()=>u,vZ:()=>c,z9:()=>C}),974!=n.j)var i=n(20144);function r(t,e="div",n){return i.ZP.extend({name:n||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:e}},render(e,{data:n,props:i,children:r}){return n.staticClass=`${t} ${n.staticClass||""}`.trim(),e(i.tag,n,r)}})}function s(t,e,n,i=!1){const r=s=>{n(s),t.removeEventListener(e,r,i)};t.addEventListener(e,r,i)}let o=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{o=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(M){console.warn(M)}function a(t,e,n,i){t.addEventListener(e,n,!!o&&i)}function l(t,e,n){const i=e.length-1;if(i<0)return void 0===t?n:t;for(let r=0;r<i;r++){if(null==t)return n;t=t[e[r]]}return null==t||void 0===t[e[i]]?n:t[e[i]]}function c(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((n=>c(t[n],e[n])))}function u(t,e,n){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),l(t,e.split("."),n)):n}function h(t,e,n){if(null==e)return void 0===t?n:t;if(t!==Object(t))return void 0===n?t:n;if("string"===typeof e)return u(t,e,n);if(Array.isArray(e))return l(t,e,n);if("function"!==typeof e)return n;const i=e(t,n);return"undefined"===typeof i?n:i}function p(t){return Array.from({length:t},((t,e)=>e))}function d(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||d(t.parentNode)}const f={"&":"&","<":"<",">":">"};function O(t){return t.replace(/[&<>]/g,(t=>f[t]||t))}function m(t,e){const n={};for(let i=0;i<e.length;i++){const r=e[i];"undefined"!==typeof t[r]&&(n[r]=t[r])}return n}function g(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function v(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function y(t){return null!==t&&"object"===typeof t}const b=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function _(t,e){const n=t.$vuetify.icons.component;if(e.startsWith("$")){const n=`$vuetify.icons.values.${e.split("$").pop().split(".").pop()}`,i=u(t,n,e);if("string"!==typeof i)return i;e=i}return null==n?e:{component:n,props:{icon:e}}}function x(t){return Object.keys(t)}const w=/-(\w)/g,$=t=>t.replace(w,((t,e)=>e?e.toUpperCase():""));function S(t,e){const n=[];for(let i=0;i<e.length;i++)t.indexOf(e[i])<0&&n.push(e[i]);return n}function k(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Q(t){return null!=t?Array.isArray(t)?t:[t]:[]}function T(t,e,n){return t.$slots[e]&&t.$scopedSlots[e]&&t.$scopedSlots[e].name?n?"v-slot":"scoped":t.$slots[e]?"normal":t.$scopedSlots[e]?"scoped":void 0}function P(t,e){let n=!1;return(...i)=>{if(!n)return n=!0,setTimeout((()=>n=!1),e),t(...i)}}function C(t,e="default",n,i=!1){return t.$scopedSlots[e]?t.$scopedSlots[e](n instanceof Function?n():n):!t.$slots[e]||n&&!i?void 0:t.$slots[e]}function A(t,e=0,n=1){return Math.max(e,Math.min(n,t))}function E(t={},e={}){for(const n in e){const i=t[n],r=e[n];y(i)&&y(r)?t[n]=E(i,r):t[n]=r}return t}function R(t){if(t.composedPath)return t.composedPath();const e=[];let n=t.target;while(n){if(e.push(n),"HTML"===n.tagName)return e.push(document),e.push(window),e;n=n.parentElement}return e}},2653:(t,e,n)=>{"use strict";if(n.d(e,{ZP:()=>o,bp:()=>c}),974!=n.j)var i=n(31050);const r={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function s(t){const e={};for(const n of t.split(r.styleList)){let[t,s]=n.split(r.styleProp);t=t.trim(),t&&("string"===typeof s&&(s=s.trim()),e[(0,i._A)(t)]=s)}return e}function o(){const t={};let e,n=arguments.length;while(n--)for(e of Object.keys(arguments[n]))switch(e){case"class":case"directives":arguments[n][e]&&(t[e]=l(t[e],arguments[n][e]));break;case"style":arguments[n][e]&&(t[e]=a(t[e],arguments[n][e]));break;case"staticClass":if(!arguments[n][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[n][e].trim();break;case"on":case"nativeOn":arguments[n][e]&&(t[e]=c(t[e],arguments[n][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[n][e])break;t[e]||(t[e]={}),t[e]={...arguments[n][e],...t[e]};break;default:t[e]||(t[e]=arguments[n][e])}return t}function a(t,e){return t?e?(t=(0,i.TI)("string"===typeof t?s(t):t),t.concat("string"===typeof e?s(e):e)):t:e}function l(t,e){return e?t&&t?(0,i.TI)(t).concat(e):e:t}function c(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let n=2;n--;){const i=t[n];for(const t in i)i[t]&&(e[t]?e[t]=[].concat(i[t],e[t]):e[t]=i[t])}return e}},74987:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(20144);function r(...t){return i.ZP.extend({mixins:t})}},66485:t=>{function e(){return new DOMException("The request is not allowed","NotAllowedError")}async function n(t){if(!navigator.clipboard)throw e();return navigator.clipboard.writeText(t)}async function i(t){const n=document.createElement("span");n.textContent=t,n.style.whiteSpace="pre",n.style.webkitUserSelect="auto",n.style.userSelect="all",document.body.appendChild(n);const i=window.getSelection(),r=window.document.createRange();i.removeAllRanges(),r.selectNode(n),i.addRange(r);let s=!1;try{s=window.document.execCommand("copy")}finally{i.removeAllRanges(),window.document.body.removeChild(n)}if(!s)throw e()}async function r(t){try{await n(t)}catch(r){try{await i(t)}catch(s){throw s||r||e()}}}
/*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.exports=r},38736:(t,e,n)=>{"use strict";t.exports=function(t,e){var n=this,i=n.constructor;return n.options=Object.assign({storeInstancesGlobally:!0},e||{}),n.callbacks={},n.directMap={},n.sequenceLevels={},n.resetTimer=null,n.ignoreNextKeyup=!1,n.ignoreNextKeypress=!1,n.nextExpectedAction=!1,n.element=t,n.addEvents(),n.options.storeInstancesGlobally&&i.instances.push(n),n},t.exports.prototype.bind=n(2207),t.exports.prototype.bindMultiple=n(73396),t.exports.prototype.unbind=n(59208),t.exports.prototype.trigger=n(39855),t.exports.prototype.reset=n(36214),t.exports.prototype.stopCallback=n(73450),t.exports.prototype.handleKey=n(63067),t.exports.prototype.addEvents=n(10718),t.exports.prototype.bindSingle=n(68763),t.exports.prototype.getKeyInfo=n(45825),t.exports.prototype.pickBestAction=n(88608),t.exports.prototype.getReverseMap=n(73956),t.exports.prototype.getMatches=n(53373),t.exports.prototype.resetSequences=n(53346),t.exports.prototype.fireCallback=n(72684),t.exports.prototype.bindSequence=n(7103),t.exports.prototype.resetSequenceTimer=n(7309),t.exports.prototype.detach=n(87554),t.exports.instances=[],t.exports.reset=n(71822),t.exports.REVERSE_MAP=null},10718:(t,e,n)=>{"use strict";t.exports=function(){var t=this,e=n(34323),i=t.element;t.eventHandler=n(89646).bind(t),e(i,"keypress",t.eventHandler),e(i,"keydown",t.eventHandler),e(i,"keyup",t.eventHandler)}},2207:t=>{"use strict";t.exports=function(t,e,n){var i=this;return t=t instanceof Array?t:[t],i.bindMultiple(t,e,n),i}},73396:t=>{"use strict";t.exports=function(t,e,n){for(var i=this,r=0;r<t.length;++r)i.bindSingle(t[r],e,n)}},7103:(t,e,n)=>{"use strict";t.exports=function(t,e,i,r){var s=this;function o(e){return function(){s.nextExpectedAction=e,++s.sequenceLevels[t],s.resetSequenceTimer()}}function a(e){var o;s.fireCallback(i,e,t),"keyup"!==r&&(o=n(6770),s.ignoreNextKeyup=o(e)),setTimeout((function(){s.resetSequences()}),10)}s.sequenceLevels[t]=0;for(var l=0;l<e.length;++l){var c=l+1===e.length,u=c?a:o(r||s.getKeyInfo(e[l+1]).action);s.bindSingle(e[l],u,r,t,l)}}},68763:t=>{"use strict";t.exports=function(t,e,n,i,r){var s=this;s.directMap[t+":"+n]=e,t=t.replace(/\s+/g," ");var o,a=t.split(" ");a.length>1?s.bindSequence(t,a,e,n):(o=s.getKeyInfo(t,n),s.callbacks[o.key]=s.callbacks[o.key]||[],s.getMatches(o.key,o.modifiers,{type:o.action},i,t,r),s.callbacks[o.key][i?"unshift":"push"]({callback:e,modifiers:o.modifiers,action:o.action,seq:i,level:r,combo:t}))}},87554:(t,e,n)=>{var i=n(34323).off;t.exports=function(){var t=this,e=t.element;i(e,"keypress",t.eventHandler),i(e,"keydown",t.eventHandler),i(e,"keyup",t.eventHandler)}},34323:t=>{function e(t,e,n,i){return!t.addEventListener&&(e="on"+e),(t.addEventListener||t.attachEvent).call(t,e,n,i),n}function n(t,e,n,i){return!t.removeEventListener&&(e="on"+e),(t.removeEventListener||t.detachEvent).call(t,e,n,i),n}t.exports=e,t.exports.on=e,t.exports.off=n},72684:(t,e,n)=>{"use strict";t.exports=function(t,e,i,r){var s,o,a=this;a.stopCallback(e,e.target||e.srcElement,i,r)||!1===t(e,i)&&(s=n(41350),s(e),o=n(96103),o(e))}},45825:(t,e,n)=>{"use strict";t.exports=function(t,e){var i,r,s,o,a,l,c,u=this,h=[];for(i=n(64520),r=i(t),a=n(97549),l=n(95355),c=n(8581),o=0;o<r.length;++o)s=r[o],a[s]&&(s=a[s]),e&&"keypress"!==e&&l[s]&&(s=l[s],h.push("shift")),c(s)&&h.push(s);return e=u.pickBestAction(s,h,e),{key:s,modifiers:h,action:e}}},53373:(t,e,n)=>{"use strict";t.exports=function(t,e,i,r,s,o){var a,l,c,u,h=this,p=[],d=i.type;if("keypress"===d&&(!i.code||"Arrow"!==i.code.slice(0,5))){var f=h.callbacks["any-character"]||[];f.forEach((function(t){p.push(t)}))}if(!h.callbacks[t])return p;for(c=n(8581),"keyup"===d&&c(t)&&(e=[t]),a=0;a<h.callbacks[t].length;++a)if(l=h.callbacks[t][a],(r||!l.seq||h.sequenceLevels[l.seq]===l.level)&&d===l.action&&(u=n(5532),"keypress"===d&&!i.metaKey&&!i.ctrlKey||u(e,l.modifiers))){var O=!r&&l.combo===s,m=r&&l.seq===r&&l.level===o;(O||m)&&h.callbacks[t].splice(a,1),p.push(l)}return p}},73956:(t,e,n)=>{"use strict";t.exports=function(){var t,e=this,i=e.constructor;if(!i.REVERSE_MAP)for(var r in i.REVERSE_MAP={},t=n(34766),t)r>95&&r<112||t.hasOwnProperty(r)&&(i.REVERSE_MAP[t[r]]=r);return i.REVERSE_MAP}},63067:(t,e,n)=>{"use strict";t.exports=function(t,e,i){var r,s,o,a,l=this,c={},u=0,h=!1;for(r=l.getMatches(t,e,i),s=0;s<r.length;++s)r[s].seq&&(u=Math.max(u,r[s].level));for(s=0;s<r.length;++s)if(r[s].seq){if(r[s].level!==u)continue;h=!0,c[r[s].seq]=1,l.fireCallback(r[s].callback,i,r[s].combo,r[s].seq)}else h||l.fireCallback(r[s].callback,i,r[s].combo);a="keypress"===i.type&&l.ignoreNextKeypress,o=n(8581),i.type!==l.nextExpectedAction||o(t)||a||l.resetSequences(c),l.ignoreNextKeypress=h&&"keydown"===i.type}},89646:(t,e,n)=>{"use strict";t.exports=function(t){var e,i,r=this;"number"!==typeof t.which&&(t.which=t.keyCode),e=n(6770);var s=e(t);void 0!==s&&("keyup"!==t.type||r.ignoreNextKeyup!==s?(i=n(84610),r.handleKey(s,i(t),t)):r.ignoreNextKeyup=!1)}},5532:t=>{"use strict";t.exports=function(t,e){return t.sort().join(",")===e.sort().join(",")}},88608:t=>{"use strict";t.exports=function(t,e,n){var i=this;return n||(n=i.getReverseMap()[t]?"keydown":"keypress"),"keypress"===n&&e.length&&(n="keydown"),n}},36214:t=>{"use strict";t.exports=function(){var t=this;return t.callbacks={},t.directMap={},this}},7309:t=>{"use strict";t.exports=function(){var t=this;clearTimeout(t.resetTimer),t.resetTimer=setTimeout((function(){t.resetSequences()}),1e3)}},53346:t=>{"use strict";t.exports=function(t){var e=this;t=t||{};var n,i=!1;for(n in e.sequenceLevels)t[n]?i=!0:e.sequenceLevels[n]=0;i||(e.nextExpectedAction=!1)}},73450:t=>{"use strict";t.exports=function(t,e){if((" "+e.className+" ").indexOf(" combokeys ")>-1)return!1;var n=e.tagName.toLowerCase();return"input"===n||"select"===n||"textarea"===n||e.isContentEditable}},39855:t=>{"use strict";t.exports=function(t,e){var n=this;return n.directMap[t+":"+e]&&n.directMap[t+":"+e]({},t),this}},59208:t=>{"use strict";t.exports=function(t,e){var n=this;return n.bind(t,(function(){}),e)}},71822:t=>{"use strict";t.exports=function(){var t=this;t.instances.forEach((function(t){t.reset()}))}},6770:(t,e,n)=>{"use strict";t.exports=function(t){var e,i;if(e=n(34766),i=n(55295),"keypress"===t.type){var r=String.fromCharCode(t.which);return t.shiftKey||(r=r.toLowerCase()),r}return void 0!==e[t.which]?e[t.which]:void 0!==i[t.which]?i[t.which]:String.fromCharCode(t.which).toLowerCase()}},84610:t=>{"use strict";t.exports=function(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}},8581:t=>{"use strict";t.exports=function(t){return"shift"===t||"ctrl"===t||"alt"===t||"meta"===t}},64520:t=>{"use strict";t.exports=function(t){return"+"===t?["+"]:t.split("+")}},41350:t=>{"use strict";t.exports=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1}},95355:t=>{"use strict";t.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},97549:t=>{"use strict";t.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},55295:t=>{"use strict";t.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},34766:t=>{"use strict";t.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var e=1;e<20;++e)t.exports[111+e]="f"+e;for(e=0;e<=9;++e)t.exports[e+96]=e},96103:t=>{"use strict";t.exports=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}},59124:(t,e,n)=>{"use strict";
/*!
* condense-newlines <https://github.com/jonschlinkert/condense-newlines>
*
* Copyright (c) 2014 Jon Schlinkert, contributors.
* Licensed under the MIT License
*/var i=n(9400),r=n(34416),s=n(49731);function o(t,e){var n=e.trailingNewline;if(!1===n)return t;switch(s(n)){case"string":t=t.replace(/\s+$/,e.trailingNewline);break;case"function":t=e.trailingNewline(t);break;case"undefined":case"boolean":default:t=t.replace(/\s+$/,"\n");break}return t}t.exports=function(t,e){var n,s=r({},e),a=s.sep||"\n\n",l=s.min;return"number"===typeof l&&2!==l&&(n=new RegExp("(\\r\\n|\\n|\\u2424) {"+l+",}")),"undefined"===typeof n&&(n=s.regex||/(\r\n|\n|\u2424){2,}/g),!0!==s.keepWhitespace&&(t=t.split("\n").map((function(t){return i(t)?t.trim():t})).join("\n")),t=o(t,s),t.replace(n,a)}},34416:(t,e,n)=>{"use strict";var i=n(51833);function r(t,e){for(var n in e)s(e,n)&&(t[n]=e[n])}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t){i(t)||(t={});for(var e=arguments.length,n=1;n<e;n++){var s=arguments[n];i(s)&&r(t,s)}return t}},49731:(t,e,n)=>{var i=n(48738),r=Object.prototype.toString;t.exports=function(t){if("undefined"===typeof t)return"undefined";if(null===t)return"null";if(!0===t||!1===t||t instanceof Boolean)return"boolean";if("string"===typeof t||t instanceof String)return"string";if("number"===typeof t||t instanceof Number)return"number";if("function"===typeof t||t instanceof Function)return"function";if("undefined"!==typeof Array.isArray&&Array.isArray(t))return"array";if(t instanceof RegExp)return"regexp";if(t instanceof Date)return"date";var e=r.call(t);return"[object RegExp]"===e?"regexp":"[object Date]"===e?"date":"[object Arguments]"===e?"arguments":"[object Error]"===e?"error":i(t)?"buffer":"[object Set]"===e?"set":"[object WeakSet]"===e?"weakset":"[object Map]"===e?"map":"[object WeakMap]"===e?"weakmap":"[object Symbol]"===e?"symbol":"[object Int8Array]"===e?"int8array":"[object Uint8Array]"===e?"uint8array":"[object Uint8ClampedArray]"===e?"uint8clampedarray":"[object Int16Array]"===e?"int16array":"[object Uint16Array]"===e?"uint16array":"[object Int32Array]"===e?"int32array":"[object Uint32Array]"===e?"uint32array":"[object Float32Array]"===e?"float32array":"[object Float64Array]"===e?"float64array":"object"}},84262:function(t){(function(e){"use strict";var n=b(),i=_(),r=x(),s=w(),o={imagePlaceholder:void 0,cacheBust:!1,useCredentials:!1},a={toSvg:l,toPng:u,toJpeg:h,toBlob:p,toPixelData:c,toCanvas:d,impl:{fontFaces:r,images:s,util:n,inliner:i,options:{}}};function l(t,e){return e=e||{},f(e),Promise.resolve(t).then((function(t){return m(t,e.filter,!0)})).then(g).then(v).then(i).then((function(i){return y(i,e.width||n.width(t),e.height||n.height(t))}));function i(t){return e.bgcolor&&(t.style.backgroundColor=e.bgcolor),e.width&&(t.style.width=e.width+"px"),e.height&&(t.style.height=e.height+"px"),e.style&&Object.keys(e.style).forEach((function(n){t.style[n]=e.style[n]})),t}}function c(t,e){return O(t,e||{}).then((function(e){return e.getContext("2d").getImageData(0,0,n.width(t),n.height(t)).data}))}function u(t,e){return O(t,e||{}).then((function(t){return t.toDataURL()}))}function h(t,e){return e=e||{},O(t,e).then((function(t){return t.toDataURL("image/jpeg",e.quality||1)}))}function p(t,e){return O(t,e||{}).then(n.canvasToBlob)}function d(t,e){return O(t,e||{})}function f(t){"undefined"===typeof t.imagePlaceholder?a.impl.options.imagePlaceholder=o.imagePlaceholder:a.impl.options.imagePlaceholder=t.imagePlaceholder,"undefined"===typeof t.cacheBust?a.impl.options.cacheBust=o.cacheBust:a.impl.options.cacheBust=t.cacheBust,"undefined"===typeof t.useCredentials?a.impl.options.useCredentials=o.useCredentials:a.impl.options.useCredentials=t.useCredentials}function O(t,e){return l(t,e).then(n.makeImage).then(n.delay(100)).then((function(n){var r="number"!==typeof e.scale?1:e.scale,s=i(t,r),o=s.getContext("2d");return n&&(o.scale(r,r),o.drawImage(n,0,0)),s}));function i(t,i){var r=document.createElement("canvas");if(r.width=(e.width||n.width(t))*i,r.height=(e.height||n.height(t))*i,e.bgcolor){var s=r.getContext("2d");s.fillStyle=e.bgcolor,s.fillRect(0,0,r.width,r.height)}return r}}function m(t,e,i){return i||!e||e(t)?Promise.resolve(t).then(r).then((function(n){return s(t,n,e)})).then((function(e){return o(t,e)})):Promise.resolve();function r(t){return t instanceof HTMLCanvasElement?n.makeImage(t.toDataURL()):t.cloneNode(!1)}function s(t,e,i){var r=t.childNodes;return 0===r.length?Promise.resolve(e):s(e,n.asArray(r),i).then((function(){return e}));function s(t,e,n){var i=Promise.resolve();return e.forEach((function(e){i=i.then((function(){return m(e,n)})).then((function(e){e&&t.appendChild(e)}))})),i}}function o(t,e){return e instanceof Element?Promise.resolve().then(i).then(r).then(s).then(o).then((function(){return e})):e;function i(){function i(t,e){function i(t,e){n.asArray(t).forEach((function(n){e.setProperty(n,t.getPropertyValue(n),t.getPropertyPriority(n))}))}t.cssText?(e.cssText=t.cssText,e.font=t.font):i(t,e)}i(window.getComputedStyle(t),e.style)}function r(){function i(i){var r=window.getComputedStyle(t,i),s=r.getPropertyValue("content");if(""!==s&&"none"!==s){var o=n.uid(),a=e.getAttribute("class");a&&e.setAttribute("class",a+" "+o);var l=document.createElement("style");l.appendChild(c(o,i,r)),e.appendChild(l)}function c(t,e,i){var r="."+t+":"+e,s=i.cssText?o(i):a(i);return document.createTextNode(r+"{"+s+"}");function o(t){var e=t.getPropertyValue("content");return t.cssText+" content: "+e+";"}function a(t){return n.asArray(t).map(e).join("; ")+";";function e(e){return e+": "+t.getPropertyValue(e)+(t.getPropertyPriority(e)?" !important":"")}}}}[":before",":after"].forEach((function(t){i(t)}))}function s(){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function o(){e instanceof SVGElement&&(e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e instanceof SVGRectElement&&["width","height"].forEach((function(t){var n=e.getAttribute(t);n&&e.style.setProperty(t,n)})))}}}function g(t){return r.resolveAll().then((function(e){var n=document.createElement("style");return t.appendChild(n),n.appendChild(document.createTextNode(e)),t}))}function v(t){return s.inlineAll(t).then((function(){return t}))}function y(t,e,i){return Promise.resolve(t).then((function(t){return t.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(t)})).then(n.escapeXhtml).then((function(t){return'<foreignObject x="0" y="0" width="100%" height="100%">'+t+"</foreignObject>"})).then((function(t){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+i+'">'+t+"</svg>"})).then((function(t){return"data:image/svg+xml;charset=utf-8,"+t}))}function b(){return{escape:p,parseExtension:e,mimeType:n,dataAsUrl:h,isDataUrl:i,canvasToBlob:s,resolveUrl:o,getAndEncode:u,uid:l(),delay:d,asArray:f,escapeXhtml:O,makeImage:c,width:m,height:g};function t(){var t="application/font-woff",e="image/jpeg";return{woff:t,woff2:t,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:e,jpeg:e,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function e(t){var e=/\.([^\.\/]*?)(\?|$)/g.exec(t);return e?e[1]:""}function n(n){var i=e(n).toLowerCase();return t()[i]||""}function i(t){return-1!==t.search(/^(data:)/)}function r(t){return new Promise((function(e){for(var n=window.atob(t.toDataURL().split(",")[1]),i=n.length,r=new Uint8Array(i),s=0;s<i;s++)r[s]=n.charCodeAt(s);e(new Blob([r],{type:"image/png"}))}))}function s(t){return t.toBlob?new Promise((function(e){t.toBlob(e)})):r(t)}function o(t,e){var n=document.implementation.createHTMLDocument(),i=n.createElement("base");n.head.appendChild(i);var r=n.createElement("a");return n.body.appendChild(r),i.href=e,r.href=t,r.href}function l(){var t=0;return function(){return"u"+e()+t++;function e(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}}function c(t){return"data:,"===t?Promise.resolve():new Promise((function(e,n){var i=new Image;a.impl.options.useCredentials&&(i.crossOrigin="use-credentials"),i.onload=function(){e(i)},i.onerror=n,i.src=t}))}function u(t){var e=3e4;return a.impl.options.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime()),new Promise((function(n){var i,r=new XMLHttpRequest;if(r.onreadystatechange=o,r.ontimeout=l,r.responseType="blob",r.timeout=e,a.impl.options.useCredentials&&(r.withCredentials=!0),r.open("GET",t,!0),r.send(),a.impl.options.imagePlaceholder){var s=a.impl.options.imagePlaceholder.split(/,/);s&&s[1]&&(i=s[1])}function o(){if(4===r.readyState)if(200===r.status){var e=new FileReader;e.onloadend=function(){var t=e.result.split(/,/)[1];n(t)},e.readAsDataURL(r.response)}else i?n(i):c("cannot fetch resource: "+t+", status: "+r.status)}function l(){i?n(i):c("timeout of "+e+"ms occured while fetching resource: "+t)}function c(t){console.error(t),n("")}}))}function h(t,e){return"data:"+e+";base64,"+t}function p(t){return t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")}function d(t){return function(e){return new Promise((function(n){setTimeout((function(){n(e)}),t)}))}}function f(t){for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e}function O(t){return t.replace(/#/g,"%23").replace(/\n/g,"%0A")}function m(t){var e=v(t,"border-left-width"),n=v(t,"border-right-width");return t.scrollWidth+e+n}function g(t){var e=v(t,"border-top-width"),n=v(t,"border-bottom-width");return t.scrollHeight+e+n}function v(t,e){var n=window.getComputedStyle(t).getPropertyValue(e);return parseFloat(n.replace("px",""))}}function _(){var t=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:s,shouldProcess:e,impl:{readUrls:i,inline:r}};function e(e){return-1!==e.search(t)}function i(e){var i,r=[];while(null!==(i=t.exec(e)))r.push(i[1]);return r.filter((function(t){return!n.isDataUrl(t)}))}function r(t,e,i,r){return Promise.resolve(e).then((function(t){return i?n.resolveUrl(t,i):t})).then(r||n.getAndEncode).then((function(t){return n.dataAsUrl(t,n.mimeType(e))})).then((function(n){return t.replace(s(e),"$1"+n+"$3")}));function s(t){return new RegExp("(url\\(['\"]?)("+n.escape(t)+")(['\"]?\\))","g")}}function s(t,n,s){return o()?Promise.resolve(t):Promise.resolve(t).then(i).then((function(e){var i=Promise.resolve(t);return e.forEach((function(t){i=i.then((function(e){return r(e,t,n,s)}))})),i}));function o(){return!e(t)}}}function x(){return{resolveAll:t,impl:{readAll:e}};function t(){return e(document).then((function(t){return Promise.all(t.map((function(t){return t.resolve()})))})).then((function(t){return t.join("\n")}))}function e(){return Promise.resolve(n.asArray(document.styleSheets)).then(e).then(t).then((function(t){return t.map(r)}));function t(t){return t.filter((function(t){return t.type===CSSRule.FONT_FACE_RULE})).filter((function(t){return i.shouldProcess(t.style.getPropertyValue("src"))}))}function e(t){var e=[];return t.forEach((function(t){if(t.hasOwnProperty("cssRules"))try{n.asArray(t.cssRules||[]).forEach(e.push.bind(e))}catch(i){console.log("Error while reading CSS rules from "+t.href,i.toString())}})),e}function r(t){return{resolve:function(){var e=(t.parentStyleSheet||{}).href;return i.inlineAll(t.cssText,e)},src:function(){return t.style.getPropertyValue("src")}}}}}function w(){return{inlineAll:e,impl:{newImage:t}};function t(t){return{inline:e};function e(e){return n.isDataUrl(t.src)?Promise.resolve():Promise.resolve(t.src).then(e||n.getAndEncode).then((function(e){return n.dataAsUrl(e,n.mimeType(t.src))})).then((function(e){return new Promise((function(n,i){t.onload=n,t.onerror=n,t.src=e}))}))}}function e(r){return r instanceof Element?s(r).then((function(){return r instanceof HTMLImageElement?t(r).inline():Promise.all(n.asArray(r.childNodes).map((function(t){return e(t)})))})):Promise.resolve(r);function s(t){var e=t.style.getPropertyValue("background");return e?i.inlineAll(e).then((function(e){t.style.setProperty("background",e,t.style.getPropertyPriority("background"))})).then((function(){return t})):Promise.resolve(t)}}}t.exports=a})()},48973:(t,e,n)=>{"use strict";n.d(e,{g_:()=>g,nM:()=>p,tO:()=>d,t$:()=>l,Vn:()=>h,F2:()=>c,i$:()=>y,Y3:()=>v});var i=n(3735),r=function(t){return"Left"===t._tag},s=function(t){return"Right"===t._tag},o=function(t){return{_tag:"Left",left:t}},a=function(t){return{_tag:"Right",right:t}},l=(Object.prototype.hasOwnProperty,o),c=a,u="Either",h=function(t){return function(e){return p(e)?l(t(e.left)):e}},p=(i.yR,r),d=s,f=function(t,e){return function(n){return p(n)?t(n.left):e(n.right)}},O=143==n.j?f:null,m=f,g=m,v=function(t,e){try{return c(t())}catch(n){return l(e(n))}},y=143==n.j?O(i.yR,i.yR):null},79869:(t,e,n)=>{"use strict";n.d(e,{P:()=>o,Q:()=>s});var i=n(48973),r=n(3735),s=function(t){return(0,i.Y3)((function(){return JSON.parse(t)}),r.yR)},o=function(t){return(0,i.Y3)((function(){var e=JSON.stringify(t);if("string"!==typeof e)throw new Error("Converting unsupported structure to JSON");return e}),r.yR)}},3735:(t,e,n)=>{"use strict";n.d(e,{yR:()=>i,zG:()=>r});function i(t){return t}function r(t,e,n,i,r,s,o,a,l){switch(arguments.length){case 1:return t;case 2:return e(t);case 3:return n(e(t));case 4:return i(n(e(t)));case 5:return r(i(n(e(t))));case 6:return s(r(i(n(e(t)))));case 7:return o(s(r(i(n(e(t))))));case 8:return a(o(s(r(i(n(e(t)))))));case 9:return l(a(o(s(r(i(n(e(t))))))));default:for(var c=arguments[0],u=1;u<arguments.length;u++)c=arguments[u](c);return c}}},56555:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getApplicativeComposition=e.getApplicativeMonoid=void 0;var i=n(11395),r=n(30902),s=n(68747);function o(t){var e=i.getApplySemigroup(t);return function(n){return{concat:e(n).concat,empty:t.of(n.empty)}}}function a(t,e){var n=s.getFunctorComposition(t,e).map,o=i.ap(t,e);return{map:n,of:function(n){return t.of(e.of(n))},ap:function(t,e){return r.pipe(t,o(e))}}}e.getApplicativeMonoid=o,e.getApplicativeComposition=a},11395:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sequenceS=e.sequenceT=e.getApplySemigroup=e.apS=e.apSecond=e.apFirst=e.ap=void 0;var i=n(30902);function r(t,e){return function(n){return function(i){return t.ap(t.map(i,(function(t){return function(n){return e.ap(t,n)}})),n)}}}function s(t){return function(e){return function(n){return t.ap(t.map(n,(function(t){return function(){return t}})),e)}}}function o(t){return function(e){return function(n){return t.ap(t.map(n,(function(){return function(t){return t}})),e)}}}function a(t){return function(e,n){return function(i){return t.ap(t.map(i,(function(t){return function(n){var i;return Object.assign({},t,(i={},i[e]=n,i))}})),n)}}}function l(t){return function(e){return{concat:function(n,i){return t.ap(t.map(n,(function(t){return function(n){return e.concat(t,n)}})),i)}}}}function c(t,e,n){return function(i){for(var r=Array(n.length+1),s=0;s<n.length;s++)r[s]=n[s];return r[n.length]=i,0===e?t.apply(null,r):c(t,e-1,r)}}e.ap=r,e.apFirst=s,e.apSecond=o,e.apS=a,e.getApplySemigroup=l;var u={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(n){return[t,e,n]}}},4:function(t){return function(e){return function(n){return function(i){return[t,e,n,i]}}}},5:function(t){return function(e){return function(n){return function(i){return function(r){return[t,e,n,i,r]}}}}}};function h(t){return u.hasOwnProperty(t)||(u[t]=c(i.tuple,t-1,[])),u[t]}function p(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var i=e.length,r=h(i),s=t.map(e[0],r),o=1;o<i;o++)s=t.ap(s,e[o]);return s}}function d(t){var e=t.length;switch(e){case 1:return function(e){var n;return n={},n[t[0]]=e,n};case 2:return function(e){return function(n){var i;return i={},i[t[0]]=e,i[t[1]]=n,i}};case 3:return function(e){return function(n){return function(i){var r;return r={},r[t[0]]=e,r[t[1]]=n,r[t[2]]=i,r}}};case 4:return function(e){return function(n){return function(i){return function(r){var s;return s={},s[t[0]]=e,s[t[1]]=n,s[t[2]]=i,s[t[3]]=r,s}}}};case 5:return function(e){return function(n){return function(i){return function(r){return function(s){var o;return o={},o[t[0]]=e,o[t[1]]=n,o[t[2]]=i,o[t[3]]=r,o[t[4]]=s,o}}}}};default:return c((function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];for(var r={},s=0;s<e;s++)r[t[s]]=n[s];return r}),e-1,[])}}function f(t){return function(e){for(var n=Object.keys(e),i=n.length,r=d(n),s=t.map(e[n[0]],r),o=1;o<i;o++)s=t.ap(s,e[n[o]]);return s}}e.sequenceT=p,e.sequenceS=f},34142:(t,e)=>{"use strict";function n(t){return function(e){return function(n){return t.chain(n,(function(n){return t.map(e(n),(function(){return n}))}))}}}function i(t){return function(e,n){return function(i){return t.chain(i,(function(i){return t.map(n(i),(function(t){var n;return Object.assign({},i,(n={},n[e]=t,n))}))}))}}}Object.defineProperty(e,"__esModule",{value:!0}),e.bind=e.chainFirst=void 0,e.chainFirst=n,e.bind=i},50707:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tailRec=void 0;var n=function(t,e){var n=e(t);while("Left"===n._tag)n=e(n.left);return n.right};e.tailRec=n},45974:function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.fold=e.match=e.foldW=e.matchW=e.isRight=e.isLeft=e.fromOption=e.fromPredicate=e.FromEither=e.MonadThrow=e.throwError=e.ChainRec=e.Extend=e.extend=e.Alt=e.alt=e.altW=e.Bifunctor=e.mapLeft=e.bimap=e.Traversable=e.sequence=e.traverse=e.Foldable=e.reduceRight=e.foldMap=e.reduce=e.Monad=e.Chain=e.chain=e.chainW=e.Applicative=e.Apply=e.ap=e.apW=e.Pointed=e.of=e.Functor=e.map=e.getAltValidation=e.getApplicativeValidation=e.getWitherable=e.getFilterable=e.getCompactable=e.getSemigroup=e.getEq=e.getShow=e.URI=e.right=e.left=void 0,e.getValidation=e.getValidationMonoid=e.getValidationSemigroup=e.getApplyMonoid=e.getApplySemigroup=e.either=e.stringifyJSON=e.parseJSON=e.sequenceArray=e.traverseArray=e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex=e.traverseReadonlyNonEmptyArrayWithIndex=e.ApT=e.apSW=e.apS=e.bindW=e.bind=e.bindTo=e.Do=e.exists=e.elem=e.toError=e.toUnion=e.chainNullableK=e.fromNullableK=e.tryCatchK=e.tryCatch=e.fromNullable=e.orElse=e.orElseW=e.swap=e.filterOrElseW=e.filterOrElse=e.chainOptionK=e.fromOptionK=e.duplicate=e.flatten=e.flattenW=e.chainFirstW=e.chainFirst=e.apSecond=e.apFirst=e.flap=e.getOrElse=e.getOrElseW=void 0;var o=n(56555),a=n(11395),l=n(34142),c=n(50707),u=n(66026),h=n(30902),p=n(68747),d=s(n(40996)),f=n(23155),O=n(19899);e.left=d.left,e.right=d.right;var m=function(t,n){return h.pipe(t,e.map(n))},g=function(t,n){return h.pipe(t,e.ap(n))},v=function(t,n){return h.pipe(t,e.chain(n))},y=function(t,n,i){return h.pipe(t,e.reduce(n,i))},b=function(t){return function(n,i){var r=e.foldMap(t);return h.pipe(n,r(i))}},_=function(t,n,i){return h.pipe(t,e.reduceRight(n,i))},x=function(t){var n=e.traverse(t);return function(t,e){return h.pipe(t,n(e))}},w=function(t,n,i){return h.pipe(t,e.bimap(n,i))},$=function(t,n){return h.pipe(t,e.mapLeft(n))},S=function(t,n){return h.pipe(t,e.alt(n))},k=function(t,n){return h.pipe(t,e.extend(n))},Q=function(t,n){return c.tailRec(n(t),(function(t){return e.isLeft(t)?e.right(e.left(t.left)):e.isLeft(t.right)?e.left(n(t.right.left)):e.right(e.right(t.right.right))}))};e.URI="Either";var T=function(t,n){return{show:function(i){return e.isLeft(i)?"left("+t.show(i.left)+")":"right("+n.show(i.right)+")"}}};e.getShow=T;var P=function(t,n){return{equals:function(i,r){return i===r||(e.isLeft(i)?e.isLeft(r)&&t.equals(i.left,r.left):e.isRight(r)&&n.equals(i.right,r.right))}}};e.getEq=P;var C=function(t){return{concat:function(n,i){return e.isLeft(i)?n:e.isLeft(n)?i:e.right(t.concat(n.right,i.right))}}};e.getSemigroup=C;var A=function(t){var n=e.left(t.empty);return{URI:e.URI,_E:void 0,compact:function(t){return e.isLeft(t)?t:"None"===t.right._tag?n:e.right(t.right.value)},separate:function(t){return e.isLeft(t)?f.separated(t,t):e.isLeft(t.right)?f.separated(e.right(t.right.left),n):f.separated(n,e.right(t.right.right))}}};e.getCompactable=A;var E=function(t){var n=e.left(t.empty),i=e.getCompactable(t),r=i.compact,s=i.separate,o=function(t,i){return e.isLeft(t)||i(t.right)?t:n},a=function(t,i){return e.isLeft(t)?f.separated(t,t):i(t.right)?f.separated(n,e.right(t.right)):f.separated(e.right(t.right),n)};return{URI:e.URI,_E:void 0,map:m,compact:r,separate:s,filter:o,filterMap:function(t,i){if(e.isLeft(t))return t;var r=i(t.right);return"None"===r._tag?n:e.right(r.value)},partition:a,partitionMap:function(t,i){if(e.isLeft(t))return f.separated(t,t);var r=i(t.right);return e.isLeft(r)?f.separated(e.right(r.left),n):f.separated(n,e.right(r.right))}}};e.getFilterable=E;var R=function(t){var n=e.getFilterable(t),i=e.getCompactable(t);return{URI:e.URI,_E:void 0,map:m,compact:n.compact,separate:n.separate,filter:n.filter,filterMap:n.filterMap,partition:n.partition,partitionMap:n.partitionMap,traverse:x,sequence:e.sequence,reduce:y,foldMap:b,reduceRight:_,wither:O.witherDefault(e.Traversable,i),wilt:O.wiltDefault(e.Traversable,i)}};e.getWitherable=R;var M=function(t){return{URI:e.URI,_E:void 0,map:m,ap:function(n,i){return e.isLeft(n)?e.isLeft(i)?e.left(t.concat(n.left,i.left)):n:e.isLeft(i)?i:e.right(n.right(i.right))},of:e.of}};e.getApplicativeValidation=M;var D=function(t){return{URI:e.URI,_E:void 0,map:m,alt:function(n,i){if(e.isRight(n))return n;var r=i();return e.isLeft(r)?e.left(t.concat(n.left,r.left)):r}}};e.getAltValidation=D;var z=function(t){return function(n){return e.isLeft(n)?n:e.right(t(n.right))}};e.map=z,e.Functor={URI:e.URI,map:m},e.of=e.right,e.Pointed={URI:e.URI,of:e.of};var j=function(t){return function(n){return e.isLeft(n)?n:e.isLeft(t)?t:e.right(n.right(t.right))}};e.apW=j,e.ap=e.apW,e.Apply={URI:e.URI,map:m,ap:g},e.Applicative={URI:e.URI,map:m,ap:g,of:e.of};var Z=function(t){return function(n){return e.isLeft(n)?n:t(n.right)}};e.chainW=Z,e.chain=e.chainW,e.Chain={URI:e.URI,map:m,ap:g,chain:v},e.Monad={URI:e.URI,map:m,ap:g,of:e.of,chain:v};var V=function(t,n){return function(i){return e.isLeft(i)?t:n(t,i.right)}};e.reduce=V;var X=function(t){return function(n){return function(i){return e.isLeft(i)?t.empty:n(i.right)}}};e.foldMap=X;var W=function(t,n){return function(i){return e.isLeft(i)?t:n(i.right,t)}};e.reduceRight=W,e.Foldable={URI:e.URI,reduce:y,foldMap:b,reduceRight:_};var q=function(t){return function(n){return function(i){return e.isLeft(i)?t.of(e.left(i.left)):t.map(n(i.right),e.right)}}};e.traverse=q;var I=function(t){return function(n){return e.isLeft(n)?t.of(e.left(n.left)):t.map(n.right,e.right)}};e.sequence=I,e.Traversable={URI:e.URI,map:m,reduce:y,foldMap:b,reduceRight:_,traverse:x,sequence:e.sequence};var N=function(t,n){return function(i){return e.isLeft(i)?e.left(t(i.left)):e.right(n(i.right))}};e.bimap=N;var L=function(t){return function(n){return e.isLeft(n)?e.left(t(n.left)):n}};e.mapLeft=L,e.Bifunctor={URI:e.URI,bimap:w,mapLeft:$};var B=function(t){return function(n){return e.isLeft(n)?t():n}};e.altW=B,e.alt=e.altW,e.Alt={URI:e.URI,map:m,alt:S};var U=function(t){return function(n){return e.isLeft(n)?n:e.right(t(n))}};e.extend=U,e.Extend={URI:e.URI,map:m,extend:k},e.ChainRec={URI:e.URI,map:m,ap:g,chain:v,chainRec:Q},e.throwError=e.left,e.MonadThrow={URI:e.URI,map:m,ap:g,of:e.of,chain:v,throwError:e.throwError},e.FromEither={URI:e.URI,fromEither:h.identity},e.fromPredicate=u.fromPredicate(e.FromEither),e.fromOption=u.fromOption(e.FromEither),e.isLeft=d.isLeft,e.isRight=d.isRight;var Y=function(t,n){return function(i){return e.isLeft(i)?t(i.left):n(i.right)}};e.matchW=Y,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var F=function(t){return function(n){return e.isLeft(n)?t(n.left):n.right}};e.getOrElseW=F,e.getOrElse=e.getOrElseW,e.flap=p.flap(e.Functor),e.apFirst=a.apFirst(e.Apply),e.apSecond=a.apSecond(e.Apply),e.chainFirst=l.chainFirst(e.Chain),e.chainFirstW=e.chainFirst,e.flattenW=e.chainW(h.identity),e.flatten=e.flattenW,e.duplicate=e.extend(h.identity),e.fromOptionK=u.fromOptionK(e.FromEither),e.chainOptionK=u.chainOptionK(e.FromEither,e.Chain),e.filterOrElse=u.filterOrElse(e.FromEither,e.Chain),e.filterOrElseW=e.filterOrElse;var G=function(t){return e.isLeft(t)?e.right(t.left):e.left(t.right)};e.swap=G;var H=function(t){return function(n){return e.isLeft(n)?t(n.left):n}};e.orElseW=H,e.orElse=e.orElseW;var K=function(t){return function(n){return null==n?e.left(t):e.right(n)}};e.fromNullable=K;var J=function(t,n){try{return e.right(t())}catch(i){return e.left(n(i))}};e.tryCatch=J;var tt=function(t,n){return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return e.tryCatch((function(){return t.apply(void 0,i)}),n)}};e.tryCatchK=tt;var et=function(t){var n=e.fromNullable(t);return function(t){return h.flow(t,n)}};e.fromNullableK=et;var nt=function(t){var n=e.fromNullableK(t);return function(t){return e.chain(n(t))}};function it(t){return t instanceof Error?t:new Error(String(t))}function rt(t){return function(n,i){if(void 0===i){var r=rt(t);return function(t){return r(n,t)}}return!e.isLeft(i)&&t.equals(n,i.right)}}e.chainNullableK=nt,e.toUnion=e.foldW(h.identity,h.identity),e.toError=it,e.elem=rt;var st=function(t){return function(n){return!e.isLeft(n)&&t(n.right)}};e.exists=st,e.Do=e.of(d.emptyRecord),e.bindTo=p.bindTo(e.Functor),e.bind=l.bind(e.Chain),e.bindW=e.bind,e.apS=a.apS(e.Apply),e.apSW=e.apS,e.ApT=e.of(d.emptyReadonlyArray);var ot=function(t){return function(n){var i=t(0,d.head(n));if(e.isLeft(i))return i;for(var r=[i.right],s=1;s<n.length;s++){var o=t(s,n[s]);if(e.isLeft(o))return o;r.push(o.right)}return e.right(r)}};e.traverseReadonlyNonEmptyArrayWithIndex=ot;var at=function(t){var n=e.traverseReadonlyNonEmptyArrayWithIndex(t);return function(t){return d.isNonEmpty(t)?n(t):e.ApT}};e.traverseReadonlyArrayWithIndex=at,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var lt=function(t){return e.traverseReadonlyArrayWithIndex((function(e,n){return t(n)}))};function ct(t,n){return e.tryCatch((function(){return JSON.parse(t)}),n)}e.traverseArray=lt,e.sequenceArray=e.traverseArray(h.identity),e.parseJSON=ct;var ut=function(t,n){return e.tryCatch((function(){var e=JSON.stringify(t);if("string"!==typeof e)throw new Error("Converting unsupported structure to JSON");return e}),n)};e.stringifyJSON=ut,e.either={URI:e.URI,map:m,of:e.of,ap:g,chain:v,reduce:y,foldMap:b,reduceRight:_,traverse:x,sequence:e.sequence,bimap:w,mapLeft:$,alt:S,extend:k,chainRec:Q,throwError:e.throwError},e.getApplySemigroup=a.getApplySemigroup(e.Apply),e.getApplyMonoid=o.getApplicativeMonoid(e.Applicative);var ht=function(t,n){return a.getApplySemigroup(e.getApplicativeValidation(t))(n)};e.getValidationSemigroup=ht;var pt=function(t,n){return o.getApplicativeMonoid(e.getApplicativeValidation(t))(n)};function dt(t){var n=e.getApplicativeValidation(t).ap,i=e.getAltValidation(t).alt;return{URI:e.URI,_E:void 0,map:m,of:e.of,chain:v,bimap:w,mapLeft:$,reduce:y,foldMap:b,reduceRight:_,extend:k,traverse:x,sequence:e.sequence,chainRec:Q,throwError:e.throwError,ap:n,alt:i}}e.getValidationMonoid=pt,e.getValidation=dt},66026:function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.filterOrElse=e.chainEitherK=e.fromEitherK=e.chainOptionK=e.fromOptionK=e.fromPredicate=e.fromOption=void 0;var o=n(30902),a=s(n(40996));function l(t){return function(e){return function(n){return t.fromEither(a.isNone(n)?a.left(e()):a.right(n.value))}}}function c(t){return function(e,n){return function(i){return t.fromEither(e(i)?a.right(i):a.left(n(i)))}}}function u(t){var e=l(t);return function(t){var n=e(t);return function(t){return o.flow(t,n)}}}function h(t,e){var n=u(t);return function(t){var i=n(t);return function(t){return function(n){return e.chain(n,i(t))}}}}function p(t){return function(e){return o.flow(e,t.fromEither)}}function d(t,e){var n=p(t);return function(t){return function(i){return e.chain(i,n(t))}}}function f(t,e){return function(n,i){return function(r){return e.chain(r,(function(e){return t.fromEither(n(e)?a.right(e):a.left(i(e)))}))}}}e.fromOption=l,e.fromPredicate=c,e.fromOptionK=u,e.chainOptionK=h,e.fromEitherK=p,e.chainEitherK=d,e.filterOrElse=f},68747:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFunctorComposition=e.bindTo=e.flap=e.map=void 0;var i=n(30902);function r(t,e){return function(n){return function(i){return t.map(i,(function(t){return e.map(t,n)}))}}}function s(t){return function(e){return function(n){return t.map(n,(function(t){return t(e)}))}}}function o(t){return function(e){return function(n){return t.map(n,(function(t){var n;return n={},n[e]=t,n}))}}}function a(t,e){var n=r(t,e);return{map:function(t,e){return i.pipe(t,n(e))}}}e.map=r,e.flap=s,e.bindTo=o,e.getFunctorComposition=a},23155:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.right=e.left=e.flap=e.Functor=e.Bifunctor=e.URI=e.bimap=e.mapLeft=e.map=e.separated=void 0;var i=n(30902),r=n(68747),s=function(t,e){return{left:t,right:e}};e.separated=s;var o=function(t,n){return i.pipe(t,e.map(n))},a=function(t,n){return i.pipe(t,e.mapLeft(n))},l=function(t,n,r){return i.pipe(t,e.bimap(n,r))},c=function(t){return function(n){return e.separated(e.left(n),t(e.right(n)))}};e.map=c;var u=function(t){return function(n){return e.separated(t(e.left(n)),e.right(n))}};e.mapLeft=u;var h=function(t,n){return function(i){return e.separated(t(e.left(i)),n(e.right(i)))}};e.bimap=h,e.URI="Separated",e.Bifunctor={URI:e.URI,mapLeft:a,bimap:l},e.Functor={URI:e.URI,map:o},e.flap=r.flap(e.Functor);var p=function(t){return t.left};e.left=p;var d=function(t){return t.right};e.right=d},19899:function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.filterE=e.witherDefault=e.wiltDefault=void 0;var o=s(n(40996));function a(t,e){return function(n){var i=t.traverse(n);return function(t,r){return n.map(i(t,r),e.separate)}}}function l(t,e){return function(n){var i=t.traverse(n);return function(t,r){return n.map(i(t,r),e.compact)}}}function c(t){return function(e){var n=t.wither(e);return function(t){return function(i){return n(i,(function(n){return e.map(t(n),(function(t){return t?o.some(n):o.none}))}))}}}}e.wiltDefault=a,e.witherDefault=l,e.filterE=c},30902:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEndomorphismMonoid=e.not=e.SK=e.hole=e.pipe=e.untupled=e.tupled=e.absurd=e.decrement=e.increment=e.tuple=e.flow=e.flip=e.constVoid=e.constUndefined=e.constNull=e.constFalse=e.constTrue=e.constant=e.unsafeCoerce=e.identity=e.apply=e.getRing=e.getSemiring=e.getMonoid=e.getSemigroup=e.getBooleanAlgebra=void 0;var n=function(t){return function(){return{meet:function(e,n){return function(i){return t.meet(e(i),n(i))}},join:function(e,n){return function(i){return t.join(e(i),n(i))}},zero:function(){return t.zero},one:function(){return t.one},implies:function(e,n){return function(i){return t.implies(e(i),n(i))}},not:function(e){return function(n){return t.not(e(n))}}}}};e.getBooleanAlgebra=n;var i=function(t){return function(){return{concat:function(e,n){return function(i){return t.concat(e(i),n(i))}}}}};e.getSemigroup=i;var r=function(t){var n=e.getSemigroup(t);return function(){return{concat:n().concat,empty:function(){return t.empty}}}};e.getMonoid=r;var s=function(t){return{add:function(e,n){return function(i){return t.add(e(i),n(i))}},zero:function(){return t.zero},mul:function(e,n){return function(i){return t.mul(e(i),n(i))}},one:function(){return t.one}}};e.getSemiring=s;var o=function(t){var n=e.getSemiring(t);return{add:n.add,mul:n.mul,one:n.one,zero:n.zero,sub:function(e,n){return function(i){return t.sub(e(i),n(i))}}}};e.getRing=o;var a=function(t){return function(e){return e(t)}};function l(t){return t}function c(t){return function(){return t}}function u(t){return function(e,n){return t(n,e)}}function h(t,e,n,i,r,s,o,a,l){switch(arguments.length){case 1:return t;case 2:return function(){return e(t.apply(this,arguments))};case 3:return function(){return n(e(t.apply(this,arguments)))};case 4:return function(){return i(n(e(t.apply(this,arguments))))};case 5:return function(){return r(i(n(e(t.apply(this,arguments)))))};case 6:return function(){return s(r(i(n(e(t.apply(this,arguments))))))};case 7:return function(){return o(s(r(i(n(e(t.apply(this,arguments)))))))};case 8:return function(){return a(o(s(r(i(n(e(t.apply(this,arguments))))))))};case 9:return function(){return l(a(o(s(r(i(n(e(t.apply(this,arguments)))))))))}}}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t}function d(t){return t+1}function f(t){return t-1}function O(t){throw new Error("Called `absurd` function which should be uncallable")}function m(t){return function(e){return t.apply(void 0,e)}}function g(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t(e)}}function v(t,e,n,i,r,s,o,a,l){switch(arguments.length){case 1:return t;case 2:return e(t);case 3:return n(e(t));case 4:return i(n(e(t)));case 5:return r(i(n(e(t))));case 6:return s(r(i(n(e(t)))));case 7:return o(s(r(i(n(e(t))))));case 8:return a(o(s(r(i(n(e(t)))))));case 9:return l(a(o(s(r(i(n(e(t))))))));default:for(var c=arguments[0],u=1;u<arguments.length;u++)c=arguments[u](c);return c}}e.apply=a,e.identity=l,e.unsafeCoerce=l,e.constant=c,e.constTrue=c(!0),e.constFalse=c(!1),e.constNull=c(null),e.constUndefined=c(void 0),e.constVoid=e.constUndefined,e.flip=u,e.flow=h,e.tuple=p,e.increment=d,e.decrement=f,e.absurd=O,e.tupled=m,e.untupled=g,e.pipe=v,e.hole=O;var y=function(t,e){return e};function b(t){return function(e){return!t(e)}}e.SK=y,e.not=b;var _=function(){return{concat:function(t,e){return h(t,e)},empty:l}};e.getEndomorphismMonoid=_},40996:function(t,e){"use strict";var n=this&&this.__spreadArray||function(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.fromReadonlyNonEmptyArray=e.has=e.emptyRecord=e.emptyReadonlyArray=e.tail=e.head=e.isNonEmpty=e.singleton=e.right=e.left=e.isRight=e.isLeft=e.some=e.none=e.isSome=e.isNone=void 0;var i=function(t){return"None"===t._tag};e.isNone=i;var r=function(t){return"Some"===t._tag};e.isSome=r,e.none={_tag:"None"};var s=function(t){return{_tag:"Some",value:t}};e.some=s;var o=function(t){return"Left"===t._tag};e.isLeft=o;var a=function(t){return"Right"===t._tag};e.isRight=a;var l=function(t){return{_tag:"Left",left:t}};e.left=l;var c=function(t){return{_tag:"Right",right:t}};e.right=c;var u=function(t){return[t]};e.singleton=u;var h=function(t){return t.length>0};e.isNonEmpty=h;var p=function(t){return t[0]};e.head=p;var d=function(t){return t.slice(1)};e.tail=d,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var f=function(t){return n([t[0]],t.slice(1))};e.fromReadonlyNonEmptyArray=f},74221:(t,e,n)=>{"use strict";function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===f(t)}n.d(e,{Z:()=>bt});const r=1/0;function s(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-r?"-0":e}function o(t){return null==t?"":s(t)}function a(t){return"string"===typeof t}function l(t){return"number"===typeof t}function c(t){return!0===t||!1===t||h(t)&&"[object Boolean]"==f(t)}function u(t){return"object"===typeof t}function h(t){return u(t)&&null!==t}function p(t){return void 0!==t&&null!==t}function d(t){return!t.trim().length}function f(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const O="Incorrect 'index' type",m=t=>`Invalid value for key ${t}`,g=t=>`Pattern length exceeds max of ${t}.`,v=t=>`Missing ${t} property in key`,y=t=>`Property 'weight' in key '${t}' must be a positive integer`,b=Object.prototype.hasOwnProperty;class _{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach((t=>{let n=x(t);e+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight})),this._keys.forEach((t=>{t.weight/=e}))}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function x(t){let e=null,n=null,r=null,s=1;if(a(t)||i(t))r=t,e=w(t),n=$(t);else{if(!b.call(t,"name"))throw new Error(v("name"));const i=t.name;if(r=i,b.call(t,"weight")&&(s=t.weight,s<=0))throw new Error(y(i));e=w(i),n=$(i)}return{path:e,id:n,weight:s,src:r}}function w(t){return i(t)?t:t.split(".")}function $(t){return i(t)?t.join("."):t}function S(t,e){let n=[],r=!1;const s=(t,e,u)=>{if(p(t))if(e[u]){let h=e[u];const d=t[h];if(!p(d))return;if(u===e.length-1&&(a(d)||l(d)||c(d)))n.push(o(d));else if(i(d)){r=!0;for(let t=0,n=d.length;t<n;t+=1)s(d[t],e,u+1)}else e.length&&s(d,e,u+1)}else n.push(t)};return s(t,a(e)?e.split("."):e,0),r?n:n[0]}const k={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Q={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},T={location:0,threshold:.6,distance:100},P={useExtendedSearch:!1,getFn:S,ignoreLocation:!1,ignoreFieldNorm:!1};var C={...Q,...k,...T,...P};const A=/[^ ]+/g;function E(t=3){const e=new Map,n=Math.pow(10,t);return{get(t){const i=t.match(A).length;if(e.has(i))return e.get(i);const r=1/Math.sqrt(i),s=parseFloat(Math.round(r*n)/n);return e.set(i,s),s},clear(){e.clear()}}}class R{constructor({getFn:t=C.getFn}={}){this.norm=E(3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach(((t,e)=>{this._keysMap[t.id]=e}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,a(this.docs[0])?this.docs.forEach(((t,e)=>{this._addString(t,e)})):this.docs.forEach(((t,e)=>{this._addObject(t,e)})),this.norm.clear())}add(t){const e=this.size();a(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_addString(t,e){if(!p(t)||d(t))return;let n={v:t,i:e,n:this.norm.get(t)};this.records.push(n)}_addObject(t,e){let n={i:e,$:{}};this.keys.forEach(((e,r)=>{let s=this.getFn(t,e.path);if(p(s))if(i(s)){let t=[];const e=[{nestedArrIndex:-1,value:s}];while(e.length){const{nestedArrIndex:n,value:r}=e.pop();if(p(r))if(a(r)&&!d(r)){let e={v:r,i:n,n:this.norm.get(r)};t.push(e)}else i(r)&&r.forEach(((t,n)=>{e.push({nestedArrIndex:n,value:t})}))}n.$[r]=t}else if(!d(s)){let t={v:s,n:this.norm.get(s)};n.$[r]=t}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function M(t,e,{getFn:n=C.getFn}={}){const i=new R({getFn:n});return i.setKeys(t.map(x)),i.setSources(e),i.create(),i}function D(t,{getFn:e=C.getFn}={}){const{keys:n,records:i}=t,r=new R({getFn:e});return r.setKeys(n),r.setIndexRecords(i),r}function z(t,{errors:e=0,currentLocation:n=0,expectedLocation:i=0,distance:r=C.distance,ignoreLocation:s=C.ignoreLocation}={}){const o=e/t.length;if(s)return o;const a=Math.abs(i-n);return r?o+a/r:a?1:o}function j(t=[],e=C.minMatchCharLength){let n=[],i=-1,r=-1,s=0;for(let o=t.length;s<o;s+=1){let o=t[s];o&&-1===i?i=s:o||-1===i||(r=s-1,r-i+1>=e&&n.push([i,r]),i=-1)}return t[s-1]&&s-i>=e&&n.push([i,s-1]),n}const Z=32;function V(t,e,n,{location:i=C.location,distance:r=C.distance,threshold:s=C.threshold,findAllMatches:o=C.findAllMatches,minMatchCharLength:a=C.minMatchCharLength,includeMatches:l=C.includeMatches,ignoreLocation:c=C.ignoreLocation}={}){if(e.length>Z)throw new Error(g(Z));const u=e.length,h=t.length,p=Math.max(0,Math.min(i,h));let d=s,f=p;const O=a>1||l,m=O?Array(h):[];let v;while((v=t.indexOf(e,f))>-1){let t=z(e,{currentLocation:v,expectedLocation:p,distance:r,ignoreLocation:c});if(d=Math.min(t,d),f=v+u,O){let t=0;while(t<u)m[v+t]=1,t+=1}}f=-1;let y=[],b=1,_=u+h;const x=1<<u-1;for(let g=0;g<u;g+=1){let i=0,s=_;while(i<s){const t=z(e,{errors:g,currentLocation:p+s,expectedLocation:p,distance:r,ignoreLocation:c});t<=d?i=s:_=s,s=Math.floor((_-i)/2+i)}_=s;let a=Math.max(1,p-s+1),l=o?h:Math.min(p+s,h)+u,v=Array(l+2);v[l+1]=(1<<g)-1;for(let o=l;o>=a;o-=1){let i=o-1,s=n[t.charAt(i)];if(O&&(m[i]=+!!s),v[o]=(v[o+1]<<1|1)&s,g&&(v[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),v[o]&x&&(b=z(e,{errors:g,currentLocation:i,expectedLocation:p,distance:r,ignoreLocation:c}),b<=d)){if(d=b,f=i,f<=p)break;a=Math.max(1,2*p-f)}}const w=z(e,{errors:g+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:c});if(w>d)break;y=v}const w={isMatch:f>=0,score:Math.max(.001,b)};if(O){const t=j(m,a);t.length?l&&(w.indices=t):w.isMatch=!1}return w}function X(t){let e={};for(let n=0,i=t.length;n<i;n+=1){const r=t.charAt(n);e[r]=(e[r]||0)|1<<i-n-1}return e}class W{constructor(t,{location:e=C.location,threshold:n=C.threshold,distance:i=C.distance,includeMatches:r=C.includeMatches,findAllMatches:s=C.findAllMatches,minMatchCharLength:o=C.minMatchCharLength,isCaseSensitive:a=C.isCaseSensitive,ignoreLocation:l=C.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:i,includeMatches:r,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:l},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(t,e)=>{this.chunks.push({pattern:t,alphabet:X(t),startIndex:e})},u=this.pattern.length;if(u>Z){let t=0;const e=u%Z,n=u-e;while(t<n)c(this.pattern.substr(t,Z),t),t+=Z;if(e){const t=u-Z;c(this.pattern.substr(t),t)}}else c(this.pattern,0)}searchIn(t){const{isCaseSensitive:e,includeMatches:n}=this.options;if(e||(t=t.toLowerCase()),this.pattern===t){let e={isMatch:!0,score:0};return n&&(e.indices=[[0,t.length-1]]),e}const{location:i,distance:r,threshold:s,findAllMatches:o,minMatchCharLength:a,ignoreLocation:l}=this.options;let c=[],u=0,h=!1;this.chunks.forEach((({pattern:e,alphabet:p,startIndex:d})=>{const{isMatch:f,score:O,indices:m}=V(t,e,p,{location:i+d,distance:r,threshold:s,findAllMatches:o,minMatchCharLength:a,includeMatches:n,ignoreLocation:l});f&&(h=!0),u+=O,f&&m&&(c=[...c,...m])}));let p={isMatch:h,score:h?u/this.chunks.length:1};return h&&n&&(p.indices=c),p}}class q{constructor(t){this.pattern=t}static isMultiMatch(t){return I(t,this.multiRegex)}static isSingleMatch(t){return I(t,this.singleRegex)}search(){}}function I(t,e){const n=t.match(e);return n?n[1]:null}class N extends q{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class L extends q{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const e=t.indexOf(this.pattern),n=-1===e;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class B extends q{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class U extends q{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class Y extends q{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class F extends q{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class G extends q{constructor(t,{location:e=C.location,threshold:n=C.threshold,distance:i=C.distance,includeMatches:r=C.includeMatches,findAllMatches:s=C.findAllMatches,minMatchCharLength:o=C.minMatchCharLength,isCaseSensitive:a=C.isCaseSensitive,ignoreLocation:l=C.ignoreLocation}={}){super(t),this._bitapSearch=new W(t,{location:e,threshold:n,distance:i,includeMatches:r,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class H extends q{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,n=0;const i=[],r=this.pattern.length;while((e=t.indexOf(this.pattern,n))>-1)n=e+r,i.push([e,n-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const K=[N,H,B,U,F,Y,L,G],J=K.length,tt=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,et="|";function nt(t,e={}){return t.split(et).map((t=>{let n=t.trim().split(tt).filter((t=>t&&!!t.trim())),i=[];for(let r=0,s=n.length;r<s;r+=1){const t=n[r];let s=!1,o=-1;while(!s&&++o<J){const n=K[o];let r=n.isMultiMatch(t);r&&(i.push(new n(r,e)),s=!0)}if(!s){o=-1;while(++o<J){const n=K[o];let r=n.isSingleMatch(t);if(r){i.push(new n(r,e));break}}}}return i}))}const it=new Set([G.type,H.type]);class rt{constructor(t,{isCaseSensitive:e=C.isCaseSensitive,includeMatches:n=C.includeMatches,minMatchCharLength:i=C.minMatchCharLength,ignoreLocation:r=C.ignoreLocation,findAllMatches:s=C.findAllMatches,location:o=C.location,threshold:a=C.threshold,distance:l=C.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:r,location:o,threshold:a,distance:l},this.pattern=e?t:t.toLowerCase(),this.query=nt(this.pattern,this.options)}static condition(t,e){return e.useExtendedSearch}searchIn(t){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;t=i?t:t.toLowerCase();let r=0,s=[],o=0;for(let a=0,l=e.length;a<l;a+=1){const i=e[a];s.length=0,r=0;for(let e=0,a=i.length;e<a;e+=1){const a=i[e],{isMatch:l,indices:c,score:u}=a.search(t);if(!l){o=0,r=0,s.length=0;break}if(r+=1,o+=u,n){const t=a.constructor.type;it.has(t)?s=[...s,...c]:s.push(c)}}if(r){let t={isMatch:!0,score:o/r};return n&&(t.indices=s),t}}return{isMatch:!1,score:1}}}const st=[];function ot(...t){st.push(...t)}function at(t,e){for(let n=0,i=st.length;n<i;n+=1){let i=st[n];if(i.condition(t,e))return new i(t,e)}return new W(t,e)}const lt={AND:"$and",OR:"$or"},ct={PATH:"$path",PATTERN:"$val"},ut=t=>!(!t[lt.AND]&&!t[lt.OR]),ht=t=>!!t[ct.PATH],pt=t=>!i(t)&&u(t)&&!ut(t),dt=t=>({[lt.AND]:Object.keys(t).map((e=>({[e]:t[e]})))});function ft(t,e,{auto:n=!0}={}){const r=t=>{let s=Object.keys(t);const o=ht(t);if(!o&&s.length>1&&!ut(t))return r(dt(t));if(pt(t)){const i=o?t[ct.PATH]:s[0],r=o?t[ct.PATTERN]:t[i];if(!a(r))throw new Error(m(i));const l={keyId:$(i),pattern:r};return n&&(l.searcher=at(r,e)),l}let l={children:[],operator:s[0]};return s.forEach((e=>{const n=t[e];i(n)&&n.forEach((t=>{l.children.push(r(t))}))})),l};return ut(t)||(t=dt(t)),r(t)}function Ot(t,{ignoreFieldNorm:e=C.ignoreFieldNorm}){t.forEach((t=>{let n=1;t.matches.forEach((({key:t,norm:i,score:r})=>{const s=t?t.weight:null;n*=Math.pow(0===r&&s?Number.EPSILON:r,(s||1)*(e?1:i))})),t.score=n}))}function mt(t,e){const n=t.matches;e.matches=[],p(n)&&n.forEach((t=>{if(!p(t.indices)||!t.indices.length)return;const{indices:n,value:i}=t;let r={indices:n,value:i};t.key&&(r.key=t.key.src),t.idx>-1&&(r.refIndex=t.idx),e.matches.push(r)}))}function gt(t,e){e.score=t.score}function vt(t,e,{includeMatches:n=C.includeMatches,includeScore:i=C.includeScore}={}){const r=[];return n&&r.push(mt),i&&r.push(gt),t.map((t=>{const{idx:n}=t,i={item:e[n],refIndex:n};return r.length&&r.forEach((e=>{e(t,i)})),i}))}class yt{constructor(t,e={},n){this.options={...C,...e},this.options.useExtendedSearch,this._keyStore=new _(this.options.keys),this.setCollection(t,n)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof R))throw new Error(O);this._myIndex=e||M(this.options.keys,this._docs,{getFn:this.options.getFn})}add(t){p(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=(()=>!1)){const e=[];for(let n=0,i=this._docs.length;n<i;n+=1){const r=this._docs[n];t(r,n)&&(this.removeAt(n),n-=1,i-=1,e.push(r))}return e}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:e=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:r,sortFn:s,ignoreFieldNorm:o}=this.options;let c=a(t)?a(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Ot(c,{ignoreFieldNorm:o}),r&&c.sort(s),l(e)&&e>-1&&(c=c.slice(0,e)),vt(c,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(t){const e=at(t,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:t,i:n,n:r})=>{if(!p(t))return;const{isMatch:s,score:o,indices:a}=e.searchIn(t);s&&i.push({item:t,idx:n,matches:[{score:o,value:t,norm:r,indices:a}]})})),i}_searchLogical(t){const e=ft(t,this.options),n=(t,e,i)=>{if(!t.children){const{keyId:n,searcher:r}=t,s=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(e,n),searcher:r});return s&&s.length?[{idx:i,item:e,matches:s}]:[]}switch(t.operator){case lt.AND:{const r=[];for(let s=0,o=t.children.length;s<o;s+=1){const o=t.children[s],a=n(o,e,i);if(!a.length)return[];r.push(...a)}return r}case lt.OR:{const r=[];for(let s=0,o=t.children.length;s<o;s+=1){const o=t.children[s],a=n(o,e,i);if(a.length){r.push(...a);break}}return r}}},i=this._myIndex.records,r={},s=[];return i.forEach((({$:t,i})=>{if(p(t)){let o=n(e,t,i);o.length&&(r[i]||(r[i]={idx:i,item:t,matches:[]},s.push(r[i])),o.forEach((({matches:t})=>{r[i].matches.push(...t)})))}})),s}_searchObjectList(t){const e=at(t,this.options),{keys:n,records:i}=this._myIndex,r=[];return i.forEach((({$:t,i})=>{if(!p(t))return;let s=[];n.forEach(((n,i)=>{s.push(...this._findMatches({key:n,value:t[i],searcher:e}))})),s.length&&r.push({idx:i,item:t,matches:s})})),r}_findMatches({key:t,value:e,searcher:n}){if(!p(e))return[];let r=[];if(i(e))e.forEach((({v:e,i,n:s})=>{if(!p(e))return;const{isMatch:o,score:a,indices:l}=n.searchIn(e);o&&r.push({score:a,key:t,value:e,idx:i,norm:s,indices:l})}));else{const{v:i,n:s}=e,{isMatch:o,score:a,indices:l}=n.searchIn(i);o&&r.push({score:a,key:t,value:i,norm:s,indices:l})}return r}}yt.version="6.4.6",yt.createIndex=M,yt.parseIndex=D,yt.config=C,yt.parseQuery=ft,ot(rt);const bt=/^(14|9)3$/.test(n.j)?yt:null},4269:t=>{
/**
* @preserve
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
*
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
* @see http://github.com/homebrewing/brauhaus-diff
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
* @see http://github.com/garycourt/murmurhash-js
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
* @see http://sites.google.com/site/murmurhash/
*/
(function(){var e;function n(t,i){var r=this instanceof n?this:e;if(r.reset(i),"string"===typeof t&&t.length>0&&r.hash(t),r!==this)return r}n.prototype.hash=function(t){var e,n,i,r,s;switch(s=t.length,this.len+=s,n=this.k1,i=0,this.rem){case 0:n^=s>i?65535&t.charCodeAt(i++):0;case 1:n^=s>i?(65535&t.charCodeAt(i++))<<8:0;case 2:n^=s>i?(65535&t.charCodeAt(i++))<<16:0;case 3:n^=s>i?(255&t.charCodeAt(i))<<24:0,n^=s>i?(65280&t.charCodeAt(i++))>>8:0}if(this.rem=s+this.rem&3,s-=this.rem,s>0){e=this.h1;while(1){if(n=11601*n+3432906752*(65535&n)&4294967295,n=n<<15|n>>>17,n=13715*n+461832192*(65535&n)&4294967295,e^=n,e=e<<13|e>>>19,e=5*e+3864292196&4294967295,i>=s)break;n=65535&t.charCodeAt(i++)^(65535&t.charCodeAt(i++))<<8^(65535&t.charCodeAt(i++))<<16,r=t.charCodeAt(i++),n^=(255&r)<<24^(65280&r)>>8}switch(n=0,this.rem){case 3:n^=(65535&t.charCodeAt(i+2))<<16;case 2:n^=(65535&t.charCodeAt(i+1))<<8;case 1:n^=65535&t.charCodeAt(i)}this.h1=e}return this.k1=n,this},n.prototype.result=function(){var t,e;return t=this.k1,e=this.h1,t>0&&(t=11601*t+3432906752*(65535&t)&4294967295,t=t<<15|t>>>17,t=13715*t+461832192*(65535&t)&4294967295,e^=t),e^=this.len,e^=e>>>16,e=51819*e+2246770688*(65535&e)&4294967295,e^=e>>>13,e=44597*e+3266445312*(65535&e)&4294967295,e^=e>>>16,e>>>0},n.prototype.reset=function(t){return this.h1="number"===typeof t?t:0,this.rem=this.k1=this.len=0,this},e=new n,t.exports=n})()},32521:(t,e,n)=>{"use strict";n.d(e,{Dy:()=>a,G0:()=>ot,IM:()=>it,IX:()=>N,Ii:()=>at,O7:()=>T,Rn:()=>p,S1:()=>v,Vp:()=>d,X1:()=>L,Yj:()=>vt,Z_:()=>w,_4:()=>_,dt:()=>F,i0:()=>j,iG:()=>Ot,jV:()=>ct,lB:()=>m,mI:()=>E,mM:()=>X,pD:()=>z,pk:()=>S,r$:()=>K,rw:()=>rt,sH:()=>q,ts:()=>I,yR:()=>l});var i=n(48973),r=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(){return s=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)},o=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,r++)i[r]=s[o];return i},a=function(){function t(t,e,n,i){this.name=t,this.is=e,this.validate=n,this.encode=i,this.decode=this.decode.bind(this)}return t.prototype.pipe=function(e,n){var r=this;return void 0===n&&(n="pipe("+this.name+", "+e.name+")"),new t(n,e.is,(function(t,n){var s=r.validate(t,n);return(0,i.nM)(s)?s:e.validate(s.right,n)}),this.encode===l&&e.encode===l?l:function(t){return r.encode(e.encode(t))})},t.prototype.asDecoder=function(){return this},t.prototype.asEncoder=function(){return this},t.prototype.decode=function(t){return this.validate(t,[{key:"",type:this,actual:t}])},t}(),l=function(t){return t},c=function(t){return t.displayName||t.name||"<function"+t.length+">"},u=function(t,e,n,i){for(var r=t.length,s=Array(r+1),o=0;o<r;o++)s[o]=t[o];return s[r]={key:e,type:n,actual:i},s},h=i.t$,p=function(t,e,n){return h([{value:t,context:e,message:n}])},d=i.F2,f=function(t,e){for(var n=e.length,i=0;i<n;i++)t.push(e[i])},O=function(t){function e(){var e=t.call(this,"null",(function(t){return null===t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="NullType",e}return r(e,t),e}(a),m=new O,g=function(t){function e(){var e=t.call(this,"undefined",(function(t){return void 0===t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="UndefinedType",e}return r(e,t),e}(a),v=new g,y=function(t){function e(){var e=t.call(this,"void",v.is,v.validate,l)||this;return e._tag="VoidType",e}return r(e,t),e}(a),b=(new y,function(t){function e(){var e=t.call(this,"unknown",(function(t){return!0}),d,l)||this;return e._tag="UnknownType",e}return r(e,t),e}(a)),_=new b,x=function(t){function e(){var e=t.call(this,"string",(function(t){return"string"===typeof t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="StringType",e}return r(e,t),e}(a),w=new x,$=function(t){function e(){var e=t.call(this,"number",(function(t){return"number"===typeof t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="NumberType",e}return r(e,t),e}(a),S=new $,k=function(t){function e(){var e=t.call(this,"bigint",(function(t){return"bigint"===typeof t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="BigIntType",e}return r(e,t),e}(a),Q=(new k,function(t){function e(){var e=t.call(this,"boolean",(function(t){return"boolean"===typeof t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="BooleanType",e}return r(e,t),e}(a)),T=new Q,P=function(t){function e(){var e=t.call(this,"UnknownArray",Array.isArray,(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="AnyArrayType",e}return r(e,t),e}(a),C=new P,A=function(t){function e(){var e=t.call(this,"UnknownRecord",(function(t){var e=Object.prototype.toString.call(t);return"[object Object]"===e||"[object Window]"===e}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="AnyDictionaryType",e}return r(e,t),e}(a),E=new A,R=function(t){function e(){var e=t.call(this,"Function",(function(t){return"function"===typeof t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="FunctionType",e}return r(e,t),e}(a),M=(new R,function(t){function e(e,n,i,r,s,o){var a=t.call(this,e,n,i,r)||this;return a.type=s,a.predicate=o,a._tag="RefinementType",a}return r(e,t),e}(a)),D=function(t,e,n){return bt(t,e,n)},z=(D(S,(function(t){return Number.isInteger(t)}),"Int"),function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.value=s,o._tag="LiteralType",o}return r(e,t),e}(a)),j=function(t,e){void 0===e&&(e=JSON.stringify(t));var n=function(e){return e===t};return new z(e,n,(function(e,i){return n(e)?d(t):p(e,i)}),l,t)},Z=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.keys=s,o._tag="KeyofType",o}return r(e,t),e}(a),V=Object.prototype.hasOwnProperty,X=function(t,e){void 0===e&&(e=Object.keys(t).map((function(t){return JSON.stringify(t)})).join(" | "));var n=function(e){return w.is(e)&&V.call(t,e)};return new Z(e,n,(function(t,e){return n(t)?d(t):p(t,e)}),l,t)},W=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.runDefinition=s,o._tag="RecursiveType",o}return r(e,t),e}(a);Object.defineProperty(W.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var q=function(t,e){var n,i=function(){return n||(n=e(r),n.name=t),n},r=new W(t,(function(t){return i().is(t)}),(function(t,e){return i().validate(t,e)}),(function(t){return i().encode(t)}),i);return r},I=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.type=s,o._tag="ArrayType",o}return r(e,t),e}(a),N=function(t,e){return void 0===e&&(e="Array<"+t.name+">"),new I(e,(function(e){return C.is(e)&&e.every(t.is)}),(function(e,n){var r=C.validate(e,n);if((0,i.nM)(r))return r;for(var s=r.right,o=s.length,a=s,l=[],c=0;c<o;c++){var p=s[c],O=t.validate(p,u(n,String(c),t,p));if((0,i.nM)(O))f(l,O.left);else{var m=O.right;m!==p&&(a===s&&(a=s.slice()),a[c]=m)}}return l.length>0?h(l):d(a)}),t.encode===l?l:function(e){return e.map(t.encode)},t)},L=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.props=s,o._tag="InterfaceType",o}return r(e,t),e}(a),B=function(t){return Object.keys(t).map((function(e){return e+": "+t[e].name})).join(", ")},U=function(t){for(var e=0;e<t.length;e++)if(t[e].encode!==l)return!1;return!0},Y=function(t){return"{ "+B(t)+" }"},F=function(t,e){void 0===e&&(e=Y(t));var n=Object.keys(t),r=n.map((function(e){return t[e]})),o=n.length;return new L(e,(function(t){if(E.is(t)){for(var e=0;e<o;e++){var i=n[e],s=t[i];if(void 0===s&&!V.call(t,i)||!r[e].is(s))return!1}return!0}return!1}),(function(t,e){var a=E.validate(t,e);if((0,i.nM)(a))return a;for(var l=a.right,c=l,p=[],O=0;O<o;O++){var m=n[O],g=c[m],v=r[O],y=v.validate(g,u(e,m,v,g));if((0,i.nM)(y))f(p,y.left);else{var b=y.right;(b!==g||void 0===b&&!V.call(c,m))&&(c===l&&(c=s({},l)),c[m]=b)}}return p.length>0?h(p):d(c)}),U(r)?l:function(t){for(var e=s({},t),i=0;i<o;i++){var a=n[i],c=r[i].encode;c!==l&&(e[a]=c(t[a]))}return e},t)},G=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.props=s,o._tag="PartialType",o}return r(e,t),e}(a),H=function(t){return"Partial<"+t+">"},K=function(t,e){void 0===e&&(e=H(Y(t)));var n=Object.keys(t),r=n.map((function(e){return t[e]})),o=n.length;return new G(e,(function(e){if(E.is(e)){for(var i=0;i<o;i++){var r=n[i],s=e[r];if(void 0!==s&&!t[r].is(s))return!1}return!0}return!1}),(function(e,r){var a=E.validate(e,r);if((0,i.nM)(a))return a;for(var l=a.right,c=l,p=[],O=0;O<o;O++){var m=n[O],g=c[m],v=t[m],y=v.validate(g,u(r,m,v,g));if((0,i.nM)(y))void 0!==g&&f(p,y.left);else{var b=y.right;b!==g&&(c===l&&(c=s({},l)),c[m]=b)}}return p.length>0?h(p):d(c)}),U(r)?l:function(t){for(var e=s({},t),i=0;i<o;i++){var a=n[i],l=t[a];void 0!==l&&(e[a]=r[i].encode(l))}return e},t)},J=function(t){function e(e,n,i,r,s,o){var a=t.call(this,e,n,i,r)||this;return a.domain=s,a.codomain=o,a._tag="DictionaryType",a}return r(e,t),e}(a);function tt(t,e,n,r){void 0===r&&(r="{ [K in "+e.name+"]: "+n.name+" }");var s=t.length;return new J(r,(function(e){return E.is(e)&&t.every((function(t){return n.is(e[t])}))}),(function(e,r){var o=E.validate(e,r);if((0,i.nM)(o))return o;for(var a=o.right,l={},c=[],p=!1,O=0;O<s;O++){var m=t[O],g=a[m],v=n.validate(g,u(r,m,n,g));if((0,i.nM)(v))f(c,v.left);else{var y=v.right;p=p||y!==g,l[m]=y}}return c.length>0?h(c):d(p||Object.keys(a).length!==s?l:a)}),n.encode===l?l:function(e){for(var i={},r=0;r<s;r++){var o=t[r];i[o]=n.encode(e[o])}return i},e,n)}function et(t){var e;if(Qt(t)){var n=t.value;if(w.is(n))return e={},e[n]=null,e}else{if(Tt(t))return t.keys;if(Dt(t)){var i=t.types.map((function(t){return et(t)}));return i.some(v.is)?void 0:Object.assign.apply(Object,o([{}],i))}}}function nt(t,e,n){return void 0===n&&(n="{ [K in "+t.name+"]: "+e.name+" }"),new J(n,(function(n){return E.is(n)?Object.keys(n).every((function(i){return t.is(i)&&e.is(n[i])})):kt(e)&&Array.isArray(n)}),(function(n,r){if(E.is(n)){for(var s={},o=[],a=Object.keys(n),l=a.length,c=!1,O=0;O<l;O++){var m=a[O],g=n[m],v=t.validate(m,u(r,m,t,m));if((0,i.nM)(v))f(o,v.left);else{var y=v.right;c=c||y!==m,m=y;var b=e.validate(g,u(r,m,e,g));if((0,i.nM)(b))f(o,b.left);else{var _=b.right;c=c||_!==g,s[m]=_}}}return o.length>0?h(o):d(c?s:n)}return kt(e)&&Array.isArray(n)?d(n):p(n,r)}),t.encode===l&&e.encode===l?l:function(n){for(var i={},r=Object.keys(n),s=r.length,o=0;o<s;o++){var a=r[o];i[String(t.encode(a))]=e.encode(n[a])}return i},t,e)}function it(t,e,n){var i=et(t);return i?tt(Object.keys(i),t,e,n):nt(t,e,n)}var rt=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.types=s,o._tag="UnionType",o}return r(e,t),e}(a),st=function(t){return"("+t.map((function(t){return t.name})).join(" | ")+")"},ot=function(t,e){void 0===e&&(e=st(t));var n=Vt(t);if(void 0!==n&&t.length>0){var r=n[0],s=n[1],o=s.length,a=function(t){for(var e=0;e<o;e++)if(-1!==s[e].indexOf(t))return e};return new ut(e,(function(e){if(E.is(e)){var n=a(e[r]);return void 0!==n&&t[n].is(e)}return!1}),(function(e,n){var s=E.validate(e,n);if((0,i.nM)(s))return s;var o=s.right,l=a(o[r]);if(void 0===l)return p(e,n);var c=t[l];return c.validate(o,u(n,String(l),c,o))}),U(t)?l:function(n){var i=a(n[r]);if(void 0===i)throw new Error("no codec found to encode value in union codec "+e);return t[i].encode(n)},t,r)}return new rt(e,(function(e){return t.some((function(t){return t.is(e)}))}),(function(e,n){for(var r=[],s=0;s<t.length;s++){var o=t[s],a=o.validate(e,u(n,String(s),o,e));if(!(0,i.nM)(a))return d(a.right);f(r,a.left)}return h(r)}),U(t)?l:function(n){for(var i=0,r=t;i<r.length;i++){var s=r[i];if(s.is(n))return s.encode(n)}throw new Error("no codec found to encode value in union type "+e)},t)},at=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.types=s,o._tag="IntersectionType",o}return r(e,t),e}(a),lt=function(t,e){for(var n=!0,i=!0,r=!E.is(t),s=0,o=e;s<o.length;s++){var a=o[s];a!==t&&(n=!1),E.is(a)&&(i=!1)}if(n)return t;if(i)return e[e.length-1];for(var l={},c=0,u=e;c<u.length;c++){a=u[c];for(var h in a)l.hasOwnProperty(h)&&!r&&a[h]===t[h]||(l[h]=a[h])}return l};function ct(t,e){void 0===e&&(e="("+t.map((function(t){return t.name})).join(" & ")+")");var n=t.length;return new at(e,(function(e){return t.every((function(t){return t.is(e)}))}),0===t.length?d:function(e,r){for(var s=[],o=[],a=0;a<n;a++){var l=t[a],c=l.validate(e,u(r,String(a),l,e));(0,i.nM)(c)?f(o,c.left):s.push(c.right)}return o.length>0?h(o):d(lt(e,s))},0===t.length?l:function(e){return lt(e,t.map((function(t){return t.encode(e)})))},t)}(function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.types=s,o._tag="TupleType",o}r(e,t)})(a);(function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.type=s,o._tag="ReadonlyType",o}r(e,t)})(a),function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.type=s,o._tag="ReadonlyArrayType",o}r(e,t)}(a);var ut=function(t){function e(e,n,i,r,s,o){var a=t.call(this,e,n,i,r,s)||this;return a.tag=o,a}return r(e,t),e}(rt),ht=function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.type=s,o._tag="ExactType",o}return r(e,t),e}(a),pt=function(t){switch(t._tag){case"RefinementType":case"ReadonlyType":return pt(t.type);case"InterfaceType":case"StrictType":case"PartialType":return t.props;case"IntersectionType":return t.types.reduce((function(t,e){return Object.assign(t,pt(e))}),{})}},dt=function(t,e){for(var n=Object.getOwnPropertyNames(t),i=!1,r={},s=0;s<n.length;s++){var o=n[s];V.call(e,o)?r[o]=t[o]:i=!0}return i?r:t},ft=function(t){return Pt(t)?"{| "+B(t.props)+" |}":Ct(t)?H("{| "+B(t.props)+" |}"):"Exact<"+t.name+">"},Ot=function(t,e){void 0===e&&(e=ft(t));var n=pt(t);return new ht(e,t.is,(function(e,r){var s=E.validate(e,r);if((0,i.nM)(s))return s;var o=t.validate(e,r);return(0,i.nM)(o)?o:(0,i.F2)(dt(o.right,n))}),(function(e){return t.encode(dt(e,n))}),t)},mt=function(t){function e(){var e=t.call(this,"never",(function(t){return!1}),(function(t,e){return p(t,e)}),(function(){throw new Error("cannot encode never")}))||this;return e._tag="NeverType",e}return r(e,t),e}(a),gt=(new mt,function(t){function e(){var e=t.call(this,"any",(function(t){return!0}),d,l)||this;return e._tag="AnyType",e}return r(e,t),e}(a)),vt=new gt,yt=function(t){function e(){var e=t.call(this,"object",(function(t){return null!==t&&"object"===typeof t}),(function(t,n){return e.is(t)?d(t):p(t,n)}),l)||this;return e._tag="ObjectType",e}return r(e,t),e}(a);new yt;function bt(t,e,n){return void 0===n&&(n="("+t.name+" | "+c(e)+")"),new M(n,(function(n){return t.is(n)&&e(n)}),(function(n,r){var s=t.validate(n,r);if((0,i.nM)(s))return s;var o=s.right;return e(o)?d(o):p(o,r)}),t.encode,t,e)}bt(S,Number.isInteger,"Integer"),function(t){function e(e,n,i,r,s){var o=t.call(this,e,n,i,r)||this;return o.props=s,o._tag="StrictType",o}r(e,t)}(a);var _t=function(t){return t.length>0},xt={};function wt(t,e){for(var n=[],i=0,r=t;i<r.length;i++){var s=r[i];-1!==e.indexOf(s)&&n.push(s)}return n}function $t(t,e){if(t===xt)return e;if(e===xt)return t;var n=Object.assign({},t);for(var i in e)if(t.hasOwnProperty(i)){var r=wt(t[i],e[i]);if(!_t(r)){n=xt;break}n[i]=r}else n[i]=e[i];return n}function St(t,e){if(t===xt||e===xt)return xt;var n=xt;for(var i in t)if(e.hasOwnProperty(i)){var r=wt(t[i],e[i]);0===r.length&&(n===xt&&(n={}),n[i]=t[i].concat(e[i]))}return n}function kt(t){return"AnyType"===t._tag}function Qt(t){return"LiteralType"===t._tag}function Tt(t){return"KeyofType"===t._tag}function Pt(t){return"InterfaceType"===t._tag}function Ct(t){return"PartialType"===t._tag}function At(t){return"StrictType"===t._tag}function Et(t){return"ExactType"===t._tag}function Rt(t){return"RefinementType"===t._tag}function Mt(t){return"IntersectionType"===t._tag}function Dt(t){return"UnionType"===t._tag}function zt(t){return"RecursiveType"===t._tag}var jt=[];function Zt(t){if(-1!==jt.indexOf(t))return xt;if(Pt(t)||At(t)){var e=xt;for(var n in t.props){var i=t.props[n];Qt(i)&&(e===xt&&(e={}),e[n]=[i.value])}return e}if(Et(t)||Rt(t))return Zt(t.type);if(Mt(t))return t.types.reduce((function(t,e){return $t(t,Zt(e))}),xt);if(Dt(t))return t.types.slice(1).reduce((function(t,e){return St(t,Zt(e))}),Zt(t.types[0]));if(zt(t)){jt.push(t);var r=Zt(t.type);return jt.pop(),r}return xt}function Vt(t){var e=Zt(t[0]),n=Object.keys(e),i=t.length,r=function(n){for(var r=e[n].slice(),s=[e[n]],o=1;o<i;o++){var a=t[o],l=Zt(a),c=l[n];if(void 0===c)return"continue-keys";if(c.some((function(t){return-1!==r.indexOf(t)})))return"continue-keys";r.push.apply(r,c),s.push(c)}return{value:[n,s]}};t:for(var s=0,o=n;s<o.length;s++){var a=o[s],l=r(a);if("object"===typeof l)return l.value;switch(l){case"continue-keys":continue t}}}},48738:t=>{function e(t){return!!t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function n(t){return"function"===typeof t.readFloatLE&&"function"===typeof t.slice&&e(t.slice(0,0))}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(t){return null!=t&&(e(t)||n(t)||!!t._isBuffer)}},51833:t=>{"use strict";
/*!
* is-extendable <https://github.com/jonschlinkert/is-extendable>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
*/t.exports=function(t){return"undefined"!==typeof t&&null!==t&&("object"===typeof t||"function"===typeof t)}},9400:t=>{"use strict";
/*!
* is-whitespace <https://github.com/jonschlinkert/is-whitespace>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License.
*/var e;function n(){return e||(e=new RegExp('^[\\s\t\n\v\f\r \u2028\u2029\ufeff"]+$'))}t.exports=function(t){return"string"===typeof t&&n().test(t)}},84204:(t,e,n)=>{"use strict";var i,r;function s(t,e,n){var i=function(e,n){return t.js_beautify(e,n)};return i.js=t.js_beautify,i.css=e.css_beautify,i.html=n.html_beautify,i.js_beautify=t.js_beautify,i.css_beautify=e.css_beautify,i.html_beautify=n.html_beautify,i}i=[n(77937),n(85040),n(3566)],r=function(t,e,n){return s(t,e,n)}.apply(e,i),void 0===r||(t.exports=r)},85040:(t,e)=>{var n,i;(function(){var r=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([,,function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function s(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},r.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},s.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},s.prototype.get_line_number=function(){return this.__lines.length},s.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},s.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},s.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},s.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},s.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},s.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},s.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},s.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},s.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},s.prototype.just_added_newline=function(){return this.current_line.is_empty()},s.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},s.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=s},,,,function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=s(t),t)n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function s(t){var e,n={};for(e in t){var i=e.replace(/-/g,"_");n[i]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t],i=void 0===n?!!e:!!n;return i},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=s,t.exports.mergeOpts=r},,function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},r.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||i&&t.sticky||n.index!==e&&(n=null),n},r.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},r.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},r.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},r.prototype.read=function(t,e,n){var i,r="";return t&&(i=this.match(t),i&&(r+=i[0])),!e||!i&&t||(r+=this.readUntil(e,n)),r},r.prototype.readUntil=function(t,e){var n="",i=this.__position;t.lastIndex=this.__position;var r=t.exec(this.__input);return r?(i=r.index,e&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},r.prototype.get_regexp=function(t,e){var n=null,r="g";return e&&i&&(r="y"),"string"===typeof t&&""!==t?n=new RegExp(t,r):t&&(n=new RegExp(t.source,r)),n},r.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},r.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},,,,,function(t,e,n){"use strict";function i(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},,function(t,e,n){"use strict";var i=n(16).Beautifier,r=n(17).Options;function s(t,e){var n=new i(t,e);return n.beautify()}t.exports=s,t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(17).Options,r=n(2).Output,s=n(8).InputScanner,o=n(13).Directives,a=new o(/\/\*/,/\*\//),l=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g,u=/\s/,h=/(?:\s|\n)+/g,p=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function f(t,e){this._source_text=t||"",this._options=new i(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}f.prototype.eatString=function(t){var e="";this._ch=this._input.next();while(this._ch){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},f.prototype.eatWhitespace=function(t){var e=u.test(this._input.peek()),n=!0;while(u.test(this._input.peek()))this._ch=this._input.next(),t&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return e},f.prototype.foundNestedPseudoClass=function(){var t=0,e=1,n=this._input.peek(e);while(n){if("{"===n)return!0;if("("===n)t+=1;else if(")"===n){if(0===t)return!1;t-=1}else if(";"===n||"}"===n)return!1;e++,n=this._input.peek(e)}return!1},f.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)},f.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)},f.prototype.indent=function(){this._indentLevel++},f.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===e&&(e="\n",t&&l.test(t||"")&&(e=t.match(l)[0])),t=t.replace(c,"\n");var n=t.match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new s(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var i,o,f,O=0,m=!1,g=!1,v=!1,y=!1,b=!1,_=this._ch;while(1){if(i=this._input.read(h),o=""!==i,f=_,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),_=this._ch,!this._ch)break;if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var x=this._input.read(p),w=a.get_directives(x);w&&"start"===w.ignore&&(x+=a.readIgnored(this._input)),this.print_string(x),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(o),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var $=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);$.match(/[ :]$/)&&($=this.eatString(": ").replace(/\s$/,""),this.print_string($),this._output.space_before_token=!0),$=$.replace(/\s$/,""),"extend"===$?y=!0:"import"===$&&(b=!0),$ in this.NESTED_AT_RULE?(this._nestedLevel+=1,$ in this.CONDITIONAL_GROUP_RULE&&(v=!0)):m||0!==O||-1===$.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(o),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),v?(v=!1,m=this._indentLevel>=this._nestedLevel):m=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&m&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===f&&this._output.trim(!0),b=!1,y=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),m=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!m&&!v||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||y||0!==O?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(o),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===O?(g&&(this.outdent(),g=!1),y=!1,b=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),O++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),O&&(O--,this.outdent()))):(this.preserveSingleSpace(o),this.print_string(this._ch),this.eatWhitespace(),O++,this.indent()):")"===this._ch?(O&&(O--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==O||b?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==O?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(o),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),u.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(o),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&u.test(this._ch)&&(this._ch=""))}var S=this._output.get_code(e);return S},t.exports.Beautifier=f},function(t,e,n){"use strict";var i=n(6).Options;function r(t){i.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var r=0;r<n.length;r++)"expand"!==n[r]?this.brace_style="collapse":this.brace_style=n[r]}r.prototype=new i,t.exports.Options=r}]),s=r;n=[],i=function(){return{css_beautify:s}}.apply(e,n),void 0===i||(t.exports=i)})()},3566:(t,e,n)=>{var i,r;(function(){var s=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=18)}([,,function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function s(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},r.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},s.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},s.prototype.get_line_number=function(){return this.__lines.length},s.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},s.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},s.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},s.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},s.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},s.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},s.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},s.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},s.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},s.prototype.just_added_newline=function(){return this.current_line.is_empty()},s.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},s.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=s},function(t,e,n){"use strict";function i(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=i},,,function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=s(t),t)n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function s(t){var e,n={};for(e in t){var i=e.replace(/-/g,"_");n[i]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t],i=void 0===n?!!e:!!n;return i},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=s,t.exports.mergeOpts=r},,function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},r.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||i&&t.sticky||n.index!==e&&(n=null),n},r.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},r.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},r.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},r.prototype.read=function(t,e,n){var i,r="";return t&&(i=this.match(t),i&&(r+=i[0])),!e||!i&&t||(r+=this.readUntil(e,n)),r},r.prototype.readUntil=function(t,e){var n="",i=this.__position;t.lastIndex=this.__position;var r=t.exec(this.__input);return r?(i=r.index,e&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},r.prototype.get_regexp=function(t,e){var n=null,r="g";return e&&i&&(r="y"),"string"===typeof t&&""!==t?n=new RegExp(t,r):t&&(n=new RegExp(t.source,r)),n},r.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},r.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(3).Token,s=n(10).TokenStream,o=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new s,this._reset();var e=new r(a.START,""),n=null,i=[],o=new s;while(e.type!==a.EOF){t=this._get_next_token(e,n);while(this._is_comment(t))o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new s),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(t){return!1},l.prototype._is_opening=function(t){return!1},l.prototype._is_closing=function(t,e){return!1},l.prototype._create_token=function(t,e){var n=new r(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return n},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=l,t.exports.TOKEN=a},function(t,e,n){"use strict";function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e},i.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},t.exports.TokenStream=i},function(t,e,n){"use strict";var i=n(12).Pattern;function r(t,e){i.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(" "===t)this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t},r.prototype.matching=function(t,e){var n=this._create();return n.__set_whitespace_patterns(t,e),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(t,e){t.lastIndex=0;var n=0,i=[],r=t.exec(e);while(r)i.push(e.substring(n,r.index)),n=r.index+r[0].length,r=t.exec(e);return n<e.length?i.push(e.substring(n,e.length)):i.push(""),i},t.exports.WhitespacePattern=r},function(t,e,n){"use strict";function i(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}i.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},t.exports.Pattern=i},function(t,e,n){"use strict";function i(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},function(t,e,n){"use strict";var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function s(t,e){i.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var n=new i(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}s.prototype=new i,s.prototype._create=function(){return new s(this._input,this)},s.prototype._update=function(){this.__set_templated_pattern()},s.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},s.prototype.read_options=function(t){var e=this._create();for(var n in r)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},s.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},s.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var e=this._read_template();while(e)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},s.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},s.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=s},,,,function(t,e,n){"use strict";var i=n(19).Beautifier,r=n(20).Options;function s(t,e,n,r){var s=new i(t,e,n,r);return s.beautify()}t.exports=s,t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(20).Options,r=n(2).Output,s=n(21).Tokenizer,o=n(21).TOKEN,a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new r(t,e)};c.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)},c.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(t){this._output.add_raw_token(t)},c.prototype.print_preserved_newlines=function(t){var e=0;t.type!==o.TEXT&&t.previous.type!==o.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines<this.max_preserve_newlines+1?t.newlines:this.max_preserve_newlines+1);for(var n=0;n<e;n++)this.print_newline(n>0);return 0!==e},c.prototype.traverse_whitespace=function(t){return!(!t.whitespace_before&&!t.newlines)&&(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(t){this._output.add_new_line(t)},c.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(t){return t=this.indent_level+(t||0),t<1?"":this._output.get_indent_string(t)};var u=function(t){var e=null,n=t.next;while(n.type!==o.EOF&&t.closed!==n){if(n.type===o.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===o.EQUALS&&n.next.next&&n.next.next.type===o.VALUE&&(e=n.next.next.text);break}n=n.next}return e},h=function(t,e){var n=null,i=null;return e.closed?("script"===t?n="text/javascript":"style"===t&&(n="text/css"),n=u(e)||n,n.search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function p(t,e){return-1!==e.indexOf(t)}function d(t,e,n){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=n||0,this.parser_token=e||null}function f(t){this._printer=t,this._current_frame=null}function O(t,e,n,r){this._source_text=t||"",e=e||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var s=new i(e,"html");this._options=s,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}f.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},f.prototype.record_tag=function(t){var e=new d(this._current_frame,t,this._printer.indent_level);this._current_frame=e},f.prototype._try_pop_frame=function(t){var e=null;return t&&(e=t.parser_token,this._printer.indent_level=t.indent_level,this._current_frame=t.parent),e},f.prototype._get_frame=function(t,e){var n=this._current_frame;while(n){if(-1!==t.indexOf(n.tag))break;if(e&&-1!==e.indexOf(n.tag)){n=null;break}n=n.parent}return n},f.prototype.try_pop=function(t,e){var n=this._get_frame([t],e);return this._try_pop_frame(n)},f.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)},O.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&a.test(t)&&(e=t.match(a)[0])),t=t.replace(l,"\n");var n=t.match(/^[\t ]*/)[0],i={text:"",type:""},r=new m,u=new c(this._options,n),h=new s(t,this._options).tokenize();this._tag_stack=new f(u);var p=null,d=h.next();while(d.type!==o.EOF)d.type===o.TAG_OPEN||d.type===o.COMMENT?(p=this._handle_tag_open(u,d,r,i),r=p):d.type===o.ATTRIBUTE||d.type===o.EQUALS||d.type===o.VALUE||d.type===o.TEXT&&!r.tag_complete?p=this._handle_inside_tag(u,d,r,h):d.type===o.TAG_CLOSE?p=this._handle_tag_close(u,d,r):d.type===o.TEXT?p=this._handle_text(u,d,r):u.add_raw_token(d),i=p,d=h.next();var O=u._output.get_code(e);return O},O.prototype._handle_tag_close=function(t,e,n){var i={text:e.text,type:e.type};return t.alignment_size=0,n.tag_complete=!0,t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted?t.add_raw_token(e):("<"===n.tag_start_char&&(t.set_space_before_token("/"===e.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&t.print_newline(!1)),t.print_token(e)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(t.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||t.set_wrap_point(),i},O.prototype._handle_inside_tag=function(t,e,n,i){var r=n.has_wrapped_attrs,s={text:e.text,type:e.type};if(t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted)t.add_raw_token(e);else if("{"===n.tag_start_char&&e.type===o.TEXT)t.print_preserved_newlines(e)?(e.newlines=0,t.add_raw_token(e)):t.print_token(e);else{if(e.type===o.ATTRIBUTE?(t.set_space_before_token(!0),n.attr_count+=1):(e.type===o.EQUALS||e.type===o.VALUE&&e.previous.type===o.EQUALS)&&t.set_space_before_token(!1),e.type===o.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(t.traverse_whitespace(e),r=r||0!==e.newlines),this._is_wrap_attributes_force)){var a=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,u=0;do{if(l=i.peek(u),l.type===o.ATTRIBUTE){c=!1;break}u+=1}while(u<4&&l.type!==o.EOF&&l.type!==o.TAG_CLOSE);a=!c}a&&(t.print_newline(!1),r=!0)}t.print_token(e),r=r||t.previous_token_wrapped(),n.has_wrapped_attrs=r}return s},O.prototype._handle_text=function(t,e,n){var i={text:e.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(t,e,n):n.is_unformatted||n.is_content_unformatted?t.add_raw_token(e):(t.traverse_whitespace(e),t.print_token(e)),i},O.prototype._print_custom_beatifier_text=function(t,e,n){var i=this;if(""!==e.text){var r,s=e.text,o=1,a="",l="";"javascript"===n.custom_beautifier_name&&"function"===typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"===typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(t,e){var n=new O(t,e,i._js_beautify,i._css_beautify);return n.beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-t.indent_level);var c=t.get_full_indent(o);if(s=s.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===s[0]&&s.match(/^(<!--|<!\[CDATA\[)/)){var u=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(s);if(!u)return void t.add_raw_token(e);a=c+u[1]+"\n",s=u[4],u[5]&&(l=c+u[5]),s=s.replace(/\n[ \t]*$/,""),(u[2]||-1!==u[3].indexOf("\n"))&&(u=u[3].match(/[ \t]+$/),u&&(e.whitespace_before=u[0]))}if(s)if(r){var h=function(){this.eol="\n"};h.prototype=this._options.raw_options;var p=new h;s=r(c+s,p)}else{var d=e.whitespace_before;d&&(s=s.replace(new RegExp("\n("+d+")?","g"),"\n")),s=c+s.replace(/\n/g,"\n"+c)}a&&(s=s?a+s+"\n"+l:a+l),t.print_newline(!1),s&&(e.text=s,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}},O.prototype._handle_tag_open=function(t,e,n,i){var r=this._get_tag_open_token(e);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||e.type!==o.TAG_OPEN||0!==e.text.indexOf("</")?(t.traverse_whitespace(e),this._set_tag_position(t,e,r,n,i),r.is_inline_element||t.set_wrap_point(),t.print_token(e)):(t.add_raw_token(e),r.start_tag_token=this._tag_stack.try_pop(r.tag_name)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=e.text.length+1),r.tag_complete||r.is_unformatted||(t.alignment_size=r.alignment_size),r};var m=function(t,e){var n;(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",e)?(this.tag_start_char=e.text[0],this.text=e.text,"<"===this.tag_start_char?(n=e.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=e.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===e.text&&">"===this.tag_check&&null!==e.next&&(this.tag_check=e.next.text)),this.tag_check=this.tag_check.toLowerCase(),e.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&"/>"===e.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};O.prototype._get_tag_open_token=function(t){var e=new m(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||p(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&p(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&p(e.tag_check,this._options.content_unformatted),e.is_inline_element=p(e.tag_name,this._options.inline)||"{"===e.tag_start_char,e},O.prototype._set_tag_position=function(t,e,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=h(n.tag_check,e)))),p(n.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check){this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0;var s=t.current_line_has_match(/{{#if/);s||t.print_newline(!1)}"!--"===n.tag_name&&r.type===o.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n))}else if(n.is_end_tag){var a=!1;a=n.start_tag_token&&n.start_tag_token.multiline_content,a=a||!n.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(r.type===o.TAG_CLOSE&&n.start_tag_token===i)&&"TK_CONTENT"!==r.type,(n.is_content_unformatted||n.is_unformatted)&&(a=!1),a&&t.print_newline(!1)}else n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||n.is_unformatted||"TK_CONTENT"===r.type&&!n.is_content_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n)},O.prototype._calcluate_parent_multiline=function(t,e){!e.parent||!t._output.just_added_newline()||(e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element||(e.parent.multiline_content=!0)};var g=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],v=["a","audio","del","ins","map","noscript","video"];O.prototype._do_optional_end_element=function(t){var e=null;if(!t.is_empty_element&&t.is_start_tag&&t.parent){if("body"===t.tag_name)e=e||this._tag_stack.try_pop("head");else if("li"===t.tag_name)e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===t.tag_name||"dt"===t.tag_name)e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if("p"===t.parent.tag_name&&-1!==g.indexOf(t.tag_name)){var n=t.parent.parent;n&&-1!==v.indexOf(n.tag_name)||(e=e||this._tag_stack.try_pop("p"))}else"rp"===t.tag_name||"rt"===t.tag_name?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):"optgroup"===t.tag_name?e=e||this._tag_stack.try_pop("optgroup",["select"]):"option"===t.tag_name?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===t.tag_name?e=e||this._tag_stack.try_pop("caption",["table"]):"thead"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):"tbody"===t.tag_name||"tfoot"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):"tr"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):"th"!==t.tag_name&&"td"!==t.tag_name||(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}},t.exports.Beautifier=O},function(t,e,n){"use strict";var i=n(6).Options;function r(t){i.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,t.exports.Options=r},function(t,e,n){"use strict";var i=n(9).Tokenizer,r=n(9).TOKEN,s=n(13).Directives,o=n(14).TemplatablePattern,a=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new s(/<\!--/,/-->/),u=function(t,e){i.call(this,t,e),this._current_tag_name="";var n=new o(this._input).read_options(this._options),r=new a(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var s=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(s).until_after(s)}};u.prototype=new i,u.prototype._is_comment=function(t){return!1},u.prototype._is_opening=function(t){return t.type===l.TAG_OPEN},u.prototype._is_closing=function(t,e){return t.type===l.TAG_CLOSE&&e&&((">"===t.text||"/>"===t.text)&&"<"===e.text[0]||"}}"===t.text&&"{"===e.text[0]&&"{"===e.text[1])},u.prototype._reset=function(){this._current_tag_name=""},u.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):(n=n||this._read_open_handlebars(i,e),n=n||this._read_attribute(i,t,e),n=n||this._read_close(i,e),n=n||this._read_raw_content(i,t,e),n=n||this._read_content_word(i),n=n||this._read_comment_or_cdata(i),n=n||this._read_processing(i),n=n||this._read_open(i,e),n=n||this._create_token(l.UNKNOWN,this._input.next()),n)},u.prototype._read_comment_or_cdata=function(t){var e=null,n=null,i=null;if("<"===t){var r=this._input.peek(1);"!"===r&&(n=this.__patterns.comment.read(),n?(i=c.get_directives(n),i&&"start"===i.ignore&&(n+=c.readIgnored(this._input))):n=this.__patterns.cdata.read()),n&&(e=this._create_token(l.COMMENT,n),e.directives=i)}return e},u.prototype._read_processing=function(t){var e=null,n=null,i=null;if("<"===t){var r=this._input.peek(1);"!"!==r&&"?"!==r||(n=this.__patterns.conditional_comment.read(),n=n||this.__patterns.processing.read()),n&&(e=this._create_token(l.COMMENT,n),e.directives=i)}return e},u.prototype._read_open=function(t,e){var n=null,i=null;return e||"<"===t&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},u.prototype._read_open_handlebars=function(t,e){var n=null,i=null;return e||this._options.indent_handlebars&&"{"===t&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=this.__patterns.handlebars_comment.read(),n=n||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},u.prototype._read_close=function(t,e){var n=null,i=null;return e&&("<"===e.text[0]&&(">"===t||"/"===t&&">"===this._input.peek(1))?(n=this._input.next(),"/"===t&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===e.text[0]&&"}"===t&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},u.prototype._read_attribute=function(t,e,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===t)i=this._create_token(l.EQUALS,this._input.next());else if('"'===t||"'"===t){var s=this._input.next();s+='"'===t?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,s)}else r=this.__patterns.attribute.read(),r&&(i=e.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},u.prototype._is_content_unformatted=function(t){return-1===this._options.void_elements.indexOf(t)&&(-1!==this._options.content_unformatted.indexOf(t)||-1!==this._options.unformatted.indexOf(t))},u.prototype._read_raw_content=function(t,e,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(e.type===l.TAG_CLOSE&&"<"===e.opened.text[0]&&"/"!==e.text[0]){var r=e.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var s=this._read_comment_or_cdata(t);if(s)return s.type=l.TEXT,s;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},u.prototype._read_content_word=function(t){var e="";if(this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]&&(e=this.__patterns.unformatted_content_delimiter.read()),e||(e=this.__patterns.word.read()),e)return this._create_token(l.TEXT,e)},t.exports.Tokenizer=u,t.exports.TOKEN=l}]),o=s;i=[n,n(77937),n(85040)],r=function(t){var e=n(77937),i=n(85040);return{html_beautify:function(t,n){return o(t,n,e.js_beautify,i.css_beautify)}}}.apply(e,i),void 0===r||(t.exports=r)})()},77937:(t,e)=>{var n,i;(function(){var r=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var i=n(1).Beautifier,r=n(5).Options;function s(t,e){var n=new i(t,e);return n.beautify()}t.exports=s,t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(2).Output,r=n(3).Token,s=n(4),o=n(5).Options,a=n(7).Tokenizer,l=n(7).line_starters,c=n(7).positionable_operators,u=n(7).TOKEN;function h(t,e){return-1!==e.indexOf(t)}function p(t){return t.replace(/^\s+/g,"")}function d(t){for(var e={},n=0;n<t.length;n++)e[t[n].replace(/-/g,"_")]=t[n];return e}function f(t,e){return t&&t.type===u.RESERVED&&t.text===e}function O(t,e){return t&&t.type===u.RESERVED&&h(t.text,e)}var m=["case","return","do","if","throw","else","await","break","continue","async"],g=["before-newline","after-newline","preserve-newline"],v=d(g),y=[v.before_newline,v.preserve_newline],b={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function _(t,e){e.multiline_frame||e.mode===b.ForInitializer||e.mode===b.Conditional||t.remove_indent(e.start_line_index)}function x(t){t=t.replace(s.allLineBreaks,"\n");var e=[],n=t.indexOf("\n");while(-1!==n)e.push(t.substring(0,n)),t=t.substring(n+1),n=t.indexOf("\n");return t.length&&e.push(t),e}function w(t){return t===b.ArrayLiteral}function $(t){return h(t,[b.Expression,b.ForInitializer,b.Conditional])}function S(t,e){for(var n=0;n<t.length;n++){var i=t[n].trim();if(i.charAt(0)!==e)return!1}return!0}function k(t,e){for(var n,i=0,r=t.length;i<r;i++)if(n=t[i],n&&0!==n.indexOf(e))return!1;return!0}function Q(t,e){e=e||{},this._source_text=t||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new o(e)}Q.prototype.create_flags=function(t,e){var n=0;t&&(n=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>n&&(n=t.line_indent_level));var i={mode:e,parent:t,last_token:t?t.last_token:new r(u.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0};return i},Q.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new i(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(b.BlockStatement);var n=new a(t,this._options);return this._tokens=n.tokenize(),t},Q.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t,e=this._reset(this._source_text),n=this._options.eol;"auto"===this._options.eol&&(n="\n",e&&s.lineBreak.test(e||"")&&(n=e.match(s.lineBreak)[0]));var i=this._tokens.next();while(i)this.handle_token(i),this._last_last_text=this._flags.last_token.text,this._flags.last_token=i,i=this._tokens.next();return t=this._output.get_code(n),t},Q.prototype.handle_token=function(t,e){t.type===u.START_EXPR?this.handle_start_expr(t):t.type===u.END_EXPR?this.handle_end_expr(t):t.type===u.START_BLOCK?this.handle_start_block(t):t.type===u.END_BLOCK?this.handle_end_block(t):t.type===u.WORD||t.type===u.RESERVED?this.handle_word(t):t.type===u.SEMICOLON?this.handle_semicolon(t):t.type===u.STRING?this.handle_string(t):t.type===u.EQUALS?this.handle_equals(t):t.type===u.OPERATOR?this.handle_operator(t):t.type===u.COMMA?this.handle_comma(t):t.type===u.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===u.COMMENT?this.handle_comment(t,e):t.type===u.DOT?this.handle_dot(t):t.type===u.EOF?this.handle_eof(t):(t.type,u.UNKNOWN,this.handle_unknown(t,e))},Q.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,i=this._options.keep_array_indentation&&w(this._flags.mode);if(t.comments_before){var r=t.comments_before.next();while(r)this.handle_whitespace_and_comments(r,e),this.handle_token(r,e),r=t.comments_before.next()}if(i)for(var s=0;s<n;s+=1)this.print_newline(s>0,e);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,e);for(var o=1;o<n;o+=1)this.print_newline(!0,e)}};var T=["async","break","continue","return","throw","yield"];Q.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=void 0!==e&&e,!this._output.just_added_newline()){var n=this._options.preserve_newlines&&t.newlines||e,i=h(this._flags.last_token.text,c)||h(t.text,c);if(i){var r=h(this._flags.last_token.text,c)&&h(this._options.operator_position,y)||h(t.text,c);n=n&&r}if(n)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(O(this._flags.last_token,T))return;this._output.set_wrap_point()}}},Q.prototype.print_newline=function(t,e){if(!e&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==u.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text)){var n=this._tokens.peek();while(this._flags.mode===b.Statement&&(!this._flags.if_block||!f(n,"else"))&&!this._flags.do_block)this.restore_mode()}this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)},Q.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&("["===t.text||w(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},Q.prototype.print_token=function(t){if(this._output.raw)this._output.add_raw_token(t);else{if(this._options.comma_first&&t.previous&&t.previous.type===u.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},Q.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Q.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},Q.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Q.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===b.Statement&&_(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},Q.prototype.start_of_object_property=function(){return this._flags.parent.mode===b.ObjectLiteral&&this._flags.mode===b.Statement&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||O(this._flags.last_token,["get","set"]))},Q.prototype.start_of_statement=function(t){var e=!1;return e=e||O(this._flags.last_token,["var","let","const"])&&t.type===u.WORD,e=e||f(this._flags.last_token,"do"),e=e||!(this._flags.parent.mode===b.ObjectLiteral&&this._flags.mode===b.Statement)&&O(this._flags.last_token,T)&&!t.newlines,e=e||f(this._flags.last_token,"else")&&!(f(t,"if")&&!t.comments_before),e=e||this._flags.last_token.type===u.END_EXPR&&(this._previous_flags.mode===b.ForInitializer||this._previous_flags.mode===b.Conditional),e=e||this._flags.last_token.type===u.WORD&&this._flags.mode===b.BlockStatement&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==u.WORD&&t.type!==u.RESERVED,e=e||this._flags.mode===b.ObjectLiteral&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||O(this._flags.last_token,["get","set"])),!!e&&(this.set_mode(b.Statement),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,O(t,["do","for","if","while"])),!0)},Q.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=b.Expression;if("["===t.text){if(this._flags.last_token.type===u.WORD||")"===this._flags.last_token.text)return O(this._flags.last_token,l)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=b.ArrayLiteral,w(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),h(this._flags.last_token.type,[u.START_EXPR,u.END_EXPR,u.WORD,u.OPERATOR])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===u.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=b.ForInitializer):h(this._flags.last_token.text,["if","while"])?(this._output.space_before_token=this._options.space_before_conditional,e=b.Conditional):h(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(h(this._flags.last_token.text,l)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===u.EQUALS||this._flags.last_token.type===u.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===u.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var i=this._tokens.peek(-4);O(n,["async","function"])||"*"===n.text&&O(i,["async","function"])?this._output.space_before_token=!0:this._flags.mode===b.ObjectLiteral&&("{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==i.text&&","!==i.text)||(this._output.space_before_token=!0))}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===u.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(h(this._last_last_text,["function","yield"])||this._flags.mode===b.ObjectLiteral&&h(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===u.START_BLOCK?this.print_newline():this._flags.last_token.type!==u.END_EXPR&&this._flags.last_token.type!==u.START_EXPR&&this._flags.last_token.type!==u.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==u.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},Q.prototype.handle_end_expr=function(t){while(this._flags.mode===b.Statement)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==u.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),_(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===b.Conditional&&(this._previous_flags.mode=b.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},Q.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===u.END_EXPR?(this.set_mode(b.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(b.BlockStatement):n&&(h(n.text,[":",","])&&h(e.type,[u.STRING,u.WORD,u.RESERVED])||h(e.text,["get","set","..."])&&h(n.type,[u.WORD,u.RESERVED]))?h(this._last_last_text,["class","interface"])?this.set_mode(b.BlockStatement):this.set_mode(b.ObjectLiteral):this._flags.last_token.type===u.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(b.BlockStatement):h(this._flags.last_token.type,[u.EQUALS,u.START_EXPR,u.COMMA,u.OPERATOR])||O(this._flags.last_token,["return","throw","import","default"])?this.set_mode(b.ObjectLiteral):this.set_mode(b.BlockStatement);var i=!e.comments_before&&"}"===e.text,r=i&&"function"===this._flags.last_word&&this._flags.last_token.type===u.END_EXPR;if(this._options.brace_preserve_inline){var s=0,o=null;this._flags.inline_frame=!0;do{if(s+=1,o=this._tokens.peek(s-1),o.newlines){this._flags.inline_frame=!1;break}}while(o.type!==u.EOF&&(o.type!==u.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==u.OPERATOR&&(r||this._flags.last_token.type===u.EQUALS||O(this._flags.last_token,m)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!w(this._previous_flags.mode)||this._flags.last_token.type!==u.START_EXPR&&this._flags.last_token.type!==u.COMMA||((this._flags.last_token.type===u.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==u.OPERATOR&&this._flags.last_token.type!==u.START_EXPR&&(this._flags.last_token.type!==u.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),i||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},Q.prototype.handle_end_block=function(t){this.handle_whitespace_and_comments(t);while(this._flags.mode===b.Statement)this.restore_mode();var e=this._flags.last_token.type===u.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(w(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},Q.prototype.handle_word=function(t){if(t.type===u.RESERVED)if(h(t.text,["set","get"])&&this._flags.mode!==b.ObjectLiteral)t.type=u.WORD;else if("import"===t.text&&"("===this._tokens.peek().text)t.type=u.WORD;else if(h(t.text,["as","from"])&&!this._flags.import_block)t.type=u.WORD;else if(this._flags.mode===b.ObjectLiteral){var e=this._tokens.peek();":"===e.text&&(t.type=u.WORD)}if(this.start_of_statement(t)?O(this._flags.last_token,["var","let","const"])&&t.type===u.WORD&&(this._flags.declaration_statement=!0):!t.newlines||$(this._flags.mode)||this._flags.last_token.type===u.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===u.EQUALS||!this._options.preserve_newlines&&O(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(f(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&f(t,"else"))this._flags.else_block=!0;else{while(this._flags.mode===b.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&O(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==u.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==u.COMMA&&this._flags.last_token.type!==u.START_EXPR&&this._flags.last_token.type!==u.EQUALS&&this._flags.last_token.type!==u.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t),f(t,"function"))return(h(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!h(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==u.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD?O(this._flags.last_token,["get","set","new","export"])||O(this._flags.last_token,T)||f(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===u.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!$(this._flags.mode)&&!w(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var n="NONE";if(this._flags.last_token.type===u.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":O(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===u.SEMICOLON&&this._flags.mode===b.BlockStatement?n="NEWLINE":this._flags.last_token.type===u.SEMICOLON&&$(this._flags.mode)?n="SPACE":this._flags.last_token.type===u.STRING?n="NEWLINE":this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD||"*"===this._flags.last_token.text&&(h(this._last_last_text,["function","yield"])||this._flags.mode===b.ObjectLiteral&&h(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===u.START_BLOCK?n=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===u.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),O(t,l)&&")"!==this._flags.last_token.text&&(n=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),O(t,["else","catch","finally"]))if((this._flags.last_token.type!==u.END_BLOCK||this._previous_flags.mode!==b.BlockStatement||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var i=this._output.current_line;"}"!==i.last()&&this.print_newline(),this._output.space_before_token=!0}else"NEWLINE"===n?O(this._flags.last_token,m)||"declare"===this._flags.last_token.text&&O(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==u.END_EXPR?this._flags.last_token.type===u.START_EXPR&&O(t,["var","let","const"])||":"===this._flags.last_token.text||(f(t,"if")&&f(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):O(t,l)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===n&&(this._output.space_before_token=!0);!t.previous||t.previous.type!==u.WORD&&t.previous.type!==u.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===u.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&f(t,"from")&&(this._flags.import_block=!1))},Q.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);var e=this._tokens.peek();while(this._flags.mode===b.Statement&&(!this._flags.if_block||!f(e,"else"))&&!this._flags.do_block)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},Q.prototype.handle_string=function(t){this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR||this._flags.last_token.type===u.EQUALS||this._flags.last_token.type===u.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):this.print_newline()),this.print_token(t)},Q.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},Q.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?($(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===b.ObjectLiteral||this._flags.mode===b.Statement&&this._flags.parent.mode===b.ObjectLiteral?(this._flags.mode===b.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},Q.prototype.handle_operator=function(t){var e="*"===t.text&&(O(this._flags.last_token,["function","yield"])||h(this._flags.last_token.type,[u.START_BLOCK,u.COMMA,u.END_BLOCK,u.SEMICOLON])),n=h(t.text,["-","+"])&&(h(this._flags.last_token.type,[u.START_BLOCK,u.START_EXPR,u.EQUALS,u.OPERATOR])||h(this._flags.last_token.text,l)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var i=!e;this.handle_whitespace_and_comments(t,i)}if(O(this._flags.last_token,m))return this._output.space_before_token=!0,void this.print_token(t);if("*"!==t.text||this._flags.last_token.type!==u.DOT)if("::"!==t.text){if(this._flags.last_token.type===u.OPERATOR&&h(this._options.operator_position,y)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==u.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var r=!0,s=!0,o=!1;if(":"===t.text?0===this._flags.ternary_depth?r=!1:(this._flags.ternary_depth-=1,o=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&h(t.text,c)){var a=":"===t.text,p=a&&o,d=a&&!o;switch(this._options.operator_position){case v.before_newline:return this._output.space_before_token=!d,this.print_token(t),a&&!p||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case v.after_newline:return this._output.space_before_token=!0,!a||p?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case v.preserve_newline:return d||this.allow_wrap_or_preserved_newline(t),r=!(this._output.just_added_newline()||d),this._output.space_before_token=r,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),r=!1;var f=this._tokens.peek();s=f&&h(f.type,[u.WORD,u.RESERVED])}else"..."===t.text?(this.allow_wrap_or_preserved_newline(t),r=this._flags.last_token.type===u.START_BLOCK,s=!1):(h(t.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==u.COMMA&&this._flags.last_token.type!==u.START_EXPR||this.allow_wrap_or_preserved_newline(t),r=!1,s=!1,!t.newlines||"--"!==t.text&&"++"!==t.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&$(this._flags.mode)&&(r=!0),this._flags.last_token.type===u.RESERVED?r=!0:this._flags.last_token.type===u.END_EXPR?r=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===u.OPERATOR&&(r=h(t.text,["--","-","++","+"])&&h(this._flags.last_token.text,["--","-","++","+"]),h(t.text,["+","-"])&&h(this._flags.last_token.text,["--","++"])&&(s=!0)),(this._flags.mode!==b.BlockStatement||this._flags.inline_frame)&&this._flags.mode!==b.Statement||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline());this._output.space_before_token=this._output.space_before_token||r,this.print_token(t),this._output.space_before_token=s}else this.print_token(t);else this.print_token(t)},Q.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):s.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},Q.prototype.print_block_commment=function(t,e){var n,i=x(t.text),r=!1,s=!1,o=t.whitespace_before,a=o.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(i[0]),this.print_newline(!1,e),i.length>1){for(i=i.slice(1),r=S(i,"*"),s=k(i,o),r&&(this._flags.alignment=1),n=0;n<i.length;n++)r?(this.print_token_line_indentation(t),this._output.add_token(p(i[n]))):s&&i[n]?(this.print_token_line_indentation(t),this._output.add_token(i[n].substring(a))):(this._output.current_line.set_indent(-1),this._output.add_token(i[n])),this.print_newline(!1,e);this._flags.alignment=0}},Q.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)},Q.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),O(this._flags.last_token,m)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)},Q.prototype.handle_unknown=function(t,e){this.print_token(t),"\n"===t.text[t.text.length-1]&&this.print_newline(!1,e)},Q.prototype.handle_eof=function(t){while(this._flags.mode===b.Statement)this.restore_mode();this.handle_whitespace_and_comments(t)},t.exports.Beautifier=Q},function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function s(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},r.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},s.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},s.prototype.get_line_number=function(){return this.__lines.length},s.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},s.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},s.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},s.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},s.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},s.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},s.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},s.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},s.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},s.prototype.just_added_newline=function(){return this.current_line.is_empty()},s.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},s.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=s},function(t,e,n){"use strict";function i(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=i},function(t,e,n){"use strict";var i="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",s="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\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eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",o="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",a="(?:\\\\u[0-9a-fA-F]{4}|["+i+s+"])",l="(?:\\\\u[0-9a-fA-F]{4}|["+r+s+o+"])*";e.identifier=new RegExp(a+l,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+r+s+o+"])+");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(t,e,n){"use strict";var i=n(6).Options,r=["before-newline","after-newline","preserve-newline"];function s(t){i.call(this,t,"js");var e=this.raw_options.brace_style||null;"expand-strict"===e?this.raw_options.brace_style="expand":"collapse-preserve-inline"===e?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var s=0;s<n.length;s++)"preserve-inline"===n[s]?this.brace_preserve_inline=!0:this.brace_style=n[s];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",r),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}s.prototype=new i,t.exports.Options=s},function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=s(t),t)n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function s(t){var e,n={};for(e in t){var i=e.replace(/-/g,"_");n[i]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t],i=void 0===n?!!e:!!n;return i},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=s,t.exports.mergeOpts=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(9).Tokenizer,s=n(9).TOKEN,o=n(13).Directives,a=n(4),l=n(12).Pattern,c=n(14).TemplatablePattern;function u(t,e){return-1!==e.indexOf(t)}var h={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:s.START,RAW:s.RAW,EOF:s.EOF},p=new o(/\/\*/,/\*\//),d=/0[xX][0123456789abcdefABCDEF]*|0[oO][01234567]*|0[bB][01]*|\d+n|(?:\.\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?/,f=/[0-9]/,O=/[^\d\.]/,m=">>> === !== << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),g=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";g=g.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),g="\\?\\.(?!\\d) "+g,g=g.replace(/ /g,"|");var v,y=new RegExp(g),b="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),_=b.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),x=new RegExp("^(?:"+_.join("|")+")$"),w=function(t,e){r.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new l(this._input),i=new c(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(a.identifier).matching(a.identifierMatch),number:n.matching(d),punct:n.matching(y),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(/<!--/),html_comment_end:n.matching(/-->/),include:n.starting_with(/#include/).until_after(a.lineBreak),shebang:n.starting_with(/#!/).until_after(a.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};function $(t){var e="",n=0,r=new i(t),s=null;while(r.hasNext())if(s=r.match(/([\s]|[^\\]|\\\\)+/g),s&&(e+=s[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())s=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){e+="\\",r.hasNext()&&(e+=r.next());continue}s=r.match(/u([0-9A-Fa-f]{4})/g)}if(!s)return t;if(n=parseInt(s[1],16),n>126&&n<=255&&0===s[0].indexOf("x"))return t;if(n>=0&&n<32){e+="\\"+s[0];continue}e+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return e}w.prototype=new r,w.prototype._is_comment=function(t){return t.type===h.COMMENT||t.type===h.BLOCK_COMMENT||t.type===h.UNKNOWN},w.prototype._is_opening=function(t){return t.type===h.START_BLOCK||t.type===h.START_EXPR},w.prototype._is_closing=function(t,e){return(t.type===h.END_BLOCK||t.type===h.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},w.prototype._reset=function(){v=!1},w.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(h.EOF,""):(n=n||this._read_non_javascript(i),n=n||this._read_string(i),n=n||this._read_word(t),n=n||this._read_singles(i),n=n||this._read_comment(i),n=n||this._read_regexp(i,t),n=n||this._read_xml(i,t),n=n||this._read_punctuation(),n=n||this._create_token(h.UNKNOWN,this._input.next()),n)},w.prototype._read_word=function(t){var e;return e=this.__patterns.identifier.read(),""!==e?(e=e.replace(a.allLineBreaks,"\n"),t.type!==h.DOT&&(t.type!==h.RESERVED||"set"!==t.text&&"get"!==t.text)&&x.test(e)?"in"===e||"of"===e?this._create_token(h.OPERATOR,e):this._create_token(h.RESERVED,e):this._create_token(h.WORD,e)):(e=this.__patterns.number.read(),""!==e?this._create_token(h.WORD,e):void 0)},w.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(h.START_EXPR,t):")"===t||"]"===t?e=this._create_token(h.END_EXPR,t):"{"===t?e=this._create_token(h.START_BLOCK,t):"}"===t?e=this._create_token(h.END_BLOCK,t):";"===t?e=this._create_token(h.SEMICOLON,t):"."===t&&O.test(this._input.peek(1))?e=this._create_token(h.DOT,t):","===t&&(e=this._create_token(h.COMMA,t)),e&&this._input.next(),e},w.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return"="===t?this._create_token(h.EQUALS,t):"?."===t?this._create_token(h.DOT,t):this._create_token(h.OPERATOR,t)},w.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read(),e))return this._create_token(h.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read(),e)return this._create_token(h.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(f)){do{t=this._input.next(),n+=t}while(this._input.hasNext()&&"#"!==t&&"="!==t);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(h.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read(),e){while(this._input.hasNext()&&!this._input.testChar(a.newline))e+=this._input.next();return v=!0,this._create_token(h.COMMENT,e)}}else if(v&&"-"===t&&(e=this.__patterns.html_comment_end.read(),e))return v=!1,this._create_token(h.COMMENT,e);return null},w.prototype._read_comment=function(t){var e=null;if("/"===t){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var i=p.get_directives(n);i&&"start"===i.ignore&&(n+=p.readIgnored(this._input)),n=n.replace(a.allLineBreaks,"\n"),e=this._create_token(h.BLOCK_COMMENT,n),e.directives=i}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),e=this._create_token(h.COMMENT,n))}return e},w.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=$(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(a.allLineBreaks,"\n"),this._create_token(h.STRING,e)}return null},w.prototype._allow_regexp_or_xml=function(t){return t.type===h.RESERVED&&u(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===h.END_EXPR&&")"===t.text&&t.opened.previous.type===h.RESERVED&&u(t.opened.previous.text,["if","while","for"])||u(t.type,[h.COMMENT,h.START_EXPR,h.START_BLOCK,h.START,h.END_BLOCK,h.OPERATOR,h.EQUALS,h.EOF,h.SEMICOLON,h.COMMA])},w.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){var n=this._input.next(),i=!1,r=!1;while(this._input.hasNext()&&(i||r||this._input.peek()!==t)&&!this._input.testChar(a.newline))n+=this._input.peek(),i?i=!1:(i="\\"===this._input.peek(),"["===this._input.peek()?r=!0:"]"===this._input.peek()&&(r=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(a.identifier)),this._create_token(h.STRING,n)}return null},w.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",i=this.__patterns.xml.read_match();if(i){var r=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),s=0===r.indexOf("{"),o=0;while(i){var l=!!i[1],c=i[2],u=!!i[i.length-1]||"![CDATA["===c.slice(0,8);if(!u&&(c===r||s&&c.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(l?--o:++o),n+=i[0],o<=0)break;i=this.__patterns.xml.read_match()}return i||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(a.allLineBreaks,"\n"),this._create_token(h.STRING,n)}}return null},w.prototype._read_string_recursive=function(t,e,n){var i,r;"'"===t?r=this.__patterns.single_quote:'"'===t?r=this.__patterns.double_quote:"`"===t?r=this.__patterns.template_text:"}"===t&&(r=this.__patterns.template_expression);var s=r.read(),o="";while(this._input.hasNext()){if(o=this._input.next(),o===t||!e&&a.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?(i=this._input.peek(),"x"===i||"u"===i?this.has_char_escapes=!0:"\r"===i&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):n&&("${"===n&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),n===o&&(o+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next()))),o+=r.read(),s+=o}return s},t.exports.Tokenizer=w,t.exports.TOKEN=h,t.exports.positionable_operators=m.slice(),t.exports.line_starters=b.slice()},function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},r.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||i&&t.sticky||n.index!==e&&(n=null),n},r.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},r.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},r.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},r.prototype.read=function(t,e,n){var i,r="";return t&&(i=this.match(t),i&&(r+=i[0])),!e||!i&&t||(r+=this.readUntil(e,n)),r},r.prototype.readUntil=function(t,e){var n="",i=this.__position;t.lastIndex=this.__position;var r=t.exec(this.__input);return r?(i=r.index,e&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},r.prototype.get_regexp=function(t,e){var n=null,r="g";return e&&i&&(r="y"),"string"===typeof t&&""!==t?n=new RegExp(t,r):t&&(n=new RegExp(t.source,r)),n},r.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},r.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(3).Token,s=n(10).TokenStream,o=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new s,this._reset();var e=new r(a.START,""),n=null,i=[],o=new s;while(e.type!==a.EOF){t=this._get_next_token(e,n);while(this._is_comment(t))o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new s),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(t){return!1},l.prototype._is_opening=function(t){return!1},l.prototype._is_closing=function(t,e){return!1},l.prototype._create_token=function(t,e){var n=new r(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return n},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=l,t.exports.TOKEN=a},function(t,e,n){"use strict";function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e},i.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},t.exports.TokenStream=i},function(t,e,n){"use strict";var i=n(12).Pattern;function r(t,e){i.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(" "===t)this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t},r.prototype.matching=function(t,e){var n=this._create();return n.__set_whitespace_patterns(t,e),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(t,e){t.lastIndex=0;var n=0,i=[],r=t.exec(e);while(r)i.push(e.substring(n,r.index)),n=r.index+r[0].length,r=t.exec(e);return n<e.length?i.push(e.substring(n,e.length)):i.push(""),i},t.exports.WhitespacePattern=r},function(t,e,n){"use strict";function i(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}i.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},t.exports.Pattern=i},function(t,e,n){"use strict";function i(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},function(t,e,n){"use strict";var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function s(t,e){i.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var n=new i(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}s.prototype=new i,s.prototype._create=function(){return new s(this._input,this)},s.prototype._update=function(){this.__set_templated_pattern()},s.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},s.prototype.read_options=function(t){var e=this._create();for(var n in r)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},s.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},s.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var e=this._read_template();while(e)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},s.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},s.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=s}]),s=r;n=[],i=function(){return{js_beautify:s}}.apply(e,n),void 0===i||(t.exports=i)})()},19528:t=>{const e={"{":"}","[":"]",'"':'"'};t.exports=t=>{if(!t)return null;let n=t.trim().replace(/(\r\n|\n|\r|\s{2,})/gm,"").replace(/(?<=:)([a-zA-Z]+)(?=\s*(?![,\}])(?:[,\}\s]|$))/g," null"),i=[];for(let a=0;a<n.length;a++){const t=n[a];t===i[i.length-1]?i.pop():e[t]&&(i.push(e[t]),"{"===t&&i.push(":"))}":"===i[i.length-1]&&("{"!==n[n.length-1]?i[i.length-1]=": null":i.pop());const r=i.reverse().join(""),s=n+r,o=s.replace(/"":/g,"").replace(/":}|": }/g,'": null }').replace(/,""}|,}|,\"\w+\"}/g,"}").replace(/},]/g,"}]");return o}},18552:(t,e,n)=>{var i=n(10852),r=n(55639),s=i(r,"DataView");t.exports=s},1989:(t,e,n)=>{var i=n(51789),r=n(80401),s=n(57667),o=n(21327),a=n(81866);function l(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype["delete"]=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},38407:(t,e,n)=>{var i=n(27040),r=n(14125),s=n(82117),o=n(67518),a=n(54705);function l(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype["delete"]=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},57071:(t,e,n)=>{var i=n(10852),r=n(55639),s=i(r,"Map");t.exports=s},83369:(t,e,n)=>{var i=n(24785),r=n(11285),s=n(96e3),o=n(49916),a=n(95265);function l(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype["delete"]=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},53818:(t,e,n)=>{var i=n(10852),r=n(55639),s=i(r,"Promise");t.exports=s},58525:(t,e,n)=>{var i=n(10852),r=n(55639),s=i(r,"Set");t.exports=s},88668:(t,e,n)=>{var i=n(83369),r=n(90619),s=n(72385);function o(t){var e=-1,n=null==t?0:t.length;this.__data__=new i;while(++e<n)this.add(t[e])}o.prototype.add=o.prototype.push=r,o.prototype.has=s,t.exports=o},46384:(t,e,n)=>{var i=n(38407),r=n(37465),s=n(63779),o=n(67599),a=n(44758),l=n(34309);function c(t){var e=this.__data__=new i(t);this.size=e.size}c.prototype.clear=r,c.prototype["delete"]=s,c.prototype.get=o,c.prototype.has=a,c.prototype.set=l,t.exports=c},62705:(t,e,n)=>{var i=n(55639),r=i.Symbol;t.exports=r},11149:(t,e,n)=>{var i=n(55639),r=i.Uint8Array;t.exports=r},70577:(t,e,n)=>{var i=n(10852),r=n(55639),s=i(r,"WeakMap");t.exports=s},96874:t=>{function e(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=e},77412:t=>{function e(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!1===e(t[n],n,t))break;return t}t.exports=e},34963:t=>{function e(t,e){var n=-1,i=null==t?0:t.length,r=0,s=[];while(++n<i){var o=t[n];e(o,n,t)&&(s[r++]=o)}return s}t.exports=e},47443:(t,e,n)=>{var i=n(42118);function r(t,e){var n=null==t?0:t.length;return!!n&&i(t,e,0)>-1}t.exports=r},1196:t=>{function e(t,e,n){var i=-1,r=null==t?0:t.length;while(++i<r)if(n(e,t[i]))return!0;return!1}t.exports=e},14636:(t,e,n)=>{var i=n(22545),r=n(35694),s=n(1469),o=n(44144),a=n(65776),l=n(36719),c=Object.prototype,u=c.hasOwnProperty;function h(t,e){var n=s(t),c=!n&&r(t),h=!n&&!c&&o(t),p=!n&&!c&&!h&&l(t),d=n||c||h||p,f=d?i(t.length,String):[],O=f.length;for(var m in t)!e&&!u.call(t,m)||d&&("length"==m||h&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,O))||f.push(m);return f}t.exports=h},29932:t=>{function e(t,e){var n=-1,i=null==t?0:t.length,r=Array(i);while(++n<i)r[n]=e(t[n],n,t);return r}t.exports=e},62488:t=>{function e(t,e){var n=-1,i=e.length,r=t.length;while(++n<i)t[r+n]=e[n];return t}t.exports=e},62663:t=>{function e(t,e,n,i){var r=-1,s=null==t?0:t.length;i&&s&&(n=t[++r]);while(++r<s)n=e(n,t[r],r,t);return n}t.exports=e},82908:t=>{function e(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(e(t[n],n,t))return!0;return!1}t.exports=e},48983:(t,e,n)=>{var i=n(40371),r=i("length");t.exports=r},44286:t=>{function e(t){return t.split("")}t.exports=e},49029:t=>{var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function n(t){return t.match(e)||[]}t.exports=n},86556:(t,e,n)=>{var i=n(89465),r=n(77813);function s(t,e,n){(void 0!==n&&!r(t[e],n)||void 0===n&&!(e in t))&&i(t,e,n)}t.exports=s},34865:(t,e,n)=>{var i=n(89465),r=n(77813),s=Object.prototype,o=s.hasOwnProperty;function a(t,e,n){var s=t[e];o.call(t,e)&&r(s,n)&&(void 0!==n||e in t)||i(t,e,n)}t.exports=a},18470:(t,e,n)=>{var i=n(77813);function r(t,e){var n=t.length;while(n--)if(i(t[n][0],e))return n;return-1}t.exports=r},89465:(t,e,n)=>{var i=n(38777);function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}t.exports=r},3118:(t,e,n)=>{var i=n(13218),r=Object.create,s=function(){function t(){}return function(e){if(!i(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=s},41848:t=>{function e(t,e,n,i){var r=t.length,s=n+(i?1:-1);while(i?s--:++s<r)if(e(t[s],s,t))return s;return-1}t.exports=e},28483:(t,e,n)=>{var i=n(25063),r=i();t.exports=r},47816:(t,e,n)=>{var i=n(28483),r=n(3674);function s(t,e){return t&&i(t,e,r)}t.exports=s},97786:(t,e,n)=>{var i=n(71811),r=n(40327);function s(t,e){e=i(e,t);var n=0,s=e.length;while(null!=t&&n<s)t=t[r(e[n++])];return n&&n==s?t:void 0}t.exports=s},68866:(t,e,n)=>{var i=n(62488),r=n(1469);function s(t,e,n){var s=e(t);return r(t)?s:i(s,n(t))}t.exports=s},44239:(t,e,n)=>{var i=n(62705),r=n(89607),s=n(2333),o="[object Null]",a="[object Undefined]",l=i?i.toStringTag:void 0;function c(t){return null==t?void 0===t?a:o:l&&l in Object(t)?r(t):s(t)}t.exports=c},13:t=>{function e(t,e){return null!=t&&e in Object(t)}t.exports=e},42118:(t,e,n)=>{var i=n(41848),r=n(62722),s=n(42351);function o(t,e,n){return e===e?s(t,e,n):i(t,r,n)}t.exports=o},9454:(t,e,n)=>{var i=n(44239),r=n(37005),s="[object Arguments]";function o(t){return r(t)&&i(t)==s}t.exports=o},90939:(t,e,n)=>{var i=n(2492),r=n(37005);function s(t,e,n,o,a){return t===e||(null==t||null==e||!r(t)&&!r(e)?t!==t&&e!==e:i(t,e,n,o,s,a))}t.exports=s},2492:(t,e,n)=>{var i=n(46384),r=n(67114),s=n(18351),o=n(16096),a=n(64160),l=n(1469),c=n(44144),u=n(36719),h=1,p="[object Arguments]",d="[object Array]",f="[object Object]",O=Object.prototype,m=O.hasOwnProperty;function g(t,e,n,O,g,v){var y=l(t),b=l(e),_=y?d:a(t),x=b?d:a(e);_=_==p?f:_,x=x==p?f:x;var w=_==f,$=x==f,S=_==x;if(S&&c(t)){if(!c(e))return!1;y=!0,w=!1}if(S&&!w)return v||(v=new i),y||u(t)?r(t,e,n,O,g,v):s(t,e,_,n,O,g,v);if(!(n&h)){var k=w&&m.call(t,"__wrapped__"),Q=$&&m.call(e,"__wrapped__");if(k||Q){var T=k?t.value():t,P=Q?e.value():e;return v||(v=new i),g(T,P,n,O,v)}}return!!S&&(v||(v=new i),o(t,e,n,O,g,v))}t.exports=g},2958:(t,e,n)=>{var i=n(46384),r=n(90939),s=1,o=2;function a(t,e,n,a){var l=n.length,c=l,u=!a;if(null==t)return!c;t=Object(t);while(l--){var h=n[l];if(u&&h[2]?h[1]!==t[h[0]]:!(h[0]in t))return!1}while(++l<c){h=n[l];var p=h[0],d=t[p],f=h[1];if(u&&h[2]){if(void 0===d&&!(p in t))return!1}else{var O=new i;if(a)var m=a(d,f,p,t,e,O);if(!(void 0===m?r(f,d,s|o,a,O):m))return!1}}return!0}t.exports=a},62722:t=>{function e(t){return t!==t}t.exports=e},28458:(t,e,n)=>{var i=n(23560),r=n(15346),s=n(13218),o=n(80346),a=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,h=c.toString,p=u.hasOwnProperty,d=RegExp("^"+h.call(p).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(t){if(!s(t)||r(t))return!1;var e=i(t)?d:l;return e.test(o(t))}t.exports=f},23933:(t,e,n)=>{var i=n(44239),r=n(37005),s="[object RegExp]";function o(t){return r(t)&&i(t)==s}t.exports=o},38749:(t,e,n)=>{var i=n(44239),r=n(41780),s=n(37005),o="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",h="[object Function]",p="[object Map]",d="[object Number]",f="[object Object]",O="[object RegExp]",m="[object Set]",g="[object String]",v="[object WeakMap]",y="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",x="[object Float64Array]",w="[object Int8Array]",$="[object Int16Array]",S="[object Int32Array]",k="[object Uint8Array]",Q="[object Uint8ClampedArray]",T="[object Uint16Array]",P="[object Uint32Array]",C={};function A(t){return s(t)&&r(t.length)&&!!C[i(t)]}C[_]=C[x]=C[w]=C[$]=C[S]=C[k]=C[Q]=C[T]=C[P]=!0,C[o]=C[a]=C[y]=C[l]=C[b]=C[c]=C[u]=C[h]=C[p]=C[d]=C[f]=C[O]=C[m]=C[g]=C[v]=!1,t.exports=A},67206:(t,e,n)=>{var i=n(91573),r=n(16432),s=n(6557),o=n(1469),a=n(39601);function l(t){return"function"==typeof t?t:null==t?s:"object"==typeof t?o(t)?r(t[0],t[1]):i(t):a(t)}t.exports=l},280:(t,e,n)=>{var i=n(25726),r=n(86916),s=Object.prototype,o=s.hasOwnProperty;function a(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}t.exports=a},10313:(t,e,n)=>{var i=n(13218),r=n(25726),s=n(33498),o=Object.prototype,a=o.hasOwnProperty;function l(t){if(!i(t))return s(t);var e=r(t),n=[];for(var o in t)("constructor"!=o||!e&&a.call(t,o))&&n.push(o);return n}t.exports=l},91573:(t,e,n)=>{var i=n(2958),r=n(1499),s=n(42634);function o(t){var e=r(t);return 1==e.length&&e[0][2]?s(e[0][0],e[0][1]):function(n){return n===t||i(n,t,e)}}t.exports=o},16432:(t,e,n)=>{var i=n(90939),r=n(27361),s=n(79095),o=n(15403),a=n(89162),l=n(42634),c=n(40327),u=1,h=2;function p(t,e){return o(t)&&a(e)?l(c(t),e):function(n){var o=r(n,t);return void 0===o&&o===e?s(n,t):i(e,o,u|h)}}t.exports=p},42980:(t,e,n)=>{var i=n(46384),r=n(86556),s=n(28483),o=n(59783),a=n(13218),l=n(81704),c=n(36390);function u(t,e,n,h,p){t!==e&&s(e,(function(s,l){if(p||(p=new i),a(s))o(t,e,l,n,u,h,p);else{var d=h?h(c(t,l),s,l+"",t,e,p):void 0;void 0===d&&(d=s),r(t,l,d)}}),l)}t.exports=u},59783:(t,e,n)=>{var i=n(86556),r=n(64626),s=n(77133),o=n(278),a=n(38517),l=n(35694),c=n(1469),u=n(29246),h=n(44144),p=n(23560),d=n(13218),f=n(68630),O=n(36719),m=n(36390),g=n(59881);function v(t,e,n,v,y,b,_){var x=m(t,n),w=m(e,n),$=_.get(w);if($)i(t,n,$);else{var S=b?b(x,w,n+"",t,e,_):void 0,k=void 0===S;if(k){var Q=c(w),T=!Q&&h(w),P=!Q&&!T&&O(w);S=w,Q||T||P?c(x)?S=x:u(x)?S=o(x):T?(k=!1,S=r(w,!0)):P?(k=!1,S=s(w,!0)):S=[]:f(w)||l(w)?(S=x,l(x)?S=g(x):d(x)&&!p(x)||(S=a(w))):k=!1}k&&(_.set(w,S),y(S,w,v,b,_),_["delete"](w)),i(t,n,S)}}t.exports=v},40371:t=>{function e(t){return function(e){return null==e?void 0:e[t]}}t.exports=e},79152:(t,e,n)=>{var i=n(97786);function r(t){return function(e){return i(e,t)}}t.exports=r},18674:t=>{function e(t){return function(e){return null==t?void 0:t[e]}}t.exports=e},5976:(t,e,n)=>{var i=n(6557),r=n(45357),s=n(30061);function o(t,e){return s(r(t,e,i),t+"")}t.exports=o},10611:(t,e,n)=>{var i=n(34865),r=n(71811),s=n(65776),o=n(13218),a=n(40327);function l(t,e,n,l){if(!o(t))return t;e=r(e,t);var c=-1,u=e.length,h=u-1,p=t;while(null!=p&&++c<u){var d=a(e[c]),f=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(c!=h){var O=p[d];f=l?l(O,d,p):void 0,void 0===f&&(f=o(O)?O:s(e[c+1])?[]:{})}i(p,d,f),p=p[d]}return t}t.exports=l},56560:(t,e,n)=>{var i=n(75703),r=n(38777),s=n(6557),o=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:s;t.exports=o},14259:t=>{function e(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),n=n>r?r:n,n<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;var s=Array(r);while(++i<r)s[i]=t[i+e];return s}t.exports=e},22545:t=>{function e(t,e){var n=-1,i=Array(t);while(++n<t)i[n]=e(n);return i}t.exports=e},80531:(t,e,n)=>{var i=n(62705),r=n(29932),s=n(1469),o=n(33448),a=1/0,l=i?i.prototype:void 0,c=l?l.toString:void 0;function u(t){if("string"==typeof t)return t;if(s(t))return r(t,u)+"";if(o(t))return c?c.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}t.exports=u},27561:(t,e,n)=>{var i=n(67990),r=/^\s+/;function s(t){return t?t.slice(0,i(t)+1).replace(r,""):t}t.exports=s},7518:t=>{function e(t){return function(e){return t(e)}}t.exports=e},45652:(t,e,n)=>{var i=n(88668),r=n(47443),s=n(1196),o=n(74757),a=n(23593),l=n(21814),c=200;function u(t,e,n){var u=-1,h=r,p=t.length,d=!0,f=[],O=f;if(n)d=!1,h=s;else if(p>=c){var m=e?null:a(t);if(m)return l(m);d=!1,h=o,O=new i}else O=e?[]:f;t:while(++u<p){var g=t[u],v=e?e(g):g;if(g=n||0!==g?g:0,d&&v===v){var y=O.length;while(y--)if(O[y]===v)continue t;e&&O.push(v),f.push(g)}else h(O,v,n)||(O!==f&&O.push(v),f.push(g))}return f}t.exports=u},47415:(t,e,n)=>{var i=n(29932);function r(t,e){return i(e,(function(e){return t[e]}))}t.exports=r},74757:t=>{function e(t,e){return t.has(e)}t.exports=e},71811:(t,e,n)=>{var i=n(1469),r=n(15403),s=n(55514),o=n(79833);function a(t,e){return i(t)?t:r(t,e)?[t]:s(o(t))}t.exports=a},40180:(t,e,n)=>{var i=n(14259);function r(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:i(t,e,n)}t.exports=r},74318:(t,e,n)=>{var i=n(11149);function r(t){var e=new t.constructor(t.byteLength);return new i(e).set(new i(t)),e}t.exports=r},64626:(t,e,n)=>{t=n.nmd(t);var i=n(55639),r=e&&!e.nodeType&&e,s=r&&t&&!t.nodeType&&t,o=s&&s.exports===r,a=o?i.Buffer:void 0,l=a?a.allocUnsafe:void 0;function c(t,e){if(e)return t.slice();var n=t.length,i=l?l(n):new t.constructor(n);return t.copy(i),i}t.exports=c},77133:(t,e,n)=>{var i=n(74318);function r(t,e){var n=e?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}t.exports=r},278:t=>{function e(t,e){var n=-1,i=t.length;e||(e=Array(i));while(++n<i)e[n]=t[n];return e}t.exports=e},98363:(t,e,n)=>{var i=n(34865),r=n(89465);function s(t,e,n,s){var o=!n;n||(n={});var a=-1,l=e.length;while(++a<l){var c=e[a],u=s?s(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),o?r(n,c,u):i(n,c,u)}return n}t.exports=s},14429:(t,e,n)=>{var i=n(55639),r=i["__core-js_shared__"];t.exports=r},21463:(t,e,n)=>{var i=n(5976),r=n(16612);function s(t){return i((function(e,n){var i=-1,s=n.length,o=s>1?n[s-1]:void 0,a=s>2?n[2]:void 0;o=t.length>3&&"function"==typeof o?(s--,o):void 0,a&&r(n[0],n[1],a)&&(o=s<3?void 0:o,s=1),e=Object(e);while(++i<s){var l=n[i];l&&t(e,l,i,o)}return e}))}t.exports=s},25063:t=>{function e(t){return function(e,n,i){var r=-1,s=Object(e),o=i(e),a=o.length;while(a--){var l=o[t?a:++r];if(!1===n(s[l],l,s))break}return e}}t.exports=e},98805:(t,e,n)=>{var i=n(40180),r=n(62689),s=n(83140),o=n(79833);function a(t){return function(e){e=o(e);var n=r(e)?s(e):void 0,a=n?n[0]:e.charAt(0),l=n?i(n,1).join(""):e.slice(1);return a[t]()+l}}t.exports=a},35393:(t,e,n)=>{var i=n(62663),r=n(53816),s=n(58748),o="['’]",a=RegExp(o,"g");function l(t){return function(e){return i(s(r(e).replace(a,"")),t,"")}}t.exports=l},67740:(t,e,n)=>{var i=n(67206),r=n(98612),s=n(3674);function o(t){return function(e,n,o){var a=Object(e);if(!r(e)){var l=i(n,3);e=s(e),n=function(t){return l(a[t],t,a)}}var c=t(e,n,o);return c>-1?a[l?e[c]:c]:void 0}}t.exports=o},89179:(t,e,n)=>{var i=n(55639),r=n(40554),s=n(14841),o=n(79833),a=i.isFinite,l=Math.min;function c(t){var e=Math[t];return function(t,n){if(t=s(t),n=null==n?0:l(r(n),292),n&&a(t)){var i=(o(t)+"e").split("e"),c=e(i[0]+"e"+(+i[1]+n));return i=(o(c)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}t.exports=c},23593:(t,e,n)=>{var i=n(58525),r=n(50308),s=n(21814),o=1/0,a=i&&1/s(new i([,-0]))[1]==o?function(t){return new i(t)}:r;t.exports=a},24626:(t,e,n)=>{var i=n(77813),r=Object.prototype,s=r.hasOwnProperty;function o(t,e,n,o){return void 0===t||i(t,r[n])&&!s.call(o,n)?e:t}t.exports=o},69389:(t,e,n)=>{var i=n(18674),r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th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}}();t.exports=r},67114:(t,e,n)=>{var i=n(88668),r=n(82908),s=n(74757),o=1,a=2;function l(t,e,n,l,c,u){var h=n&o,p=t.length,d=e.length;if(p!=d&&!(h&&d>p))return!1;var f=u.get(t),O=u.get(e);if(f&&O)return f==e&&O==t;var m=-1,g=!0,v=n&a?new i:void 0;u.set(t,e),u.set(e,t);while(++m<p){var y=t[m],b=e[m];if(l)var _=h?l(b,y,m,e,t,u):l(y,b,m,t,e,u);if(void 0!==_){if(_)continue;g=!1;break}if(v){if(!r(e,(function(t,e){if(!s(v,e)&&(y===t||c(y,t,n,l,u)))return v.push(e)}))){g=!1;break}}else if(y!==b&&!c(y,b,n,l,u)){g=!1;break}}return u["delete"](t),u["delete"](e),g}t.exports=l},18351:(t,e,n)=>{var i=n(62705),r=n(11149),s=n(77813),o=n(67114),a=n(68776),l=n(21814),c=1,u=2,h="[object Boolean]",p="[object Date]",d="[object Error]",f="[object Map]",O="[object Number]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",_="[object DataView]",x=i?i.prototype:void 0,w=x?x.valueOf:void 0;function $(t,e,n,i,x,$,S){switch(n){case _:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case b:return!(t.byteLength!=e.byteLength||!$(new r(t),new r(e)));case h:case p:case O:return s(+t,+e);case d:return t.name==e.name&&t.message==e.message;case m:case v:return t==e+"";case f:var k=a;case g:var Q=i&c;if(k||(k=l),t.size!=e.size&&!Q)return!1;var T=S.get(t);if(T)return T==e;i|=u,S.set(t,e);var P=o(k(t),k(e),i,x,$,S);return S["delete"](t),P;case y:if(w)return w.call(t)==w.call(e)}return!1}t.exports=$},16096:(t,e,n)=>{var i=n(58234),r=1,s=Object.prototype,o=s.hasOwnProperty;function a(t,e,n,s,a,l){var c=n&r,u=i(t),h=u.length,p=i(e),d=p.length;if(h!=d&&!c)return!1;var f=h;while(f--){var O=u[f];if(!(c?O in e:o.call(e,O)))return!1}var m=l.get(t),g=l.get(e);if(m&&g)return m==e&&g==t;var v=!0;l.set(t,e),l.set(e,t);var y=c;while(++f<h){O=u[f];var b=t[O],_=e[O];if(s)var x=c?s(_,b,O,e,t,l):s(b,_,O,t,e,l);if(!(void 0===x?b===_||a(b,_,n,s,l):x)){v=!1;break}y||(y="constructor"==O)}if(v&&!y){var w=t.constructor,$=e.constructor;w==$||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof $&&$ instanceof $||(v=!1)}return l["delete"](t),l["delete"](e),v}t.exports=a},89464:(t,e,n)=>{var i=n(18674),r={"&":"&","<":"<",">":">",'"':""","'":"'"},s=i(r);t.exports=s},31994:t=>{var e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function n(t){return"\\"+e[t]}t.exports=n},31957:(t,e,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},58234:(t,e,n)=>{var i=n(68866),r=n(99551),s=n(3674);function o(t){return i(t,s,r)}t.exports=o},45050:(t,e,n)=>{var i=n(37019);function r(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=r},1499:(t,e,n)=>{var i=n(89162),r=n(3674);function s(t){var e=r(t),n=e.length;while(n--){var s=e[n],o=t[s];e[n]=[s,o,i(o)]}return e}t.exports=s},10852:(t,e,n)=>{var i=n(28458),r=n(47801);function s(t,e){var n=r(t,e);return i(n)?n:void 0}t.exports=s},85924:(t,e,n)=>{var i=n(5569),r=i(Object.getPrototypeOf,Object);t.exports=r},89607:(t,e,n)=>{var i=n(62705),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i?i.toStringTag:void 0;function l(t){var e=s.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(l){}var r=o.call(t);return i&&(e?t[a]=n:delete t[a]),r}t.exports=l},99551:(t,e,n)=>{var i=n(34963),r=n(70479),s=Object.prototype,o=s.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(t){return null==t?[]:(t=Object(t),i(a(t),(function(e){return o.call(t,e)})))}:r;t.exports=l},64160:(t,e,n)=>{var i=n(18552),r=n(57071),s=n(53818),o=n(58525),a=n(70577),l=n(44239),c=n(80346),u="[object Map]",h="[object Object]",p="[object Promise]",d="[object Set]",f="[object WeakMap]",O="[object DataView]",m=c(i),g=c(r),v=c(s),y=c(o),b=c(a),_=l;(i&&_(new i(new ArrayBuffer(1)))!=O||r&&_(new r)!=u||s&&_(s.resolve())!=p||o&&_(new o)!=d||a&&_(new a)!=f)&&(_=function(t){var e=l(t),n=e==h?t.constructor:void 0,i=n?c(n):"";if(i)switch(i){case m:return O;case g:return u;case v:return p;case y:return d;case b:return f}return e}),t.exports=_},47801:t=>{function e(t,e){return null==t?void 0:t[e]}t.exports=e},222:(t,e,n)=>{var i=n(71811),r=n(35694),s=n(1469),o=n(65776),a=n(41780),l=n(40327);function c(t,e,n){e=i(e,t);var c=-1,u=e.length,h=!1;while(++c<u){var p=l(e[c]);if(!(h=null!=t&&n(t,p)))break;t=t[p]}return h||++c!=u?h:(u=null==t?0:t.length,!!u&&a(u)&&o(p,u)&&(s(t)||r(t)))}t.exports=c},62689:t=>{var e="\\ud800-\\udfff",n="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",s=n+i+r,o="\\ufe0e\\ufe0f",a="\\u200d",l=RegExp("["+a+e+s+o+"]");function c(t){return l.test(t)}t.exports=c},93157:t=>{var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function n(t){return e.test(t)}t.exports=n},51789:(t,e,n)=>{var i=n(94536);function r(){this.__data__=i?i(null):{},this.size=0}t.exports=r},80401:t=>{function e(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=e},57667:(t,e,n)=>{var i=n(94536),r="__lodash_hash_undefined__",s=Object.prototype,o=s.hasOwnProperty;function a(t){var e=this.__data__;if(i){var n=e[t];return n===r?void 0:n}return o.call(e,t)?e[t]:void 0}t.exports=a},21327:(t,e,n)=>{var i=n(94536),r=Object.prototype,s=r.hasOwnProperty;function o(t){var e=this.__data__;return i?void 0!==e[t]:s.call(e,t)}t.exports=o},81866:(t,e,n)=>{var i=n(94536),r="__lodash_hash_undefined__";function s(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?r:e,this}t.exports=s},38517:(t,e,n)=>{var i=n(3118),r=n(85924),s=n(25726);function o(t){return"function"!=typeof t.constructor||s(t)?{}:i(r(t))}t.exports=o},65776:t=>{var e=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(t,i){var r=typeof t;return i=null==i?e:i,!!i&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<i}t.exports=i},16612:(t,e,n)=>{var i=n(77813),r=n(98612),s=n(65776),o=n(13218);function a(t,e,n){if(!o(n))return!1;var a=typeof e;return!!("number"==a?r(n)&&s(e,n.length):"string"==a&&e in n)&&i(n[e],t)}t.exports=a},15403:(t,e,n)=>{var i=n(1469),r=n(33448),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;function a(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||(o.test(t)||!s.test(t)||null!=e&&t in Object(e))}t.exports=a},37019:t=>{function e(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=e},15346:(t,e,n)=>{var i=n(14429),r=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function s(t){return!!r&&r in t}t.exports=s},25726:t=>{var e=Object.prototype;function n(t){var n=t&&t.constructor,i="function"==typeof n&&n.prototype||e;return t===i}t.exports=n},89162:(t,e,n)=>{var i=n(13218);function r(t){return t===t&&!i(t)}t.exports=r},27040:t=>{function e(){this.__data__=[],this.size=0}t.exports=e},14125:(t,e,n)=>{var i=n(18470),r=Array.prototype,s=r.splice;function o(t){var e=this.__data__,n=i(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():s.call(e,n,1),--this.size,!0}t.exports=o},82117:(t,e,n)=>{var i=n(18470);function r(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}t.exports=r},67518:(t,e,n)=>{var i=n(18470);function r(t){return i(this.__data__,t)>-1}t.exports=r},54705:(t,e,n)=>{var i=n(18470);function r(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}t.exports=r},24785:(t,e,n)=>{var i=n(1989),r=n(38407),s=n(57071);function o(){this.size=0,this.__data__={hash:new i,map:new(s||r),string:new i}}t.exports=o},11285:(t,e,n)=>{var i=n(45050);function r(t){var e=i(this,t)["delete"](t);return this.size-=e?1:0,e}t.exports=r},96e3:(t,e,n)=>{var i=n(45050);function r(t){return i(this,t).get(t)}t.exports=r},49916:(t,e,n)=>{var i=n(45050);function r(t){return i(this,t).has(t)}t.exports=r},95265:(t,e,n)=>{var i=n(45050);function r(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}t.exports=r},68776:t=>{function e(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}t.exports=e},42634:t=>{function e(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=e},24523:(t,e,n)=>{var i=n(88306),r=500;function s(t){var e=i(t,(function(t){return n.size===r&&n.clear(),t})),n=e.cache;return e}t.exports=s},94536:(t,e,n)=>{var i=n(10852),r=i(Object,"create");t.exports=r},86916:(t,e,n)=>{var i=n(5569),r=i(Object.keys,Object);t.exports=r},33498:t=>{function e(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=e},31167:(t,e,n)=>{t=n.nmd(t);var i=n(31957),r=e&&!e.nodeType&&e,s=r&&t&&!t.nodeType&&t,o=s&&s.exports===r,a=o&&i.process,l=function(){try{var t=s&&s.require&&s.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=l},2333:t=>{var e=Object.prototype,n=e.toString;function i(t){return n.call(t)}t.exports=i},5569:t=>{function e(t,e){return function(n){return t(e(n))}}t.exports=e},45357:(t,e,n)=>{var i=n(96874),r=Math.max;function s(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){var s=arguments,o=-1,a=r(s.length-e,0),l=Array(a);while(++o<a)l[o]=s[e+o];o=-1;var c=Array(e+1);while(++o<e)c[o]=s[o];return c[e]=n(l),i(t,this,c)}}t.exports=s},79865:t=>{var e=/<%-([\s\S]+?)%>/g;t.exports=e},76051:t=>{var e=/<%([\s\S]+?)%>/g;t.exports=e},5712:t=>{var e=/<%=([\s\S]+?)%>/g;t.exports=e},55639:(t,e,n)=>{var i=n(31957),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();t.exports=s},36390:t=>{function e(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=e},90619:t=>{var e="__lodash_hash_undefined__";function n(t){return this.__data__.set(t,e),this}t.exports=n},72385:t=>{function e(t){return this.__data__.has(t)}t.exports=e},21814:t=>{function e(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}t.exports=e},30061:(t,e,n)=>{var i=n(56560),r=n(21275),s=r(i);t.exports=s},21275:t=>{var e=800,n=16,i=Date.now;function r(t){var r=0,s=0;return function(){var o=i(),a=n-(o-s);if(s=o,a>0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}t.exports=r},37465:(t,e,n)=>{var i=n(38407);function r(){this.__data__=new i,this.size=0}t.exports=r},63779:t=>{function e(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=e},67599:t=>{function e(t){return this.__data__.get(t)}t.exports=e},44758:t=>{function e(t){return this.__data__.has(t)}t.exports=e},34309:(t,e,n)=>{var i=n(38407),r=n(57071),s=n(83369),o=200;function a(t,e){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<o-1)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new s(a)}return n.set(t,e),this.size=n.size,this}t.exports=a},42351:t=>{function e(t,e,n){var i=n-1,r=t.length;while(++i<r)if(t[i]===e)return i;return-1}t.exports=e},88016:(t,e,n)=>{var i=n(48983),r=n(62689),s=n(21903);function o(t){return r(t)?s(t):i(t)}t.exports=o},83140:(t,e,n)=>{var i=n(44286),r=n(62689),s=n(676);function o(t){return r(t)?s(t):i(t)}t.exports=o},55514:(t,e,n)=>{var i=n(24523),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,o=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(s,"$1"):n||t)})),e}));t.exports=o},40327:(t,e,n)=>{var i=n(33448),r=1/0;function s(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}t.exports=s},80346:t=>{var e=Function.prototype,n=e.toString;function i(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}t.exports=i},67990:t=>{var e=/\s/;function n(t){var n=t.length;while(n--&&e.test(t.charAt(n)));return n}t.exports=n},21903:t=>{var e="\\ud800-\\udfff",n="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",s=n+i+r,o="\\ufe0e\\ufe0f",a="["+e+"]",l="["+s+"]",c="\\ud83c[\\udffb-\\udfff]",u="(?:"+l+"|"+c+")",h="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="\\u200d",O=u+"?",m="["+o+"]?",g="(?:"+f+"(?:"+[h,p,d].join("|")+")"+m+O+")*",v=m+O+g,y="(?:"+[h+l+"?",l,p,d,a].join("|")+")",b=RegExp(c+"(?="+c+")|"+y+v,"g");function _(t){var e=b.lastIndex=0;while(b.test(t))++e;return e}t.exports=_},676:t=>{var e="\\ud800-\\udfff",n="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",s=n+i+r,o="\\ufe0e\\ufe0f",a="["+e+"]",l="["+s+"]",c="\\ud83c[\\udffb-\\udfff]",u="(?:"+l+"|"+c+")",h="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="\\u200d",O=u+"?",m="["+o+"]?",g="(?:"+f+"(?:"+[h,p,d].join("|")+")"+m+O+")*",v=m+O+g,y="(?:"+[h+l+"?",l,p,d,a].join("|")+")",b=RegExp(c+"(?="+c+")|"+y+v,"g");function _(t){return t.match(b)||[]}t.exports=_},2757:t=>{var e="\\ud800-\\udfff",n="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",s=n+i+r,o="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",l="\\xac\\xb1\\xd7\\xf7",c="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",u="\\u2000-\\u206f",h=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",p="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\ufe0e\\ufe0f",f=l+c+u+h,O="['’]",m="["+f+"]",g="["+s+"]",v="\\d+",y="["+o+"]",b="["+a+"]",_="[^"+e+f+v+o+a+p+"]",x="\\ud83c[\\udffb-\\udfff]",w="(?:"+g+"|"+x+")",$="[^"+e+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",Q="["+p+"]",T="\\u200d",P="(?:"+b+"|"+_+")",C="(?:"+Q+"|"+_+")",A="(?:"+O+"(?:d|ll|m|re|s|t|ve))?",E="(?:"+O+"(?:D|LL|M|RE|S|T|VE))?",R=w+"?",M="["+d+"]?",D="(?:"+T+"(?:"+[$,S,k].join("|")+")"+M+R+")*",z="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",j="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Z=M+R+D,V="(?:"+[y,S,k].join("|")+")"+Z,X=RegExp([Q+"?"+b+"+"+A+"(?="+[m,Q,"$"].join("|")+")",C+"+"+E+"(?="+[m,Q+P,"$"].join("|")+")",Q+"?"+P+"+"+A,Q+"+"+E,j,z,v,V].join("|"),"g");function W(t){return t.match(X)||[]}t.exports=W},29018:(t,e,n)=>{var i=n(98363),r=n(21463),s=n(81704),o=r((function(t,e,n,r){i(e,s(e),t,r)}));t.exports=o},9591:(t,e,n)=>{var i=n(96874),r=n(5976),s=n(64647),o=r((function(t,e){try{return i(t,void 0,e)}catch(n){return s(n)?n:new Error(n)}}));t.exports=o},48403:(t,e,n)=>{var i=n(79833),r=n(11700);function s(t){return r(i(t).toLowerCase())}t.exports=s},8400:(t,e,n)=>{var i=n(14259),r=n(16612),s=n(40554),o=Math.ceil,a=Math.max;function l(t,e,n){e=(n?r(t,e,n):void 0===e)?1:a(s(e),0);var l=null==t?0:t.length;if(!l||e<1)return[];var c=0,u=0,h=Array(o(l/e));while(c<l)h[u++]=i(t,c,c+=e);return h}t.exports=l},75703:t=>{function e(t){return function(){return t}}t.exports=e},23279:(t,e,n)=>{var i=n(13218),r=n(7771),s=n(14841),o="Expected a function",a=Math.max,l=Math.min;function c(t,e,n){var c,u,h,p,d,f,O=0,m=!1,g=!1,v=!0;if("function"!=typeof t)throw new TypeError(o);function y(e){var n=c,i=u;return c=u=void 0,O=e,p=t.apply(i,n),p}function b(t){return O=t,d=setTimeout(w,e),m?y(t):p}function _(t){var n=t-f,i=t-O,r=e-n;return g?l(r,h-i):r}function x(t){var n=t-f,i=t-O;return void 0===f||n>=e||n<0||g&&i>=h}function w(){var t=r();if(x(t))return $(t);d=setTimeout(w,_(t))}function $(t){return d=void 0,v&&c?y(t):(c=u=void 0,p)}function S(){void 0!==d&&clearTimeout(d),O=0,c=f=u=d=void 0}function k(){return void 0===d?p:$(r())}function Q(){var t=r(),n=x(t);if(c=arguments,u=this,f=t,n){if(void 0===d)return b(f);if(g)return clearTimeout(d),d=setTimeout(w,e),y(f)}return void 0===d&&(d=setTimeout(w,e)),p}return e=s(e)||0,i(n)&&(m=!!n.leading,g="maxWait"in n,h=g?a(s(n.maxWait)||0,e):h,v="trailing"in n?!!n.trailing:v),Q.cancel=S,Q.flush=k,Q}t.exports=c},53816:(t,e,n)=>{var i=n(69389),r=n(79833),s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",l="\\u20d0-\\u20ff",c=o+a+l,u="["+c+"]",h=RegExp(u,"g");function p(t){return t=r(t),t&&t.replace(s,i).replace(h,"")}t.exports=p},77813:t=>{function e(t,e){return t===e||t!==t&&e!==e}t.exports=e},7187:(t,e,n)=>{var i=n(89464),r=n(79833),s=/[&<>"']/g,o=RegExp(s.source);function a(t){return t=r(t),t&&o.test(t)?t.replace(s,i):t}t.exports=a},13311:(t,e,n)=>{var i=n(67740),r=n(30998),s=i(r);t.exports=s},30998:(t,e,n)=>{var i=n(41848),r=n(67206),s=n(40554),o=Math.max;function a(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var l=null==n?0:s(n);return l<0&&(l=o(a+l,0)),i(t,r(e,3),l)}t.exports=a},27361:(t,e,n)=>{var i=n(97786);function r(t,e,n){var r=null==t?void 0:i(t,e);return void 0===r?n:r}t.exports=r},79095:(t,e,n)=>{var i=n(13),r=n(222);function s(t,e){return null!=t&&r(t,e,i)}t.exports=s},6557:t=>{function e(t){return t}t.exports=e},35694:(t,e,n)=>{var i=n(9454),r=n(37005),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},98612:(t,e,n)=>{var i=n(23560),r=n(41780);function s(t){return null!=t&&r(t.length)&&!i(t)}t.exports=s},29246:(t,e,n)=>{var i=n(98612),r=n(37005);function s(t){return r(t)&&i(t)}t.exports=s},44144:(t,e,n)=>{t=n.nmd(t);var i=n(55639),r=n(95062),s=e&&!e.nodeType&&e,o=s&&t&&!t.nodeType&&t,a=o&&o.exports===s,l=a?i.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||r;t.exports=u},18446:(t,e,n)=>{var i=n(90939);function r(t,e){return i(t,e)}t.exports=r},64647:(t,e,n)=>{var i=n(44239),r=n(37005),s=n(68630),o="[object DOMException]",a="[object Error]";function l(t){if(!r(t))return!1;var e=i(t);return e==a||e==o||"string"==typeof t.message&&"string"==typeof t.name&&!s(t)}t.exports=l},23560:(t,e,n)=>{var i=n(44239),r=n(13218),s="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";function c(t){if(!r(t))return!1;var e=i(t);return e==o||e==a||e==s||e==l}t.exports=c},41780:t=>{var e=9007199254740991;function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}t.exports=n},81763:(t,e,n)=>{var i=n(44239),r=n(37005),s="[object Number]";function o(t){return"number"==typeof t||r(t)&&i(t)==s}t.exports=o},13218:t=>{function e(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=e},37005:t=>{function e(t){return null!=t&&"object"==typeof t}t.exports=e},68630:(t,e,n)=>{var i=n(44239),r=n(85924),s=n(37005),o="[object Object]",a=Function.prototype,l=Object.prototype,c=a.toString,u=l.hasOwnProperty,h=c.call(Object);function p(t){if(!s(t)||i(t)!=o)return!1;var e=r(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==h}t.exports=p},96347:(t,e,n)=>{var i=n(23933),r=n(7518),s=n(31167),o=s&&s.isRegExp,a=o?r(o):i;t.exports=a},47037:(t,e,n)=>{var i=n(44239),r=n(1469),s=n(37005),o="[object String]";function a(t){return"string"==typeof t||!r(t)&&s(t)&&i(t)==o}t.exports=a},33448:(t,e,n)=>{var i=n(44239),r=n(37005),s="[object Symbol]";function o(t){return"symbol"==typeof t||r(t)&&i(t)==s}t.exports=o},36719:(t,e,n)=>{var i=n(38749),r=n(7518),s=n(31167),o=s&&s.isTypedArray,a=o?r(o):i;t.exports=a},3674:(t,e,n)=>{var i=n(14636),r=n(280),s=n(98612);function o(t){return s(t)?i(t):r(t)}t.exports=o},81704:(t,e,n)=>{var i=n(14636),r=n(10313),s=n(98612);function o(t){return s(t)?i(t,!0):r(t)}t.exports=o},45021:(t,e,n)=>{var i=n(35393),r=i((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}));t.exports=r},88306:(t,e,n)=>{var i=n(83369),r="Expected a function";function s(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(r);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],s=n.cache;if(s.has(r))return s.get(r);var o=t.apply(this,i);return n.cache=s.set(r,o)||s,o};return n.cache=new(s.Cache||i),n}s.Cache=i,t.exports=s},82492:(t,e,n)=>{var i=n(42980),r=n(21463),s=r((function(t,e,n){i(t,e,n)}));t.exports=s},30236:(t,e,n)=>{var i=n(42980),r=n(21463),s=r((function(t,e,n,r){i(t,e,n,r)}));t.exports=s},50308:t=>{function e(){}t.exports=e},7771:(t,e,n)=>{var i=n(55639),r=function(){return i.Date.now()};t.exports=r},39601:(t,e,n)=>{var i=n(40371),r=n(79152),s=n(15403),o=n(40327);function a(t){return s(t)?i(o(t)):r(t)}t.exports=a},59854:(t,e,n)=>{var i=n(89179),r=i("round");t.exports=r},36968:(t,e,n)=>{var i=n(10611);function r(t,e,n){return null==t?t:i(t,e,n)}t.exports=r},70479:t=>{function e(){return[]}t.exports=e},95062:t=>{function e(){return!1}t.exports=e},41106:(t,e,n)=>{var i=n(29018),r=n(9591),s=n(47415),o=n(24626),a=n(31994),l=n(64647),c=n(16612),u=n(3674),h=n(5712),p=n(15835),d=n(79833),f="Invalid `variable` option passed into `_.template`",O=/\b__p \+= '';/g,m=/\b(__p \+=) '' \+/g,g=/(__e\(.*?\)|\b__t\)) \+\n'';/g,v=/[()=,{}\[\]\/\s]/,y=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,b=/($^)/,_=/['\n\r\u2028\u2029\\]/g,x=Object.prototype,w=x.hasOwnProperty;function $(t,e,n){var x=p.imports._.templateSettings||p;n&&c(t,e,n)&&(e=void 0),t=d(t),e=i({},e,x,o);var $,S,k=i({},e.imports,x.imports,o),Q=u(k),T=s(k,Q),P=0,C=e.interpolate||b,A="__p += '",E=RegExp((e.escape||b).source+"|"+C.source+"|"+(C===h?y:b).source+"|"+(e.evaluate||b).source+"|$","g"),R=w.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(E,(function(e,n,i,r,s,o){return i||(i=r),A+=t.slice(P,o).replace(_,a),n&&($=!0,A+="' +\n__e("+n+") +\n'"),s&&(S=!0,A+="';\n"+s+";\n__p += '"),i&&(A+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),P=o+e.length,e})),A+="';\n";var M=w.call(e,"variable")&&e.variable;if(M){if(v.test(M))throw new Error(f)}else A="with (obj) {\n"+A+"\n}\n";A=(S?A.replace(O,""):A).replace(m,"$1").replace(g,"$1;"),A="function("+(M||"obj")+") {\n"+(M?"":"obj || (obj = {});\n")+"var __t, __p = ''"+($?", __e = _.escape":"")+(S?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+A+"return __p\n}";var D=r((function(){return Function(Q,R+"return "+A).apply(void 0,T)}));if(D.source=A,l(D))throw D;return D}t.exports=$},15835:(t,e,n)=>{var i=n(7187),r=n(79865),s=n(76051),o=n(5712),a={escape:r,evaluate:s,interpolate:o,variable:"",imports:{_:{escape:i}}};t.exports=a},23493:(t,e,n)=>{var i=n(23279),r=n(13218),s="Expected a function";function o(t,e,n){var o=!0,a=!0;if("function"!=typeof t)throw new TypeError(s);return r(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),i(t,e,{leading:o,maxWait:e,trailing:a})}t.exports=o},18601:(t,e,n)=>{var i=n(14841),r=1/0,s=17976931348623157e292;function o(t){if(!t)return 0===t?t:0;if(t=i(t),t===r||t===-r){var e=t<0?-1:1;return e*s}return t===t?t:0}t.exports=o},40554:(t,e,n)=>{var i=n(18601);function r(t){var e=i(t),n=e%1;return e===e?n?e-n:e:0}t.exports=r},14841:(t,e,n)=>{var i=n(27561),r=n(13218),s=n(33448),o=NaN,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function h(t){if("number"==typeof t)return t;if(s(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=l.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?o:+t}t.exports=h},59881:(t,e,n)=>{var i=n(98363),r=n(81704);function s(t){return i(t,r(t))}t.exports=s},79833:(t,e,n)=>{var i=n(80531);function r(t){return null==t?"":i(t)}t.exports=r},68718:(t,e,n)=>{var i=n(77412),r=n(3118),s=n(47816),o=n(67206),a=n(85924),l=n(1469),c=n(44144),u=n(23560),h=n(13218),p=n(36719);function d(t,e,n){var d=l(t),f=d||c(t)||p(t);if(e=o(e,4),null==n){var O=t&&t.constructor;n=f?d?new O:[]:h(t)&&u(O)?r(a(t)):{}}return(f?i:s)(t,(function(t,i,r){return e(n,t,i,r)})),n}t.exports=d},39138:(t,e,n)=>{var i=n(80531),r=n(40180),s=n(62689),o=n(13218),a=n(96347),l=n(88016),c=n(83140),u=n(40554),h=n(79833),p=30,d="...",f=/\w*$/;function O(t,e){var n=p,O=d;if(o(e)){var m="separator"in e?e.separator:m;n="length"in e?u(e.length):n,O="omission"in e?i(e.omission):O}t=h(t);var g=t.length;if(s(t)){var v=c(t);g=v.length}if(n>=g)return t;var y=n-l(O);if(y<1)return O;var b=v?r(v,0,y).join(""):t.slice(0,y);if(void 0===m)return b+O;if(v&&(y+=b.length-y),a(m)){if(t.slice(y).search(m)){var _,x=b;m.global||(m=RegExp(m.source,h(f.exec(m))+"g")),m.lastIndex=0;while(_=m.exec(x))var w=_.index;b=b.slice(0,void 0===w?y:w)}}else if(t.indexOf(i(m),y)!=y){var $=b.lastIndexOf(m);$>-1&&(b=b.slice(0,$))}return b+O}t.exports=O},44908:(t,e,n)=>{var i=n(45652);function r(t){return t&&t.length?i(t):[]}t.exports=r},11700:(t,e,n)=>{var i=n(98805),r=i("toUpperCase");t.exports=r},58748:(t,e,n)=>{var i=n(49029),r=n(93157),s=n(79833),o=n(2757);function a(t,e,n){return t=s(t),e=n?void 0:e,void 0===e?r(t)?o(t):i(t):t.match(e)||[]}t.exports=a},87655:()=>{},4245:()=>{},1884:()=>{},19027:()=>{},22838:()=>{},47393:()=>{},58053:t=>{(function(){const e=t=>(new TextEncoder).encode(t);function n(t,n){"string"===typeof t&&(t=e(t));let i,r=t.length,s=n^r,o=0;while(r>=4)i=255&t[o]|(255&t[++o])<<8|(255&t[++o])<<16|(255&t[++o])<<24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),i^=i>>>24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16)^i,r-=4,++o;switch(r){case 3:s^=(255&t[o+2])<<16;case 2:s^=(255&t[o+1])<<8;case 1:s^=255&t[o],s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16)}return s^=s>>>13,s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16),s^=s>>>15,s>>>0}function i(t,n){let i,r,s,o,a,l,c,u;"string"===typeof t&&(t=e(t)),i=3&t.length,r=t.length-i,s=n,a=3432918353,l=461845907,u=0;while(u<r)c=255&t[u]|(255&t[++u])<<8|(255&t[++u])<<16|(255&t[++u])<<24,++u,c=(65535&c)*a+(((c>>>16)*a&65535)<<16)&4294967295,c=c<<15|c>>>17,c=(65535&c)*l+(((c>>>16)*l&65535)<<16)&4294967295,s^=c,s=s<<13|s>>>19,o=5*(65535&s)+((5*(s>>>16)&65535)<<16)&4294967295,s=27492+(65535&o)+((58964+(o>>>16)&65535)<<16);switch(c=0,i){case 3:c^=(255&t[u+2])<<16;case 2:c^=(255&t[u+1])<<8;case 1:c^=255&t[u],c=(65535&c)*a+(((c>>>16)*a&65535)<<16)&4294967295,c=c<<15|c>>>17,c=(65535&c)*l+(((c>>>16)*l&65535)<<16)&4294967295,s^=c}return s^=t.length,s^=s>>>16,s=2246822507*(65535&s)+((2246822507*(s>>>16)&65535)<<16)&4294967295,s^=s>>>13,s=3266489909*(65535&s)+((3266489909*(s>>>16)&65535)<<16)&4294967295,s^=s>>>16,s>>>0}const r=i;r.v2=n,r.v3=i,t.exports=r})()},31496:(t,e,n)=>{"use strict";n.d(e,{D:()=>o});var i=function(t){return void 0===t},r=function(t){return Array.isArray(t)},s=function(t){return t&&"number"==typeof t.size&&"string"==typeof t.type&&"function"==typeof t.slice},o=function(t,e,n,a){return(e=e||{}).indices=!i(e.indices)&&e.indices,e.nullsAsUndefineds=!i(e.nullsAsUndefineds)&&e.nullsAsUndefineds,e.booleansAsIntegers=!i(e.booleansAsIntegers)&&e.booleansAsIntegers,n=n||new FormData,i(t)||(null===t?e.nullsAsUndefineds||n.append(a,""):"boolean"!=typeof t?r(t)?t.length&&t.forEach((function(t,i){o(t,e,n,a+"["+(e.indices?i:"")+"]")})):t instanceof Date?n.append(a,t.toISOString()):t!==Object(t)||function(t){return s(t)&&"string"==typeof t.name&&("object"==typeof t.lastModifiedDate||"number"==typeof t.lastModified)}(t)||s(t)?n.append(a,t):Object.keys(t).forEach((function(i){var s=t[i];if(r(s))for(;i.length>2&&i.lastIndexOf("[]")===i.length-2;)i=i.substring(0,i.length-2);o(s,e,n,a?a+"["+i+"]":i)})):n.append(a,e.booleansAsIntegers?t?1:0:t)),n}},26470:t=>{"use strict";function e(t){if("string"!==typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,e){for(var n,i="",r=0,s=-1,o=0,a=0;a<=t.length;++a){if(a<t.length)n=t.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(s===a-1||1===o);else if(s!==a-1&&2===o){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",r=0):(i=i.slice(0,l),r=i.length-1-i.lastIndexOf("/")),s=a,o=0;continue}}else if(2===i.length||1===i.length){i="",r=0,s=a,o=0;continue}e&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+t.slice(s+1,a):i=t.slice(s+1,a),r=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return i}function i(t,e){var n=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+i:n+t+i:i}var r={resolve:function(){for(var t,i="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var o;s>=0?o=arguments[s]:(void 0===t&&(t=process.cwd()),o=t),e(o),0!==o.length&&(i=o+"/"+i,r=47===o.charCodeAt(0))}return i=n(i,!r),r?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(t){if(e(t),0===t.length)return".";var i=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return t=n(t,!i),0!==t.length||i||(t="."),t.length>0&&r&&(t+="/"),i?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var i=arguments[n];e(i),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":r.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n)return"";if(t=r.resolve(t),n=r.resolve(n),t===n)return"";for(var i=1;i<t.length;++i)if(47!==t.charCodeAt(i))break;for(var s=t.length,o=s-i,a=1;a<n.length;++a)if(47!==n.charCodeAt(a))break;for(var l=n.length,c=l-a,u=o<c?o:c,h=-1,p=0;p<=u;++p){if(p===u){if(c>u){if(47===n.charCodeAt(a+p))return n.slice(a+p+1);if(0===p)return n.slice(a+p)}else o>u&&(47===t.charCodeAt(i+p)?h=p:0===p&&(h=0));break}var d=t.charCodeAt(i+p),f=n.charCodeAt(a+p);if(d!==f)break;47===d&&(h=p)}var O="";for(p=i+h+1;p<=s;++p)p!==s&&47!==t.charCodeAt(p)||(0===O.length?O+="..":O+="/..");return O.length>0?O+n.slice(a+h):(a+=h,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),i=47===n,r=-1,s=!0,o=t.length-1;o>=1;--o)if(n=t.charCodeAt(o),47===n){if(!s){r=o;break}}else s=!1;return-1===r?i?"/":".":i&&1===r?"//":t.slice(0,r)},basename:function(t,n){if(void 0!==n&&"string"!==typeof n)throw new TypeError('"ext" argument must be a string');e(t);var i,r=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var a=n.length-1,l=-1;for(i=t.length-1;i>=0;--i){var c=t.charCodeAt(i);if(47===c){if(!o){r=i+1;break}}else-1===l&&(o=!1,l=i+1),a>=0&&(c===n.charCodeAt(a)?-1===--a&&(s=i):(a=-1,s=l))}return r===s?s=l:-1===s&&(s=t.length),t.slice(r,s)}for(i=t.length-1;i>=0;--i)if(47===t.charCodeAt(i)){if(!o){r=i+1;break}}else-1===s&&(o=!1,s=i+1);return-1===s?"":t.slice(r,s)},extname:function(t){e(t);for(var n=-1,i=0,r=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(47!==l)-1===r&&(s=!1,r=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){i=a+1;break}}return-1===n||-1===r||0===o||1===o&&n===r-1&&n===i+1?"":t.slice(n,r)},format:function(t){if(null===t||"object"!==typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return i("/",t)},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var i,r=t.charCodeAt(0),s=47===r;s?(n.root="/",i=1):i=0;for(var o=-1,a=0,l=-1,c=!0,u=t.length-1,h=0;u>=i;--u)if(r=t.charCodeAt(u),47!==r)-1===l&&(c=!1,l=u+1),46===r?-1===o?o=u:1!==h&&(h=1):-1!==o&&(h=-1);else if(!c){a=u+1;break}return-1===o||-1===l||0===h||1===h&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?t.slice(1,l):t.slice(a,l)):(0===a&&s?(n.name=t.slice(1,o),n.base=t.slice(1,l)):(n.name=t.slice(a,o),n.base=t.slice(a,l)),n.ext=t.slice(o,l)),a>0?n.dir=t.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,t.exports=r},77994:(t,e,n)=>{"use strict";
/*!
* pretty <https://github.com/jonschlinkert/pretty>
*
* Copyright (c) 2013-2015, 2017, Jon Schlinkert.
* Released under the MIT License.
*/var i=n(84204),r=n(59124),s=n(80563),o={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"};function a(t,e){return r(t,e).replace(/^\s+/g,"").replace(/\s+$/g,"\n").replace(/(\s*<!--)/g,"\n$1").replace(/>(\s*)(?=<!--\s*\/)/g,"> ")}t.exports=function(t,e){var n=s({},o,e);return t=i.html(t,n),!0===n.ocd?(n.newlines&&(n.sep=n.newlines),a(t,n)):t}},80563:(t,e,n)=>{"use strict";var i=n(51833);function r(t,e){for(var n in e)s(e,n)&&(t[n]=e[n])}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t){i(t)||(t={});for(var e=arguments.length,n=1;n<e;n++){var s=arguments[n];i(s)&&r(t,s)}return t}},32230:(t,e,n)=>{"use strict";function i(t){this.content=t}n.d(e,{aw:()=>dt,PW:()=>Ct,HY:()=>l,vc:()=>d,ZU:()=>ut,NB:()=>j,Ts:()=>M,e4:()=>f,V_:()=>ht,p2:()=>O}),i.prototype={constructor:i,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return-1==e?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,s=r.find(t),o=r.content.slice();return-1==s?o.push(n||t,e):(o[s+1]=e,n&&(o[s]=n)),new i(o)},remove:function(t){var e=this.find(t);if(-1==e)return this;var n=this.content.slice();return n.splice(e,2),new i(n)},addToStart:function(t,e){return new i([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new i(n)},addBefore:function(t,e,n){var r=this.remove(e),s=r.content.slice(),o=r.find(t);return s.splice(-1==o?s.length:o,0,e,n),new i(s)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=i.from(t),t.size?new i(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=i.from(t),t.size?new i(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=i.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},get size(){return this.content.length>>1}},i.from=function(t){if(t instanceof i)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new i(e)};var r=i;const s=r;function o(t,e,n){for(var i=0;;i++){if(i==t.childCount||i==e.childCount)return t.childCount==e.childCount?null:n;var r=t.child(i),s=e.child(i);if(r!=s){if(!r.sameMarkup(s))return n;if(r.isText&&r.text!=s.text){for(var a=0;r.text[a]==s.text[a];a++)n++;return n}if(r.content.size||s.content.size){var l=o(r.content,s.content,n+1);if(null!=l)return l}n+=r.nodeSize}else n+=r.nodeSize}}function a(t,e,n,i){for(var r=t.childCount,s=e.childCount;;){if(0==r||0==s)return r==s?null:{a:n,b:i};var o=t.child(--r),l=e.child(--s),c=o.nodeSize;if(o!=l){if(!o.sameMarkup(l))return{a:n,b:i};if(o.isText&&o.text!=l.text){var u=0,h=Math.min(o.text.length,l.text.length);while(u<h&&o.text[o.text.length-u-1]==l.text[l.text.length-u-1])u++,n--,i--;return{a:n,b:i}}if(o.content.size||l.content.size){var p=a(o.content,l.content,n-1,i-1);if(p)return p}n-=c,i-=c}else n-=c,i-=c}}var l=function(t,e){if(this.content=t,this.size=e||0,null==e)for(var n=0;n<t.length;n++)this.size+=t[n].nodeSize},c={firstChild:{configurable:!0},lastChild:{configurable:!0},childCount:{configurable:!0}};l.prototype.nodesBetween=function(t,e,n,i,r){void 0===i&&(i=0);for(var s=0,o=0;o<e;s++){var a=this.content[s],l=o+a.nodeSize;if(l>t&&!1!==n(a,i+o,r,s)&&a.content.size){var c=o+1;a.nodesBetween(Math.max(0,t-c),Math.min(a.content.size,e-c),n,i+c)}o=l}},l.prototype.descendants=function(t){this.nodesBetween(0,this.size,t)},l.prototype.textBetween=function(t,e,n,i){var r="",s=!0;return this.nodesBetween(t,e,(function(o,a){o.isText?(r+=o.text.slice(Math.max(t,a)-a,e-a),s=!n):o.isLeaf&&i?(r+="function"===typeof i?i(o):i,s=!n):!s&&o.isBlock&&(r+=n,s=!0)}),0),r},l.prototype.append=function(t){if(!t.size)return this;if(!this.size)return t;var e=this.lastChild,n=t.firstChild,i=this.content.slice(),r=0;for(e.isText&&e.sameMarkup(n)&&(i[i.length-1]=e.withText(e.text+n.text),r=1);r<t.content.length;r++)i.push(t.content[r]);return new l(i,this.size+t.size)},l.prototype.cut=function(t,e){if(null==e&&(e=this.size),0==t&&e==this.size)return this;var n=[],i=0;if(e>t)for(var r=0,s=0;s<e;r++){var o=this.content[r],a=s+o.nodeSize;a>t&&((s<t||a>e)&&(o=o.isText?o.cut(Math.max(0,t-s),Math.min(o.text.length,e-s)):o.cut(Math.max(0,t-s-1),Math.min(o.content.size,e-s-1))),n.push(o),i+=o.nodeSize),s=a}return new l(n,i)},l.prototype.cutByIndex=function(t,e){return t==e?l.empty:0==t&&e==this.content.length?this:new l(this.content.slice(t,e))},l.prototype.replaceChild=function(t,e){var n=this.content[t];if(n==e)return this;var i=this.content.slice(),r=this.size+e.nodeSize-n.nodeSize;return i[t]=e,new l(i,r)},l.prototype.addToStart=function(t){return new l([t].concat(this.content),this.size+t.nodeSize)},l.prototype.addToEnd=function(t){return new l(this.content.concat(t),this.size+t.nodeSize)},l.prototype.eq=function(t){if(this.content.length!=t.content.length)return!1;for(var e=0;e<this.content.length;e++)if(!this.content[e].eq(t.content[e]))return!1;return!0},c.firstChild.get=function(){return this.content.length?this.content[0]:null},c.lastChild.get=function(){return this.content.length?this.content[this.content.length-1]:null},c.childCount.get=function(){return this.content.length},l.prototype.child=function(t){var e=this.content[t];if(!e)throw new RangeError("Index "+t+" out of range for "+this);return e},l.prototype.maybeChild=function(t){return this.content[t]},l.prototype.forEach=function(t){for(var e=0,n=0;e<this.content.length;e++){var i=this.content[e];t(i,n,e),n+=i.nodeSize}},l.prototype.findDiffStart=function(t,e){return void 0===e&&(e=0),o(this,t,e)},l.prototype.findDiffEnd=function(t,e,n){return void 0===e&&(e=this.size),void 0===n&&(n=t.size),a(this,t,e,n)},l.prototype.findIndex=function(t,e){if(void 0===e&&(e=-1),0==t)return h(0,t);if(t==this.size)return h(this.content.length,t);if(t>this.size||t<0)throw new RangeError("Position "+t+" outside of fragment ("+this+")");for(var n=0,i=0;;n++){var r=this.child(n),s=i+r.nodeSize;if(s>=t)return s==t||e>0?h(n+1,s):h(n,i);i=s}},l.prototype.toString=function(){return"<"+this.toStringInner()+">"},l.prototype.toStringInner=function(){return this.content.join(", ")},l.prototype.toJSON=function(){return this.content.length?this.content.map((function(t){return t.toJSON()})):null},l.fromJSON=function(t,e){if(!e)return l.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new l(e.map(t.nodeFromJSON))},l.fromArray=function(t){if(!t.length)return l.empty;for(var e,n=0,i=0;i<t.length;i++){var r=t[i];n+=r.nodeSize,i&&r.isText&&t[i-1].sameMarkup(r)?(e||(e=t.slice(0,i)),e[e.length-1]=r.withText(e[e.length-1].text+r.text)):e&&e.push(r)}return new l(e||t,n)},l.from=function(t){if(!t)return l.empty;if(t instanceof l)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new l([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))},Object.defineProperties(l.prototype,c);var u={index:0,offset:0};function h(t,e){return u.index=t,u.offset=e,u}function p(t,e){if(t===e)return!0;if(!t||"object"!=typeof t||!e||"object"!=typeof e)return!1;var n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(var i=0;i<t.length;i++)if(!p(t[i],e[i]))return!1}else{for(var r in t)if(!(r in e)||!p(t[r],e[r]))return!1;for(var s in e)if(!(s in t))return!1}return!0}l.empty=new l([],0);var d=function(t,e){this.type=t,this.attrs=e};function f(t){var e=Error.call(this,t);return e.__proto__=f.prototype,e}d.prototype.addToSet=function(t){for(var e,n=!1,i=0;i<t.length;i++){var r=t[i];if(this.eq(r))return t;if(this.type.excludes(r.type))e||(e=t.slice(0,i));else{if(r.type.excludes(this.type))return t;!n&&r.type.rank>this.type.rank&&(e||(e=t.slice(0,i)),e.push(this),n=!0),e&&e.push(r)}}return e||(e=t.slice()),n||e.push(this),e},d.prototype.removeFromSet=function(t){for(var e=0;e<t.length;e++)if(this.eq(t[e]))return t.slice(0,e).concat(t.slice(e+1));return t},d.prototype.isInSet=function(t){for(var e=0;e<t.length;e++)if(this.eq(t[e]))return!0;return!1},d.prototype.eq=function(t){return this==t||this.type==t.type&&p(this.attrs,t.attrs)},d.prototype.toJSON=function(){var t={type:this.type.name};for(var e in this.attrs){t.attrs=this.attrs;break}return t},d.fromJSON=function(t,e){if(!e)throw new RangeError("Invalid input for Mark.fromJSON");var n=t.marks[e.type];if(!n)throw new RangeError("There is no mark type "+e.type+" in this schema");return n.create(e.attrs)},d.sameSet=function(t,e){if(t==e)return!0;if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(!t[n].eq(e[n]))return!1;return!0},d.setFrom=function(t){if(!t||0==t.length)return d.none;if(t instanceof d)return[t];var e=t.slice();return e.sort((function(t,e){return t.type.rank-e.type.rank})),e},d.none=[],f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f.prototype.name="ReplaceError";var O=function(t,e,n){this.content=t,this.openStart=e,this.openEnd=n},m={size:{configurable:!0}};function g(t,e,n){var i=t.findIndex(e),r=i.index,s=i.offset,o=t.maybeChild(r),a=t.findIndex(n),l=a.index,c=a.offset;if(s==e||o.isText){if(c!=n&&!t.child(l).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=l)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(g(o.content,e-s-1,n-s-1)))}function v(t,e,n,i){var r=t.findIndex(e),s=r.index,o=r.offset,a=t.maybeChild(s);if(o==e||a.isText)return i&&!i.canReplace(s,s,n)?null:t.cut(0,e).append(n).append(t.cut(e));var l=v(a.content,e-o-1,n);return l&&t.replaceChild(s,a.copy(l))}function y(t,e,n){if(n.openStart>t.depth)throw new f("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new f("Inconsistent open depths");return b(t,e,n,0)}function b(t,e,n,i){var r=t.index(i),s=t.node(i);if(r==e.index(i)&&i<t.depth-n.openStart){var o=b(t,e,n,i+1);return s.copy(s.content.replaceChild(r,o))}if(n.content.size){if(n.openStart||n.openEnd||t.depth!=i||e.depth!=i){var a=T(n,t),l=a.start,c=a.end;return S(s,k(t,l,c,e,i))}var u=t.parent,h=u.content;return S(u,h.cut(0,t.parentOffset).append(n.content).append(h.cut(e.parentOffset)))}return S(s,Q(t,e,i))}function _(t,e){if(!e.type.compatibleContent(t.type))throw new f("Cannot join "+e.type.name+" onto "+t.type.name)}function x(t,e,n){var i=t.node(n);return _(i,e.node(n)),i}function w(t,e){var n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function $(t,e,n,i){var r=(e||t).node(n),s=0,o=e?e.index(n):r.childCount;t&&(s=t.index(n),t.depth>n?s++:t.textOffset&&(w(t.nodeAfter,i),s++));for(var a=s;a<o;a++)w(r.child(a),i);e&&e.depth==n&&e.textOffset&&w(e.nodeBefore,i)}function S(t,e){if(!t.type.validContent(e))throw new f("Invalid content for node "+t.type.name);return t.copy(e)}function k(t,e,n,i,r){var s=t.depth>r&&x(t,e,r+1),o=i.depth>r&&x(n,i,r+1),a=[];return $(null,t,r,a),s&&o&&e.index(r)==n.index(r)?(_(s,o),w(S(s,k(t,e,n,i,r+1)),a)):(s&&w(S(s,Q(t,e,r+1)),a),$(e,n,r,a),o&&w(S(o,Q(n,i,r+1)),a)),$(i,null,r,a),new l(a)}function Q(t,e,n){var i=[];if($(null,t,n,i),t.depth>n){var r=x(t,e,n+1);w(S(r,Q(t,e,n+1)),i)}return $(e,null,n,i),new l(i)}function T(t,e){for(var n=e.depth-t.openStart,i=e.node(n),r=i.copy(t.content),s=n-1;s>=0;s--)r=e.node(s).copy(l.from(r));return{start:r.resolveNoCache(t.openStart+n),end:r.resolveNoCache(r.content.size-t.openEnd-n)}}m.size.get=function(){return this.content.size-this.openStart-this.openEnd},O.prototype.insertAt=function(t,e){var n=v(this.content,t+this.openStart,e,null);return n&&new O(n,this.openStart,this.openEnd)},O.prototype.removeBetween=function(t,e){return new O(g(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)},O.prototype.eq=function(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd},O.prototype.toString=function(){return this.content+"("+this.openStart+","+this.openEnd+")"},O.prototype.toJSON=function(){if(!this.content.size)return null;var t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t},O.fromJSON=function(t,e){if(!e)return O.empty;var n=e.openStart||0,i=e.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw new RangeError("Invalid input for Slice.fromJSON");return new O(l.fromJSON(t,e.content),n,i)},O.maxOpen=function(t,e){void 0===e&&(e=!0);for(var n=0,i=0,r=t.firstChild;r&&!r.isLeaf&&(e||!r.type.spec.isolating);r=r.firstChild)n++;for(var s=t.lastChild;s&&!s.isLeaf&&(e||!s.type.spec.isolating);s=s.lastChild)i++;return new O(t,n,i)},Object.defineProperties(O.prototype,m),O.empty=new O(l.empty,0,0);var P=function(t,e,n){this.pos=t,this.path=e,this.depth=e.length/3-1,this.parentOffset=n},C={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};P.prototype.resolveDepth=function(t){return null==t?this.depth:t<0?this.depth+t:t},C.parent.get=function(){return this.node(this.depth)},C.doc.get=function(){return this.node(0)},P.prototype.node=function(t){return this.path[3*this.resolveDepth(t)]},P.prototype.index=function(t){return this.path[3*this.resolveDepth(t)+1]},P.prototype.indexAfter=function(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)},P.prototype.start=function(t){return t=this.resolveDepth(t),0==t?0:this.path[3*t-1]+1},P.prototype.end=function(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size},P.prototype.before=function(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]},P.prototype.after=function(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize},C.textOffset.get=function(){return this.pos-this.path[this.path.length-1]},C.nodeAfter.get=function(){var t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;var n=this.pos-this.path[this.path.length-1],i=t.child(e);return n?t.child(e).cut(n):i},C.nodeBefore.get=function(){var t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)},P.prototype.posAtIndex=function(t,e){e=this.resolveDepth(e);for(var n=this.path[3*e],i=0==e?0:this.path[3*e-1]+1,r=0;r<t;r++)i+=n.child(r).nodeSize;return i},P.prototype.marks=function(){var t=this.parent,e=this.index();if(0==t.content.size)return d.none;if(this.textOffset)return t.child(e).marks;var n=t.maybeChild(e-1),i=t.maybeChild(e);if(!n){var r=n;n=i,i=r}for(var s=n.marks,o=0;o<s.length;o++)!1!==s[o].type.spec.inclusive||i&&s[o].isInSet(i.marks)||(s=s[o--].removeFromSet(s));return s},P.prototype.marksAcross=function(t){var e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;for(var n=e.marks,i=t.parent.maybeChild(t.index()),r=0;r<n.length;r++)!1!==n[r].type.spec.inclusive||i&&n[r].isInSet(i.marks)||(n=n[r--].removeFromSet(n));return n},P.prototype.sharedDepth=function(t){for(var e=this.depth;e>0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0},P.prototype.blockRange=function(t,e){if(void 0===t&&(t=this),t.pos<this.pos)return t.blockRange(this);for(var n=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);n>=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new M(this,t,n)},P.prototype.sameParent=function(t){return this.pos-this.parentOffset==t.pos-t.parentOffset},P.prototype.max=function(t){return t.pos>this.pos?t:this},P.prototype.min=function(t){return t.pos<this.pos?t:this},P.prototype.toString=function(){for(var t="",e=1;e<=this.depth;e++)t+=(t?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return t+":"+this.parentOffset},P.resolve=function(t,e){if(!(e>=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");for(var n=[],i=0,r=e,s=t;;){var o=s.content.findIndex(r),a=o.index,l=o.offset,c=r-l;if(n.push(s,a,i+l),!c)break;if(s=s.child(a),s.isText)break;r=c-1,i+=l+1}return new P(e,n,r)},P.resolveCached=function(t,e){for(var n=0;n<A.length;n++){var i=A[n];if(i.pos==e&&i.doc==t)return i}var r=A[E]=P.resolve(t,e);return E=(E+1)%R,r},Object.defineProperties(P.prototype,C);var A=[],E=0,R=12,M=function(t,e,n){this.$from=t,this.$to=e,this.depth=n},D={start:{configurable:!0},end:{configurable:!0},parent:{configurable:!0},startIndex:{configurable:!0},endIndex:{configurable:!0}};D.start.get=function(){return this.$from.before(this.depth+1)},D.end.get=function(){return this.$to.after(this.depth+1)},D.parent.get=function(){return this.$from.node(this.depth)},D.startIndex.get=function(){return this.$from.index(this.depth)},D.endIndex.get=function(){return this.$to.indexAfter(this.depth)},Object.defineProperties(M.prototype,D);var z=Object.create(null),j=function(t,e,n,i){this.type=t,this.attrs=e,this.content=n||l.empty,this.marks=i||d.none},Z={nodeSize:{configurable:!0},childCount:{configurable:!0},textContent:{configurable:!0},firstChild:{configurable:!0},lastChild:{configurable:!0},isBlock:{configurable:!0},isTextblock:{configurable:!0},inlineContent:{configurable:!0},isInline:{configurable:!0},isText:{configurable:!0},isLeaf:{configurable:!0},isAtom:{configurable:!0}};Z.nodeSize.get=function(){return this.isLeaf?1:2+this.content.size},Z.childCount.get=function(){return this.content.childCount},j.prototype.child=function(t){return this.content.child(t)},j.prototype.maybeChild=function(t){return this.content.maybeChild(t)},j.prototype.forEach=function(t){this.content.forEach(t)},j.prototype.nodesBetween=function(t,e,n,i){void 0===i&&(i=0),this.content.nodesBetween(t,e,n,i,this)},j.prototype.descendants=function(t){this.nodesBetween(0,this.content.size,t)},Z.textContent.get=function(){return this.textBetween(0,this.content.size,"")},j.prototype.textBetween=function(t,e,n,i){return this.content.textBetween(t,e,n,i)},Z.firstChild.get=function(){return this.content.firstChild},Z.lastChild.get=function(){return this.content.lastChild},j.prototype.eq=function(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)},j.prototype.sameMarkup=function(t){return this.hasMarkup(t.type,t.attrs,t.marks)},j.prototype.hasMarkup=function(t,e,n){return this.type==t&&p(this.attrs,e||t.defaultAttrs||z)&&d.sameSet(this.marks,n||d.none)},j.prototype.copy=function(t){return void 0===t&&(t=null),t==this.content?this:new this.constructor(this.type,this.attrs,t,this.marks)},j.prototype.mark=function(t){return t==this.marks?this:new this.constructor(this.type,this.attrs,this.content,t)},j.prototype.cut=function(t,e){return 0==t&&e==this.content.size?this:this.copy(this.content.cut(t,e))},j.prototype.slice=function(t,e,n){if(void 0===e&&(e=this.content.size),void 0===n&&(n=!1),t==e)return O.empty;var i=this.resolve(t),r=this.resolve(e),s=n?0:i.sharedDepth(e),o=i.start(s),a=i.node(s),l=a.content.cut(i.pos-o,r.pos-o);return new O(l,i.depth-s,r.depth-s)},j.prototype.replace=function(t,e,n){return y(this.resolve(t),this.resolve(e),n)},j.prototype.nodeAt=function(t){for(var e=this;;){var n=e.content.findIndex(t),i=n.index,r=n.offset;if(e=e.maybeChild(i),!e)return null;if(r==t||e.isText)return e;t-=r+1}},j.prototype.childAfter=function(t){var e=this.content.findIndex(t),n=e.index,i=e.offset;return{node:this.content.maybeChild(n),index:n,offset:i}},j.prototype.childBefore=function(t){if(0==t)return{node:null,index:0,offset:0};var e=this.content.findIndex(t),n=e.index,i=e.offset;if(i<t)return{node:this.content.child(n),index:n,offset:i};var r=this.content.child(n-1);return{node:r,index:n-1,offset:i-r.nodeSize}},j.prototype.resolve=function(t){return P.resolveCached(this,t)},j.prototype.resolveNoCache=function(t){return P.resolve(this,t)},j.prototype.rangeHasMark=function(t,e,n){var i=!1;return e>t&&this.nodesBetween(t,e,(function(t){return n.isInSet(t.marks)&&(i=!0),!i})),i},Z.isBlock.get=function(){return this.type.isBlock},Z.isTextblock.get=function(){return this.type.isTextblock},Z.inlineContent.get=function(){return this.type.inlineContent},Z.isInline.get=function(){return this.type.isInline},Z.isText.get=function(){return this.type.isText},Z.isLeaf.get=function(){return this.type.isLeaf},Z.isAtom.get=function(){return this.type.isAtom},j.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),X(this.marks,t)},j.prototype.contentMatchAt=function(t){var e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e},j.prototype.canReplace=function(t,e,n,i,r){void 0===n&&(n=l.empty),void 0===i&&(i=0),void 0===r&&(r=n.childCount);var s=this.contentMatchAt(t).matchFragment(n,i,r),o=s&&s.matchFragment(this.content,e);if(!o||!o.validEnd)return!1;for(var a=i;a<r;a++)if(!this.type.allowsMarks(n.child(a).marks))return!1;return!0},j.prototype.canReplaceWith=function(t,e,n,i){if(i&&!this.type.allowsMarks(i))return!1;var r=this.contentMatchAt(t).matchType(n),s=r&&r.matchFragment(this.content,e);return!!s&&s.validEnd},j.prototype.canAppend=function(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)},j.prototype.check=function(){if(!this.type.validContent(this.content))throw new RangeError("Invalid content for node "+this.type.name+": "+this.content.toString().slice(0,50));for(var t=d.none,e=0;e<this.marks.length;e++)t=this.marks[e].addToSet(t);if(!d.sameSet(t,this.marks))throw new RangeError("Invalid collection of marks for node "+this.type.name+": "+this.marks.map((function(t){return t.type.name})));this.content.forEach((function(t){return t.check()}))},j.prototype.toJSON=function(){var t={type:this.type.name};for(var e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map((function(t){return t.toJSON()}))),t},j.fromJSON=function(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");var n=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw new RangeError("Invalid text node in JSON");return t.text(e.text,n)}var i=l.fromJSON(t,e.content);return t.nodeType(e.type).create(e.attrs,i,n)},Object.defineProperties(j.prototype,Z);var V=function(t){function e(e,n,i,r){if(t.call(this,e,n,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={textContent:{configurable:!0},nodeSize:{configurable:!0}};return e.prototype.toString=function(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):X(this.marks,JSON.stringify(this.text))},n.textContent.get=function(){return this.text},e.prototype.textBetween=function(t,e){return this.text.slice(t,e)},n.nodeSize.get=function(){return this.text.length},e.prototype.mark=function(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)},e.prototype.withText=function(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)},e.prototype.cut=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.text.length),0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))},e.prototype.eq=function(t){return this.sameMarkup(t)&&this.text==t.text},e.prototype.toJSON=function(){var e=t.prototype.toJSON.call(this);return e.text=this.text,e},Object.defineProperties(e.prototype,n),e}(j);function X(t,e){for(var n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}var W=function(t){this.validEnd=t,this.next=[],this.wrapCache=[]},q={inlineContent:{configurable:!0},defaultType:{configurable:!0},edgeCount:{configurable:!0}};W.parse=function(t,e){var n=new I(t,e);if(null==n.next)return W.empty;var i=L(n);n.next&&n.err("Unexpected trailing text");var r=et(K(i));return nt(r,n),r},W.prototype.matchType=function(t){for(var e=0;e<this.next.length;e+=2)if(this.next[e]==t)return this.next[e+1];return null},W.prototype.matchFragment=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.childCount);for(var i=this,r=e;i&&r<n;r++)i=i.matchType(t.child(r).type);return i},q.inlineContent.get=function(){var t=this.next[0];return!!t&&t.isInline},q.defaultType.get=function(){for(var t=0;t<this.next.length;t+=2){var e=this.next[t];if(!e.isText&&!e.hasRequiredAttrs())return e}},W.prototype.compatible=function(t){for(var e=0;e<this.next.length;e+=2)for(var n=0;n<t.next.length;n+=2)if(this.next[e]==t.next[n])return!0;return!1},W.prototype.fillBefore=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=0);var i=[this];function r(s,o){var a=s.matchFragment(t,n);if(a&&(!e||a.validEnd))return l.from(o.map((function(t){return t.createAndFill()})));for(var c=0;c<s.next.length;c+=2){var u=s.next[c],h=s.next[c+1];if(!u.isText&&!u.hasRequiredAttrs()&&-1==i.indexOf(h)){i.push(h);var p=r(h,o.concat(u));if(p)return p}}}return r(this,[])},W.prototype.findWrapping=function(t){for(var e=0;e<this.wrapCache.length;e+=2)if(this.wrapCache[e]==t)return this.wrapCache[e+1];var n=this.computeWrapping(t);return this.wrapCache.push(t,n),n},W.prototype.computeWrapping=function(t){var e=Object.create(null),n=[{match:this,type:null,via:null}];while(n.length){var i=n.shift(),r=i.match;if(r.matchType(t)){for(var s=[],o=i;o.type;o=o.via)s.push(o.type);return s.reverse()}for(var a=0;a<r.next.length;a+=2){var l=r.next[a];l.isLeaf||l.hasRequiredAttrs()||l.name in e||i.type&&!r.next[a+1].validEnd||(n.push({match:l.contentMatch,type:l,via:i}),e[l.name]=!0)}}},q.edgeCount.get=function(){return this.next.length>>1},W.prototype.edge=function(t){var e=t<<1;if(e>=this.next.length)throw new RangeError("There's no "+t+"th edge in this content match");return{type:this.next[e],next:this.next[e+1]}},W.prototype.toString=function(){var t=[];function e(n){t.push(n);for(var i=1;i<n.next.length;i+=2)-1==t.indexOf(n.next[i])&&e(n.next[i])}return e(this),t.map((function(e,n){for(var i=n+(e.validEnd?"*":" ")+" ",r=0;r<e.next.length;r+=2)i+=(r?", ":"")+e.next[r].name+"->"+t.indexOf(e.next[r+1]);return i})).join("\n")},Object.defineProperties(W.prototype,q),W.empty=new W(!0);var I=function(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()},N={next:{configurable:!0}};function L(t){var e=[];do{e.push(B(t))}while(t.eat("|"));return 1==e.length?e[0]:{type:"choice",exprs:e}}function B(t){var e=[];do{e.push(U(t))}while(t.next&&")"!=t.next&&"|"!=t.next);return 1==e.length?e[0]:{type:"seq",exprs:e}}function U(t){for(var e=H(t);;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else{if(!t.eat("{"))break;e=F(t,e)}return e}function Y(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");var e=Number(t.next);return t.pos++,e}function F(t,e){var n=Y(t),i=n;return t.eat(",")&&(i="}"!=t.next?Y(t):-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:e}}function G(t,e){var n=t.nodeTypes,i=n[e];if(i)return[i];var r=[];for(var s in n){var o=n[s];o.groups.indexOf(e)>-1&&r.push(o)}return 0==r.length&&t.err("No node type or group '"+e+"' found"),r}function H(t){if(t.eat("(")){var e=L(t);return t.eat(")")||t.err("Missing closing paren"),e}if(!/\W/.test(t.next)){var n=G(t,t.next).map((function(e){return null==t.inline?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}}));return t.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}t.err("Unexpected token '"+t.next+"'")}function K(t){var e=[[]];return r(s(t,0),n()),e;function n(){return e.push([])-1}function i(t,n,i){var r={term:i,to:n};return e[t].push(r),r}function r(t,e){t.forEach((function(t){return t.to=e}))}function s(t,e){if("choice"==t.type)return t.exprs.reduce((function(t,n){return t.concat(s(n,e))}),[]);if("seq"==t.type)for(var o=0;;o++){var a=s(t.exprs[o],e);if(o==t.exprs.length-1)return a;r(a,e=n())}else{if("star"==t.type){var l=n();return i(e,l),r(s(t.expr,l),l),[i(l)]}if("plus"==t.type){var c=n();return r(s(t.expr,e),c),r(s(t.expr,c),c),[i(c)]}if("opt"==t.type)return[i(e)].concat(s(t.expr,e));if("range"==t.type){for(var u=e,h=0;h<t.min;h++){var p=n();r(s(t.expr,u),p),u=p}if(-1==t.max)r(s(t.expr,u),u);else for(var d=t.min;d<t.max;d++){var f=n();i(u,f),r(s(t.expr,u),f),u=f}return[i(u)]}if("name"==t.type)return[i(e,null,t.value)]}}}function J(t,e){return e-t}function tt(t,e){var n=[];return i(e),n.sort(J);function i(e){var r=t[e];if(1==r.length&&!r[0].term)return i(r[0].to);n.push(e);for(var s=0;s<r.length;s++){var o=r[s],a=o.term,l=o.to;a||-1!=n.indexOf(l)||i(l)}}}function et(t){var e=Object.create(null);return n(tt(t,0));function n(i){var r=[];i.forEach((function(e){t[e].forEach((function(e){var n=e.term,i=e.to;if(n){var s=r.indexOf(n),o=s>-1&&r[s+1];tt(t,i).forEach((function(t){o||r.push(n,o=[]),-1==o.indexOf(t)&&o.push(t)}))}}))}));for(var s=e[i.join(",")]=new W(i.indexOf(t.length-1)>-1),o=0;o<r.length;o+=2){var a=r[o+1].sort(J);s.next.push(r[o],e[a.join(",")]||n(a))}return s}}function nt(t,e){for(var n=0,i=[t];n<i.length;n++){for(var r=i[n],s=!r.validEnd,o=[],a=0;a<r.next.length;a+=2){var l=r.next[a],c=r.next[a+1];o.push(l.name),!s||l.isText||l.hasRequiredAttrs()||(s=!1),-1==i.indexOf(c)&&i.push(c)}s&&e.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function it(t){var e=Object.create(null);for(var n in t){var i=t[n];if(!i.hasDefault)return null;e[n]=i.default}return e}function rt(t,e){var n=Object.create(null);for(var i in t){var r=e&&e[i];if(void 0===r){var s=t[i];if(!s.hasDefault)throw new RangeError("No value supplied for attribute "+i);r=s.default}n[i]=r}return n}function st(t){var e=Object.create(null);if(t)for(var n in t)e[n]=new lt(t[n]);return e}N.next.get=function(){return this.tokens[this.pos]},I.prototype.eat=function(t){return this.next==t&&(this.pos++||!0)},I.prototype.err=function(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")},Object.defineProperties(I.prototype,N);var ot=function(t,e,n){this.name=t,this.schema=e,this.spec=n,this.groups=n.group?n.group.split(" "):[],this.attrs=st(n.attrs),this.defaultAttrs=it(this.attrs),this.contentMatch=null,this.markSet=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==t),this.isText="text"==t},at={isInline:{configurable:!0},isTextblock:{configurable:!0},isLeaf:{configurable:!0},isAtom:{configurable:!0},whitespace:{configurable:!0}};at.isInline.get=function(){return!this.isBlock},at.isTextblock.get=function(){return this.isBlock&&this.inlineContent},at.isLeaf.get=function(){return this.contentMatch==W.empty},at.isAtom.get=function(){return this.isLeaf||this.spec.atom},at.whitespace.get=function(){return this.spec.whitespace||(this.spec.code?"pre":"normal")},ot.prototype.hasRequiredAttrs=function(){for(var t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1},ot.prototype.compatibleContent=function(t){return this==t||this.contentMatch.compatible(t.contentMatch)},ot.prototype.computeAttrs=function(t){return!t&&this.defaultAttrs?this.defaultAttrs:rt(this.attrs,t)},ot.prototype.create=function(t,e,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new j(this,this.computeAttrs(t),l.from(e),d.setFrom(n))},ot.prototype.createChecked=function(t,e,n){if(e=l.from(e),!this.validContent(e))throw new RangeError("Invalid content for node "+this.name);return new j(this,this.computeAttrs(t),e,d.setFrom(n))},ot.prototype.createAndFill=function(t,e,n){if(t=this.computeAttrs(t),e=l.from(e),e.size){var i=this.contentMatch.fillBefore(e);if(!i)return null;e=i.append(e)}var r=this.contentMatch.matchFragment(e).fillBefore(l.empty,!0);return r?new j(this,t,e.append(r),d.setFrom(n)):null},ot.prototype.validContent=function(t){var e=this.contentMatch.matchFragment(t);if(!e||!e.validEnd)return!1;for(var n=0;n<t.childCount;n++)if(!this.allowsMarks(t.child(n).marks))return!1;return!0},ot.prototype.allowsMarkType=function(t){return null==this.markSet||this.markSet.indexOf(t)>-1},ot.prototype.allowsMarks=function(t){if(null==this.markSet)return!0;for(var e=0;e<t.length;e++)if(!this.allowsMarkType(t[e].type))return!1;return!0},ot.prototype.allowedMarks=function(t){if(null==this.markSet)return t;for(var e,n=0;n<t.length;n++)this.allowsMarkType(t[n].type)?e&&e.push(t[n]):e||(e=t.slice(0,n));return e?e.length?e:d.empty:t},ot.compile=function(t,e){var n=Object.create(null);t.forEach((function(t,i){return n[t]=new ot(t,e,i)}));var i=e.spec.topNode||"doc";if(!n[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(var r in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n},Object.defineProperties(ot.prototype,at);var lt=function(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default},ct={isRequired:{configurable:!0}};ct.isRequired.get=function(){return!this.hasDefault},Object.defineProperties(lt.prototype,ct);var ut=function(t,e,n,i){this.name=t,this.schema=n,this.spec=i,this.attrs=st(i.attrs),this.rank=e,this.excluded=null;var r=it(this.attrs);this.instance=r&&new d(this,r)};ut.prototype.create=function(t){return!t&&this.instance?this.instance:new d(this,rt(this.attrs,t))},ut.compile=function(t,e){var n=Object.create(null),i=0;return t.forEach((function(t,r){return n[t]=new ut(t,i++,e,r)})),n},ut.prototype.removeFromSet=function(t){for(var e=0;e<t.length;e++)t[e].type==this&&(t=t.slice(0,e).concat(t.slice(e+1)),e--);return t},ut.prototype.isInSet=function(t){for(var e=0;e<t.length;e++)if(t[e].type==this)return t[e]},ut.prototype.excludes=function(t){return this.excluded.indexOf(t)>-1};var ht=function(t){for(var e in this.spec={},t)this.spec[e]=t[e];this.spec.nodes=s.from(t.nodes),this.spec.marks=s.from(t.marks),this.nodes=ot.compile(this.spec.nodes,this),this.marks=ut.compile(this.spec.marks,this);var n=Object.create(null);for(var i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");var r=this.nodes[i],o=r.spec.content||"",a=r.spec.marks;r.contentMatch=n[o]||(n[o]=W.parse(o,this.nodes)),r.inlineContent=r.contentMatch.inlineContent,r.markSet="_"==a?null:a?pt(this,a.split(" ")):""!=a&&r.inlineContent?null:[]}for(var l in this.marks){var c=this.marks[l],u=c.spec.excludes;c.excluded=null==u?[c]:""==u?[]:pt(this,u.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached=Object.create(null),this.cached.wrappings=Object.create(null)};function pt(t,e){for(var n=[],i=0;i<e.length;i++){var r=e[i],s=t.marks[r],o=s;if(s)n.push(s);else for(var a in t.marks){var l=t.marks[a];("_"==r||l.spec.group&&l.spec.group.split(" ").indexOf(r)>-1)&&n.push(o=l)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[i]+"'")}return n}ht.prototype.node=function(t,e,n,i){if("string"==typeof t)t=this.nodeType(t);else{if(!(t instanceof ot))throw new RangeError("Invalid node type: "+t);if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}return t.createChecked(e,n,i)},ht.prototype.text=function(t,e){var n=this.nodes.text;return new V(n,n.defaultAttrs,t,d.setFrom(e))},ht.prototype.mark=function(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)},ht.prototype.nodeFromJSON=function(t){return j.fromJSON(this,t)},ht.prototype.markFromJSON=function(t){return d.fromJSON(this,t)},ht.prototype.nodeType=function(t){var e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e};var dt=function(t,e){var n=this;this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach((function(t){t.tag?n.tags.push(t):t.style&&n.styles.push(t)})),this.normalizeLists=!this.tags.some((function(e){if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;var n=t.nodes[e.node];return n.contentMatch.matchType(n)}))};dt.prototype.parse=function(t,e){void 0===e&&(e={});var n=new xt(this,e,!1);return n.addAll(t,null,e.from,e.to),n.finish()},dt.prototype.parseSlice=function(t,e){void 0===e&&(e={});var n=new xt(this,e,!0);return n.addAll(t,null,e.from,e.to),O.maxOpen(n.finish())},dt.prototype.matchTag=function(t,e,n){for(var i=n?this.tags.indexOf(n)+1:0;i<this.tags.length;i++){var r=this.tags[i];if(St(t,r.tag)&&(void 0===r.namespace||t.namespaceURI==r.namespace)&&(!r.context||e.matchesContext(r.context))){if(r.getAttrs){var s=r.getAttrs(t);if(!1===s)continue;r.attrs=s}return r}}},dt.prototype.matchStyle=function(t,e,n,i){for(var r=i?this.styles.indexOf(i)+1:0;r<this.styles.length;r++){var s=this.styles[r];if(!(0!=s.style.indexOf(t)||s.context&&!n.matchesContext(s.context)||s.style.length>t.length&&(61!=s.style.charCodeAt(t.length)||s.style.slice(t.length+1)!=e))){if(s.getAttrs){var o=s.getAttrs(e);if(!1===o)continue;s.attrs=o}return s}}},dt.schemaRules=function(t){var e=[];function n(t){for(var n=null==t.priority?50:t.priority,i=0;i<e.length;i++){var r=e[i],s=null==r.priority?50:r.priority;if(s<n)break}e.splice(i,0,t)}var i=function(e){var i=t.marks[e].spec.parseDOM;i&&i.forEach((function(t){n(t=Qt(t)),t.mark=e}))};for(var r in t.marks)i(r);var s=function(e){var i=t.nodes[o].spec.parseDOM;i&&i.forEach((function(t){n(t=Qt(t)),t.node=o}))};for(var o in t.nodes)s();return e},dt.fromSchema=function(t){return t.cached.domParser||(t.cached.domParser=new dt(t,dt.schemaRules(t)))};var ft={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},Ot={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},mt={ol:!0,ul:!0},gt=1,vt=2,yt=4;function bt(t,e,n){return null!=e?(e?gt:0)|("full"===e?vt:0):t&&"pre"==t.whitespace?gt|vt:n&~yt}var _t=function(t,e,n,i,r,s,o){this.type=t,this.attrs=e,this.solid=r,this.match=s||(o&yt?null:t.contentMatch),this.options=o,this.content=[],this.marks=n,this.activeMarks=d.none,this.pendingMarks=i,this.stashMarks=[]};_t.prototype.findWrapping=function(t){if(!this.match){if(!this.type)return[];var e=this.type.contentMatch.fillBefore(l.from(t));if(!e){var n,i=this.type.contentMatch;return(n=i.findWrapping(t.type))?(this.match=i,n):null}this.match=this.type.contentMatch.matchFragment(e)}return this.match.findWrapping(t.type)},_t.prototype.finish=function(t){if(!(this.options>)){var e,n=this.content[this.content.length-1];n&&n.isText&&(e=/[ \t\r\n\u000c]+$/.exec(n.text))&&(n.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)))}var i=l.from(this.content);return!t&&this.match&&(i=i.append(this.match.fillBefore(l.empty,!0))),this.type?this.type.create(this.attrs,i,this.marks):i},_t.prototype.popFromStashMark=function(t){for(var e=this.stashMarks.length-1;e>=0;e--)if(t.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]},_t.prototype.applyPending=function(t){for(var e=0,n=this.pendingMarks;e<n.length;e++){var i=n[e];(this.type?this.type.allowsMarkType(i.type):Tt(i.type,t))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}},_t.prototype.inlineContext=function(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!ft.hasOwnProperty(t.parentNode.nodeName.toLowerCase())};var xt=function(t,e,n){this.parser=t,this.options=e,this.isOpen=n;var i,r=e.topNode,s=bt(null,e.preserveWhitespace,0)|(n?yt:0);i=r?new _t(r.type,r.attrs,d.none,d.none,!0,e.topMatch||r.type.contentMatch,s):new _t(n?null:t.schema.topNodeType,null,d.none,d.none,!0,null,s),this.nodes=[i],this.open=0,this.find=e.findPositions,this.needsBlock=!1},wt={top:{configurable:!0},currentPos:{configurable:!0}};function $t(t){for(var e=t.firstChild,n=null;e;e=e.nextSibling){var i=1==e.nodeType?e.nodeName.toLowerCase():null;i&&mt.hasOwnProperty(i)&&n?(n.appendChild(e),e=n):"li"==i?n=e:i&&(n=null)}}function St(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function kt(t){var e,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,i=[];while(e=n.exec(t))i.push(e[1],e[2].trim());return i}function Qt(t){var e={};for(var n in t)e[n]=t[n];return e}function Tt(t,e){var n=e.schema.nodes,i=function(i){var r=n[i];if(r.allowsMarkType(t)){var s=[],o=function(t){s.push(t);for(var n=0;n<t.edgeCount;n++){var i=t.edge(n),r=i.type,a=i.next;if(r==e)return!0;if(s.indexOf(a)<0&&o(a))return!0}};return o(r.contentMatch)?{v:!0}:void 0}};for(var r in n){var s=i(r);if(s)return s.v}}function Pt(t,e){for(var n=0;n<e.length;n++)if(t.eq(e[n]))return e[n]}wt.top.get=function(){return this.nodes[this.open]},xt.prototype.addDOM=function(t){if(3==t.nodeType)this.addTextNode(t);else if(1==t.nodeType){var e=t.getAttribute("style"),n=e?this.readStyles(kt(e)):null,i=this.top;if(null!=n)for(var r=0;r<n.length;r++)this.addPendingMark(n[r]);if(this.addElement(t),null!=n)for(var s=0;s<n.length;s++)this.removePendingMark(n[s],i)}},xt.prototype.addTextNode=function(t){var e=t.nodeValue,n=this.top;if(n.options&vt||n.inlineContext(t)||/[^ \t\r\n\u000c]/.test(e)){if(n.options>)e=n.options&vt?e.replace(/\r\n?/g,"\n"):e.replace(/\r?\n|\r/g," ");else if(e=e.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(e)&&this.open==this.nodes.length-1){var i=n.content[n.content.length-1],r=t.previousSibling;(!i||r&&"BR"==r.nodeName||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(e=e.slice(1))}e&&this.insertNode(this.parser.schema.text(e)),this.findInText(t)}else this.findInside(t)},xt.prototype.addElement=function(t,e){var n,i=t.nodeName.toLowerCase();mt.hasOwnProperty(i)&&this.parser.normalizeLists&&$t(t);var r=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(n=this.parser.matchTag(t,this,e));if(r?r.ignore:Ot.hasOwnProperty(i))this.findInside(t),this.ignoreFallback(t);else if(!r||r.skip||r.closeParent){r&&r.closeParent?this.open=Math.max(0,this.open-1):r&&r.skip.nodeType&&(t=r.skip);var s,o=this.top,a=this.needsBlock;if(ft.hasOwnProperty(i))s=!0,o.type||(this.needsBlock=!0);else if(!t.firstChild)return void this.leafFallback(t);this.addAll(t),s&&this.sync(o),this.needsBlock=a}else this.addElementByRule(t,r,!1===r.consuming?n:null)},xt.prototype.leafFallback=function(t){"BR"==t.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode("\n"))},xt.prototype.ignoreFallback=function(t){"BR"!=t.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))},xt.prototype.readStyles=function(t){var e=d.none;t:for(var n=0;n<t.length;n+=2)for(var i=null;;){var r=this.parser.matchStyle(t[n],t[n+1],this,i);if(!r)continue t;if(r.ignore)return null;if(e=this.parser.schema.marks[r.mark].create(r.attrs).addToSet(e),!1!==r.consuming)break;i=r}return e},xt.prototype.addElementByRule=function(t,e,n){var i,r,s,o,a=this;e.node?(r=this.parser.schema.nodes[e.node],r.isLeaf?this.insertNode(r.create(e.attrs))||this.leafFallback(t):i=this.enter(r,e.attrs,e.preserveWhitespace)):(s=this.parser.schema.marks[e.mark],o=s.create(e.attrs),this.addPendingMark(o));var l=this.top;if(r&&r.isLeaf)this.findInside(t);else if(n)this.addElement(t,n);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach((function(t){return a.insertNode(t)}));else{var c=e.contentElement;"string"==typeof c?c=t.querySelector(c):"function"==typeof c&&(c=c(t)),c||(c=t),this.findAround(t,c,!0),this.addAll(c,i)}i&&(this.sync(l),this.open--),o&&this.removePendingMark(o,l)},xt.prototype.addAll=function(t,e,n,i){for(var r=n||0,s=n?t.childNodes[n]:t.firstChild,o=null==i?null:t.childNodes[i];s!=o;s=s.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(s),e&&ft.hasOwnProperty(s.nodeName.toLowerCase())&&this.sync(e);this.findAtPoint(t,r)},xt.prototype.findPlace=function(t){for(var e,n,i=this.open;i>=0;i--){var r=this.nodes[i],s=r.findWrapping(t);if(s&&(!e||e.length>s.length)&&(e=s,n=r,!s.length))break;if(r.solid)break}if(!e)return!1;this.sync(n);for(var o=0;o<e.length;o++)this.enterInner(e[o],null,!1);return!0},xt.prototype.insertNode=function(t){if(t.isInline&&this.needsBlock&&!this.top.type){var e=this.textblockFromContext();e&&this.enterInner(e)}if(this.findPlace(t)){this.closeExtra();var n=this.top;n.applyPending(t.type),n.match&&(n.match=n.match.matchType(t.type));for(var i=n.activeMarks,r=0;r<t.marks.length;r++)n.type&&!n.type.allowsMarkType(t.marks[r].type)||(i=t.marks[r].addToSet(i));return n.content.push(t.mark(i)),!0}return!1},xt.prototype.enter=function(t,e,n){var i=this.findPlace(t.create(e));return i&&this.enterInner(t,e,!0,n),i},xt.prototype.enterInner=function(t,e,n,i){this.closeExtra();var r=this.top;r.applyPending(t),r.match=r.match&&r.match.matchType(t,e);var s=bt(t,i,r.options);r.options&yt&&0==r.content.length&&(s|=yt),this.nodes.push(new _t(t,e,r.activeMarks,r.pendingMarks,n,null,s)),this.open++},xt.prototype.closeExtra=function(t){var e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}},xt.prototype.finish=function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)},xt.prototype.sync=function(t){for(var e=this.open;e>=0;e--)if(this.nodes[e]==t)return void(this.open=e)},wt.currentPos.get=function(){this.closeExtra();for(var t=0,e=this.open;e>=0;e--){for(var n=this.nodes[e].content,i=n.length-1;i>=0;i--)t+=n[i].nodeSize;e&&t++}return t},xt.prototype.findAtPoint=function(t,e){if(this.find)for(var n=0;n<this.find.length;n++)this.find[n].node==t&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)},xt.prototype.findInside=function(t){if(this.find)for(var e=0;e<this.find.length;e++)null==this.find[e].pos&&1==t.nodeType&&t.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)},xt.prototype.findAround=function(t,e,n){if(t!=e&&this.find)for(var i=0;i<this.find.length;i++)if(null==this.find[i].pos&&1==t.nodeType&&t.contains(this.find[i].node)){var r=e.compareDocumentPosition(this.find[i].node);r&(n?2:4)&&(this.find[i].pos=this.currentPos)}},xt.prototype.findInText=function(t){if(this.find)for(var e=0;e<this.find.length;e++)this.find[e].node==t&&(this.find[e].pos=this.currentPos-(t.nodeValue.length-this.find[e].offset))},xt.prototype.matchesContext=function(t){var e=this;if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);var n=t.split("/"),i=this.options.context,r=!this.isOpen&&(!i||i.parent.type==this.nodes[0].type),s=-(i?i.depth+1:0)+(r?0:1),o=function(t,a){for(;t>=0;t--){var l=n[t];if(""==l){if(t==n.length-1||0==t)continue;for(;a>=s;a--)if(o(t-1,a))return!0;return!1}var c=a>0||0==a&&r?e.nodes[a].type:i&&a>=s?i.node(a-s).type:null;if(!c||c.name!=l&&-1==c.groups.indexOf(l))return!1;a--}return!0};return o(n.length-1,this.open)},xt.prototype.textblockFromContext=function(){var t=this.options.context;if(t)for(var e=t.depth;e>=0;e--){var n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var i in this.parser.schema.nodes){var r=this.parser.schema.nodes[i];if(r.isTextblock&&r.defaultAttrs)return r}},xt.prototype.addPendingMark=function(t){var e=Pt(t,this.top.pendingMarks);e&&this.top.stashMarks.push(e),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)},xt.prototype.removePendingMark=function(t,e){for(var n=this.open;n>=0;n--){var i=this.nodes[n],r=i.pendingMarks.lastIndexOf(t);if(r>-1)i.pendingMarks=t.removeFromSet(i.pendingMarks);else{i.activeMarks=t.removeFromSet(i.activeMarks);var s=i.popFromStashMark(t);s&&i.type&&i.type.allowsMarkType(s.type)&&(i.activeMarks=s.addToSet(i.activeMarks))}if(i==e)break}},Object.defineProperties(xt.prototype,wt);var Ct=function(t,e){this.nodes=t||{},this.marks=e||{}};function At(t){var e={};for(var n in t){var i=t[n].spec.toDOM;i&&(e[n]=i)}return e}function Et(t){return t.document||window.document}Ct.prototype.serializeFragment=function(t,e,n){var i=this;void 0===e&&(e={}),n||(n=Et(e).createDocumentFragment());var r=n,s=null;return t.forEach((function(t){if(s||t.marks.length){s||(s=[]);var n=0,o=0;while(n<s.length&&o<t.marks.length){var a=t.marks[o];if(i.marks[a.type.name]){if(!a.eq(s[n])||!1===a.type.spec.spanning)break;n+=2,o++}else o++}while(n<s.length)r=s.pop(),s.pop();while(o<t.marks.length){var l=t.marks[o++],c=i.serializeMark(l,t.isInline,e);c&&(s.push(l,r),r.appendChild(c.dom),r=c.contentDOM||c.dom)}}r.appendChild(i.serializeNodeInner(t,e))})),n},Ct.prototype.serializeNodeInner=function(t,e){void 0===e&&(e={});var n=Ct.renderSpec(Et(e),this.nodes[t.type.name](t)),i=n.dom,r=n.contentDOM;if(r){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");e.onContent?e.onContent(t,r,e):this.serializeFragment(t.content,e,r)}return i},Ct.prototype.serializeNode=function(t,e){void 0===e&&(e={});for(var n=this.serializeNodeInner(t,e),i=t.marks.length-1;i>=0;i--){var r=this.serializeMark(t.marks[i],t.isInline,e);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n},Ct.prototype.serializeMark=function(t,e,n){void 0===n&&(n={});var i=this.marks[t.type.name];return i&&Ct.renderSpec(Et(n),i(t,e))},Ct.renderSpec=function(t,e,n){if(void 0===n&&(n=null),"string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;var i=e[0],r=i.indexOf(" ");r>0&&(n=i.slice(0,r),i=i.slice(r+1));var s=null,o=n?t.createElementNS(n,i):t.createElement(i),a=e[1],l=1;if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a))for(var c in l=2,a)if(null!=a[c]){var u=c.indexOf(" ");u>0?o.setAttributeNS(c.slice(0,u),c.slice(u+1),a[c]):o.setAttribute(c,a[c])}for(var h=l;h<e.length;h++){var p=e[h];if(0===p){if(h<e.length-1||h>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:o,contentDOM:o}}var d=Ct.renderSpec(t,p,n),f=d.dom,O=d.contentDOM;if(o.appendChild(f),O){if(s)throw new RangeError("Multiple content holes");s=O}}return{dom:o,contentDOM:s}},Ct.fromSchema=function(t){return t.cached.domSerializer||(t.cached.domSerializer=new Ct(this.nodesFromSchema(t),this.marksFromSchema(t)))},Ct.nodesFromSchema=function(t){var e=At(t.nodes);return e.text||(e.text=function(t){return t.text}),e},Ct.marksFromSchema=function(t){return At(t.marks)}},76922:(t,e,n)=>{"use strict";n.d(e,{Bs:()=>c,C1:()=>d,H$:()=>E,Sy:()=>P,Y1:()=>o,qv:()=>h,yy:()=>S});var i=n(32230),r=n(21081),s=Object.create(null),o=function(t,e,n){this.ranges=n||[new l(t.min(e),t.max(e))],this.$anchor=t,this.$head=e},a={anchor:{configurable:!0},head:{configurable:!0},from:{configurable:!0},to:{configurable:!0},$from:{configurable:!0},$to:{configurable:!0},empty:{configurable:!0}};a.anchor.get=function(){return this.$anchor.pos},a.head.get=function(){return this.$head.pos},a.from.get=function(){return this.$from.pos},a.to.get=function(){return this.$to.pos},a.$from.get=function(){return this.ranges[0].$from},a.$to.get=function(){return this.ranges[0].$to},a.empty.get=function(){for(var t=this.ranges,e=0;e<t.length;e++)if(t[e].$from.pos!=t[e].$to.pos)return!1;return!0},o.prototype.content=function(){return this.$from.node(0).slice(this.from,this.to,!0)},o.prototype.replace=function(t,e){void 0===e&&(e=i.p2.empty);for(var n=e.content.lastChild,r=null,s=0;s<e.openEnd;s++)r=n,n=n.lastChild;for(var o=t.steps.length,a=this.ranges,l=0;l<a.length;l++){var c=a[l],u=c.$from,h=c.$to,p=t.mapping.slice(o);t.replaceRange(p.map(u.pos),p.map(h.pos),l?i.p2.empty:e),0==l&&m(t,o,(n?n.isInline:r&&r.isTextblock)?-1:1)}},o.prototype.replaceWith=function(t,e){for(var n=t.steps.length,i=this.ranges,r=0;r<i.length;r++){var s=i[r],o=s.$from,a=s.$to,l=t.mapping.slice(n),c=l.map(o.pos),u=l.map(a.pos);r?t.deleteRange(c,u):(t.replaceRangeWith(c,u,e),m(t,n,e.isInline?-1:1))}},o.findFrom=function(t,e,n){var i=t.parent.inlineContent?new c(t):O(t.node(0),t.parent,t.pos,t.index(),e,n);if(i)return i;for(var r=t.depth-1;r>=0;r--){var s=e<0?O(t.node(0),t.node(r),t.before(r+1),t.index(r),e,n):O(t.node(0),t.node(r),t.after(r+1),t.index(r)+1,e,n);if(s)return s}},o.near=function(t,e){return void 0===e&&(e=1),this.findFrom(t,e)||this.findFrom(t,-e)||new d(t.node(0))},o.atStart=function(t){return O(t,t,0,0,1)||new d(t)},o.atEnd=function(t){return O(t,t,t.content.size,t.childCount,-1)||new d(t)},o.fromJSON=function(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");var n=s[e.type];if(!n)throw new RangeError("No selection type "+e.type+" defined");return n.fromJSON(t,e)},o.jsonID=function(t,e){if(t in s)throw new RangeError("Duplicate use of selection JSON ID "+t);return s[t]=e,e.prototype.jsonID=t,e},o.prototype.getBookmark=function(){return c.between(this.$anchor,this.$head).getBookmark()},Object.defineProperties(o.prototype,a),o.prototype.visible=!0;var l=function(t,e){this.$from=t,this.$to=e},c=function(t){function e(e,n){void 0===n&&(n=e),t.call(this,e,n)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={$cursor:{configurable:!0}};return n.$cursor.get=function(){return this.$anchor.pos==this.$head.pos?this.$head:null},e.prototype.map=function(n,i){var r=n.resolve(i.map(this.head));if(!r.parent.inlineContent)return t.near(r);var s=n.resolve(i.map(this.anchor));return new e(s.parent.inlineContent?s:r,r)},e.prototype.replace=function(e,n){if(void 0===n&&(n=i.p2.empty),t.prototype.replace.call(this,e,n),n==i.p2.empty){var r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}},e.prototype.eq=function(t){return t instanceof e&&t.anchor==this.anchor&&t.head==this.head},e.prototype.getBookmark=function(){return new u(this.anchor,this.head)},e.prototype.toJSON=function(){return{type:"text",anchor:this.anchor,head:this.head}},e.fromJSON=function(t,n){if("number"!=typeof n.anchor||"number"!=typeof n.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new e(t.resolve(n.anchor),t.resolve(n.head))},e.create=function(t,e,n){void 0===n&&(n=e);var i=t.resolve(e);return new this(i,n==e?i:t.resolve(n))},e.between=function(n,i,r){var s=n.pos-i.pos;if(r&&!s||(r=s>=0?1:-1),!i.parent.inlineContent){var o=t.findFrom(i,r,!0)||t.findFrom(i,-r,!0);if(!o)return t.near(i,r);i=o.$head}return n.parent.inlineContent||(0==s?n=i:(n=(t.findFrom(n,-r,!0)||t.findFrom(n,r,!0)).$anchor,n.pos<i.pos!=s<0&&(n=i))),new e(n,i)},Object.defineProperties(e.prototype,n),e}(o);o.jsonID("text",c);var u=function(t,e){this.anchor=t,this.head=e};u.prototype.map=function(t){return new u(t.map(this.anchor),t.map(this.head))},u.prototype.resolve=function(t){return c.between(t.resolve(this.anchor),t.resolve(this.head))};var h=function(t){function e(e){var n=e.nodeAfter,i=e.node(0).resolve(e.pos+n.nodeSize);t.call(this,e,i),this.node=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.map=function(n,i){var r=i.mapResult(this.anchor),s=r.deleted,o=r.pos,a=n.resolve(o);return s?t.near(a):new e(a)},e.prototype.content=function(){return new i.p2(i.HY.from(this.node),0,0)},e.prototype.eq=function(t){return t instanceof e&&t.anchor==this.anchor},e.prototype.toJSON=function(){return{type:"node",anchor:this.anchor}},e.prototype.getBookmark=function(){return new p(this.anchor)},e.fromJSON=function(t,n){if("number"!=typeof n.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new e(t.resolve(n.anchor))},e.create=function(t,e){return new this(t.resolve(e))},e.isSelectable=function(t){return!t.isText&&!1!==t.type.spec.selectable},e}(o);h.prototype.visible=!1,o.jsonID("node",h);var p=function(t){this.anchor=t};p.prototype.map=function(t){var e=t.mapResult(this.anchor),n=e.deleted,i=e.pos;return n?new u(i,i):new p(i)},p.prototype.resolve=function(t){var e=t.resolve(this.anchor),n=e.nodeAfter;return n&&h.isSelectable(n)?new h(e):o.near(e)};var d=function(t){function e(e){t.call(this,e.resolve(0),e.resolve(e.content.size))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.replace=function(e,n){if(void 0===n&&(n=i.p2.empty),n==i.p2.empty){e.delete(0,e.doc.content.size);var r=t.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else t.prototype.replace.call(this,e,n)},e.prototype.toJSON=function(){return{type:"all"}},e.fromJSON=function(t){return new e(t)},e.prototype.map=function(t){return new e(t)},e.prototype.eq=function(t){return t instanceof e},e.prototype.getBookmark=function(){return f},e}(o);o.jsonID("all",d);var f={map:function(){return this},resolve:function(t){return new d(t)}};function O(t,e,n,i,r,s){if(e.inlineContent)return c.create(t,n);for(var o=i-(r>0?0:1);r>0?o<e.childCount:o>=0;o+=r){var a=e.child(o);if(a.isAtom){if(!s&&h.isSelectable(a))return h.create(t,n-(r<0?a.nodeSize:0))}else{var l=O(t,a,n+r,r<0?a.childCount:0,r,s);if(l)return l}n+=a.nodeSize*r}}function m(t,e,n){var i=t.steps.length-1;if(!(i<e)){var s=t.steps[i];if(s instanceof r.Pu||s instanceof r.FC){var a,l=t.mapping.maps[i];l.forEach((function(t,e,n,i){null==a&&(a=i)})),t.setSelection(o.near(t.doc.resolve(a),n))}}}var g=1,v=2,y=4,b=function(t){function e(e){t.call(this,e.doc),this.time=Date.now(),this.curSelection=e.selection,this.curSelectionFor=0,this.storedMarks=e.storedMarks,this.updated=0,this.meta=Object.create(null)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={selection:{configurable:!0},selectionSet:{configurable:!0},storedMarksSet:{configurable:!0},isGeneric:{configurable:!0},scrolledIntoView:{configurable:!0}};return n.selection.get=function(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection},e.prototype.setSelection=function(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=(this.updated|g)&~v,this.storedMarks=null,this},n.selectionSet.get=function(){return(this.updated&g)>0},e.prototype.setStoredMarks=function(t){return this.storedMarks=t,this.updated|=v,this},e.prototype.ensureMarks=function(t){return i.vc.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this},e.prototype.addStoredMark=function(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))},e.prototype.removeStoredMark=function(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))},n.storedMarksSet.get=function(){return(this.updated&v)>0},e.prototype.addStep=function(e,n){t.prototype.addStep.call(this,e,n),this.updated=this.updated&~v,this.storedMarks=null},e.prototype.setTime=function(t){return this.time=t,this},e.prototype.replaceSelection=function(t){return this.selection.replace(this,t),this},e.prototype.replaceSelectionWith=function(t,e){var n=this.selection;return!1!==e&&(t=t.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||i.vc.none))),n.replaceWith(this,t),this},e.prototype.deleteSelection=function(){return this.selection.replace(this),this},e.prototype.insertText=function(t,e,n){void 0===n&&(n=e);var i=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();if(!t)return this.deleteRange(e,n);var r=this.storedMarks;if(!r){var s=this.doc.resolve(e);r=n==e?s.marks():s.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,i.text(t,r)),this.selection.empty||this.setSelection(o.near(this.selection.$to)),this},e.prototype.setMeta=function(t,e){return this.meta["string"==typeof t?t:t.key]=e,this},e.prototype.getMeta=function(t){return this.meta["string"==typeof t?t:t.key]},n.isGeneric.get=function(){for(var t in this.meta)return!1;return!0},e.prototype.scrollIntoView=function(){return this.updated|=y,this},n.scrolledIntoView.get=function(){return(this.updated&y)>0},Object.defineProperties(e.prototype,n),e}(r.wx);function _(t,e){return e&&t?t.bind(e):t}var x=function(t,e,n){this.name=t,this.init=_(e.init,n),this.apply=_(e.apply,n)},w=[new x("doc",{init:function(t){return t.doc||t.schema.topNodeType.createAndFill()},apply:function(t){return t.doc}}),new x("selection",{init:function(t,e){return t.selection||o.atStart(e.doc)},apply:function(t){return t.selection}}),new x("storedMarks",{init:function(t){return t.storedMarks||null},apply:function(t,e,n,i){return i.selection.$cursor?t.storedMarks:null}}),new x("scrollToSelection",{init:function(){return 0},apply:function(t,e){return t.scrolledIntoView?e+1:e}})],$=function(t,e){var n=this;this.schema=t,this.fields=w.concat(),this.plugins=[],this.pluginsByKey=Object.create(null),e&&e.forEach((function(t){if(n.pluginsByKey[t.key])throw new RangeError("Adding different instances of a keyed plugin ("+t.key+")");n.plugins.push(t),n.pluginsByKey[t.key]=t,t.spec.state&&n.fields.push(new x(t.key,t.spec.state,t))}))},S=function(t){this.config=t},k={schema:{configurable:!0},plugins:{configurable:!0},tr:{configurable:!0}};k.schema.get=function(){return this.config.schema},k.plugins.get=function(){return this.config.plugins},S.prototype.apply=function(t){return this.applyTransaction(t).state},S.prototype.filterTransaction=function(t,e){void 0===e&&(e=-1);for(var n=0;n<this.config.plugins.length;n++)if(n!=e){var i=this.config.plugins[n];if(i.spec.filterTransaction&&!i.spec.filterTransaction.call(i,t,this))return!1}return!0},S.prototype.applyTransaction=function(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};for(var e=[t],n=this.applyInner(t),i=null;;){for(var r=!1,s=0;s<this.config.plugins.length;s++){var o=this.config.plugins[s];if(o.spec.appendTransaction){var a=i?i[s].n:0,l=i?i[s].state:this,c=a<e.length&&o.spec.appendTransaction.call(o,a?e.slice(a):e,l,n);if(c&&n.filterTransaction(c,s)){if(c.setMeta("appendedTransaction",t),!i){i=[];for(var u=0;u<this.config.plugins.length;u++)i.push(u<s?{state:n,n:e.length}:{state:this,n:0})}e.push(c),n=n.applyInner(c),r=!0}i&&(i[s]={state:n,n:e.length})}}if(!r)return{state:n,transactions:e}}},S.prototype.applyInner=function(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");for(var e=new S(this.config),n=this.config.fields,i=0;i<n.length;i++){var r=n[i];e[r.name]=r.apply(t,this[r.name],this,e)}for(var s=0;s<Q.length;s++)Q[s](this,t,e);return e},k.tr.get=function(){return new b(this)},S.create=function(t){for(var e=new $(t.doc?t.doc.type.schema:t.schema,t.plugins),n=new S(e),i=0;i<e.fields.length;i++)n[e.fields[i].name]=e.fields[i].init(t,n);return n},S.prototype.reconfigure=function(t){for(var e=new $(this.schema,t.plugins),n=e.fields,i=new S(e),r=0;r<n.length;r++){var s=n[r].name;i[s]=this.hasOwnProperty(s)?this[s]:n[r].init(t,i)}return i},S.prototype.toJSON=function(t){var e={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(e.storedMarks=this.storedMarks.map((function(t){return t.toJSON()}))),t&&"object"==typeof t)for(var n in t){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");var i=t[n],r=i.spec.state;r&&r.toJSON&&(e[n]=r.toJSON.call(i,this[i.key]))}return e},S.fromJSON=function(t,e,n){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");var r=new $(t.schema,t.plugins),s=new S(r);return r.fields.forEach((function(r){if("doc"==r.name)s.doc=i.NB.fromJSON(t.schema,e.doc);else if("selection"==r.name)s.selection=o.fromJSON(s.doc,e.selection);else if("storedMarks"==r.name)e.storedMarks&&(s.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(n)for(var a in n){var l=n[a],c=l.spec.state;if(l.key==r.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(e,a))return void(s[r.name]=c.fromJSON.call(l,t,e[a],s))}s[r.name]=r.init(t,s)}})),s},S.addApplyListener=function(t){Q.push(t)},S.removeApplyListener=function(t){var e=Q.indexOf(t);e>-1&&Q.splice(e,1)},Object.defineProperties(S.prototype,k);var Q=[];function T(t,e,n){for(var i in t){var r=t[i];r instanceof Function?r=r.bind(e):"handleDOMEvents"==i&&(r=T(r,e,{})),n[i]=r}return n}var P=function(t){this.props={},t.props&&T(t.props,this,this.props),this.spec=t,this.key=t.key?t.key.key:A("plugin")};P.prototype.getState=function(t){return t[this.key]};var C=Object.create(null);function A(t){return t in C?t+"$"+ ++C[t]:(C[t]=0,t+"$")}var E=function(t){void 0===t&&(t="key"),this.key=A(t)};E.prototype.get=function(t){return t.config.pluginsByKey[this.key]},E.prototype.getState=function(t){return t[this.key]}},21081:(t,e,n)=>{"use strict";n.d(e,{Ax:()=>P,FC:()=>b,Mn:()=>C,Pu:()=>y,dR:()=>j,k9:()=>w,nd:()=>$,nj:()=>R,vs:()=>h,wx:()=>d});var i=n(32230),r=65535,s=Math.pow(2,16);function o(t,e){return t+e*s}function a(t){return t&r}function l(t){return(t-(t&r))/s}var c=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=null),this.pos=t,this.deleted=e,this.recover=n},u=function(t,e){void 0===e&&(e=!1),this.ranges=t,this.inverted=e};u.prototype.recover=function(t){var e=0,n=a(t);if(!this.inverted)for(var i=0;i<n;i++)e+=this.ranges[3*i+2]-this.ranges[3*i+1];return this.ranges[3*n]+e+l(t)},u.prototype.mapResult=function(t,e){return void 0===e&&(e=1),this._map(t,e,!1)},u.prototype.map=function(t,e){return void 0===e&&(e=1),this._map(t,e,!0)},u.prototype._map=function(t,e,n){for(var i=0,r=this.inverted?2:1,s=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var l=this.ranges[a]-(this.inverted?i:0);if(l>t)break;var u=this.ranges[a+r],h=this.ranges[a+s],p=l+u;if(t<=p){var d=u?t==l?-1:t==p?1:e:e,f=l+i+(d<0?0:h);if(n)return f;var O=t==(e<0?l:p)?null:o(a/3,t-l);return new c(f,e<0?t!=l:t!=p,O)}i+=h-u}return n?t+i:new c(t+i)},u.prototype.touches=function(t,e){for(var n=0,i=a(e),r=this.inverted?2:1,s=this.inverted?1:2,o=0;o<this.ranges.length;o+=3){var l=this.ranges[o]-(this.inverted?n:0);if(l>t)break;var c=this.ranges[o+r],u=l+c;if(t<=u&&o==3*i)return!0;n+=this.ranges[o+s]-c}return!1},u.prototype.forEach=function(t){for(var e=this.inverted?2:1,n=this.inverted?1:2,i=0,r=0;i<this.ranges.length;i+=3){var s=this.ranges[i],o=s-(this.inverted?r:0),a=s+(this.inverted?0:r),l=this.ranges[i+e],c=this.ranges[i+n];t(o,o+l,a,a+c),r+=c-l}},u.prototype.invert=function(){return new u(this.ranges,!this.inverted)},u.prototype.toString=function(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)},u.offset=function(t){return 0==t?u.empty:new u(t<0?[0,-t,0]:[0,0,t])},u.empty=new u([]);var h=function(t,e,n,i){this.maps=t||[],this.from=n||0,this.to=null==i?this.maps.length:i,this.mirror=e};function p(t){var e=Error.call(this,t);return e.__proto__=p.prototype,e}h.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.maps.length),new h(this.maps,this.mirror,t,e)},h.prototype.copy=function(){return new h(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)},h.prototype.appendMap=function(t,e){this.to=this.maps.push(t),null!=e&&this.setMirror(this.maps.length-1,e)},h.prototype.appendMapping=function(t){for(var e=0,n=this.maps.length;e<t.maps.length;e++){var i=t.getMirror(e);this.appendMap(t.maps[e],null!=i&&i<e?n+i:null)}},h.prototype.getMirror=function(t){if(this.mirror)for(var e=0;e<this.mirror.length;e++)if(this.mirror[e]==t)return this.mirror[e+(e%2?-1:1)]},h.prototype.setMirror=function(t,e){this.mirror||(this.mirror=[]),this.mirror.push(t,e)},h.prototype.appendMappingInverted=function(t){for(var e=t.maps.length-1,n=this.maps.length+t.maps.length;e>=0;e--){var i=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=i&&i>e?n-i-1:null)}},h.prototype.invert=function(){var t=new h;return t.appendMappingInverted(this),t},h.prototype.map=function(t,e){if(void 0===e&&(e=1),this.mirror)return this._map(t,e,!0);for(var n=this.from;n<this.to;n++)t=this.maps[n].map(t,e);return t},h.prototype.mapResult=function(t,e){return void 0===e&&(e=1),this._map(t,e,!1)},h.prototype._map=function(t,e,n){for(var i=!1,r=this.from;r<this.to;r++){var s=this.maps[r],o=s.mapResult(t,e);if(null!=o.recover){var a=this.getMirror(r);if(null!=a&&a>r&&a<this.to){r=a,t=this.maps[a].recover(o.recover);continue}}o.deleted&&(i=!0),t=o.pos}return n?t:new c(t,i)},p.prototype=Object.create(Error.prototype),p.prototype.constructor=p,p.prototype.name="TransformError";var d=function(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new h},f={before:{configurable:!0},docChanged:{configurable:!0}};function O(){throw new Error("Override me")}f.before.get=function(){return this.docs.length?this.docs[0]:this.doc},d.prototype.step=function(t){var e=this.maybeStep(t);if(e.failed)throw new p(e.failed);return this},d.prototype.maybeStep=function(t){var e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e},f.docChanged.get=function(){return this.steps.length>0},d.prototype.addStep=function(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e},Object.defineProperties(d.prototype,f);var m=Object.create(null),g=function(){};g.prototype.apply=function(t){return O()},g.prototype.getMap=function(){return u.empty},g.prototype.invert=function(t){return O()},g.prototype.map=function(t){return O()},g.prototype.merge=function(t){return null},g.prototype.toJSON=function(){return O()},g.fromJSON=function(t,e){if(!e||!e.stepType)throw new RangeError("Invalid input for Step.fromJSON");var n=m[e.stepType];if(!n)throw new RangeError("No step type "+e.stepType+" defined");return n.fromJSON(t,e)},g.jsonID=function(t,e){if(t in m)throw new RangeError("Duplicate use of step JSON ID "+t);return m[t]=e,e.prototype.jsonID=t,e};var v=function(t,e){this.doc=t,this.failed=e};v.ok=function(t){return new v(t,null)},v.fail=function(t){return new v(null,t)},v.fromReplace=function(t,e,n,r){try{return v.ok(t.replace(e,n,r))}catch(s){if(s instanceof i.e4)return v.fail(s.message);throw s}};var y=function(t){function e(e,n,i,r){t.call(this),this.from=e,this.to=n,this.slice=i,this.structure=!!r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(t){return this.structure&&_(t,this.from,this.to)?v.fail("Structure replace would overwrite content"):v.fromReplace(t,this.from,this.to,this.slice)},e.prototype.getMap=function(){return new u([this.from,this.to-this.from,this.slice.size])},e.prototype.invert=function(t){return new e(this.from,this.from+this.slice.size,t.slice(this.from,this.to))},e.prototype.map=function(t){var n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return n.deleted&&i.deleted?null:new e(n.pos,Math.max(n.pos,i.pos),this.slice)},e.prototype.merge=function(t){if(!(t instanceof e)||t.structure||this.structure)return null;if(this.from+this.slice.size!=t.from||this.slice.openEnd||t.slice.openStart){if(t.to!=this.from||this.slice.openStart||t.slice.openEnd)return null;var n=this.slice.size+t.slice.size==0?i.p2.empty:new i.p2(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new e(t.from,this.to,n,this.structure)}var r=this.slice.size+t.slice.size==0?i.p2.empty:new i.p2(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new e(this.from,this.to+(t.to-t.from),r,this.structure)},e.prototype.toJSON=function(){var t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t},e.fromJSON=function(t,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new e(n.from,n.to,i.p2.fromJSON(t,n.slice),!!n.structure)},e}(g);g.jsonID("replace",y);var b=function(t){function e(e,n,i,r,s,o,a){t.call(this),this.from=e,this.to=n,this.gapFrom=i,this.gapTo=r,this.slice=s,this.insert=o,this.structure=!!a}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(t){if(this.structure&&(_(t,this.from,this.gapFrom)||_(t,this.gapTo,this.to)))return v.fail("Structure gap-replace would overwrite content");var e=t.slice(this.gapFrom,this.gapTo);if(e.openStart||e.openEnd)return v.fail("Gap is not a flat range");var n=this.slice.insertAt(this.insert,e.content);return n?v.fromReplace(t,this.from,this.to,n):v.fail("Content does not fit in gap")},e.prototype.getMap=function(){return new u([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])},e.prototype.invert=function(t){var n=this.gapTo-this.gapFrom;return new e(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)},e.prototype.map=function(t){var n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1),r=t.map(this.gapFrom,-1),s=t.map(this.gapTo,1);return n.deleted&&i.deleted||r<n.pos||s>i.pos?null:new e(n.pos,i.pos,r,s,this.slice,this.insert,this.structure)},e.prototype.toJSON=function(){var t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t},e.fromJSON=function(t,n){if("number"!=typeof n.from||"number"!=typeof n.to||"number"!=typeof n.gapFrom||"number"!=typeof n.gapTo||"number"!=typeof n.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new e(n.from,n.to,n.gapFrom,n.gapTo,i.p2.fromJSON(t,n.slice),n.insert,!!n.structure)},e}(g);function _(t,e,n){var i=t.resolve(e),r=n-e,s=i.depth;while(r>0&&s>0&&i.indexAfter(s)==i.node(s).childCount)s--,r--;if(r>0){var o=i.node(s).maybeChild(i.indexAfter(s));while(r>0){if(!o||o.isLeaf)return!0;o=o.firstChild,r--}}return!1}function x(t,e,n){return(0==e||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function w(t){for(var e=t.parent,n=e.content.cutByIndex(t.startIndex,t.endIndex),i=t.depth;;--i){var r=t.$from.node(i),s=t.$from.index(i),o=t.$to.indexAfter(i);if(i<t.depth&&r.canReplace(s,o,n))return i;if(0==i||r.type.spec.isolating||!x(r,s,o))break}}function $(t,e,n,i){void 0===i&&(i=t);var r=k(t,e),s=r&&Q(i,e);return s?r.map(S).concat({type:e,attrs:n}).concat(s.map(S)):null}function S(t){return{type:t,attrs:null}}function k(t,e){var n=t.parent,i=t.startIndex,r=t.endIndex,s=n.contentMatchAt(i).findWrapping(e);if(!s)return null;var o=s.length?s[0]:e;return n.canReplaceWith(i,r,o)?s:null}function Q(t,e){var n=t.parent,i=t.startIndex,r=t.endIndex,s=n.child(i),o=e.contentMatch.findWrapping(s.type);if(!o)return null;for(var a=o.length?o[o.length-1]:e,l=a.contentMatch,c=i;l&&c<r;c++)l=l.matchType(n.child(c).type);return l&&l.validEnd?o:null}function T(t,e,n){var i=t.resolve(e),r=i.index();return i.parent.canReplaceWith(r,r+1,n)}function P(t,e,n,i){void 0===n&&(n=1);var r=t.resolve(e),s=r.depth-n,o=i&&i[i.length-1]||r.parent;if(s<0||r.parent.type.spec.isolating||!r.parent.canReplace(r.index(),r.parent.childCount)||!o.type.validContent(r.parent.content.cutByIndex(r.index(),r.parent.childCount)))return!1;for(var a=r.depth-1,l=n-2;a>s;a--,l--){var c=r.node(a),u=r.index(a);if(c.type.spec.isolating)return!1;var h=c.content.cutByIndex(u,c.childCount),p=i&&i[l]||c;if(p!=c&&(h=h.replaceChild(0,p.type.create(p.attrs))),!c.canReplace(u+1,c.childCount)||!p.type.validContent(h))return!1}var d=r.indexAfter(s),f=i&&i[0];return r.node(s).canReplaceWith(d,d,f?f.type:r.node(s+1).type)}function C(t,e){var n=t.resolve(e),i=n.index();return A(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function A(t,e){return t&&e&&!t.isLeaf&&t.canAppend(e)}function E(t,e,n){var i=t.resolve(e);if(i.parent.canReplaceWith(i.index(),i.index(),n))return e;if(0==i.parentOffset)for(var r=i.depth-1;r>=0;r--){var s=i.index(r);if(i.node(r).canReplaceWith(s,s,n))return i.before(r+1);if(s>0)return null}if(i.parentOffset==i.parent.content.size)for(var o=i.depth-1;o>=0;o--){var a=i.indexAfter(o);if(i.node(o).canReplaceWith(a,a,n))return i.after(o+1);if(a<i.node(o).childCount)return null}}function R(t,e,n){var i=t.resolve(e);if(!n.content.size)return e;for(var r=n.content,s=0;s<n.openStart;s++)r=r.firstChild.content;for(var o=1;o<=(0==n.openStart&&n.size?2:1);o++)for(var a=i.depth;a>=0;a--){var l=a==i.depth?0:i.pos<=(i.start(a+1)+i.end(a+1))/2?-1:1,c=i.index(a)+(l>0?1:0),u=i.node(a),h=!1;if(1==o)h=u.canReplace(c,c,r);else{var p=u.contentMatchAt(c).findWrapping(r.firstChild.type);h=p&&u.canReplaceWith(c,c,p[0])}if(h)return 0==l?i.pos:l<0?i.before(a+1):i.after(a+1)}return null}function M(t,e,n){for(var r=[],s=0;s<t.childCount;s++){var o=t.child(s);o.content.size&&(o=o.copy(M(o.content,e,o))),o.isInline&&(o=e(o,n,s)),r.push(o)}return i.HY.fromArray(r)}g.jsonID("replaceAround",b),d.prototype.lift=function(t,e){for(var n=t.$from,r=t.$to,s=t.depth,o=n.before(s+1),a=r.after(s+1),l=o,c=a,u=i.HY.empty,h=0,p=s,d=!1;p>e;p--)d||n.index(p)>0?(d=!0,u=i.HY.from(n.node(p).copy(u)),h++):l--;for(var f=i.HY.empty,O=0,m=s,g=!1;m>e;m--)g||r.after(m+1)<r.end(m)?(g=!0,f=i.HY.from(r.node(m).copy(f)),O++):c++;return this.step(new b(l,c,o,a,new i.p2(u.append(f),h,O),u.size-h,!0))},d.prototype.wrap=function(t,e){for(var n=i.HY.empty,r=e.length-1;r>=0;r--)n=i.HY.from(e[r].type.create(e[r].attrs,n));var s=t.start,o=t.end;return this.step(new b(s,o,s,o,new i.p2(n,0,0),e.length,!0))},d.prototype.setBlockType=function(t,e,n,r){var s=this;if(void 0===e&&(e=t),!n.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");var o=this.steps.length;return this.doc.nodesBetween(t,e,(function(t,e){if(t.isTextblock&&!t.hasMarkup(n,r)&&T(s.doc,s.mapping.slice(o).map(e),n)){s.clearIncompatible(s.mapping.slice(o).map(e,1),n);var a=s.mapping.slice(o),l=a.map(e,1),c=a.map(e+t.nodeSize,1);return s.step(new b(l,c,l+1,c-1,new i.p2(i.HY.from(n.create(r,null,t.marks)),0,0),1,!0)),!1}})),this},d.prototype.setNodeMarkup=function(t,e,n,r){var s=this.doc.nodeAt(t);if(!s)throw new RangeError("No node at given position");e||(e=s.type);var o=e.create(n,null,r||s.marks);if(s.isLeaf)return this.replaceWith(t,t+s.nodeSize,o);if(!e.validContent(s.content))throw new RangeError("Invalid content for node type "+e.name);return this.step(new b(t,t+s.nodeSize,t+1,t+s.nodeSize-1,new i.p2(i.HY.from(o),0,0),1,!0))},d.prototype.split=function(t,e,n){void 0===e&&(e=1);for(var r=this.doc.resolve(t),s=i.HY.empty,o=i.HY.empty,a=r.depth,l=r.depth-e,c=e-1;a>l;a--,c--){s=i.HY.from(r.node(a).copy(s));var u=n&&n[c];o=i.HY.from(u?u.type.create(u.attrs,o):r.node(a).copy(o))}return this.step(new y(t,t,new i.p2(s.append(o),e,e),!0))},d.prototype.join=function(t,e){void 0===e&&(e=1);var n=new y(t-e,t+e,i.p2.empty,!0);return this.step(n)};var D=function(t){function e(e,n,i){t.call(this),this.from=e,this.to=n,this.mark=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(t){var e=this,n=t.slice(this.from,this.to),r=t.resolve(this.from),s=r.node(r.sharedDepth(this.to)),o=new i.p2(M(n.content,(function(t,n){return t.isAtom&&n.type.allowsMarkType(e.mark.type)?t.mark(e.mark.addToSet(t.marks)):t}),s),n.openStart,n.openEnd);return v.fromReplace(t,this.from,this.to,o)},e.prototype.invert=function(){return new z(this.from,this.to,this.mark)},e.prototype.map=function(t){var n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new e(n.pos,i.pos,this.mark)},e.prototype.merge=function(t){if(t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from)return new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark)},e.prototype.toJSON=function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},e.fromJSON=function(t,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new e(n.from,n.to,t.markFromJSON(n.mark))},e}(g);g.jsonID("addMark",D);var z=function(t){function e(e,n,i){t.call(this),this.from=e,this.to=n,this.mark=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.apply=function(t){var e=this,n=t.slice(this.from,this.to),r=new i.p2(M(n.content,(function(t){return t.mark(e.mark.removeFromSet(t.marks))})),n.openStart,n.openEnd);return v.fromReplace(t,this.from,this.to,r)},e.prototype.invert=function(){return new D(this.from,this.to,this.mark)},e.prototype.map=function(t){var n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new e(n.pos,i.pos,this.mark)},e.prototype.merge=function(t){if(t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from)return new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark)},e.prototype.toJSON=function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},e.fromJSON=function(t,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new e(n.from,n.to,t.markFromJSON(n.mark))},e}(g);function j(t,e,n,r){if(void 0===n&&(n=e),void 0===r&&(r=i.p2.empty),e==n&&!r.size)return null;var s=t.resolve(e),o=t.resolve(n);return Z(s,o,r)?new y(e,n,r):new V(s,o,r).fit()}function Z(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}g.jsonID("removeMark",z),d.prototype.addMark=function(t,e,n){var i=this,r=[],s=[],o=null,a=null;return this.doc.nodesBetween(t,e,(function(i,l,c){if(i.isInline){var u=i.marks;if(!n.isInSet(u)&&c.type.allowsMarkType(n.type)){for(var h=Math.max(l,t),p=Math.min(l+i.nodeSize,e),d=n.addToSet(u),f=0;f<u.length;f++)u[f].isInSet(d)||(o&&o.to==h&&o.mark.eq(u[f])?o.to=p:r.push(o=new z(h,p,u[f])));a&&a.to==h?a.to=p:s.push(a=new D(h,p,n))}}})),r.forEach((function(t){return i.step(t)})),s.forEach((function(t){return i.step(t)})),this},d.prototype.removeMark=function(t,e,n){var r=this;void 0===n&&(n=null);var s=[],o=0;return this.doc.nodesBetween(t,e,(function(r,a){if(r.isInline){o++;var l=null;if(n instanceof i.ZU){var c,u=r.marks;while(c=n.isInSet(u))(l||(l=[])).push(c),u=c.removeFromSet(u)}else n?n.isInSet(r.marks)&&(l=[n]):l=r.marks;if(l&&l.length)for(var h=Math.min(a+r.nodeSize,e),p=0;p<l.length;p++){for(var d=l[p],f=void 0,O=0;O<s.length;O++){var m=s[O];m.step==o-1&&d.eq(s[O].style)&&(f=m)}f?(f.to=h,f.step=o):s.push({style:d,from:Math.max(a,t),to:h,step:o})}}})),s.forEach((function(t){return r.step(new z(t.from,t.to,t.style))})),this},d.prototype.clearIncompatible=function(t,e,n){void 0===n&&(n=e.contentMatch);for(var r=this.doc.nodeAt(t),s=[],o=t+1,a=0;a<r.childCount;a++){var l=r.child(a),c=o+l.nodeSize,u=n.matchType(l.type,l.attrs);if(u){n=u;for(var h=0;h<l.marks.length;h++)e.allowsMarkType(l.marks[h].type)||this.step(new z(o,c,l.marks[h]))}else s.push(new y(o,c,i.p2.empty));o=c}if(!n.validEnd){var p=n.fillBefore(i.HY.empty,!0);this.replace(o,o,new i.p2(p,0,0))}for(var d=s.length-1;d>=0;d--)this.step(s[d]);return this},d.prototype.replace=function(t,e,n){void 0===e&&(e=t),void 0===n&&(n=i.p2.empty);var r=j(this.doc,t,e,n);return r&&this.step(r),this},d.prototype.replaceWith=function(t,e,n){return this.replace(t,e,new i.p2(i.HY.from(n),0,0))},d.prototype.delete=function(t,e){return this.replace(t,e,i.p2.empty)},d.prototype.insert=function(t,e){return this.replaceWith(t,t,e)};var V=function(t,e,n){this.$to=e,this.$from=t,this.unplaced=n,this.frontier=[];for(var r=0;r<=t.depth;r++){var s=t.node(r);this.frontier.push({type:s.type,match:s.contentMatchAt(t.indexAfter(r))})}this.placed=i.HY.empty;for(var o=t.depth;o>0;o--)this.placed=i.HY.from(t.node(o).copy(this.placed))},X={depth:{configurable:!0}};function W(t,e,n){return 0==e?t.cutByIndex(n):t.replaceChild(0,t.firstChild.copy(W(t.firstChild.content,e-1,n)))}function q(t,e,n){return 0==e?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(q(t.lastChild.content,e-1,n)))}function I(t,e){for(var n=0;n<e;n++)t=t.firstChild.content;return t}function N(t,e,n){if(e<=0)return t;var r=t.content;return e>1&&(r=r.replaceChild(0,N(r.firstChild,e-1,1==r.childCount?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(i.HY.empty,!0)))),t.copy(r)}function L(t,e,n,i,r){var s=t.node(e),o=r?t.indexAfter(e):t.index(e);if(o==s.childCount&&!n.compatibleContent(s.type))return null;var a=i.fillBefore(s.content,!0,o);return a&&!B(n,s.content,o)?a:null}function B(t,e,n){for(var i=n;i<e.childCount;i++)if(!t.allowsMarks(e.child(i).marks))return!0;return!1}function U(t,e,n,r,s){if(e<n){var o=t.firstChild;t=t.replaceChild(0,o.copy(U(o.content,e+1,n,r,o)))}if(e>r){var a=s.contentMatchAt(0),l=a.fillBefore(t).append(t);t=l.append(a.matchFragment(l).fillBefore(i.HY.empty,!0))}return t}function Y(t,e){for(var n=[],i=Math.min(t.depth,e.depth),r=i;r>=0;r--){var s=t.start(r);if(s<t.pos-(t.depth-r)||e.end(r)>e.pos+(e.depth-r)||t.node(r).type.spec.isolating||e.node(r).type.spec.isolating)break;(s==e.start(r)||r==t.depth&&r==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&r&&e.start(r-1)==s-1)&&n.push(r)}return n}X.depth.get=function(){return this.frontier.length-1},V.prototype.fit=function(){while(this.unplaced.size){var t=this.findFittable();t?this.placeNodes(t):this.openMore()||this.dropNode()}var e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,s=this.close(e<0?this.$to:r.doc.resolve(e));if(!s)return null;var o=this.placed,a=r.depth,l=s.depth;while(a&&l&&1==o.childCount)o=o.firstChild.content,a--,l--;var c=new i.p2(o,a,l);return e>-1?new b(r.pos,e,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new y(r.pos,s.pos,c):void 0},V.prototype.findFittable=function(){for(var t=1;t<=2;t++)for(var e=this.unplaced.openStart;e>=0;e--){var n=void 0,r=void 0;e?(r=I(this.unplaced.content,e-1).firstChild,n=r.content):n=this.unplaced.content;for(var s=n.firstChild,o=this.depth;o>=0;o--){var a=this.frontier[o],l=a.type,c=a.match,u=void 0,h=void 0;if(1==t&&(s?c.matchType(s.type)||(h=c.fillBefore(i.HY.from(s),!1)):l.compatibleContent(r.type)))return{sliceDepth:e,frontierDepth:o,parent:r,inject:h};if(2==t&&s&&(u=c.findWrapping(s.type)))return{sliceDepth:e,frontierDepth:o,parent:r,wrap:u};if(r&&c.matchType(r.type))break}}},V.prototype.openMore=function(){var t=this.unplaced,e=t.content,n=t.openStart,r=t.openEnd,s=I(e,n);return!(!s.childCount||s.firstChild.isLeaf)&&(this.unplaced=new i.p2(e,n+1,Math.max(r,s.size+n>=e.size-r?n+1:0)),!0)},V.prototype.dropNode=function(){var t=this.unplaced,e=t.content,n=t.openStart,r=t.openEnd,s=I(e,n);if(s.childCount<=1&&n>0){var o=e.size-n<=n+s.size;this.unplaced=new i.p2(W(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new i.p2(W(e,n,1),n,r)},V.prototype.placeNodes=function(t){var e=t.sliceDepth,n=t.frontierDepth,r=t.parent,s=t.inject,o=t.wrap;while(this.depth>n)this.closeFrontierNode();if(o)for(var a=0;a<o.length;a++)this.openFrontierNode(o[a]);var l=this.unplaced,c=r?r.content:l.content,u=l.openStart-e,h=0,p=[],d=this.frontier[n],f=d.match,O=d.type;if(s){for(var m=0;m<s.childCount;m++)p.push(s.child(m));f=f.matchFragment(s)}var g=c.size+e-(l.content.size-l.openEnd);while(h<c.childCount){var v=c.child(h),y=f.matchType(v.type);if(!y)break;h++,(h>1||0==u||v.content.size)&&(f=y,p.push(N(v.mark(O.allowedMarks(v.marks)),1==h?u:0,h==c.childCount?g:-1)))}var b=h==c.childCount;b||(g=-1),this.placed=q(this.placed,n,i.HY.from(p)),this.frontier[n].match=f,b&&g<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(var _=0,x=c;_<g;_++){var w=x.lastChild;this.frontier.push({type:w.type,match:w.contentMatchAt(w.childCount)}),x=w.content}this.unplaced=b?0==e?i.p2.empty:new i.p2(W(l.content,e-1,1),e-1,g<0?l.openEnd:e-1):new i.p2(W(l.content,e,h),l.openStart,l.openEnd)},V.prototype.mustMoveInline=function(){if(!this.$to.parent.isTextblock||this.$to.end()==this.$to.pos)return-1;var t,e=this.frontier[this.depth];if(!e.type.isTextblock||!L(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;var n=this.$to,i=n.depth,r=this.$to.after(i);while(i>1&&r==this.$to.end(--i))++r;return r},V.prototype.findCloseLevel=function(t){t:for(var e=Math.min(this.depth,t.depth);e>=0;e--){var n=this.frontier[e],i=n.match,r=n.type,s=e<t.depth&&t.end(e+1)==t.pos+(t.depth-(e+1)),o=L(t,e,r,i,s);if(o){for(var a=e-1;a>=0;a--){var l=this.frontier[a],c=l.match,u=l.type,h=L(t,a,u,c,!0);if(!h||h.childCount)continue t}return{depth:e,fit:o,move:s?t.doc.resolve(t.after(e+1)):t}}}},V.prototype.close=function(t){var e=this.findCloseLevel(t);if(!e)return null;while(this.depth>e.depth)this.closeFrontierNode();e.fit.childCount&&(this.placed=q(this.placed,e.depth,e.fit)),t=e.move;for(var n=e.depth+1;n<=t.depth;n++){var i=t.node(n),r=i.type.contentMatch.fillBefore(i.content,!0,t.index(n));this.openFrontierNode(i.type,i.attrs,r)}return t},V.prototype.openFrontierNode=function(t,e,n){var r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=q(this.placed,this.depth,i.HY.from(t.create(e,n))),this.frontier.push({type:t,match:t.contentMatch})},V.prototype.closeFrontierNode=function(){var t=this.frontier.pop(),e=t.match.fillBefore(i.HY.empty,!0);e.childCount&&(this.placed=q(this.placed,this.frontier.length,e))},Object.defineProperties(V.prototype,X),d.prototype.replaceRange=function(t,e,n){if(!n.size)return this.deleteRange(t,e);var r=this.doc.resolve(t),s=this.doc.resolve(e);if(Z(r,s,n))return this.step(new y(t,e,n));var o=Y(r,this.doc.resolve(e));0==o[o.length-1]&&o.pop();var a=-(r.depth+1);o.unshift(a);for(var l=r.depth,c=r.pos-1;l>0;l--,c--){var u=r.node(l).type.spec;if(u.defining||u.isolating)break;o.indexOf(l)>-1?a=l:r.before(l)==c&&o.splice(1,0,-l)}for(var h=o.indexOf(a),p=[],d=n.openStart,f=n.content,O=0;;O++){var m=f.firstChild;if(p.push(m),O==n.openStart)break;f=m.content}d>0&&p[d-1].type.spec.defining&&r.node(h).type!=p[d-1].type?d-=1:d>=2&&p[d-1].isTextblock&&p[d-2].type.spec.defining&&r.node(h).type!=p[d-2].type&&(d-=2);for(var g=n.openStart;g>=0;g--){var v=(g+d+1)%(n.openStart+1),b=p[v];if(b)for(var _=0;_<o.length;_++){var x=o[(_+h)%o.length],w=!0;x<0&&(w=!1,x=-x);var $=r.node(x-1),S=r.index(x-1);if($.canReplaceWith(S,S,b.type,b.marks))return this.replace(r.before(x),w?s.after(x):e,new i.p2(U(n.content,0,n.openStart,v),v,n.openEnd))}}for(var k=this.steps.length,Q=o.length-1;Q>=0;Q--){if(this.replace(t,e,n),this.steps.length>k)break;var T=o[Q];T<0||(t=r.before(T),e=s.after(T))}return this},d.prototype.replaceRangeWith=function(t,e,n){if(!n.isInline&&t==e&&this.doc.resolve(t).parent.content.size){var r=E(this.doc,t,n.type);null!=r&&(t=e=r)}return this.replaceRange(t,e,new i.p2(i.HY.from(n),0,0))},d.prototype.deleteRange=function(t,e){for(var n=this.doc.resolve(t),i=this.doc.resolve(e),r=Y(n,i),s=0;s<r.length;s++){var o=r[s],a=s==r.length-1;if(a&&0==o||n.node(o).type.contentMatch.validEnd)return this.delete(n.start(o),i.end(o));if(o>0&&(a||n.node(o-1).canReplace(n.index(o-1),i.indexAfter(o-1))))return this.delete(n.before(o),i.after(o))}for(var l=1;l<=n.depth&&l<=i.depth;l++)if(t-n.start(l)==n.depth-l&&e>n.end(l)&&i.end(l)-e!=i.depth-l)return this.delete(n.before(l),e);return this.delete(t,e)}},86702:()=>{window.requestIdleCallback=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(t){clearTimeout(t)}},95005:(t,e)=>{"use strict";var n={};function i(t,e,n,i="",r=[]){let s;for(s in t)d(t[s],e[s],n,`${i}/${s}`,s in e,r);for(s in e)!(s in t)&&void 0!==e[s]&&r.push({op:"add",path:`${i}/${s}`,value:e[s]})}function r(t,e){let{b:n,eq:i,stack_base:r}=t,{i:s,N:o,j:a,M:l,Z:c,stack_top:u}=t;for(;;){if(0===e){t:for(;o>0&&l>0;){n.fill(0,0,2*c);let t,e=o-l,h=o+l,p=1&h,d=s+o-1,f=a+l-1,O=(h+p)/2;e:for(let m=0;m<=O;m++){let h=2*Math.max(0,m-l)-m,O=m-2*Math.max(0,m-o);for(let d=h;d<=O;d+=2){let h=n[d-1-c*Math.floor((d-1)/c)],f=n[d+1-c*Math.floor((d+1)/c)],O=d===-m||d!==m&&h<f?f:h+1,g=O-d,v=O,y=g;for(;v<o&&y<l&&i(s+v,a+y);)v++,y++;if(n[d-c*Math.floor(d/c)]=v,1===p&&(t=e-d)>=1-m&&t<m&&v+n[c+t-c*Math.floor(t/c)]>=o){if(m>1||v!==O){r[u++]=s+v,r[u++]=o-v,r[u++]=a+y,r[u++]=l-y,o=O,l=g,c=2*(Math.min(o,l)+1);continue t}break e}}for(let g=h;g<=O;g+=2){let h=n[c+g-1-c*Math.floor((g-1)/c)],O=n[c+g+1-c*Math.floor((g+1)/c)],v=g===-m||g!==m&&h<O?O:h+1,y=v-g,b=v,_=y;for(;b<o&&_<l&&i(d-b,f-_);)b++,_++;if(n[c+g-c*Math.floor(g/c)]=b,0===p&&(t=e-g)>=-m&&t<=m&&b+n[t-c*Math.floor(t/c)]>=o){if(m>0||b!==v){r[u++]=s+o-v,r[u++]=v,r[u++]=a+l-y,r[u++]=y,o-=b,l-=_,c=2*(Math.min(o,l)+1);continue t}break e}}}if(o!==l){l>o?(s+=o,a+=o,l-=o,o=0):(s+=l,a+=l,o-=l,l=0);break}}if(o+l!==0)if(t.pxe===s||t.pye===a)t.pxe=s+o,t.pye=a+l;else{let e=t.pxs;if(t.oxs=t.pxs,t.oxe=t.pxe,t.oys=t.pys,t.oye=t.pye,t.pxs=s,t.pxe=s+o,t.pys=a,t.pye=a+l,e>=0)return t.i=s,t.N=o,t.j=a,t.M=l,t.Z=c,t.stack_top=u,1}}if(0===e||1===e){if(0===u)return 2;l=r[--u],a=r[--u],o=r[--u],s=r[--u],c=2*(Math.min(o,l)+1),e=0}}}var s=class{constructor(t){this.state=t,this.c=0}[Symbol.iterator](){return this}next(){let{state:t}=this;if(this.c>1)return{done:!0,value:void 0};let e=r(t,this.c);return this.c=e,1===e?{done:!1,value:[t.oxs,t.oxe,t.oys,t.oye]}:t.pxs>=0?{done:!1,value:[t.pxs,t.pxe,t.pys,t.pye]}:{done:!0,value:void 0}}};function o(t,e,n,i,r){let o=2*(Math.min(e,i)+1),a=e+i,l=new(a<256?Uint8Array:a<65536?Uint16Array:Uint32Array)(2*o);return new s({i:t,N:e,j:n,M:i,Z:o,b:l,eq:r,pxs:-1,pxe:-1,pys:-1,pye:-1,oxs:-1,oxe:-1,oys:-1,oye:-1,stack_top:0,stack_base:[]})}function a(t,e,n){let[i,r,s]=[0,t.length,e.length],a=null!=n?n:(n,i)=>t[n]===e[i];for(;i<r&&i<s&&a(i,i);)i++;if(i===r&&i===s)return[][Symbol.iterator]();for(;a(--r,--s)&&r>i&&s>i;);return o(i,r+1-i,i,s+1-i,a)}function*l(t,e,n){let i=ArrayBuffer.isView(t)?Uint8Array.prototype.subarray:t.slice;for(let r of a(t,e,n))r[2]=i.call(e,r[2],r[3]),yield r}function c(t,e,n,i="",r=[],s=!1){let o=[],a=l(t,e,((i,r)=>n(t[i],e[r]))),c=0,p=0,d=0,f=0;for(let l of a){let[e,n]=l,[,,i]=l,r=e;e+=p-c,n+=p-c,f!==e&&(d+=e-f),f=n;let s=0,a=0,u=0;for(let l=0,c=e;c<n;l++,c++)void 0===i[l]?(o.push({type:"remove",shiftedIdx:c,sourceArrayRemovalBatchStartIdx:r,sourceArrayRemovalBatchPosition:a}),a++):(o.push({type:"replace",value:i[l],shiftedIdx:c,removedValue:t[r+l]}),u++);for(let t=u;t<i.length;t++)o.push({type:"add",value:i[t],totalShiftedIdx:e+t}),s++;p+=s,c+=a}f<t.length&&(d+=t.length-f),d<1?r.push({op:"replace",path:i,value:e}):(s&&h(o,n,t),u(o,r,i,n,s))}function u(t,e,n,i,r){for(let s of t)switch(s.type){case"add":e.push({op:"add",path:`${n}/${s.totalShiftedIdx}`,value:s.value});break;case"remove":{let t=s.shiftedIdx-s.sourceArrayRemovalBatchPosition;e.push({op:"remove",path:`${n}/${t}`});break}case"replace":d(s.removedValue,s.value,i,`${n}/${s.shiftedIdx}`,!0,e,r);break;case"move":e.push({op:"move",path:`${n}/${s.toShiftedIdx}`,from:`${n}/${s.fromShiftedIdx}`});break}}function h(t,e,n){for(let i=t.length-1;i>=0;i--){let r=t[i];if("add"!==r.type&&"remove"!==r.type)continue;let s="add"===r.type?r.value:n[r.sourceArrayRemovalBatchStartIdx+r.sourceArrayRemovalBatchPosition];for(let o=i-1;o>=0;o--){let a=t[o];if(a.type===r.type||"add"!==a.type&&"remove"!==a.type)continue;let l="add"===a.type?a.value:n[a.sourceArrayRemovalBatchStartIdx+a.sourceArrayRemovalBatchPosition];if(!e(s,l))continue;let c="add"===r.type?r:a,u="remove"===r.type?r:a;t[o]={type:"move",fromShiftedIdx:u.shiftedIdx,toShiftedIdx:c.totalShiftedIdx,value:c.value},t.splice(i,1);break}}}function p(t,e,n,i="",r=[],s=!1){let o=t.length,a=e.length;if(0===o)for(let l=0;l<a;l++)r.push({op:"add",path:`${i}/${l}`,value:e[l]});else 0===a?r.push({op:"replace",path:i,value:e}):1===o&&1===a?d(t[0],e[0],n,`${i}/0`,!0,r):c(t,e,n,i,r,s)}function d(t,e,n,r="",s=!1,o=[],a=!1){if(t===e)return;if(!s&&void 0!==t&&void 0===e)return void o.push({op:"remove",path:r});let l;if(t&&e&&(l=t.constructor)===e.constructor){if(l===Array)return void p(t,e,n,r,o,a);if(!l||"object"==typeof t)return void i(t,e,n,r,o)}o.push({op:"replace",path:r,value:e})}var f=Object.prototype.hasOwnProperty;function O(t,e){if(t===e)return!0;let n,i;if(t&&e&&(n=t.constructor)===e.constructor){if(n===Date)return t.getTime()===e.getTime();if(n===RegExp)return t.toString()===e.toString();if(n===Array){if((i=t.length)===e.length)for(;i--&&O(t[i],e[i]););return-1===i}if(!n||"object"==typeof t){for(n in i=0,t)if(f.call(t,n)&&++i&&!f.call(e,n)||!(n in e)||!O(t[n],e[n]))return!1;return Object.keys(e).length===i}}return t!==t&&e!==e}function m(t){if(!t)return O;let e=new WeakMap;return(t,n)=>{var i,r,s,o;if("object"==typeof t&&null!==t&&"object"==typeof n&&null!==n){if(e.has(t)&&(null==(i=e.get(t))?void 0:i.includes(n))||e.has(n)&&(null==(r=e.get(n))?void 0:r.includes(t)))return!0;let a=O(t,n);return a&&(e.has(t)?null==(s=e.get(t))||s.push(n):e.set(t,[n]),e.has(n)?null==(o=e.get(n))||o.push(t):e.set(n,[t])),a}return O(t,n)}}function g(t,e,n={}){let i=m(Boolean(n.doCaching)),r=[];return d(t,e,i,"",!1,r,Boolean(n.detectMoveOperations)),r}e.qu=g},31304:function(t){(function(e,n,i){t.exports=i(),t.exports["default"]=i()})(0,0,(function(){var t=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),e=JSON.parse('{"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue"},"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!==typeof n)throw new Error("slugify: string argument expected");i="string"===typeof i?{replacement:i}:i||{};var r=e[i.locale]||{},s=void 0===i.replacement?"-":i.replacement,o=n.split("").reduce((function(e,n){return e+(r[n]||t[n]||n).replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"").trim().replace(new RegExp("[\\s"+s+"]+","g"),s);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+s+"]","g"),"").replace(new RegExp("[\\s"+s+"]+","g"),s)),o}return n.extend=function(e){for(var n in e)t[n]=e[n]},n}))},51474:(t,e,n)=>{"use strict";
/**!
* Sortable 1.10.2
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function a(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}function l(t,e){if(null==t)return{};var n,i,r=a(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function c(t){return u(t)||h(t)||p()}function u(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance")}n.r(e),n.d(e,{MultiDrag:()=>Ze,Sortable:()=>Kt,Swap:()=>ke,default:()=>qe});var d="1.10.2";function f(t){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var O=f(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=f(/Edge/i),g=f(/firefox/i),v=f(/safari/i)&&!f(/chrome/i)&&!f(/android/i),y=f(/iP(ad|od|hone)/i),b=f(/chrome/i)&&f(/android/i),_={capture:!1,passive:!1};function x(t,e,n){t.addEventListener(e,n,!O&&_)}function w(t,e,n){t.removeEventListener(e,n,!O&&_)}function $(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function S(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function k(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&$(t,e):$(t,e))||i&&t===n)return t;if(t===n)break}while(t=S(t))}return null}var Q,T=/\s+/g;function P(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(T," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(T," ")}}function C(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"===typeof n?"":"px")}}function A(t,e){var n="";if("string"===typeof t)n=t;else do{var i=C(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function E(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,s=i.length;if(n)for(;r<s;r++)n(i[r],r);return i}return[]}function R(){var t=document.scrollingElement;return t||document.documentElement}function M(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var s,o,a,l,c,u,h;if(t!==window&&t!==R()?(s=t.getBoundingClientRect(),o=s.top,a=s.left,l=s.bottom,c=s.right,u=s.height,h=s.width):(o=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!O))do{if(r&&r.getBoundingClientRect&&("none"!==C(r,"transform")||n&&"static"!==C(r,"position"))){var p=r.getBoundingClientRect();o-=p.top+parseInt(C(r,"border-top-width")),a-=p.left+parseInt(C(r,"border-left-width")),l=o+s.height,c=a+s.width;break}}while(r=r.parentNode);if(i&&t!==window){var d=A(r||t),f=d&&d.a,m=d&&d.d;d&&(o/=m,a/=f,h/=f,u/=m,l=o+u,c=a+h)}return{top:o,left:a,bottom:l,right:c,width:h,height:u}}}function D(t,e,n){var i=W(t,!0),r=M(t)[e];while(i){var s=M(i)[n],o=void 0;if(o="top"===n||"left"===n?r>=s:r<=s,!o)return i;if(i===R())break;i=W(i,!1)}return!1}function z(t,e,n){var i=0,r=0,s=t.children;while(r<s.length){if("none"!==s[r].style.display&&s[r]!==Kt.ghost&&s[r]!==Kt.dragged&&k(s[r],n.draggable,t,!1)){if(i===e)return s[r];i++}r++}return null}function j(t,e){var n=t.lastElementChild;while(n&&(n===Kt.ghost||"none"===C(n,"display")||e&&!$(n,e)))n=n.previousElementSibling;return n||null}function Z(t,e){var n=0;if(!t||!t.parentNode)return-1;while(t=t.previousElementSibling)"TEMPLATE"===t.nodeName.toUpperCase()||t===Kt.clone||e&&!$(t,e)||n++;return n}function V(t){var e=0,n=0,i=R();if(t)do{var r=A(t),s=r.a,o=r.d;e+=t.scrollLeft*s,n+=t.scrollTop*o}while(t!==i&&(t=t.parentNode));return[e,n]}function X(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}function W(t,e){if(!t||!t.getBoundingClientRect)return R();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(i||e)return n;i=!0}}}while(n=n.parentNode);return R()}function q(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function I(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function N(t,e){return function(){if(!Q){var n=arguments,i=this;1===n.length?t.call(i,n[0]):t.apply(i,n),Q=setTimeout((function(){Q=void 0}),e)}}}function L(){clearTimeout(Q),Q=void 0}function B(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function U(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Y(t,e){C(t,"position","absolute"),C(t,"top",e.top),C(t,"left",e.left),C(t,"width",e.width),C(t,"height",e.height)}function F(t){C(t,"position",""),C(t,"top",""),C(t,"left",""),C(t,"width",""),C(t,"height","")}var G="Sortable"+(new Date).getTime();function H(){var t,e=[];return{captureAnimationState:function(){if(e=[],this.options.animation){var t=[].slice.call(this.el.children);t.forEach((function(t){if("none"!==C(t,"display")&&t!==Kt.ghost){e.push({target:t,rect:M(t)});var n=o({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=A(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))}},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(X(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"===typeof n&&n());var r=!1,s=0;e.forEach((function(t){var e=0,n=t.target,o=n.fromRect,a=M(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,h=A(n,!0);h&&(a.top-=h.f,a.left-=h.e),n.toRect=a,n.thisAnimationDuration&&I(l,a)&&!I(o,a)&&(u.top-a.top)/(u.left-a.left)===(o.top-a.top)/(o.left-a.left)&&(e=J(u,l,c,i.options)),I(a,o)||(n.prevFromRect=o,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,s=Math.max(s,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"===typeof n&&n()}),s):"function"===typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){C(t,"transition",""),C(t,"transform","");var r=A(this.el),s=r&&r.a,o=r&&r.d,a=(e.left-n.left)/(s||1),l=(e.top-n.top)/(o||1);t.animatingX=!!a,t.animatingY=!!l,C(t,"transform","translate3d("+a+"px,"+l+"px,0)"),K(t),C(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),C(t,"transform","translate3d(0,0,0)"),"number"===typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){C(t,"transition",""),C(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}function K(t){return t.offsetWidth}function J(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}var tt=[],et={initializeByDefault:!0},nt={mount:function(t){for(var e in et)et.hasOwnProperty(e)&&!(e in t)&&(t[e]=et[e]);tt.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";tt.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](o({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](o({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in tt.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,s(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var o=this.modifyOption(t,r,t.options[r]);"undefined"!==typeof o&&(t.options[r]=o)}},getEventProperties:function(t,e){var n={};return tt.forEach((function(i){"function"===typeof i.eventProperties&&s(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return tt.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"===typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}};function it(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,s=t.cloneEl,a=t.toEl,l=t.fromEl,c=t.oldIndex,u=t.newIndex,h=t.oldDraggableIndex,p=t.newDraggableIndex,d=t.originalEvent,f=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[G],e){var v,y=e.options,b="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||O||m?(v=document.createEvent("Event"),v.initEvent(i,!0,!0)):v=new CustomEvent(i,{bubbles:!0,cancelable:!0}),v.to=a||n,v.from=l||n,v.item=r||n,v.clone=s,v.oldIndex=c,v.newIndex=u,v.oldDraggableIndex=h,v.newDraggableIndex=p,v.originalEvent=d,v.pullMode=f?f.lastPutMode:void 0;var _=o({},g,nt.getEventProperties(i,e));for(var x in _)v[x]=_[x];n&&n.dispatchEvent(v),y[b]&&y[b].call(e,v)}}var rt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=l(n,["evt"]);nt.pluginEvent.bind(Kt)(t,e,o({dragEl:ot,parentEl:at,ghostEl:lt,rootEl:ct,nextEl:ut,lastDownEl:ht,cloneEl:pt,cloneHidden:dt,dragStarted:kt,putSortable:yt,activeSortable:Kt.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:mt,newIndex:Ot,newDraggableIndex:gt,hideGhostForTarget:Yt,unhideGhostForTarget:Ft,cloneNowHidden:function(){dt=!0},cloneNowShown:function(){dt=!1},dispatchSortableEvent:function(t){st({sortable:e,name:t,originalEvent:i})}},r))};function st(t){it(o({putSortable:yt,cloneEl:pt,targetEl:ot,rootEl:ct,oldIndex:ft,oldDraggableIndex:mt,newIndex:Ot,newDraggableIndex:gt},t))}var ot,at,lt,ct,ut,ht,pt,dt,ft,Ot,mt,gt,vt,yt,bt,_t,xt,wt,$t,St,kt,Qt,Tt,Pt,Ct,At=!1,Et=!1,Rt=[],Mt=!1,Dt=!1,zt=[],jt=!1,Zt=[],Vt="undefined"!==typeof document,Xt=y,Wt=m||O?"cssFloat":"float",qt=Vt&&!b&&!y&&"draggable"in document.createElement("div"),It=function(){if(Vt){if(O)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Nt=function(t,e){var n=C(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=z(t,0,e),s=z(t,1,e),o=r&&C(r),a=s&&C(s),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+M(r).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+M(s).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&o["float"]&&"none"!==o["float"]){var u="left"===o["float"]?"left":"right";return!s||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||l>=i&&"none"===n[Wt]||s&&"none"===n[Wt]&&l+c>i)?"vertical":"horizontal"},Lt=function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,s=n?t.width:t.height,o=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return i===o||r===a||i+s/2===o+l/2},Bt=function(t,e){var n;return Rt.some((function(i){if(!j(i)){var r=M(i),s=i[G].options.emptyInsertThreshold,o=t>=r.left-s&&t<=r.right+s,a=e>=r.top-s&&e<=r.bottom+s;return s&&o&&a?n=i:void 0}})),n},Ut=function(t){function e(t,n){return function(i,r,s,o){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(i,r,s,o),n)(i,r,s,o);var l=(n?i:r).options.group.name;return!0===t||"string"===typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},r=t.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},Yt=function(){!It&<&&C(lt,"display","none")},Ft=function(){!It&<&&C(lt,"display","")};Vt&&document.addEventListener("click",(function(t){if(Et)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Et=!1,!1}),!0);var Gt=function(t){if(ot){t=t.touches?t.touches[0]:t;var e=Bt(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[G]._onDragOver(n)}}},Ht=function(t){ot&&ot.parentNode[G]._isOutsideThisEl(t.target)};function Kt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=s({},e),t[G]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Kt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in nt.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Ut(e),this)"_"===r.charAt(0)&&"function"===typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&qt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?x(t,"pointerdown",this._onTapStart):(x(t,"mousedown",this._onTapStart),x(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(x(t,"dragover",this),x(t,"dragenter",this)),Rt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),s(this,H())}function Jt(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function te(t,e,n,i,r,s,o,a){var l,c,u=t[G],h=u.options.onMove;return!window.CustomEvent||O||m?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=s||M(e),l.willInsertAfter=a,l.originalEvent=o,t.dispatchEvent(l),h&&(c=h.call(u,l,o)),c}function ee(t){t.draggable=!1}function ne(){jt=!1}function ie(t,e,n){var i=M(j(n.el,n.options.draggable)),r=10;return e?t.clientX>i.right+r||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+r}function re(t,e,n,i,r,s,o,a){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,p=!1;if(!o)if(a&&Pt<c*r){if(!Mt&&(1===Tt?l>u+c*s/2:l<h-c*s/2)&&(Mt=!0),Mt)p=!0;else if(1===Tt?l<u+Pt:l>h-Pt)return-Tt}else if(l>u+c*(1-r)/2&&l<h-c*(1-r)/2)return se(e);return p=p||o,p&&(l<u+c*s/2||l>h-c*s/2)?l>u+c/2?1:-1:0}function se(t){return Z(ot)<Z(t)?1:-1}function oe(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;while(n--)i+=e.charCodeAt(n);return i.toString(36)}function ae(t){Zt.length=0;var e=t.getElementsByTagName("input"),n=e.length;while(n--){var i=e[n];i.checked&&Zt.push(i)}}function le(t){return setTimeout(t,0)}function ce(t){return clearTimeout(t)}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Qt=null)},_getDirection:function(t,e){return"function"===typeof this.options.direction?this.options.direction.call(this,t,e,ot):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,s=t.type,o=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(o||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=i.filter;if(ae(n),!ot&&!(/mousedown|pointerdown/.test(s)&&0!==t.button||i.disabled)&&!l.isContentEditable&&(a=k(a,i.draggable,n,!1),(!a||!a.animated)&&ht!==a)){if(ft=Z(a),mt=Z(a,i.draggable),"function"===typeof c){if(c.call(this,t,a,this))return st({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),rt("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=k(l,i.trim(),n,!1),i)return st({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),rt("filter",e,{evt:t}),!0})),c))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!k(l,i.handle,n,!1)||this._prepareDragStart(t,o,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,s=r.el,o=r.options,a=s.ownerDocument;if(n&&!ot&&n.parentNode===s){var l=M(n);if(ct=s,ot=n,at=ot.parentNode,ut=ot.nextSibling,ht=n,vt=o.group,Kt.dragged=ot,bt={target:ot,clientX:(e||t).clientX,clientY:(e||t).clientY},$t=bt.clientX-l.left,St=bt.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,ot.style["will-change"]="all",i=function(){rt("delayEnded",r,{evt:t}),Kt.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!g&&r.nativeDraggable&&(ot.draggable=!0),r._triggerDragStart(t,e),st({sortable:r,name:"choose",originalEvent:t}),P(ot,o.chosenClass,!0))},o.ignore.split(",").forEach((function(t){E(ot,t.trim(),ee)})),x(a,"dragover",Gt),x(a,"mousemove",Gt),x(a,"touchmove",Gt),x(a,"mouseup",r._onDrop),x(a,"touchend",r._onDrop),x(a,"touchcancel",r._onDrop),g&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ot.draggable=!0),rt("delayStart",this,{evt:t}),!o.delay||o.delayOnTouchOnly&&!e||this.nativeDraggable&&(m||O))i();else{if(Kt.eventCanceled)return void this._onDrop();x(a,"mouseup",r._disableDelayedDrag),x(a,"touchend",r._disableDelayedDrag),x(a,"touchcancel",r._disableDelayedDrag),x(a,"mousemove",r._delayedDragTouchMoveHandler),x(a,"touchmove",r._delayedDragTouchMoveHandler),o.supportPointer&&x(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,o.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ot&&ee(ot),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;w(t,"mouseup",this._disableDelayedDrag),w(t,"touchend",this._disableDelayedDrag),w(t,"touchcancel",this._disableDelayedDrag),w(t,"mousemove",this._delayedDragTouchMoveHandler),w(t,"touchmove",this._delayedDragTouchMoveHandler),w(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?x(document,"pointermove",this._onTouchMove):x(document,e?"touchmove":"mousemove",this._onTouchMove):(x(ot,"dragend",this),x(ct,"dragstart",this._onDragStart));try{document.selection?le((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(At=!1,ct&&ot){rt("dragStarted",this,{evt:e}),this.nativeDraggable&&x(document,"dragover",Ht);var n=this.options;!t&&P(ot,n.dragClass,!1),P(ot,n.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),st({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(_t){this._lastX=_t.clientX,this._lastY=_t.clientY,Yt();var t=document.elementFromPoint(_t.clientX,_t.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(_t.clientX,_t.clientY),t===e)break;e=t}if(ot.parentNode[G]._isOutsideThisEl(t),e)do{if(e[G]){var n=void 0;if(n=e[G]._onDragOver({clientX:_t.clientX,clientY:_t.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Ft()}},_onTouchMove:function(t){if(bt){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,s=lt&&A(lt,!0),o=lt&&s&&s.a,a=lt&&s&&s.d,l=Xt&&Ct&&V(Ct),c=(r.clientX-bt.clientX+i.x)/(o||1)+(l?l[0]-zt[0]:0)/(o||1),u=(r.clientY-bt.clientY+i.y)/(a||1)+(l?l[1]-zt[1]:0)/(a||1);if(!Kt.active&&!At){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(lt){s?(s.e+=c-(xt||0),s.f+=u-(wt||0)):s={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");C(lt,"webkitTransform",h),C(lt,"mozTransform",h),C(lt,"msTransform",h),C(lt,"transform",h),xt=c,wt=u,_t=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!lt){var t=this.options.fallbackOnBody?document.body:ct,e=M(ot,!0,Xt,!0,t),n=this.options;if(Xt){Ct=t;while("static"===C(Ct,"position")&&"none"===C(Ct,"transform")&&Ct!==document)Ct=Ct.parentNode;Ct!==document.body&&Ct!==document.documentElement?(Ct===document&&(Ct=R()),e.top+=Ct.scrollTop,e.left+=Ct.scrollLeft):Ct=R(),zt=V(Ct)}lt=ot.cloneNode(!0),P(lt,n.ghostClass,!1),P(lt,n.fallbackClass,!0),P(lt,n.dragClass,!0),C(lt,"transition",""),C(lt,"transform",""),C(lt,"box-sizing","border-box"),C(lt,"margin",0),C(lt,"top",e.top),C(lt,"left",e.left),C(lt,"width",e.width),C(lt,"height",e.height),C(lt,"opacity","0.8"),C(lt,"position",Xt?"absolute":"fixed"),C(lt,"zIndex","100000"),C(lt,"pointerEvents","none"),Kt.ghost=lt,t.appendChild(lt),C(lt,"transform-origin",$t/parseInt(lt.style.width)*100+"% "+St/parseInt(lt.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;rt("dragStart",this,{evt:t}),Kt.eventCanceled?this._onDrop():(rt("setupClone",this),Kt.eventCanceled||(pt=U(ot),pt.draggable=!1,pt.style["will-change"]="",this._hideClone(),P(pt,this.options.chosenClass,!1),Kt.clone=pt),n.cloneId=le((function(){rt("clone",n),Kt.eventCanceled||(n.options.removeCloneOnHide||ct.insertBefore(pt,ot),n._hideClone(),st({sortable:n,name:"clone"}))})),!e&&P(ot,r.dragClass,!0),e?(Et=!0,n._loopId=setInterval(n._emulateDragOver,50)):(w(document,"mouseup",n._onDrop),w(document,"touchend",n._onDrop),w(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,ot)),x(document,"drop",n),C(ot,"transform","translateZ(0)")),At=!0,n._dragStartId=le(n._dragStarted.bind(n,e,t)),x(document,"selectstart",n),kt=!0,v&&C(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,s=this.el,a=t.target,l=this.options,c=l.group,u=Kt.active,h=vt===c,p=l.sort,d=yt||u,f=this,O=!1;if(!jt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=k(a,l.draggable,s,!0),E("dragOver"),Kt.eventCanceled)return O;if(ot.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||f._ignoreWhileAnimating===a)return z(!1);if(Et=!1,u&&!l.disabled&&(h?p||(i=!ct.contains(ot)):yt===this||(this.lastPutMode=vt.checkPull(this,u,ot,t))&&c.checkPut(this,u,ot,t))){if(r="vertical"===this._getDirection(t,a),e=M(ot),E("dragOverValid"),Kt.eventCanceled)return O;if(i)return at=ct,R(),this._hideClone(),E("revert"),Kt.eventCanceled||(ut?ct.insertBefore(ot,ut):ct.appendChild(ot)),z(!0);var m=j(s,l.draggable);if(!m||ie(t,r,this)&&!m.animated){if(m===ot)return z(!1);if(m&&s===t.target&&(a=m),a&&(n=M(a)),!1!==te(ct,s,ot,e,a,n,t,!!a))return R(),s.appendChild(ot),at=s,V(),z(!0)}else if(a.parentNode===s){n=M(a);var g,v,y=0,b=ot.parentNode!==s,_=!Lt(ot.animated&&ot.toRect||e,a.animated&&a.toRect||n,r),x=r?"top":"left",w=D(a,"top","top")||D(ot,"top","top"),$=w?w.scrollTop:void 0;if(Qt!==a&&(g=n[x],Mt=!1,Dt=!_&&l.invertSwap||b),y=re(t,a,n,r,_?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Dt,Qt===a),0!==y){var S=Z(ot);do{S-=y,v=at.children[S]}while(v&&("none"===C(v,"display")||v===lt))}if(0===y||v===a)return z(!1);Qt=a,Tt=y;var Q=a.nextElementSibling,T=!1;T=1===y;var A=te(ct,s,ot,e,a,n,t,T);if(!1!==A)return 1!==A&&-1!==A||(T=1===A),jt=!0,setTimeout(ne,30),R(),T&&!Q?s.appendChild(ot):a.parentNode.insertBefore(ot,T?Q:a),w&&B(w,0,$-w.scrollTop),at=ot.parentNode,void 0===g||Dt||(Pt=Math.abs(g-M(a)[x])),V(),z(!0)}if(s.contains(ot))return z(!1)}return!1}function E(l,c){rt(l,f,o({evt:t,isOwner:h,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:p,fromSortable:d,target:a,completed:z,onMove:function(n,i){return te(ct,s,ot,e,n,M(n),t,i)},changed:V},c))}function R(){E("dragOverAnimationCapture"),f.captureAnimationState(),f!==d&&d.captureAnimationState()}function z(e){return E("dragOverCompleted",{insertion:e}),e&&(h?u._hideClone():u._showClone(f),f!==d&&(P(ot,yt?yt.options.ghostClass:u.options.ghostClass,!1),P(ot,l.ghostClass,!0)),yt!==f&&f!==Kt.active?yt=f:f===Kt.active&&yt&&(yt=null),d===f&&(f._ignoreWhileAnimating=a),f.animateAll((function(){E("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===ot&&!ot.animated||a===s&&!a.animated)&&(Qt=null),l.dragoverBubble||t.rootEl||a===document||(ot.parentNode[G]._isOutsideThisEl(t.target),!e&&Gt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),O=!0}function V(){Ot=Z(ot),gt=Z(ot,l.draggable),st({sortable:f,name:"change",toEl:s,newIndex:Ot,newDraggableIndex:gt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){w(document,"mousemove",this._onTouchMove),w(document,"touchmove",this._onTouchMove),w(document,"pointermove",this._onTouchMove),w(document,"dragover",Gt),w(document,"mousemove",Gt),w(document,"touchmove",Gt)},_offUpEvents:function(){var t=this.el.ownerDocument;w(t,"mouseup",this._onDrop),w(t,"touchend",this._onDrop),w(t,"pointerup",this._onDrop),w(t,"touchcancel",this._onDrop),w(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;Ot=Z(ot),gt=Z(ot,n.draggable),rt("drop",this,{evt:t}),at=ot&&ot.parentNode,Ot=Z(ot),gt=Z(ot,n.draggable),Kt.eventCanceled||(At=!1,Dt=!1,Mt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ce(this.cloneId),ce(this._dragStartId),this.nativeDraggable&&(w(document,"drop",this),w(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),v&&C(document.body,"user-select",""),C(ot,"transform",""),t&&(kt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),lt&<.parentNode&<.parentNode.removeChild(lt),(ct===at||yt&&"clone"!==yt.lastPutMode)&&pt&&pt.parentNode&&pt.parentNode.removeChild(pt),ot&&(this.nativeDraggable&&w(ot,"dragend",this),ee(ot),ot.style["will-change"]="",kt&&!At&&P(ot,yt?yt.options.ghostClass:this.options.ghostClass,!1),P(ot,this.options.chosenClass,!1),st({sortable:this,name:"unchoose",toEl:at,newIndex:null,newDraggableIndex:null,originalEvent:t}),ct!==at?(Ot>=0&&(st({rootEl:at,name:"add",toEl:at,fromEl:ct,originalEvent:t}),st({sortable:this,name:"remove",toEl:at,originalEvent:t}),st({rootEl:at,name:"sort",toEl:at,fromEl:ct,originalEvent:t}),st({sortable:this,name:"sort",toEl:at,originalEvent:t})),yt&&yt.save()):Ot!==ft&&Ot>=0&&(st({sortable:this,name:"update",toEl:at,originalEvent:t}),st({sortable:this,name:"sort",toEl:at,originalEvent:t})),Kt.active&&(null!=Ot&&-1!==Ot||(Ot=ft,gt=mt),st({sortable:this,name:"end",toEl:at,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),ct=ot=at=lt=ut=pt=ht=dt=bt=_t=kt=Ot=gt=ft=mt=Qt=Tt=yt=vt=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,Zt.forEach((function(t){t.checked=!0})),Zt.length=xt=wt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ot&&(this._onDragOver(t),Jt(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,s=this.options;i<r;i++)t=n[i],k(t,s.draggable,this.el,!1)&&e.push(t.getAttribute(s.dataIdAttr)||oe(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var r=n.children[i];k(r,this.options.draggable,n,!1)&&(e[t]=r)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return k(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=nt.modifyOption(this,t,e);n[t]="undefined"!==typeof i?i:e,"group"===t&&Ut(n)},destroy:function(){rt("destroy",this);var t=this.el;t[G]=null,w(t,"mousedown",this._onTapStart),w(t,"touchstart",this._onTapStart),w(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(w(t,"dragover",this),w(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Rt.splice(Rt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!dt){if(rt("hideClone",this),Kt.eventCanceled)return;C(pt,"display","none"),this.options.removeCloneOnHide&&pt.parentNode&&pt.parentNode.removeChild(pt),dt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(dt){if(rt("showClone",this),Kt.eventCanceled)return;ct.contains(ot)&&!this.options.group.revertClone?ct.insertBefore(pt,ot):ut?ct.insertBefore(pt,ut):ct.appendChild(pt),this.options.group.revertClone&&this.animate(ot,pt),C(pt,"display",""),dt=!1}}else this._hideClone()}},Vt&&x(document,"touchmove",(function(t){(Kt.active||At)&&t.cancelable&&t.preventDefault()})),Kt.utils={on:x,off:w,css:C,find:E,is:function(t,e){return!!k(t,e,t,!1)},extend:q,throttle:N,closest:k,toggleClass:P,clone:U,index:Z,nextTick:le,cancelNextTick:ce,detectDirection:Nt,getChild:z},Kt.get=function(t){return t[G]},Kt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Kt.utils=o({},Kt.utils,t.utils)),nt.mount(t)}))},Kt.create=function(t,e){return new Kt(t,e)},Kt.version=d;var ue,he,pe,de,fe,Oe,me=[],ge=!1;function ve(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"===typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?x(document,"dragover",this._handleAutoScroll):this.options.supportPointer?x(document,"pointermove",this._handleFallbackAutoScroll):e.touches?x(document,"touchmove",this._handleFallbackAutoScroll):x(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):(w(document,"pointermove",this._handleFallbackAutoScroll),w(document,"touchmove",this._handleFallbackAutoScroll),w(document,"mousemove",this._handleFallbackAutoScroll)),be(),ye(),L()},nulling:function(){fe=he=ue=ge=Oe=pe=de=null,me.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,s=document.elementFromPoint(i,r);if(fe=t,e||m||O||v){xe(t,this.options,s,e);var o=W(s,!0);!ge||Oe&&i===pe&&r===de||(Oe&&be(),Oe=setInterval((function(){var s=W(document.elementFromPoint(i,r),!0);s!==o&&(o=s,ye()),xe(t,n.options,s,e)}),10),pe=i,de=r)}else{if(!this.options.bubbleScroll||W(s,!0)===R())return void ye();xe(t,this.options,W(s,!1),!1)}}},s(t,{pluginName:"scroll",initializeByDefault:!0})}function ye(){me.forEach((function(t){clearInterval(t.pid)})),me=[]}function be(){clearInterval(Oe)}var _e,xe=N((function(t,e,n,i){if(e.scroll){var r,s=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=R(),u=!1;he!==n&&(he=n,ye(),ue=e.scroll,r=e.scrollFn,!0===ue&&(ue=W(n,!0)));var h=0,p=ue;do{var d=p,f=M(d),O=f.top,m=f.bottom,g=f.left,v=f.right,y=f.width,b=f.height,_=void 0,x=void 0,w=d.scrollWidth,$=d.scrollHeight,S=C(d),k=d.scrollLeft,Q=d.scrollTop;d===c?(_=y<w&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),x=b<$&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(_=y<w&&("auto"===S.overflowX||"scroll"===S.overflowX),x=b<$&&("auto"===S.overflowY||"scroll"===S.overflowY));var T=_&&(Math.abs(v-s)<=a&&k+y<w)-(Math.abs(g-s)<=a&&!!k),P=x&&(Math.abs(m-o)<=a&&Q+b<$)-(Math.abs(O-o)<=a&&!!Q);if(!me[h])for(var A=0;A<=h;A++)me[A]||(me[A]={});me[h].vx==T&&me[h].vy==P&&me[h].el===d||(me[h].el=d,me[h].vx=T,me[h].vy=P,clearInterval(me[h].pid),0==T&&0==P||(u=!0,me[h].pid=setInterval(function(){i&&0===this.layer&&Kt.active._onTouchMove(fe);var e=me[this.layer].vy?me[this.layer].vy*l:0,n=me[this.layer].vx?me[this.layer].vx*l:0;"function"===typeof r&&"continue"!==r.call(Kt.dragged.parentNode[G],n,e,t,fe,me[this.layer].el)||B(me[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&p!==c&&(p=W(p,!1)));ge=u}}),30),we=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,s=t.dispatchSortableEvent,o=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||r;o();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(s("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function $e(){}function Se(){}function ke(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;_e=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,r=t.activeSortable,s=t.changed,o=t.cancel;if(r.options.swap){var a=this.sortable.el,l=this.options;if(n&&n!==a){var c=_e;!1!==i(n)?(P(n,l.swapClass,!0),_e=n):_e=null,c&&c!==_e&&P(c,l.swapClass,!1)}s(),e(!0),o()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,i=t.dragEl,r=n||this.sortable,s=this.options;_e&&P(_e,s.swapClass,!1),_e&&(s.swap||n&&n.options.swap)&&i!==_e&&(r.captureAnimationState(),r!==e&&e.captureAnimationState(),Qe(i,_e),r.animateAll(),r!==e&&e.animateAll())},nulling:function(){_e=null}},s(t,{pluginName:"swap",eventProperties:function(){return{swapItem:_e}}})}function Qe(t,e){var n,i,r=t.parentNode,s=e.parentNode;r&&s&&!r.isEqualNode(e)&&!s.isEqualNode(t)&&(n=Z(t),i=Z(e),r.isEqualNode(s)&&n<i&&i++,r.insertBefore(e,r.children[n]),s.insertBefore(t,s.children[i]))}$e.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=z(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:we},s($e,{pluginName:"revertOnSpill"}),Se.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,i=n||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:we},s(Se,{pluginName:"removeOnSpill"});var Te,Pe,Ce,Ae,Ee,Re=/^(14|9)3$/.test(n.j)?[]:null,Me=/^(14|9)3$/.test(n.j)?[]:null,De=!1,ze=!1,je=!1;function Ze(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?x(document,"pointerup",this._deselectMultiDrag):(x(document,"mouseup",this._deselectMultiDrag),x(document,"touchend",this._deselectMultiDrag)),x(document,"keydown",this._checkKeyDown),x(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";Re.length&&Pe===t?Re.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;Ce=e},delayEnded:function(){this.isMultiDrag=~Re.indexOf(Ce)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<Re.length;i++)Me.push(U(Re[i])),Me[i].sortableIndex=Re[i].sortableIndex,Me[i].draggable=!1,Me[i].style["will-change"]="",P(Me[i],this.options.selectedClass,!1),Re[i]===Ce&&P(Me[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,r=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Re.length&&Pe===e&&(Xe(!0,n),i("clone"),r()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(Xe(!1,n),Me.forEach((function(t){C(t,"display","")})),e(),Ee=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(Me.forEach((function(t){C(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),Ee=!0,i())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&Pe&&Pe.multiDrag._deselectMultiDrag(),Re.forEach((function(t){t.sortableIndex=Z(t)})),Re=Re.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),je=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){Re.forEach((function(t){t!==Ce&&C(t,"position","absolute")}));var i=M(Ce,!1,!0,!0);Re.forEach((function(t){t!==Ce&&Y(t,i)})),ze=!0,De=!0}n.animateAll((function(){ze=!1,De=!1,e.options.animation&&Re.forEach((function(t){F(t)})),e.options.sort&&We()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;ze&&~Re.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,r=t.dragRect;Re.length>1&&(Re.forEach((function(t){i.addAnimationState({target:t,rect:ze?M(t):r}),F(t),t.fromRect=r,e.removeAnimationState(t)})),ze=!1,Ve(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,r=t.activeSortable,s=t.parentEl,o=t.putSortable,a=this.options;if(i){if(n&&r._hideClone(),De=!1,a.animation&&Re.length>1&&(ze||!n&&!r.options.sort&&!o)){var l=M(Ce,!1,!0,!0);Re.forEach((function(t){t!==Ce&&(Y(t,l),s.appendChild(t))})),ze=!0}if(!n)if(ze||We(),Re.length>1){var c=Ee;r._showClone(e),r.options.animation&&!Ee&&c&&Me.forEach((function(t){r.addAnimationState({target:t,rect:Ae}),t.fromRect=Ae,t.thisAnimationDuration=null}))}else r._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(Re.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){Ae=s({},e);var r=A(Ce,!0);Ae.top-=r.f,Ae.left-=r.e}},dragOverAnimationComplete:function(){ze&&(ze=!1,We())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,r=t.sortable,s=t.dispatchSortableEvent,o=t.oldIndex,a=t.putSortable,l=a||this.sortable;if(e){var c=this.options,u=i.children;if(!je)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),P(Ce,c.selectedClass,!~Re.indexOf(Ce)),~Re.indexOf(Ce))Re.splice(Re.indexOf(Ce),1),Te=null,it({sortable:r,rootEl:n,name:"deselect",targetEl:Ce,originalEvt:e});else{if(Re.push(Ce),it({sortable:r,rootEl:n,name:"select",targetEl:Ce,originalEvt:e}),e.shiftKey&&Te&&r.el.contains(Te)){var h,p,d=Z(Te),f=Z(Ce);if(~d&&~f&&d!==f)for(f>d?(p=d,h=f):(p=f,h=d+1);p<h;p++)~Re.indexOf(u[p])||(P(u[p],c.selectedClass,!0),Re.push(u[p]),it({sortable:r,rootEl:n,name:"select",targetEl:u[p],originalEvt:e}))}else Te=Ce;Pe=l}if(je&&this.isMultiDrag){if((i[G].options.sort||i!==n)&&Re.length>1){var O=M(Ce),m=Z(Ce,":not(."+this.options.selectedClass+")");if(!De&&c.animation&&(Ce.thisAnimationDuration=null),l.captureAnimationState(),!De&&(c.animation&&(Ce.fromRect=O,Re.forEach((function(t){if(t.thisAnimationDuration=null,t!==Ce){var e=ze?M(t):O;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),We(),Re.forEach((function(t){u[m]?i.insertBefore(t,u[m]):i.appendChild(t),m++})),o===Z(Ce))){var g=!1;Re.forEach((function(t){t.sortableIndex===Z(t)||(g=!0)})),g&&s("update")}Re.forEach((function(t){F(t)})),l.animateAll()}Pe=l}(n===i||a&&"clone"!==a.lastPutMode)&&Me.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=je=!1,Me.length=0},destroyGlobal:function(){this._deselectMultiDrag(),w(document,"pointerup",this._deselectMultiDrag),w(document,"mouseup",this._deselectMultiDrag),w(document,"touchend",this._deselectMultiDrag),w(document,"keydown",this._checkKeyDown),w(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(("undefined"===typeof je||!je)&&Pe===this.sortable&&(!t||!k(t.target,this.options.draggable,this.sortable.el,!1))&&(!t||0===t.button))while(Re.length){var e=Re[0];P(e,this.options.selectedClass,!1),Re.shift(),it({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},s(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[G];e&&e.options.multiDrag&&!~Re.indexOf(t)&&(Pe&&Pe!==e&&(Pe.multiDrag._deselectMultiDrag(),Pe=e),P(t,e.options.selectedClass,!0),Re.push(t))},deselect:function(t){var e=t.parentNode[G],n=Re.indexOf(t);e&&e.options.multiDrag&&~n&&(P(t,e.options.selectedClass,!1),Re.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return Re.forEach((function(i){var r;e.push({multiDragElement:i,index:i.sortableIndex}),r=ze&&i!==Ce?-1:ze?Z(i,":not(."+t.options.selectedClass+")"):Z(i),n.push({multiDragElement:i,index:r})})),{items:c(Re),clones:[].concat(Me),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),"ctrl"===t?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function Ve(t,e){Re.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function Xe(t,e){Me.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function We(){Re.forEach((function(t){t!==Ce&&t.parentNode&&t.parentNode.removeChild(t)}))}Kt.mount(new ve),Kt.mount(Se,$e);const qe=/^(14|9)3$/.test(n.j)?Kt:null},25001:(t,e)=>{"use strict";function n(t){return void 0!==t&&null!==t}function i(t){return void 0!==t}function r(t){return null!==t}function s(t){return function(e){return void 0!==e[t]&&null!==e[t]}}function o(t,e){return function(n){return n[t]===e}}e.$K=void 0,e.$K=i},70655:(t,e,n)=>{"use strict";n.d(e,{gn:()=>i});function i(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o}},31697:(t,e,n)=>{(function(e,n){t.exports=n()})(n.g,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e,n){"use strict";t.exports=function(){var t=/%%|%(?:(\d+)\$)?((?:[-+#0 ]|'[\s\S])*)(\d+)?(?:\.(\d*))?([\s\S])/g,e=arguments,n=0,i=e[n++],r=function(t,e,n,i){n||(n=" ");var r=t.length>=e?"":new Array(1+e-t.length>>>0).join(n);return i?t+r:r+t},s=function(t,e,n,i,s){var o=i-t.length;return o>0&&(t=n||"0"!==s?r(t,i,s,n):[t.slice(0,e.length),r("",o,"0",!0),t.slice(e.length)].join("")),t},o=function(t,e,n,i,o,a){var l=t>>>0;return t=r(l.toString(e),o||0,"0",!1),s(t,"",n,i,a)},a=function(t,e,n,i,r){return null!==i&&void 0!==i&&(t=t.slice(0,i)),s(t,"",e,n,r)},l=function(t,i,l,c,u,h){var p,d,f,O,m;if("%%"===t)return"%";var g,v,y=" ",b=!1,_="";for(g=0,v=l.length;g<v;g++)switch(l.charAt(g)){case" ":case"0":y=l.charAt(g);break;case"+":_="+";break;case"-":b=!0;break;case"'":g+1<v&&(y=l.charAt(g+1),g++);break}if(c=c?+c:0,!isFinite(c))throw new Error("Width must be finite");if(u=u?+u:"d"===h?0:"fFeE".indexOf(h)>-1?6:void 0,i&&0===+i)throw new Error("Argument number must be greater than zero");if(i&&+i>=e.length)throw new Error("Too few arguments");switch(m=i?e[+i]:e[n++],h){case"%":return"%";case"s":return a(m+"",b,c,u,y);case"c":return a(String.fromCharCode(+m),b,c,u,y);case"b":return o(m,2,b,c,u,y);case"o":return o(m,8,b,c,u,y);case"x":return o(m,16,b,c,u,y);case"X":return o(m,16,b,c,u,y).toUpperCase();case"u":return o(m,10,b,c,u,y);case"i":case"d":return p=+m||0,p=Math.round(p-p%1),d=p<0?"-":_,m=d+r(String(Math.abs(p)),u,"0",!1),b&&"0"===y&&(y=" "),s(m,d,b,c,y);case"e":case"E":case"f":case"F":case"g":case"G":return p=+m,d=p<0?"-":_,f=["toExponential","toFixed","toPrecision"]["efg".indexOf(h.toLowerCase())],O=["toString","toUpperCase"]["eEfFgG".indexOf(h)%2],m=d+Math.abs(p)[f](u),s(m,d,b,c,y)[O]();default:return""}};try{return i.replace(t,l)}catch(c){return!1}}},function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e="undefined"===typeof t?"undefined":i(t);switch(e){case"number":return isNaN(t)||!isFinite(t)?0:t<0?Math.ceil(t):Math.floor(t);case"string":return parseInt(t,10)||0;case"boolean":default:return+!!t}}},function(t,e){t.exports=n(26470)},function(t,e,n){"use strict";
/**
* Twig.js
*
* @copyright 2011-2020 John Roepke and the Twig.js Contributors
* @license Available under the BSD 2-Clause License
* @link https://github.com/twigjs/twig.js
*/t.exports=n(4)()},function(t,e,n){"use strict";t.exports=function t(){const e={VERSION:"1.14.0"};return n(5)(e),n(6)(e),n(7)(e),n(9)(e),n(10)(e),n(11)(e),n(22)(e),n(23)(e),n(25)(e),n(26)(e),n(27)(e),n(28)(e),n(29)(e),n(30)(e),n(31)(e),e.exports.factory=t,e.exports}},function(t,e,n){"use strict";t.exports=function(t){function e(e,n){if(e.template.options.rethrow)throw"string"===typeof n&&(n=new t.Error(n)),"TwigException"!==n.type||n.file||(n.file=e.template.id),n;if(t.log.error("Error parsing twig template "+e.template.id+": "),n.stack?t.log.error(n.stack):t.log.error(n.toString()),t.debug)return n.toString()}function n(t,e){const n=Object.prototype.toString.call(e).slice(8,-1);return void 0!==e&&null!==e&&n===t}return t.trace=!1,t.debug=!1,t.cache=!0,t.noop=function(){},t.merge=function(t,e,n){return Object.keys(e).forEach((i=>{n&&!(i in t)||(t[i]=e[i])})),t},t.Error=function(t,e){this.message=t,this.name="TwigException",this.type="TwigException",this.file=e},t.Error.prototype.toString=function(){const t=this.name+": "+this.message;return t},t.log={trace(...e){t.trace&&console&&console.log(Array.prototype.slice.call(e))},debug(...e){t.debug&&console&&console.log(Array.prototype.slice.call(e))}},"undefined"===typeof console?t.log.error=function(){}:"undefined"!==typeof console.error?t.log.error=function(...t){console.error(...t)}:"undefined"!==typeof console.log&&(t.log.error=function(...t){console.log(...t)}),t.token={},t.token.type={output:"output",logic:"logic",comment:"comment",raw:"raw",outputWhitespacePre:"output_whitespace_pre",outputWhitespacePost:"output_whitespace_post",outputWhitespaceBoth:"output_whitespace_both",logicWhitespacePre:"logic_whitespace_pre",logicWhitespacePost:"logic_whitespace_post",logicWhitespaceBoth:"logic_whitespace_both"},t.token.definitions=[{type:t.token.type.raw,open:"{% raw %}",close:"{% endraw %}"},{type:t.token.type.raw,open:"{% verbatim %}",close:"{% endverbatim %}"},{type:t.token.type.outputWhitespacePre,open:"{{-",close:"}}"},{type:t.token.type.outputWhitespacePost,open:"{{",close:"-}}"},{type:t.token.type.outputWhitespaceBoth,open:"{{-",close:"-}}"},{type:t.token.type.logicWhitespacePre,open:"{%-",close:"%}"},{type:t.token.type.logicWhitespacePost,open:"{%",close:"-%}"},{type:t.token.type.logicWhitespaceBoth,open:"{%-",close:"-%}"},{type:t.token.type.output,open:"{{",close:"}}"},{type:t.token.type.logic,open:"{%",close:"%}"},{type:t.token.type.comment,open:"{#",close:"#}"}],t.token.strings=['"',"'"],t.token.findStart=function(e){const n={position:null,def:null};let i=null;const r=t.token.definitions.length;let s,o,a,l;for(s=0;s<r;s++)o=t.token.definitions[s],a=e.indexOf(o.open),l=e.indexOf(o.close),t.log.trace("Twig.token.findStart: ","Searching for ",o.open," found at ",a),a>=0&&o.open.length!==o.close.length&&l<0||(a>=0&&(null===n.position||a<n.position)?(n.position=a,n.def=o,i=l):a>=0&&null!==n.position&&a===n.position&&(o.open.length>n.def.open.length?(n.position=a,n.def=o,i=l):o.open.length===n.def.open.length&&(o.close.length,n.def.close.length,l>=0&&l<i&&(n.position=a,n.def=o,i=l))));return n},t.token.findEnd=function(e,n,i){let r,s,o=null,a=!1,l=0,c=null,u=null,h=null,p=null,d=null,f=null;while(!a){if(c=null,u=null,h=e.indexOf(n.close,l),!(h>=0))throw new t.Error("Unable to find closing bracket '"+n.close+"' opened near template position "+i);if(o=h,a=!0,n.type===t.token.type.comment)break;if(n.type===t.token.type.raw)break;for(s=t.token.strings.length,r=0;r<s;r+=1)d=e.indexOf(t.token.strings[r],l),d>0&&d<h&&(null===c||d<c)&&(c=d,u=t.token.strings[r]);if(null!==c)for(p=c+1,o=null,a=!1;;){if(f=e.indexOf(u,p),f<0)throw t.Error("Unclosed string in template");if("\\"!==e.slice(f-1,f)){l=f+1;break}p=f+1}}return o},t.tokenize=function(e){const n=[];let i=0,r=null,s=null;while(e.length>0)if(r=t.token.findStart(e),t.log.trace("Twig.tokenize: ","Found token: ",r),null===r.position)n.push({type:t.token.type.raw,value:e}),e="";else{if(r.position>0&&n.push({type:t.token.type.raw,value:e.slice(0,Math.max(0,r.position))}),e=e.slice(r.position+r.def.open.length),i+=r.position+r.def.open.length,s=t.token.findEnd(e,r.def,i),t.log.trace("Twig.tokenize: ","Token ends at ",s),n.push({type:r.def.type,value:e.slice(0,Math.max(0,s)).trim()}),"\n"===e.slice(s+r.def.close.length,s+r.def.close.length+1))switch(r.def.type){case"logic_whitespace_pre":case"logic_whitespace_post":case"logic_whitespace_both":case"logic":s+=1;break;default:break}e=e.slice(s+r.def.close.length),i+=s+r.def.close.length}return n},t.compile=function(e){const n=this;try{const i=[],r=[];let s=[],o=null,a=null,l=null,c=null,u=null,h=null,p=null,d=null,f=null,O=null,m=null,g=null;const v=function(e){t.expression.compile.call(n,e),r.length>0?s.push(e):i.push(e)},y=function(e){if(a=t.logic.compile.call(n,e),O=a.type,m=t.logic.handler[O].open,g=t.logic.handler[O].next,t.log.trace("Twig.compile: ","Compiled logic token to ",a," next is: ",g," open is : ",m),void 0!==m&&!m){if(c=r.pop(),p=t.logic.handler[c.type],!p.next.includes(O))throw new Error(O+" not expected after a "+c.type);c.output=c.output||[],c.output=c.output.concat(s),s=[],f={type:t.token.type.logic,token:c},r.length>0?s.push(f):i.push(f)}void 0!==g&&g.length>0?(t.log.trace("Twig.compile: ","Pushing ",a," to logic stack."),r.length>0&&(c=r.pop(),c.output=c.output||[],c.output=c.output.concat(s),r.push(c),s=[]),r.push(a)):void 0!==m&&m&&(f={type:t.token.type.logic,token:a},r.length>0?s.push(f):i.push(f))};while(e.length>0){switch(o=e.shift(),u=i[i.length-1],h=s[s.length-1],d=e[0],t.log.trace("Compiling token ",o),o.type){case t.token.type.raw:r.length>0?s.push(o):i.push(o);break;case t.token.type.logic:y.call(n,o);break;case t.token.type.comment:break;case t.token.type.output:v.call(n,o);break;case t.token.type.logicWhitespacePre:case t.token.type.logicWhitespacePost:case t.token.type.logicWhitespaceBoth:case t.token.type.outputWhitespacePre:case t.token.type.outputWhitespacePost:case t.token.type.outputWhitespaceBoth:switch(o.type!==t.token.type.outputWhitespacePost&&o.type!==t.token.type.logicWhitespacePost&&(u&&u.type===t.token.type.raw&&(i.pop(),u.value=u.value.trimEnd(),i.push(u)),h&&h.type===t.token.type.raw&&(s.pop(),h.value=h.value.trimEnd(),s.push(h))),o.type){case t.token.type.outputWhitespacePre:case t.token.type.outputWhitespacePost:case t.token.type.outputWhitespaceBoth:v.call(n,o);break;case t.token.type.logicWhitespacePre:case t.token.type.logicWhitespacePost:case t.token.type.logicWhitespaceBoth:y.call(n,o);break;default:break}o.type!==t.token.type.outputWhitespacePre&&o.type!==t.token.type.logicWhitespacePre&&d&&d.type===t.token.type.raw&&(e.shift(),d.value=d.value.trimStart(),e.unshift(d));break;default:break}t.log.trace("Twig.compile: "," Output: ",i," Logic Stack: ",r," Pending Output: ",s)}if(r.length>0)throw l=r.pop(),new Error("Unable to find an end tag for "+l.type+", expecting one of "+l.next);return i}catch(i){if(n.options.rethrow)throw"TwigException"!==i.type||i.file||(i.file=n.id),i;t.log.error("Error compiling twig template "+n.id+": "),i.stack?t.log.error(i.stack):t.log.error(i.toString())}},t.prepare=function(e){t.log.debug("Twig.prepare: ","Tokenizing ",e);const n=t.tokenize.call(this,e);t.log.debug("Twig.prepare: ","Compiling ",n);const i=t.compile.call(this,n);return t.log.debug("Twig.prepare: ","Compiled ",i),i},t.output=function(e){const{autoescape:n}=this.options;if(!n)return e.join("");const i="string"===typeof n?n:"html",r=e.map((e=>(!e||!0===e.twigMarkup||e.twigMarkup===i||"html"===i&&"html_attr"===e.twigMarkup||(e=t.filters.escape(e,[i])),e)));if(0===r.length)return"";const s=r.join("");return 0===s.length?"":new t.Markup(s,!0)},t.Templates={loaders:{},parsers:{},registry:{}},t.validateId=function(e){if("prototype"===e)throw new t.Error(e+" is not a valid twig identifier");if(t.cache&&Object.hasOwnProperty.call(t.Templates.registry,e))throw new t.Error("There is already a template with the ID "+e);return!0},t.Templates.registerLoader=function(e,n,i){if("function"!==typeof n)throw new t.Error("Unable to add loader for "+e+": Invalid function reference given.");i&&(n=n.bind(i)),this.loaders[e]=n},t.Templates.unRegisterLoader=function(t){this.isRegisteredLoader(t)&&delete this.loaders[t]},t.Templates.isRegisteredLoader=function(t){return Object.hasOwnProperty.call(this.loaders,t)},t.Templates.registerParser=function(e,n,i){if("function"!==typeof n)throw new t.Error("Unable to add parser for "+e+": Invalid function regerence given.");i&&(n=n.bind(i)),this.parsers[e]=n},t.Templates.unRegisterParser=function(t){this.isRegisteredParser(t)&&delete this.parsers[t]},t.Templates.isRegisteredParser=function(t){return Object.hasOwnProperty.call(this.parsers,t)},t.Templates.save=function(e){if(void 0===e.id)throw new t.Error("Unable to save template with no id");t.Templates.registry[e.id]=e},t.Templates.load=function(e){return Object.hasOwnProperty.call(t.Templates.registry,e)?t.Templates.registry[e]:null},t.Templates.loadRemote=function(e,n,i,r){const s="undefined"===typeof n.id?e:n.id,o=t.Templates.registry[s];if(t.cache&&"undefined"!==typeof o)return"function"===typeof i&&i(o),o;n.parser=n.parser||"twig",n.id=s,"undefined"===typeof n.async&&(n.async=!0);const a=this.loaders[n.method]||this.loaders.fs;return a.call(this,e,n,i,r)},t.Block=function(t,e){this.template=t,this.token=e},t.Block.prototype.render=function(e,n){const i=e.template;let r;return e.template=this.template,r=this.token.expression?t.expression.parseAsync.call(e,this.token.output,n):e.parseAsync(this.token.output,n),r.then((i=>t.expression.parseAsync.call(e,{type:t.expression.type.string,value:i},n))).then((t=>(e.template=i,t)))},t.ParseState=function(t,e){this.renderedBlocks={},this.overrideBlocks=void 0===e?{}:e,this.context={},this.macros={},this.nestingStack=[],this.template=t},t.ParseState.prototype.getBlock=function(t,e){let n;return!0!==e&&(n=this.overrideBlocks[t]),void 0===n&&(n=this.template.getBlock(t,e)),void 0===n&&null!==this.template.parentTemplate&&(n=this.template.parentTemplate.getBlock(t)),n},t.ParseState.prototype.getBlocks=function(t){let e={};return!1!==t&&null!==this.template.parentTemplate&&this.template.parentTemplate!==this.template&&(e=this.template.parentTemplate.getBlocks()),e={...e,...this.template.getBlocks(),...this.overrideBlocks},e},t.ParseState.prototype.getNestingStackToken=function(t){let e;return this.nestingStack.forEach((n=>{void 0===e&&n.type===t&&(e=n)})),e},t.ParseState.prototype.parse=function(n,i,r){const s=this;let o=[],a=null,l=!0,c=null,u=!0;function h(t){o.push(t)}function p(t){"undefined"!==typeof t.chain&&(u=t.chain),"undefined"!==typeof t.context&&(s.context=t.context),"undefined"!==typeof t.output&&o.push(t.output)}if(i&&(s.context=i),c=t.async.forEach(n,(e=>{switch(t.log.debug("Twig.ParseState.parse: ","Parsing token: ",e),e.type){case t.token.type.raw:o.push(t.filters.raw(e.value));break;case t.token.type.logic:return t.logic.parseAsync.call(s,e.token,s.context,u).then(p);case t.token.type.comment:break;case t.token.type.outputWhitespacePre:case t.token.type.outputWhitespacePost:case t.token.type.outputWhitespaceBoth:case t.token.type.output:return t.log.debug("Twig.ParseState.parse: ","Output token: ",e.stack),t.expression.parseAsync.call(s,e.stack,s.context).then(h);default:break}})).then((()=>(o=t.output.call(s.template,o),l=!1,o))).catch((t=>{r&&e(s,t),a=t})),r)return c;if(null!==a)return e(s,a);if(l)throw new t.Error("You are using Twig.js in sync mode in combination with async extensions.");return o},t.Template=function(e){const{data:i,id:r,base:s,path:o,url:a,name:l,method:c,options:u}=e;this.base=s,this.blocks={defined:{},imported:{}},this.id=r,this.method=c,this.name=l,this.options=u,this.parentTemplate=null,this.path=o,this.url=a,n("String",i)?this.tokens=t.prepare.call(this,i):this.tokens=i,void 0!==r&&t.Templates.save(this)},t.Template.prototype.getBlock=function(t,e,n=!0){let i;return!0!==e&&(i=this.blocks.defined[t]),n&&void 0===i&&(i=this.blocks.imported[t]),void 0===i&&null!==this.parentTemplate&&(i=this.parentTemplate.getBlock(t,e,n=!1)),i},t.Template.prototype.getBlocks=function(){let t={};return t={...t,...this.blocks.imported,...this.blocks.defined},t},t.Template.prototype.render=function(e,n,i){const r=this;return n=n||{},t.async.potentiallyAsync(r,i,(()=>{const i=new t.ParseState(r,n.blocks);return i.parseAsync(r.tokens,e).then((e=>{let s,o;return null!==r.parentTemplate?(r.options.allowInlineIncludes&&(s=t.Templates.load(r.parentTemplate),s&&(s.options=r.options)),s||(o=t.path.parsePath(r,r.parentTemplate),s=t.Templates.loadRemote(o,{method:r.getLoaderMethod(),base:r.base,async:!1,id:o,options:r.options})),r.parentTemplate=s,r.parentTemplate.renderAsync(i.context,{blocks:i.getBlocks(!1),isInclude:!0})):!0===n.isInclude?e:e.valueOf()}))}))},t.Template.prototype.importFile=function(e){let n,i=null;if(!this.url&&this.options.allowInlineIncludes){if(e=this.path?t.path.parsePath(this,e):e,n=t.Templates.load(e),!n&&(n=t.Templates.loadRemote(i,{id:e,method:this.getLoaderMethod(),async:!1,path:e,options:this.options}),!n))throw new t.Error("Unable to find the template "+e);return n.options=this.options,n}return i=t.path.parsePath(this,e),n=t.Templates.loadRemote(i,{method:this.getLoaderMethod(),base:this.base,async:!1,options:this.options,id:i}),n},t.Template.prototype.getLoaderMethod=function(){return this.path?"fs":this.url?"ajax":this.method||"fs"},t.Template.prototype.compile=function(e){return t.compiler.compile(this,e)},t.Markup=function(t,e){if("string"!==typeof t)return t;const n=new String(t);return n.twigMarkup="undefined"===typeof e||e,n},t}},function(t,e,n){"use strict";t.exports=function(t){return t.compiler={module:{}},t.compiler.compile=function(e,n){const i=JSON.stringify(e.tokens),{id:r}=e;let s=null;if(n.module){if(void 0===t.compiler.module[n.module])throw new t.Error("Unable to find module type "+n.module);s=t.compiler.module[n.module](r,i,n.twig)}else s=t.compiler.wrap(r,i);return s},t.compiler.module={amd(e,n,i){return'define(["'+i+'"], function (Twig) {\n\tvar twig, templates;\ntwig = Twig.twig;\ntemplates = '+t.compiler.wrap(e,n)+"\n\treturn templates;\n});"},node(e,n){return'var twig = require("twig").twig;\nexports.template = '+t.compiler.wrap(e,n)},cjs2(e,n,i){return'module.declare([{ twig: "'+i+'" }], function (require, exports, module) {\n\tvar twig = require("twig").twig;\n\texports.template = '+t.compiler.wrap(e,n)+"\n});"}},t.compiler.wrap=function(t,e){return'twig({id:"'+t.replace('"','\\"')+'", data:'+e+", precompiled: true});\n"},t}},function(t,e,n){"use strict";t.exports=function(t){function e(e,n,i){return n?t.expression.parseAsync.call(e,n,i):t.Promise.resolve(!1)}t.expression={},n(8)(t),t.expression.reservedWords=["true","false","null","TRUE","FALSE","NULL","_context","and","b-and","or","b-or","b-xor","in","not in","if","matches","starts","ends","with"],t.expression.type={comma:"Twig.expression.type.comma",operator:{unary:"Twig.expression.type.operator.unary",binary:"Twig.expression.type.operator.binary"},string:"Twig.expression.type.string",bool:"Twig.expression.type.bool",slice:"Twig.expression.type.slice",array:{start:"Twig.expression.type.array.start",end:"Twig.expression.type.array.end"},object:{start:"Twig.expression.type.object.start",end:"Twig.expression.type.object.end"},parameter:{start:"Twig.expression.type.parameter.start",end:"Twig.expression.type.parameter.end"},subexpression:{start:"Twig.expression.type.subexpression.start",end:"Twig.expression.type.subexpression.end"},key:{period:"Twig.expression.type.key.period",brackets:"Twig.expression.type.key.brackets"},filter:"Twig.expression.type.filter",_function:"Twig.expression.type._function",variable:"Twig.expression.type.variable",number:"Twig.expression.type.number",_null:"Twig.expression.type.null",context:"Twig.expression.type.context",test:"Twig.expression.type.test"},t.expression.set={operations:[t.expression.type.filter,t.expression.type.operator.unary,t.expression.type.operator.binary,t.expression.type.array.end,t.expression.type.object.end,t.expression.type.parameter.end,t.expression.type.subexpression.end,t.expression.type.comma,t.expression.type.test],expressions:[t.expression.type._function,t.expression.type.bool,t.expression.type.string,t.expression.type.variable,t.expression.type.number,t.expression.type._null,t.expression.type.context,t.expression.type.parameter.start,t.expression.type.array.start,t.expression.type.object.start,t.expression.type.subexpression.start,t.expression.type.operator.unary]},t.expression.set.operationsExtended=t.expression.set.operations.concat([t.expression.type.key.period,t.expression.type.key.brackets,t.expression.type.slice]),t.expression.fn={compile:{push(t,e,n){n.push(t)},pushBoth(t,e,n){n.push(t),e.push(t)}},parse:{push(t,e){e.push(t)},pushValue(t,e){e.push(t.value)}}},t.expression.definitions=[{type:t.expression.type.test,regex:/^is\s+(not)?\s*([a-zA-Z_]\w*(\s?as)?)/,next:t.expression.set.operations.concat([t.expression.type.parameter.start]),compile(t,e,n){t.filter=t.match[2],t.modifier=t.match[1],delete t.match,delete t.value,n.push(t)},parse(n,i,r){const s=i.pop(),o=this;return e(o,n.params,r).then((e=>{const r=t.test(n.filter,s,e);"not"===n.modifier?i.push(!r):i.push(r)}))}},{type:t.expression.type.comma,regex:/^,/,next:t.expression.set.expressions.concat([t.expression.type.array.end,t.expression.type.object.end]),compile(e,n,i){let r,s=n.length-1;for(delete e.match,delete e.value;s>=0;s--){if(r=n.pop(),r.type===t.expression.type.object.start||r.type===t.expression.type.parameter.start||r.type===t.expression.type.array.start){n.push(r);break}i.push(r)}i.push(e)}},{type:t.expression.type.number,regex:/^-?\d+(\.\d+)?/,next:t.expression.set.operations,compile(t,e,n){t.value=Number(t.value),n.push(t)},parse:t.expression.fn.parse.pushValue},{type:t.expression.type.operator.binary,regex:/(^\?\?|^\?:|^(b-and)|^(b-or)|^(b-xor)|^[+\-~%?]|^[:](?!\d\])|^[!=]==?|^[!<>]=?|^\*\*?|^\/\/?|^(and)[(|\s+]|^(or)[(|\s+]|^(in)[(|\s+]|^(not in)[(|\s+]|^(matches)|^(starts with)|^(ends with)|^\.\.)/,next:t.expression.set.expressions,transform(t,e){switch(t[0]){case"and(":case"or(":case"in(":case"not in(":return e[e.length-1].value=t[2],t[0];default:return""}},compile(e,n,i){delete e.match,e.value=e.value.trim();const{value:r}=e,s=t.expression.operator.lookup(r,e);t.log.trace("Twig.expression.compile: ","Operator: ",s," from ",r);while(n.length>0&&(n[n.length-1].type===t.expression.type.operator.unary||n[n.length-1].type===t.expression.type.operator.binary)&&(s.associativity===t.expression.operator.leftToRight&&s.precidence>=n[n.length-1].precidence||s.associativity===t.expression.operator.rightToLeft&&s.precidence>n[n.length-1].precidence)){const t=n.pop();i.push(t)}if(":"===r)if(n[n.length-1]&&"?"===n[n.length-1].value);else{const n=i.pop();if(n.type===t.expression.type.string||n.type===t.expression.type.variable)e.key=n.value;else if(n.type===t.expression.type.number)e.key=n.value.toString();else{if(!n.expression||n.type!==t.expression.type.parameter.end&&n.type!==t.expression.type.subexpression.end)throw new t.Error("Unexpected value before ':' of "+n.type+" = "+n.value);e.params=n.params}i.push(e)}else n.push(s)},parse(e,n,i){const r=this;if(e.key)n.push(e);else{if(e.params)return t.expression.parseAsync.call(r,e.params,i).then((t=>{e.key=t,n.push(e),i.loop||delete e.params}));t.expression.operator.parse(e.value,n)}}},{type:t.expression.type.operator.unary,regex:/(^not\s+)/,next:t.expression.set.expressions,compile(e,n,i){delete e.match,e.value=e.value.trim();const{value:r}=e,s=t.expression.operator.lookup(r,e);t.log.trace("Twig.expression.compile: ","Operator: ",s," from ",r);while(n.length>0&&(n[n.length-1].type===t.expression.type.operator.unary||n[n.length-1].type===t.expression.type.operator.binary)&&(s.associativity===t.expression.operator.leftToRight&&s.precidence>=n[n.length-1].precidence||s.associativity===t.expression.operator.rightToLeft&&s.precidence>n[n.length-1].precidence)){const t=n.pop();i.push(t)}n.push(s)},parse(e,n){t.expression.operator.parse(e.value,n)}},{type:t.expression.type.string,regex:/^(["'])(?:(?=(\\?))\2[\s\S])*?\1/,next:t.expression.set.operationsExtended,compile(e,n,i){let{value:r}=e;delete e.match,r='"'===r.slice(0,1)?r.replace('\\"','"'):r.replace("\\'","'"),e.value=r.slice(1,-1).replace(/\\n/g,"\n").replace(/\\r/g,"\r"),t.log.trace("Twig.expression.compile: ","String value: ",e.value),i.push(e)},parse:t.expression.fn.parse.pushValue},{type:t.expression.type.subexpression.start,regex:/^\(/,next:t.expression.set.expressions.concat([t.expression.type.subexpression.end]),compile(t,e,n){t.value="(",n.push(t),e.push(t)},parse:t.expression.fn.parse.push},{type:t.expression.type.subexpression.end,regex:/^\)/,next:t.expression.set.operationsExtended,validate(e,n){let i=n.length-1,r=!1,s=!1,o=0;while(!r&&i>=0){const e=n[i];r=e.type===t.expression.type.subexpression.start,r&&s&&(s=!1,r=!1),e.type===t.expression.type.parameter.start?o++:e.type===t.expression.type.parameter.end?o--:e.type===t.expression.type.subexpression.end&&(s=!0),i--}return r&&0===o},compile(e,n,i){let r;const s=e;r=n.pop();while(n.length>0&&r.type!==t.expression.type.subexpression.start)i.push(r),r=n.pop();const o=[];while(e.type!==t.expression.type.subexpression.start)o.unshift(e),e=i.pop();o.unshift(e),r=n[n.length-1],void 0===r||r.type!==t.expression.type._function&&r.type!==t.expression.type.filter&&r.type!==t.expression.type.test&&r.type!==t.expression.type.key.brackets?(s.expression=!0,o.pop(),o.shift(),s.params=o,i.push(s)):(s.expression=!1,r.params=o)},parse(e,n,i){const r=this;if(e.expression)return t.expression.parseAsync.call(r,e.params,i).then((t=>{n.push(t)}));throw new t.Error("Unexpected subexpression end when token is not marked as an expression")}},{type:t.expression.type.parameter.start,regex:/^\(/,next:t.expression.set.expressions.concat([t.expression.type.parameter.end]),validate(e,n){const i=n[n.length-1];return i&&!t.expression.reservedWords.includes(i.value.trim())},compile:t.expression.fn.compile.pushBoth,parse:t.expression.fn.parse.push},{type:t.expression.type.parameter.end,regex:/^\)/,next:t.expression.set.operationsExtended,compile(e,n,i){let r;const s=e;r=n.pop();while(n.length>0&&r.type!==t.expression.type.parameter.start)i.push(r),r=n.pop();const o=[];while(e.type!==t.expression.type.parameter.start)o.unshift(e),e=i.pop();o.unshift(e),e=i[i.length-1],void 0===e||e.type!==t.expression.type._function&&e.type!==t.expression.type.filter&&e.type!==t.expression.type.test&&e.type!==t.expression.type.key.brackets?(s.expression=!0,o.pop(),o.shift(),s.params=o,i.push(s)):(s.expression=!1,e.params=o)},parse(e,n,i){const r=[];let s=!1,o=null;const a=this;if(e.expression)return t.expression.parseAsync.call(a,e.params,i).then((t=>{n.push(t)}));while(n.length>0){if(o=n.pop(),o&&o.type&&o.type===t.expression.type.parameter.start){s=!0;break}r.unshift(o)}if(!s)throw new t.Error("Expected end of parameter set.");n.push(r)}},{type:t.expression.type.slice,regex:/^\[(\d*:\d*)\]/,next:t.expression.set.operationsExtended,compile(t,e,n){const i=t.match[1].split(":"),r=i[0]?parseInt(i[0],10):void 0,s=i[1]?parseInt(i[1],10):void 0;t.value="slice",t.params=[r,s],s||(t.params=[r]),n.push(t)},parse(e,n){const i=n.pop(),{params:r}=e,s=this;n.push(t.filter.call(s,e.value,i,r))}},{type:t.expression.type.array.start,regex:/^\[/,next:t.expression.set.expressions.concat([t.expression.type.array.end]),compile:t.expression.fn.compile.pushBoth,parse:t.expression.fn.parse.push},{type:t.expression.type.array.end,regex:/^\]/,next:t.expression.set.operationsExtended,compile(e,n,i){let r,s=n.length-1;for(;s>=0;s--){if(r=n.pop(),r.type===t.expression.type.array.start)break;i.push(r)}i.push(e)},parse(e,n){const i=[];let r=!1,s=null;while(n.length>0){if(s=n.pop(),s&&s.type&&s.type===t.expression.type.array.start){r=!0;break}i.unshift(s)}if(!r)throw new t.Error("Expected end of array.");n.push(i)}},{type:t.expression.type.object.start,regex:/^\{/,next:t.expression.set.expressions.concat([t.expression.type.object.end]),compile:t.expression.fn.compile.pushBoth,parse:t.expression.fn.parse.push},{type:t.expression.type.object.end,regex:/^\}/,next:t.expression.set.operationsExtended,compile(e,n,i){let r,s=n.length-1;for(;s>=0;s--){if(r=n.pop(),r&&r.type===t.expression.type.object.start)break;i.push(r)}i.push(e)},parse(e,n){const i={};let r=!1,s=null,o=!1,a=null;while(n.length>0){if(s=n.pop(),s&&s.type&&s.type===t.expression.type.object.start){r=!0;break}if(s&&s.type&&(s.type===t.expression.type.operator.binary||s.type===t.expression.type.operator.unary)&&s.key){if(!o)throw new t.Error("Missing value for key '"+s.key+"' in object definition.");i[s.key]=a,void 0===i._keys&&(i._keys=[]),i._keys.unshift(s.key),a=null,o=!1}else o=!0,a=s}if(!r)throw new t.Error("Unexpected end of object.");n.push(i)}},{type:t.expression.type.filter,regex:/^\|\s?([a-zA-Z_][a-zA-Z0-9_-]*)/,next:t.expression.set.operationsExtended.concat([t.expression.type.parameter.start]),compile(t,e,n){t.value=t.match[1],n.push(t)},parse(n,i,r){const s=i.pop(),o=this;return e(o,n.params,r).then((e=>t.filter.call(o,n.value,s,e))).then((t=>{i.push(t)}))}},{type:t.expression.type._function,regex:/^([a-zA-Z_]\w*)\s*\(/,next:t.expression.type.parameter.start,validate(e){return e[1]&&!t.expression.reservedWords.includes(e[1])},transform(){return"("},compile(t,e,n){const i=t.match[1];t.fn=i,delete t.match,delete t.value,n.push(t)},parse(n,i,r){const s=this,{fn:o}=n;let a;return e(s,n.params,r).then((e=>{if(t.functions[o])a=t.functions[o].apply(s,e);else{if("function"!==typeof r[o])throw new t.Error(o+" function does not exist and is not defined in the context");a=r[o](...e)}return a})).then((t=>{i.push(t)}))}},{type:t.expression.type.variable,regex:/^[a-zA-Z_]\w*/,next:t.expression.set.operationsExtended.concat([t.expression.type.parameter.start]),compile:t.expression.fn.compile.push,validate(e){return!t.expression.reservedWords.includes(e[0])},parse(e,n,i){const r=this;return t.expression.resolveAsync.call(r,i[e.value],i).then((i=>{if(r.template.options.strictVariables&&void 0===i)throw new t.Error('Variable "'+e.value+'" does not exist.');n.push(i)}))}},{type:t.expression.type.key.period,regex:/^\.(\w+)/,next:t.expression.set.operationsExtended.concat([t.expression.type.parameter.start]),compile(t,e,n){t.key=t.match[1],delete t.match,delete t.value,n.push(t)},parse(n,i,r,s){const o=this,{key:a}=n,l=i.pop();let c;if(l&&!Object.prototype.hasOwnProperty.call(l,a)&&o.template.options.strictVariables){const e=Object.keys(l);throw e.length>0?new t.Error('Key "'+a+'" for object with keys "'+Object.keys(l).join(", ")+'" does not exist.'):new t.Error('Key "'+a+'" does not exist as the object is empty.')}return e(o,n.params,r).then((e=>{if(null===l||void 0===l)c=void 0;else{const t=function(t){return t.slice(0,1).toUpperCase()+t.slice(1)};c="object"===typeof l&&a in l?l[a]:l["get"+t(a)]?l["get"+t(a)]:l["is"+t(a)]?l["is"+t(a)]:void 0}return t.expression.resolveAsync.call(o,c,r,e,s,l)})).then((t=>{i.push(t)}))}},{type:t.expression.type.key.brackets,regex:/^\[([^\]:]*)\]/,next:t.expression.set.operationsExtended.concat([t.expression.type.parameter.start]),compile(e,n,i){const r=e.match[1];delete e.value,delete e.match,e.stack=t.expression.compile({value:r}).stack,i.push(e)},parse(n,i,r,s){const o=this;let a,l,c=null;return e(o,n.params,r).then((e=>(c=e,t.expression.parseAsync.call(o,n.stack,r)))).then((e=>{if(a=i.pop(),a&&!Object.prototype.hasOwnProperty.call(a,e)&&o.template.options.strictVariables){const n=Object.keys(a);throw n.length>0?new t.Error('Key "'+e+'" for array with keys "'+n.join(", ")+'" does not exist.'):new t.Error('Key "'+e+'" does not exist as the array is empty.')}return null===a||void 0===a?null:(l="object"===typeof a&&e in a?a[e]:null,t.expression.resolveAsync.call(o,l,a,c,s))})).then((t=>{i.push(t)}))}},{type:t.expression.type._null,regex:/^(null|NULL|none|NONE)/,next:t.expression.set.operations,compile(t,e,n){delete t.match,t.value=null,n.push(t)},parse:t.expression.fn.parse.pushValue},{type:t.expression.type.context,regex:/^_context/,next:t.expression.set.operationsExtended.concat([t.expression.type.parameter.start]),compile:t.expression.fn.compile.push,parse(t,e,n){e.push(n)}},{type:t.expression.type.bool,regex:/^(true|TRUE|false|FALSE)/,next:t.expression.set.operations,compile(t,e,n){t.value="true"===t.match[0].toLowerCase(),delete t.match,n.push(t)},parse:t.expression.fn.parse.pushValue}],t.expression.resolveAsync=function(e,n,i,r,s){const o=this;if("function"!==typeof e)return t.Promise.resolve(e);let a=t.Promise.resolve(i);if(r&&r.type===t.expression.type.parameter.end){const e=!0;a=a.then((()=>r.params&&t.expression.parseAsync.call(o,r.params,n,e))).then((t=>(r.cleanup=!0,t)))}return a.then((t=>e.apply(s||n,t||[])))},t.expression.resolve=function(e,n,i,r,s){return t.async.potentiallyAsync(this,!1,(function(){return t.expression.resolveAsync.call(this,e,n,i,r,s)}))},t.expression.handler={},t.expression.extendType=function(e){t.expression.type[e]="Twig.expression.type."+e},t.expression.extend=function(e){if(!e.type)throw new t.Error("Unable to extend logic definition. No type provided for "+e);t.expression.handler[e.type]=e};while(t.expression.definitions.length>0)t.expression.extend(t.expression.definitions.shift());return t.expression.tokenize=function(e){const n=[];let i,r,s,o,a,l=0,c=null,u=[];const h=function(...e){let r=arguments.length-2;const s=new Array(r);while(r-- >0)s[r]=e[r];if(t.log.trace("Twig.expression.tokenize","Matched a ",i," regular expression of ",s),c&&!c.includes(i))return u.push(i+" cannot follow a "+n[n.length-1].type+" at template:"+l+" near '"+s[0].slice(0,20)+"...'"),s[0];const h=t.expression.handler[i];return h.validate&&!h.validate(s,n)?s[0]:(u=[],n.push({type:i,value:s[0],match:s}),a=!0,c=o,l+=s[0].length,h.transform?h.transform(s,n):"")};t.log.debug("Twig.expression.tokenize","Tokenizing expression ",e);while(e.length>0){for(i in e=e.trim(),t.expression.handler)if(Object.hasOwnProperty.call(t.expression.handler,i)){if(o=t.expression.handler[i].next,r=t.expression.handler[i].regex,t.log.trace("Checking type ",i," on ",e),a=!1,Array.isArray(r)){s=r.length;while(s-- >0)e=e.replace(r[s],h)}else e=e.replace(r,h);if(a)break}if(!a)throw u.length>0?new t.Error(u.join(" OR ")):new t.Error("Unable to parse '"+e+"' at template position"+l)}return t.log.trace("Twig.expression.tokenize","Tokenized to ",n),n},t.expression.compile=function(e){const n=e.value,i=t.expression.tokenize(n);let r=null;const s=[],o=[];let a=null;t.log.trace("Twig.expression.compile: ","Compiling ",n);while(i.length>0)r=i.shift(),a=t.expression.handler[r.type],t.log.trace("Twig.expression.compile: ","Compiling ",r),a.compile(r,o,s),t.log.trace("Twig.expression.compile: ","Stack is",o),t.log.trace("Twig.expression.compile: ","Output is",s);while(o.length>0)s.push(o.pop());return t.log.trace("Twig.expression.compile: ","Final output is",s),e.stack=s,delete e.value,e},t.expression.parse=function(e,n,i,r){const s=this;Array.isArray(e)||(e=[e]);const o=[],a=[],l=t.expression.type.operator.binary;return t.async.potentiallyAsync(s,r,(()=>t.async.forEach(e,((i,r)=>{let c,u=null,h=null;if(!i.cleanup)return e.length>r+1&&(h=e[r+1]),u=t.expression.handler[i.type],u.parse&&(c=u.parse.call(s,i,o,n,h)),i.type===l&&n.loop&&a.push(i),c})).then((()=>{let t=a.length,e=null;while(t-- >0)e=a[t],e.params&&e.key&&delete e.key;if(i){const t=o.splice(0);o.push(t)}return o.pop()}))))},t}},function(t,e,n){"use strict";t.exports=function(t){t.expression.operator={leftToRight:"leftToRight",rightToLeft:"rightToLeft"};const e=function(t,e){if(void 0===e||null===e)return null;if(void 0!==e.indexOf)return(t===e||""!==t)&&e.includes(t);let n;for(n in e)if(Object.hasOwnProperty.call(e,n)&&e[n]===t)return!0;return!1};return t.expression.operator.lookup=function(e,n){switch(e){case"..":n.precidence=20,n.associativity=t.expression.operator.leftToRight;break;case",":n.precidence=18,n.associativity=t.expression.operator.leftToRight;break;case"?:":case"?":case":":n.precidence=16,n.associativity=t.expression.operator.rightToLeft;break;case"??":n.precidence=15,n.associativity=t.expression.operator.rightToLeft;break;case"or":n.precidence=14,n.associativity=t.expression.operator.leftToRight;break;case"and":n.precidence=13,n.associativity=t.expression.operator.leftToRight;break;case"b-or":n.precidence=12,n.associativity=t.expression.operator.leftToRight;break;case"b-xor":n.precidence=11,n.associativity=t.expression.operator.leftToRight;break;case"b-and":n.precidence=10,n.associativity=t.expression.operator.leftToRight;break;case"==":case"!=":n.precidence=9,n.associativity=t.expression.operator.leftToRight;break;case"<":case"<=":case">":case">=":case"not in":case"in":n.precidence=8,n.associativity=t.expression.operator.leftToRight;break;case"~":case"+":case"-":n.precidence=6,n.associativity=t.expression.operator.leftToRight;break;case"//":case"**":case"*":case"/":case"%":n.precidence=5,n.associativity=t.expression.operator.leftToRight;break;case"not":n.precidence=3,n.associativity=t.expression.operator.rightToLeft;break;case"matches":n.precidence=8,n.associativity=t.expression.operator.leftToRight;break;case"starts with":n.precidence=8,n.associativity=t.expression.operator.leftToRight;break;case"ends with":n.precidence=8,n.associativity=t.expression.operator.leftToRight;break;default:throw new t.Error("Failed to lookup operator: "+e+" is an unknown operator.")}return n.operator=e,n},t.expression.operator.parse=function(n,i){let r,s,o;if(t.log.trace("Twig.expression.operator.parse: ","Handling ",n),"?"===n&&(o=i.pop()),s=i.pop(),"not"!==n&&(r=i.pop()),"in"!==n&&"not in"!==n&&"??"!==n&&(r&&Array.isArray(r)&&(r=r.length),"?"!==n&&s&&Array.isArray(s)&&(s=s.length)),"matches"===n&&s&&"string"===typeof s){const t=s.match(/^\/(.*)\/([gims]?)$/),e=t[1],n=t[2];s=new RegExp(e,n)}switch(n){case":":break;case"??":void 0===r&&(r=s,s=o,o=void 0),void 0!==r&&null!==r?i.push(r):i.push(s);break;case"?:":t.lib.boolval(r)?i.push(r):i.push(s);break;case"?":void 0===r&&(r=s,s=o,o=void 0),t.lib.boolval(r)?i.push(s):i.push(o);break;case"+":s=parseFloat(s),r=parseFloat(r),i.push(r+s);break;case"-":s=parseFloat(s),r=parseFloat(r),i.push(r-s);break;case"*":s=parseFloat(s),r=parseFloat(r),i.push(r*s);break;case"/":s=parseFloat(s),r=parseFloat(r),i.push(r/s);break;case"//":s=parseFloat(s),r=parseFloat(r),i.push(Math.floor(r/s));break;case"%":s=parseFloat(s),r=parseFloat(r),i.push(r%s);break;case"~":i.push(("undefined"!==typeof r&&null!==r?r.toString():"")+("undefined"!==typeof s&&null!==s?s.toString():""));break;case"not":case"!":i.push(!t.lib.boolval(s));break;case"<":i.push(r<s);break;case"<=":i.push(r<=s);break;case">":i.push(r>s);break;case">=":i.push(r>=s);break;case"===":i.push(r===s);break;case"==":i.push(r==s);break;case"!==":i.push(r!==s);break;case"!=":i.push(r!=s);break;case"or":i.push(t.lib.boolval(r)||t.lib.boolval(s));break;case"b-or":i.push(r|s);break;case"b-xor":i.push(r^s);break;case"and":i.push(t.lib.boolval(r)&&t.lib.boolval(s));break;case"b-and":i.push(r&s);break;case"**":i.push(r**s);break;case"not in":i.push(!e(r,s));break;case"in":i.push(e(r,s));break;case"matches":i.push(s.test(r));break;case"starts with":i.push("string"===typeof r&&0===r.indexOf(s));break;case"ends with":i.push("string"===typeof r&&r.includes(s,r.length-s.length));break;case"..":i.push(t.functions.range(r,s));break;default:throw new t.Error("Failed to parse operator: "+n+" is an unknown operator.")}},t}},function(t,e,n){"use strict";t.exports=function(t){function e(t,e){const n=Object.prototype.toString.call(e).slice(8,-1);return void 0!==e&&null!==e&&n===t}return t.filters={upper(t){return"string"!==typeof t?t:t.toUpperCase()},lower(t){return"string"!==typeof t?t:t.toLowerCase()},capitalize(t){return"string"!==typeof t?t:t.slice(0,1).toUpperCase()+t.toLowerCase().slice(1)},title(t){return"string"!==typeof t?t:t.toLowerCase().replace(/(^|\s)([a-z])/g,((t,e,n)=>e+n.toUpperCase()))},length(e){return t.lib.is("Array",e)||"string"===typeof e?e.length:t.lib.is("Object",e)?void 0===e._keys?Object.keys(e).length:e._keys.length:0},reverse(t){if(e("Array",t))return t.reverse();if(e("String",t))return t.split("").reverse().join("");if(e("Object",t)){const e=t._keys||Object.keys(t).reverse();return t._keys=e,t}},sort(t){if(e("Array",t))return t.sort();if(e("Object",t)){delete t._keys;const e=Object.keys(t),n=e.sort(((e,n)=>{let i,r;return t[e]>t[n]===!(t[e]<=t[n])?t[e]>t[n]?1:t[e]<t[n]?-1:0:isNaN(i=parseFloat(t[e]))||isNaN(r=parseFloat(t[n]))?"string"===typeof t[e]?t[e]>t[n].toString()?1:t[e]<t[n].toString()?-1:0:"string"===typeof t[n]?t[e].toString()>t[n]?1:t[e].toString()<t[n]?-1:0:null:i>r?1:i<r?-1:0}));return t._keys=n,t}},keys(t){if(void 0===t||null===t)return;const e=t._keys||Object.keys(t),n=[];return e.forEach((e=>{"_keys"!==e&&Object.hasOwnProperty.call(t,e)&&n.push(e)})),n},url_encode(e){if(void 0===e||null===e)return;if(t.lib.is("Object",e)){const n=function(e,i){const r=[],s=e._keys||Object.keys(e);return s.forEach((s=>{if(!Object.prototype.hasOwnProperty.call(e,s))return;const o=i?i+"["+s+"]":s,a=e[s];r.push(t.lib.is("Object",a)||Array.isArray(a)?n(a,o):encodeURIComponent(o)+"="+encodeURIComponent(a))})),r.join("&")};return n(e)}let n=encodeURIComponent(e);return n=n.replace("'","%27"),n},join(t,n){if(void 0===t||null===t)return;let i="",r=[],s=null;return n&&n[0]&&(i=n[0]),e("Array",t)?r=t:(s=t._keys||Object.keys(t),s.forEach((e=>{"_keys"!==e&&Object.hasOwnProperty.call(t,e)&&r.push(t[e])}))),r.join(i)},default(e,n){if(void 0!==n&&n.length>1)throw new t.Error("default filter expects one argument");return void 0===e||null===e||""===e?void 0===n?"":n[0]:e},json_encode(n){if(void 0===n||null===n)return"null";if("object"===typeof n&&e("Array",n)){const e=[];return n.forEach((n=>{e.push(t.filters.json_encode(n))})),"["+e.join(",")+"]"}if("object"===typeof n&&e("Date",n))return'"'+n.toISOString()+'"';if("object"===typeof n){const e=n._keys||Object.keys(n),i=[];return e.forEach((e=>{i.push(JSON.stringify(e)+":"+t.filters.json_encode(n[e]))})),"{"+i.join(",")+"}"}return JSON.stringify(n)},merge(n,i){let r=[],s=0,o=[];if(e("Array",n)?i.forEach((t=>{e("Array",t)||(r={})})):r={},e("Array",r)||(r._keys=[]),e("Array",n)?n.forEach((t=>{r._keys&&r._keys.push(s),r[s]=t,s++})):(o=n._keys||Object.keys(n),o.forEach((t=>{r[t]=n[t],r._keys.push(t);const e=parseInt(t,10);!isNaN(e)&&e>=s&&(s=e+1)}))),i.forEach((t=>{e("Array",t)?t.forEach((t=>{r._keys&&r._keys.push(s),r[s]=t,s++})):(o=t._keys||Object.keys(t),o.forEach((e=>{r[e]||r._keys.push(e),r[e]=t[e];const n=parseInt(e,10);!isNaN(n)&&n>=s&&(s=n+1)})))})),0===i.length)throw new t.Error("Filter merge expects at least one parameter");return r},date(e,n){const i=t.functions.date(e),r=n&&Boolean(n.length)?n[0]:"F j, Y H:i";return t.lib.date(r.replace(/\\\\/g,"\\"),i)},date_modify(e,n){if(void 0===e||null===e)return;if(void 0===n||1!==n.length)throw new t.Error("date_modify filter expects 1 argument");const i=n[0];let r;return t.lib.is("Date",e)&&(r=t.lib.strtotime(i,e.getTime()/1e3)),t.lib.is("String",e)&&(r=t.lib.strtotime(i,t.lib.strtotime(e))),t.lib.is("Number",e)&&(r=t.lib.strtotime(i,e)),new Date(1e3*r)},replace(e,n){if(void 0===e||null===e)return;const i=n[0];let r;for(r in i)Object.hasOwnProperty.call(i,r)&&"_keys"!==r&&(e=t.lib.replaceAll(e,r,i[r]));return e},format(e,n){if(void 0!==e&&null!==e)return t.lib.vsprintf(e,n)},striptags(e,n){if(void 0!==e&&null!==e)return t.lib.stripTags(e,n)},escape(e,n){if(void 0===e||null===e||""===e)return;let i="html";if(n&&Boolean(n.length)&&!0!==n[0]&&(i=n[0]),"html"===i){const n=e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");return new t.Markup(n,"html")}if("js"===i){const n=e.toString();let i="";for(let e=0;e<n.length;e++)if(n[e].match(/^[a-zA-Z0-9,._]$/))i+=n[e];else{const r=n.charAt(e),s=n.charCodeAt(e),o={"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};o[r]?i+=o[r]:i+=t.lib.sprintf("\\u%04s",s.toString(16).toUpperCase())}return new t.Markup(i,"js")}if("css"===i){const n=e.toString();let i="";for(let t=0;t<n.length;t++)if(n[t].match(/^[a-zA-Z0-9]$/))i+=n[t];else{const e=n.charCodeAt(t);i+="\\"+e.toString(16).toUpperCase()+" "}return new t.Markup(i,"css")}if("url"===i){const n=t.filters.url_encode(e);return new t.Markup(n,"url")}if("html_attr"===i){const n=e.toString();let i="";for(let e=0;e<n.length;e++)if(n[e].match(/^[a-zA-Z0-9,.\-_]$/))i+=n[e];else if(n[e].match(/^[&<>"]$/))i+=n[e].replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""");else{const r=n.charCodeAt(e);i+=r<=31&&9!==r&&10!==r&&13!==r?"�":r<128?t.lib.sprintf("&#x%02s;",r.toString(16).toUpperCase()):t.lib.sprintf("&#x%04s;",r.toString(16).toUpperCase())}return new t.Markup(i,"html_attr")}throw new t.Error("escape strategy unsupported")},e(e,n){return t.filters.escape(e,n)},nl2br(e){if(void 0===e||null===e||""===e)return;const n="BACKSLASH_n_replace",i="<br />"+n;return e=t.filters.escape(e).replace(/\r\n/g,i).replace(/\r/g,i).replace(/\n/g,i),e=t.lib.replaceAll(e,n,"\n"),new t.Markup(e)},number_format(t,e){let n=t;const i=e&&e[0]?e[0]:void 0,r=e&&void 0!==e[1]?e[1]:".",s=e&&void 0!==e[2]?e[2]:",";n=String(n).replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(Number(n))?Number(n):0,a=isFinite(Number(i))?Math.abs(i):0;let l="";const c=function(t,e){const n=10**e;return String(Math.round(t*n)/n)};return l=(a?c(o,a):String(Math.round(o))).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(l[1]||"").length<a&&(l[1]=l[1]||"",l[1]+=new Array(a-l[1].length+1).join("0")),l.join(r)},trim(t,e){if(void 0===t||null===t)return;let n,i=String(t);n=e&&e[0]?String(e[0]):" \n\r\t\f\v \u2028\u2029 ";for(let r=0;r<i.length;r++)if(!n.includes(i.charAt(r))){i=i.slice(Math.max(0,r));break}for(let r=i.length-1;r>=0;r--)if(!n.includes(i.charAt(r))){i=i.slice(0,Math.max(0,r+1));break}return n.includes(i.charAt(0))?"":i},truncate(t,e){let n=30,i=!1,r="...";if(t=String(t),e&&(e[0]&&(n=e[0]),e[1]&&(i=e[1]),e[2]&&(r=e[2])),t.length>n){if(i&&(n=t.indexOf(" ",n),-1===n))return t;t=t.slice(0,n)+r}return t},slice(e,n){if(void 0===e||null===e)return;if(void 0===n||0===n.length)throw new t.Error("slice filter expects at least 1 argument");const i=n[0]||0,r=n.length>1?n[1]:e.length,s=i>=0?i:Math.max(e.length+i,0);if(t.lib.is("Array",e)){const t=[];for(let n=s;n<s+r&&n<e.length;n++)t.push(e[n]);return t}if(t.lib.is("String",e))return e.slice(s,s+r);throw new t.Error("slice filter expects value to be an array or string")},abs(t){if(void 0!==t&&null!==t)return Math.abs(t)},first(t){if(e("Array",t))return t[0];if(e("Object",t)){if("_keys"in t)return t[t._keys[0]]}else if("string"===typeof t)return t.slice(0,1)},split(e,n){if(void 0!==e&&null!==e){if(void 0===n||0===n.length||n.length>2)throw new t.Error("split filter expects 1 or 2 argument");if(t.lib.is("String",e)){const t=n[0],i=n[1],r=e.split(t);if(void 0===i)return r;if(i<0)return e.split(t,r.length+i);const s=[];if(""===t)while(r.length>0){let t="";for(let e=0;e<i&&r.length>0;e++)t+=r.shift();s.push(t)}else{for(let t=0;t<i-1&&r.length>0;t++)s.push(r.shift());r.length>0&&s.push(r.join(t))}return s}throw new t.Error("split filter expects value to be a string")}},last(e){if(t.lib.is("Object",e)){let t;return t=void 0===e._keys?Object.keys(e):e._keys,e[t[t.length-1]]}return t.lib.is("Number",e)?e.toString().slice(-1):e[e.length-1]},raw(e){return new t.Markup(e||"")},batch(e,n){let i=n.shift();const r=n.shift();let s,o;if(!t.lib.is("Array",e))throw new t.Error("batch filter expects items to be an array");if(!t.lib.is("Number",i))throw new t.Error("batch filter expects size to be a number");i=Math.ceil(i);const a=t.lib.chunkArray(e,i);if(r&&e.length%i!==0){s=a.pop(),o=i-s.length;while(o--)s.push(r);a.push(s)}return a},round(e,n){n=n||[];const i=n.length>0?n[0]:0,r=n.length>1?n[1]:"common";if(e=parseFloat(e),i&&!t.lib.is("Number",i))throw new t.Error("round filter expects precision to be a number");if("common"===r)return t.lib.round(e,i);if(!t.lib.is("Function",Math[r]))throw new t.Error("round filter expects method to be 'floor', 'ceil', or 'common'");return Math[r](e*10**i)/10**i},spaceless(t){return t.replace(/>\s+</g,"><").trim()}},t.filter=function(e,n,i){const r=this;if(!t.filters[e])throw new t.Error("Unable to find filter "+e);return t.filters[e].call(r,n,i)},t.filter.extend=function(e,n){t.filters[e]=n},t}},function(t,e,n){"use strict";t.exports=function(e){const n='Template "{name}" is not defined.';return e.functions={range(t,e,n){const i=[];let r,s;const o=n||1;let a=!1;isNaN(t)||isNaN(e)?isNaN(t)&&isNaN(e)?(a=!0,r=t.charCodeAt(0),s=e.charCodeAt(0)):(r=isNaN(t)?0:t,s=isNaN(e)?0:e):(r=parseInt(t,10),s=parseInt(e,10));const l=!(r>s);if(l)while(r<=s)i.push(a?String.fromCharCode(r):r),r+=o;else while(r>=s)i.push(a?String.fromCharCode(r):r),r-=o;return i},cycle(t,e){const n=e%t.length;return t[n]},dump(...t){const e=[...t],n=this,i="\n",r=" ";let s=0,o="";const a=function(t){let e="";while(t>0)t--,e+=r;return e},l=function(t){o+=a(s),"object"===typeof t?c(t):"function"===typeof t?o+="function()"+i:"string"===typeof t?o+="string("+t.length+') "'+t+'"'+i:"number"===typeof t?o+="number("+t+")"+i:"boolean"===typeof t&&(o+="bool("+t+")"+i)},c=function(t){let e;if(null===t)o+="NULL"+i;else if(void 0===t)o+="undefined"+i;else if("object"===typeof t){for(e in o+=a(s)+typeof t,s++,o+="("+function(t){let e,n=0;for(e in t)Object.hasOwnProperty.call(t,e)&&n++;return n}(t)+") {"+i,t)Object.hasOwnProperty.call(t,e)&&(o+=a(s)+"["+e+"]=> "+i,l(t[e]));s--,o+=a(s)+"}"+i}else l(t)};return 0===e.length&&e.push(n.context),e.forEach((t=>{c(t)})),o},date(t){let n;if(void 0===t||null===t||""===t)n=new Date;else if(e.lib.is("Date",t))n=t;else if(e.lib.is("String",t))n=t.match(/^\d+$/)?new Date(1e3*t):new Date(1e3*e.lib.strtotime(t));else{if(!e.lib.is("Number",t))throw new e.Error("Unable to parse date "+t);n=new Date(1e3*t)}return n},block(t){const e=this,n=e.getBlock(t);if(void 0!==n)return n.render(e,e.context)},parent(){const t=this;return t.getBlock(t.getNestingStackToken(e.logic.type.block).blockName,!0).render(t,t.context)},attribute(t,n,i){return e.lib.is("Object",t)&&Object.hasOwnProperty.call(t,n)?"function"===typeof t[n]?t[n].apply(void 0,i):t[n]:t&&t[n]||void 0},max(t,...n){return e.lib.is("Object",t)?(delete t._keys,e.lib.max(t)):Reflect.apply(e.lib.max,null,[t,...n])},min(t,...n){return e.lib.is("Object",t)?(delete t._keys,e.lib.min(t)):Reflect.apply(e.lib.min,null,[t,...n])},template_from_string(t){const n=this;return void 0===t&&(t=""),e.Templates.parsers.twig({options:n.template.options,data:t})},random(t){const n=2147483648;function i(t){const e=Math.floor(Math.random()*n),i=Math.min.call(null,0,t),r=Math.max.call(null,0,t);return i+Math.floor((r-i+1)*e/n)}if(e.lib.is("Number",t))return i(t);if(e.lib.is("String",t))return t.charAt(i(t.length-1));if(e.lib.is("Array",t))return t[i(t.length-1)];if(e.lib.is("Object",t)){const e=Object.keys(t);return t[e[i(e.length-1)]]}return i(n-1)},source(i,r){let s,o=!1;const a="undefined"!==typeof t.exports&&"undefined"===typeof window;let l;const c=i;l=a?"fs":"ajax";const u={id:i,path:c,method:l,parser:"source",async:!1,fetchTemplateSource:!0};"undefined"===typeof r&&(r=!1);try{s=e.Templates.loadRemote(i,u),"undefined"===typeof s||null===s?s="":o=!0}catch(h){e.log.debug("Twig.functions.source: ","Problem loading template ",h)}return o||r?s:n.replace("{name}",i)}},e._function=function(t,n,i){if(!e.functions[t])throw new e.Error("Unable to find function "+t);return e.functions[t](n,i)},e._function.extend=function(t,n){e.functions[t]=n},e}},function(t,e,n){"use strict";t.exports=function(t){return t.lib={},t.lib.sprintf=n(0),t.lib.vsprintf=n(12),t.lib.round=n(13),t.lib.max=n(15),t.lib.min=n(16),t.lib.stripTags=n(17),t.lib.strtotime=n(19),t.lib.date=n(20),t.lib.boolval=n(21),t.lib.is=function(t,e){if("undefined"===typeof e||null===e)return!1;switch(t){case"Array":return Array.isArray(e);case"Date":return e instanceof Date;case"String":return"string"===typeof e||e instanceof String;case"Number":return"number"===typeof e||e instanceof Number;case"Function":return"function"===typeof e;case"Object":return e instanceof Object;default:return!1}},t.lib.replaceAll=function(t,e,n){const i=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return t.replace(new RegExp(i,"g"),n)},t.lib.chunkArray=function(t,e){const n=[];let i=0;const r=t.length;if(e<1||!Array.isArray(t))return[];while(i<r)n.push(t.slice(i,i+=e));return n},t}},function(t,e,n){"use strict";t.exports=function(t,e){var i=n(0);return i.apply(this,[t].concat(e))}},function(t,e,n){"use strict";function i(t,e){var n=Math.floor(Math.abs(t)+.5);return("PHP_ROUND_HALF_DOWN"===e&&t===n-.5||"PHP_ROUND_HALF_EVEN"===e&&t===.5+2*Math.floor(n/2)||"PHP_ROUND_HALF_ODD"===e&&t===.5+2*Math.floor(n/2)-1)&&(n-=1),t<0?-n:n}t.exports=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"PHP_ROUND_HALF_UP",o=n(14),a=n(1);if(t=o(t),r=a(r),e=Math.pow(10,r),isNaN(t)||!isFinite(t))return t;if(Math.trunc(t)===t&&r>=0)return t;var l=14-Math.floor(Math.log10(Math.abs(t)));return l>r&&l-15<r?(t=i(t*Math.pow(10,l),s),t/=Math.pow(10,Math.abs(r-l))):t*=e,t=i(t,s),t/e}},function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e="undefined"===typeof t?"undefined":i(t);switch(e){case"number":return t;case"string":return parseFloat(t)||0;case"boolean":default:return n(1)(t)}}},function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(){var t,e,n=0,r=0,s=arguments,o=s.length,a=function(t){if("[object Array]"===Object.prototype.toString.call(t))return t;var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},l=function t(e,n){var r=0,s=0,o=0,l=0,c=0;if(e===n)return 0;if("object"===("undefined"===typeof e?"undefined":i(e))){if("object"===("undefined"===typeof n?"undefined":i(n))){if(e=a(e),n=a(n),c=e.length,l=n.length,l>c)return 1;if(l<c)return-1;for(r=0,s=c;r<s;++r){if(o=t(e[r],n[r]),1===o)return 1;if(-1===o)return-1}return 0}return-1}return"object"===("undefined"===typeof n?"undefined":i(n))?1:isNaN(n)&&!isNaN(e)?0===e?0:e<0?1:-1:isNaN(e)&&!isNaN(n)?0===n?0:n>0?1:-1:n===e?0:n>e?1:-1};if(0===o)throw new Error("At least one value should be passed to max()");if(1===o){if("object"!==i(s[0]))throw new Error("Wrong parameter count for max()");if(t=a(s[0]),0===t.length)throw new Error("Array must contain at least one element for max()")}else t=s;for(e=t[0],n=1,r=t.length;n<r;++n)1===l(e,t[n])&&(e=t[n]);return e}},function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(){var t,e,n=0,r=0,s=arguments,o=s.length,a=function(t){if("[object Array]"===Object.prototype.toString.call(t))return t;var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},l=function t(e,n){var r=0,s=0,o=0,l=0,c=0;if(e===n)return 0;if("object"===("undefined"===typeof e?"undefined":i(e))){if("object"===("undefined"===typeof n?"undefined":i(n))){if(e=a(e),n=a(n),c=e.length,l=n.length,l>c)return 1;if(l<c)return-1;for(r=0,s=c;r<s;++r){if(o=t(e[r],n[r]),1===o)return 1;if(-1===o)return-1}return 0}return-1}return"object"===("undefined"===typeof n?"undefined":i(n))?1:isNaN(n)&&!isNaN(e)?0===e?0:e<0?1:-1:isNaN(e)&&!isNaN(n)?0===n?0:n>0?1:-1:n===e?0:n>e?1:-1};if(0===o)throw new Error("At least one value should be passed to min()");if(1===o){if("object"!==i(s[0]))throw new Error("Wrong parameter count for min()");if(t=a(s[0]),0===t.length)throw new Error("Array must contain at least one element for min()")}else t=s;for(e=t[0],n=1,r=t.length;n<r;++n)-1===l(e,t[n])&&(e=t[n]);return e}},function(t,e,n){"use strict";t.exports=function(t,e){var i=n(18);e=(((e||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");var r=/<\/?([a-z0-9]*)\b[^>]*>?/gi,s=/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi,o=i(t);o="<"===o.substring(o.length-1)?o.substring(0,o.length-1):o;while(1){var a=o;if(o=a.replace(s,"").replace(r,(function(t,n){return e.indexOf("<"+n.toLowerCase()+">")>-1?t:""})),a===o)return o}}},function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e="undefined"===typeof t?"undefined":i(t);switch(e){case"boolean":return t?"1":"";case"string":return t;case"number":return isNaN(t)?"NAN":isFinite(t)?t+"":(t<0?"-":"")+"INF";case"undefined":return"";case"object":return Array.isArray(t)?"Array":null!==t?"Object":"";case"function":default:throw new Error("Unsupported value type")}}},function(t,e,n){"use strict";var i="[ \\t]+",r="[ \\t]*",s="(?:([ap])\\.?m\\.?([\\t ]|$))",o="(2[0-4]|[01]?[0-9])",a="([01][0-9]|2[0-4])",l="(0?[1-9]|1[0-2])",c="([0-5]?[0-9])",u="([0-5][0-9])",h="(60|[0-5]?[0-9])",p="(60|[0-5][0-9])",d="(?:\\.([0-9]+))",f="sunday|monday|tuesday|wednesday|thursday|friday|saturday",O="sun|mon|tue|wed|thu|fri|sat",m=f+"|"+O+"|weekdays?",g="first|second|third|fourth|fifth|sixth|seventh|eighth?|ninth|tenth|eleventh|twelfth",v="next|last|previous|this",y="(?:second|sec|minute|min|hour|day|fortnight|forthnight|month|year)s?|weeks|"+m,b="([0-9]{1,4})",_="([0-9]{2})",x="([0-9]{4})",w="([+-]?[0-9]{4})",$="(1[0-2]|0?[0-9])",S="(0[0-9]|1[0-2])",k="(?:(3[01]|[0-2]?[0-9])(?:st|nd|rd|th)?)",Q="(0[0-9]|[1-2][0-9]|3[01])",T="january|february|march|april|may|june|july|august|september|october|november|december",P="jan|feb|mar|apr|may|jun|jul|aug|sept?|oct|nov|dec",C="i[vx]|vi{0,3}|xi{0,2}|i{1,3}",A="("+T+"|"+P+"|"+C+")",E="((?:GMT)?([+-])"+o+":?"+c+"?)",R="(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])",M="(0[1-9]|[1-4][0-9]|5[0-3])",D=A+"[ .\\t-]*"+k+"[,.stndrh\\t ]*";function z(t,e){switch(e=e&&e.toLowerCase(),e){case"a":t+=12===t?-12:0;break;case"p":t+=12!==t?12:0;break}return t}function j(t){var e=+t;return t.length<4&&e<100&&(e+=e<70?2e3:1900),e}function Z(t){return{jan:0,january:0,i:0,feb:1,february:1,ii:1,mar:2,march:2,iii:2,apr:3,april:3,iv:3,may:4,v:4,jun:5,june:5,vi:5,jul:6,july:6,vii:6,aug:7,august:7,viii:7,sep:8,sept:8,september:8,ix:8,oct:9,october:9,x:9,nov:10,november:10,xi:10,dec:11,december:11,xii:11}[t.toLowerCase()]}function V(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={mon:1,monday:1,tue:2,tuesday:2,wed:3,wednesday:3,thu:4,thursday:4,fri:5,friday:5,sat:6,saturday:6,sun:0,sunday:0};return n[t.toLowerCase()]||e}function X(t){var e={last:-1,previous:-1,this:0,first:1,next:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eight:8,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12},n={this:1},i=t.toLowerCase();return{amount:e[i],behavior:n[i]||0}}function W(t,e){var n=/(?:GMT)?([+-])(\d+)(:?)(\d{0,2})/i;if(t=t&&t.match(n),!t)return e;var i="-"===t[1]?1:-1,r=+t[2],s=+t[4];return t[4]||t[3]||(s=Math.floor(r%100),r=Math.floor(r/100)),i*(60*r+s)}var q={yesterday:{regex:/^yesterday/i,name:"yesterday",callback:function(){return this.rd-=1,this.resetTime()}},now:{regex:/^now/i,name:"now"},noon:{regex:/^noon/i,name:"noon",callback:function(){return this.resetTime()&&this.time(12,0,0,0)}},midnightOrToday:{regex:/^(midnight|today)/i,name:"midnight | today",callback:function(){return this.resetTime()}},tomorrow:{regex:/^tomorrow/i,name:"tomorrow",callback:function(){return this.rd+=1,this.resetTime()}},timestamp:{regex:/^@(-?\d+)/i,name:"timestamp",callback:function(t,e){return this.rs+=+e,this.y=1970,this.m=0,this.d=1,this.dates=0,this.resetTime()&&this.zone(0)}},firstOrLastDay:{regex:/^(first|last) day of/i,name:"firstdayof | lastdayof",callback:function(t,e){"first"===e.toLowerCase()?this.firstOrLastDayOfMonth=1:this.firstOrLastDayOfMonth=-1}},backOrFrontOf:{regex:RegExp("^(back|front) of "+o+r+s+"?","i"),name:"backof | frontof",callback:function(t,e,n,i){var r="back"===e.toLowerCase(),s=+n,o=15;return r||(s-=1,o=45),s=z(s,i),this.resetTime()&&this.time(s,o,0,0)}},weekdayOf:{regex:RegExp("^("+g+"|"+v+")"+i+"("+f+"|"+O+")"+i+"of","i"),name:"weekdayof"},mssqltime:{regex:RegExp("^"+l+":"+u+":"+p+"[:.]([0-9]+)"+s,"i"),name:"mssqltime",callback:function(t,e,n,i,r,s){return this.time(z(+e,s),+n,+i,+r.substr(0,3))}},timeLong12:{regex:RegExp("^"+l+"[:.]"+c+"[:.]"+p+r+s,"i"),name:"timelong12",callback:function(t,e,n,i,r){return this.time(z(+e,r),+n,+i,0)}},timeShort12:{regex:RegExp("^"+l+"[:.]"+u+r+s,"i"),name:"timeshort12",callback:function(t,e,n,i){return this.time(z(+e,i),+n,0,0)}},timeTiny12:{regex:RegExp("^"+l+r+s,"i"),name:"timetiny12",callback:function(t,e,n){return this.time(z(+e,n),0,0,0)}},soap:{regex:RegExp("^"+x+"-"+S+"-"+Q+"T"+a+":"+u+":"+p+d+E+"?","i"),name:"soap",callback:function(t,e,n,i,r,s,o,a,l){return this.ymd(+e,n-1,+i)&&this.time(+r,+s,+o,+a.substr(0,3))&&this.zone(W(l))}},wddx:{regex:RegExp("^"+x+"-"+$+"-"+k+"T"+o+":"+c+":"+h),name:"wddx",callback:function(t,e,n,i,r,s,o){return this.ymd(+e,n-1,+i)&&this.time(+r,+s,+o,0)}},exif:{regex:RegExp("^"+x+":"+S+":"+Q+" "+a+":"+u+":"+p,"i"),name:"exif",callback:function(t,e,n,i,r,s,o){return this.ymd(+e,n-1,+i)&&this.time(+r,+s,+o,0)}},xmlRpc:{regex:RegExp("^"+x+S+Q+"T"+o+":"+u+":"+p),name:"xmlrpc",callback:function(t,e,n,i,r,s,o){return this.ymd(+e,n-1,+i)&&this.time(+r,+s,+o,0)}},xmlRpcNoColon:{regex:RegExp("^"+x+S+Q+"[Tt]"+o+u+p),name:"xmlrpcnocolon",callback:function(t,e,n,i,r,s,o){return this.ymd(+e,n-1,+i)&&this.time(+r,+s,+o,0)}},clf:{regex:RegExp("^"+k+"/("+P+")/"+x+":"+a+":"+u+":"+p+i+E,"i"),name:"clf",callback:function(t,e,n,i,r,s,o,a){return this.ymd(+i,Z(n),+e)&&this.time(+r,+s,+o,0)&&this.zone(W(a))}},iso8601long:{regex:RegExp("^t?"+o+"[:.]"+c+"[:.]"+h+d,"i"),name:"iso8601long",callback:function(t,e,n,i,r){return this.time(+e,+n,+i,+r.substr(0,3))}},dateTextual:{regex:RegExp("^"+A+"[ .\\t-]*"+k+"[,.stndrh\\t ]+"+b,"i"),name:"datetextual",callback:function(t,e,n,i){return this.ymd(j(i),Z(e),+n)}},pointedDate4:{regex:RegExp("^"+k+"[.\\t-]"+$+"[.-]"+x),name:"pointeddate4",callback:function(t,e,n,i){return this.ymd(+i,n-1,+e)}},pointedDate2:{regex:RegExp("^"+k+"[.\\t]"+$+"\\."+_),name:"pointeddate2",callback:function(t,e,n,i){return this.ymd(j(i),n-1,+e)}},timeLong24:{regex:RegExp("^t?"+o+"[:.]"+c+"[:.]"+h),name:"timelong24",callback:function(t,e,n,i){return this.time(+e,+n,+i,0)}},dateNoColon:{regex:RegExp("^"+x+S+Q),name:"datenocolon",callback:function(t,e,n,i){return this.ymd(+e,n-1,+i)}},pgydotd:{regex:RegExp("^"+x+"\\.?"+R),name:"pgydotd",callback:function(t,e,n){return this.ymd(+e,0,+n)}},timeShort24:{regex:RegExp("^t?"+o+"[:.]"+c,"i"),name:"timeshort24",callback:function(t,e,n){return this.time(+e,+n,0,0)}},iso8601noColon:{regex:RegExp("^t?"+a+u+p,"i"),name:"iso8601nocolon",callback:function(t,e,n,i){return this.time(+e,+n,+i,0)}},iso8601dateSlash:{regex:RegExp("^"+x+"/"+S+"/"+Q+"/"),name:"iso8601dateslash",callback:function(t,e,n,i){return this.ymd(+e,n-1,+i)}},dateSlash:{regex:RegExp("^"+x+"/"+$+"/"+k),name:"dateslash",callback:function(t,e,n,i){return this.ymd(+e,n-1,+i)}},american:{regex:RegExp("^"+$+"/"+k+"/"+b),name:"american",callback:function(t,e,n,i){return this.ymd(j(i),e-1,+n)}},americanShort:{regex:RegExp("^"+$+"/"+k),name:"americanshort",callback:function(t,e,n){return this.ymd(this.y,e-1,+n)}},gnuDateShortOrIso8601date2:{regex:RegExp("^"+b+"-"+$+"-"+k),name:"gnudateshort | iso8601date2",callback:function(t,e,n,i){return this.ymd(j(e),n-1,+i)}},iso8601date4:{regex:RegExp("^"+w+"-"+S+"-"+Q),name:"iso8601date4",callback:function(t,e,n,i){return this.ymd(+e,n-1,+i)}},gnuNoColon:{regex:RegExp("^t?"+a+u,"i"),name:"gnunocolon",callback:function(t,e,n){switch(this.times){case 0:return this.time(+e,+n,0,this.f);case 1:return this.y=100*e+ +n,this.times++,!0;default:return!1}}},gnuDateShorter:{regex:RegExp("^"+x+"-"+$),name:"gnudateshorter",callback:function(t,e,n){return this.ymd(+e,n-1,1)}},pgTextReverse:{regex:RegExp("^(\\d{3,4}|[4-9]\\d|3[2-9])-("+P+")-"+Q,"i"),name:"pgtextreverse",callback:function(t,e,n,i){return this.ymd(j(e),Z(n),+i)}},dateFull:{regex:RegExp("^"+k+"[ \\t.-]*"+A+"[ \\t.-]*"+b,"i"),name:"datefull",callback:function(t,e,n,i){return this.ymd(j(i),Z(n),+e)}},dateNoDay:{regex:RegExp("^"+A+"[ .\\t-]*"+x,"i"),name:"datenoday",callback:function(t,e,n){return this.ymd(+n,Z(e),1)}},dateNoDayRev:{regex:RegExp("^"+x+"[ .\\t-]*"+A,"i"),name:"datenodayrev",callback:function(t,e,n){return this.ymd(+e,Z(n),1)}},pgTextShort:{regex:RegExp("^("+P+")-"+Q+"-"+b,"i"),name:"pgtextshort",callback:function(t,e,n,i){return this.ymd(j(i),Z(e),+n)}},dateNoYear:{regex:RegExp("^"+D,"i"),name:"datenoyear",callback:function(t,e,n){return this.ymd(this.y,Z(e),+n)}},dateNoYearRev:{regex:RegExp("^"+k+"[ .\\t-]*"+A,"i"),name:"datenoyearrev",callback:function(t,e,n){return this.ymd(this.y,Z(n),+e)}},isoWeekDay:{regex:RegExp("^"+x+"-?W"+M+"(?:-?([0-7]))?"),name:"isoweekday | isoweek",callback:function(t,e,n,i){if(i=i?+i:1,!this.ymd(+e,0,1))return!1;var r=new Date(this.y,this.m,this.d).getDay();r=0-(r>4?r-7:r),this.rd+=r+7*(n-1)+i}},relativeText:{regex:RegExp("^("+g+"|"+v+")"+i+"("+y+")","i"),name:"relativetext",callback:function(t,e,n){var i=X(e),r=i.amount;i.behavior;switch(n.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=r;break;case"min":case"mins":case"minute":case"minutes":this.ri+=r;break;case"hour":case"hours":this.rh+=r;break;case"day":case"days":this.rd+=r;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=14*r;break;case"week":case"weeks":this.rd+=7*r;break;case"month":case"months":this.rm+=r;break;case"year":case"years":this.ry+=r;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=V(n,7),this.weekdayBehavior=1,this.rd+=7*(r>0?r-1:r);break;case"weekday":case"weekdays":break}}},relative:{regex:RegExp("^([+-]*)[ \\t]*(\\d+)"+r+"("+y+"|week)","i"),name:"relative",callback:function(t,e,n,i){var r=e.replace(/[^-]/g,"").length,s=+n*Math.pow(-1,r);switch(i.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=s;break;case"min":case"mins":case"minute":case"minutes":this.ri+=s;break;case"hour":case"hours":this.rh+=s;break;case"day":case"days":this.rd+=s;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=14*s;break;case"week":case"weeks":this.rd+=7*s;break;case"month":case"months":this.rm+=s;break;case"year":case"years":this.ry+=s;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=V(i,7),this.weekdayBehavior=1,this.rd+=7*(s>0?s-1:s);break;case"weekday":case"weekdays":break}}},dayText:{regex:RegExp("^("+m+")","i"),name:"daytext",callback:function(t,e){this.resetTime(),this.weekday=V(e,0),2!==this.weekdayBehavior&&(this.weekdayBehavior=1)}},relativeTextWeek:{regex:RegExp("^("+v+")"+i+"week","i"),name:"relativetextweek",callback:function(t,e){switch(this.weekdayBehavior=2,e.toLowerCase()){case"this":this.rd+=0;break;case"next":this.rd+=7;break;case"last":case"previous":this.rd-=7;break}isNaN(this.weekday)&&(this.weekday=1)}},monthFullOrMonthAbbr:{regex:RegExp("^("+T+"|"+P+")","i"),name:"monthfull | monthabbr",callback:function(t,e){return this.ymd(this.y,Z(e),this.d)}},tzCorrection:{regex:RegExp("^"+E,"i"),name:"tzcorrection",callback:function(t){return this.zone(W(t))}},ago:{regex:/^ago/i,name:"ago",callback:function(){this.ry=-this.ry,this.rm=-this.rm,this.rd=-this.rd,this.rh=-this.rh,this.ri=-this.ri,this.rs=-this.rs,this.rf=-this.rf}},year4:{regex:RegExp("^"+x),name:"year4",callback:function(t,e){return this.y=+e,!0}},whitespace:{regex:/^[ .,\t]+/,name:"whitespace"},dateShortWithTimeLong:{regex:RegExp("^"+D+"t?"+o+"[:.]"+c+"[:.]"+h,"i"),name:"dateshortwithtimelong",callback:function(t,e,n,i,r,s){return this.ymd(this.y,Z(e),+n)&&this.time(+i,+r,+s,0)}},dateShortWithTimeLong12:{regex:RegExp("^"+D+l+"[:.]"+c+"[:.]"+p+r+s,"i"),name:"dateshortwithtimelong12",callback:function(t,e,n,i,r,s,o){return this.ymd(this.y,Z(e),+n)&&this.time(z(+i,o),+r,+s,0)}},dateShortWithTimeShort:{regex:RegExp("^"+D+"t?"+o+"[:.]"+c,"i"),name:"dateshortwithtimeshort",callback:function(t,e,n,i,r){return this.ymd(this.y,Z(e),+n)&&this.time(+i,+r,0,0)}},dateShortWithTimeShort12:{regex:RegExp("^"+D+l+"[:.]"+u+r+s,"i"),name:"dateshortwithtimeshort12",callback:function(t,e,n,i,r,s){return this.ymd(this.y,Z(e),+n)&&this.time(z(+i,s),+r,0,0)}}},I={y:NaN,m:NaN,d:NaN,h:NaN,i:NaN,s:NaN,f:NaN,ry:0,rm:0,rd:0,rh:0,ri:0,rs:0,rf:0,weekday:NaN,weekdayBehavior:0,firstOrLastDayOfMonth:0,z:NaN,dates:0,times:0,zones:0,ymd:function(t,e,n){return!(this.dates>0)&&(this.dates++,this.y=t,this.m=e,this.d=n,!0)},time:function(t,e,n,i){return!(this.times>0)&&(this.times++,this.h=t,this.i=e,this.s=n,this.f=i,!0)},resetTime:function(){return this.h=0,this.i=0,this.s=0,this.f=0,this.times=0,!0},zone:function(t){return this.zones<=1&&(this.zones++,this.z=t,!0)},toDate:function(t){switch(this.dates&&!this.times&&(this.h=this.i=this.s=this.f=0),isNaN(this.y)&&(this.y=t.getFullYear()),isNaN(this.m)&&(this.m=t.getMonth()),isNaN(this.d)&&(this.d=t.getDate()),isNaN(this.h)&&(this.h=t.getHours()),isNaN(this.i)&&(this.i=t.getMinutes()),isNaN(this.s)&&(this.s=t.getSeconds()),isNaN(this.f)&&(this.f=t.getMilliseconds()),this.firstOrLastDayOfMonth){case 1:this.d=1;break;case-1:this.d=0,this.m+=1;break}if(!isNaN(this.weekday)){var e=new Date(t.getTime());e.setFullYear(this.y,this.m,this.d),e.setHours(this.h,this.i,this.s,this.f);var n=e.getDay();if(2===this.weekdayBehavior)0===n&&0!==this.weekday&&(this.weekday=-6),0===this.weekday&&0!==n&&(this.weekday=7),this.d-=n,this.d+=this.weekday;else{var i=this.weekday-n;(this.rd<0&&i<0||this.rd>=0&&i<=-this.weekdayBehavior)&&(i+=7),this.weekday>=0?this.d+=i:this.d-=7-(Math.abs(this.weekday)-n),this.weekday=NaN}}this.y+=this.ry,this.m+=this.rm,this.d+=this.rd,this.h+=this.rh,this.i+=this.ri,this.s+=this.rs,this.f+=this.rf,this.ry=this.rm=this.rd=0,this.rh=this.ri=this.rs=this.rf=0;var r=new Date(t.getTime());switch(r.setFullYear(this.y,this.m,this.d),r.setHours(this.h,this.i,this.s,this.f),this.firstOrLastDayOfMonth){case 1:r.setDate(1);break;case-1:r.setMonth(r.getMonth()+1,0);break}return isNaN(this.z)||r.getTimezoneOffset()===this.z||(r.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),r.setUTCHours(r.getHours(),r.getMinutes()+this.z,r.getSeconds(),r.getMilliseconds())),r}};t.exports=function(t,e){null==e&&(e=Math.floor(Date.now()/1e3));var n=[q.yesterday,q.now,q.noon,q.midnightOrToday,q.tomorrow,q.timestamp,q.firstOrLastDay,q.backOrFrontOf,q.timeTiny12,q.timeShort12,q.timeLong12,q.mssqltime,q.timeShort24,q.timeLong24,q.iso8601long,q.gnuNoColon,q.iso8601noColon,q.americanShort,q.american,q.iso8601date4,q.iso8601dateSlash,q.dateSlash,q.gnuDateShortOrIso8601date2,q.gnuDateShorter,q.dateFull,q.pointedDate4,q.pointedDate2,q.dateNoDay,q.dateNoDayRev,q.dateTextual,q.dateNoYear,q.dateNoYearRev,q.dateNoColon,q.xmlRpc,q.xmlRpcNoColon,q.soap,q.wddx,q.exif,q.pgydotd,q.isoWeekDay,q.pgTextShort,q.pgTextReverse,q.clf,q.year4,q.ago,q.dayText,q.relativeTextWeek,q.relativeText,q.monthFullOrMonthAbbr,q.tzCorrection,q.dateShortWithTimeShort12,q.dateShortWithTimeLong12,q.dateShortWithTimeShort,q.dateShortWithTimeLong,q.relative,q.whitespace],i=Object.create(I);while(t.length){for(var r=null,s=null,o=0,a=n.length;o<a;o++){var l=n[o],c=t.match(l.regex);c&&(!r||c[0].length>r[0].length)&&(r=c,s=l)}if(!s||s.callback&&!1===s.callback.apply(i,r))return!1;t=t.substr(r[0].length),s=null,r=null}return Math.floor(i.toDate(new Date(1e3*e))/1e3)}},function(t,e,n){"use strict";t.exports=function(t,e){var n,i,r=["Sun","Mon","Tues","Wednes","Thurs","Fri","Satur","January","February","March","April","May","June","July","August","September","October","November","December"],s=/\\?(.?)/gi,o=function(t,e){return i[t]?i[t]():e},a=function(t,e){t=String(t);while(t.length<e)t="0"+t;return t};i={d:function(){return a(i.j(),2)},D:function(){return i.l().slice(0,3)},j:function(){return n.getDate()},l:function(){return r[i.w()]+"day"},N:function(){return i.w()||7},S:function(){var t=i.j(),e=t%10;return e<=3&&1===parseInt(t%100/10,10)&&(e=0),["st","nd","rd"][e-1]||"th"},w:function(){return n.getDay()},z:function(){var t=new Date(i.Y(),i.n()-1,i.j()),e=new Date(i.Y(),0,1);return Math.round((t-e)/864e5)},W:function(){var t=new Date(i.Y(),i.n()-1,i.j()-i.N()+3),e=new Date(t.getFullYear(),0,4);return a(1+Math.round((t-e)/864e5/7),2)},F:function(){return r[6+i.n()]},m:function(){return a(i.n(),2)},M:function(){return i.F().slice(0,3)},n:function(){return n.getMonth()+1},t:function(){return new Date(i.Y(),i.n(),0).getDate()},L:function(){var t=i.Y();return t%4===0&t%100!==0|t%400===0},o:function(){var t=i.n(),e=i.W(),n=i.Y();return n+(12===t&&e<9?1:1===t&&e>9?-1:0)},Y:function(){return n.getFullYear()},y:function(){return i.Y().toString().slice(-2)},a:function(){return n.getHours()>11?"pm":"am"},A:function(){return i.a().toUpperCase()},B:function(){var t=3600*n.getUTCHours(),e=60*n.getUTCMinutes(),i=n.getUTCSeconds();return a(Math.floor((t+e+i+3600)/86.4)%1e3,3)},g:function(){return i.G()%12||12},G:function(){return n.getHours()},h:function(){return a(i.g(),2)},H:function(){return a(i.G(),2)},i:function(){return a(n.getMinutes(),2)},s:function(){return a(n.getSeconds(),2)},u:function(){return a(1e3*n.getMilliseconds(),6)},e:function(){var t="Not supported (see source code of date() for timezone on how to add support)";throw new Error(t)},I:function(){var t=new Date(i.Y(),0),e=Date.UTC(i.Y(),0),n=new Date(i.Y(),6),r=Date.UTC(i.Y(),6);return t-e!==n-r?1:0},O:function(){var t=n.getTimezoneOffset(),e=Math.abs(t);return(t>0?"-":"+")+a(100*Math.floor(e/60)+e%60,4)},P:function(){var t=i.O();return t.substr(0,3)+":"+t.substr(3,2)},T:function(){return"UTC"},Z:function(){return 60*-n.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(s,o)},r:function(){return"D, d M Y H:i:s O".replace(s,o)},U:function(){return n/1e3|0}};var l=function(t,e){return n=void 0===e?new Date:e instanceof Date?new Date(e):new Date(1e3*e),t.replace(s,o)};return l(t,e)}},function(t,e,n){"use strict";t.exports=function(t){return!1!==t&&(0!==t&&0!==t&&(""!==t&&"0"!==t&&((!Array.isArray(t)||0!==t.length)&&(null!==t&&void 0!==t))))}},function(t,e,n){"use strict";t.exports=function(t){t.Templates.registerLoader("ajax",(function(e,n,i,r){let s;const{precompiled:o}=n,a=this.parsers[n.parser]||this.parser.twig;if("undefined"===typeof XMLHttpRequest)throw new t.Error('Unsupported platform: Unable to do ajax requests because there is no "XMLHTTPRequest" implementation');const l=new XMLHttpRequest;return l.onreadystatechange=function(){let c=null;4===l.readyState&&(200===l.status||window.cordova&&0===l.status?(t.log.debug("Got template ",l.responseText),c=!0===o?JSON.parse(l.responseText):l.responseText,n.url=e,n.data=c,s=a.call(this,n),"function"===typeof i&&i(s)):"function"===typeof r&&r(l))},l.open("GET",e,Boolean(n.async)),l.overrideMimeType("text/plain"),l.send(),!!n.async||s}))}},function(t,e,n){"use strict";t.exports=function(t){let e,i;try{e=n(24),i=n(2)}catch(r){console.warn("Missing fs and path modules. "+r)}t.Templates.registerLoader("fs",(function(n,s,o,a){let l,c=null;const{precompiled:u}=s,h=this.parsers[s.parser]||this.parser.twig;if(!e||!i)throw new t.Error('Unsupported platform: Unable to load from file because there is no "fs" or "path" implementation');const p=function(t,e){t?"function"===typeof a&&a(t):(!0===u&&(e=JSON.parse(e)),s.data=e,s.path=s.path||n,l=h.call(this,s),"function"===typeof o&&o(l))};if(s.path=s.path||n,s.async)return e.stat(s.path,((n,i)=>{!n&&i.isFile()?e.readFile(s.path,"utf8",p):"function"===typeof a&&a(new t.Error("Unable to find template file "+s.path))})),!0;try{if(!e.statSync(s.path).isFile())throw new t.Error("Unable to find template file "+s.path)}catch(r){throw new t.Error("Unable to find template file "+s.path+". "+r)}return c=e.readFileSync(s.path,"utf8"),p(void 0,c),l}))}},function(t,e){t.exports=n(19135)},function(t,e,n){"use strict";t.exports=function(t){t.logic={},t.logic.type={if_:"Twig.logic.type.if",endif:"Twig.logic.type.endif",for_:"Twig.logic.type.for",endfor:"Twig.logic.type.endfor",else_:"Twig.logic.type.else",elseif:"Twig.logic.type.elseif",set:"Twig.logic.type.set",setcapture:"Twig.logic.type.setcapture",endset:"Twig.logic.type.endset",filter:"Twig.logic.type.filter",endfilter:"Twig.logic.type.endfilter",apply:"Twig.logic.type.apply",endapply:"Twig.logic.type.endapply",do:"Twig.logic.type.do",shortblock:"Twig.logic.type.shortblock",block:"Twig.logic.type.block",endblock:"Twig.logic.type.endblock",extends_:"Twig.logic.type.extends",use:"Twig.logic.type.use",include:"Twig.logic.type.include",spaceless:"Twig.logic.type.spaceless",endspaceless:"Twig.logic.type.endspaceless",macro:"Twig.logic.type.macro",endmacro:"Twig.logic.type.endmacro",import_:"Twig.logic.type.import",from:"Twig.logic.type.from",embed:"Twig.logic.type.embed",endembed:"Twig.logic.type.endembed",with:"Twig.logic.type.with",endwith:"Twig.logic.type.endwith",deprecated:"Twig.logic.type.deprecated"},t.logic.definitions=[{type:t.logic.type.if_,regex:/^if\s?([\s\S]+)$/,next:[t.logic.type.else_,t.logic.type.elseif,t.logic.type.endif],open:!0,compile(e){const n=e.match[1];return e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,delete e.match,e},parse(e,n,i){const r=this;return t.expression.parseAsync.call(r,e.stack,n).then((s=>(i=!0,t.lib.boolval(s)?(i=!1,r.parseAsync(e.output,n)):""))).then((t=>({chain:i,output:t})))}},{type:t.logic.type.elseif,regex:/^elseif\s?([^\s].*)$/,next:[t.logic.type.else_,t.logic.type.elseif,t.logic.type.endif],open:!1,compile(e){const n=e.match[1];return e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,delete e.match,e},parse(e,n,i){const r=this;return t.expression.parseAsync.call(r,e.stack,n).then((s=>i&&t.lib.boolval(s)?(i=!1,r.parseAsync(e.output,n)):"")).then((t=>({chain:i,output:t})))}},{type:t.logic.type.else_,regex:/^else$/,next:[t.logic.type.endif,t.logic.type.endfor],open:!1,parse(e,n,i){let r=t.Promise.resolve("");const s=this;return i&&(r=s.parseAsync(e.output,n)),r.then((t=>({chain:i,output:t})))}},{type:t.logic.type.endif,regex:/^endif$/,next:[],open:!1},{type:t.logic.type.for_,regex:/^for\s+([a-zA-Z0-9_,\s]+)\s+in\s+([\S\s]+?)(?:\s+if\s+([^\s].*))?$/,next:[t.logic.type.else_,t.logic.type.endfor],open:!0,compile(e){const n=e.match[1],i=e.match[2],r=e.match[3];let s=null;if(e.keyVar=null,e.valueVar=null,n.includes(",")){if(s=n.split(","),2!==s.length)throw new t.Error("Invalid expression in for loop: "+n);e.keyVar=s[0].trim(),e.valueVar=s[1].trim()}else e.valueVar=n.trim();return e.expression=t.expression.compile.call(this,{type:t.expression.type.expression,value:i}).stack,r&&(e.conditional=t.expression.compile.call(this,{type:t.expression.type.expression,value:r}).stack),delete e.match,e},parse(e,n,i){const r=[];let s,o,a=0;const l=this,{conditional:c}=e,u=function(t,e){const i=void 0!==c;return{index:t+1,index0:t,revindex:i?void 0:e-t,revindex0:i?void 0:e-t-1,first:0===t,last:i?void 0:t===e-1,length:i?void 0:e,parent:n}},h=function(i,o){const h={...n};h[e.valueVar]=o,e.keyVar&&(h[e.keyVar]=i),h.loop=u(a,s);const p=void 0===c?t.Promise.resolve(!0):t.expression.parseAsync.call(l,c,h);return p.then((t=>{if(t)return l.parseAsync(e.output,h).then((t=>{r.push(t),a+=1}))})).then((()=>{delete h.loop,delete h[e.valueVar],delete h[e.keyVar],t.merge(n,h,!0)}))};return t.expression.parseAsync.call(l,e.expression,n).then((e=>Array.isArray(e)?(s=e.length,t.async.forEach(e,(t=>{const e=a;return h(e,t)}))):t.lib.is("Object",e)?(o=void 0===e._keys?Object.keys(e):e._keys,s=o.length,t.async.forEach(o,(t=>{if("_keys"!==t)return h(t,e[t])}))):void 0)).then((()=>(i=0===r.length,{chain:i,context:n,output:t.output.call(l.template,r)})))}},{type:t.logic.type.endfor,regex:/^endfor$/,next:[],open:!1},{type:t.logic.type.set,regex:/^set\s+([a-zA-Z0-9_,\s]+)\s*=\s*([\s\S]+)$/,next:[],open:!0,compile(e){const n=e.match[1].trim(),i=e.match[2],r=t.expression.compile.call(this,{type:t.expression.type.expression,value:i}).stack;return e.key=n,e.expression=r,delete e.match,e},parse(e,n,i){const{key:r}=e,s=this;return t.expression.parseAsync.call(s,e.expression,n).then((t=>(t===n&&(t={...t}),n[r]=t,{chain:i,context:n})))}},{type:t.logic.type.setcapture,regex:/^set\s+([a-zA-Z0-9_,\s]+)$/,next:[t.logic.type.endset],open:!0,compile(t){const e=t.match[1].trim();return t.key=e,delete t.match,t},parse(t,e,n){const i=this,{key:r}=t;return i.parseAsync(t.output,e).then((t=>(i.context[r]=t,e[r]=t,{chain:n,context:e})))}},{type:t.logic.type.endset,regex:/^endset$/,next:[],open:!1},{type:t.logic.type.filter,regex:/^filter\s+(.+)$/,next:[t.logic.type.endfilter],open:!0,compile(e){const n="|"+e.match[1].trim();return e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,delete e.match,e},parse(e,n,i){const r=this;return r.parseAsync(e.output,n).then((i=>{const s=[{type:t.expression.type.string,value:i}].concat(e.stack);return t.expression.parseAsync.call(r,s,n)})).then((t=>({chain:i,output:t})))}},{type:t.logic.type.endfilter,regex:/^endfilter$/,next:[],open:!1},{type:t.logic.type.apply,regex:/^apply\s+(.+)$/,next:[t.logic.type.endapply],open:!0,compile(e){const n="|"+e.match[1].trim();return e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,delete e.match,e},parse(e,n,i){const r=this;return r.parseAsync(e.output,n).then((i=>{const s=[{type:t.expression.type.string,value:i}].concat(e.stack);return t.expression.parseAsync.call(r,s,n)})).then((t=>({chain:i,output:t})))}},{type:t.logic.type.endapply,regex:/^endapply$/,next:[],open:!1},{type:t.logic.type.do,regex:/^do\s+([\S\s]+)$/,next:[],open:!0,compile(e){const n=e.match[1],i=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack;return e.expression=i,delete e.match,e},parse(e,n,i){const r=this;return t.expression.parseAsync.call(r,e.expression,n).then((()=>({chain:i,context:n})))}},{type:t.logic.type.block,regex:/^block\s+(\w+)$/,next:[t.logic.type.endblock],open:!0,compile(t){return t.blockName=t.match[1].trim(),delete t.match,t},parse(e,n,i){const r=this;let s=t.Promise.resolve();return r.template.blocks.defined[e.blockName]=new t.Block(r.template,e),(null===r.template.parentTemplate||r.template.parentTemplate instanceof t.Template)&&(s=r.getBlock(e.blockName).render(r,n)),s.then((t=>({chain:i,output:t})))}},{type:t.logic.type.shortblock,regex:/^block\s+(\w+)\s+(.+)$/,next:[],open:!0,compile(e){const n=this;return e.expression=e.match[2].trim(),e.output=t.expression.compile({type:t.expression.type.expression,value:e.expression}).stack,t.logic.handler[t.logic.type.block].compile.apply(n,[e])},parse(...e){const n=this;return t.logic.handler[t.logic.type.block].parse.apply(n,e)}},{type:t.logic.type.endblock,regex:/^endblock(?:\s+(\w+))?$/,next:[],open:!1},{type:t.logic.type.extends_,regex:/^extends\s+(.+)$/,next:[],open:!0,compile(e){const n=e.match[1].trim();return delete e.match,e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,e},parse(e,n,i){const r=this;return t.expression.parseAsync.call(r,e.stack,n).then((t=>{if(Array.isArray(t)){const e=t.reverse().reduce(((t,e)=>{try{return{render:r.template.importFile(e),fileName:e}}catch(n){return t}}),{render:null,fileName:null});null!==e.fileName&&(r.template.parentTemplate=e.fileName)}else r.template.parentTemplate=t;return{chain:i,output:""}}))}},{type:t.logic.type.use,regex:/^use\s+(.+)$/,next:[],open:!0,compile(e){const n=e.match[1].trim();return delete e.match,e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,e},parse(e,n,i){const r=this;return t.expression.parseAsync.call(r,e.stack,n).then((e=>{const n=r.template.importFile(e),i=new t.ParseState(n);return i.parseAsync(n.tokens).then((()=>{r.template.blocks.imported={...r.template.blocks.imported,...i.getBlocks()}}))})).then((()=>({chain:i,output:""})))}},{type:t.logic.type.include,regex:/^include\s+(.+?)(?:\s|$)(ignore missing(?:\s|$))?(?:with\s+([\S\s]+?))?(?:\s|$)(only)?$/,next:[],open:!0,compile(e){const{match:n}=e,i=n[1].trim(),r=void 0!==n[2],s=n[3],o=void 0!==n[4]&&n[4].length;return delete e.match,e.only=o,e.ignoreMissing=r,e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:i}).stack,void 0!==s&&(e.withStack=t.expression.compile.call(this,{type:t.expression.type.expression,value:s.trim()}).stack),e},parse(e,n,i){let r=e.only?{}:{...n};const{ignoreMissing:s}=e,o=this;let a=null;const l={chain:i,output:""};return a="undefined"===typeof e.withStack?t.Promise.resolve():t.expression.parseAsync.call(o,e.withStack,n).then((t=>{r={...r,...t}})),a.then((()=>t.expression.parseAsync.call(o,e.stack,n))).then((e=>{let n;n=Array.isArray(e)?e:[e];const i=n.reduce(((e,n)=>{if(null===e.render){if(n instanceof t.Template)return{render:n.renderAsync(r,{isInclude:!0}),lastError:null};try{return{render:o.template.importFile(n).renderAsync(r,{isInclude:!0}),lastError:null}}catch(i){return{render:null,lastError:i}}}return e}),{render:null,lastError:null});if(null!==i.render)return i.render;if(null===i.render&&s)return"";throw i.lastError})).then((t=>(""!==t&&(l.output=t),l)))}},{type:t.logic.type.spaceless,regex:/^spaceless$/,next:[t.logic.type.endspaceless],open:!0,parse(e,n,i){const r=this;return r.parseAsync(e.output,n).then((e=>{const n=/>\s+</g;let r=e.replace(n,"><").trim();return r=new t.Markup(r),{chain:i,output:r}}))}},{type:t.logic.type.endspaceless,regex:/^endspaceless$/,next:[],open:!1},{type:t.logic.type.macro,regex:/^macro\s+(\w+)\s*\(\s*((?:\w+(?:\s*=\s*([\s\S]+))?(?:,\s*)?)*)\s*\)$/,next:[t.logic.type.endmacro],open:!0,compile(e){const n=e.match[1],i=e.match[2].split(/\s*,\s*/),r=i.map((t=>t.split(/\s*=\s*/)[0])),s=r.length;if(s>1){const e={};for(let n=0;n<s;n++){const i=r[n];if(e[i])throw new t.Error("Duplicate arguments for parameter: "+i);e[i]=1}}return e.macroName=n,e.parameters=r,e.defaults=i.reduce((function(e,n){const i=n.split(/\s*=\s*/),r=i[0],s=i[1];return e[r]=s?t.expression.compile.call(this,{type:t.expression.type.expression,value:s}).stack:void 0,e}),{}),delete e.match,e},parse(e,n,i){const r=this;return r.macros[e.macroName]=function(...i){const s={...r.context,_self:r.macros};return t.async.forEach(e.parameters,(function(r,o){return"undefined"!==typeof i[o]?(s[r]=i[o],!0):"undefined"!==typeof e.defaults[r]?t.expression.parseAsync.call(this,e.defaults[r],n).then((e=>(s[r]=e,t.Promise.resolve()))):(s[r]=void 0,!0)})).then((()=>r.parseAsync(e.output,s)))},{chain:i,output:""}}},{type:t.logic.type.endmacro,regex:/^endmacro$/,next:[],open:!1},{type:t.logic.type.import_,regex:/^import\s+(.+)\s+as\s+(\w+)$/,next:[],open:!0,compile(e){const n=e.match[1].trim(),i=e.match[2].trim();return delete e.match,e.expression=n,e.contextName=i,e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,e},parse(e,n,i){const r=this,s={chain:i,output:""};return"_self"===e.expression?(n[e.contextName]=r.macros,s):t.expression.parseAsync.call(r,e.stack,n).then((t=>r.template.importFile(t||e.expression))).then((i=>{const r=new t.ParseState(i);return r.parseAsync(i.tokens).then((()=>(n[e.contextName]=r.macros,s)))}))}},{type:t.logic.type.from,regex:/^from\s+(.+)\s+import\s+([a-zA-Z0-9_, ]+)$/,next:[],open:!0,compile(e){const n=e.match[1].trim(),i=e.match[2].trim().split(/\s*,\s*/),r={};for(const t of i){const e=t.match(/^(\w+)\s+as\s+(\w+)$/);e?r[e[1].trim()]=e[2].trim():t.match(/^(\w+)$/)&&(r[t]=t)}return delete e.match,e.expression=n,e.macroNames=r,e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:n}).stack,e},parse(e,n,i){const r=this;let s;return s="_self"===e.expression?t.Promise.resolve(r.macros):t.expression.parseAsync.call(r,e.stack,n).then((t=>r.template.importFile(t||e.expression))).then((e=>{const n=new t.ParseState(e);return n.parseAsync(e.tokens).then((()=>n.macros))})),s.then((t=>{for(const i in e.macroNames)void 0!==t[i]&&(n[e.macroNames[i]]=t[i]);return{chain:i,output:""}}))}},{type:t.logic.type.embed,regex:/^embed\s+(.+?)(?:\s+(ignore missing))?(?:\s+with\s+([\S\s]+?))?(?:\s+(only))?$/,next:[t.logic.type.endembed],open:!0,compile(e){const{match:n}=e,i=n[1].trim(),r=void 0!==n[2],s=n[3],o=void 0!==n[4]&&n[4].length;return delete e.match,e.only=o,e.ignoreMissing=r,e.stack=t.expression.compile.call(this,{type:t.expression.type.expression,value:i}).stack,void 0!==s&&(e.withStack=t.expression.compile.call(this,{type:t.expression.type.expression,value:s.trim()}).stack),e},parse(e,n,i){let r={},s=t.Promise.resolve(),o=this;return e.only||(r={...n}),void 0!==e.withStack&&(s=t.expression.parseAsync.call(o,e.withStack,n).then((t=>{r={...r,...t}}))),s.then((()=>t.expression.parseAsync.call(o,e.stack,r))).then((n=>{const i=new t.Template({data:e.output,id:o.template.id,base:o.template.base,path:o.template.path,url:o.template.url,name:o.template.name,method:o.template.method,options:o.template.options});try{i.importFile(n)}catch(s){if(e.ignoreMissing)return"";throw o=null,s}return i.parentTemplate=n,i.renderAsync(r,{isInclude:!0})})).then((t=>({chain:i,output:t})))}},{type:t.logic.type.endembed,regex:/^endembed$/,next:[],open:!1},{type:t.logic.type.with,regex:/^(?:with\s+([\S\s]+?))(?:\s|$)(only)?$/,next:[t.logic.type.endwith],open:!0,compile(e){const{match:n}=e,i=n[1],r=void 0!==n[2]&&n[2].length;return delete e.match,e.only=r,void 0!==i&&(e.withStack=t.expression.compile.call(this,{type:t.expression.type.expression,value:i.trim()}).stack),e},parse(e,n,i){let r,s={};const o=this;let a=t.Promise.resolve();return e.only||(s={...n}),void 0!==e.withStack&&(a=t.expression.parseAsync.call(o,e.withStack,n).then((t=>{for(r in t)Object.hasOwnProperty.call(t,r)&&(s[r]=t[r])}))),a.then((()=>o.parseAsync(e.output,s))).then((t=>({chain:i,output:t})))}},{type:t.logic.type.endwith,regex:/^endwith$/,next:[],open:!1},{type:t.logic.type.deprecated,regex:/^deprecated\s+(.+)$/,next:[],open:!0,compile(t){return console.warn("Deprecation notice: "+t.match[1]),t},parse(){return{}}}],t.logic.handler={},t.logic.extendType=function(e,n){n=n||"Twig.logic.type"+e,t.logic.type[e]=n},t.logic.extend=function(e){if(!e.type)throw new t.Error("Unable to extend logic definition. No type provided for "+e);t.logic.extendType(e.type),t.logic.handler[e.type]=e};while(t.logic.definitions.length>0)t.logic.extend(t.logic.definitions.shift());return t.logic.compile=function(e){const n=e.value.trim();let i=t.logic.tokenize.call(this,n);const r=t.logic.handler[i.type];return r.compile&&(i=r.compile.call(this,i),t.log.trace("Twig.logic.compile: ","Compiled logic token to ",i)),i},t.logic.tokenize=function(e){let n=null,i=null,r=null,s=null,o=null,a=null,l=null;for(n in e=e.trim(),t.logic.handler)if(Object.hasOwnProperty.call(t.logic.handler,n))for(i=t.logic.handler[n].type,r=t.logic.handler[n].regex,s=r,Array.isArray(r)||(s=[r]),o=s.length,a=0;a<o;a++)if(l=s[a].exec(e),null!==l)return t.log.trace("Twig.logic.tokenize: ","Matched a ",i," regular expression of ",l),{type:i,match:l};throw new t.Error("Unable to parse '"+e.trim()+"'")},t.logic.parse=function(e,n,i,r){return t.async.potentiallyAsync(this,r,(function(){t.log.debug("Twig.logic.parse: ","Parsing logic token ",e);const r=t.logic.handler[e.type];let s;const o=this;return r.parse?(o.nestingStack.unshift(e),s=r.parse.call(o,e,n||{},i),t.isPromise(s)?s=s.then((t=>(o.nestingStack.shift(),t))):o.nestingStack.shift(),s):""}))},t}},function(t,e,n){"use strict";t.exports=function(t){t.Templates.registerParser("source",(t=>t.data||""))}},function(t,e,n){"use strict";t.exports=function(t){t.Templates.registerParser("twig",(e=>new t.Template(e)))}},function(t,e,n){"use strict";t.exports=function(t){return t.path={},t.path.parsePath=function(e,n){let i=null;const{namespaces:r}=e.options;let s=n||"";const o=r&&"object"===typeof r;if(o)for(i in r){if(!s.includes(i))continue;const t=new RegExp("^"+i+"::"),e=new RegExp("^@"+i+"/"),n=r[i].replace(/([^/])$/,"$1/");if(t.test(s))return s=s.replace(t,n),s;if(e.test(s))return s=s.replace(e,n),s}return t.path.relativePath(e,s)},t.path.relativePath=function(e,i){let r,s,o="/";const a=[];let l,c=i||"";if(e.url)r="undefined"===typeof e.base?e.url:e.base.replace(/([^/])$/,"$1/");else if(e.path){const t=n(2),i=t.sep||o,s=new RegExp("^\\.{1,2}"+i.replace("\\","\\\\"));c=c.replace(/\//g,i),void 0!==e.base&&null===c.match(s)?(c=c.replace(e.base,""),r=e.base+i):r=t.normalize(e.path),r=r.replace(i+i,i),o=i}else{if(!e.name&&!e.id||!e.method||"fs"===e.method||"ajax"===e.method)throw new t.Error("Cannot extend an inline template.");r=e.base||e.name||e.id}s=r.split(o),s.pop(),s=s.concat(c.split(o));while(s.length>0)l=s.shift(),"."===l||(".."===l&&a.length>0&&".."!==a[a.length-1]?a.pop():a.push(l));return a.join(o)},t}},function(t,e,n){"use strict";t.exports=function(t){return t.tests={empty(t){if(null===t||void 0===t)return!0;if("number"===typeof t)return!1;if(t.length>0)return!1;for(const e in t)if(Object.hasOwnProperty.call(t,e))return!1;return!0},odd(t){return t%2===1},even(t){return t%2===0},divisibleby(t,e){return t%e[0]===0},defined(t){return void 0!==t},none(t){return null===t},null(t){return this.none(t)},"same as"(t,e){return t===e[0]},sameas(e,n){return console.warn("`sameas` is deprecated use `same as`"),t.tests["same as"](e,n)},iterable(e){return e&&(t.lib.is("Array",e)||t.lib.is("Object",e))}},t.test=function(e,n,i){if(!t.tests[e])throw t.Error("Test "+e+" is not defined.");return t.tests[e](n,i)},t.test.extend=function(e,n){t.tests[e]=n},t}},function(t,e,n){"use strict";t.exports=function(t){const e=0,n=1,i=2;function r(e,n,i){let r=i.call(e),s=null,o=!0;if(!t.isPromise(r))return r;if(r.then((t=>{r=t,o=!1})).catch((t=>{s=t})),null!==s)throw s;if(o)throw new t.Error("You are using Twig.js in sync mode in combination with async extensions.");return r}function s(t,e,n){try{t(e,n)}catch(i){n(i)}}function o(t,e,n){const i=[e,n,-2];return t?-2===t[2]?t=[t,i]:t.push(i):t=i,t}return t.ParseState.prototype.parseAsync=function(t,e){return this.parse(t,e,!0)},t.expression.parseAsync=function(e,n,i){const r=this;return t.expression.parse.call(r,e,n,i,!0)},t.logic.parseAsync=function(e,n,i){const r=this;return t.logic.parse.call(r,e,n,i,!0)},t.Template.prototype.renderAsync=function(t,e){return this.render(t,e,!0)},t.async={},t.isPromise=function(t){return t&&t.then&&"function"===typeof t.then},t.async.potentiallyAsync=function(e,n,i){return n?t.Promise.resolve(i.call(e)):r(e,n,i)},t.Thenable=function(t,n,i){this.then=t,this._value=i?n:null,this._state=i||e},t.Thenable.prototype.catch=function(t){return this._state===n?this:this.then(null,t)},t.Thenable.resolvedThen=function(e){try{return t.Promise.resolve(e(this._value))}catch(n){return t.Promise.reject(n)}},t.Thenable.rejectedThen=function(e,n){if(!n||"function"!==typeof n)return this;const i=this._value;let r;try{r=n(i)}catch(s){r=t.Promise.reject(s)}return t.Promise.resolve(r)},t.Promise=function(r){let o=e,a=null,l=function(t,e){o=t,a=e};function c(t){l(n,t)}function u(t){l(i,t)}return s(r,c,u),o===n?t.Promise.resolve(a):o===i?t.Promise.reject(a):(l=new t.FullPromise,l.promise)},t.FullPromise=function(){let e=null;function i(t){t(l._value)}function r(t,e){e(l._value)}let s=function(t,n){e=o(e,t,n)};function a(t,o){if(!l._state&&(l._value=o,l._state=t,s=t===n?i:r,e)){if(-2===e[2])return s(e[0],e[1]),void(e=null);e.forEach((t=>{s(t[0],t[1])})),e=null}}const l=new t.Thenable(((e,i)=>{const r="function"===typeof e;if(l._state===n&&!r)return t.Promise.resolve(l._value);if(l._state===n)try{return t.Promise.resolve(e(l._value))}catch(a){return t.Promise.reject(a)}const o="function"===typeof i;return new t.Promise(((t,n)=>{s(r?i=>{try{t(e(i))}catch(a){n(a)}}:t,o?e=>{try{t(i(e))}catch(a){n(a)}}:n)}))}));return a.promise=l,a},t.Promise.defaultResolved=new t.Thenable(t.Thenable.resolvedThen,void 0,n),t.Promise.emptyStringResolved=new t.Thenable(t.Thenable.resolvedThen,"",n),t.Promise.resolve=function(e){return 0===arguments.length||"undefined"===typeof e?t.Promise.defaultResolved:t.isPromise(e)?e:""===e?t.Promise.emptyStringResolved:new t.Thenable(t.Thenable.resolvedThen,e,n)},t.Promise.reject=function(e){return new t.Thenable(t.Thenable.rejectedThen,e,i)},t.Promise.all=function(e){const i=new Array(e.length);return t.async.forEach(e,((e,r)=>{if(t.isPromise(e)){if(e._state!==n)return e.then((t=>{i[r]=t}));i[r]=e._value}else i[r]=e})).then((()=>i))},t.async.forEach=function(e,i){const r=e?e.length:0;let s=0;function o(){let a=null;do{if(s===r)return t.Promise.resolve();a=i(e[s],s),s++}while(!a||!t.isPromise(a)||a._state===n);return a.then(o)}return o()},t}},function(t,e,n){"use strict";t.exports=function(t){return t.exports={VERSION:t.VERSION},t.exports.twig=function(e){const{id:n}=e,i={strictVariables:e.strict_variables||!1,autoescape:null!==e.autoescape&&e.autoescape||!1,allowInlineIncludes:e.allowInlineIncludes||!1,rethrow:e.rethrow||!1,namespaces:e.namespaces};if(t.cache&&n&&t.validateId(n),void 0!==e.debug&&(t.debug=e.debug),void 0!==e.trace&&(t.trace=e.trace),void 0!==e.data)return t.Templates.parsers.twig({data:e.data,path:Object.hasOwnProperty.call(e,"path")?e.path:void 0,module:e.module,id:n,options:i});if(void 0!==e.ref){if(void 0!==e.id)throw new t.Error("Both ref and id cannot be set on a twig.js template.");return t.Templates.load(e.ref)}if(void 0!==e.method){if(!t.Templates.isRegisteredLoader(e.method))throw new t.Error('Loader for "'+e.method+'" is not defined.');return t.Templates.loadRemote(e.name||e.href||e.path||n||void 0,{id:n,method:e.method,parser:e.parser||"twig",base:e.base,module:e.module,precompiled:e.precompiled,async:e.async,options:i},e.load,e.error)}return void 0!==e.href?t.Templates.loadRemote(e.href,{id:n,method:"ajax",parser:e.parser||"twig",base:e.base,module:e.module,precompiled:e.precompiled,async:e.async,options:i},e.load,e.error):void 0!==e.path?t.Templates.loadRemote(e.path,{id:n,method:"fs",parser:e.parser||"twig",base:e.base,module:e.module,precompiled:e.precompiled,async:e.async,options:i},e.load,e.error):void 0},t.exports.extendFilter=function(e,n){t.filter.extend(e,n)},t.exports.extendFunction=function(e,n){t._function.extend(e,n)},t.exports.extendTest=function(e,n){t.test.extend(e,n)},t.exports.extendTag=function(e){t.logic.extend(e)},t.exports.extend=function(e){e(t)},t.exports.compile=function(e,n){const i=n.filename,r=n.filename,s=new t.Template({data:e,path:r,id:i,options:n.settings["twig options"]});return function(t){return s.render(t)}},t.exports.renderFile=function(e,n,i){"function"===typeof n&&(i=n,n={}),n=n||{};const r=n.settings||{},s=r["twig options"],o={path:e,base:r.views,load(t){s&&s.allowAsync?t.renderAsync(n).then((t=>i(null,t)),i):i(null,String(t.render(n)))},error(t){i(t)}};if(s)for(const t in s)Object.hasOwnProperty.call(s,t)&&(o[t]=s[t]);t.exports.twig(o)},t.exports.__express=t.exports.renderFile,t.exports.cache=function(e){t.cache=e},t.exports.path=t.path,t.exports.filters=t.filters,t.exports.tests=t.tests,t.exports.functions=t.functions,t.exports.Promise=t.Promise,t}}])}))},8773:(t,e,n)=>{"use strict";var i;n.d(e,{Z:()=>p});var r=new Uint8Array(16);function s(){if(!i&&(i="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(r)}for(var o=n(68697),a=[],l=0;l<256;++l)a.push((l+256).toString(16).substr(1));function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(a[t[e+0]]+a[t[e+1]]+a[t[e+2]]+a[t[e+3]]+"-"+a[t[e+4]]+a[t[e+5]]+"-"+a[t[e+6]]+a[t[e+7]]+"-"+a[t[e+8]]+a[t[e+9]]+"-"+a[t[e+10]]+a[t[e+11]]+a[t[e+12]]+a[t[e+13]]+a[t[e+14]]+a[t[e+15]]).toLowerCase();if(!(0,o.Z)(n))throw TypeError("Stringified UUID is invalid");return n}const u=c;function h(t,e,n){t=t||{};var i=t.random||(t.rng||s)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var r=0;r<16;++r)e[n+r]=i[r];return e}return u(i)}const p=h},68697:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});const i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r(t){return"string"===typeof t&&i.test(t)}const s=r},45904:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>$,tA:()=>m,yh:()=>O});var i=n(20144);
/**
* vue-class-component v7.2.3
* (c) 2015-present Evan You
* @license MIT
*/function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){return a(t)||l(t)||c()}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function h(t,e){p(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(n){p(t.prototype,e.prototype,n)})),Object.getOwnPropertyNames(e).forEach((function(n){p(t,e,n)}))}function p(t,e,n){var i=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);i.forEach((function(i){var r=n?Reflect.getOwnMetadata(i,e,n):Reflect.getOwnMetadata(i,e);n?Reflect.defineMetadata(i,r,t,n):Reflect.defineMetadata(i,r,t)}))}var d={__proto__:[]},f=d instanceof Array;function O(t){return function(e,n,i){var r="function"===typeof e?e:e.constructor;r.__decorators__||(r.__decorators__=[]),"number"!==typeof i&&(i=void 0),r.__decorators__.push((function(e){return t(e,n,i)}))}}function m(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.ZP.extend({mixins:e})}function g(t){var e=r(t);return null==t||"object"!==e&&"function"!==e}function v(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var i=new e;e.prototype._init=n;var r={};return Object.keys(i).forEach((function(t){void 0!==i[t]&&(r[t]=i[t])})),r}var y=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(y.indexOf(t)>-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"===typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){return s({},t,i.value)}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return v(this,t)}});var r=t.__decorators__;r&&(r.forEach((function(t){return t(e)})),delete t.__decorators__);var o=Object.getPrototypeOf(t.prototype),a=o instanceof i.ZP?o.constructor:i.ZP,l=a.extend(e);return x(l,t,a),u()&&h(l,t),l}var _={prototype:!0,arguments:!0,callee:!0,caller:!0};function x(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if(!_[i]){var r=Object.getOwnPropertyDescriptor(t,i);if(!r||r.configurable){var s=Object.getOwnPropertyDescriptor(e,i);if(!f){if("cid"===i)return;var o=Object.getOwnPropertyDescriptor(n,i);if(!g(s.value)&&o&&o.value===s.value)return}0,Object.defineProperty(t,i,s)}}}))}function w(t){return"function"===typeof t?b(t):function(e){return b(e,t)}}w.registerHooks=function(t){y.push.apply(y,o(t))};const $=w},94023:function(t,e,n){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=59)}([function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var s=i(r);return[n].concat(r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}))).concat([s]).join("\n")}return[n].join("\n")}function i(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var s=this[r][0];"number"==typeof s&&(i[s]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"==typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},function(t,e,n){function i(t){for(var e=0;e<t.length;e++){var n=t[e],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(s(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(s(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:o}}}}function r(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function s(t){var e,n,i=document.querySelector("style["+g+'~="'+t.id+'"]');if(i){if(f)return O;i.parentNode.removeChild(i)}if(v){var s=d++;i=p||(p=r()),e=o.bind(null,i,s,!1),n=o.bind(null,i,s,!0)}else i=r(),e=a.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}function o(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var s=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function a(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),m.ssrId&&t.setAttribute(g,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)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 c=n(63),u={},h=l&&(document.head||document.getElementsByTagName("head")[0]),p=null,d=0,f=!1,O=function(){},m=null,g="data-vue-ssr-id",v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n,r){f=n,m=r||{};var s=c(t,e);return i(s),function(e){for(var n=[],r=0;r<s.length;r++){var o=s[r],a=u[o.id];a.refs--,n.push(a)}e?(s=c(t,e),i(s)):s=[];for(r=0;r<n.length;r++){a=n[r];if(0===a.refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete u[a.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e,n,i,r,s){var o,a=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(o=t,a=t.default);var c,u="function"==typeof a?a.options:a;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=i),c){var h=u.functional,p=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),p(t,e)}):u.beforeCreate=p?[].concat(p,c):[c]}return{esModule:o,exports:a,options:u}}},function(t,e,n){"use strict";function i(t,e){var n,i=t&&t.a;!(n=t&&t.hsl?(0,s.default)(t.hsl):t&&t.hex&&t.hex.length>0?(0,s.default)(t.hex):t&&t.hsv?(0,s.default)(t.hsv):t&&t.rgba?(0,s.default)(t.rgba):t&&t.rgb?(0,s.default)(t.rgb):(0,s.default)(t))||void 0!==n._a&&null!==n._a||n.setAlpha(i||1);var r=n.toHsl(),o=n.toHsv();return 0===r.s&&(o.h=r.h=t.h||t.hsl&&t.hsl.h||e||0),{hsl:r,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:o,oldHue:t.h||e||r.h,source:t.source,a:t.a||n.getAlpha()}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(64),s=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={props:["value"],data:function(){return{val:i(this.value)}},computed:{colors:{get:function(){return this.val},set:function(t){this.val=t,this.$emit("input",t)}}},watch:{value:function(t){this.val=i(t)}},methods:{colorChange:function(t,e){this.oldHue=this.colors.hsl.h,this.colors=i(t,e||this.oldHue)},isValidHex:function(t){return(0,s.default)(t).isValid()},simpleCheckForValidColor:function(t){for(var e=["r","g","b","a","h","s","l","v"],n=0,i=0,r=0;r<e.length;r++){var s=e[r];t[s]&&(n++,isNaN(t[s])||i++)}if(n===i)return t},paletteUpperCase:function(t){return t.map((function(t){return t.toUpperCase()}))},isTransparent:function(t){return 0===(0,s.default)(t).getAlpha()}}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";function i(t){l||n(65)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(36),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(67),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/common/EditableInput.vue",e.default=h.exports},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(8),r=n(16);t.exports=n(9)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(13),r=n(42),s=n(25),o=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(i(t),e=s(e,!0),i(n),r)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(89),r=n(22);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(29)("wks"),r=n(17),s=n(4).Symbol,o="function"==typeof s;(t.exports=function(t){return i[t]||(i[t]=o&&s[t]||(o?s:r)("Symbol."+t))}).store=i},function(t,e,n){"use strict";function i(t){l||n(111)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(50),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(113),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/common/Hue.vue",e.default=h.exports},function(t,e,n){var i=n(14);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){"use strict";function i(t){l||n(123)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(53),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(127),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/common/Saturation.vue",e.default=h.exports},function(t,e,n){"use strict";function i(t){l||n(128)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(54),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(133),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/common/Alpha.vue",e.default=h.exports},function(t,e,n){"use strict";function i(t){l||n(130)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(55),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(132),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/common/Checkboard.vue",e.default=h.exports},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!0},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(14);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports={}},function(t,e,n){var i=n(46),r=n(30);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(29)("keys"),r=n(17);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(4),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(8).f,r=n(6),s=n(11)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},function(t,e,n){e.f=n(11)},function(t,e,n){var i=n(4),r=n(24),s=n(23),o=n(32),a=n(8).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=s?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:o.f(t)})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),s=i(r),o=n(5),a=i(o),l=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];e.default={name:"Compact",mixins:[s.default],props:{palette:{type:Array,default:function(){return l}}},components:{"ed-in":a.default},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(t){this.colorChange({hex:t,source:"hex"})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get:function(){return this.value},set:function(t){if(!(void 0!==this.max&&+t>this.max))return t;this.$refs.input.value=this.max}},labelId:function(){return"input__label__"+this.label+"__"+Math.random().toString().slice(2,5)},labelSpanText:function(){return this.labelText||this.label}},methods:{update:function(t){this.handleChange(t.target.value)},handleChange:function(t){var e={};e[this.label]=t,(void 0===e.hex&&void 0===e["#"]||t.length>5)&&this.$emit("change",e)},handleKeyDown:function(t){var e=this.val,n=Number(e);if(n){var i=this.arrowOffset||1;38===t.keyCode&&(e=n+i,this.handleChange(e),t.preventDefault()),40===t.keyCode&&(e=n-i,this.handleChange(e),t.preventDefault())}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),r=function(t){return t&&t.__esModule?t:{default:t}}(i),s=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];e.default={name:"Grayscale",mixins:[r.default],props:{palette:{type:Array,default:function(){return s}}},components:{},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(t){this.colorChange({hex:t,source:"hex"})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),s=i(r),o=n(3),a=i(o);e.default={name:"Material",mixins:[a.default],components:{"ed-in":s.default},methods:{onChange:function(t){t&&(t.hex?this.isValidHex(t.hex)&&this.colorChange({hex:t.hex,source:"hex"}):(t.r||t.g||t.b)&&this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"}))}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(80),s=i(r),o=n(3),a=i(o),l=n(12),c=i(l);e.default={name:"Slider",mixins:[a.default],props:{swatches:{type:Array,default:function(){return[{s:.5,l:.8},{s:.5,l:.65},{s:.5,l:.5},{s:.5,l:.35},{s:.5,l:.2}]}}},components:{hue:c.default},computed:{normalizedSwatches:function(){return this.swatches.map((function(t){return"object"!==(void 0===t?"undefined":(0,s.default)(t))?{s:.5,l:t}:t}))}},methods:{isActive:function(t,e){var n=this.colors.hsl;return 1===n.l&&1===t.l||0===n.l&&0===t.l||Math.abs(n.l-t.l)<.01&&Math.abs(n.s-t.s)<.01},hueChange:function(t){this.colorChange(t)},handleSwClick:function(t,e){this.colorChange({h:this.colors.hsl.h,s:e.s,l:e.l,source:"hsl"})}}}},function(t,e,n){"use strict";var i=n(23),r=n(41),s=n(44),o=n(7),a=n(6),l=n(26),c=n(87),u=n(31),h=n(94),p=n(11)("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,O,m,g,v){c(n,e,O);var y,b,_,x=function(t){if(!d&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",$="values"==m,S=!1,k=t.prototype,Q=k[p]||k["@@iterator"]||m&&k[m],T=Q||x(m),P=m?$?x("entries"):T:void 0,C="Array"==e&&k.entries||Q;if(C&&(_=h(C.call(new t)))!==Object.prototype&&_.next&&(u(_,w,!0),i||a(_,p)||o(_,p,f)),$&&Q&&"values"!==Q.name&&(S=!0,T=function(){return Q.call(this)}),i&&!v||!d&&!S&&k[p]||o(k,p,T),l[e]=T,l[w]=f,m)if(y={values:$?T:x("values"),keys:g?T:x("keys"),entries:P},v)for(b in y)b in k||s(k,b,y[b]);else r(r.P+r.F*(d||S),e,y);return y}},function(t,e,n){var i=n(4),r=n(24),s=n(85),o=n(7),a=function(t,e,n){var l,c,u,h=t&a.F,p=t&a.G,d=t&a.S,f=t&a.P,O=t&a.B,m=t&a.W,g=p?r:r[e]||(r[e]={}),v=g.prototype,y=p?i:d?i[e]:(i[e]||{}).prototype;for(l in p&&(n=e),n)(c=!h&&y&&void 0!==y[l])&&l in g||(u=c?y[l]:n[l],g[l]=p&&"function"!=typeof y[l]?n[l]:O&&c?s(u,i):m&&y[l]==u?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(u):f&&"function"==typeof u?s(Function.call,u):u,f&&((g.virtual||(g.virtual={}))[l]=u,t&a.R&&v&&!v[l]&&o(v,l,u)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){t.exports=!n(9)&&!n(15)((function(){return 7!=Object.defineProperty(n(43)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(14),r=n(4).document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},function(t,e,n){t.exports=n(7)},function(t,e,n){var i=n(13),r=n(88),s=n(30),o=n(28)("IE_PROTO"),a=function(){},l=function(){var t,e=n(43)("iframe"),i=s.length;for(e.style.display="none",n(93).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l.prototype[s[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[o]=t):n=l(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(6),r=n(10),s=n(90)(!1),o=n(28)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),l=0,c=[];for(n in a)n!=o&&i(a,n)&&c.push(n);for(;e.length>l;)i(a,n=e[l++])&&(~s(c,n)||c.push(n));return c}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(46),r=n(30).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:function(){return{oldHue:0,pullDirection:""}},computed:{colors:function(){var t=this.value.hsl.h;return 0!==t&&t-this.oldHue>0&&(this.pullDirection="right"),0!==t&&t-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=t,this.value},directionClass:function(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop:function(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft:function(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange:function(t,e){!e&&t.preventDefault();var n=this.$refs.container;if(n){var i,r,s=n.clientWidth,o=n.clientHeight,a=n.getBoundingClientRect().left+window.pageXOffset,l=n.getBoundingClientRect().top+window.pageYOffset,c=t.pageX||(t.touches?t.touches[0].pageX:0),u=t.pageY||(t.touches?t.touches[0].pageY:0),h=c-a,p=u-l;"vertical"===this.direction?(p<0?i=360:p>o?i=0:(r=-100*p/o+100,i=360*r/100),this.colors.hsl.h!==i&&this.$emit("change",{h:i,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(h<0?i=0:h>s?i=360:(r=100*h/s,i=360*r/100),this.colors.hsl.h!==i&&this.$emit("change",{h:i,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))}},handleMouseDown:function(t){this.handleChange(t,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(t){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(118),s=i(r),o=n(3),a=i(o),l=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],c=["900","700","500","300","100"],u=function(){var t=[];return l.forEach((function(e){var n=[];"black"===e.toLowerCase()||"white"===e.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):c.forEach((function(t){var i=s.default[e][t];n.push(i.toUpperCase())})),t.push(n)})),t}();e.default={name:"Swatches",mixins:[a.default],props:{palette:{type:Array,default:function(){return u}}},computed:{pick:function(){return this.colors.hex}},methods:{equal:function(t){return t.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(t){this.colorChange({hex:t,source:"hex"})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),s=i(r),o=n(5),a=i(o),l=n(18),c=i(l),u=n(12),h=i(u),p=n(19),d=i(p);e.default={name:"Photoshop",mixins:[s.default],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},components:{saturation:c.default,hue:h.default,alpha:d.default,"ed-in":a.default},data:function(){return{currentColor:"#FFF"}},computed:{hsv:function(){var t=this.colors.hsv;return{h:t.h.toFixed(),s:(100*t.s).toFixed(),v:(100*t.v).toFixed()}},hex:function(){var t=this.colors.hex;return t&&t.replace("#","")}},created:function(){this.currentColor=this.colors.hex},methods:{childChange:function(t){this.colorChange(t)},inputChange:function(t){t&&(t["#"]?this.isValidHex(t["#"])&&this.colorChange({hex:t["#"],source:"hex"}):t.r||t.g||t.b||t.a?this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"}):(t.h||t.s||t.v)&&this.colorChange({h:t.h||this.colors.hsv.h,s:t.s/100||this.colors.hsv.s,v:t.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor:function(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept:function(){this.$emit("ok")},handleCancel:function(){this.$emit("cancel")},handleReset:function(){this.$emit("reset")}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(125),s=i(r),o=n(126),a=i(o);e.default={name:"Saturation",props:{value:Object},computed:{colors:function(){return this.value},bgColor:function(){return"hsl("+this.colors.hsv.h+", 100%, 50%)"},pointerTop:function(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft:function(){return 100*this.colors.hsv.s+"%"}},beforeDestroy:function(){this.unbindEventListeners()},methods:{throttle:(0,a.default)((function(t,e){t(e)}),20,{leading:!0,trailing:!1}),handleChange:function(t,e){!e&&t.preventDefault();var n=this.$refs.container;if(n){var i=n.clientWidth,r=n.clientHeight,o=n.getBoundingClientRect().left+window.pageXOffset,a=n.getBoundingClientRect().top+window.pageYOffset,l=t.pageX||(t.touches?t.touches[0].pageX:0),c=t.pageY||(t.touches?t.touches[0].pageY:0),u=(0,s.default)(l-o,0,i),h=(0,s.default)(c-a,0,r),p=u/i,d=(0,s.default)(-h/r+1,0,1);this.throttle(this.onChange,{h:this.colors.hsv.h,s:p,v:d,a:this.colors.hsv.a,source:"hsva"})}},onChange:function(t){this.$emit("change",t)},handleMouseDown:function(t){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(t){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(20),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"Alpha",props:{value:Object,onChange:Function},components:{checkboard:r.default},computed:{colors:function(){return this.value},gradientColor:function(){var t=this.colors.rgba,e=[t.r,t.g,t.b].join(",");return"linear-gradient(to right, rgba("+e+", 0) 0%, rgba("+e+", 1) 100%)"}},methods:{handleChange:function(t,e){!e&&t.preventDefault();var n=this.$refs.container;if(n){var i,r=n.clientWidth,s=n.getBoundingClientRect().left+window.pageXOffset,o=t.pageX||(t.touches?t.touches[0].pageX:0),a=o-s;i=a<0?0:a>r?1:Math.round(100*a/r)/100,this.colors.a!==i&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:i,source:"rgba"})}},handleMouseDown:function(t){this.handleChange(t,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(t,e,n){"use strict";function i(t,e,n){if("undefined"==typeof document)return null;var i=document.createElement("canvas");i.width=i.height=2*n;var r=i.getContext("2d");return r?(r.fillStyle=t,r.fillRect(0,0,i.width,i.height),r.fillStyle=e,r.fillRect(0,0,n,n),r.translate(n,n),r.fillRect(0,0,n,n),i.toDataURL()):null}function r(t,e,n){var r=t+","+e+","+n;if(s[r])return s[r];var o=i(t,e,n);return s[r]=o,o}Object.defineProperty(e,"__esModule",{value:!0});var s={};e.default={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle:function(){return{"background-image":"url("+r(this.white,this.grey,this.size)+")"}}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),s=i(r),o=n(5),a=i(o),l=n(18),c=i(l),u=n(12),h=i(u),p=n(19),d=i(p),f=n(20),O=i(f),m=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];e.default={name:"Sketch",mixins:[s.default],components:{saturation:c.default,hue:h.default,alpha:d.default,"ed-in":a.default,checkboard:O.default},props:{presetColors:{type:Array,default:function(){return m}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex:function(){var t=void 0;return t=this.colors.a<1?this.colors.hex8:this.colors.hex,t.replace("#","")},activeColor:function(){var t=this.colors.rgba;return"rgba("+[t.r,t.g,t.b,t.a].join(",")+")"}},methods:{handlePreset:function(t){this.colorChange({hex:t,source:"hex"})},childChange:function(t){this.colorChange(t)},inputChange:function(t){t&&(t.hex?this.isValidHex(t.hex)&&this.colorChange({hex:t.hex,source:"hex"}):(t.r||t.g||t.b||t.a)&&this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"}))}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),s=i(r),o=n(5),a=i(o),l=n(18),c=i(l),u=n(12),h=i(u),p=n(19),d=i(p),f=n(20),O=i(f);e.default={name:"Chrome",mixins:[s.default],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:c.default,hue:h.default,alpha:d.default,"ed-in":a.default,checkboard:O.default},data:function(){return{fieldsIndex:0,highlight:!1}},computed:{hsl:function(){var t=this.colors.hsl,e=t.h,n=t.s,i=t.l;return{h:e.toFixed(),s:(100*n).toFixed()+"%",l:(100*i).toFixed()+"%"}},activeColor:function(){var t=this.colors.rgba;return"rgba("+[t.r,t.g,t.b,t.a].join(",")+")"},hasAlpha:function(){return this.colors.a<1}},methods:{childChange:function(t){this.colorChange(t)},inputChange:function(t){if(t)if(t.hex)this.isValidHex(t.hex)&&this.colorChange({hex:t.hex,source:"hex"});else if(t.r||t.g||t.b||t.a)this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"});else if(t.h||t.s||t.l){var e=t.s?t.s.replace("%","")/100:this.colors.hsl.s,n=t.l?t.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:t.h||this.colors.hsl.h,s:e,l:n,source:"hsl"})}},toggleViews:function(){this.fieldsIndex>=2?this.fieldsIndex=0:this.fieldsIndex++},showHighlight:function(){this.highlight=!0},hideHighlight:function(){this.highlight=!1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),s=i(r),o=n(3),a=i(o),l=["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"];e.default={name:"Twitter",mixins:[a.default],components:{editableInput:s.default},props:{width:{type:[String,Number],default:276},defaultColors:{type:Array,default:function(){return l}},triangle:{default:"top-left",validator:function(t){return["hide","top-left","top-right"].includes(t)}}},computed:{hsv:function(){var t=this.colors.hsv;return{h:t.h.toFixed(),s:(100*t.s).toFixed(),v:(100*t.v).toFixed()}},hex:function(){var t=this.colors.hex;return t&&t.replace("#","")}},methods:{equal:function(t){return t.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(t){this.colorChange({hex:t,source:"hex"})},inputChange:function(t){t&&(t["#"]?this.isValidHex(t["#"])&&this.colorChange({hex:t["#"],source:"hex"}):t.r||t.g||t.b||t.a?this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"}):(t.h||t.s||t.v)&&this.colorChange({h:t.h||this.colors.hsv.h,s:t.s/100||this.colors.hsv.s,v:t.v/100||this.colors.hsv.v,source:"hsv"}))}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var r=n(60),s=i(r),o=n(69),a=i(o),l=n(73),c=i(l),u=n(77),h=i(u),p=n(115),d=i(p),f=n(120),O=i(f),m=n(135),g=i(m),v=n(139),y=i(v),b=n(143),_=i(b),x=n(19),w=i(x),$=n(20),S=i($),k=n(5),Q=i(k),T=n(12),P=i(T),C=n(18),A=i(C),E=n(3),R=i(E),M={version:"2.8.1",Compact:s.default,Grayscale:a.default,Twitter:_.default,Material:c.default,Slider:h.default,Swatches:d.default,Photoshop:O.default,Sketch:g.default,Chrome:y.default,Alpha:w.default,Checkboard:S.default,EditableInput:Q.default,Hue:P.default,Saturation:A.default,ColorMixin:R.default};t.exports=M},function(t,e,n){"use strict";function i(t){l||n(61)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(35),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(68),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Compact.vue",e.default=h.exports},function(t,e,n){var i=n(62);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("6ce8a5a8",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-compact {\n padding-top: 5px;\n padding-left: 5px;\n width: 245px;\n border-radius: 2px;\n box-sizing: border-box;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-compact-colors {\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-compact-color-item {\n list-style: none;\n width: 15px;\n height: 15px;\n float: left;\n margin-right: 5px;\n margin-bottom: 5px;\n position: relative;\n cursor: pointer;\n}\n.vc-compact-color-item--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-compact-color-item--white .vc-compact-dot {\n background: #000;\n}\n.vc-compact-dot {\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var s=e[r],o=s[0],a=s[1],l=s[2],c=s[3],u={id:t+":"+r,css:a,media:l,sourceMap:c};i[o]?i[o].parts.push(u):n.push(i[o]={id:o,parts:[u]})}return n}},function(t,e,n){var i;!function(r){function s(t,e){if(t=t||"",e=e||{},t instanceof s)return t;if(!(this instanceof s))return new s(t,e);var n=o(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=N(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=N(this._r)),this._g<1&&(this._g=N(this._g)),this._b<1&&(this._b=N(this._b)),this._ok=n.ok,this._tc_id=I++}function o(t){var e={r:0,g:0,b:0},n=1,i=null,r=null,s=null,o=!1,l=!1;return"string"==typeof t&&(t=V(t)),"object"==typeof t&&(Z(t.r)&&Z(t.g)&&Z(t.b)?(e=a(t.r,t.g,t.b),o=!0,l="%"===String(t.r).substr(-1)?"prgb":"rgb"):Z(t.h)&&Z(t.s)&&Z(t.v)?(i=D(t.s),r=D(t.v),e=h(t.h,i,r),o=!0,l="hsv"):Z(t.h)&&Z(t.s)&&Z(t.l)&&(i=D(t.s),s=D(t.l),e=c(t.h,i,s),o=!0,l="hsl"),t.hasOwnProperty("a")&&(n=t.a)),n=T(n),{ok:o,format:t.format||l,r:L(255,B(e.r,0)),g:L(255,B(e.g,0)),b:L(255,B(e.b,0)),a:n}}function a(t,e,n){return{r:255*P(t,255),g:255*P(e,255),b:255*P(n,255)}}function l(t,e,n){t=P(t,255),e=P(e,255),n=P(n,255);var i,r,s=B(t,e,n),o=L(t,e,n),a=(s+o)/2;if(s==o)i=r=0;else{var l=s-o;switch(r=a>.5?l/(2-s-o):l/(s+o),s){case t:i=(e-n)/l+(e<n?6:0);break;case e:i=(n-t)/l+2;break;case n:i=(t-e)/l+4}i/=6}return{h:i,s:r,l:a}}function c(t,e,n){function i(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var r,s,o;if(t=P(t,360),e=P(e,100),n=P(n,100),0===e)r=s=o=n;else{var a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;r=i(l,a,t+1/3),s=i(l,a,t),o=i(l,a,t-1/3)}return{r:255*r,g:255*s,b:255*o}}function u(t,e,n){t=P(t,255),e=P(e,255),n=P(n,255);var i,r,s=B(t,e,n),o=L(t,e,n),a=s,l=s-o;if(r=0===s?0:l/s,s==o)i=0;else{switch(s){case t:i=(e-n)/l+(e<n?6:0);break;case e:i=(n-t)/l+2;break;case n:i=(t-e)/l+4}i/=6}return{h:i,s:r,v:a}}function h(t,e,n){t=6*P(t,360),e=P(e,100),n=P(n,100);var i=r.floor(t),s=t-i,o=n*(1-e),a=n*(1-s*e),l=n*(1-(1-s)*e),c=i%6;return{r:255*[n,a,o,o,l,n][c],g:255*[l,n,n,a,o,o][c],b:255*[o,o,l,n,n,a][c]}}function p(t,e,n,i){var r=[M(N(t).toString(16)),M(N(e).toString(16)),M(N(n).toString(16))];return i&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function d(t,e,n,i,r){var s=[M(N(t).toString(16)),M(N(e).toString(16)),M(N(n).toString(16)),M(z(i))];return r&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)&&s[3].charAt(0)==s[3].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function f(t,e,n,i){return[M(z(i)),M(N(t).toString(16)),M(N(e).toString(16)),M(N(n).toString(16))].join("")}function O(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.s-=e/100,n.s=C(n.s),s(n)}function m(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.s+=e/100,n.s=C(n.s),s(n)}function g(t){return s(t).desaturate(100)}function v(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.l+=e/100,n.l=C(n.l),s(n)}function y(t,e){e=0===e?0:e||10;var n=s(t).toRgb();return n.r=B(0,L(255,n.r-N(-e/100*255))),n.g=B(0,L(255,n.g-N(-e/100*255))),n.b=B(0,L(255,n.b-N(-e/100*255))),s(n)}function b(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.l-=e/100,n.l=C(n.l),s(n)}function _(t,e){var n=s(t).toHsl(),i=(n.h+e)%360;return n.h=i<0?360+i:i,s(n)}function x(t){var e=s(t).toHsl();return e.h=(e.h+180)%360,s(e)}function w(t){var e=s(t).toHsl(),n=e.h;return[s(t),s({h:(n+120)%360,s:e.s,l:e.l}),s({h:(n+240)%360,s:e.s,l:e.l})]}function $(t){var e=s(t).toHsl(),n=e.h;return[s(t),s({h:(n+90)%360,s:e.s,l:e.l}),s({h:(n+180)%360,s:e.s,l:e.l}),s({h:(n+270)%360,s:e.s,l:e.l})]}function S(t){var e=s(t).toHsl(),n=e.h;return[s(t),s({h:(n+72)%360,s:e.s,l:e.l}),s({h:(n+216)%360,s:e.s,l:e.l})]}function k(t,e,n){e=e||6,n=n||30;var i=s(t).toHsl(),r=360/n,o=[s(t)];for(i.h=(i.h-(r*e>>1)+720)%360;--e;)i.h=(i.h+r)%360,o.push(s(i));return o}function Q(t,e){e=e||6;for(var n=s(t).toHsv(),i=n.h,r=n.s,o=n.v,a=[],l=1/e;e--;)a.push(s({h:i,s:r,v:o})),o=(o+l)%1;return a}function T(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function P(t,e){E(t)&&(t="100%");var n=R(t);return t=L(e,B(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),r.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function C(t){return L(1,B(0,t))}function A(t){return parseInt(t,16)}function E(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)}function R(t){return"string"==typeof t&&-1!=t.indexOf("%")}function M(t){return 1==t.length?"0"+t:""+t}function D(t){return t<=1&&(t=100*t+"%"),t}function z(t){return r.round(255*parseFloat(t)).toString(16)}function j(t){return A(t)/255}function Z(t){return!!G.CSS_UNIT.exec(t)}function V(t){t=t.replace(W,"").replace(q,"").toLowerCase();var e,n=!1;if(Y[t])t=Y[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=G.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=G.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=G.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=G.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=G.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=G.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=G.hex8.exec(t))?{r:A(e[1]),g:A(e[2]),b:A(e[3]),a:j(e[4]),format:n?"name":"hex8"}:(e=G.hex6.exec(t))?{r:A(e[1]),g:A(e[2]),b:A(e[3]),format:n?"name":"hex"}:(e=G.hex4.exec(t))?{r:A(e[1]+""+e[1]),g:A(e[2]+""+e[2]),b:A(e[3]+""+e[3]),a:j(e[4]+""+e[4]),format:n?"name":"hex8"}:!!(e=G.hex3.exec(t))&&{r:A(e[1]+""+e[1]),g:A(e[2]+""+e[2]),b:A(e[3]+""+e[3]),format:n?"name":"hex"}}function X(t){var e,n;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:e,size:n}}var W=/^\s+/,q=/\s+$/,I=0,N=r.round,L=r.min,B=r.max,U=r.random;s.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,i,s,o,a=this.toRgb();return t=a.r/255,e=a.g/255,n=a.b/255,i=t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4),s=e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4),o=n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4),.2126*i+.7152*s+.0722*o},setAlpha:function(t){return this._a=T(t),this._roundA=N(100*this._a)/100,this},toHsv:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=u(this._r,this._g,this._b),e=N(360*t.h),n=N(100*t.s),i=N(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+i+"%)":"hsva("+e+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=l(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=l(this._r,this._g,this._b),e=N(360*t.h),n=N(100*t.s),i=N(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+i+"%)":"hsla("+e+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return p(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return d(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:N(this._r),g:N(this._g),b:N(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+N(this._r)+", "+N(this._g)+", "+N(this._b)+")":"rgba("+N(this._r)+", "+N(this._g)+", "+N(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:N(100*P(this._r,255))+"%",g:N(100*P(this._g,255))+"%",b:N(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+N(100*P(this._r,255))+"%, "+N(100*P(this._g,255))+"%, "+N(100*P(this._b,255))+"%)":"rgba("+N(100*P(this._r,255))+"%, "+N(100*P(this._g,255))+"%, "+N(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(F[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+f(this._r,this._g,this._b,this._a),n=e,i=this._gradientType?"GradientType = 1, ":"";if(t){var r=s(t);n="#"+f(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,i=this._a<1&&this._a>=0;return e||!i||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return s(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(O,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(Q,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination($,arguments)}},s.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]="a"===i?t[i]:D(t[i]));t=n}return s(t,e)},s.equals=function(t,e){return!(!t||!e)&&s(t).toRgbString()==s(e).toRgbString()},s.random=function(){return s.fromRatio({r:U(),g:U(),b:U()})},s.mix=function(t,e,n){n=0===n?0:n||50;var i=s(t).toRgb(),r=s(e).toRgb(),o=n/100;return s({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},s.readability=function(t,e){var n=s(t),i=s(e);return(r.max(n.getLuminance(),i.getLuminance())+.05)/(r.min(n.getLuminance(),i.getLuminance())+.05)},s.isReadable=function(t,e,n){var i,r,o=s.readability(t,e);switch(r=!1,i=X(n),i.level+i.size){case"AAsmall":case"AAAlarge":r=o>=4.5;break;case"AAlarge":r=o>=3;break;case"AAAsmall":r=o>=7}return r},s.mostReadable=function(t,e,n){var i,r,o,a,l=null,c=0;n=n||{},r=n.includeFallbackColors,o=n.level,a=n.size;for(var u=0;u<e.length;u++)(i=s.readability(t,e[u]))>c&&(c=i,l=s(e[u]));return s.isReadable(t,l,{level:o,size:a})||!r?l:(n.includeFallbackColors=!1,s.mostReadable(t,["#fff","#000"],n))};var Y=s.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=s.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(Y),G=function(){var t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",e="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",n="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+e),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+e),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+e),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==t&&t.exports?t.exports=s:void 0!==(i=function(){return s}.call(e,n,e,t))&&(t.exports=i)}(Math)},function(t,e,n){var i=n(66);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("0f73e73c",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-editable-input {\n position: relative;\n}\n.vc-input__input {\n padding: 0;\n border: 0;\n outline: none;\n}\n.vc-input__label {\n text-transform: capitalize;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-editable-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],ref:"input",staticClass:"vc-input__input",attrs:{"aria-labelledby":t.labelId},domProps:{value:t.val},on:{keydown:t.handleKeyDown,input:[function(e){e.target.composing||(t.val=e.target.value)},t.update]}}),t._v(" "),n("span",{staticClass:"vc-input__label",attrs:{for:t.label,id:t.labelId}},[t._v(t._s(t.labelSpanText))]),t._v(" "),n("span",{staticClass:"vc-input__desc"},[t._v(t._s(t.desc))])])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-compact",attrs:{role:"application","aria-label":"Compact color picker"}},[n("ul",{staticClass:"vc-compact-colors",attrs:{role:"listbox"}},t._l(t.paletteUpperCase(t.palette),(function(e){return n("li",{key:e,staticClass:"vc-compact-color-item",class:{"vc-compact-color-item--white":"#FFFFFF"===e},style:{background:e},attrs:{role:"option","aria-label":"color:"+e,"aria-selected":e===t.pick},on:{click:function(n){t.handlerClick(e)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e===t.pick,expression:"c === pick"}],staticClass:"vc-compact-dot"})])})))])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(70)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(37),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(72),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Grayscale.vue",e.default=h.exports},function(t,e,n){var i=n(71);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("21ddbb74",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-grayscale {\n width: 125px;\n border-radius: 2px;\n box-shadow: 0 2px 15px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-grayscale-colors {\n border-radius: 2px;\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-grayscale-color-item {\n list-style: none;\n width: 25px;\n height: 25px;\n float: left;\n position: relative;\n cursor: pointer;\n}\n.vc-grayscale-color-item--white .vc-grayscale-dot {\n background: #000;\n}\n.vc-grayscale-dot {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 6px;\n height: 6px;\n margin: -3px 0 0 -2px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-grayscale",attrs:{role:"application","aria-label":"Grayscale color picker"}},[n("ul",{staticClass:"vc-grayscale-colors",attrs:{role:"listbox"}},t._l(t.paletteUpperCase(t.palette),(function(e){return n("li",{key:e,staticClass:"vc-grayscale-color-item",class:{"vc-grayscale-color-item--white":"#FFFFFF"==e},style:{background:e},attrs:{role:"option","aria-label":"Color:"+e,"aria-selected":e===t.pick},on:{click:function(n){t.handlerClick(e)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e===t.pick,expression:"c === pick"}],staticClass:"vc-grayscale-dot"})])})))])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(74)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(38),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(76),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Material.vue",e.default=h.exports},function(t,e,n){var i=n(75);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("1ff3af73",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,'\n.vc-material {\n width: 98px;\n height: 98px;\n padding: 16px;\n font-family: "Roboto";\n position: relative;\n border-radius: 2px;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-material .vc-input__input {\n width: 100%;\n margin-top: 12px;\n font-size: 15px;\n color: #333;\n height: 30px;\n}\n.vc-material .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 11px;\n color: #999;\n text-transform: capitalize;\n}\n.vc-material-hex {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n}\n.vc-material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n}\n.vc-material-third {\n flex: 1;\n padding-right: 10px;\n}\n',""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-material",attrs:{role:"application","aria-label":"Material color picker"}},[n("ed-in",{staticClass:"vc-material-hex",style:{borderColor:t.colors.hex},attrs:{label:"hex"},on:{change:t.onChange},model:{value:t.colors.hex,callback:function(e){t.$set(t.colors,"hex",e)},expression:"colors.hex"}}),t._v(" "),n("div",{staticClass:"vc-material-split"},[n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"r"},on:{change:t.onChange},model:{value:t.colors.rgba.r,callback:function(e){t.$set(t.colors.rgba,"r",e)},expression:"colors.rgba.r"}})],1),t._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"g"},on:{change:t.onChange},model:{value:t.colors.rgba.g,callback:function(e){t.$set(t.colors.rgba,"g",e)},expression:"colors.rgba.g"}})],1),t._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"b"},on:{change:t.onChange},model:{value:t.colors.rgba.b,callback:function(e){t.$set(t.colors.rgba,"b",e)},expression:"colors.rgba.b"}})],1)])],1)},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(78)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(39),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(114),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Slider.vue",e.default=h.exports},function(t,e,n){var i=n(79);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("7982aa43",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-slider {\n position: relative;\n width: 410px;\n}\n.vc-slider-hue-warp {\n height: 12px;\n position: relative;\n}\n.vc-slider-hue-warp .vc-hue-picker {\n width: 14px;\n height: 14px;\n border-radius: 6px;\n transform: translate(-7px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-slider-swatches {\n display: flex;\n margin-top: 20px;\n}\n.vc-slider-swatch {\n margin-right: 1px;\n flex: 1;\n width: 20%;\n}\n.vc-slider-swatch:first-child {\n margin-right: 1px;\n}\n.vc-slider-swatch:first-child .vc-slider-swatch-picker {\n border-radius: 2px 0px 0px 2px;\n}\n.vc-slider-swatch:last-child {\n margin-right: 0;\n}\n.vc-slider-swatch:last-child .vc-slider-swatch-picker {\n border-radius: 0px 2px 2px 0px;\n}\n.vc-slider-swatch-picker {\n cursor: pointer;\n height: 12px;\n}\n.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active {\n transform: scaleY(1.8);\n border-radius: 3.6px/2px;\n}\n.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 0.6px #ddd;\n}\n",""])},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(81),s=i(r),o=n(100),a=i(o),l="function"==typeof a.default&&"symbol"==typeof s.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===l(s.default)?function(t){return void 0===t?"undefined":l(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":l(t)}},function(t,e,n){t.exports={default:n(82),__esModule:!0}},function(t,e,n){n(83),n(96),t.exports=n(32).f("iterator")},function(t,e,n){"use strict";var i=n(84)(!0);n(40)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){var i=n(21),r=n(22);t.exports=function(t){return function(e,n){var s,o,a=String(r(e)),l=i(n),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(o=a.charCodeAt(l+1))<56320||o>57343?t?a.charAt(l):s:t?a.slice(l,l+2):o-56320+(s-55296<<10)+65536)}}},function(t,e,n){var i=n(86);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var i=n(45),r=n(16),s=n(31),o={};n(7)(o,n(11)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),s(t,e+" Iterator")}},function(t,e,n){var i=n(8),r=n(13),s=n(27);t.exports=n(9)?Object.defineProperties:function(t,e){r(t);for(var n,o=s(e),a=o.length,l=0;a>l;)i.f(t,n=o[l++],e[n]);return t}},function(t,e,n){var i=n(47);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(10),r=n(91),s=n(92);t.exports=function(t){return function(e,n,o){var a,l=i(e),c=r(l.length),u=s(o,c);if(t&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var i=n(21),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(21),r=Math.max,s=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):s(t,e)}},function(t,e,n){var i=n(4).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(6),r=n(95),s=n(28)("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},function(t,e,n){var i=n(22);t.exports=function(t){return Object(i(t))}},function(t,e,n){n(97);for(var i=n(4),r=n(7),s=n(26),o=n(11)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=i[c],h=u&&u.prototype;h&&!h[o]&&r(h,o,c),s[c]=s.Array}},function(t,e,n){"use strict";var i=n(98),r=n(99),s=n(26),o=n(10);t.exports=n(40)(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(101),__esModule:!0}},function(t,e,n){n(102),n(108),n(109),n(110),t.exports=n(24).Symbol},function(t,e,n){"use strict";var i=n(4),r=n(6),s=n(9),o=n(41),a=n(44),l=n(103).KEY,c=n(15),u=n(29),h=n(31),p=n(17),d=n(11),f=n(32),O=n(33),m=n(104),g=n(105),v=n(13),y=n(10),b=n(25),_=n(16),x=n(45),w=n(106),$=n(107),S=n(8),k=n(27),Q=$.f,T=S.f,P=w.f,C=i.Symbol,A=i.JSON,E=A&&A.stringify,R=d("_hidden"),M=d("toPrimitive"),D={}.propertyIsEnumerable,z=u("symbol-registry"),j=u("symbols"),Z=u("op-symbols"),V=Object.prototype,X="function"==typeof C,W=i.QObject,q=!W||!W.prototype||!W.prototype.findChild,I=s&&c((function(){return 7!=x(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=Q(V,e);i&&delete V[e],T(t,e,n),i&&t!==V&&T(V,e,i)}:T,N=function(t){var e=j[t]=x(C.prototype);return e._k=t,e},L=X&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C},B=function(t,e,n){return t===V&&B(Z,e,n),v(t),e=b(e,!0),v(n),r(j,e)?(n.enumerable?(r(t,R)&&t[R][e]&&(t[R][e]=!1),n=x(n,{enumerable:_(0,!1)})):(r(t,R)||T(t,R,_(1,{})),t[R][e]=!0),I(t,e,n)):T(t,e,n)},U=function(t,e){v(t);for(var n,i=m(e=y(e)),r=0,s=i.length;s>r;)B(t,n=i[r++],e[n]);return t},Y=function(t,e){return void 0===e?x(t):U(x(t),e)},F=function(t){var e=D.call(this,t=b(t,!0));return!(this===V&&r(j,t)&&!r(Z,t))&&(!(e||!r(this,t)||!r(j,t)||r(this,R)&&this[R][t])||e)},G=function(t,e){if(t=y(t),e=b(e,!0),t!==V||!r(j,e)||r(Z,e)){var n=Q(t,e);return!n||!r(j,e)||r(t,R)&&t[R][e]||(n.enumerable=!0),n}},H=function(t){for(var e,n=P(y(t)),i=[],s=0;n.length>s;)r(j,e=n[s++])||e==R||e==l||i.push(e);return i},K=function(t){for(var e,n=t===V,i=P(n?Z:y(t)),s=[],o=0;i.length>o;)!r(j,e=i[o++])||n&&!r(V,e)||s.push(j[e]);return s};X||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===V&&e.call(Z,n),r(this,R)&&r(this[R],t)&&(this[R][t]=!1),I(this,t,_(1,n))};return s&&q&&I(V,t,{configurable:!0,set:e}),N(t)},a(C.prototype,"toString",(function(){return this._k})),$.f=G,S.f=B,n(49).f=w.f=H,n(34).f=F,n(48).f=K,s&&!n(23)&&a(V,"propertyIsEnumerable",F,!0),f.f=function(t){return N(d(t))}),o(o.G+o.W+o.F*!X,{Symbol:C});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;J.length>tt;)d(J[tt++]);for(var et=k(d.store),nt=0;et.length>nt;)O(et[nt++]);o(o.S+o.F*!X,"Symbol",{for:function(t){return r(z,t+="")?z[t]:z[t]=C(t)},keyFor:function(t){if(!L(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),o(o.S+o.F*!X,"Object",{create:Y,defineProperty:B,defineProperties:U,getOwnPropertyDescriptor:G,getOwnPropertyNames:H,getOwnPropertySymbols:K}),A&&o(o.S+o.F*(!X||c((function(){var t=C();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))}))),"JSON",{stringify:function(t){if(void 0!==t&&!L(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!L(e))return e}),i[1]=e,E.apply(A,i)}}}),C.prototype[M]||n(7)(C.prototype,M,C.prototype.valueOf),h(C,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},function(t,e,n){var i=n(17)("meta"),r=n(14),s=n(6),o=n(8).f,a=0,l=Object.isExtensible||function(){return!0},c=!n(15)((function(){return l(Object.preventExtensions({}))})),u=function(t){o(t,i,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,i)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[i].i},p=function(t,e){if(!s(t,i)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[i].w},d=function(t){return c&&f.NEED&&l(t)&&!s(t,i)&&u(t),t},f=t.exports={KEY:i,NEED:!1,fastKey:h,getWeak:p,onFreeze:d}},function(t,e,n){var i=n(27),r=n(48),s=n(34);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var o,a=n(t),l=s.f,c=0;a.length>c;)l.call(t,o=a[c++])&&e.push(o);return e}},function(t,e,n){var i=n(47);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(10),r=n(49).f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(t){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==s.call(t)?a(t):r(i(t))}},function(t,e,n){var i=n(34),r=n(16),s=n(10),o=n(25),a=n(6),l=n(42),c=Object.getOwnPropertyDescriptor;e.f=n(9)?c:function(t,e){if(t=s(t),e=o(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(33)("asyncIterator")},function(t,e,n){n(33)("observable")},function(t,e,n){var i=n(112);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("7c5f1a1c",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-hue {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n border-radius: 2px;\n}\n.vc-hue--horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue--vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue-container {\n cursor: pointer;\n margin: 0 2px;\n position: relative;\n height: 100%;\n}\n.vc-hue-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-hue-picker {\n cursor: pointer;\n margin-top: 1px;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n transform: translateX(-2px) ;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["vc-hue",t.directionClass]},[n("div",{ref:"container",staticClass:"vc-hue-container",attrs:{role:"slider","aria-valuenow":t.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360"},on:{mousedown:t.handleMouseDown,touchmove:t.handleChange,touchstart:t.handleChange}},[n("div",{staticClass:"vc-hue-pointer",style:{top:t.pointerTop,left:t.pointerLeft},attrs:{role:"presentation"}},[n("div",{staticClass:"vc-hue-picker"})])])])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-slider",attrs:{role:"application","aria-label":"Slider color picker"}},[n("div",{staticClass:"vc-slider-hue-warp"},[n("hue",{on:{change:t.hueChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),n("div",{staticClass:"vc-slider-swatches",attrs:{role:"group"}},t._l(t.normalizedSwatches,(function(e,i){return n("div",{key:i,staticClass:"vc-slider-swatch",attrs:{"data-index":i,"aria-label":"color:"+t.colors.hex,role:"button"},on:{click:function(n){t.handleSwClick(i,e)}}},[n("div",{staticClass:"vc-slider-swatch-picker",class:{"vc-slider-swatch-picker--active":t.isActive(e,i),"vc-slider-swatch-picker--white":1===e.l},style:{background:"hsl("+t.colors.hsl.h+", "+100*e.s+"%, "+100*e.l+"%)"}})])})))])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(116)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(51),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(119),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Swatches.vue",e.default=h.exports},function(t,e,n){var i=n(117);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("10f839a2",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-swatches {\n width: 320px;\n height: 240px;\n overflow-y: scroll;\n background-color: #fff;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n}\n.vc-swatches-box {\n padding: 16px 0 6px 16px;\n overflow: hidden;\n}\n.vc-swatches-color-group {\n padding-bottom: 10px;\n width: 40px;\n float: left;\n margin-right: 10px;\n}\n.vc-swatches-color-it {\n box-sizing: border-box;\n width: 40px;\n height: 24px;\n cursor: pointer;\n background: #880e4f;\n margin-bottom: 1px;\n overflow: hidden;\n -ms-border-radius: 2px 2px 0 0;\n -moz-border-radius: 2px 2px 0 0;\n -o-border-radius: 2px 2px 0 0;\n -webkit-border-radius: 2px 2px 0 0;\n border-radius: 2px 2px 0 0;\n}\n.vc-swatches-color--white {\n border: 1px solid #DDD;\n}\n.vc-swatches-pick {\n fill: rgb(255, 255, 255);\n margin-left: 8px;\n display: block;\n}\n.vc-swatches-color--white .vc-swatches-pick {\n fill: rgb(51, 51, 51);\n}\n",""])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"red",(function(){return i})),n.d(e,"pink",(function(){return r})),n.d(e,"purple",(function(){return s})),n.d(e,"deepPurple",(function(){return o})),n.d(e,"indigo",(function(){return a})),n.d(e,"blue",(function(){return l})),n.d(e,"lightBlue",(function(){return c})),n.d(e,"cyan",(function(){return u})),n.d(e,"teal",(function(){return h})),n.d(e,"green",(function(){return p})),n.d(e,"lightGreen",(function(){return d})),n.d(e,"lime",(function(){return f})),n.d(e,"yellow",(function(){return O})),n.d(e,"amber",(function(){return m})),n.d(e,"orange",(function(){return g})),n.d(e,"deepOrange",(function(){return v})),n.d(e,"brown",(function(){return y})),n.d(e,"grey",(function(){return b})),n.d(e,"blueGrey",(function(){return _})),n.d(e,"darkText",(function(){return x})),n.d(e,"lightText",(function(){return w})),n.d(e,"darkIcons",(function(){return $})),n.d(e,"lightIcons",(function(){return S})),n.d(e,"white",(function(){return k})),n.d(e,"black",(function(){return Q}));var i={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},r={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},s={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},o={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},a={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},h={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},f={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},O={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},m={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},b={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},_={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},w={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},$={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},S={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},k="#ffffff",Q="#000000";e.default={red:i,pink:r,purple:s,deepPurple:o,indigo:a,blue:l,lightBlue:c,cyan:u,teal:h,green:p,lightGreen:d,lime:f,yellow:O,amber:m,orange:g,deepOrange:v,brown:y,grey:b,blueGrey:_,darkText:x,lightText:w,darkIcons:$,lightIcons:S,white:k,black:Q}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-swatches",attrs:{role:"application","aria-label":"Swatches color picker","data-pick":t.pick}},[n("div",{staticClass:"vc-swatches-box",attrs:{role:"listbox"}},t._l(t.palette,(function(e,i){return n("div",{key:i,staticClass:"vc-swatches-color-group"},t._l(e,(function(e){return n("div",{key:e,class:["vc-swatches-color-it",{"vc-swatches-color--white":"#FFFFFF"===e}],style:{background:e},attrs:{role:"option","aria-label":"Color:"+e,"aria-selected":t.equal(e),"data-color":e},on:{click:function(n){t.handlerClick(e)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.equal(e),expression:"equal(c)"}],staticClass:"vc-swatches-pick"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}})])])])})))})))])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(121)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(52),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(134),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Photoshop.vue",e.default=h.exports},function(t,e,n){var i=n(122);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("080365d4",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,'\n.vc-photoshop {\n background: #DCDCDC;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15);\n box-sizing: initial;\n width: 513px;\n font-family: Roboto;\n}\n.vc-photoshop__disable-fields {\n width: 390px;\n}\n.vc-ps-head {\n background-image: linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%);\n border-bottom: 1px solid #B1B1B1;\n box-shadow: inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02);\n height: 23px;\n line-height: 24px;\n border-radius: 4px 4px 0 0;\n font-size: 13px;\n color: #4D4D4D;\n text-align: center;\n}\n.vc-ps-body {\n padding: 15px;\n display: flex;\n}\n.vc-ps-saturation-wrap {\n width: 256px;\n height: 256px;\n position: relative;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n overflow: hidden;\n}\n.vc-ps-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-ps-hue-wrap {\n position: relative;\n height: 256px;\n width: 19px;\n margin-left: 10px;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n}\n.vc-ps-hue-pointer {\n position: relative;\n}\n.vc-ps-hue-pointer--left,\n.vc-ps-hue-pointer--right {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 0 5px 8px;\n border-color: transparent transparent transparent #555;\n}\n.vc-ps-hue-pointer--left:after,\n.vc-ps-hue-pointer--right:after {\n content: "";\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent transparent transparent #fff;\n position: absolute;\n top: 1px;\n left: 1px;\n transform: translate(-8px, -5px);\n}\n.vc-ps-hue-pointer--left {\n transform: translate(-13px, -4px);\n}\n.vc-ps-hue-pointer--right {\n transform: translate(20px, -4px) rotate(180deg);\n}\n.vc-ps-controls {\n width: 180px;\n margin-left: 10px;\n display: flex;\n}\n.vc-ps-controls__disable-fields {\n width: auto;\n}\n.vc-ps-actions {\n margin-left: 20px;\n flex: 1;\n}\n.vc-ps-ac-btn {\n cursor: pointer;\n background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%);\n border: 1px solid #878787;\n border-radius: 2px;\n height: 20px;\n box-shadow: 0 1px 0 0 #EAEAEA;\n font-size: 14px;\n color: #000;\n line-height: 20px;\n text-align: center;\n margin-bottom: 10px;\n}\n.vc-ps-previews {\n width: 60px;\n}\n.vc-ps-previews__swatches {\n border: 1px solid #B3B3B3;\n border-bottom: 1px solid #F0F0F0;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.vc-ps-previews__pr-color {\n height: 34px;\n box-shadow: inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000;\n}\n.vc-ps-previews__label {\n font-size: 14px;\n color: #000;\n text-align: center;\n}\n.vc-ps-fields {\n padding-top: 5px;\n padding-bottom: 9px;\n width: 80px;\n position: relative;\n}\n.vc-ps-fields .vc-input__input {\n margin-left: 40%;\n width: 40%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 5px;\n font-size: 13px;\n padding-left: 3px;\n margin-right: 10px;\n}\n.vc-ps-fields .vc-input__label, .vc-ps-fields .vc-input__desc {\n top: 0;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n position: absolute;\n}\n.vc-ps-fields .vc-input__label {\n left: 0;\n width: 34px;\n}\n.vc-ps-fields .vc-input__desc {\n right: 0;\n width: 0;\n}\n.vc-ps-fields__divider {\n height: 5px;\n}\n.vc-ps-fields__hex .vc-input__input {\n margin-left: 20%;\n width: 80%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 6px;\n font-size: 13px;\n padding-left: 3px;\n}\n.vc-ps-fields__hex .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n width: 14px;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n}\n',""])},function(t,e,n){var i=n(124);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("b5380e52",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-saturation,\n.vc-saturation--white,\n.vc-saturation--black {\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.vc-saturation--white {\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n}\n.vc-saturation--black {\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n}\n.vc-saturation-pointer {\n cursor: pointer;\n position: absolute;\n}\n.vc-saturation-circle {\n cursor: head;\n width: 4px;\n height: 4px;\n box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);\n border-radius: 50%;\n transform: translate(-2px, -2px);\n}\n",""])},function(t,e){function n(t,e,n){return e<n?t<e?e:t>n?n:t:t<n?n:t>e?e:t}t.exports=n},function(t,e){function i(t,e,n){function i(e){var n=O,i=m;return O=m=void 0,_=e,v=t.apply(i,n)}function r(t){return _=t,y=setTimeout(u,e),S?i(t):v}function o(t){var n=t-b,i=t-_,r=e-n;return k?w(r,g-i):r}function a(t){var n=t-b,i=t-_;return void 0===b||n>=e||n<0||k&&i>=g}function u(){var t=$();if(a(t))return h(t);y=setTimeout(u,o(t))}function h(t){return y=void 0,Q&&O?i(t):(O=m=void 0,v)}function p(){void 0!==y&&clearTimeout(y),_=0,O=b=m=y=void 0}function d(){return void 0===y?v:h($())}function f(){var t=$(),n=a(t);if(O=arguments,m=this,b=t,n){if(void 0===y)return r(b);if(k)return y=setTimeout(u,e),i(b)}return void 0===y&&(y=setTimeout(u,e)),v}var O,m,g,v,y,b,_=0,S=!1,k=!1,Q=!0;if("function"!=typeof t)throw new TypeError(c);return e=l(e)||0,s(n)&&(S=!!n.leading,k="maxWait"in n,g=k?x(l(n.maxWait)||0,e):g,Q="trailing"in n?!!n.trailing:Q),f.cancel=p,f.flush=d,f}function r(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError(c);return s(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),i(t,e,{leading:r,maxWait:e,trailing:o})}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function a(t){return"symbol"==typeof t||o(t)&&_.call(t)==h}function l(t){if("number"==typeof t)return t;if(a(t))return u;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(p,"");var n=f.test(t);return n||O.test(t)?m(t.slice(2),n?2:8):d.test(t)?u:+t}var c="Expected a function",u=NaN,h="[object Symbol]",p=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,O=/^0o[0-7]+$/i,m=parseInt,g="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),b=Object.prototype,_=b.toString,x=Math.max,w=Math.min,$=function(){return y.Date.now()};t.exports=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"vc-saturation",style:{background:t.bgColor},on:{mousedown:t.handleMouseDown,touchmove:t.handleChange,touchstart:t.handleChange}},[n("div",{staticClass:"vc-saturation--white"}),t._v(" "),n("div",{staticClass:"vc-saturation--black"}),t._v(" "),n("div",{staticClass:"vc-saturation-pointer",style:{top:t.pointerTop,left:t.pointerLeft}},[n("div",{staticClass:"vc-saturation-circle"})])])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){var i=n(129);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("4dc1b086",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-alpha {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-checkboard-wrap {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n overflow: hidden;\n}\n.vc-alpha-gradient {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-container {\n cursor: pointer;\n position: relative;\n z-index: 2;\n height: 100%;\n margin: 0 3px;\n}\n.vc-alpha-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-alpha-picker {\n cursor: pointer;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n}\n",""])},function(t,e,n){var i=n(131);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("7e15c05b",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-checkerboard {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n background-size: contain;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"vc-checkerboard",style:t.bgStyle})},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-alpha"},[n("div",{staticClass:"vc-alpha-checkboard-wrap"},[n("checkboard")],1),t._v(" "),n("div",{staticClass:"vc-alpha-gradient",style:{background:t.gradientColor}}),t._v(" "),n("div",{ref:"container",staticClass:"vc-alpha-container",on:{mousedown:t.handleMouseDown,touchmove:t.handleChange,touchstart:t.handleChange}},[n("div",{staticClass:"vc-alpha-pointer",style:{left:100*t.colors.a+"%"}},[n("div",{staticClass:"vc-alpha-picker"})])])])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["vc-photoshop",t.disableFields?"vc-photoshop__disable-fields":""],attrs:{role:"application","aria-label":"PhotoShop color picker"}},[n("div",{staticClass:"vc-ps-head",attrs:{role:"heading"}},[t._v(t._s(t.head))]),t._v(" "),n("div",{staticClass:"vc-ps-body"},[n("div",{staticClass:"vc-ps-saturation-wrap"},[n("saturation",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),n("div",{staticClass:"vc-ps-hue-wrap"},[n("hue",{attrs:{direction:"vertical"},on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}},[n("div",{staticClass:"vc-ps-hue-pointer"},[n("i",{staticClass:"vc-ps-hue-pointer--left"}),n("i",{staticClass:"vc-ps-hue-pointer--right"})])])],1),t._v(" "),n("div",{class:["vc-ps-controls",t.disableFields?"vc-ps-controls__disable-fields":""]},[n("div",{staticClass:"vc-ps-previews"},[n("div",{staticClass:"vc-ps-previews__label"},[t._v(t._s(t.newLabel))]),t._v(" "),n("div",{staticClass:"vc-ps-previews__swatches"},[n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:t.colors.hex},attrs:{"aria-label":"New color is "+t.colors.hex}}),t._v(" "),n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:t.currentColor},attrs:{"aria-label":"Current color is "+t.currentColor},on:{click:t.clickCurrentColor}})]),t._v(" "),n("div",{staticClass:"vc-ps-previews__label"},[t._v(t._s(t.currentLabel))])]),t._v(" "),t.disableFields?t._e():n("div",{staticClass:"vc-ps-actions"},[n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":t.acceptLabel},on:{click:t.handleAccept}},[t._v(t._s(t.acceptLabel))]),t._v(" "),n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":t.cancelLabel},on:{click:t.handleCancel}},[t._v(t._s(t.cancelLabel))]),t._v(" "),n("div",{staticClass:"vc-ps-fields"},[n("ed-in",{attrs:{label:"h",desc:"°",value:t.hsv.h},on:{change:t.inputChange}}),t._v(" "),n("ed-in",{attrs:{label:"s",desc:"%",value:t.hsv.s,max:100},on:{change:t.inputChange}}),t._v(" "),n("ed-in",{attrs:{label:"v",desc:"%",value:t.hsv.v,max:100},on:{change:t.inputChange}}),t._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),t._v(" "),n("ed-in",{attrs:{label:"r",value:t.colors.rgba.r},on:{change:t.inputChange}}),t._v(" "),n("ed-in",{attrs:{label:"g",value:t.colors.rgba.g},on:{change:t.inputChange}}),t._v(" "),n("ed-in",{attrs:{label:"b",value:t.colors.rgba.b},on:{change:t.inputChange}}),t._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),t._v(" "),n("ed-in",{staticClass:"vc-ps-fields__hex",attrs:{label:"#",value:t.hex},on:{change:t.inputChange}})],1),t._v(" "),t.hasResetButton?n("div",{staticClass:"vc-ps-ac-btn",attrs:{"aria-label":"reset"},on:{click:t.handleReset}},[t._v(t._s(t.resetLabel))]):t._e()])])])])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(136)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(56),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(138),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Sketch.vue",e.default=h.exports},function(t,e,n){var i=n(137);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("612c6604",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-sketch {\n position: relative;\n width: 200px;\n padding: 10px 10px 0;\n box-sizing: initial;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);\n}\n.vc-sketch-saturation-wrap {\n width: 100%;\n padding-bottom: 75%;\n position: relative;\n overflow: hidden;\n}\n.vc-sketch-controls {\n display: flex;\n}\n.vc-sketch-sliders {\n padding: 4px 0;\n flex: 1;\n}\n.vc-sketch-sliders .vc-hue,\n.vc-sketch-sliders .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-sketch-hue-wrap {\n position: relative;\n height: 10px;\n}\n.vc-sketch-alpha-wrap {\n position: relative;\n height: 10px;\n margin-top: 4px;\n overflow: hidden;\n}\n.vc-sketch-color-wrap {\n width: 24px;\n height: 24px;\n position: relative;\n margin-top: 4px;\n margin-left: 4px;\n border-radius: 3px;\n}\n.vc-sketch-active-color {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 2px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);\n z-index: 2;\n}\n.vc-sketch-color-wrap .vc-checkerboard {\n background-size: auto;\n}\n.vc-sketch-field {\n display: flex;\n padding-top: 4px;\n}\n.vc-sketch-field .vc-input__input {\n width: 90%;\n padding: 4px 0 3px 10%;\n border: none;\n box-shadow: inset 0 0 0 1px #ccc;\n font-size: 10px;\n}\n.vc-sketch-field .vc-input__label {\n display: block;\n text-align: center;\n font-size: 11px;\n color: #222;\n padding-top: 3px;\n padding-bottom: 4px;\n text-transform: capitalize;\n}\n.vc-sketch-field--single {\n flex: 1;\n padding-left: 6px;\n}\n.vc-sketch-field--double {\n flex: 2;\n}\n.vc-sketch-presets {\n margin-right: -10px;\n margin-left: -10px;\n padding-left: 10px;\n padding-top: 10px;\n border-top: 1px solid #eee;\n}\n.vc-sketch-presets-color {\n border-radius: 3px;\n overflow: hidden;\n position: relative;\n display: inline-block;\n margin: 0 10px 10px 0;\n vertical-align: top;\n cursor: pointer;\n width: 16px;\n height: 16px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n}\n.vc-sketch-presets-color .vc-checkerboard {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n border-radius: 3px;\n}\n.vc-sketch__disable-alpha .vc-sketch-color-wrap {\n height: 10px;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["vc-sketch",t.disableAlpha?"vc-sketch__disable-alpha":""],attrs:{role:"application","aria-label":"Sketch color picker"}},[n("div",{staticClass:"vc-sketch-saturation-wrap"},[n("saturation",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),n("div",{staticClass:"vc-sketch-controls"},[n("div",{staticClass:"vc-sketch-sliders"},[n("div",{staticClass:"vc-sketch-hue-wrap"},[n("hue",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),t.disableAlpha?t._e():n("div",{staticClass:"vc-sketch-alpha-wrap"},[n("alpha",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1)]),t._v(" "),n("div",{staticClass:"vc-sketch-color-wrap"},[n("div",{staticClass:"vc-sketch-active-color",style:{background:t.activeColor},attrs:{"aria-label":"Current color is "+t.activeColor}}),t._v(" "),n("checkboard")],1)]),t._v(" "),t.disableFields?t._e():n("div",{staticClass:"vc-sketch-field"},[n("div",{staticClass:"vc-sketch-field--double"},[n("ed-in",{attrs:{label:"hex",value:t.hex},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"r",value:t.colors.rgba.r},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"g",value:t.colors.rgba.g},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"b",value:t.colors.rgba.b},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),n("div",{staticClass:"vc-sketch-presets",attrs:{role:"group","aria-label":"A color preset, pick one to set as current color"}},[t._l(t.presetColors,(function(e){return[t.isTransparent(e)?n("div",{key:e,staticClass:"vc-sketch-presets-color",attrs:{"aria-label":"Color:"+e},on:{click:function(n){t.handlePreset(e)}}},[n("checkboard")],1):n("div",{key:e,staticClass:"vc-sketch-presets-color",style:{background:e},attrs:{"aria-label":"Color:"+e},on:{click:function(n){t.handlePreset(e)}}})]}))],2)])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(140)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(57),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(142),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Chrome.vue",e.default=h.exports},function(t,e,n){var i=n(141);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("1cd16048",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-chrome {\n background: #fff;\n border-radius: 2px;\n box-shadow: 0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3);\n box-sizing: initial;\n width: 225px;\n font-family: Menlo;\n background-color: #fff;\n}\n.vc-chrome-controls {\n display: flex;\n}\n.vc-chrome-color-wrap {\n position: relative;\n width: 36px;\n}\n.vc-chrome-active-color {\n position: relative;\n width: 30px;\n height: 30px;\n border-radius: 15px;\n overflow: hidden;\n z-index: 1;\n}\n.vc-chrome-color-wrap .vc-checkerboard {\n width: 30px;\n height: 30px;\n border-radius: 15px;\n background-size: auto;\n}\n.vc-chrome-sliders {\n flex: 1;\n}\n.vc-chrome-fields-wrap {\n display: flex;\n padding-top: 16px;\n}\n.vc-chrome-fields {\n display: flex;\n margin-left: -6px;\n flex: 1;\n}\n.vc-chrome-field {\n padding-left: 6px;\n width: 100%;\n}\n.vc-chrome-toggle-btn {\n width: 32px;\n text-align: right;\n position: relative;\n}\n.vc-chrome-toggle-icon {\n margin-right: -4px;\n margin-top: 12px;\n cursor: pointer;\n position: relative;\n z-index: 2;\n}\n.vc-chrome-toggle-icon-highlight {\n position: absolute;\n width: 24px;\n height: 28px;\n background: #eee;\n border-radius: 4px;\n top: 10px;\n left: 12px;\n}\n.vc-chrome-hue-wrap {\n position: relative;\n height: 10px;\n margin-bottom: 8px;\n}\n.vc-chrome-alpha-wrap {\n position: relative;\n height: 10px;\n}\n.vc-chrome-hue-wrap .vc-hue {\n border-radius: 2px;\n}\n.vc-chrome-alpha-wrap .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-chrome-hue-wrap .vc-hue-picker, .vc-chrome-alpha-wrap .vc-alpha-picker {\n width: 12px;\n height: 12px;\n border-radius: 6px;\n transform: translate(-6px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-chrome-body {\n padding: 16px 16px 12px;\n background-color: #fff;\n}\n.vc-chrome-saturation-wrap {\n width: 100%;\n padding-bottom: 55%;\n position: relative;\n border-radius: 2px 2px 0 0;\n overflow: hidden;\n}\n.vc-chrome-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-chrome-fields .vc-input__input {\n font-size: 11px;\n color: #333;\n width: 100%;\n border-radius: 2px;\n border: none;\n box-shadow: inset 0 0 0 1px #dadada;\n height: 21px;\n text-align: center;\n}\n.vc-chrome-fields .vc-input__label {\n text-transform: uppercase;\n font-size: 11px;\n line-height: 11px;\n color: #969696;\n text-align: center;\n display: block;\n margin-top: 12px;\n}\n.vc-chrome__disable-alpha .vc-chrome-active-color {\n width: 18px;\n height: 18px;\n}\n.vc-chrome__disable-alpha .vc-chrome-color-wrap {\n width: 30px;\n}\n.vc-chrome__disable-alpha .vc-chrome-hue-wrap {\n margin-top: 4px;\n margin-bottom: 4px;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["vc-chrome",t.disableAlpha?"vc-chrome__disable-alpha":""],attrs:{role:"application","aria-label":"Chrome color picker"}},[n("div",{staticClass:"vc-chrome-saturation-wrap"},[n("saturation",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),n("div",{staticClass:"vc-chrome-body"},[n("div",{staticClass:"vc-chrome-controls"},[n("div",{staticClass:"vc-chrome-color-wrap"},[n("div",{staticClass:"vc-chrome-active-color",style:{background:t.activeColor},attrs:{"aria-label":"current color is "+t.colors.hex}}),t._v(" "),t.disableAlpha?t._e():n("checkboard")],1),t._v(" "),n("div",{staticClass:"vc-chrome-sliders"},[n("div",{staticClass:"vc-chrome-hue-wrap"},[n("hue",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),t.disableAlpha?t._e():n("div",{staticClass:"vc-chrome-alpha-wrap"},[n("alpha",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1)])]),t._v(" "),t.disableFields?t._e():n("div",{staticClass:"vc-chrome-fields-wrap"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.fieldsIndex,expression:"fieldsIndex === 0"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[t.hasAlpha?t._e():n("ed-in",{attrs:{label:"hex",value:t.colors.hex},on:{change:t.inputChange}}),t._v(" "),t.hasAlpha?n("ed-in",{attrs:{label:"hex",value:t.colors.hex8},on:{change:t.inputChange}}):t._e()],1)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1===t.fieldsIndex,expression:"fieldsIndex === 1"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"r",value:t.colors.rgba.r},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"g",value:t.colors.rgba.g},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"b",value:t.colors.rgba.b},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:2===t.fieldsIndex,expression:"fieldsIndex === 2"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"h",value:t.hsl.h},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"s",value:t.hsl.s},on:{change:t.inputChange}})],1),t._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"l",value:t.hsl.l},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),n("div",{staticClass:"vc-chrome-toggle-btn",attrs:{role:"button","aria-label":"Change another color definition"},on:{click:t.toggleViews}},[n("div",{staticClass:"vc-chrome-toggle-icon"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"},on:{mouseover:t.showHighlight,mouseenter:t.showHighlight,mouseout:t.hideHighlight}},[n("path",{attrs:{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.highlight,expression:"highlight"}],staticClass:"vc-chrome-toggle-icon-highlight"})])])])])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},function(t,e,n){"use strict";function i(t){l||n(144)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(58),s=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(146),l=!1,c=n(2),u=i,h=c(s.a,a.a,!1,u,null,null);h.options.__file="src/components/Twitter.vue",e.default=h.exports},function(t,e,n){var i=n(145);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("669a48a5",i,!1,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"\n.vc-twitter {\n background: #fff;\n border: 0 solid rgba(0,0,0,0.25);\n box-shadow: 0 1px 4px rgba(0,0,0,0.25);\n border-radius: 4px;\n position: relative;\n}\n.vc-twitter-triangle {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-width: 0 9px 10px 9px;\n border-color: transparent transparent #fff transparent;\n position: absolute;\n}\n.vc-twitter-triangle-shadow {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-width: 0 9px 10px 9px;\n border-color: transparent transparent rgba(0, 0, 0, .1) transparent;\n position: absolute;\n}\n.vc-twitter-body {\n padding: 15px 9px 9px 15px;\n}\n.vc-twitter .vc-editable-input {\n position: relative;\n}\n.vc-twitter .vc-editable-input input {\n width: 100px;\n font-size: 14px;\n color: #666;\n border: 0px;\n outline: none;\n height: 28px;\n box-shadow: inset 0 0 0 1px #F0F0F0;\n box-sizing: content-box;\n border-radius: 0 4px 4px 0;\n float: left;\n padding: 1px;\n padding-left: 8px;\n}\n.vc-twitter .vc-editable-input span {\n display: none;\n}\n.vc-twitter-hash {\n background: #F0F0F0;\n height: 30px;\n width: 30px;\n border-radius: 4px 0 0 4px;\n float: left;\n color: #98A1A4;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.vc-twitter-swatch {\n width: 30px;\n height: 30px;\n float: left;\n border-radius: 4px;\n margin: 0 6px 6px 0;\n cursor: pointer;\n position: relative;\n outline: none;\n}\n.vc-twitter-clear {\n clear: both;\n}\n.vc-twitter-hide-triangle .vc-twitter-triangle {\n display: none;\n}\n.vc-twitter-hide-triangle .vc-twitter-triangle-shadow {\n display: none;\n}\n.vc-twitter-top-left-triangle .vc-twitter-triangle{\n top: -10px;\n left: 12px;\n}\n.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{\n top: -11px;\n left: 12px;\n}\n.vc-twitter-top-right-triangle .vc-twitter-triangle{\n top: -10px;\n right: 12px;\n}\n.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{\n top: -11px;\n right: 12px;\n}\n",""])},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-twitter",class:{"vc-twitter-hide-triangle ":"hide"===t.triangle,"vc-twitter-top-left-triangle ":"top-left"===t.triangle,"vc-twitter-top-right-triangle ":"top-right"===t.triangle},style:{width:"number"==typeof t.width?t.width+"px":t.width}},[n("div",{staticClass:"vc-twitter-triangle-shadow"}),t._v(" "),n("div",{staticClass:"vc-twitter-triangle"}),t._v(" "),n("div",{staticClass:"vc-twitter-body"},[t._l(t.defaultColors,(function(e,i){return n("span",{key:i,staticClass:"vc-twitter-swatch",style:{background:e,boxShadow:"0 0 4px "+(t.equal(e)?e:"transparent")},on:{click:function(n){t.handlerClick(e)}}})})),t._v(" "),n("div",{staticClass:"vc-twitter-hash"},[t._v("#")]),t._v(" "),n("editable-input",{attrs:{label:"#",value:t.hex},on:{change:t.inputChange}}),t._v(" "),n("div",{staticClass:"vc-twitter-clear"})],2)])},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s}])}))},44867:(t,e,n)=>{"use strict";function i(t){return"function"!==typeof t||!t.managed&&!t.managedReactive}function r(t){var e=function(){var n=this,i="function"===typeof t?t.call(this):t;for(var r in i=Object.create(i||null),i[s]=Object.create(this[s]||{}),e.managed)i[e.managed[r]]=this[r];var o=function(t){i[e.managedReactive[t]]=a[t],Object.defineProperty(i[s],e.managedReactive[t],{enumerable:!0,configurable:!0,get:function(){return n[t]}})},a=this;for(var r in e.managedReactive)o(r);return i};return e.managed={},e.managedReactive={},e}n.d(e,{ZD:()=>r,ad:()=>i,lm:()=>o});var s="__reactiveInject__";function o(t){Array.isArray(t.inject)||(t.inject=t.inject||{},t.inject[s]={from:s,default:{}})}},38085:(t,e,n)=>{"use strict";if(n.d(e,{wA:()=>r.ZP,tB:()=>s,Wr:()=>r.tA,yU:()=>l,fI:()=>c,DF:()=>h,Rl:()=>p,w3:()=>i.ZP,RL:()=>d}),715!=n.j)var i=n(20144);var r=n(45904);function s(t){return(0,r.yh)((function(e,n){"undefined"===typeof e.inject&&(e.inject={}),Array.isArray(e.inject)||(e.inject[n]=t||n)}))}var o="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function a(t,e,n){if(o&&!Array.isArray(t)&&"function"!==typeof t&&!t.hasOwnProperty("type")&&"undefined"===typeof t.type){var i=Reflect.getMetadata("design:type",e,n);i!==Object&&(t.type=i)}}function l(t,e,n){return void 0===n&&(n={}),function(i,s){a(n,i,s),(0,r.yh)((function(i,r){(i.props||(i.props={}))[t]=n,i.model={prop:t,event:e||r},(i.computed||(i.computed={}))[r]={get:function(){return this[t]},set:function(t){this.$emit(e,t)}}}))(i,s)}}function c(t){return void 0===t&&(t={}),function(e,n){a(t,e,n),(0,r.yh)((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}if(/^(14|9)3$/.test(n.j))var u=n(44867);function h(t){return(0,r.yh)((function(e,n){var i=e.provide;(0,u.lm)(e),(0,u.ad)(i)&&(i=e.provide=(0,u.ZD)(i)),i.managed[n]=t||n}))}function p(t){return(0,r.yh)((function(e,n){e.computed=e.computed||{},e.computed[n]={cache:!1,get:function(){return this.$refs[t||n]}}}))}function d(t,e){void 0===e&&(e={});var n=e.deep,i=void 0!==n&&n,s=e.immediate,o=void 0!==s&&s;return(0,r.yh)((function(e,n){"object"!==typeof e.watch&&(e.watch=Object.create(null));var r=e.watch;"object"!==typeof r[t]||Array.isArray(r[t])?"undefined"===typeof r[t]&&(r[t]=[]):r[t]=[r[t]],r[t].push({handler:n,deep:i,immediate:o})}))}},78345:(t,e,n)=>{"use strict";function i(t,e){for(var n in e)t[n]=e[n];return t}n.d(e,{ZP:()=>xe});var r=/[!'()*]/g,s=function(t){return"%"+t.charCodeAt(0).toString(16)},o=/%2C/g,a=function(t){return encodeURIComponent(t).replace(r,s).replace(o,",")};function l(t){try{return decodeURIComponent(t)}catch(e){0}return t}function c(t,e,n){void 0===e&&(e={});var i,r=n||h;try{i=r(t||"")}catch(a){i={}}for(var s in e){var o=e[s];i[s]=Array.isArray(o)?o.map(u):u(o)}return i}var u=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=l(n.shift()),r=n.length>0?l(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return a(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(a(e)):i.push(a(e)+"="+a(t)))})),i.join("&")}return a(e)+"="+a(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function f(t,e,n,i){var r=i&&i.options.stringifyQuery,s=e.query||{};try{s=O(s)}catch(a){}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:s,params:e.params||{},fullPath:v(e,r),matched:t?g(t):[]};return n&&(o.redirectedFrom=v(n,r)),Object.freeze(o)}function O(t){if(Array.isArray(t))return t.map(O);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=O(t[n]);return e}return t}var m=f(null,{path:"/"});function g(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function v(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var s=e||p;return(n||"/")+s(i)+r}function y(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&(n||t.hash===e.hash&&b(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params))))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every((function(n,r){var s=t[n],o=i[r];if(o!==n)return!1;var a=e[n];return null==s||null==a?s===a:"object"===typeof s&&"object"===typeof a?b(s,a):String(s)===String(a)}))}function _(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&x(t.query,e.query)}function x(t,e){for(var n in e)if(!(n in t))return!1;return!0}function w(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var r=n.instances[i],s=n.enteredCbs[i];if(r&&s){delete n.enteredCbs[i];for(var o=0;o<s.length;o++)r._isBeingDestroyed||s[o](r)}}}}var $={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,s=e.parent,o=e.data;o.routerView=!0;var a=s.$createElement,l=n.name,c=s.$route,u=s._routerViewCache||(s._routerViewCache={}),h=0,p=!1;while(s&&s._routerRoot!==s){var d=s.$vnode?s.$vnode.data:{};d.routerView&&h++,d.keepAlive&&s._directInactive&&s._inactive&&(p=!0),s=s.$parent}if(o.routerViewDepth=h,p){var f=u[l],O=f&&f.component;return O?(f.configProps&&S(O,o,f.route,f.configProps),a(O,o,r)):a()}var m=c.matched[h],g=m&&m.components[l];if(!m||!g)return u[l]=null,a();u[l]={component:g},o.registerRouteInstance=function(t,e){var n=m.instances[l];(e&&n!==t||!e&&n===t)&&(m.instances[l]=e)},(o.hook||(o.hook={})).prepatch=function(t,e){m.instances[l]=e.componentInstance},o.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[l]&&(m.instances[l]=t.componentInstance),w(c)};var v=m.props&&m.props[l];return v&&(i(u[l],{route:c,configProps:v}),S(g,o,c,v)),a(g,o,r)}};function S(t,e,n,r){var s=e.props=k(n,r);if(s){s=e.props=i({},s);var o=e.attrs=e.attrs||{};for(var a in s)t.props&&a in t.props||(o[a]=s[a],delete s[a])}}function k(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function Q(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var s=t.replace(/^\//,"").split("/"),o=0;o<s.length;o++){var a=s[o];".."===a?r.pop():"."!==a&&r.push(a)}return""!==r[0]&&r.unshift(""),r.join("/")}function T(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function P(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var C=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},A=G,E=j,R=Z,M=W,D=F,z=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function j(t,e){var n,i=[],r=0,s=0,o="",a=e&&e.delimiter||"/";while(null!=(n=z.exec(t))){var l=n[0],c=n[1],u=n.index;if(o+=t.slice(s,u),s=u+l.length,c)o+=c[1];else{var h=t[s],p=n[2],d=n[3],f=n[4],O=n[5],m=n[6],g=n[7];o&&(i.push(o),o="");var v=null!=p&&null!=h&&h!==p,y="+"===m||"*"===m,b="?"===m||"*"===m,_=n[2]||a,x=f||O;i.push({name:d||r++,prefix:p||"",delimiter:_,optional:b,repeat:y,partial:v,asterisk:!!g,pattern:x?I(x):g?".*":"[^"+q(_)+"]+?"})}}return s<t.length&&(o+=t.substr(s)),o&&i.push(o),i}function Z(t,e){return W(j(t,e),e)}function V(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function X(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function W(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",L(e)));return function(e,i){for(var r="",s=e||{},o=i||{},a=o.pretty?V:encodeURIComponent,l=0;l<t.length;l++){var c=t[l];if("string"!==typeof c){var u,h=s[c.name];if(null==h){if(c.optional){c.partial&&(r+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(C(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<h.length;p++){if(u=a(h[p]),!n[l].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===p?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?X(h):a(h),!n[l].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');r+=c.prefix+u}}else r+=c}return r}}function q(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function I(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function N(t,e){return t.keys=e,t}function L(t){return t&&t.sensitive?"":"i"}function B(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return N(t,e)}function U(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(G(t[r],e,n).source);var s=new RegExp("(?:"+i.join("|")+")",L(n));return N(s,e)}function Y(t,e,n){return F(j(t,n),e,n)}function F(t,e,n){C(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,s="",o=0;o<t.length;o++){var a=t[o];if("string"===typeof a)s+=q(a);else{var l=q(a.prefix),c="(?:"+a.pattern+")";e.push(a),a.repeat&&(c+="(?:"+l+c+")*"),c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")",s+=c}}var u=q(n.delimiter||"/"),h=s.slice(-u.length)===u;return i||(s=(h?s.slice(0,-u.length):s)+"(?:"+u+"(?=$))?"),s+=r?"$":i&&h?"":"(?="+u+"|$)",N(new RegExp("^"+s,L(n)),e)}function G(t,e,n){return C(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?B(t,e):C(t)?U(t,e,n):Y(t,e,n)}A.parse=E,A.compile=R,A.tokensToFunction=M,A.tokensToRegExp=D;var H=Object.create(null);function K(t,e,n){e=e||{};try{var i=H[t]||(H[t]=A.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(r){return""}finally{delete e[0]}}function J(t,e,n,r){var s="string"===typeof t?{path:t}:t;if(s._normalized)return s;if(s.name){s=i({},t);var o=s.params;return o&&"object"===typeof o&&(s.params=i({},o)),s}if(!s.path&&s.params&&e){s=i({},s),s._normalized=!0;var a=i(i({},e.params),s.params);if(e.name)s.name=e.name,s.params=a;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;s.path=K(l,a,"path "+e.path)}else 0;return s}var u=T(s.path||""),h=e&&e.path||"/",p=u.path?Q(u.path,h,n||s.append):h,d=c(u.query,s.query,r&&r.options.parseQuery),f=s.hash||u.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:p,query:d,hash:f}}var tt,et=[String,Object],nt=[String,Array],it=function(){},rt={name:"RouterLink",props:{to:{type:et,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:nt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,s=n.resolve(this.to,r,this.append),o=s.location,a=s.route,l=s.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,d=null==h?"router-link-exact-active":h,O=null==this.activeClass?p:this.activeClass,m=null==this.exactActiveClass?d:this.exactActiveClass,g=a.redirectedFrom?f(null,J(a.redirectedFrom),null,n):a;c[m]=y(r,g,this.exactPath),c[O]=this.exact||this.exactPath?c[m]:_(r,g);var v=c[m]?this.ariaCurrentValue:null,b=function(t){st(t)&&(e.replace?n.replace(o,it):n.push(o,it))},x={click:st};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=b})):x[this.event]=b;var w={class:c},$=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:a,navigate:b,isActive:c[O],isExactActive:c[m]});if($){if(1===$.length)return $[0];if($.length>1||!$.length)return 0===$.length?t():t("span",{},$)}if("a"===this.tag)w.on=x,w.attrs={href:l,"aria-current":v};else{var S=ot(this.$slots.default);if(S){S.isStatic=!1;var k=S.data=i({},S.data);for(var Q in k.on=k.on||{},k.on){var T=k.on[Q];Q in x&&(k.on[Q]=Array.isArray(T)?T:[T])}for(var P in x)P in k.on?k.on[P].push(x[P]):k.on[P]=b;var C=S.data.attrs=i({},S.data.attrs);C.href=l,C["aria-current"]=v}else w.on=x}return t(this.tag,w,this.$slots.default)}};function st(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function ot(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=ot(e.children)))return e}}function at(t){if(!at.installed||tt!==t){at.installed=!0,tt=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",$),t.component("RouterLink",rt);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var lt="undefined"!==typeof window;function ct(t,e,n,i,r){var s=e||[],o=n||Object.create(null),a=i||Object.create(null);t.forEach((function(t){ut(s,o,a,t,r)}));for(var l=0,c=s.length;l<c;l++)"*"===s[l]&&(s.push(s.splice(l,1)[0]),c--,l--);return{pathList:s,pathMap:o,nameMap:a}}function ut(t,e,n,i,r,s){var o=i.path,a=i.name;var l=i.pathToRegexpOptions||{},c=pt(o,r,l.strict);"boolean"===typeof i.caseSensitive&&(l.sensitive=i.caseSensitive);var u={path:c,regex:ht(c,l),components:i.components||{default:i.component},alias:i.alias?"string"===typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:a,parent:r,matchAs:s,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach((function(i){var r=s?P(s+"/"+i.path):void 0;ut(t,e,n,i,u,r)})),e[u.path]||(t.push(u.path),e[u.path]=u),void 0!==i.alias)for(var h=Array.isArray(i.alias)?i.alias:[i.alias],p=0;p<h.length;++p){var d=h[p];0;var f={path:d,children:i.children};ut(t,e,n,f,r,u.path||"/")}a&&(n[a]||(n[a]=u))}function ht(t,e){var n=A(t,[],e);return n}function pt(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:P(e.path+"/"+t)}function dt(t,e){var n=ct(t),i=n.pathList,r=n.pathMap,s=n.nameMap;function o(t){ct(t,i,r,s)}function a(t,e){var n="object"!==typeof t?s[t]:void 0;ct([e||t],i,r,s,n),n&&n.alias.length&&ct(n.alias.map((function(t){return{path:t,children:[e]}})),i,r,s,n)}function l(){return i.map((function(t){return r[t]}))}function c(t,n,o){var a=J(t,n,!1,e),l=a.name;if(l){var c=s[l];if(!c)return p(null,a);var u=c.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof a.params&&(a.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in a.params)&&u.indexOf(h)>-1&&(a.params[h]=n.params[h]);return a.path=K(c.path,a.params,'named route "'+l+'"'),p(c,a,o)}if(a.path){a.params={};for(var d=0;d<i.length;d++){var f=i[d],O=r[f];if(ft(O.regex,a.path,a.params))return p(O,a,o)}}return p(null,a)}function u(t,n){var i=t.redirect,r="function"===typeof i?i(f(t,n,null,e)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return p(null,n);var o=r,a=o.name,l=o.path,u=n.query,h=n.hash,d=n.params;if(u=o.hasOwnProperty("query")?o.query:u,h=o.hasOwnProperty("hash")?o.hash:h,d=o.hasOwnProperty("params")?o.params:d,a){s[a];return c({_normalized:!0,name:a,query:u,hash:h,params:d},void 0,n)}if(l){var O=Ot(l,t),m=K(O,d,'redirect route with path "'+O+'"');return c({_normalized:!0,path:m,query:u,hash:h},void 0,n)}return p(null,n)}function h(t,e,n){var i=K(n,e.params,'aliased route with path "'+n+'"'),r=c({_normalized:!0,path:i});if(r){var s=r.matched,o=s[s.length-1];return e.params=r.params,p(o,e)}return p(null,e)}function p(t,n,i){return t&&t.redirect?u(t,i||n):t&&t.matchAs?h(t,n,t.matchAs):f(t,n,i,e)}return{match:c,addRoute:a,getRoutes:l,addRoutes:o}}function ft(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,s=i.length;r<s;++r){var o=t.keys[r-1];o&&(n[o.name||"pathMatch"]="string"===typeof i[r]?l(i[r]):i[r])}return!0}function Ot(t,e){return Q(t,e.parent?e.parent.path:"/",!0)}var mt=lt&&window.performance&&window.performance.now?window.performance:Date;function gt(){return mt.now().toFixed(3)}var vt=gt();function yt(){return vt}function bt(t){return vt=t}var _t=Object.create(null);function xt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=i({},window.history.state);return n.key=yt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",St),function(){window.removeEventListener("popstate",St)}}function wt(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var s=kt(),o=r.call(t,e,n,i?s:null);o&&("function"===typeof o.then?o.then((function(t){Rt(t,s)})).catch((function(t){0})):Rt(o,s))}))}}function $t(){var t=yt();t&&(_t[t]={x:window.pageXOffset,y:window.pageYOffset})}function St(t){$t(),t.state&&t.state.key&&bt(t.state.key)}function kt(){var t=yt();if(t)return _t[t]}function Qt(t,e){var n=document.documentElement,i=n.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-i.left-e.x,y:r.top-i.top-e.y}}function Tt(t){return At(t.x)||At(t.y)}function Pt(t){return{x:At(t.x)?t.x:window.pageXOffset,y:At(t.y)?t.y:window.pageYOffset}}function Ct(t){return{x:At(t.x)?t.x:0,y:At(t.y)?t.y:0}}function At(t){return"number"===typeof t}var Et=/^#\d/;function Rt(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var i=Et.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=Ct(r),e=Qt(i,r)}else Tt(t)&&(e=Pt(t))}else n&&Tt(t)&&(e=Pt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Mt=lt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function Dt(t,e){$t();var n=window.history;try{if(e){var r=i({},n.state);r.key=yt(),n.replaceState(r,"",t)}else n.pushState({key:bt(gt())},"",t)}catch(s){window.location[e?"replace":"assign"](t)}}function zt(t){Dt(t,!0)}var jt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Zt(t,e){return qt(t,e,jt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Nt(e)+'" via a navigation guard.')}function Vt(t,e){var n=qt(t,e,jt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Xt(t,e){return qt(t,e,jt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Wt(t,e){return qt(t,e,jt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function qt(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var It=["params","query","hash"];function Nt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return It.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Lt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Bt(t,e){return Lt(t)&&t._isRouter&&(null==e||t.type===e)}function Ut(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],(function(){i(r+1)})):i(r+1)};i(0)}function Yt(t){return function(e,n,i){var r=!1,s=0,o=null;Ft(t,(function(t,e,n,a){if("function"===typeof t&&void 0===t.cid){r=!0,s++;var l,c=Jt((function(e){Kt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[a]=e,s--,s<=0&&i()})),u=Jt((function(t){var e="Failed to resolve async component "+a+": "+t;o||(o=Lt(t)?t:new Error(e),i(o))}));try{l=t(c,u)}catch(p){u(p)}if(l)if("function"===typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"===typeof h.then&&h.then(c,u)}}})),r||i()}}function Ft(t,e){return Gt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Gt(t){return Array.prototype.concat.apply([],t)}var Ht="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Kt(t){return t.__esModule||Ht&&"Module"===t[Symbol.toStringTag]}function Jt(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(lt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function ie(t,e,n,i){var r=Ft(t,(function(t,i,r,s){var o=re(t,e);if(o)return Array.isArray(o)?o.map((function(t){return n(t,i,r,s)})):n(o,i,r,s)}));return Gt(i?r.reverse():r)}function re(t,e){return"function"!==typeof t&&(t=tt.extend(t)),t.options[e]}function se(t){return ie(t,"beforeRouteLeave",ae,!0)}function oe(t){return ie(t,"beforeRouteUpdate",ae)}function ae(t,e){if(e)return function(){return t.apply(e,arguments)}}function le(t){return ie(t,"beforeRouteEnter",(function(t,e,n,i){return ce(t,n,i)}))}function ce(t,e,n){return function(i,r,s){return t(i,r,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),s(t)}))}}te.prototype.listen=function(t){this.cb=t},te.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},te.prototype.onError=function(t){this.errorCbs.push(t)},te.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(o){throw this.errorCbs.forEach((function(t){t(o)})),o}var s=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(t){t&&t(i,s)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(Bt(t,jt.redirected)&&s===m||(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)}))))}))},te.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current;this.pending=t;var s=function(t){!Bt(t)&&Lt(t)&&(i.errorCbs.length?i.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},o=t.matched.length-1,a=r.matched.length-1;if(y(t,r)&&o===a&&t.matched[o]===r.matched[a])return this.ensureURL(),t.hash&&wt(this.router,r,t,!1),s(Vt(r,t));var l=ne(this.current.matched,t.matched),c=l.updated,u=l.deactivated,h=l.activated,p=[].concat(se(u),this.router.beforeHooks,oe(c),h.map((function(t){return t.beforeEnter})),Yt(h)),d=function(e,n){if(i.pending!==t)return s(Xt(r,t));try{e(t,r,(function(e){!1===e?(i.ensureURL(!0),s(Wt(r,t))):Lt(e)?(i.ensureURL(!0),s(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(s(Zt(r,t)),"object"===typeof e&&e.replace?i.replace(e):i.push(e)):n(e)}))}catch(o){s(o)}};Ut(p,d,(function(){var n=le(h),o=n.concat(i.router.resolveHooks);Ut(o,d,(function(){if(i.pending!==t)return s(Xt(r,t));i.pending=null,e(t),i.router.app&&i.router.app.$nextTick((function(){w(t)}))}))}))},te.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},te.prototype.setupListeners=function(){},te.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var ue=function(t){function e(e,n){t.call(this,e,n),this._startLocation=he(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Mt&&n;i&&this.listeners.push(xt());var r=function(){var n=t.current,r=he(t.base);t.current===m&&r===t._startLocation||t.transitionTo(r,(function(t){i&&wt(e,t,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){Dt(P(i.base+t.fullPath)),wt(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){zt(P(i.base+t.fullPath)),wt(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=P(this.base+this.current.fullPath);t?Dt(e):zt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(te);function he(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(P(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,i){t.call(this,e,n),i&&de(this.base)||fe()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Mt&&n;i&&this.listeners.push(xt());var r=function(){var e=t.current;fe()&&t.transitionTo(Oe(),(function(n){i&&wt(t.router,n,e,!0),Mt||ve(n.fullPath)}))},s=Mt?"popstate":"hashchange";window.addEventListener(s,r),this.listeners.push((function(){window.removeEventListener(s,r)}))}},e.prototype.push=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){ge(t.fullPath),wt(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){ve(t.fullPath),wt(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Oe()!==e&&(t?ge(e):ve(e))},e.prototype.getCurrentLocation=function(){return Oe()},e}(te);function de(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(P(t+"/#"+e)),!0}function fe(){var t=Oe();return"/"===t.charAt(0)||(ve("/"+t),!1)}function Oe(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function ge(t){Mt?Dt(me(t)):window.location.hash=t}function ve(t){Mt?zt(me(t)):window.location.replace(me(t))}var ye=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){Bt(t,jt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),be=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Mt&&!1!==t.fallback,this.fallback&&(e="hash"),lt||(e="abstract"),this.mode=e,e){case"history":this.history=new ue(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new ye(this,t.base);break;default:0}},_e={currentRoute:{configurable:!0}};be.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},_e.currentRoute.get=function(){return this.history&&this.history.current},be.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ue||n instanceof pe){var i=function(t){var i=n.current,r=e.options.scrollBehavior,s=Mt&&r;s&&"fullPath"in t&&wt(e,t,i,!1)},r=function(t){n.setupListeners(),i(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},be.prototype.beforeEach=function(t){return we(this.beforeHooks,t)},be.prototype.beforeResolve=function(t){return we(this.resolveHooks,t)},be.prototype.afterEach=function(t){return we(this.afterHooks,t)},be.prototype.onReady=function(t,e){this.history.onReady(t,e)},be.prototype.onError=function(t){this.history.onError(t)},be.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},be.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},be.prototype.go=function(t){this.history.go(t)},be.prototype.back=function(){this.go(-1)},be.prototype.forward=function(){this.go(1)},be.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},be.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=J(t,e,n,this),r=this.match(i,e),s=r.redirectedFrom||r.fullPath,o=this.history.base,a=$e(o,s,this.mode);return{location:i,route:r,href:a,normalizedTo:i,resolved:r}},be.prototype.getRoutes=function(){return this.matcher.getRoutes()},be.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},be.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(be.prototype,_e);var xe=974==n.j?be:null;function we(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function $e(t,e,n){var i="hash"===n?"#"+e:e;return t?P(t+"/"+i):i}be.install=at,be.version="3.6.5",be.isNavigationFailure=Bt,be.NavigationFailureType=jt,be.START_LOCATION=m,lt&&window.Vue&&window.Vue.use(be)},20144:(t,e,n)=>{"use strict";n.d(e,{Y3:()=>cn,ZP:()=>Hi,h:()=>Ye});
/*!
* Vue.js v2.7.14
* (c) 2014-2022 Evan You
* Released under the MIT License.
*/
var i=Object.freeze({}),r=Array.isArray;function s(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function a(t){return!0===t}function l(t){return!1===t}function c(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var p=Object.prototype.toString;function d(t){return"[object Object]"===p.call(t)}function f(t){return"[object RegExp]"===p.call(t)}function O(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return o(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||d(t)&&t.toString===p?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}y("slot,component",!0);var b=y("key,ref,slot,slot-scope,is");function _(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var x=Object.prototype.hasOwnProperty;function w(t,e){return x.call(t,e)}function $(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var S=/-(\w)/g,k=$((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),Q=$((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,P=$((function(t){return t.replace(T,"-$1").toLowerCase()}));function C(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function A(t,e){return t.bind(e)}var E=Function.prototype.bind?A:C;function R(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function M(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n<t.length;n++)t[n]&&M(e,t[n]);return e}function z(t,e,n){}var j=function(t,e,n){return!1},Z=function(t){return t};function V(t,e){if(t===e)return!0;var n=h(t),i=h(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),s=Array.isArray(e);if(r&&s)return t.length===e.length&&t.every((function(t,n){return V(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||s)return!1;var o=Object.keys(t),a=Object.keys(e);return o.length===a.length&&o.every((function(n){return V(t[n],e[n])}))}catch(l){return!1}}function X(t,e){for(var n=0;n<t.length;n++)if(V(t[n],e))return n;return-1}function W(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function q(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var I="data-server-rendered",N=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:z,parsePlatformTagName:Z,mustUseProp:j,async:!0,_lifecycleHooks:L},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function F(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var G=new RegExp("[^".concat(U.source,".$_\\d]"));function H(t){if(!G.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var K="__proto__"in{},J="undefined"!==typeof window,tt=J&&window.navigator.userAgent.toLowerCase(),et=tt&&/msie|trident/.test(tt),nt=tt&&tt.indexOf("msie 9.0")>0,it=tt&&tt.indexOf("edge/")>0;tt&&tt.indexOf("android");var rt=tt&&/iphone|ipad|ipod|ios/.test(tt);tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt);var st,ot=tt&&tt.match(/firefox\/(\d+)/),at={}.watch,lt=!1;if(J)try{var ct={};Object.defineProperty(ct,"passive",{get:function(){lt=!0}}),window.addEventListener("test-passive",null,ct)}catch(Ko){}var ut=function(){return void 0===st&&(st=!J&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),st},ht=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var dt,ft="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);dt="undefined"!==typeof Set&&pt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Ot=null;function mt(t){void 0===t&&(t=null),t||Ot&&Ot._scope.off(),Ot=t,t&&t._scope.on()}var gt=function(){function t(t,e,n,i,r,s,o,a){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),vt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function yt(t){return new gt(void 0,void 0,void 0,String(t))}function bt(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var _t=0,xt=[],wt=function(){for(var t=0;t<xt.length;t++){var e=xt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}xt.length=0},$t=function(){function t(){this._pending=!1,this.id=_t++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,xt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,i=e.length;n<i;n++){var r=e[n];0,r.update()}},t}();$t.target=null;var St=[];function kt(t){St.push(t),$t.target=t}function Qt(){St.pop(),$t.target=St[St.length-1]}var Tt=Array.prototype,Pt=Object.create(Tt),Ct=["push","pop","shift","unshift","splice","sort","reverse"];Ct.forEach((function(t){var e=Tt[t];F(Pt,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,s=e.apply(this,n),o=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&o.observeArray(r),o.dep.notify(),s}))}));var At=Object.getOwnPropertyNames(Pt),Et={},Rt=!0;function Mt(t){Rt=t}var Dt={notify:z,depend:z,addSub:z,removeSub:z},zt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Dt:new $t,this.vmCount=0,F(t,"__ob__",this),r(t)){if(!n)if(K)t.__proto__=Pt;else for(var i=0,s=At.length;i<s;i++){var o=At[i];F(t,o,Pt[o])}e||this.observeArray(t)}else{var a=Object.keys(t);for(i=0;i<a.length;i++){o=a[i];Zt(t,o,Et,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)jt(t[e],!1,this.mock)},t}();function jt(t,e,n){return t&&w(t,"__ob__")&&t.__ob__ instanceof zt?t.__ob__:!Rt||!n&&ut()||!r(t)&&!d(t)||!Object.isExtensible(t)||t.__v_skip||Lt(t)||t instanceof gt?void 0:new zt(t,e,n)}function Zt(t,e,n,i,s,o){var a=new $t,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var c=l&&l.get,u=l&&l.set;c&&!u||n!==Et&&2!==arguments.length||(n=t[e]);var h=!s&&jt(n,!1,o);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=c?c.call(t):n;return $t.target&&(a.depend(),h&&(h.dep.depend(),r(e)&&Wt(e))),Lt(e)&&!s?e.value:e},set:function(e){var i=c?c.call(t):n;if(q(i,e)){if(u)u.call(t,e);else{if(c)return;if(!s&&Lt(i)&&!Lt(e))return void(i.value=e);n=e}h=!s&&jt(e,!1,o),a.notify()}}}),a}}function Vt(t,e,n){if(!Nt(t)){var i=t.__ob__;return r(t)&&O(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&jt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(Zt(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Xt(t,e){if(r(t)&&O(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Nt(t)||w(t,e)&&(delete t[e],n&&n.dep.notify())}}function Wt(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Wt(e)}function qt(t){return It(t,!0),F(t,"__v_isShallow",!0),t}function It(t,e){if(!Nt(t)){jt(t,e,ut());0}}function Nt(t){return!(!t||!t.__v_isReadonly)}function Lt(t){return!(!t||!0!==t.__v_isRef)}function Bt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Lt(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];Lt(i)&&!Lt(t)?i.value=t:e[n]=t}})}var Ut="watcher";"".concat(Ut," callback"),"".concat(Ut," getter"),"".concat(Ut," cleanup");var Yt;var Ft=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Yt,!t&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Yt;try{return Yt=this,t()}finally{Yt=e}}else 0},t.prototype.on=function(){Yt=this},t.prototype.off=function(){Yt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Gt(t,e){void 0===e&&(e=Yt),e&&e.active&&e.effects.push(t)}function Ht(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var Kt=$((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function Jt(t,e){function n(){var t=n.fns;if(!r(t))return Ge(t,null,arguments,e,"v-on handler");for(var i=t.slice(),s=0;s<i.length;s++)Ge(i[s],null,arguments,e,"v-on handler")}return n.fns=t,n}function te(t,e,n,i,r,o){var l,c,u,h;for(l in t)c=t[l],u=e[l],h=Kt(l),s(c)||(s(u)?(s(c.fns)&&(c=t[l]=Jt(c,o)),a(h.once)&&(c=t[l]=r(h.name,c,h.capture)),n(h.name,c,h.capture,h.passive,h.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)s(t[l])&&(h=Kt(l),i(h.name,e[l],h.capture))}function ee(t,e,n){var i;t instanceof gt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function l(){n.apply(this,arguments),_(i.fns,l)}s(r)?i=Jt([l]):o(r.fns)&&a(r.merged)?(i=r,i.fns.push(l)):i=Jt([r,l]),i.merged=!0,t[e]=i}function ne(t,e,n){var i=e.options.props;if(!s(i)){var r={},a=t.attrs,l=t.props;if(o(a)||o(l))for(var c in i){var u=P(c);ie(r,l,c,u,!0)||ie(r,a,c,u,!1)}return r}}function ie(t,e,n,i,r){if(o(e)){if(w(e,n))return t[n]=e[n],r||delete e[n],!0;if(w(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function re(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}function se(t){return c(t)?[yt(t)]:r(t)?ae(t):void 0}function oe(t){return o(t)&&o(t.text)&&l(t.isComment)}function ae(t,e){var n,i,l,u,h=[];for(n=0;n<t.length;n++)i=t[n],s(i)||"boolean"===typeof i||(l=h.length-1,u=h[l],r(i)?i.length>0&&(i=ae(i,"".concat(e||"","_").concat(n)),oe(i[0])&&oe(u)&&(h[l]=yt(u.text+i[0].text),i.shift()),h.push.apply(h,i)):c(i)?oe(u)?h[l]=yt(u.text+i):""!==i&&h.push(yt(i)):oe(i)&&oe(u)?h[l]=yt(u.text+i.text):(a(t._isVList)&&o(i.tag)&&s(i.key)&&o(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}function le(t,e){var n,i,s,a,l=null;if(r(t)||"string"===typeof t)for(l=new Array(t.length),n=0,i=t.length;n<i;n++)l[n]=e(t[n],n);else if("number"===typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(h(t))if(ft&&t[Symbol.iterator]){l=[];var c=t[Symbol.iterator](),u=c.next();while(!u.done)l.push(e(u.value,l.length)),u=c.next()}else for(s=Object.keys(t),l=new Array(s.length),n=0,i=s.length;n<i;n++)a=s[n],l[n]=e(t[a],a,n);return o(l)||(l=[]),l._isVList=!0,l}function ce(t,e,n,i){var r,s=this.$scopedSlots[t];s?(n=n||{},i&&(n=M(M({},i),n)),r=s(n)||(u(e)?e():e)):r=this.$slots[t]||(u(e)?e():e);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},r):r}function ue(t){return $i(this.$options,"filters",t,!0)||Z}function he(t,e){return r(t)?-1===t.indexOf(e):t!==e}function pe(t,e,n,i,r){var s=B.keyCodes[e]||n;return r&&i&&!B.keyCodes[e]?he(r,i):s?he(s,t):i?P(i)!==e:void 0===t}function de(t,e,n,i,s){if(n)if(h(n)){r(n)&&(n=D(n));var o=void 0,a=function(r){if("class"===r||"style"===r||b(r))o=t;else{var a=t.attrs&&t.attrs.type;o=i||B.mustUseProp(e,a,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=k(r),c=P(r);if(!(l in o)&&!(c in o)&&(o[r]=n[r],s)){var u=t.on||(t.on={});u["update:".concat(r)]=function(t){n[r]=t}}};for(var l in n)a(l)}else;return t}function fe(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),me(i,"__static__".concat(t),!1)),i}function Oe(t,e,n){return me(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function me(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&ge(t[i],"".concat(e,"_").concat(i),n);else ge(t,e,n)}function ge(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ve(t,e){if(e)if(d(e)){var n=t.on=t.on?M({},t.on):{};for(var i in e){var r=n[i],s=e[i];n[i]=r?[].concat(r,s):s}}else;return t}function ye(t,e,n,i){e=e||{$stable:!n};for(var s=0;s<t.length;s++){var o=t[s];r(o)?ye(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return i&&(e.$key=i),e}function be(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function _e(t,e){return"string"===typeof t?e+t:t}function xe(t){t._o=Oe,t._n=v,t._s=g,t._l=le,t._t=ce,t._q=V,t._i=X,t._m=fe,t._f=ue,t._k=pe,t._b=de,t._v=yt,t._e=vt,t._u=ye,t._g=ve,t._d=be,t._p=_e}function we(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var s=t[i],o=s.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,s.context!==e&&s.fnContext!==e||!o||null==o.slot)(n.default||(n.default=[])).push(s);else{var a=o.slot,l=n[a]||(n[a]=[]);"template"===s.tag?l.push.apply(l,s.children||[]):l.push(s)}}for(var c in n)n[c].every($e)&&delete n[c];return n}function $e(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Se(t){return t.isComment&&t.asyncFactory}function ke(t,e,n,r){var s,o=Object.keys(n).length>0,a=e?!!e.$stable:!o,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==i&&l===r.$key&&!o&&!r.$hasNormal)return r;for(var c in s={},e)e[c]&&"$"!==c[0]&&(s[c]=Qe(t,n,c,e[c]))}else s={};for(var u in n)u in s||(s[u]=Te(n,u));return e&&Object.isExtensible(e)&&(e._normalized=s),F(s,"$stable",a),F(s,"$key",l),F(s,"$hasNormal",o),s}function Qe(t,e,n,i){var s=function(){var e=Ot;mt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:se(n);var s=n&&n[0];return mt(e),n&&(!s||1===n.length&&s.isComment&&!Se(s))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:s,enumerable:!0,configurable:!0}),s}function Te(t,e){return function(){return t[e]}}function Pe(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=Ce(t);mt(t),kt();var r=Ge(n,null,[t._props||qt({}),i],t,"setup");if(Qt(),mt(),u(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var s=t._setupProxy={};for(var o in r)"__sfc"!==o&&Bt(s,r,o)}else for(var o in r)Y(o)||Bt(t,r,o);else 0}}function Ce(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};F(e,"_v_attr_proxy",!0),Ae(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Ae(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return Re(t)},emit:E(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Bt(t,e,n)}))}}}function Ae(t,e,n,i,r){var s=!1;for(var o in e)o in t?e[o]!==n[o]&&(s=!0):(s=!0,Ee(t,o,i,r));for(var o in t)o in e||(s=!0,delete t[o]);return s}function Ee(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function Re(t){return t._slotsProxy||Me(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Me(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function De(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=we(e._renderChildren,r),t.$scopedSlots=n?ke(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return Ne(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Ne(t,e,n,i,r,!0)};var s=n&&n.data;Zt(t,"$attrs",s&&s.attrs||i,null,!0),Zt(t,"$listeners",e._parentListeners||i,null,!0)}var ze=null;function je(t){xe(t.prototype),t.prototype.$nextTick=function(t){return cn(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,s=n._parentVnode;s&&e._isMounted&&(e.$scopedSlots=ke(e.$parent,s.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Me(e._slotsProxy,e.$scopedSlots)),e.$vnode=s;try{mt(e),ze=e,t=i.call(e._renderProxy,e.$createElement)}catch(Ko){Fe(Ko,e,"render"),t=e._vnode}finally{ze=null,mt()}return r(t)&&1===t.length&&(t=t[0]),t instanceof gt||(t=vt()),t.parent=s,t}}function Ze(t,e){return(t.__esModule||ft&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function Ve(t,e,n,i,r){var s=vt();return s.asyncFactory=t,s.asyncMeta={data:e,context:n,children:i,tag:r},s}function Xe(t,e){if(a(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=ze;if(n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),a(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var i=t.owners=[n],r=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return _(i,n)}));var u=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==l&&(clearTimeout(l),l=null),null!==c&&(clearTimeout(c),c=null))},p=W((function(n){t.resolved=Ze(n,e),r?i.length=0:u(!0)})),d=W((function(e){o(t.errorComp)&&(t.error=!0,u(!0))})),f=t(p,d);return h(f)&&(m(f)?s(t.resolved)&&f.then(p,d):m(f.component)&&(f.component.then(p,d),o(f.error)&&(t.errorComp=Ze(f.error,e)),o(f.loading)&&(t.loadingComp=Ze(f.loading,e),0===f.delay?t.loading=!0:l=setTimeout((function(){l=null,s(t.resolved)&&s(t.error)&&(t.loading=!0,u(!1))}),f.delay||200)),o(f.timeout)&&(c=setTimeout((function(){c=null,s(t.resolved)&&d(null)}),f.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}function We(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||Se(n)))return n}}var qe=1,Ie=2;function Ne(t,e,n,i,s,o){return(r(n)||c(n))&&(s=i,i=n,n=void 0),a(o)&&(s=Ie),Le(t,e,n,i,s)}function Le(t,e,n,i,s){if(o(n)&&o(n.__ob__))return vt();if(o(n)&&o(n.is)&&(e=n.is),!e)return vt();var a,l;if(r(i)&&u(i[0])&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),s===Ie?i=se(i):s===qe&&(i=re(i)),"string"===typeof e){var c=void 0;l=t.$vnode&&t.$vnode.ns||B.getTagNamespace(e),a=B.isReservedTag(e)?new gt(B.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!o(c=$i(t.$options,"components",e))?new gt(e,n,i,void 0,void 0,t):ai(c,n,t,i,e)}else a=ai(e,n,t,i);return r(a)?a:o(a)?(o(l)&&Be(a,l),o(n)&&Ue(n),a):vt()}function Be(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),o(t.children))for(var i=0,r=t.children.length;i<r;i++){var l=t.children[i];o(l.tag)&&(s(l.ns)||a(n)&&"svg"!==l.tag)&&Be(l,e,n)}}function Ue(t){h(t.style)&&fn(t.style),h(t.class)&&fn(t.class)}function Ye(t,e,n){return Ne(Ot,t,e,n,2,!0)}function Fe(t,e,n){kt();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var s=0;s<r.length;s++)try{var o=!1===r[s].call(i,t,e,n);if(o)return}catch(Ko){He(Ko,i,"errorCaptured hook")}}}He(t,e,n)}finally{Qt()}}function Ge(t,e,n,i,r){var s;try{s=n?t.apply(e,n):t.call(e),s&&!s._isVue&&m(s)&&!s._handled&&(s.catch((function(t){return Fe(t,i,r+" (Promise/async)")})),s._handled=!0)}catch(Ko){Fe(Ko,i,r)}return s}function He(t,e,n){if(B.errorHandler)try{return B.errorHandler.call(null,t,e,n)}catch(Ko){Ko!==t&&Ke(Ko,null,"config.errorHandler")}Ke(t,e,n)}function Ke(t,e,n){if(!J||"undefined"===typeof console)throw t;console.error(t)}var Je,tn=!1,en=[],nn=!1;function rn(){nn=!1;var t=en.slice(0);en.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&pt(Promise)){var sn=Promise.resolve();Je=function(){sn.then(rn),rt&&setTimeout(z)},tn=!0}else if(et||"undefined"===typeof MutationObserver||!pt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Je="undefined"!==typeof setImmediate&&pt(setImmediate)?function(){setImmediate(rn)}:function(){setTimeout(rn,0)};else{var on=1,an=new MutationObserver(rn),ln=document.createTextNode(String(on));an.observe(ln,{characterData:!0}),Je=function(){on=(on+1)%2,ln.data=String(on)},tn=!0}function cn(t,e){var n;if(en.push((function(){if(t)try{t.call(e)}catch(Ko){Fe(Ko,e,"nextTick")}else n&&n(e)})),nn||(nn=!0,Je()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function un(t){return function(e,n){if(void 0===n&&(n=Ot),n)return hn(n,t,e)}}function hn(t,e,n){var i=t.$options;i[e]=mi(i[e],n)}un("beforeMount"),un("mounted"),un("beforeUpdate"),un("updated"),un("beforeDestroy"),un("destroyed"),un("activated"),un("deactivated"),un("serverPrefetch"),un("renderTracked"),un("renderTriggered"),un("errorCaptured");var pn="2.7.14";var dn=new dt;function fn(t){return On(t,dn),dn.clear(),t}function On(t,e){var n,i,s=r(t);if(!(!s&&!h(t)||t.__v_skip||Object.isFrozen(t)||t instanceof gt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(s){n=t.length;while(n--)On(t[n],e)}else if(Lt(t))On(t.value,e);else{i=Object.keys(t),n=i.length;while(n--)On(t[i[n]],e)}}}var mn,gn=0,vn=function(){function t(t,e,n,i,r){Gt(this,Yt&&!Yt._vm?Yt:t?t._scope:void 0),(this.vm=t)&&r&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++gn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new dt,this.newDepIds=new dt,this.expression="",u(e)?this.getter=e:(this.getter=H(e),this.getter||(this.getter=z)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;kt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Ko){if(!this.user)throw Ko;Fe(Ko,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&fn(t),Qt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Gn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Ge(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&_(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function yn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&wn(t,e)}function bn(t,e){mn.$on(t,e)}function _n(t,e){mn.$off(t,e)}function xn(t,e){var n=mn;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function wn(t,e,n){mn=t,te(e,n||{},bn,_n,xn,t),mn=void 0}function $n(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var s=0,o=t.length;s<o;s++)i.$on(t[s],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,s=t.length;i<s;i++)n.$off(t[i],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;var l=a.length;while(l--)if(o=a[l],o===e||o.fn===e){a.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?R(n):n;for(var i=R(arguments,1),r='event handler for "'.concat(t,'"'),s=0,o=n.length;s<o;s++)Ge(n[s],e,i,e,r)}return e}}var Sn=null;function kn(t){var e=Sn;return Sn=t,function(){Sn=e}}function Qn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Tn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,s=kn(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),s(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);var o=n;while(o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode)o.$parent.$el=o.$el,o=o.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Mn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Mn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Pn(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=vt),Mn(t,"beforeMount"),i=function(){t._update(t._render(),n)};var r={before:function(){t._isMounted&&!t._isDestroyed&&Mn(t,"beforeUpdate")}};new vn(t,i,z,r,!0),n=!1;var s=t._preWatchers;if(s)for(var o=0;o<s.length;o++)s[o].run();return null==t.$vnode&&(t._isMounted=!0,Mn(t,"mounted")),t}function Cn(t,e,n,r,s){var o=r.data.scopedSlots,a=t.$scopedSlots,l=!!(o&&!o.$stable||a!==i&&!a.$stable||o&&t.$scopedSlots.$key!==o.$key||!o&&t.$scopedSlots.$key),c=!!(s||t.$options._renderChildren||l),u=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=s;var h=r.data.attrs||i;t._attrsProxy&&Ae(t._attrsProxy,h,u.data&&u.data.attrs||i,t,"$attrs")&&(c=!0),t.$attrs=h,n=n||i;var p=t.$options._parentListeners;if(t._listenersProxy&&Ae(t._listenersProxy,n,p||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,wn(t,n,p),e&&t.$options.props){Mt(!1);for(var d=t._props,f=t.$options._propKeys||[],O=0;O<f.length;O++){var m=f[O],g=t.$options.props;d[m]=Si(m,g,e,t)}Mt(!0),t.$options.propsData=e}c&&(t.$slots=we(s,r.context),t.$forceUpdate())}function An(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function En(t,e){if(e){if(t._directInactive=!1,An(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)En(t.$children[n]);Mn(t,"activated")}}function Rn(t,e){if((!e||(t._directInactive=!0,!An(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Rn(t.$children[n]);Mn(t,"deactivated")}}function Mn(t,e,n,i){void 0===i&&(i=!0),kt();var r=Ot;i&&mt(t);var s=t.$options[e],o="".concat(e," hook");if(s)for(var a=0,l=s.length;a<l;a++)Ge(s[a],t,n||null,t,o);t._hasHookEvent&&t.$emit("hook:"+e),i&&mt(r),Qt()}var Dn=[],zn=[],jn={},Zn=!1,Vn=!1,Xn=0;function Wn(){Xn=Dn.length=zn.length=0,jn={},Zn=Vn=!1}var qn=0,In=Date.now;if(J&&!et){var Nn=window.performance;Nn&&"function"===typeof Nn.now&&In()>document.createEvent("Event").timeStamp&&(In=function(){return Nn.now()})}var Ln=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Bn(){var t,e;for(qn=In(),Vn=!0,Dn.sort(Ln),Xn=0;Xn<Dn.length;Xn++)t=Dn[Xn],t.before&&t.before(),e=t.id,jn[e]=null,t.run();var n=zn.slice(),i=Dn.slice();Wn(),Fn(n),Un(i),wt(),ht&&B.devtools&&ht.emit("flush")}function Un(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&Mn(i,"updated")}}function Yn(t){t._inactive=!1,zn.push(t)}function Fn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,En(t[e],!0)}function Gn(t){var e=t.id;if(null==jn[e]&&(t!==$t.target||!t.noRecurse)){if(jn[e]=!0,Vn){var n=Dn.length-1;while(n>Xn&&Dn[n].id>t.id)n--;Dn.splice(n+1,0,t)}else Dn.push(t);Zn||(Zn=!0,cn(Bn))}}function Hn(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=Ht(t),r=ft?Reflect.ownKeys(n):Object.keys(n),s=0;s<r.length;s++){var o=r[s];Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(n,o))}}}function Kn(t){var e=Jn(t.$options.inject,t);e&&(Mt(!1),Object.keys(e).forEach((function(n){Zt(t,n,e[n])})),Mt(!0))}function Jn(t,e){if(t){for(var n=Object.create(null),i=ft?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var s=i[r];if("__ob__"!==s){var o=t[s].from;if(o in e._provided)n[s]=e._provided[o];else if("default"in t[s]){var a=t[s].default;n[s]=u(a)?a.call(e):a}else 0}}return n}}function ti(t,e,n,s,o){var l,c=this,u=o.options;w(s,"_uid")?(l=Object.create(s),l._original=s):(l=s,s=s._original);var h=a(u._compiled),p=!h;this.data=t,this.props=e,this.children=n,this.parent=s,this.listeners=t.on||i,this.injections=Jn(u.inject,s),this.slots=function(){return c.$slots||ke(s,t.scopedSlots,c.$slots=we(n,s)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ke(s,t.scopedSlots,this.slots())}}),h&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ke(s,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,i){var o=Ne(l,t,e,n,i,p);return o&&!r(o)&&(o.fnScopeId=u._scopeId,o.fnContext=s),o}:this._c=function(t,e,n,i){return Ne(l,t,e,n,i,p)}}function ei(t,e,n,s,a){var l=t.options,c={},u=l.props;if(o(u))for(var h in u)c[h]=Si(h,u,e||i);else o(n.attrs)&&ii(c,n.attrs),o(n.props)&&ii(c,n.props);var p=new ti(n,c,a,s,t),d=l.render.call(null,p._c,p);if(d instanceof gt)return ni(d,n,p.parent,l,p);if(r(d)){for(var f=se(d)||[],O=new Array(f.length),m=0;m<f.length;m++)O[m]=ni(f[m],n,p.parent,l,p);return O}}function ni(t,e,n,i,r){var s=bt(t);return s.fnContext=n,s.fnOptions=i,e.slot&&((s.data||(s.data={})).slot=e.slot),s}function ii(t,e){for(var n in e)t[k(n)]=e[n]}function ri(t){return t.name||t.__name||t._componentTag}xe(ti.prototype);var si={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;si.prepatch(n,n)}else{var i=t.componentInstance=li(t,Sn);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;Cn(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Mn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Yn(n):En(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Rn(e,!0):e.$destroy())}},oi=Object.keys(si);function ai(t,e,n,i,r){if(!s(t)){var l=n.$options._base;if(h(t)&&(t=l.extend(t)),"function"===typeof t){var c;if(s(t.cid)&&(c=t,t=Xe(c,l),void 0===t))return Ve(c,e,n,i,r);e=e||{},Fi(t),o(e.model)&&hi(t.options,e);var u=ne(e,t,r);if(a(t.options.functional))return ei(t,u,e,n,i);var p=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}ci(e);var f=ri(t.options)||r,O=new gt("vue-component-".concat(t.cid).concat(f?"-".concat(f):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:u,listeners:p,tag:r,children:i},c);return O}}}function li(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function ci(t){for(var e=t.hook||(t.hook={}),n=0;n<oi.length;n++){var i=oi[n],r=e[i],s=si[i];r===s||r&&r._merged||(e[i]=r?ui(s,r):s)}}function ui(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function hi(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var s=e.on||(e.on={}),a=s[i],l=e.model.callback;o(a)?(r(a)?-1===a.indexOf(l):a!==l)&&(s[i]=[l].concat(a)):s[i]=l}var pi=z,di=B.optionMergeStrategies;function fi(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var i,r,s,o=ft?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)i=o[a],"__ob__"!==i&&(r=t[i],s=e[i],n&&w(t,i)?r!==s&&d(r)&&d(s)&&fi(r,s):Vt(t,i,s));return t}function Oi(t,e,n){return n?function(){var i=u(e)?e.call(n,n):e,r=u(t)?t.call(n,n):t;return i?fi(i,r):r}:e?t?function(){return fi(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:e:t}function mi(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?gi(n):n}function gi(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function vi(t,e,n,i){var r=Object.create(t||null);return e?M(r,e):r}di.data=function(t,e,n){return n?Oi(t,e,n):e&&"function"!==typeof e?t:Oi(t,e)},L.forEach((function(t){di[t]=mi})),N.forEach((function(t){di[t+"s"]=vi})),di.watch=function(t,e,n,i){if(t===at&&(t=void 0),e===at&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var s={};for(var o in M(s,t),e){var a=s[o],l=e[o];a&&!r(a)&&(a=[a]),s[o]=a?a.concat(l):r(l)?l:[l]}return s},di.props=di.methods=di.inject=di.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return M(r,t),e&&M(r,e),r},di.provide=function(t,e){return t?function(){var n=Object.create(null);return fi(n,u(t)?t.call(this):t),e&&fi(n,u(e)?e.call(this):e,!1),n}:e};var yi=function(t,e){return void 0===e?t:e};function bi(t,e){var n=t.props;if(n){var i,s,o,a={};if(r(n)){i=n.length;while(i--)s=n[i],"string"===typeof s&&(o=k(s),a[o]={type:null})}else if(d(n))for(var l in n)s=n[l],o=k(l),a[o]=d(s)?s:{type:s};else 0;t.props=a}}function _i(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var s=0;s<n.length;s++)i[n[s]]={from:n[s]};else if(d(n))for(var o in n){var a=n[o];i[o]=d(a)?M({from:o},a):{from:a}}else 0}}function xi(t){var e=t.directives;if(e)for(var n in e){var i=e[n];u(i)&&(e[n]={bind:i,update:i})}}function wi(t,e,n){if(u(e)&&(e=e.options),bi(e,n),_i(e,n),xi(e),!e._base&&(e.extends&&(t=wi(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=wi(t,e.mixins[i],n);var s,o={};for(s in t)a(s);for(s in e)w(t,s)||a(s);function a(i){var r=di[i]||yi;o[i]=r(t[i],e[i],n,i)}return o}function $i(t,e,n,i){if("string"===typeof n){var r=t[e];if(w(r,n))return r[n];var s=k(n);if(w(r,s))return r[s];var o=Q(s);if(w(r,o))return r[o];var a=r[n]||r[s]||r[o];return a}}function Si(t,e,n,i){var r=e[t],s=!w(n,t),o=n[t],a=Ci(Boolean,r.type);if(a>-1)if(s&&!w(r,"default"))o=!1;else if(""===o||o===P(t)){var l=Ci(String,r.type);(l<0||a<l)&&(o=!0)}if(void 0===o){o=ki(i,r,t);var c=Rt;Mt(!0),jt(o),Mt(c)}return o}function ki(t,e,n){if(w(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:u(i)&&"Function"!==Ti(e.type)?i.call(t):i}}var Qi=/^\s*function (\w+)/;function Ti(t){var e=t&&t.toString().match(Qi);return e?e[1]:""}function Pi(t,e){return Ti(t)===Ti(e)}function Ci(t,e){if(!r(e))return Pi(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Pi(e[n],t))return n;return-1}var Ai={enumerable:!0,configurable:!0,get:z,set:z};function Ei(t,e,n){Ai.get=function(){return this[e][n]},Ai.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ai)}function Ri(t){var e=t.$options;if(e.props&&Mi(t,e.props),Pe(t),e.methods&&qi(t,e.methods),e.data)Di(t);else{var n=jt(t._data={});n&&n.vmCount++}e.computed&&Zi(t,e.computed),e.watch&&e.watch!==at&&Ii(t,e.watch)}function Mi(t,e){var n=t.$options.propsData||{},i=t._props=qt({}),r=t.$options._propKeys=[],s=!t.$parent;s||Mt(!1);var o=function(s){r.push(s);var o=Si(s,e,n,t);Zt(i,s,o),s in t||Ei(t,"_props",s)};for(var a in e)o(a);Mt(!0)}function Di(t){var e=t.$options.data;e=t._data=u(e)?zi(e,t):e||{},d(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var s=n[r];0,i&&w(i,s)||Y(s)||Ei(t,"_data",s)}var o=jt(e);o&&o.vmCount++}function zi(t,e){kt();try{return t.call(e,e)}catch(Ko){return Fe(Ko,e,"data()"),{}}finally{Qt()}}var ji={lazy:!0};function Zi(t,e){var n=t._computedWatchers=Object.create(null),i=ut();for(var r in e){var s=e[r],o=u(s)?s:s.get;0,i||(n[r]=new vn(t,o||z,z,ji)),r in t||Vi(t,r,s)}}function Vi(t,e,n){var i=!ut();u(n)?(Ai.get=i?Xi(e):Wi(n),Ai.set=z):(Ai.get=n.get?i&&!1!==n.cache?Xi(e):Wi(n.get):z,Ai.set=n.set||z),Object.defineProperty(t,e,Ai)}function Xi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),$t.target&&e.depend(),e.value}}function Wi(t){return function(){return t.call(this,this)}}function qi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?z:E(e[n],t)}function Ii(t,e){for(var n in e){var i=e[n];if(r(i))for(var s=0;s<i.length;s++)Ni(t,n,i[s]);else Ni(t,n,i)}}function Ni(t,e,n,i){return d(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function Li(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Vt,t.prototype.$delete=Xt,t.prototype.$watch=function(t,e,n){var i=this;if(d(e))return Ni(i,t,e,n);n=n||{},n.user=!0;var r=new vn(i,t,e,n);if(n.immediate){var s='callback for immediate watcher "'.concat(r.expression,'"');kt(),Ge(e,i,[r.value],i,s),Qt()}return function(){r.teardown()}}}var Bi=0;function Ui(t){t.prototype._init=function(t){var e=this;e._uid=Bi++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ft(!0),e._scope._vm=!0,t&&t._isComponent?Yi(e,t):e.$options=wi(Fi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Qn(e),yn(e),De(e),Mn(e,"beforeCreate",void 0,!1),Kn(e),Ri(e),Hn(e),Mn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Yi(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Fi(t){var e=t.options;if(t.super){var n=Fi(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=Gi(t);r&&M(t.extendOptions,r),e=t.options=wi(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Gi(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function Hi(t){this._init(t)}function Ki(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=R(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function Ji(t){t.mixin=function(t){return this.options=wi(this.options,t),this}}function tr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var s=ri(t)||ri(n.options);var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=wi(n.options,t),o["super"]=n,o.options.props&&er(o),o.options.computed&&nr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,N.forEach((function(t){o[t]=n[t]})),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=M({},o.options),r[i]=o,o}}function er(t){var e=t.options.props;for(var n in e)Ei(t.prototype,"_props",n)}function nr(t){var e=t.options.computed;for(var n in e)Vi(t.prototype,n,e[n])}function ir(t){N.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&d(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function rr(t){return t&&(ri(t.Ctor.options)||t.tag)}function sr(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function or(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var s in n){var o=n[s];if(o){var a=o.name;a&&!e(a)&&ar(n,s,i,r)}}}function ar(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,_(n,e)}Ui(Hi),Li(Hi),$n(Hi),Tn(Hi),je(Hi);var lr=[String,RegExp,Array],cr={name:"keep-alive",abstract:!0,props:{include:lr,exclude:lr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var s=i.tag,o=i.componentInstance,a=i.componentOptions;e[r]={name:rr(a),tag:s,componentInstance:o},n.push(r),this.max&&n.length>parseInt(this.max)&&ar(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ar(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){or(t,(function(t){return sr(e,t)}))})),this.$watch("exclude",(function(e){or(t,(function(t){return!sr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=We(t),n=e&&e.componentOptions;if(n){var i=rr(n),r=this,s=r.include,o=r.exclude;if(s&&(!i||!sr(s,i))||o&&i&&sr(o,i))return e;var a=this,l=a.cache,c=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,_(c,u),c.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},ur={KeepAlive:cr};function hr(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:pi,extend:M,mergeOptions:wi,defineReactive:Zt},t.set=Vt,t.delete=Xt,t.nextTick=cn,t.observable=function(t){return jt(t),t},t.options=Object.create(null),N.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,M(t.options.components,ur),Ki(t),Ji(t),tr(t),ir(t)}hr(Hi),Object.defineProperty(Hi.prototype,"$isServer",{get:ut}),Object.defineProperty(Hi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Hi,"FunctionalRenderContext",{value:ti}),Hi.version=pn;var pr=y("style,class"),dr=y("input,textarea,option,select,progress"),fr=function(t,e,n){return"value"===n&&dr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Or=y("contenteditable,draggable,spellcheck"),mr=y("events,caret,typing,plaintext-only"),gr=function(t,e){return xr(e)||"false"===e?"false":"contenteditable"===t&&mr(e)?e:"true"},vr=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),yr="http://www.w3.org/1999/xlink",br=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},_r=function(t){return br(t)?t.slice(6,t.length):""},xr=function(t){return null==t||!1===t};function wr(t){var e=t.data,n=t,i=t;while(o(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=$r(i.data,e));while(o(n=n.parent))n&&n.data&&(e=$r(e,n.data));return Sr(e.staticClass,e.class)}function $r(t,e){return{staticClass:kr(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Sr(t,e){return o(t)||o(e)?kr(t,Qr(e)):""}function kr(t,e){return t?e?t+" "+e:t:e||""}function Qr(t){return Array.isArray(t)?Tr(t):h(t)?Pr(t):"string"===typeof t?t:""}function Tr(t){for(var e,n="",i=0,r=t.length;i<r;i++)o(e=Qr(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Pr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Cr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ar=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Er=y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Rr=function(t){return Ar(t)||Er(t)};function Mr(t){return Er(t)?"svg":"math"===t?"math":void 0}var Dr=Object.create(null);function zr(t){if(!J)return!0;if(Rr(t))return!1;if(t=t.toLowerCase(),null!=Dr[t])return Dr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Dr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Dr[t]=/HTMLUnknownElement/.test(e.toString())}var jr=y("text,number,password,search,email,tel,url");function Zr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Vr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Xr(t,e){return document.createElementNS(Cr[t],e)}function Wr(t){return document.createTextNode(t)}function qr(t){return document.createComment(t)}function Ir(t,e,n){t.insertBefore(e,n)}function Nr(t,e){t.removeChild(e)}function Lr(t,e){t.appendChild(e)}function Br(t){return t.parentNode}function Ur(t){return t.nextSibling}function Yr(t){return t.tagName}function Fr(t,e){t.textContent=e}function Gr(t,e){t.setAttribute(e,"")}var Hr=Object.freeze({__proto__:null,createElement:Vr,createElementNS:Xr,createTextNode:Wr,createComment:qr,insertBefore:Ir,removeChild:Nr,appendChild:Lr,parentNode:Br,nextSibling:Ur,tagName:Yr,setTextContent:Fr,setStyleScope:Gr}),Kr={create:function(t,e){Jr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Jr(t,!0),Jr(e))},destroy:function(t){Jr(t,!0)}};function Jr(t,e){var n=t.data.ref;if(o(n)){var i=t.context,s=t.componentInstance||t.elm,a=e?null:s,l=e?void 0:s;if(u(n))Ge(n,i,[a],i,"template ref function");else{var c=t.data.refInFor,h="string"===typeof n||"number"===typeof n,p=Lt(n),d=i.$refs;if(h||p)if(c){var f=h?d[n]:n.value;e?r(f)&&_(f,s):r(f)?f.includes(s)||f.push(s):h?(d[n]=[s],ts(i,n,d[n])):n.value=[s]}else if(h){if(e&&d[n]!==s)return;d[n]=l,ts(i,n,a)}else if(p){if(e&&n.value!==s)return;n.value=a}else 0}}}function ts(t,e,n){var i=t._setupState;i&&w(i,e)&&(Lt(i[e])?i[e].value=n:i[e]=n)}var es=new gt("",{},[]),ns=["create","activate","update","remove","destroy"];function is(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&rs(t,e)||a(t.isAsyncPlaceholder)&&s(e.asyncFactory.error))}function rs(t,e){if("input"!==t.tag)return!0;var n,i=o(n=t.data)&&o(n=n.attrs)&&n.type,r=o(n=e.data)&&o(n=n.attrs)&&n.type;return i===r||jr(i)&&jr(r)}function ss(t,e,n){var i,r,s={};for(i=e;i<=n;++i)r=t[i].key,o(r)&&(s[r]=i);return s}function os(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;e<ns.length;++e)for(i[ns[e]]=[],n=0;n<l.length;++n)o(l[n][ns[e]])&&i[ns[e]].push(l[n][ns[e]]);function h(t){return new gt(u.tagName(t).toLowerCase(),{},[],void 0,t)}function p(t,e){function n(){0===--n.listeners&&d(t)}return n.listeners=e,n}function d(t){var e=u.parentNode(t);o(e)&&u.removeChild(e,t)}function f(t,e,n,i,r,s,l){if(o(t.elm)&&o(s)&&(t=s[l]=bt(t)),t.isRootInsert=!r,!O(t,e,n,i)){var c=t.data,h=t.children,p=t.tag;o(p)?(t.elm=t.ns?u.createElementNS(t.ns,p):u.createElement(p,t),w(t),b(t,h,e),o(c)&&x(t,e),v(n,t.elm,i)):a(t.isComment)?(t.elm=u.createComment(t.text),v(n,t.elm,i)):(t.elm=u.createTextNode(t.text),v(n,t.elm,i))}}function O(t,e,n,i){var r=t.data;if(o(r)){var s=o(t.componentInstance)&&r.keepAlive;if(o(r=r.hook)&&o(r=r.init)&&r(t,!1),o(t.componentInstance))return m(t,e),v(n,t.elm,i),a(s)&&g(t,e,n,i),!0}}function m(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,_(t)?(x(t,e),w(t)):(Jr(t),e.push(t))}function g(t,e,n,r){var s,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,o(s=a.data)&&o(s=s.transition)){for(s=0;s<i.activate.length;++s)i.activate[s](es,a);e.push(a);break}v(n,t.elm,r)}function v(t,e,n){o(t)&&(o(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function b(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)f(e[i],n,t.elm,null,!0,e,i)}else c(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function _(t){while(t.componentInstance)t=t.componentInstance._vnode;return o(t.tag)}function x(t,n){for(var r=0;r<i.create.length;++r)i.create[r](es,t);e=t.data.hook,o(e)&&(o(e.create)&&e.create(es,t),o(e.insert)&&n.push(t))}function w(t){var e;if(o(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)o(e=n.context)&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}o(e=Sn)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function $(t,e,n,i,r,s){for(;i<=r;++i)f(n[i],s,t,e,!1,n,i)}function S(t){var e,n,r=t.data;if(o(r))for(o(e=r.hook)&&o(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)S(t.children[n])}function k(t,e,n){for(;e<=n;++e){var i=t[e];o(i)&&(o(i.tag)?(Q(i),S(i)):d(i.elm))}}function Q(t,e){if(o(e)||o(t.data)){var n,r=i.remove.length+1;for(o(e)?e.listeners+=r:e=p(t.elm,r),o(n=t.componentInstance)&&o(n=n._vnode)&&o(n.data)&&Q(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);o(n=t.data.hook)&&o(n=n.remove)?n(t,e):e()}else d(t.elm)}function T(t,e,n,i,r){var a,l,c,h,p=0,d=0,O=e.length-1,m=e[0],g=e[O],v=n.length-1,y=n[0],b=n[v],_=!r;while(p<=O&&d<=v)s(m)?m=e[++p]:s(g)?g=e[--O]:is(m,y)?(C(m,y,i,n,d),m=e[++p],y=n[++d]):is(g,b)?(C(g,b,i,n,v),g=e[--O],b=n[--v]):is(m,b)?(C(m,b,i,n,v),_&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++p],b=n[--v]):is(g,y)?(C(g,y,i,n,d),_&&u.insertBefore(t,g.elm,m.elm),g=e[--O],y=n[++d]):(s(a)&&(a=ss(e,p,O)),l=o(y.key)?a[y.key]:P(y,e,p,O),s(l)?f(y,i,t,m.elm,!1,n,d):(c=e[l],is(c,y)?(C(c,y,i,n,d),e[l]=void 0,_&&u.insertBefore(t,c.elm,m.elm)):f(y,i,t,m.elm,!1,n,d)),y=n[++d]);p>O?(h=s(n[v+1])?null:n[v+1].elm,$(t,h,n,d,v,i)):d>v&&k(e,p,O)}function P(t,e,n,i){for(var r=n;r<i;r++){var s=e[r];if(o(s)&&is(t,s))return r}}function C(t,e,n,r,l,c){if(t!==e){o(e.elm)&&o(r)&&(e=r[l]=bt(e));var h=e.elm=t.elm;if(a(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?R(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var p,d=e.data;o(d)&&o(p=d.hook)&&o(p=p.prepatch)&&p(t,e);var f=t.children,O=e.children;if(o(d)&&_(e)){for(p=0;p<i.update.length;++p)i.update[p](t,e);o(p=d.hook)&&o(p=p.update)&&p(t,e)}s(e.text)?o(f)&&o(O)?f!==O&&T(h,f,O,n,c):o(O)?(o(t.text)&&u.setTextContent(h,""),$(h,null,O,0,O.length-1,n)):o(f)?k(f,0,f.length-1):o(t.text)&&u.setTextContent(h,""):t.text!==e.text&&u.setTextContent(h,e.text),o(d)&&o(p=d.hook)&&o(p=p.postpatch)&&p(t,e)}}}function A(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var E=y("attrs,class,staticClass,staticStyle,key");function R(t,e,n,i){var r,s=e.tag,l=e.data,c=e.children;if(i=i||l&&l.pre,e.elm=t,a(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(e,!0),o(r=e.componentInstance)))return m(e,n),!0;if(o(s)){if(o(c))if(t.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,p=0;p<c.length;p++){if(!h||!R(h,c[p],n,i)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else b(e,c,n);if(o(l)){var d=!1;for(var f in l)if(!E(f)){d=!0,x(e,n);break}!d&&l["class"]&&fn(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!s(e)){var l=!1,c=[];if(s(t))l=!0,f(e,c);else{var p=o(t.nodeType);if(!p&&is(t,e))C(t,e,c,null,null,r);else{if(p){if(1===t.nodeType&&t.hasAttribute(I)&&(t.removeAttribute(I),n=!0),a(n)&&R(t,e,c))return A(e,c,!0),t;t=h(t)}var d=t.elm,O=u.parentNode(d);if(f(e,c,d._leaveCb?null:O,u.nextSibling(d)),o(e.parent)){var m=e.parent,g=_(e);while(m){for(var v=0;v<i.destroy.length;++v)i.destroy[v](m);if(m.elm=e.elm,g){for(var y=0;y<i.create.length;++y)i.create[y](es,m);var b=m.data.hook.insert;if(b.merged)for(var x=1;x<b.fns.length;x++)b.fns[x]()}else Jr(m);m=m.parent}}o(O)?k([t],0,0):o(t.tag)&&S(t)}}return A(e,c,l),e.elm}o(t)&&S(t)}}var as={create:ls,update:ls,destroy:function(t){ls(t,es)}};function ls(t,e){(t.data.directives||e.data.directives)&&cs(t,e)}function cs(t,e){var n,i,r,s=t===es,o=e===es,a=hs(t.data.directives,t.context),l=hs(e.data.directives,e.context),c=[],u=[];for(n in l)i=a[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,ds(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(ds(r,"bind",e,t),r.def&&r.def.inserted&&c.push(r));if(c.length){var h=function(){for(var n=0;n<c.length;n++)ds(c[n],"inserted",e,t)};s?ee(e,"insert",h):h()}if(u.length&&ee(e,"postpatch",(function(){for(var n=0;n<u.length;n++)ds(u[n],"componentUpdated",e,t)})),!s)for(n in a)l[n]||ds(a[n],"unbind",t,t,o)}var us=Object.create(null);function hs(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++){if(i=t[n],i.modifiers||(i.modifiers=us),r[ps(i)]=i,e._setupState&&e._setupState.__sfc){var s=i.def||$i(e,"_setupState","v-"+i.name);i.def="function"===typeof s?{bind:s,update:s}:s}i.def=i.def||$i(e.$options,"directives",i.name,!0)}return r}function ps(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function ds(t,e,n,i,r){var s=t.def&&t.def[e];if(s)try{s(n.elm,t,n,i,r)}catch(Ko){Fe(Ko,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var fs=[Kr,as];function Os(t,e){var n=e.componentOptions;if((!o(n)||!1!==n.Ctor.options.inheritAttrs)&&(!s(t.data.attrs)||!s(e.data.attrs))){var i,r,l,c=e.elm,u=t.data.attrs||{},h=e.data.attrs||{};for(i in(o(h.__ob__)||a(h._v_attr_proxy))&&(h=e.data.attrs=M({},h)),h)r=h[i],l=u[i],l!==r&&ms(c,i,r,e.data.pre);for(i in(et||it)&&h.value!==u.value&&ms(c,"value",h.value),u)s(h[i])&&(br(i)?c.removeAttributeNS(yr,_r(i)):Or(i)||c.removeAttribute(i))}}function ms(t,e,n,i){i||t.tagName.indexOf("-")>-1?gs(t,e,n):vr(e)?xr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Or(e)?t.setAttribute(e,gr(e,n)):br(e)?xr(n)?t.removeAttributeNS(yr,_r(e)):t.setAttributeNS(yr,e,n):gs(t,e,n)}function gs(t,e,n){if(xr(n))t.removeAttribute(e);else{if(et&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var vs={create:Os,update:Os};function ys(t,e){var n=e.elm,i=e.data,r=t.data;if(!(s(i.staticClass)&&s(i.class)&&(s(r)||s(r.staticClass)&&s(r.class)))){var a=wr(e),l=n._transitionClasses;o(l)&&(a=kr(a,Qr(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var bs,_s={create:ys,update:ys},xs="__r",ws="__c";function $s(t){if(o(t[xs])){var e=et?"change":"input";t[e]=[].concat(t[xs],t[e]||[]),delete t[xs]}o(t[ws])&&(t.change=[].concat(t[ws],t.change||[]),delete t[ws])}function Ss(t,e,n){var i=bs;return function r(){var s=e.apply(null,arguments);null!==s&&Ts(t,r,n,i)}}var ks=tn&&!(ot&&Number(ot[1])<=53);function Qs(t,e,n,i){if(ks){var r=qn,s=e;e=s._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return s.apply(this,arguments)}}bs.addEventListener(t,e,lt?{capture:n,passive:i}:n)}function Ts(t,e,n,i){(i||bs).removeEventListener(t,e._wrapper||e,n)}function Ps(t,e){if(!s(t.data.on)||!s(e.data.on)){var n=e.data.on||{},i=t.data.on||{};bs=e.elm||t.elm,$s(n),te(n,i,Qs,Ts,Ss,e.context),bs=void 0}}var Cs,As={create:Ps,update:Ps,destroy:function(t){return Ps(t,es)}};function Es(t,e){if(!s(t.data.domProps)||!s(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(o(c.__ob__)||a(c._v_attr_proxy))&&(c=e.data.domProps=M({},c)),l)n in c||(r[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=s(i)?"":String(i);Rs(r,u)&&(r.value=u)}else if("innerHTML"===n&&Er(r.tagName)&&s(r.innerHTML)){Cs=Cs||document.createElement("div"),Cs.innerHTML="<svg>".concat(i,"</svg>");var h=Cs.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(Ko){}}}}function Rs(t,e){return!t.composing&&("OPTION"===t.tagName||Ms(t,e)||Ds(t,e))}function Ms(t,e){var n=!0;try{n=document.activeElement!==t}catch(Ko){}return n&&t.value!==e}function Ds(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var zs={create:Es,update:Es},js=$((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Zs(t){var e=Vs(t.style);return t.staticStyle?M(t.staticStyle,e):e}function Vs(t){return Array.isArray(t)?D(t):"string"===typeof t?js(t):t}function Xs(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Zs(r.data))&&M(i,n)}(n=Zs(t.data))&&M(i,n);var s=t;while(s=s.parent)s.data&&(n=Zs(s.data))&&M(i,n);return i}var Ws,qs=/^--/,Is=/\s*!important$/,Ns=function(t,e,n){if(qs.test(e))t.style.setProperty(e,n);else if(Is.test(n))t.style.setProperty(P(e),n.replace(Is,""),"important");else{var i=Bs(e);if(Array.isArray(n))for(var r=0,s=n.length;r<s;r++)t.style[i]=n[r];else t.style[i]=n}},Ls=["Webkit","Moz","ms"],Bs=$((function(t){if(Ws=Ws||document.createElement("div").style,t=k(t),"filter"!==t&&t in Ws)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ls.length;n++){var i=Ls[n]+e;if(i in Ws)return i}}));function Us(t,e){var n=e.data,i=t.data;if(!(s(n.staticStyle)&&s(n.style)&&s(i.staticStyle)&&s(i.style))){var r,a,l=e.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},h=c||u,p=Vs(e.data.style)||{};e.data.normalizedStyle=o(p.__ob__)?M({},p):p;var d=Xs(e,!0);for(a in h)s(d[a])&&Ns(l,a,"");for(a in d)r=d[a],r!==h[a]&&Ns(l,a,null==r?"":r)}}var Ys={create:Us,update:Us},Fs=/\s+/;function Gs(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Fs).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Hs(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Fs).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ks(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&M(e,Js(t.name||"v")),M(e,t),e}return"string"===typeof t?Js(t):void 0}}var Js=$((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),to=J&&!nt,eo="transition",no="animation",io="transition",ro="transitionend",so="animation",oo="animationend";to&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(io="WebkitTransition",ro="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(so="WebkitAnimation",oo="webkitAnimationEnd"));var ao=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function lo(t){ao((function(){ao(t)}))}function co(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Gs(t,e))}function uo(t,e){t._transitionClasses&&_(t._transitionClasses,e),Hs(t,e)}function ho(t,e,n){var i=fo(t,e),r=i.type,s=i.timeout,o=i.propCount;if(!r)return n();var a=r===eo?ro:oo,l=0,c=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++l>=o&&c()};setTimeout((function(){l<o&&c()}),s+1),t.addEventListener(a,u)}var po=/\b(transform|all)(,|$)/;function fo(t,e){var n,i=window.getComputedStyle(t),r=(i[io+"Delay"]||"").split(", "),s=(i[io+"Duration"]||"").split(", "),o=Oo(r,s),a=(i[so+"Delay"]||"").split(", "),l=(i[so+"Duration"]||"").split(", "),c=Oo(a,l),u=0,h=0;e===eo?o>0&&(n=eo,u=o,h=s.length):e===no?c>0&&(n=no,u=c,h=l.length):(u=Math.max(o,c),n=u>0?o>c?eo:no:null,h=n?n===eo?s.length:l.length:0);var p=n===eo&&po.test(i[io+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:p}}function Oo(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return mo(e)+mo(t[n])})))}function mo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function go(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Ks(t.data.transition);if(!s(i)&&!o(n._enterCb)&&1===n.nodeType){var r=i.css,a=i.type,l=i.enterClass,c=i.enterToClass,p=i.enterActiveClass,d=i.appearClass,f=i.appearToClass,O=i.appearActiveClass,m=i.beforeEnter,g=i.enter,y=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,x=i.appear,w=i.afterAppear,$=i.appearCancelled,S=i.duration,k=Sn,Q=Sn.$vnode;while(Q&&Q.parent)k=Q.context,Q=Q.parent;var T=!k._isMounted||!t.isRootInsert;if(!T||x||""===x){var P=T&&d?d:l,C=T&&O?O:p,A=T&&f?f:c,E=T&&_||m,R=T&&u(x)?x:g,M=T&&w||y,D=T&&$||b,z=v(h(S)?S.enter:S);0;var j=!1!==r&&!nt,Z=bo(R),V=n._enterCb=W((function(){j&&(uo(n,A),uo(n,C)),V.cancelled?(j&&uo(n,P),D&&D(n)):M&&M(n),n._enterCb=null}));t.data.show||ee(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),R&&R(n,V)})),E&&E(n),j&&(co(n,P),co(n,C),lo((function(){uo(n,P),V.cancelled||(co(n,A),Z||(yo(z)?setTimeout(V,z):ho(n,a,V)))}))),t.data.show&&(e&&e(),R&&R(n,V)),j||Z||V()}}}function vo(t,e){var n=t.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Ks(t.data.transition);if(s(i)||1!==n.nodeType)return e();if(!o(n._leaveCb)){var r=i.css,a=i.type,l=i.leaveClass,c=i.leaveToClass,u=i.leaveActiveClass,p=i.beforeLeave,d=i.leave,f=i.afterLeave,O=i.leaveCancelled,m=i.delayLeave,g=i.duration,y=!1!==r&&!nt,b=bo(d),_=v(h(g)?g.leave:g);0;var x=n._leaveCb=W((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(uo(n,c),uo(n,u)),x.cancelled?(y&&uo(n,l),O&&O(n)):(e(),f&&f(n)),n._leaveCb=null}));m?m(w):w()}function w(){x.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),p&&p(n),y&&(co(n,l),co(n,u),lo((function(){uo(n,l),x.cancelled||(co(n,c),b||(yo(_)?setTimeout(x,_):ho(n,a,x)))}))),d&&d(n,x),y||b||x())}}function yo(t){return"number"===typeof t&&!isNaN(t)}function bo(t){if(s(t))return!1;var e=t.fns;return o(e)?bo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function _o(t,e){!0!==e.data.show&&go(e)}var xo=J?{create:_o,activate:_o,remove:function(t,e){!0!==t.data.show?vo(t,e):e()}}:{},wo=[vs,_s,As,zs,Ys,xo],$o=wo.concat(fs),So=os({nodeOps:Hr,modules:$o});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ro(t,"input")}));var ko={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ee(n,"postpatch",(function(){ko.componentUpdated(t,e,n)})):Qo(t,e,n.context),t._vOptions=[].map.call(t.options,Co)):("textarea"===n.tag||jr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ao),t.addEventListener("compositionend",Eo),t.addEventListener("change",Eo),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Qo(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Co);if(r.some((function(t,e){return!V(t,i[e])}))){var s=t.multiple?e.value.some((function(t){return Po(t,r)})):e.value!==e.oldValue&&Po(e.value,r);s&&Ro(t,"change")}}}};function Qo(t,e,n){To(t,e,n),(et||it)&&setTimeout((function(){To(t,e,n)}),0)}function To(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var s,o,a=0,l=t.options.length;a<l;a++)if(o=t.options[a],r)s=X(i,Co(o))>-1,o.selected!==s&&(o.selected=s);else if(V(Co(o),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Po(t,e){return e.every((function(e){return!V(e,t)}))}function Co(t){return"_value"in t?t._value:t.value}function Ao(t){t.target.composing=!0}function Eo(t){t.target.composing&&(t.target.composing=!1,Ro(t.target,"input"))}function Ro(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Mo(t){return!t.componentInstance||t.data&&t.data.transition?t:Mo(t.componentInstance._vnode)}var Do={bind:function(t,e,n){var i=e.value;n=Mo(n);var r=n.data&&n.data.transition,s=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,go(n,(function(){t.style.display=s}))):t.style.display=i?s:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=Mo(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,i?go(n,(function(){t.style.display=t.__vOriginalDisplay})):vo(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},zo={model:ko,show:Do},jo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Zo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Zo(We(e.children)):t}function Vo(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[k(i)]=r[i];return e}function Xo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Wo(t){while(t=t.parent)if(t.data.transition)return!0}function qo(t,e){return e.key===t.key&&e.tag===t.tag}var Io=function(t){return t.tag||Se(t)},No=function(t){return"show"===t.name},Lo={name:"transition",props:jo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Io),n.length)){0;var i=this.mode;0;var r=n[0];if(Wo(this.$vnode))return r;var s=Zo(r);if(!s)return r;if(this._leaving)return Xo(t,r);var o="__transition-".concat(this._uid,"-");s.key=null==s.key?s.isComment?o+"comment":o+s.tag:c(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var a=(s.data||(s.data={})).transition=Vo(this),l=this._vnode,u=Zo(l);if(s.data.directives&&s.data.directives.some(No)&&(s.data.show=!0),u&&u.data&&!qo(s,u)&&!Se(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=M({},a);if("out-in"===i)return this._leaving=!0,ee(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Xo(t,r);if("in-out"===i){if(Se(s))return l;var p,d=function(){p()};ee(a,"afterEnter",d),ee(a,"enterCancelled",d),ee(h,"delayLeave",(function(t){p=t}))}}return r}}},Bo=M({tag:String,moveClass:String},jo);delete Bo.mode;var Uo={props:Bo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=kn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],o=Vo(this),a=0;a<r.length;a++){var l=r[a];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))s.push(l),n[l.key]=l,(l.data||(l.data={})).transition=o;else;}if(i){var c=[],u=[];for(a=0;a<i.length;a++){l=i[a];l.data.transition=o,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?c.push(l):u.push(l)}this.kept=t(e,null,c),this.removed=u}return t(e,null,s)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Yo),t.forEach(Fo),t.forEach(Go),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;co(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(ro,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(ro,t),n._moveCb=null,uo(n,e))})}})))},methods:{hasMove:function(t,e){if(!to)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Hs(n,t)})),Gs(n,e),n.style.display="none",this.$el.appendChild(n);var i=fo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function Yo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Fo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Go(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var s=t.elm.style;s.transform=s.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),s.transitionDuration="0s"}}var Ho={Transition:Lo,TransitionGroup:Uo};Hi.config.mustUseProp=fr,Hi.config.isReservedTag=Rr,Hi.config.isReservedAttr=pr,Hi.config.getTagNamespace=Mr,Hi.config.isUnknownElement=zr,M(Hi.options.directives,zo),M(Hi.options.components,Ho),Hi.prototype.__patch__=J?So:z,Hi.prototype.$mount=function(t,e){return t=t&&J?Zr(t):void 0,Pn(this,t,e)},J&&setTimeout((function(){B.devtools&&ht&&ht.emit("init",Hi)}),0)},34680:(t,e,n)=>{t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var s,o,a=String(r(e)),l=i(n),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(o=a.charCodeAt(l+1))<56320||o>57343?t?a.charAt(l):s:t?a.slice(l,l+2):o-56320+(s-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0fc9":function(t,e,n){var i=n("3a38"),r=Math.max,s=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):s(t,e)}},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var i=n("f772");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var i=n("f772"),r=n("e53d").document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},"20fd":function(t,e,n){"use strict";var i=n("d9f6"),r=n("aebd");t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),s=n("79e5"),o=n("be13"),a=n("2b4c"),l=n("520a"),c=a("species"),u=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=a(t),d=!s((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),f=d?!s((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!e})):void 0;if(!d||!f||"replace"===t&&!u||"split"===t&&!h){var O=/./[p],m=n(o,p,""[t],(function(t,e,n,i,r){return e.exec===l?d&&!r?{done:!0,value:O.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),g=m[0],v=m[1];i(String.prototype,t,g),r(RegExp.prototype,p,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),s="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:s?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,n){var i=n("25eb");t.exports=function(t){return Object(i(t))}},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),s=n("69a8"),o=n("ca5a")("src"),a=n("fa5b"),l="toString",c=(""+a).split(l);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var l="function"==typeof n;l&&(s(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(s(n,o)||r(n,o,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[o]||a.call(this)}))},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),s=n("7726").Symbol,o="function"==typeof s,a=t.exports=function(t){return i[t]||(i[t]=o&&s[t]||(o?s:r)("Symbol."+t))};a.store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),s="includes";i(i.P+i.F*n("5147")(s),"String",{includes:function(t){return!!~r(this,t,s).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),s=n("9138"),o=n("35e8"),a=n("481b"),l=n("8f60"),c=n("45f2"),u=n("53e2"),h=n("5168")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",O="values",m=function(){return this};t.exports=function(t,e,n,g,v,y,b){l(n,e,g);var _,x,w,$=function(t){if(!p&&t in T)return T[t];switch(t){case f:return function(){return new n(this,t)};case O:return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",k=v==O,Q=!1,T=t.prototype,P=T[h]||T[d]||v&&T[v],C=P||$(v),A=v?k?$("entries"):C:void 0,E="Array"==e&&T.entries||P;if(E&&(w=u(E.call(new t)),w!==Object.prototype&&w.next&&(c(w,S,!0),i||"function"==typeof w[h]||o(w,h,m))),k&&P&&P.name!==O&&(Q=!0,C=function(){return P.call(this)}),i&&!b||!p&&!Q&&T[h]||o(T,h,C),a[e]=C,a[S]=m,v)if(_={values:k?C:$(O),keys:y?C:$(f),entries:A},b)for(x in _)x in T||s(T,x,_[x]);else r(r.P+r.F*(p||Q),e,_);return _}},"32a6":function(t,e,n){var i=n("241e"),r=n("c3a1");n("ce7e")("keys",(function(){return function(t){return r(i(t))}}))},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var i=n("e53d").document;t.exports=i&&i.documentElement},"335c":function(t,e,n){var i=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var i=n("d9f6"),r=n("aebd");t.exports=n("8e60")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3702:function(t,e,n){var i=n("481b"),r=n("5168")("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[r]===t)}},"3a38":function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"40c3":function(t,e,n){var i=n("6b4c"),r=n("5168")("toStringTag"),s="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:s?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"45f2":function(t,e,n){var i=n("d9f6").f,r=n("07e3"),s=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"481b":function(t,e){t.exports={}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"4ee1":function(t,e,n){var i=n("5168")("iterator"),r=!1;try{var s=[7][i]();s["return"]=function(){r=!0},Array.from(s,(function(){throw 2}))}catch(o){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var s=[7],a=s[i]();a.next=function(){return{done:n=!0}},s[i]=function(){return a},t(s)}catch(o){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},5168:function(t,e,n){var i=n("dbdb")("wks"),r=n("62a0"),s=n("e53d").Symbol,o="function"==typeof s,a=t.exports=function(t){return i[t]||(i[t]=o&&s[t]||(o?s:r)("Symbol."+t))};a.store=i},5176:function(t,e,n){t.exports=n("51b6")},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,s=String.prototype.replace,o=r,a="lastIndex",l=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[a]||0!==e[a]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(o=function(t){var e,n,o,u,h=this;return c&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),l&&(e=h[a]),o=r.call(h,t),l&&o&&(h[a]=h.global?o.index+o[0].length:e),c&&o&&o.length>1&&s.call(o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o}),t.exports=o},"53e2":function(t,e,n){var i=n("07e3"),r=n("241e"),s=n("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"549b":function(t,e,n){"use strict";var i=n("d864"),r=n("63b6"),s=n("241e"),o=n("b0dc"),a=n("3702"),l=n("b447"),c=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,r,h,p=s(t),d="function"==typeof this?this:Array,f=arguments.length,O=f>1?arguments[1]:void 0,m=void 0!==O,g=0,v=u(p);if(m&&(O=i(O,f>2?arguments[2]:void 0,2)),void 0==v||d==Array&&a(v))for(e=l(p.length),n=new d(e);e>g;g++)c(n,g,m?O(p[g],g):p[g]);else for(h=v.call(p),n=new d;!(r=h.next()).done;g++)c(n,g,m?o(h,O,[r.value,g],!0):r.value);return n.length=g,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var i=n("8378"),r=n("7726"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var i=n("36c3"),r=n("b447"),s=n("0fc9");t.exports=function(t){return function(e,n,o){var a,l=i(e),c=r(l.length),u=s(o,c);if(t&&n!=n){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),s=n("32e9"),o=n("2aba"),a=n("9b43"),l="prototype",c=function(t,e,n){var u,h,p,d,f=t&c.F,O=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,y=O?i:m?i[e]||(i[e]={}):(i[e]||{})[l],b=O?r:r[e]||(r[e]={}),_=b[l]||(b[l]={});for(u in O&&(n=e),n)h=!f&&y&&void 0!==y[u],p=(h?y:n)[u],d=v&&h?a(p,i):g&&"function"==typeof p?a(Function.call,p):p,y&&o(y,u,p,t&c.U),b[u]!=p&&s(b,u,d),g&&_[u]!=p&&(_[u]=p)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5d73":function(t,e,n){t.exports=n("469f")},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var s=n.call(t,e);if("object"!==typeof s)throw new TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"63b6":function(t,e,n){var i=n("e53d"),r=n("584a"),s=n("d864"),o=n("35e8"),a=n("07e3"),l="prototype",c=function(t,e,n){var u,h,p,d=t&c.F,f=t&c.G,O=t&c.S,m=t&c.P,g=t&c.B,v=t&c.W,y=f?r:r[e]||(r[e]={}),b=y[l],_=f?i:O?i[e]:(i[e]||{})[l];for(u in f&&(n=e),n)h=!d&&_&&void 0!==_[u],h&&a(y,u)||(p=h?_[u]:n[u],y[u]=f&&"function"!=typeof _[u]?n[u]:g&&h?s(p,i):v&&_[u]==p?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[l]=t[l],e}(p):m&&"function"==typeof p?s(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,t&c.R&&b&&!b[u]&&o(b,u,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var i=n("e53d"),r=n("35e8"),s=n("481b"),o=n("5168")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=i[c],h=u&&u.prototype;h&&!h[o]&&r(h,o,c),s[c]=s.Array}},"71c1":function(t,e,n){var i=n("3a38"),r=n("25eb");t.exports=function(t){return function(e,n){var s,o,a=String(r(e)),l=i(n),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(o=a.charCodeAt(l+1))<56320||o>57343?t?a.charAt(l):s:t?a.slice(l,l+2):o-56320+(s-55296<<10)+65536)}}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,s=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):s(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7cd6":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),s=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||s[i(t)]}},"7d7b":function(t,e,n){var i=n("e4ae"),r=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},"7e90":function(t,e,n){var i=n("d9f6"),r=n("e4ae"),s=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){r(t);var n,o=s(e),a=o.length,l=0;while(a>l)i.f(t,n=o[l++],e[n]);return t}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),s=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=s(e,!0),i(n),r)try{return o(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var i=n("a159"),r=n("aebd"),s=n("45f2"),o={};n("35e8")(o,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),s(t,e+" Iterator")}},9003:function(t,e,n){var i=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==i(t)}},9138:function(t,e,n){t.exports=n("35e8")},9306:function(t,e,n){"use strict";var i=n("c3a1"),r=n("9aa9"),s=n("355d"),o=n("241e"),a=n("335c"),l=Object.assign;t.exports=!l||n("294c")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){var n=o(t),l=arguments.length,c=1,u=r.f,h=s.f;while(l>c){var p,d=a(arguments[c++]),f=u?i(d).concat(u(d)):i(d),O=f.length,m=0;while(O>m)h.call(d,p=f[m++])&&(n[p]=d[p])}return n}:l},9427:function(t,e,n){var i=n("63b6");i(i.S,"Object",{create:n("a159")})},"95d5":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),s=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||s.hasOwnProperty(i(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),s=n("1691"),o=n("5559")("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=n("1ec9")("iframe"),i=s.length,r="<",o=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),c=t.F;while(i--)delete c[l][s[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[l]=i(t),n=new a,a[l]=null,n[o]=t):n=c(),void 0===e?n:r(n,e)}},a352:function(t,e){t.exports=n(51474)},a3c3:function(t,e,n){var i=n("63b6");i(i.S+i.F,"Object",{assign:n("9306")})},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),s=n("9def"),o=n("4588"),a=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,h=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,f=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,O){return[function(i,r){var s=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,s,r):n.call(String(s),i,r)},function(t,e){var r=O(n,t,this,e);if(r.done)return r.value;var h=i(t),p=String(this),d="function"===typeof e;d||(e=String(e));var g=h.global;if(g){var v=h.unicode;h.lastIndex=0}var y=[];while(1){var b=l(h,p);if(null===b)break;if(y.push(b),!g)break;var _=String(b[0]);""===_&&(h.lastIndex=a(p,s(h.lastIndex),v))}for(var x="",w=0,$=0;$<y.length;$++){b=y[$];for(var S=String(b[0]),k=c(u(o(b.index),p.length),0),Q=[],T=1;T<b.length;T++)Q.push(f(b[T]));var P=b.groups;if(d){var C=[S].concat(Q,k,p);void 0!==P&&C.push(P);var A=String(e.apply(void 0,C))}else A=m(S,p,k,Q,P,e);k>=w&&(x+=p.slice(w,k)+A,w=k+S.length)}return x+p.slice(w)}];function m(t,e,i,s,o,a){var l=i+t.length,c=s.length,u=d;return void 0!==o&&(o=r(o),u=p),n.call(a,u,(function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":a=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var p=h(u/10);return 0===p?n:p<=c?void 0===s[p-1]?r.charAt(1):s[p-1]+r.charAt(1):n}a=s[u-1]}return void 0===a?"":a}))}}))},a4bb:function(t,e,n){t.exports=n("8aae")},a745:function(t,e,n){t.exports=n("f410")},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),s=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b0dc:function(t,e,n){var i=n("e4ae");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(o){var s=t["return"];throw void 0!==s&&i(s.call(t)),o}}},b447:function(t,e,n){var i=n("3a38"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},b8e3:function(t,e){t.exports=!0},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),s=n("77f1");t.exports=function(t){return function(e,n,o){var a,l=i(e),c=r(l.length),u=s(o,c);if(t&&n!=n){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),s=n("481b"),o=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return u}));n("a481");var i=n("4aa6"),r=n.n(i);function s(){return"undefined"!==typeof window?window.console:t.console}var o=s();function a(t){var e=r()(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var l=/-(\w)/g,c=a((function(t){return t.replace(l,(function(t,e){return e?e.toUpperCase():""}))}));function u(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function h(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},c8bb:function(t,e,n){t.exports=n("54a1")},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce7e:function(t,e,n){var i=n("63b6"),r=n("584a"),s=n("294c");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*s((function(){n(1)})),"Object",o)}},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d864:function(t,e,n){var i=n("79aa");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var i=n("e4ae"),r=n("794b"),s=n("1bc3"),o=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(i(t),e=s(e,!0),i(n),r)try{return o(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var i=n("584a"),r=n("e53d"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var i=n("584a").Object;t.exports=function(t,e){return i.create(t,e)}},e4ae:function(t,e,n){var i=n("f772");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var i=n("07e3"),r=n("36c3"),s=n("5b4e")(!1),o=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),l=0,c=[];for(n in a)n!=o&&i(a,n)&&c.push(n);while(e.length>l)i(a,n=e[l++])&&(~s(c,n)||c.push(n));return c}},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),s=n("d2c8"),o="startsWith",a=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(t){var e=s(this,t,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return a?a.call(e,i,n):e.slice(n,n+i.length)===i}})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=n("5176"),s=n.n(r),o=(n("f559"),n("a4bb")),a=n.n(o),l=n("a745"),c=n.n(l);function u(t){if(c()(t))return t}var h=n("5d73"),p=n.n(h);function d(t,e){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=p()(t);!(i=(o=a.next()).done);i=!0)if(n.push(o.value),e&&n.length===e)break}catch(l){r=!0,s=l}finally{try{i||null==a["return"]||a["return"]()}finally{if(r)throw s}}return n}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function O(t,e){return u(t)||d(t,e)||f()}n("6762"),n("2fdb");function m(t){if(c()(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var g=n("774e"),v=n.n(g),y=n("c8bb"),b=n.n(y);function _(t){if(b()(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return v()(t)}function x(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function w(t){return m(t)||_(t)||x()}var $=n("a352"),S=n.n($),k=n("c649");function Q(t,e,n){return void 0===n||(t=t||{},t[e]=n),t}function T(t,e){return t.map((function(t){return t.elm})).indexOf(e)}function P(t,e,n,i){if(!t)return[];var r=t.map((function(t){return t.elm})),s=e.length-i,o=w(e).map((function(t,e){return e>=s?r.length:r.indexOf(t)}));return n?o.filter((function(t){return-1!==t})):o}function C(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function A(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),C.call(e,t,n)}}function E(t){return["transition-group","TransitionGroup"].includes(t)}function R(t){if(!t||1!==t.length)return!1;var e=O(t,1),n=e[0].componentOptions;return!!n&&E(n.tag)}function M(t,e,n){return t[n]||(e[n]?e[n]():void 0)}function D(t,e,n){var i=0,r=0,s=M(e,n,"header");s&&(i=s.length,t=t?[].concat(w(s),w(t)):w(s));var o=M(e,n,"footer");return o&&(r=o.length,t=t?[].concat(w(t),w(o)):w(o)),{children:t,headerOffset:i,footerOffset:r}}function z(t,e){var n=null,i=function(t,e){n=Q(n,t,e)},r=a()(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(i("attrs",r),!e)return n;var o=e.on,l=e.props,c=e.attrs;return i("on",o),i("props",l),s()(n.attrs,c),n}var j=["Start","Add","Remove","Update","End"],Z=["Choose","Unchoose","Sort","Filter","Clone"],V=["Move"].concat(j,Z).map((function(t){return"on"+t})),X=null,W={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},q={name:"draggable",inheritAttrs:!1,props:W,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=R(e);var n=D(e,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,s=n.footerOffset;this.headerOffset=r,this.footerOffset=s;var o=z(this.$attrs,this.componentData);return t(this.getTag(),o,i)},created:function(){null!==this.list&&null!==this.value&&k["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&k["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&k["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};j.forEach((function(n){e["on"+n]=A.call(t,n)})),Z.forEach((function(n){e["on"+n]=C.bind(t,n)}));var n=a()(this.$attrs).reduce((function(e,n){return e[Object(k["a"])(n)]=t.$attrs[n],e}),{}),i=s()({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new S.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(k["a"])(e);-1===V.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=P(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=T(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&E(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=w(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,w(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,o={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var a=i.getUnderlyingVm(n);if(a)return s()(a,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),X=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(k["d"])(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(k["c"])(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(k["d"])(t.clone)},onDragUpdate:function(t){Object(k["d"])(t.item),Object(k["c"])(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=w(e.to.children).filter((function(t){return"none"!==t.style["display"]})),i=n.indexOf(e.related),r=t.component.getVmIndex(i),s=-1!==n.indexOf(X);return s||!e.willInsertAfter?r:r+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,o=this.computeFutureIndex(i,t);s()(r,{futureIndex:o});var a=s()({},t,{relatedContext:i,draggedContext:r});return n(a,e)},onDragEnd:function(){this.computeIndexes(),X=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",q);var I=q;e["default"]=I}})["default"]},65546:(t,e,n)=>{"use strict";function i(t,e){for(var n=function(n){Object.defineProperty(t,n,{get:function(){return e[n]}})},i=0,r=Object.keys(e||{});i<r.length;i++){var s=r[i];n(s)}}function r(t){if(!t._vmdModuleName)throw new Error("ERR_GET_MODULE_NAME : Could not get module accessor.\n Make sure your module has name, we can't make accessors for unnamed modules\n i.e. @Module({ name: 'something' })");return"vuexModuleDecorators/"+t._vmdModuleName}n.d(e,{Yl:()=>y,aU:()=>x,g4:()=>s,mm:()=>w,rT:()=>o,vc:()=>b});var s=function(){function t(t){this.actions=t.actions,this.mutations=t.mutations,this.state=t.state,this.getters=t.getters,this.namespaced=t.namespaced,this.modules=t.modules}return t}();function o(t,e){var n=r(t);if(e&&e.getters[n])return e.getters[n];if(t._statics)return t._statics;var i=t._genStatic;if(!i)throw new Error("ERR_GET_MODULE_NO_STATICS : Could not get module accessor.\n Make sure your module has name, we can't make accessors for unnamed modules\n i.e. @Module({ name: 'something' })");var s=i(e);return e?e.getters[n]=s:t._statics=s,s}var a=["actions","getters","mutations","modules","state","namespaced","commit"];function l(t){var e=new t.prototype.constructor({}),n={};return Object.keys(e).forEach((function(t){if(-1===a.indexOf(t))e.hasOwnProperty(t)&&"function"!==typeof e[t]&&(n[t]=e[t]);else if("undefined"!==typeof e[t])throw new Error("ERR_RESERVED_STATE_KEY_USED: You cannot use the following\n ['actions', 'getters', 'mutations', 'modules', 'state', 'namespaced', 'commit']\n as fields in your module. These are reserved as they have special purpose in Vuex")})),n}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function c(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{l(i.next(t))}catch(e){s(e)}}function a(t){try{l(i["throw"](t))}catch(e){s(e)}}function l(t){t.done?n(t.value):r(t.value).then(o,a)}l((i=i.apply(t,e||[])).next())}))}function u(t,e){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,i&&(r=2&s[0]?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(r=o.trys,!(r=r.length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(a){s=[6,a],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function h(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,r++)i[r]=s[o];return i}function p(t,e,n){var i=e.stateFactory?t.state():t.state;Object.keys(i).forEach((function(t){i.hasOwnProperty(t)&&-1===["undefined","function"].indexOf(typeof i[t])&&Object.defineProperty(n,t,{get:function(){for(var i=e.name.split("/"),r=n.store.state,s=0,o=i;s<o.length;s++){var a=o[s];r=r[a]}return r[t]}})}))}function d(t,e,n){Object.keys(t.getters).forEach((function(i){t.namespaced?Object.defineProperty(n,i,{get:function(){return n.store.getters[e.name+"/"+i]}}):Object.defineProperty(n,i,{get:function(){return n.store.getters[i]}})}))}function f(t,e,n){Object.keys(t.mutations).forEach((function(i){t.namespaced?n[i]=function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];(t=n.store).commit.apply(t,h([e.name+"/"+i],r))}:n[i]=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];(t=n.store).commit.apply(t,h([i],e))}}))}function O(t,e,n){Object.keys(t.actions).forEach((function(i){t.namespaced?n[i]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return c(this,void 0,void 0,(function(){var r;return u(this,(function(s){return[2,(r=n.store).dispatch.apply(r,h([e.name+"/"+i],t))]}))}))}:n[i]=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return c(this,void 0,void 0,(function(){var e;return u(this,(function(r){return[2,(e=n.store).dispatch.apply(e,h([i],t))]}))}))}}))}function m(t,e){if(!e.name)throw new Error("Name of module not provided in decorator options");if(!e.store)throw new Error("Store not provided in decorator options when using dynamic option");e.store.registerModule(e.name,t,{preserveState:e.preserveState||!1})}function g(t,e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e.prototype,n);r.get&&t.getters&&(t.getters[n]=function(t,e,n,s){var o={context:{state:t,getters:e,rootState:n,rootGetters:s}};i(o,t),i(o,e);var a=r.get.call(o);return a})}))}function v(t){return function(e){var n=e,i=function(){return l(n)};n.state||(n.state=t&&t.stateFactory?i:i()),n.getters||(n.getters={}),n.namespaced||(n.namespaced=t&&t.namespaced);var r=Object.getPrototypeOf(n);while("VuexModule"!==r.name&&""!==r.name)g(n,r),r=Object.getPrototypeOf(r);g(n,n);var s=t;return s.name&&(Object.defineProperty(e,"_genStatic",{value:function(t){var e={store:t||s.store};if(!e.store)throw new Error("ERR_STORE_NOT_PROVIDED: To use getModule(), either the module\n should be decorated with store in decorator, i.e. @Module({store: store}) or\n store should be passed when calling getModule(), i.e. getModule(MyModule, this.$store)");return p(n,s,e),n.getters&&d(n,s,e),n.mutations&&f(n,s,e),n.actions&&O(n,s,e),e}}),Object.defineProperty(e,"_vmdModuleName",{value:s.name})),s.dynamic&&m(n,s),e}}function y(t){if("function"!==typeof t)return v(t);v({})(t)}var b={};function _(t){var e=t||{},n=e.commit,s=void 0===n?void 0:n,a=e.rawError,l=void 0===a?!!b.rawError:a,h=e.root,p=void 0!==h&&h;return function(t,e,n){var a=t.constructor;a.hasOwnProperty("actions")||(a.actions=Object.assign({},a.actions));var h=n.value,d=function(t,n){return c(this,void 0,void 0,(function(){var c,p,d,f,O;return u(this,(function(u){switch(u.label){case 0:return u.trys.push([0,5,,6]),c=null,a._genStatic?(p=r(a),d=t.rootGetters[p]?t.rootGetters[p]:o(a),d.context=t,[4,h.call(d,n)]):[3,2];case 1:return c=u.sent(),[3,4];case 2:return f={context:t},i(f,t.state),i(f,t.getters),[4,h.call(f,n)];case 3:c=u.sent(),u.label=4;case 4:return s&&t.commit(s,c),[2,c];case 5:throw O=u.sent(),l?O:new Error('ERR_ACTION_ACCESS_UNDEFINED: Are you trying to access this.someMutation() or this.someGetter inside an @Action? \nThat works only in dynamic modules. \nIf not dynamic use this.context.commit("mutationName", payload) and this.context.getters["getterName"]\n'+new Error("Could not perform action "+e.toString()).stack+"\n"+O.stack);case 6:return[2]}}))}))};a.actions[e]=p?{root:p,handler:d}:d}}function x(t,e,n){if(!e&&!n)return _(t);_()(t,e,n)}function w(t,e,n){var i=t.constructor;i.hasOwnProperty("mutations")||(i.mutations=Object.assign({},i.mutations));var r=n.value,s=function(t,e){r.call(t,e)};i.mutations[e]=s}},20629:(t,e,n)=>{"use strict";
/**
* vuex v3.1.3
* (c) 2020 Evan You
* @license MIT
*/
function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,{ZP:()=>W,yh:()=>m});var r="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},s=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){s&&(t._devtoolHook=s,s.emit("vuex:init",t),s.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){s.emit("vuex:mutation",t,e)})))}function a(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}function u(t,e){return function(){return t(e)}}var h=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(t,e){this._children[t]=e},h.prototype.removeChild=function(t){delete this._children[t]},h.prototype.getChild=function(t){return this._children[t]},h.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},h.prototype.forEachChild=function(t){a(this._children,t)},h.prototype.forEachGetter=function(t){this._rawModule.getters&&a(this._rawModule.getters,t)},h.prototype.forEachAction=function(t){this._rawModule.actions&&a(this._rawModule.actions,t)},h.prototype.forEachMutation=function(t){this._rawModule.mutations&&a(this._rawModule.mutations,t)},Object.defineProperties(h.prototype,p);var d=function(t){this.register([],t,!1)};function f(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;f(t.concat(i),e.getChild(i),n.modules[i])}}d.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},d.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},d.prototype.update=function(t){f([],this.root,t)},d.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new h(e,n);if(0===t.length)this.root=r;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],r)}e.modules&&a(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},d.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var O;var m=function(t){var e=this;void 0===t&&(t={}),!O&&"undefined"!==typeof window&&window.Vue&&C(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new d(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new O,this._makeLocalGettersCache=Object.create(null);var r=this,s=this,a=s.dispatch,l=s.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return l.call(r,t,e,n)},this.strict=i;var c=this._modules.root.state;_(this,c,[],this._modules.root),b(this,c),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:O.config.devtools;u&&o(this)},g={state:{configurable:!0}};function v(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function y(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;_(t,n,[],t._modules.root,!0),b(t,n,e)}function b(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,s={};a(r,(function(e,n){s[n]=u(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var o=O.config.silent;O.config.silent=!0,t._vm=new O({data:{$$state:e},computed:s}),O.config.silent=o,t.strict&&Q(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),O.nextTick((function(){return i.$destroy()})))}function _(t,e,n,i,r){var s=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=i),!s&&!r){var a=T(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){O.set(a,l,i.state)}))}var c=i.context=x(t,o,n);i.forEachMutation((function(e,n){var i=o+n;$(t,i,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:o+n,r=e.handler||e;S(t,i,r,c)})),i.forEachGetter((function(e,n){var i=o+n;k(t,i,e,c)})),i.forEachChild((function(i,s){_(t,e,n.concat(s),i,r)}))}function x(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var s=P(n,i,r),o=s.payload,a=s.options,l=s.type;return a&&a.root||(l=e+l),t.dispatch(l,o)},commit:i?t.commit:function(n,i,r){var s=P(n,i,r),o=s.payload,a=s.options,l=s.type;a&&a.root||(l=e+l),t.commit(l,o,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return w(t,e)}},state:{get:function(){return T(t.state,n)}}}),r}function w(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var s=r.slice(i);Object.defineProperty(n,s,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function $(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function S(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return c(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function k(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function Q(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(t,e){return e.reduce((function(t,e){return t[e]}),t)}function P(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function C(t){O&&t===O||(O=t,i(O))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(t){0},m.prototype.commit=function(t,e,n){var i=this,r=P(t,e,n),s=r.type,o=r.payload,a=(r.options,{type:s,payload:o}),l=this._mutations[s];l&&(this._withCommit((function(){l.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},m.prototype.dispatch=function(t,e){var n=this,i=P(t,e),r=i.type,s=i.payload,o={type:r,payload:s},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,n.state)}))}catch(c){0}var l=a.length>1?Promise.all(a.map((function(t){return t(s)}))):a[0](s);return l.then((function(t){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,n.state)}))}catch(c){0}return t}))}},m.prototype.subscribe=function(t){return v(t,this._subscribers)},m.prototype.subscribeAction=function(t){var e="function"===typeof t?{before:t}:t;return v(e,this._actionSubscribers)},m.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},m.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),_(this,this.state,t,this._modules.get(t),n.preserveState),b(this,this.state)},m.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=T(e.state,t.slice(0,-1));O.delete(n,t[t.length-1])})),y(this)},m.prototype.hotUpdate=function(t){this._modules.update(t),y(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,g);var A=Z((function(t,e){var n={};return z(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=V(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),E=Z((function(t,e){var n={};return z(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var s=V(this.$store,"mapMutations",t);if(!s)return;i=s.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),R=Z((function(t,e){var n={};return z(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||V(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),M=Z((function(t,e){var n={};return z(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var s=V(this.$store,"mapActions",t);if(!s)return;i=s.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),D=function(t){return{mapState:A.bind(null,t),mapGetters:R.bind(null,t),mapMutations:E.bind(null,t),mapActions:M.bind(null,t)}};function z(t){return j(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function j(t){return Array.isArray(t)||l(t)}function Z(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function V(t,e,n){var i=t._modulesNamespaceMap[n];return i}var X={Store:m,install:C,version:"3.1.3",mapState:A,mapMutations:E,mapGetters:R,mapActions:M,createNamespacedHelpers:D};const W=X},34790:(t,e,n)=>{"use strict";n.d(e,{B1:()=>Yt,DB:()=>Ot,GA:()=>zt,Gn:()=>wt,Jv:()=>f,LR:()=>Gt,Mb:()=>c,dk:()=>F,eC:()=>u,s1:()=>Ht,vQ:()=>Pt,ys:()=>Ut});var i=n(37205),r=n(47421),s=n(59119);class o{constructor(t,e,n,i){this.state=t,this.pos=e,this.explicit=n,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let e=(0,s.qz)(this.state).resolveInner(this.pos,-1);while(e&&t.indexOf(e.name)<0)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos),n=Math.max(e.from,this.pos-250),i=e.text.slice(n-e.from,this.pos-e.from),r=i.search(d(t,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(t,e,n){"abort"==t&&this.abortListeners&&(this.abortListeners.push(e),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function a(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function l(t){let e=Object.create(null),n=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let t=1;t<r.length;t++)n[r[t]]=!0}let i=a(e)+a(n)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function c(t){let e=t.map((t=>"string"==typeof t?{label:t}:t)),[n,i]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:l(e);return t=>{let r=t.matchBefore(i);return r||t.explicit?{from:r?r.from:t.pos,options:e,validFor:n}:null}}function u(t,e){return n=>{for(let e=(0,s.qz)(n.state).resolveInner(n.pos,-1);e;e=e.parent){if(t.indexOf(e.name)>-1)return null;if(e.type.isTop)break}return e(n)}}class h{constructor(t,e,n,i){this.completion=t,this.source=e,this.match=n,this.score=i}}function p(t){return t.selection.main.from}function d(t,e){var n;let{source:i}=t,r=e&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=t.flags)&&void 0!==n?n:t.ignoreCase?"i":""):t}const f=i.q6.define();function O(t,e,n,r){let{main:s}=t.selection,o=n-s.from,a=r-s.from;return Object.assign(Object.assign({},t.changeByRange((l=>{if(l!=s&&n!=r&&t.sliceDoc(l.from+o,l.from+a)!=t.sliceDoc(n,r))return{range:l};let c=t.toText(e);return{changes:{from:l.from+o,to:r==s.from?l.to:l.from+a,insert:c},range:i.jT.cursor(l.from+o+c.length)}}))),{scrollIntoView:!0,userEvent:"input.complete"})}const m=new WeakMap;function g(t){if(!Array.isArray(t))return t;let e=m.get(t);return e||m.set(t,e=c(t)),e}const v=i.Py.define(),y=i.Py.define();class b{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let e=0;e<t.length;){let n=(0,i.gm)(t,e),r=(0,i.nZ)(n);this.chars.push(n);let s=t.slice(e,e+r),o=s.toUpperCase();this.folded.push((0,i.gm)(o==s?s.toLowerCase():o,0)),e+=r}this.astral=t.length!=this.chars.length}ret(t,e){return this.score=t,this.matched=e,this}match(t){if(0==this.pattern.length)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:e,folded:n,any:r,precise:s,byWord:o}=this;if(1==e.length){let r=(0,i.gm)(t,0),s=(0,i.nZ)(r),o=s==t.length?0:-100;if(r==e[0]);else{if(r!=n[0])return null;o+=-200}return this.ret(o,[0,s])}let a=t.indexOf(this.pattern);if(0==a)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=e.length,c=0;if(a<0){for(let s=0,o=Math.min(t.length,200);s<o&&c<l;){let o=(0,i.gm)(t,s);o!=e[c]&&o!=n[c]||(r[c++]=s),s+=(0,i.nZ)(o)}if(c<l)return null}let u=0,h=0,p=!1,d=0,f=-1,O=-1,m=/[a-z]/.test(t),g=!0;for(let v=0,y=Math.min(t.length,200),b=0;v<y&&h<l;){let r=(0,i.gm)(t,v);a<0&&(u<l&&r==e[u]&&(s[u++]=v),d<l&&(r==e[d]||r==n[d]?(0==d&&(f=v),O=v+1,d++):d=0));let c,y=r<255?r>=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(c=(0,i.bg)(r))!=c.toLowerCase()?1:c!=c.toUpperCase()?2:0;(!v||1==y&&m||0==b&&0!=y)&&(e[h]==r||n[h]==r&&(p=!0)?o[h++]=v:o.length&&(g=!1)),b=y,v+=(0,i.nZ)(r)}return h==l&&0==o[0]&&g?this.result((p?-200:0)-100,o,t):d==l&&0==f?this.ret(-200-t.length+(O==t.length?0:-100),[0,O]):a>-1?this.ret(-700-t.length,[a,a+this.pattern.length]):d==l?this.ret(-900-t.length,[f,O]):h==l?this.result((p?-200:0)-100-700+(g?0:-1100),o,t):2==e.length?null:this.result((r[0]?-700:0)-200-1100,r,t)}result(t,e,n){let r=[],s=0;for(let o of e){let t=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s&&r[s-1]==o?r[s-1]=t:(r[s++]=o,r[s++]=t)}return this.ret(t-n.length,r)}}class _{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let e=t.slice(0,this.pattern.length),n=e==this.pattern?0:e.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,e.length],this.score=n+(t.length==this.pattern.length?0:-100),this)}}const x=i.r$.define({combine(t){return(0,i.BO)(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:$,filterStrict:!1,compareCompletions:(t,e)=>t.label.localeCompare(e.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>n=>w(t(n),e(n)),optionClass:(t,e)=>n=>w(t(n),e(n)),addToOptions:(t,e)=>t.concat(e),filterStrict:(t,e)=>t||e})}});function w(t,e){return t?e?t+" "+e:t:e}function $(t,e,n,i,s,o){let a,l,c=t.textDirection==r.Nm.RTL,u=c,h=!1,p="top",d=e.left-s.left,f=s.right-e.right,O=i.right-i.left,m=i.bottom-i.top;if(u&&d<Math.min(O,f)?u=!1:!u&&f<Math.min(O,d)&&(u=!0),O<=(u?d:f))a=Math.max(s.top,Math.min(n.top,s.bottom-m))-e.top,l=Math.min(400,u?d:f);else{h=!0,l=Math.min(400,(c?e.right:s.right-e.left)-30);let t=s.bottom-e.bottom;t>=m||t>e.top?a=n.bottom-e.top:(p="bottom",a=e.bottom-n.top)}let g=(e.bottom-e.top)/o.offsetHeight,v=(e.right-e.left)/o.offsetWidth;return{style:`${p}: ${a/g}px; max-width: ${l/v}px`,class:"cm-completionInfo-"+(h?c?"left-narrow":"right-narrow":u?"left":"right")}}function S(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(t){let e=document.createElement("div");return e.classList.add("cm-completionIcon"),t.type&&e.classList.add(...t.type.split(/\s+/g).map((t=>"cm-completionIcon-"+t))),e.setAttribute("aria-hidden","true"),e},position:20}),e.push({render(t,e,n,i){let r=document.createElement("span");r.className="cm-completionLabel";let s=t.displayLabel||t.label,o=0;for(let a=0;a<i.length;){let t=i[a++],e=i[a++];t>o&&r.appendChild(document.createTextNode(s.slice(o,t)));let n=r.appendChild(document.createElement("span"));n.appendChild(document.createTextNode(s.slice(t,e))),n.className="cm-completionMatchedText",o=e}return o<s.length&&r.appendChild(document.createTextNode(s.slice(o))),r},position:50},{render(t){if(!t.detail)return null;let e=document.createElement("span");return e.className="cm-completionDetail",e.textContent=t.detail,e},position:80}),e.sort(((t,e)=>t.position-e.position)).map((t=>t.render))}function k(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let t=Math.floor(e/n);return{from:t*n,to:(t+1)*n}}let i=Math.floor((t-e)/n);return{from:t-(i+1)*n,to:t-i*n}}class Q{constructor(t,e,n){this.view=t,this.stateField=e,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:t=>this.placeInfo(t),key:this},this.space=null,this.currentClass="";let i=t.state.field(e),{options:r,selected:s}=i.open,o=t.state.facet(x);this.optionContent=S(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=k(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",(n=>{let{options:i}=t.state.field(e).open;for(let e,r=n.target;r&&r!=this.dom;r=r.parentNode)if("LI"==r.nodeName&&(e=/-(\d+)$/.exec(r.id))&&+e[1]<i.length)return this.applyCompletion(t,i[+e[1]]),void n.preventDefault()})),this.dom.addEventListener("focusout",(e=>{let n=t.state.field(this.stateField,!1);n&&n.tooltip&&t.state.facet(x).closeOnBlur&&e.relatedTarget!=t.contentDOM&&t.dispatch({effects:y.of(null)})})),this.showOptions(r,i.id)}mount(){this.updateSel()}showOptions(t,e){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,e,this.range)),this.list.addEventListener("scroll",(()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)}))}update(t){var e;let n=t.state.field(this.stateField),i=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),n!=i){let{options:r,selected:s,disabled:o}=n.open;i.open&&i.open.options==r||(this.range=k(r.length,s,t.state.facet(x).maxRenderedOptions),this.showOptions(r,n.id)),this.updateSel(),o!=(null===(e=i.open)||void 0===e?void 0:e.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let t of this.currentClass.split(" "))t&&this.dom.classList.remove(t);for(let t of e.split(" "))t&&this.dom.classList.add(t);this.currentClass=e}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if((e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to)&&(this.range=k(e.options.length,e.selected,this.view.state.facet(x).maxRenderedOptions),this.showOptions(e.options,t.id)),this.updateSelectedOption(e.selected)){this.destroyInfo();let{completion:n}=e.options[e.selected],{info:i}=n;if(!i)return;let s="string"===typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then((e=>{e&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(e,n)})).catch((t=>(0,r.OO)(this.view.state,t,"completion info"))):this.addInfoPane(s,n)}}addInfoPane(t,e){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",null!=t.nodeType)n.appendChild(t),this.infoDestroy=null;else{let{dom:e,destroy:i}=t;n.appendChild(e),this.infoDestroy=i||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let e=null;for(let n=this.list.firstChild,i=this.range.from;n;n=n.nextSibling,i++)"LI"==n.nodeName&&n.id?i==t?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),e=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):i--;return e&&P(this.list,e),e}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=t.getBoundingClientRect(),r=this.space;if(!r){let t=this.dom.ownerDocument.documentElement;r={left:0,top:0,right:t.clientWidth,bottom:t.clientHeight}}return i.top>Math.min(r.bottom,e.bottom)-10||i.bottom<Math.max(r.top,e.top)+10?null:this.view.state.facet(x).positionInfo(this.view,e,i,n,r,this.dom)}placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style),this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(t,e,n){const i=document.createElement("ul");i.id=e,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions")),i.addEventListener("mousedown",(t=>{t.target==i&&t.preventDefault()}));let r=null;for(let s=n.from;s<n.to;s++){let{completion:o,match:a}=t[s],{section:l}=o;if(l){let t="string"==typeof l?l:l.name;if(t!=r&&(s>n.from||0==n.from))if(r=t,"string"!=typeof l&&l.header)i.appendChild(l.header(l));else{let e=i.appendChild(document.createElement("completion-section"));e.textContent=t}}const c=i.appendChild(document.createElement("li"));c.id=e+"-"+s,c.setAttribute("role","option");let u=this.optionClass(o);u&&(c.className=u);for(let t of this.optionContent){let e=t(o,this.view.state,this.view,a);e&&c.appendChild(e)}}return n.from&&i.classList.add("cm-completionListIncompleteTop"),n.to<t.length&&i.classList.add("cm-completionListIncompleteBottom"),i}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function T(t,e){return n=>new Q(n,t,e)}function P(t,e){let n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=n.height/t.offsetHeight;i.top<n.top?t.scrollTop-=(n.top-i.top)/r:i.bottom>n.bottom&&(t.scrollTop+=(i.bottom-n.bottom)/r)}function C(t){return 100*(t.boost||0)+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function A(t,e){let n=[],i=null,r=t=>{n.push(t);let{section:e}=t.completion;if(e){i||(i=[]);let t="string"==typeof e?e:e.name;i.some((e=>e.name==t))||i.push("string"==typeof e?{name:t}:e)}},s=e.facet(x);for(let c of t)if(c.hasResult()){let t=c.result.getMatch;if(!1===c.result.filter)for(let e of c.result.options)r(new h(e,c.source,t?t(e):[],1e9-n.length));else{let n,i=e.sliceDoc(c.from,c.to),o=s.filterStrict?new _(i):new b(i);for(let e of c.result.options)if(n=o.match(e.label)){let i=e.displayLabel?t?t(e,n.matched):[]:n.matched;r(new h(e,c.source,i,n.score+(e.boost||0)))}}}if(i){let t=Object.create(null),e=0,r=(t,e)=>{var n,i;return(null!==(n=t.rank)&&void 0!==n?n:1e9)-(null!==(i=e.rank)&&void 0!==i?i:1e9)||(t.name<e.name?-1:1)};for(let n of i.sort(r))e-=1e5,t[n.name]=e;for(let i of n){let{section:e}=i.completion;e&&(i.score+=t["string"==typeof e?e:e.name])}}let o=[],a=null,l=s.compareCompletions;for(let c of n.sort(((t,e)=>e.score-t.score||l(t.completion,e.completion)))){let t=c.completion;!a||a.label!=t.label||a.detail!=t.detail||null!=a.type&&null!=t.type&&a.type!=t.type||a.apply!=t.apply||a.boost!=t.boost?o.push(c):C(c.completion)>C(a)&&(o[o.length-1]=c),a=c.completion}return o}class E{constructor(t,e,n,i,r,s){this.options=t,this.attrs=e,this.tooltip=n,this.timestamp=i,this.selected=r,this.disabled=s}setSelected(t,e){return t==this.selected||t>=this.options.length?this:new E(this.options,j(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,n,i,r,s){if(i&&!s&&t.some((t=>t.isPending)))return i.setDisabled();let o=A(t,e);if(!o.length)return i&&t.some((t=>t.isPending))?i.setDisabled():null;let a=e.facet(x).selectOnOpen?0:-1;if(i&&i.selected!=a&&-1!=i.selected){let t=i.options[i.selected].completion;for(let e=0;e<o.length;e++)if(o[e].completion==t){a=e;break}}return new E(o,j(n,a),{pos:t.reduce(((t,e)=>e.hasResult()?Math.min(t,e.from):t),1e8),create:U,above:r.aboveCursor},i?i.timestamp:Date.now(),a,!1)}map(t){return new E(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new E(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class R{constructor(t,e,n){this.active=t,this.id=e,this.open=n}static start(){return new R(Z,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(t){let{state:e}=t,n=e.facet(x),i=n.override||e.languageDataAt("autocomplete",p(e)).map(g),r=i.map((e=>{let i=this.active.find((t=>t.source==e))||new X(e,this.active.some((t=>0!=t.state))?1:0);return i.update(t,n)}));r.length==this.active.length&&r.every(((t,e)=>t==this.active[e]))&&(r=this.active);let s=this.open,o=t.effects.some((t=>t.is(I)));s&&t.docChanged&&(s=s.map(t.changes)),t.selection||r.some((e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to)))||!M(r,this.active)||o?s=E.build(r,e,this.id,s,n,o):s&&s.disabled&&!r.some((t=>t.isPending))&&(s=null),!s&&r.every((t=>!t.isPending))&&r.some((t=>t.hasResult()))&&(r=r.map((t=>t.hasResult()?new X(t.source,0):t)));for(let a of t.effects)a.is(N)&&(s=s&&s.setSelected(a.value,this.id));return r==this.active&&s==this.open?this:new R(r,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?D:z}}function M(t,e){if(t==e)return!0;for(let n=0,i=0;;){while(n<t.length&&!t[n].hasResult())n++;while(i<e.length&&!e[i].hasResult())i++;let r=n==t.length,s=i==e.length;if(r||s)return r==s;if(t[n++].result!=e[i++].result)return!1}}const D={"aria-autocomplete":"list"},z={};function j(t,e){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(n["aria-activedescendant"]=t+"-"+e),n}const Z=[];function V(t,e){if(t.isUserEvent("input.complete")){let n=t.annotation(f);if(n&&e.activateOnCompletion(n))return 12}let n=t.isUserEvent("input.type");return n&&e.activateOnTyping?5:n?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class X{constructor(t,e,n=!1){this.source=t,this.state=e,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(t,e){let n=V(t,e),i=this;(8&n||16&n&&this.touches(t))&&(i=new X(i.source,0)),4&n&&0==i.state&&(i=new X(this.source,1)),i=i.updateFor(t,n);for(let r of t.effects)if(r.is(v))i=new X(i.source,1,r.value);else if(r.is(y))i=new X(i.source,0);else if(r.is(I))for(let t of r.value)t.source==i.source&&(i=t);return i}updateFor(t,e){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(p(t.state))}}class W extends X{constructor(t,e,n,i,r,s){super(t,3,e),this.limit=n,this.result=i,this.from=r,this.to=s}hasResult(){return!0}updateFor(t,e){var n;if(!(3&e))return this.map(t.changes);let i=this.result;i.map&&!t.changes.empty&&(i=i.map(i,t.changes));let r=t.changes.mapPos(this.from),s=t.changes.mapPos(this.to,1),a=p(t.state);if(a>s||!i||2&e&&(p(t.startState)==this.from||a<this.limit))return new X(this.source,4&e?1:0);let l=t.changes.mapPos(this.limit);return q(i.validFor,t.state,r,s)?new W(this.source,this.explicit,l,i,r,s):i.update&&(i=i.update(i,r,s,new o(t.state,a,!1)))?new W(this.source,this.explicit,l,i,i.from,null!==(n=i.to)&&void 0!==n?n:p(t.state)):new X(this.source,1,this.explicit)}map(t){if(t.empty)return this;let e=this.result.map?this.result.map(this.result,t):this.result;return e?new W(this.source,this.explicit,t.mapPos(this.limit),this.result,t.mapPos(this.from),t.mapPos(this.to,1)):new X(this.source,0)}touches(t){return t.changes.touchesRange(this.from,this.to)}}function q(t,e,n,i){if(!t)return!1;let r=e.sliceDoc(n,i);return"function"==typeof t?t(r,n,i,e):d(t,!0).test(r)}const I=i.Py.define({map(t,e){return t.map((t=>t.map(e)))}}),N=i.Py.define(),L=i.QQ.define({create(){return R.start()},update(t,e){return t.update(e)},provide:t=>[r.hJ.from(t,(t=>t.tooltip)),r.tk.contentAttributes.from(t,(t=>t.attrs))]});function B(t,e){const n=e.completion.apply||e.completion.label;let i=t.state.field(L).active.find((t=>t.source==e.source));return i instanceof W&&("string"==typeof n?t.dispatch(Object.assign(Object.assign({},O(t.state,n,i.from,i.to)),{annotations:f.of(e.completion)})):n(t,e.completion,i.from,i.to),!0)}const U=T(L,B);function Y(t,e="option"){return n=>{let i=n.state.field(L,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<n.state.facet(x).interactionDelay)return!1;let s,o=1;"page"==e&&(s=(0,r.gB)(n,i.open.tooltip))&&(o=Math.max(2,Math.floor(s.dom.offsetHeight/s.dom.querySelector("li").offsetHeight)-1));let{length:a}=i.open.options,l=i.open.selected>-1?i.open.selected+o*(t?1:-1):t?0:a-1;return l<0?l="page"==e?0:a-1:l>=a&&(l="page"==e?a-1:0),n.dispatch({effects:N.of(l)}),!0}}const F=t=>{let e=t.state.field(L,!1);return!(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(x).interactionDelay)&&B(t,e.open.options[e.open.selected])},G=t=>{let e=t.state.field(L,!1);return!!e&&(t.dispatch({effects:v.of(!0)}),!0)},H=t=>{let e=t.state.field(L,!1);return!(!e||!e.active.some((t=>0!=t.state)))&&(t.dispatch({effects:y.of(null)}),!0)};class K{constructor(t,e){this.active=t,this.context=e,this.time=Date.now(),this.updates=[],this.done=void 0}}const J=50,tt=1e3,et=r.lg.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(L).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(L),n=t.state.facet(x);if(!t.selectionSet&&!t.docChanged&&t.startState.field(L)==e)return;let i=t.transactions.some((t=>{let e=V(t,n);return 8&e||(t.selection||t.docChanged)&&!(3&e)}));for(let a=0;a<this.running.length;a++){let e=this.running[a];if(i||e.context.abortOnDocChange&&t.docChanged||e.updates.length+t.transactions.length>J&&Date.now()-e.time>tt){for(let t of e.context.abortListeners)try{t()}catch(o){(0,r.OO)(this.view.state,o)}e.context.abortListeners=null,this.running.splice(a--,1)}else e.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some((t=>t.effects.some((t=>t.is(v)))))&&(this.pendingStart=!0);let s=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=e.active.some((t=>t.isPending&&!this.running.some((e=>e.active.source==t.source))))?setTimeout((()=>this.startUpdate()),s):-1,0!=this.composing)for(let r of t.transactions)r.isUserEvent("input.type")?this.composing=2:2==this.composing&&r.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(L);for(let n of e.active)n.isPending&&!this.running.some((t=>t.active.source==n.source))&&this.startQuery(n);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(x).updateSyncTime))}startQuery(t){let{state:e}=this.view,n=p(e),i=new o(e,n,t.explicit,this.view),s=new K(t,i);this.running.push(s),Promise.resolve(t.source(i)).then((t=>{s.context.aborted||(s.done=t||null,this.scheduleAccept())}),(t=>{this.view.dispatch({effects:y.of(null)}),(0,r.OO)(this.view.state,t)}))}scheduleAccept(){this.running.every((t=>void 0!==t.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(x).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(x),i=this.view.state.field(L);for(let r=0;r<this.running.length;r++){let s=this.running[r];if(void 0===s.done)continue;if(this.running.splice(r--,1),s.done){let i=p(s.updates.length?s.updates[0].startState:this.view.state),r=Math.min(i,s.done.from+(s.active.explicit?0:1)),o=new W(s.active.source,s.active.explicit,r,s.done,s.done.from,null!==(t=s.done.to)&&void 0!==t?t:i);for(let t of s.updates)o=o.update(t,n);if(o.hasResult()){e.push(o);continue}}let o=i.active.find((t=>t.source==s.active.source));if(o&&o.isPending)if(null==s.done){let t=new X(s.active.source,0);for(let e of s.updates)t=t.update(e,n);t.isPending||e.push(t)}else this.startQuery(o)}(e.length||i.open&&i.open.disabled)&&this.view.dispatch({effects:I.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(L,!1);if(e&&e.tooltip&&this.view.state.facet(x).closeOnBlur){let n=e.open&&(0,r.gB)(this.view,e.open.tooltip);n&&n.dom.contains(t.relatedTarget)||setTimeout((()=>this.view.dispatch({effects:y.of(null)})),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({effects:v.of(!1)})),20),this.composing=0}}}),nt="object"==typeof navigator&&/Win/.test(navigator.platform),it=i.Wl.highest(r.tk.domEventHandlers({keydown(t,e){let n=e.state.field(L,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&(!nt||!t.altKey)||t.metaKey)return!1;let i=n.open.options[n.open.selected],r=n.active.find((t=>t.source==i.source)),s=i.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&B(e,i),!1}})),rt=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class st{constructor(t,e,n,i){this.field=t,this.line=e,this.from=n,this.to=i}}class ot{constructor(t,e,n){this.field=t,this.from=e,this.to=n}map(t){let e=t.mapPos(this.from,-1,i.gc.TrackDel),n=t.mapPos(this.to,1,i.gc.TrackDel);return null==e||null==n?null:new ot(this.field,e,n)}}class at{constructor(t,e){this.lines=t,this.fieldPositions=e}instantiate(t,e){let n=[],i=[e],r=t.doc.lineAt(e),o=/^\s*/.exec(r.text)[0];for(let l of this.lines){if(n.length){let n=o,r=/^\t*/.exec(l)[0].length;for(let e=0;e<r;e++)n+=t.facet(s.c);i.push(e+n.length-r),l=n+l.slice(r)}n.push(l),e+=l.length+1}let a=this.fieldPositions.map((t=>new ot(t.field,i[t.line]+t.from,i[t.line]+t.to)));return{text:n,ranges:a}}static parse(t){let e,n=[],i=[],r=[];for(let s of t.split(/\r\n?|\n/)){while(e=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(s)){let t=e[1]?+e[1]:null,o=e[2]||e[3]||"",a=-1,l=o.replace(/\\[{}]/g,(t=>t[1]));for(let e=0;e<n.length;e++)(null!=t?n[e].seq==t:l&&n[e].name==l)&&(a=e);if(a<0){let e=0;while(e<n.length&&(null==t||null!=n[e].seq&&n[e].seq<t))e++;n.splice(e,0,{seq:t,name:l}),a=e;for(let t of r)t.field>=a&&t.field++}r.push(new st(a,i.length,e.index,e.index+l.length)),s=s.slice(0,e.index)+o+s.slice(e.index+e[0].length)}s=s.replace(/\\([{}])/g,((t,e,n)=>{for(let s of r)s.line==i.length&&s.from>n&&(s.from--,s.to--);return e})),i.push(s)}return new at(i,r)}}let lt=r.p.widget({widget:new class extends r.l9{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),ct=r.p.mark({class:"cm-snippetField"});class ut{constructor(t,e){this.ranges=t,this.active=e,this.deco=r.p.set(t.map((t=>(t.from==t.to?lt:ct).range(t.from,t.to))))}map(t){let e=[];for(let n of this.ranges){let i=n.map(t);if(!i)return null;e.push(i)}return new ut(e,this.active)}selectionInsideField(t){return t.ranges.every((t=>this.ranges.some((e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))))}}const ht=i.Py.define({map(t,e){return t&&t.map(e)}}),pt=i.Py.define(),dt=i.QQ.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(ht))return n.value;if(n.is(pt)&&t)return new ut(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>r.tk.decorations.from(t,(t=>t?t.deco:r.p.none))});function ft(t,e){return i.jT.create(t.filter((t=>t.field==e)).map((t=>i.jT.range(t.from,t.to))))}function Ot(t){let e=at.parse(t);return(t,n,r,s)=>{let{text:o,ranges:a}=e.instantiate(t.state,r),{main:l}=t.state.selection,c={changes:{from:r,to:s==l.from?l.to:s,insert:i.xv.of(o)},scrollIntoView:!0,annotations:n?[f.of(n),i.YW.userEvent.of("input.complete")]:void 0};if(a.length&&(c.selection=ft(a,0)),a.some((t=>t.field>0))){let e=new ut(a,0),n=c.effects=[ht.of(e)];void 0===t.state.field(dt,!1)&&n.push(i.Py.appendConfig.of([dt,xt,$t,rt]))}t.dispatch(t.state.update(c))}}function mt(t){return({state:e,dispatch:n})=>{let i=e.field(dt,!1);if(!i||t<0&&0==i.active)return!1;let r=i.active+t,s=t>0&&!i.ranges.some((e=>e.field==r+t));return n(e.update({selection:ft(i.ranges,r),effects:ht.of(s?null:new ut(i.ranges,r)),scrollIntoView:!0})),!0}}const gt=({state:t,dispatch:e})=>{let n=t.field(dt,!1);return!!n&&(e(t.update({effects:ht.of(null)})),!0)},vt=mt(1),yt=mt(-1);const bt=[{key:"Tab",run:vt,shift:yt},{key:"Escape",run:gt}],_t=i.r$.define({combine(t){return t.length?t[0]:bt}}),xt=i.Wl.highest(r.$f.compute([_t],(t=>t.facet(_t))));function wt(t,e){return Object.assign(Object.assign({},e),{apply:Ot(t)})}const $t=r.tk.domEventHandlers({mousedown(t,e){let n,i=e.state.field(dt,!1);if(!i||null==(n=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;let r=i.ranges.find((t=>t.from<=n&&t.to>=n));return!(!r||r.field==i.active)&&(e.dispatch({selection:ft(i.ranges,r.field),effects:ht.of(i.ranges.some((t=>t.field>r.field))?new ut(i.ranges,r.field):null),scrollIntoView:!0}),!0)}});const St={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},kt=i.Py.define({map(t,e){let n=e.mapPos(t,-1,i.gc.TrackAfter);return null==n?void 0:n}}),Qt=new class extends i.uU{};Qt.startSide=1,Qt.endSide=-1;const Tt=i.QQ.define({create(){return i.Xs.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:t=>t>=n.from&&t<=n.to})}for(let n of e.effects)n.is(kt)&&(t=t.update({add:[Qt.range(n.value,n.value+1)]}));return t}});function Pt(){return[Mt,Tt]}const Ct="()[]{}<>«»»«[]{}";function At(t){for(let e=0;e<Ct.length;e+=2)if(Ct.charCodeAt(e)==t)return Ct.charAt(e+1);return(0,i.bg)(t<128?t:t+1)}function Et(t,e){return t.languageDataAt("closeBrackets",e)[0]||St}const Rt="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Mt=974!=n.j?r.tk.inputHandler.of(((t,e,n,r)=>{if((Rt?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let s=t.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||e!=s.from||n!=s.to)return!1;let o=jt(t.state,r);return!!o&&(t.dispatch(o),!0)})):null,Dt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Et(t,t.selection.main.head),r=n.brackets||St.brackets,s=null,o=t.changeByRange((e=>{if(e.empty){let n=Xt(t.doc,e.head);for(let s of r)if(s==n&&Vt(t.doc,e.head)==At((0,i.gm)(s,0)))return{changes:{from:e.head-s.length,to:e.head+s.length},range:i.jT.cursor(e.head-s.length)}}return{range:s=e}}));return s||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!s},zt=[{key:"Backspace",run:Dt}];function jt(t,e){let n=Et(t,t.selection.main.head),r=n.brackets||St.brackets;for(let s of r){let o=At((0,i.gm)(s,0));if(e==s)return o==s?It(t,s,r.indexOf(s+s+s)>-1,n):Wt(t,s,o,n.before||St.before);if(e==o&&Zt(t,t.selection.main.from))return qt(t,s,o)}return null}function Zt(t,e){let n=!1;return t.field(Tt).between(0,t.doc.length,(t=>{t==e&&(n=!0)})),n}function Vt(t,e){let n=t.sliceString(e,e+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function Xt(t,e){let n=t.sliceString(e-2,e);return(0,i.nZ)((0,i.gm)(n,0))==n.length?n:n.slice(1)}function Wt(t,e,n,r){let s=null,o=t.changeByRange((o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:n,from:o.to}],effects:kt.of(o.to+e.length),range:i.jT.range(o.anchor+e.length,o.head+e.length)};let a=Vt(t.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:e+n,from:o.head},effects:kt.of(o.head+e.length),range:i.jT.cursor(o.head+e.length)}:{range:s=o}}));return s?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function qt(t,e,n){let r=null,s=t.changeByRange((e=>e.empty&&Vt(t.doc,e.head)==n?{changes:{from:e.head,to:e.head+n.length,insert:n},range:i.jT.cursor(e.head+n.length)}:r={range:e}));return r?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function It(t,e,n,r){let s=r.stringPrefixes||St.stringPrefixes,o=null,a=t.changeByRange((r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:e,from:r.to}],effects:kt.of(r.to+e.length),range:i.jT.range(r.anchor+e.length,r.head+e.length)};let a,l=r.head,c=Vt(t.doc,l);if(c==e){if(Nt(t,l))return{changes:{insert:e+e,from:l},effects:kt.of(l+e.length),range:i.jT.cursor(l+e.length)};if(Zt(t,l)){let r=n&&t.sliceDoc(l,l+3*e.length)==e+e+e,s=r?e+e+e:e;return{changes:{from:l,to:l+s.length,insert:s},range:i.jT.cursor(l+s.length)}}}else{if(n&&t.sliceDoc(l-2*e.length,l)==e+e&&(a=Bt(t,l-2*e.length,s))>-1&&Nt(t,a))return{changes:{insert:e+e+e+e,from:l},effects:kt.of(l+e.length),range:i.jT.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=i.D0.Word&&Bt(t,l,s)>-1&&!Lt(t,l,e,s))return{changes:{insert:e+e,from:l},effects:kt.of(l+e.length),range:i.jT.cursor(l+e.length)}}return{range:o=r}}));return o?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Nt(t,e){let n=(0,s.qz)(t).resolveInner(e+1);return n.parent&&n.from==e}function Lt(t,e,n,i){let r=(0,s.qz)(t).resolveInner(e,-1),o=i.reduce(((t,e)=>Math.max(t,e.length)),0);for(let s=0;s<5;s++){let s=t.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),a=s.indexOf(n);if(!a||a>-1&&i.indexOf(s.slice(0,a))>-1){let e=r.firstChild;while(e&&e.from==r.from&&e.to-e.from>n.length+a){if(t.sliceDoc(e.to-n.length,e.to)==n)return!1;e=e.firstChild}return!0}let l=r.to==e&&r.parent;if(!l)break;r=l}return!1}function Bt(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=i.D0.Word)return e;for(let s of n){let n=e-s.length;if(t.sliceDoc(n,e)==s&&r(t.sliceDoc(n-1,n))!=i.D0.Word)return n}return-1}function Ut(t={}){return[it,L,x.of(t),et,Ft,rt]}const Yt=[{key:"Ctrl-Space",run:G},{mac:"Alt-`",run:G},{key:"Escape",run:H},{key:"ArrowDown",run:Y(!0)},{key:"ArrowUp",run:Y(!1)},{key:"PageDown",run:Y(!0,"page")},{key:"PageUp",run:Y(!1,"page")},{key:"Enter",run:F}],Ft=i.Wl.highest(r.$f.computeN([x],(t=>t.facet(x).defaultKeymap?[Yt]:[])));function Gt(t){let e=t.field(L,!1);return e&&e.active.some((t=>t.isPending))?"pending":e&&e.active.some((t=>0!=t.state))?"active":null}function Ht(t){var e;let n=null===(e=t.field(L,!1))||void 0===e?void 0:e.open;return n&&!n.disabled&&n.selected>=0?n.options[n.selected].completion:null}},45383:(t,e,n)=>{"use strict";n.d(e,{Yw:()=>S,f$:()=>q,m8:()=>w,oc:()=>Te,wQ:()=>Qe});var i=n(37205),r=n(47421),s=n(59119),o=n(41113);const a=t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),i=p(t.state,n.from);return i.line?c(t):!!i.block&&h(t)};function l(t,e){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=t(e,n);return!!r&&(i(n.update(r)),!0)}}const c=974!=n.j?l(g,0):null,u=974!=n.j?l(m,0):null,h=974!=n.j?l(((t,e)=>m(t,e,O(e))),0):null;function p(t,e){let n=t.languageDataAt("commentTokens",e,1);return n.length?n[0]:{}}const d=50;function f(t,{open:e,close:n},i,r){let s,o,a=t.sliceDoc(i-d,i),l=t.sliceDoc(r,r+d),c=/\s*$/.exec(a)[0].length,u=/^\s*/.exec(l)[0].length,h=a.length-c;if(a.slice(h-e.length,h)==e&&l.slice(u,u+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+u,margin:u&&1}};r-i<=2*d?s=o=t.sliceDoc(i,r):(s=t.sliceDoc(i,i+d),o=t.sliceDoc(r-d,r));let p=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,O=o.length-f-n.length;return s.slice(p,p+e.length)==e&&o.slice(O,O+n.length)==n?{open:{pos:i+p+e.length,margin:/\s/.test(s.charAt(p+e.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(O-1))?1:0}}:null}function O(t){let e=[];for(let n of t.selection.ranges){let i=t.doc.lineAt(n.from),r=n.to<=i.to?i:t.doc.lineAt(n.to);r.from>i.from&&r.from==n.to&&(r=n.to==i.to+1?i:t.doc.lineAt(n.to-1));let s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:r.to})}return e}function m(t,e,n=e.selection.ranges){let i=n.map((t=>p(e,t.from).block));if(!i.every((t=>t)))return null;let r=n.map(((t,n)=>f(e,i[n],t.from,t.to)));if(2!=t&&!r.every((t=>t)))return{changes:e.changes(n.map(((t,e)=>r[e]?[]:[{from:t.from,insert:i[e].open+" "},{from:t.to,insert:" "+i[e].close}])))};if(1!=t&&r.some((t=>t))){let t=[];for(let e,n=0;n<r.length;n++)if(e=r[n]){let r=i[n],{open:s,close:o}=e;t.push({from:s.pos-r.open.length,to:s.pos+s.margin},{from:o.pos-o.margin,to:o.pos+r.close.length})}return{changes:t}}return null}function g(t,e,n=e.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let t=i.length,n=1e9,a=p(e,s).line;if(a){for(let t=s;t<=o;){let l=e.doc.lineAt(t);if(l.from>r&&(s==o||o>l.from)){r=l.from;let t=/^\s*/.exec(l.text)[0].length,e=t==l.length,s=l.text.slice(t,t+a.length)==a?t:-1;t<l.text.length&&t<n&&(n=t),i.push({line:l,comment:s,token:a,indent:t,empty:e,single:!1})}t=l.to+1}if(n<1e9)for(let e=t;e<i.length;e++)i[e].indent<i[e].line.text.length&&(i[e].indent=n);i.length==t+1&&(i[t].single=!0)}}if(2!=t&&i.some((t=>t.comment<0&&(!t.empty||t.single)))){let t=[];for(let{line:e,token:r,indent:s,empty:o,single:a}of i)!a&&o||t.push({from:e.from+s,insert:r+" "});let n=e.changes(t);return{changes:n,selection:e.selection.map(n,1)}}if(1!=t&&i.some((t=>t.comment>=0))){let t=[];for(let{line:e,comment:n,token:r}of i)if(n>=0){let i=e.from+n,s=i+r.length;" "==e.text[s-e.from]&&s++,t.push({from:i,to:s})}return{changes:t}}return null}const v=i.q6.define(),y=i.q6.define(),b=i.r$.define(),_=i.r$.define({combine(t){return(0,i.BO)(t,{minDepth:100,newGroupDelay:500,joinToEvent:(t,e)=>e},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(t,e)=>(n,i)=>t(n,i)||e(n,i)})}}),x=i.QQ.define({create(){return W.empty},update(t,e){let n=e.state.facet(_),r=e.annotation(v);if(r){let i=P.fromTransaction(e,r.selection),s=r.side,o=0==s?t.undone:t.done;return o=i?C(o,o.length,n.minDepth,i):z(o,e.startState.selection),new W(0==s?r.rest:o,0==s?o:r.rest)}let s=e.annotation(y);if("full"!=s&&"before"!=s||(t=t.isolate()),!1===e.annotation(i.YW.addToHistory))return e.changes.empty?t:t.addMapping(e.changes.desc);let o=P.fromTransaction(e),a=e.annotation(i.YW.time),l=e.annotation(i.YW.userEvent);return o?t=t.addChanges(o,a,l,n,e):e.selection&&(t=t.addSelection(e.startState.selection,a,l,n.newGroupDelay)),"full"!=s&&"after"!=s||(t=t.isolate()),t},toJSON(t){return{done:t.done.map((t=>t.toJSON())),undone:t.undone.map((t=>t.toJSON()))}},fromJSON(t){return new W(t.done.map(P.fromJSON),t.undone.map(P.fromJSON))}});function w(t={}){return[x,_.of(t),r.tk.domEventHandlers({beforeinput(t,e){let n="historyUndo"==t.inputType?S:"historyRedo"==t.inputType?k:null;return!!n&&(t.preventDefault(),n(e))}})]}function $(t,e){return function({state:n,dispatch:i}){if(!e&&n.readOnly)return!1;let r=n.field(x,!1);if(!r)return!1;let s=r.pop(t,n,e);return!!s&&(i(s),!0)}}const S=$(0,!1),k=$(1,!1),Q=$(0,!0),T=$(1,!0);class P{constructor(t,e,n,i,r){this.changes=t,this.effects=e,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(t){return new P(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,e,n;return{changes:null===(t=this.changes)||void 0===t?void 0:t.toJSON(),mapped:null===(e=this.mapped)||void 0===e?void 0:e.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((t=>t.toJSON()))}}static fromJSON(t){return new P(t.changes&&i.as.fromJSON(t.changes),[],t.mapped&&i.n0.fromJSON(t.mapped),t.startSelection&&i.jT.fromJSON(t.startSelection),t.selectionsAfter.map(i.jT.fromJSON))}static fromTransaction(t,e){let n=M;for(let i of t.startState.facet(b)){let e=i(t);e.length&&(n=n.concat(e))}return!n.length&&t.changes.empty?null:new P(t.changes.invert(t.startState.doc),n,void 0,e||t.startState.selection,M)}static selection(t){return new P(void 0,M,void 0,void 0,t)}}function C(t,e,n,i){let r=e+1>n+20?e-n-1:0,s=t.slice(r,e);return s.push(i),s}function A(t,e){let n=[],i=!1;return t.iterChangedRanges(((t,e)=>n.push(t,e))),e.iterChangedRanges(((t,e,r,s)=>{for(let o=0;o<n.length;){let t=n[o++],e=n[o++];s>=t&&r<=e&&(i=!0)}})),i}function E(t,e){return t.ranges.length==e.ranges.length&&0===t.ranges.filter(((t,n)=>t.empty!=e.ranges[n].empty)).length}function R(t,e){return t.length?e.length?t.concat(e):t:e}const M=[],D=200;function z(t,e){if(t.length){let n=t[t.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-D));return i.length&&i[i.length-1].eq(e)?t:(i.push(e),C(t,t.length-1,1e9,n.setSelAfter(i)))}return[P.selection([e])]}function j(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function Z(t,e){if(!t.length)return t;let n=t.length,i=M;while(n){let r=V(t[n-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let e=t.slice(0,n);return e[n-1]=r,e}e=r.mapped,n--,i=r.selectionsAfter}return i.length?[P.selection(i)]:M}function V(t,e,n){let r=R(t.selectionsAfter.length?t.selectionsAfter.map((t=>t.map(e))):M,n);if(!t.changes)return P.selection(r);let s=t.changes.map(e),o=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(o):o;return new P(s,i.Py.mapEffects(t.effects,e),a,t.startSelection.map(o),r)}const X=/^(input\.type|delete)($|\.)/;class W{constructor(t,e,n=0,i){this.done=t,this.undone=e,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new W(this.done,this.undone):this}addChanges(t,e,n,r,s){let o=this.done,a=o[o.length-1];return o=a&&a.changes&&!a.changes.empty&&t.changes&&(!n||X.test(n))&&(!a.selectionsAfter.length&&e-this.prevTime<r.newGroupDelay&&r.joinToEvent(s,A(a.changes,t.changes))||"input.type.compose"==n)?C(o,o.length-1,r.minDepth,new P(t.changes.compose(a.changes),R(i.Py.mapEffects(t.effects,a.changes),a.effects),a.mapped,a.startSelection,M)):C(o,o.length,r.minDepth,t),new W(o,M,e,n)}addSelection(t,e,n,i){let r=this.done.length?this.done[this.done.length-1].selectionsAfter:M;return r.length>0&&e-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&E(r[r.length-1],t)?this:new W(z(this.done,t),this.undone,e,n)}addMapping(t){return new W(Z(this.done,t),Z(this.undone,t),this.prevTime,this.prevUserEvent)}pop(t,e,n){let i=0==t?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1],s=r.selectionsAfter[0]||e.selection;if(n&&r.selectionsAfter.length)return e.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:v.of({side:t,rest:j(i),selection:s}),userEvent:0==t?"select.undo":"select.redo",scrollIntoView:!0});if(r.changes){let n=1==i.length?M:i.slice(0,i.length-1);return r.mapped&&(n=Z(n,r.mapped)),e.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:v.of({side:t,rest:n,selection:s}),filter:!1,userEvent:0==t?"undo":"redo",scrollIntoView:!0})}return null}}W.empty=new W(M,M);const q=[{key:"Mod-z",run:S,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:k,preventDefault:!0},{linux:"Ctrl-Shift-z",run:k,preventDefault:!0},{key:"Mod-u",run:Q,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:T,preventDefault:!0}];function I(t,e){return i.jT.create(t.ranges.map(e),t.mainIndex)}function N(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function L({state:t,dispatch:e},n){let i=I(t.selection,n);return!i.eq(t.selection,!0)&&(e(N(t,i)),!0)}function B(t,e){return i.jT.cursor(e?t.to:t.from)}function U(t,e){return L(t,(n=>n.empty?t.moveByChar(n,e):B(n,e)))}function Y(t){return t.textDirectionAt(t.state.selection.main.head)==r.Nm.LTR}const F=t=>U(t,!Y(t)),G=t=>U(t,Y(t));function H(t,e){return L(t,(n=>n.empty?t.moveByGroup(n,e):B(n,e)))}const K=t=>H(t,!Y(t)),J=t=>H(t,Y(t));"undefined"!=typeof Intl&&Intl.Segmenter;function tt(t,e,n){if(e.type.prop(n))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function et(t,e,n){let r=(0,s.qz)(t).resolveInner(e.head),a=n?o.md.closedBy:o.md.openedBy;for(let i=e.head;;){let e=n?r.childAfter(i):r.childBefore(i);if(!e)break;tt(t,e,a)?r=e:i=n?e.to:e.from}let l,c,u=r.type.prop(a);return c=u&&(l=n?(0,s.Um)(t,r.from,1):(0,s.Um)(t,r.to,-1))&&l.matched?n?l.end.to:l.end.from:n?r.to:r.from,i.jT.cursor(c,n?-1:1)}const nt=t=>L(t,(e=>et(t.state,e,!Y(t)))),it=t=>L(t,(e=>et(t.state,e,Y(t))));function rt(t,e){return L(t,(n=>{if(!n.empty)return B(n,e);let i=t.moveVertically(n,e);return i.head!=n.head?i:t.moveToLineBoundary(n,e)}))}const st=t=>rt(t,!1),ot=t=>rt(t,!0);function at(t){let e,n=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,i=0,s=0;if(n){for(let e of t.state.facet(r.tk.scrollMargins)){let n=e(t);(null===n||void 0===n?void 0:n.top)&&(i=Math.max(null===n||void 0===n?void 0:n.top,i)),(null===n||void 0===n?void 0:n.bottom)&&(s=Math.max(null===n||void 0===n?void 0:n.bottom,s))}e=t.scrollDOM.clientHeight-i-s}else e=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:s,selfScroll:n,height:Math.max(t.defaultLineHeight,e-5)}}function lt(t,e){let n,i=at(t),{state:s}=t,o=I(s.selection,(n=>n.empty?t.moveVertically(n,e,i.height):B(n,e)));if(o.eq(s.selection))return!1;if(i.selfScroll){let e=t.coordsAtPos(s.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+i.marginTop,c=a.bottom-i.marginBottom;e&&e.top>l&&e.bottom<c&&(n=r.tk.scrollIntoView(o.main.head,{y:"start",yMargin:e.top-l}))}return t.dispatch(N(s,o),{effects:n}),!0}const ct=t=>lt(t,!1),ut=t=>lt(t,!0);function ht(t,e,n){let r=t.lineBlockAt(e.head),s=t.moveToLineBoundary(e,n);if(s.head==e.head&&s.head!=(n?r.to:r.from)&&(s=t.moveToLineBoundary(e,n,!1)),!n&&s.head==r.from&&r.length){let n=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&e.head!=r.from+n&&(s=i.jT.cursor(r.from+n))}return s}const pt=t=>L(t,(e=>ht(t,e,!0))),dt=t=>L(t,(e=>ht(t,e,!1))),ft=t=>L(t,(e=>ht(t,e,!Y(t)))),Ot=t=>L(t,(e=>ht(t,e,Y(t)))),mt=t=>L(t,(e=>i.jT.cursor(t.lineBlockAt(e.head).from,1))),gt=t=>L(t,(e=>i.jT.cursor(t.lineBlockAt(e.head).to,-1)));function vt(t,e,n){let r=!1,o=I(t.selection,(e=>{let o=(0,s.Um)(t,e.head,-1)||(0,s.Um)(t,e.head,1)||e.head>0&&(0,s.Um)(t,e.head-1,1)||e.head<t.doc.length&&(0,s.Um)(t,e.head+1,-1);if(!o||!o.end)return e;r=!0;let a=o.start.from==e.head?o.end.to:o.end.from;return n?i.jT.range(e.anchor,a):i.jT.cursor(a)}));return!!r&&(e(N(t,o)),!0)}const yt=({state:t,dispatch:e})=>vt(t,e,!1);function bt(t,e){let n=I(t.state.selection,(t=>{let n=e(t);return i.jT.range(t.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)}));return!n.eq(t.state.selection)&&(t.dispatch(N(t.state,n)),!0)}function _t(t,e){return bt(t,(n=>t.moveByChar(n,e)))}const xt=t=>_t(t,!Y(t)),wt=t=>_t(t,Y(t));function $t(t,e){return bt(t,(n=>t.moveByGroup(n,e)))}const St=t=>$t(t,!Y(t)),kt=t=>$t(t,Y(t));const Qt=t=>bt(t,(e=>et(t.state,e,!Y(t)))),Tt=t=>bt(t,(e=>et(t.state,e,Y(t))));function Pt(t,e){return bt(t,(n=>t.moveVertically(n,e)))}const Ct=t=>Pt(t,!1),At=t=>Pt(t,!0);function Et(t,e){return bt(t,(n=>t.moveVertically(n,e,at(t).height)))}const Rt=t=>Et(t,!1),Mt=t=>Et(t,!0),Dt=t=>bt(t,(e=>ht(t,e,!0))),zt=t=>bt(t,(e=>ht(t,e,!1))),jt=t=>bt(t,(e=>ht(t,e,!Y(t)))),Zt=t=>bt(t,(e=>ht(t,e,Y(t)))),Vt=t=>bt(t,(e=>i.jT.cursor(t.lineBlockAt(e.head).from))),Xt=t=>bt(t,(e=>i.jT.cursor(t.lineBlockAt(e.head).to))),Wt=({state:t,dispatch:e})=>(e(N(t,{anchor:0})),!0),qt=({state:t,dispatch:e})=>(e(N(t,{anchor:t.doc.length})),!0),It=({state:t,dispatch:e})=>(e(N(t,{anchor:t.selection.main.anchor,head:0})),!0),Nt=({state:t,dispatch:e})=>(e(N(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),Lt=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),Bt=({state:t,dispatch:e})=>{let n=le(t).map((({from:e,to:n})=>i.jT.range(e,Math.min(n+1,t.doc.length))));return e(t.update({selection:i.jT.create(n),userEvent:"select"})),!0},Ut=({state:t,dispatch:e})=>{let n=I(t.selection,(e=>{let n=(0,s.qz)(t),r=n.resolveStack(e.from,1);if(e.empty){let t=n.resolveStack(e.from,-1);t.node.from>=r.node.from&&t.node.to<=r.node.to&&(r=t)}for(let t=r;t;t=t.next){let{node:n}=t;if((n.from<e.from&&n.to>=e.to||n.to>e.to&&n.from<=e.from)&&t.next)return i.jT.range(n.to,n.from)}return e}));return!n.eq(t.selection)&&(e(N(t,n)),!0)},Yt=({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=i.jT.create([n.main]):n.main.empty||(r=i.jT.create([i.jT.cursor(n.main.head)])),!!r&&(e(N(t,r)),!0)};function Ft(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:s}=t,o=s.changeByRange((r=>{let{from:s,to:o}=r;if(s==o){let i=e(r);i<s?(n="delete.backward",i=Gt(t,i,!1)):i>s&&(n="delete.forward",i=Gt(t,i,!0)),s=Math.min(s,i),o=Math.max(o,i)}else s=Gt(t,s,!1),o=Gt(t,o,!0);return s==o?{range:r}:{changes:{from:s,to:o},range:i.jT.cursor(s,s<r.head?-1:1)}}));return!o.changes.empty&&(t.dispatch(s.update(o,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?r.tk.announce.of(s.phrase("Selection deleted")):void 0})),!0)}function Gt(t,e,n){if(t instanceof r.tk)for(let i of t.state.facet(r.tk.atomicRanges).map((e=>e(t))))i.between(e,e,((t,i)=>{t<e&&i>e&&(e=n?i:t)}));return e}const Ht=(t,e,n)=>Ft(t,(r=>{let o,a,l=r.from,{state:c}=t,u=c.doc.lineAt(l);if(n&&!e&&l>u.from&&l<u.from+200&&!/[^ \t]/.test(o=u.text.slice(0,l-u.from))){if("\t"==o[o.length-1])return l-1;let t=(0,i.IS)(o,c.tabSize),e=t%(0,s.y1)(c)||(0,s.y1)(c);for(let n=0;n<e&&" "==o[o.length-1-n];n++)l--;a=l}else a=(0,i.cp)(u.text,l-u.from,e,e)+u.from,a==l&&u.number!=(e?c.doc.lines:1)?a+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(u.text.slice(a-u.from,l-u.from))&&(a=(0,i.cp)(u.text,a-u.from,!1,!1)+u.from);return a})),Kt=t=>Ht(t,!1,!0),Jt=t=>Ht(t,!0,!1),te=(t,e)=>Ft(t,(n=>{let r=n.head,{state:s}=t,o=s.doc.lineAt(r),a=s.charCategorizer(r);for(let t=null;;){if(r==(e?o.to:o.from)){r==n.head&&o.number!=(e?s.doc.lines:1)&&(r+=e?1:-1);break}let l=(0,i.cp)(o.text,r-o.from,e)+o.from,c=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),u=a(c);if(null!=t&&u!=t)break;" "==c&&r==n.head||(t=u),r=l}return r})),ee=t=>te(t,!1),ne=t=>te(t,!0),ie=t=>Ft(t,(e=>{let n=t.lineBlockAt(e.head).to;return e.head<n?n:Math.min(t.state.doc.length,e.head+1)})),re=t=>Ft(t,(e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)})),se=t=>Ft(t,(e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head<n?n:Math.min(t.state.doc.length,e.head+1)})),oe=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange((t=>({changes:{from:t.from,to:t.to,insert:i.xv.of(["",""])},range:i.jT.cursor(t.from)})));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},ae=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange((e=>{if(!e.empty||0==e.from||e.from==t.doc.length)return{range:e};let n=e.from,r=t.doc.lineAt(n),s=n==r.from?n-1:(0,i.cp)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,i.cp)(r.text,n-r.from,!0)+r.from;return{changes:{from:s,to:o,insert:t.doc.slice(n,o).append(t.doc.slice(s,n))},range:i.jT.cursor(o)}}));return!n.changes.empty&&(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function le(t){let e=[],n=-1;for(let i of t.selection.ranges){let r=t.doc.lineAt(i.from),s=t.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=t.doc.lineAt(i.to-1)),n>=r.number){let t=e[e.length-1];t.to=s.to,t.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return e}function ce(t,e,n){if(t.readOnly)return!1;let r=[],s=[];for(let o of le(t)){if(n?o.to==t.doc.length:0==o.from)continue;let e=t.doc.lineAt(n?o.to+1:o.from-1),a=e.length+1;if(n){r.push({from:o.to,to:e.to},{from:o.from,insert:e.text+t.lineBreak});for(let e of o.ranges)s.push(i.jT.range(Math.min(t.doc.length,e.anchor+a),Math.min(t.doc.length,e.head+a)))}else{r.push({from:e.from,to:o.from},{from:o.to,insert:t.lineBreak+e.text});for(let t of o.ranges)s.push(i.jT.range(t.anchor-a,t.head-a))}}return!!r.length&&(e(t.update({changes:r,scrollIntoView:!0,selection:i.jT.create(s,t.selection.mainIndex),userEvent:"move.line"})),!0)}const ue=({state:t,dispatch:e})=>ce(t,e,!1),he=({state:t,dispatch:e})=>ce(t,e,!0);function pe(t,e,n){if(t.readOnly)return!1;let i=[];for(let r of le(t))n?i.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):i.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const de=({state:t,dispatch:e})=>pe(t,e,!1),fe=({state:t,dispatch:e})=>pe(t,e,!0),Oe=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(le(e).map((({from:t,to:n})=>(t>0?t--:n<e.doc.length&&n++,{from:t,to:n})))),i=I(e.selection,(e=>{let n;if(t.lineWrapping){let i=t.lineBlockAt(e.head),r=t.coordsAtPos(e.head,e.assoc||1);r&&(n=i.bottom+t.documentTop-r.bottom+t.defaultLineHeight/2)}return t.moveVertically(e,!0,n)})).map(n);return t.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function me(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n,i=(0,s.qz)(t).resolveInner(e),r=i.childBefore(e),a=i.childAfter(e);return r&&a&&r.to<=e&&a.from>=e&&(n=r.type.prop(o.md.closedBy))&&n.indexOf(a.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(a.from).from&&!/\S/.test(t.sliceDoc(r.to,a.from))?{from:r.to,to:a.from}:null}const ge=974!=n.j?ye(!1):null,ve=974!=n.j?ye(!0):null;function ye(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange((n=>{let{from:r,to:o}=n,a=e.doc.lineAt(r),l=!t&&r==o&&me(e,r);t&&(r=o=(o<=a.to?a:e.doc.lineAt(o)).to);let c=new s.Gn(e,{simulateBreak:r,simulateDoubleBreak:!!l}),u=(0,s.K0)(c,r);null==u&&(u=(0,i.IS)(/^\s*/.exec(e.doc.lineAt(r).text)[0],e.tabSize));while(o<a.to&&/\s/.test(a.text[o-a.from]))o++;l?({from:r,to:o}=l):r>a.from&&r<a.from+100&&!/\S/.test(a.text.slice(0,r))&&(r=a.from);let h=["",(0,s.SS)(e,u)];return l&&h.push((0,s.SS)(e,c.lineIndent(a.from,-1))),{changes:{from:r,to:o,insert:i.xv.of(h)},range:i.jT.cursor(r+1+h[1].length)}}));return n(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function be(t,e){let n=-1;return t.changeByRange((r=>{let s=[];for(let i=r.from;i<=r.to;){let o=t.doc.lineAt(i);o.number>n&&(r.empty||r.to>o.from)&&(e(o,s,r),n=o.number),i=o.to+1}let o=t.changes(s);return{changes:s,range:i.jT.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}}))}const _e=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),i=new s.Gn(t,{overrideIndentation:t=>{let e=n[t];return null==e?-1:e}}),r=be(t,((e,r,o)=>{let a=(0,s.K0)(i,e.from);if(null==a)return;/\S/.test(e.text)||(a=0);let l=/^\s*/.exec(e.text)[0],c=(0,s.SS)(t,a);(l!=c||o.from<e.from+l.length)&&(n[e.from]=a,r.push({from:e.from,to:e.from+l.length,insert:c}))}));return r.changes.empty||e(t.update(r,{userEvent:"indent"})),!0},xe=({state:t,dispatch:e})=>!t.readOnly&&(e(t.update(be(t,((e,n)=>{n.push({from:e.from,insert:t.facet(s.c)})})),{userEvent:"input.indent"})),!0),we=({state:t,dispatch:e})=>!t.readOnly&&(e(t.update(be(t,((e,n)=>{let r=/^\s*/.exec(e.text)[0];if(!r)return;let o=(0,i.IS)(r,t.tabSize),a=0,l=(0,s.SS)(t,Math.max(0,o-(0,s.y1)(t)));while(a<r.length&&a<l.length&&r.charCodeAt(a)==l.charCodeAt(a))a++;n.push({from:e.from+a,to:e.from+r.length,insert:l.slice(a)})})),{userEvent:"delete.dedent"})),!0),$e=t=>(t.setTabFocusMode(),!0),Se=[{key:"Ctrl-b",run:F,shift:xt,preventDefault:!0},{key:"Ctrl-f",run:G,shift:wt},{key:"Ctrl-p",run:st,shift:Ct},{key:"Ctrl-n",run:ot,shift:At},{key:"Ctrl-a",run:mt,shift:Vt},{key:"Ctrl-e",run:gt,shift:Xt},{key:"Ctrl-d",run:Jt},{key:"Ctrl-h",run:Kt},{key:"Ctrl-k",run:ie},{key:"Ctrl-Alt-h",run:ee},{key:"Ctrl-o",run:oe},{key:"Ctrl-t",run:ae},{key:"Ctrl-v",run:ut}],ke=974!=n.j?[{key:"ArrowLeft",run:F,shift:xt,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:K,shift:St,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:ft,shift:jt,preventDefault:!0},{key:"ArrowRight",run:G,shift:wt,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:J,shift:kt,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Ot,shift:Zt,preventDefault:!0},{key:"ArrowUp",run:st,shift:Ct,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Wt,shift:It},{mac:"Ctrl-ArrowUp",run:ct,shift:Rt},{key:"ArrowDown",run:ot,shift:At,preventDefault:!0},{mac:"Cmd-ArrowDown",run:qt,shift:Nt},{mac:"Ctrl-ArrowDown",run:ut,shift:Mt},{key:"PageUp",run:ct,shift:Rt},{key:"PageDown",run:ut,shift:Mt},{key:"Home",run:dt,shift:zt,preventDefault:!0},{key:"Mod-Home",run:Wt,shift:It},{key:"End",run:pt,shift:Dt,preventDefault:!0},{key:"Mod-End",run:qt,shift:Nt},{key:"Enter",run:ge,shift:ge},{key:"Mod-a",run:Lt},{key:"Backspace",run:Kt,shift:Kt},{key:"Delete",run:Jt},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ee},{key:"Mod-Delete",mac:"Alt-Delete",run:ne},{mac:"Mod-Backspace",run:re},{mac:"Mod-Delete",run:se}].concat(Se.map((t=>({mac:t.key,run:t.run,shift:t.shift})))):null,Qe=974!=n.j?[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:nt,shift:Qt},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:it,shift:Tt},{key:"Alt-ArrowUp",run:ue},{key:"Shift-Alt-ArrowUp",run:de},{key:"Alt-ArrowDown",run:he},{key:"Shift-Alt-ArrowDown",run:fe},{key:"Escape",run:Yt},{key:"Mod-Enter",run:ve},{key:"Alt-l",mac:"Ctrl-l",run:Bt},{key:"Mod-i",run:Ut,preventDefault:!0},{key:"Mod-[",run:we},{key:"Mod-]",run:xe},{key:"Mod-Alt-\\",run:_e},{key:"Shift-Mod-k",run:Oe},{key:"Shift-Mod-\\",run:yt},{key:"Mod-/",run:a},{key:"Alt-A",run:u},{key:"Ctrl-m",mac:"Shift-Alt-m",run:$e}].concat(ke):null,Te={key:"Tab",run:xe,shift:we}},48120:(t,e,n)=>{"use strict";n.d(e,{iv:()=>K,t$:()=>H});var i=n(53105),r=n(35524);const s=107,o=1,a=108,l=109,c=2,u=110,h=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],p=58,d=40,f=95,O=91,m=45,g=46,v=35,y=37,b=38,_=92,x=10,w=42;function $(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function S(t){return t>=48&&t<=57}const k=new i.Jq(((t,e)=>{for(let n=!1,i=0,r=0;;r++){let{next:s}=t;if($(s)||s==m||s==f||n&&S(s))!n&&(s!=m||r>0)&&(n=!0),i===r&&s==m&&i++,t.advance();else{if(s!=_||t.peek(1)==x){n&&t.acceptToken(2==i&&e.canShift(c)?c:e.canShift(u)?u:s==d?a:l);break}t.advance(),t.next>-1&&t.advance(),n=!0}}})),Q=new i.Jq((t=>{if(h.includes(t.peek(-1))){let{next:e}=t;($(e)||e==f||e==v||e==g||e==w||e==O||e==p&&$(t.peek(1))||e==m||e==b)&&t.acceptToken(s)}})),T=new i.Jq((t=>{if(!h.includes(t.peek(-1))){let{next:e}=t;if(e==y&&(t.advance(),t.acceptToken(o)),$(e)){do{t.advance()}while($(t.next)||S(t.next));t.acceptToken(o)}}})),P=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,KeyframeRangeName:r.pJ.operatorKeyword,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,"MatchOp CompareOp":r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ColorLiteral:r.pJ.color,"ParenthesizedContent StringLiteral":r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),C={__proto__:null,lang:34,"nth-child":34,"nth-last-child":34,"nth-of-type":34,"nth-last-of-type":34,dir:34,"host-context":34,url:62,"url-prefix":62,domain:62,regexp:62},A={__proto__:null,"@import":120,"@media":154,"@charset":158,"@namespace":162,"@keyframes":168,"@supports":180},E={__proto__:null,layer:124,not:144,only:144,selector:150},R=i.WQ.deserialize({version:14,states:">`QYQ[OOO#kQ[OOP#rOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#wQ[O'#CfO$hQXO'#CaO$rQ[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ZhPjy!r#|R#`!ZQ%U$_R%t%kc!f^bc!Z!b!d#`#l#mQ#h!bQ%Z$gR%w%pR!k`R!maR#v!mS$r#u$sR%q%^V$p#u$s%^Q!vlR$P!vQfOSjPyU!pfj#|R#|!rQ$Y#WU%O$Y%X%iQ%X$fR%i%PQ#e!_R$d#eQ%Q$YR%j%QQ$|$VR%h$|QxUR#SxQ$w#yR%d$wQ!siS#}!s$OR$O!tQ%l%UR%u%lQ#n!cR$k#nQ$s#uR%a$sQ%_$rR%r%__eOPfjy!r#|^UOPfjy!r#|Q!UYQ!VZQ#OtQ#PuQ#QvQ#RwQ$V#VQ$l#pR%g${R$Z#WQ!Z]Q!h_Q#Z!XQ#y!q[$X#W$Y$f%P%X%iQ$[#YQ$^#]S$u#y$wQ$z$TR%c$vR$W#VQkPR#UyQ!g^Q!ocQ#_!ZR$a#`W!c^c!Z#`Q!nbQ#i!bQ#o!dQ$i#lR$j#mQ#k!bQ%Z$gR%w%p",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:126,nodeProps:[["isolate",-2,3,25,""],["openedBy",18,"(",33,"[",51,"{"],["closedBy",19,")",34,"]",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%^z;'S%^;'S;=`%o<%lO%^hCoU!hWOy%^z!_%^!_!`DR!`;'S%^;'S;=`%o<%lO%^hDYS!hWp`Oy%^z;'S%^;'S;=`%o<%lO%^lDmS!hW}SOy%^z;'S%^;'S;=`%o<%lO%^jEQV!PQ!hWOy%^z!_%^!_!`DR!`!aEg!a;'S%^;'S;=`%o<%lO%^bEnS!PQp`Oy%^z;'S%^;'S;=`%o<%lO%^bE}YOy%^z}%^}!OFm!O!c%^!c!}G[!}#T%^#T#oG[#o;'S%^;'S;=`%o<%lO%^bFrWp`Oy%^z!c%^!c!}G[!}#T%^#T#oG[#o;'S%^;'S;=`%o<%lO%^bGc[!]Qp`Oy%^z}%^}!OG[!O!Q%^!Q![G[![!c%^!c!}G[!}#T%^#T#oG[#o;'S%^;'S;=`%o<%lO%^nH^Sr^Oy%^z;'S%^;'S;=`%o<%lO%^nHoSq^Oy%^z;'S%^;'S;=`%o<%lO%^jIOUOy%^z#b%^#b#cIb#c;'S%^;'S;=`%o<%lO%^jIgUp`Oy%^z#W%^#W#XIy#X;'S%^;'S;=`%o<%lO%^jJQS!fYp`Oy%^z;'S%^;'S;=`%o<%lO%^jJaUOy%^z#f%^#f#gIy#g;'S%^;'S;=`%o<%lO%^fJxS!UUOy%^z;'S%^;'S;=`%o<%lO%^nKZS!T^Oy%^z;'S%^;'S;=`%o<%lO%^fKlU!SQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`LRP;=`<%l$}",tokenizers:[Q,T,k,1,2,3,4,new i.RA("m~RRYZ[z{a~~g~aO#g~~dP!P!Qg~lO#h~~",28,114)],topRules:{StyleSheet:[0,4],Styles:[1,92]},specialized:[{term:108,get:t=>C[t]||-1},{term:59,get:t=>A[t]||-1},{term:110,get:t=>E[t]||-1}],tokenPrec:1441});var M=n(59119),D=n(41113);let z=null;function j(){if(!z&&"object"==typeof document&&document.body){let{style:t}=document.body,e=[],n=new Set;for(let i in t)"cssText"!=i&&"cssFloat"!=i&&"string"==typeof t[i]&&(/[A-Z]/.test(i)&&(i=i.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))),n.has(i)||(e.push(i),n.add(i)));z=e.sort().map((t=>({type:"property",label:t,apply:t+": "})))}return z||[]}const Z=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map((t=>({type:"class",label:t}))),V=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((t=>({type:"keyword",label:t}))).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((t=>({type:"constant",label:t})))),X=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((t=>({type:"type",label:t}))),W=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map((t=>({type:"keyword",label:t}))),q=/^(\w[\w-]*|-\w[\w-]*|)$/,I=/^-(-[\w-]*)?$/;function N(t,e){var n;if(("("==t.name||t.type.isError)&&(t=t.parent||t),"ArgList"!=t.name)return!1;let i=null===(n=t.parent)||void 0===n?void 0:n.firstChild;return"Callee"==(null===i||void 0===i?void 0:i.name)&&"var"==e.sliceString(i.from,i.to)}const L=new D.hr,B=["Declaration"];function U(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function Y(t,e,n){if(e.to-e.from>4096){let i=L.get(e);if(i)return i;let r=[],s=new Set,o=e.cursor(D.vj.IncludeAnonymous);if(o.firstChild())do{for(let e of Y(t,o.node,n))s.has(e.label)||(s.add(e.label),r.push(e))}while(o.nextSibling());return L.set(e,r),r}{let i=[],r=new Set;return e.cursor().iterate((e=>{var s;if(n(e)&&e.matchContext(B)&&":"==(null===(s=e.node.nextSibling)||void 0===s?void 0:s.name)){let n=t.sliceString(e.from,e.to);r.has(n)||(r.add(n),i.push({label:n,type:"variable"}))}})),i}}const F=t=>e=>{let{state:n,pos:i}=e,r=(0,M.qz)(n).resolveInner(i,-1),s=r.type.isError&&r.from==r.to-1&&"-"==n.doc.sliceString(r.from,r.to);if("PropertyName"==r.name||(s||"TagName"==r.name)&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:j(),validFor:q};if("ValueName"==r.name)return{from:r.from,options:V,validFor:q};if("PseudoClassName"==r.name)return{from:r.from,options:Z,validFor:q};if(t(r)||(e.explicit||s)&&N(r,n.doc))return{from:t(r)||s?r.from:i,options:Y(n.doc,U(r),t),validFor:I};if("TagName"==r.name){for(let{parent:t}=r;t;t=t.parent)if("Block"==t.name)return{from:r.from,options:j(),validFor:q};return{from:r.from,options:X,validFor:q}}if("AtKeyword"==r.name)return{from:r.from,options:W,validFor:q};if(!e.explicit)return null;let o=r.resolve(i),a=o.childBefore(i);return a&&":"==a.name&&"PseudoClassSelector"==o.name?{from:i,options:Z,validFor:q}:a&&":"==a.name&&"Declaration"==o.name||"ArgList"==o.name?{from:i,options:V,validFor:q}:"Block"==o.name||"Styles"==o.name?{from:i,options:j(),validFor:q}:null},G=F((t=>"VariableName"==t.name)),H=M.qp.define({name:"css",parser:R.configure({props:[M.uj.add({Declaration:(0,M.tC)()}),M.x0.add({"Block KeyframeList":M.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function K(){return new M.ri(H,H.data.of({autocomplete:G}))}},36391:(t,e,n)=>{"use strict";n.d(e,{dy:()=>z,s6:()=>D});var i=n(68792),r=n(48120),s=n(122);if(974!=n.j)var o=n(47421);if(974!=n.j)var a=n(37205);var l=n(59119);const c=["_blank","_self","_top","_parent"],u=["ascii","utf-8","utf-16","latin1","latin1"],h=["get","post","put","delete"],p=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],d=["true","false"],f={},O={a:{attrs:{href:null,ping:null,type:null,media:null,target:c,hreflang:null}},abbr:f,address:f,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:f,aside:f,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:f,base:{attrs:{href:null,target:c}},bdi:f,bdo:f,blockquote:{attrs:{cite:null}},body:f,br:f,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:p,formmethod:h,formnovalidate:["novalidate"],formtarget:c,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:f,center:f,cite:f,code:f,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:f,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:f,div:f,dl:f,dt:f,em:f,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:f,figure:f,footer:f,form:{attrs:{action:null,name:null,"accept-charset":u,autocomplete:["on","off"],enctype:p,method:h,novalidate:["novalidate"],target:c}},h1:f,h2:f,h3:f,h4:f,h5:f,h6:f,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:f,hgroup:f,hr:f,html:{attrs:{manifest:null}},i:f,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:p,formmethod:h,formnovalidate:["novalidate"],formtarget:c,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:f,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:f,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:f,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:u,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:f,noscript:f,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:f,param:{attrs:{name:null,value:null}},pre:f,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:f,rt:f,ruby:f,samp:f,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:u}},section:f,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:f,source:{attrs:{src:null,type:null,media:null}},span:f,strong:f,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:f,summary:f,sup:f,table:f,tbody:f,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:f,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:f,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:f,time:{attrs:{datetime:null}},title:f,tr:f,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:f,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:f},m={accesskey:null,class:null,contenteditable:d,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:d,autocorrect:d,autocapitalize:d,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":d,"aria-autocomplete":["inline","list","both","none"],"aria-busy":d,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":d,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":d,"aria-hidden":d,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":d,"aria-multiselectable":d,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":d,"aria-relevant":null,"aria-required":d,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},g="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((t=>"on"+t));for(let V of g)m[V]=null;class v{constructor(t,e){this.tags=Object.assign(Object.assign({},O),t),this.globalAttrs=Object.assign(Object.assign({},m),e),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function y(t,e,n=t.length){if(!e)return"";let i=e.firstChild,r=i&&i.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,n)):""}function b(t,e=!1){for(;t;t=t.parent)if("Element"==t.name){if(!e)return t;e=!1}return null}function _(t,e,n){let i=n.tags[y(t,b(e))];return(null===i||void 0===i?void 0:i.children)||n.allTags}function x(t,e){let n=[];for(let i=b(e);i&&!i.type.isTop;i=b(i.parent)){let r=y(t,i);if(r&&"CloseTag"==i.lastChild.name)break;r&&n.indexOf(r)<0&&("EndTag"==e.name||e.from>=i.firstChild.to)&&n.push(r)}return n}v.default=new v;const w=/^[:\-\.\w\u00b7-\uffff]*$/;function $(t,e,n,i,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=b(n,!0);return{from:i,to:r,options:_(t.doc,o,e).map((t=>({label:t,type:"type"}))).concat(x(t.doc,n).map(((t,e)=>({label:"/"+t,apply:"/"+t+s,type:"type",boost:99-e})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function S(t,e,n,i){let r=/\s*>/.test(t.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:x(t.doc,e).map(((t,e)=>({label:t,apply:t+r,type:"type",boost:99-e}))),validFor:w}}function k(t,e,n,i){let r=[],s=0;for(let o of _(t.doc,n,e))r.push({label:"<"+o,type:"type"});for(let o of x(t.doc,n))r.push({label:"</"+o+">",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Q(t,e,n,i,r){let s=b(n),o=s?e.tags[y(t.doc,s)]:null,a=o&&o.attrs?Object.keys(o.attrs):[],l=o&&!1===o.globalAttrs?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:r,options:l.map((t=>({label:t,type:"property"}))),validFor:w}}function T(t,e,n,i,r){var s;let o,a=null===(s=n.parent)||void 0===s?void 0:s.getChild("AttributeName"),l=[];if(a){let s=t.sliceDoc(a.from,a.to),c=e.globalAttrs[s];if(!c){let i=b(n),r=i?e.tags[y(t.doc,i)]:null;c=(null===r||void 0===r?void 0:r.attrs)&&r.attrs[s]}if(c){let e=t.sliceDoc(i,r).toLowerCase(),n='"',s='"';/^['"]/.test(e)?(o='"'==e[0]?/^[^"]*$/:/^[^']*$/,n="",s=t.sliceDoc(r,r+1)==e[0]?"":e[0],e=e.slice(1),i++):o=/^[^\s<>='"]*$/;for(let t of c)l.push({label:t,apply:n+t+s,type:"constant"})}}return{from:i,to:r,options:l,validFor:o}}function P(t,e){let{state:n,pos:i}=e,r=(0,l.qz)(n).resolveInner(i,-1),s=r.resolve(i);for(let o,a=i;s==r&&(o=r.childBefore(a));){let t=o.lastChild;if(!t||!t.type.isError||t.from<t.to)break;s=r=o,a=t.from}return"TagName"==r.name?r.parent&&/CloseTag$/.test(r.parent.name)?S(n,r,r.from,i):$(n,t,r,r.from,i):"StartTag"==r.name?$(n,t,r,i,i):"StartCloseTag"==r.name||"IncompleteCloseTag"==r.name?S(n,r,i,i):"OpenTag"==r.name||"SelfClosingTag"==r.name||"AttributeName"==r.name?Q(n,t,r,"AttributeName"==r.name?r.from:i,i):"Is"==r.name||"AttributeValue"==r.name||"UnquotedAttributeValue"==r.name?T(n,t,r,"Is"==r.name?i:r.from,i):!e.explicit||"Element"!=s.name&&"Text"!=s.name&&"Document"!=s.name?null:k(n,t,r,i)}function C(t){let{extraTags:e,extraGlobalAttributes:n}=t,i=n||e?new v(e,n):v.default;return t=>P(i,t)}const A=s.Lz.parser.configure({top:"SingleExpression"}),E=[{tag:"script",attrs:t=>"text/typescript"==t.type||"ts"==t.lang,parser:s.ev.parser},{tag:"script",attrs:t=>"text/babel"==t.type||"text/jsx"==t.type,parser:s.uh.parser},{tag:"script",attrs:t=>"text/typescript-jsx"==t.type,parser:s._v.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:A},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:s.Lz.parser},{tag:"style",attrs(t){return(!t.lang||"css"==t.lang)&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:r.t$.parser}],R=[{name:"style",parser:r.t$.parser.configure({top:"Styles"})}].concat(g.map((t=>({name:t,parser:s.Lz.parser})))),M=l.qp.define({name:"html",parser:i.E.configure({props:[l.uj.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length<t.node.to)return t.continue();let e,n=null;for(let i=t.node;;){let t=i.lastChild;if(!t||"Element"!=t.name||t.to!=i.to)break;n=i=t}return n&&(!(e=n.lastChild)||"CloseTag"!=e.name&&"SelfClosingTag"!=e.name)?t.lineIndent(n.from)+t.unit:null}}),l.x0.add({Element(t){let e=t.firstChild,n=t.lastChild;return e&&"OpenTag"==e.name?{from:e.to,to:"CloseTag"==n.name?n.from:t.to}:null}}),l.a0.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),D=M.configure({wrap:(0,i.X)(E,R)});function z(t={}){let e,n="";!1===t.matchClosingTags&&(n="noMatch"),!0===t.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(e=(0,i.X)((t.nestedLanguages||[]).concat(E),(t.nestedAttributes||[]).concat(R)));let o=e?M.configure({wrap:e,dialect:n}):n?D.configure({dialect:n}):D;return new l.ri(o,[D.data.of({autocomplete:C(t)}),!1!==t.autoCloseTags?Z:[],(0,s.eJ)().support,(0,r.iv)().support])}const j=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Z=974!=n.j?o.tk.inputHandler.of(((t,e,n,i,r)=>{if(t.composing||t.state.readOnly||e!=n||">"!=i&&"/"!=i||!D.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,c=o.changeByRange((t=>{var e,n,r;let s,c=o.doc.sliceString(t.from-1,t.to)==i,{head:u}=t,h=(0,l.qz)(o).resolveInner(u,-1);if(c&&">"==i&&"EndTag"==h.name){let i=h.parent;if("CloseTag"!=(null===(n=null===(e=i.parent)||void 0===e?void 0:e.lastChild)||void 0===n?void 0:n.name)&&(s=y(o.doc,i.parent,u))&&!j.has(s)){let e=u+(">"===o.doc.sliceString(u,u+1)?1:0),n=`</${s}>`;return{range:t,changes:{from:u,to:e,insert:n}}}}else if(c&&"/"==i&&"IncompleteCloseTag"==h.name){let t=h.parent;if(h.from==u-2&&"CloseTag"!=(null===(r=t.lastChild)||void 0===r?void 0:r.name)&&(s=y(o.doc,t,u))&&!j.has(s)){let t=u+(">"===o.doc.sliceString(u,u+1)?1:0),e=`${s}>`;return{range:a.jT.cursor(u+e.length,-1),changes:{from:u,to:t,insert:e}}}}return{range:t}}));return!c.changes.empty&&(t.dispatch([s,o.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})):null},122:(t,e,n)=>{"use strict";n.d(e,{eJ:()=>ht,Lz:()=>it,uh:()=>ot,_v:()=>at,ev:()=>st});var i=n(53105),r=n(35524);const s=315,o=316,a=1,l=2,c=3,u=4,h=317,p=319,d=320,f=5,O=6,m=0,g=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],v=125,y=59,b=47,_=42,x=43,w=45,$=60,S=44,k=63,Q=46,T=91,P=new i.IK({start:!1,shift(t,e){return e==f||e==O||e==p?t:e==d},strict:!1}),C=new i.Jq(((t,e)=>{let{next:n}=t;(n==v||-1==n||e.context)&&t.acceptToken(h)}),{contextual:!0,fallback:!0}),A=new i.Jq(((t,e)=>{let n,{next:i}=t;g.indexOf(i)>-1||(i!=b||(n=t.peek(1))!=b&&n!=_)&&(i==v||i==y||-1==i||e.context||t.acceptToken(s))}),{contextual:!0}),E=new i.Jq(((t,e)=>{t.next!=T||e.context||t.acceptToken(o)}),{contextual:!0}),R=new i.Jq(((t,e)=>{let{next:n}=t;if(n==x||n==w){if(t.advance(),n==t.next){t.advance();let n=!e.context&&e.canShift(a);t.acceptToken(n?a:l)}}else n==k&&t.peek(1)==Q&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(c))}),{contextual:!0});function M(t,e){return t>=65&&t<=90||t>=97&&t<=122||95==t||t>=192||!e&&t>=48&&t<=57}const D=new i.Jq(((t,e)=>{if(t.next!=$||!e.dialectEnabled(m))return;if(t.advance(),t.next==b)return;let n=0;while(g.indexOf(t.next)>-1)t.advance(),n++;if(M(t.next,!0)){t.advance(),n++;while(M(t.next,!1))t.advance(),n++;while(g.indexOf(t.next)>-1)t.advance(),n++;if(t.next==S)return;for(let e=0;;e++){if(7==e){if(!M(t.next,!0))return;break}if(t.next!="extends".charCodeAt(e))break;t.advance(),n++}}t.acceptToken(u,-n)})),z=(0,r.Gv)({"get set async static":r.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":r.pJ.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":r.pJ.operatorKeyword,"let var const using function class extends":r.pJ.definitionKeyword,"import export from":r.pJ.moduleKeyword,"with debugger new":r.pJ.keyword,TemplateString:r.pJ.special(r.pJ.string),super:r.pJ.atom,BooleanLiteral:r.pJ.bool,this:r.pJ.self,null:r.pJ["null"],Star:r.pJ.modifier,VariableName:r.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":r.pJ["function"](r.pJ.variableName),VariableDefinition:r.pJ.definition(r.pJ.variableName),Label:r.pJ.labelName,PropertyName:r.pJ.propertyName,PrivatePropertyName:r.pJ.special(r.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":r.pJ["function"](r.pJ.propertyName),"FunctionDeclaration/VariableDefinition":r.pJ["function"](r.pJ.definition(r.pJ.variableName)),"ClassDeclaration/VariableDefinition":r.pJ.definition(r.pJ.className),"NewExpression/VariableName":r.pJ.className,PropertyDefinition:r.pJ.definition(r.pJ.propertyName),PrivatePropertyDefinition:r.pJ.definition(r.pJ.special(r.pJ.propertyName)),UpdateOp:r.pJ.updateOperator,"LineComment Hashbang":r.pJ.lineComment,BlockComment:r.pJ.blockComment,Number:r.pJ.number,String:r.pJ.string,Escape:r.pJ.escape,ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,RegExp:r.pJ.regexp,Equals:r.pJ.definitionOperator,Arrow:r.pJ["function"](r.pJ.punctuation),": Spread":r.pJ.punctuation,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,"InterpolationStart InterpolationEnd":r.pJ.special(r.pJ.brace),".":r.pJ.derefOperator,", ;":r.pJ.separator,"@":r.pJ.meta,TypeName:r.pJ.typeName,TypeDefinition:r.pJ.definition(r.pJ.typeName),"type enum interface implements namespace module declare":r.pJ.definitionKeyword,"abstract global Privacy readonly override":r.pJ.modifier,"is keyof unique infer asserts":r.pJ.operatorKeyword,JSXAttributeValue:r.pJ.attributeValue,JSXText:r.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":r.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":r.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":r.pJ.attributeName,"JSXBuiltin/JSXIdentifier":r.pJ.standard(r.pJ.tagName)}),j={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,for:474,of:483,while:486,with:490,do:494,if:498,else:500,switch:504,case:510,try:516,catch:520,finally:524,return:528,throw:532,break:536,continue:540,debugger:544},Z={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},V={__proto__:null,"<":193},X=i.WQ.deserialize({version:14,states:"$EOQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Ik'#IkO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JqO6[Q!0MxO'#JrO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO7eQMhO'#F|O9[Q`O'#F{OOQ!0Lf'#Jr'#JrOOQ!0Lb'#Jq'#JqO9aQ`O'#GwOOQ['#K^'#K^O9lQ`O'#IXO9qQ!0LrO'#IYOOQ['#J_'#J_OOQ['#I^'#I^Q`QlOOQ`QlOOO9yQ!L^O'#DvO:QQlO'#EOO:XQlO'#EQO9gQ`O'#GsO:`QMhO'#CoO:nQ`O'#EnO:yQ`O'#EyO;OQMhO'#FeO;mQ`O'#GsOOQO'#K_'#K_O;r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|Q:Q8fQ:d9VQ:|:SQ;U:fQ;`:}R;c;VnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&j!VR,c>mOXst!U!V!Z#d%l&g&p&r&s&u,n,s2S2VR,j&mT%km,jR1c,SR,b&eQ&T|R+z&UR+p&OT&n!W&qT&o!W&qT2U,s2V",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:379,context:P,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,236,242,244,246,248,251,257,263,265,267,269,271,273,274,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[z],skippedNodes:[0,5,6,277],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!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I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Vp(Y!b'|0/l$]#t(S,2j(d$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[A,E,R,D,2,3,4,5,6,7,8,9,10,11,12,13,14,C,new i.RA("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(b~~",141,339),new i.RA("j~RQYZXz{^~^O(P~~aP!P!Qd~iO(Q~~",25,322)],topRules:{Script:[0,7],SingleExpression:[1,275],SingleClassItem:[2,276]},dialects:{jsx:0,ts:15098},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:326,get:t=>j[t]||-1},{term:342,get:t=>Z[t]||-1},{term:95,get:t=>V[t]||-1}],tokenPrec:15124});var W=n(59119),q=n(37205),I=n(47421),N=n(34790),L=n(41113);const B=[(0,N.Gn)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,N.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,N.Gn)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,N.Gn)("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,N.Gn)("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,N.Gn)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,N.Gn)("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,N.Gn)("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,N.Gn)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,N.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,N.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],U=B.concat([(0,N.Gn)("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,N.Gn)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,N.Gn)("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),Y=new L.hr,F=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function G(t){return(e,n)=>{let i=e.node.getChild("VariableDefinition");return i&&n(i,t),!0}}const H=["FunctionDeclaration"],K={FunctionDeclaration:G("function"),ClassDeclaration:G("class"),ClassExpression:()=>!0,EnumDeclaration:G("constant"),TypeAliasDeclaration:G("type"),NamespaceDeclaration:G("namespace"),VariableDefinition(t,e){t.matchContext(H)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function J(t,e){let n=Y.get(e);if(n)return n;let i=[],r=!0;function s(e,n){let r=t.sliceString(e.from,e.to);i.push({label:r,type:n})}return e.cursor(L.vj.IncludeAnonymous).iterate((e=>{if(r)r=!1;else if(e.name){let t=K[e.name];if(t&&t(e,s)||F.has(e.name))return!1}else if(e.to-e.from>8192){for(let n of J(t,e.node))i.push(n);return!1}})),Y.set(e,i),i}const tt=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,et=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function nt(t){let e=(0,W.qz)(t.state).resolveInner(t.pos,-1);if(et.indexOf(e.name)>-1)return null;let n="VariableName"==e.name||e.to-e.from<20&&tt.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let i=[];for(let r=e;r;r=r.parent)F.has(r.name)&&(i=i.concat(J(t.state.doc,r)));return{options:i,from:n?e.from:t.pos,validFor:tt}}const it=W.qp.define({name:"javascript",parser:X.configure({props:[W.uj.add({IfStatement:(0,W.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,W.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:W.ze,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:(0,W.vw)({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,W.tC)({except:/^\s*{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),W.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":W.Dv,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),rt={test:t=>/^JSX/.test(t.name),facet:(0,W.kU)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},st=it.configure({dialect:"ts"},"typescript"),ot=it.configure({dialect:"jsx",props:[W.KC.add((t=>t.isTop?[rt]:void 0))]}),at=it.configure({dialect:"jsx ts",props:[W.KC.add((t=>t.isTop?[rt]:void 0))]},"typescript");let lt=t=>({label:t,type:"keyword"});const ct="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(lt),ut=ct.concat(["declare","implements","private","protected","public"].map(lt));function ht(t={}){let e=t.jsx?t.typescript?at:ot:t.typescript?st:it,n=t.typescript?U.concat(ut):B.concat(ct);return new W.ri(e,[it.data.of({autocomplete:(0,N.eC)(et,(0,N.Mb)(n))}),it.data.of({autocomplete:nt}),t.jsx?Ot:[]])}function pt(t){for(;;){if("JSXOpenTag"==t.name||"JSXSelfClosingTag"==t.name||"JSXFragmentTag"==t.name)return t;if("JSXEscape"==t.name||!t.parent)return null;t=t.parent}}function dt(t,e,n=t.length){for(let i=null===e||void 0===e?void 0:e.firstChild;i;i=i.nextSibling)if("JSXIdentifier"==i.name||"JSXBuiltin"==i.name||"JSXNamespacedName"==i.name||"JSXMemberExpression"==i.name)return t.sliceString(i.from,Math.min(i.to,n));return""}const ft="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Ot=I.tk.inputHandler.of(((t,e,n,i,r)=>{if((ft?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||">"!=i&&"/"!=i||!it.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,a=o.changeByRange((t=>{var e;let n,{head:r}=t,s=(0,W.qz)(o).resolveInner(r-1,-1);if("JSXStartTag"==s.name&&(s=s.parent),o.doc.sliceString(r-1,r)!=i||"JSXAttributeValue"==s.name&&s.to>r);else{if(">"==i&&"JSXFragmentTag"==s.name)return{range:t,changes:{from:r,insert:"</>"}};if("/"==i&&"JSXStartCloseTag"==s.name){let t=s.parent,i=t.parent;if(i&&t.from==r-2&&((n=dt(o.doc,i.firstChild,r))||"JSXFragmentTag"==(null===(e=i.firstChild)||void 0===e?void 0:e.name))){let t=`${n}>`;return{range:q.jT.cursor(r+t.length,-1),changes:{from:r,insert:t}}}}else if(">"==i){let e=pt(s);if(e&&"JSXOpenTag"==e.name&&!/^\/?>|^<\//.test(o.doc.sliceString(r,r+2))&&(n=dt(o.doc,e,r)))return{range:t,changes:{from:r,insert:`</${n}>`}}}}return{range:t}}));return!a.changes.empty&&(t.dispatch([s,o.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}))},12386:(t,e,n)=>{"use strict";n.d(e,{h:()=>Vt,U:()=>Zt});var i=n(53105),r=n(35524);const s=1,o=2,a=263,l=3,c=264,u=265,h=266,p=4,d=5,f=6,O=7,m=8,g=9,v=10,y=11,b=12,_=13,x=14,w=15,$=16,S=17,k=18,Q=19,T=20,P=21,C=22,A=23,E=24,R=25,M=26,D=27,z=28,j=29,Z=30,V=31,X=32,W=33,q=34,I=35,N=36,L=37,B=38,U=39,Y=40,F=41,G=42,H=43,K=44,J=45,tt=46,et=47,nt=48,it=49,rt=50,st=51,ot=52,at=53,lt=54,ct=55,ut=56,ht=57,pt=58,dt=59,ft=60,Ot=61,mt=62,gt=63,vt=64,yt=65,bt={abstract:p,and:d,array:f,as:O,true:m,false:m,break:g,case:v,catch:y,clone:b,const:_,continue:x,declare:$,default:w,do:S,echo:k,else:Q,elseif:T,enddeclare:P,endfor:C,endforeach:A,endif:E,endswitch:R,endwhile:M,enum:D,extends:z,final:j,finally:Z,fn:V,for:X,foreach:W,from:q,function:I,global:N,goto:L,if:B,implements:U,include:Y,include_once:F,instanceof:G,insteadof:H,interface:K,list:J,match:tt,namespace:et,new:nt,null:it,or:rt,print:st,require:ot,require_once:at,return:lt,switch:ct,throw:ut,trait:ht,try:pt,unset:dt,use:ft,var:Ot,public:mt,private:mt,protected:mt,while:gt,xor:vt,yield:yt,__proto__:null};function _t(t){let e=bt[t.toLowerCase()];return null==e?-1:e}function xt(t){return 9==t||10==t||13==t||32==t}function wt(t){return t>=97&&t<=122||t>=65&&t<=90}function $t(t){return 95==t||t>=128||wt(t)}function St(t){return t>=48&&t<=55||t>=97&&t<=102||t>=65&&t<=70}const kt={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},Qt=new i.Jq((t=>{if(40==t.next){t.advance();let e=0;while(xt(t.peek(e)))e++;let n,i="";while(wt(n=t.peek(e)))i+=String.fromCharCode(n),e++;while(xt(t.peek(e)))e++;41==t.peek(e)&&kt[i.toLowerCase()]&&t.acceptToken(s)}else if(60==t.next&&60==t.peek(1)&&60==t.peek(2)){for(let i=0;i<3;i++)t.advance();while(32==t.next||9==t.next)t.advance();let e=39==t.next;if(e&&t.advance(),!$t(t.next))return;let n=String.fromCharCode(t.next);for(;;){if(t.advance(),!$t(t.next)&&!(t.next>=48&&t.next<=55))break;n+=String.fromCharCode(t.next)}if(e){if(39!=t.next)return;t.advance()}if(10!=t.next&&13!=t.next)return;for(;;){let e=10==t.next||13==t.next;if(t.advance(),t.next<0)return;if(e){while(32==t.next||9==t.next)t.advance();let e=!0;for(let i=0;i<n.length;i++){if(t.next!=n.charCodeAt(i)){e=!1;break}t.advance()}if(e)return t.acceptToken(o)}}}})),Tt=new i.Jq((t=>{t.next<0&&t.acceptToken(h)})),Pt=new i.Jq(((t,e)=>{63==t.next&&e.canShift(u)&&62==t.peek(1)&&t.acceptToken(u)}));function Ct(t){let e=t.peek(1);if(110==e||114==e||116==e||118==e||101==e||102==e||92==e||36==e||34==e||123==e)return 2;if(e>=48&&e<=55){let e,n=2;while(n<5&&(e=t.peek(n))>=48&&e<=55)n++;return n}if(120==e&&St(t.peek(2)))return St(t.peek(3))?4:3;if(117==e&&123==t.peek(2))for(let n=3;;n++){let e=t.peek(n);if(125==e)return 2==n?0:n+1;if(!St(e))break}return 0}const At=new i.Jq(((t,e)=>{let n=!1;for(;;n=!0){if(34==t.next||t.next<0||36==t.next&&($t(t.peek(1))||123==t.peek(1))||123==t.next&&36==t.peek(1))break;if(92==t.next){let e=Ct(t);if(e){if(n)break;return t.acceptToken(l,e)}}else if(!n&&(91==t.next||45==t.next&&62==t.peek(1)&&$t(t.peek(2))||63==t.next&&45==t.peek(1)&&62==t.peek(2)&&$t(t.peek(3)))&&e.canShift(c))break;t.advance()}n&&t.acceptToken(a)})),Et=(0,r.Gv)({"Visibility abstract final static":r.pJ.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":r.pJ.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":r.pJ.controlKeyword,"and or xor yield unset clone instanceof insteadof":r.pJ.operatorKeyword,"function fn class trait implements extends const enum global interface use var":r.pJ.definitionKeyword,"include include_once require require_once namespace":r.pJ.moduleKeyword,"new from echo print array list as":r.pJ.keyword,null:r.pJ["null"],Boolean:r.pJ.bool,VariableName:r.pJ.variableName,"NamespaceName/...":r.pJ.namespace,"NamedType/...":r.pJ.typeName,Name:r.pJ.name,"CallExpression/Name":r.pJ["function"](r.pJ.variableName),"LabelStatement/Name":r.pJ.labelName,"MemberExpression/Name":r.pJ.propertyName,"MemberExpression/VariableName":r.pJ.special(r.pJ.propertyName),"ScopedExpression/ClassMemberName/Name":r.pJ.propertyName,"ScopedExpression/ClassMemberName/VariableName":r.pJ.special(r.pJ.propertyName),"CallExpression/MemberExpression/Name":r.pJ["function"](r.pJ.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":r.pJ["function"](r.pJ.propertyName),"MethodDeclaration/Name":r.pJ["function"](r.pJ.definition(r.pJ.variableName)),"FunctionDefinition/Name":r.pJ["function"](r.pJ.definition(r.pJ.variableName)),"ClassDeclaration/Name":r.pJ.definition(r.pJ.className),UpdateOp:r.pJ.updateOperator,ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,ControlOp:r.pJ.controlOperator,AssignOp:r.pJ.definitionOperator,"$ ConcatOp":r.pJ.operator,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,Integer:r.pJ.integer,Float:r.pJ.float,String:r.pJ.string,ShellExpression:r.pJ.special(r.pJ.string),"=> ->":r.pJ.punctuation,"( )":r.pJ.paren,"#[ [ ]":r.pJ.squareBracket,"${ { }":r.pJ.brace,"-> ?->":r.pJ.derefOperator,", ; :: : \\":r.pJ.separator,"PhpOpen PhpClose":r.pJ.processingInstruction}),Rt={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},Mt=i.WQ.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQ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|,_0w}PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;u<j<k<o<p<q<v<{<|=P=R=S=T=U=Z=m=nT$w{${Q(i%PQ(n%SQ(q%UR1f0iQ%b!]Q(m%RQ,U(lQ.s,TQ.u,VQ0c.tR1c0dQ%q!fR)]%rR)e%p",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,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;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[Qt,At,Pt,0,1,2,3,Tt],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(t,e)=>_t(t)<<1,external:_t},{term:81,get:t=>Rt[t]||-1}],tokenPrec:29354});var Dt=n(41113),zt=n(36391),jt=n(59119);const Zt=jt.qp.define({name:"php",parser:Mt.configure({props:[jt.uj.add({IfStatement:(0,jt.tC)({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:(0,jt.tC)({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},ColonBlock:t=>t.baseIndent+t.unit,"Block EnumBody DeclarationList":(0,jt.vw)({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"String BlockComment":()=>null,Statement:(0,jt.tC)({except:/^({|end(for|foreach|switch|while)\b)/})}),jt.x0.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":jt.Dv,ColonBlock(t){return{from:t.from+1,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function Vt(t={}){let e,n=[];if(null===t.baseLanguage);else if(t.baseLanguage)e=t.baseLanguage;else{let t=(0,zt.dy)({matchClosingTags:!1});n.push(t.support),e=t.language}return new jt.ri(Zt.configure({wrap:e&&(0,Dt.FE)((t=>t.type.isTop?{parser:e.parser,overlay:t=>"Text"==t.name}:null)),top:t.plain?"Program":"Template"}),n)}},59119:(t,e,n)=>{"use strict";n.d(e,{Dv:()=>F,Gn:()=>A,K0:()=>C,KC:()=>h,Qf:()=>wt,R_:()=>Ct,SS:()=>P,Um:()=>Nt,a0:()=>Wt,c:()=>Q,dK:()=>$,e7:()=>pt,kU:()=>u,mi:()=>_t,n$:()=>Xt,nF:()=>Qt,nY:()=>B,qp:()=>f,qz:()=>O,ri:()=>S,tC:()=>N,uj:()=>E,vw:()=>W,x0:()=>Y,y1:()=>T,ze:()=>I});var i,r=n(41113),s=n(37205),o=n(47421),a=n(35524),l=n(28699);const c=new r.md;function u(t){return s.r$.define({combine:t?e=>e.concat(t):void 0})}const h=new r.md;class p{constructor(t,e,n=[],i=""){this.data=t,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return O(this)}}),this.parser=e,this.extension=[$.of(this),s.yy.languageData.of(((t,e,n)=>{let i=d(t,e,n),r=i.type.prop(c);if(!r)return[];let s=t.facet(r),o=i.type.prop(h);if(o){let r=i.resolve(e-i.from,n);for(let e of o)if(e.test(r,t)){let n=t.facet(e.facet);return"replace"==e.type?n:n.concat(s)}}return s}))].concat(n)}isActiveAt(t,e,n=-1){return d(t,e,n).type.prop(c)==this.data}findRegions(t){let e=t.facet($);if((null===e||void 0===e?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let n=[],i=(t,e)=>{if(t.prop(c)==this.data)return void n.push({from:e,to:e+t.length});let s=t.prop(r.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let t of s.overlay)n.push({from:t.from+e,to:t.to+e});else n.push({from:e,to:e+t.length});return}if(s.overlay){let t=n.length;if(i(s.tree,s.overlay[0].from+e),n.length>t)return}}for(let n=0;n<t.children.length;n++){let s=t.children[n];s instanceof r.mp&&i(s,t.positions[n]+e)}};return i(O(t),0),n}get allowsNesting(){return!0}}function d(t,e,n){let i=t.facet($),s=O(t).topNode;if(!i||i.allowsNesting)for(let o=s;o;o=o.enter(e,n,r.vj.ExcludeBuffers))o.type.isTop&&(s=o);return s}p.setState=s.Py.define();class f extends(974!=n.j?p:null){constructor(t,e,n){super(t,e,[],n),this.parser=e}static define(t){let e=u(t.languageData);return new f(e,t.parser.configure({props:[c.add((t=>t.isTop?e:void 0))]}),t.name)}configure(t,e){return new f(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function O(t){let e=t.field(p.state,!1);return e?e.tree:r.mp.empty}class m{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,e){let n=this.cursorPos-this.string.length;return t<n||e>=this.cursorPos?this.doc.sliceString(t,e):this.string.slice(t-n,e-n)}}let g=null;class v{constructor(t,e,n=[],i,r,s,o,a){this.parser=t,this.state=e,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(t,e,n){return new v(t,e,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(t,e){return null!=e&&e>=this.state.doc.length&&(e=void 0),this.tree!=r.mp.empty&&this.isDone(null!==e&&void 0!==e?e:this.state.doc.length)?(this.takeTree(),!0):this.withContext((()=>{var n;if("number"==typeof t){let e=Date.now()+t;t=()=>Date.now()>e}for(this.parse||(this.parse=this.startParse()),null!=e&&(null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&e<this.state.doc.length&&this.parse.stopAt(e);;){let i=this.parse.advance();if(i){if(this.fragments=this.withoutTempSkipped(r.i9.addTree(i,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,this.tree=i,this.parse=null,!(this.treeLen<(null!==e&&void 0!==e?e:this.state.doc.length)))return!0;this.parse=this.startParse()}if(t())return!1}}))}takeTree(){let t,e;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext((()=>{while(!(e=this.parse.advance()));})),this.treeLen=t,this.tree=e,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let e=g;g=this;try{return t()}finally{g=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=y(t,e.from,e.to);return t}changes(t,e){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges(((t,n,i,r)=>e.push({fromA:t,toA:n,fromB:i,toB:r}))),n=r.i9.applyChanges(n,e),i=r.mp.empty,s=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){a=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);n<i&&a.push({from:n,to:i})}}}return new v(this.parser,e,n,i,s,o,a,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return!1;this.viewport=t;let e=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:e,to:i}=this.skipped[n];e<t.to&&i>t.from&&(this.fragments=y(this.fragments,e,i),this.skipped.splice(n--,1))}return!(this.skipped.length>=e)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends r._b{createParse(e,n,i){let s=i[0].from,o=i[i.length-1].to,a={parsedPos:s,advance(){let e=g;if(e){for(let t of i)e.tempSkipped.push(t);t&&(e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}};return a}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&0==e[0].from&&e[0].to>=t}static get(){return g}}function y(t,e,n){return r.i9.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class b{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state),n=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);return e.work(20,n)||e.takeTree(),new b(e)}static init(t){let e=Math.min(3e3,t.doc.length),n=v.create(t.facet($).parser,t,{from:0,to:e});return n.work(20,e)||n.takeTree(),new b(n)}}p.state=s.QQ.define({create:b.init,update(t,e){for(let n of e.effects)if(n.is(p.setState))return n.value;return e.startState.facet($)!=e.state.facet($)?b.init(e.state):t.apply(e)}});let _=t=>{let e=setTimeout((()=>t()),500);return()=>clearTimeout(e)};"undefined"!=typeof requestIdleCallback&&(_=t=>{let e=-1,n=setTimeout((()=>{e=requestIdleCallback(t,{timeout:400})}),100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const x="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,w=o.lg.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(p.state).context;(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(p.state);e.tree==e.context.tree&&e.context.isDone(t.doc.length)||(this.working=_(this.work))}work(t){this.working=null;let e=Date.now();if(this.chunkEnd<e&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=e+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,r=n.field(p.state);if(r.tree==r.context.tree&&r.context.isDone(i+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,t&&!x?Math.max(25,t.timeRemaining()-5):1e9),o=r.context.treeLen<i&&n.doc.length>i+1e3,a=r.context.work((()=>x&&x()||Date.now()>s),i+(o?0:1e5));this.chunkBudget-=Date.now()-e,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:p.setState.of(new b(r.context))})),this.chunkBudget>0&&(!a||o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then((()=>this.scheduleWork())).catch((t=>(0,o.OO)(this.view.state,t))).then((()=>this.workScheduled--)),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),$=s.r$.define({combine(t){return t.length?t[0]:null},enables:t=>[p.state,w,o.tk.contentAttributes.compute([t],(e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}}))]});class S{constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]}}const k=974!=n.j?s.r$.define():null,Q=s.r$.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some((t=>t!=e[0])))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function T(t){let e=t.facet(Q);return 9==e.charCodeAt(0)?t.tabSize*e.length:e.length}function P(t,e){let n="",i=t.tabSize,r=t.facet(Q)[0];if("\t"==r){while(e>=i)n+="\t",e-=i;r=" "}for(let s=0;s<e;s++)n+=r;return n}function C(t,e){t instanceof s.yy&&(t=new A(t));for(let i of t.state.facet(k)){let n=i(t,e);if(void 0!==n)return n}let n=O(t.state);return n.length>=e?R(t,n,e):null}class A{constructor(t,e={}){this.state=t,this.options=e,this.unit=T(t)}lineAt(t,e=1){let n=this.state.doc.lineAt(t),{simulateBreak:i,simulateDoubleBreak:r}=this.options;return null!=i&&i>=n.from&&i<=n.to?r&&i==t?{text:"",from:t}:(e<0?i<t:i<=t)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(t,e);return n.slice(t-i,Math.min(n.length,t+100-i))}column(t,e=1){let{text:n,from:i}=this.lineAt(t,e),r=this.countColumn(n,t-i),s=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return s>-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(t,e=t.length){return(0,s.IS)(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:n,from:i}=this.lineAt(t,e),r=this.options.overrideIndentation;if(r){let t=r(i);if(t>-1)return t}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const E=new r.md;function R(t,e,n){let i=e.resolveStack(n),r=e.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(r!=i.node){let t=[];for(let e=r;e&&!(e.from<i.node.from||e.to>i.node.to||e.from==i.node.from&&e.type==i.node.type);e=e.parent)t.push(e);for(let e=t.length-1;e>=0;e--)i={node:t[e],next:i}}return M(i,t,n)}function M(t,e,n){for(let i=t;i;i=i.next){let t=z(i.node);if(t)return t(Z.create(e,n,i))}return 0}function D(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function z(t){let e=t.type.prop(E);if(e)return e;let n,i=t.firstChild;if(i&&(n=i.type.prop(r.md.closedBy))){let e=t.lastChild,i=e&&n.indexOf(e.name)>-1;return t=>q(t,!0,1,void 0,i&&!D(t)?e.from:void 0)}return null==t.parent?j:null}function j(){return 0}class Z extends(974!=n.j?A:null){constructor(t,e,n){super(t.state,t.options),this.base=t,this.pos=e,this.context=n}get node(){return this.context.node}static create(t,e,n){return new Z(t,e,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let n=t.resolve(e.from);while(n.parent&&n.parent.from==n.from)n=n.parent;if(V(n,t))break;e=this.state.doc.lineAt(n.from)}return this.lineIndent(e.from)}continue(){return M(this.context.next,this.base,this.pos)}}function V(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function X(t){let e=t.node,n=e.childAfter(e.from),i=e.lastChild;if(!n)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let t=e.childAfter(a);if(!t||t==i)return null;if(!t.type.isSkipped){if(t.from>=o)return null;let e=/^ */.exec(s.text.slice(n.to-s.from))[0].length;return{from:n.from,to:n.to+e}}a=t.to}}function W({closing:t,align:e=!0,units:n=1}){return i=>q(i,e,n,t)}function q(t,e,n,i,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==t.pos+o,l=e?X(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*n)}const I=t=>t.baseIndent;function N({except:t,units:e=1}={}){return n=>{let i=t&&t.test(n.textAfter);return n.baseIndent+(i?0:e*n.unit)}}const L=200;function B(){return s.yy.transactionFilter.of((t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:i}=t.newSelection.main,r=n.lineAt(i);if(i>r.from+L)return t;let s=n.sliceString(r.from,i);if(!e.some((t=>t.test(s))))return t;let{state:o}=t,a=-1,l=[];for(let{head:c}of o.selection.ranges){let t=o.doc.lineAt(c);if(t.from==a)continue;a=t.from;let e=C(o,t.from);if(null==e)continue;let n=/^\s*/.exec(t.text)[0],i=P(o,e);n!=i&&l.push({from:t.from,to:t.from+n.length,insert:i})}return l.length?[t,{changes:l,sequential:!0}]:t}))}const U=s.r$.define(),Y=new r.md;function F(t){let e=t.firstChild,n=t.lastChild;return e&&e.to<n.from?{from:e.to,to:n.type.isError?t.to:n.from}:null}function G(t,e,n){let i=O(t);if(i.length<n)return null;let r=i.resolveStack(n,1),s=null;for(let o=r;o;o=o.next){let r=o.node;if(r.to<=n||r.from>n)continue;if(s&&r.from<e)break;let a=r.type.prop(Y);if(a&&(r.to<i.length-50||i.length==t.doc.length||!H(r))){let i=a(r,t);i&&i.from<=n&&i.from>=e&&i.to>n&&(s=i)}}return s}function H(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function K(t,e,n){for(let i of t.facet(U)){let r=i(t,e,n);if(r)return r}return G(t,e,n)}function J(t,e){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);return n>=i?void 0:{from:n,to:i}}const tt=s.Py.define({map:J}),et=s.Py.define({map:J});function nt(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some((t=>t.from<=n&&t.to>=n))||e.push(t.lineBlockAt(n));return e}const it=s.QQ.define({create(){return o.p.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)if(n.is(tt)&&!st(t,n.value.from,n.value.to)){let{preparePlaceholder:i}=e.state.facet(ft),r=i?o.p.replace({widget:new vt(i(e.state,n.value))}):gt;t=t.update({add:[r.range(n.value.from,n.value.to)]})}else n.is(et)&&(t=t.update({filter:(t,e)=>n.value.from!=t||n.value.to!=e,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:i}=e.selection.main;t.between(i,i,((t,e)=>{t<i&&e>i&&(n=!0)})),n&&(t=t.update({filterFrom:i,filterTo:i,filter:(t,e)=>e<=i||t>=i}))}return t},provide:t=>o.tk.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,((t,e)=>{n.push(t,e)})),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n<t.length;){let i=t[n++],r=t[n++];if("number"!=typeof i||"number"!=typeof r)throw new RangeError("Invalid JSON for fold state");e.push(gt.range(i,r))}return o.p.set(e,!0)}});function rt(t,e,n){var i;let r=null;return null===(i=t.field(it,!1))||void 0===i||i.between(e,n,((t,e)=>{(!r||r.from>t)&&(r={from:t,to:e})})),r}function st(t,e,n){let i=!1;return t.between(e,e,((t,r)=>{t==e&&r==n&&(i=!0)})),i}function ot(t,e){return t.field(it,!1)?e:e.concat(s.Py.appendConfig.of(Ot()))}const at=t=>{for(let e of nt(t)){let n=K(t.state,e.from,e.to);if(n)return t.dispatch({effects:ot(t.state,[tt.of(n),ct(t,n)])}),!0}return!1},lt=t=>{if(!t.state.field(it,!1))return!1;let e=[];for(let n of nt(t)){let i=rt(t.state,n.from,n.to);i&&e.push(et.of(i),ct(t,i,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function ct(t,e,n=!0){let i=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return o.tk.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${t.state.phrase("to")} ${r}.`)}const ut=t=>{let{state:e}=t,n=[];for(let i=0;i<e.doc.length;){let r=t.lineBlockAt(i),s=K(e,r.from,r.to);s&&n.push(tt.of(s)),i=(s?t.lineBlockAt(s.to):r).to+1}return n.length&&t.dispatch({effects:ot(t.state,n)}),!!n.length},ht=t=>{let e=t.state.field(it,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,((t,e)=>{n.push(et.of({from:t,to:e}))})),t.dispatch({effects:n}),!0};const pt=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:at},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:lt},{key:"Ctrl-Alt-[",run:ut},{key:"Ctrl-Alt-]",run:ht}],dt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},ft=s.r$.define({combine(t){return(0,s.BO)(t,dt)}});function Ot(t){let e=[it,xt];return t&&e.push(ft.of(t)),e}function mt(t,e){let{state:n}=t,i=n.facet(ft),r=e=>{let n=t.lineBlockAt(t.posAtDOM(e.target)),i=rt(t.state,n.from,n.to);i&&t.dispatch({effects:et.of(i)}),e.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(t,r,e);let s=document.createElement("span");return s.textContent=i.placeholderText,s.setAttribute("aria-label",n.phrase("folded code")),s.title=n.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=r,s}const gt=o.p.replace({widget:new class extends o.l9{toDOM(t){return mt(t,null)}}});class vt extends o.l9{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return mt(t,this.value)}}const yt={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class bt extends(974!=n.j?o.SJ:null){constructor(t,e){super(),this.config=t,this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");return e.textContent=this.open?this.config.openText:this.config.closedText,e.title=t.state.phrase(this.open?"Fold line":"Unfold line"),e}}function _t(t={}){let e={...yt,...t},n=new bt(e,!0),i=new bt(e,!1),r=o.lg.fromClass(class{constructor(t){this.from=t.viewport.from,this.markers=this.buildMarkers(t)}update(t){(t.docChanged||t.viewportChanged||t.startState.facet($)!=t.state.facet($)||t.startState.field(it,!1)!=t.state.field(it,!1)||O(t.startState)!=O(t.state)||e.foldingChanged(t))&&(this.markers=this.buildMarkers(t.view))}buildMarkers(t){let e=new s.f_;for(let r of t.viewportLineBlocks){let s=rt(t.state,r.from,r.to)?i:K(t.state,r.from,r.to)?n:null;s&&e.add(r.from,r.from,s)}return e.finish()}}),{domEventHandlers:a}=e;return[r,(0,o.v5)({class:"cm-foldGutter",markers(t){var e;return(null===(e=t.plugin(r))||void 0===e?void 0:e.markers)||s.Xs.empty},initialSpacer(){return new bt(e,!1)},domEventHandlers:{...a,click:(t,e,n)=>{if(a.click&&a.click(t,e,n))return!0;let i=rt(t.state,e.from,e.to);if(i)return t.dispatch({effects:et.of(i)}),!0;let r=K(t.state,e.from,e.to);return!!r&&(t.dispatch({effects:tt.of(r)}),!0)}}}),Ot()]}const xt=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class wt{constructor(t,e){let n;function i(t){let e=l.V.newName();return(n||(n=Object.create(null)))["."+e]=t,e}this.specs=t;const r="string"==typeof e.all?e.all:e.all?i(e.all):void 0,s=e.scope;this.scope=s instanceof p?t=>t.prop(c)==s.data:s?t=>t==s:void 0,this.style=(0,a.QR)(t.map((t=>({tag:t.tag,class:t.class||i(Object.assign({},t,{tag:null}))}))),{all:r}).style,this.module=n?new l.V(n):null,this.themeType=e.themeType}static define(t,e){return new wt(t,e||{})}}const $t=s.r$.define(),St=s.r$.define({combine(t){return t.length?[t[0]]:null}});function kt(t){let e=t.facet($t);return e.length?e:t.facet(St)}function Qt(t,e){let n,i=[Pt];return t instanceof wt&&(t.module&&i.push(o.tk.styleModule.of(t.module)),n=t.themeType),(null===e||void 0===e?void 0:e.fallback)?i.push(St.of(t)):n?i.push($t.computeN([o.tk.darkTheme],(e=>e.facet(o.tk.darkTheme)==("dark"==n)?[t]:[]))):i.push($t.of(t)),i}class Tt{constructor(t){this.markCache=Object.create(null),this.tree=O(t.state),this.decorations=this.buildDeco(t,kt(t.state)),this.decoratedTo=t.viewport.to}update(t){let e=O(t.state),n=kt(t.state),i=n!=kt(t.startState),{viewport:r}=t.view,s=t.changes.mapPos(this.decoratedTo,1);e.length<r.to&&!i&&e.type==this.tree.type&&s>=r.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=s):(e!=this.tree||t.viewportChanged||i)&&(this.tree=e,this.decorations=this.buildDeco(t.view,n),this.decoratedTo=r.to)}buildDeco(t,e){if(!e||!this.tree.length)return o.p.none;let n=new s.f_;for(let{from:i,to:r}of t.visibleRanges)(0,a.bW)(this.tree,e,((t,e,i)=>{n.add(t,e,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))}),i,r);return n.finish()}}const Pt=s.Wl.high(o.lg.fromClass(Tt,{decorations:t=>t.decorations})),Ct=wt.define([{tag:a.pJ.meta,color:"#404740"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),At=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Et=1e4,Rt="()[]{}",Mt=s.r$.define({combine(t){return(0,s.BO)(t,{afterCursor:!0,brackets:Rt,maxScanDistance:Et,renderMatch:jt})}}),Dt=o.p.mark({class:"cm-matchingBracket"}),zt=o.p.mark({class:"cm-nonmatchingBracket"});function jt(t){let e=[],n=t.matched?Dt:zt;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const Zt=s.QQ.define({create(){return o.p.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],i=e.state.facet(Mt);for(let r of e.state.selection.ranges){if(!r.empty)continue;let t=Nt(e.state,r.head,-1,i)||r.head>0&&Nt(e.state,r.head-1,1,i)||i.afterCursor&&(Nt(e.state,r.head,1,i)||r.head<e.state.doc.length&&Nt(e.state,r.head+1,-1,i));t&&(n=n.concat(i.renderMatch(t,e.state)))}return o.p.set(n,!0)},provide:t=>o.tk.decorations.from(t)}),Vt=[Zt,At];function Xt(t={}){return[Mt.of(t),Vt]}const Wt=new r.md;function qt(t,e,n){let i=t.prop(e<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==t.name.length){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}function It(t){let e=t.type.prop(Wt);return e?e(t.node):t}function Nt(t,e,n,i={}){let r=i.maxScanDistance||Et,s=i.brackets||Rt,o=O(t),a=o.resolveInner(e,n);for(let l=a;l;l=l.parent){let i=qt(l.type,n,s);if(i&&l.from<l.to){let r=It(l);if(r&&(n>0?e>=r.from&&e<r.to:e>r.from&&e<=r.to))return Lt(t,e,n,l,r,i,s)}}return Bt(t,e,n,o,a.type,r,s)}function Lt(t,e,n,i,r,s,o){let a=i.parent,l={from:r.from,to:r.to},c=0,u=null===a||void 0===a?void 0:a.cursor();if(u&&(n<0?u.childBefore(i.from):u.childAfter(i.to)))do{if(n<0?u.to<=i.from:u.from>=i.to){if(0==c&&s.indexOf(u.type.name)>-1&&u.from<u.to){let t=It(u);return{start:l,end:t?{from:t.from,to:t.to}:void 0,matched:!0}}if(qt(u.type,n,o))c++;else if(qt(u.type,-n,o)){if(0==c){let t=It(u);return{start:l,end:t&&t.from<t.to?{from:t.from,to:t.to}:void 0,matched:!1}}c--}}}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function Bt(t,e,n,i,r,s,o){let a=n<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=o.indexOf(a);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},u=t.doc.iterRange(e,n>0?t.doc.length:0),h=0;for(let p=0;!u.next().done&&p<=s;){let t=u.value;n<0&&(p+=t.length);let s=e+p*n;for(let e=n>0?0:t.length-1,a=n>0?t.length:-1;e!=a;e+=n){let a=o.indexOf(t[e]);if(!(a<0||i.resolveInner(s+e,1).type!=r))if(a%2==0==n>0)h++;else{if(1==h)return{start:c,end:{from:s+e,to:s+e+1},matched:a>>1==l>>1};h--}}n>0&&(p+=t.length)}return u.done?{start:c,matched:!1}:null}const Ut=Object.create(null),Yt=[r.Jq.none],Ft=[],Gt=Object.create(null),Ht=Object.create(null);for(let[te,ee]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Ht[te]=Jt(Ut,ee);function Kt(t,e){Ft.indexOf(t)>-1||(Ft.push(t),console.warn(e))}function Jt(t,e){let n=[];for(let r of e.split(" ")){let e=[];for(let n of r.split(".")){let i=t[n]||a.pJ[n];i?"function"==typeof i?e.length?e=e.map(i):Kt(n,`Modifier ${n} used at start of tag`):e.length?Kt(n,`Tag ${n} used as modifier`):e=Array.isArray(i)?i:[i]:Kt(n,`Unknown highlighting tag ${n}`)}for(let t of e)n.push(t)}if(!n.length)return 0;let i=e.replace(/ /g,"_"),s=i+" "+n.map((t=>t.id)),o=Gt[s];if(o)return o.id;let l=Gt[s]=r.Jq.define({id:Yt.length,name:i,props:[(0,a.Gv)({[i]:n})]});return Yt.push(l),l.id}o.Nm.RTL,o.Nm.LTR},28519:(t,e,n)=>{"use strict";n.d(e,{Fv:()=>x,Q2:()=>Y,ir:()=>k});var i=n(47421),r=n(37205),s=n(18580);class o{constructor(t,e,n){this.from=t,this.to=e,this.diagnostic=n}}class a{constructor(t,e,n){this.diagnostics=t,this.panel=e,this.selected=n}static init(t,e,n){let s=n.facet(S).markerFilter;s&&(t=s(t,n));let o=t.slice().sort(((t,e)=>t.from-e.from||t.to-e.to)),c=new r.f_,u=[],h=0;for(let r=0;;){let t,e,s=r==o.length?null:o[r];if(!s&&!u.length)break;u.length?(t=h,e=u.reduce(((t,e)=>Math.min(t,e.to)),s&&s.from>t?s.from:1e8)):(t=s.from,e=s.to,u.push(s),r++);while(r<o.length){let n=o[r];if(n.from!=t||!(n.to>n.from||n.to==t)){e=Math.min(n.from,e);break}u.push(n),r++,e=Math.min(n.to,e)}let a=z(u);if(u.some((t=>t.from==t.to||t.from==t.to-1&&n.doc.lineAt(t.from).to==t.from)))c.add(t,t,i.p.widget({widget:new P(a),diagnostics:u.slice()}));else{let n=u.reduce(((t,e)=>e.markClass?t+" "+e.markClass:t),"");c.add(t,e,i.p.mark({class:"cm-lintRange cm-lintRange-"+a+n,diagnostics:u.slice(),inclusiveEnd:u.some((t=>t.to>e))}))}h=e;for(let n=0;n<u.length;n++)u[n].to<=h&&u.splice(n--,1)}let p=c.finish();return new a(p,e,l(p))}}function l(t,e=null,n=0){let i=null;return t.between(n,1e9,((t,n,{spec:r})=>{if(!(e&&r.diagnostics.indexOf(e)<0))if(i){if(r.diagnostics.indexOf(i.diagnostic)<0)return!1;i=new o(i.from,n,i.diagnostic)}else i=new o(t,n,e||r.diagnostics[0])})),i}function c(t,e){let n=e.pos,i=e.end||n,r=t.state.facet(S).hideOn(t,n,i);if(null!=r)return r;let s=t.startState.doc.lineAt(e.pos);return!(!t.effects.some((t=>t.is(p)))&&!t.changes.touchesRange(s.from,Math.max(s.to,i)))}function u(t,e){return t.field(O,!1)?e:e.concat(r.Py.appendConfig.of(B))}function h(t,e){return{effects:u(t,[p.of(e)])}}const p=r.Py.define(),d=r.Py.define(),f=r.Py.define(),O=r.QQ.define({create(){return new a(i.p.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let n=t.diagnostics.map(e.changes),i=null,r=t.panel;if(t.selected){let r=e.changes.mapPos(t.selected.from,1);i=l(n,t.selected.diagnostic,r)||l(n,null,r)}!n.size&&r&&e.state.facet(S).autoPanel&&(r=null),t=new a(n,r,i)}for(let n of e.effects)if(n.is(p)){let i=e.state.facet(S).autoPanel?n.value.length?A.open:null:t.panel;t=a.init(n.value,i,e.state)}else n.is(d)?t=new a(t.diagnostics,n.value?A.open:null,t.selected):n.is(f)&&(t=new a(t.diagnostics,t.panel,n.value));return t},provide:t=>[i.mH.from(t,(t=>t.panel)),i.tk.decorations.from(t,(t=>t.diagnostics))]});const m=i.p.mark({class:"cm-lintRange cm-lintRange-active"});function g(t,e,n){let i,{diagnostics:r}=t.state.field(O),s=-1,o=-1;r.between(e-(n<0?1:0),e+(n>0?1:0),((t,r,{spec:a})=>{if(e>=t&&e<=r&&(t==r||(e>t||n>0)&&(e<r||n<0)))return i=a.diagnostics,s=t,o=r,!1}));let a=t.state.facet(S).tooltipFilter;return i&&a&&(i=a(i,t.state)),i?{pos:s,end:o,above:t.state.doc.lineAt(s).to<o,create(){return{dom:v(t,i)}}}:null}function v(t,e){return(0,s.Z)("ul",{class:"cm-tooltip-lint"},e.map((e=>T(t,e,!1))))}const y=t=>{let e=t.state.field(O,!1);e&&e.panel||t.dispatch({effects:u(t.state,[d.of(!0)])});let n=(0,i.Sd)(t,A.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},b=t=>{let e=t.state.field(O,!1);return!(!e||!e.panel)&&(t.dispatch({effects:d.of(!1)}),!0)},_=t=>{let e=t.state.field(O,!1);if(!e)return!1;let n=t.state.selection.main,i=e.diagnostics.iter(n.to+1);return!(!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==n.from&&i.to==n.to))&&(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},x=[{key:"Mod-Shift-m",run:y,preventDefault:!0},{key:"F8",run:_}],w=974!=n.j?i.lg.fromClass(class{constructor(t){this.view=t,this.timeout=-1,this.set=!0;let{delay:e}=t.state.facet(S);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){clearTimeout(this.timeout);let t=Date.now();if(t<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-t);else{this.set=!1;let{state:t}=this.view,{sources:e}=t.facet(S);e.length&&$(e.map((t=>Promise.resolve(t(this.view)))),(e=>{this.view.state.doc==t.doc&&this.view.dispatch(h(this.view.state,e.reduce(((t,e)=>t.concat(e)))))}),(t=>{(0,i.OO)(this.view.state,t)}))}}update(t){let e=t.state.facet(S);(t.docChanged||e!=t.startState.facet(S)||e.needsRefresh&&e.needsRefresh(t))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}):null;function $(t,e,n){let i=[],r=-1;for(let s of t)s.then((n=>{i.push(n),clearTimeout(r),i.length==t.length?e(i):r=setTimeout((()=>e(i)),200)}),n)}const S=r.r$.define({combine(t){return Object.assign({sources:t.map((t=>t.source)).filter((t=>null!=t))},(0,r.BO)(t.map((t=>t.config)),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(t,e)=>t?e?n=>t(n)||e(n):t:e}))}});function k(t,e={}){return[S.of({source:t,config:e}),w,B]}function Q(t){let e=[];if(t)t:for(let{name:n}of t){for(let t=0;t<n.length;t++){let i=n[t];if(/[a-zA-Z]/.test(i)&&!e.some((t=>t.toLowerCase()==i.toLowerCase()))){e.push(i);continue t}}e.push("")}return e}function T(t,e,n){var i;let r=n?Q(e.actions):[];return(0,s.Z)("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},(0,s.Z)("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),null===(i=e.actions)||void 0===i?void 0:i.map(((n,i)=>{let o=!1,a=i=>{if(i.preventDefault(),o)return;o=!0;let r=l(t.state.field(O).diagnostics,e);r&&n.apply(t,r.from,r.to)},{name:c}=n,u=r[i]?c.indexOf(r[i]):-1,h=u<0?c:[c.slice(0,u),(0,s.Z)("u",c.slice(u,u+1)),c.slice(u+1)];return(0,s.Z)("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${c}${u<0?"":` (access key "${r[i]})"`}.`},h)})),e.source&&(0,s.Z)("div",{class:"cm-diagnosticSource"},e.source))}class P extends i.l9{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return(0,s.Z)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class C{constructor(t,e){this.diagnostic=e,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=T(t,e,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class A{constructor(t){this.view=t,this.items=[];let e=e=>{if(27==e.keyCode)b(this.view),this.view.focus();else if(38==e.keyCode||33==e.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==e.keyCode||34==e.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==e.keyCode)this.moveSelection(0);else if(35==e.keyCode)this.moveSelection(this.items.length-1);else if(13==e.keyCode)this.view.focus();else{if(!(e.keyCode>=65&&e.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:n}=this.items[this.selectedIndex],i=Q(n.actions);for(let r=0;r<i.length;r++)if(i[r].toUpperCase().charCodeAt(0)==e.keyCode){let e=l(this.view.state.field(O).diagnostics,n);e&&n.actions[r].apply(t,e.from,e.to)}}}e.preventDefault()},n=t=>{for(let e=0;e<this.items.length;e++)this.items[e].dom.contains(t.target)&&this.moveSelection(e)};this.list=(0,s.Z)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:e,onclick:n}),this.dom=(0,s.Z)("div",{class:"cm-panel-lint"},this.list,(0,s.Z)("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>b(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(O).selected;if(!t)return-1;for(let e=0;e<this.items.length;e++)if(this.items[e].diagnostic==t.diagnostic)return e;return-1}update(){let{diagnostics:t,selected:e}=this.view.state.field(O),n=0,i=!1,r=null,s=new Set;t.between(0,this.view.state.doc.length,((t,o,{spec:a})=>{for(let l of a.diagnostics){if(s.has(l))continue;s.add(l);let t,o=-1;for(let e=n;e<this.items.length;e++)if(this.items[e].diagnostic==l){o=e;break}o<0?(t=new C(this.view,l),this.items.splice(n,0,t),i=!0):(t=this.items[o],o>n&&(this.items.splice(n,o-n),i=!0)),e&&t.diagnostic==e.diagnostic?t.dom.hasAttribute("aria-selected")||(t.dom.setAttribute("aria-selected","true"),r=t):t.dom.hasAttribute("aria-selected")&&t.dom.removeAttribute("aria-selected"),n++}}));while(n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0))i=!0,this.items.pop();0==this.items.length&&(this.items.push(new C(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:()=>({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:t,panel:e})=>{let n=e.height/this.list.offsetHeight;t.top<e.top?this.list.scrollTop-=(e.top-t.top)/n:t.bottom>e.bottom&&(this.list.scrollTop+=(t.bottom-e.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let t=this.list.firstChild;function e(){let e=t;t=e.nextSibling,e.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){while(t!=n.dom)e();t=n.dom.nextSibling}else this.list.insertBefore(n.dom,t);while(t)e()}moveSelection(t){if(this.selectedIndex<0)return;let e=this.view.state.field(O),n=l(e.diagnostics,this.items[t].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:f.of(n)})}static open(t){return new A(t)}}function E(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(t)}</svg>')`}function R(t){return E(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${t}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const M=i.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:R("#d11")},".cm-lintRange-warning":{backgroundImage:R("orange")},".cm-lintRange-info":{backgroundImage:R("#999")},".cm-lintRange-hint":{backgroundImage:R("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function D(t){return"error"==t?4:"warning"==t?3:"info"==t?2:1}function z(t){let e="hint",n=1;for(let i of t){let t=D(i.severity);t>n&&(n=t,e=i.severity)}return e}class j extends i.SJ{constructor(t){super(),this.diagnostics=t,this.severity=z(t)}toDOM(t){let e=document.createElement("div");e.className="cm-lint-marker cm-lint-marker-"+this.severity;let n=this.diagnostics,i=t.state.facet(U).tooltipFilter;return i&&(n=i(n,t.state)),n.length&&(e.onmouseover=()=>V(t,e,n)),e}}function Z(t,e){let n=i=>{let r=e.getBoundingClientRect();if(!(i.clientX>r.left-10&&i.clientX<r.right+10&&i.clientY>r.top-10&&i.clientY<r.bottom+10)){for(let t=i.target;t;t=t.parentNode)if(1==t.nodeType&&t.classList.contains("cm-tooltip-lint"))return;window.removeEventListener("mousemove",n),t.state.field(N)&&t.dispatch({effects:I.of(null)})}};window.addEventListener("mousemove",n)}function V(t,e,n){function i(){let i=t.elementAtHeight(e.getBoundingClientRect().top+5-t.documentTop);const r=t.coordsAtPos(i.from);r&&t.dispatch({effects:I.of({pos:i.from,above:!1,clip:!1,create(){return{dom:v(t,n),getCoords:()=>e.getBoundingClientRect()}}})}),e.onmouseout=e.onmousemove=null,Z(t,e)}let{hoverTime:r}=t.state.facet(U),s=setTimeout(i,r);e.onmouseout=()=>{clearTimeout(s),e.onmouseout=e.onmousemove=null},e.onmousemove=()=>{clearTimeout(s),s=setTimeout(i,r)}}function X(t,e){let n=Object.create(null);for(let r of e){let e=t.lineAt(r.from);(n[e.from]||(n[e.from]=[])).push(r)}let i=[];for(let r in n)i.push(new j(n[r]).range(+r));return r.Xs.of(i,!0)}const W=(0,i.v5)({class:"cm-gutter-lint",markers:t=>t.state.field(q),widgetMarker:(t,e,n)=>{let i=[];return t.state.field(q).between(n.from,n.to,((t,e,r)=>{t>n.from&&t<n.to&&i.push(...r.diagnostics)})),i.length?new j(i):null}}),q=r.QQ.define({create(){return r.Xs.empty},update(t,e){t=t.map(e.changes);let n=e.state.facet(U).markerFilter;for(let i of e.effects)if(i.is(p)){let r=i.value;n&&(r=n(r||[],e.state)),t=X(e.state.doc,r.slice(0))}return t}}),I=r.Py.define(),N=r.QQ.define({create(){return null},update(t,e){return t&&e.docChanged&&(t=c(e,t)?null:Object.assign(Object.assign({},t),{pos:e.changes.mapPos(t.pos)})),e.effects.reduce(((t,e)=>e.is(I)?e.value:t),t)},provide:t=>i.hJ.from(t)}),L=i.tk.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:E('<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>')},".cm-lint-marker-warning":{content:E('<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>')},".cm-lint-marker-error":{content:E('<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>')}}),B=[O,i.tk.decorations.compute([O],(t=>{let{selected:e,panel:n}=t.field(O);return e&&n&&e.from!=e.to?i.p.set([m.range(e.from,e.to)]):i.p.none})),(0,i.bF)(g,{hideOn:c}),M],U=r.r$.define({combine(t){return(0,r.BO)(t,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});function Y(t={}){return[U.of(t),q,W,L,N]}},49892:(t,e,n)=>{"use strict";n.d(e,{Lp:()=>ut,sW:()=>w});var i=n(47421),r=n(37205),s=n(18580);const o="function"==typeof String.prototype.normalize?t=>t.normalize("NFKD"):t=>t;class a{constructor(t,e,n=0,i=t.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(n,i),this.bufferStart=n,this.normalize=r?t=>r(o(t)):o,this.query=this.normalize(e)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return(0,r.gm)(this.buffer,this.bufferPos)}next(){while(this.matches.length)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let e=(0,r.bg)(t),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,r.nZ)(t);let i=this.normalize(e);if(i.length)for(let r=0,s=n;;r++){let t=i.charCodeAt(r),o=this.match(t,s,this.bufferPos+this.bufferStart);if(r==i.length-1){if(o)return this.value=o,this;break}s==n&&r<e.length&&e.charCodeAt(r)==t&&s++}}}match(t,e,n){let i=null;for(let r=0;r<this.matches.length;r+=2){let e=this.matches[r],s=!1;this.query.charCodeAt(e)==t&&(e==this.query.length-1?i={from:this.matches[r+1],to:n}:(this.matches[r]++,s=!0)),s||(this.matches.splice(r,2),r-=2)}return this.query.charCodeAt(0)==t&&(1==this.query.length?i={from:e,to:n}:this.matches.push(1,e)),i&&this.test&&!this.test(i.from,i.to,this.buffer,this.bufferStart)&&(i=null),i}}"undefined"!=typeof Symbol&&(a.prototype[Symbol.iterator]=function(){return this});const l={from:-1,to:-1,match:/.*/.exec("")},c="gm"+(null==/x/.unicode?"":"u");class u{constructor(t,e,n,i=0,r=t.length){if(this.text=t,this.to=r,this.curLine="",this.done=!1,this.value=l,/\\[sWDnr]|\n|\r|\[\^/.test(e))return new d(t,e,n,i,r);this.re=new RegExp(e,c+((null===n||void 0===n?void 0:n.ignoreCase)?"i":"")),this.test=null===n||void 0===n?void 0:n.test,this.iter=t.iter();let s=t.lineAt(i);this.curLineStart=s.from,this.matchPos=O(t,i),this.getLine(this.curLineStart)}getLine(t){this.iter.next(t),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let e=this.matchPos<=this.to&&this.re.exec(this.curLine);if(e){let n=this.curLineStart+e.index,i=n+e[0].length;if(this.matchPos=O(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<i||n>this.value.to)&&(!this.test||this.test(n,i,e)))return this.value={from:n,to:i,match:e},this;t=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),t=0}}}}const h=new WeakMap;class p{constructor(t,e){this.from=t,this.text=e}get to(){return this.from+this.text.length}static get(t,e,n){let i=h.get(t);if(!i||i.from>=n||i.to<=e){let i=new p(e,t.sliceString(e,n));return h.set(t,i),i}if(i.from==e&&i.to==n)return i;let{text:r,from:s}=i;return s>e&&(r=t.sliceString(e,s)+r,s=e),i.to<n&&(r+=t.sliceString(i.to,n)),h.set(t,new p(s,r)),new p(e,r.slice(e-s,n-s))}}class d{constructor(t,e,n,i,r){this.text=t,this.to=r,this.done=!1,this.value=l,this.matchPos=O(t,i),this.re=new RegExp(e,c+((null===n||void 0===n?void 0:n.ignoreCase)?"i":"")),this.test=null===n||void 0===n?void 0:n.test,this.flat=p.get(t,i,this.chunkEnd(i+5e3))}chunkEnd(t){return t>=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,e=this.re.exec(this.flat.text);if(e&&!e[0]&&e.index==t&&(this.re.lastIndex=t+1,e=this.re.exec(this.flat.text)),e){let t=this.flat.from+e.index,n=t+e[0].length;if((this.flat.to>=this.to||e.index+e[0].length<=this.flat.text.length-10)&&(!this.test||this.test(t,n,e)))return this.value={from:t,to:n,match:e},this.matchPos=O(this.text,n+(t==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=p.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function f(t){try{return new RegExp(t,c),!0}catch(e){return!1}}function O(t,e){if(e>=t.length)return e;let n,i=t.lineAt(e);while(e<i.to&&(n=i.text.charCodeAt(e-i.from))>=56320&&n<57344)e++;return e}function m(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),n=(0,s.Z)("input",{class:"cm-textfield",name:"line",value:e}),o=(0,s.Z)("form",{class:"cm-gotoLine",onkeydown:e=>{27==e.keyCode?(e.preventDefault(),t.dispatch({effects:g.of(!1)}),t.focus()):13==e.keyCode&&(e.preventDefault(),a())},onsubmit:t=>{t.preventDefault(),a()}},(0,s.Z)("label",t.state.phrase("Go to line"),": ",n)," ",(0,s.Z)("button",{class:"cm-button",type:"submit"},t.state.phrase("go")),(0,s.Z)("button",{name:"close",onclick:()=>{t.dispatch({effects:g.of(!1)}),t.focus()},"aria-label":t.state.phrase("close"),type:"button"},["×"]));function a(){let e=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!e)return;let{state:s}=t,o=s.doc.lineAt(s.selection.main.head),[,a,l,c,u]=e,h=c?+c.slice(1):0,p=l?+l:o.number;if(l&&u){let t=p/100;a&&(t=t*("-"==a?-1:1)+o.number/s.doc.lines),p=Math.round(s.doc.lines*t)}else l&&a&&(p=p*("-"==a?-1:1)+o.number);let d=s.doc.line(Math.max(1,Math.min(s.doc.lines,p))),f=r.jT.cursor(d.from+Math.max(0,Math.min(h,d.length)));t.dispatch({effects:[g.of(!1),i.tk.scrollIntoView(f.from,{y:"center"})],selection:f}),t.focus()}return{dom:o}}"undefined"!=typeof Symbol&&(u.prototype[Symbol.iterator]=d.prototype[Symbol.iterator]=function(){return this});const g=r.Py.define(),v=r.QQ.define({create(){return!0},update(t,e){for(let n of e.effects)n.is(g)&&(t=n.value);return t},provide:t=>i.mH.from(t,(t=>t?m:null))}),y=t=>{let e=(0,i.Sd)(t,m);if(!e){let n=[g.of(!0)];null==t.state.field(v,!1)&&n.push(r.Py.appendConfig.of([v,b])),t.dispatch({effects:n}),e=(0,i.Sd)(t,m)}return e&&e.dom.querySelector("input").select(),!0},b=i.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px",position:"relative","& label":{fontSize:"80%"},"& [name=close]":{position:"absolute",top:"0",bottom:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:"0"}}}),_={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},x=r.r$.define({combine(t){return(0,r.BO)(t,_,{highlightWordAroundCursor:(t,e)=>t||e,minSelectionLength:Math.min,maxMatches:Math.min})}});function w(t){let e=[P,T];return t&&e.push(x.of(t)),e}const $=i.p.mark({class:"cm-selectionMatch"}),S=i.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function k(t,e,n,i){return(0==n||t(e.sliceDoc(n-1,n))!=r.D0.Word)&&(i==e.doc.length||t(e.sliceDoc(i,i+1))!=r.D0.Word)}function Q(t,e,n,i){return t(e.sliceDoc(n,n+1))==r.D0.Word&&t(e.sliceDoc(i-1,i))==r.D0.Word}const T=i.lg.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(x),{state:n}=t,r=n.selection;if(r.ranges.length>1)return i.p.none;let s,o=r.main,l=null;if(o.empty){if(!e.highlightWordAroundCursor)return i.p.none;let t=n.wordAt(o.head);if(!t)return i.p.none;l=n.charCategorizer(o.head),s=n.sliceDoc(t.from,t.to)}else{let t=o.to-o.from;if(t<e.minSelectionLength||t>200)return i.p.none;if(e.wholeWords){if(s=n.sliceDoc(o.from,o.to),l=n.charCategorizer(o.head),!k(l,n,o.from,o.to)||!Q(l,n,o.from,o.to))return i.p.none}else if(s=n.sliceDoc(o.from,o.to),!s)return i.p.none}let c=[];for(let u of t.visibleRanges){let t=new a(n.doc,s,u.from,u.to);while(!t.next().done){let{from:r,to:s}=t.value;if((!l||k(l,n,r,s))&&(o.empty&&r<=o.from&&s>=o.to?c.push(S.range(r,s)):(r>=o.to||s<=o.from)&&c.push($.range(r,s)),c.length>e.maxMatches))return i.p.none}}return i.p.set(c)}},{decorations:t=>t.decorations}),P=i.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),C=({state:t,dispatch:e})=>{let{selection:n}=t,i=r.jT.create(n.ranges.map((e=>t.wordAt(e.head)||r.jT.cursor(e.head))),n.mainIndex);return!i.eq(n)&&(e(t.update({selection:i})),!0)};function A(t,e){let{main:n,ranges:i}=t.selection,r=t.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,l=new a(t.doc,e,i[i.length-1].to);;){if(l.next(),!l.done){if(o&&i.some((t=>t.from==l.value.from)))continue;if(s){let e=t.wordAt(l.value.from);if(!e||e.from!=l.value.from||e.to!=l.value.to)continue}return l.value}if(o)return null;l=new a(t.doc,e,0,Math.max(0,i[i.length-1].from-1)),o=!0}}const E=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some((t=>t.from===t.to)))return C({state:t,dispatch:e});let s=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some((e=>t.sliceDoc(e.from,e.to)!=s)))return!1;let o=A(t,s);return!!o&&(e(t.update({selection:t.selection.addRange(r.jT.range(o.from,o.to),!1),effects:i.tk.scrollIntoView(o.to)})),!0)},R=r.r$.define({combine(t){return(0,r.BO)(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new ht(t),scrollToMatch:t=>i.tk.scrollIntoView(t)})}});class M{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||f(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,((t,e)=>"n"==e?"\n":"r"==e?"\r":"t"==e?"\t":"\\"))}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new I(this):new Z(this)}getCursor(t,e=0,n){let i=t.doc?t:r.yy.create({doc:t});return null==n&&(n=i.doc.length),this.regexp?V(this,i,e,n):z(this,i,e,n)}}class D{constructor(t){this.spec=t}}function z(t,e,n,i){return new a(e.doc,t.unquoted,n,i,t.caseSensitive?void 0:t=>t.toLowerCase(),t.wholeWord?j(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function j(t,e){return(n,i,s,o)=>((o>n||o+s.length<i)&&(o=Math.max(0,n-2),s=t.sliceString(o,Math.min(t.length,i+2))),(e(X(s,n-o))!=r.D0.Word||e(W(s,n-o))!=r.D0.Word)&&(e(W(s,i-o))!=r.D0.Word||e(X(s,i-o))!=r.D0.Word))}class Z extends D{constructor(t){super(t)}nextMatch(t,e,n){let i=z(this.spec,t,n,t.doc.length).nextOverlapping();if(i.done){let n=Math.min(t.doc.length,e+this.spec.unquoted.length);i=z(this.spec,t,0,n).nextOverlapping()}return i.done||i.value.from==e&&i.value.to==n?null:i.value}prevMatchInRange(t,e,n){for(let i=n;;){let n=Math.max(e,i-1e4-this.spec.unquoted.length),r=z(this.spec,t,n,i),s=null;while(!r.nextOverlapping().done)s=r.value;if(s)return s;if(n==e)return null;i-=1e4}}prevMatch(t,e,n){let i=this.prevMatchInRange(t,0,e);return i||(i=this.prevMatchInRange(t,Math.max(0,n-this.spec.unquoted.length),t.doc.length)),!i||i.from==e&&i.to==n?null:i}getReplacement(t){return this.spec.unquote(this.spec.replace)}matchAll(t,e){let n=z(this.spec,t,0,t.doc.length),i=[];while(!n.next().done){if(i.length>=e)return null;i.push(n.value)}return i}highlight(t,e,n,i){let r=z(this.spec,t,Math.max(0,e-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,t.doc.length));while(!r.next().done)i(r.value.from,r.value.to)}}function V(t,e,n,i){return new u(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?q(e.charCategorizer(e.selection.main.head)):void 0},n,i)}function X(t,e){return t.slice((0,r.cp)(t,e,!1),e)}function W(t,e){return t.slice(e,(0,r.cp)(t,e))}function q(t){return(e,n,i)=>!i[0].length||(t(X(i.input,i.index))!=r.D0.Word||t(W(i.input,i.index))!=r.D0.Word)&&(t(W(i.input,i.index+i[0].length))!=r.D0.Word||t(X(i.input,i.index+i[0].length))!=r.D0.Word)}class I extends D{nextMatch(t,e,n){let i=V(this.spec,t,n,t.doc.length).next();return i.done&&(i=V(this.spec,t,0,e).next()),i.done?null:i.value}prevMatchInRange(t,e,n){for(let i=1;;i++){let r=Math.max(e,n-1e4*i),s=V(this.spec,t,r,n),o=null;while(!s.next().done)o=s.value;if(o&&(r==e||o.from>r+10))return o;if(r==e)return null}}prevMatch(t,e,n){return this.prevMatchInRange(t,0,e)||this.prevMatchInRange(t,n,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,((e,n)=>{if("&"==n)return t.match[0];if("$"==n)return"$";for(let i=n.length;i>0;i--){let e=+n.slice(0,i);if(e>0&&e<t.match.length)return t.match[e]+n.slice(i)}return e}))}matchAll(t,e){let n=V(this.spec,t,0,t.doc.length),i=[];while(!n.next().done){if(i.length>=e)return null;i.push(n.value)}return i}highlight(t,e,n,i){let r=V(this.spec,t,Math.max(0,e-250),Math.min(n+250,t.doc.length));while(!r.next().done)i(r.value.from,r.value.to)}}const N=r.Py.define(),L=r.Py.define(),B=r.QQ.define({create(t){return new U(st(t).create(),null)},update(t,e){for(let n of e.effects)n.is(N)?t=new U(n.value.create(),t.panel):n.is(L)&&(t=new U(t.query,n.value?rt:null));return t},provide:t=>i.mH.from(t,(t=>t.panel))});class U{constructor(t,e){this.query=t,this.panel=e}}const Y=i.p.mark({class:"cm-searchMatch"}),F=i.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),G=i.lg.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(B))}update(t){let e=t.state.field(B);(e!=t.startState.field(B)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return i.p.none;let{view:n}=this,s=new r.f_;for(let i=0,r=n.visibleRanges,o=r.length;i<o;i++){let{from:e,to:a}=r[i];while(i<o-1&&a>r[i+1].from-500)a=r[++i].to;t.highlight(n.state,e,a,((t,e)=>{let i=n.state.selection.ranges.some((n=>n.from==t&&n.to==e));s.add(t,e,i?F:Y)}))}return s.finish()}},{decorations:t=>t.decorations});function H(t){return e=>{let n=e.state.field(B,!1);return n&&n.query.spec.valid?t(e,n):lt(e)}}const K=H(((t,{query:e})=>{let{to:n}=t.state.selection.main,i=e.nextMatch(t.state,n,n);if(!i)return!1;let s=r.jT.single(i.from,i.to),o=t.state.facet(R);return t.dispatch({selection:s,effects:[Ot(t,i),o.scrollToMatch(s.main,t)],userEvent:"select.search"}),at(t),!0})),J=H(((t,{query:e})=>{let{state:n}=t,{from:i}=n.selection.main,s=e.prevMatch(n,i,i);if(!s)return!1;let o=r.jT.single(s.from,s.to),a=t.state.facet(R);return t.dispatch({selection:o,effects:[Ot(t,s),a.scrollToMatch(o.main,t)],userEvent:"select.search"}),at(t),!0})),tt=H(((t,{query:e})=>{let n=e.matchAll(t.state,1e3);return!(!n||!n.length)&&(t.dispatch({selection:r.jT.create(n.map((t=>r.jT.range(t.from,t.to)))),userEvent:"select.search.matches"}),!0)})),et=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:s}=n.main,o=[],l=0;for(let c=new a(t.doc,t.sliceDoc(i,s));!c.next().done;){if(o.length>1e3)return!1;c.value.from==i&&(l=o.length),o.push(r.jT.range(c.value.from,c.value.to))}return e(t.update({selection:r.jT.create(o,l),userEvent:"select.search.matches"})),!0},nt=H(((t,{query:e})=>{let{state:n}=t,{from:s,to:o}=n.selection.main;if(n.readOnly)return!1;let a=e.nextMatch(n,s,s);if(!a)return!1;let l,c,u=a,h=[],p=[];u.from==s&&u.to==o&&(c=n.toText(e.getReplacement(u)),h.push({from:u.from,to:u.to,insert:c}),u=e.nextMatch(n,u.from,u.to),p.push(i.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(s).number)+".")));let d=t.state.changes(h);return u&&(l=r.jT.single(u.from,u.to).map(d),p.push(Ot(t,u)),p.push(n.facet(R).scrollToMatch(l.main,t))),t.dispatch({changes:d,selection:l,effects:p,userEvent:"input.replace"}),!0})),it=H(((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state,1e9).map((t=>{let{from:n,to:i}=t;return{from:n,to:i,insert:e.getReplacement(t)}}));if(!n.length)return!1;let r=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:i.tk.announce.of(r),userEvent:"input.replace.all"}),!0}));function rt(t){return t.state.facet(R).createPanel(t)}function st(t,e){var n,i,r,s,o;let a=t.selection.main,l=a.empty||a.to>a.from+100?"":t.sliceDoc(a.from,a.to);if(e&&!l)return e;let c=t.facet(R);return new M({search:(null!==(n=null===e||void 0===e?void 0:e.literal)&&void 0!==n?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null===e||void 0===e?void 0:e.caseSensitive)&&void 0!==i?i:c.caseSensitive,literal:null!==(r=null===e||void 0===e?void 0:e.literal)&&void 0!==r?r:c.literal,regexp:null!==(s=null===e||void 0===e?void 0:e.regexp)&&void 0!==s?s:c.regexp,wholeWord:null!==(o=null===e||void 0===e?void 0:e.wholeWord)&&void 0!==o?o:c.wholeWord})}function ot(t){let e=(0,i.Sd)(t,rt);return e&&e.dom.querySelector("[main-field]")}function at(t){let e=ot(t);e&&e==t.root.activeElement&&e.select()}const lt=t=>{let e=t.state.field(B,!1);if(e&&e.panel){let n=ot(t);if(n&&n!=t.root.activeElement){let i=st(t.state,e.query.spec);i.valid&&t.dispatch({effects:N.of(i)}),n.focus(),n.select()}}else t.dispatch({effects:[L.of(!0),e?N.of(st(t.state,e.query.spec)):r.Py.appendConfig.of(gt)]});return!0},ct=t=>{let e=t.state.field(B,!1);if(!e||!e.panel)return!1;let n=(0,i.Sd)(t,rt);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:L.of(!1)}),!0},ut=[{key:"Mod-f",run:lt,scope:"editor search-panel"},{key:"F3",run:K,shift:J,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:K,shift:J,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:ct,scope:"editor search-panel"},{key:"Mod-Shift-l",run:et},{key:"Mod-Alt-g",run:y},{key:"Mod-d",run:E,preventDefault:!0}];class ht{constructor(t){this.view=t;let e=this.query=t.state.field(B).query.spec;function n(t,e,n){return(0,s.Z)("button",{class:"cm-button",name:t,onclick:e,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,s.Z)("input",{value:e.search,placeholder:pt(t,"Find"),"aria-label":pt(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,s.Z)("input",{value:e.replace,placeholder:pt(t,"Replace"),"aria-label":pt(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,s.Z)("input",{type:"checkbox",name:"case",form:"",checked:e.caseSensitive,onchange:this.commit}),this.reField=(0,s.Z)("input",{type:"checkbox",name:"re",form:"",checked:e.regexp,onchange:this.commit}),this.wordField=(0,s.Z)("input",{type:"checkbox",name:"word",form:"",checked:e.wholeWord,onchange:this.commit}),this.dom=(0,s.Z)("div",{onkeydown:t=>this.keydown(t),class:"cm-search"},[this.searchField,n("next",(()=>K(t)),[pt(t,"next")]),n("prev",(()=>J(t)),[pt(t,"previous")]),n("select",(()=>tt(t)),[pt(t,"all")]),(0,s.Z)("label",null,[this.caseField,pt(t,"match case")]),(0,s.Z)("label",null,[this.reField,pt(t,"regexp")]),(0,s.Z)("label",null,[this.wordField,pt(t,"by word")]),...t.state.readOnly?[]:[(0,s.Z)("br"),this.replaceField,n("replace",(()=>nt(t)),[pt(t,"replace")]),n("replaceAll",(()=>it(t)),[pt(t,"replace all")])],(0,s.Z)("button",{name:"close",onclick:()=>ct(t),"aria-label":pt(t,"close"),type:"button"},["×"])])}commit(){let t=new M({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:N.of(t)}))}keydown(t){(0,i.$1)(this.view,t,"search-panel")?t.preventDefault():13==t.keyCode&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?J:K)(this.view)):13==t.keyCode&&t.target==this.replaceField&&(t.preventDefault(),nt(this.view))}update(t){for(let e of t.transactions)for(let t of e.effects)t.is(N)&&!t.value.eq(this.query)&&this.setQuery(t.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(R).top}}function pt(t,e){return t.state.phrase(e)}const dt=30,ft=/[\s\.,:;?!]/;function Ot(t,{from:e,to:n}){let r=t.state.doc.lineAt(e),s=t.state.doc.lineAt(n).to,o=Math.max(r.from,e-dt),a=Math.min(s,n+dt),l=t.state.sliceDoc(o,a);if(o!=r.from)for(let i=0;i<dt;i++)if(!ft.test(l[i+1])&&ft.test(l[i])){l=l.slice(i);break}if(a!=s)for(let i=l.length-1;i>l.length-dt;i--)if(!ft.test(l[i-1])&&ft.test(l[i])){l=l.slice(0,i);break}return i.tk.announce.of(`${t.state.phrase("current match")}. ${l} ${t.state.phrase("on line")} ${r.number}.`)}const mt=i.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),gt=[B,r.Wl.low(G),mt]},37205:(t,e,n)=>{"use strict";n.d(e,{q6:()=>gt,n0:()=>M,as:()=>D,D0:()=>Ct,jT:()=>I,yy:()=>Dt,r$:()=>B,gc:()=>R,Wl:()=>nt,Xs:()=>Wt,f_:()=>It,uU:()=>jt,Py:()=>bt,QQ:()=>J,xv:()=>O,YW:()=>_t,gm:()=>P,nZ:()=>A,BO:()=>zt,IS:()=>te,cp:()=>k,Gz:()=>ee,bg:()=>C});let i=[],r=[];function s(t){if(t<768)return!1;for(let e=0,n=i.length;;){let s=e+n>>1;if(t<i[s])n=s;else{if(!(t>=r[s]))return!0;e=s+1}if(e==n)return!1}}function o(t){return t>=127462&&t<=127487}(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,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1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((t=>t?parseInt(t,36):1));for(let e=0,n=0;e<t.length;e++)(e%2?r:i).push(n+=t[e])})();const a=8205;function l(t,e,n=!0,i=!0){return(n?c:u)(t,e,i)}function c(t,e,n){if(e==t.length)return e;e&&p(t.charCodeAt(e))&&d(t.charCodeAt(e-1))&&e--;let i=h(t,e);e+=f(i);while(e<t.length){let r=h(t,e);if(i==a||r==a||n&&s(r))e+=f(r),i=r;else{if(!o(r))break;{let n=0,i=e-2;while(i>=0&&o(h(t,i)))n++,i-=2;if(n%2==0)break;e+=2}}}return e}function u(t,e,n){while(e>0){let i=c(t,e-2,n);if(i<e)return i;e--}return 0}function h(t,e){let n=t.charCodeAt(e);if(!d(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);return p(i)?i-56320+(n-55296<<10)+65536:n}function p(t){return t>=56320&&t<57344}function d(t){return t>=55296&&t<56320}function f(t){return t<65536?1:2}class O{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,n){[t,e]=S(this,t,e);let i=[];return this.decompose(0,t,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(e,this.length,i,1),g.from(i,this.length-(e-t)+n.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){[t,e]=S(this,t,e);let n=[];return this.decompose(t,e,n,0),g.from(n,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=this.scanIdentical(t,1),n=this.length-this.scanIdentical(t,-1),i=new _(this),r=new _(t);for(let s=e,o=e;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(t=1){return new _(this,t)}iterRange(t,e=this.length){return new x(this,t,e)}iterLines(t,e){let n;if(null==t)n=this.iter();else{null==e&&(e=this.lines+1);let i=this.line(t).from;n=this.iterRange(i,Math.max(i,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new w(n)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new m(t):g.from(m.split(t,[])):O.empty}}class m extends O{constructor(t,e=v(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((e?n:o)>=t)return new $(i,o,n,s);i=o+1,n++}}decompose(t,e,n,i){let r=t<=0&&e>=this.length?this:new m(b(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(1&i){let t=n.pop(),e=y(r.text,t.text.slice(),0,r.length);if(e.length<=32)n.push(new m(e,t.length+r.length));else{let t=e.length>>1;n.push(new m(e.slice(0,t)),new m(e.slice(t)))}}else n.push(r)}replace(t,e,n){if(!(n instanceof m))return super.replace(t,e,n);[t,e]=S(this,t,e);let i=y(this.text,y(n.text,b(this.text,0,t)),e),r=this.length+n.length-(e-t);return i.length<=32?new m(i,r):g.from(m.split(i,[]),r)}sliceString(t,e=this.length,n="\n"){[t,e]=S(this,t,e);let i="";for(let r=0,s=0;r<=e&&s<this.text.length;s++){let o=this.text[s],a=r+o.length;r>t&&s&&(i+=n),t<a&&e>r&&(i+=o.slice(Math.max(0,t-r),e-r)),r=a+1}return i}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let n=[],i=-1;for(let r of t)n.push(r),i+=r.length+1,32==n.length&&(e.push(new m(n,i)),n=[],i=-1);return i>-1&&e.push(new m(n,i)),e}}class g extends O{constructor(t,e){super(),this.children=t,this.length=e,this.lines=0;for(let n of t)this.lines+=n.lines}lineInner(t,e,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((e?a:o)>=t)return s.lineInner(t,e,n,i);i=o+1,n=a+1}}decompose(t,e,n,i){for(let r=0,s=0;s<=e&&r<this.children.length;r++){let o=this.children[r],a=s+o.length;if(t<=a&&e>=s){let r=i&((s<=t?1:0)|(a>=e?2:0));s>=t&&a<=e&&!r?n.push(o):o.decompose(t-s,e-s,n,r)}s=a+1}}replace(t,e,n){if([t,e]=S(this,t,e),n.lines<this.lines)for(let i=0,r=0;i<this.children.length;i++){let s=this.children[i],o=r+s.length;if(t>=r&&e<=o){let a=s.replace(t-r,e-r,n),l=this.lines-s.lines+a.lines;if(a.lines<l>>4&&a.lines>l>>6){let r=this.children.slice();return r[i]=a,new g(r,this.length-(e-t)+n.length)}return super.replace(r,o,a)}r=o+1}return super.replace(t,e,n)}sliceString(t,e=this.length,n="\n"){[t,e]=S(this,t,e);let i="";for(let r=0,s=0;r<this.children.length&&s<=e;r++){let o=this.children[r],a=s+o.length;s>t&&r&&(i+=n),t<a&&e>s&&(i+=o.sliceString(t-s,e-s,n)),s=a+1}return i}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof g))return 0;let n=0,[i,r,s,o]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=e,r+=e){if(i==s||r==o)return n;let a=this.children[i],l=t.children[r];if(a!=l)return n+a.scanIdentical(l,e);n+=a.length+1}}static from(t,e=t.reduce(((t,e)=>t+e.length+1),-1)){let n=0;for(let p of t)n+=p.lines;if(n<32){let n=[];for(let e of t)e.flatten(n);return new m(n,e)}let i=Math.max(32,n>>5),r=i<<1,s=i>>1,o=[],a=0,l=-1,c=[];function u(t){let e;if(t.lines>r&&t instanceof g)for(let n of t.children)u(n);else t.lines>s&&(a>s||!a)?(h(),o.push(t)):t instanceof m&&a&&(e=c[c.length-1])instanceof m&&t.lines+e.lines<=32?(a+=t.lines,l+=t.length+1,c[c.length-1]=new m(e.text.concat(t.text),e.length+1+t.length)):(a+t.lines>i&&h(),a+=t.lines,l+=t.length+1,c.push(t))}function h(){0!=a&&(o.push(1==c.length?c[0]:g.from(c,l)),l=-1,a=c.length=0)}for(let p of t)u(p);return h(),1==o.length?o[0]:new g(o,e)}}function v(t){let e=-1;for(let n of t)e+=n.length+1;return e}function y(t,e,n=0,i=1e9){for(let r=0,s=0,o=!0;s<t.length&&r<=i;s++){let a=t[s],l=r+a.length;l>=n&&(l>i&&(a=a.slice(0,i-r)),r<n&&(a=a.slice(n-r)),o?(e[e.length-1]+=a,o=!1):e.push(a)),r=l+1}return e}function b(t,e,n){return y(t,[""],e,n)}O.empty=new m([""],0);class _{constructor(t,e=1){this.dir=e,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[e>0?1:(t instanceof m?t.text.length:t.children.length)<<1]}nextInner(t,e){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],s=r>>1,o=i instanceof m?i.text.length:i.children.length;if(s==(e>0?o:0)){if(0==n)return this.done=!0,this.value="",this;e>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(e>0?0:1)){if(this.offsets[n]+=e,0==t)return this.lineBreak=!0,this.value="\n",this;t--}else if(i instanceof m){let r=i.text[s+(e<0?-1:0)];if(this.offsets[n]+=e,r.length>Math.max(0,t))return this.value=0==t?r:e>0?r.slice(t):r.slice(0,r.length-t),this;t-=r.length}else{let r=i.children[s+(e<0?-1:0)];t>r.length?(t-=r.length,this.offsets[n]+=e):(e<0&&this.offsets[n]--,this.nodes.push(r),this.offsets.push(e>0?1:(r instanceof m?r.text.length:r.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class x{constructor(t,e,n){this.value="",this.done=!1,this.cursor=new _(t,e>n?-1:1),this.pos=e>n?t.length:0,this.from=Math.min(e,n),this.to=Math.max(e,n)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let n=e<0?this.pos-this.from:this.to-this.pos;t>n&&(t=n),n-=t;let{value:i}=this.cursor.next(t);return this.pos+=(i.length+t)*e,this.value=i.length<=n?i:e<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class w{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:e,lineBreak:n,value:i}=this.inner.next(t);return e&&this.afterBreak?(this.value="",this.afterBreak=!1):e?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(O.prototype[Symbol.iterator]=function(){return this.iter()},_.prototype[Symbol.iterator]=x.prototype[Symbol.iterator]=w.prototype[Symbol.iterator]=function(){return this});class ${constructor(t,e,n,i){this.from=t,this.to=e,this.number=n,this.text=i}get length(){return this.to-this.from}}function S(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,n))]}function k(t,e,n=!0,i=!0){return l(t,e,n,i)}function Q(t){return t>=56320&&t<57344}function T(t){return t>=55296&&t<56320}function P(t,e){let n=t.charCodeAt(e);if(!T(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);return Q(i)?i-56320+(n-55296<<10)+65536:n}function C(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}function A(t){return t<65536?1:2}const E=/\r\n?|\n/;var R=function(t){return t[t["Simple"]=0]="Simple",t[t["TrackDel"]=1]="TrackDel",t[t["TrackBefore"]=2]="TrackBefore",t[t["TrackAfter"]=3]="TrackAfter",t}(R||(R={}));class M{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;e<this.sections.length;e+=2)t+=this.sections[e];return t}get newLength(){let t=0;for(let e=0;e<this.sections.length;e+=2){let n=this.sections[e+1];t+=n<0?this.sections[e]:n}return t}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(t){for(let e=0,n=0,i=0;e<this.sections.length;){let r=this.sections[e++],s=this.sections[e++];s<0?(t(n,i,r),i+=r):i+=s,n+=r}}iterChangedRanges(t,e=!1){Z(this,t,e)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let n=this.sections[e++],i=this.sections[e++];i<0?t.push(n,i):t.push(i,n)}return new M(t)}composeDesc(t){return this.empty?t:t.empty?this:X(this,t)}mapDesc(t,e=!1){return t.empty?this:V(this,t,e)}mapPos(t,e=-1,n=R.Simple){let i=0,r=0;for(let s=0;s<this.sections.length;){let o=this.sections[s++],a=this.sections[s++],l=i+o;if(a<0){if(l>t)return r+(t-i);r+=o}else{if(n!=R.Simple&&l>=t&&(n==R.TrackDel&&i<t&&l>t||n==R.TrackBefore&&i<t||n==R.TrackAfter&&l>t))return null;if(l>t||l==t&&e<0&&!o)return t==i||e<0?r:r+a;r+=a}i=l}if(t>i)throw new RangeError(`Position ${t} is out of range for changeset of length ${i}`);return r}touchesRange(t,e=t){for(let n=0,i=0;n<this.sections.length&&i<=e;){let r=this.sections[n++],s=this.sections[n++],o=i+r;if(s>=0&&i<=e&&o>=t)return!(i<t&&o>e)||"cover";i=o}return!1}toString(){let t="";for(let e=0;e<this.sections.length;){let n=this.sections[e++],i=this.sections[e++];t+=(t?" ":"")+n+(i>=0?":"+i:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some((t=>"number"!=typeof t)))throw new RangeError("Invalid JSON representation of ChangeDesc");return new M(t)}static create(t){return new M(t)}}class D extends M{constructor(t,e){super(t),this.inserted=e}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return Z(this,((e,n,i,r,s)=>t=t.replace(i,i+(n-e),s)),!1),t}mapDesc(t,e=!1){return V(this,t,e,!0)}invert(t){let e=this.sections.slice(),n=[];for(let i=0,r=0;i<e.length;i+=2){let s=e[i],o=e[i+1];if(o>=0){e[i]=o,e[i+1]=s;let a=i>>1;while(n.length<a)n.push(O.empty);n.push(s?t.slice(r,r+s):O.empty)}r+=s}return new D(e,n)}compose(t){return this.empty?t:t.empty?this:X(this,t,!0)}map(t,e=!1){return t.empty?this:V(this,t,e,!0)}iterChanges(t,e=!1){Z(this,t,e)}get desc(){return M.create(this.sections)}filter(t){let e=[],n=[],i=[],r=new W(this);t:for(let s=0,o=0;;){let a=s==t.length?1e9:t[s++];while(o<a||o==a&&0==r.len){if(r.done)break t;let t=Math.min(r.len,a-o);z(i,t,-1);let s=-1==r.ins?-1:0==r.off?r.ins:0;z(e,t,s),s>0&&j(n,e,r.text),r.forward(t),o+=t}let l=t[s++];while(o<l){if(r.done)break t;let t=Math.min(r.len,l-o);z(e,t,-1),z(i,t,-1==r.ins?-1:0==r.off?r.ins:0),r.forward(t),o+=t}}return{changes:new D(e,n),filtered:M.create(i)}}toJSON(){let t=[];for(let e=0;e<this.sections.length;e+=2){let n=this.sections[e],i=this.sections[e+1];i<0?t.push(n):0==i?t.push([n]):t.push([n].concat(this.inserted[e>>1].toJSON()))}return t}static of(t,e,n){let i=[],r=[],s=0,o=null;function a(t=!1){if(!t&&!i.length)return;s<e&&z(i,e-s,-1);let n=new D(i,r);o=o?o.compose(n.map(o)):n,i=[],r=[],s=0}function l(t){if(Array.isArray(t))for(let e of t)l(e);else if(t instanceof D){if(t.length!=e)throw new RangeError(`Mismatched change set length (got ${t.length}, expected ${e})`);a(),o=o?o.compose(t.map(o)):t}else{let{from:o,to:l=o,insert:c}=t;if(o>l||o<0||l>e)throw new RangeError(`Invalid change range ${o} to ${l} (in doc of length ${e})`);let u=c?"string"==typeof c?O.of(c.split(n||E)):c:O.empty,h=u.length;if(o==l&&0==h)return;o<s&&a(),o>s&&z(i,o-s,-1),z(i,l-o,h),j(r,i,u),s=l}}return l(t),a(!o),o}static empty(t){return new D(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i];if("number"==typeof r)e.push(r,-1);else{if(!Array.isArray(r)||"number"!=typeof r[0]||r.some(((t,e)=>e&&"string"!=typeof t)))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==r.length)e.push(r[0],0);else{while(n.length<i)n.push(O.empty);n[i]=O.of(r.slice(1)),e.push(r[0],n[i].length)}}}return new D(e,n)}static createSet(t,e){return new D(t,e)}}function z(t,e,n,i=!1){if(0==e&&n<=0)return;let r=t.length-2;r>=0&&n<=0&&n==t[r+1]?t[r]+=e:r>=0&&0==e&&0==t[r]?t[r+1]+=n:i?(t[r]+=e,t[r+1]+=n):t.push(e,n)}function j(t,e,n){if(0==n.length)return;let i=e.length-2>>1;if(i<t.length)t[t.length-1]=t[t.length-1].append(n);else{while(t.length<i)t.push(O.empty);t.push(n)}}function Z(t,e,n){let i=t.inserted;for(let r=0,s=0,o=0;o<t.sections.length;){let a=t.sections[o++],l=t.sections[o++];if(l<0)r+=a,s+=a;else{let c=r,u=s,h=O.empty;for(;;){if(c+=a,u+=l,l&&i&&(h=h.append(i[o-2>>1])),n||o==t.sections.length||t.sections[o+1]<0)break;a=t.sections[o++],l=t.sections[o++]}e(r,c,s,u,h),r=c,s=u}}}function V(t,e,n,i=!1){let r=[],s=i?[]:null,o=new W(t),a=new W(e);for(let l=-1;;){if(o.done&&a.len||a.done&&o.len)throw new Error("Mismatched change set lengths");if(-1==o.ins&&-1==a.ins){let t=Math.min(o.len,a.len);z(r,t,-1),o.forward(t),a.forward(t)}else if(a.ins>=0&&(o.ins<0||l==o.i||0==o.off&&(a.len<o.len||a.len==o.len&&!n))){let t=a.len;z(r,a.ins,-1);while(t){let e=Math.min(o.len,t);o.ins>=0&&l<o.i&&o.len<=e&&(z(r,0,o.ins),s&&j(s,r,o.text),l=o.i),o.forward(e),t-=e}a.next()}else{if(!(o.ins>=0)){if(o.done&&a.done)return s?D.createSet(r,s):M.create(r);throw new Error("Mismatched change set lengths")}{let t=0,e=o.len;while(e)if(-1==a.ins){let n=Math.min(e,a.len);t+=n,e-=n,a.forward(n)}else{if(!(0==a.ins&&a.len<e))break;e-=a.len,a.next()}z(r,t,l<o.i?o.ins:0),s&&l<o.i&&j(s,r,o.text),l=o.i,o.forward(o.len-e)}}}}function X(t,e,n=!1){let i=[],r=n?[]:null,s=new W(t),o=new W(e);for(let a=!1;;){if(s.done&&o.done)return r?D.createSet(i,r):M.create(i);if(0==s.ins)z(i,s.len,0,a),s.next();else if(0!=o.len||o.done){if(s.done||o.done)throw new Error("Mismatched change set lengths");{let t=Math.min(s.len2,o.len),e=i.length;if(-1==s.ins){let e=-1==o.ins?-1:o.off?0:o.ins;z(i,t,e,a),r&&e&&j(r,i,o.text)}else-1==o.ins?(z(i,s.off?0:s.len,t,a),r&&j(r,i,s.textBit(t))):(z(i,s.off?0:s.len,o.off?0:o.ins,a),r&&!o.off&&j(r,i,o.text));a=(s.ins>t||o.ins>=0&&o.len>t)&&(a||i.length>e),s.forward2(t),o.forward(t)}}else z(i,0,o.ins,a),r&&j(r,i,o.text),o.next()}}class W{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i<t.length?(this.len=t[this.i++],this.ins=t[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,e=this.i-2>>1;return e>=t.length?O.empty:t[e]}textBit(t){let{inserted:e}=this.set,n=this.i-2>>1;return n>=e.length&&!t?O.empty:e[n].slice(this.off,null==t?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){-1==this.ins?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class q{constructor(t,e,n){this.from=t,this.to=e,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let t=7&this.flags;return 7==t?null:t}get goalColumn(){let t=this.flags>>6;return 16777215==t?void 0:t}map(t,e=-1){let n,i;return this.empty?n=i=t.mapPos(this.from,e):(n=t.mapPos(this.from,1),i=t.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new q(n,i,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return I.range(t,e);let n=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return I.range(this.anchor,n)}eq(t,e=!1){return this.anchor==t.anchor&&this.head==t.head&&(!e||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||"number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid JSON representation for SelectionRange");return I.range(t.anchor,t.head)}static create(t,e,n){return new q(t,e,n)}}class I{constructor(t,e){this.ranges=t,this.mainIndex=e}map(t,e=-1){return t.empty?this:I.create(this.ranges.map((n=>n.map(t,e))),this.mainIndex)}eq(t,e=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(t.ranges[n],e))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new I([this.main],0)}addRange(t,e=!0){return I.create([t].concat(this.ranges),e?0:this.mainIndex+1)}replaceRange(t,e=this.mainIndex){let n=this.ranges.slice();return n[e]=t,I.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map((t=>t.toJSON())),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new I(t.ranges.map((t=>q.fromJSON(t))),t.main)}static single(t,e=t){return new I([I.range(t,e)],0)}static create(t,e=0){if(0==t.length)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<t.length;i++){let r=t[i];if(r.empty?r.from<=n:r.from<n)return I.normalized(t.slice(),e);n=r.to}return new I(t,e)}static cursor(t,e=0,n,i){return q.create(t,t,(0==e?0:e<0?8:16)|(null==n?7:Math.min(6,n))|(null!==i&&void 0!==i?i:16777215)<<6)}static range(t,e,n,i){let r=(null!==n&&void 0!==n?n:16777215)<<6|(null==i?7:Math.min(6,i));return e<t?q.create(e,t,48|r):q.create(t,e,(e>t?8:0)|r)}static normalized(t,e=0){let n=t[e];t.sort(((t,e)=>t.from-e.from)),e=t.indexOf(n);for(let i=1;i<t.length;i++){let n=t[i],r=t[i-1];if(n.empty?n.from<=r.to:n.from<r.to){let s=r.from,o=Math.max(n.to,r.to);i<=e&&e--,t.splice(--i,2,n.anchor>n.head?I.range(o,s):I.range(s,o))}}return new I(t,e)}}function N(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let L=0;class B{constructor(t,e,n,i,r){this.combine=t,this.compareInput=e,this.compare=n,this.isStatic=i,this.id=L++,this.default=t([]),this.extensions="function"==typeof r?r(this):r}get reader(){return this}static define(t={}){return new B(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(t.combine?(t,e)=>t===e:U),!!t.static,t.enables)}of(t){return new Y([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new Y(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new Y(t,this,2,e)}from(t,e){return e||(e=t=>t),this.compute([t],(n=>e(n.field(t))))}}function U(t,e){return t==e||t.length==e.length&&t.every(((t,n)=>t===e[n]))}class Y{constructor(t,e,n,i){this.dependencies=t,this.facet=e,this.type=n,this.value=i,this.id=L++}dynamicSlot(t){var e;let n=this.value,i=this.facet.compareInput,r=this.id,s=t[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let u of this.dependencies)"doc"==u?a=!0:"selection"==u?l=!0:0==(1&(null!==(e=t[u.id])&&void 0!==e?e:1))&&c.push(t[u.id]);return{create(t){return t.values[s]=n(t),1},update(t,e){if(a&&e.docChanged||l&&(e.docChanged||e.selection)||G(t,c)){let e=n(t);if(o?!F(e,t.values[s],i):!i(e,t.values[s]))return t.values[s]=e,1}return 0},reconfigure:(t,e)=>{let a,l=e.config.address[r];if(null!=l){let r=ct(e,l);if(this.dependencies.every((n=>n instanceof B?e.facet(n)===t.facet(n):!(n instanceof J)||e.field(n,!1)==t.field(n,!1)))||(o?F(a=n(t),r,i):i(a=n(t),r)))return t.values[s]=r,0}else a=n(t);return t.values[s]=a,1}}}}function F(t,e,n){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!n(t[i],e[i]))return!1;return!0}function G(t,e){let n=!1;for(let i of e)1<(t,i)&&(n=!0);return n}function H(t,e,n){let i=n.map((e=>t[e.id])),r=n.map((t=>t.type)),s=i.filter((t=>!(1&t))),o=t[e.id]>>1;function a(t){let n=[];for(let e=0;e<i.length;e++){let s=ct(t,i[e]);if(2==r[e])for(let t of s)n.push(t);else n.push(s)}return e.combine(n)}return{create(t){for(let e of i)lt(t,e);return t.values[o]=a(t),1},update(t,n){if(!G(t,s))return 0;let i=a(t);return e.compare(i,t.values[o])?0:(t.values[o]=i,1)},reconfigure(t,r){let s=G(t,i),l=r.config.facets[e.id],c=r.facet(e);if(l&&!s&&U(n,l))return t.values[o]=c,0;let u=a(t);return e.compare(u,c)?(t.values[o]=c,0):(t.values[o]=u,1)}}}const K=B.define({static:!0});class J{constructor(t,e,n,i,r){this.id=t,this.createF=e,this.updateF=n,this.compareF=i,this.spec=r,this.provides=void 0}static define(t){let e=new J(L++,t.create,t.update,t.compare||((t,e)=>t===e),t);return t.provide&&(e.provides=t.provide(e)),e}create(t){let e=t.facet(K).find((t=>t.field==this));return((null===e||void 0===e?void 0:e.create)||this.createF)(t)}slot(t){let e=t[this.id]>>1;return{create:t=>(t.values[e]=this.create(t),1),update:(t,n)=>{let i=t.values[e],r=this.updateF(i,n);return this.compareF(i,r)?0:(t.values[e]=r,1)},reconfigure:(t,n)=>{let i,r=t.facet(K),s=n.facet(K);return(i=r.find((t=>t.field==this)))&&i!=s.find((t=>t.field==this))?(t.values[e]=i.create(t),1):null!=n.config.address[this.id]?(t.values[e]=n.field(this),0):(t.values[e]=this.create(t),1)}}}init(t){return[this,K.of({field:this,create:t})]}get extension(){return this}}const tt={lowest:4,low:3,default:2,high:1,highest:0};function et(t){return e=>new it(e,t)}const nt={highest:et(tt.highest),high:et(tt.high),default:et(tt.default),low:et(tt.low),lowest:et(tt.lowest)};class it{constructor(t,e){this.inner=t,this.prec=e}}class rt{of(t){return new st(this,t)}reconfigure(t){return rt.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class st{constructor(t,e){this.compartment=t,this.inner=e}}class ot{constructor(t,e,n,i,r,s){this.base=t,this.compartments=e,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];while(this.statusTemplate.length<n.length)this.statusTemplate.push(0)}staticFacet(t){let e=this.address[t.id];return null==e?t.default:this.staticValues[e>>1]}static resolve(t,e,n){let i=[],r=Object.create(null),s=new Map;for(let h of at(t,e,s))h instanceof J?i.push(h):(r[h.facet.id]||(r[h.facet.id]=[])).push(h);let o=Object.create(null),a=[],l=[];for(let h of i)o[h.id]=l.length<<1,l.push((t=>h.slot(t)));let c=null===n||void 0===n?void 0:n.config.facets;for(let h in r){let t=r[h],e=t[0].facet,i=c&&c[h]||[];if(t.every((t=>0==t.type)))if(o[e.id]=a.length<<1|1,U(i,t))a.push(n.facet(e));else{let i=e.combine(t.map((t=>t.value)));a.push(n&&e.compare(i,n.facet(e))?n.facet(e):i)}else{for(let e of t)0==e.type?(o[e.id]=a.length<<1|1,a.push(e.value)):(o[e.id]=l.length<<1,l.push((t=>e.dynamicSlot(t))));o[e.id]=l.length<<1,l.push((n=>H(n,e,t)))}}let u=l.map((t=>t(o)));return new ot(t,s,u,o,a,r)}}function at(t,e,n){let i=[[],[],[],[],[]],r=new Map;function s(t,o){let a=r.get(t);if(null!=a){if(a<=o)return;let e=i[a].indexOf(t);e>-1&&i[a].splice(e,1),t instanceof st&&n.delete(t.compartment)}if(r.set(t,o),Array.isArray(t))for(let e of t)s(e,o);else if(t instanceof st){if(n.has(t.compartment))throw new RangeError("Duplicate use of compartment in extensions");let i=e.get(t.compartment)||t.inner;n.set(t.compartment,i),s(i,o)}else if(t instanceof it)s(t.inner,t.prec);else if(t instanceof J)i[o].push(t),t.provides&&s(t.provides,o);else if(t instanceof Y)i[o].push(t),t.facet.extensions&&s(t.facet.extensions,tt.default);else{let e=t.extension;if(!e)throw new Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(e,o)}}return s(t,tt.default),i.reduce(((t,e)=>t.concat(e)))}function lt(t,e){if(1&e)return 2;let n=e>>1,i=t.status[n];if(4==i)throw new Error("Cyclic dependency between fields and/or facets");if(2&i)return i;t.status[n]=4;let r=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|r}function ct(t,e){return 1&e?t.config.staticValues[e>>1]:t.values[e>>1]}const ut=B.define(),ht=B.define({combine:t=>t.some((t=>t)),static:!0}),pt=B.define({combine:t=>t.length?t[0]:void 0,static:!0}),dt=B.define(),ft=B.define(),Ot=B.define(),mt=B.define({combine:t=>!!t.length&&t[0]});class gt{constructor(t,e){this.type=t,this.value=e}static define(){return new vt}}class vt{of(t){return new gt(this,t)}}class yt{constructor(t){this.map=t}of(t){return new bt(this,t)}}class bt{constructor(t,e){this.type=t,this.value=e}map(t){let e=this.type.map(this.value,t);return void 0===e?void 0:e==this.value?this:new bt(this.type,e)}is(t){return this.type==t}static define(t={}){return new yt(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let n=[];for(let i of t){let t=i.map(e);t&&n.push(t)}return n}}bt.reconfigure=bt.define(),bt.appendConfig=bt.define();class _t{constructor(t,e,n,i,r,s){this.startState=t,this.changes=e,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&N(n,e.newLength),r.some((t=>t.type==_t.time))||(this.annotations=r.concat(_t.time.of(Date.now())))}static create(t,e,n,i,r,s){return new _t(t,e,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let e of this.annotations)if(e.type==t)return e.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation(_t.userEvent);return!(!e||!(e==t||e.length>t.length&&e.slice(0,t.length)==t&&"."==e[t.length]))}}function xt(t,e){let n=[];for(let i=0,r=0;;){let s,o;if(i<t.length&&(r==e.length||e[r]>=t[i]))s=t[i++],o=t[i++];else{if(!(r<e.length))return n;s=e[r++],o=e[r++]}!n.length||n[n.length-1]<s?n.push(s,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function wt(t,e,n){var i;let r,s,o;return n?(r=e.changes,s=D.empty(e.changes.length),o=t.changes.compose(e.changes)):(r=e.changes.map(t.changes),s=t.changes.mapDesc(e.changes,!0),o=t.changes.compose(r)),{changes:o,selection:e.selection?e.selection.map(s):null===(i=t.selection)||void 0===i?void 0:i.map(r),effects:bt.mapEffects(t.effects,r).concat(bt.mapEffects(e.effects,s)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function $t(t,e,n){let i=e.selection,r=Pt(e.annotations);return e.userEvent&&(r=r.concat(_t.userEvent.of(e.userEvent))),{changes:e.changes instanceof D?e.changes:D.of(e.changes||[],n,t.facet(pt)),selection:i&&(i instanceof I?i:I.single(i.anchor,i.head)),effects:Pt(e.effects),annotations:r,scrollIntoView:!!e.scrollIntoView}}function St(t,e,n){let i=$t(t,e.length?e[0]:{},t.doc.length);e.length&&!1===e[0].filter&&(n=!1);for(let s=1;s<e.length;s++){!1===e[s].filter&&(n=!1);let r=!!e[s].sequential;i=wt(i,$t(t,e[s],r?i.changes.newLength:t.doc.length),r)}let r=_t.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return Qt(n?kt(r):r)}function kt(t){let e=t.startState,n=!0;for(let r of e.facet(dt)){let e=r(t);if(!1===e){n=!1;break}Array.isArray(e)&&(n=!0===n?e:xt(n,e))}if(!0!==n){let i,r;if(!1===n)r=t.changes.invertedDesc,i=D.empty(e.doc.length);else{let e=t.changes.filter(n);i=e.changes,r=e.filtered.mapDesc(e.changes).invertedDesc}t=_t.create(e,i,t.selection&&t.selection.map(r),bt.mapEffects(t.effects,r),t.annotations,t.scrollIntoView)}let i=e.facet(ft);for(let r=i.length-1;r>=0;r--){let n=i[r](t);t=n instanceof _t?n:Array.isArray(n)&&1==n.length&&n[0]instanceof _t?n[0]:St(e,Pt(n),!1)}return t}function Qt(t){let e=t.startState,n=e.facet(Ot),i=t;for(let r=n.length-1;r>=0;r--){let s=n[r](t);s&&Object.keys(s).length&&(i=wt(i,$t(e,s,t.changes.newLength),!0))}return i==t?t:_t.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}_t.time=gt.define(),_t.userEvent=gt.define(),_t.addToHistory=gt.define(),_t.remote=gt.define();const Tt=[];function Pt(t){return null==t?Tt:Array.isArray(t)?t:[t]}var Ct=function(t){return t[t["Word"]=0]="Word",t[t["Space"]=1]="Space",t[t["Other"]=2]="Other",t}(Ct||(Ct={}));const At=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Et;try{Et=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(ne){}function Rt(t){if(Et)return Et.test(t);for(let e=0;e<t.length;e++){let n=t[e];if(/\w/.test(n)||n>""&&(n.toUpperCase()!=n.toLowerCase()||At.test(n)))return!0}return!1}function Mt(t){return e=>{if(!/\S/.test(e))return Ct.Space;if(Rt(e))return Ct.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return Ct.Word;return Ct.Other}}class Dt{constructor(t,e,n,i,r,s){this.config=t,this.doc=e,this.selection=n,this.values=i,this.status=t.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o<this.config.dynamicSlots.length;o++)lt(this,o<<1);this.computeSlot=null}field(t,e=!0){let n=this.config.address[t.id];if(null!=n)return lt(this,n),ct(this,n);if(e)throw new RangeError("Field is not present in this state")}update(...t){return St(this,t,!0)}applyTransaction(t){let e,n=this.config,{base:i,compartments:r}=n;for(let o of t.effects)o.is(rt.reconfigure)?(n&&(r=new Map,n.compartments.forEach(((t,e)=>r.set(e,t))),n=null),r.set(o.value.compartment,o.value.extension)):o.is(bt.reconfigure)?(n=null,i=o.value):o.is(bt.appendConfig)&&(n=null,i=Pt(i).concat(o.value));if(n)e=t.startState.values.slice();else{n=ot.resolve(i,r,this);let t=new Dt(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((t,e)=>e.reconfigure(t,this)),null);e=t.values}let s=t.startState.facet(ht)?t.newSelection:t.newSelection.asSingle();new Dt(n,t.newDoc,s,e,((e,n)=>n.update(e,t)),t)}replaceSelection(t){return"string"==typeof t&&(t=this.toText(t)),this.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:t},range:I.cursor(e.from+t.length)})))}changeByRange(t){let e=this.selection,n=t(e.ranges[0]),i=this.changes(n.changes),r=[n.range],s=Pt(n.effects);for(let o=1;o<e.ranges.length;o++){let n=t(e.ranges[o]),a=this.changes(n.changes),l=a.map(i);for(let t=0;t<o;t++)r[t]=r[t].map(l);let c=i.mapDesc(a,!0);r.push(n.range.map(c)),i=i.compose(l),s=bt.mapEffects(s,l).concat(bt.mapEffects(Pt(n.effects),c))}return{changes:i,selection:I.create(r,e.mainIndex),effects:s}}changes(t=[]){return t instanceof D?t:D.of(t,this.doc.length,this.facet(Dt.lineSeparator))}toText(t){return O.of(t.split(this.facet(Dt.lineSeparator)||E))}sliceDoc(t=0,e=this.doc.length){return this.doc.sliceString(t,e,this.lineBreak)}facet(t){let e=this.config.address[t.id];return null==e?t.default:(lt(this,e),ct(this,e))}toJSON(t){let e={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let n in t){let i=t[n];i instanceof J&&null!=this.config.address[i.id]&&(e[n]=i.spec.toJSON(this.field(t[n]),this))}return e}static fromJSON(t,e={},n){if(!t||"string"!=typeof t.doc)throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n)for(let r in n)if(Object.prototype.hasOwnProperty.call(t,r)){let e=n[r],s=t[r];i.push(e.init((t=>e.spec.fromJSON(s,t))))}return Dt.create({doc:t.doc,selection:I.fromJSON(t.selection),extensions:e.extensions?i.concat([e.extensions]):i})}static create(t={}){let e=ot.resolve(t.extensions||[],new Map),n=t.doc instanceof O?t.doc:O.of((t.doc||"").split(e.staticFacet(Dt.lineSeparator)||E)),i=t.selection?t.selection instanceof I?t.selection:I.single(t.selection.anchor,t.selection.head):I.single(0);return N(i,n.length),e.staticFacet(ht)||(i=i.asSingle()),new Dt(e,n,i,e.dynamicSlots.map((()=>null)),((t,e)=>e.create(t)),null)}get tabSize(){return this.facet(Dt.tabSize)}get lineBreak(){return this.facet(Dt.lineSeparator)||"\n"}get readOnly(){return this.facet(mt)}phrase(t,...e){for(let n of this.facet(Dt.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return e.length&&(t=t.replace(/\$(\$|\d*)/g,((t,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>e.length?t:e[i-1]}))),t}languageDataAt(t,e,n=-1){let i=[];for(let r of this.facet(ut))for(let s of r(this,e,n))Object.prototype.hasOwnProperty.call(s,t)&&i.push(s[t]);return i}charCategorizer(t){return Mt(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:e,from:n,length:i}=this.doc.lineAt(t),r=this.charCategorizer(t),s=t-n,o=t-n;while(s>0){let t=k(e,s,!1);if(r(e.slice(t,s))!=Ct.Word)break;s=t}while(o<i){let t=k(e,o);if(r(e.slice(o,t))!=Ct.Word)break;o=t}return s==o?null:I.range(s+n,o+n)}}function zt(t,e,n={}){let i={};for(let r of t)for(let t of Object.keys(r)){let e=r[t],s=i[t];if(void 0===s)i[t]=e;else if(s===e||void 0===e);else{if(!Object.hasOwnProperty.call(n,t))throw new Error("Config merge conflict for field "+t);i[t]=n[t](s,e)}}for(let r in e)void 0===i[r]&&(i[r]=e[r]);return i}Dt.allowMultipleSelections=ht,Dt.tabSize=B.define({combine:t=>t.length?t[0]:4}),Dt.lineSeparator=pt,Dt.readOnly=mt,Dt.phrases=B.define({compare(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length==i.length&&n.every((n=>t[n]==e[n]))}}),Dt.languageData=ut,Dt.changeFilter=dt,Dt.transactionFilter=ft,Dt.transactionExtender=Ot,rt.reconfigure=bt.define();class jt{eq(t){return this==t}range(t,e=t){return Zt.create(t,e,this)}}jt.prototype.startSide=jt.prototype.endSide=0,jt.prototype.point=!1,jt.prototype.mapMode=R.TrackDel;class Zt{constructor(t,e,n){this.from=t,this.to=e,this.value=n}static create(t,e,n){return new Zt(t,e,n)}}function Vt(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Xt{constructor(t,e,n,i){this.from=t,this.to=e,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(t,e,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let i=s+o>>1,a=r[i]-t||(n?this.value[i].endSide:this.value[i].startSide)-e;if(i==s)return a>=0?s:o;a>=0?o=i:s=i+1}}between(t,e,n,i){for(let r=this.findIndex(e,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r<s;r++)if(!1===i(this.from[r]+t,this.to[r]+t,this.value[r]))return!1}map(t,e){let n=[],i=[],r=[],s=-1,o=-1;for(let a=0;a<this.value.length;a++){let l,c,u=this.value[a],h=this.from[a]+t,p=this.to[a]+t;if(h==p){let t=e.mapPos(h,u.startSide,u.mapMode);if(null==t)continue;if(l=c=t,u.startSide!=u.endSide&&(c=e.mapPos(h,u.endSide),c<l))continue}else if(l=e.mapPos(h,u.startSide),c=e.mapPos(p,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue;(c-l||u.endSide-u.startSide)<0||(s<0&&(s=l),u.point&&(o=Math.max(o,c-l)),n.push(u),i.push(l-s),r.push(c-s))}return{mapped:n.length?new Xt(i,r,n,o):null,pos:s}}}class Wt{constructor(t,e,n,i){this.chunkPos=t,this.chunk=e,this.nextLayer=n,this.maxPoint=i}static create(t,e,n,i){return new Wt(t,e,n,i)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let e of this.chunk)t+=e.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:e=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=t,s=t.filter;if(0==e.length&&!s)return this;if(n&&(e=e.slice().sort(Vt)),this.isEmpty)return e.length?Wt.of(e):this;let o=new Lt(this,null,-1).goto(0),a=0,l=[],c=new It;while(o.value||a<e.length)if(a<e.length&&(o.from-e[a].from||o.startSide-e[a].value.startSide)>=0){let t=e[a++];c.addInner(t.from,t.to,t.value)||l.push(t)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(a==e.length||this.chunkEnd(o.chunkIndex)<e[a].from)&&(!s||i>this.chunkEnd(o.chunkIndex)||r<this.chunkPos[o.chunkIndex])&&c.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!s||i>o.to||r<o.from||s(o.from,o.to,o.value))&&(c.addInner(o.from,o.to,o.value)||l.push(Zt.create(o.from,o.to,o.value))),o.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?Wt.empty:this.nextLayer.update({add:l,filter:s,filterFrom:i,filterTo:r}))}map(t){if(t.empty||this.isEmpty)return this;let e=[],n=[],i=-1;for(let s=0;s<this.chunk.length;s++){let r=this.chunkPos[s],o=this.chunk[s],a=t.touchesRange(r,r+o.length);if(!1===a)i=Math.max(i,o.maxPoint),e.push(o),n.push(t.mapPos(r));else if(!0===a){let{mapped:s,pos:a}=o.map(r,t);s&&(i=Math.max(i,s.maxPoint),e.push(s),n.push(a))}}let r=this.nextLayer.map(t);return 0==e.length?r:new Wt(n,e,r||Wt.empty,i)}between(t,e,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let r=this.chunkPos[i],s=this.chunk[i];if(e>=r&&t<=r+s.length&&!1===s.between(r,t-r,e-r,n))return}this.nextLayer.between(t,e,n)}}iter(t=0){return Bt.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return Bt.from(t).goto(e)}static compare(t,e,n,i,r=-1){let s=t.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=r)),o=e.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=r)),a=Nt(s,o,n),l=new Yt(s,a,r),c=new Yt(o,a,r);n.iterGaps(((t,e,n)=>Ft(l,t,c,e,n,i))),n.empty&&0==n.length&&Ft(l,0,c,0,0,i)}static eq(t,e,n=0,i){null==i&&(i=999999999);let r=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0)),s=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=Nt(r,s),a=new Yt(r,o,0).goto(n),l=new Yt(s,o,0).goto(n);for(;;){if(a.to!=l.to||!Gt(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(t,e,n,i,r=-1){let s=new Yt(t,null,r).goto(e),o=e,a=s.openStart;for(;;){let t=Math.min(s.to,n);if(s.point){let n=s.activeForPoint(s.to),r=s.pointFrom<e?n.length+1:s.point.startSide<0?n.length:Math.min(n.length,a);i.point(o,t,s.point,n,r,s.pointRank),a=Math.min(s.openEnd(t),n.length)}else t>o&&(i.span(o,t,s.active,a),a=s.openEnd(t));if(s.to>n)return a+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(t,e=!1){let n=new It;for(let i of t instanceof Zt?[t]:e?qt(t):t)n.add(i.from,i.to,i.value);return n.finish()}static join(t){if(!t.length)return Wt.empty;let e=t[t.length-1];for(let n=t.length-2;n>=0;n--)for(let i=t[n];i!=Wt.empty;i=i.nextLayer)e=new Wt(i.chunkPos,i.chunk,e,Math.max(i.maxPoint,e.maxPoint));return e}}function qt(t){if(t.length>1)for(let e=t[0],n=1;n<t.length;n++){let i=t[n];if(Vt(e,i)>0)return t.slice().sort(Vt);e=i}return t}Wt.empty=new Wt([],[],null,-1),Wt.empty.nextLayer=Wt.empty;class It{finishChunk(t){this.chunks.push(new Xt(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,e,n){this.addInner(t,e,n)||(this.nextLayer||(this.nextLayer=new It)).add(t,e,n)}addInner(t,e,n){let i=t-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(t-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(e-this.chunkStart),this.last=n,this.lastFrom=t,this.lastTo=e,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,e-t)),!0)}addChunk(t,e){if((t-this.lastTo||e.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint),this.chunks.push(e),this.chunkPos.push(t);let n=e.value.length-1;return this.last=e.value[n],this.lastFrom=e.from[n]+t,this.lastTo=e.to[n]+t,!0}finish(){return this.finishInner(Wt.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return t;let e=Wt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,e}}function Nt(t,e,n){let i=new Map;for(let s of t)for(let t=0;t<s.chunk.length;t++)s.chunk[t].maxPoint<=0&&i.set(s.chunk[t],s.chunkPos[t]);let r=new Set;for(let s of e)for(let t=0;t<s.chunk.length;t++){let e=i.get(s.chunk[t]);null==e||(n?n.mapPos(e):e)!=s.chunkPos[t]||(null===n||void 0===n?void 0:n.touchesRange(e,e+s.chunk[t].length))||r.add(s.chunk[t])}return r}class Lt{constructor(t,e,n,i=0){this.layer=t,this.skip=e,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,e=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(t,e,!1),this}gotoInner(t,e,n){while(this.chunkIndex<this.layer.chunk.length){let e=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(e)||this.layer.chunkEnd(this.chunkIndex)<t||e.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],e,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(t,e){(this.to-t||this.endSide-e)<0&&this.gotoInner(t,e,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let t=this.layer.chunkPos[this.chunkIndex],e=this.layer.chunk[this.chunkIndex],n=t+e.from[this.rangeIndex];if(this.from=n,this.to=t+e.to[this.rangeIndex],this.value=e.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)while(this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]))this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=t}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class Bt{constructor(t){this.heap=t}static from(t,e=null,n=-1){let i=[];for(let r=0;r<t.length;r++)for(let s=t[r];!s.isEmpty;s=s.nextLayer)s.maxPoint>=n&&i.push(new Lt(s,e,n,r));return 1==i.length?i[0]:new Bt(i)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(let n of this.heap)n.goto(t,e);for(let n=this.heap.length>>1;n>=0;n--)Ut(this.heap,n);return this.next(),this}forward(t,e){for(let n of this.heap)n.forward(t,e);for(let n=this.heap.length>>1;n>=0;n--)Ut(this.heap,n);(this.to-t||this.value.endSide-e)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),Ut(this.heap,0)}}}function Ut(t,e){for(let n=t[e];;){let i=1+(e<<1);if(i>=t.length)break;let r=t[i];if(i+1<t.length&&r.compare(t[i+1])>=0&&(r=t[i+1],i++),n.compare(r)<0)break;t[i]=n,t[e]=r,e=i}}class Yt{constructor(t,e,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Bt.from(t,e,n)}goto(t,e=-1e9){return this.cursor.goto(t,e),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=e,this.openStart=-1,this.next(),this}forward(t,e){while(this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-e)<0)this.removeActive(this.minActive);this.cursor.forward(t,e)}removeActive(t){Ht(this.active,t),Ht(this.activeTo,t),Ht(this.activeRank,t),this.minActive=Jt(this.active,this.activeTo)}addActive(t){let e=0,{value:n,to:i,rank:r}=this.cursor;while(e<this.activeRank.length&&(r-this.activeRank[e]||i-this.activeTo[e])>0)e++;Kt(this.active,e,n),Kt(this.activeTo,e,i),Kt(this.activeRank,e,r),t&&Kt(t,e,this.cursor.from),this.minActive=Jt(this.active,this.activeTo)}next(){let t=this.to,e=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>t){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Ht(n,i)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let t=this.cursor.value;if(t.point){if(!(e&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=t,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=t.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}if(n){this.openStart=0;for(let e=n.length-1;e>=0&&n[e]<t;e--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let e=[];for(let n=this.active.length-1;n>=0;n--){if(this.activeRank[n]<this.pointRank)break;(this.activeTo[n]>t||this.activeTo[n]==t&&this.active[n].endSide>=this.point.endSide)&&e.push(this.active[n])}return e.reverse()}openEnd(t){let e=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>t;n--)e++;return e}}function Ft(t,e,n,i,r,s){t.goto(e),n.goto(i);let o=i+r,a=i,l=i-e;for(;;){let e=t.to+l-n.to,i=e||t.endSide-n.endSide,r=i<0?t.to+l:n.to,c=Math.min(r,o);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&Gt(t.activeForPoint(t.to),n.activeForPoint(n.to))||s.comparePoint(a,c,t.point,n.point):c>a&&!Gt(t.active,n.active)&&s.compareRange(a,c,t.active,n.active),r>o)break;(e||t.openEnd!=n.openEnd)&&s.boundChange&&s.boundChange(r),a=r,i<=0&&t.next(),i>=0&&n.next()}}function Gt(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!=e[n]&&!t[n].eq(e[n]))return!1;return!0}function Ht(t,e){for(let n=e,i=t.length-1;n<i;n++)t[n]=t[n+1];t.pop()}function Kt(t,e,n){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=n}function Jt(t,e){let n=-1,i=1e9;for(let r=0;r<e.length;r++)(e[r]-i||t[r].endSide-t[n].endSide)<0&&(n=r,i=e[r]);return n}function te(t,e,n=t.length){let i=0;for(let r=0;r<n&&r<t.length;)9==t.charCodeAt(r)?(i+=e-i%e,r++):(i++,r=k(t,r));return i}function ee(t,e,n,i){for(let r=0,s=0;;){if(s>=e)return r;if(r==t.length)break;s+=9==t.charCodeAt(r)?n-s%n:1,r=k(t,r)}return!0===i?-1:t.length}},47421:(t,e,n)=>{"use strict";n.d(e,{$1:()=>lr,$f:()=>sr,AE:()=>qr,Eu:()=>Gs,Nm:()=>Tt,OO:()=>pe,SJ:()=>Ps,Sd:()=>$s,Uw:()=>wr,W$:()=>Gr,Zs:()=>ns,bF:()=>bs,gB:()=>_s,hJ:()=>ps,l9:()=>dt,lg:()=>me,mH:()=>Ts,p:()=>Ot,qr:()=>Er,tk:()=>Gi,v5:()=>Ms});var i=n(37205),r=n(28699),s=n(33952);function o(t){let e;return e=11==t.nodeType?t.getSelection?t:t.ownerDocument:t,e.getSelection()}function a(t,e){return!!e&&(t==e||t.contains(1!=e.nodeType?e.parentNode:e))}function l(t,e){if(!e.anchorNode)return!1;try{return a(t,e.anchorNode)}catch(n){return!1}}function c(t){return 3==t.nodeType?$(t,0,t.nodeValue.length).getClientRects():1==t.nodeType?t.getClientRects():[]}function u(t,e,n,i){return!!n&&(d(t,e,n,i,-1)||d(t,e,n,i,1))}function h(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function p(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function d(t,e,n,i,r){for(;;){if(t==n&&e==i)return!0;if(e==(r<0?0:f(t))){if("DIV"==t.nodeName)return!1;let n=t.parentNode;if(!n||1!=n.nodeType)return!1;e=h(t)+(r<0?0:1),t=n}else{if(1!=t.nodeType)return!1;if(t=t.childNodes[e+(r<0?-1:0)],1==t.nodeType&&"false"==t.contentEditable)return!1;e=r<0?f(t):0}}}function f(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function O(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}function m(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function g(t,e){let n=e.width/t.offsetWidth,i=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.height-t.offsetHeight)<1)&&(i=1),{scaleX:n,scaleY:i}}function v(t,e,n,i,r,s,o,a){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,h=!1;u&&!h;)if(1==u.nodeType){let t,p=u==l.body,d=1,f=1;if(p)t=m(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(h=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let e=u.getBoundingClientRect();({scaleX:d,scaleY:f}=g(u,e)),t={left:e.left,right:e.left+u.clientWidth*d,top:e.top,bottom:e.top+u.clientHeight*f}}let O=0,v=0;if("nearest"==r)e.top<t.top?(v=e.top-(t.top+o),n>0&&e.bottom>t.bottom+v&&(v=e.bottom-t.bottom+o)):e.bottom>t.bottom&&(v=e.bottom-t.bottom+o,n<0&&e.top-v<t.top&&(v=e.top-(t.top+o)));else{let i=e.bottom-e.top,s=t.bottom-t.top,a="center"==r&&i<=s?e.top+i/2-s/2:"start"==r||"center"==r&&n<0?e.top-o:e.bottom-s+o;v=a-t.top}if("nearest"==i)e.left<t.left?(O=e.left-(t.left+s),n>0&&e.right>t.right+O&&(O=e.right-t.right+s)):e.right>t.right&&(O=e.right-t.right+s,n<0&&e.left<t.left+O&&(O=e.left-(t.left+s)));else{let n="center"==i?e.left+(e.right-e.left)/2-(t.right-t.left)/2:"start"==i==a?e.left-s:e.right-(t.right-t.left)+s;O=n-t.left}if(O||v)if(p)c.scrollBy(O,v);else{let t=0,n=0;if(v){let t=u.scrollTop;u.scrollTop+=v/f,n=(u.scrollTop-t)*f}if(O){let e=u.scrollLeft;u.scrollLeft+=O/d,t=(u.scrollLeft-e)*d}e={left:e.left-t,top:e.top-n,right:e.right-t,bottom:e.bottom-n},t&&Math.abs(t-O)<1&&(i="nearest"),n&&Math.abs(n-v)<1&&(r="nearest")}if(p)break;(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)&&(e={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)}),u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}}function y(t){let e,n,i=t.ownerDocument;for(let r=t.parentNode;r;){if(r==i.body||e&&n)break;if(1==r.nodeType)!n&&r.scrollHeight>r.clientHeight&&(n=r),!e&&r.scrollWidth>r.clientWidth&&(e=r),r=r.assignedSlot||r.parentNode;else{if(11!=r.nodeType)break;r=r.host}}return{x:e,y:n}}class b{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:e,focusNode:n}=t;this.set(e,Math.min(t.anchorOffset,e?f(e):0),n,Math.min(t.focusOffset,n?f(n):0))}set(t,e,n,i){this.anchorNode=t,this.anchorOffset=e,this.focusNode=n,this.focusOffset=i}}let _,x=null;function w(t){if(t.setActive)return t.setActive();if(x)return t.focus(x);let e=[];for(let n=t;n;n=n.parentNode)if(e.push(n,n.scrollTop,n.scrollLeft),n==n.ownerDocument)break;if(t.focus(null==x?{get preventScroll(){return x={preventScroll:!0},!0}}:void 0),!x){x=!1;for(let t=0;t<e.length;){let n=e[t++],i=e[t++],r=e[t++];n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=r&&(n.scrollLeft=r)}}}function $(t,e,n=e){let i=_||(_=document.createRange());return i.setEnd(t,n),i.setStart(t,e),i}function S(t,e,n,i){let r={key:e,code:e,keyCode:n,which:n,cancelable:!0};i&&({altKey:r.altKey,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey}=i);let s=new KeyboardEvent("keydown",r);s.synthetic=!0,t.dispatchEvent(s);let o=new KeyboardEvent("keyup",r);return o.synthetic=!0,t.dispatchEvent(o),s.defaultPrevented||o.defaultPrevented}function k(t){while(t){if(t&&(9==t.nodeType||11==t.nodeType&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function Q(t){while(t.attributes.length)t.removeAttributeNode(t.attributes[0])}function T(t,e){let n=e.focusNode,i=e.focusOffset;if(!n||e.anchorNode!=n||e.anchorOffset!=i)return!1;for(i=Math.min(i,f(n));;)if(i){if(1!=n.nodeType)return!1;let t=n.childNodes[i-1];"false"==t.contentEditable?i--:(n=t,i=f(n))}else{if(n==t)return!0;i=h(n),n=n.parentNode}}function P(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function C(t,e){for(let n=t,i=e;;){if(3==n.nodeType&&i>0)return{node:n,offset:i};if(1==n.nodeType&&i>0){if("false"==n.contentEditable)return null;n=n.childNodes[i-1],i=f(n)}else{if(!n.parentNode||p(n))return null;i=h(n),n=n.parentNode}}}function A(t,e){for(let n=t,i=e;;){if(3==n.nodeType&&i<n.nodeValue.length)return{node:n,offset:i};if(1==n.nodeType&&i<n.childNodes.length){if("false"==n.contentEditable)return null;n=n.childNodes[i],i=0}else{if(!n.parentNode||p(n))return null;i=h(n)+1,n=n.parentNode}}}class E{constructor(t,e,n=!0){this.node=t,this.offset=e,this.precise=n}static before(t,e){return new E(t.parentNode,h(t),e)}static after(t,e){return new E(t.parentNode,h(t)+1,e)}}const R=[];class M{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(t){let e=this.posAtStart;for(let n of this.children){if(n==t)return e;e+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(t){return this.posBefore(t)+t.length}sync(t,e){if(2&this.flags){let n,i=this.dom,r=null;for(let s of this.children){if(7&s.flags){if(!s.dom&&(n=r?r.nextSibling:i.firstChild)){let t=M.get(n);(!t||!t.parent&&t.canReuseDOM(s))&&s.reuseDOM(n)}s.sync(t,e),s.flags&=-8}if(n=r?r.nextSibling:i.firstChild,e&&!e.written&&e.node==i&&n!=s.dom&&(e.written=!0),s.dom.parentNode==i)while(n&&n!=s.dom)n=D(n);else i.insertBefore(s.dom,n);r=s.dom}n=r?r.nextSibling:i.firstChild,n&&e&&e.node==i&&(e.written=!0);while(n)n=D(n)}else if(1&this.flags)for(let n of this.children)7&n.flags&&(n.sync(t,e),n.flags&=-8)}reuseDOM(t){}localPosFromDOM(t,e){let n;if(t==this.dom)n=this.dom.childNodes[e];else{let i=0==f(t)?0:0==e?-1:1;for(;;){let e=t.parentNode;if(e==this.dom)break;0==i&&e.firstChild!=e.lastChild&&(i=t==e.firstChild?-1:1),t=e}n=i<0?t:t.nextSibling}if(n==this.dom.firstChild)return 0;while(n&&!M.get(n))n=n.nextSibling;if(!n)return this.length;for(let i=0,r=0;;i++){let t=this.children[i];if(t.dom==n)return r;r+=t.length+t.breakAfter}}domBoundsAround(t,e,n=0){let i=-1,r=-1,s=-1,o=-1;for(let a=0,l=n,c=n;a<this.children.length;a++){let n=this.children[a],u=l+n.length;if(l<t&&u>e)return n.domBoundsAround(t,e,l);if(u>=t&&-1==i&&(i=a,r=l),l>e&&n.dom.parentNode==this.dom){s=a,o=c;break}c=u,l=u+n.breakAfter}return{from:r,to:o<0?n+this.length:o,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s<this.children.length&&s>=0?this.children[s].dom:null}}markDirty(t=!1){this.flags|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let e=this.parent;e;e=e.parent){if(t&&(e.flags|=2),1&e.flags)return;e.flags|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,7&this.flags&&this.markParentsDirty(!0))}setDOM(t){this.dom!=t&&(this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this)}get rootView(){for(let t=this;;){let e=t.parent;if(!e)return t;t=e}}replaceChildren(t,e,n=R){this.markDirty();for(let i=t;i<e;i++){let t=this.children[i];t.parent==this&&n.indexOf(t)<0&&t.destroy()}n.length<250?this.children.splice(t,e-t,...n):this.children=[].concat(this.children.slice(0,t),n,this.children.slice(e));for(let i=0;i<n.length;i++)n[i].setParent(this)}ignoreMutation(t){return!1}ignoreEvent(t){return!1}childCursor(t=this.length){return new z(this.children,t,this.children.length)}childPos(t,e=1){return this.childCursor().findPos(t,e)}toString(){let t=this.constructor.name.replace("View","");return t+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==t?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(t){return t.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(t,e,n,i,r,s){return!1}become(t){return!1}canReuseDOM(t){return t.constructor==this.constructor&&!(8&(this.flags|t.flags))}getSide(){return 0}destroy(){for(let t of this.children)t.parent==this&&t.destroy();this.parent=null}}function D(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}M.prototype.breakAfter=0;class z{constructor(t,e,n){this.children=t,this.pos=e,this.i=n,this.off=0}findPos(t,e=1){for(;;){if(t>this.pos||t==this.pos&&(e>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function j(t,e,n,i,r,s,o,a,l){let{children:c}=t,u=c.length?c[e]:null,h=s.length?s[s.length-1]:null,p=h?h.breakAfter:o;if(!(e==i&&u&&!o&&!p&&s.length<2&&u.merge(n,r,s.length?h:null,0==n,a,l))){if(i<c.length){let t=c[i];t&&(r<t.length||t.breakAfter&&(null===h||void 0===h?void 0:h.breakAfter))?(e==i&&(t=t.split(r),r=0),!p&&h&&t.merge(0,r,h,!0,0,l)?s[s.length-1]=t:((r||t.children.length&&!t.children[0].length)&&t.merge(0,r,null,!1,0,l),s.push(t))):(null===t||void 0===t?void 0:t.breakAfter)&&(h?h.breakAfter=1:o=1),i++}u&&(u.breakAfter=o,n>0&&(!o&&s.length&&u.merge(n,u.length,s[0],!1,a,0)?u.breakAfter=s.shift().breakAfter:(n<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(n,u.length,null,!1,a,0),e++));while(e<i&&s.length)if(c[i-1].become(s[s.length-1]))i--,s.pop(),l=s.length?0:a;else{if(!c[e].become(s[0]))break;e++,s.shift(),a=s.length?0:l}!s.length&&e&&i<c.length&&!c[e-1].breakAfter&&c[i].merge(0,0,c[e-1],!1,a,l)&&e--,(e<i||s.length)&&t.replaceChildren(e,i,s)}}function Z(t,e,n,i,r,s){let o=t.childCursor(),{i:a,off:l}=o.findPos(n,1),{i:c,off:u}=o.findPos(e,-1),h=e-n;for(let p of i)h+=p.length;t.length+=h,j(t,c,u,a,l,i,0,r,s)}let V="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},X="undefined"!=typeof document?document:{documentElement:{style:{}}};const W=/Edge\/(\d+)/.exec(V.userAgent),q=/MSIE \d/.test(V.userAgent),I=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(V.userAgent),N=!!(q||I||W),L=!N&&/gecko\/(\d+)/i.test(V.userAgent),B=!N&&/Chrome\/(\d+)/.exec(V.userAgent),U="webkitFontSmoothing"in X.documentElement.style,Y=!N&&/Apple Computer/.test(V.vendor),F=Y&&(/Mobile\/\w+/.test(V.userAgent)||V.maxTouchPoints>2);var G={mac:F||/Mac/.test(V.platform),windows:/Win/.test(V.platform),linux:/Linux|X11/.test(V.platform),ie:N,ie_version:q?X.documentMode||6:I?+I[1]:W?+W[1]:0,gecko:L,gecko_version:L?+(/Firefox\/(\d+)/.exec(V.userAgent)||[0,0])[1]:0,chrome:!!B,chrome_version:B?+B[1]:0,ios:F,android:/Android\b/.test(V.userAgent),webkit:U,safari:Y,webkit_version:U?+(/\bAppleWebKit\/(\d+)/.exec(V.userAgent)||[0,0])[1]:0,tabSize:null!=X.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};const H=256;class K extends M{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t,e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){3==t.nodeType&&this.createDOM(t)}merge(t,e,n){return!(8&this.flags||n&&(!(n instanceof K)||this.length-(e-t)+n.length>H||8&n.flags))&&(this.text=this.text.slice(0,t)+(n?n.text:"")+this.text.slice(e),this.markDirty(),!0)}split(t){let e=new K(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),e.flags|=8&this.flags,e}localPosFromDOM(t,e){return t==this.dom?e:e?this.text.length:0}domAtPos(t){return new E(this.dom,t)}domBoundsAround(t,e,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,e){return tt(this.dom,t,e)}}class J extends M{constructor(t,e=[],n=0){super(),this.mark=t,this.children=e,this.length=n;for(let i of e)i.setParent(this)}setAttrs(t){if(Q(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let e in this.mark.attrs)t.setAttribute(e,this.mark.attrs[e]);return t}canReuseDOM(t){return super.canReuseDOM(t)&&!(8&(this.flags|t.flags))}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.flags|=6)}sync(t,e){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t,e)}merge(t,e,n,i,r,s){return(!n||!(!(n instanceof J&&n.mark.eq(this.mark))||t&&r<=0||e<this.length&&s<=0))&&(Z(this,t,e,n?n.children.slice():[],r-1,s-1),this.markDirty(),!0)}split(t){let e=[],n=0,i=-1,r=0;for(let o of this.children){let s=n+o.length;s>t&&e.push(n<t?o.split(t-n):o),i<0&&n>=t&&(i=r),n=s,r++}let s=this.length-t;return this.length=t,i>-1&&(this.children.length=i,this.markDirty()),new J(this.mark,e,s)}domAtPos(t){return it(this,t)}coordsAt(t,e){return st(this,t,e)}}function tt(t,e,n){let i=t.nodeValue.length;e>i&&(e=i);let r=e,s=e,o=0;0==e&&n<0||e==i&&n>=0?G.chrome||G.gecko||(e?(r--,o=1):s<i&&(s++,o=-1)):n<0?r--:s<i&&s++;let a=$(t,r,s).getClientRects();if(!a.length)return null;let l=a[(o?o<0:n>=0)?0:a.length-1];return G.safari&&!o&&0==l.width&&(l=Array.prototype.find.call(a,(t=>t.width))||l),o?O(l,o<0):l||null}class et extends M{static create(t,e,n){return new et(t,e,n)}constructor(t,e,n){super(),this.widget=t,this.length=e,this.side=n,this.prevWidget=null}split(t){let e=et.create(this.widget,this.length-t,this.side);return this.length-=t,e}sync(t){this.dom&&this.widget.updateDOM(this.dom,t)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,e,n,i,r,s){return!(n&&(!(n instanceof et&&this.widget.compare(n.widget))||t>0&&r<=0||e<this.length&&s<=0))&&(this.length=t+(n?n.length:0)+(this.length-e),!0)}become(t){return t instanceof et&&t.side==this.side&&this.widget.constructor==t.widget.constructor&&(this.widget.compare(t.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,!0)}ignoreMutation(){return!0}ignoreEvent(t){return this.widget.ignoreEvent(t)}get overrideDOMText(){if(0==this.length)return i.xv.empty;let t=this;while(t.parent)t=t.parent;let{view:e}=t,n=e&&e.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):i.xv.empty}domAtPos(t){return(this.length?0==t:this.side>0)?E.before(this.dom):E.after(this.dom,t==this.length)}domBoundsAround(){return null}coordsAt(t,e){let n=this.widget.coordsAt(this.dom,t,e);if(n)return n;let i=this.dom.getClientRects(),r=null;if(!i.length)return null;let s=this.side?this.side<0:t>0;for(let o=s?i.length-1:0;;o+=s?-1:1)if(r=i[o],t>0?0==o:o==i.length-1||r.top<r.bottom)break;return O(r,!s)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class nt extends M{constructor(t){super(),this.side=t}get length(){return 0}merge(){return!1}become(t){return t instanceof nt&&t.side==this.side}split(){return new nt(this.side)}sync(){if(!this.dom){let t=document.createElement("img");t.className="cm-widgetBuffer",t.setAttribute("aria-hidden","true"),this.setDOM(t)}}getSide(){return this.side}domAtPos(t){return this.side>0?E.before(this.dom):E.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){return this.dom.getBoundingClientRect()}get overrideDOMText(){return i.xv.empty}get isHidden(){return!0}}function it(t,e){let n=t.dom,{children:i}=t,r=0;for(let s=0;r<i.length;r++){let t=i[r],o=s+t.length;if(!(o==s&&t.getSide()<=0)){if(e>s&&e<o&&t.dom.parentNode==n)return t.domAtPos(e-s);if(e<=s)break;s=o}}for(let s=r;s>0;s--){let t=i[s-1];if(t.dom.parentNode==n)return t.domAtPos(t.length)}for(let s=r;s<i.length;s++){let t=i[s];if(t.dom.parentNode==n)return t.domAtPos(0)}return new E(n,0)}function rt(t,e,n){let i,{children:r}=t;n>0&&e instanceof J&&r.length&&(i=r[r.length-1])instanceof J&&i.mark.eq(e.mark)?rt(i,e.children[0],n-1):(r.push(e),e.setParent(t)),t.length+=e.length}function st(t,e,n){let i=null,r=-1,s=null,o=-1;function a(t,e){for(let l=0,c=0;l<t.children.length&&c<=e;l++){let u=t.children[l],h=c+u.length;h>=e&&(u.children.length?a(u,e-c):(!s||s.isHidden&&(n>0||at(s,u)))&&(h>e||c==h&&u.getSide()>0)?(s=u,o=e-c):(c<e||c==h&&u.getSide()<0&&!u.isHidden)&&(i=u,r=e-c)),c=h}}a(t,e);let l=(n<0?i:s)||i||s;return l?l.coordsAt(Math.max(0,l==i?r:o),n):ot(t)}function ot(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let n=c(e);return n[n.length-1]||null}function at(t,e){let n=t.coordsAt(0,1),i=e.coordsAt(0,1);return n&&i&&i.top<n.bottom}function lt(t,e){for(let n in t)"class"==n&&e.class?e.class+=" "+t.class:"style"==n&&e.style?e.style+=";"+t.style:e[n]=t[n];return e}K.prototype.children=et.prototype.children=nt.prototype.children=R;const ct=Object.create(null);function ut(t,e,n){if(t==e)return!0;t||(t=ct),e||(e=ct);let i=Object.keys(t),r=Object.keys(e);if(i.length-(n&&i.indexOf(n)>-1?1:0)!=r.length-(n&&r.indexOf(n)>-1?1:0))return!1;for(let s of i)if(s!=n&&(-1==r.indexOf(s)||t[s]!==e[s]))return!1;return!0}function ht(t,e,n){let i=!1;if(e)for(let r in e)n&&r in n||(i=!0,"style"==r?t.style.cssText="":t.removeAttribute(r));if(n)for(let r in n)e&&e[r]==n[r]||(i=!0,"style"==r?t.style.cssText=n[r]:t.setAttribute(r,n[r]));return i}function pt(t){let e=Object.create(null);for(let n=0;n<t.attributes.length;n++){let i=t.attributes[n];e[i.name]=i.value}return e}class dt{eq(t){return!1}updateDOM(t,e){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(t){return!0}coordsAt(t,e,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(t){}}var ft=function(t){return t[t["Text"]=0]="Text",t[t["WidgetBefore"]=1]="WidgetBefore",t[t["WidgetAfter"]=2]="WidgetAfter",t[t["WidgetRange"]=3]="WidgetRange",t}(ft||(ft={}));class Ot extends i.uU{constructor(t,e,n,i){super(),this.startSide=t,this.endSide=e,this.widget=n,this.spec=i}get heightRelevant(){return!1}static mark(t){return new mt(t)}static widget(t){let e=Math.max(-1e4,Math.min(1e4,t.side||0)),n=!!t.block;return e+=n&&!t.inlineOrder?e>0?3e8:-4e8:e>0?1e8:-1e8,new vt(t,e,e,n,t.widget||null,!1)}static replace(t){let e,n,i=!!t.block;if(t.isBlockGap)e=-5e8,n=4e8;else{let{start:r,end:s}=yt(t,i);e=(r?i?-3e8:-1:5e8)-1,n=1+(s?i?2e8:1:-6e8)}return new vt(t,e,n,i,t.widget||null,!0)}static line(t){return new gt(t)}static set(t,e=!1){return i.Xs.of(t,e)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}Ot.none=i.Xs.empty;class mt extends Ot{constructor(t){let{start:e,end:n}=yt(t);super(e?-1:5e8,n?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){var e,n;return this==t||t instanceof mt&&this.tagName==t.tagName&&(this.class||(null===(e=this.attrs)||void 0===e?void 0:e.class))==(t.class||(null===(n=t.attrs)||void 0===n?void 0:n.class))&&ut(this.attrs,t.attrs,"class")}range(t,e=t){if(t>=e)throw new RangeError("Mark decorations may not be empty");return super.range(t,e)}}mt.prototype.point=!1;class gt extends Ot{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof gt&&this.spec.class==t.spec.class&&ut(this.spec.attributes,t.spec.attributes)}range(t,e=t){if(e!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,e)}}gt.prototype.mapMode=i.gc.TrackBefore,gt.prototype.point=!0;class vt extends Ot{constructor(t,e,n,r,s,o){super(e,n,s,t),this.block=r,this.isReplace=o,this.mapMode=r?e<=0?i.gc.TrackBefore:i.gc.TrackAfter:i.gc.TrackDel}get type(){return this.startSide!=this.endSide?ft.WidgetRange:this.startSide<=0?ft.WidgetBefore:ft.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof vt&&bt(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&e!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,e)}}function yt(t,e=!1){let{inclusiveStart:n,inclusiveEnd:i}=t;return null==n&&(n=t.inclusive),null==i&&(i=t.inclusive),{start:null!==n&&void 0!==n?n:e,end:null!==i&&void 0!==i?i:e}}function bt(t,e){return t==e||!!(t&&e&&t.compare(e))}function _t(t,e,n,i=0){let r=n.length-1;r>=0&&n[r]+i>=t?n[r]=Math.max(n[r],e):n.push(t,e)}vt.prototype.point=!0;class xt extends M{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,e,n,i,r,s){if(n){if(!(n instanceof xt))return!1;this.dom||n.transferDOM(this)}return i&&this.setDeco(n?n.attrs:null),Z(this,t,e,n?n.children.slice():[],r,s),!0}split(t){let e=new xt;if(e.breakAfter=this.breakAfter,0==this.length)return e;let{i:n,off:i}=this.childPos(t);i&&(e.append(this.children[n].split(i),0),this.children[n].merge(i,this.children[n].length,null,!1,0,0),n++);for(let r=n;r<this.children.length;r++)e.append(this.children[r],0);while(n>0&&0==this.children[n-1].length)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=t,e}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){ut(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,e){rt(this,t,e)}addLineDeco(t){let e=t.spec.attributes,n=t.spec.class;e&&(this.attrs=lt(e,this.attrs||{})),n&&(this.attrs=lt({class:n},this.attrs||{}))}domAtPos(t){return it(this,t)}reuseDOM(t){"DIV"==t.nodeName&&(this.setDOM(t),this.flags|=6)}sync(t,e){var n;this.dom?4&this.flags&&(Q(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(ht(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t,e);let i=this.dom.lastChild;while(i&&M.get(i)instanceof J)i=i.lastChild;if(!i||!this.length||"BR"!=i.nodeName&&0==(null===(n=M.get(i))||void 0===n?void 0:n.isEditable)&&(!G.ios||!this.children.some((t=>t instanceof K)))){let t=document.createElement("BR");t.cmIgnore=!0,this.dom.appendChild(t)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let t,e=0;for(let n of this.children){if(!(n instanceof K)||/[^ -~]/.test(n.text))return null;let i=c(n.dom);if(1!=i.length)return null;e+=i[0].width,t=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(t,e){let n=st(this,t,e);if(!this.children.length&&n&&this.parent){let{heightOracle:t}=this.parent.view.viewState,e=n.bottom-n.top;if(Math.abs(e-t.lineHeight)<2&&t.textHeight<e){let i=(e-t.textHeight)/2;return{top:n.top+i,bottom:n.bottom-i,left:n.left,right:n.left}}}return n}become(t){return t instanceof xt&&0==this.children.length&&0==t.children.length&&ut(this.attrs,t.attrs)&&this.breakAfter==t.breakAfter}covers(){return!0}static find(t,e){for(let n=0,i=0;n<t.children.length;n++){let r=t.children[n],s=i+r.length;if(s>=e){if(r instanceof xt)return r;if(s>e)break}i=s+r.breakAfter}return null}}class wt extends M{constructor(t,e,n){super(),this.widget=t,this.length=e,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(t,e,n,i,r,s){return!(n&&(!(n instanceof wt&&this.widget.compare(n.widget))||t>0&&r<=0||e<this.length&&s<=0))&&(this.length=t+(n?n.length:0)+(this.length-e),!0)}domAtPos(t){return 0==t?E.before(this.dom):E.after(this.dom,t==this.length)}split(t){let e=this.length-t;this.length=t;let n=new wt(this.widget,e,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return R}sync(t){this.dom&&this.widget.updateDOM(this.dom,t)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):i.xv.empty}domBoundsAround(){return null}become(t){return t instanceof wt&&t.widget.constructor==this.widget.constructor&&(t.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,this.deco=t.deco,this.breakAfter=t.breakAfter,!0)}ignoreMutation(){return!0}ignoreEvent(t){return this.widget.ignoreEvent(t)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(t,e){let n=this.widget.coordsAt(this.dom,t,e);return n||(this.widget instanceof $t?null:O(this.dom.getBoundingClientRect(),this.length?0==t:e<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(t){let{startSide:e,endSide:n}=this.deco;return e!=n&&(t<0?e<0:n>0)}}class $t extends dt{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class St{constructor(t,e,n,i){this.doc=t,this.pos=e,this.end=n,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=e}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let t=this.content[this.content.length-1];return!(t.breakAfter||t instanceof wt&&t.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new xt),this.atCursorPos=!0),this.curLine}flushBuffer(t=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(kt(new nt(-1),t),t.length),this.pendingBuffer=0)}addBlockWidget(t){this.flushBuffer(),this.curLine=null,this.content.push(t)}finish(t){this.pendingBuffer&&t<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||t&&this.content.length&&this.content[this.content.length-1]instanceof wt||this.getLine()}buildText(t,e,n){while(t>0){if(this.textOff==this.text.length){let{value:e,lineBreak:n,done:i}=this.cursor.next(this.skip);if(this.skip=0,i)throw new Error("Ran out of text content when drawing inline views");if(n){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,t--;continue}this.text=e,this.textOff=0}let i=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(e.slice(e.length-n)),this.getLine().append(kt(new K(this.text.slice(this.textOff,this.textOff+i)),e),n),this.atCursorPos=!0,this.textOff+=i,t-=i,n=0}}span(t,e,n,i){this.buildText(e-t,n,i),this.pos=e,this.openStart<0&&(this.openStart=i)}point(t,e,n,i,r,s){if(this.disallowBlockEffectsFor[s]&&n instanceof vt){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(e>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=e-t;if(n instanceof vt)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new wt(n.widget||Qt.block,o,n));else{let s=et.create(n.widget||Qt.inline,o,o?0:n.startSide),a=this.atCursorPos&&!s.isEditable&&r<=i.length&&(t<e||n.startSide>0),l=!s.isEditable&&(t<e||r>i.length||n.startSide<=0),c=this.getLine();2!=this.pendingBuffer||a||s.isEditable||(this.pendingBuffer=0),this.flushBuffer(i),a&&(c.append(kt(new nt(1),i),r),r=i.length+Math.max(0,r-i.length)),c.append(kt(s,i),r),this.atCursorPos=l,this.pendingBuffer=l?t<e||r>i.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=e),this.openStart<0&&(this.openStart=r)}static build(t,e,n,r,s){let o=new St(t,e,n,s);return o.openEnd=i.Xs.spans(r,e,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function kt(t,e){for(let n of e)t=new J(n,[t],t.length);return t}class Qt extends dt{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}Qt.inline=new Qt("span"),Qt.block=new Qt("div");var Tt=function(t){return t[t["LTR"]=0]="LTR",t[t["RTL"]=1]="RTL",t}(Tt||(Tt={}));const Pt=Tt.LTR,Ct=Tt.RTL;function At(t){let e=[];for(let n=0;n<t.length;n++)e.push(1<<+t[n]);return e}const Et=At("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Rt=At("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Mt=Object.create(null),Dt=[];for(let Ks of["()","[]","{}"]){let t=Ks.charCodeAt(0),e=Ks.charCodeAt(1);Mt[t]=e,Mt[e]=-t}function zt(t){return t<=247?Et[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?Rt[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}const jt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Zt{get dir(){return this.level%2?Ct:Pt}constructor(t,e,n){this.from=t,this.to=e,this.level=n}side(t,e){return this.dir==e==t?this.to:this.from}forward(t,e){return t==(this.dir==e)}static find(t,e,n,i){let r=-1;for(let s=0;s<t.length;s++){let o=t[s];if(o.from<=e&&o.to>=e){if(o.level==n)return s;(r<0||(0!=i?i<0?o.from<e:o.to>e:t[r].level>o.level))&&(r=s)}}if(r<0)throw new RangeError("Index out of range");return r}}function Vt(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++){let i=t[n],r=e[n];if(i.from!=r.from||i.to!=r.to||i.direction!=r.direction||!Vt(i.inner,r.inner))return!1}return!0}const Xt=[];function Wt(t,e,n,i,r){for(let s=0;s<=i.length;s++){let o=s?i[s-1].to:e,a=s<i.length?i[s].from:n,l=s?256:r;for(let e=o,n=l,i=l;e<a;e++){let r=zt(t.charCodeAt(e));512==r?r=n:8==r&&4==i&&(r=16),Xt[e]=4==r?2:r,7&r&&(i=r),n=r}for(let t=o,e=l,i=l;t<a;t++){let r=Xt[t];if(128==r)t<a-1&&e==Xt[t+1]&&24&e?r=Xt[t]=e:Xt[t]=256;else if(64==r){let r=t+1;while(r<a&&64==Xt[r])r++;let s=t&&8==e||r<n&&8==Xt[r]?1==i?1:8:256;for(let e=t;e<r;e++)Xt[e]=s;t=r-1}else 8==r&&1==i&&(Xt[t]=1);e=r,7&r&&(i=r)}}}function qt(t,e,n,i,r){let s=1==r?2:1;for(let o=0,a=0,l=0;o<=i.length;o++){let c=o?i[o-1].to:e,u=o<i.length?i[o].from:n;for(let e,n,i,o=c;o<u;o++)if(n=Mt[e=t.charCodeAt(o)])if(n<0){for(let t=a-3;t>=0;t-=3)if(Dt[t+1]==-n){let e=Dt[t+2],n=2&e?r:4&e?1&e?s:r:0;n&&(Xt[o]=Xt[Dt[t]]=n),a=t;break}}else{if(189==Dt.length)break;Dt[a++]=o,Dt[a++]=e,Dt[a++]=l}else if(2==(i=Xt[o])||1==i){let t=i==r;l=t?0:1;for(let e=a-3;e>=0;e-=3){let n=Dt[e+2];if(2&n)break;if(t)Dt[e+2]|=2;else{if(4&n)break;Dt[e+2]|=4}}}}}function It(t,e,n,i){for(let r=0,s=i;r<=n.length;r++){let o=r?n[r-1].to:t,a=r<n.length?n[r].from:e;for(let l=o;l<a;){let o=Xt[l];if(256==o){let o=l+1;for(;;)if(o==a){if(r==n.length)break;o=n[r++].to,a=r<n.length?n[r].from:e}else{if(256!=Xt[o])break;o++}let c=1==s,u=1==(o<e?Xt[o]:i),h=c==u?c?1:2:i;for(let e=o,i=r,s=i?n[i-1].to:t;e>l;)e==s&&(e=n[--i].from,s=i?n[i-1].to:t),Xt[--e]=h;l=o}else s=o,l++}}}function Nt(t,e,n,i,r,s,o){let a=i%2?2:1;if(i%2==r%2)for(let l=e,c=0;l<n;){let e=!0,u=!1;if(c==s.length||l<s[c].from){let t=Xt[l];t!=a&&(e=!1,u=16==t)}let h=e||1!=a?null:[],p=e?i:i+1,d=l;t:for(;;)if(c<s.length&&d==s[c].from){if(u)break t;let f=s[c];if(!e)for(let t=f.to,e=c+1;;){if(t==n)break t;if(!(e<s.length&&s[e].from==t)){if(Xt[t]==a)break t;break}t=s[e++].to}if(c++,h)h.push(f);else{f.from>l&&o.push(new Zt(l,f.from,p));let e=f.direction==Pt!=!(p%2);Lt(t,e?i+1:i,r,f.inner,f.from,f.to,o),l=f.to}d=f.to}else{if(d==n||(e?Xt[d]!=a:Xt[d]==a))break;d++}h?Nt(t,l,d,i+1,r,h,o):l<d&&o.push(new Zt(l,d,p)),l=d}else for(let l=n,c=s.length;l>e;){let n=!0,u=!1;if(!c||l>s[c-1].to){let t=Xt[l-1];t!=a&&(n=!1,u=16==t)}let h=n||1!=a?null:[],p=n?i:i+1,d=l;t:for(;;)if(c&&d==s[c-1].to){if(u)break t;let f=s[--c];if(!n)for(let t=f.from,n=c;;){if(t==e)break t;if(!n||s[n-1].to!=t){if(Xt[t-1]==a)break t;break}t=s[--n].from}if(h)h.push(f);else{f.to<l&&o.push(new Zt(f.to,l,p));let e=f.direction==Pt!=!(p%2);Lt(t,e?i+1:i,r,f.inner,f.from,f.to,o),l=f.from}d=f.from}else{if(d==e||(n?Xt[d-1]!=a:Xt[d-1]==a))break;d--}h?Nt(t,d,l,i+1,r,h,o):d<l&&o.push(new Zt(d,l,p)),l=d}}function Lt(t,e,n,i,r,s,o){let a=e%2?2:1;Wt(t,r,s,i,a),qt(t,r,s,i,a),It(r,s,i,a),Nt(t,r,s,e,n,i,o)}function Bt(t,e,n){if(!t)return[new Zt(0,0,e==Ct?1:0)];if(e==Pt&&!n.length&&!jt.test(t))return Ut(t.length);if(n.length)while(t.length>Xt.length)Xt[Xt.length]=256;let i=[],r=e==Pt?0:1;return Lt(t,r,r,n,0,t.length,i),i}function Ut(t){return[new Zt(0,t,0)]}let Yt="";function Ft(t,e,n,r,s){var o;let a=r.head-t.from,l=Zt.find(e,a,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc),c=e[l],u=c.side(s,n);if(a==u){let t=l+=s?1:-1;if(t<0||t>=e.length)return null;c=e[l=t],a=c.side(!s,n),u=c.side(s,n)}let h=(0,i.cp)(t.text,a,c.forward(s,n));(h<c.from||h>c.to)&&(h=u),Yt=t.text.slice(Math.min(a,h),Math.max(a,h));let p=l==(s?e.length-1:0)?null:e[l+(s?1:-1)];return p&&h==u&&p.level+(s?0:1)<c.level?i.jT.cursor(p.side(!s,n)+t.from,p.forward(s,n)?1:-1,p.level):i.jT.cursor(h+t.from,c.forward(s,n)?-1:1,c.level)}function Gt(t,e,n){for(let i=e;i<n;i++){let e=zt(t.charCodeAt(i));if(1==e)return Pt;if(2==e||4==e)return Ct}return Pt}const Ht=i.r$.define(),Kt=i.r$.define(),Jt=i.r$.define(),te=i.r$.define(),ee=i.r$.define(),ne=i.r$.define(),ie=i.r$.define(),re=i.r$.define(),se=i.r$.define(),oe=i.r$.define({combine:t=>t.some((t=>t))}),ae=i.r$.define({combine:t=>t.some((t=>t))}),le=i.r$.define();class ce{constructor(t,e="nearest",n="nearest",i=5,r=5,s=!1){this.range=t,this.y=e,this.x=n,this.yMargin=i,this.xMargin=r,this.isSnapshot=s}map(t){return t.empty?this:new ce(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new ce(i.jT.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const ue=i.Py.define({map:(t,e)=>t.map(e)}),he=i.Py.define();function pe(t,e,n){let i=t.facet(te);i.length?i[0](e):window.onerror&&window.onerror(String(e),n,void 0,void 0,e)||(n?console.error(n+":",e):console.error(e))}const de=i.r$.define({combine:t=>!t.length||t[0]});let fe=0;const Oe=i.r$.define({combine(t){return t.filter(((e,n)=>{for(let i=0;i<n;i++)if(t[i].plugin==e.plugin)return!1;return!0}))}});class me{constructor(t,e,n,i,r){this.id=t,this.create=e,this.domEventHandlers=n,this.domEventObservers=i,this.baseExtensions=r(this),this.extension=this.baseExtensions.concat(Oe.of({plugin:this,arg:void 0}))}of(t){return this.baseExtensions.concat(Oe.of({plugin:this,arg:t}))}static define(t,e){const{eventHandlers:n,eventObservers:i,provide:r,decorations:s}=e||{};return new me(fe++,t,n,i,(t=>{let e=[];return s&&e.push(be.of((e=>{let n=e.plugin(t);return n?s(n):Ot.none}))),r&&e.push(r(t)),e}))}static fromClass(t,e){return me.define(((e,n)=>new t(e,n)),e)}}class ge{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(t){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(e){if(pe(t.state,e,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(n){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(t,this.spec.arg)}catch(e){pe(t.state,e,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var e;if(null===(e=this.value)||void 0===e?void 0:e.destroy)try{this.value.destroy()}catch(n){pe(t.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const ve=i.r$.define(),ye=i.r$.define(),be=i.r$.define(),_e=i.r$.define(),xe=i.r$.define(),we=i.r$.define();function $e(t,e){let n=t.state.facet(we);if(!n.length)return n;let r=n.map((e=>e instanceof Function?e(t):e)),s=[];return i.Xs.spans(r,e.from,e.to,{point(){},span(t,n,i,r){let o=t-e.from,a=n-e.from,l=s;for(let s=i.length-1;s>=0;s--,r--){let t,n=i[s].spec.bidiIsolate;if(null==n&&(n=Gt(e.text,o,a)),r>0&&l.length&&(t=l[l.length-1]).to==o&&t.direction==n)t.to=a,l=t.inner;else{let t={from:o,to:a,direction:n,inner:[]};l.push(t),l=t.inner}}}}),s}const Se=i.r$.define();function ke(t){let e=0,n=0,i=0,r=0;for(let s of t.state.facet(Se)){let o=s(t);o&&(null!=o.left&&(e=Math.max(e,o.left)),null!=o.right&&(n=Math.max(n,o.right)),null!=o.top&&(i=Math.max(i,o.top)),null!=o.bottom&&(r=Math.max(r,o.bottom)))}return{left:e,right:n,top:i,bottom:r}}const Qe=i.r$.define();class Te{constructor(t,e,n,i){this.fromA=t,this.toA=e,this.fromB=n,this.toB=i}join(t){return new Te(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,n=this;for(;e>0;e--){let i=t[e-1];if(!(i.fromA>n.toA)){if(i.toA<n.fromA)break;n=n.join(i),t.splice(e-1,1)}}return t.splice(e,0,n),t}static extendWithRanges(t,e){if(0==e.length)return t;let n=[];for(let i=0,r=0,s=0,o=0;;i++){let a=i==t.length?null:t[i],l=s-o,c=a?a.fromB:1e9;while(r<e.length&&e[r]<c){let t=e[r],i=e[r+1],s=Math.max(o,t),a=Math.min(c,i);if(s<=a&&new Te(s+l,a+l,s,a).addToSet(n),i>c)break;r+=2}if(!a)return n;new Te(a.fromA,a.toA,a.fromB,a.toB).addToSet(n),s=a.toA,o=a.toB}}}class Pe{constructor(t,e,n){this.view=t,this.state=e,this.transactions=n,this.flags=0,this.startState=t.state,this.changes=i.as.empty(this.startState.doc.length);for(let i of n)this.changes=this.changes.compose(i.changes);let r=[];this.changes.iterChangedRanges(((t,e,n,i)=>r.push(new Te(t,e,n,i)))),this.changedRanges=r}static create(t,e,n){return new Pe(t,e,n)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some((t=>t.selection))}get empty(){return 0==this.flags&&0==this.transactions.length}}class Ce extends M{get length(){return this.view.state.doc.length}constructor(t){super(),this.view=t,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=Ot.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new xt],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Te(0,0,0,t.state.doc.length)],0,null)}update(t){var e;let n=t.changedRanges;this.minWidth>0&&n.length&&(n.every((({fromA:t,toA:e})=>e<this.minWidthFrom||t>this.minWidthTo))?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(e=this.domChanged)||void 0===e?void 0:e.newSel)?i=this.domChanged.newSel.head:Ze(t.changes,this.hasComposition)||t.selectionSet||(i=t.state.selection.main.head));let r=i>-1?Re(this.view,t.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:e,to:i}=this.hasComposition;n=new Te(e,i,t.changes.mapPos(e,-1),t.changes.mapPos(i,1)).addToSet(n.slice())}this.hasComposition=r?{from:r.range.fromB,to:r.range.toB}:null,(G.ie||G.chrome)&&!r&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,o=this.updateDeco(),a=ze(s,o,t.changes);return n=Te.extendWithRanges(n,a),!!(7&this.flags||0!=n.length)&&(this.updateInner(n,t.startState.doc.length,r),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,e,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,e,n);let{observer:i}=this.view;i.ignore((()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let t=G.chrome||G.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,t),this.flags&=-8,t&&(t.written||i.selectionRange.focusNode!=t.node)&&(this.forceSelection=!0),this.dom.style.height=""})),this.markedForComposition.forEach((t=>t.flags&=-9));let r=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.children)s instanceof wt&&s.widget instanceof $t&&r.push(s.dom);i.updateGaps(r)}updateChildren(t,e,n){let i=n?n.range.addToSet(t.slice()):t,r=this.childCursor(e);for(let s=i.length-1;;s--){let t=s>=0?i[s]:null;if(!t)break;let e,o,a,l,{fromA:c,toA:u,fromB:h,toB:p}=t;if(n&&n.range.fromB<p&&n.range.toB>h){let t=St.build(this.view.state.doc,h,n.range.fromB,this.decorations,this.dynamicDecorationMap),i=St.build(this.view.state.doc,n.range.toB,p,this.decorations,this.dynamicDecorationMap);o=t.breakAtStart,a=t.openStart,l=i.openEnd;let r=this.compositionView(n);i.breakAtStart?r.breakAfter=1:i.content.length&&r.merge(r.length,r.length,i.content[0],!1,i.openStart,0)&&(r.breakAfter=i.content[0].breakAfter,i.content.shift()),t.content.length&&r.merge(0,0,t.content[t.content.length-1],!0,0,t.openEnd)&&t.content.pop(),e=t.content.concat(r).concat(i.content)}else({content:e,breakAtStart:o,openStart:a,openEnd:l}=St.build(this.view.state.doc,h,p,this.decorations,this.dynamicDecorationMap));let{i:d,off:f}=r.findPos(u,1),{i:O,off:m}=r.findPos(c,-1);j(this,O,m,d,f,e,o,a,l)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(t){this.editContextFormatting=this.editContextFormatting.map(t.changes);for(let e of t.transactions)for(let t of e.effects)t.is(he)&&(this.editContextFormatting=t.value)}compositionView(t){let e=new K(t.text.nodeValue);e.flags|=8;for(let{deco:i}of t.marks)e=new J(i,[e],e.length);let n=new xt;return n.append(e,0),n}fixCompositionDOM(t){let e=(t,e)=>{e.flags|=8|(e.children.some((t=>7&t.flags))?1:0),this.markedForComposition.add(e);let n=M.get(t);n&&n!=e&&(n.dom=null),e.setDOM(t)},n=this.childPos(t.range.fromB,1),i=this.children[n.i];e(t.line,i);for(let r=t.marks.length-1;r>=-1;r--)n=i.childPos(n.off,1),i=i.children[n.i],e(r>=0?t.marks[r].node:t.text,i)}updateSelection(t=!1,e=!1){!t&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let n=this.view.root.activeElement,i=n==this.dom,r=!i&&!(this.view.state.facet(de)||this.dom.tabIndex>-1)&&l(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(i||e||r))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,c=this.moveToLine(this.domAtPos(a.anchor)),h=a.empty?c:this.moveToLine(this.domAtPos(a.head));if(G.gecko&&a.empty&&!this.hasComposition&&Ae(c)){let t=document.createTextNode("");this.view.observer.ignore((()=>c.node.insertBefore(t,c.node.childNodes[c.offset]||null))),c=h=new E(t,0),s=!0}let p=this.view.observer.selectionRange;!s&&p.focusNode&&(u(c.node,c.offset,p.anchorNode,p.anchorOffset)&&u(h.node,h.offset,p.focusNode,p.focusOffset)||this.suppressWidgetCursorChange(p,a))||(this.view.observer.ignore((()=>{G.android&&G.chrome&&this.dom.contains(p.focusNode)&&je(p.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let t=o(this.view.root);if(t)if(a.empty){if(G.gecko){let t=Me(c.node,c.offset);if(t&&3!=t){let e=(1==t?C:A)(c.node,c.offset);e&&(c=new E(e.node,e.offset))}}t.collapse(c.node,c.offset),null!=a.bidiLevel&&void 0!==t.caretBidiLevel&&(t.caretBidiLevel=a.bidiLevel)}else if(t.extend){t.collapse(c.node,c.offset);try{t.extend(h.node,h.offset)}catch(e){}}else{let e=document.createRange();a.anchor>a.head&&([c,h]=[h,c]),e.setEnd(h.node,h.offset),e.setStart(c.node,c.offset),t.removeAllRanges(),t.addRange(e)}else;r&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())})),this.view.observer.setSelectionRange(c,h)),this.impreciseAnchor=c.precise?null:new E(p.anchorNode,p.anchorOffset),this.impreciseHead=h.precise?null:new E(p.focusNode,p.focusOffset)}suppressWidgetCursorChange(t,e){return this.hasComposition&&e.empty&&u(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==e.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,e=t.state.selection.main,n=o(t.root),{anchorNode:i,anchorOffset:r}=t.observer.selectionRange;if(!n||!e.empty||!e.assoc||!n.modify)return;let s=xt.find(this,e.head);if(!s)return;let a=s.posAtStart;if(e.head==a||e.head==a+s.length)return;let l=this.coordsAt(e.head,-1),c=this.coordsAt(e.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(e.head+e.assoc);n.collapse(u.node,u.offset),n.modify("move",e.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let h=t.observer.selectionRange;t.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=e.from&&n.collapse(i,r)}moveToLine(t){let e,n=this.dom;if(t.node!=n)return t;for(let i=t.offset;!e&&i<n.childNodes.length;i++){let t=M.get(n.childNodes[i]);t instanceof xt&&(e=t.domAtPos(0))}for(let i=t.offset-1;!e&&i>=0;i--){let t=M.get(n.childNodes[i]);t instanceof xt&&(e=t.domAtPos(t.length))}return e?new E(e.node,e.offset,!0):t}nearest(t){for(let e=t;e;){let t=M.get(e);if(t&&t.rootView==this)return t;e=e.parentNode}return null}posFromDOM(t,e){let n=this.nearest(t);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(t,e)+n.posAtStart}domAtPos(t){let{i:e,off:n}=this.childCursor().findPos(t,-1);for(;e<this.children.length-1;){let t=this.children[e];if(n<t.length||t instanceof xt)break;e++,n=0}return this.children[e].domAtPos(n)}coordsAt(t,e){let n=null,i=0;for(let r=this.length,s=this.children.length-1;s>=0;s--){let o=this.children[s],a=r-o.breakAfter,l=a-o.length;if(a<t)break;if(l<=t&&(l<t||o.covers(-1))&&(a>t||o.covers(1))&&(!n||o instanceof xt&&!(n instanceof xt&&e>=0)))n=o,i=l;else if(n&&l==t&&a==t&&o instanceof wt&&Math.abs(e)<2){if(o.deco.startSide<0)break;s&&(n=null)}r=l}return n?n.coordsAt(t-i,e):null}coordsForChar(t){let{i:e,off:n}=this.childPos(t,1),r=this.children[e];if(!(r instanceof xt))return null;while(r.children.length){let{i:t,off:e}=r.childPos(n,1);for(;;t++){if(t==r.children.length)return null;if((r=r.children[t]).length)break}n=e}if(!(r instanceof K))return null;let s=(0,i.cp)(r.text,n);if(s==n)return null;let o=$(r.dom,n,s).getClientRects();for(let i=0;i<o.length;i++){let t=o[i];if(i==o.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(t){let e=[],{from:n,to:i}=t,r=this.view.contentDOM.clientWidth,s=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,a=this.view.textDirection==Tt.LTR;for(let l=0,u=0;u<this.children.length;u++){let t=this.children[u],h=l+t.length;if(h>i)break;if(l>=n){let n=t.dom.getBoundingClientRect();if(e.push(n.height),s){let e=t.dom.lastChild,i=e?c(e):[];if(i.length){let t=i[i.length-1],e=a?t.right-n.left:n.right-t.left;e>o&&(o=e,this.minWidth=r,this.minWidthFrom=l,this.minWidthTo=h)}}}l=h+t.breakAfter}return e}textDirectionAt(t){let{i:e}=this.childPos(t,1);return"rtl"==getComputedStyle(this.children[e].dom).direction?Tt.RTL:Tt.LTR}measureTextSize(){for(let r of this.children)if(r instanceof xt){let t=r.measureTextSize();if(t)return t}let t,e,n,i=document.createElement("div");return i.className="cm-line",i.style.width="99999px",i.style.position="absolute",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{this.dom.appendChild(i);let r=c(i.firstChild)[0];t=i.getBoundingClientRect().height,e=r?r.width/27:7,n=r?r.height:t,i.remove()})),{lineHeight:t,charWidth:e,textHeight:n}}childCursor(t=this.length){let e=this.children.length;return e&&(t-=this.children[--e].length),new z(this.children,t,e)}computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let n=0,i=0;;i++){let r=i==e.viewports.length?null:e.viewports[i],s=r?r.from-1:this.length;if(s>n){let i=(e.lineBlockAt(s).bottom-e.lineBlockAt(n).top)/this.view.scaleY;t.push(Ot.replace({widget:new $t(i),block:!0,inclusive:!0,isBlockGap:!0}).range(n,s))}if(!r)break;n=r.to+1}return Ot.set(t)}updateDeco(){let t=1,e=this.view.state.facet(be).map((e=>{let n=this.dynamicDecorationMap[t++]="function"==typeof e;return n?e(this.view):e})),n=!1,r=this.view.state.facet(_e).map(((t,e)=>{let i="function"==typeof t;return i&&(n=!0),i?t(this.view):t}));r.length&&(this.dynamicDecorationMap[t++]=n,e.push(i.Xs.join(r))),this.decorations=[this.editContextFormatting,...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];while(t<this.decorations.length)this.dynamicDecorationMap[t++]=!1;return this.decorations}scrollIntoView(t){if(t.isSnapshot){let e=this.view.viewState.lineBlockAt(t.range.head);return this.view.scrollDOM.scrollTop=e.top-t.yMargin,void(this.view.scrollDOM.scrollLeft=t.xMargin)}for(let c of this.view.state.facet(le))try{if(c(this.view,t.range,t))return!0}catch(l){pe(this.view.state,l,"scroll handler")}let e,{range:n}=t,i=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1);if(!i)return;!n.empty&&(e=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(i={left:Math.min(i.left,e.left),top:Math.min(i.top,e.top),right:Math.max(i.right,e.right),bottom:Math.max(i.bottom,e.bottom)});let r=ke(this.view),s={left:i.left-r.left,top:i.top-r.top,right:i.right+r.right,bottom:i.bottom+r.bottom},{offsetWidth:o,offsetHeight:a}=this.view.scrollDOM;v(this.view.scrollDOM,s,n.head<n.anchor?-1:1,t.x,t.y,Math.max(Math.min(t.xMargin,o),-o),Math.max(Math.min(t.yMargin,a),-a),this.view.textDirection==Tt.LTR)}}function Ae(t){return 1==t.node.nodeType&&t.node.firstChild&&(0==t.offset||"false"==t.node.childNodes[t.offset-1].contentEditable)&&(t.offset==t.node.childNodes.length||"false"==t.node.childNodes[t.offset].contentEditable)}function Ee(t,e){let n=t.observer.selectionRange;if(!n.focusNode)return null;let i=C(n.focusNode,n.focusOffset),r=A(n.focusNode,n.focusOffset),s=i||r;if(r&&i&&r.node!=i.node){let e=M.get(r.node);if(!e||e instanceof K&&e.text!=r.node.nodeValue)s=r;else if(t.docView.lastCompositionAfterCursor){let t=M.get(i.node);!t||t instanceof K&&t.text!=i.node.nodeValue||(s=r)}}if(t.docView.lastCompositionAfterCursor=s!=i,!s)return null;let o=e-s.offset;return{from:o,to:o+s.node.nodeValue.length,node:s.node}}function Re(t,e,n){let i=Ee(t,n);if(!i)return null;let{node:r,from:s,to:o}=i,a=r.nodeValue;if(/[\n\r]/.test(a))return null;if(t.state.doc.sliceString(i.from,i.to)!=a)return null;let l=e.invertedDesc,c=new Te(l.mapPos(s),l.mapPos(o),s,o),u=[];for(let h=r.parentNode;;h=h.parentNode){let e=M.get(h);if(e instanceof J)u.push({node:h,deco:e.mark});else{if(e instanceof xt||"DIV"==h.nodeName&&h.parentNode==t.contentDOM)return{range:c,text:r,marks:u,line:h};if(h==t.contentDOM)return null;u.push({node:h,deco:new mt({inclusive:!0,attributes:pt(h),tagName:h.tagName.toLowerCase()})})}}}function Me(t,e){return 1!=t.nodeType?0:(e&&"false"==t.childNodes[e-1].contentEditable?1:0)|(e<t.childNodes.length&&"false"==t.childNodes[e].contentEditable?2:0)}let De=class{constructor(){this.changes=[]}compareRange(t,e){_t(t,e,this.changes)}comparePoint(t,e){_t(t,e,this.changes)}boundChange(t){_t(t,t,this.changes)}};function ze(t,e,n){let r=new De;return i.Xs.compare(t,e,n,r),r.changes}function je(t,e){for(let n=t;n&&n!=e;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}function Ze(t,e){let n=!1;return e&&t.iterChangedRanges(((t,i)=>{t<e.to&&i>e.from&&(n=!0)})),n}function Ve(t,e,n=1){let r=t.charCategorizer(e),s=t.doc.lineAt(e),o=e-s.from;if(0==s.length)return i.jT.cursor(e);0==o?n=1:o==s.length&&(n=-1);let a=o,l=o;n<0?a=(0,i.cp)(s.text,o,!1):l=(0,i.cp)(s.text,o);let c=r(s.text.slice(a,l));while(a>0){let t=(0,i.cp)(s.text,a,!1);if(r(s.text.slice(t,a))!=c)break;a=t}while(l<s.length){let t=(0,i.cp)(s.text,l);if(r(s.text.slice(l,t))!=c)break;l=t}return i.jT.range(a+s.from,l+s.from)}function Xe(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function We(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function qe(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function Ie(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function Ne(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Le(t,e,n){let i,r,s,o,a,l,u,h,p=!1;for(let O=t.firstChild;O;O=O.nextSibling){let t=c(O);for(let c=0;c<t.length;c++){let d=t[c];r&&qe(r,d)&&(d=Ie(Ne(d,r.bottom),r.top));let f=Xe(e,d),m=We(n,d);if(0==f&&0==m)return 3==O.nodeType?Be(O,e,n):Le(O,e,n);(!i||o>m||o==m&&s>f)&&(i=O,r=d,s=f,o=m,p=!f||(e<d.left?c>0:c<t.length-1)),0==f?n>d.bottom&&(!u||u.bottom<d.bottom)?(a=O,u=d):n<d.top&&(!h||h.top>d.top)&&(l=O,h=d):u&&qe(u,d)?u=Ne(u,d.bottom):h&&qe(h,d)&&(h=Ie(h,d.top))}}if(u&&u.bottom>=n?(i=a,r=u):h&&h.top<=n&&(i=l,r=h),!i)return{node:t,offset:0};let d=Math.max(r.left,Math.min(r.right,e));if(3==i.nodeType)return Be(i,d,n);if(p&&"false"!=i.contentEditable)return Le(i,d,n);let f=Array.prototype.indexOf.call(t.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:f}}function Be(t,e,n){let i=t.nodeValue.length,r=-1,s=1e9,o=0;for(let a=0;a<i;a++){let i=$(t,a,a+1).getClientRects();for(let l=0;l<i.length;l++){let c=i[l];if(c.top==c.bottom)continue;o||(o=e-c.left);let u=(c.top>n?c.top-n:n-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&u<s){let n=e>=(c.left+c.right)/2,i=n;if(G.chrome||G.gecko){let e=$(t,a).getBoundingClientRect();e.left==c.right&&(i=!n)}if(u<=0)return{node:t,offset:a+(i?1:0)};r=a+(i?1:0),s=u}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function Ue(t,e,n,i=-1){var r,s;let o,a=t.contentDOM.getBoundingClientRect(),l=a.top+t.viewState.paddingTop,{docHeight:c}=t.viewState,{x:u,y:h}=e,p=h-l;if(p<0)return 0;if(p>c)return t.state.doc.length;for(let f=t.viewState.heightOracle.textHeight/2,_=!1;;){if(o=t.elementAtHeight(p),o.type==ft.Text)break;for(;;){if(p=i>0?o.bottom+f:o.top-f,p>=0&&p<=c)break;if(_)return n?null:0;_=!0,i=-i}}h=l+p;let d=o.from;if(d<t.viewport.from)return 0==t.viewport.from?0:n?null:Ye(t,a,o,u,h);if(d>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:Ye(t,a,o,u,h);let O=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:O,g=m.elementFromPoint(u,h);g&&!t.contentDOM.contains(g)&&(g=null),g||(u=Math.max(a.left+1,Math.min(a.right-1,u)),g=m.elementFromPoint(u,h),g&&!t.contentDOM.contains(g)&&(g=null));let v,y=-1;if(g&&0!=(null===(r=t.docView.nearest(g))||void 0===r?void 0:r.isEditable)){if(O.caretPositionFromPoint){let t=O.caretPositionFromPoint(u,h);t&&({offsetNode:v,offset:y}=t)}else if(O.caretRangeFromPoint){let e=O.caretRangeFromPoint(u,h);e&&(({startContainer:v,startOffset:y}=e),(!t.contentDOM.contains(v)||G.safari&&Fe(v,y,u)||G.chrome&&Ge(v,y,u))&&(v=void 0))}v&&(y=Math.min(f(v),y))}if(!v||!t.docView.dom.contains(v)){let e=xt.find(t.docView,d);if(!e)return p>o.top+o.height/2?o.to:o.from;({node:v,offset:y}=Le(e.dom,u,h))}let b=t.docView.nearest(v);if(!b)return null;if(b.isWidget&&1==(null===(s=b.dom)||void 0===s?void 0:s.nodeType)){let t=b.dom.getBoundingClientRect();return e.y<t.top||e.y<=t.bottom&&e.x<=(t.left+t.right)/2?b.posAtStart:b.posAtEnd}return b.localPosFromDOM(v,y)+b.posAtStart}function Ye(t,e,n,r,s){let o=Math.round((r-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&n.height>1.5*t.defaultLineHeight){let e=t.viewState.heightOracle.textHeight,i=Math.floor((s-n.top-.5*(t.defaultLineHeight-e))/e);o+=i*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(n.from,n.to);return n.from+(0,i.Gz)(a,o,t.state.tabSize)}function Fe(t,e,n){let i,r=t;if(3!=t.nodeType||e!=(i=t.nodeValue.length))return!1;for(;;){let t=r.nextSibling;if(t){if("BR"==t.nodeName)break;return!1}{let t=r.parentNode;if(!t||"DIV"==t.nodeName)break;r=t}}return $(t,i-1,i).getBoundingClientRect().right>n}function Ge(t,e,n){if(0!=e)return!1;for(let r=t;;){let t=r.parentNode;if(!t||1!=t.nodeType||t.firstChild!=r)return!1;if(t.classList.contains("cm-line"))break;r=t}let i=1==t.nodeType?t.getBoundingClientRect():$(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-i.left>5}function He(t,e,n){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){let t;for(let r of i.type){if(r.from>e)break;if(!(r.to<e)){if(r.from<e&&r.to>e)return r;t&&(r.type!=ft.Text||t.type==r.type&&!(n<0?r.from<e:r.to>e))||(t=r)}}return t||i}return i}function Ke(t,e,n,r){let s=He(t,e.head,e.assoc||-1),o=r&&s.type==ft.Text&&(t.lineWrapping||s.widgetLineBreaks)?t.coordsAtPos(e.assoc<0&&e.head>s.from?e.head-1:e.head):null;if(o){let e=t.dom.getBoundingClientRect(),r=t.textDirectionAt(s.from),a=t.posAtCoords({x:n==(r==Tt.LTR)?e.right-1:e.left+1,y:(o.top+o.bottom)/2});if(null!=a)return i.jT.cursor(a,n?-1:1)}return i.jT.cursor(n?s.to:s.from,n?-1:1)}function Je(t,e,n,i){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let a=e,l=null;;){let e=Ft(r,s,o,a,n),c=Yt;if(!e){if(r.number==(n?t.state.doc.lines:1))return a;c="\n",r=t.state.doc.line(r.number+(n?1:-1)),s=t.bidiSpans(r),e=t.visualLineSide(r,!n)}if(l){if(!l(c))return a}else{if(!i)return e;l=i(c)}a=e}}function tn(t,e,n){let r=t.state.charCategorizer(e),s=r(n);return t=>{let e=r(t);return s==i.D0.Space&&(s=e),s==e}}function en(t,e,n,r){let s=e.head,o=n?1:-1;if(s==(n?t.state.doc.length:0))return i.jT.cursor(s,e.assoc);let a,l=e.goalColumn,c=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(s,e.assoc||-1),h=t.documentTop;if(u)null==l&&(l=u.left-c.left),a=o<0?u.top:u.bottom;else{let e=t.viewState.lineBlockAt(s);null==l&&(l=Math.min(c.right-c.left,t.defaultCharacterWidth*(s-e.from))),a=(o<0?e.top:e.bottom)+h}let p=c.left+l,d=null!==r&&void 0!==r?r:t.viewState.heightOracle.textHeight>>1;for(let f=0;;f+=10){let e=a+(d+f)*o,n=Ue(t,{x:p,y:e},!1,o);if(e<c.top||e>c.bottom||(o<0?n<s:n>s)){let r=t.docView.coordsForChar(n),s=!r||e<r.top?-1:1;return i.jT.cursor(n,s,void 0,l)}}}function nn(t,e,n){for(;;){let i=0;for(let r of t)r.between(e-1,e+1,((t,r,s)=>{if(e>t&&e<r){let s=i||n||(e-t<r-e?-1:1);e=s<0?t:r,i=s}}));if(!i)return e}}function rn(t,e,n){let r=nn(t.state.facet(xe).map((e=>e(t))),n.from,e.head>n.from?-1:1);return r==n.from?n:i.jT.cursor(r,r<n.from?1:-1)}const sn="";class on{constructor(t,e){this.points=t,this.text="",this.lineSeparator=e.facet(i.yy.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+=sn}readRange(t,e){if(!t)return this;let n=t.parentNode;for(let i=t;;){this.findPointBefore(n,i);let t=this.text.length;this.readNode(i);let r=i.nextSibling;if(r==e)break;let s=M.get(i),o=M.get(r);(s&&o?s.breakAfter:(s?s.breakAfter:p(i))||p(r)&&("BR"!=i.nodeName||i.cmIgnore)&&this.text.length>t)&&this.lineBreak(),i=r}return this.findPointBefore(n,e),this}readTextNode(t){let e=t.nodeValue;for(let n of this.points)n.node==t&&(n.pos=this.text.length+Math.min(n.offset,e.length));for(let n=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let r,s=-1,o=1;if(this.lineSeparator?(s=e.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(r=i.exec(e))&&(s=r.index,o=r[0].length),this.append(e.slice(n,s<0?e.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let e of this.points)e.node==t&&e.pos>this.text.length&&(e.pos-=o-1);n=s+o}}readNode(t){if(t.cmIgnore)return;let e=M.get(t),n=e&&e.overrideDOMText;if(null!=n){this.findPointInside(t,n.length);for(let t=n.iter();!t.next().done;)t.lineBreak?this.lineBreak():this.append(t.value)}else 3==t.nodeType?this.readTextNode(t):"BR"==t.nodeName?t.nextSibling&&this.lineBreak():1==t.nodeType&&this.readRange(t.firstChild,null)}findPointBefore(t,e){for(let n of this.points)n.node==t&&t.childNodes[n.offset]==e&&(n.pos=this.text.length)}findPointInside(t,e){for(let n of this.points)(3==t.nodeType?n.node==t:t.contains(n.node))&&(n.pos=this.text.length+(an(t,n.node,n.offset)?e:0))}}function an(t,e,n){for(;;){if(!e||n<f(e))return!1;if(e==t)return!0;n=h(e)+1,e=e.parentNode}}class ln{constructor(t,e){this.node=t,this.offset=e,this.pos=-1}}class cn{constructor(t,e,n,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=e>-1;let{impreciseHead:s,impreciseAnchor:o}=t.docView;if(t.state.readOnly&&e>-1)this.newSel=null;else if(e>-1&&(this.bounds=t.docView.domBoundsAround(e,n,0))){let e=s||o?[]:fn(t),n=new on(e,t.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=On(e,this.bounds.from)}else{let e=t.observer.selectionRange,n=s&&s.node==e.focusNode&&s.offset==e.focusOffset||!a(t.contentDOM,e.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(e.focusNode,e.focusOffset),r=o&&o.node==e.anchorNode&&o.offset==e.anchorOffset||!a(t.contentDOM,e.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(e.anchorNode,e.anchorOffset),l=t.viewport;if((G.ios||G.chrome)&&t.state.selection.main.empty&&n!=r&&(l.from>0||l.to<t.state.doc.length)){let e=Math.min(n,r),i=Math.max(n,r),s=l.from-e,o=l.to-i;0!=s&&1!=s&&0!=e||0!=o&&-1!=o&&i!=t.state.doc.length||(n=0,r=t.state.doc.length)}this.newSel=i.jT.single(r,n)}}}function un(t,e){let n,{newSel:r}=e,s=t.state.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:r,to:a}=e.bounds,l=s.from,c=null;(8===o||G.android&&e.text.length<a-r)&&(l=s.to,c="end");let u=dn(t.state.doc.sliceString(r,a,sn),e.text,l-r,c);u&&(G.chrome&&13==o&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==sn+sn&&u.toB--,n={from:r+u.from,to:r+u.toA,insert:i.xv.of(e.text.slice(u.from,u.toB).split(sn))})}else r&&(!t.hasFocus&&t.state.facet(de)||r.main.eq(s))&&(r=null);if(!n&&!r)return!1;if(!n&&e.typeOver&&!s.empty&&r&&r.main.empty?n={from:s.from,to:s.to,insert:t.state.doc.slice(s.from,s.to)}:(G.mac||G.android)&&n&&n.from==n.to&&n.from==s.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==t.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=i.jT.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:i.xv.of([n.insert.toString().replace("."," ")])}):n&&n.from>=s.from&&n.to<=s.to&&(n.from!=s.from||n.to!=s.to)&&s.to-s.from-(n.to-n.from)<=4?n={from:s.from,to:s.to,insert:t.state.doc.slice(s.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,s.to))}:G.chrome&&n&&n.from==n.to&&n.from==s.head&&"\n "==n.insert.toString()&&t.lineWrapping&&(r&&(r=i.jT.single(r.main.anchor-1,r.main.head-1)),n={from:s.from,to:s.to,insert:i.xv.of([" "])}),n)return hn(t,n,r,o);if(r&&!r.main.eq(s)){let e=!1,n="select";return t.inputState.lastSelectionTime>Date.now()-50&&("select"==t.inputState.lastSelectionOrigin&&(e=!0),n=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:e,userEvent:n}),!0}return!1}function hn(t,e,n,i=-1){if(G.ios&&t.inputState.flushIOSKey(e))return!0;let r=t.state.selection.main;if(G.android&&(e.to==r.to&&(e.from==r.from||e.from==r.from-1&&" "==t.state.sliceDoc(e.from,r.from))&&1==e.insert.length&&2==e.insert.lines&&S(t.contentDOM,"Enter",13)||(e.from==r.from-1&&e.to==r.to&&0==e.insert.length||8==i&&e.insert.length<e.to-e.from&&e.to>r.head)&&S(t.contentDOM,"Backspace",8)||e.from==r.from&&e.to==r.to+1&&0==e.insert.length&&S(t.contentDOM,"Delete",46)))return!0;let s,o=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a=()=>s||(s=pn(t,e,n));return t.state.facet(ne).some((n=>n(t,e.from,e.to,o,a)))||t.dispatch(a()),!0}function pn(t,e,n){let r,s=t.state,o=s.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let n=o.from<e.from?s.sliceDoc(o.from,e.from):"",i=o.to>e.to?s.sliceDoc(e.to,o.to):"";r=s.replaceSelection(t.state.toText(n+e.insert.sliceString(0,void 0,t.state.lineBreak)+i))}else{let a=s.changes(e),l=n&&n.main.to<=a.newLength?n.main:void 0;if(s.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c,u=t.state.sliceDoc(e.from,e.to),h=n&&Ee(t,n.main.head);if(h){let t=e.insert.length-(e.to-e.from);c={from:h.from,to:h.to-t}}else c=t.state.doc.lineAt(o.head);let p=o.to-e.to,d=o.to-o.from;r=s.changeByRange((n=>{if(n.from==o.from&&n.to==o.to)return{changes:a,range:l||n.map(a)};let r=n.to-p,h=r-u.length;if(n.to-n.from!=d||t.state.sliceDoc(h,r)!=u||n.to>=c.from&&n.from<=c.to)return{range:n};let f=s.changes({from:h,to:r,insert:e.insert}),O=n.to-o.to;return{changes:f,range:l?i.jT.range(Math.max(0,l.anchor+O),Math.max(0,l.head+O)):n.map(f)}}))}else r={changes:a,selection:l&&s.selection.replaceRange(l)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),s.update(r,{userEvent:a,scrollIntoView:!0})}function dn(t,e,n,i){let r=Math.min(t.length,e.length),s=0;while(s<r&&t.charCodeAt(s)==e.charCodeAt(s))s++;if(s==r&&t.length==e.length)return null;let o=t.length,a=e.length;while(o>0&&a>0&&t.charCodeAt(o-1)==e.charCodeAt(a-1))o--,a--;if("end"==i){let t=Math.max(0,s-Math.min(o,a));n-=o+t-s}if(o<s&&t.length<e.length){let t=n<=s&&n>=o?s-n:0;s-=t,a=s+(a-o),o=s}else if(a<s){let t=n<=s&&n>=a?s-n:0;s-=t,o=s+(o-a),a=s}return{from:s,toA:o,toB:a}}function fn(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}=t.observer.selectionRange;return n&&(e.push(new ln(n,i)),r==n&&s==i||e.push(new ln(r,s))),e}function On(t,e){if(0==t.length)return null;let n=t[0].pos,r=2==t.length?t[1].pos:n;return n>-1&&r>-1?i.jT.single(n+e,r+e):null}class mn{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,G.safari&&t.contentDOM.addEventListener("input",(()=>null)),G.gecko&&ei(t.contentDOM.ownerDocument)}handleEvent(t){Pn(this.view,t)&&!this.ignoreDuringComposition(t)&&("keydown"==t.type&&this.keydown(t)||(0!=this.view.updateState?Promise.resolve().then((()=>this.runHandlers(t.type,t))):this.runHandlers(t.type,t)))}runHandlers(t,e){let n=this.handlers[t];if(n){for(let t of n.observers)t(this.view,e);for(let t of n.handlers){if(e.defaultPrevented)break;if(t(this.view,e)){e.preventDefault();break}}}}ensureHandlers(t){let e=vn(t),n=this.handlers,i=this.view.contentDOM;for(let r in e)if("scroll"!=r){let t=!e[r].handlers.length,s=n[r];s&&t!=!s.handlers.length&&(i.removeEventListener(r,this.handleEvent),s=null),s||i.addEventListener(r,this.handleEvent,{passive:t})}for(let r in n)"scroll"==r||e[r]||i.removeEventListener(r,this.handleEvent);this.handlers=e}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),9==t.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=t.keyCode&&_n.indexOf(t.keyCode)<0&&(this.tabFocusMode=-1),G.android&&G.chrome&&!t.synthetic&&(13==t.keyCode||8==t.keyCode))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;let e;return!G.ios||t.synthetic||t.altKey||t.metaKey||!((e=yn.find((e=>e.keyCode==t.keyCode)))&&!t.ctrlKey||bn.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(229!=t.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=e||t,setTimeout((()=>this.flushIOSKey()),250),!0)}flushIOSKey(t){let e=this.pendingIOSKey;return!!e&&(!("Enter"==e.key&&t&&t.from<t.to&&/^\S+$/.test(t.insert.toString()))&&(this.pendingIOSKey=void 0,S(this.view.contentDOM,e.key,e.keyCode,e instanceof KeyboardEvent?e:void 0)))}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&(this.composing>0||!!(G.safari&&!G.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function gn(t,e){return(n,i)=>{try{return e.call(t,i,n)}catch(r){pe(n.state,r)}}}function vn(t){let e=Object.create(null);function n(t){return e[t]||(e[t]={observers:[],handlers:[]})}for(let i of t){let t=i.spec,e=t&&t.plugin.domEventHandlers,r=t&&t.plugin.domEventObservers;if(e)for(let s in e){let t=e[s];t&&n(s).handlers.push(gn(i.value,t))}if(r)for(let s in r){let t=r[s];t&&n(s).observers.push(gn(i.value,t))}}for(let i in Cn)n(i).handlers.push(Cn[i]);for(let i in An)n(i).observers.push(An[i]);return e}const yn=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],bn="dthko",_n=[16,17,18,20,91,92,224,225],xn=6;function wn(t){return.7*Math.max(0,t)+8}function $n(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class Sn{constructor(t,e,n,r){this.view=t,this.startEvent=e,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=e,this.scrollParents=y(t.contentDOM),this.atoms=t.state.facet(xe).map((e=>e(t)));let s=t.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=e.shiftKey,this.multiple=t.state.facet(i.yy.allowMultipleSelections)&&kn(t,e),this.dragging=!(!Tn(t,e)||1!=Nn(e))&&null}start(t){!1===this.dragging&&this.select(t)}move(t){if(0==t.buttons)return this.destroy();if(this.dragging||null==this.dragging&&$n(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let e=0,n=0,i=0,r=0,s=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:r,bottom:o}=this.scrollParents.y.getBoundingClientRect());let a=ke(this.view);t.clientX-a.left<=i+xn?e=-wn(i-t.clientX):t.clientX+a.right>=s-xn&&(e=wn(t.clientX-s)),t.clientY-a.top<=r+xn?n=-wn(r-t.clientY):t.clientY+a.bottom>=o-xn&&(n=wn(t.clientY-o)),this.setScrollSpeed(e,n)}up(t){null==this.dragging&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,e){this.scrollSpeed={x:t,y:e},t||e?this.scrolling<0&&(this.scrolling=setInterval((()=>this.scroll()),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:e}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),e&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=e,e=0),(t||e)&&this.view.win.scrollBy(t,e),!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(t){let e=null;for(let n=0;n<t.ranges.length;n++){let r=t.ranges[n],s=null;if(r.empty){let t=nn(this.atoms,r.from,0);t!=r.from&&(s=i.jT.cursor(t,-1))}else{let t=nn(this.atoms,r.from,-1),e=nn(this.atoms,r.to,1);t==r.from&&e==r.to||(s=i.jT.range(r.from==r.anchor?t:e,r.from==r.head?t:e))}s&&(e||(e=t.ranges.slice()),e[n]=s)}return e?i.jT.create(e,t.mainIndex):t}select(t){let{view:e}=this,n=this.skipAtoms(this.style.get(t,this.extend,this.multiple));!this.mustSelect&&n.eq(e.state.selection,!1===this.dragging)||this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(t){t.transactions.some((t=>t.isUserEvent("input.type")))?this.destroy():this.style.update(t)&&setTimeout((()=>this.select(this.lastEvent)),20)}}function kn(t,e){let n=t.state.facet(Ht);return n.length?n[0](e):G.mac?e.metaKey:e.ctrlKey}function Qn(t,e){let n=t.state.facet(Kt);return n.length?n[0](e):G.mac?!e.altKey:!e.ctrlKey}function Tn(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let i=o(t.root);if(!i||0==i.rangeCount)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s<r.length;s++){let t=r[s];if(t.left<=e.clientX&&t.right>=e.clientX&&t.top<=e.clientY&&t.bottom>=e.clientY)return!0}return!1}function Pn(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n,i=e.target;i!=t.contentDOM;i=i.parentNode)if(!i||11==i.nodeType||(n=M.get(i))&&n.ignoreEvent(e))return!1;return!0}const Cn=Object.create(null),An=Object.create(null),En=G.ie&&G.ie_version<15||G.ios&&G.webkit_version<604;function Rn(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout((()=>{t.focus(),n.remove(),Dn(t,n.value)}),50)}function Mn(t,e,n){for(let i of t.facet(e))n=i(n,t);return n}function Dn(t,e){e=Mn(t.state,re,e);let n,{state:r}=t,s=1,o=r.toText(e),a=o.lines==r.selection.ranges.length,l=null!=Gn&&r.selection.ranges.every((t=>t.empty))&&Gn==o.toString();if(l){let t=-1;n=r.changeByRange((n=>{let l=r.doc.lineAt(n.from);if(l.from==t)return{range:n};t=l.from;let c=r.toText((a?o.line(s++).text:e)+r.lineBreak);return{changes:{from:l.from,insert:c},range:i.jT.cursor(n.from+c.length)}}))}else n=a?r.changeByRange((t=>{let e=o.line(s++);return{changes:{from:t.from,to:t.to,insert:e.text},range:i.jT.cursor(t.from+e.length)}})):r.replaceSelection(o);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function zn(t,e,n,r){if(1==r)return i.jT.cursor(e,n);if(2==r)return Ve(t.state,e,n);{let n=xt.find(t.docView,e),r=t.state.doc.lineAt(n?n.posAtEnd:e),s=n?n.posAtStart:r.from,o=n?n.posAtEnd:r.to;return o<t.state.doc.length&&o==r.to&&o++,i.jT.range(s,o)}}An.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft},Cn.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),27==e.keyCode&&0!=t.inputState.tabFocusMode&&(t.inputState.tabFocusMode=Date.now()+2e3),!1),An.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},An.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},Cn.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let i of t.state.facet(Jt))if(n=i(t,e),n)break;if(n||0!=e.button||(n=Ln(t,e)),n){let i=!t.hasFocus;t.inputState.startMouseSelection(new Sn(t,e,n,i)),i&&t.observer.ignore((()=>{w(t.contentDOM);let e=t.root.activeElement;e&&!e.contains(t.contentDOM)&&e.blur()}));let r=t.inputState.mouseSelection;if(r)return r.start(e),!1===r.dragging}return!1};let jn=(t,e,n)=>e>=n.top&&e<=n.bottom&&t>=n.left&&t<=n.right;function Zn(t,e,n,i){let r=xt.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(0==s)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&jn(n,i,o))return-1;let a=r.coordsAt(s,1);return a&&jn(n,i,a)?1:o&&o.bottom>=i?-1:1}function Vn(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:Zn(t,n,e.clientX,e.clientY)}}const Xn=G.ie&&G.ie_version<=11;let Wn=null,qn=0,In=0;function Nn(t){if(!Xn)return t.detail;let e=Wn,n=In;return Wn=t,In=Date.now(),qn=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(qn+1)%3:1}function Ln(t,e){let n=Vn(t,e),r=Nn(e),s=t.state.selection;return{update(t){t.docChanged&&(n.pos=t.changes.mapPos(n.pos),s=s.map(t.changes))},get(e,o,a){let l,c=Vn(t,e),u=zn(t,c.pos,c.bias,r);if(n.pos!=c.pos&&!o){let e=zn(t,n.pos,n.bias,r),s=Math.min(e.from,u.from),o=Math.max(e.to,u.to);u=s<u.from?i.jT.range(s,o):i.jT.range(o,s)}return o?s.replaceRange(s.main.extend(u.from,u.to)):a&&1==r&&s.ranges.length>1&&(l=Bn(s,c.pos))?l:a?s.addRange(u):i.jT.create([u])}}}function Bn(t,e){for(let n=0;n<t.ranges.length;n++){let{from:r,to:s}=t.ranges[n];if(r<=e&&s>=e)return i.jT.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}function Un(t,e,n,i){if(n=Mn(t.state,re,n),!n)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=i&&s&&Qn(t,e)?{from:s.from,to:s.to}:null,a={from:r,insert:n},l=t.state.changes(o?[o,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(r,-1),head:l.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}function Yn(t,e){let n=t.dom.parentNode;if(!n)return;let i=n.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout((()=>{i.remove(),t.focus()}),50)}function Fn(t){let e=[],n=[],i=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),n.push(r));if(!e.length){let r=-1;for(let{from:i}of t.selection.ranges){let s=t.doc.lineAt(i);s.number>r&&(e.push(s.text),n.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),r=s.number}i=!0}return{text:Mn(t,se,e.join(t.lineBreak)),ranges:n,linewise:i}}Cn.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let t=r.posAtStart,e=t+r.length;(t>=n.to||e<=n.from)&&(n=i.jT.range(t,e))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",Mn(t.state,se,t.state.sliceDoc(n.from,n.to))),e.dataTransfer.effectAllowed="copyMove"),!1},Cn.dragend=t=>(t.inputState.draggedContent=null,!1),Cn.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let i=Array(n.length),r=0,s=()=>{++r==n.length&&Un(t,e,i.filter((t=>null!=t)).join(t.state.lineBreak),!1)};for(let t=0;t<n.length;t++){let e=new FileReader;e.onerror=s,e.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(e.result)||(i[t]=e.result),s()},e.readAsText(n[t])}return!0}{let n=e.dataTransfer.getData("Text");if(n)return Un(t,e,n,!0),!0}return!1},Cn.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=En?null:e.clipboardData;return n?(Dn(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(Rn(t),!1)};let Gn=null;Cn.copy=Cn.cut=(t,e)=>{let{text:n,ranges:i,linewise:r}=Fn(t.state);if(!n&&!r)return!1;Gn=r?n:null,"cut"!=e.type||t.state.readOnly||t.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let s=En?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",n),!0):(Yn(t,n),!1)};const Hn=i.q6.define();function Kn(t,e){let n=[];for(let i of t.facet(ie)){let r=i(t,e);r&&n.push(r)}return n.length?t.update({effects:n,annotations:Hn.of(!0)}):null}function Jn(t){setTimeout((()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=Kn(t.state,e);n?t.dispatch(n):t.update([])}}),10)}An.focus=t=>{t.inputState.lastFocusTime=Date.now(),t.scrollDOM.scrollTop||!t.inputState.lastScrollTop&&!t.inputState.lastScrollLeft||(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),Jn(t)},An.blur=t=>{t.observer.clearSelectionRange(),Jn(t)},An.compositionstart=An.compositionupdate=t=>{t.observer.editContext||(null==t.inputState.compositionFirstChange&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))},An.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,G.chrome&&G.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then((()=>t.observer.flush())):setTimeout((()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])}),50))},An.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},Cn.beforeinput=(t,e)=>{var n,i;if("insertReplacementText"==e.inputType&&t.observer.editContext){let i=null===(n=e.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),r=e.getTargetRanges();if(i&&r.length){let e=r[0],n=t.posAtDOM(e.startContainer,e.startOffset),s=t.posAtDOM(e.endContainer,e.endOffset);return hn(t,{from:n,to:s,insert:t.state.toText(i)},null),!0}}let r;if(G.chrome&&G.android&&(r=yn.find((t=>t.inputType==e.inputType)))&&(t.observer.delayAndroidKey(r.key,r.keyCode),"Backspace"==r.key||"Delete"==r.key)){let e=(null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0;setTimeout((()=>{var n;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>e+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())}),100)}return G.ios&&"deleteContentForward"==e.inputType&&t.observer.flushSoon(),G.safari&&"insertText"==e.inputType&&t.inputState.composing>=0&&setTimeout((()=>An.compositionend(t,e)),20),!1};const ti=new Set;function ei(t){ti.has(t)||(ti.add(t),t.addEventListener("copy",(()=>{})),t.addEventListener("cut",(()=>{})))}const ni=["pre-wrap","normal","pre-line","break-spaces"];let ii=!1;function ri(){ii=!1}class si{constructor(t){this.lineWrapping=t,this.doc=i.xv.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,e){let n=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((e-t-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(t){if(!this.lineWrapping)return this.lineHeight;let e=1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5)));return e*this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return ni.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let e=!1;for(let n=0;n<t.length;n++){let i=t[n];i<0?n++:this.heightSamples[Math.floor(10*i)]||(e=!0,this.heightSamples[Math.floor(10*i)]=!0)}return e}refresh(t,e,n,i,r,s){let o=ni.indexOf(t)>-1,a=Math.round(e)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=e,this.charWidth=n,this.textHeight=i,this.lineLength=r,a){this.heightSamples={};for(let t=0;t<s.length;t++){let e=s[t];e<0?t++:this.heightSamples[Math.floor(10*e)]=!0}}return a}}class oi{constructor(t,e){this.from=t,this.heights=e,this.index=0}get more(){return this.index<this.heights.length}}class ai{constructor(t,e,n,i,r){this.from=t,this.length=e,this.top=n,this.height=i,this._content=r}get type(){return"number"==typeof this._content?ft.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof vt?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(t){let e=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new ai(this.from,this.length+t.length,this.top,this.height+t.height,e)}}var li=function(t){return t[t["ByPos"]=0]="ByPos",t[t["ByHeight"]=1]="ByHeight",t[t["ByPosNoHeight"]=2]="ByPosNoHeight",t}(li||(li={}));const ci=.001;class ui{constructor(t,e,n=2){this.length=t,this.height=e,this.flags=n}get outdated(){return(2&this.flags)>0}set outdated(t){this.flags=(t?2:0)|-3&this.flags}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>ci&&(ii=!0),this.height=t)}replace(t,e,n){return ui.of(n)}decomposeLeft(t,e){e.push(this)}decomposeRight(t,e){e.push(this)}applyChanges(t,e,n,i){let r=this,s=n.doc;for(let o=i.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:c,toB:u}=i[o],h=r.lineAt(a,li.ByPosNoHeight,n.setDoc(e),0,0),p=h.to>=l?h:r.lineAt(l,li.ByPosNoHeight,n,0,0);u+=p.to-l,l=p.to;while(o>0&&h.from<=i[o-1].toA)a=i[o-1].fromA,c=i[o-1].fromB,o--,a<h.from&&(h=r.lineAt(a,li.ByPosNoHeight,n,0,0));c+=h.from-a,a=h.from;let d=vi.build(n.setDoc(s),t,c,u);r=hi(r,r.replace(a,l,d))}return r.updateHeight(n,0)}static empty(){return new di(0,0)}static of(t){if(1==t.length)return t[0];let e=0,n=t.length,i=0,r=0;for(;;)if(e==n)if(i>2*r){let r=t[e-1];r.break?t.splice(--e,1,r.left,null,r.right):t.splice(--e,1,r.left,r.right),n+=1+r.break,i-=r.size}else{if(!(r>2*i))break;{let e=t[n];e.break?t.splice(n,1,e.left,null,e.right):t.splice(n,1,e.left,e.right),n+=2+e.break,r-=e.size}}else if(i<r){let n=t[e++];n&&(i+=n.size)}else{let e=t[--n];e&&(r+=e.size)}let s=0;return null==t[e-1]?(s=1,e--):null==t[e]&&(s=1,n++),new Oi(ui.of(t.slice(0,e)),s,ui.of(t.slice(n)))}}function hi(t,e){return t==e?t:(t.constructor!=e.constructor&&(ii=!0),e)}ui.prototype.size=1;class pi extends ui{constructor(t,e,n){super(t,e),this.deco=n}blockAt(t,e,n,i){return new ai(i,this.length,n,this.height,this.deco||0)}lineAt(t,e,n,i,r){return this.blockAt(0,n,i,r)}forEachLine(t,e,n,i,r,s){t<=r+this.length&&e>=r&&s(this.blockAt(0,n,i,r))}updateHeight(t,e=0,n=!1,i){return i&&i.from<=e&&i.more&&this.setHeight(i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class di extends pi{constructor(t,e){super(t,e,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(t,e,n,i){return new ai(i,this.length,n,this.height,this.breaks)}replace(t,e,n){let i=n[0];return 1==n.length&&(i instanceof di||i instanceof fi&&4&i.flags)&&Math.abs(this.length-i.length)<10?(i instanceof fi?i=new di(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):ui.of(n)}updateHeight(t,e=0,n=!1,i){return i&&i.from<=e&&i.more?this.setHeight(i.heights[i.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class fi extends ui{constructor(t){super(t,0)}heightMetrics(t,e){let n,i=t.doc.lineAt(e).number,r=t.doc.lineAt(e+this.length).number,s=r-i+1,o=0;if(t.lineWrapping){let e=Math.min(this.height,t.lineHeight*s);n=e/s,this.length>s+1&&(o=(this.height-e)/(this.length-s-1))}else n=this.height/s;return{firstLine:i,lastLine:r,perLine:n,perChar:o}}blockAt(t,e,n,i){let{firstLine:r,lastLine:s,perLine:o,perChar:a}=this.heightMetrics(e,i);if(e.lineWrapping){let r=i+(t<e.lineHeight?0:Math.round(Math.max(0,Math.min(1,(t-n)/this.height))*this.length)),s=e.doc.lineAt(r),l=o+s.length*a,c=Math.max(n,t-l/2);return new ai(s.from,s.length,c,l,0)}{let i=Math.max(0,Math.min(s-r,Math.floor((t-n)/o))),{from:a,length:l}=e.doc.line(r+i);return new ai(a,l,n+o*i,o,0)}}lineAt(t,e,n,i,r){if(e==li.ByHeight)return this.blockAt(t,n,i,r);if(e==li.ByPosNoHeight){let{from:e,to:i}=n.doc.lineAt(t);return new ai(e,i-e,0,0,0)}let{firstLine:s,perLine:o,perChar:a}=this.heightMetrics(n,r),l=n.doc.lineAt(t),c=o+l.length*a,u=l.number-s,h=i+o*u+a*(l.from-r-u);return new ai(l.from,l.length,Math.max(i,Math.min(h,i+this.height-c)),c,0)}forEachLine(t,e,n,i,r,s){t=Math.max(t,r),e=Math.min(e,r+this.length);let{firstLine:o,perLine:a,perChar:l}=this.heightMetrics(n,r);for(let c=t,u=i;c<=e;){let e=n.doc.lineAt(c);if(c==t){let n=e.number-o;u+=a*n+l*(t-r-n)}let i=a+l*e.length;s(new ai(e.from,e.length,u,i,0)),u+=i,c=e.to+1}}replace(t,e,n){let i=this.length-e;if(i>0){let t=n[n.length-1];t instanceof fi?n[n.length-1]=new fi(t.length+i):n.push(null,new fi(i-1))}if(t>0){let e=n[0];e instanceof fi?n[0]=new fi(t+e.length):n.unshift(new fi(t-1),null)}return ui.of(n)}decomposeLeft(t,e){e.push(new fi(t-1),null)}decomposeRight(t,e){e.push(null,new fi(this.length-t-1))}updateHeight(t,e=0,n=!1,i){let r=e+this.length;if(i&&i.from<=e+this.length&&i.more){let n=[],s=Math.max(e,i.from),o=-1;i.from>e&&n.push(new fi(i.from-e-1).updateHeight(t,e));while(s<=r&&i.more){let e=t.doc.lineAt(s).length;n.length&&n.push(null);let r=i.heights[i.index++];-1==o?o=r:Math.abs(r-o)>=ci&&(o=-2);let a=new di(e,r);a.outdated=!1,n.push(a),s+=e+1}s<=r&&n.push(null,new fi(r-s).updateHeight(t,s));let a=ui.of(n);return(o<0||Math.abs(a.height-this.height)>=ci||Math.abs(o-this.heightMetrics(t,e).perLine)>=ci)&&(ii=!0),hi(this,a)}return(n||this.outdated)&&(this.setHeight(t.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class Oi extends ui{constructor(t,e,n){super(t.length+e+n.length,t.height+n.height,e|(t.outdated||n.outdated?2:0)),this.left=t,this.right=n,this.size=t.size+n.size}get break(){return 1&this.flags}blockAt(t,e,n,i){let r=n+this.left.height;return t<r?this.left.blockAt(t,e,n,i):this.right.blockAt(t,e,r,i+this.left.length+this.break)}lineAt(t,e,n,i,r){let s=i+this.left.height,o=r+this.left.length+this.break,a=e==li.ByHeight?t<s:t<o,l=a?this.left.lineAt(t,e,n,i,r):this.right.lineAt(t,e,n,s,o);if(this.break||(a?l.to<o:l.from>o))return l;let c=e==li.ByPosNoHeight?li.ByPosNoHeight:li.ByPos;return a?l.join(this.right.lineAt(o,c,n,s,o)):this.left.lineAt(o,c,n,i,r).join(l)}forEachLine(t,e,n,i,r,s){let o=i+this.left.height,a=r+this.left.length+this.break;if(this.break)t<a&&this.left.forEachLine(t,e,n,i,r,s),e>=a&&this.right.forEachLine(t,e,n,o,a,s);else{let l=this.lineAt(a,li.ByPos,n,i,r);t<l.from&&this.left.forEachLine(t,l.from-1,n,i,r,s),l.to>=t&&l.from<=e&&s(l),e>l.to&&this.right.forEachLine(l.to+1,e,n,o,a,s)}}replace(t,e,n){let i=this.left.length+this.break;if(e<i)return this.balanced(this.left.replace(t,e,n),this.right);if(t>this.left.length)return this.balanced(this.left,this.right.replace(t-i,e-i,n));let r=[];t>0&&this.decomposeLeft(t,r);let s=r.length;for(let o of n)r.push(o);if(t>0&&mi(r,s-1),e<this.length){let t=r.length;this.decomposeRight(e,r),mi(r,t)}return ui.of(r)}decomposeLeft(t,e){let n=this.left.length;if(t<=n)return this.left.decomposeLeft(t,e);e.push(this.left),this.break&&(n++,t>=n&&e.push(null)),t>n&&this.right.decomposeLeft(t-n,e)}decomposeRight(t,e){let n=this.left.length,i=n+this.break;if(t>=i)return this.right.decomposeRight(t-i,e);t<n&&this.left.decomposeRight(t,e),this.break&&t<i&&e.push(null),e.push(this.right)}balanced(t,e){return t.size>2*e.size||e.size>2*t.size?ui.of(this.break?[t,null,e]:[t,e]):(this.left=hi(this.left,t),this.right=hi(this.right,e),this.setHeight(t.height+e.height),this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,n=!1,i){let{left:r,right:s}=this,o=e+r.length+this.break,a=null;return i&&i.from<=e+r.length&&i.more?a=r=r.updateHeight(t,e,n,i):r.updateHeight(t,e,n),i&&i.from<=o+s.length&&i.more?a=s=s.updateHeight(t,o,n,i):s.updateHeight(t,o,n),a?this.balanced(r,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function mi(t,e){let n,i;null==t[e]&&(n=t[e-1])instanceof fi&&(i=t[e+1])instanceof fi&&t.splice(e-1,3,new fi(n.length+1+i.length))}const gi=5;class vi{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,e){if(this.lineStart>-1){let t=Math.min(e,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof di?n.length+=t-this.pos:(t>this.pos||!this.isCovered)&&this.nodes.push(new di(t-this.pos,-1)),this.writtenTo=t,e>t&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=e}point(t,e,n){if(t<e||n.heightRelevant){let i=n.widget?n.widget.estimatedHeight:0,r=n.widget?n.widget.lineBreaks:0;i<0&&(i=this.oracle.lineHeight);let s=e-t;n.block?this.addBlock(new pi(s,i,n)):(s||r||i>=gi)&&this.addLineDeco(i,r,s)}else e>t&&this.span(t,e);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:t,to:e}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=e,this.writtenTo<t&&((this.writtenTo<t-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new di(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,e){let n=new fi(e-t);return this.oracle.doc.lineAt(t).to==e&&(n.flags|=4),n}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof di)return t;let e=new di(0,-1);return this.nodes.push(e),e}addBlock(t){this.enterLine();let e=t.deco;e&&e.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,e&&e.endSide>0&&(this.covering=t)}addLineDeco(t,e,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,t),i.breaks+=e,this.writtenTo=this.pos=this.pos+n}finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||e instanceof di||this.isCovered?(this.writtenTo<this.pos||null==e)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new di(0,-1));let n=t;for(let i of this.nodes)i instanceof di&&i.updateHeight(this.oracle,n),n+=i?i.length:1;return this.nodes}static build(t,e,n,r){let s=new vi(n,t);return i.Xs.spans(e,n,r,s,0),s.finish(n)}}function yi(t,e,n){let r=new bi;return i.Xs.compare(t,e,n,r,0),r.changes}class bi{constructor(){this.changes=[]}compareRange(){}comparePoint(t,e,n,i){(t<e||n&&n.heightRelevant||i&&i.heightRelevant)&&_t(t,e,this.changes,5)}}function _i(t,e){let n=t.getBoundingClientRect(),i=t.ownerDocument,r=i.defaultView||window,s=Math.max(0,n.left),o=Math.min(r.innerWidth,n.right),a=Math.max(0,n.top),l=Math.min(r.innerHeight,n.bottom);for(let c=t.parentNode;c&&c!=i.body;)if(1==c.nodeType){let e=c,n=window.getComputedStyle(e);if((e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)&&"visible"!=n.overflow){let n=e.getBoundingClientRect();s=Math.max(s,n.left),o=Math.min(o,n.right),a=Math.max(a,n.top),l=Math.min(c==t.parentNode?r.innerHeight:l,n.bottom)}c="absolute"==n.position||"fixed"==n.position?e.offsetParent:e.parentNode}else{if(11!=c.nodeType)break;c=c.host}return{left:s-n.left,right:Math.max(s,o)-n.left,top:a-(n.top+e),bottom:Math.max(a,l)-(n.top+e)}}function xi(t){let e=t.getBoundingClientRect(),n=t.ownerDocument.defaultView||window;return e.left<n.innerWidth&&e.right>0&&e.top<n.innerHeight&&e.bottom>0}function wi(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class $i{constructor(t,e,n,i){this.from=t,this.to=e,this.size=n,this.displaySize=i}static same(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++){let i=t[n],r=e[n];if(i.from!=r.from||i.to!=r.to||i.size!=r.size)return!1}return!0}draw(t,e){return Ot.replace({widget:new Si(this.displaySize*(e?t.scaleY:t.scaleX),e)}).range(this.from,this.to)}}class Si extends dt{constructor(t,e){super(),this.size=t,this.vertical=e}eq(t){return t.size==this.size&&t.vertical==this.vertical}toDOM(){let t=document.createElement("div");return this.vertical?t.style.height=this.size+"px":(t.style.width=this.size+"px",t.style.height="2px",t.style.display="inline-block"),t}get estimatedHeight(){return this.vertical?this.size:-1}}class ki{constructor(t){this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Ei,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Tt.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let e=t.facet(ye).some((t=>"function"!=typeof t&&"cm-lineWrapping"==t.class));this.heightOracle=new si(e),this.stateDeco=t.facet(be).filter((t=>"function"!=typeof t)),this.heightMap=ui.empty().applyChanges(this.stateDeco,i.xv.empty,this.heightOracle.setDoc(t.doc),[new Te(0,0,0,t.doc.length)]);for(let n=0;n<2;n++)if(this.viewport=this.getViewport(0,null),!this.updateForViewport())break;this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ot.set(this.lineGaps.map((t=>t.draw(this,!1)))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:e}=this.state.selection;for(let n=0;n<=1;n++){let i=n?e.head:e.anchor;if(!t.some((({from:t,to:e})=>i>=t&&i<=e))){let{from:e,to:n}=this.lineBlockAt(i);t.push(new Qi(e,n))}}return this.viewports=t.sort(((t,e)=>t.from-e.from)),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?Ei:new Ri(this.heightOracle,this.heightMap,this.viewports),t.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,(t=>{this.viewportLines.push(Mi(t,this.scaler))}))}update(t,e=null){this.state=t.state;let n=this.stateDeco;this.stateDeco=this.state.facet(be).filter((t=>"function"!=typeof t));let r=t.changedRanges,s=Te.extendWithRanges(r,yi(n,this.stateDeco,t?t.changes:i.as.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);ri(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=o||ii)&&(t.flags|=2),a?(this.scrollAnchorPos=t.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let l=s.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.range.head<l.from||e.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,e));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,t.flags|=this.updateForViewport(),(c||!t.changes.empty||2&t.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(t.changes),e&&(this.scrollTarget=e),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(ae)&&(this.mustEnforceCursorAssoc=!0)}measure(t){let e=t.contentDOM,n=window.getComputedStyle(e),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?Tt.RTL:Tt.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),a=e.getBoundingClientRect(),l=o||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:t,scaleY:n}=g(e,a);(t>.005&&Math.abs(this.scaleX-t)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=t,this.scaleY=n,c|=16,o=l=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,p=(parseInt(n.paddingBottom)||0)*this.scaleY;this.paddingTop==h&&this.paddingBottom==p||(this.paddingTop=h,this.paddingBottom=p,c|=18),this.editorWidth!=t.scrollDOM.clientWidth&&(r.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=16);let d=t.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=d&&(this.scrollAnchorHeight=-1,this.scrollTop=d),this.scrolledToBottom=P(t.scrollDOM);let f=(this.printing?wi:_i)(e,this.paddingTop),O=f.top-this.pixelViewport.top,m=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(l=!0)),!this.inView&&!this.scrollTarget&&!xi(t.dom))return 0;let y=a.width;if(this.contentDOMWidth==y&&this.editorHeight==t.scrollDOM.clientHeight||(this.contentDOMWidth=a.width,this.editorHeight=t.scrollDOM.clientHeight,c|=16),l){let e=t.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(e)&&(o=!0),o||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:i,textHeight:a}=t.docView.measureTextSize();o=n>0&&r.refresh(s,n,i,a,y/i,e),o&&(t.docView.minWidth=0,c|=16)}O>0&&m>0?u=Math.max(O,m):O<0&&m<0&&(u=Math.min(O,m)),ri();for(let n of this.viewports){let s=n.from==this.viewport.from?e:t.docView.measureVisibleLineHeights(n);this.heightMap=(o?ui.empty().applyChanges(this.stateDeco,i.xv.empty,this.heightOracle,[new Te(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new oi(n.from,s))}ii&&(c|=2)}let b=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return b&&(2&c&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(2&c||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,e){let n=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),i=this.heightMap,r=this.heightOracle,{visibleTop:s,visibleBottom:o}=this,a=new Qi(i.lineAt(s-1e3*n,li.ByHeight,r,0,0).from,i.lineAt(o+1e3*(1-n),li.ByHeight,r,0,0).to);if(e){let{head:t}=e.range;if(t<a.from||t>a.to){let n,s=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),o=i.lineAt(t,li.ByPos,r,0,0);n="center"==e.y?(o.top+o.bottom)/2-s/2:"start"==e.y||"nearest"==e.y&&t<a.from?o.top:o.bottom-s,a=new Qi(i.lineAt(n-500,li.ByHeight,r,0,0).from,i.lineAt(n+s+500,li.ByHeight,r,0,0).to)}}return a}mapViewport(t,e){let n=e.mapPos(t.from,-1),i=e.mapPos(t.to,1);return new Qi(this.heightMap.lineAt(n,li.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(i,li.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:t,to:e},n=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(t,li.ByPos,this.heightOracle,0,0),{bottom:r}=this.heightMap.lineAt(e,li.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:o}=this;return(0==t||i<=s-Math.max(10,Math.min(-n,250)))&&(e==this.state.doc.length||r>=o+Math.max(10,Math.min(n,250)))&&i>s-2e3&&r<o+2e3}mapLineGaps(t,e){if(!t.length||e.empty)return t;let n=[];for(let i of t)e.touchesRange(i.from,i.to)||n.push(new $i(e.mapPos(i.from),e.mapPos(i.to),i.size,i.displaySize));return n}ensureLineGaps(t,e){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,s=r>>1,o=r<<1;if(this.defaultTextDirection!=Tt.LTR&&!n)return[];let a=[],l=(r,o,c,u)=>{if(o-r<s)return;let h=this.state.selection.main,p=[h.from];h.empty||p.push(h.to);for(let t of p)if(t>r&&t<o)return l(r,t-10,c,u),void l(t+10,o,c,u);let d=Ai(t,(t=>t.from>=c.from&&t.to<=c.to&&Math.abs(t.from-r)<s&&Math.abs(t.to-o)<s&&!p.some((e=>t.from<e&&t.to>e))));if(!d){if(o<c.to&&e&&n&&e.visibleRanges.some((t=>t.from<=o&&t.to>=o))){let t=e.moveToLineBoundary(i.jT.cursor(o),!1,!0).head;t>r&&(o=t)}let t=this.gapSize(c,r,o,u),s=n||t<2e6?t:2e6;d=new $i(r,o,t,s)}a.push(d)},c=e=>{if(e.length<o||e.type!=ft.Text)return;let i=Ti(e.from,e.to,this.stateDeco);if(i.total<o)return;let s,a,c=this.scrollTarget?this.scrollTarget.range.head:null;if(n){let t,n,o=r/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=c){let r=Ci(i,c),s=((this.visibleBottom-this.visibleTop)/2+o)/e.height;t=r-s,n=r+s}else t=(this.visibleTop-e.top-o)/e.height,n=(this.visibleBottom-e.top+o)/e.height;s=Pi(i,t),a=Pi(i,n)}else{let n=i.total*this.heightOracle.charWidth,o=r*this.heightOracle.charWidth,l=0;if(n>2e6)for(let i of t)i.from>=e.from&&i.from<e.to&&i.size!=i.displaySize&&i.from*this.heightOracle.charWidth+l<this.pixelViewport.left&&(l=i.size-i.displaySize);let u,h,p=this.pixelViewport.left+l,d=this.pixelViewport.right+l;if(null!=c){let t=Ci(i,c),e=((d-p)/2+o)/n;u=t-e,h=t+e}else u=(p-o)/n,h=(d+o)/n;s=Pi(i,u),a=Pi(i,h)}s>e.from&&l(e.from,s,e,i),a<e.to&&l(a,e.to,e,i)};for(let i of this.viewportLines)Array.isArray(i.type)?i.type.forEach(c):c(i);return a}gapSize(t,e,n,i){let r=Ci(i,n)-Ci(i,e);return this.heightOracle.lineWrapping?t.height*r:i.total*this.heightOracle.charWidth*r}updateLineGaps(t){$i.same(t,this.lineGaps)||(this.lineGaps=t,this.lineGapDeco=Ot.set(t.map((t=>t.draw(this,this.heightOracle.lineWrapping)))))}computeVisibleRanges(t){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];i.Xs.spans(e,this.viewport.from,this.viewport.to,{span(t,e){n.push({from:t,to:e})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let i=0;i<n.length&&!(8&r);i++){let e=this.visibleRanges[i],s=n[i];e.from==s.from&&e.to==s.to||(r|=4,t&&t.mapPos(e.from,-1)==s.from&&t.mapPos(e.to,1)==s.to||(r|=8))}return this.visibleRanges=n,r}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find((e=>e.from<=t&&e.to>=t))||Mi(this.heightMap.lineAt(t,li.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find((e=>e.top<=t&&e.bottom>=t))||Mi(this.heightMap.lineAt(this.scaler.fromDOM(t),li.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(t){let e=this.lineBlockAtHeight(t+8);return e.from>=this.viewport.from||this.viewportLines[0].top-t>200?e:this.viewportLines[0]}elementAtHeight(t){return Mi(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Qi{constructor(t,e){this.from=t,this.to=e}}function Ti(t,e,n){let r=[],s=t,o=0;return i.Xs.spans(n,t,e,{span(){},point(t,e){t>s&&(r.push({from:s,to:t}),o+=t-s),s=e}},20),s<e&&(r.push({from:s,to:e}),o+=e-s),{total:o,ranges:r}}function Pi({total:t,ranges:e},n){if(n<=0)return e[0].from;if(n>=1)return e[e.length-1].to;let i=Math.floor(t*n);for(let r=0;;r++){let{from:t,to:n}=e[r],s=n-t;if(i<=s)return t+i;i-=s}}function Ci(t,e){let n=0;for(let{from:i,to:r}of t.ranges){if(e<=r){n+=e-i;break}n+=r-i}return n/t.total}function Ai(t,e){for(let n of t)if(e(n))return n}const Ei={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};class Ri{constructor(t,e,n){let i=0,r=0,s=0;this.viewports=n.map((({from:n,to:r})=>{let s=e.lineAt(n,li.ByPos,t,0,0).top,o=e.lineAt(r,li.ByPos,t,0,0).bottom;return i+=o-s,{from:n,to:r,top:s,bottom:o,domTop:0,domBottom:0}})),this.scale=(7e6-i)/(e.height-i);for(let o of this.viewports)o.domTop=s+(o.top-r)*this.scale,s=o.domBottom=o.domTop+(o.bottom-o.top),r=o.bottom}toDOM(t){for(let e=0,n=0,i=0;;e++){let r=e<this.viewports.length?this.viewports[e]:null;if(!r||t<r.top)return i+(t-n)*this.scale;if(t<=r.bottom)return r.domTop+(t-r.top);n=r.bottom,i=r.domBottom}}fromDOM(t){for(let e=0,n=0,i=0;;e++){let r=e<this.viewports.length?this.viewports[e]:null;if(!r||t<r.domTop)return n+(t-i)/this.scale;if(t<=r.domBottom)return r.top+(t-r.domTop);n=r.bottom,i=r.domBottom}}eq(t){return t instanceof Ri&&(this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every(((e,n)=>e.from==t.viewports[n].from&&e.to==t.viewports[n].to)))}}function Mi(t,e){if(1==e.scale)return t;let n=e.toDOM(t.top),i=e.toDOM(t.bottom);return new ai(t.from,t.length,n,i-n,Array.isArray(t._content)?t._content.map((t=>Mi(t,e))):t._content)}const Di=i.r$.define({combine:t=>t.join(" ")}),zi=i.r$.define({combine:t=>t.indexOf(!0)>-1}),ji=r.V.newName(),Zi=r.V.newName(),Vi=r.V.newName(),Xi={"&light":"."+Zi,"&dark":"."+Vi};function Wi(t,e,n){return new r.V(e,{finish(e){return/&/.test(e)?e.replace(/&\w*/,(e=>{if("&"==e)return t;if(!n||!n[e])throw new RangeError(`Unsupported selector: ${e}`);return n[e]})):t+" "+e}})}const qi=Wi("."+ji,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Xi),Ii={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Ni=G.ie&&G.ie_version<=11;class Li{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new b,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver((e=>{for(let t of e)this.queue.push(t);(G.ie&&G.ie_version<=11||G.ios&&t.composing)&&e.some((t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length))?this.flushSoon():this.flush()})),!window.EditContext||!1===t.constructor.EDIT_CONTEXT||G.chrome&&G.chrome_version<126||(this.editContext=new Fi(t),t.state.facet(de)&&(t.contentDOM.editContext=this.editContext.editContext)),Ni&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver((()=>{var t;(null===(t=this.view.docView)||void 0===t?void 0:t.lastUpdate)<Date.now()-75&&this.onResize()})),this.resizeScroll.observe(t.scrollDOM)),this.addWindowListeners(this.win=t.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))}),{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((()=>{this.resizeTimeout=-1,this.view.requestMeasure()}),50))}onPrint(t){("change"!=t.type&&t.type||t.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout((()=>{this.view.viewState.printing=!1,this.view.requestMeasure()}),500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some(((e,n)=>e!=t[n])))){this.gapIntersection.disconnect();for(let e of t)this.gapIntersection.observe(e);this.gaps=t}}onSelectionChange(t){let e=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(de)?n.root.activeElement!=this.dom:!l(this.dom,i))return;let r=i.anchorNode&&n.docView.nearest(i.anchorNode);r&&r.ignoreEvent(t)?e||(this.selectionChanged=!1):(G.ie&&G.ie_version<=11||G.android&&G.chrome)&&!n.state.selection.main.empty&&i.focusNode&&u(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,e=o(t.root);if(!e)return!1;let n=G.safari&&11==t.root.nodeType&&t.root.activeElement==this.dom&&Yi(this.view,e)||e;if(!n||this.selectionRange.eq(n))return!1;let i=l(this.dom,n);return i&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime<Date.now()-300&&T(this.dom,n)?(this.view.inputState.lastFocusTime=0,t.docView.updateSelection(),!1):(this.selectionRange.setRange(n),i&&(this.selectionChanged=!0),!0)}setSelectionRange(t,e){this.selectionRange.set(t.node,t.offset,e.node,e.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let t=0,e=null;for(let n=this.dom;n;)if(1==n.nodeType)!e&&t<this.scrollTargets.length&&this.scrollTargets[t]==n?t++:e||(e=this.scrollTargets.slice(0,t)),e&&e.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}if(t<this.scrollTargets.length&&!e&&(e=this.scrollTargets.slice(0,t)),e){for(let t of this.scrollTargets)t.removeEventListener("scroll",this.onScroll);for(let t of this.scrollTargets=e)t.addEventListener("scroll",this.onScroll)}}ignore(t){if(!this.active)return t();try{return this.stop(),t()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,Ii),Ni&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),Ni&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(t,e){var n;if(!this.delayedAndroidKey){let t=()=>{let t=this.delayedAndroidKey;if(t){this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=t.keyCode,this.view.inputState.lastKeyTime=Date.now();let e=this.flush();!e&&t.force&&S(this.dom,t.key,t.keyCode)}};this.flushingAndroidKey=this.view.win.requestAnimationFrame(t)}this.delayedAndroidKey&&"Enter"!=t||(this.delayedAndroidKey={key:t,keyCode:e,force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame((()=>{this.delayedFlush=-1,this.flush()})))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let e=-1,n=-1,i=!1;for(let r of t){let t=this.readMutation(r);t&&(t.typeOver&&(i=!0),-1==e?({from:e,to:n}=t):(e=Math.min(t.from,e),n=Math.max(t.to,n)))}return{from:e,to:n,typeOver:i}}readChange(){let{from:t,to:e,typeOver:n}=this.processRecords(),i=this.selectionChanged&&l(this.dom,this.selectionRange);if(t<0&&!i)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let r=new cn(this.view,t,e,n);return this.view.docView.domChanged={newSel:r.newSel?r.newSel.main:null},r}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let e=this.readChange();if(!e)return this.view.requestMeasure(),!1;let n=this.view.state,i=un(this.view,e);return this.view.state==n&&(e.domChanged||e.newSel&&!e.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(t){let e=this.view.docView.nearest(t.target);if(!e||e.ignoreMutation(t))return null;if(e.markDirty("attributes"==t.type),"attributes"==t.type&&(e.flags|=4),"childList"==t.type){let n=Bi(e,t.previousSibling||t.target.previousSibling,-1),i=Bi(e,t.nextSibling||t.target.nextSibling,1);return{from:n?e.posAfter(n):e.posAtStart,to:i?e.posBefore(i):e.posAtEnd,typeOver:!1}}return"characterData"==t.type?{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(de)!=t.state.facet(de)&&(t.view.contentDOM.editContext=t.state.facet(de)?this.editContext.editContext:null))}destroy(){var t,e,n;this.stop(),null===(t=this.intersection)||void 0===t||t.disconnect(),null===(e=this.gapIntersection)||void 0===e||e.disconnect(),null===(n=this.resizeScroll)||void 0===n||n.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function Bi(t,e,n){while(e){let i=M.get(e);if(i&&i.parent==t)return i;let r=e.parentNode;e=r!=t.dom?r:n>0?e.nextSibling:e.previousSibling}return null}function Ui(t,e){let n=e.startContainer,i=e.startOffset,r=e.endContainer,s=e.endOffset,o=t.docView.domAtPos(t.state.selection.main.anchor);return u(o.node,o.offset,r,s)&&([n,i,r,s]=[r,s,n,i]),{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}}function Yi(t,e){if(e.getComposedRanges){let n=e.getComposedRanges(t.root)[0];if(n)return Ui(t,n)}let n=null;function i(t){t.preventDefault(),t.stopImmediatePropagation(),n=t.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),n?Ui(t,n):null}class Fi{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(t.state);let e=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});this.handlers.textupdate=e=>{let n=t.state.selection.main,{anchor:r,head:s}=n,o=this.toEditorPos(e.updateRangeStart),a=this.toEditorPos(e.updateRangeEnd);t.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:e.updateRangeStart,editorBase:o,drifted:!1});let l={from:o,to:a,insert:i.xv.of(e.text.split("\n"))};if(l.from==this.from&&r<this.from?l.from=r:l.to==this.to&&r>this.to&&(l.to=r),l.from!=l.to||l.insert.length){if((G.mac||G.android)&&l.from==s-1&&/^\. ?$/.test(e.text)&&"off"==t.contentDOM.getAttribute("autocorrect")&&(l={from:o,to:a,insert:i.xv.of([e.text.replace("."," ")])}),this.pendingContextChange=l,!t.state.readOnly){let n=this.to-this.from+(l.to-l.from+l.insert.length);hn(t,l,i.jT.single(this.toEditorPos(e.selectionStart,n),this.toEditorPos(e.selectionEnd,n)))}this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state))}else{let r=i.jT.single(this.toEditorPos(e.selectionStart),this.toEditorPos(e.selectionEnd));r.main.eq(n)||t.dispatch({selection:r,userEvent:"select"})}},this.handlers.characterboundsupdate=n=>{let i=[],r=null;for(let e=this.toEditorPos(n.rangeStart),s=this.toEditorPos(n.rangeEnd);e<s;e++){let n=t.coordsForChar(e);r=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||r||new DOMRect,i.push(r)}e.updateCharacterBounds(n.rangeStart,i)},this.handlers.textformatupdate=e=>{let n=[];for(let t of e.getTextFormats()){let e=t.underlineStyle,i=t.underlineThickness;if("None"!=e&&"None"!=i){let r=this.toEditorPos(t.rangeStart),s=this.toEditorPos(t.rangeEnd);if(r<s){let t=`text-decoration: underline ${"Dashed"==e?"dashed ":"Squiggle"==e?"wavy ":""}${"Thin"==i?1:2}px`;n.push(Ot.mark({attributes:{style:t}}).range(r,s))}}}t.dispatch({effects:he.of(Ot.set(n))})},this.handlers.compositionstart=()=>{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(t.inputState.composing=-1,t.inputState.compositionFirstChange=null,this.composing){let{drifted:e}=this.composing;this.composing=null,e&&this.reset(t.state)}};for(let n in this.handlers)e.addEventListener(n,this.handlers[n]);this.measureReq={read:t=>{this.editContext.updateControlBounds(t.contentDOM.getBoundingClientRect());let e=o(t.root);e&&e.rangeCount&&this.editContext.updateSelectionBounds(e.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let e=0,n=!1,i=this.pendingContextChange;return t.changes.iterChanges(((r,s,o,a,l)=>{if(n)return;let c=l.length-(s-r);if(i&&s>=i.to){if(i.from==r&&i.to==s&&i.insert.eq(l))return i=this.pendingContextChange=null,e+=c,void(this.to+=c);i=null,this.revertPending(t.state)}if(r+=e,s+=e,s<=this.from)this.from+=c,this.to+=c;else if(r<this.to){if(r<this.from||s>this.to||this.to-this.from+l.length>3e4)return void(n=!0);this.editContext.updateText(this.toContextPos(r),this.toContextPos(s),l.toString()),this.to+=c}e+=c})),i&&!n&&this.revertPending(t.state),!n}update(t){let e=this.pendingContextChange,n=t.startState.selection.main;this.composing&&(this.composing.drifted||!t.changes.touchesRange(n.from,n.to)&&t.transactions.some((t=>!t.isUserEvent("input.type")&&t.changes.touchesRange(this.from,this.to))))?(this.composing.drifted=!0,this.composing.editorBase=t.changes.mapPos(this.composing.editorBase)):this.applyEdits(t)&&this.rangeIsValid(t.state)?(t.docChanged||t.selectionSet||e)&&this.setSelection(t.state):(this.pendingContextChange=null,this.reset(t.state)),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:e}=t.selection.main;this.from=Math.max(0,e-1e4),this.to=Math.min(t.doc.length,e+1e4)}reset(t){this.resetRange(t),this.editContext.updateText(0,this.editContext.text.length,t.doc.sliceString(this.from,this.to)),this.setSelection(t)}revertPending(t){let e=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(e.from),this.toContextPos(e.from+e.insert.length),t.doc.sliceString(e.from,e.to))}setSelection(t){let{main:e}=t.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,e.anchor))),i=this.toContextPos(e.head);this.editContext.selectionStart==n&&this.editContext.selectionEnd==i||this.editContext.updateSelection(n,i)}rangeIsValid(t){let{head:e}=t.selection.main;return!(this.from>0&&e-this.from<500||this.to<t.doc.length&&this.to-e<500||this.to-this.from>3e4)}toEditorPos(t,e=this.to-this.from){t=Math.min(t,e);let n=this.composing;return n&&n.drifted?n.editorBase+(t-n.contextBase):t+this.from}toContextPos(t){let e=this.composing;return e&&e.drifted?e.contextBase+(t-e.editorBase):t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class Gi{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var e;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:n}=t;this.dispatchTransactions=t.dispatchTransactions||n&&(t=>t.forEach((t=>n(t,this))))||(t=>this.update(t)),this.dispatch=this.dispatch.bind(this),this._root=t.root||k(t.parent)||document,this.viewState=new ki(t.state||i.yy.create(t)),t.scrollTo&&t.scrollTo.is(ue)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Oe).map((t=>new ge(t)));for(let i of this.plugins)i.update(this);this.observer=new Li(this),this.inputState=new mn(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Ce(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(e=document.fonts)||void 0===e?void 0:e.ready)&&document.fonts.ready.then((()=>this.requestMeasure()))}dispatch(...t){let e=1==t.length&&t[0]instanceof i.YW?t:1==t.length&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(e,this)}update(t){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let e,n=!1,r=!1,s=this.state;for(let i of t){if(i.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=i.state}if(this.destroyed)return void(this.viewState.state=s);let o=this.hasFocus,a=0,l=null;t.some((t=>t.annotation(Hn)))?(this.inputState.notifiedFocused=o,a=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,l=Kn(s,o),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(u=null)):this.observer.clear(),s.facet(i.yy.phrases)!=this.state.facet(i.yy.phrases))return this.setState(s);e=Pe.create(this,s,t),e.flags|=a;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let e of t){if(h&&(h=h.map(e.changes)),e.scrollIntoView){let{main:t}=e.state.selection;h=new ce(t.empty?t:i.jT.cursor(t.head,t.head>t.anchor?-1:1))}for(let t of e.effects)t.is(ue)&&(h=t.value.clip(this.state))}this.viewState.update(e,h),this.bidiCache=Ji.update(this.bidiCache,e.changes),e.empty||(this.updatePlugins(e),this.inputState.update(e)),n=this.docView.update(e),this.state.facet(Qe)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(n,t.some((t=>t.isUserEvent("select.pointer"))))}finally{this.updateState=0}if(e.startState.facet(Di)!=e.state.facet(Di)&&(this.viewState.mustMeasureContent=!0),(n||r||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!e.empty)for(let i of this.state.facet(ee))try{i(e)}catch(p){pe(this.state,p,"update listener")}(l||u)&&Promise.resolve().then((()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!un(this,u)&&c.force&&S(this.contentDOM,c.key,c.keyCode)}))}setState(t){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=t);this.updateState=2;let e=this.hasFocus;try{for(let t of this.plugins)t.destroy(this);this.viewState=new ki(t),this.plugins=t.facet(Oe).map((t=>new ge(t))),this.pluginMap.clear();for(let t of this.plugins)t.update(this);this.docView.destroy(),this.docView=new Ce(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}e&&this.focus(),this.requestMeasure()}updatePlugins(t){let e=t.startState.facet(Oe),n=t.state.facet(Oe);if(e!=n){let i=[];for(let r of n){let n=e.indexOf(r);if(n<0)i.push(new ge(r));else{let e=this.plugins[n];e.mustUpdate=t,i.push(e)}}for(let e of this.plugins)e.mustUpdate!=t&&e.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=t;for(let i=0;i<this.plugins.length;i++)this.plugins[i].update(this);e!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let n=e.value;if(n&&n.docViewUpdate)try{n.docViewUpdate(this)}catch(t){pe(this.state,t,"doc view update listener")}}}measure(t=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,t&&this.observer.forceFlush();let e=null,n=this.scrollDOM,i=n.scrollTop*this.scaleY,{scrollAnchorPos:r,scrollAnchorHeight:s}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let t=0;;t++){if(s<0)if(P(n))r=-1,s=this.viewState.heightMap.height;else{let t=this.viewState.scrollAnchorAt(i);r=t.from,s=t.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(t>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let l=[];4&a||([this.measureRequests,l]=[l,this.measureRequests]);let c=l.map((t=>{try{return t.read(this)}catch(e){return pe(this.state,e),Ki}})),u=Pe.create(this,this.state,[]),h=!1;u.flags|=a,e?e.flags|=a:e=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),h=this.docView.update(u),h&&this.docViewUpdate());for(let t=0;t<l.length;t++)if(c[t]!=Ki)try{let e=l[t];e.write&&e.write(c[t],this)}catch(o){pe(this.state,o)}if(h&&this.docView.updateSelection(!0),!u.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}{let t=r<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(r).top,e=t-s;if(e>1||e<-1){i+=e,n.scrollTop=i/this.scaleY,s=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(e&&!e.empty)for(let a of this.state.facet(ee))a(e)}get themeClasses(){return ji+" "+(this.state.facet(zi)?Vi:Zi)+" "+this.state.facet(Di)}updateAttrs(){let t=tr(this,ve,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),e={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(de)?"true":"false",class:"cm-content",style:`${G.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(e["aria-readonly"]="true"),tr(this,ye,e);let n=this.observer.ignore((()=>{let n=ht(this.contentDOM,this.contentAttrs,e),i=ht(this.dom,this.editorAttrs,t);return n||i}));return this.editorAttrs=t,this.contentAttrs=e,n}showAnnouncements(t){let e=!0;for(let n of t)for(let t of n.effects)if(t.is(Gi.announce)){e&&(this.announceDOM.textContent=""),e=!1;let n=this.announceDOM.appendChild(document.createElement("div"));n.textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(Qe);let t=this.state.facet(Gi.cspNonce);r.V.mount(this.root,this.styleModules.concat(qi).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((()=>this.measure()))),t){if(this.measureRequests.indexOf(t)>-1)return;if(null!=t.key)for(let e=0;e<this.measureRequests.length;e++)if(this.measureRequests[e].key===t.key)return void(this.measureRequests[e]=t);this.measureRequests.push(t)}}plugin(t){let e=this.pluginMap.get(t);return(void 0===e||e&&e.plugin!=t)&&this.pluginMap.set(t,e=this.plugins.find((e=>e.plugin==t))||null),e&&e.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,e,n){return rn(this,t,Je(this,t,e,n))}moveByGroup(t,e){return rn(this,t,Je(this,t,e,(e=>tn(this,t.head,e))))}visualLineSide(t,e){let n=this.bidiSpans(t),r=this.textDirectionAt(t.from),s=n[e?n.length-1:0];return i.jT.cursor(s.side(e,r)+t.from,s.forward(!e,r)?1:-1)}moveToLineBoundary(t,e,n=!0){return Ke(this,t,e,n)}moveVertically(t,e,n){return rn(this,t,en(this,t,e,n))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t,e=!0){return this.readMeasured(),Ue(this,t,e)}coordsAtPos(t,e=1){this.readMeasured();let n=this.docView.coordsAt(t,e);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(t),r=this.bidiSpans(i),s=r[Zt.find(r,t-i.from,-1,e)];return O(n,s.dir==Tt.LTR==e>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){let e=this.state.facet(oe);return!e||t<this.viewport.from||t>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>Hi)return Ut(t.length);let e,n=this.textDirectionAt(t.from);for(let r of this.bidiCache)if(r.from==t.from&&r.dir==n&&(r.fresh||Vt(r.isolates,e=$e(this,t))))return r.order;e||(e=$e(this,t));let i=Bt(t.text,n,e);return this.bidiCache.push(new Ji(t.from,t.to,n,e,!0,i)),i}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||G.safari&&(null===(t=this.inputState)||void 0===t?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore((()=>{w(this.contentDOM),this.docView.updateSelection()}))}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((9==t.nodeType?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,e={}){return ue.of(new ce("number"==typeof t?i.jT.cursor(t):t,e.y,e.x,e.yMargin,e.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:e}=this.scrollDOM,n=this.viewState.scrollAnchorAt(t);return ue.of(new ce(i.jT.cursor(n.from),"start","start",n.top-t,e,!0))}setTabFocusMode(t){null==t?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof t?this.inputState.tabFocusMode=t?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return me.define((()=>({})),{eventHandlers:t})}static domEventObservers(t){return me.define((()=>({})),{eventObservers:t})}static theme(t,e){let n=r.V.newName(),i=[Di.of(n),Qe.of(Wi(`.${n}`,t))];return e&&e.dark&&i.push(zi.of(!0)),i}static baseTheme(t){return i.Wl.lowest(Qe.of(Wi("."+ji,t,Xi)))}static findFromDOM(t){var e;let n=t.querySelector(".cm-content"),i=n&&M.get(n)||M.get(t);return(null===(e=null===i||void 0===i?void 0:i.rootView)||void 0===e?void 0:e.view)||null}}Gi.styleModule=Qe,Gi.inputHandler=ne,Gi.clipboardInputFilter=re,Gi.clipboardOutputFilter=se,Gi.scrollHandler=le,Gi.focusChangeEffect=ie,Gi.perLineTextDirection=oe,Gi.exceptionSink=te,Gi.updateListener=ee,Gi.editable=de,Gi.mouseSelectionStyle=Jt,Gi.dragMovesSelection=Kt,Gi.clickAddsSelectionRange=Ht,Gi.decorations=be,Gi.outerDecorations=_e,Gi.atomicRanges=xe,Gi.bidiIsolatedRanges=we,Gi.scrollMargins=Se,Gi.darkTheme=zi,Gi.cspNonce=i.r$.define({combine:t=>t.length?t[0]:""}),Gi.contentAttributes=ye,Gi.editorAttributes=ve,Gi.lineWrapping=Gi.contentAttributes.of({class:"cm-lineWrapping"}),Gi.announce=i.Py.define();const Hi=4096,Ki={};class Ji{constructor(t,e,n,i,r,s){this.from=t,this.to=e,this.dir=n,this.isolates=i,this.fresh=r,this.order=s}static update(t,e){if(e.empty&&!t.some((t=>t.fresh)))return t;let n=[],i=t.length?t[t.length-1].dir:Tt.LTR;for(let r=Math.max(0,t.length-10);r<t.length;r++){let s=t[r];s.dir!=i||e.touchesRange(s.from,s.to)||n.push(new Ji(e.mapPos(s.from,1),e.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return n}}function tr(t,e,n){for(let i=t.state.facet(e),r=i.length-1;r>=0;r--){let e=i[r],s="function"==typeof e?e(t):e;s&<(s,n)}return n}const er=G.mac?"mac":G.windows?"win":G.linux?"linux":"key";function nr(t,e){const n=t.split(/-(?!$)/);let i,r,s,o,a=n[n.length-1];"Space"==a&&(a=" ");for(let l=0;l<n.length-1;++l){const t=n[l];if(/^(cmd|meta|m)$/i.test(t))o=!0;else if(/^a(lt)?$/i.test(t))i=!0;else if(/^(c|ctrl|control)$/i.test(t))r=!0;else if(/^s(hift)?$/i.test(t))s=!0;else{if(!/^mod$/i.test(t))throw new Error("Unrecognized modifier name: "+t);"mac"==e?o=!0:r=!0}}return i&&(a="Alt-"+a),r&&(a="Ctrl-"+a),o&&(a="Meta-"+a),s&&(a="Shift-"+a),a}function ir(t,e,n){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),!1!==n&&e.shiftKey&&(t="Shift-"+t),t}const rr=i.Wl["default"](Gi.domEventHandlers({keydown(t,e){return dr(ar(e.state),t,e,"editor")}})),sr=i.r$.define({enables:rr}),or=new WeakMap;function ar(t){let e=t.facet(sr),n=or.get(e);return n||or.set(e,n=hr(e.reduce(((t,e)=>t.concat(e)),[]))),n}function lr(t,e,n){return dr(ar(t.state),e,t,n)}let cr=null;const ur=4e3;function hr(t,e=er){let n=Object.create(null),i=Object.create(null),r=(t,e)=>{let n=i[t];if(null==n)i[t]=e;else if(n!=e)throw new Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},s=(t,i,s,o,a)=>{var l,c;let u=n[t]||(n[t]=Object.create(null)),h=i.split(/ (?!$)/).map((t=>nr(t,e)));for(let e=1;e<h.length;e++){let n=h.slice(0,e).join(" ");r(n,!0),u[n]||(u[n]={preventDefault:!0,stopPropagation:!1,run:[e=>{let i=cr={view:e,prefix:n,scope:t};return setTimeout((()=>{cr==i&&(cr=null)}),ur),!0}]})}let p=h.join(" ");r(p,!1);let d=u[p]||(u[p]={preventDefault:!1,stopPropagation:!1,run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]});s&&d.run.push(s),o&&(d.preventDefault=!0),a&&(d.stopPropagation=!0)};for(let o of t){let t=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let e of t){let t=n[e]||(n[e]=Object.create(null));t._any||(t._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:i}=o;for(let e in t)t[e].run.push((t=>i(t,pr)))}let i=o[e]||o.key;if(i)for(let e of t)s(e,i,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(e,"Shift-"+i,o.shift,o.preventDefault,o.stopPropagation)}return n}let pr=null;function dr(t,e,n,r){pr=e;let o=(0,s.YG)(e),a=(0,i.gm)(o,0),l=(0,i.nZ)(a)==o.length&&" "!=o,c="",u=!1,h=!1,p=!1;cr&&cr.view==n&&cr.scope==r&&(c=cr.prefix+" ",_n.indexOf(e.keyCode)<0&&(h=!0,cr=null));let d,f,O=new Set,m=t=>{if(t){for(let e of t.run)if(!O.has(e)&&(O.add(e),e(n)))return t.stopPropagation&&(p=!0),!0;t.preventDefault&&(t.stopPropagation&&(p=!0),h=!0)}return!1},g=t[r];return g&&(m(g[c+ir(o,e,!l)])?u=!0:l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(G.windows&&e.ctrlKey&&e.altKey)&&(d=s.ue[e.keyCode])&&d!=o?(m(g[c+ir(d,e,!0)])||e.shiftKey&&(f=s.uY[e.keyCode])!=o&&f!=d&&m(g[c+ir(f,e,!1)]))&&(u=!0):l&&e.shiftKey&&m(g[c+ir(o,e,!0)])&&(u=!0),!u&&m(g._any)&&(u=!0)),h&&(u=!0),u&&p&&e.stopPropagation(),pr=null,u}class fr{constructor(t,e,n,i,r){this.className=t,this.left=e,this.top=n,this.width=i,this.height=r}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,e){return e.className==this.className&&(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",null!=this.width&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,e,n){if(n.empty){let i=t.coordsAtPos(n.head,n.assoc||1);if(!i)return[];let r=Or(t);return[new fr(e,i.left-r.left,i.top-r.top,null,i.bottom-i.top)]}return gr(t,e,n)}}function Or(t){let e=t.scrollDOM.getBoundingClientRect(),n=t.textDirection==Tt.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX;return{left:n-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function mr(t,e,n,i){let r=t.coordsAtPos(e,2*n);if(!r)return i;let s=t.dom.getBoundingClientRect(),o=(r.top+r.bottom)/2,a=t.posAtCoords({x:s.left+1,y:o}),l=t.posAtCoords({x:s.right-1,y:o});return null==a||null==l?i:{from:Math.max(i.from,Math.min(a,l)),to:Math.min(i.to,Math.max(a,l))}}function gr(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let i=Math.max(n.from,t.viewport.from),r=Math.min(n.to,t.viewport.to),s=t.textDirection==Tt.LTR,o=t.contentDOM,a=o.getBoundingClientRect(),l=Or(t),c=o.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),h=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),p=a.right-(u?parseInt(u.paddingRight):0),d=He(t,i,1),f=He(t,r,-1),O=d.type==ft.Text?d:null,m=f.type==ft.Text?f:null;if(O&&(t.lineWrapping||d.widgetLineBreaks)&&(O=mr(t,i,1,O)),m&&(t.lineWrapping||f.widgetLineBreaks)&&(m=mr(t,r,-1,m)),O&&m&&O.from==m.from&&O.to==m.to)return v(y(n.from,n.to,O));{let e=O?y(n.from,null,O):b(d,!1),i=m?y(null,n.to,m):b(f,!0),r=[];return(O||d).to<(m||f).from-(O&&m?1:0)||d.widgetLineBreaks>1&&e.bottom+t.defaultLineHeight/2<i.top?r.push(g(h,e.bottom,p,i.top)):e.bottom<i.top&&t.elementAtHeight((e.bottom+i.top)/2).type==ft.Text&&(e.bottom=i.top=(e.bottom+i.top)/2),v(e).concat(r).concat(v(i))}function g(t,n,i,r){return new fr(e,t-l.left,n-l.top,i-t,r-n)}function v({top:t,bottom:e,horizontal:n}){let i=[];for(let r=0;r<n.length;r+=2)i.push(g(n[r],t,n[r+1],e));return i}function y(e,n,i){let r=1e9,o=-1e9,a=[];function l(e,n,l,c,u){let d=t.coordsAtPos(e,e==i.to?-2:2),f=t.coordsAtPos(l,l==i.from?2:-2);d&&f&&(r=Math.min(d.top,f.top,r),o=Math.max(d.bottom,f.bottom,o),u==Tt.LTR?a.push(s&&n?h:d.left,s&&c?p:f.right):a.push(!s&&c?h:f.left,!s&&n?p:d.right))}let c=null!==e&&void 0!==e?e:i.from,u=null!==n&&void 0!==n?n:i.to;for(let s of t.visibleRanges)if(s.to>c&&s.from<u)for(let i=Math.max(s.from,c),r=Math.min(s.to,u);;){let s=t.state.doc.lineAt(i);for(let o of t.bidiSpans(s)){let t=o.from+s.from,a=o.to+s.from;if(t>=r)break;a>i&&l(Math.max(t,i),null==e&&t<=c,Math.min(a,r),null==n&&a>=u,o.dir)}if(i=s.to+1,i>=r)break}return 0==a.length&&l(c,null==e,u,null==n,t.textDirection),{top:r,bottom:o,horizontal:a}}function b(t,e){let n=a.top+(e?t.top:t.bottom);return{top:n,bottom:n,horizontal:[]}}}function vr(t,e){return t.constructor==e.constructor&&t.eq(e)}class yr{constructor(t,e){this.view=t,this.layer=e,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),e.above&&this.dom.classList.add("cm-layer-above"),e.class&&this.dom.classList.add(e.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),e.mount&&e.mount(this.dom,t)}update(t){t.startState.facet(br)!=t.state.facet(br)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}docViewUpdate(t){!1!==this.layer.updateOnDocViewUpdate&&t.requestMeasure(this.measureReq)}setOrder(t){let e=0,n=t.facet(br);while(e<n.length&&n[e]!=this.layer)e++;this.dom.style.zIndex=String((this.layer.above?150:-1)-e)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:t,scaleY:e}=this.view;t==this.scaleX&&e==this.scaleY||(this.scaleX=t,this.scaleY=e,this.dom.style.transform=`scale(${1/t}, ${1/e})`)}draw(t){if(t.length!=this.drawn.length||t.some(((t,e)=>!vr(t,this.drawn[e])))){let e=this.dom.firstChild,n=0;for(let i of t)i.update&&e&&i.constructor&&this.drawn[n].constructor&&i.update(e,this.drawn[n])?(e=e.nextSibling,n++):this.dom.insertBefore(i.draw(),e);while(e){let t=e.nextSibling;e.remove(),e=t}this.drawn=t}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const br=i.r$.define();function _r(t){return[me.define((e=>new yr(e,t))),br.of(t)]}const xr=i.r$.define({combine(t){return(0,i.BO)(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,e)=>Math.min(t,e),drawRangeCursor:(t,e)=>t||e})}});function wr(t={}){return[xr.of(t),Sr,Qr,Tr,ae.of(!0)]}function $r(t){return t.startState.facet(xr)!=t.state.facet(xr)}const Sr=_r({above:!0,markers(t){let{state:e}=t,n=e.facet(xr),r=[];for(let s of e.selection.ranges){let o=s==e.selection.main;if(s.empty||n.drawRangeCursor){let e=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",n=s.empty?s:i.jT.cursor(s.head,s.head>s.anchor?-1:1);for(let i of fr.forRange(t,e,n))r.push(i)}}return r},update(t,e){t.transactions.some((t=>t.selection))&&(e.style.animationName="cm-blink"==e.style.animationName?"cm-blink2":"cm-blink");let n=$r(t);return n&&kr(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){kr(e.state,t)},class:"cm-cursorLayer"});function kr(t,e){e.style.animationDuration=t.facet(xr).cursorBlinkRate+"ms"}const Qr=_r({above:!1,markers(t){return t.state.selection.ranges.map((e=>e.empty?[]:fr.forRange(t,"cm-selectionBackground",e))).reduce(((t,e)=>t.concat(e)))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||$r(t)},class:"cm-selectionLayer"}),Tr=i.Wl.highest(Gi.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),Pr=i.Py.define({map(t,e){return null==t?null:e.mapPos(t)}}),Cr=i.QQ.define({create(){return null},update(t,e){return null!=t&&(t=e.changes.mapPos(t)),e.effects.reduce(((t,e)=>e.is(Pr)?e.value:t),t)}}),Ar=me.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(Cr);null==n?null!=this.cursor&&(null===(e=this.cursor)||void 0===e||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(Cr)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(Cr),n=null!=e&&t.coordsAtPos(e);if(!n)return null;let i=t.scrollDOM.getBoundingClientRect();return{left:n.left-i.left+t.scrollDOM.scrollLeft*t.scaleX,top:n.top-i.top+t.scrollDOM.scrollTop*t.scaleY,height:n.bottom-n.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:n}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/n+"px",this.cursor.style.height=t.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Cr)!=t&&this.view.dispatch({effects:Pr.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){t.target!=this.view.contentDOM&&this.view.contentDOM.contains(t.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function Er(){return[Cr,Ar]}function Rr(t,e,n,i,r){e.lastIndex=0;for(let s,o=t.iterRange(n,i),a=n;!o.next().done;a+=o.value.length)if(!o.lineBreak)while(s=e.exec(o.value))r(a+s.index,s)}function Mr(t,e){let n=t.visibleRanges;if(1==n.length&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let i=[];for(let{from:r,to:s}of n)r=Math.max(t.state.doc.lineAt(r).from,r-e),s=Math.min(t.state.doc.lineAt(s).to,s+e),i.length&&i[i.length-1].to>=r?i[i.length-1].to=s:i.push({from:r,to:s});return i}class Dr{constructor(t){const{regexp:e,decoration:n,decorate:i,boundary:r,maxLength:s=1e3}=t;if(!e.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=e,i)this.addMatch=(t,e,n,r)=>i(r,n,n+t[0].length,t,e);else if("function"==typeof n)this.addMatch=(t,e,i,r)=>{let s=n(t,e,i);s&&r(i,i+t[0].length,s)};else{if(!n)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(t,e,i,r)=>r(i,i+t[0].length,n)}this.boundary=r,this.maxLength=s}createDeco(t){let e=new i.f_,n=e.add.bind(e);for(let{from:i,to:r}of Mr(t,this.maxLength))Rr(t.state.doc,this.regexp,i,r,((e,i)=>this.addMatch(i,t,e,n)));return e.finish()}updateDeco(t,e){let n=1e9,i=-1;return t.docChanged&&t.changes.iterChanges(((e,r,s,o)=>{o>=t.view.viewport.from&&s<=t.view.viewport.to&&(n=Math.min(s,n),i=Math.max(o,i))})),t.viewportMoved||i-n>1e3?this.createDeco(t.view):i>-1?this.updateRange(t.view,e.map(t.changes),n,i):e}updateRange(t,e,n,i){for(let r of t.visibleRanges){let s=Math.max(r.from,n),o=Math.min(r.to,i);if(o>=s){let n=t.state.doc.lineAt(s),i=n.to<o?t.state.doc.lineAt(o):n,a=Math.max(r.from,n.from),l=Math.min(r.to,i.to);if(this.boundary){for(;s>n.from;s--)if(this.boundary.test(n.text[s-1-n.from])){a=s;break}for(;o<i.to;o++)if(this.boundary.test(i.text[o-i.from])){l=o;break}}let c,u=[],h=(t,e,n)=>u.push(n.range(t,e));if(n==i){this.regexp.lastIndex=a-n.from;while((c=this.regexp.exec(n.text))&&c.index<l-n.from)this.addMatch(c,t,c.index+n.from,h)}else Rr(t.state.doc,this.regexp,a,l,((e,n)=>this.addMatch(n,t,e,h)));e=e.update({filterFrom:a,filterTo:l,filter:(t,e)=>t<a||e>l,add:u})}}return e}}const zr=null!=/x/.unicode?"gu":"g",jr=new RegExp("[\0-\b\n--\u2028\u2029\ufeff-]",zr),Zr={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Vr=null;function Xr(){var t;if(null==Vr&&"undefined"!=typeof document&&document.body){let e=document.body.style;Vr=null!=(null!==(t=e.tabSize)&&void 0!==t?t:e.MozTabSize)}return Vr||!1}const Wr=i.r$.define({combine(t){let e=(0,i.BO)(t,{render:null,specialChars:jr,addSpecialChars:null});return(e.replaceTabs=!Xr())&&(e.specialChars=new RegExp("\t|"+e.specialChars.source,zr)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,zr)),e}});function qr(t={}){return[Wr.of(t),Nr()]}let Ir=null;function Nr(){return Ir||(Ir=me.fromClass(class{constructor(t){this.view=t,this.decorations=Ot.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(Wr)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Dr({regexp:t.specialChars,decoration:(e,n,r)=>{let{doc:s}=n.state,o=(0,i.gm)(e[0],0);if(9==o){let t=s.lineAt(r),e=n.state.tabSize,o=(0,i.IS)(t.text,e,r-t.from);return Ot.replace({widget:new Yr((e-o%e)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=Ot.replace({widget:new Ur(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(Wr);t.startState.facet(Wr)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const Lr="•";function Br(t){return t>=32?Lr:10==t?"":String.fromCharCode(9216+t)}class Ur extends(974!=n.j?dt:null){constructor(t,e){super(),this.options=t,this.code=e}eq(t){return t.code==this.code}toDOM(t){let e=Br(this.code),n=t.state.phrase("Control character")+" "+(Zr[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,n,e);if(i)return i;let r=document.createElement("span");return r.textContent=e,r.title=n,r.setAttribute("aria-label",n),r.className="cm-specialChar",r}ignoreEvent(){return!1}}class Yr extends(974!=n.j?dt:null){constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent="\t",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}class Fr extends(974!=n.j?dt:null){constructor(t){super(),this.content=t}toDOM(t){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(t):this.content.cloneNode(!0)),e.setAttribute("aria-hidden","true"),e}coordsAt(t){let e=t.firstChild?c(t.firstChild):[];if(!e.length)return null;let n=window.getComputedStyle(t.parentNode),i=O(e[0],"rtl"!=n.direction),r=parseInt(n.lineHeight);return i.bottom-i.top>1.5*r?{left:i.left,right:i.right,top:i.top,bottom:i.top+r}:i}ignoreEvent(){return!1}}function Gr(t){let e=me.fromClass(class{constructor(e){this.view=e,this.placeholder=t?Ot.set([Ot.widget({widget:new Fr(t),side:1}).range(0)]):Ot.none}get decorations(){return this.view.state.doc.length?Ot.none:this.placeholder}},{decorations:t=>t.decorations});return"string"==typeof t?[e,Gi.contentAttributes.of({"aria-placeholder":t})]:e}const Hr=2e3;function Kr(t,e,n){let r=Math.min(e.line,n.line),s=Math.max(e.line,n.line),o=[];if(e.off>Hr||n.off>Hr||e.col<0||n.col<0){let a=Math.min(e.off,n.off),l=Math.max(e.off,n.off);for(let e=r;e<=s;e++){let n=t.doc.line(e);n.length<=l&&o.push(i.jT.range(n.from+a,n.to+l))}}else{let a=Math.min(e.col,n.col),l=Math.max(e.col,n.col);for(let e=r;e<=s;e++){let n=t.doc.line(e),r=(0,i.Gz)(n.text,a,t.tabSize,!0);if(r<0)o.push(i.jT.cursor(n.to));else{let e=(0,i.Gz)(n.text,l,t.tabSize);o.push(i.jT.range(n.from+r,n.from+e))}}}return o}function Jr(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}function ts(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(n),s=n-r.from,o=s>Hr?-1:s==r.length?Jr(t,e.clientX):(0,i.IS)(r.text,t.state.tabSize,n-r.from);return{line:r.number,col:o,off:s}}function es(t,e){let n=ts(t,e),r=t.state.selection;return n?{update(t){if(t.docChanged){let e=t.changes.mapPos(t.startState.doc.line(n.line).from),i=t.state.doc.lineAt(e);n={line:i.number,col:n.col,off:Math.min(n.off,i.length)},r=r.map(t.changes)}},get(e,s,o){let a=ts(t,e);if(!a)return r;let l=Kr(t.state,n,a);return l.length?o?i.jT.create(l.concat(r.ranges)):i.jT.create(l):r}}:null}function ns(t){let e=(null===t||void 0===t?void 0:t.eventFilter)||(t=>t.altKey&&0==t.button);return Gi.mouseSelectionStyle.of(((t,n)=>e(n)?es(t,n):null))}const is="-10000px";class rs{constructor(t,e,n,i){this.facet=e,this.createTooltipView=n,this.removeTooltipView=i,this.input=t.state.facet(e),this.tooltips=this.input.filter((t=>t));let r=null;this.tooltipViews=this.tooltips.map((t=>r=n(t,r)))}update(t,e){var n;let i=t.state.facet(this.facet),r=i.filter((t=>t));if(i===this.input){for(let e of this.tooltipViews)e.update&&e.update(t);return!1}let s=[],o=e?[]:null;for(let a=0;a<r.length;a++){let n=r[a],i=-1;if(n){for(let t=0;t<this.tooltips.length;t++){let e=this.tooltips[t];e&&e.create==n.create&&(i=t)}if(i<0)s[a]=this.createTooltipView(n,a?s[a-1]:null),o&&(o[a]=!!n.above);else{let n=s[a]=this.tooltipViews[i];o&&(o[a]=e[i]),n.update&&n.update(t)}}}for(let a of this.tooltipViews)s.indexOf(a)<0&&(this.removeTooltipView(a),null===(n=a.destroy)||void 0===n||n.call(a));return e&&(o.forEach(((t,n)=>e[n]=t)),e.length=o.length),this.input=i,this.tooltips=r,this.tooltipViews=s,!0}}function ss(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}const os=i.r$.define({combine:t=>{var e,n,i;return{position:G.ios?"absolute":(null===(e=t.find((t=>t.position)))||void 0===e?void 0:e.position)||"fixed",parent:(null===(n=t.find((t=>t.parent)))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(i=t.find((t=>t.tooltipSpace)))||void 0===i?void 0:i.tooltipSpace)||ss}}}),as=new WeakMap,ls=me.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(os);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver((()=>this.measureSoon())):null,this.manager=new rs(t,ps,((t,e)=>this.createTooltip(t,e)),(t=>{this.resizeObserver&&this.resizeObserver.unobserve(t.dom),t.dom.remove()})),this.above=this.manager.tooltips.map((t=>!!t.above)),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{this.measureTimeout=-1,this.maybeMeasure()}),50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,i=t.state.facet(os);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let t of this.manager.tooltipViews)t.dom.style.position=this.position;n=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let t of this.manager.tooltipViews)this.container.appendChild(t.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),i=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",n.dom.appendChild(t)}return n.dom.style.position=this.position,n.dom.style.top=is,n.dom.style.left="0px",this.container.insertBefore(n.dom,i),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let i of this.manager.tooltipViews)i.dom.remove(),null===(t=i.destroy)||void 0===t||t.call(i);this.parent&&this.container.remove(),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,n=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:t}=this.manager.tooltipViews[0];if(G.gecko)n=t.offsetParent!=this.container.ownerDocument.body;else if(t.style.top==is&&"0px"==t.style.left){let e=t.getBoundingClientRect();n=Math.abs(e.top+1e4)>1||Math.abs(e.left)>1}}if(n||"absolute"==this.position)if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(t=n.width/this.parent.offsetWidth,e=n.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let i=this.view.scrollDOM.getBoundingClientRect(),r=ke(this.view);return{visible:{left:i.left+r.left,top:i.top+r.top,right:i.right-r.right,bottom:i.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map(((t,e)=>{let n=this.manager.tooltipViews[e];return n.getCoords?n.getCoords(t.pos):this.view.coordsAtPos(t.pos)})),size:this.manager.tooltipViews.map((({dom:t})=>t.getBoundingClientRect())),space:this.view.state.facet(os).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:n}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let t of this.manager.tooltipViews)t.dom.style.position="absolute"}let{visible:n,space:i,scaleX:r,scaleY:s}=t,o=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],c=this.manager.tooltipViews[a],{dom:u}=c,h=t.pos[a],p=t.size[a];if(!h||!1!==l.clip&&(h.bottom<=Math.max(n.top,i.top)||h.top>=Math.min(n.bottom,i.bottom)||h.right<Math.max(n.left,i.left)-.1||h.left>Math.min(n.right,i.right)+.1)){u.style.top=is;continue}let d=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=d?7:0,O=p.right-p.left,m=null!==(e=as.get(c))&&void 0!==e?e:p.bottom-p.top,g=c.offset||hs,v=this.view.textDirection==Tt.LTR,y=p.width>i.right-i.left?v?i.left:i.right-p.width:v?Math.max(i.left,Math.min(h.left-(d?14:0)+g.x,i.right-O)):Math.min(Math.max(i.left,h.left-O+(d?14:0)-g.x),i.right-O),b=this.above[a];!l.strictSide&&(b?h.top-m-f-g.y<i.top:h.bottom+m+f+g.y>i.bottom)&&b==i.bottom-h.bottom>h.top-i.top&&(b=this.above[a]=!b);let _=(b?h.top-i.top:i.bottom-h.bottom)-f;if(_<m&&!1!==c.resize){if(_<this.view.defaultLineHeight){u.style.top=is;continue}as.set(c,m),u.style.height=(m=_)/s+"px"}else u.style.height&&(u.style.height="");let x=b?h.top-m-f-g.y:h.bottom+f+g.y,w=y+O;if(!0!==c.overlap)for(let t of o)t.left<w&&t.right>y&&t.top<x+m&&t.bottom>x&&(x=b?t.top-m-2-f:t.bottom+f+2);if("absolute"==this.position?(u.style.top=(x-t.parent.top)/s+"px",cs(u,(y-t.parent.left)/r)):(u.style.top=x/s+"px",cs(u,y/r)),d){let t=h.left+(v?g.x:-g.x)-(y+14-7);d.style.left=t/r+"px"}!0!==c.overlap&&o.push({left:y,top:x,right:w,bottom:x+m}),u.classList.toggle("cm-tooltip-above",b),u.classList.toggle("cm-tooltip-below",!b),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=is}},{eventObservers:{scroll(){this.maybeMeasure()}}});function cs(t,e){let n=parseInt(t.style.left,10);(isNaN(n)||Math.abs(e-n)>1)&&(t.style.left=e+"px")}const us=Gi.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),hs={x:0,y:0},ps=i.r$.define({enables:[ls,us]}),ds=i.r$.define({combine:t=>t.reduce(((t,e)=>t.concat(e)),[])});class fs{static create(t){return new fs(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new rs(t,ds,((t,e)=>this.createHostedView(t,e)),(t=>t.dom.remove()))}createHostedView(t,e){let n=t.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,e?e.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);this.mounted=!0}positioned(t){for(let e of this.manager.tooltipViews)e.positioned&&e.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let e of this.manager.tooltipViews)null===(t=e.destroy)||void 0===t||t.call(e)}passProp(t){let e;for(let n of this.manager.tooltipViews){let i=n[t];if(void 0!==i)if(void 0===e)e=i;else if(e!==i)return}return e}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Os=ps.compute([ds],(t=>{let e=t.facet(ds);return 0===e.length?null:{pos:Math.min(...e.map((t=>t.pos))),end:Math.max(...e.map((t=>{var e;return null!==(e=t.end)&&void 0!==e?e:t.pos}))),create:fs.create,above:e[0].above,arrow:e.some((t=>t.arrow))}}));class ms{constructor(t,e,n,i,r){this.view=t,this.source=e,this.field=n,this.setHover=i,this.hoverTime=r,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((()=>this.startHover()),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=Date.now()-this.lastMove.time;t<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-t):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:t,lastMove:e}=this,n=t.docView.nearest(e.target);if(!n)return;let i,r=1;if(n instanceof et)i=n.posAtStart;else{if(i=t.posAtCoords(e),null==i)return;let n=t.coordsAtPos(i);if(!n||e.y<n.top||e.y>n.bottom||e.x<n.left-t.defaultCharacterWidth||e.x>n.right+t.defaultCharacterWidth)return;let s=t.bidiSpans(t.state.doc.lineAt(i)).find((t=>t.from<=i&&t.to>=i)),o=s&&s.dir==Tt.RTL?-1:1;r=e.x<n.left?-o:o}let s=this.source(t,i,r);if(null===s||void 0===s?void 0:s.then){let e=this.pending={pos:i};s.then((n=>{this.pending==e&&(this.pending=null,!n||Array.isArray(n)&&!n.length||t.dispatch({effects:this.setHover.of(Array.isArray(n)?n:[n])}))}),(e=>pe(t.state,e,"hover tooltip")))}else!s||Array.isArray(s)&&!s.length||t.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let t=this.view.plugin(ls),e=t?t.manager.tooltips.findIndex((t=>t.create==fs.create)):-1;return e>-1?t.manager.tooltipViews[e]:null}mousemove(t){var e,n;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:r}=this;if(i.length&&r&&!vs(r.dom,t)||this.pending){let{pos:r}=i[0]||this.pending,s=null!==(n=null===(e=i[0])||void 0===e?void 0:e.end)&&void 0!==n?n:r;(r==s?this.view.posAtCoords(this.lastMove)==r:ys(this.view,r,s,t.clientX,t.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:e}=this;if(e.length){let{tooltip:e}=this,n=e&&e.dom.contains(t.relatedTarget);n?this.watchTooltipLeave(e.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let e=n=>{t.removeEventListener("mouseleave",e),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",e)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const gs=4;function vs(t,e){let n,{left:i,right:r,top:s,bottom:o}=t.getBoundingClientRect();if(n=t.querySelector(".cm-tooltip-arrow")){let t=n.getBoundingClientRect();s=Math.min(t.top,s),o=Math.max(t.bottom,o)}return e.clientX>=i-gs&&e.clientX<=r+gs&&e.clientY>=s-gs&&e.clientY<=o+gs}function ys(t,e,n,i,r,s){let o=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(o.left>i||o.right<i||o.top>r||Math.min(o.bottom,a)<r)return!1;let l=t.posAtCoords({x:i,y:r},!1);return l>=e&&l<=n}function bs(t,e={}){let n=i.Py.define(),r=i.QQ.define({create(){return[]},update(t,r){if(t.length&&(e.hideOnChange&&(r.docChanged||r.selection)?t=[]:e.hideOn&&(t=t.filter((t=>!e.hideOn(r,t)))),r.docChanged)){let e=[];for(let n of t){let t=r.changes.mapPos(n.pos,-1,i.gc.TrackDel);if(null!=t){let i=Object.assign(Object.create(null),n);i.pos=t,null!=i.end&&(i.end=r.changes.mapPos(i.end)),e.push(i)}}t=e}for(let e of r.effects)e.is(n)&&(t=e.value),e.is(xs)&&(t=[]);return t},provide:t=>ds.from(t)});return{active:r,extension:[r,me.define((i=>new ms(i,t,r,n,e.hoverTime||300))),Os]}}function _s(t,e){let n=t.plugin(ls);if(!n)return null;let i=n.manager.tooltips.indexOf(e);return i<0?null:n.manager.tooltipViews[i]}const xs=974!=n.j?i.Py.define():null;const ws=i.r$.define({combine(t){let e,n;for(let i of t)e=e||i.topContainer,n=n||i.bottomContainer;return{topContainer:e,bottomContainer:n}}});function $s(t,e){let n=t.plugin(Ss),i=n?n.specs.indexOf(e):-1;return i>-1?n.panels[i]:null}const Ss=me.fromClass(class{constructor(t){this.input=t.state.facet(Ts),this.specs=this.input.filter((t=>t)),this.panels=this.specs.map((e=>e(t)));let e=t.state.facet(ws);this.top=new ks(t,!0,e.topContainer),this.bottom=new ks(t,!1,e.bottomContainer),this.top.sync(this.panels.filter((t=>t.top))),this.bottom.sync(this.panels.filter((t=>!t.top)));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(ws);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new ks(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new ks(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(Ts);if(n!=this.input){let e=n.filter((t=>t)),i=[],r=[],s=[],o=[];for(let n of e){let e,a=this.specs.indexOf(n);a<0?(e=n(t.view),o.push(e)):(e=this.panels[a],e.update&&e.update(t)),i.push(e),(e.top?r:s).push(e)}this.specs=e,this.panels=i,this.top.sync(r),this.bottom.sync(s);for(let t of o)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}else for(let i of this.panels)i.update&&i.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Gi.scrollMargins.of((e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}}))});class ks{constructor(t,e,n){this.view=t,this.top=e,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let e of this.panels)e.destroy&&t.indexOf(e)<0&&e.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let t=this.dom.firstChild;for(let e of this.panels)if(e.dom.parentNode==this.dom){while(t!=e.dom)t=Qs(t);t=t.nextSibling}else this.dom.insertBefore(e.dom,t);while(t)t=Qs(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function Qs(t){let e=t.nextSibling;return t.remove(),e}const Ts=i.r$.define({enables:Ss});class Ps extends i.uU{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Ps.prototype.elementClass="",Ps.prototype.toDOM=void 0,Ps.prototype.mapMode=i.gc.TrackBefore,Ps.prototype.startSide=Ps.prototype.endSide=-1,Ps.prototype.point=!0;const Cs=i.r$.define(),As=i.r$.define(),Es={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>i.Xs.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Rs=i.r$.define();function Ms(t){return[zs(),Rs.of({...Es,...t})]}const Ds=i.r$.define({combine:t=>t.some((t=>t))});function zs(t){let e=[js];return t&&!1===t.fixed&&e.push(Ds.of(!0)),e}const js=me.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Rs).map((e=>new Ws(t,e)));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Ds),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,i=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(i<.8*(n.to-n.from))}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Ds)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=i.Xs.iter(this.view.state.facet(Cs),this.view.viewport.from),r=[],s=this.gutters.map((t=>new Xs(t,this.view.viewport,-this.view.documentPadding.top)));for(let i of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(i.type)){let t=!0;for(let e of i.type)if(e.type==ft.Text&&t){Vs(n,r,e.from);for(let t of s)t.line(this.view,e,r);t=!1}else if(e.widget)for(let t of s)t.widget(this.view,e)}else if(i.type==ft.Text){Vs(n,r,i.from);for(let t of s)t.line(this.view,i,r)}else if(i.widget)for(let t of s)t.widget(this.view,i);for(let i of s)i.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Rs),n=t.state.facet(Rs),r=t.docChanged||t.heightChanged||t.viewportChanged||!i.Xs.eq(t.startState.facet(Cs),t.state.facet(Cs),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let r of n){let n=e.indexOf(r);n<0?i.push(new Ws(this.view,r)):(this.gutters[n].update(t),i.push(this.gutters[n]))}for(let t of this.gutters)t.dom.remove(),i.indexOf(t)<0&&t.destroy();for(let t of i)this.dom.appendChild(t.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>Gi.scrollMargins.of((e=>{let n=e.plugin(t);return n&&0!=n.gutters.length&&n.fixed?e.textDirection==Tt.LTR?{left:n.dom.offsetWidth*e.scaleX}:{right:n.dom.offsetWidth*e.scaleX}:null}))});function Zs(t){return Array.isArray(t)?t:[t]}function Vs(t,e,n){while(t.value&&t.from<=n)t.from==n&&e.push(t.value),t.next()}class Xs{constructor(t,e,n){this.gutter=t,this.height=n,this.i=0,this.cursor=i.Xs.iter(t.markers,e.from)}addElement(t,e,n){let{gutter:i}=this,r=(e.top-this.height)/t.scaleY,s=e.height/t.scaleY;if(this.i==i.elements.length){let e=new qs(t,s,r,n);i.elements.push(e),i.dom.appendChild(e.dom)}else i.elements[this.i].update(t,s,r,n);this.height=e.bottom,this.i++}line(t,e,n){let i=[];Vs(this.cursor,i,e.from),n.length&&(i=i.concat(n));let r=this.gutter.config.lineMarker(t,e,i);r&&i.unshift(r);let s=this.gutter;(0!=i.length||s.config.renderEmptyElements)&&this.addElement(t,e,i)}widget(t,e){let n=this.gutter.config.widgetMarker(t,e.widget,e),i=n?[n]:null;for(let r of t.state.facet(As)){let n=r(t,e.widget,e);n&&(i||(i=[])).push(n)}i&&this.addElement(t,e,i)}finish(){let t=this.gutter;while(t.elements.length>this.i){let e=t.elements.pop();t.dom.removeChild(e.dom),e.destroy()}}}class Ws{constructor(t,e){this.view=t,this.config=e,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in e.domEventHandlers)this.dom.addEventListener(n,(i=>{let r,s=i.target;if(s!=this.dom&&this.dom.contains(s)){while(s.parentNode!=this.dom)s=s.parentNode;let t=s.getBoundingClientRect();r=(t.top+t.bottom)/2}else r=i.clientY;let o=t.lineBlockAtHeight(r-t.documentTop);e.domEventHandlers[n](t,o,i)&&i.preventDefault()}));this.markers=Zs(e.markers(t)),e.initialSpacer&&(this.spacer=new qs(t,0,0,[e.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let e=this.markers;if(this.markers=Zs(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let e=this.config.updateSpacer(this.spacer.markers[0],t);e!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[e])}let n=t.view.viewport;return!i.Xs.eq(this.markers,e,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(t)}destroy(){for(let t of this.elements)t.destroy()}}class qs{constructor(t,e,n,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,e,n,i)}update(t,e,n,i){this.height!=e&&(this.height=e,this.dom.style.height=e+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),Is(this.markers,i)||this.setMarkers(t,i)}setMarkers(t,e){let n="cm-gutterElement",i=this.dom.firstChild;for(let r=0,s=0;;){let o=s,a=r<e.length?e[r++]:null,l=!1;if(a){let t=a.elementClass;t&&(n+=" "+t);for(let e=s;e<this.markers.length;e++)if(this.markers[e].compare(a)){o=e,l=!0;break}}else o=this.markers.length;while(s<o){let t=this.markers[s++];if(t.toDOM){t.destroy(i);let e=i.nextSibling;i.remove(),i=e}}if(!a)break;a.toDOM&&(l?i=i.nextSibling:this.dom.insertBefore(a.toDOM(t),i)),l&&s++}this.dom.className=n,this.markers=e}destroy(){this.setMarkers(null,[])}}function Is(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].compare(e[n]))return!1;return!0}const Ns=i.r$.define(),Ls=i.r$.define(),Bs=i.r$.define({combine(t){return(0,i.BO)(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,e){let n=Object.assign({},t);for(let i in e){let t=n[i],r=e[i];n[i]=t?(e,n,i)=>t(e,n,i)||r(e,n,i):r}return n}})}});class Us extends Ps{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function Ys(t,e){return t.state.facet(Bs).formatNumber(e,t.state)}const Fs=Rs.compute([Bs],(t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(Ns)},lineMarker(t,e,n){return n.some((t=>t.toDOM))?null:new Us(Ys(t,t.state.doc.lineAt(e.from).number))},widgetMarker:(t,e,n)=>{for(let i of t.state.facet(Ls)){let r=i(t,e,n);if(r)return r}return null},lineMarkerChange:t=>t.startState.facet(Bs)!=t.state.facet(Bs),initialSpacer(t){return new Us(Ys(t,Hs(t.state.doc.lines)))},updateSpacer(t,e){let n=Ys(e.view,Hs(e.view.state.doc.lines));return n==t.number?t:new Us(n)},domEventHandlers:t.facet(Bs).domEventHandlers})));function Gs(t={}){return[Bs.of(t),zs(),Fs]}function Hs(t){let e=9;while(e<t)e=10*e+9;return e}},74429:(t,e,n)=>{"use strict";n.d(e,{MU:()=>To,T6:()=>Is,uw:()=>Gs});var i=n(47421),r=n(37205),s=n(36391),o=n(48120),a=n(34790),l=n(59119),c=n(45383),u=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,m=(t,e,n)=>e in t?u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,g=(t,e)=>{for(var n in e||(e={}))f.call(e,n)&&m(t,n,e[n]);if(d)for(var n of d(e))O.call(e,n)&&m(t,n,e[n]);return t},v=(t,e)=>h(t,p(e)),y=(t,e,n)=>m(t,"symbol"!==typeof e?e+"":e,n);function b(t){return t>47&&t<58}function _(t,e,n){return e=e||65,n=n||90,t&=-33,t>=e&&t<=n}function x(t){return b(t)||w(t)}function w(t){return 95===t||_(t)}function $(t){return 196===t||214==t||220===t||228===t||246===t||252===t}function S(t){return 32===t||9===t||160===t}function k(t){return S(t)||10===t||13===t}function Q(t){return 39===t||34===t}let T=class t{constructor(t,e,n){null==n&&"string"===typeof t&&(n=t.length),this.string=t,this.pos=this.start=e||0,this.end=n||0}eof(){return this.pos>=this.end}limit(e,n){return new t(this.string,e,n)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){const e=this.peek(),n="function"===typeof t?t(e):e===t;return n&&this.next(),n}eatWhile(t){const e=this.pos;while(!this.eof()&&this.eat(t));return this.pos!==e}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,e){return this.string.slice(t,e)}error(t,e=this.pos){return new P(`${t} at ${e+1}`,e,this.string)}},P=class extends Error{constructor(t,e,n){super(t),this.pos=e,this.string=n}};function C(t){return{tokens:t,start:0,pos:0,size:t.length}}function A(t){return t.tokens[t.pos]}function E(t){return t.tokens[t.pos++]}function R(t,e=t.start,n=t.pos){return t.tokens.slice(e,n)}function M(t){return t.pos<t.size}function D(t,e){const n=A(t);return!(!n||!e(n))&&(t.pos++,!0)}function z(t,e,n=A(t)){n&&null!=n.start&&(e+=` at ${n.start}`);const i=new Error(e);return i["pos"]=n&&n.start,i}function j(t,e={}){const n=C(t),i=Z(n,e);if(M(n))throw z(n,"Unexpected character");return i}function Z(t,e){const n={type:"TokenGroup",elements:[]};let i,r=n;const s=[];while(M(t)){if(!(i=X(t,e)||V(t,e)))break;if(r.elements.push(i),D(t,pt))s.push(r),r=i;else{if(D(t,dt))continue;if(D(t,ft))do{s.length&&(r=s.pop())}while(D(t,ft))}}return n}function V(t,e){if(D(t,ct)){const n=Z(t,e),i=E(t);return G(i,"group",!1)&&(n.repeat=N(t)),n}}function X(t,e){let n;const i={type:"TokenElement",name:void 0,attributes:void 0,value:void 0,repeat:void 0,selfClose:!1,elements:[]};U(t,e)&&(i.name=R(t));while(M(t))if(t.start=t.pos,i.repeat||ht(i)||!D(t,et))if(!i.value&&Y(t))i.value=F(t);else{if(!(n=q(t,"id",e)||q(t,"class",e)||W(t))){!ht(i)&&D(t,Ot)&&(i.selfClose=!0,!i.repeat&&D(t,et)&&(i.repeat=t.tokens[t.pos-1]));break}i.attributes?i.attributes=i.attributes.concat(n):i.attributes=Array.isArray(n)?n.slice():[n]}else i.repeat=t.tokens[t.pos-1];return ht(i)?void 0:i}function W(t){if(D(t,ot)){const e=[];let n;while(M(t))if(n=I(t))e.push(n);else{if(D(t,at))break;if(!D(t,J))throw z(t,`Unexpected "${A(t).type}" token`)}return e}}function q(t,e,n){if(H(A(t),e)){t.pos++;let i=1;while(H(A(t),e))t.pos++,i++;const r={name:[ut(e)]};return i>1&&(r.multiple=!0),n.jsx&&Y(t)?(r.value=F(t),r.expression=!0):r.value=B(t)?R(t):void 0,r}}function I(t){if(L(t))return{value:R(t)};if(B(t,!0)){const e=R(t);let n;return D(t,tt)&&(L(t)||B(t,!0))&&(n=R(t)),{name:e,value:n}}}function N(t){return et(A(t))?t.tokens[t.pos++]:void 0}function L(t){const e=t.pos,n=A(t);if(K(n)){t.pos++;while(M(t))if(K(E(t),n.single))return t.start=e,!0;throw z(t,"Unclosed quote",n)}return!1}function B(t,e){const n=t.pos,i={attribute:0,expression:0,group:0};while(M(t)){const n=A(t);if(i.expression)G(n,"expression")&&(i[n.context]+=n.open?1:-1);else{if(K(n)||H(n)||J(n)||et(n))break;if(G(n)){if(!e)break;if(n.open)i[n.context]++;else{if(!i[n.context])break;i[n.context]--}}}t.pos++}return n!==t.pos&&(t.start=n,!0)}function U(t,e){const n=t.pos;if(e.jsx&&D(t,it))while(M(t)){const{pos:e}=t;if(!D(t,st)||!D(t,it)){t.pos=e;break}}while(M(t)&&D(t,rt));return t.pos!==n&&(t.start=n,!0)}function Y(t){const e=t.pos;if(D(t,lt)){let n=0;while(M(t)){const e=E(t);if(G(e,"expression"))if(e.open)n++;else{if(!n)break;n--}}return t.start=e,!0}return!1}function F(t){let e=t.start,n=t.pos;return G(t.tokens[e],"expression",!0)&&e++,G(t.tokens[n-1],"expression",!1)&&n--,R(t,e,n)}function G(t,e,n){return Boolean(t&&"Bracket"===t.type&&(!e||t.context===e)&&(null==n||t.open===n))}function H(t,e){return Boolean(t&&"Operator"===t.type&&(!e||t.operator===e))}function K(t,e){return Boolean(t&&"Quote"===t.type&&(null==e||t.single===e))}function J(t){return Boolean(t&&"WhiteSpace"===t.type)}function tt(t){return H(t,"equal")}function et(t){return Boolean(t&&"Repeater"===t.type)}function nt(t){return"Literal"===t.type}function it(t){if(nt(t)){const e=t.value.charCodeAt(0);return e>=65&&e<=90}return!1}function rt(t){return"Literal"===t.type||"RepeaterNumber"===t.type||"RepeaterPlaceholder"===t.type}function st(t){return H(t,"class")}function ot(t){return G(t,"attribute",!0)}function at(t){return G(t,"attribute",!1)}function lt(t){return G(t,"expression",!0)}function ct(t){return G(t,"group",!0)}function ut(t){return{type:"Literal",value:t}}function ht(t){return!t.name&&!t.value&&!t.attributes}function pt(t){return H(t,"child")}function dt(t){return H(t,"sibling")}function ft(t){return H(t,"climb")}function Ot(t){return H(t,"close")}var mt;function gt(t){return!!t.eat(mt.Escape)&&(t.start=t.pos,t.eof()||t.pos++,!0)}function vt(t){const e=new T(t),n=[],i={group:0,attribute:0,expression:0,quote:0};let r,s=0;while(!e.eof()){if(s=e.peek(),r=yt(e,i),!r)throw e.error("Unexpected character");n.push(r),"Quote"===r.type?i.quote=s===i.quote?0:s:"Bracket"===r.type&&(i[r.context]+=r.open?1:-1)}return n}function yt(t,e){return Tt(t,e)||kt(t)||Qt(t)||St(t)||_t(t)||bt(t,e)||$t(t)||xt(t)||wt(t)}function bt(t,e){const n=t.pos,i=e.expression;let r="";while(!t.eof()){if(gt(t)){r+=t.current();continue}const n=t.peek();if(n===mt.Slash&&!e.quote&&!e.expression&&!e.attribute){const e=t.string.charCodeAt(t.pos-1),n=t.string.charCodeAt(t.pos+1);if(b(e)&&b(n)){r+=t.string[t.pos++];continue}}if(n===e.quote||n===mt.Dollar||Ct(n,e))break;if(i){if(n===mt.CurlyBracketOpen)e.expression++;else if(n===mt.CurlyBracketClose){if(!(e.expression>i))break;e.expression--}}else if(!e.quote){if(!e.attribute&&!zt(n))break;if(At(n,e)||Et(n,e)||Q(n)||Rt(n))break}r+=t.string[t.pos++]}if(n!==t.pos)return t.start=n,{type:"Literal",value:r,start:n,end:t.pos}}function _t(t){const e=t.pos;if(t.eatWhile(k))return{type:"WhiteSpace",start:e,end:t.pos,value:t.substring(e,t.pos)}}function xt(t){const e=t.peek();if(Q(e))return{type:"Quote",single:e===mt.SingleQuote,start:t.pos++,end:t.pos}}function wt(t){const e=t.peek(),n=Rt(e);if(n)return{type:"Bracket",open:Dt(e),context:n,start:t.pos++,end:t.pos}}function $t(t){const e=Mt(t.peek());if(e)return{type:"Operator",operator:e,start:t.pos++,end:t.pos}}function St(t){const e=t.pos;if(t.eat(mt.Asterisk)){t.start=t.pos;let n=1,i=!1;return t.eatWhile(b)?n=Number(t.current()):i=!0,{type:"Repeater",count:n,value:0,implicit:i,start:e,end:t.pos}}}function kt(t){const e=t.pos;if(t.eat(mt.Dollar)&&t.eat(mt.Hash))return{type:"RepeaterPlaceholder",value:void 0,start:e,end:t.pos};t.pos=e}function Qt(t){const e=t.pos;if(t.eatWhile(mt.Dollar)){const n=t.pos-e;let i=!1,r=1,s=0;if(t.eat(mt.At)){while(t.eat(mt.Climb))s++;i=t.eat(mt.Dash),t.start=t.pos,t.eatWhile(b)&&(r=Number(t.current()))}return t.start=e,{type:"RepeaterNumber",size:n,reverse:i,base:r,parent:s,start:e,end:t.pos}}}function Tt(t,e){const n=t.pos;if((e.expression||e.attribute)&&t.eat(mt.Dollar)&&t.eat(mt.CurlyBracketOpen)){let e;t.start=t.pos;let i="";if(t.eatWhile(b)?(e=Number(t.current()),i=t.eat(mt.Colon)?Pt(t):""):_(t.peek())&&(i=Pt(t)),t.eat(mt.CurlyBracketClose))return{type:"Field",index:e,name:i,start:n,end:t.pos};throw t.error("Expecting }")}t.pos=n}function Pt(t){const e=[];t.start=t.pos;while(!t.eof())if(t.eat(mt.CurlyBracketOpen))e.push(t.pos);else if(t.eat(mt.CurlyBracketClose)){if(!e.length){t.pos--;break}e.pop()}else t.pos++;if(e.length)throw t.pos=e.pop(),t.error("Expecting }");return t.current()}function Ct(t,e){const n=Mt(t);return!(!n||e.quote||e.expression)&&(!e.attribute||"equal"===n)}function At(t,e){return k(t)&&!e.expression}function Et(t,e){return t===mt.Asterisk&&!e.attribute&&!e.expression}function Rt(t){return t===mt.RoundBracketOpen||t===mt.RoundBracketClose?"group":t===mt.SquareBracketOpen||t===mt.SquareBracketClose?"attribute":t===mt.CurlyBracketOpen||t===mt.CurlyBracketClose?"expression":void 0}function Mt(t){return(t===mt.Child?"child":t===mt.Sibling&&"sibling")||t===mt.Climb&&"climb"||t===mt.Dot&&"class"||t===mt.Hash&&"id"||t===mt.Slash&&"close"||t===mt.Equals&&"equal"||void 0}function Dt(t){return t===mt.CurlyBracketOpen||t===mt.SquareBracketOpen||t===mt.RoundBracketOpen}function zt(t){return x(t)||$(t)||t===mt.Dash||t===mt.Colon||t===mt.Excl}(function(t){t[t["CurlyBracketOpen"]=123]="CurlyBracketOpen",t[t["CurlyBracketClose"]=125]="CurlyBracketClose",t[t["Escape"]=92]="Escape",t[t["Equals"]=61]="Equals",t[t["SquareBracketOpen"]=91]="SquareBracketOpen",t[t["SquareBracketClose"]=93]="SquareBracketClose",t[t["Asterisk"]=42]="Asterisk",t[t["Hash"]=35]="Hash",t[t["Dollar"]=36]="Dollar",t[t["Dash"]=45]="Dash",t[t["Dot"]=46]="Dot",t[t["Slash"]=47]="Slash",t[t["Colon"]=58]="Colon",t[t["Excl"]=33]="Excl",t[t["At"]=64]="At",t[t["Underscore"]=95]="Underscore",t[t["RoundBracketOpen"]=40]="RoundBracketOpen",t[t["RoundBracketClose"]=41]="RoundBracketClose",t[t["Sibling"]=43]="Sibling",t[t["Child"]=62]="Child",t[t["Climb"]=94]="Climb",t[t["SingleQuote"]=39]="SingleQuote",t[t["DoubleQuote"]=34]="DoubleQuote"})(mt||(mt={}));const jt={child:">",class:".",climb:"^",id:"#",equal:"=",close:"/",sibling:"+"},Zt={Literal(t){return t.value},Quote(t){return t.single?"'":'"'},Bracket(t){return"attribute"===t.context?t.open?"[":"]":"expression"===t.context?t.open?"{":"}":t.open?"(":"}"},Operator(t){return jt[t.operator]},Field(t,e){return null!=t.index?t.name?`\${${t.index}:${t.name}}`:`\${${t.index}`:t.name?e.getVariable(t.name):""},RepeaterPlaceholder(t,e){let n;for(let i=e.repeaters.length-1;i>=0;i--)if(e.repeaters[i].implicit){n=e.repeaters[i];break}return e.inserted=!0,e.getText(n&&n.value)},RepeaterNumber(t,e){let n=1;const i=e.repeaters.length-1,r=e.repeaters[i];if(r&&(n=t.reverse?t.base+r.count-r.value-1:t.base+r.value,t.parent)){const s=Math.max(0,i-t.parent);if(s!==i){const t=e.repeaters[s];n+=r.count*t.value}}let s=String(n);while(s.length<t.size)s="0"+s;return s},WhiteSpace(t){return t.value}};function Vt(t,e){if(!Zt[t.type])throw new Error(`Unknown token ${t.type}`);return Zt[t.type](t,e)}const Xt=/^((https?:|ftp:|file:)?\/\/|(www|ftp)\.)[^ ]*$/,Wt=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,5}$/;function qt(t,e={}){let n,i=!1;e.text&&(n=Array.isArray(e.text)?e.text.filter((t=>t.trim())):e.text);const r={type:"Abbreviation",children:Lt(t,{inserted:!1,repeaters:[],text:e.text,cleanText:n,repeatGuard:e.maxRepeat||Number.POSITIVE_INFINITY,getText(t){var r;let s;if(i=!0,Array.isArray(e.text)){if(void 0!==t&&t>=0&&t<n.length)return n[t];s=void 0!==t?e.text[t]:e.text.join("\n")}else s=null!==(r=e.text)&&void 0!==r?r:"";return s},getVariable(t){const n=e.variables&&e.variables[t];return null!=n?n:t}})};if(null!=e.text&&!i){const t=Kt(Ht(r.children));if(t){const n=Array.isArray(e.text)?e.text.join("\n"):e.text;Jt(t,n),"a"===t.name&&e.href&&te(t,n)}}return r}function It(t,e){let n=[];if(t.repeat){const i=t.repeat,r=Object.assign({},i);let s;r.count=r.implicit&&Array.isArray(e.text)?e.cleanText.length:r.count||1,e.repeaters.push(r);for(let o=0;o<r.count;o++){if(r.value=o,t.repeat=r,s=Ft(t)?Lt(t,e):Nt(t,e),r.implicit&&!e.inserted){const t=Ht(s),n=t&&Kt(t);n&&Jt(n,e.getText(r.value))}if(n=n.concat(s),--e.repeatGuard<=0)break}e.repeaters.pop(),t.repeat=i,r.implicit&&(e.inserted=!0)}else n=n.concat(Ft(t)?Lt(t,e):Nt(t,e));return n}function Nt(t,e){let n=[];const i={type:"AbbreviationNode",name:t.name&&Ut(t.name,e),value:t.value&&Yt(t.value,e),attributes:void 0,children:n,repeat:t.repeat&&Object.assign({},t.repeat),selfClosing:t.selfClose};let r=[i];for(const s of t.elements)n=n.concat(It(s,e));if(t.attributes){i.attributes=[];for(const n of t.attributes)i.attributes.push(Bt(n,e))}return i.name||i.attributes||!i.value||i.value.some(Gt)?i.children=n:r=r.concat(n),r}function Lt(t,e){let n=[];for(const i of t.elements)n=n.concat(It(i,e));return t.repeat&&(n=ee(n,t.repeat)),n}function Bt(t,e){let n,i=!1,r=!1,s=t.expression?"expression":"raw";const o=t.name&&Ut(t.name,e);if(o&&"!"===o[0]&&(i=!0),o&&"."===o[o.length-1]&&(r=!0),t.value){const i=t.value.slice();if(K(i[0])){const t=i.shift();i.length&&Ht(i).type===t.type&&i.pop(),s=t.single?"singleQuote":"doubleQuote"}else G(i[0],"expression",!0)&&(s="expression",i.shift(),G(Ht(i),"expression",!1)&&i.pop());n=Yt(i,e)}return{name:r||i?o.slice(i?1:0,r?-1:void 0):o,value:n,boolean:r,implied:i,valueType:s,multiple:t.multiple}}function Ut(t,e){let n="";for(let i=0;i<t.length;i++)n+=Vt(t[i],e);return n}function Yt(t,e){const n=[];let i="";for(let r,s=0;s<t.length;s++)r=t[s],Gt(r)?(i&&(n.push(i),i=""),n.push(r)):i+=Vt(r,e);return i&&n.push(i),n}function Ft(t){return"TokenGroup"===t.type}function Gt(t){return"object"===typeof t&&"Field"===t.type&&null!=t.index}function Ht(t){return t[t.length-1]}function Kt(t){return t.children.length?Kt(Ht(t.children)):t}function Jt(t,e){if(t.value){const n=Ht(t.value);"string"===typeof n?t.value[t.value.length-1]+=e:t.value.push(e)}else t.value=[e]}function te(t,e){var n;let i="";Xt.test(e)?(i=e,/\w+:/.test(i)||i.startsWith("//")||(i=`http://${i}`)):Wt.test(e)&&(i=`mailto:${e}`);const r=null===(n=t.attributes)||void 0===n?void 0:n.find((t=>"href"===t.name));r?r.value||(r.value=[i]):(t.attributes||(t.attributes=[]),t.attributes.push({name:"href",value:[i],valueType:"doubleQuote"}))}function ee(t,e){for(const n of t)n.repeat||(n.repeat=Object.assign({},e));return t}function ne(t,e){try{const n="string"===typeof t?vt(t):t;return qt(j(n,e),e)}catch(n){throw n instanceof P&&"string"===typeof t&&(n.message+=`\n${t}\n${"-".repeat(n.pos)}^`),n}}var ie,re;function se(t,e){let n,i=0;const r=new T(t),s=[];while(!r.eof()){if(n=oe(r,0===i&&!e),!n)throw r.error("Unexpected character");if("Bracket"===n.type&&(!i&&n.open&&Te(r,s),i+=n.open?1:-1,i<0))throw r.error("Unexpected bracket",n.start);s.push(n),Qe(n)&&(n=ve(r))&&s.push(n)}return s}function oe(t,e){return ae(t)||me(t)||he(t)||de(t)||pe(t)||ge(t)||ve(t)||Oe(t)||ce(t,e)}function ae(t){const e=t.pos;if(t.eat(re.Dollar)&&t.eat(re.CurlyBracketOpen)){let n;t.start=t.pos;let i="";if(t.eatWhile(b)?(n=Number(t.current()),i=t.eat(re.Colon)?le(t):""):_(t.peek())&&(i=le(t)),t.eat(re.CurlyBracketClose))return{type:"Field",index:n,name:i,start:e,end:t.pos};throw t.error("Expecting }")}t.pos=e}function le(t){const e=[];t.start=t.pos;while(!t.eof())if(t.eat(re.CurlyBracketOpen))e.push(t.pos);else if(t.eat(re.CurlyBracketClose)){if(!e.length){t.pos--;break}e.pop()}else t.pos++;if(e.length)throw t.pos=e.pop(),t.error("Expecting }");return t.current()}function ce(t,e){const n=t.pos;if(t.eat(be)?t.eatWhile(n?we:Se):t.eat(w)?t.eatWhile(e?Se:we):(t.eat(re.Dot),t.eatWhile(Se)),n!==t.pos)return t.start=n,ue(t,t.start=n)}function ue(t,e=t.start,n=t.pos){return{type:"Literal",value:t.substring(e,n),start:e,end:n}}function he(t){const e=t.pos;if(ye(t)){t.start=e;const n=t.current();return t.start=t.pos,t.eat(re.Percent)||t.eatWhile(w),{type:"NumberValue",value:Number(n),rawValue:n,unit:t.current(),start:e,end:t.pos}}}function pe(t){const e=t.peek(),n=t.pos;let i=!1;if(Q(e)){t.pos++;while(!t.eof()){if(t.eat(e)){i=!0;break}t.pos++}return t.start=n,{type:"StringValue",value:t.substring(n+1,t.pos-(i?1:0)),quote:e===re.SingleQuote?"single":"double",start:n,end:t.pos}}}function de(t){const e=t.pos;if(t.eat(re.Hash)){const n=t.pos;let i="",r="";if(t.eatWhile(xe)?(i=t.substring(n,t.pos),r=fe(t)):t.eat(re.Transparent)?(i="0",r=fe(t)||"0"):r=fe(t),i||r||t.eof()){const{r:n,g:s,b:o,a}=ke(i,r);return{type:"ColorValue",r:n,g:s,b:o,a,raw:t.substring(e+1,t.pos),start:e,end:t.pos}}return ue(t,e)}t.pos=e}function fe(t){const e=t.pos;return t.eat(re.Dot)?(t.start=e,t.eatWhile(b)?t.current():"1"):""}function Oe(t){const e=t.pos;if(t.eatWhile(k))return{type:"WhiteSpace",start:e,end:t.pos}}function me(t){const e=t.pos;if(t.eat(re.Dash)&&t.eat(re.Dash))return t.start=e,t.eatWhile(we),{type:"CustomProperty",value:t.current(),start:e,end:t.pos};t.pos=e}function ge(t){const e=t.peek();if($e(e))return{type:"Bracket",open:e===re.RoundBracketOpen,start:t.pos++,end:t.pos}}function ve(t){const e=_e(t.peek());if(e)return{type:"Operator",operator:e,start:t.pos++,end:t.pos}}function ye(t){const e=t.pos;t.eat(re.Dash);const n=t.pos,i=t.eatWhile(b),r=t.pos;if(t.eat(re.Dot)){const e=t.eatWhile(b);i||e||(t.pos=r)}return t.pos===n&&(t.pos=e),t.pos!==e}function be(t){return t===re.At||t===re.Dollar}function _e(t){return t===re.Sibling&&ie.Sibling||t===re.Excl&&ie.Important||t===re.Comma&&ie.ArgumentDelimiter||t===re.Colon&&ie.PropertyDelimiter||t===re.Dash&&ie.ValueDelimiter||void 0}function xe(t){return b(t)||_(t,65,70)}function we(t){return x(t)||t===re.Dash}function $e(t){return t===re.RoundBracketOpen||t===re.RoundBracketClose}function Se(t){return w(t)||t===re.Percent||t===re.Slash}function ke(t,e){let n="0",i="0",r="0",s=Number(null!=e&&""!==e?e:1);if("t"===t)s=0;else switch(t.length){case 0:break;case 1:n=i=r=t+t;break;case 2:n=i=r=t;break;case 3:n=t[0]+t[0],i=t[1]+t[1],r=t[2]+t[2];break;default:t+=t,n=t.slice(0,2),i=t.slice(2,4),r=t.slice(4,6)}return{r:parseInt(n,16),g:parseInt(i,16),b:parseInt(r,16),a:s}}function Qe(t){return"ColorValue"===t.type||"NumberValue"===t.type&&!t.unit}function Te(t,e){let n=0,i=0;while(e.length){const t=Pe(e);if("Literal"!==t.type&&"NumberValue"!==t.type)break;n=t.start,i||(i=t.end),e.pop()}n!==i&&e.push(ue(t,n,i))}function Pe(t){return t[t.length-1]}function Ce(t){return{tokens:t,start:0,pos:0,size:t.length}}function Ae(t){return t.tokens[t.pos]}function Ee(t){return t.pos<t.size}function Re(t,e){return!!e(Ae(t))&&(t.pos++,!0)}function Me(t,e,n=Ae(t)){n&&null!=n.start&&(e+=` at ${n.start}`);const i=new Error(e);return i["pos"]=n&&n.start,i}function De(t,e={}){const n=Ce(t),i=[];let r;while(Ee(n))if(r=ze(n,e))i.push(r);else if(!Re(n,Le))throw Me(n,"Unexpected token");return i}function ze(t,e){let n,i,r=!1;const s=[],o=Ae(t),a=!!e.value;a||!Ve(o)||He(t)||(t.pos++,n=o.value,Re(t,Ge)),a&&Re(t,Ie);while(Ee(t))if(Re(t,Ye))r=!0;else if(i=je(t,a))s.push(i);else if(!Re(t,Ue))break;if(n||s.length||r)return{name:n,value:s,important:r}}function je(t,e){const n=[];let i,r;while(Ee(t))if(i=Ae(t),Fe(i))t.pos++,Ve(i)&&(r=Ze(t))?n.push({type:"FunctionCall",name:i.value,arguments:r}):n.push(i);else{if(!(Ge(i)||e&&Ie(i)))break;t.pos++}return n.length?{type:"CSSValue",value:n}:void 0}function Ze(t){const e=t.pos;if(Re(t,We)){const n=[];let i;while(Ee(t)&&!Re(t,qe))if(i=je(t,!0))n.push(i);else if(!Re(t,Ie)&&!Re(t,Be))throw Me(t,"Unexpected token");return t.start=e,n}}function Ve(t){return t&&"Literal"===t.type}function Xe(t,e){return t&&"Bracket"===t.type&&(null==e||t.open===e)}function We(t){return Xe(t,!0)}function qe(t){return Xe(t,!1)}function Ie(t){return t&&"WhiteSpace"===t.type}function Ne(t,e){return t&&"Operator"===t.type&&(!e||t.operator===e)}function Le(t){return Ne(t,ie.Sibling)}function Be(t){return Ne(t,ie.ArgumentDelimiter)}function Ue(t){return Be(t)}function Ye(t){return Ne(t,ie.Important)}function Fe(t){return"StringValue"===t.type||"ColorValue"===t.type||"NumberValue"===t.type||"Literal"===t.type||"Field"===t.type||"CustomProperty"===t.type}function Ge(t){return Ne(t,ie.PropertyDelimiter)||Ne(t,ie.ValueDelimiter)}function He(t){const e=t.tokens[t.pos],n=t.tokens[t.pos+1];return e&&n&&Ve(e)&&"Bracket"===n.type}function Ke(t,e){try{const n="string"===typeof t?se(t,e&&e.value):t;return De(n,e)}catch(n){throw n instanceof P&&"string"===typeof t&&(n.message+=`\n${t}\n${"-".repeat(n.pos)}^`),n}}function Je(t,e){if(!t.attributes)return;const n=[],i={};for(const r of t.attributes)if(r.name){const t=r.name;if(t in i){const n=i[t];"class"===t?n.value=tn(n.value,r.value," "):en(n,r,e)}else n.push(i[t]=Object.assign({},r))}else n.push(r);t.attributes=n}function tn(t,e,n){if(t&&e){t.length&&n&&nn(t,n);for(const n of e)nn(t,n);return t}const i=t||e;return i&&i.slice()}function en(t,e,n){return t.name=e.name,n.options["output.reverseAttributes"]||(t.value=e.value),t.implied||(t.implied=e.implied),t.boolean||(t.boolean=e.boolean),"expression"!==t.valueType&&(t.valueType=e.valueType),t}function nn(t,e){const n=t.length-1;"string"===typeof t[n]&&"string"===typeof e?t[n]+=e:t.push(e)}function rn(t,e,n){const i=[t],r=t=>{e(t,i,n),i.push(t),t.children.forEach(r),i.pop()};t.children.forEach(r)}function sn(t,e){for(let n=0;n<t.children.length;n++){const i=t.children[n];if(e(i))return i;const r=sn(i,e);if(r)return r}}function on(t){let e;while(t.children.length)e=t,t=t.children[t.children.length-1];return{parent:e,node:t}}function an(t){return"AbbreviationNode"===t.type}function ln(t,e){const n=[],i=e.options["output.reverseAttributes"],{warn:r}=e,s=t=>{const o=t.name&&e.snippets[t.name];if(!o||n.includes(o))return null;let a;try{a=ne(o,e)}catch(l){return null===r||void 0===r||r(`Unable to parse "${o}" snippet`,l),null}n.push(o),cn(a,s),n.pop();for(const e of a.children){if(t.attributes){const n=e.attributes||[],r=t.attributes||[];e.attributes=i?r.concat(n):n.concat(r)}un(t,e)}return a};return cn(t,s),t}function cn(t,e,n){let i=[];for(const r of t.children){const t=e(r);if(t){i=i.concat(t.children);const n=on(t);an(n.node)&&(n.node.children=n.node.children.concat(cn(r,e)))}else i.push(r),r.children=cn(r,e)}return t.children=i}function un(t,e){t.selfClosing&&(e.selfClosing=!0),null!=t.value&&(e.value=t.value),t.repeat&&(e.repeat=t.repeat)}(function(t){t["Sibling"]="+",t["Important"]="!",t["ArgumentDelimiter"]=",",t["ValueDelimiter"]="-",t["PropertyDelimiter"]=":"})(ie||(ie={})),function(t){t[t["Hash"]=35]="Hash",t[t["Dollar"]=36]="Dollar",t[t["Dash"]=45]="Dash",t[t["Dot"]=46]="Dot",t[t["Colon"]=58]="Colon",t[t["Comma"]=44]="Comma",t[t["Excl"]=33]="Excl",t[t["At"]=64]="At",t[t["Percent"]=37]="Percent",t[t["Underscore"]=95]="Underscore",t[t["RoundBracketOpen"]=40]="RoundBracketOpen",t[t["RoundBracketClose"]=41]="RoundBracketClose",t[t["CurlyBracketOpen"]=123]="CurlyBracketOpen",t[t["CurlyBracketClose"]=125]="CurlyBracketClose",t[t["Sibling"]=43]="Sibling",t[t["SingleQuote"]=39]="SingleQuote",t[t["DoubleQuote"]=34]="DoubleQuote",t[t["Transparent"]=116]="Transparent",t[t["Slash"]=47]="Slash"}(re||(re={}));const hn="{",pn="}";function dn(t,e=0){return{options:t,value:"",level:e,offset:0,line:0,column:0}}function fn(t,e){const n=t.options["output.text"];kn(t,n(e,t.offset,t.line,t.column))}function On(t,e){const n=Sn(e);for(let i=0,r=n.length-1;i<=r;i++)fn(t,n[i]),i!==r&&mn(t,!0)}function mn(t,e){const n=t.options["output.baseIndent"],i=t.options["output.newline"];fn(t,i+n),t.line++,t.column=n.length,e&&gn(t,!0===e?t.level:e)}function gn(t,e=t.level){const n=t.options["output.indent"];fn(t,n.repeat(Math.max(e,0)))}function vn(t,e,n){const i=t.options["output.field"];kn(t,i(e,n,t.offset,t.line,t.column))}function yn(t,e){return Qn(t,e.options["output.tagCase"])}function bn(t,e){return Qn(t,e.options["output.attributeCase"])}function _n(t,e,n){return"expression"===t.valueType?n?hn:pn:"single"===e.options["output.attributeQuotes"]?"'":'"'}function xn(t,e){return t.boolean||e.options["output.booleanAttributes"].includes((t.name||"").toLowerCase())}function wn(t){switch(t.options["output.selfClosingStyle"]){case"xhtml":return" /";case"xml":return"/";default:return""}}function $n(t,e){return"string"===typeof t?e.options.inlineElements.includes(t.toLowerCase()):t.name?$n(t.name,e):Boolean(t.value&&!t.attributes)}function Sn(t){return t.split(/\r\n|\r|\n/g)}function kn(t,e){t.value+=e,t.offset+=e.length,t.column+=e.length}function Qn(t,e){return e?"upper"===e?t.toUpperCase():t.toLowerCase():t}const Tn={p:"span",ul:"li",ol:"li",table:"tr",tr:"td",tbody:"tr",thead:"tr",tfoot:"tr",colgroup:"col",select:"option",optgroup:"option",audio:"source",video:"source",object:"param",map:"area"};function Pn(t,e,n){!t.name&&t.attributes&&Cn(t,e,n)}function Cn(t,e,n){const i=En(e),r=n.context?n.context.name:"",s=An(i?i.name:r);t.name=Tn[s]||($n(s,n)?"span":"div")}function An(t){return(t||"").toLowerCase()}function En(t){for(let e=t.length-1;e>=0;e--){const n=t[e];if(an(n))return n}}var Rn={common:["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit"],words:["exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]},Mn={common:["далеко-далеко","за","словесными","горами","в стране","гласных","и согласных","живут","рыбные","тексты"],words:["вдали","от всех","они","буквенных","домах","на берегу","семантика","большого","языкового","океана","маленький","ручеек","даль","журчит","по всей","обеспечивает","ее","всеми","необходимыми","правилами","эта","парадигматическая","страна","которой","жаренные","предложения","залетают","прямо","рот","даже","всемогущая","пунктуация","не","имеет","власти","над","рыбными","текстами","ведущими","безорфографичный","образ","жизни","однажды","одна","маленькая","строчка","рыбного","текста","имени","lorem","ipsum","решила","выйти","большой","мир","грамматики","великий","оксмокс","предупреждал","о","злых","запятых","диких","знаках","вопроса","коварных","точках","запятой","но","текст","дал","сбить","себя","толку","он","собрал","семь","своих","заглавных","букв","подпоясал","инициал","за","пояс","пустился","дорогу","взобравшись","первую","вершину","курсивных","гор","бросил","последний","взгляд","назад","силуэт","своего","родного","города","буквоград","заголовок","деревни","алфавит","подзаголовок","своего","переулка","грустный","реторический","вопрос","скатился","его","щеке","продолжил","свой","путь","дороге","встретил","рукопись","она","предупредила","моей","все","переписывается","несколько","раз","единственное","что","меня","осталось","это","приставка","возвращайся","ты","лучше","свою","безопасную","страну","послушавшись","рукописи","наш","продолжил","свой","путь","вскоре","ему","повстречался","коварный","составитель","рекламных","текстов","напоивший","языком","речью","заманивший","свое","агентство","которое","использовало","снова","снова","своих","проектах","если","переписали","то","живет","там","до","сих","пор"]},Dn={common:["mujer","uno","dolor","más","de","poder","mismo","si"],words:["ejercicio","preferencia","perspicacia","laboral","paño","suntuoso","molde","namibia","planeador","mirar","demás","oficinista","excepción","odio","consecuencia","casi","auto","chicharra","velo","elixir","ataque","no","odio","temporal","cuórum","dignísimo","facilismo","letra","nihilista","expedición","alma","alveolar","aparte","león","animal","como","paria","belleza","modo","natividad","justo","ataque","séquito","pillo","sed","ex","y","voluminoso","temporalidad","verdades","racional","asunción","incidente","marejada","placenta","amanecer","fuga","previsor","presentación","lejos","necesariamente","sospechoso","adiposidad","quindío","pócima","voluble","débito","sintió","accesorio","falda","sapiencia","volutas","queso","permacultura","laudo","soluciones","entero","pan","litro","tonelada","culpa","libertario","mosca","dictado","reincidente","nascimiento","dolor","escolar","impedimento","mínima","mayores","repugnante","dulce","obcecado","montaña","enigma","total","deletéreo","décima","cábala","fotografía","dolores","molesto","olvido","paciencia","resiliencia","voluntad","molestias","magnífico","distinción","ovni","marejada","cerro","torre","y","abogada","manantial","corporal","agua","crepúsculo","ataque","desierto","laboriosamente","angustia","afortunado","alma","encefalograma","materialidad","cosas","o","renuncia","error","menos","conejo","abadía","analfabeto","remo","fugacidad","oficio","en","almácigo","vos","pan","represión","números","triste","refugiado","trote","inventor","corchea","repelente","magma","recusado","patrón","explícito","paloma","síndrome","inmune","autoinmune","comodidad","ley","vietnamita","demonio","tasmania","repeler","apéndice","arquitecto","columna","yugo","computador","mula","a","propósito","fantasía","alias","rayo","tenedor","deleznable","ventana","cara","anemia","corrupto"]};const zn={ru:Mn,sp:Dn,latin:Rn},jn=/^lorem([a-z]*)(\d*)(-\d*)?$/i;function Zn(t,e,n){let i;if(t.name&&(i=t.name.match(jn))){const r=zn[i[1]]||zn.latin,s=i[2]?Math.max(1,Number(i[2])):30,o=i[3]?Math.max(s,Number(i[3].slice(1))):s,a=Vn(s,o),l=t.repeat||Bn(e);t.name=t.attributes=void 0,t.value=[Ln(r,a,!l||0===l.value)],t.repeat&&e.length>1&&Cn(t,e,n)}}function Vn(t,e){return Math.floor(Math.random()*(e-t)+t)}function Xn(t,e){const n=t.length,i=Math.min(n,e),r=[];while(r.length<i){const e=t[Vn(0,n)];r.includes(e)||r.push(e)}return r}function Wn(t){return t[Vn(0,t.length-1)]}function qn(t,e){return t.length&&(t=[In(t[0])].concat(t.slice(1))),t.join(" ")+(e||Wn("?!..."))}function In(t){return t[0].toUpperCase()+t.slice(1)}function Nn(t){if(t.length<2)return t;t=t.slice();const e=t.length,n=/,$/;let i=0;i=e>3&&e<=6?Vn(0,1):e>6&&e<=12?Vn(0,2):Vn(1,4);for(let r,s=0;s<i;s++)r=Vn(0,e-2),n.test(t[r])||(t[r]+=",");return t}function Ln(t,e,n){const i=[];let r,s=0;n&&t.common&&(r=t.common.slice(0,e),s+=r.length,i.push(qn(Nn(r),".")));while(s<e)r=Xn(t.words,Math.min(Vn(2,30),e-s)),s+=r.length,i.push(qn(Nn(r)));return i.join(" ")}function Bn(t){for(let e=t.length-1;e>=0;e--){const n=t[e];if("AbbreviationNode"===n.type&&n.repeat)return n.repeat}}function Un(t){Fn(t.name)&&t.attributes&&(t.children.length||t.value)&&(t.attributes=t.attributes.filter(Yn))}function Yn(t){return"select"!==t.name}function Fn(t){return"xsl:variable"===t||"xsl:with-param"===t}const Gn=/^(-+)([a-z0-9]+[a-z0-9-]*)/i,Hn=/^(_+)([a-z0-9]+[a-z0-9-_]*)/i,Kn=t=>/^[a-z]\-/i.test(t),Jn=t=>/^[a-z]/i.test(t);function ti(t,e,n){ei(t),ni(t,e,n)}function ei(t){const e=ii(t),n=[];for(const i of e.classNames){const t=i.indexOf("_");t>0&&!i.startsWith("-")?(n.push(i.slice(0,t)),n.push(i.slice(t))):n.push(i)}n.length&&(e.classNames=n.filter(hi),e.block=ai(e.classNames),ci(t,e.classNames.join(" ")))}function ni(t,e,n){const i=ii(t),r=[],{options:s}=n,o=e.slice(1).concat(t);for(let l of i.classNames){let t,e="";const i=l;(t=l.match(Gn))&&(e=oi(o,t[1].length,n.context)+s["bem.element"]+t[2],r.push(e),l=l.slice(t[0].length)),(t=l.match(Hn))&&(e||(e=oi(o,t[1].length),r.push(e)),r.push(`${e}${s["bem.modifier"]}${t[2]}`),l=l.slice(t[0].length)),l===i&&r.push(i)}const a=r.filter(hi);a.length&&ci(t,a.join(" "))}function ii(t){if(!t._bem){let e="";if(t.attributes)for(const n of t.attributes)if("class"===n.name&&n.value){e=ui(n.value);break}t._bem=si(e)}return t._bem}function ri(t){return t._bem||(t._bem=si(t.attributes&&t.attributes.class||"")),t._bem}function si(t){const e=t?t.split(/\s+/):[];return{classNames:e,block:ai(e)}}function oi(t,e=0,n){const i=0;let r=Math.max(t.length-e,i);do{const e=t[r];if(e){const t=ii(e);if(t.block)return t.block}}while(i<r--);if(n){const t=ri(n);if(t.block)return t.block}return""}function ai(t){return li(t,Kn)||li(t,Jn)||void 0}function li(t,e){for(const n of t){if(Gn.test(n)||Hn.test(n))break;if(e(n))return n}}function ci(t,e){for(const n of t.attributes)if("class"===n.name){n.value=[e];break}}function ui(t){let e="";for(const n of t)e+="string"===typeof n?n:n.name;return e}function hi(t,e,n){return!!t&&n.indexOf(t)===e}function pi(t){if("label"===t.name){const e=sn(t,(t=>"input"===t.name||"textarea"===t.name));e&&(t.attributes&&(t.attributes=t.attributes.filter((t=>!("for"===t.name&&di(t))))),e.attributes&&(e.attributes=e.attributes.filter((t=>!("id"===t.name&&di(t))))))}}function di(t){if(!t.value)return!0;if(1===t.value.length){const e=t.value[0];if(e&&"string"!==typeof e&&!e.name)return!0}return!1}function fi(t,e,n){const i=(t,i,s)=>{const{parent:o,current:a}=n;n.parent=a,n.current=t,e(t,i,s,n,r),n.current=a,n.parent=o},r=(t,e,r)=>{n.ancestors.push(n.current),i(t,e,r),n.ancestors.pop()};t.children.forEach(i)}function Oi(t){return{current:null,parent:void 0,ancestors:[],config:t,field:1,out:dn(t.options)}}const mi=[{type:"Field",index:0,name:""}];function gi(t){return!!t&&(!t.name&&!t.attributes)}function vi(t,e){return!!t&&$n(t,e)}function yi(t){return"object"===typeof t&&"Field"===t.type}function bi(t,e){const{out:n}=e;let i=-1;for(const r of t)"string"===typeof r?On(n,r):(vn(n,e.field+r.index,r.name),r.index>i&&(i=r.index));-1!==i&&(e.field+=i+1)}function _i(t){const e=[];let n=[];for(const i of t)if("string"===typeof i){const t=i.split(/\r\n?|\n/g);n.push(t.shift()||"");while(t.length)e.push(n),n=[t.shift()||""]}else n.push(i);return n.length&&e.push(n),e}function xi(t){return!t.implied||"raw"!==t.valueType||!!t.value&&t.value.length>0}var wi;function $i(t){const e=[],n={pos:0,text:t};let i,r=n.pos,s=n.pos;while(n.pos<n.text.length)s=n.pos,(i=Si(n))?(r!==n.pos&&e.push(t.slice(r,s)),e.push(i),r=n.pos):n.pos++;return r!==n.pos&&e.push(t.slice(r)),e}function Si(t){if(ki(t)===wi.Start){const e=++t.pos;let n=e,i=e,r=1;while(t.pos<t.text.length){const s=ki(t);if(Qi(s)){n=t.pos;while(Ti(ki(t)))t.pos++;i=t.pos}else{if(s===wi.Start)r++;else if(s===wi.End&&0===--r)return{before:t.text.slice(e,n),after:t.text.slice(i,t.pos++),name:t.text.slice(n,i)};t.pos++}}}}function ki(t,e=t.pos){return t.text.charCodeAt(e)}function Qi(t){return t>=65&&t<=90}function Ti(t){return Qi(t)||t>47&&t<58||t===wi.Underscore||t===wi.Dash}function Pi(t){const{options:e}=t;return{enabled:e["comment.enabled"],trigger:e["comment.trigger"],before:e["comment.before"]?$i(e["comment.before"]):void 0,after:e["comment.after"]?$i(e["comment.after"]):void 0}}function Ci(t,e){Ei(t,e)&&e.comment.before&&Ri(t,e.comment.before,e)}function Ai(t,e){Ei(t,e)&&e.comment.after&&Ri(t,e.comment.after,e)}function Ei(t,e){const{comment:n}=e;if(!n.enabled||!n.trigger||!t.name||!t.attributes)return!1;for(const i of t.attributes)if(i.name&&n.trigger.includes(i.name))return!0;return!1}function Ri(t,e,n){const i={},{out:r}=n;for(const s of t.attributes)s.name&&s.value&&(i[s.name.toUpperCase()]=s.value);for(const s of e)"string"===typeof s?On(r,s):i[s.name]&&(On(r,s.before),bi(i[s.name],n),On(r,s.after))}(function(t){t[t["Start"]=91]="Start",t[t["End"]=93]="End",t[t["Underscore"]=95]="Underscore",t[t["Dash"]=45]="Dash"})(wi||(wi={}));const Mi=/^<([\w\-:]+)[\s>]/,Di=new Set(["for","while","of","async","await","const","let","var","continue","break","debugger","do","export","import","in","instanceof","new","return","switch","this","throw","try","catch","typeof","void","with","yield"]);function zi(t,e){const n=Oi(e);return n.comment=Pi(e),fi(t,ji,n),n.out.value}function ji(t,e,n,i,r){const{out:s,config:o}=i,a=Xi(t,e,n,i),l=Wi(i);if(s.level+=l,a&&mn(s,!0),t.name){const e=yn(t.name,o);if(Ci(t,i),On(s,`<${e}`),t.attributes)for(const n of t.attributes)xi(n)&&Zi(n,i);if(!t.selfClosing||t.children.length||t.value){if(On(s,">"),!Vi(t,i,r)){if(t.value){const e=t.value.some(qi)||Ii(t.value,o);e&&mn(i.out,++s.level),bi(t.value,i),e&&mn(i.out,--s.level)}if(t.children.forEach(r),!t.value&&!t.children.length){const e=o.options["output.formatLeafNode"]||o.options["output.formatForce"].includes(t.name);e&&mn(i.out,++s.level),bi(mi,i),e&&mn(i.out,--s.level)}}On(s,`</${e}>`),Ai(t,i)}else On(s,`${wn(o)}>`)}else!Vi(t,i,r)&&t.value&&(bi(t.value,i),t.children.forEach(r));if(a&&e===n.length-1&&i.parent){const t=gi(i.parent)?0:1;mn(s,s.level-t)}s.level-=l}function Zi(t,e){const{out:n,config:i}=e;if(t.name){const r=i.options["markup.attributes"],s=i.options["markup.valuePrefix"];let{name:o,value:a}=t,l=_n(t,i,!0),c=_n(t,i);r&&(o=Ni(o,r,t.multiple)||o),o=bn(o,i),i.options["jsx.enabled"]&&t.multiple&&(l=hn,c=pn);const u=s?Ni(t.name,s,t.multiple):null;if(u&&1===(null===a||void 0===a?void 0:a.length)&&"string"===typeof a[0]){const t=a[0];a=[Li(t)?`${u}.${t}`:`${u}['${t}']`],i.options["jsx.enabled"]&&(l=hn,c=pn)}xn(t,i)&&!a?i.options["output.compactBoolean"]||(a=[o]):a||(a=mi),On(n," "+o),a?(On(n,"="+l),bi(a,e),On(n,c)):"html"!==i.options["output.selfClosingStyle"]&&On(n,"="+l+c)}}function Vi(t,e,n){if(t.value&&t.children.length){const i=t.value.findIndex(yi);if(-1!==i){bi(t.value.slice(0,i),e);const r=e.out.line;let s=i+1;return t.children.forEach(n),e.out.line!==r&&"string"===typeof t.value[s]&&On(e.out,t.value[s++].trimLeft()),bi(t.value.slice(s),e),!0}}return!1}function Xi(t,e,n,i){const{config:r,parent:s}=i;if(!r.options["output.format"])return!1;if(0===e&&!s)return!1;if(s&&gi(s)&&1===n.length)return!1;if(gi(t)){const i=gi(n[e-1])||gi(n[e+1])||t.value.some(qi)||t.value.some(yi)&&t.children.length;if(i)return!0}if($n(t,r)){if(0===e){for(let t=0;t<n.length;t++)if(!$n(n[t],r))return!0}else if(!$n(n[e-1],r))return!0;if(r.options["output.inlineBreak"]){let t=1,i=e,s=e;while(vi(n[--i],r))t++;while(vi(n[++s],r))t++;if(t>=r.options["output.inlineBreak"])return!0}for(let e=0,n=t.children.length;e<n;e++)if(Xi(t.children[e],e,t.children,i))return!0;return!1}return!0}function Wi(t){const{config:e,parent:n}=t;return!n||gi(n)||n.name&&e.options["output.formatSkip"].includes(n.name)?0:1}function qi(t){return"string"===typeof t&&/\r|\n/.test(t)}function Ii(t,e){if(t.length&&"string"===typeof t[0]){const n=Mi.exec(t[0]);if((null===n||void 0===n?void 0:n.length)&&!e.options["inlineElements"].includes(n[1].toLowerCase()))return!0}return!1}function Ni(t,e,n){return n&&e[`${t}*`]||e[t]}function Li(t){return!Di.has(t)&&/^[a-zA-Z_$][\w_$]*$/.test(t)}function Bi(t,e,n){const i=Oi(e);return i.options=n||{},fi(t,Ui,i),i.out.value}function Ui(t,e,n,i,r){const{out:s,options:o}=i,{primary:a,secondary:l}=Yi(t),c=i.parent?1:0;s.level+=c,tr(t,e,n,i)&&mn(s,!0),!t.name||"div"===t.name&&a.length||On(s,(o.beforeName||"")+t.name+(o.afterName||"")),Fi(a,i),Gi(l.filter(xi),i),!t.selfClosing||t.value||t.children.length?(Hi(t,i),t.children.forEach(r)):i.options.selfClose&&On(s,i.options.selfClose),s.level-=c}function Yi(t){const e=[],n=[];if(t.attributes)for(const i of t.attributes)Ki(i)?e.push(i):n.push(i);return{primary:e,secondary:n}}function Fi(t,e){for(const n of t)if(n.value)if("class"===n.name){On(e.out,".");const t=n.value.map((t=>"string"===typeof t?t.replace(/\s+/g,"."):t));bi(t,e)}else On(e.out,"#"),bi(n.value,e)}function Gi(t,e){if(t.length){const{out:n,config:i,options:r}=e;r.beforeAttribute&&On(n,r.beforeAttribute);for(let s=0;s<t.length;s++){const o=t[s];On(n,bn(o.name||"",i)),xn(o,i)&&!o.value?!i.options["output.compactBoolean"]&&r.booleanValue&&On(n,"="+r.booleanValue):(On(n,"="+_n(o,i,!0)),bi(o.value||mi,e),On(n,_n(o,i))),s!==t.length-1&&r.glueAttribute&&On(n,r.glueAttribute)}r.afterAttribute&&On(n,r.afterAttribute)}}function Hi(t,e){if(!t.value&&t.children.length)return;const n=t.value||mi,i=_i(n),{out:r,options:s}=e;if(1===i.length)(t.name||t.attributes)&&fn(r," "),bi(n,e);else{const t=[];let n=0;for(const e of i){const i=Ji(e);t.push(i),i>n&&(n=i)}r.level++;for(let o=0;o<i.length;o++)mn(r,!0),s.beforeTextLine&&fn(r,s.beforeTextLine),bi(i[o],e),s.afterTextLine&&(fn(r," ".repeat(n-t[o])),fn(r,s.afterTextLine));r.level--}}function Ki(t){return"class"===t.name||"id"===t.name}function Ji(t){let e=0;for(const n of t)e+="string"===typeof n?n.length:n.name.length;return e}function tr(t,e,n,i){return!(!i.parent&&0===e)&&!gi(t)}function er(t,e){return Bi(t,e,{beforeName:"%",beforeAttribute:"(",afterAttribute:")",glueAttribute:" ",afterTextLine:" |",booleanValue:"true",selfClose:"/"})}function nr(t,e){return Bi(t,e,{beforeAttribute:" ",glueAttribute:" ",beforeTextLine:"| ",selfClose:"/"})}function ir(t,e){return Bi(t,e,{beforeAttribute:"(",afterAttribute:")",glueAttribute:", ",beforeTextLine:"| ",selfClose:"xml"===e.options["output.selfClosingStyle"]?"/":""})}const rr={html:zi,haml:er,slim:nr,pug:ir};function sr(t,e){let n;if("string"===typeof t){const i=Object.assign({},e);e.options["jsx.enabled"]&&(i.jsx=!0),e.options["markup.href"]&&(i.href=!0),t=ne(t,i),n=e.text,e.text=void 0}return t=ln(t,e),rn(t,ar,e),e.text=null!==n&&void 0!==n?n:e.text,t}function or(t,e){const n=rr[e.syntax]||zi;return n(t,e)}function ar(t,e,n){Pn(t,e,n),Je(t,n),Zn(t,e,n),"xsl"===n.syntax&&Un(t),"markup"===n.type&&pi(t),n.options["bem.enabled"]&&ti(t,e,n)}var lr;(function(t){t["Raw"]="Raw",t["Property"]="Property"})(lr||(lr={}));const cr=/^([a-z-]+)(?:\s*:\s*([^\n\r;]+?);*)?$/,ur={value:!0};function hr(t,e){const n=e.match(cr);if(n){const e={},i=n[2]?n[2].split("|").map(fr):[];for(const t of i)for(const n of t)mr(n,e);return{type:lr.Property,key:t,property:n[1],value:i,keywords:e,dependencies:[]}}return{type:lr.Raw,key:t,value:e}}function pr(t){t=t.slice().sort(dr);const e=[];let n;for(const i of t.filter(Or)){while(e.length){if(n=e[e.length-1],i.property.startsWith(n.property)&&45===i.property.charCodeAt(n.property.length)){n.dependencies.push(i),e.push(i);break}e.pop()}e.length||e.push(i)}return t}function dr(t,e){return t.key===e.key?0:t.key<e.key?-1:1}function fr(t){return Ke(t.trim(),ur)[0].value}function Or(t){return t.type===lr.Property}function mr(t,e){for(const n of t.value)if("Literal"===n.type)e[n.value]=n;else if("FunctionCall"===n.type)e[n.name]=n;else if("Field"===n.type){const t=n.name.trim();t&&(e[t]={type:"Literal",value:t})}}function gr(t,e,n=!1){if(t=t.toLowerCase(),e=e.toLowerCase(),t===e)return 1;if(!t||!e||t.charCodeAt(0)!==e.charCodeAt(0))return 0;const i=t.length,r=e.length;if(!n&&i>r)return 0;const s=Math.min(i,r),o=Math.max(i,r);let a=1,l=1,c=o,u=0,h=0,p=!1,d=!1;while(a<i){u=t.charCodeAt(a),p=!1,d=!1;while(l<r){if(h=e.charCodeAt(l),u===h){p=!0,c+=o-(d?a:l);break}d=45===h,l++}if(!p){if(!n)return 0;break}a++}const f=a/o,O=o-s,m=vr(o)-vr(O);return c*f/m}function vr(t){return t*(t+1)/2}function yr(t,e){return t.r||t.g||t.b||t.a?1===t.a?br(t,e):_r(t):"transparent"}function br(t,e){const n=e&&wr(t.r)&&wr(t.g)&&wr(t.b)?$r:Sr;return"#"+n(t.r)+n(t.g)+n(t.b)}function _r(t){const e=[t.r,t.g,t.b];return 1!==t.a&&e.push(xr(t.a,8)),`${3===e.length?"rgb":"rgba"}(${e.join(", ")})`}function xr(t,e=4){return t.toFixed(e).replace(/\.?0+$/,"")}function wr(t){return!(t%17)}function $r(t){return(t>>4).toString(16)}function Sr(t){return kr(t.toString(16),2)}function kr(t,e){while(t.length<e)t="0"+t;return t}const Qr={Global:"@@global",Section:"@@section",Property:"@@property",Value:"@@value"};function Tr(t,e){var n;const i=dn(e.options),r=e.options["output.format"];(null===(n=e.context)||void 0===n?void 0:n.name)===Qr.Section&&(t=t.filter((t=>t.snippet)));for(let s=0;s<t.length;s++)r&&0!==s&&mn(i,!0),Pr(t[s],i,e);return i.value}function Pr(t,e,n){const i=n.options["stylesheet.json"];if(t.name){const r=i?Dr(t.name):t.name;On(e,r+n.options["stylesheet.between"]),t.value.length?Cr(t,e,n):vn(e,0,""),i?fn(e,","):(Ar(t,e,!0),fn(e,n.options["stylesheet.after"]))}else{for(const i of t.value)for(const t of i.value)Rr(t,e,n);Ar(t,e,t.value.length>0)}}function Cr(t,e,n){const i=n.options["stylesheet.json"],r=i?Mr(t):null;if(!r||r.unit&&"px"!==r.unit){const r=zr(n);i&&fn(e,r);for(let i=0;i<t.value.length;i++)0!==i&&fn(e,", "),Er(t.value[i],e,n);i&&fn(e,r)}else fn(e,String(r.value))}function Ar(t,e,n){t.important&&(n&&fn(e," "),fn(e,"!important"))}function Er(t,e,n){for(let i=0,r=-1;i<t.value.length;i++){const s=t.value[i];0===i||"Field"===s.type&&s.start===r||fn(e," "),Rr(s,e,n),r=s["end"]}}function Rr(t,e,n){if("ColorValue"===t.type)fn(e,yr(t,n.options["stylesheet.shortHex"]));else if("Literal"===t.type||"CustomProperty"===t.type)On(e,t.value);else if("NumberValue"===t.type)On(e,xr(t.value,4)+t.unit);else if("StringValue"===t.type){const n="double"===t.quote?'"':"'";On(e,n+t.value+n)}else if("Field"===t.type)vn(e,t.index,t.name);else if("FunctionCall"===t.type){fn(e,t.name+"(");for(let i=0;i<t.arguments.length;i++)i&&fn(e,", "),Er(t.arguments[i],e,n);fn(e,")")}}function Mr(t){if(1===t.value.length){const e=t.value[0];if(1===e.value.length&&"NumberValue"===e.value[0].type)return e.value[0]}}function Dr(t){return t.replace(/\-(\w)/g,((t,e)=>e.toUpperCase()))}function zr(t){return t.options["stylesheet.jsonDoubleQuotes"]?'"':"'"}const jr="lg";function Zr(t,e){var n;const i=(null===(n=e.cache)||void 0===n?void 0:n.stylesheetSnippets)||Vr(e.snippets),r=[];e.cache&&(e.cache.stylesheetSnippets=i),"string"===typeof t&&(t=Ke(t,{value:es(e)}));const s=ns(i,e);for(const o of t){const t=Xr(o,s,e);t&&r.push(t)}return r}function Vr(t){const e=[];for(const n of Object.keys(t))e.push(hr(n,t[n]));return pr(e)}function Xr(t,e,n){if(!Wr(t,n)){const i=n.options["stylesheet.fuzzySearchMinScore"];if(es(n)){const r=n.context.name,s=e.find((t=>t.type===lr.Property&&t.property===r));Ir(t,n,s,i),t.snippet=s}else if(t.name){const r=Lr(t.name,e,i,!0);if(t.snippet=r,r){const e=r.type===lr.Property?qr(t,r,n):Nr(t,r);if(e)t=e;else if(n.options["stylesheet.strictMatch"])return null}}}return(t.name||n.context)&&Fr(t,n),t}function Wr(t,e){let n=null;const i=1===t.value.length?t.value[0]:null;if(i&&1===i.value.length){const t=i.value[0];"FunctionCall"===t.type&&t.name===jr&&(n=t)}return!(!n&&t.name!==jr)&&(n=n?Object.assign(Object.assign({},n),{name:"linear-gradient"}):{type:"FunctionCall",name:"linear-gradient",arguments:[Gr(Kr(0,""))]},e.context||(t.name="background-image"),t.value=[Gr(n)],!0)}function qr(t,e,n){const i=t.name,r=Ur(i,e.key);if(r){if(t.value.length)return null;const i=Yr(r,n,e);if(!i)return null;t.value.push(Gr(i))}if(t.name=e.property,t.value.length)Ir(t,n,e);else if(e.value.length){const i=e.value[0];t.value=1===e.value.length||i.some(Jr)?i:i.map((t=>ts(t,n)))}return t}function Ir(t,e,n,i){for(const r of t.value){const t=[];for(const s of r.value)if("Literal"===s.type)t.push(Yr(s.value,e,n,i)||s);else if("FunctionCall"===s.type){const r=Yr(s.name,e,n,i);r&&"FunctionCall"===r.type?t.push(Object.assign(Object.assign({},r),{arguments:s.arguments.concat(r.arguments.slice(s.arguments.length))})):t.push(s)}else t.push(s);r.value=t}}function Nr(t,e){let n,i=0;const r=/\$\{(\d+)(:[^}]+)?\}/g,s=t.value[0],o=[];while(n=r.exec(e.value))i!==n.index&&o.push(Hr(e.value.slice(i,n.index))),i=n.index+n[0].length,s&&s.value.length?o.push(s.value.shift()):o.push(Kr(Number(n[1]),n[2]?n[2].slice(1):""));const a=e.value.slice(i);return a&&o.push(Hr(a)),t.name=void 0,t.value=[Gr(...o)],t}function Lr(t,e,n=0,i=!1){let r=null,s=0;for(const o of e){const e=gr(t,Br(o),i);if(1===e)return o;e&&e>=s&&(s=e,r=o)}return s>=n?r:null}function Br(t){return"string"===typeof t?t:t.key}function Ur(t,e){for(let n=0,i=0;n<t.length;n++){if(i=e.indexOf(t[n],i),-1===i)return t.slice(n);i++}return""}function Yr(t,e,n,i){let r;if(n){if(r=Lr(t,Object.keys(n.keywords),i))return n.keywords[r];for(const e of n.dependencies)if(r=Lr(t,Object.keys(e.keywords),i))return e.keywords[r]}return(r=Lr(t,e.options["stylesheet.keywords"],i))?Hr(r):null}function Fr(t,e){const n=e.options["stylesheet.unitAliases"],i=e.options["stylesheet.unitless"];for(const r of t.value)for(const s of r.value)"NumberValue"===s.type&&(s.unit?s.unit=n[s.unit]||s.unit:0===s.value||i.includes(t.name)||(s.unit=s.rawValue.includes(".")?e.options["stylesheet.floatUnit"]:e.options["stylesheet.intUnit"]))}function Gr(...t){return{type:"CSSValue",value:t}}function Hr(t){return{type:"Literal",value:t}}function Kr(t,e){return{type:"Field",index:t,name:e}}function Jr(t){for(const e of t.value)if("Field"===e.type||"FunctionCall"===e.type&&e.arguments.some(Jr))return!0;return!1}function ts(t,e,n={index:1}){let i=[];for(const r of t.value)switch(r.type){case"ColorValue":i.push(Kr(n.index++,yr(r,e.options["stylesheet.shortHex"])));break;case"Literal":i.push(Kr(n.index++,r.value));break;case"NumberValue":i.push(Kr(n.index++,`${r.value}${r.unit}`));break;case"StringValue":const t="single"===r.quote?"'":'"';i.push(Kr(n.index++,t+r.value+t));break;case"FunctionCall":i.push(Kr(n.index++,r.name),Hr("("));for(let s=0,o=r.arguments.length;s<o;s++)i=i.concat(ts(r.arguments[s],e,n).value),s!==o-1&&i.push(Hr(", "));i.push(Hr(")"));break;default:i.push(r)}return Object.assign(Object.assign({},t),{value:i})}function es(t){return!!t.context&&(t.context.name===Qr.Value||!t.context.name.startsWith("@@"))}function ns(t,e){if(e.context){if(e.context.name===Qr.Section)return t.filter((t=>t.type===lr.Raw));if(e.context.name===Qr.Property)return t.filter((t=>t.type===lr.Property))}return t}var is={a:"a[href]","a:blank":"a[href='http://${0}' target='_blank' rel='noopener noreferrer']","a:link":"a[href='http://${0}']","a:mail":"a[href='mailto:${0}']","a:tel":"a[href='tel:+${0}']",abbr:"abbr[title]","acr|acronym":"acronym[title]",base:"base[href]/",basefont:"basefont/",br:"br/",frame:"frame/",hr:"hr/",bdo:"bdo[dir]","bdo:r":"bdo[dir=rtl]","bdo:l":"bdo[dir=ltr]",col:"col/",link:"link[rel=stylesheet href]/","link:css":"link[href='${1:style}.css']","link:print":"link[href='${1:print}.css' media=print]","link:favicon":"link[rel='shortcut icon' type=image/x-icon href='${1:favicon.ico}']","link:mf|link:manifest":"link[rel='manifest' href='${1:manifest.json}']","link:touch":"link[rel=apple-touch-icon href='${1:favicon.png}']","link:rss":"link[rel=alternate type=application/rss+xml title=RSS href='${1:rss.xml}']","link:atom":"link[rel=alternate type=application/atom+xml title=Atom href='${1:atom.xml}']","link:im|link:import":"link[rel=import href='${1:component}.html']",meta:"meta/","meta:utf":"meta[http-equiv=Content-Type content='text/html;charset=UTF-8']","meta:vp":"meta[name=viewport content='width=${1:device-width}, initial-scale=${2:1.0}']","meta:compat":"meta[http-equiv=X-UA-Compatible content='${1:IE=7}']","meta:edge":"meta:compat[content='${1:ie=edge}']","meta:redirect":"meta[http-equiv=refresh content='0; url=${1:http://example.com}']","meta:refresh":"meta[http-equiv=refresh content='${1:5}']","meta:kw":"meta[name=keywords content]","meta:desc":"meta[name=description content]",style:"style",script:"script","script:src":"script[src]","script:module":"script[type=module src]",img:"img[src alt]/","img:s|img:srcset":"img[srcset src alt]","img:z|img:sizes":"img[sizes srcset src alt]",picture:"picture","src|source":"source/","src:sc|source:src":"source[src type]","src:s|source:srcset":"source[srcset]","src:t|source:type":"source[srcset type='${1:image/}']","src:z|source:sizes":"source[sizes srcset]","src:m|source:media":"source[media='(${1:min-width: })' srcset]","src:mt|source:media:type":"source:media[type='${2:image/}']","src:mz|source:media:sizes":"source:media[sizes srcset]","src:zt|source:sizes:type":"source[sizes srcset type='${1:image/}']",iframe:"iframe[src frameborder=0]",embed:"embed[src type]/",object:"object[data type]",param:"param[name value]/",map:"map[name]",area:"area[shape coords href alt]/","area:d":"area[shape=default]","area:c":"area[shape=circle]","area:r":"area[shape=rect]","area:p":"area[shape=poly]",form:"form[action]","form:get":"form[method=get]","form:post":"form[method=post]",label:"label[for]",input:"input[type=${1:text}]/",inp:"input[name=${1} id=${1}]","input:h|input:hidden":"input[type=hidden name]","input:t|input:text":"inp[type=text]","input:search":"inp[type=search]","input:email":"inp[type=email]","input:url":"inp[type=url]","input:p|input:password":"inp[type=password]","input:datetime":"inp[type=datetime]","input:date":"inp[type=date]","input:datetime-local":"inp[type=datetime-local]","input:month":"inp[type=month]","input:week":"inp[type=week]","input:time":"inp[type=time]","input:tel":"inp[type=tel]","input:number":"inp[type=number]","input:color":"inp[type=color]","input:c|input:checkbox":"inp[type=checkbox]","input:r|input:radio":"inp[type=radio]","input:range":"inp[type=range]","input:f|input:file":"inp[type=file]","input:s|input:submit":"input[type=submit value]","input:i|input:image":"input[type=image src alt]","input:b|input:btn|input:button":"input[type=button value]","input:reset":"input:button[type=reset]",isindex:"isindex/",select:"select[name=${1} id=${1}]","select:d|select:disabled":"select[disabled.]","opt|option":"option[value]",textarea:"textarea[name=${1} id=${1}]","tarea:c|textarea:cols":"textarea[name=${1} id=${1} cols=${2:30}]","tarea:r|textarea:rows":"textarea[name=${1} id=${1} rows=${3:10}]","tarea:cr|textarea:cols:rows":"textarea[name=${1} id=${1} cols=${2:30} rows=${3:10}]",marquee:"marquee[behavior direction]","menu:c|menu:context":"menu[type=context]","menu:t|menu:toolbar":"menu[type=toolbar]",video:"video[src]",audio:"audio[src]","html:xml":"html[xmlns=http://www.w3.org/1999/xhtml]",keygen:"keygen/",command:"command/","btn:s|button:s|button:submit":"button[type=submit]","btn:r|button:r|button:reset":"button[type=reset]","btn:b|button:b|button:button":"button[type=button]","btn:d|button:d|button:disabled":"button[disabled.]","fst:d|fset:d|fieldset:d|fieldset:disabled":"fieldset[disabled.]",bq:"blockquote",fig:"figure",figc:"figcaption",pic:"picture",ifr:"iframe",emb:"embed",obj:"object",cap:"caption",colg:"colgroup",fst:"fieldset",btn:"button",optg:"optgroup",tarea:"textarea",leg:"legend",sect:"section",art:"article",hdr:"header",ftr:"footer",adr:"address",dlg:"dialog",str:"strong",prog:"progress",mn:"main",tem:"template",fset:"fieldset",datal:"datalist",kg:"keygen",out:"output",det:"details",sum:"summary",cmd:"command",data:"data[value]",meter:"meter[value]",time:"time[datetime]","ri:d|ri:dpr":"img:s","ri:v|ri:viewport":"img:z","ri:a|ri:art":"pic>src:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{<!DOCTYPE html>}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{\x3c!-- ${0} --\x3e}","cc:ie":"{\x3c!--[if IE]>${0}<![endif]--\x3e}","cc:noie":"{\x3c!--[if !IE]>\x3c!--\x3e${0}\x3c!--<![endif]--\x3e}"},rs={"@f":"@font-face {\n\tfont-family: ${1};\n\tsrc: url(${2});\n}","@ff":"@font-face {\n\tfont-family: '${1:FontName}';\n\tsrc: url('${2:FileName}.eot');\n\tsrc: url('${2:FileName}.eot?#iefix') format('embedded-opentype'),\n\t\t url('${2:FileName}.woff') format('woff'),\n\t\t url('${2:FileName}.ttf') format('truetype'),\n\t\t url('${2:FileName}.svg#${1:FontName}') format('svg');\n\tfont-style: ${3:normal};\n\tfont-weight: ${4:normal};\n}","@i|@import":"@import url(${0});","@kf":"@keyframes ${1:identifier} {\n\t${2}\n}","@m|@media":"@media ${1:screen} {\n\t${0}\n}",ac:"align-content:start|end|flex-start|flex-end|center|space-between|space-around|stretch|space-evenly",ai:"align-items:start|end|flex-start|flex-end|center|baseline|stretch",anim:"animation:${1:name} ${2:duration} ${3:timing-function} ${4:delay} ${5:iteration-count} ${6:direction} ${7:fill-mode}",animdel:"animation-delay:time",animdir:"animation-direction:normal|reverse|alternate|alternate-reverse",animdur:"animation-duration:${1:0}s",animfm:"animation-fill-mode:both|forwards|backwards",animic:"animation-iteration-count:1|infinite",animn:"animation-name",animps:"animation-play-state:running|paused",animtf:"animation-timing-function:linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(${1:0.1}, ${2:0.7}, ${3:1.0}, ${3:0.1})",ap:"appearance:none",as:"align-self:start|end|auto|flex-start|flex-end|center|baseline|stretch",b:"bottom",bd:"border:${1:1px} ${2:solid} ${3:#000}",bdb:"border-bottom:${1:1px} ${2:solid} ${3:#000}",bdbc:"border-bottom-color:${1:#000}",bdbi:"border-bottom-image:url(${0})",bdbk:"border-break:close",bdbli:"border-bottom-left-image:url(${0})|continue",bdblrs:"border-bottom-left-radius",bdbri:"border-bottom-right-image:url(${0})|continue",bdbrrs:"border-bottom-right-radius",bdbs:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color:${1:#000}",bdci:"border-corner-image:url(${0})|continue",bdcl:"border-collapse:collapse|separate",bdf:"border-fit:repeat|clip|scale|stretch|overwrite|overflow|space",bdi:"border-image:url(${0})",bdl:"border-left:${1:1px} ${2:solid} ${3:#000}",bdlc:"border-left-color:${1:#000}",bdlen:"border-length",bdli:"border-left-image:url(${0})",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right:${1:1px} ${2:solid} ${3:#000}",bdrc:"border-right-color:${1:#000}",bdri:"border-right-image:url(${0})",bdrs:"border-radius",bdrst:"border-right-style",bdrw:"border-right-width",bds:"border-style:none|hidden|dotted|dashed|solid|double|dot-dash|dot-dot-dash|wave|groove|ridge|inset|outset",bdsp:"border-spacing",bdt:"border-top:${1:1px} ${2:solid} ${3:#000}",bdtc:"border-top-color:${1:#000}",bdti:"border-top-image:url(${0})",bdtli:"border-top-left-image:url(${0})|continue",bdtlrs:"border-top-left-radius",bdtri:"border-top-right-image:url(${0})|continue",bdtrrs:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bbs:"border-block-start",bbe:"border-block-end",bis:"border-inline-start",bie:"border-inline-end",bfv:"backface-visibility:hidden|visible",bg:"background:${1:#000}","bg:n":"background: none",bga:"background-attachment:fixed|scroll",bgbk:"background-break:bounding-box|each-box|continuous",bgc:"background-color:${1:#fff}",bgcp:"background-clip:padding-box|border-box|content-box|no-clip",bgi:"background-image:url(${0})",bgo:"background-origin:padding-box|border-box|content-box",bgp:"background-position:${1:0} ${2:0}",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat:no-repeat|repeat-x|repeat-y|space|round",bgsz:"background-size:contain|cover",bs:"block-size",bxsh:"box-shadow:${1:inset }${2:hoff} ${3:voff} ${4:blur} ${5:#000}|none",bxsz:"box-sizing:border-box|content-box|border-box",c:"color:${1:#000}",cg:"column-gap",cr:"color:rgb(${1:0}, ${2:0}, ${3:0})",cra:"color:rgba(${1:0}, ${2:0}, ${3:0}, ${4:.5})",cl:"clear:both|left|right|none",cm:"/* ${0} */",cnt:"content:'${0}'|normal|open-quote|no-open-quote|close-quote|no-close-quote|attr(${0})|counter(${0})|counters(${0})",coi:"counter-increment",colm:"columns",colmc:"column-count",colmf:"column-fill",colmg:"column-gap",colmr:"column-rule",colmrc:"column-rule-color",colmrs:"column-rule-style",colmrw:"column-rule-width",colms:"column-span",colmw:"column-width",cor:"counter-reset",cp:"clip:auto|rect(${1:top} ${2:right} ${3:bottom} ${4:left})",cps:"caption-side:top|bottom",cur:"cursor:pointer|auto|default|crosshair|hand|help|move|pointer|text",d:"display:block|none|flex|inline-flex|inline|inline-block|grid|inline-grid|subgrid|list-item|run-in|contents|table|inline-table|table-caption|table-column|table-column-group|table-header-group|table-footer-group|table-row|table-row-group|table-cell|ruby|ruby-base|ruby-base-group|ruby-text|ruby-text-group",ec:"empty-cells:show|hide",f:"font:${1:1em} ${2:sans-serif}",fd:"font-display:auto|block|swap|fallback|optional",fef:"font-effect:none|engrave|emboss|outline",fem:"font-emphasize",femp:"font-emphasize-position:before|after",fems:"font-emphasize-style:none|accent|dot|circle|disc",ff:"font-family:serif|sans-serif|cursive|fantasy|monospace",fft:'font-family:"Times New Roman", Times, Baskerville, Georgia, serif',ffa:'font-family:Arial, "Helvetica Neue", Helvetica, sans-serif',ffv:"font-family:Verdana, Geneva, sans-serif",fl:"float:left|right|none",fs:"font-style:italic|normal|oblique",fsm:"font-smoothing:antialiased|subpixel-antialiased|none",fst:"font-stretch:normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",fv:"font-variant:normal|small-caps",fvs:"font-variation-settings:normal|inherit|initial|unset",fw:"font-weight:normal|bold|bolder|lighter",fx:"flex",fxb:"flex-basis:fill|max-content|min-content|fit-content|content",fxd:"flex-direction:row|row-reverse|column|column-reverse",fxf:"flex-flow",fxg:"flex-grow",fxsh:"flex-shrink",fxw:"flex-wrap:nowrap|wrap|wrap-reverse",fsz:"font-size",fsza:"font-size-adjust",g:"gap",gtc:"grid-template-columns:repeat(${0})|minmax()",gtr:"grid-template-rows:repeat(${0})|minmax()",gta:"grid-template-areas",gt:"grid-template",gg:"grid-gap",gcg:"grid-column-gap",grg:"grid-row-gap",gac:"grid-auto-columns:auto|minmax()",gar:"grid-auto-rows:auto|minmax()",gaf:"grid-auto-flow:row|column|dense|inherit|initial|unset",gd:"grid",gc:"grid-column",gcs:"grid-column-start",gce:"grid-column-end",gr:"grid-row",grs:"grid-row-start",gre:"grid-row-end",ga:"grid-area",h:"height",is:"inline-size",jc:"justify-content:start|end|stretch|flex-start|flex-end|center|space-between|space-around|space-evenly",ji:"justify-items:start|end|center|stretch",js:"justify-self:start|end|center|stretch",l:"left",lg:"background-image:linear-gradient(${1})",lh:"line-height",lis:"list-style",lisi:"list-style-image",lisp:"list-style-position:inside|outside",list:"list-style-type:disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman",lts:"letter-spacing:normal",m:"margin",mah:"max-height",mar:"max-resolution",maw:"max-width",mb:"margin-bottom",mih:"min-height",mir:"min-resolution",miw:"min-width",ml:"margin-left",mr:"margin-right",mt:"margin-top",mbs:"margin-block-start",mbe:"margin-block-end",mis:"margin-inline-start",mie:"margin-inline-end",ol:"outline",olc:"outline-color:${1:#000}|invert",olo:"outline-offset",ols:"outline-style:none|dotted|dashed|solid|double|groove|ridge|inset|outset",olw:"outline-width:thin|medium|thick","op|opa":"opacity",ord:"order",ori:"orientation:landscape|portrait",orp:"orphans",ov:"overflow:hidden|visible|hidden|scroll|auto",ovs:"overflow-style:scrollbar|auto|scrollbar|panner|move|marquee",ovx:"overflow-x:hidden|visible|hidden|scroll|auto",ovy:"overflow-y:hidden|visible|hidden|scroll|auto",p:"padding",pb:"padding-bottom",pgba:"page-break-after:auto|always|left|right",pgbb:"page-break-before:auto|always|left|right",pgbi:"page-break-inside:auto|avoid",pl:"padding-left",pos:"position:relative|absolute|relative|fixed|static",pr:"padding-right",pt:"padding-top",pbs:"padding-block-start",pbe:"padding-block-end",pis:"padding-inline-start",pie:"padding-inline-end",spbs:"scroll-padding-block-start",spbe:"scroll-padding-block-end",spis:"scroll-padding-inline-start",spie:"scroll-padding-inline-end",q:"quotes",qen:"quotes:'\\201C' '\\201D' '\\2018' '\\2019'",qru:"quotes:'\\00AB' '\\00BB' '\\201E' '\\201C'",r:"right",rg:"row-gap",rsz:"resize:none|both|horizontal|vertical",t:"top",ta:"text-align:left|center|right|justify",tal:"text-align-last:left|center|right",tbl:"table-layout:fixed",td:"text-decoration:none|underline|overline|line-through",te:"text-emphasis:none|accent|dot|circle|disc|before|after",th:"text-height:auto|font-size|text-size|max-size",ti:"text-indent",tj:"text-justify:auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|tibetan",to:"text-outline:${1:0} ${2:0} ${3:#000}",tov:"text-overflow:ellipsis|clip",tr:"text-replace",trf:"transform:${1}|skewX(${1:angle})|skewY(${1:angle})|scale(${1:x}, ${2:y})|scaleX(${1:x})|scaleY(${1:y})|scaleZ(${1:z})|scale3d(${1:x}, ${2:y}, ${3:z})|rotate(${1:angle})|rotateX(${1:angle})|rotateY(${1:angle})|rotateZ(${1:angle})|translate(${1:x}, ${2:y})|translateX(${1:x})|translateY(${1:y})|translateZ(${1:z})|translate3d(${1:tx}, ${2:ty}, ${3:tz})",trfo:"transform-origin",trfs:"transform-style:preserve-3d",trs:"transition:${1:prop} ${2:time}",trsde:"transition-delay:${1:time}",trsdu:"transition-duration:${1:time}",trsp:"transition-property:${1:prop}",trstf:"transition-timing-function:${1:fn}",tsh:"text-shadow:${1:hoff} ${2:voff} ${3:blur} ${4:#000}",tt:"text-transform:uppercase|lowercase|capitalize|none",tw:"text-wrap:none|normal|unrestricted|suppress",us:"user-select:none",v:"visibility:hidden|visible|collapse",va:"vertical-align:top|super|text-top|middle|baseline|bottom|text-bottom|sub","w|wid":"width",whs:"white-space:nowrap|pre|pre-wrap|pre-line|normal",whsc:"white-space-collapse:normal|keep-all|loose|break-strict|break-all",wido:"widows",wm:"writing-mode:lr-tb|lr-tb|lr-bt|rl-tb|rl-bt|tb-rl|tb-lr|bt-lr|bt-rl",wob:"word-break:normal|keep-all|break-all",wos:"word-spacing",wow:"word-wrap:none|unrestricted|suppress|break-word|normal",z:"z-index",zom:"zoom:1"},ss={"tm|tmatch":"xsl:template[match mode]","tn|tname":"xsl:template[name]",call:"xsl:call-template[name]",ap:"xsl:apply-templates[select mode]",api:"xsl:apply-imports",imp:"xsl:import[href]",inc:"xsl:include[href]",ch:"xsl:choose","wh|xsl:when":"xsl:when[test]",ot:"xsl:otherwise",if:"xsl:if[test]",par:"xsl:param[name]",pare:"xsl:param[name select]",var:"xsl:variable[name]",vare:"xsl:variable[name select]",wp:"xsl:with-param[name select]",key:"xsl:key[name match use]",elem:"xsl:element[name]",attr:"xsl:attribute[name]",attrs:"xsl:attribute-set[name]",cp:"xsl:copy[select]",co:"xsl:copy-of[select]",val:"xsl:value-of[select]","for|each":"xsl:for-each[select]",tex:"xsl:text",com:"xsl:comment",msg:"xsl:message[terminate=no]",fall:"xsl:fallback",num:"xsl:number[value]",nam:"namespace-alias[stylesheet-prefix result-prefix]",pres:"xsl:preserve-space[elements]",strip:"xsl:strip-space[elements]",proc:"xsl:processing-instruction[name]",sort:"xsl:sort[select order]",choose:"xsl:choose>xsl:when+xsl:otherwise",xsl:"!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{\n|}","!!!":'{<?xml version="1.0" encoding="UTF-8"?>}'},os={"!!!":"{doctype html}"},as={lang:"en",locale:"en-US",charset:"UTF-8",indentation:"\t",newline:"\n"};const ls={markup:"html",stylesheet:"css"},cs={inlineElements:["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","object","q","s","samp","select","small","span","strike","strong","sub","sup","textarea","tt","u","var"],"output.indent":"\t","output.baseIndent":"","output.newline":"\n","output.tagCase":"","output.attributeCase":"","output.attributeQuotes":"double","output.format":!0,"output.formatLeafNode":!1,"output.formatSkip":["html"],"output.formatForce":["body"],"output.inlineBreak":3,"output.compactBoolean":!1,"output.booleanAttributes":["contenteditable","seamless","async","autofocus","autoplay","checked","controls","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","novalidate","readonly","required","reversed","selected","typemustmatch"],"output.reverseAttributes":!1,"output.selfClosingStyle":"html","output.field":(t,e)=>e,"output.text":t=>t,"markup.href":!0,"comment.enabled":!1,"comment.trigger":["id","class"],"comment.before":"","comment.after":"\n\x3c!-- /[#ID][.CLASS] --\x3e","bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":!1,"stylesheet.keywords":["auto","inherit","unset","none"],"stylesheet.unitless":["z-index","line-height","opacity","font-weight","zoom","flex","flex-grow","flex-shrink"],"stylesheet.shortHex":!0,"stylesheet.between":": ","stylesheet.after":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.json":!1,"stylesheet.jsonDoubleQuotes":!1,"stylesheet.fuzzySearchMinScore":0,"stylesheet.strictMatch":!1},us={type:"markup",syntax:"html",variables:as,snippets:{},options:cs},hs={markup:{snippets:ps(is)},xhtml:{options:{"output.selfClosingStyle":"xhtml"}},xml:{options:{"output.selfClosingStyle":"xml"}},xsl:{snippets:ps(ss),options:{"output.selfClosingStyle":"xml"}},jsx:{options:{"jsx.enabled":!0,"markup.attributes":{class:"className","class*":"styleName",for:"htmlFor"},"markup.valuePrefix":{"class*":"styles"}}},vue:{options:{"markup.attributes":{"class*":":class"}}},svelte:{options:{"jsx.enabled":!0}},pug:{snippets:ps(os)},stylesheet:{snippets:ps(rs)},sass:{options:{"stylesheet.after":""}},stylus:{options:{"stylesheet.between":" ","stylesheet.after":""}}};function ps(t){const e={};return Object.keys(t).forEach((n=>{for(const i of n.split("|"))e[i]=t[n]})),e}function ds(t={},e={}){const n=t.type||"markup",i=t.syntax||ls[n];return Object.assign(Object.assign(Object.assign({},us),t),{type:n,syntax:i,variables:fs(n,i,"variables",t,e),snippets:fs(n,i,"snippets",t,e),options:fs(n,i,"options",t,e)})}function fs(t,e,n,i,r={}){const s=hs[t],o=r[t],a=hs[e],l=r[e];return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},us[n]),s&&s[n]),a&&a[n]),o&&o[n]),l&&l[n]),i[n])}var Os,ms;(function(t){t[t["SingleQuote"]=39]="SingleQuote",t[t["DoubleQuote"]=34]="DoubleQuote",t[t["Escape"]=92]="Escape"})(Os||(Os={})),function(t){t[t["SquareL"]=91]="SquareL",t[t["SquareR"]=93]="SquareR",t[t["RoundL"]=40]="RoundL",t[t["RoundR"]=41]="RoundR",t[t["CurlyL"]=123]="CurlyL",t[t["CurlyR"]=125]="CurlyR"}(ms||(ms={}));ms.SquareL,ms.SquareR,ms.RoundL,ms.RoundR,ms.CurlyL,ms.CurlyR;var gs;(function(t){t[t["Tab"]=9]="Tab",t[t["Space"]=32]="Space",t[t["Dash"]=45]="Dash",t[t["Slash"]=47]="Slash",t[t["Colon"]=58]="Colon",t[t["Equals"]=61]="Equals",t[t["AngleLeft"]=60]="AngleLeft",t[t["AngleRight"]=62]="AngleRight"})(gs||(gs={}));const vs=t=>t.charCodeAt(0);"#.*:$-_!@%^+>/".split("").map(vs);function ys(t,e){const n=ds(e);return"stylesheet"===n.type?_s(t,n):bs(t,n)}function bs(t,e){return or(sr(t,e),e)}function _s(t,e){return Tr(Zr(t,e),e)}const xs=String.fromCodePoint(65520),ws=String.fromCodePoint(65521);function $s(t){return t.selection.main.from}function Ss(t,e){return t.doc.sliceString(e.from,e.to)}function ks(t,e){return e>=t.from&&e<=t.to}function Qs(t){return'"'===t||"'"===t}function Ts(t,e){let{from:n,to:i}=e;const r=Ss(t,e);return Qs(r[0])&&n++,Qs(r[r.length-1])&&i--,{from:n,to:i}}function Ps(t,e){const n={};for(const i of e.getChildren("Attribute")){const e=i.getChild("AttributeName");if(e){const r=Ss(t,e),s=i.getChild("AttributeValue");n[r]=s?Ss(t,Ts(t,s)):null}}return n}function Cs(t){return t.from===t.to}function As(t){return t.length>0?t[t.length-1]:void 0}function Es(t,e=0){const n=[];let i,r="",s=null,o=0,a=0;while(a<t.length)i=t.charAt(a++),i!==xs&&i!==ws||(r+=t.slice(o,a-1),o=a,i===xs?(s={from:e+r.length,to:e+r.length},n.push(s)):s&&(s=null));return n.length||n.push({from:t.length+e,to:t.length+e}),{ranges:n,snippet:r+t.slice(o)}}const Rs={OpenTag:"open",CloseTag:"close",SelfClosingTag:"selfClose"};function Ms(t,e,n){const i={type:"css",ancestors:[],current:null,inline:!1,embedded:n},r=(0,l.qz)(t).resolveInner(e,-1),s=[];for(let a=r;a;a=a.parent)if("RuleSet"===a.name){const e=Zs(a);s.push({name:Ss(t,e),type:"selector",range:a})}else if("Declaration"===a.name){const{name:n,value:i}=Vs(a);i&&ks(i,e)&&s.push({name:Ss(t,i),type:"propertyValue",range:i}),n&&s.push({name:Ss(t,n),type:"propertyName",range:n})}const o=s.shift();if(o){const t="selector"===o.type?{from:o.range.from,to:o.range.from+o.name.length}:o.range;ks(t,e)?(i.current=o,o.range=t):s.unshift(o)}return i.ancestors=s.reverse(),i}function Ds(t,e){const n={type:"html",ancestors:[],current:null},i=(0,l.qz)(t).resolveInner(e);for(let r=i;r;r=r?r.parent:null)if(r.name in Rs){const e=js(t,r);e&&(n.current=v(g({},e),{type:Rs[r.name]}),r=r.parent)}else if("Element"===r.name){const e=r.getChild("OpenTag");if(e){const i=js(t,e);i&&n.ancestors.push(i)}}return n.ancestors.reverse(),zs(t,e,n),n}function zs(t,e,n){var i;if("open"===(null==(i=n.current)?void 0:i.type)){let i=(0,l.qz)(t).resolve(n.current.range.from,1);while(i&&"OpenTag"!==i.name)i=i.parent;if(i)for(const r of i.getChildren("Attribute")){if(r.from>e)break;if(ks(r,e)&&"style"===Xs(t,r)){const i=r.getChild("AttributeValue");if(i){const r=Ts(t,i);ks(r,e)&&(n.css=Ws(Ss(t,r),e-r.from,r.from))}}}}}function js(t,e){const n=e.getChild("TagName");if(n)return{name:Ss(t,n).toLowerCase(),range:e}}function Zs(t){let e=t.from,n=e;for(let i=t.firstChild;i&&"Block"!==i.name;i=i.nextSibling)n=i.to;return{from:e,to:n}}function Vs(t){let e,n,i=t.firstChild;return"PropertyName"===(null==i?void 0:i.name)&&(e=i,i=i.nextSibling,":"===(null==i?void 0:i.name)&&(i=i.nextSibling),i&&(n={from:i.from,to:t.lastChild.to})),{name:e,value:n}}function Xs(t,e){const n=e.getChild("AttributeName");return n?Ss(t,n).toLowerCase():""}function Ws(t,e,n=0){const i={type:"css",ancestors:[],current:null,inline:!0,embedded:{from:e+n,to:e+n+t.length}},r=qs(t,e);for(const s of r){if(s.value&&ks(s.value,e)){i.current={name:t.substring(s.value.from,s.value.to).trim(),type:"propertyValue",range:{from:n+s.value.from,to:n+s.value.to}},i.ancestors.push({name:t.substring(s.name.from,s.name.to).trim(),type:"propertyName",range:{from:n+s.name.from,to:n+s.value.to}});break}if(ks(s.name,e)){const e=s.value?s.value.to:s.name.to;i.current={name:t.substring(s.name.from,s.name.to).trim(),type:"propertyName",range:{from:n+s.name.from,to:n+e}};break}}return i}function qs(t,e=t.length){var n;const i=" \t\n\r",r=[];let s;for(let o=0;o<t.length;o++){const a=t[o];if(s&&(s.value?-1!==s.value.from&&(s.value.to=o):s.name.to=o),";"===a){if(s=void 0,o>e)break}else":"===a?s&&!s.value&&(s.value={from:-1,to:-1}):s?-1!==(null==(n=s.value)?void 0:n.from)||i.includes(a)||(s.value.from=s.value.to=o):i.includes(a)||(s={name:{from:o,to:o}},r.push(s))}return s&&(s.value?s.value.to++:s.name.to++),r}var Is=(t=>(t["html"]="html",t["xml"]="xml",t["xsl"]="xsl",t["jsx"]="jsx",t["tsx"]="tsx",t["vue"]="vue",t["haml"]="haml",t["jade"]="jade",t["pug"]="pug",t["slim"]="slim",t["css"]="css",t["scss"]="scss",t["less"]="less",t["sass"]="sass",t["sss"]="sss",t["stylus"]="stylus",t["postcss"]="postcss",t))(Is||{});function Ns(t,e){const n=io(t)||Is.html,i=Hs(t),r={"output.field":Ls,"output.indent":"\t","output.format":!e,"output.attributeQuotes":i.attributeQuotes,"stylesheet.shortHex":i.shortHex};return n===Is.html&&(r["output.selfClosingStyle"]=i.markupStyle,r["output.compactBoolean"]="html"===i.markupStyle),oo(n)&&(i.comments&&(r["comment.enabled"]=!0,i.commentsTemplate&&(r["comment.after"]=i.commentsTemplate)),r["bem.enabled"]=i.bem),r}function Ls(t,e){return e?`\${${t}:${e}}`:`\${${t}}`}let Bs={};function Us(t,e,n){let i={cache:Bs};const r={"output.field":Ls};n&&(Object.assign(i,n),n.options&&Object.assign(r,n.options)),i.options=r;const s=Hs(t);return s.config&&(i=ds(i,s.config)),ys(e,i)}function Ys(){Bs={}}const Fs={syntax:Is.html,mark:!0,preview:{},previewEnabled:!0,autoRenameTags:!0,markTagPairs:!0,previewOpenTag:!1,attributeQuotes:"double",markupStyle:"html",comments:!1,commentsTemplate:"\x3c!-- /[#ID][.CLASS] --\x3e",bem:!1,completionBoost:99},Gs=r.r$.define({combine(t){Ys();const e=g({},Fs),{preview:n}=e;for(const i of t)Object.assign(e,i),i.preview&&(e.preview=g(g({},n),i.preview));return e}});function Hs(t,e){let n=t.facet(Gs);return n}const Ks=[Is.html,Is.vue],Js=[Is.jsx,Is.tsx],to=[Is.xml,Is.xsl,...Js],eo=[Is.css,Is.scss,Is.less];Is.haml,Is.jade,Is.pug,Is.slim;const no=[Is.sass,Is.sss,Is.stylus,Is.postcss,...eo];function io(t){return Hs(t).syntax}function ro(t){return t&&no.includes(t)?"stylesheet":"markup"}function so(t){return to.includes(t)}function oo(t){return Ks.includes(t)||so(t)}function ao(t){return eo.includes(t)}function lo(t){return Js.includes(t)}function co(t,e){const n=As(e.ancestors);if(n){let e=(0,l.qz)(t).resolve(n.range.from,1);while(e&&"OpenTag"!==e.name)e=e.parent;return{name:n.name,attributes:e?Ps(t,e):{}}}}function uo(t){if(t.inline)return{name:"@@property"};const e=As(t.ancestors);let n="@@global";return t.current?"propertyValue"===t.current.type&&e?n=e.name:"selector"!==t.current.type&&"propertyName"!==t.current.type||e||(n="@@section"):e||(n="@@section"),{name:n}}function ho(t,e,n){const a=document.createElement("div");a.className="emmet-preview","error"===e&&a.classList.add("emmet-preview_error");let c=e===Is.css?o.iv:s.dy;n&&e in n&&(c=n[e]);const u=new i.tk({doc:t,root:null==n?void 0:n.root,extensions:[r.yy.readOnly.of(!0),(0,l.nF)(l.R_,{fallback:!0}),e===Is.css?(0,o.iv)():(0,s.dy)(),c()],parent:a});return a.update=t=>{const e=u.state.update({changes:{from:0,to:u.state.doc.length,insert:t}});u.dispatch(e)},a}const po="data:image/svg+xml,%3csvg%20height='393'%20viewBox='0%200%20393%20393'%20width='393'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='98.60869%25'%20x2='50%25'%20y1='50%25'%20y2='50%25'%3e%3cstop%20offset='0'%20stop-color='%23cefbad'/%3e%3cstop%20offset='.836972535'%20stop-color='%23cefbad'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cpath%20id='b'%20d='m116%2048%20105%2063v34.985l-75-44.999289v67.667289l49.5%2029.347-49.5%2029.346v67.668289l75-45.000289v34.986l-105%2063zm145%2087%20105%2063-105%2063v-34.986l46.690481-28.014-46.690481-28.014z'/%3e%3c/defs%3e%3cg%20fill='none'%20fill-rule='evenodd'%20transform='matrix(.70710678%20-.70710678%20.70710678%20.70710678%20-81.392965%20196.5)'%3e%3ccircle%20cx='196.5'%20cy='196.5'%20fill='%2325272b'%20r='196.5'/%3e%3cuse%20fill='%2392c131'%20xlink:href='%23b'/%3e%3cuse%20fill='url(%23a)'%20xlink:href='%23b'/%3e%3c/g%3e%3c/svg%3e",fo=t=>{const e=t.state.field(bo);return"abbreviation"===(null==e?void 0:e.type)&&e.preview&&ks(e.range,t.pos)?{from:e.range.from,to:e.range.to,filter:!1,update(t,e,n,i){const r=i.state.field(bo);return r&&"error"!==r.type&&ks(r.range,i.pos)?v(g({},t),{from:r.range.from,to:r.range.to,options:Lo(i.state,r)}):null},options:Lo(t.state,e)}:null},Oo=o.t$.data.of({autocomplete:fo}),mo="<",go=i.p.mark({class:"emmet-tracker"}),vo=r.Py.define(),yo=r.Py.define(),bo=r.QQ.define({create:()=>null,update(t,e){const n=e.annotation(a.Jv);if(n)return null;for(const i of e.effects){if(i.is(vo))return null;if(i.is(yo)){const t=e.newSelection.main,n=Co(e.state,t.from);if(n)return Do(e.state,t,{forced:!0,config:n})}}return e.docChanged?Xo(e.state,t,e):t}}),_o=r.QQ.define({create:xo,update(t,e){if(!e.docChanged&&!e.selection){const n=e.state.field(bo);return n?t:null}return xo(e.state,t)},provide:t=>i.hJ.from(t)});function xo(t,e){const n=t.field(bo);if(n&&!n.inactive&&"active"!==(0,a.LR)(t)){if("stylesheet"===n.config.type)return null;e&&e.tracker.type!==n.type&&(e=null);const{range:i}=n;if(No(t,n))return e||{pos:i.from,above:!1,arrow:!1,tracker:n,create(){const e=t.facet(Gs).preview;let i="",r="";"error"===n.type?(i=n.error.message,r="error"):(i=n.preview,r=n.config.syntax||Is.html);const s=ho(i,r,e);return{dom:s,update({state:t}){const e=t.field(bo);if(e&&s.update){const t="error"===e.type?e.error.message:e.preview;s.update(t)}}}}}}return null}const wo=i.lg.fromClass(class{constructor(){y(this,"decorations"),this.decorations=i.p.none}update(t){const{state:e}=t,n=e.field(bo),r=[];if(n&&!n.inactive){const{range:t}=n;Cs(t)||r.push(go.range(t.from,t.to)),this.decorations=i.p.set(r,!0)}else this.decorations=i.p.none}},{decorations:t=>t.decorations});function $o(t,e){const{from:n,to:i}=e.range,r=Us(t.state,e.abbreviation,e.config),s=(0,a.DB)(r);t.dispatch(t.state.update({effects:vo.of(null)})),s(t,{label:"expand"},n,i)}const So=t=>{const{state:e}=t,n=(0,a.s1)(e),i=e.field(bo,!1);if(n&&i){if("emmet"===n.type){const{autocompleteTab:n}=Hs(e);if(!n)return!1;if(Array.isArray(n)){const{type:t,syntax:e}=i.config;if(!n.includes(t)&&!n.includes(e))return!1}return(0,a.dk)(t),!0}return!1}return!(!i||i.inactive||!ks(i.range,$s(e)))&&($o(t,i),!0)},ko=({state:t,dispatch:e})=>{const n=t.field(bo,!1);return!!n&&(e({effects:vo.of(null)}),!0)},Qo=i.tk.baseTheme({".emmet-tracker":{textDecoration:"underline 1px green"},".emmet-preview":{fontSize:"0.9em"},".emmet-preview_error":{color:"red"},".cm-completionIcon-emmet::after":{content:'" "',background:`url("${po}") center/contain no-repeat`,display:"inline-block",width:"11px",height:"11px",verticalAlign:"middle"}});function To(t){return[bo,wo,_o,Qo,Oo,t?Gs.of(t):[],i.$f.of([{key:"Tab",run:So},{key:"Escape",run:ko}])]}function Po(t,e,n){var i;if(1!==n.length)return null;const r=t.doc.lineAt(e),s=r.text.substring(Math.max(0,e-r.from-1),e-r.from);if(!qo(s,n,Wo(t,e)))return null;const o=Co(t,e);if(!o)return null;if("stylesheet"===o.type){if(!qo(s,n,Is.css))return null;const t=null==(i=o.context)?void 0:i.name;if(t&&!t.startsWith("@@")&&"#"!==n)return null}const a=o.syntax||Is.html;let l=e,c=e+n.length,u=0;return lo(a)&&s===mo&&(u=mo.length,l-=u),Do(t,{from:l,to:c},{config:o})}function Co(t,e){if(o.t$.isActiveAt(t,e))return Ao(t,e,Is.css,Ms(t,e));const n=io(t);if(!oo(n))return{syntax:n,type:ro(n),options:Ns(t)};{const i=Ds(t,e);if(i.css)return Ao(t,e,Is.css,i.css);if(!i.current)return{syntax:n,type:"markup",context:co(t,i),options:Ns(t)}}}function Ao(t,e,n,i){const r=!i.current||"propertyName"===i.current.type||"propertyValue"===i.current.type||Eo(t,e,i);if(r)return{syntax:n,type:"stylesheet",context:uo(i),options:Ns(t,i.inline)}}function Eo(t,e,{current:n}){if("selector"===(null==n?void 0:n.type)&&n.range.from===e-1){const e=t.doc.lineAt(n.range.from);return 1===e.text.trim().length}return!1}function Ro(t,e){return lo(e)?t===mo:(ao(e),""===t||/^[\s>;"\']$/.test(t))}function Mo(t,e){return lo(e)?/^[a-zA-Z.#\[\(]$/.test(t):ao(e)?/^[a-zA-Z!@#]$/.test(t):/^[a-zA-Z.#!@\[\(]$/.test(t)}function Do(t,e,n){if(e.from>e.to)return null;let i=Ss(t,e);const{config:r,forced:s}=n;if(n.offset&&(i=i.slice(n.offset)),!i&&!s||zo(i))return null;const o={abbreviation:i,range:e,config:r,forced:!!s,inactive:!1,offset:n.offset||0};try{let e,n=!1;"markup"===r.type&&(e=ne(i,{jsx:"jsx"===r.syntax}),n=jo(e));const s=Zo(r),a=Us(t,e||i,s);return a?v(g({},o),{type:"abbreviation",simple:n,preview:a}):null}catch(a){return o.forced?v(g({},o),{type:"error",error:a}):null}}function zo(t){return/[\r\n]/.test(t)}function jo(t){if(1===t.children.length&&!t.children[0].children.length){const e=t.children[0];return!e.name||/^[a-z]/i.test(e.name)}return!t.children.length}function Zo(t){return v(g({},t),{options:v(g({},t.options),{"output.field":Vo,"output.indent":" ","output.baseIndent":""})})}function Vo(t,e){return e}function Xo(t,e,n){return Io(t)?null:e&&!e.inactive||(n.changes.iterChanges(((n,i,r,s,o)=>{o.length&&(e=Po(t,r,o.toString())||e)})),e&&e.inactive)?(n.changes.iterChanges(((n,i,r,s,o)=>{if(!e)return;const{range:a}=e;if(ks(a,n)){if(ks(a,r)){const r=i-n,l=s-n,c=a.to+l-r;if(c<=a.from||zo(o.toString()))e=null;else{const n=e.inactive?a:{from:a.from,to:c},i=Do(t,n,{config:e.config,forced:e.forced});e=i||v(g({},e),{inactive:!0})}}}else e.inactive||(e=null)})),e):e}function Wo(t,e){return o.t$.isActiveAt(t,e)?Is.css:s.s6.isActiveAt(t,e)?Is.html:""}function qo(t,e,n){return Ro(t,n)&&Mo(e,n)}function Io(t){return!!Array.isArray(t.values)&&t.values.some((t=>{var e;return t&&"ActiveSnippet"===(null==(e=t.constructor)?void 0:e.name)}))}function No(t,e){if("active"===(0,a.LR)(t))return!1;const n=Hs(t);if(!n.previewEnabled)return!1;if(Array.isArray(n.previewEnabled)){const{type:t,syntax:i}=e.config;if(!n.previewEnabled.includes(t)&&!n.previewEnabled.includes(i))return!1}return"error"===e.type||(!e.simple||e.forced)&&!!e.abbreviation&&ks(e.range,$s(t))}function Lo(t,e,n){const i=t.facet(Gs);return[{label:"Emmet abbreviation",type:"emmet",boost:i.completionBoost,tracker:e,previewConfig:i.preview,preview:null==n?void 0:n.preview,info:Bo,apply:(t,n)=>{t.dispatch({annotations:a.Jv.of(n)}),$o(t,e)}}]}function Bo(t){let{tracker:e,previewConfig:n,preview:i}=t;return(null==i?void 0:i.update)?i.update(e.preview):t.preview=i=ho(e.preview,e.config.syntax||Is.html,n),i}class Uo extends Error{constructor(t,e,n){super(t),this.pos=e,this.string=n}}Yo("null",0);function Yo(t,e,n=0){return{type:t,value:e,priority:n}}const Fo=r.Py.define(),Go=r.QQ.define({create:()=>null,update(t,e){for(const n of e.effects)n.is(Fo)&&(t=n.value);return t}});i.tk.baseTheme({".emmet-wrap-with-abbreviation":{position:"absolute",top:0,zIndex:2,width:"100%"},".emmet-wrap-with-abbreviation__content":{background:"#fff",margin:"0 auto",padding:"5px",boxSizing:"border-box",width:"100%",maxWidth:"30em",borderBottomLeftRadius:"5px",borderBottomRightRadius:"5px",boxShadow:"0 3px 10px rgba(0, 0, 0, 0.3)"},".emmet-wrap-with-abbreviation__content input":{width:"100%",boxSizing:"border-box"}}),i.lg.fromClass(class{constructor(){y(this,"widget",null),y(this,"input",null)}update(t){const{state:e,view:n}=t,i=e.field(Go);i?(this.widget||this.createInputPanel(n),this.updateAbbreviation(i.abbreviation)):this.widget&&(this.disposeWidget(),n.focus())}createInputPanel(t){const e=document.createElement("div");e.className="emmet-wrap-with-abbreviation";const n=document.createElement("div");n.className="emmet-wrap-with-abbreviation__content";const i=document.createElement("input");i.placeholder="Enter abbreviation";let r=!1;const s=()=>{r&&((0,c.Yw)(t),r=!1)};i.addEventListener("input",(()=>{const e=t.state.field(Go);if(e){const n=i.value;s();const o=v(g({},e),{abbreviation:n});if(o.abbreviation){r=!0;const{from:e,to:n}=o.range,i=Us(t.state,o.abbreviation,o.options),{ranges:s,snippet:a}=Es(i,e),l=s[0];t.dispatch({effects:[Fo.of(o)],changes:[{from:e,to:n,insert:a}],selection:{head:l.from,anchor:l.to}})}else t.dispatch({effects:[Fo.of(o)]})}})),i.addEventListener("keydown",(e=>{"Escape"!==e.key&&"Enter"!==e.key||("Escape"===e.key&&s(),e.preventDefault(),t.dispatch({effects:[Fo.of(null)]}))})),n.append(i),e.append(n),t.dom.append(e),this.widget=e,this.input=i,i.focus()}updateAbbreviation(t){this.input&&this.input.value!==t&&(this.input.value=t)}disposeWidget(){this.widget&&(this.widget.remove(),this.widget=this.input=null)}})},41113:(t,e,n)=>{"use strict";n.d(e,{FE:()=>Z,Jq:()=>c,L3:()=>i,Lj:()=>u,_b:()=>z,hr:()=>M,i9:()=>D,md:()=>o,mp:()=>f,vj:()=>d});const i=1024;let r=0;class s{constructor(t,e){this.from=t,this.to=e}}class o{constructor(t={}){this.id=r++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof t&&(t=c.match(t)),e=>{let n=t(e);return void 0===n?null:[this,n]}}}o.closedBy=new o({deserialize:t=>t.split(" ")}),o.openedBy=new o({deserialize:t=>t.split(" ")}),o.group=new o({deserialize:t=>t.split(" ")}),o.isolate=new o({deserialize:t=>{if(t&&"rtl"!=t&&"ltr"!=t&&"auto"!=t)throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}}),o.contextHash=new o({perNode:!0}),o.lookAhead=new o({perNode:!0}),o.mounted=new o({perNode:!0});class a{constructor(t,e,n){this.tree=t,this.overlay=e,this.parser=n}static get(t){return t&&t.props&&t.props[o.mounted.id]}}const l=Object.create(null);class c{constructor(t,e,n,i=0){this.name=t,this.props=e,this.id=n,this.flags=i}static define(t){let e=t.props&&t.props.length?Object.create(null):l,n=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),i=new c(t.name||"",e,t.id,n);if(t.props)for(let r of t.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");e[r[0].id]=r[1]}return i}prop(t){return this.props[t.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(t){if("string"==typeof t){if(this.name==t)return!0;let e=this.prop(o.group);return!!e&&e.indexOf(t)>-1}return this.id==t}static match(t){let e=Object.create(null);for(let n in t)for(let i of n.split(" "))e[i]=t[n];return t=>{for(let n=t.prop(o.group),i=-1;i<(n?n.length:0);i++){let r=e[i<0?t.name:n[i]];if(r)return r}}}}c.none=new c("",Object.create(null),0,8);class u{constructor(t){this.types=t;for(let e=0;e<t.length;e++)if(t[e].id!=e)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let e=[];for(let n of this.types){let i=null;for(let e of t){let t=e(n);t&&(i||(i=Object.assign({},n.props)),i[t[0].id]=t[1])}e.push(i?new c(n.name,i,n.id,n.flags):n)}return new u(e)}}const h=new WeakMap,p=new WeakMap;var d;(function(t){t[t["ExcludeBuffers"]=1]="ExcludeBuffers",t[t["IncludeAnonymous"]=2]="IncludeAnonymous",t[t["IgnoreMounts"]=4]="IgnoreMounts",t[t["IgnoreOverlays"]=8]="IgnoreOverlays"})(d||(d={}));class f{constructor(t,e,n,i,r){if(this.type=t,this.children=e,this.positions=n,this.length=i,this.props=null,r&&r.length){this.props=Object.create(null);for(let[t,e]of r)this.props["number"==typeof t?t:t.id]=e}}toString(){let t=a.get(this);if(t&&!t.overlay)return t.tree.toString();let e="";for(let n of this.children){let t=n.toString();t&&(e&&(e+=","),e+=t)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(e.length?"("+e+")":""):e}cursor(t=0){return new T(this.topNode,t)}cursorAt(t,e=0,n=0){let i=h.get(this)||this.topNode,r=new T(i);return r.moveTo(t,e),h.set(this,r._tree),r}get topNode(){return new b(this,0,0,null)}resolve(t,e=0){let n=v(h.get(this)||this.topNode,t,e,!1);return h.set(this,n),n}resolveInner(t,e=0){let n=v(p.get(this)||this.topNode,t,e,!0);return p.set(this,n),n}resolveStack(t,e=0){return Q(this,t,e)}iterate(t){let{enter:e,leave:n,from:i=0,to:r=this.length}=t,s=t.mode||0,o=(s&d.IncludeAnonymous)>0;for(let a=this.cursor(s|d.IncludeAnonymous);;){let t=!1;if(a.from<=r&&a.to>=i&&(!o&&a.type.isAnonymous||!1!==e(a))){if(a.firstChild())continue;t=!0}for(;;){if(t&&n&&(o||!a.type.isAnonymous)&&n(a),a.nextSibling())break;if(!a.parent())return;t=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let e in this.props)t.push([+e,this.props[e]]);return t}balance(t={}){return this.children.length<=8?this:R(c.none,this.children,this.positions,0,this.children.length,0,this.length,((t,e,n)=>new f(this.type,t,e,n,this.propValues)),t.makeTree||((t,e,n)=>new f(c.none,t,e,n)))}static build(t){return C(t)}}f.empty=new f(c.none,[],[],0);class O{constructor(t,e){this.buffer=t,this.index=e}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new O(this.buffer,this.index)}}class m{constructor(t,e,n){this.buffer=t,this.length=e,this.set=n}get type(){return c.none}toString(){let t=[];for(let e=0;e<this.buffer.length;)t.push(this.childString(e)),e=this.buffer[e+3];return t.join(",")}childString(t){let e=this.buffer[t],n=this.buffer[t+3],i=this.set.types[e],r=i.name;if(/\W/.test(r)&&!i.isError&&(r=JSON.stringify(r)),t+=4,n==t)return r;let s=[];while(t<n)s.push(this.childString(t)),t=this.buffer[t+3];return r+"("+s.join(",")+")"}findChild(t,e,n,i,r){let{buffer:s}=this,o=-1;for(let a=t;a!=e;a=s[a+3])if(g(r,i,s[a+1],s[a+2])&&(o=a,n>0))break;return o}slice(t,e,n){let i=this.buffer,r=new Uint16Array(e-t),s=0;for(let o=t,a=0;o<e;){r[a++]=i[o++],r[a++]=i[o++]-n;let e=r[a++]=i[o++]-n;r[a++]=i[o++]-t,s=Math.max(s,e)}return new m(r,s,this.set)}}function g(t,e,n,i){switch(t){case-2:return n<e;case-1:return i>=e&&n<e;case 0:return n<e&&i>e;case 1:return n<=e&&i>e;case 2:return i>e;case 4:return!0}}function v(t,e,n,i){var r;while(t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to<e)){let e=!i&&t instanceof b&&t.index<0?null:t.parent;if(!e)return t;t=e}let s=i?0:d.IgnoreOverlays;if(i)for(let o=t,a=o.parent;a;o=a,a=o.parent)o instanceof b&&o.index<0&&(null===(r=a.enter(e,n,s))||void 0===r?void 0:r.from)!=o.from&&(t=a);for(;;){let i=t.enter(e,n,s);if(!i)return t;t=i}}class y{cursor(t=0){return new T(this,t)}getChild(t,e=null,n=null){let i=_(this,t,e,n);return i.length?i[0]:null}getChildren(t,e=null,n=null){return _(this,t,e,n)}resolve(t,e=0){return v(this,t,e,!1)}resolveInner(t,e=0){return v(this,t,e,!0)}matchContext(t){return x(this.parent,t)}enterUnfinishedNodesBefore(t){let e=this.childBefore(t),n=this;while(e){let t=e.lastChild;if(!t||t.to!=e.to)break;t.type.isError&&t.from==t.to?(n=e,e=t.prevSibling):e=t}return n}get node(){return this}get next(){return this.parent}}class b extends y{constructor(t,e,n,i){super(),this._tree=t,this.from=e,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,e,n,i,r=0){for(let s=this;;){for(let{children:o,positions:l}=s._tree,c=e>0?o.length:-1;t!=c;t+=e){let c=o[t],u=l[t]+s.from;if(g(i,n,u,u+c.length))if(c instanceof m){if(r&d.ExcludeBuffers)continue;let o=c.findChild(0,c.buffer.length,e,n-u,i);if(o>-1)return new $(new w(s,c,t,u),null,o)}else if(r&d.IncludeAnonymous||!c.type.isAnonymous||P(c)){let o;if(!(r&d.IgnoreMounts)&&(o=a.get(c))&&!o.overlay)return new b(o.tree,u,t,s);let l=new b(c,u,t,s);return r&d.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(e<0?c.children.length-1:0,e,n,i)}}if(r&d.IncludeAnonymous||!s.type.isAnonymous)return null;if(t=s.index>=0?s.index+e:e<0?-1:s._parent._tree.children.length,s=s._parent,!s)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,e,n=0){let i;if(!(n&d.IgnoreOverlays)&&(i=a.get(this._tree))&&i.overlay){let n=t-this.from;for(let{from:t,to:r}of i.overlay)if((e>0?t<=n:t<n)&&(e<0?r>=n:r>n))return new b(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,e,n)}nextSignificantParent(){let t=this;while(t.type.isAnonymous&&t._parent)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _(t,e,n,i){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(null!=n)for(let o=!1;!o;)if(o=r.type.is(n),!r.nextSibling())return s;for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function x(t,e,n=e.length-1){for(let i=t;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[n]&&e[n]!=i.name)return!1;n--}}return!0}class w{constructor(t,e,n,i){this.parent=t,this.buffer=e,this.index=n,this.start=i}}class $ extends y{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,e,n){super(),this.context=t,this._parent=e,this.index=n,this.type=t.buffer.set.types[t.buffer.buffer[n]]}child(t,e,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],t,e-this.context.start,n);return r<0?null:new $(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,e,n=0){if(n&d.ExcludeBuffers)return null;let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e>0?1:-1,t-this.context.start,e);return r<0?null:new $(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,e=t.buffer[this.index+3];return e<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new $(this.context,this._parent,e):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,e=this._parent?this._parent.index+4:0;return this.index==e?this.externalSibling(-1):new $(this.context,this._parent,t.findChild(e,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],e=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];t.push(n.slice(i,r,s)),e.push(0)}return new f(this.type,t,e,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function S(t){if(!t.length)return null;let e=0,n=t[0];for(let s=1;s<t.length;s++){let i=t[s];(i.from>n.from||i.to<n.to)&&(n=i,e=s)}let i=n instanceof b&&n.index<0?null:n.parent,r=t.slice();return i?r[e]=i:r.splice(e,1),new k(r,n)}class k{constructor(t,e){this.heads=t,this.node=e}get next(){return S(this.heads)}}function Q(t,e,n){let i=t.resolveInner(e,n),r=null;for(let s=i instanceof b?i:i.context.parent;s;s=s.parent)if(s.index<0){let t=s.parent;(r||(r=[i])).push(t.resolve(e,n)),s=t}else{let t=a.get(s.tree);if(t&&t.overlay&&t.overlay[0].from<=e&&t.overlay[t.overlay.length-1].to>=e){let o=new b(t.tree,t.overlay[0].from+s.from,-1,s);(r||(r=[i])).push(v(o,e,n,!1))}}return r?S(r):i}class T{get name(){return this.type.name}constructor(t,e=0){if(this.mode=e,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof b)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let e=t._parent;e;e=e._parent)this.stack.unshift(e.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return!!t&&(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0)}yieldBuf(t,e){this.index=t;let{start:n,buffer:i}=this.buffer;return this.type=e||i.set.types[i.buffer[t]],this.from=n+i.buffer[t+1],this.to=n+i.buffer[t+2],!0}yield(t){return!!t&&(t instanceof b?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,e,n){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,e,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],t,e-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,e,n=this.mode){return this.buffer?!(n&d.ExcludeBuffers)&&this.enterChild(1,t,e):this.yield(this._tree.enter(t,e,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&d.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&d.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode));let{buffer:e}=this.buffer,n=this.stack.length-1;if(t<0){let t=n<0?0:this.stack[n]+4;if(this.index!=t)return this.yieldBuf(e.findChild(t,this.index,-1,0,4))}else{let t=e.buffer[this.index+3];if(t<(n<0?e.buffer.length:e.buffer[this.stack[n]+3]))return this.yieldBuf(t)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let e,n,{buffer:i}=this;if(i){if(t>0){if(this.index<i.buffer.buffer.length)return!1}else for(let t=0;t<this.index;t++)if(i.buffer.buffer[t+3]<this.index)return!1;({index:e,parent:n}=i)}else({index:e,_parent:n}=this._tree);for(;n;({index:e,_parent:n}=n))if(e>-1)for(let i=e+t,r=t<0?-1:n._tree.children.length;i!=r;i+=t){let t=n._tree.children[i];if(this.mode&d.IncludeAnonymous||t instanceof m||!t.type.isAnonymous||P(t))return!1}return!0}move(t,e){if(e&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,e=0){while(this.from==this.to||(e<1?this.from>=t:this.from>t)||(e>-1?this.to<=t:this.to<t))if(!this.parent())break;while(this.enterChild(1,t,e));return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,e=null,n=0;if(t&&t.context==this.buffer)t:for(let i=this.index,r=this.stack.length;r>=0;){for(let s=t;s;s=s._parent)if(s.index==i){if(i==this.index)return s;e=s,n=r+1;break t}i=this.stack[--r]}for(let i=n;i<this.stack.length;i++)e=new $(this.buffer,e,this.stack[i]);return this.bufferNode=new $(this.buffer,e,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,e){for(let n=0;;){let i=!1;if(this.type.isAnonymous||!1!==t(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;;){if(i&&e&&e(this),i=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,i=!0}}}matchContext(t){if(!this.buffer)return x(this.node.parent,t);let{buffer:e}=this.buffer,{types:n}=e.set;for(let i=t.length-1,r=this.stack.length-1;i>=0;r--){if(r<0)return x(this._tree,t,i);let s=n[e.buffer[this.stack[r]]];if(!s.isAnonymous){if(t[i]&&t[i]!=s.name)return!1;i--}}return!0}}function P(t){return t.children.some((t=>t instanceof m||!t.type.isAnonymous||P(t)))}function C(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:s=i,reused:a=[],minRepeatType:l=r.types.length}=t,c=Array.isArray(n)?new O(n,n.length):n,u=r.types,h=0,p=0;function d(t,e,n,i,o,f){let{id:O,start:w,end:$,size:S}=c,k=p,Q=h;while(S<0){if(c.next(),-1==S){let e=a[O];return n.push(e),void i.push(w-t)}if(-3==S)return void(h=O);if(-4==S)return void(p=O);throw new RangeError(`Unrecognized record size: ${S}`)}let T,P,C=u[O],A=w-t;if($-w<=s&&(P=_(c.pos-e,o))){let e=new Uint16Array(P.size-P.skip),n=c.pos-P.size,i=e.length;while(c.pos>n)i=x(P.start,e,i);T=new m(e,$-P.start,r),A=P.start-t}else{let t=c.pos-S;c.next();let e=[],n=[],i=O>=l?O:-1,r=0,o=$;while(c.pos>t)i>=0&&c.id==i&&c.size>=0?(c.end<=o-s&&(y(e,n,w,r,c.end,o,i,k,Q),r=e.length,o=c.end),c.next()):f>2500?g(w,t,e,n):d(w,t,e,n,i,f+1);if(i>=0&&r>0&&r<e.length&&y(e,n,w,r,w,o,i,k,Q),e.reverse(),n.reverse(),i>-1&&r>0){let t=v(C,Q);T=R(C,e,n,0,e.length,0,$-w,t,t)}else T=b(C,e,n,$-w,k-$,Q)}n.push(T),i.push(A)}function g(t,e,n,i){let o=[],a=0,l=-1;while(c.pos>e){let{id:t,start:e,end:n,size:i}=c;if(i>4)c.next();else{if(l>-1&&e<l)break;l<0&&(l=n-s),o.push(t,e,n),a++,c.next()}}if(a){let e=new Uint16Array(4*a),s=o[o.length-2];for(let t=o.length-3,n=0;t>=0;t-=3)e[n++]=o[t],e[n++]=o[t+1]-s,e[n++]=o[t+2]-s,e[n++]=n;n.push(new m(e,o[2]-s,r)),i.push(s-t)}}function v(t,e){return(n,i,r)=>{let s,a,l=0,c=n.length-1;if(c>=0&&(s=n[c])instanceof f){if(!c&&s.type==t&&s.length==r)return s;(a=s.prop(o.lookAhead))&&(l=i[c]+s.length+a)}return b(t,n,i,r,l,e)}}function y(t,e,n,i,s,o,a,l,c){let u=[],h=[];while(t.length>i)u.push(t.pop()),h.push(e.pop()+n-s);t.push(b(r.types[a],u,h,o-s,l-o,c)),e.push(s-n)}function b(t,e,n,i,r,s,a){if(s){let t=[o.contextHash,s];a=a?[t].concat(a):[t]}if(r>25){let t=[o.lookAhead,r];a=a?[t].concat(a):[t]}return new f(t,e,n,i,a)}function _(t,e){let n=c.fork(),i=0,r=0,o=0,a=n.end-s,u={size:0,start:0,skip:0};t:for(let s=n.pos-t;n.pos>s;){let t=n.size;if(n.id==e&&t>=0){u.size=i,u.start=r,u.skip=o,o+=4,i+=4,n.next();continue}let c=n.pos-t;if(t<0||c<s||n.start<a)break;let h=n.id>=l?4:0,p=n.start;n.next();while(n.pos>c){if(n.size<0){if(-3!=n.size)break t;h+=4}else n.id>=l&&(h+=4);n.next()}r=p,i+=t,o+=h}return(e<0||i==t)&&(u.size=i,u.start=r,u.skip=o),u.size>4?u:void 0}function x(t,e,n){let{id:i,start:r,end:s,size:o}=c;if(c.next(),o>=0&&i<l){let a=n;if(o>4){let i=c.pos-(o-4);while(c.pos>i)n=x(t,e,n)}e[--n]=a,e[--n]=s-t,e[--n]=r-t,e[--n]=i}else-3==o?h=i:-4==o&&(p=i);return n}let w=[],$=[];while(c.pos>0)d(t.start||0,t.bufferStart||0,w,$,-1,0);let S=null!==(e=t.length)&&void 0!==e?e:w.length?$[0]+w[0].length:0;return new f(u[t.topID],w.reverse(),$.reverse(),S)}const A=new WeakMap;function E(t,e){if(!t.isAnonymous||e instanceof m||e.type!=t)return 1;let n=A.get(e);if(null==n){n=1;for(let i of e.children){if(i.type!=t||!(i instanceof f)){n=1;break}n+=E(t,i)}A.set(e,n)}return n}function R(t,e,n,i,r,s,o,a,l){let c=0;for(let f=i;f<r;f++)c+=E(t,e[f]);let u=Math.ceil(1.5*c/8),h=[],p=[];function d(e,n,i,r,o){for(let a=i;a<r;){let i=a,c=n[a],f=E(t,e[a]);for(a++;a<r;a++){let n=E(t,e[a]);if(f+n>=u)break;f+=n}if(a==i+1){if(f>u){let t=e[i];d(t.children,t.positions,0,t.children.length,n[i]+o);continue}h.push(e[i])}else{let r=n[a-1]+e[a-1].length-c;h.push(R(t,e,n,i,a,c,r,null,l))}p.push(c+o-s)}}return d(e,n,i,r,0),(a||l)(h,p,o)}class M{constructor(){this.map=new WeakMap}setBuffer(t,e,n){let i=this.map.get(t);i||this.map.set(t,i=new Map),i.set(e,n)}getBuffer(t,e){let n=this.map.get(t);return n&&n.get(e)}set(t,e){t instanceof $?this.setBuffer(t.context.buffer,t.index,e):t instanceof b&&this.map.set(t.tree,e)}get(t){return t instanceof $?this.getBuffer(t.context.buffer,t.index):t instanceof b?this.map.get(t.tree):void 0}cursorSet(t,e){t.buffer?this.setBuffer(t.buffer.buffer,t.index,e):this.map.set(t.tree,e)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class D{constructor(t,e,n,i,r=!1,s=!1){this.from=t,this.to=e,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(t,e=[],n=!1){let i=[new D(0,t.length,t,0,!1,n)];for(let r of e)r.to>t.length&&i.push(r);return i}static applyChanges(t,e,n=128){if(!e.length)return t;let i=[],r=1,s=t.length?t[0]:null;for(let o=0,a=0,l=0;;o++){let c=o<e.length?e[o]:null,u=c?c.fromA:1e9;if(u-a>=n)while(s&&s.from<u){let e=s;if(a>=e.from||u<=e.to||l){let t=Math.max(e.from,a)-l,n=Math.min(e.to,u)-l;e=t>=n?null:new D(t,n,e.tree,e.offset+l,o>0,!!c)}if(e&&i.push(e),s.to>u)break;s=r<t.length?t[r++]:null}if(!c)break;a=c.toA,l=c.toA-c.toB}return i}}class z{startParse(t,e,n){return"string"==typeof t&&(t=new j(t)),n=n?n.length?n.map((t=>new s(t.from,t.to))):[new s(0,0)]:[new s(0,t.length)],this.createParse(t,e||[],n)}parse(t,e,n){let i=this.startParse(t,e,n);for(;;){let t=i.advance();if(t)return t}}}class j{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,e){return this.string.slice(t,e)}}function Z(t){return(e,n,i,r)=>new I(e,t,n,i,r)}class V{constructor(t,e,n,i,r){this.parser=t,this.parse=e,this.overlay=n,this.target=i,this.from=r}}function X(t){if(!t.length||t.some((t=>t.from>=t.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class W{constructor(t,e,n,i,r,s,o){this.parser=t,this.predicate=e,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}const q=new o({perNode:!0});class I{constructor(t,e,n,i,r){this.nest=e,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let t=this.baseParse.advance();if(!t)return null;if(this.baseParse=null,this.baseTree=t,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let t=this.baseTree;return null!=this.stoppedAt&&(t=new f(t.type,t.children,t.positions,t.length,t.propValues.concat([[q,this.stoppedAt]]))),t}let t=this.inner[this.innerDone],e=t.parse.advance();if(e){this.innerDone++;let n=Object.assign(Object.create(null),t.target.props);n[o.mounted.id]=new a(e,t.overlay,t.parser),t.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let e=this.innerDone;e<this.inner.length;e++)this.inner[e].from<t&&(t=Math.min(t,this.inner[e].parse.parsedPos));return t}stopAt(t){if(this.stoppedAt=t,this.baseParse)this.baseParse.stopAt(t);else for(let e=this.innerDone;e<this.inner.length;e++)this.inner[e].parse.stopAt(t)}startInner(){let t=new Y(this.fragments),e=null,n=null,i=new T(new b(this.baseTree,this.ranges[0].from,0,null),d.IncludeAnonymous|d.IgnoreMounts);t:for(let r,o;;){let a,l=!0;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)l=!1;else if(t.hasNode(i)){if(e){let t=e.mounts.find((t=>t.frag.from<=i.from&&t.frag.to>=i.to&&t.mount.overlay));if(t)for(let n of t.mount.overlay){let r=n.from+t.pos,s=n.to+t.pos;r>=i.from&&s<=i.to&&!e.ranges.some((t=>t.from<s&&t.to>r))&&e.ranges.push({from:r,to:s})}}l=!1}else if(n&&(o=N(n.ranges,i.from,i.to)))l=2!=o;else if(!i.type.isAnonymous&&(r=this.nest(i,this.input))&&(i.from<i.to||!r.overlay)){i.tree||B(i);let o=t.findMounts(i.from,r.parser);if("function"==typeof r.overlay)e=new W(r.parser,r.overlay,o,this.inner.length,i.from,i.tree,e);else{let t=F(this.ranges,r.overlay||(i.from<i.to?[new s(i.from,i.to)]:[]));t.length&&X(t),!t.length&&r.overlay||this.inner.push(new V(r.parser,t.length?r.parser.startParse(this.input,H(o,t),t):r.parser.startParse(""),r.overlay?r.overlay.map((t=>new s(t.from-i.from,t.to-i.from))):null,i.tree,t.length?t[0].from:i.from)),r.overlay?t.length&&(n={ranges:t,depth:0,prev:n}):l=!1}}else if(e&&(a=e.predicate(i))&&(!0===a&&(a=new s(i.from,i.to)),a.from<a.to)){let t=e.ranges.length-1;t>=0&&e.ranges[t].to==a.from?e.ranges[t]={from:e.ranges[t].from,to:a.to}:e.ranges.push(a)}if(l&&i.firstChild())e&&e.depth++,n&&n.depth++;else for(;;){if(i.nextSibling())break;if(!i.parent())break t;if(e&&!--e.depth){let t=F(this.ranges,e.ranges);t.length&&(X(t),this.inner.splice(e.index,0,new V(e.parser,e.parser.startParse(this.input,H(e.mounts,t),t),e.ranges.map((t=>new s(t.from-e.start,t.to-e.start))),e.target,t[0].from))),e=e.prev}n&&!--n.depth&&(n=n.prev)}}}}function N(t,e,n){for(let i of t){if(i.from>=n)break;if(i.to>e)return i.from<=e&&i.to>=n?2:1}return 0}function L(t,e,n,i,r,s){if(e<n){let o=t.buffer[e+1];i.push(t.slice(e,n,o)),r.push(o-s)}}function B(t){let{node:e}=t,n=[],i=e.context.buffer;do{n.push(t.index),t.parent()}while(!t.tree);let r=t.tree,s=r.children.indexOf(i),o=r.children[s],a=o.buffer,l=[s];function u(t,i,r,s,c,h){let p=n[h],d=[],O=[];L(o,t,p,d,O,s);let m=a[p+1],g=a[p+2];l.push(d.length);let v=h?u(p+4,a[p+3],o.set.types[a[p]],m,g-m,h-1):e.toTree();return d.push(v),O.push(m-s),L(o,a[p+3],i,d,O,s),new f(r,d,O,c)}r.children[s]=u(0,a.length,c.none,0,o.length,n.length-1);for(let c of l){let e=t.tree.children[c],n=t.tree.positions[c];t.yield(new b(e,n+t.from,c,t._tree))}}class U{constructor(t,e){this.offset=e,this.done=!1,this.cursor=t.cursor(d.IncludeAnonymous|d.IgnoreMounts)}moveTo(t){let{cursor:e}=this,n=t-this.offset;while(!this.done&&e.from<n)e.to>=t&&e.enter(n,1,d.IgnoreOverlays|d.ExcludeBuffers)||e.next(!1)||(this.done=!0)}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let e=this.cursor.tree;;){if(e==t.tree)return!0;if(!(e.children.length&&0==e.positions[0]&&e.children[0]instanceof f))break;e=e.children[0]}return!1}}class Y{constructor(t){var e;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let n=this.curFrag=t[0];this.curTo=null!==(e=n.tree.prop(q))&&void 0!==e?e:n.to,this.inner=new U(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(t){while(this.curFrag&&t.from>=this.curTo)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(t=e.tree.prop(q))&&void 0!==t?t:e.to,this.inner=new U(e.tree,-e.offset)}}findMounts(t,e){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let t=this.inner.cursor.node;t;t=t.parent){let r=null===(n=t.tree)||void 0===n?void 0:n.prop(o.mounted);if(r&&r.parser==e)for(let e=this.fragI;e<this.fragments.length;e++){let n=this.fragments[e];if(n.from>=t.to)break;n.tree==this.curFrag.tree&&i.push({frag:n,pos:t.from-n.offset,mount:r})}}}return i}}function F(t,e){let n=null,i=e;for(let r=1,o=0;r<t.length;r++){let a=t[r-1].to,l=t[r].from;for(;o<i.length;o++){let t=i[o];if(t.from>=l)break;t.to<=a||(n||(i=n=e.slice()),t.from<a?(n[o]=new s(t.from,a),t.to>l&&n.splice(o+1,0,new s(l,t.to))):t.to>l?n[o--]=new s(l,t.to):n.splice(o--,1))}}return i}function G(t,e,n,i){let r=0,o=0,a=!1,l=!1,c=-1e9,u=[];for(;;){let h=r==t.length?1e9:a?t[r].to:t[r].from,p=o==e.length?1e9:l?e[o].to:e[o].from;if(a!=l){let t=Math.max(c,n),e=Math.min(h,p,i);t<e&&u.push(new s(t,e))}if(c=Math.min(h,p),1e9==c)break;h==c&&(a?(a=!1,r++):a=!0),p==c&&(l?(l=!1,o++):l=!0)}return u}function H(t,e){let n=[];for(let{pos:i,mount:r,frag:o}of t){let t=i+(r.overlay?r.overlay[0].from:0),a=t+r.tree.length,l=Math.max(o.from,t),c=Math.min(o.to,a);if(r.overlay){let a=r.overlay.map((t=>new s(t.from+i,t.to+i))),u=G(e,a,l,c);for(let e=0,i=l;;e++){let s=e==u.length,a=s?c:u[e].from;if(a>i&&n.push(new D(i,a,r.tree,-t,o.from>=i||o.openStart,o.to<=a||o.openEnd)),s)break;i=u[e].to}}else n.push(new D(l,c,r.tree,-t,o.from>=t||o.openStart,o.to<=a||o.openEnd))}return n}},35524:(t,e,n)=>{"use strict";n.d(e,{Gv:()=>u,QR:()=>d,bW:()=>O,pJ:()=>R});var i=n(41113);let r=0;class s{constructor(t,e,n,i){this.name=t,this.set=e,this.base=n,this.modified=i,this.id=r++}toString(){let{name:t}=this;for(let e of this.modified)e.name&&(t=`${e.name}(${t})`);return t}static define(t,e){let n="string"==typeof t?t:"?";if(t instanceof s&&(e=t),null===e||void 0===e?void 0:e.base)throw new Error("Can not derive from a modified tag");let i=new s(n,[],null,[]);if(i.set.push(i),e)for(let r of e.set)i.set.push(r);return i}static defineModifier(t){let e=new a(t);return t=>t.modified.indexOf(e)>-1?t:a.get(t.base||t,t.modified.concat(e).sort(((t,e)=>t.id-e.id)))}}let o=0;class a{constructor(t){this.name=t,this.instances=[],this.id=o++}static get(t,e){if(!e.length)return t;let n=e[0].instances.find((n=>n.base==t&&l(e,n.modified)));if(n)return n;let i=[],r=new s(t.name,i,t,e);for(let s of e)s.instances.push(r);let o=c(e);for(let s of t.set)if(!s.modified.length)for(let t of o)i.push(a.get(s,t));return r}}function l(t,e){return t.length==e.length&&t.every(((t,n)=>t==e[n]))}function c(t){let e=[[]];for(let n=0;n<t.length;n++)for(let i=0,r=e.length;i<r;i++)e.push(e[i].concat(t[n]));return e.sort(((t,e)=>e.length-t.length))}function u(t){let e=Object.create(null);for(let n in t){let i=t[n];Array.isArray(i)||(i=[i]);for(let t of n.split(" "))if(t){let n=[],r=2,s=t;for(let e=0;;){if("..."==s&&e>0&&e+3==t.length){r=1;break}let i=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!i)throw new RangeError("Invalid path: "+t);if(n.push("*"==i[0]?"":'"'==i[0][0]?JSON.parse(i[0]):i[0]),e+=i[0].length,e==t.length)break;let o=t[e++];if(e==t.length&&"!"==o){r=0;break}if("/"!=o)throw new RangeError("Invalid path: "+t);s=t.slice(e)}let o=n.length-1,a=n[o];if(!a)throw new RangeError("Invalid path: "+t);let l=new p(i,r,o>0?n.slice(0,o):null);e[a]=l.sort(e[a])}}return h.add(e)}const h=new i.md;class p{constructor(t,e,n,i){this.tags=t,this.mode=e,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}function d(t,e){let n=Object.create(null);for(let s of t)if(Array.isArray(s.tag))for(let t of s.tag)n[t.id]=s.class;else n[s.tag.id]=s.class;let{scope:i,all:r=null}=e||{};return{style:t=>{let e=r;for(let i of t)for(let t of i.set){let i=n[t.id];if(i){e=e?e+" "+i:i;break}}return e},scope:i}}function f(t,e){let n=null;for(let i of t){let t=i.style(e);t&&(n=n?n+" "+t:t)}return n}function O(t,e,n,i=0,r=t.length){let s=new m(i,Array.isArray(e)?e:[e],n);s.highlightRange(t.cursor(),i,r,"",s.highlighters),s.flush(r)}p.empty=new p([],2,null);class m{constructor(t,e,n){this.at=t,this.highlighters=e,this.span=n,this.class=""}startSpan(t,e){e!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=e)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,e,n,r,s){let{type:o,from:a,to:l}=t;if(a>=n||l<=e)return;o.isTop&&(s=this.highlighters.filter((t=>!t.scope||t.scope(o))));let c=r,u=g(t)||p.empty,h=f(s,u.tags);if(h&&(c&&(c+=" "),c+=h,1==u.mode&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(e,a),c),u.opaque)return;let d=t.tree&&t.tree.prop(i.md.mounted);if(d&&d.overlay){let i=t.node.enter(d.overlay[0].from+a,1),o=this.highlighters.filter((t=>!t.scope||t.scope(d.tree.type))),u=t.firstChild();for(let h=0,p=a;;h++){let f=h<d.overlay.length?d.overlay[h]:null,O=f?f.from+a:l,m=Math.max(e,p),g=Math.min(n,O);if(m<g&&u)while(t.from<g)if(this.highlightRange(t,m,g,r,s),this.startSpan(Math.min(g,t.to),c),t.to>=O||!t.nextSibling())break;if(!f||O>n)break;p=f.to+a,p>e&&(this.highlightRange(i.cursor(),Math.max(e,f.from+a),Math.min(n,p),"",o),this.startSpan(Math.min(n,p),c))}u&&t.parent()}else if(t.firstChild()){d&&(r="");do{if(!(t.to<=e)){if(t.from>=n)break;this.highlightRange(t,e,n,r,s),this.startSpan(Math.min(n,t.to),c)}}while(t.nextSibling());t.parent()}}}function g(t){let e=t.type.prop(h);while(e&&e.context&&!t.matchContext(e.context))e=e.next;return e||null}const v=s.define,y=v(),b=v(),_=v(b),x=v(b),w=v(),$=v(w),S=v(w),k=v(),Q=v(k),T=v(),P=v(),C=v(),A=v(C),E=v(),R={comment:y,lineComment:v(y),blockComment:v(y),docComment:v(y),name:b,variableName:v(b),typeName:_,tagName:v(_),propertyName:x,attributeName:v(x),className:v(b),labelName:v(b),namespace:v(b),macroName:v(b),literal:w,string:$,docString:v($),character:v($),attributeValue:v($),number:S,integer:v(S),float:v(S),bool:v(w),regexp:v(w),escape:v(w),color:v(w),url:v(w),keyword:T,self:v(T),null:v(T),atom:v(T),unit:v(T),modifier:v(T),operatorKeyword:v(T),controlKeyword:v(T),definitionKeyword:v(T),moduleKeyword:v(T),operator:P,derefOperator:v(P),arithmeticOperator:v(P),logicOperator:v(P),bitwiseOperator:v(P),compareOperator:v(P),updateOperator:v(P),definitionOperator:v(P),typeOperator:v(P),controlOperator:v(P),punctuation:C,separator:v(C),bracket:A,angleBracket:v(A),squareBracket:v(A),paren:v(A),brace:v(A),content:k,heading:Q,heading1:v(Q),heading2:v(Q),heading3:v(Q),heading4:v(Q),heading5:v(Q),heading6:v(Q),contentSeparator:v(k),list:v(k),quote:v(k),emphasis:v(k),strong:v(k),link:v(k),monospace:v(k),strikethrough:v(k),inserted:v(),deleted:v(),changed:v(),invalid:v(),meta:E,documentMeta:v(E),annotation:v(E),processingInstruction:v(E),definition:s.defineModifier("definition"),constant:s.defineModifier("constant"),function:s.defineModifier("function"),standard:s.defineModifier("standard"),local:s.defineModifier("local"),special:s.defineModifier("special")};for(let M in R){let t=R[M];t instanceof s&&(t.name=M)}d([{tag:R.link,class:"tok-link"},{tag:R.heading,class:"tok-heading"},{tag:R.emphasis,class:"tok-emphasis"},{tag:R.strong,class:"tok-strong"},{tag:R.keyword,class:"tok-keyword"},{tag:R.atom,class:"tok-atom"},{tag:R.bool,class:"tok-bool"},{tag:R.url,class:"tok-url"},{tag:R.labelName,class:"tok-labelName"},{tag:R.inserted,class:"tok-inserted"},{tag:R.deleted,class:"tok-deleted"},{tag:R.literal,class:"tok-literal"},{tag:R.string,class:"tok-string"},{tag:R.number,class:"tok-number"},{tag:[R.regexp,R.escape,R.special(R.string)],class:"tok-string2"},{tag:R.variableName,class:"tok-variableName"},{tag:R.local(R.variableName),class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok-variableName tok-definition"},{tag:R.special(R.variableName),class:"tok-variableName2"},{tag:R.definition(R.propertyName),class:"tok-propertyName tok-definition"},{tag:R.typeName,class:"tok-typeName"},{tag:R.namespace,class:"tok-namespace"},{tag:R.className,class:"tok-className"},{tag:R.macroName,class:"tok-macroName"},{tag:R.propertyName,class:"tok-propertyName"},{tag:R.operator,class:"tok-operator"},{tag:R.comment,class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}])},68792:(t,e,n)=>{"use strict";n.d(e,{E:()=>ht,X:()=>Ot});var i=n(53105),r=n(35524),s=n(41113);const o=54,a=1,l=55,c=2,u=56,h=3,p=4,d=5,f=6,O=7,m=8,g=9,v=10,y=11,b=12,_=13,x=57,w=14,$=58,S=20,k=22,Q=23,T=24,P=26,C=27,A=28,E=31,R=34,M=36,D=37,z=0,j=1,Z={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},V={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},X={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function W(t){return 45==t||46==t||58==t||t>=65&&t<=90||95==t||t>=97&&t<=122||t>=161}function q(t){return 9==t||10==t||13==t||32==t}let I=null,N=null,L=0;function B(t,e){let n=t.pos+e;if(L==n&&N==t)return I;let i=t.peek(e);while(q(i))i=t.peek(++e);let r="";for(;;){if(!W(i))break;r+=String.fromCharCode(i),i=t.peek(++e)}return N=t,L=n,I=r?r.toLowerCase():i==G||i==H?void 0:null}const U=60,Y=62,F=47,G=63,H=33,K=45;function J(t,e){this.name=t,this.parent=e}const tt=[f,v,O,m,g],et=new i.IK({start:null,shift(t,e,n,i){return tt.indexOf(e)>-1?new J(B(i,1)||"",t):t},reduce(t,e){return e==S&&t?t.parent:t},reuse(t,e,n,i){let r=e.type.id;return r==f||r==M?new J(B(i,1)||"",t):t},strict:!1}),nt=new i.Jq(((t,e)=>{if(t.next!=U)return void(t.next<0&&e.context&&t.acceptToken(x));t.advance();let n=t.next==F;n&&t.advance();let i=B(t,0);if(void 0===i)return;if(!i)return t.acceptToken(n?w:f);let r=e.context?e.context.name:null;if(n){if(i==r)return t.acceptToken(y);if(r&&V[r])return t.acceptToken(x,-2);if(e.dialectEnabled(z))return t.acceptToken(b);for(let t=e.context;t;t=t.parent)if(t.name==i)return;t.acceptToken(_)}else{if("script"==i)return t.acceptToken(O);if("style"==i)return t.acceptToken(m);if("textarea"==i)return t.acceptToken(g);if(Z.hasOwnProperty(i))return t.acceptToken(v);r&&X[r]&&X[r][i]?t.acceptToken(x,-1):t.acceptToken(f)}}),{contextual:!0}),it=new i.Jq((t=>{for(let e=0,n=0;;n++){if(t.next<0){n&&t.acceptToken($);break}if(t.next==K)e++;else{if(t.next==Y&&e>=2){n>=3&&t.acceptToken($,-2);break}e=0}t.advance()}}));function rt(t){for(;t;t=t.parent)if("svg"==t.name||"math"==t.name)return!0;return!1}const st=new i.Jq(((t,e)=>{if(t.next==F&&t.peek(1)==Y){let n=e.dialectEnabled(j)||rt(e.context);t.acceptToken(n?d:p,2)}else t.next==Y&&t.acceptToken(p,1)}));function ot(t,e,n){let r=2+t.length;return new i.Jq((i=>{for(let s=0,o=0,a=0;;a++){if(i.next<0){a&&i.acceptToken(e);break}if(0==s&&i.next==U||1==s&&i.next==F||s>=2&&s<r&&i.next==t.charCodeAt(s-2))s++,o++;else if(2!=s&&s!=r||!q(i.next)){if(s==r&&i.next==Y){a>o?i.acceptToken(e,-o):i.acceptToken(n,-(o-2));break}if((10==i.next||13==i.next)&&a){i.acceptToken(e,1);break}s=o=0}else o++;i.advance()}}))}const at=ot("script",o,a),lt=ot("style",l,c),ct=ot("textarea",u,h),ut=(0,r.Gv)({"Text RawText":r.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/TagName":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,"AttributeValue UnquotedAttributeValue":r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta}),ht=i.WQ.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#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OVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:et,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[ut],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=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Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[at,lt,ct,st,nt,it,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function pt(t,e){let n=Object.create(null);for(let i of t.getChildren(Q)){let t=i.getChild(T),r=i.getChild(P)||i.getChild(C);t&&(n[e.read(t.from,t.to)]=r?r.type.id==P?e.read(r.from+1,r.to-1):e.read(r.from,r.to):"")}return n}function dt(t,e){let n=t.getChild(k);return n?e.read(n.from,n.to):" "}function ft(t,e,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=pt(t.node.parent.firstChild,e))))return{parser:r.parser};return null}function Ot(t=[],e=[]){let n=[],i=[],r=[],o=[];for(let s of t){let t="script"==s.tag?n:"style"==s.tag?i:"textarea"==s.tag?r:o;t.push(s)}let a=e.length?Object.create(null):null;for(let s of e)(a[s.name]||(a[s.name]=[])).push(s);return(0,s.FE)(((t,e)=>{let s=t.type.id;if(s==A)return ft(t,e,n);if(s==E)return ft(t,e,i);if(s==R)return ft(t,e,r);if(s==S&&o.length){let n,i=t.node,r=i.firstChild,s=r&&dt(r,e);if(s)for(let t of o)if(t.tag==s&&(!t.attrs||t.attrs(n||(n=pt(r,e))))){let e=i.lastChild,n=e.type.id==D?e.from:i.to;if(n>r.to)return{parser:t.parser,overlay:[{from:r.to,to:n}]}}}if(a&&s==Q){let n,i=t.node;if(n=i.firstChild){let t=a[e.read(n.from,n.to)];if(t)for(let n of t){if(n.tagName&&n.tagName!=dt(i.parent,e))continue;let t=i.lastChild;if(t.type.id==P){let e=t.from+1,i=t.lastChild,r=t.to-(i&&i.isError?0:1);if(r>e)return{parser:n.parser,overlay:[{from:e,to:r}]}}else if(t.type.id==C)return{parser:n.parser,overlay:[{from:t.from,to:t.to}]}}}}return null}))}},53105:(t,e,n)=>{"use strict";n.d(e,{IK:()=>Q,Jq:()=>f,RA:()=>d,WQ:()=>T});var i=n(41113);class r{constructor(t,e,n,i,r,s,o,a,l,c=0,u){this.p=t,this.stack=e,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter(((t,e)=>e%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,n=0){let i=t.parser.context;return new r(t,[],e,n,n,0,[],0,i?new s(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var e;let n=t>>19,i=65535&t,{parser:r}=this.p,s=this.reducePos<this.pos-25;s&&this.setLookAhead(this.pos);let o=r.dynamicPrecedence(i);if(o&&(this.score+=o),0==n)return this.pushState(r.getGoto(this.state,i,!0),this.reducePos),i<r.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,s?8:4,!0),void this.reduceContext(i,this.reducePos);let a=this.stack.length-3*(n-1)-(262144&t?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(null===(e=this.p.parser.nodeSet.types[i])||void 0===e?void 0:e.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=a?this.stack[a-1]:0,h=this.bufferBase+this.buffer.length-u;if(i<r.minRepeatTerm||131072&t){let t=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,t,h+4,!0)}if(262144&t)this.state=this.stack[a];else{let t=this.stack[a-3];this.state=r.getGoto(t,i,!0)}while(this.stack.length>a)this.stack.pop();this.reduceContext(i,l)}storeNode(t,e,n,i=4,r=!1){if(0==t&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let t=this,i=this.buffer.length;if(0==i&&t.parent&&(i=t.bufferBase-t.parent.bufferBase,t=t.parent),i>0&&0==t.buffer[i-4]&&t.buffer[i-1]>-1){if(e==n)return;if(t.buffer[i-2]>=e)return void(t.buffer[i-2]=n)}}if(r&&this.pos!=n){let r=this.buffer.length;if(r>0&&0!=this.buffer[r-4]){let t=!1;for(let e=r;e>0&&this.buffer[e-2]>n;e-=4)if(this.buffer[e-1]>=0){t=!0;break}if(t)while(r>0&&this.buffer[r-2]>n)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,i>4&&(i-=4)}this.buffer[r]=t,this.buffer[r+1]=e,this.buffer[r+2]=n,this.buffer[r+3]=i}else this.buffer.push(t,e,n,i)}shift(t,e,n,i){if(131072&t)this.pushState(65535&t,this.pos);else if(0==(262144&t)){let r=t,{parser:s}=this.p;(i>this.pos||e<=s.maxNode)&&(this.pos=i,s.stateFlag(r,1)||(this.reducePos=i)),this.pushState(r,n),this.shiftContext(e,n),e<=s.maxNode&&this.buffer.push(e,n,i,4)}else this.pos=i,this.shiftContext(e,n),e<=this.p.parser.maxNode&&this.buffer.push(e,n,i,4)}apply(t,e,n,i){65536&t?this.reduce(t):this.shift(t,e,n,i)}useNode(t,e){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=t)&&(this.p.reused.push(t),n++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(e,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,e=t.buffer.length;while(e>0&&t.buffer[e-2]>t.reducePos)e-=4;let n=t.buffer.slice(e),i=t.bufferBase+e;while(t&&i==t.bufferBase)t=t.parent;return new r(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let n=t<=this.p.parser.maxNode;n&&this.storeNode(t,this.pos,e,4),this.storeNode(0,this.pos,e,n?8:4),this.pos=this.reducePos=e,this.score-=190}canShift(t){for(let e=new o(this);;){let n=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(0==n)return!1;if(0==(65536&n))return!0;e.reduce(n)}}recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.parser.nextStates(this.state);if(e.length>8||this.stack.length>=120){let n=[];for(let i,r=0;r<e.length;r+=2)(i=e[r+1])!=this.state&&this.p.parser.hasAction(i,t)&&n.push(e[r],i);if(this.stack.length<120)for(let t=0;n.length<8&&t<e.length;t+=2){let i=e[t+1];n.some(((t,e)=>1&e&&t==i))||n.push(e[t],i)}e=n}let n=[];for(let i=0;i<e.length&&n.length<4;i+=2){let t=e[i+1];if(t==this.state)continue;let r=this.split();r.pushState(t,this.pos),r.storeNode(0,r.pos,r.pos,4,!0),r.shiftContext(e[i],this.pos),r.reducePos=this.pos,r.score-=200,n.push(r)}return n}forceReduce(){let{parser:t}=this.p,e=t.stateSlot(this.state,5);if(0==(65536&e))return!1;if(!t.validAction(this.state,e)){let n=e>>19,i=65535&e,r=this.stack.length-3*n;if(r<0||t.getGoto(this.stack[r],i,!1)<0){let t=this.findForcedReduction();if(null==t)return!1;e=t}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}findForcedReduction(){let{parser:t}=this.p,e=[],n=(i,r)=>{if(!e.includes(i))return e.push(i),t.allActions(i,(e=>{if(393216&e);else if(65536&e){let n=(e>>19)-r;if(n>1){let i=65535&e,r=this.stack.length-3*n;if(r>=0&&t.getGoto(this.stack[r],i,!1)>=0)return n<<19|65536|i}}else{let t=n(e,r+1);if(null!=t)return t}}))};return n(this.state,0)}forceAll(){while(!this.p.parser.stateFlag(this.state,2))if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:t}=this.p;return 65535==t.data[t.stateSlot(this.state,1)]&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let e=0;e<this.stack.length;e+=3)if(this.stack[e]!=t.stack[e])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,e){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(e)))}reduceContext(t,e){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(e)))}emitContext(){let t=this.buffer.length-1;(t<0||-3!=this.buffer[t])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||-4!=this.buffer[t])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let e=new s(this.curContext.tracker,t);e.hash!=this.curContext.hash&&this.emitContext(),this.curContext=e}}setLookAhead(t){t>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class s{constructor(t,e){this.tracker=t,this.context=e,this.hash=t.strict?t.hash(e):0}}class o{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let e=65535&t,n=t>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let i=this.start.p.parser.getGoto(this.stack[this.base-3],e,!0);this.state=i}}class a{constructor(t,e,n){this.stack=t,this.pos=e,this.index=n,this.buffer=t.buffer,0==this.index&&this.maybeNext()}static create(t,e=t.bufferBase+t.buffer.length){return new a(t,e,e-t.bufferBase)}maybeNext(){let t=this.stack.parent;null!=t&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function l(t,e=Uint16Array){if("string"!=typeof t)return t;let n=null;for(let i=0,r=0;i<t.length;){let s=0;for(;;){let e=t.charCodeAt(i++),n=!1;if(126==e){s=65535;break}e>=92&&e--,e>=34&&e--;let r=e-32;if(r>=46&&(r-=46,n=!0),s+=r,n)break;s*=46}n?n[r++]=s:n=new e(s)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const u=new c;class h{constructor(t,e){this.input=t,this.ranges=e,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=u,this.rangeIndex=0,this.pos=this.chunkPos=e[0].from,this.range=e[0],this.end=e[e.length-1].to,this.readNext()}resolveOffset(t,e){let n=this.range,i=this.rangeIndex,r=this.pos+t;while(r<n.from){if(!i)return null;let t=this.ranges[--i];r-=n.from-t.to,n=t}while(e<0?r>n.to:r>=n.to){if(i==this.ranges.length-1)return null;let t=this.ranges[++i];r+=t.from-n.to,n=t}return r}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let e of this.ranges)if(e.to>t)return Math.max(t,e.from);return this.end}peek(t){let e,n,i=this.chunkOff+t;if(i>=0&&i<this.chunk.length)e=this.pos+t,n=this.chunk.charCodeAt(i);else{let i=this.resolveOffset(t,1);if(null==i)return-1;if(e=i,e>=this.chunk2Pos&&e<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(e-this.chunk2Pos);else{let t=this.rangeIndex,i=this.range;while(i.to<=e)i=this.ranges[++t];this.chunk2=this.input.chunk(this.chunk2Pos=e),e+this.chunk2.length>i.to&&(this.chunk2=this.chunk2.slice(0,i.to-e)),n=this.chunk2.charCodeAt(0)}}return e>=this.token.lookAhead&&(this.token.lookAhead=e+1),n}acceptToken(t,e=0){let n=e?this.resolveOffset(e,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=n}acceptTokenTo(t,e){this.token.value=t,this.token.end=e}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:e}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=e,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),e=this.pos+t.length;this.chunk=e>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){this.chunkOff+=t;while(this.pos+t>=this.range.to){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,e){if(e?(this.token=e,e.start=t,e.lookAhead=t+1,e.value=e.extended=-1):this.token=u,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;while(t<this.range.from)this.range=this.ranges[--this.rangeIndex];while(t>=this.range.to)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);let n="";for(let i of this.ranges){if(i.from>=e)break;i.to>t&&(n+=this.input.read(Math.max(i.from,t),Math.min(i.to,e)))}return n}}class p{constructor(t,e){this.data=t,this.id=e}token(t,e){let{parser:n}=e.p;O(this.data,t,e,this.id,n.data,n.tokenPrecTable)}}p.prototype.contextual=p.prototype.fallback=p.prototype.extend=!1;class d{constructor(t,e,n){this.precTable=e,this.elseToken=n,this.data="string"==typeof t?l(t):t}token(t,e){let n=t.pos,i=0;for(;;){let n=t.next<0,r=t.resolveOffset(1,1);if(O(this.data,t,e,0,this.data,this.precTable),t.token.value>-1)break;if(null==this.elseToken)return;if(n||i++,null==r)break;t.reset(r,t.token)}i&&(t.reset(n,t.token),t.acceptToken(this.elseToken,i))}}d.prototype.contextual=p.prototype.fallback=p.prototype.extend=!1;class f{constructor(t,e={}){this.token=t,this.contextual=!!e.contextual,this.fallback=!!e.fallback,this.extend=!!e.extend}}function O(t,e,n,i,r,s){let o=0,a=1<<i,{dialect:l}=n.p.parser;t:for(;;){if(0==(a&t[o]))break;let n=t[o+1];for(let h=o+3;h<n;h+=2)if((t[h+1]&a)>0){let n=t[h];if(l.allows(n)&&(-1==e.token.value||e.token.value==n||g(n,e.token.value,r,s))){e.acceptToken(n);break}}let i=e.next,c=0,u=t[o+2];if(!(e.next<0&&u>c&&65535==t[n+3*u-3])){for(;c<u;){let r=c+u>>1,s=n+r+(r<<1),a=t[s],l=t[s+1]||65536;if(i<a)u=r;else{if(!(i>=l)){o=t[s+2],e.advance();continue t}c=r+1}}break}o=t[n+3*u-1]}}function m(t,e,n){for(let i,r=e;65535!=(i=t[r]);r++)if(i==n)return r-e;return-1}function g(t,e,n,i){let r=m(n,i,e);return r<0||m(n,i,t)<r}const v="undefined"!=typeof process&&{NODE_ENV:"production",BASE_URL:"/"}&&/\bparse\b/.test({NODE_ENV:"production",BASE_URL:"/"}.LOG);let y=null;function b(t,e,n){let r=t.cursor(i.vj.IncludeAnonymous);for(r.moveTo(e);;)if(!(n<0?r.childBefore(e):r.childAfter(e)))for(;;){if((n<0?r.to<e:r.from>e)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:t.length}}class _{constructor(t,e){this.fragments=t,this.nodeSet=e,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){this.safeFrom=t.openStart?b(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?b(t.tree,t.to+t.offset,-1)-t.offset:t.to;while(this.trees.length)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;while(this.fragment&&this.safeTo<=t)this.nextFragment();if(!this.fragment)return null;for(;;){let e=this.trees.length-1;if(e<0)return this.nextFragment(),null;let n=this.trees[e],r=this.index[e];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=n.children[r],o=this.start[e]+n.positions[r];if(o>t)return this.nextStart=o,null;if(s instanceof i.mp){if(o==t){if(o<this.safeFrom)return null;let t=o+s.length;if(t<=this.safeTo){let e=s.prop(i.md.lookAhead);if(!e||t+e<this.fragment.to)return s}}this.index[e]++,o+s.length>=Math.max(this.safeFrom,t)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[e]++,this.nextStart=o+s.length}}}class x{constructor(t,e){this.stream=e,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map((t=>new c))}getActions(t){let e=0,n=null,{parser:i}=t.p,{tokenizers:r}=i,s=i.stateSlot(t.state,3),o=t.curContext?t.curContext.hash:0,a=0;for(let l=0;l<r.length;l++){if(0==(1<<l&s))continue;let i=r[l],c=this.tokens[l];if((!n||i.fallback)&&((i.contextual||c.start!=t.pos||c.mask!=s||c.context!=o)&&(this.updateCachedToken(c,i,t),c.mask=s,c.context=o),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let r=e;if(c.extended>-1&&(e=this.addActions(t,c.extended,c.end,e)),e=this.addActions(t,c.value,c.end,e),!i.extend&&(n=c,e>r))break}}while(this.actions.length>e)this.actions.pop();return a&&t.setLookAhead(a),n||t.pos!=this.stream.end||(n=new c,n.value=t.p.parser.eofTerm,n.start=n.end=t.pos,e=this.addActions(t,n.value,n.end,e)),this.mainToken=n,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let e=new c,{pos:n,p:i}=t;return e.start=n,e.end=Math.min(n+1,i.stream.end),e.value=n==i.stream.end?i.parser.eofTerm:0,e}updateCachedToken(t,e,n){let i=this.stream.clipPos(n.pos);if(e.token(this.stream.reset(i,t),n),t.value>-1){let{parser:e}=n.p;for(let i=0;i<e.specialized.length;i++)if(e.specialized[i]==t.value){let r=e.specializers[i](this.stream.read(t.start,t.end),n);if(r>=0&&n.p.parser.dialect.allows(r>>1)){0==(1&r)?t.value=r>>1:t.extended=r>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,e,n,i){for(let r=0;r<i;r+=3)if(this.actions[r]==t)return i;return this.actions[i++]=t,this.actions[i++]=e,this.actions[i++]=n,i}addActions(t,e,n,i){let{state:r}=t,{parser:s}=t.p,{data:o}=s;for(let a=0;a<2;a++)for(let t=s.stateSlot(r,a?2:1);;t+=3){if(65535==o[t]){if(1!=o[t+1]){0==i&&2==o[t+1]&&(i=this.putAction(P(o,t+2),e,n,i));break}t=P(o,t+2)}o[t]==e&&(i=this.putAction(P(o,t+1),e,n,i))}return i}}class w{constructor(t,e,n,i){this.parser=t,this.input=e,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new h(e,i),this.tokens=new x(t,this.stream),this.topTerm=t.top[1];let{from:s}=i[0];this.stacks=[r.start(this,t.top[0],s)],this.fragments=n.length&&this.stream.end-s>4*t.bufferLength?new _(n,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t,e,n=this.stacks,i=this.minStackPos,r=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[t]=n;while(t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<n.length;s++){let o=n[s];for(;;){if(this.tokens.mainToken=null,o.pos>i)r.push(o);else{if(this.advanceStack(o,r,n))continue;{t||(t=[],e=[]),t.push(o);let n=this.tokens.getMainToken(o);e.push(n.value,n.end)}}break}}if(!r.length){let e=t&&C(t);if(e)return v&&console.log("Finish with "+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw v&&t&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&t){let n=null!=this.stoppedAt&&t[0].pos>this.stoppedAt?t[0]:this.runRecovery(t,e,r);if(n)return v&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let t=1==this.recovering?1:3*this.recovering;if(r.length>t){r.sort(((t,e)=>e.score-t.score));while(r.length>t)r.pop()}r.some((t=>t.reducePos>i))&&this.recovering--}else if(r.length>1){t:for(let t=0;t<r.length-1;t++){let e=r[t];for(let n=t+1;n<r.length;n++){let i=r[n];if(e.sameState(i)||e.buffer.length>500&&i.buffer.length>500){if(!((e.score-i.score||e.buffer.length-i.buffer.length)>0)){r.splice(t--,1);continue t}r.splice(n--,1)}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let s=1;s<r.length;s++)r[s].pos<this.minStackPos&&(this.minStackPos=r[s].pos);return null}stopAt(t){if(null!=this.stoppedAt&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,e,n){let r=t.pos,{parser:s}=this,o=v?this.stackID(t)+" -> ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let e=t.curContext&&t.curContext.tracker.strict,n=e?t.curContext.hash:0;for(let a=this.fragments.nodeAt(r);a;){let r=this.parser.nodeSet.types[a.type.id]==a.type?s.getGoto(t.state,a.type.id):-1;if(r>-1&&a.length&&(!e||(a.prop(i.md.contextHash)||0)==n))return t.useNode(a,r),v&&console.log(o+this.stackID(t)+` (via reuse of ${s.getName(a.type.id)})`),!0;if(!(a instanceof i.mp)||0==a.children.length||a.positions[0]>0)break;let l=a.children[0];if(!(l instanceof i.mp&&0==a.positions[0]))break;a=l}}let a=s.stateSlot(t.state,4);if(a>0)return t.reduce(a),v&&console.log(o+this.stackID(t)+` (via always-reduce ${s.getName(65535&a)})`),!0;if(t.stack.length>=8400)while(t.stack.length>6e3&&t.forceReduce());let l=this.tokens.getActions(t);for(let i=0;i<l.length;){let a=l[i++],c=l[i++],u=l[i++],h=i==l.length||!n,p=h?t:t.split(),d=this.tokens.mainToken;if(p.apply(a,c,d?d.start:p.pos,u),v&&console.log(o+this.stackID(p)+` (via ${0==(65536&a)?"shift":`reduce of ${s.getName(65535&a)}`} for ${s.getName(c)} @ ${r}${p==t?"":", split"})`),h)return!0;p.pos>r?e.push(p):n.push(p)}return!1}advanceFully(t,e){let n=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>n)return $(t,e),!0}}runRecovery(t,e,n){let i=null,r=!1;for(let s=0;s<t.length;s++){let o=t[s],a=e[s<<1],l=e[1+(s<<1)],c=v?this.stackID(o)+" -> ":"";if(o.deadEnd){if(r)continue;r=!0,o.restart(),v&&console.log(c+this.stackID(o)+" (restarted)");let t=this.advanceFully(o,n);if(t)continue}let u=o.split(),h=c;for(let t=0;u.forceReduce()&&t<10;t++){v&&console.log(h+this.stackID(u)+" (via force-reduce)");let t=this.advanceFully(u,n);if(t)break;v&&(h=this.stackID(u)+" -> ")}for(let t of o.recoverByInsert(a))v&&console.log(c+this.stackID(t)+" (via recover-insert)"),this.advanceFully(t,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),v&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),$(o,n)):(!i||i.score<o.score)&&(i=o)}return i}stackToTree(t){return t.close(),i.mp.build({buffer:a.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let e=(y||(y=new WeakMap)).get(t);return e||y.set(t,e=String.fromCodePoint(this.nextStackID++)),e+t}}function $(t,e){for(let n=0;n<e.length;n++){let i=e[n];if(i.pos==t.pos&&i.sameState(t))return void(e[n].score<t.score&&(e[n]=t))}e.push(t)}class S{constructor(t,e,n){this.source=t,this.flags=e,this.disabled=n}allows(t){return!this.disabled||0==this.disabled[t]}}const k=t=>t;class Q{constructor(t){this.start=t.start,this.shift=t.shift||k,this.reduce=t.reduce||k,this.reuse=t.reuse||k,this.hash=t.hash||(()=>0),this.strict=!1!==t.strict}}class T extends(974!=n.j?i._b:null){constructor(t){if(super(),this.wrappers=[],14!=t.version)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let i=0;i<t.repeatNodeCount;i++)e.push("");let n=Object.keys(t.topRules).map((e=>t.topRules[e][1])),r=[];for(let i=0;i<e.length;i++)r.push([]);function s(t,e,n){r[t].push([e,e.deserialize(String(n))])}if(t.nodeProps)for(let a of t.nodeProps){let t=a[0];"string"==typeof t&&(t=i.md[t]);for(let e=1;e<a.length;){let n=a[e++];if(n>=0)s(n,t,a[e++]);else{let i=a[e+-n];for(let r=-n;r>0;r--)s(a[e++],t,i);e++}}}this.nodeSet=new i.Lj(e.map(((e,s)=>i.Jq.define({name:s>=this.minRepeatTerm?void 0:e,id:s,props:r[s],top:n.indexOf(s)>-1,error:0==s,skipped:t.skippedNodes&&t.skippedNodes.indexOf(s)>-1})))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=i.L3;let o=l(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let i=0;i<this.specializerSpecs.length;i++)this.specialized[i]=this.specializerSpecs[i].term;this.specializers=this.specializerSpecs.map(A),this.states=l(t.states,Uint32Array),this.data=l(t.stateData),this.goto=l(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map((t=>"number"==typeof t?new p(o,t):t)),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,e,n){let i=new w(this,t,e,n);for(let r of this.wrappers)i=r(i,t,e,n);return i}getGoto(t,e,n=!1){let i=this.goto;if(e>=i[0])return-1;for(let r=i[e+1];;){let e=i[r++],s=1&e,o=i[r++];if(s&&n)return o;for(let n=r+(e>>1);r<n;r++)if(i[r]==t)return o;if(s)return-1}}hasAction(t,e){let n=this.data;for(let i=0;i<2;i++)for(let r,s=this.stateSlot(t,i?2:1);;s+=3){if(65535==(r=n[s])){if(1!=n[s+1]){if(2==n[s+1])return P(n,s+2);break}r=n[s=P(n,s+2)]}if(r==e||0==r)return P(n,s+1)}return 0}stateSlot(t,e){return this.states[6*t+e]}stateFlag(t,e){return(this.stateSlot(t,0)&e)>0}validAction(t,e){return!!this.allActions(t,(t=>t==e||null))}allActions(t,e){let n=this.stateSlot(t,4),i=n?e(n):void 0;for(let r=this.stateSlot(t,1);null==i;r+=3){if(65535==this.data[r]){if(1!=this.data[r+1])break;r=P(this.data,r+2)}i=e(P(this.data,r+1))}return i}nextStates(t){let e=[];for(let n=this.stateSlot(t,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=P(this.data,n+2)}if(0==(1&this.data[n+2])){let t=this.data[n+1];e.some(((e,n)=>1&n&&e==t))||e.push(this.data[n],t)}}return e}configure(t){let e=Object.assign(Object.create(T.prototype),this);if(t.props&&(e.nodeSet=this.nodeSet.extend(...t.props)),t.top){let n=this.topRules[t.top];if(!n)throw new RangeError(`Invalid top rule name ${t.top}`);e.top=n}return t.tokenizers&&(e.tokenizers=this.tokenizers.map((e=>{let n=t.tokenizers.find((t=>t.from==e));return n?n.to:e}))),t.specializers&&(e.specializers=this.specializers.slice(),e.specializerSpecs=this.specializerSpecs.map(((n,i)=>{let r=t.specializers.find((t=>t.from==n.external));if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return e.specializers[i]=A(s),s}))),t.contextTracker&&(e.context=t.contextTracker),t.dialect&&(e.dialect=this.parseDialect(t.dialect)),null!=t.strict&&(e.strict=t.strict),t.wrap&&(e.wrappers=e.wrappers.concat(t.wrap)),null!=t.bufferLength&&(e.bufferLength=t.bufferLength),e}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let e=this.dynamicPrecedences;return null==e?0:e[t]||0}parseDialect(t){let e=Object.keys(this.dialects),n=e.map((()=>!1));if(t)for(let r of t.split(" ")){let t=e.indexOf(r);t>=0&&(n[t]=!0)}let i=null;for(let r=0;r<e.length;r++)if(!n[r])for(let t,n=this.dialects[e[r]];65535!=(t=this.data[n++]);)(i||(i=new Uint8Array(this.maxTerm+1)))[t]=1;return new S(t,n,i)}static deserialize(t){return new T(t)}}function P(t,e){return t[e]|t[e+1]<<16}function C(t){let e=null;for(let n of t){let t=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=t&&n.pos>t)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.score<n.score)&&(e=n)}return e}function A(t){if(t.external){let e=t.extend?1:0;return(n,i)=>t.external(n,i)<<1|e}return t.get}},43949:(t,e,n)=>{"use strict";n.d(e,{HN:()=>E});var i=n(47421),r=n(41113),s=n(59119);const o=new Map([["aliceblue","#f0f8ff"],["antiquewhite","#faebd7"],["aqua","#00ffff"],["aquamarine","#7fffd4"],["azure","#f0ffff"],["beige","#f5f5dc"],["bisque","#ffe4c4"],["black","#000000"],["blanchedalmond","#ffebcd"],["blue","#0000ff"],["blueviolet","#8a2be2"],["brown","#a52a2a"],["burlywood","#deb887"],["cadetblue","#5f9ea0"],["chartreuse","#7fff00"],["chocolate","#d2691e"],["coral","#ff7f50"],["cornflowerblue","#6495ed"],["cornsilk","#fff8dc"],["crimson","#dc143c"],["cyan","#00ffff"],["darkblue","#00008b"],["darkcyan","#008b8b"],["darkgoldenrod","#b8860b"],["darkgray","#a9a9a9"],["darkgreen","#006400"],["darkgrey","#a9a9a9"],["darkkhaki","#bdb76b"],["darkmagenta","#8b008b"],["darkolivegreen","#556b2f"],["darkorange","#ff8c00"],["darkorchid","#9932cc"],["darkred","#8b0000"],["darksalmon","#e9967a"],["darkseagreen","#8fbc8f"],["darkslateblue","#483d8b"],["darkslategray","#2f4f4f"],["darkslategrey","#2f4f4f"],["darkturquoise","#00ced1"],["darkviolet","#9400d3"],["deeppink","#ff1493"],["deepskyblue","#00bfff"],["dimgray","#696969"],["dimgrey","#696969"],["dodgerblue","#1e90ff"],["firebrick","#b22222"],["floralwhite","#fffaf0"],["forestgreen","#228b22"],["fuchsia","#ff00ff"],["gainsboro","#dcdcdc"],["ghostwhite","#f8f8ff"],["goldenrod","#daa520"],["gold","#ffd700"],["gray","#808080"],["green","#008000"],["greenyellow","#adff2f"],["grey","#808080"],["honeydew","#f0fff0"],["hotpink","#ff69b4"],["indianred","#cd5c5c"],["indigo","#4b0082"],["ivory","#fffff0"],["khaki","#f0e68c"],["lavenderblush","#fff0f5"],["lavender","#e6e6fa"],["lawngreen","#7cfc00"],["lemonchiffon","#fffacd"],["lightblue","#add8e6"],["lightcoral","#f08080"],["lightcyan","#e0ffff"],["lightgoldenrodyellow","#fafad2"],["lightgray","#d3d3d3"],["lightgreen","#90ee90"],["lightgrey","#d3d3d3"],["lightpink","#ffb6c1"],["lightsalmon","#ffa07a"],["lightseagreen","#20b2aa"],["lightskyblue","#87cefa"],["lightslategray","#778899"],["lightslategrey","#778899"],["lightsteelblue","#b0c4de"],["lightyellow","#ffffe0"],["lime","#00ff00"],["limegreen","#32cd32"],["linen","#faf0e6"],["magenta","#ff00ff"],["maroon","#800000"],["mediumaquamarine","#66cdaa"],["mediumblue","#0000cd"],["mediumorchid","#ba55d3"],["mediumpurple","#9370db"],["mediumseagreen","#3cb371"],["mediumslateblue","#7b68ee"],["mediumspringgreen","#00fa9a"],["mediumturquoise","#48d1cc"],["mediumvioletred","#c71585"],["midnightblue","#191970"],["mintcream","#f5fffa"],["mistyrose","#ffe4e1"],["moccasin","#ffe4b5"],["navajowhite","#ffdead"],["navy","#000080"],["oldlace","#fdf5e6"],["olive","#808000"],["olivedrab","#6b8e23"],["orange","#ffa500"],["orangered","#ff4500"],["orchid","#da70d6"],["palegoldenrod","#eee8aa"],["palegreen","#98fb98"],["paleturquoise","#afeeee"],["palevioletred","#db7093"],["papayawhip","#ffefd5"],["peachpuff","#ffdab9"],["peru","#cd853f"],["pink","#ffc0cb"],["plum","#dda0dd"],["powderblue","#b0e0e6"],["purple","#800080"],["rebeccapurple","#663399"],["red","#ff0000"],["rosybrown","#bc8f8f"],["royalblue","#4169e1"],["saddlebrown","#8b4513"],["salmon","#fa8072"],["sandybrown","#f4a460"],["seagreen","#2e8b57"],["seashell","#fff5ee"],["sienna","#a0522d"],["silver","#c0c0c0"],["skyblue","#87ceeb"],["slateblue","#6a5acd"],["slategray","#708090"],["slategrey","#708090"],["snow","#fffafa"],["springgreen","#00ff7f"],["steelblue","#4682b4"],["tan","#d2b48c"],["teal","#008080"],["thistle","#d8bfd8"],["tomato","#ff6347"],["turquoise","#40e0d0"],["violet","#ee82ee"],["wheat","#f5deb3"],["white","#ffffff"],["whitesmoke","#f5f5f5"],["yellow","#ffff00"],["yellowgreen","#9acd32"]]);var a=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};const l=new WeakMap;var c=function(t){return t["rgb"]="RGB",t["hex"]="HEX",t["named"]="NAMED",t["hsl"]="HSL",t}(c||(c={}));const u=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,h=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,p=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i;function d(t,e,n,i,s,o){var a;switch(i){case"AttributeValue":{const n=t.resolveInner(e,0).tree;if(!n)return null;const i=null===(a=n.prop(r.md.mounted))||void 0===a?void 0:a.tree;if("Styles"!==(null===i||void 0===i?void 0:i.type.name))return null;const o=[];return i.iterate({from:0,to:i.length,enter:({type:n,from:i,to:r})=>{const a=d(t,e+1+i,e+1+r,n.name,s);if(a){if(Array.isArray(a))throw new Error("Unexpected nested overlays");o.push(a)}}}),o}case"CallExpression":{const t=s.sliceString(e,n),i=f(t);return i?Object.assign(Object.assign({},i),{from:e,to:n}):null}case"ColorLiteral":{const t=O(s.sliceString(e,n));return t?Object.assign(Object.assign({},t),{from:e,to:n}):null}case"ValueName":{const t=s.sliceString(e,n),i=m(t);return i?Object.assign(Object.assign({},i),{from:e,to:n}):null}default:return null}}function f(t){const e=t.slice(0,3);switch(e){case"rgb":{const e=u.exec(t);if(!e)return null;const[n,i,r,s,o]=e,a=x(i,r,s);return{colorType:c.rgb,color:a,alpha:o||""}}case"hsl":{const e=h.exec(t);if(!e)return null;const[n,i,r,s,o]=e,a=w(i,r,s);return{colorType:c.hsl,color:a,alpha:o||""}}default:return null}}function O(t){const e=p.exec(t);if(!e)return null;const[n,i]=v(t);return{colorType:c.hex,color:n,alpha:i}}function m(t){const e=o.get(t);return e?{colorType:c.named,color:e,alpha:""}:null}function g(t,e){const n=[],r=(0,s.qz)(t.state);for(const o of t.visibleRanges)r.iterate({from:o.from,to:o.to,enter:({type:o,from:a,to:l})=>{var c;const u=e(r,a,l,o.name,t.state.doc,null===(c=t.state.facet(s.dK))||void 0===c?void 0:c.name);if(u)if(Array.isArray(u))for(const t of u)n.push(i.p.widget({widget:new P(t),side:1}).range(t.from));else n.push(i.p.widget({widget:new P(u),side:1}).range(u.from))}});return i.p.set(n)}function v(t){return 4===t.length?[`#${t[1].repeat(2)}${t[2].repeat(2)}${t[3].repeat(2)}`,""]:5===t.length?[`#${t[1].repeat(2)}${t[2].repeat(2)}${t[3].repeat(2)}`,t[4].repeat(2)]:9===t.length?[`#${t.slice(1,-2)}`,t.slice(-2)]:[t,""]}function y(t){let e;if(t.endsWith("%")){const n=Number(t.slice(0,-1));e=Math.round(n/100*255)}else e=Number(t);return b(e)}function b(t){const e=t.toString(16);return 1===e.length?"0"+e:e}function _(t){const e=t.slice(1,3),n=t.slice(3,5),i=t.slice(5,7);return[parseInt(e,16),parseInt(n,16),parseInt(i,16)]}function x(t,e,n){return`#${y(t)}${y(e)}${y(n)}`}function w(t,e,n){const i=Number(e)/100,r=Number(n)/100,[s,o,a]=$(Number(t),i,r);return`#${b(s)}${b(o)}${b(a)}`}function $(t,e,n){if(0===e){const t=Math.round(255*n);return[t,t,t]}let i;i=n<.5?n*(1+e):n+e-n*e;const r=2*n-i;t/=360;const s=S(t+.333),o=t,a=S(t-.333),l=k(i,r,s),c=k(i,r,o),u=k(i,r,a);return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}function S(t){return t<0?t+1:t>1?t-1:t}function k(t,e,n){return 6*n<1?e+6*(t-e)*n:2*n<1?t:3*n<2?e+(t-e)*(.666-n)*6:e}function Q(t,e,n){const i=t/255,r=e/255,s=n/255,o=Math.min(i,r,s),a=Math.max(i,r,s),l=(a+o)/2;if(a===o)return[0,0,l];let c,u;c=l<=.5?(a-o)/(a+o):(a-o)/(2-a-o),u=a===i?(r-s)/(a-o):r===a?2+(s-i)/(a-o):4+(i-r)/(a-o),u=Math.round(60*u);while(u<0)u+=360;return[u,c,l]}const T="cm-css-color-picker-wrapper";class P extends i.l9{constructor(t){var{color:e}=t,n=a(t,["color"]);super(),this.state=n,this.color=e}eq(t){return t.state.colorType===this.state.colorType&&t.color===this.color&&t.state.from===this.state.from&&t.state.to===this.state.to&&t.state.alpha===this.state.alpha}toDOM(){const t=document.createElement("input");l.set(t,this.state),t.type="color",t.value=this.color;const e=document.createElement("span");return e.appendChild(t),e.className=T,e}ignoreEvent(){return!1}}const C=i.tk.baseTheme({[`.${T}`]:{display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",height:"1em",width:"1em",transform:"translateY(1px)"},[`.${T} input[type="color"]`]:{cursor:"pointer",height:"100%",width:"100%",padding:0,border:"none","&::-webkit-color-swatch-wrapper":{padding:0},"&::-webkit-color-swatch":{border:"none"},"&::-moz-color-swatch":{border:"none"}}}),A=t=>i.lg.fromClass(class{constructor(e){this.decorations=g(e,t.discoverColors)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=g(e.view,t.discoverColors))}},{decorations:t=>t.decorations,eventHandlers:{change:(t,e)=>{const n=t.target;if("INPUT"!==n.nodeName||!n.parentElement||!n.parentElement.classList.contains(T))return!1;const i=l.get(n);let r=n.value+i.alpha;if(i.colorType===c.rgb)r=`rgb(${_(n.value).join(", ")}${i.alpha})`;else if(i.colorType===c.named)for(const[s,a]of o.entries())a===n.value&&(r=s);else if(i.colorType===c.hsl){const[t,e,s]=_(n.value),[o,a,l]=Q(t,e,s);r=`hsl(${o}, ${Math.round(100*a)}%, ${Math.round(100*l)}%${i.alpha})`}return e.dispatch({changes:{from:i.from,to:i.to,insert:r}}),!0}}}),E=[A({discoverColors:d}),C]},76213:(t,e,n)=>{"use strict";n.d(e,{i:()=>a,n:()=>l});var i=n(53105),r=n(59119),s=n(35524);const o=i.WQ.deserialize({version:14,states:"%^QYQPOOO!YQQO'#CaO#RQQO'#CrOOQO'#Ct'#CtQYQPOOOOQO'#C}'#C}O#]QQO'#CzO$ZQQO'#CoOOQO'#Cz'#CzOOQO'#Cu'#CuO$lQQO,58{OOQO,58{,58{O$sQQO,59^O$sQQO,59^OOQO,59^,59^OOQO-E6r-E6rO$zQQO'#CfOOQO,58|,58|OOQO'#C|'#C|O%]QSO'#C{O%hQQO,59ZOOQO-E6s-E6sOOQO1G.g1G.gO%mQQO1G.xOOQO1G.x1G.xO%tQQO,59QO%yQSO'#CvO&bQSO,59gOOQO1G.u1G.uOOQO7+$d7+$dOOQO1G.l1G.lOOQO,59b,59bOOQO-E6t-E6t",stateData:"&{~OmOSPOS~OSPOeQOgRO~OVUOZTO[TO]TO^WO_WO`WOaWObWOtVOuWO~ORZO~PeOVUOZTO[TO]TO^WO_WO`WObWOtVOuWO~Oa[Od^O~P!aOX`ORnXVnXZnX[nX]nX^nX_nX`nXanXbnXtnXunXdnX~OVbOZTO[TO]TOsoP~ORfO~PeOdhO~PeOVbOZTO[TO]TOWoP~OrjOsoXWoX~OslO~OdmO~PeOWnO~OVbOZTO[TO]TOrjXsjXWjX~OrjOsoaWoa~Og[]a_^`bVmPZ`~",goto:"#brPPPPPswPPP!PPPPPPPPPwPPsP!S!Y!hPPP!n!v!|#TTROS]WPQY[]gRaUQSOR_SQYPQ]QUeY]gRg[QkcRpk]XPQY[]gQdVRi`ScV`Roj[WPQY[]gVbV`j",nodeNames:"⚠ BlockComment Template }} {{ InsertBlock Function Identifier ) ( FunctionParamList String Boolean Number ChainedIdentifier Comparison Operator CodeTag Math Array %} {% CodeBlock PlainText",maxTerm:37,nodeProps:[["openedBy",3,"{{",8,"(",20,"{%"],["closedBy",4,"}}",9,")",21,"%}"]],skippedNodes:[0,1],repeatNodeCount:3,tokenData:"#Jr~R!^OX$}XY&ZYZ&ZZ]$}]^&Z^p$}pq&Zqr'Wrs(Ysu$}uv-cvw$}wx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;=`&O<%lO$}~#GjZuQOs$}st#H]tu$}uv#Idv#o$}#o#p#Ii#p;'S$};'S;=`&O<%l~$}~O$}~~&U~#H`TOs#H]st#Hot;'S#H];'S;=`#I^<%lO#H]~#HrVOs#H]st#Hot#q#H]#q#r#IX#r;'S#H];'S;=`#I^<%lO#H]~#I^OP~~#IaP;=`<%l#H]P#IiOePP#InOSPR#IuVuQgPO#o$}#o#p%c#p#q$}#q#r#J[#r;'S$};'S;=`&O<%lO$}R#JcTRQgPO#o$}#o#p%c#p;'S$};'S;=`&O<%lO$}",tokenizers:[0,1,2],topRules:{Template:[0,2]},tokenPrec:259}),a=r.qp.define({parser:o.configure({props:[(0,s.Gv)({Identifier:s.pJ.variableName,Boolean:s.pJ.bool,String:s.pJ.string,Number:s.pJ.number,BlockComment:s.pJ.blockComment,CodeTag:s.pJ.keyword,Comparison:s.pJ.compareOperator,Operator:s.pJ.operator,Math:s.pJ.arithmeticOperator,"Function/Identifier":s.pJ["function"](s.pJ.definition(s.pJ.variableName)),"( )":s.pJ.paren,"{ }":s.pJ.brace,"{{ }} {% %}":s.pJ.meta})]}),languageData:{commentTokens:{block:{open:"{#",close:"#}"}}}});function l(){return new r.ri(a)}},39883:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i={};(function t(e,n,i,r){var s=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),o="function"===typeof Path2D&&"function"===typeof DOMMatrix,a=function(){if(!e.OffscreenCanvas)return!1;var t=new OffscreenCanvas(1,1),n=t.getContext("2d");n.fillRect(0,0,1,1);var i=t.transferToImageBitmap();try{n.createPattern(i,"no-repeat")}catch(r){return!1}return!0}();function l(){}function c(t){var i=n.exports.Promise,r=void 0!==i?i:e.Promise;return"function"===typeof r?new r(t):(t(l,l),null)}var u,h=function(t,e){return{transform:function(n){if(t)return n;if(e.has(n))return e.get(n);var i=new OffscreenCanvas(n.width,n.height),r=i.getContext("2d");return r.drawImage(n,0,0),e.set(n,i),i},clear:function(){e.clear()}}}(a,new Map),p=function(){var t,e,n=Math.floor(1e3/60),i={},r=0;return"function"===typeof requestAnimationFrame&&"function"===typeof cancelAnimationFrame?(t=function(t){var e=Math.random();return i[e]=requestAnimationFrame((function s(o){r===o||r+n-1<o?(r=o,delete i[e],t()):i[e]=requestAnimationFrame(s)})),e},e=function(t){i[t]&&cancelAnimationFrame(i[t])}):(t=function(t){return setTimeout(t,n)},e=function(t){return clearTimeout(t)}),{frame:t,cancel:e}}(),d=function(){var e,n,r={};function o(t){function e(e,n){t.postMessage({options:e||{},callback:n})}t.init=function(e){var n=e.transferControlToOffscreen();t.postMessage({canvas:n},[n])},t.fire=function(i,s,o){if(n)return e(i,null),n;var a=Math.random().toString(36).slice(2);return n=c((function(s){function l(e){e.data.callback===a&&(delete r[a],t.removeEventListener("message",l),n=null,h.clear(),o(),s())}t.addEventListener("message",l),e(i,a),r[a]=l.bind(null,{data:{callback:a}})})),n},t.reset=function(){for(var e in t.postMessage({reset:!0}),r)r[e](),delete r[e]}}return function(){if(e)return e;if(!i&&s){var n=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{e=new Worker(URL.createObjectURL(new Blob([n])))}catch(r){return void 0!==typeof console&&"function"===typeof console.warn&&console.warn("🎊 Could not load worker",r),null}o(e)}return e}}(),f={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function O(t,e){return e?e(t):t}function m(t){return!(null===t||void 0===t)}function g(t,e,n){return O(t&&m(t[e])?t[e]:f[e],n)}function v(t){return t<0?0:Math.floor(t)}function y(t,e){return Math.floor(Math.random()*(e-t))+t}function b(t){return parseInt(t,16)}function _(t){return t.map(x)}function x(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:b(e.substring(0,2)),g:b(e.substring(2,4)),b:b(e.substring(4,6))}}function w(t){var e=g(t,"origin",Object);return e.x=g(e,"x",Number),e.y=g(e,"y",Number),e}function $(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function S(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function k(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}function Q(t,e,n,i,r,s,o,a,l){t.save(),t.translate(e,n),t.rotate(s),t.scale(i,r),t.arc(0,0,1,o,a,l),t.restore()}function T(t){var e=t.angle*(Math.PI/180),n=t.spread*(Math.PI/180);return{x:t.x,y:t.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*t.startVelocity+Math.random()*t.startVelocity,angle2D:-e+(.5*n-Math.random()*n),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:t.color,shape:t.shape,tick:0,totalTicks:t.ticks,decay:t.decay,drift:t.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*t.gravity,ovalScalar:.6,scalar:t.scalar,flat:t.flat}}function P(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.x+10*e.scalar,e.wobbleY=e.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);var n=e.tick++/e.totalTicks,i=e.x+e.random*e.tiltCos,r=e.y+e.random*e.tiltSin,s=e.wobbleX+e.random*e.tiltCos,a=e.wobbleY+e.random*e.tiltSin;if(t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-n)+")",t.beginPath(),o&&"path"===e.shape.type&&"string"===typeof e.shape.path&&Array.isArray(e.shape.matrix))t.fill(R(e.shape.path,e.shape.matrix,e.x,e.y,.1*Math.abs(s-i),.1*Math.abs(a-r),Math.PI/10*e.wobble));else if("bitmap"===e.shape.type){var l=Math.PI/10*e.wobble,c=.1*Math.abs(s-i),u=.1*Math.abs(a-r),p=e.shape.bitmap.width*e.scalar,d=e.shape.bitmap.height*e.scalar,f=new DOMMatrix([Math.cos(l)*c,Math.sin(l)*c,-Math.sin(l)*u,Math.cos(l)*u,e.x,e.y]);f.multiplySelf(new DOMMatrix(e.shape.matrix));var O=t.createPattern(h.transform(e.shape.bitmap),"no-repeat");O.setTransform(f),t.globalAlpha=1-n,t.fillStyle=O,t.fillRect(e.x-p/2,e.y-d/2,p,d),t.globalAlpha=1}else if("circle"===e.shape)t.ellipse?t.ellipse(e.x,e.y,Math.abs(s-i)*e.ovalScalar,Math.abs(a-r)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):Q(t,e.x,e.y,Math.abs(s-i)*e.ovalScalar,Math.abs(a-r)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI);else if("star"===e.shape){var m=Math.PI/2*3,g=4*e.scalar,v=8*e.scalar,y=e.x,b=e.y,_=5,x=Math.PI/_;while(_--)y=e.x+Math.cos(m)*v,b=e.y+Math.sin(m)*v,t.lineTo(y,b),m+=x,y=e.x+Math.cos(m)*g,b=e.y+Math.sin(m)*g,t.lineTo(y,b),m+=x}else t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(r)),t.lineTo(Math.floor(s),Math.floor(a)),t.lineTo(Math.floor(i),Math.floor(e.wobbleY));return t.closePath(),t.fill(),e.tick<e.totalTicks}function C(t,e,n,s,o){var a,l,u=e.slice(),d=t.getContext("2d"),f=c((function(e){function c(){a=l=null,d.clearRect(0,0,s.width,s.height),h.clear(),o(),e()}function f(){!i||s.width===r.width&&s.height===r.height||(s.width=t.width=r.width,s.height=t.height=r.height),s.width||s.height||(n(t),s.width=t.width,s.height=t.height),d.clearRect(0,0,s.width,s.height),u=u.filter((function(t){return P(d,t)})),u.length?a=p.frame(f):c()}a=p.frame(f),l=c}));return{addFettis:function(t){return u=u.concat(t),f},canvas:t,promise:f,reset:function(){a&&p.cancel(a),l&&l()}}}function A(t,n){var i,r=!t,o=!!g(n||{},"resize"),a=!1,l=g(n,"disableForReducedMotion",Boolean),u=s&&!!g(n||{},"useWorker"),h=u?d():null,p=r?$:S,f=!(!t||!h)&&!!t.__confetti_initialized,O="function"===typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function m(e,n,r){var s=g(e,"particleCount",v),o=g(e,"angle",Number),a=g(e,"spread",Number),l=g(e,"startVelocity",Number),c=g(e,"decay",Number),u=g(e,"gravity",Number),h=g(e,"drift",Number),d=g(e,"colors",_),f=g(e,"ticks",Number),O=g(e,"shapes"),m=g(e,"scalar"),b=!!g(e,"flat"),x=w(e),$=s,S=[],k=t.width*x.x,Q=t.height*x.y;while($--)S.push(T({x:k,y:Q,angle:o,spread:a,startVelocity:l,color:d[$%d.length],shape:O[y(0,O.length)],ticks:f,decay:c,gravity:u,drift:h,scalar:m,flat:b}));return i?i.addFettis(S):(i=C(t,S,p,n,r),i.promise)}function b(n){var s=l||g(n,"disableForReducedMotion",Boolean),u=g(n,"zIndex",Number);if(s&&O)return c((function(t){t()}));r&&i?t=i.canvas:r&&!t&&(t=k(u),document.body.appendChild(t)),o&&!f&&p(t);var d={width:t.width,height:t.height};function v(){if(h){var e={getBoundingClientRect:function(){if(!r)return t.getBoundingClientRect()}};return p(e),void h.postMessage({resize:{width:e.width,height:e.height}})}d.width=d.height=null}function y(){i=null,o&&(a=!1,e.removeEventListener("resize",v)),r&&t&&(document.body.contains(t)&&document.body.removeChild(t),t=null,f=!1)}return h&&!f&&h.init(t),f=!0,h&&(t.__confetti_initialized=!0),o&&!a&&(a=!0,e.addEventListener("resize",v,!1)),h?h.fire(n,d,y):m(n,d,y)}return b.reset=function(){h&&h.reset(),i&&i.reset()},b}function E(){return u||(u=A(null,{useWorker:!0,resize:!0})),u}function R(t,e,n,i,r,s,o){var a=new Path2D(t),l=new Path2D;l.addPath(a,new DOMMatrix(e));var c=new Path2D;return c.addPath(l,new DOMMatrix([Math.cos(o)*r,Math.sin(o)*r,-Math.sin(o)*s,Math.cos(o)*s,n,i])),c}function M(t){if(!o)throw new Error("path confetti are not supported in this browser");var e,n;"string"===typeof t?e=t:(e=t.path,n=t.matrix);var i=new Path2D(e),r=document.createElement("canvas"),s=r.getContext("2d");if(!n){for(var a,l,c=1e3,u=c,h=c,p=0,d=0,f=0;f<c;f+=2)for(var O=0;O<c;O+=2)s.isPointInPath(i,f,O,"nonzero")&&(u=Math.min(u,f),h=Math.min(h,O),p=Math.max(p,f),d=Math.max(d,O));a=p-u,l=d-h;var m=10,g=Math.min(m/a,m/l);n=[g,0,0,g,-Math.round(a/2+u)*g,-Math.round(l/2+h)*g]}return{type:"path",path:e,matrix:n}}function D(t){var e,n=1,i="#000000",r='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"===typeof t?e=t:(e=t.text,n="scalar"in t?t.scalar:n,r="fontFamily"in t?t.fontFamily:r,i="color"in t?t.color:i);var s=10*n,o=s+"px "+r,a=new OffscreenCanvas(s,s),l=a.getContext("2d");l.font=o;var c=l.measureText(e),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),h=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),p=2,d=c.actualBoundingBoxLeft+p,f=c.actualBoundingBoxAscent+p;u+=p+p,h+=p+p,a=new OffscreenCanvas(u,h),l=a.getContext("2d"),l.font=o,l.fillStyle=i,l.fillText(e,d,f);var O=1/n;return{type:"bitmap",bitmap:a.transferToImageBitmap(),matrix:[O,0,0,O,-u*O/2,-h*O/2]}}n.exports=function(){return E().apply(this,arguments)},n.exports.reset=function(){E().reset()},n.exports.create=A,n.exports.shapeFromPath=M,n.exports.shapeFromText=D})(function(){return"undefined"!==typeof window?window:"undefined"!==typeof self?self:this||{}}(),i,!1);const r=i.exports;i.exports.create},21357:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>Ni});const{min:i,max:r}=Math,s=(t,e=0,n=1)=>i(r(e,t),n),o=t=>{t._clipped=!1,t._unclipped=t.slice(0);for(let e=0;e<=3;e++)e<3?((t[e]<0||t[e]>255)&&(t._clipped=!0),t[e]=s(t[e],0,255)):3===e&&(t[e]=s(t[e],0,1));return t},a={};for(let Li of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])a[`[object ${Li}]`]=Li.toLowerCase();function l(t){return a[Object.prototype.toString.call(t)]||"object"}const c=(t,e=null)=>t.length>=3?Array.prototype.slice.call(t):"object"==l(t[0])&&e?e.split("").filter((e=>void 0!==t[0][e])).map((e=>t[0][e])):t[0].slice(0),u=t=>{if(t.length<2)return null;const e=t.length-1;return"string"==l(t[e])?t[e].toLowerCase():null},{PI:h,min:p,max:d}=Math,f=t=>Math.round(100*t)/100,O=t=>Math.round(100*t)/100,m=2*h,g=h/3,v=h/180,y=180/h;function b(t){return[...t.slice(0,3).reverse(),...t.slice(3)]}const _={format:{},autodetect:[]};class x{constructor(...t){const e=this;if("object"===l(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];let n=u(t),i=!1;if(!n){i=!0,_.sorted||(_.autodetect=_.autodetect.sort(((t,e)=>e.p-t.p)),_.sorted=!0);for(let e of _.autodetect)if(n=e.test(...t),n)break}if(!_.format[n])throw new Error("unknown format: "+t);{const r=_.format[n].apply(null,i?t:t.slice(0,-1));e._rgb=o(r)}3===e._rgb.length&&e._rgb.push(1)}toString(){return"function"==l(this.hex)?this.hex():`[${this._rgb.join(",")}]`}}const w=x,$="3.1.2",S=(...t)=>new w(...t);S.version=$;const k=S,Q={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},T=Q,P=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,C=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,A=t=>{if(t.match(P)){4!==t.length&&7!==t.length||(t=t.substr(1)),3===t.length&&(t=t.split(""),t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);const e=parseInt(t,16),n=e>>16,i=e>>8&255,r=255&e;return[n,i,r,1]}if(t.match(C)){5!==t.length&&9!==t.length||(t=t.substr(1)),4===t.length&&(t=t.split(""),t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);const e=parseInt(t,16),n=e>>24&255,i=e>>16&255,r=e>>8&255,s=Math.round((255&e)/255*100)/100;return[n,i,r,s]}throw new Error(`unknown hex color: ${t}`)},E=A,{round:R}=Math,M=(...t)=>{let[e,n,i,r]=c(t,"rgba"),s=u(t)||"auto";void 0===r&&(r=1),"auto"===s&&(s=r<1?"rgba":"rgb"),e=R(e),n=R(n),i=R(i);const o=e<<16|n<<8|i;let a="000000"+o.toString(16);a=a.substr(a.length-6);let l="0"+R(255*r).toString(16);switch(l=l.substr(l.length-2),s.toLowerCase()){case"rgba":return`#${a}${l}`;case"argb":return`#${l}${a}`;default:return`#${a}`}},D=M;w.prototype.name=function(){const t=D(this._rgb,"rgb");for(let e of Object.keys(T))if(T[e]===t)return e.toLowerCase();return t},_.format.named=t=>{if(t=t.toLowerCase(),T[t])return E(T[t]);throw new Error("unknown color name: "+t)},_.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&"string"===l(t)&&T[t.toLowerCase()])return"named"}}),w.prototype.alpha=function(t,e=!1){return void 0!==t&&"number"===l(t)?e?(this._rgb[3]=t,this):new w([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},w.prototype.clipped=function(){return this._rgb._clipped||!1};const z={Kn:18,labWhitePoint:"d65",Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452,kE:216/24389,kKE:8,kK:24389/27,RefWhiteRGB:{X:.95047,Y:1,Z:1.08883},MtxRGB2XYZ:{m00:.4124564390896922,m01:.21267285140562253,m02:.0193338955823293,m10:.357576077643909,m11:.715152155287818,m12:.11919202588130297,m20:.18043748326639894,m21:.07217499330655958,m22:.9503040785363679},MtxXYZ2RGB:{m00:3.2404541621141045,m01:-.9692660305051868,m02:.055643430959114726,m10:-1.5371385127977166,m11:1.8760108454466942,m12:-.2040259135167538,m20:-.498531409556016,m21:.041556017530349834,m22:1.0572251882231791},As:.9414285350000001,Bs:1.040417467,Cs:1.089532651,MtxAdaptMa:{m00:.8951,m01:-.7502,m02:.0389,m10:.2664,m11:1.7135,m12:-.0685,m20:-.1614,m21:.0367,m22:1.0296},MtxAdaptMaI:{m00:.9869929054667123,m01:.43230526972339456,m02:-.008528664575177328,m10:-.14705425642099013,m11:.5183602715367776,m12:.04004282165408487,m20:.15996265166373125,m21:.0492912282128556,m22:.9684866957875502}},j=z,Z=new Map([["a",[1.0985,.35585]],["b",[1.0985,.35585]],["c",[.98074,1.18232]],["d50",[.96422,.82521]],["d55",[.95682,.92149]],["d65",[.95047,1.08883]],["e",[1,1,1]],["f2",[.99186,.67393]],["f7",[.95041,1.08747]],["f11",[1.00962,.6435]],["icc",[.96422,.82521]]]);function V(t){const e=Z.get(String(t).toLowerCase());if(!e)throw new Error("unknown Lab illuminant "+t);z.labWhitePoint=t,z.Xn=e[0],z.Zn=e[1]}function X(){return z.labWhitePoint}const W=(...t)=>{t=c(t,"lab");const[e,n,i]=t,[r,s,o]=q(e,n,i),[a,l,u]=N(r,s,o);return[a,l,u,t.length>3?t[3]:1]},q=(t,e,n)=>{const{kE:i,kK:r,kKE:s,Xn:o,Yn:a,Zn:l}=j,c=(t+16)/116,u=.002*e+c,h=c-.005*n,p=u*u*u,d=h*h*h,f=p>i?p:(116*u-16)/r,O=t>s?Math.pow((t+16)/116,3):t/r,m=d>i?d:(116*h-16)/r,g=f*o,v=O*a,y=m*l;return[g,v,y]},I=t=>{const e=Math.sign(t);return t=Math.abs(t),(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)*e},N=(t,e,n)=>{const{MtxAdaptMa:i,MtxAdaptMaI:r,MtxXYZ2RGB:s,RefWhiteRGB:o,Xn:a,Yn:l,Zn:c}=j,u=a*i.m00+l*i.m10+c*i.m20,h=a*i.m01+l*i.m11+c*i.m21,p=a*i.m02+l*i.m12+c*i.m22,d=o.X*i.m00+o.Y*i.m10+o.Z*i.m20,f=o.X*i.m01+o.Y*i.m11+o.Z*i.m21,O=o.X*i.m02+o.Y*i.m12+o.Z*i.m22,m=(t*i.m00+e*i.m10+n*i.m20)*(d/u),g=(t*i.m01+e*i.m11+n*i.m21)*(f/h),v=(t*i.m02+e*i.m12+n*i.m22)*(O/p),y=m*r.m00+g*r.m10+v*r.m20,b=m*r.m01+g*r.m11+v*r.m21,_=m*r.m02+g*r.m12+v*r.m22,x=I(y*s.m00+b*s.m10+_*s.m20),w=I(y*s.m01+b*s.m11+_*s.m21),$=I(y*s.m02+b*s.m12+_*s.m22);return[255*x,255*w,255*$]},L=W,B=(...t)=>{const[e,n,i,...r]=c(t,"rgb"),[s,o,a]=F(e,n,i),[l,u,h]=U(s,o,a);return[l,u,h,...r.length>0&&r[0]<1?[r[0]]:[]]};function U(t,e,n){const{Xn:i,Yn:r,Zn:s,kE:o,kK:a}=j,l=t/i,c=e/r,u=n/s,h=l>o?Math.pow(l,1/3):(a*l+16)/116,p=c>o?Math.pow(c,1/3):(a*c+16)/116,d=u>o?Math.pow(u,1/3):(a*u+16)/116;return[116*p-16,500*(h-p),200*(p-d)]}function Y(t){const e=Math.sign(t);t=Math.abs(t);const n=t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);return n*e}const F=(t,e,n)=>{t=Y(t/255),e=Y(e/255),n=Y(n/255);const{MtxRGB2XYZ:i,MtxAdaptMa:r,MtxAdaptMaI:s,Xn:o,Yn:a,Zn:l,As:c,Bs:u,Cs:h}=j;let p=t*i.m00+e*i.m10+n*i.m20,d=t*i.m01+e*i.m11+n*i.m21,f=t*i.m02+e*i.m12+n*i.m22;const O=o*r.m00+a*r.m10+l*r.m20,m=o*r.m01+a*r.m11+l*r.m21,g=o*r.m02+a*r.m12+l*r.m22;let v=p*r.m00+d*r.m10+f*r.m20,y=p*r.m01+d*r.m11+f*r.m21,b=p*r.m02+d*r.m12+f*r.m22;return v*=O/c,y*=m/u,b*=g/h,p=v*s.m00+y*s.m10+b*s.m20,d=v*s.m01+y*s.m11+b*s.m21,f=v*s.m02+y*s.m12+b*s.m22,[p,d,f]},G=B;w.prototype.lab=function(){return G(this._rgb)};const H=(...t)=>new w(...t,"lab");Object.assign(k,{lab:H,getLabWhitePoint:X,setLabWhitePoint:V}),_.format.lab=L,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"lab"),"array"===l(t)&&3===t.length)return"lab"}}),w.prototype.darken=function(t=1){const e=this,n=e.lab();return n[0]-=j.Kn*t,new w(n,"lab").alpha(e.alpha(),!0)},w.prototype.brighten=function(t=1){return this.darken(-t)},w.prototype.darker=w.prototype.darken,w.prototype.brighter=w.prototype.brighten,w.prototype.get=function(t){const[e,n]=t.split("."),i=this[e]();if(n){const t=e.indexOf(n)-("ok"===e.substr(0,2)?2:0);if(t>-1)return i[t];throw new Error(`unknown channel ${n} in mode ${e}`)}return i};const{pow:K}=Math,J=1e-7,tt=20;w.prototype.luminance=function(t,e="rgb"){if(void 0!==t&&"number"===l(t)){if(0===t)return new w([0,0,0,this._rgb[3]],"rgb");if(1===t)return new w([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),i=tt;const r=(n,s)=>{const o=n.interpolate(s,.5,e),a=o.luminance();return Math.abs(t-a)<J||!i--?o:a>t?r(n,o):r(o,s)},s=(n>t?r(new w([0,0,0]),this):r(this,new w([255,255,255]))).rgb();return new w([...s,this._rgb[3]])}return et(...this._rgb.slice(0,3))};const et=(t,e,n)=>(t=nt(t),e=nt(e),n=nt(n),.2126*t+.7152*e+.0722*n),nt=t=>(t/=255,t<=.03928?t/12.92:K((t+.055)/1.055,2.4)),it={},rt=(t,e,n=.5,...i)=>{let r=i[0]||"lrgb";if(it[r]||i.length||(r=Object.keys(it)[0]),!it[r])throw new Error(`interpolation mode ${r} is not defined`);return"object"!==l(t)&&(t=new w(t)),"object"!==l(e)&&(e=new w(e)),it[r](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))};w.prototype.mix=w.prototype.interpolate=function(t,e=.5,...n){return rt(this,t,e,...n)},w.prototype.premultiply=function(t=!1){const e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new w([e[0]*n,e[1]*n,e[2]*n,n],"rgb")};const{sin:st,cos:ot}=Math,at=(...t)=>{let[e,n,i]=c(t,"lch");return isNaN(i)&&(i=0),i*=v,[e,ot(i)*n,st(i)*n]},lt=at,ct=(...t)=>{t=c(t,"lch");const[e,n,i]=t,[r,s,o]=lt(e,n,i),[a,l,u]=L(r,s,o);return[a,l,u,t.length>3?t[3]:1]},ut=ct,ht=(...t)=>{const e=b(c(t,"hcl"));return ut(...e)},pt=ht,{sqrt:dt,atan2:ft,round:Ot}=Math,mt=(...t)=>{const[e,n,i]=c(t,"lab"),r=dt(n*n+i*i);let s=(ft(i,n)*y+360)%360;return 0===Ot(1e4*r)&&(s=Number.NaN),[e,r,s]},gt=mt,vt=(...t)=>{const[e,n,i,...r]=c(t,"rgb"),[s,o,a]=G(e,n,i),[l,u,h]=gt(s,o,a);return[l,u,h,...r.length>0&&r[0]<1?[r[0]]:[]]},yt=vt;w.prototype.lch=function(){return yt(this._rgb)},w.prototype.hcl=function(){return b(yt(this._rgb))};const bt=(...t)=>new w(...t,"lch"),_t=(...t)=>new w(...t,"hcl");Object.assign(k,{lch:bt,hcl:_t}),_.format.lch=ut,_.format.hcl=pt,["lch","hcl"].forEach((t=>_.autodetect.push({p:2,test:(...e)=>{if(e=c(e,t),"array"===l(e)&&3===e.length)return t}}))),w.prototype.saturate=function(t=1){const e=this,n=e.lch();return n[1]+=j.Kn*t,n[1]<0&&(n[1]=0),new w(n,"lch").alpha(e.alpha(),!0)},w.prototype.desaturate=function(t=1){return this.saturate(-t)},w.prototype.set=function(t,e,n=!1){const[i,r]=t.split("."),s=this[i]();if(r){const t=i.indexOf(r)-("ok"===i.substr(0,2)?2:0);if(t>-1){if("string"==l(e))switch(e.charAt(0)){case"+":s[t]+=+e;break;case"-":s[t]+=+e;break;case"*":s[t]*=+e.substr(1);break;case"/":s[t]/=+e.substr(1);break;default:s[t]=+e}else{if("number"!==l(e))throw new Error("unsupported value for Color.set");s[t]=e}const r=new w(s,i);return n?(this._rgb=r._rgb,this):r}throw new Error(`unknown channel ${r} in mode ${i}`)}return s},w.prototype.tint=function(t=.5,...e){return rt(this,"white",t,...e)},w.prototype.shade=function(t=.5,...e){return rt(this,"black",t,...e)};const xt=(t,e,n)=>{const i=t._rgb,r=e._rgb;return new w(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"rgb")};it.rgb=xt;const{sqrt:wt,pow:$t}=Math,St=(t,e,n)=>{const[i,r,s]=t._rgb,[o,a,l]=e._rgb;return new w(wt($t(i,2)*(1-n)+$t(o,2)*n),wt($t(r,2)*(1-n)+$t(a,2)*n),wt($t(s,2)*(1-n)+$t(l,2)*n),"rgb")};it.lrgb=St;const kt=(t,e,n)=>{const i=t.lab(),r=e.lab();return new w(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"lab")};it.lab=kt;const Qt=(t,e,n,i)=>{let r,s,o,a,l,c,u,h,p,d,f,O;return"hsl"===i?(r=t.hsl(),s=e.hsl()):"hsv"===i?(r=t.hsv(),s=e.hsv()):"hcg"===i?(r=t.hcg(),s=e.hcg()):"hsi"===i?(r=t.hsi(),s=e.hsi()):"lch"===i||"hcl"===i?(i="hcl",r=t.hcl(),s=e.hcl()):"oklch"===i&&(r=t.oklch().reverse(),s=e.oklch().reverse()),"h"!==i.substr(0,1)&&"oklch"!==i||([o,l,u]=r,[a,c,h]=s),isNaN(o)||isNaN(a)?isNaN(o)?isNaN(a)?d=Number.NaN:(d=a,1!=u&&0!=u||"hsv"==i||(p=c)):(d=o,1!=h&&0!=h||"hsv"==i||(p=l)):(O=a>o&&a-o>180?a-(o+360):a<o&&o-a>180?a+360-o:a-o,d=o+n*O),void 0===p&&(p=l+n*(c-l)),f=u+n*(h-u),new w("oklch"===i?[f,p,d]:[d,p,f],i)},Tt=(t,e,n)=>Qt(t,e,n,"lch");it.lch=Tt,it.hcl=Tt;const Pt=t=>{if("number"==l(t)&&t>=0&&t<=16777215){const e=t>>16,n=t>>8&255,i=255&t;return[e,n,i,1]}throw new Error("unknown num color: "+t)},Ct=Pt,At=(...t)=>{const[e,n,i]=c(t,"rgb");return(e<<16)+(n<<8)+i},Et=At;w.prototype.num=function(){return Et(this._rgb)};const Rt=(...t)=>new w(...t,"num");Object.assign(k,{num:Rt}),_.format.num=Ct,_.autodetect.push({p:5,test:(...t)=>{if(1===t.length&&"number"===l(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});const Mt=(t,e,n)=>{const i=t.num(),r=e.num();return new w(i+n*(r-i),"num")};it.num=Mt;const{floor:Dt}=Math,zt=(...t)=>{t=c(t,"hcg");let e,n,i,[r,s,o]=t;o*=255;const a=255*s;if(0===s)e=n=i=o;else{360===r&&(r=0),r>360&&(r-=360),r<0&&(r+=360),r/=60;const t=Dt(r),l=r-t,c=o*(1-s),u=c+a*(1-l),h=c+a*l,p=c+a;switch(t){case 0:[e,n,i]=[p,h,c];break;case 1:[e,n,i]=[u,p,c];break;case 2:[e,n,i]=[c,p,h];break;case 3:[e,n,i]=[c,u,p];break;case 4:[e,n,i]=[h,c,p];break;case 5:[e,n,i]=[p,c,u];break}}return[e,n,i,t.length>3?t[3]:1]},jt=zt,Zt=(...t)=>{const[e,n,i]=c(t,"rgb"),r=p(e,n,i),s=d(e,n,i),o=s-r,a=100*o/255,l=r/(255-o)*100;let u;return 0===o?u=Number.NaN:(e===s&&(u=(n-i)/o),n===s&&(u=2+(i-e)/o),i===s&&(u=4+(e-n)/o),u*=60,u<0&&(u+=360)),[u,a,l]},Vt=Zt;w.prototype.hcg=function(){return Vt(this._rgb)};const Xt=(...t)=>new w(...t,"hcg");k.hcg=Xt,_.format.hcg=jt,_.autodetect.push({p:1,test:(...t)=>{if(t=c(t,"hcg"),"array"===l(t)&&3===t.length)return"hcg"}});const Wt=(t,e,n)=>Qt(t,e,n,"hcg");it.hcg=Wt;const{cos:qt}=Math,It=(...t)=>{t=c(t,"hsi");let e,n,i,[r,o,a]=t;return isNaN(r)&&(r=0),isNaN(o)&&(o=0),r>360&&(r-=360),r<0&&(r+=360),r/=360,r<1/3?(i=(1-o)/3,e=(1+o*qt(m*r)/qt(g-m*r))/3,n=1-(i+e)):r<2/3?(r-=1/3,e=(1-o)/3,n=(1+o*qt(m*r)/qt(g-m*r))/3,i=1-(e+n)):(r-=2/3,n=(1-o)/3,i=(1+o*qt(m*r)/qt(g-m*r))/3,e=1-(n+i)),e=s(a*e*3),n=s(a*n*3),i=s(a*i*3),[255*e,255*n,255*i,t.length>3?t[3]:1]},Nt=It,{min:Lt,sqrt:Bt,acos:Ut}=Math,Yt=(...t)=>{let e,[n,i,r]=c(t,"rgb");n/=255,i/=255,r/=255;const s=Lt(n,i,r),o=(n+i+r)/3,a=o>0?1-s/o:0;return 0===a?e=NaN:(e=(n-i+(n-r))/2,e/=Bt((n-i)*(n-i)+(n-r)*(i-r)),e=Ut(e),r>i&&(e=m-e),e/=m),[360*e,a,o]},Ft=Yt;w.prototype.hsi=function(){return Ft(this._rgb)};const Gt=(...t)=>new w(...t,"hsi");k.hsi=Gt,_.format.hsi=Nt,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"hsi"),"array"===l(t)&&3===t.length)return"hsi"}});const Ht=(t,e,n)=>Qt(t,e,n,"hsi");it.hsi=Ht;const Kt=(...t)=>{t=c(t,"hsl");const[e,n,i]=t;let r,s,o;if(0===n)r=s=o=255*i;else{const t=[0,0,0],a=[0,0,0],l=i<.5?i*(1+n):i+n-i*n,c=2*i-l,u=e/360;t[0]=u+1/3,t[1]=u,t[2]=u-1/3;for(let e=0;e<3;e++)t[e]<0&&(t[e]+=1),t[e]>1&&(t[e]-=1),6*t[e]<1?a[e]=c+6*(l-c)*t[e]:2*t[e]<1?a[e]=l:3*t[e]<2?a[e]=c+(l-c)*(2/3-t[e])*6:a[e]=c;[r,s,o]=[255*a[0],255*a[1],255*a[2]]}return t.length>3?[r,s,o,t[3]]:[r,s,o,1]},Jt=Kt,te=(...t)=>{t=c(t,"rgba");let[e,n,i]=t;e/=255,n/=255,i/=255;const r=p(e,n,i),s=d(e,n,i),o=(s+r)/2;let a,l;return s===r?(a=0,l=Number.NaN):a=o<.5?(s-r)/(s+r):(s-r)/(2-s-r),e==s?l=(n-i)/(s-r):n==s?l=2+(i-e)/(s-r):i==s&&(l=4+(e-n)/(s-r)),l*=60,l<0&&(l+=360),t.length>3&&void 0!==t[3]?[l,a,o,t[3]]:[l,a,o]},ee=te;w.prototype.hsl=function(){return ee(this._rgb)};const ne=(...t)=>new w(...t,"hsl");k.hsl=ne,_.format.hsl=Jt,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"hsl"),"array"===l(t)&&3===t.length)return"hsl"}});const ie=(t,e,n)=>Qt(t,e,n,"hsl");it.hsl=ie;const{floor:re}=Math,se=(...t)=>{t=c(t,"hsv");let e,n,i,[r,s,o]=t;if(o*=255,0===s)e=n=i=o;else{360===r&&(r=0),r>360&&(r-=360),r<0&&(r+=360),r/=60;const t=re(r),a=r-t,l=o*(1-s),c=o*(1-s*a),u=o*(1-s*(1-a));switch(t){case 0:[e,n,i]=[o,u,l];break;case 1:[e,n,i]=[c,o,l];break;case 2:[e,n,i]=[l,o,u];break;case 3:[e,n,i]=[l,c,o];break;case 4:[e,n,i]=[u,l,o];break;case 5:[e,n,i]=[o,l,c];break}}return[e,n,i,t.length>3?t[3]:1]},oe=se,{min:ae,max:le}=Math,ce=(...t)=>{t=c(t,"rgb");let[e,n,i]=t;const r=ae(e,n,i),s=le(e,n,i),o=s-r;let a,l,u;return u=s/255,0===s?(a=Number.NaN,l=0):(l=o/s,e===s&&(a=(n-i)/o),n===s&&(a=2+(i-e)/o),i===s&&(a=4+(e-n)/o),a*=60,a<0&&(a+=360)),[a,l,u]},ue=ce;w.prototype.hsv=function(){return ue(this._rgb)};const he=(...t)=>new w(...t,"hsv");k.hsv=he,_.format.hsv=oe,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"hsv"),"array"===l(t)&&3===t.length)return"hsv"}});const pe=(t,e,n)=>Qt(t,e,n,"hsv");it.hsv=pe;function de(t,e){let n=t.length;Array.isArray(t[0])||(t=[t]),Array.isArray(e[0])||(e=e.map((t=>[t])));let i=e[0].length,r=e[0].map(((t,n)=>e.map((t=>t[n])))),s=t.map((t=>r.map((e=>Array.isArray(t)?t.reduce(((t,n,i)=>t+n*(e[i]||0)),0):e.reduce(((e,n)=>e+n*t),0)))));return 1===n&&(s=s[0]),1===i?s.map((t=>t[0])):s}const fe=(...t)=>{t=c(t,"lab");const[e,n,i,...r]=t,[s,o,a]=Oe([e,n,i]),[l,u,h]=N(s,o,a);return[l,u,h,...r.length>0&&r[0]<1?[r[0]]:[]]};function Oe(t){var e=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],n=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],i=de(n,t);return de(e,i.map((t=>t**3)))}const me=fe,ge=(...t)=>{const[e,n,i,...r]=c(t,"rgb"),s=F(e,n,i),o=ve(s);return[...o,...r.length>0&&r[0]<1?[r[0]]:[]]};function ve(t){const e=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],n=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],i=de(e,t);return de(n,i.map((t=>Math.cbrt(t))))}const ye=ge;w.prototype.oklab=function(){return ye(this._rgb)};const be=(...t)=>new w(...t,"oklab");Object.assign(k,{oklab:be}),_.format.oklab=me,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"oklab"),"array"===l(t)&&3===t.length)return"oklab"}});const _e=(t,e,n)=>{const i=t.oklab(),r=e.oklab();return new w(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"oklab")};it.oklab=_e;const xe=(t,e,n)=>Qt(t,e,n,"oklch");it.oklch=xe;const{pow:we,sqrt:$e,PI:Se,cos:ke,sin:Qe,atan2:Te}=Math,Pe=(t,e="lrgb",n=null)=>{const i=t.length;n||(n=Array.from(new Array(i)).map((()=>1)));const r=i/n.reduce((function(t,e){return t+e}));if(n.forEach(((t,e)=>{n[e]*=r})),t=t.map((t=>new w(t))),"lrgb"===e)return Ce(t,n);const s=t.shift(),o=s.get(e),a=[];let l=0,c=0;for(let h=0;h<o.length;h++)if(o[h]=(o[h]||0)*n[0],a.push(isNaN(o[h])?0:n[0]),"h"===e.charAt(h)&&!isNaN(o[h])){const t=o[h]/180*Se;l+=ke(t)*n[0],c+=Qe(t)*n[0]}let u=s.alpha()*n[0];t.forEach(((t,i)=>{const r=t.get(e);u+=t.alpha()*n[i+1];for(let s=0;s<o.length;s++)if(!isNaN(r[s]))if(a[s]+=n[i+1],"h"===e.charAt(s)){const t=r[s]/180*Se;l+=ke(t)*n[i+1],c+=Qe(t)*n[i+1]}else o[s]+=r[s]*n[i+1]}));for(let h=0;h<o.length;h++)if("h"===e.charAt(h)){let t=Te(c/a[h],l/a[h])/Se*180;while(t<0)t+=360;while(t>=360)t-=360;o[h]=t}else o[h]=o[h]/a[h];return u/=i,new w(o,e).alpha(u>.99999?1:u,!0)},Ce=(t,e)=>{const n=t.length,i=[0,0,0,0];for(let r=0;r<t.length;r++){const s=t[r],o=e[r]/n,a=s._rgb;i[0]+=we(a[0],2)*o,i[1]+=we(a[1],2)*o,i[2]+=we(a[2],2)*o,i[3]+=a[3]*o}return i[0]=$e(i[0]),i[1]=$e(i[1]),i[2]=$e(i[2]),i[3]>.9999999&&(i[3]=1),new w(o(i))},{pow:Ae}=Math;function Ee(t){let e="rgb",n=k("#ccc"),i=0,r=[0,1],o=[],a=[0,0],c=!1,u=[],h=!1,p=0,d=1,f=!1,O={},m=!0,g=1;const v=function(t){if(t=t||["#fff","#000"],t&&"string"===l(t)&&k.brewer&&k.brewer[t.toLowerCase()]&&(t=k.brewer[t.toLowerCase()]),"array"===l(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(let e=0;e<t.length;e++)t[e]=k(t[e]);o.length=0;for(let e=0;e<t.length;e++)o.push(e/(t.length-1))}return w(),u=t},y=function(t){if(null!=c){const e=c.length-1;let n=0;while(n<e&&t>=c[n])n++;return n-1}return 0};let b=t=>t,_=t=>t;const x=function(t,i){let r,h;if(null==i&&(i=!1),isNaN(t)||null===t)return n;if(i)h=t;else if(c&&c.length>2){const e=y(t);h=e/(c.length-2)}else h=d!==p?(t-p)/(d-p):1;h=_(h),i||(h=b(h)),1!==g&&(h=Ae(h,g)),h=a[0]+h*(1-a[0]-a[1]),h=s(h,0,1);const f=Math.floor(1e4*h);if(m&&O[f])r=O[f];else{if("array"===l(u))for(let t=0;t<o.length;t++){const n=o[t];if(h<=n){r=u[t];break}if(h>=n&&t===o.length-1){r=u[t];break}if(h>n&&h<o[t+1]){h=(h-n)/(o[t+1]-n),r=k.interpolate(u[t],u[t+1],h,e);break}}else"function"===l(u)&&(r=u(h));m&&(O[f]=r)}return r};var w=()=>O={};v(t);const $=function(t){const e=k(x(t));return h&&e[h]?e[h]():e};return $.classes=function(t){if(null!=t){if("array"===l(t))c=t,r=[t[0],t[t.length-1]];else{const e=k.analyze(r);c=0===t?[e.min,e.max]:k.limits(e,"e",t)}return $}return c},$.domain=function(t){if(!arguments.length)return r;p=t[0],d=t[t.length-1],o=[];const e=u.length;if(t.length===e&&p!==d)for(let n of Array.from(t))o.push((n-p)/(d-p));else{for(let t=0;t<e;t++)o.push(t/(e-1));if(t.length>2){const e=t.map(((e,n)=>n/(t.length-1))),n=t.map((t=>(t-p)/(d-p)));n.every(((t,n)=>e[n]===t))||(_=t=>{if(t<=0||t>=1)return t;let i=0;while(t>=n[i+1])i++;const r=(t-n[i])/(n[i+1]-n[i]),s=e[i]+r*(e[i+1]-e[i]);return s})}}return r=[p,d],$},$.mode=function(t){return arguments.length?(e=t,w(),$):e},$.range=function(t,e){return v(t,e),$},$.out=function(t){return h=t,$},$.spread=function(t){return arguments.length?(i=t,$):i},$.correctLightness=function(t){return null==t&&(t=!0),f=t,w(),b=f?function(t){const e=x(0,!0).lab()[0],n=x(1,!0).lab()[0],i=e>n;let r=x(t,!0).lab()[0];const s=e+(n-e)*t;let o=r-s,a=0,l=1,c=20;while(Math.abs(o)>.01&&c-- >0)(function(){i&&(o*=-1),o<0?(a=t,t+=.5*(l-t)):(l=t,t+=.5*(a-t)),r=x(t,!0).lab()[0],o=r-s})();return t}:t=>t,$},$.padding=function(t){return null!=t?("number"===l(t)&&(t=[t,t]),a=t,$):a},$.colors=function(e,n){arguments.length<2&&(n="hex");let i=[];if(0===arguments.length)i=u.slice(0);else if(1===e)i=[$(.5)];else if(e>1){const t=r[0],n=r[1]-t;i=Re(0,e,!1).map((i=>$(t+i/(e-1)*n)))}else{t=[];let e=[];if(c&&c.length>2)for(let t=1,n=c.length,i=1<=n;i?t<n:t>n;i?t++:t--)e.push(.5*(c[t-1]+c[t]));else e=r;i=e.map((t=>$(t)))}return k[n]&&(i=i.map((t=>t[n]()))),i},$.cache=function(t){return null!=t?(m=t,$):m},$.gamma=function(t){return null!=t?(g=t,$):g},$.nodata=function(t){return null!=t?(n=k(t),$):n},$}function Re(t,e,n){let i=[],r=t<e,s=n?r?e+1:e-1:e;for(let o=t;r?o<s:o>s;r?o++:o--)i.push(o);return i}const Me=function(t){let e=[1,1];for(let n=1;n<t;n++){let t=[1];for(let n=1;n<=e.length;n++)t[n]=(e[n]||0)+e[n-1];e=t}return e},De=function(t){let e,n,i,r;if(t=t.map((t=>new w(t))),2===t.length)[n,i]=t.map((t=>t.lab())),e=function(t){const e=[0,1,2].map((e=>n[e]+t*(i[e]-n[e])));return new w(e,"lab")};else if(3===t.length)[n,i,r]=t.map((t=>t.lab())),e=function(t){const e=[0,1,2].map((e=>(1-t)*(1-t)*n[e]+2*(1-t)*t*i[e]+t*t*r[e]));return new w(e,"lab")};else if(4===t.length){let s;[n,i,r,s]=t.map((t=>t.lab())),e=function(t){const e=[0,1,2].map((e=>(1-t)*(1-t)*(1-t)*n[e]+3*(1-t)*(1-t)*t*i[e]+3*(1-t)*t*t*r[e]+t*t*t*s[e]));return new w(e,"lab")}}else{if(!(t.length>=5))throw new RangeError("No point in running bezier with only one color.");{let n,i,r;n=t.map((t=>t.lab())),r=t.length-1,i=Me(r),e=function(t){const e=1-t,s=[0,1,2].map((s=>n.reduce(((n,o,a)=>n+i[a]*e**(r-a)*t**a*o[s]),0)));return new w(s,"lab")}}}return e},ze=t=>{const e=De(t);return e.scale=()=>Ee(e),e},{round:je}=Math;w.prototype.rgb=function(t=!0){return!1===t?this._rgb.slice(0,3):this._rgb.slice(0,3).map(je)},w.prototype.rgba=function(t=!0){return this._rgb.slice(0,4).map(((e,n)=>n<3?!1===t?e:je(e):e))};const Ze=(...t)=>new w(...t,"rgb");Object.assign(k,{rgb:Ze}),_.format.rgb=(...t)=>{const e=c(t,"rgba");return void 0===e[3]&&(e[3]=1),e},_.autodetect.push({p:3,test:(...t)=>{if(t=c(t,"rgba"),"array"===l(t)&&(3===t.length||4===t.length&&"number"==l(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});const Ve=(t,e,n)=>{if(!Ve[n])throw new Error("unknown blend mode "+n);return Ve[n](t,e)},Xe=t=>(e,n)=>{const i=k(n).rgb(),r=k(e).rgb();return k.rgb(t(i,r))},We=t=>(e,n)=>{const i=[];return i[0]=t(e[0],n[0]),i[1]=t(e[1],n[1]),i[2]=t(e[2],n[2]),i},qe=t=>t,Ie=(t,e)=>t*e/255,Ne=(t,e)=>t>e?e:t,Le=(t,e)=>t>e?t:e,Be=(t,e)=>255*(1-(1-t/255)*(1-e/255)),Ue=(t,e)=>e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255)),Ye=(t,e)=>255*(1-(1-e/255)/(t/255)),Fe=(t,e)=>255===t?255:(t=e/255*255/(1-t/255),t>255?255:t);Ve.normal=Xe(We(qe)),Ve.multiply=Xe(We(Ie)),Ve.screen=Xe(We(Be)),Ve.overlay=Xe(We(Ue)),Ve.darken=Xe(We(Ne)),Ve.lighten=Xe(We(Le)),Ve.dodge=Xe(We(Fe)),Ve.burn=Xe(We(Ye));const Ge=Ve,{pow:He,sin:Ke,cos:Je}=Math;function tn(t=300,e=-1.5,n=1,i=1,r=[0,1]){let s,a=0;"array"===l(r)?s=r[1]-r[0]:(s=0,r=[r,r]);const c=function(l){const c=m*((t+120)/360+e*l),u=He(r[0]+s*l,i),h=0!==a?n[0]+l*a:n,p=h*u*(1-u)/2,d=Je(c),f=Ke(c),O=u+p*(-.14861*d+1.78277*f),g=u+p*(-.29227*d-.90649*f),v=u+p*(1.97294*d);return k(o([255*O,255*g,255*v,1]))};return c.start=function(e){return null==e?t:(t=e,c)},c.rotations=function(t){return null==t?e:(e=t,c)},c.gamma=function(t){return null==t?i:(i=t,c)},c.hue=function(t){return null==t?n:(n=t,"array"===l(n)?(a=n[1]-n[0],0===a&&(n=n[1])):a=0,c)},c.lightness=function(t){return null==t?r:("array"===l(t)?(r=t,s=t[1]-t[0]):(r=[t,t],s=0),c)},c.scale=()=>k.scale(c),c.hue(n),c}const en="0123456789abcdef",{floor:nn,random:rn}=Math,sn=()=>{let t="#";for(let e=0;e<6;e++)t+=en.charAt(nn(16*rn()));return new w(t,"hex")},{log:on,pow:an,floor:ln,abs:cn}=Math;function un(t,e=null){const n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===l(t)&&(t=Object.values(t)),t.forEach((t=>{e&&"object"===l(t)&&(t=t[e]),void 0===t||null===t||isNaN(t)||(n.values.push(t),n.sum+=t,t<n.min&&(n.min=t),t>n.max&&(n.max=t),n.count+=1)})),n.domain=[n.min,n.max],n.limits=(t,e)=>hn(n,t,e),n}function hn(t,e="equal",n=7){"array"==l(t)&&(t=un(t));const{min:i,max:r}=t,s=t.values.sort(((t,e)=>t-e));if(1===n)return[i,r];const o=[];if("c"===e.substr(0,1)&&(o.push(i),o.push(r)),"e"===e.substr(0,1)){o.push(i);for(let t=1;t<n;t++)o.push(i+t/n*(r-i));o.push(r)}else if("l"===e.substr(0,1)){if(i<=0)throw new Error("Logarithmic scales are only possible for values > 0");const t=Math.LOG10E*on(i),e=Math.LOG10E*on(r);o.push(i);for(let i=1;i<n;i++)o.push(an(10,t+i/n*(e-t)));o.push(r)}else if("q"===e.substr(0,1)){o.push(i);for(let t=1;t<n;t++){const e=(s.length-1)*t/n,i=ln(e);if(i===e)o.push(s[i]);else{const t=e-i;o.push(s[i]*(1-t)+s[i+1]*t)}}o.push(r)}else if("k"===e.substr(0,1)){let t;const e=s.length,a=new Array(e),l=new Array(n);let c=!0,u=0,h=null;h=[],h.push(i);for(let s=1;s<n;s++)h.push(i+s/n*(r-i));h.push(r);while(c){for(let t=0;t<n;t++)l[t]=0;for(let t=0;t<e;t++){const e=s[t];let i,r=Number.MAX_VALUE;for(let s=0;s<n;s++){const n=cn(h[s]-e);n<r&&(r=n,i=s),l[i]++,a[t]=i}}const i=new Array(n);for(let t=0;t<n;t++)i[t]=null;for(let n=0;n<e;n++)t=a[n],null===i[t]?i[t]=s[n]:i[t]+=s[n];for(let t=0;t<n;t++)i[t]*=1/l[t];c=!1;for(let t=0;t<n;t++)if(i[t]!==h[t]){c=!0;break}h=i,u++,u>200&&(c=!1)}const p={};for(let i=0;i<n;i++)p[i]=[];for(let n=0;n<e;n++)t=a[n],p[t].push(s[n]);let d=[];for(let i=0;i<n;i++)d.push(p[i][0]),d.push(p[i][p[i].length-1]);d=d.sort(((t,e)=>t-e)),o.push(d[0]);for(let n=1;n<d.length;n+=2){const t=d[n];isNaN(t)||-1!==o.indexOf(t)||o.push(t)}}return o}const pn=(t,e)=>{t=new w(t),e=new w(e);const n=t.luminance(),i=e.luminance();return n>i?(n+.05)/(i+.05):(i+.05)/(n+.05)},dn=.027,fn=5e-4,On=.1,mn=1.14,gn=.022,vn=1.414,yn=(t,e)=>{t=new w(t),e=new w(e),t.alpha()<1&&(t=rt(e,t,t.alpha(),"rgb"));const n=bn(...t.rgb()),i=bn(...e.rgb()),r=n>=gn?n:n+Math.pow(gn-n,vn),s=i>=gn?i:i+Math.pow(gn-i,vn),o=Math.pow(s,.56)-Math.pow(r,.57),a=Math.pow(s,.65)-Math.pow(r,.62),l=Math.abs(s-r)<fn?0:r<s?o*mn:a*mn,c=Math.abs(l)<On?0:l>0?l-dn:l+dn;return 100*c};function bn(t,e,n){return.2126729*Math.pow(t/255,2.4)+.7151522*Math.pow(e/255,2.4)+.072175*Math.pow(n/255,2.4)}const{sqrt:_n,pow:xn,min:wn,max:$n,atan2:Sn,abs:kn,cos:Qn,sin:Tn,exp:Pn,PI:Cn}=Math;function An(t,e,n=1,i=1,r=1){var s=function(t){return 360*t/(2*Cn)},o=function(t){return 2*Cn*t/360};t=new w(t),e=new w(e);const[a,l,c]=Array.from(t.lab()),[u,h,p]=Array.from(e.lab()),d=(a+u)/2,f=_n(xn(l,2)+xn(c,2)),O=_n(xn(h,2)+xn(p,2)),m=(f+O)/2,g=.5*(1-_n(xn(m,7)/(xn(m,7)+xn(25,7)))),v=l*(1+g),y=h*(1+g),b=_n(xn(v,2)+xn(c,2)),_=_n(xn(y,2)+xn(p,2)),x=(b+_)/2,$=s(Sn(c,v)),S=s(Sn(p,y)),k=$>=0?$:$+360,Q=S>=0?S:S+360,T=kn(k-Q)>180?(k+Q+360)/2:(k+Q)/2,P=1-.17*Qn(o(T-30))+.24*Qn(o(2*T))+.32*Qn(o(3*T+6))-.2*Qn(o(4*T-63));let C=Q-k;C=kn(C)<=180?C:Q<=k?C+360:C-360,C=2*_n(b*_)*Tn(o(C)/2);const A=u-a,E=_-b,R=1+.015*xn(d-50,2)/_n(20+xn(d-50,2)),M=1+.045*x,D=1+.015*x*P,z=30*Pn(-xn((T-275)/25,2)),j=2*_n(xn(x,7)/(xn(x,7)+xn(25,7))),Z=-j*Tn(2*o(z)),V=_n(xn(A/(n*R),2)+xn(E/(i*M),2)+xn(C/(r*D),2)+Z*(E/(i*M))*(C/(r*D)));return $n(0,wn(100,V))}function En(t,e,n="lab"){t=new w(t),e=new w(e);const i=t.get(n),r=e.get(n);let s=0;for(let o in i){const t=(i[o]||0)-(r[o]||0);s+=t*t}return Math.sqrt(s)}const Rn=(...t)=>{try{return new w(...t),!0}catch(e){return!1}},Mn={cool(){return Ee([k.hsl(180,1,.9),k.hsl(250,.7,.4)])},hot(){return Ee(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")}},Dn={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},zn=Object.keys(Dn),jn=new Map(zn.map((t=>[t.toLowerCase(),t]))),Zn="function"===typeof Proxy?new Proxy(Dn,{get(t,e){const n=e.toLowerCase();if(jn.has(n))return t[jn.get(n)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(zn)}}):Dn,Vn=Zn,Xn=(...t)=>{t=c(t,"cmyk");const[e,n,i,r]=t,s=t.length>4?t[4]:1;return 1===r?[0,0,0,s]:[e>=1?0:255*(1-e)*(1-r),n>=1?0:255*(1-n)*(1-r),i>=1?0:255*(1-i)*(1-r),s]},Wn=Xn,{max:qn}=Math,In=(...t)=>{let[e,n,i]=c(t,"rgb");e/=255,n/=255,i/=255;const r=1-qn(e,qn(n,i)),s=r<1?1/(1-r):0,o=(1-e-r)*s,a=(1-n-r)*s,l=(1-i-r)*s;return[o,a,l,r]},Nn=In;w.prototype.cmyk=function(){return Nn(this._rgb)};const Ln=(...t)=>new w(...t,"cmyk");Object.assign(k,{cmyk:Ln}),_.format.cmyk=Wn,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"cmyk"),"array"===l(t)&&4===t.length)return"cmyk"}});const Bn=(...t)=>{const e=c(t,"hsla");let n=u(t)||"lsa";return e[0]=f(e[0]||0)+"deg",e[1]=f(100*e[1])+"%",e[2]=f(100*e[2])+"%","hsla"===n||e.length>3&&e[3]<1?(e[3]="/ "+(e.length>3?e[3]:1),n="hsla"):e.length=3,`${n.substr(0,3)}(${e.join(" ")})`},Un=Bn,Yn=(...t)=>{const e=c(t,"lab");let n=u(t)||"lab";return e[0]=f(e[0])+"%",e[1]=f(e[1]),e[2]=f(e[2]),"laba"===n||e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`lab(${e.join(" ")})`},Fn=Yn,Gn=(...t)=>{const e=c(t,"lch");let n=u(t)||"lab";return e[0]=f(e[0])+"%",e[1]=f(e[1]),e[2]=isNaN(e[2])?"none":f(e[2])+"deg","lcha"===n||e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`lch(${e.join(" ")})`},Hn=Gn,Kn=(...t)=>{const e=c(t,"lab");return e[0]=f(100*e[0])+"%",e[1]=O(e[1]),e[2]=O(e[2]),e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`oklab(${e.join(" ")})`},Jn=Kn,ti=(...t)=>{const[e,n,i,...r]=c(t,"rgb"),[s,o,a]=ye(e,n,i),[l,u,h]=gt(s,o,a);return[l,u,h,...r.length>0&&r[0]<1?[r[0]]:[]]},ei=ti,ni=(...t)=>{const e=c(t,"lch");return e[0]=f(100*e[0])+"%",e[1]=O(e[1]),e[2]=isNaN(e[2])?"none":f(e[2])+"deg",e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`oklch(${e.join(" ")})`},ii=ni,{round:ri}=Math,si=(...t)=>{const e=c(t,"rgba");let n=u(t)||"rgb";if("hsl"===n.substr(0,3))return Un(ee(e),n);if("lab"===n.substr(0,3)){const t=X();V("d50");const i=Fn(G(e),n);return V(t),i}if("lch"===n.substr(0,3)){const t=X();V("d50");const i=Hn(yt(e),n);return V(t),i}return"oklab"===n.substr(0,5)?Jn(ye(e)):"oklch"===n.substr(0,5)?ii(ei(e)):(e[0]=ri(e[0]),e[1]=ri(e[1]),e[2]=ri(e[2]),("rgba"===n||e.length>3&&e[3]<1)&&(e[3]="/ "+(e.length>3?e[3]:1),n="rgba"),`${n.substr(0,3)}(${e.slice(0,"rgb"===n?3:4).join(" ")})`)},oi=si,ai=(...t)=>{t=c(t,"lch");const[e,n,i,...r]=t,[s,o,a]=lt(e,n,i),[l,u,h]=me(s,o,a);return[l,u,h,...r.length>0&&r[0]<1?[r[0]]:[]]},li=ai,ci=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,ui=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,hi=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,pi=/\s*/.source,di=/\s+/.source,fi=/\s*,\s*/.source,Oi=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,mi=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,gi=new RegExp("^rgba?\\("+pi+[ci,ci,ci].join(di)+mi+"\\)$"),vi=new RegExp("^rgb\\("+pi+[ci,ci,ci].join(fi)+pi+"\\)$"),yi=new RegExp("^rgba\\("+pi+[ci,ci,ci,ui].join(fi)+pi+"\\)$"),bi=new RegExp("^hsla?\\("+pi+[Oi,hi,hi].join(di)+mi+"\\)$"),_i=new RegExp("^hsl?\\("+pi+[Oi,hi,hi].join(fi)+pi+"\\)$"),xi=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,wi=new RegExp("^lab\\("+pi+[ui,ui,ui].join(di)+mi+"\\)$"),$i=new RegExp("^lch\\("+pi+[ui,ui,Oi].join(di)+mi+"\\)$"),Si=new RegExp("^oklab\\("+pi+[ui,ui,ui].join(di)+mi+"\\)$"),ki=new RegExp("^oklch\\("+pi+[ui,ui,Oi].join(di)+mi+"\\)$"),{round:Qi}=Math,Ti=t=>t.map(((t,e)=>e<=2?s(Qi(t),0,255):t)),Pi=(t,e=0,n=100,i=!1)=>("string"===typeof t&&t.endsWith("%")&&(t=parseFloat(t.substring(0,t.length-1))/100,t=i?e+.5*(t+1)*(n-e):e+t*(n-e)),+t),Ci=(t,e)=>"none"===t?e:t,Ai=t=>{if(t=t.toLowerCase().trim(),"transparent"===t)return[0,0,0,0];let e;if(_.format.named)try{return _.format.named(t)}catch(n){}if((e=t.match(gi))||(e=t.match(vi))){let t=e.slice(1,4);for(let e=0;e<3;e++)t[e]=+Pi(Ci(t[e],0),0,255);t=Ti(t);const n=void 0!==e[4]?+Pi(e[4],0,1):1;return t[3]=n,t}if(e=t.match(yi)){const t=e.slice(1,5);for(let e=0;e<4;e++)t[e]=+Pi(t[e],0,255);return t}if((e=t.match(bi))||(e=t.match(_i))){const t=e.slice(1,4);t[0]=+Ci(t[0].replace("deg",""),0),t[1]=.01*+Pi(Ci(t[1],0),0,100),t[2]=.01*+Pi(Ci(t[2],0),0,100);const n=Ti(Jt(t)),i=void 0!==e[4]?+Pi(e[4],0,1):1;return n[3]=i,n}if(e=t.match(xi)){const t=e.slice(1,4);t[1]*=.01,t[2]*=.01;const n=Jt(t);for(let e=0;e<3;e++)n[e]=Qi(n[e]);return n[3]=+e[4],n}if(e=t.match(wi)){const t=e.slice(1,4);t[0]=Pi(Ci(t[0],0),0,100),t[1]=Pi(Ci(t[1],0),-125,125,!0),t[2]=Pi(Ci(t[2],0),-125,125,!0);const n=X();V("d50");const i=Ti(L(t));V(n);const r=void 0!==e[4]?+Pi(e[4],0,1):1;return i[3]=r,i}if(e=t.match($i)){const t=e.slice(1,4);t[0]=Pi(t[0],0,100),t[1]=Pi(Ci(t[1],0),0,150,!1),t[2]=+Ci(t[2].replace("deg",""),0);const n=X();V("d50");const i=Ti(ut(t));V(n);const r=void 0!==e[4]?+Pi(e[4],0,1):1;return i[3]=r,i}if(e=t.match(Si)){const t=e.slice(1,4);t[0]=Pi(Ci(t[0],0),0,1),t[1]=Pi(Ci(t[1],0),-.4,.4,!0),t[2]=Pi(Ci(t[2],0),-.4,.4,!0);const n=Ti(me(t)),i=void 0!==e[4]?+Pi(e[4],0,1):1;return n[3]=i,n}if(e=t.match(ki)){const t=e.slice(1,4);t[0]=Pi(Ci(t[0],0),0,1),t[1]=Pi(Ci(t[1],0),0,.4,!1),t[2]=+Ci(t[2].replace("deg",""),0);const n=Ti(li(t)),i=void 0!==e[4]?+Pi(e[4],0,1):1;return n[3]=i,n}};Ai.test=t=>gi.test(t)||bi.test(t)||wi.test(t)||$i.test(t)||Si.test(t)||ki.test(t)||vi.test(t)||yi.test(t)||_i.test(t)||xi.test(t)||"transparent"===t;const Ei=Ai;w.prototype.css=function(t){return oi(this._rgb,t)};const Ri=(...t)=>new w(...t,"css");k.css=Ri,_.format.css=Ei,_.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&"string"===l(t)&&Ei.test(t))return"css"}}),_.format.gl=(...t)=>{const e=c(t,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e};const Mi=(...t)=>new w(...t,"gl");k.gl=Mi,w.prototype.gl=function(){const t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]},w.prototype.hex=function(t){return D(this._rgb,t)};const Di=(...t)=>new w(...t,"hex");k.hex=Di,_.format.hex=E,_.autodetect.push({p:4,test:(t,...e)=>{if(!e.length&&"string"===l(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});const{log:zi}=Math,ji=t=>{const e=t/100;let n,i,r;return e<66?(n=255,i=e<6?0:-155.25485562709179-.44596950469579133*(i=e-2)+104.49216199393888*zi(i),r=e<20?0:.8274096064007395*(r=e-10)-254.76935184120902+115.67994401066147*zi(r)):(n=351.97690566805693+.114206453784165*(n=e-55)-40.25366309332127*zi(n),i=325.4494125711974+.07943456536662342*(i=e-50)-28.0852963507957*zi(i),r=255),[n,i,r,1]},Zi=ji,{round:Vi}=Math,Xi=(...t)=>{const e=c(t,"rgb"),n=e[0],i=e[2];let r=1e3,s=4e4;const o=.4;let a;while(s-r>o){a=.5*(s+r);const t=Zi(a);t[2]/t[0]>=i/n?s=a:r=a}return Vi(a)},Wi=Xi;w.prototype.temp=w.prototype.kelvin=w.prototype.temperature=function(){return Wi(this._rgb)};const qi=(...t)=>new w(...t,"temp");Object.assign(k,{temp:qi,kelvin:qi,temperature:qi}),_.format.temp=_.format.kelvin=_.format.temperature=Zi,w.prototype.oklch=function(){return ei(this._rgb)};const Ii=(...t)=>new w(...t,"oklch");Object.assign(k,{oklch:Ii}),_.format.oklch=li,_.autodetect.push({p:2,test:(...t)=>{if(t=c(t,"oklch"),"array"===l(t)&&3===t.length)return"oklch"}}),Object.assign(k,{analyze:un,average:Pe,bezier:ze,blend:Ge,brewer:Vn,Color:w,colors:T,contrast:pn,contrastAPCA:yn,cubehelix:tn,deltaE:An,distance:En,input:_,interpolate:rt,limits:hn,mix:rt,random:sn,scale:Ee,scales:Mn,valid:Rn});const Ni=k},18580:(t,e,n)=>{"use strict";function i(){var t=arguments[0];"string"==typeof t&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var s=n[i];"string"==typeof s?t.setAttribute(i,s):null!=s&&(t[i]=s)}e++}for(;e<arguments.length;e++)r(t,arguments[e]);return t}function r(t,e){if("string"==typeof e)t.appendChild(document.createTextNode(e));else if(null==e);else if(null!=e.nodeType)t.appendChild(e);else{if(!Array.isArray(e))throw new RangeError("Unsupported child node: "+e);for(var n=0;n<e.length;n++)r(t,e[n])}}n.d(e,{Z:()=>i})},95986:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>J});var i=Function.prototype.toString,r=Object.create,s=Object.prototype.toString,o=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();function a(){return new o}function l(){return new WeakMap}var c="undefined"!==typeof WeakMap?l:a;function u(t){if(!t)return r(null);var e=t.constructor;if(e===Object)return t===Object.prototype?{}:r(t);if(~i.call(e).indexOf("[native code]"))try{return new e}catch(_){}return r(t)}function h(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}function p(t){return t.flags}var d="g"===/test/g.flags?p:h;function f(t){var e=s.call(t);return e.substring(8,e.length-1)}function O(t){return t[Symbol.toStringTag]||f(t)}var m="undefined"!==typeof Symbol?O:f,g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,_=Object.prototype,x=_.hasOwnProperty,w=_.propertyIsEnumerable,$="function"===typeof b;function S(t){return y(t).concat(b(t))}var k=$?S:y;function Q(t,e,n){for(var i=k(t),r=0,s=i.length,o=void 0,a=void 0;r<s;++r)if(o=i[r],"callee"!==o&&"caller"!==o)if(a=v(t,o),a){a.get||a.set||(a.value=n.copier(a.value,n));try{g(e,o,a)}catch(l){e[o]=a.value}}else e[o]=n.copier(t[o],n);return e}function T(t,e){var n=new e.Constructor;e.cache.set(t,n);for(var i=0,r=t.length;i<r;++i)n[i]=e.copier(t[i],e);return n}function P(t,e){var n=new e.Constructor;return e.cache.set(t,n),Q(t,n,e)}function C(t,e){return t.slice(0)}function A(t,e){return t.slice(0,t.size,t.type)}function E(t,e){return new e.Constructor(C(t.buffer))}function R(t,e){return new e.Constructor(t.getTime())}function M(t,e){var n=new e.Constructor;return e.cache.set(t,n),t.forEach((function(t,i){n.set(i,e.copier(t,e))})),n}function D(t,e){return Q(t,M(t,e),e)}function z(t,e){var n=u(e.prototype);for(var i in e.cache.set(t,n),t)x.call(t,i)&&(n[i]=e.copier(t[i],e));return n}function j(t,e){var n=u(e.prototype);for(var i in e.cache.set(t,n),t)x.call(t,i)&&(n[i]=e.copier(t[i],e));for(var r=b(t),s=0,o=r.length,a=void 0;s<o;++s)a=r[s],w.call(t,a)&&(n[a]=e.copier(t[a],e));return n}var Z=$?j:z;function V(t,e){var n=u(e.prototype);return e.cache.set(t,n),Q(t,n,e)}function X(t,e){return new e.Constructor(t.valueOf())}function W(t,e){var n=new e.Constructor(t.source,d(t));return n.lastIndex=t.lastIndex,n}function q(t,e){return t}function I(t,e){var n=new e.Constructor;return e.cache.set(t,n),t.forEach((function(t){n.add(e.copier(t,e))})),n}function N(t,e){return Q(t,I(t,e),e)}var L=Array.isArray,B=Object.assign,U=Object.getPrototypeOf,Y={array:T,arrayBuffer:C,blob:A,dataView:E,date:R,error:q,map:M,object:Z,regExp:W,set:I},F=B({},Y,{array:P,map:D,object:V,set:N});function G(t){return{Arguments:t.object,Array:t.array,ArrayBuffer:t.arrayBuffer,Blob:t.blob,Boolean:X,DataView:t.dataView,Date:t.date,Error:t.error,Float32Array:t.arrayBuffer,Float64Array:t.arrayBuffer,Int8Array:t.arrayBuffer,Int16Array:t.arrayBuffer,Int32Array:t.arrayBuffer,Map:t.map,Number:X,Object:t.object,Promise:q,RegExp:t.regExp,Set:t.set,String:X,WeakMap:q,WeakSet:q,Uint8Array:t.arrayBuffer,Uint8ClampedArray:t.arrayBuffer,Uint16Array:t.arrayBuffer,Uint32Array:t.arrayBuffer,Uint64Array:t.arrayBuffer}}function H(t){var e=B({},Y,t),n=G(e),i=n.Array,r=n.Object;function s(t,e){if(e.prototype=e.Constructor=void 0,!t||"object"!==typeof t)return t;if(e.cache.has(t))return e.cache.get(t);if(e.prototype=t.__proto__||U(t),e.Constructor=e.prototype&&e.prototype.constructor,!e.Constructor||e.Constructor===Object)return r(t,e);if(L(t))return i(t,e);var s=n[m(t)];return s?s(t,e):"function"===typeof t.then?t:r(t,e)}return function(t){return s(t,{Constructor:void 0,cache:c(),copier:s,prototype:void 0})}}function K(t){return H(B({},F,t))}K({});var J=H({})},16631:(t,e,n)=>{"use strict";n.d(e,{af:()=>P,U:()=>u,ZZ:()=>k,jG:()=>S,w7:()=>$,is:()=>w});var i={};n.r(i),n.d(i,{JsonPatchError:()=>g,_areEquals:()=>R,applyOperation:()=>T,applyPatch:()=>P,applyReducer:()=>C,deepClone:()=>v,getValueByPointer:()=>Q,overrideArrOperation:()=>k,overrideObjOperation:()=>S,restoreOriginalArrOperation:()=>$,restoreOriginalObjOperation:()=>w,validate:()=>E,validator:()=>A});var r={};n.r(r),n.d(r,{compare:()=>N,generate:()=>q,observe:()=>W,unobserve:()=>X});
/*!
* https://github.com/Starcounter-Jack/JSON-Patch
* (c) 2017 Joachim Wester
* MIT license
*/
var s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=Object.prototype.hasOwnProperty;function a(t,e){return o.call(t,e)}function l(t){if(Array.isArray(t)){for(var e=new Array(t.length),n=0;n<e.length;n++)e[n]=""+n;return e}if(Object.keys)return Object.keys(t);e=[];for(var i in t)a(t,i)&&e.push(i);return e}function c(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function u(t){var e,n=0,i=t.length;while(n<i){if(e=t.charCodeAt(n),!(e>=48&&e<=57))return!1;n++}return!0}function h(t){return-1===t.indexOf("/")&&-1===t.indexOf("~")?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function p(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function d(t){if(void 0===t)return!0;if(t)if(Array.isArray(t)){for(var e=0,n=t.length;e<n;e++)if(d(t[e]))return!0}else if("object"===typeof t){var i=l(t),r=i.length;for(e=0;e<r;e++)if(d(t[i[e]]))return!0}return!1}function f(t,e){var n=[t];for(var i in e){var r="object"===typeof e[i]?JSON.stringify(e[i],null,2):e[i];"undefined"!==typeof r&&n.push(i+": "+r)}return n.join("\n")}var O=function(t){function e(e,n,i,r,s){var o=this.constructor,a=t.call(this,f(e,{name:n,index:i,operation:r,tree:s}))||this;return a.name=n,a.index=i,a.operation=r,a.tree=s,Object.setPrototypeOf(a,o.prototype),a.message=f(e,{name:n,index:i,operation:r,tree:s}),a}return s(e,t),e}(Error),m=function(){return m=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},m.apply(this,arguments)},g=O,v=c,y={add:function(t,e,n){return t[e]=this.value,{newDocument:n}},remove:function(t,e,n){var i=t[e];return delete t[e],{newDocument:n,removed:i}},replace:function(t,e,n){var i=t[e];return t[e]=this.value,{newDocument:n,removed:i}},move:function(t,e,n){var i=Q(n,this.path);i&&(i=c(i));var r=T(n,{op:"remove",path:this.from}).removed;return T(n,{op:"add",path:this.path,value:r}),{newDocument:n,removed:i}},copy:function(t,e,n){var i=Q(n,this.from);return T(n,{op:"add",path:this.path,value:c(i)}),{newDocument:n}},test:function(t,e,n){return{newDocument:n,test:R(t[e],this.value)}},_get:function(t,e,n){return this.value=t[e],{newDocument:n}}},b={add:function(t,e,n){return u(e)?t.splice(e,0,this.value):t[e]=this.value,{newDocument:n,index:e}},remove:function(t,e,n){var i=t.splice(e,1);return{newDocument:n,removed:i[0]}},replace:function(t,e,n){var i=t[e];return t[e]=this.value,{newDocument:n,removed:i}},move:y.move,copy:y.copy,test:y.test,_get:y._get},_=m({},y),x=m({},b,{move:_.move,copy:_.copy,test:_.test,_get:_._get});function w(t){_[t]=y[t]}function $(t){x[t]=b[t]}function S(t,e){_[t]=e}function k(t,e){x[t]=e}function Q(t,e){if(""==e)return t;var n={op:"_get",path:e};return T(t,n),n.value}function T(t,e,n,i,r,s){if(void 0===n&&(n=!1),void 0===i&&(i=!0),void 0===r&&(r=!0),void 0===s&&(s=0),n&&("function"==typeof n?n(e,0,t,e.path):A(e,0)),""===e.path){var o={newDocument:t};if("add"===e.op)return o.newDocument=e.value,o;if("replace"===e.op)return o.newDocument=e.value,o.removed=t,o;if("move"===e.op||"copy"===e.op)return o.newDocument=Q(t,e.from),"move"===e.op&&(o.removed=t),o;if("test"===e.op){if(o.test=R(t,e.value),!1===o.test)throw new g("Test operation failed","TEST_OPERATION_FAILED",s,e,t);return o.newDocument=t,o}if("remove"===e.op)return o.removed=t,o.newDocument=null,o;if("_get"===e.op)return e.value=t,o;if(n)throw new g("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",s,e,t);return o}i||(t=c(t));var a=e.path||"",l=a.split("/"),h=t,d=1,f=l.length,O=void 0,m=void 0,v=void 0;v="function"==typeof n?n:A;while(1){if(m=l[d],m&&-1!=m.indexOf("~")&&(m=p(m)),r&&("__proto__"==m||"prototype"==m&&d>0&&"constructor"==l[d-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&void 0===O&&(void 0===h[m]?O=l.slice(0,d).join("/"):d==f-1&&(O=e.path),void 0!==O&&v(e,0,t,O)),d++,Array.isArray(h)){if("-"===m)m=h.length;else{if(n&&!u(m))throw new g("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",s,e,t);u(m)&&(m=~~m)}if(d>=f){if(n&&"add"===e.op&&m>h.length)throw new g("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",s,e,t);o=x[e.op].call(e,h,m,t);if(!1===o.test)throw new g("Test operation failed","TEST_OPERATION_FAILED",s,e,t);return o}}else if(d>=f){o=_[e.op].call(e,h,m,t);if(!1===o.test)throw new g("Test operation failed","TEST_OPERATION_FAILED",s,e,t);return o}if(h=h[m],n&&d<f&&(!h||"object"!==typeof h))throw new g("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",s,e,t)}}function P(t,e,n,i,r){if(void 0===i&&(i=!0),void 0===r&&(r=!0),n&&!Array.isArray(e))throw new g("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");i||(t=c(t));for(var s=new Array(e.length),o=0,a=e.length;o<a;o++)s[o]=T(t,e[o],n,!0,r,o),t=s[o].newDocument;return s.newDocument=t,s}function C(t,e,n){var i=T(t,e);if(!1===i.test)throw new g("Test operation failed","TEST_OPERATION_FAILED",n,e,t);return i.newDocument}function A(t,e,n,i){if("object"!==typeof t||null===t||Array.isArray(t))throw new g("Operation is not an object","OPERATION_NOT_AN_OBJECT",e,t,n);if(!_[t.op])throw new g("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",e,t,n);if("string"!==typeof t.path)throw new g("Operation `path` property is not a string","OPERATION_PATH_INVALID",e,t,n);if(0!==t.path.indexOf("/")&&t.path.length>0)throw new g('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,t,n);if(("move"===t.op||"copy"===t.op)&&"string"!==typeof t.from)throw new g("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&void 0===t.value)throw new g("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&d(t.value))throw new g("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",e,t,n);if(n)if("add"==t.op){var r=t.path.split("/").length,s=i.split("/").length;if(r!==s+1&&r!==s)throw new g("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",e,t,n)}else if("replace"===t.op||"remove"===t.op||"_get"===t.op){if(t.path!==i)throw new g("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",e,t,n)}else if("move"===t.op||"copy"===t.op){var o={op:"_get",path:t.from,value:void 0},a=E([o],n);if(a&&"OPERATION_PATH_UNRESOLVABLE"===a.name)throw new g("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",e,t,n)}}function E(t,e,n){try{if(!Array.isArray(t))throw new g("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(e)P(c(e),c(t),n||!0);else{n=n||A;for(var i=0;i<t.length;i++)n(t[i],i,e,void 0)}}catch(r){if(r instanceof g)return r;throw r}}function R(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,i,r,s=Array.isArray(t),o=Array.isArray(e);if(s&&o){if(i=t.length,i!=e.length)return!1;for(n=i;0!==n--;)if(!R(t[n],e[n]))return!1;return!0}if(s!=o)return!1;var a=Object.keys(t);if(i=a.length,i!==Object.keys(e).length)return!1;for(n=i;0!==n--;)if(!e.hasOwnProperty(a[n]))return!1;for(n=i;0!==n--;)if(r=a[n],!R(t[r],e[r]))return!1;return!0}return t!==t&&e!==e}
/*!
* https://github.com/Starcounter-Jack/JSON-Patch
* (c) 2017-2021 Joachim Wester
* MIT license
*/
var M=new WeakMap,D=function(){function t(t){this.observers=new Map,this.obj=t}return t}(),z=function(){function t(t,e){this.callback=t,this.observer=e}return t}();function j(t){return M.get(t)}function Z(t,e){return t.observers.get(e)}function V(t,e){t.observers.delete(e.callback)}function X(t,e){e.unobserve()}function W(t,e){var n,i=[],r=j(t);if(r){var s=Z(r,e);n=s&&s.observer}else r=new D(t),M.set(t,r);if(n)return n;if(n={},r.value=c(t),e){n.callback=e,n.next=null;var o=function(){q(n)},a=function(){clearTimeout(n.next),n.next=setTimeout(o)};"undefined"!==typeof window&&(window.addEventListener("mouseup",a),window.addEventListener("keyup",a),window.addEventListener("mousedown",a),window.addEventListener("keydown",a),window.addEventListener("change",a))}return n.patches=i,n.object=t,n.unobserve=function(){q(n),clearTimeout(n.next),V(r,n),"undefined"!==typeof window&&(window.removeEventListener("mouseup",a),window.removeEventListener("keyup",a),window.removeEventListener("mousedown",a),window.removeEventListener("keydown",a),window.removeEventListener("change",a))},r.observers.set(e,new z(e,n)),n}function q(t,e){void 0===e&&(e=!1);var n=M.get(t.object);I(n.value,t.object,t.patches,"",e),t.patches.length&&P(n.value,t.patches);var i=t.patches;return i.length>0&&(t.patches=[],t.callback&&t.callback(i)),i}function I(t,e,n,i,r){if(e!==t){"function"===typeof e.toJSON&&(e=e.toJSON());for(var s=l(e),o=l(t),u=!1,p=o.length-1;p>=0;p--){var d=o[p],f=t[d];if(!a(e,d)||void 0===e[d]&&void 0!==f&&!1===Array.isArray(e))Array.isArray(t)===Array.isArray(e)?(r&&n.push({op:"test",path:i+"/"+h(d),value:c(f)}),n.push({op:"remove",path:i+"/"+h(d)}),u=!0):(r&&n.push({op:"test",path:i,value:t}),n.push({op:"replace",path:i,value:e}),!0);else{var O=e[d];"object"==typeof f&&null!=f&&"object"==typeof O&&null!=O&&Array.isArray(f)===Array.isArray(O)?I(f,O,n,i+"/"+h(d),r):f!==O&&(!0,r&&n.push({op:"test",path:i+"/"+h(d),value:c(f)}),n.push({op:"replace",path:i+"/"+h(d),value:c(O)}))}}if(u||s.length!=o.length)for(p=0;p<s.length;p++){d=s[p];a(t,d)||void 0===e[d]||n.push({op:"add",path:i+"/"+h(d),value:c(e[d])})}}}function N(t,e,n){void 0===n&&(n=!1);var i=[];return I(t,e,i,"",n),i}Object.assign({},i,r,{JsonPatchError:O,deepClone:c,escapePathComponent:h,unescapePathComponent:p,isInteger:u})},87808:(t,e,n)=>{"use strict";n.d(e,{K:()=>Ot});class i extends Error{constructor(t,e){super(t+" at position "+e),this.position=e}}const r=92,s=47,o=42,a=123,l=125,c=91,u=93,h=40,p=41,d=32,f=10,O=9,m=13,g=8,v=12,y=34,b=43,_=45,x=39,w=48,$=57,S=44,k=46,Q=58,T=59,P=65,C=97,A=69,E=101,R=70,M=102,D=160,z=8192,j=8202,Z=8239,V=8287,X=12288,W=8220,q=8221,I=8216,N=8217,L=96,B=180;function U(t){return t>=w&&t<=$||t>=P&&t<=R||t>=C&&t<=M}function Y(t){return t>=w&&t<=$}function F(t){return t>=32&&t<=1114111}function G(t){return H.test(t)||it(t.charCodeAt(0))}const H=/^[,:[\]{}()\n+]$/;function K(t){return J.test(t)||t&&it(t.charCodeAt(0))}const J=/^[[{\w-]$/;function tt(t){return t===f||t===m||t===O||t===g||t===v}function et(t){return t===d||t===f||t===O||t===m}function nt(t){return t===D||t>=z&&t<=j||t===Z||t===V||t===X}function it(t){return rt(t)||ot(t)}function rt(t){return t===y||t===W||t===q}function st(t){return t===y}function ot(t){return t===x||t===I||t===N||t===L||t===B}function at(t){return t===x}function lt(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=t.lastIndexOf(e);return-1!==i?t.substring(0,i)+(n?"":t.substring(i+1)):t}function ct(t,e){let n=t.length;if(!et(t.charCodeAt(n-1)))return t+e;while(et(t.charCodeAt(n-1)))n--;return t.substring(0,n)+e+t.substring(n)}function ut(t,e,n){return t.substring(0,e)+t.substring(e+n)}function ht(t){return/[,\n][ \t\r]*$/.test(t)}function pt(t,e){let n=e;while(et(t.charCodeAt(n)))n++;return t.charAt(n)}const dt={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},ft={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function Ot(t){let e=0,n="";const d=m();d||L();const O=w(S);O&&g(),K(t[e])&&ht(n)?(O||(n=ct(n,",")),M()):O&&(n=lt(n,","));while(t.charCodeAt(e)===l||t.charCodeAt(e)===u)e++,g();if(e>=t.length)return n;function m(){g();const t=C()||R()||D()||j()||Z()||X();return g(),t}function g(){const t=e;let n=v();do{n=x(),n&&(n=v())}while(n);return e>t}function v(){let i,r="";while((i=et(t.charCodeAt(e)))||nt(t.charCodeAt(e)))r+=i?t[e]:" ",e++;return r.length>0&&(n+=r,!0)}function x(){if(t.charCodeAt(e)===s&&t.charCodeAt(e+1)===o){while(e<t.length&&!mt(t,e))e++;return e+=2,!0}if(t.charCodeAt(e)===s&&t.charCodeAt(e+1)===s){while(e<t.length&&t.charCodeAt(e)!==f)e++;return!0}return!1}function w(i){return t.charCodeAt(e)===i&&(n+=t[e],e++,!0)}function $(n){return t.charCodeAt(e)===n&&(e++,!0)}function P(){return $(r)}function C(){if(t.charCodeAt(e)===a){n+="{",e++,g();let i=!0;while(e<t.length&&t.charCodeAt(e)!==l){let r;i?(r=!0,i=!1):(r=w(S),r||(n=ct(n,",")),g());const s=D()||X();if(!s){t.charCodeAt(e)===l||t.charCodeAt(e)===a||t.charCodeAt(e)===u||t.charCodeAt(e)===c||void 0===t[e]?n=lt(n,","):B();break}g();const o=w(Q),h=e>=t.length;o||(K(t[e])||h?n=ct(n,":"):H());const p=m();p||(o||h?n+="null":H())}return t.charCodeAt(e)===l?(n+="}",e++):n=ct(n,"}"),!0}return!1}function R(){if(t.charCodeAt(e)===c){n+="[",e++,g();let i=!0;while(e<t.length&&t.charCodeAt(e)!==u){if(i)i=!1;else{const t=w(S);t||(n=ct(n,","))}const t=m();if(!t){n=lt(n,",");break}}return t.charCodeAt(e)===u?(n+="]",e++):n=ct(n,"]"),!0}return!1}function M(){let t=!0,e=!0;while(e){if(t)t=!1;else{const t=w(S);t||(n=ct(n,","))}e=m()}e||(n=lt(n,",")),n=`[\n${n}\n]`}function D(){let i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=t.charCodeAt(e)===r;if(s&&(e++,s=!0),it(t.charCodeAt(e))){const o=st(t.charCodeAt(e))?st:at(t.charCodeAt(e))?at:ot(t.charCodeAt(e))?ot:rt,a=e;let l='"';e++;const c=i?e=>G(t[e]):e=>o(t.charCodeAt(e));while(e<t.length&&!c(e)){if(t.charCodeAt(e)===r){const n=t.charAt(e+1),i=ft[n];if(void 0!==i)l+=t.slice(e,e+2),e+=2;else if("u"===n){let n=2;while(n<6&&U(t.charCodeAt(e+n)))n++;6===n?(l+=t.slice(e,e+6),e+=6):e+n>=t.length?e=t.length:J()}else l+=n,e+=2}else{const n=t.charAt(e),i=t.charCodeAt(e);i===y&&t.charCodeAt(e-1)!==r?(l+="\\"+n,e++):tt(i)?(l+=dt[n],e++):(F(i)||I(n),l+=n,e++)}if(s){P()}}const u=it(t.charCodeAt(e)),h=u&&(e+1>=t.length||G(pt(t,e+1)));return h||i?(u?(l+='"',e++):l=ct(l,'"'),n+=l,z(),!0):(e=a,D(!0))}return!1}function z(){let i=!1;g();while(t.charCodeAt(e)===b){i=!0,e++,g(),n=lt(n,'"',!0);const t=n.length,r=D();n=r?ut(n,t,1):ct(n,'"')}return i}function j(){const i=e;if(t.charCodeAt(e)===_&&(e++,q(i)))return!0;while(Y(t.charCodeAt(e)))e++;if(t.charCodeAt(e)===k){if(e++,q(i))return!0;while(Y(t.charCodeAt(e)))e++}if(t.charCodeAt(e)===E||t.charCodeAt(e)===A){if(e++,t.charCodeAt(e)!==_&&t.charCodeAt(e)!==b||e++,q(i))return!0;while(Y(t.charCodeAt(e)))e++}if(e>i){const r=t.slice(i,e),s=/^0\d/.test(r);return n+=s?`"${r}"`:r,!0}return!1}function Z(){return V("true","true")||V("false","false")||V("null","null")||V("True","true")||V("False","false")||V("None","null")}function V(i,r){return t.slice(e,e+i.length)===i&&(n+=r,e+=i.length,!0)}function X(){const i=e;while(e<t.length&&!G(t[e]))e++;if(e>i){if(t.charCodeAt(e)===h)return e++,m(),t.charCodeAt(e)===p&&(e++,t.charCodeAt(e)===T&&e++),!0;{while(et(t.charCodeAt(e-1))&&e>0)e--;const r=t.slice(i,e);return n+="undefined"===r?"null":JSON.stringify(r),t.charCodeAt(e)===y&&e++,!0}}}function W(n){if(!Y(t.charCodeAt(e))){const r=t.slice(n,e);throw new i(`Invalid number '${r}', expecting a digit ${Ot()}`,e)}}function q(i){return e>=t.length?(n+=t.slice(i,e)+"0",!0):(W(i),!1)}function I(t){throw new i("Invalid character "+JSON.stringify(t),e)}function N(){throw new i("Unexpected character "+JSON.stringify(t[e]),e)}function L(){throw new i("Unexpected end of json string",t.length)}function B(){throw new i("Object key expected",e)}function H(){throw new i("Colon expected",e)}function J(){const n=t.slice(e,e+6);throw new i(`Invalid unicode character "${n}"`,e)}function Ot(){return t[e]?`but got '${t[e]}'`:"but reached end of input"}N()}function mt(t,e){return"*"===t[e]&&"/"===t[e+1]}},28699:(t,e,n)=>{"use strict";n.d(e,{V:()=>a});const i="ͼ",r="undefined"==typeof Symbol?"__"+i:Symbol.for(i),s="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class a{constructor(t,e){this.rules=[];let{finish:n}=e||{};function i(t){return/^@/.test(t)?[t]:t.split(/,\s*/)}function r(t,e,s,o){let a=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==e)return s.push(t[0]+";");for(let n in e){let o=e[n];if(/&/.test(n))r(n.split(/,\s*/).map((e=>t.map((t=>e.replace(/&/,t))))).reduce(((t,e)=>t.concat(e))),o,s);else if(o&&"object"==typeof o){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");r(i(n),o,a,c)}else null!=o&&a.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+": "+o+";")}(a.length||c)&&s.push((!n||l||o?t:t.map(n)).join(", ")+" {"+a.join(" ")+"}")}for(let s in t)r(i(s),t[s],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let t=o[r]||1;return o[r]=t+1,i+t.toString(36)}static mount(t,e,n){let i=t[s],r=n&&n.nonce;i?r&&i.setNonce(r):i=new c(t,r),i.mount(Array.isArray(e)?e:[e],t)}}let l=new Map;class c{constructor(t,e){let n=t.ownerDocument||t,i=n.defaultView;if(!t.head&&t.adoptedStyleSheets&&i.CSSStyleSheet){let e=l.get(n);if(e)return t[s]=e;this.sheet=new i.CSSStyleSheet,l.set(n,this)}else this.styleTag=n.createElement("style"),e&&this.styleTag.setAttribute("nonce",e);this.modules=[],t[s]=this}mount(t,e){let n=this.sheet,i=0,r=0;for(let s=0;s<t.length;s++){let e=t[s],o=this.modules.indexOf(e);if(o<r&&o>-1&&(this.modules.splice(o,1),r--,o=-1),-1==o){if(this.modules.splice(r++,0,e),n)for(let t=0;t<e.rules.length;t++)n.insertRule(e.rules[t],i++)}else{while(r<o)i+=this.modules[r++].rules.length;i+=e.rules.length,r++}}if(n)e.adoptedStyleSheets.indexOf(this.sheet)<0&&(e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets]);else{let t="";for(let e=0;e<this.modules.length;e++)t+=this.modules[e].getRules()+"\n";this.styleTag.textContent=t;let n=e.head||e;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}},33952:(t,e,n)=>{"use strict";n.d(e,{YG:()=>d,uY:()=>r,ue:()=>i});for(var i={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:"'",229:"q"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),o="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),a="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),l="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),c="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),u=s&&(l||+s[1]<57)||a&&l,h=0;h<10;h++)i[48+h]=i[96+h]=String(h);for(h=1;h<=24;h++)i[h+111]="F"+h;for(h=65;h<=90;h++)i[h]=String.fromCharCode(h+32),r[h]=String.fromCharCode(h);for(var p in i)r.hasOwnProperty(p)||(r[p]=i[p]);function d(t){var e=u&&(t.ctrlKey||t.altKey||t.metaKey)||(o||c)&&t.shiftKey&&t.key&&1==t.key.length,n=!e&&t.key||(t.shiftKey?r:i)[t.keyCode]||t.key||"Unidentified";return"Esc"==n&&(n="Escape"),"Del"==n&&(n="Delete"),"Left"==n&&(n="ArrowLeft"),"Up"==n&&(n="ArrowUp"),"Right"==n&&(n="ArrowRight"),"Down"==n&&(n="ArrowDown"),n}}}]);
//# sourceMappingURL=chunk-vendors.a8dd0b3d.js.map