PageSourceSearch

https://naven-documentation.vercel.app/main.c4c3fadeebf0b918540a.js

js naven-documentation.vercel.app collected 2026-10-03 07:21:54 UTC 1,574,696 bytes, 382 lines download raw bytes

1!function(){var e,t,n,r,i,o,a,s,l,c,u,d={2930:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjI1MCIgdmlld0JveD0iMCAwIDUwMCAyNTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPgo8cGF0aCBkPSJNNTYuNzEzOSA5Ni43NTJMNTcuMzczIDEwNS45MDdDNjMuMDM3MSA5OC44MjcxIDcwLjYyOTkgOTUuMjg3MSA4MC4xNTE0IDk1LjI4NzFDODguNTQ5OCA5NS4yODcxIDk0Ljc5OTggOTcuNzUyOSA5OC45MDE0IDEwMi42ODVDMTAzLjAwMyAxMDcuNjE2IDEwNS4xMDMgMTE0Ljk4OSAxMDUuMiAxMjQuODA0VjE3Nkg4NC4wMzMyVjEyNS4zMTZDODQuMDMzMiAxMjAuODI0IDgzLjA1NjYgMTE3LjU3NyA4MS4xMDM1IDExNS41NzVDNzkuMTUwNCAxMTMuNTI0IDc1LjkwMzMgMTEyLjQ5OSA3MS4zNjIzIDExMi40OTlDNjUuNDA1MyAxMTIuNDk5IDYwLjkzNzUgMTE1LjAzOCA1Ny45NTkgMTIwLjExNlYxNzZIMzYuNzkyVjk2Ljc1Mkg1Ni43MTM5WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyKSIvPgo8cGF0aCBkPSJNMTY3LjIzNiAxNzZDMTY2LjI2IDE3NC4wOTYgMTY1LjU1MiAxNzEuNzI4IDE2NS4xMTIgMTY4Ljg5NkMxNTkuOTg1IDE3NC42MDggMTUzLjMyIDE3Ny40NjUgMTQ1LjExNyAxNzcuNDY1QzEzNy4zNTQgMTc3LjQ2NSAxMzAuOTA4IDE3NS4yMTkgMTI1Ljc4MSAxNzAuNzI3QzEyMC43MDMgMTY2LjIzNCAxMTguMTY0IDE2MC41NyAxMTguMTY0IDE1My43MzRDMTE4LjE2NCAxNDUuMzM2IDEyMS4yNjUgMTM4Ljg5MSAxMjcuNDY2IDEzNC4zOThDMTMzLjcxNiAxMjkuOTA2IDE0Mi43MjUgMTI3LjYzNiAxNTQuNDkyIDEyNy41ODdIMTY0LjIzM1YxMjMuMDQ2QzE2NC4yMzMgMTE5LjM4NCAxNjMuMjgxIDExNi40NTQgMTYxLjM3NyAxMTQuMjU3QzE1OS41MjEgMTEyLjA2IDE1Ni41NjcgMTEwLjk2MSAxNTIuNTE1IDExMC45NjFDMTQ4Ljk1IDExMC45NjEgMTQ2LjE0MyAxMTEuODE1IDE0NC4wOTIgMTEzLjUyNEMxNDIuMDkgMTE1LjIzMyAxNDEuMDg5IDExNy41NzcgMTQxLjA4OSAxMjAuNTU2SDExOS45MjJDMTE5LjkyMiAxMTUuOTY2IDEyMS4zMzggMTExLjcxOCAxMjQuMTcgMTA3LjgxMkMxMjcuMDAyIDEwMy45MDUgMTMxLjAwNiAxMDAuODU0IDEzNi4xODIgOTguNjU2MkMxNDEuMzU3IDk2LjQxMDIgMTQ3LjE2OCA5NS4yODcxIDE1My42MTMgOTUuMjg3MUMxNjMuMzc5IDk1LjI4NzEgMTcxLjExOCA5Ny43NTI5IDE3Ni44MzEgMTAyLjY4NUMxODIuNTkzIDEwNy41NjcgMTg1LjQ3NCAxMTQuNDUyIDE4NS40NzQgMTIzLjMzOVYxNTcuNjg5QzE4NS41MjIgMTY1LjIwOSAxODYuNTcyIDE3MC44OTcgMTg4LjYyMyAxNzQuNzU1VjE3NkgxNjcuMjM2Wk0xNDkuNzMxIDE2MS4yNzhDMTUyLjg1NiAxNjEuMjc4IDE1NS43MzcgMTYwLjU5NSAxNTguMzc0IDE1OS4yMjhDMTYxLjAxMSAxNTcuODEyIDE2Mi45NjQgMTU1LjkzMiAxNjQuMjMzIDE1My41ODhWMTM5Ljk2NUgxNTYuMzIzQzE0NS43MjggMTM5Ljk2NSAxNDAuMDg4IDE0My42MjcgMTM5LjQwNCAxNTAuOTUxTDEzOS4zMzEgMTUyLjE5NkMxMzkuMzMxIDE1NC44MzMgMTQwLjI1OSAxNTcuMDA2IDE0Mi4xMTQgMTU4LjcxNUMxND
1MuOTcgMTYwLjQyNCAxNDYuNTA5IDE2MS4yNzggMTQ5LjczMSAxNjEuMjc4WiIgZmlsbD0idXJsKCNwYWludDFfbGluZWFyKSIvPgo8cGF0aCBkPSJNMzUwLjI2OSAxNzcuNDY1QzMzOC42NDcgMTc3LjQ2NSAzMjkuMTc1IDE3My45IDMyMS44NTEgMTY2Ljc3MUMzMTQuNTc1IDE1OS42NDMgMzEwLjkzOCAxNTAuMTQ2IDMxMC45MzggMTM4LjI4VjEzNi4yMjlDMzEwLjkzOCAxMjguMjcxIDMxMi40NzYgMTIxLjE2NiAzMTUuNTUyIDExNC45MTZDMzE4LjYyOCAxMDguNjE3IDMyMi45NzQgMTAzLjc4MyAzMjguNTg5IDEwMC40MTRDMzM0LjI1MyA5Ni45OTYxIDM0MC42OTggOTUuMjg3MSAzNDcuOTI1IDk1LjI4NzFDMzU4Ljc2NSA5NS4yODcxIDM2Ny4yODUgOTguNzA1MSAzNzMuNDg2IDEwNS41NDFDMzc5LjczNiAxMTIuMzc3IDM4Mi44NjEgMTIyLjA2OSAzODIuODYxIDEzNC42MThWMTQzLjI2MUgzMzIuMzk3QzMzMy4wODEgMTQ4LjQzNyAzMzUuMTMyIDE1Mi41ODcgMzM4LjU1IDE1NS43MTJDMzQyLjAxNyAxNTguODM3IDM0Ni4zODcgMTYwLjM5OSAzNTEuNjYgMTYwLjM5OUMzNTkuODE0IDE2MC4zOTkgMzY2LjE4NyAxNTcuNDQ1IDM3MC43NzYgMTUxLjUzN0wzODEuMTc3IDE2My4xODNDMzc4LjAwMyAxNjcuNjc1IDM3My43MDYgMTcxLjE5IDM2OC4yODYgMTczLjcyOUMzNjIuODY2IDE3Ni4yMiAzNTYuODYgMTc3LjQ2NSAzNTAuMjY5IDE3Ny40NjVaTTM0Ny44NTIgMTEyLjQyNkMzNDMuNjUyIDExMi40MjYgMzQwLjIzNCAxMTMuODQyIDMzNy41OTggMTE2LjY3NEMzMzUuMDEgMTE5LjUwNiAzMzMuMzUgMTIzLjU1OSAzMzIuNjE3IDEyOC44MzJIMzYyLjA2MVYxMjcuMTQ3QzM2MS45NjMgMTIyLjQ2IDM2MC42OTMgMTE4Ljg0NyAzNTguMjUyIDExNi4zMDhDMzU1LjgxMSAxMTMuNzIgMzUyLjM0NCAxMTIuNDI2IDM0Ny44NTIgMTEyLjQyNloiIGZpbGw9InVybCgjcGFpbnQyX2xpbmVhcikiLz4KPHBhdGggZD0iTTQxNC40MjkgOTYuNzUyTDQxNS4wODggMTA1LjkwN0M0MjAuNzUyIDk4LjgyNzEgNDI4LjM0NSA5NS4yODcxIDQzNy44NjYgOTUuMjg3MUM0NDYuMjY1IDk1LjI4NzEgNDUyLjUxNSA5Ny43NTI5IDQ1Ni42MTYgMTAyLjY4NUM0NjAuNzE4IDEwNy42MTYgNDYyLjgxNyAxMTQuOTg5IDQ2Mi45MTUgMTI0LjgwNFYxNzZINDQxLjc0OFYxMjUuMzE2QzQ0MS43NDggMTIwLjgyNCA0NDAuNzcxIDExNy41NzcgNDM4LjgxOCAxMTUuNTc1QzQzNi44NjUgMTEzLjUyNCA0MzMuNjE4IDExMi40OTkgNDI5LjA3NyAxMTIuNDk5QzQyMy4xMiAxMTIuNDk5IDQxOC42NTIgMTE1LjAzOCA0MTUuNjc0IDEyMC4xMTZWMTc2SDM5NC41MDdWOTYuNzUySDQxNC40MjlaIiBmaWxsPSJ1cmwoI3BhaW50M19saW5lYXIpIi8+CjxwYXRoIGQ9Ik0yNTAuMTQ2IDE2Ni4yMzJMMjg5LjQwNCA0NC41MDM5SDMxNy4wOUwyNjAuMjU0IDIwM0gyMzkuNkwxODIuMTc4IDQ0LjUwMzlIMjA5Ljg2M0wyNTAuMTQ2IDE2Ni4yMzJaIiBmaWxsPSJ1cmwoI3BhaW50NF9saW5lYXIpIi8+CjxwYXRoIGQ9Ik0zOCA0NC41SDE5MlY2OS41SDM4VjQ0LjVaIiBmaWxsPSJ1cmwoI3BhaW50NV9saW5lYXIpIi8+CjxwYXRoIGQ9Ik0zMDggNDQuNUg0NjJWNjkuNUgzMDhWNDQuNVoiIGZpbGw9InVybCgjcGFpbnQ2X2xpbmVhcikiLz4KPC9nPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyIiB4MT0iMjQ5Ljg1NCIgeTE9IjQ0LjUiIHgyPSIyNDkuODU0IiB5Mj0iMjAzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMwMDQ3RkYiLz4KPHN0b3Agb2Zmc2V0PSIwLjczNDM3NSIgc3RvcC1jb2xvcj0iI0ZGMDA3QSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MV9saW5lYXIiIHgxPSIyNDkuODU0IiB5MT0iNDQuNSIgeDI9IjI0OS44NTQiIHkyPSIyMDMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iIzAwNDdGRiIvPgo8c3RvcCBvZmZzZXQ9IjAuNzM0Mzc1IiBzdG9wLWNvbG9yPSIjRkYwMDdBIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQyX2xpbmVhciIgeDE9IjI0OS44NTQiIHkxPSI0NC41IiB4Mj0iMjQ5Ljg1NCIgeTI9IjIwMyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDA0N0ZGIi8+CjxzdG9wIG9mZnNldD0iMC43MzQzNzUiIHN0b3AtY29sb3I9IiNGRjAwN0EiLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDNfbGluZWFyIiB4MT0iMjQ5Ljg1NCIgeTE9IjQ0LjUiIHgyPSIyNDkuODU0IiB5Mj0iMjAzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMwMDQ3RkYiLz4KPHN0b3Agb2Zmc2V0PSIwLjczNDM3NSIgc3RvcC1jb2xvcj0iI0ZGMDA3QSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50NF9saW5lYXIiIHgxPSIyNDkuODU0IiB5MT0iNDQuNSIgeDI9IjI0OS44NTQiIHkyPSIyMDMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iIzAwNDdGRiIvPgo8c3RvcCBvZmZzZXQ9IjAuNzM0Mzc1IiBzdG9wLWNvbG9yPSIjRkYwMDdBIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQ1X2xpbmVhciIgeDE9IjI0OS44NTQiIHkxPSI0NC41IiB4Mj0iMjQ5Ljg1NCIgeTI9IjIwMyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDA0N0ZGIi8+CjxzdG9wIG9mZnNldD0iMC43MzQzNzUiIHN0b3AtY29sb3I9IiNGRjAwN0EiLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDZfbGluZWFyIiB4MT0iMjQ5Ljg1NCIgeTE9IjQ0LjUiIHgyPSIyNDkuODU0IiB5Mj0iMjAzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMwMDQ3RkYiLz4KPHN0b3Agb2Zmc2V0PSIwLjczNDM3NSIgc3RvcC1jb2xvcj0iI0ZGMDA3QSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8Y2xpcFBhdGggaWQ9ImNsaXAwIj4KPHJlY3Qgd2lkdGg9IjUwMCIgaGVpZ2h0PSIyNTAiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="},80559:function(e,t,n){"use strict";n.d(t,{kZ:function(){return h}});var r=n("57649"),i=n("2622"),o=n("59595"),a=n("13788"),s=n("70878"),l=n("50912"),c=n("36281"),u=n("82197"),d={placement:"bottom",modifiers:[],strategy:"absolute"};function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function h(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,h=void 0===n?[]:n,p=t.defaultOptions,m=void 0===p?d:p;return function(e,t,n){void 0===n&&(n=m);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,m),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},g=[],O=!1,v={state:p,setOptions:function(n){var r="function"==typeof n?n(p.options):n;b(),p.options=Object.assign({},m,p.options,r),p.scrollParents={reference:(0,u.kK)(e)?(0,o.Z)(e):e.contextElement?(0,o.Z)(e.contextElement):[],popper:(0,o.Z)(t)};var i=(0,s.Z)((0,c.Z)([].concat(h,p.options.modifiers)));return p.orderedModifiers=i.filter(function(e){return e.enabled}
1),function(){p.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:p,name:t,instance:v,options:void 0===n?{}:n});g.push(i||function(){})}})}(),v.update()},forceUpdate:function(){if(!O){var e=p.elements,t=e.reference,n=e.popper;if(f(t,n)){p.rects={reference:(0,r.Z)(t,(0,a.Z)(n),"fixed"===p.options.strategy),popper:(0,i.Z)(n)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(e){return p.modifiersData[e.name]=Object.assign({},e.data)});for(var o=0;o<p.orderedModifiers.length;o++){if(!0===p.reset){p.reset=!1,o=-1;continue}var s=p.orderedModifiers[o],l=s.fn,c=s.options,u=void 0===c?{}:c,d=s.name;"function"==typeof l&&(p=l({state:p,options:u,name:d,instance:v})||p)}}}},update:(0,l.Z)(function(){return new Promise(function(e){v.forceUpdate(),e(p)})}),destroy:function(){b(),O=!0}};if(!f(e,t))return v;v.setOptions(n).then(function(e){!O&&n.onFirstUpdate&&n.onFirstUpdate(e)});function b(){g.forEach(function(e){return e()}),g=[]}return v}}},63326:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("82197");function i(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},88948:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("82197"),i=n("1897"),o=n("41764"),a=n("11171");function s(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var s=e.getBoundingClientRect(),l=1,c=1;t&&(0,r.Re)(e)&&(l=e.offsetWidth>0&&(0,i.NM)(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&(0,i.NM)(s.height)/e.offsetHeight||1);var u=((0,r.kK)(e)?(0,o.Z)(e):window).visualViewport,d=!(0,a.Z)()&&n,f=(s.left+(d&&u?u.offsetLeft:0))/l,h=(s.top+(d&&u?u.offsetTop:0))/c,p=s.width/l,m=s.height/c;return{width:p,height:m,top:h,right:f+p,bottom:h+m,left:f,x:f,y:h}}},75077:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n("12910"),i=n("24965"),o=n("48737"),a=n("59595"),s=n("13788"),l=n("54496"),c=n("70429"),u=n("82197"),d=n("88948"),f=n("75117"),h=n("63326"),p=n("18571"),m=n("82272"),g=n("1897");function O(e,t,n){var a,s,c;return t===r.Pj?(0,m.Z)((0,i.Z)(e,n)):(0,u.kK)(t)?(a=t,s=n,(c=(0,d.Z)(a,!1,"fixed"===s)).top=c.top+a.clientTop,c.left=c.left+a.clientLeft,c.bottom=c.top+a.clientHeight,c.right=c.left+a.clientWidth,c.width=a.clientWidth,c.height=a.clientHeight,c.x=c.left,c.y=c.top,c):(0,m.Z)((0,o.Z)((0,l.Z)(e)))}function v(e,t,n,r){var i,o,l,d=[].concat("clippingParents"===t?(i=e,o=(0,a.Z)((0,f.Z)(i)),l=["absolute","fixed"].indexOf((0,c.Z)(i).position)>=0&&(0,u.Re)(i)?(0,s.Z)(i):i,(0,u.kK)(l)?o.filter(function(e){return(0,u.kK)(e)&&(0,h.Z)(e,l)&&"body"!==(0,p.Z)(e)}):[]):[].concat(t),[n]),m=d[0],v=d.reduce(function(t,n){var i=O(e,n,r);return t.top=(0,g.Fp)(i.top,t.top),t.right=(0,g.VV)(i.right,t.right),t.bottom=(0,g.VV)(i.bottom,t.bottom),t.left=(0,g.Fp)(i.left,t.left),t},O(e,m,r));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}},57649:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n("88948"),i=n("77159"),o=n("18571"),a=n("82197"),s=n("66041"),l=n("54496"),c=n("54768"),u=n("1897");function d(e,t,n){void 0===n&&(n=!1);var d,f,h,p,m=(0,a.Re)(t);var g=(0,a.Re)(t)&&(f=(d=t).getBoundingClientRect(),h=(0,u.NM)(f.width)/d.offsetWidth||1,p=(0,u.NM)(f.height)/d.offsetHeight||1,1!==h||1!==p),O=(0,l.Z)(t),v=(0,r.Z)(e,g,n),b={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(m||!m&&!n)&&(("body"!==(0,o.Z)(t)||(0,c.Z)(O))&&(b=(0,i.Z)(t)),(0,a.Re)(t)?(y=(0,r.Z)(t,!0),y.x+=t.clientLeft,y.y+=t.clientTop):O&&(y.x=(0,s.Z)(O))),{x:v.left+b.scrollLeft-y.x,y:v.top+b.scrollTop-y.y,width:v.width,height:v.height}}},70429:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("41764");function i(e){return(0,r.Z)(e).getComputedStyle(e)}},54496:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("82197");function i(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},48737:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n("54496"),i=n("70429"),o=n("66041"),a=n("9221"),s=n("1897");function l(e){var t,n=(0,r.Z)(e),l=(0,a.Z)(e),c=null==(t=e.ownerDocument)?void 0:t.body,u=(0,s.Fp)(n.scrollWidth,n.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,s.Fp)(n.scrollHeight,n.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),f=-l.scrollLeft+(0,o.Z)(e),h=-l.scrollTop;return"rtl"===(0,i.Z)(c||n).direction&&(f+=(0,s.Fp)(n.clientWidth,c?c.clientWidth:0)-u),{width:u,height:d,x:f,y:h}}},47153:function(e,t,n){"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{Z:function(){return r}})},2622:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("88948");function i(e){var t=(0,r.Z)(e),n=e.offsetWidth,i=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-i)&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}},18571:function(e,t,n){"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:function(){return r}})},77159:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("9221"),i=n("41764"),o=n("82197"),a=n("47153");function s(e){return e!==(0,i.Z)(e)&&(0,o.Re)(e)?(0,a.Z)(e):(0,r.Z)(e)}},13788:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n("41764"),i=n("18571"),o=n("70429"),a=n("82197"),s=n("79196"),l=n("75117"),c=n("24280");function u(e){return(0,a.Re)(e)&&"fixed"!==(0,o.Z)(e).position?e.offsetParent:null}function d(e){for(var t=(0,r.Z)(e),n=u(e);n&&(0,s.Z)(n)&&"static"===(0,o.Z)(n).position;)n=u(n);return n&&("html"===(0,i.Z)(n)||"body"===(0,i.Z)(n)&&"static"===(0,o.Z)(n).position)?t:n||function(e){var t=/firefox/i.test((0,c.Z)());if(/Trident/i.test((0,c.Z)())&&(0,a.Re)(e)&&"fixed"===(0,o.Z)(e).position)return null;var n=(0,l.Z)(e);for((0,a.Zq)(n)&&(n=n.host);(0,a.Re)(n)&&0>["html","body"].indexOf((0,i.Z)(n));){var r=(0,o.Z)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},75117:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("18571"),i=n("54496"),o=n("82197");function a(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,o.Zq)(e)?e.host:null)||(0,i.Z)(e)}},92928:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t){return["html","body","#document"].indexOf((0,o.Z)(t))>=0?t.ownerDocument.body:(0,a.Re)(t)&&(0,i.Z)(t)?t:e((0,r.Z)(t))}}});var r=n("75117"),i=n("54768"),o=n("18571"),a=n("82197")},24965:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("41764"),i=n("54496"),o=n("66041"),a=n("11171");
1function s(e,t){var n=(0,r.Z)(e),s=(0,i.Z)(e),l=n.visualViewport,c=s.clientWidth,u=s.clientHeight,d=0,f=0;if(l){c=l.width,u=l.height;var h=(0,a.Z)();(h||!h&&"fixed"===t)&&(d=l.offsetLeft,f=l.offsetTop)}return{width:c,height:u,x:d+(0,o.Z)(e),y:f}}},41764:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:function(){return r}})},9221:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("41764");function i(e){var t=(0,r.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},66041:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("88948"),i=n("54496"),o=n("9221");function a(e){return(0,r.Z)((0,i.Z)(e)).left+(0,o.Z)(e).scrollLeft}},82197:function(e,t,n){"use strict";n.d(t,{Re:function(){return o},Zq:function(){return a},kK:function(){return i}});var r=n("41764");function i(e){var t=(0,r.Z)(e).Element;return e instanceof t||e instanceof Element}function o(e){var t=(0,r.Z)(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("undefined"==typeof ShadowRoot)return!1;var t=(0,r.Z)(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}},11171:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("24280");function i(){return!/^((?!chrome|android).)*safari/i.test((0,r.Z)())}},54768:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("70429");function i(e){var t=(0,r.Z)(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}},79196:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("18571");function i(e){return["table","td","th"].indexOf((0,r.Z)(e))>=0}},59595:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t,n){void 0===n&&(n=[]);var s,l=(0,r.Z)(t),c=l===(null==(s=t.ownerDocument)?void 0:s.body),u=(0,o.Z)(l),d=c?[u].concat(u.visualViewport||[],(0,a.Z)(l)?l:[]):l,f=n.concat(d);return c?f:f.concat(e((0,i.Z)(d)))}}});var r=n("92928"),i=n("75117"),o=n("41764"),a=n("54768")},12910:function(e,t,n){"use strict";n.d(t,{BL:function(){return c},Ct:function(){return g},F2:function(){return o},I:function(){return i},Pj:function(){return f},YP:function(){return p},bw:function(){return m},d7:function(){return s},k5:function(){return h},mv:function(){return l},t$:function(){return a},ut:function(){return u},we:function(){return r},xs:function(){return O},zV:function(){return d}});var r="top",i="bottom",o="right",a="left",s="auto",l=[r,i,o,a],c="start",u="end",d="clippingParents",f="viewport",h="popper",p="reference",m=l.reduce(function(e,t){return e.concat([t+"-"+c,t+"-"+u])},[]),g=[].concat(l,[s]).reduce(function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])},[]),O=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},47883:function(e,t,n){"use strict";var r=n("18571"),i=n("82197");t.Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},a=t.elements[e];(0,i.Re)(a)&&(0,r.Z)(a)&&(Object.assign(a.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});(0,i.Re)(o)&&(0,r.Z)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]}},41173:function(e,t,n){"use strict";var r=n("72622"),i=n("2622"),o=n("63326"),a=n("13788"),s=n("6908"),l=n("68693"),c=n("82022"),u=n("62008"),d=n("12910");t.Z={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,f=e.options,h=n.elements.arrow,p=n.modifiersData.popperOffsets,m=(0,r.Z)(n.placement),g=(0,s.Z)(m),O=[(0,d.t$),(0,d.F2)].indexOf(m)>=0?"height":"width";if(h&&p){var v,b,y=(v=f.padding,b=n,v="function"==typeof v?v(Object.assign({},b.rects,{placement:b.placement})):v,(0,c.Z)("number"!=typeof v?v:(0,u.Z)(v,d.mv))),x=(0,i.Z)(h),w="y"===g?d.we:d.t$,S="y"===g?d.I:d.F2,k=n.rects.reference[O]+n.rects.reference[g]-
1p[g]-n.rects.popper[O],P=p[g]-n.rects.reference[g],M=(0,a.Z)(h),j=M?"y"===g?M.clientHeight||0:M.clientWidth||0:0,C=y[w],_=j-x[O]-y[S],T=j/2-x[O]/2+(k/2-P/2),D=(0,l.u)(C,T,_);n.modifiersData[o]=((t={})[g]=D,t.centerOffset=D-T,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;if(null!=r&&("string"!=typeof r||!!(r=t.elements.popper.querySelector(r))))(0,o.Z)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},8354:function(e,t,n){"use strict";var r=n("12910"),i=n("13788"),o=n("41764"),a=n("54496"),s=n("70429"),l=n("72622"),c=n("80541"),u=n("1897"),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(e){var t,n,l,c,f,h,p,m=e.popper,g=e.popperRect,O=e.placement,v=e.variation,b=e.offsets,y=e.position,x=e.gpuAcceleration,w=e.adaptive,S=e.roundOffsets,k=e.isFixed,P=b.x,M=void 0===P?0:P,j=b.y,C=void 0===j?0:j,_="function"==typeof S?S({x:M,y:C}):{x:M,y:C};M=_.x,C=_.y;var T=b.hasOwnProperty("x"),D=b.hasOwnProperty("y"),E=r.t$,Q=r.we,$=window;if(w){var R=(0,i.Z)(m),Z="clientHeight",I="clientWidth";R===(0,o.Z)(m)&&(R=(0,a.Z)(m),"static"!==(0,s.Z)(R).position&&"absolute"===y&&(Z="scrollHeight",I="scrollWidth")),(O===r.we||(O===r.t$||O===r.F2)&&v===r.ut)&&(Q=r.I,C-=(k&&R===$&&$.visualViewport?$.visualViewport.height:R[Z])-g.height,C*=x?1:-1),(O===r.t$||(O===r.we||O===r.I)&&v===r.ut)&&(E=r.F2,M-=(k&&R===$&&$.visualViewport?$.visualViewport.width:R[I])-g.width,M*=x?1:-1)}var A=Object.assign({position:y},w&&d);var N=!0===S?(t={x:M,y:C},n=(0,o.Z)(m),l=t.x,c=t.y,f=n.devicePixelRatio||1,{x:(0,u.NM)(l*f)/f||0,y:(0,u.NM)(c*f)/f||0}):{x:M,y:C};return(M=N.x,C=N.y,x)?Object.assign({},A,((p={})[Q]=D?"0":"",p[E]=T?"0":"",p.transform=1>=($.devicePixelRatio||1)?"translate("+M+"px, "+C+"px)":"translate3d("+M+"px, "+C+"px, 0)",p)):Object.assign({},A,((h={})[Q]=D?C+"px":"",h[E]=T?M+"px":"",h.transform="",h))}t.Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=n.adaptive,o=n.roundOffsets,a=void 0===o||o,s={placement:(0,l.Z)(t.placement),variation:(0,c.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,f(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,f(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},44322:function(e,t,n){"use strict";var r=n("41764"),i={passive:!0};t.Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,a=o.scroll,s=void 0===a||a,l=o.resize,c=void 0===l||l,u=(0,r.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(e){e.addEventListener("scroll",n.update,i)}),c&&u.addEventListener("resize",n.update,i),function(){s&&d.forEach(function(e){e.removeEventListener("scroll",n.update,i)}),c&&u.removeEventListener("resize",n.update,i)}},data:{}}},52875:function(e,t,n){"use strict";var r=n("4662"),i=n("72622"),o=n("30955"),a=n("17088"),s=n("36227"),l=n("12910"),c=n("80541");t.Z={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=n.mainAxis,f=void 0===d||d,h=n.altAxis,p=void 0===h||h,m=n.fallbackPlacements,g=n.padding,O=n.boundary,v=n.rootBoundary,b=n.altBoundary,y=n.flipVariations,x=void 0===y||y,w=n.allowedAutoPlacements,S=t.options.placement,k=(0,i.Z)(S)===S,P=m||(k||!x?[(0,r.Z)(S)]:function(e){if((0,i.Z)(e)===l.d7)return[];var t=(0,r.Z)(e);return[(0,o.Z)(e),t,(0,o.Z)(t)]}(S)),M=[S].concat(P).reduce(function(e,n){return e.concat((0,i.Z)(n)===l.d7?(0,s.Z)(t,{placement:n,boundary:O,rootBoundary:v,padding:g,flipVariations:x,allowedAutoPlacements:w}):n)},[]),j=t.rects.reference,C=t.rects.popper,_=new Map,T=!0,D=M[0],E=0;E<M.length;E++){var Q=M[E],$=(0,i.Z)(Q),R=(0,c.Z)(Q)===l.BL,Z=[(0,l.we),(0,l.I)].indexOf($)>=0,I=Z?"width":"height",A=(0,a.Z)(t,{placement:Q,boundary:O,rootBoundary:v,altBoundary:b,padding:g}),N=Z?R?l.F2:l.t$:R?l.I:l.we;j[I]>C[I]&&(N=(0,r.Z)(N));var L=(0,r.Z)(N),z=[];if(f&&z.push(A[$]<=0),p&&z.push(A[N]<=0,A[L]<=0),z.every(function(e){return e})){D=Q,T=!1;break}_.set(Q,z)}if(T){for(var F=x?3:1,V=function(e){var t=M.find(function(t){var n=_.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return D=t,"break"},W=F;W>0&&"break"!==V(W);W--);}t.placement!==D&&(t.modifiersData[u]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},25293:function(e,t,n){"use strict";var r=n("12910"),i=n("17088");function o(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function a(e){return[(0,r.we),(0,r.F2),(0,r.I),(0,r.t$)].some(function(t){return e[t]>=0})}t.Z={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
1cts.reference,s=t.rects.popper,l=t.modifiersData.preventOverflow,c=(0,i.Z)(t,{elementContext:"reference"}),u=(0,i.Z)(t,{altBoundary:!0}),d=o(c,r),f=o(u,s,l),h=a(d),p=a(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:h,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":p})}}},96271:function(e,t,n){"use strict";var r=n("72622"),i=n("12910");t.Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.offset,s=void 0===a?[0,0]:a,l=i.Ct.reduce(function(e,n){var o,a,l,c,u,d,f,h;return e[n]=(o=n,a=t.rects,l=s,c=(0,r.Z)(o),u=[(0,i.t$),(0,i.we)].indexOf(c)>=0?-1:1,f=(d="function"==typeof l?l(Object.assign({},a,{placement:o})):l)[0],h=d[1],f=f||0,h=(h||0)*u,[(0,i.t$),(0,i.F2)].indexOf(c)>=0?{x:h,y:f}:{x:f,y:h}),e},{}),c=l[t.placement],u=c.x,d=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=l}}},67938:function(e,t,n){"use strict";var r=n("75777");t.Z={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},13413:function(e,t,n){"use strict";var r=n("12910"),i=n("72622"),o=n("6908"),a=n("50534"),s=n("68693"),l=n("2622"),c=n("13788"),u=n("17088"),d=n("80541"),f=n("5958"),h=n("1897");t.Z={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,p=e.name,m=n.mainAxis,g=n.altAxis,O=n.boundary,v=n.rootBoundary,b=n.altBoundary,y=n.padding,x=n.tether,w=void 0===x||x,S=n.tetherOffset,k=void 0===S?0:S,P=(0,u.Z)(t,{boundary:O,rootBoundary:v,padding:y,altBoundary:b}),M=(0,i.Z)(t.placement),j=(0,d.Z)(t.placement),C=!j,_=(0,o.Z)(M),T=(0,a.Z)(_),D=t.modifiersData.popperOffsets,E=t.rects.reference,Q=t.rects.popper,$="function"==typeof k?k(Object.assign({},t.rects,{placement:t.placement})):k,R="number"==typeof $?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(D){if(void 0===m||m){var A,N="y"===_?r.we:r.t$,L="y"===_?r.I:r.F2,z="y"===_?"height":"width",F=D[_],V=F+P[N],W=F-P[L],Y=w?-Q[z]/2:0,X=j===r.BL?E[z]:Q[z],B=j===r.BL?-Q[z]:-E[z],q=t.elements.arrow,U=w&&q?(0,l.Z)(q):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,f.Z)(),G=H[N],J=H[L],K=(0,s.u)(0,E[z],U[z]),ee=C?E[z]/2-Y-K-G-R.mainAxis:X-K-G-R.mainAxis,et=C?-E[z]/2+Y+K+J+R.mainAxis:B+K+J+R.mainAxis,en=t.elements.arrow&&(0,c.Z)(t.elements.arrow),er=en?"y"===_?en.clientTop||0:en.clientLeft||0:0,ei=null!=(A=null==Z?void 0:Z[_])?A:0,eo=(0,s.u)(w?(0,h.VV)(V,F+ee-ei-er):V,F,w?(0,h.Fp)(W,F+et-ei):W);D[_]=eo,I[_]=eo-F}if(void 0!==g&&g){var ea,es="x"===_?r.we:r.t$,el="x"===_?r.I:r.F2,ec=D[T],eu="y"===T?"height":"width",ed=ec+P[es],ef=ec-P[el],eh=-1!==[(0,r.we),(0,r.t$)].indexOf(M),ep=null!=(ea=null==Z?void 0:Z[T])?ea:0,em=eh?ed:ec-E[eu]-Q[eu]-ep+R.altAxis,eg=eh?ec+E[eu]+Q[eu]-ep-R.altAxis:ef,eO=w&&eh?(0,s.q)(em,ec,eg):(0,s.u)(w?em:ed,ec,w?eg:ef);D[T]=eO,I[T]=eO-ec}t.modifiersData[p]=I}},requiresIfExists:["offset"]}},25457:function(e,t,n){"use strict";n.d(t,{fi:function(){return p}});var r=n("80559"),i=n("44322"),o=n("67938"),a=n("8354"),s=n("47883"),l=n("96271"),c=n("52875"),u=n("13413"),d=n("41173"),f=n("25293"),h=[i.Z,o.Z,a.Z,s.Z,l.Z,c.Z,u.Z,d.Z,f.Z],p=(0,r.kZ)({defaultModifiers:h})},36227:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("80541"),i=n("12910"),o=n("17088"),a=n("72622");function s(e,t){void 0===t&&(t={});var n=t,s=n.placement,l=n.boundary,c=n.rootBoundary,u=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,h=void 0===f?i.Ct:f,p=(0,r.Z)(s),m=p?d?i.bw:i.bw.filter(function(e){return(0,r.Z)(e)===p}):i.mv,g=m.filter(function(e){return h.indexOf(e)>=0});0===g.length&&(g=m);var O=g.reduce(function(t,n){return t[n]=(0,o.Z)(e,{placement:n,boundary:l,rootBoundary:c,padding:u})[(0,a.Z)(n)],t},{});return Object.keys(O).sort(function(e,t){return O[e]-O[t]})}},75777:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("72622"),i=n("80541"),o=n("6908"),a=n("12910");function s(e){var t,n=e.reference,s=e.element,l=e.placement,c=l?(0,r.Z)(l):null,u=l?(0,i.Z)(l):null,d=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2;switch(c){case a.we:t={x:d,y:n.y-s.height};break;case a.I:t={x:d,y:n.y+n.height};break;case a.F2:t={x:n.x+n.width,y:f};break;case a.t$:t={x:n.x-s.width,y:f};break;default:t={x:n.x,y:n.y}}var h=c?(0,o.Z)(c):null;if(null!=h){var p="y"===h?"height":"width";switch(u){case a.BL:t[h]=t[h]-(n[p]/2-s[p]/2);break;case a.ut:t[h]=t[h]+(n[p]/2-s[p]/2)}}return t}},50912:function(e,t,n){"use strict";function r(e){var t;return function(){return!t&&(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}
1n.d(t,{Z:function(){return r}})},17088:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n("75077"),i=n("54496"),o=n("88948"),a=n("75777"),s=n("82272"),l=n("12910"),c=n("82197"),u=n("82022"),d=n("62008");function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,h=void 0===f?e.placement:f,p=n.strategy,m=void 0===p?e.strategy:p,g=n.boundary,O=void 0===g?l.zV:g,v=n.rootBoundary,b=void 0===v?l.Pj:v,y=n.elementContext,x=void 0===y?l.k5:y,w=n.altBoundary,S=n.padding,k=void 0===S?0:S,P=(0,u.Z)("number"!=typeof k?k:(0,d.Z)(k,l.mv)),M=x===l.k5?l.YP:l.k5,j=e.rects.popper,C=e.elements[void 0!==w&&w?M:x],_=(0,r.Z)((0,c.kK)(C)?C:C.contextElement||(0,i.Z)(e.elements.popper),O,b,m),T=(0,o.Z)(e.elements.reference),D=(0,a.Z)({reference:T,element:j,strategy:"absolute",placement:h}),E=(0,s.Z)(Object.assign({},j,D)),Q=x===l.k5?E:T,$={top:_.top-Q.top+P.top,bottom:Q.bottom-_.bottom+P.bottom,left:_.left-Q.left+P.left,right:Q.right-_.right+P.right},R=e.modifiersData.offset;if(x===l.k5&&R){var Z=R[h];Object.keys($).forEach(function(e){var t=[(0,l.F2),(0,l.I)].indexOf(e)>=0?1:-1,n=[(0,l.we),(0,l.I)].indexOf(e)>=0?"y":"x";$[e]+=Z[n]*t})}return $}},62008:function(e,t,n){"use strict";function r(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}n.d(t,{Z:function(){return r}})},50534:function(e,t,n){"use strict";function r(e){return"x"===e?"y":"x"}n.d(t,{Z:function(){return r}})},72622:function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:function(){return r}})},5958:function(e,t,n){"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:function(){return r}})},6908:function(e,t,n){"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:function(){return r}})},4662:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function i(e){return e.replace(/left|right|bottom|top/g,function(e){return r[e]})}},30955:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r={start:"end",end:"start"};function i(e){return e.replace(/start|end/g,function(e){return r[e]})}},80541:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:function(){return r}})},1897:function(e,t,n){"use strict";n.d(t,{Fp:function(){return r},NM:function(){return o},VV:function(){return i}});var r=Math.max,i=Math.min,o=Math.round},36281:function(e,t,n){"use strict";function r(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}n.d(t,{Z:function(){return r}})},82022:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("5958");function i(e){return Object.assign({},(0,r.Z)(),e)}},70878:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("12910");function i(e){var t,n,i,o,a=(t=e,n=new Map,i=new Set,o=[],t.forEach(function(e){n.set(e.name,e)}),t.forEach(function(e){!i.has(e.name)&&!function e(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!i.has(t)){var r=n.get(t);r&&e(r)}}),o.push(t)}(e)}),o);return r.xs.reduce(function(e,t){return e.concat(a.filter(function(e){return e.phase===t}))},[])}},82272:function(e,t,n){"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{Z:function(){return r}})},24280:function(e,t,n){"use strict";function r(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}n.d(t,{Z:function(){return r}})},68693:function(e,t,n){"use strict";n.d(t,{q:function(){return o},u:function(){return i}});var r=n("1897");function i(e,t,n){return(0,r.Fp)(e,(0,r.VV)(t,n))}function o(e,t,n){var r=i(e,t,n);return r>n?n:r}},69950:function(e,t,n){"use strict";var r=n("3781");t.Z=function(e,t,n,i){let o=r.useRef(n),a=r.useRef(i);r.useEffect(()=>{o.current=n,a.current=i}),r.useEffect(()=>{let n=e&&"current"in e?e.current:e;if(!n)return;let r=0;function i(...e){!r&&o.current.apply(this,e)}n.addEventListener(t,i);let s=a.current;return()=>{r=1,n.removeEventListener(t,i),s&&s()}},[e,t])}},69923:function(e,t,n){"use strict";var r=n("3781");t.Z=e=>{let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),t}},71813:function(e,t,n){"use strict";var r=n("3781"),i=n("69950"),o=n("10057");function a(e,t){let n;if("undefined"==typeof window)return e;let{event:r,element:i}=t,{clientX:o,clientY:a,screenX:s,screenY:l,pageX:c=0,pageY:u=0}=n="touches"in r?r.touches[0]:r,d=i.getBoundingClientRect(),f=c-d.left-(window.pageXOffset||window.scrollX),h=u-d.top-(window.pageYOffset||window.scrollY);return"touches"in r&&(f<0||h<0||f>d.width||h>d.height)?{...e,context:{...e.context,hoverStatus:"leave",touchStatus:"end"}}:{context:{...e.context,hoverStatus:"enter"},mouse:{...e.mouse,x:f,y:h,pageX:c,pageY:u,clientX:o,clientY:a,screenX:s,screenY:l,elementWidth:d.width,elementHeight:d.height,isOver:!0,isTouch:"touches"in r}}}function s(e,t){let{mouse:n,context:r}=e;if("mousemove"===t.type)return"end"===r.touchStatus?e:a(e,t);if("touchmove"===t.type)return a({context:{...r,touchStatus:"start"}
1,mouse:n},t);if("touchdown"===t.type)return a({context:{...r,touchStatus:"start"},mouse:{...n,isDown:!0}},t);else if("mousedown"===t.type)return{context:r,mouse:{...n,isDown:!0}};else if("mouseup"===t.type)return{context:r,mouse:{...n,isDown:!1}};else if("mouseleave"===t.type)return{context:{...r,hoverStatus:"leave"},mouse:{...n,isOver:!1}};else if("touchleave"===t.type)return{context:{...r,hoverStatus:"leave",touchStatus:"end"},mouse:{...n,isOver:!1,isDown:!1}};else if("activeStatus"===t.type)return{context:{...r,activeStatus:t.value},mouse:n};return e}let l={x:null,y:null,pageX:null,pageY:null,clientX:null,clientY:null,screenX:null,screenY:null,elementWidth:null,elementHeight:null,isOver:!1,isDown:!1,isTouch:!1},c={hoverStatus:"idle",touchStatus:"idle",activeStatus:"inactive"};t.Z=function(e,t={}){let{fps:n=30,enterDelay:a=0,leaveDelay:u=0}=t,[d,f]=r.useReducer(s,{mouse:l,context:c}),h=(0,o.z)(t=>{let n=e&&"current"in e?e.current:e;n&&f({type:"mousemove",event:t,element:n})},n,!0),p=(0,o.z)(t=>{let n=e&&"current"in e?e.current:e;n&&f({type:"touchmove",event:t,element:n})},n,!0),m=(0,o.z)(()=>f({type:"mouseleave"}),n,!1),g=(0,o.z)(t=>{let n=e&&"current"in e?e.current:e;n&&f("touches"in t?{type:"touchdown",element:n,event:t}:{type:"mousedown",element:n,event:t})},n,!0),O=(0,o.z)(()=>f({type:"mouseup"}),n,!1),v=(0,o.z)(()=>f({type:"touchleave"}),n,!1);function b(){return f({type:"activeStatus",value:"active"})}function y(){return f({type:"activeStatus",value:"inactive"})}return(0,i.Z)(e,"mouseenter",h),(0,i.Z)(e,"mousemove",h),(0,i.Z)(e,"mouseleave",m),(0,i.Z)(e,"mousedown",g),(0,i.Z)("undefined"!=typeof window?window:null,"mousedown",g),(0,i.Z)("undefined"!=typeof window?window:null,"mouseup",O),(0,i.Z)(e,"touchstart",g),(0,i.Z)(e,"touchmove",p),(0,i.Z)(e,"touchend",v),(0,i.Z)(e,"touchcancel",v),r.useEffect(()=>{if("enter"===d.context.hoverStatus){if(a){let e=setTimeout(b,a);return()=>clearTimeout(e)}f({type:"activeStatus",value:"active"})}else{if(u){let e=setTimeout(y,u);return()=>clearTimeout(e)}f({type:"activeStatus",value:"inactive"})}},[d.context.hoverStatus,a,u]),"active"===d.context.activeStatus?d.mouse:l}},10057:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n("3781"),i=n("69923");let o="undefined"!=typeof performance?performance:Date,a=()=>o.now();function s(e,t=30,n=!1){let o=(0,i.Z)(e),s=1e3/t,l=r.useRef(0),c=r.useRef(),u=()=>c.current&&clearTimeout(c.current),d=[t,n,o];function f(){l.current=0,u()}return r.useEffect(()=>f,d),r.useCallback(function(){let e=arguments,t=a(),r=()=>{l.current=t,u(),o.current.apply(null,e)},i=l.current;if(n&&0===i)return r();if(t-i>s){if(i>0)return r();l.current=t}u(),c.current=setTimeout(()=>{r(),l.current=0},s)},d)}},96163:function(e,t,n){let r=n("35641"),i={};for(let e of Object.keys(r))i[r[e]]=e;let o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(let t of(e.exports=o,Object.keys(o))){if(!("channels"in o[t]))throw Error("missing channels property: "+t);if(!("labels"in o[t]))throw Error("missing channel labels property: "+t);if(o[t].labels.length!==o[t].channels)throw Error("channel and label counts mismatch: "+t);let{channels:e,labels:n}=o[t];delete o[t].channels,delete o[t].labels,Object.defineProperty(o[t],"channels",{value:e}),Object.defineProperty(o[t],"labels",{value:n})}o.rgb.hsl=function(e){let t,n;let r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a;s===a?t=0:r===s?t=(i-o)/l:i===s?t=2+(o-r)/l:o===s&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360);let c=(a+s)/2;return[t,100*(n=s===a?0:c<=.5?l/(s+a):l/(2-s-a)),100*c]},o.rgb.hsv=function(e){let t,n,r,i,o;let a=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(a,s,l),u=c-Math.min(a,s,l),d=function(e){return(c-e)/6/u+.5};return 0===u?(i=0,o=0):(o=u/c,t=d(a),n=d(s),r=d(l),a===c?i=r-n:s===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},o.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],i=o.rgb.hsl(e)[0];return[i,1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]};
1o.rgb.keyword=function(e){let t;let n=i[e];if(n)return n;let o=1/0;for(let n of Object.keys(r)){var a,s;let i=r[n];let l=(a=e,s=i,(a[0]-s[0])**2+(a[1]-s[1])**2+(a[2]-s[2])**2);l<o&&(o=l,t=n)}return t},o.keyword.rgb=function(e){return r[e]},o.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(n=n>.04045?((n+.055)/1.055)**2.4:n/12.92)+.1805*(r=r>.04045?((r+.055)/1.055)**2.4:r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){let t=o.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,[116*(r=r>.008856?r**(1/3):7.787*r+16/116)-16,500*((n=n>.008856?n**(1/3):7.787*n+16/116)-r),200*(r-(i=i>.008856?i**(1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){let t,n,r;let i=e[0]/360,o=e[1]/100,a=e[2]/100;if(0===o)return[r=255*a,r,r];t=a<.5?a*(1+o):a+o-a*o;let s=2*a-t,l=[0,0,0];for(let e=0;e<3;e++)(n=i+-(1/3*(e-1)))<0&&n++,n>1&&n--,r=6*n<1?s+(t-s)*6*n:2*n<1?t:3*n<2?s+(t-s)*(2/3-n)*6:s,l[e]=255*r;return l},o.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;let a=(r+n)/2;return[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*a]},o.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},o.hsv.hsl=function(e){let t,n;let r=e[0],i=e[1]/100,o=e[2]/100,a=Math.max(o,.01);n=(2-i)*o;let s=(2-i)*a;return t=(t=i*a/(s<=1?s:2-s))||0,[r,100*t,100*(n/=2)]},o.hwb.rgb=function(e){let t,n,r,i;let o=e[0]/360,a=e[1]/100,s=e[2]/100,l=a+s;l>1&&(a/=l,s/=l);let c=Math.floor(6*o),u=1-s;t=6*o-c,(1&c)!=0&&(t=1-t);let d=a+t*(u-a);switch(c){default:case 6:case 0:n=u,r=d,i=a;break;case 1:n=d,r=u,i=a;break;case 2:n=a,r=u,i=d;break;case 3:n=a,r=d,i=u;break;case 4:n=d,r=a,i=u;break;case 5:n=u,r=a,i=d}return[255*n,255*r,255*i]},o.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},o.xyz.rgb=function(e){let t,n,r;let i=e[0]/100,o=e[1]/100,a=e[2]/100;return t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*t**(1/2.4)-.055:12.92*t,n=(n=-.9689*i+1.8758*o+.0415*a)>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=(r=.0557*i+-.204*o+1.057*a)>.0031308?1.055*r**(1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},o.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,[116*(n=n>.008856?n**(1/3):7.787*n+16/116)-16,500*((t=t>.008856?t**(1/3):7.787*t+16/116)-n),200*(n-(r=r>.008856?r**(1/3):7.787*r+16/116))]},o.lab.xyz=function(e){let t,n,r;let i=e[0],o=e[1],a=e[2];t=o/500+(n=(i+16)/116),r=n-a/200;let s=n**3,l=t**3,c=r**3;return n=(s>.008856?s:(n-16/116)/7.787)*100,[t=(l>.008856?l:(t-16/116)/7.787)*95.047,n,r=(c>.008856?c:(r-16/116)/7.787)*108.883]},o.lab.lch=function(e){let t;let n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},o.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},o.rgb.ansi16=function(e,t=null){let[n,r,i]=e,a=null===t?o.rgb.hsv(e)[2]:t;if(0===(a=Math.round(a/50)))return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(s+=60),s},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];let n=(~~(e>50)+1)*.5;return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){let t;if(e>=232){let t=(e-232)*10+8;return[t,t,t]}let n=Math.floor((e-=16)/36)/5*255,r=Math.floor((t=e%36)/6)/5*255;return[n,r,t%6/5*255]},o.rgb.hex=function(e){let t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));let r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){let t,n;
1let r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.max(Math.max(r,i),o),s=Math.min(Math.min(r,i),o),l=a-s;return t=l<1?s/(1-l):0,[360*(n=(l<=0?0:a===r?(i-o)/l%6:a===i?2+(o-r)/l:4+(r-i)/l)/6%1),100*l,100*t]},o.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},o.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];let i=[0,0,0],o=t%1*6,a=o%1,s=1-a,l=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return l=(1-n)*r,[(n*i[0]+l)*255,(n*i[1]+l)*255,(n*i[2]+l)*255]},o.hcg.hsv=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],(n-t)*100,(1-n)*100]},o.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},75405:function(e,t,n){let r=n("96163"),i=n("74697"),o={},a=Object.keys(r);a.forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});let t=i(e);Object.keys(t).forEach(n=>{let r=t[n];o[e][n]=function(e){let t=function(...t){let n=t[0];if(null==n)return n;n.length>1&&(t=n);let r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),o[e][n].raw=function(e){let t=function(...t){let n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=o},74697:function(e,t,n){let r=n("96163");e.exports=function(e){let t=function(e){let t=function(){let e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){let e=n.pop(),i=Object.keys(r[e]);for(let r=i.length,o=0;o<r;o++){let r=i[o],a=t[r];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,n.unshift(r))}}return t}(e),n={},i=Object.keys(t);for(let e=i.length,o=0;o<e;o++){let e=i[o];null!==t[e].parent&&(n[e]=function(e,t){let n=[t[e].parent,e],i=r[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),i=function(e,t){return function(n){return t(e(n))}}(r[t[o].parent][o],i),o=t[o].parent;return i.conversion=n,i}(e,t))}return n}},35641:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},80822:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){var t;return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c,u,d,f,h=Array.isArray(n),p=Array.isArray(e);if(h!==p)return r(n,l);if(h)return l.arrayMerge(e,n,l);return c=e,u=n,f={},(d=l).isMergeableObject(c)&&o(c).forEach(function(e){f[e]=r(c[e],d)}),o(u).forEach(function(e){var t,n;if(!(a(t=c,n=e)&&!(Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))))a(c,e)&&d.isMergeableObject(u[e])?f[e]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(e,d)(c[e],u[e],d):f[e]=r(u[e],d)}),f}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};e.exports=s},7793:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var r,i,o,a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},60840:function(e,t,n){"use strict";n.d(t,{PP:function(){return c},lX:function(){return l}});var r,i,o=n("73030");(r=i||(i={})).Pop="POP",r.Push="PUSH",r.Replace="REPLACE";var a=function(e){return e},s="beforeunload";function l(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function l(){var e=n.location,t=e.pathname,i=e.search,o=e.hash,s=r.state||{};return[s.idx,a({pathname:t,search:i,hash:o,state:s.usr||null,key:s.key||"default"})]}var c=null;n.addEventListener("popstate",function(){if(c)y.call(c),c=null;else{var e=i.Pop,t=l(),n=t[0],r=t[1];if(y.length){if(null!=n){var o=O-n;o&&(c={action:e,location:r,retry:function(){M(-1*o)}},M(o))}}else P(e)}});var u=i.Pop,g=l(),O=g[0],v=g[1],b=f(),y=f();function x(e){return"string"==typeof e?e:p(e)}function w(e,t){return void 0===t&&(t=null),a((0,o.Z)({pathname:v.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:h()}))}function S(e,t){return[{usr:e.state,key:e.key,idx:t},x(e)]}
1function k(e,t,n){return!y.length||(y.call({action:e,location:t,retry:n}),!1)}function P(e){u=e;var t=l();O=t[0],v=t[1],b.call({action:u,location:v})}null==O&&(O=0,r.replaceState((0,o.Z)({},r.state,{idx:O}),""));function M(e){r.go(e)}return{get action(){return u},get location(){return v},createHref:x,push:function e(t,o){var a=i.Push,s=w(t,o);if(k(a,s,function(){e(t,o)})){var l=S(s,O+1),c=l[0],u=l[1];try{r.pushState(c,"",u)}catch(e){n.location.assign(u)}P(a)}},replace:function e(t,n){var o=i.Replace,a=w(t,n);if(k(o,a,function(){e(t,n)})){var s=S(a,O),l=s[0],c=s[1];r.replaceState(l,"",c),P(o)}},go:M,back:function(){M(-1)},forward:function(){M(1)},listen:function(e){return b.push(e)},block:function(e){var t=y.push(e);return 1===y.length&&n.addEventListener(s,d),function(){t(),!y.length&&n.removeEventListener(s,d)}}}}function c(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=t.initialIndex,s=(void 0===n?["/"]:n).map(function(e){return a((0,o.Z)({pathname:"/",search:"",hash:"",state:null,key:h()},"string"==typeof e?m(e):e))}),l=u(null==r?s.length-1:r,0,s.length-1),c=i.Pop,d=s[l],g=f(),O=f();function v(e,t){return void 0===t&&(t=null),a((0,o.Z)({pathname:d.pathname,search:"",hash:""},"string"==typeof e?m(e):e,{state:t,key:h()}))}function b(e,t,n){return!O.length||(O.call({action:e,location:t,retry:n}),!1)}function y(e,t){c=e,d=t,g.call({action:c,location:d})}function x(e){var t=u(l+e,0,s.length-1),n=i.Pop,r=s[t];b(n,r,function(){x(e)})&&(l=t,y(n,r))}return{get index(){return l},get action(){return c},get location(){return d},createHref:function(e){return"string"==typeof e?e:p(e)},push:function e(t,n){var r=i.Push,o=v(t,n);b(r,o,function(){e(t,n)})&&(l+=1,s.splice(l,s.length,o),y(r,o))},replace:function e(t,n){var r=i.Replace,o=v(t,n);b(r,o,function(){e(t,n)})&&(s[l]=o,y(r,o))},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(e){return g.push(e)},block:function(e){return O.push(e)}}}function u(e,t,n){return Math.min(Math.max(e,t),n)}function d(e){e.preventDefault(),e.returnValue=""}function f(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},call:function(t){e.forEach(function(e){return e&&e(t)})}}}function h(){return Math.random().toString(36).substr(2,8)}function p(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function m(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}},8434:function(e){"use strict";e.exports=function(e){return!!e&&(e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function)}},91170:function(e,t,n){"use strict";n.d(t,{d:function(){return W}});var r,i=n("3781"),o=n("80822"),a=n.n(o),s=n("29503"),l=n("81287"),c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))d.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))f.call(t,n)&&h(e,n,t[n]);return e};var m=((r=m||{})[r.number=0]="number",r[r.string=1]="string",r[r.boolean=2]="boolean",r[r.hex=3]="hex",r[r.filePath=4]="filePath",r[r.select=5]="select",r[r.unknown=6]="unknown",r),g={0:"Number",1:"Text",2:"true/false",3:"Color",4:"File Path",5:"Selection",6:"Unknown"},O={0:0,1:"",2:!1,3:"#000000",4:"",5:0,6:void 0},v=e=>{if("number"==typeof e)return 0;if("string"==typeof e)return e.match(/^#[0-9a-fA-F]{3,6}$/g)?3:1;return"boolean"==typeof e?2:6},b=(e,t={})=>(Object.keys(e).forEach(n=>{t[n]={},"object"==typeof e[n]?(t[n]={},b(e[n],t[n])):t[n].type=v(e[n])}),t),y=e=>b(e),x=(0,i.createContext)(null),w={marginLeft:10,padding:10,backgroundColor:"white",borderRadius:5,borderWidth:1,borderStyle:"solid",borderColor:"black"},S=e=>({display:"inline-flex",position:"relative",cursor:"pointer",backgroundColor:e,width:25,height:25,marginBottom:-8,marginRight:5,borderRadius:5,border:"1px solid black"}),k={position:"absolute",padding:0,display:"flex",alignItems:"center",top:-9,right:-9,cursor:"pointer",background:"white",width:20,height:20,borderRadius:40,border:"1px solid black",boxShadow:"1px 1px 2px gray",outline:"none"},P=e=>({position:"absolute",left:4,display:"flex",height:2,width:10,background:"black",transform:`rotate(${e}deg)`}),M={position:"absolute",left:-2,bottom:-3,height:12,width:11,background:"white"},j={width:10,height:10,marginLeft:5,background:"white",borderLeft:"1px solid black",borderBottom:"1px solid black",transform:"rotate(45deg)"};
1function C({value:e,onChange:t,referenceElement:n,open:r,setOpen:o}){let[a,c]=(0,i.useState)(null),[u,d]=(0,i.useState)(null),[f,h]=(0,i.useState)(e),{styles:m,attributes:g}=(0,s.D)(n,a,{modifiers:[{name:"arrow",options:{element:u}}],placement:"right"});return i.createElement("div",p({ref:c,style:p(p({},m.popper),{opacity:r?1:0,pointerEvents:r?"inherit":"none",zIndex:1})},g.popper),i.createElement("div",{style:w},i.createElement(l.z,{color:f,onColor:h})),i.createElement("div",{ref:d,style:m.arrow},i.createElement("div",{style:j})),i.createElement("button",{style:k,type:"button",onClick:()=>{o(!1),f&&f!==e&&t(f)},onKeyUp:n=>{"Escape"===n.key&&(o(!1),f&&f!==e&&t(f))}},i.createElement("span",{style:M}),i.createElement("span",{style:P(45)}),i.createElement("span",{style:P(-45)})))}function _({value:e,onChange:t}){let{currentColorPicker:n,setCurrentColorPicker:r}=(0,i.useContext)(x),[o,a]=(0,i.useState)(null),[s,l]=(0,i.useState)(!1),c=e=>{r(o),l(e)},[u,d]=(0,i.useState)(!1);return s&&!u&&d(!0),i.createElement(i.Fragment,null,i.createElement("div",{ref:a,role:"button",tabIndex:0,"aria-label":"Change color",onMouseEnter:()=>c(!0),onKeyUp:e=>{"Enter"===e.key&&c(!s)},onClick:()=>c(!s),style:S(e)}),u&&i.createElement(C,{value:e,onChange:t,open:s&&n===o,setOpen:c,referenceElement:o}))}var T=({hasError:e})=>({borderRadius:5,paddingTop:2,paddingRight:2,paddingBottom:2,paddingLeft:5,borderWidth:1,borderColor:e?"red":"black",color:e?"red":"black"}),D={marginRight:10},E={margin:"10px 0"},Q={marginLeft:20};function $({schema:e,value:t,onChange:n}){if(!(e.type in m)||6===e.type)return t;let[r,o]=(0,i.useState)(t);(0,i.useEffect)(()=>{o(t)},[t]);let a="text",s=!1;return(0===e.type&&(a="number"),2===e.type&&(a="checkbox"),e.valid&&"function"==typeof e.valid&&(s=!e.valid(r)),5===e.type)?i.createElement("select",{onChange:e=>{let t=e.target.value;o(t),n(t)}},e.values.map(e=>i.createElement("option",{key:e,value:e},e))):2===e.type?i.createElement("input",{key:a,checked:r,type:"checkbox",onChange:e=>{let t=e.target.checked;o(t),n(t)}}):3===e.type?i.createElement(_,{value:r,onChange:e=>{o(e),n(e)}}):i.createElement("input",{key:a,style:T({hasError:s}),value:r,onChange:t=>{let r=t.target.value;0===e.type&&(r=Number(r)),o(r),(!e.valid||"function"!=typeof e.valid||e.valid(r))&&n(r)},type:a})}var R=e=>"object"==typeof e&&e.type in m,Z=e=>{var t,n;if(!R(e))return;let{type:r}=e;return 5===r?e.values[null!=(t=e.default)?t:O[r]]:null!=(n=e.default)?n:O[r]},I=(e,t)=>{let n=R(t),r="object"==typeof e,i=v(e);if(r&&!n)return e;let{type:o}=t;if(r&&n)return Z(t);if(i===o)return e;if(n)return Z(t);let a={};return Object.keys(t).forEach(e=>{let n=t[e];a[e]=I(void 0,n)}),a},A=(e,t)=>{var n,r;if(!Array.isArray(e))return e;let i=v(t);return null!=(r=null==(n=e.find(e=>e.type===i))?void 0:n[0])?r:e[0]};function N({schemas:e,onChange:t}){return Array.isArray(e)?i.createElement("select",{onChange:n=>{t(e[n.target.value])},style:D},e.map((e,t)=>i.createElement("option",{key:t,value:t},e.type in m?g[e.type]:"Object"))):null}function L({property:e,children:t}){return i.createElement("div",{style:E},e,": ",t)}var z=e=>"object"==typeof e;function F({property:e,isLastKey:t,schema:n,getData:r,setData:o,indentation:a}){let s=r(),[l,c]=(0,i.useState)(A(n,s)),{onChange:u}=(0,i.useContext)(x),d=z(s=I(s,l));return"object"==typeof s&&o(s),i.createElement(L,{property:e},i.createElement(N,{schemas:n,onChange:e=>{c(e),o(I(s,e)),u()}}),d&&"{",d?i.createElement(V,{data:s,schema:l,indentation:a+1}):i.createElement($,{schema:l,value:s,onChange:e=>{o(e),u()}}),d&&i.createElement("p",null,`}${t?"":","}`))}function V({data:e,schema:t,indentation:n=1}){let r=Object.keys(e);return i.createElement("div",{style:Q},r.map((o,a)=>{let s=t[o];return i.createElement(F,{key:`${o}_${a}`,property:o,isLastKey:a===r.length-1,schema:s,getData:()=>e[o],setData:t=>{e[o]=t},indentation:n})}))}function W({data:e,schema:t=y(e),onChange:n}){let[r,o]=(0,i.useState)(null),s=a()({},e);return i.createElement("div",{className:"konfi",style:{fontFamily:"monospace"}},i.createElement("p",null,"{"),i.createElement(x.Provider,{value:{currentColorPicker:r,setCurrentColorPicker:o,onChange:n.bind(null,s)}},i.createElement(V,{data:s,schema:t})),i.createElement("p",null,"}"))}},16751:function(e,t,n){"use strict";var r=n("17054")},23874:function(e,t,n){"use strict";n.d(t,{Pi:function(){return s.P}}),n("22621");var r,i=n("56464"),o=n("28790");n("17054");var a=n("64651"),s=n("52593");n("16751"),n("98198"),n("50899"),n("25189"),(0,o.z0)(i.m),a.O.finalizeAllImmediately},52593:function(e,t,n){"use strict";n.d(t,{P:function(){return f}});var r,i,o=n("3781"),a=n("63274"),s=n("17054"),l="function"==typeof Symbol&&Symbol.for,c=null!==(i=null===(r=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===r?void 0:r.configurable)&&void 0!==i&&i,u=l?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&(0,o.forwardRef)(function(e){return null}).$$typeof,d=l?Symbol.for("react.memo"):"function"==typeof o.memo&&(0,o.memo)(function(e){return null}).$$typeof;function f(e,t){if(d&&e.$$typeof===d)throw Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if((0,a.F)())return e;var n,r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,i=e,l=e.displayName||e.name;if(u&&e.$$typeof===u&&(r=!0,"function"!=typeof(i=e.render)))throw Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var f=function(e,t){return(0,s.S)(function(){return i(e,t)},l)};
1return f.displayName=e.displayName,c&&Object.defineProperty(f,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(f.contextTypes=e.contextTypes),r&&(f=(0,o.forwardRef)(f)),function(e,t){Object.keys(e).forEach(function(n){!h[n]&&Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}(e,f=(0,o.memo)(f)),f}var h={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0}},63274:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});function r(){return!1}},25189:function(e,t,n){"use strict";n("3781")},98198:function(e,t,n){"use strict";n("3781")},50899:function(e,t,n){"use strict";n("3781"),n("25189")},17054:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var r=n("3230"),i=n("3781"),o=n("82304"),a=n("63274"),s=n("64651"),l=n("47728");function c(e){e.reaction=new r.le("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}function u(e,t){if(void 0===t&&(t="observed"),(0,a.F)())return e();var n,r,u=i.useRef(null);if(!u.current){var d={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return s.O.unregister(d),d.onStoreChange=e,!d.reaction&&(c(d),d.stateVersion=Symbol()),function(){var e;d.onStoreChange=null,null===(e=d.reaction)||void 0===e||e.dispose(),d.reaction=null}},getSnapshot:function(){return d.stateVersion}};u.current=d}var f=u.current;if(!f.reaction&&(c(f),s.O.register(u,f,f)),i.useDebugValue(f.reaction,o.e),(0,l.useSyncExternalStore)(f.subscribe,f.getSnapshot,f.getSnapshot),f.reaction.track(function(){try{n=e()}catch(e){r=e}}),r)throw r;return n}},23730:function(e,t,n){"use strict";n.d(t,{SB:function(){return i}});var r=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),i="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:r},22621:function(e,t,n){"use strict";var r=n("3230");if(!n("3781").useState)throw Error("mobx-react-lite requires React with Hooks support");if(!r.rC)throw Error("mobx-react-lite@3 requires mobx at least version 6 to be available")},28790:function(e,t,n){"use strict";n.d(t,{z0:function(){return o}});var r=n("3230");function i(e){e()}function o(e){!e&&(e=i),(0,r.jQ)({reactionScheduler:e})}},64651:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r=new(n("23730")).SB(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})},82304:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n("3230");function i(e){return(0,r.Gf)(e)}},56464:function(e,t,n){"use strict";n.d(t,{m:function(){return r.unstable_batchedUpdates}});var r=n("27215")},3230:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.d(t,{Fl:function(){return eX},Gf:function(){return tZ},LO:function(){return eF},aD:function(){return tC},jQ:function(){return tR},le:function(){return tm},rC:function(){return t0}});var i,o,a,s,l,c,u,d,f,h,p,m,g={};function O(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:g}var v=Object.assign,b=Object.getOwnPropertyDescriptor,y=Object.defineProperty,x=Object.prototype,w=[];Object.freeze(w);var S={};Object.freeze(S);var k="undefined"!=typeof Proxy,P=Object.toString();function M(){!k&&r("Proxy not available")}function j(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var C=function(){};function _(e){return"function"==typeof e}function T(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function D(e){return null!==e&&"object"==typeof e}function E(e){if(!D(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===P}function Q(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||!1)}function $(e,t,n){y(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}
1function R(e,t,n){y(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function Z(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return D(e)&&!0===e[n]}}function I(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var N=void 0!==Object.getOwnPropertySymbols,L="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:N?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function z(e){return null===e?null:"object"==typeof e?""+e:e}function F(e,t){return x.hasOwnProperty.call(e,t)}var V=Object.getOwnPropertyDescriptors||function(e){var t={};return L(e).forEach(function(n){t[n]=b(e,n)}),t};function W(e,t){return!!(e&t)}function Y(e,t,n){return n?e|=t:e&=~t,e}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r.key),r)}}function q(e,t,n){return t&&B(e.prototype,t),n&&B(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function U(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return X(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function G(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,J(e,t)}function J(e,t){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var K=Symbol("mobx-stored-annotations");function ee(e){return Object.assign(function(t,n){if(en(n))return e.decorate_20223_(t,n);et(t,n,e)},e)}function et(e,t,n){!F(e,K)&&$(e,K,H({},e[K]));!function(e){return"override"===e.annotationType_}(n)&&(e[K][t]=n)}function en(e){return"object"==typeof e&&"string"==typeof e.kind}var er=Symbol("mobx administration"),ei=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=h.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
1return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return th(this)},t.reportChanged=function(){td(),tp(this),tf()},t.toString=function(){return this.name_},q(e,[{key:"isBeingObserved",get:function(){var t;return t=this.flags_,!!(t&e.isBeingObservedMask_)},set:function(t){this.flags_=Y(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){var t;return t=this.flags_,!!(t&e.isPendingUnobservationMask_)},set:function(t){this.flags_=Y(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){var t;return(t=this.flags_,t&e.diffValueMask_)?1:0},set:function(t){this.flags_=Y(this.flags_,e.diffValueMask_,1===t)}}])}();ei.isBeingObservedMask_=1,ei.isPendingUnobservationMask_=2,ei.diffValueMask_=4;var eo=Z("Atom",ei);function ea(e,t,n){void 0===t&&(t=C),void 0===n&&(n=C);var r=new ei(e);return t!==C&&function(e,t,n){tQ("onBO",e,t,n)}(r,t),n!==C&&tE(r,n),r}var es={structural:function(e,t){return nD(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function el(e,t,n){if(tW(e))return e;if(Array.isArray(e))return eF.array(e,{name:n});if(E(e))return eF.object(e,void 0,{name:n});if(I(e))return eF.map(e,{name:n});if(A(e))return eF.set(e,{name:n});if("function"==typeof e&&!tT(e)&&!tV(e))return Q(e)?tz(e):t_(n,e);return e}function ec(e){return e}function eu(e,t){return{annotationType_:e,options_:t,make_:ed,extend_:ef,decorate_20223_:eh}}function ed(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(tT(n.value))return 1;var i,o=ep(e,this,t,n,!1);return y(r,t,o),2}function ef(e,t,n,r){var i=ep(e,this,t,n);return e.defineProperty_(t,i,r)}function eh(e,t){var n,i=t.kind,o=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,i;return eG(null!=(t=null==(n=s.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==i?function(e){var t,n=e;return!tT(n)&&(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(!tT(e)&&(e=l(e)),null!=(n=this.options_)&&n.bound&&a(function(){var e=this[o].bind(this);e.isMobxAction=!0,this[o]=e}),e):void r("Cannot apply '"+s.annotationType_+"' to '"+String(o)+"' (kind: "+i+"):"+("\n'"+s.annotationType_)+"' can only be used on properties with a function value.")}function ep(e,t,n,r,i){void 0===i&&(i=tl.safeDescriptors),o=0,a=t,s=0,l=r,a.annotationType_,l.value;var o,a,s,l,c,u,d,f,h,p,m,g,O=r.value;return null!=(c=t.options_)&&c.bound&&(O=O.bind(null!=(g=e.proxy_)?g:e.target_)),{value:eG(null!=(u=null==(d=t.options_)?void 0:d.name)?u:n.toString(),O,null!=(f=null==(h=t.options_)?void 0:h.autoAction)&&f,null!=(p=t.options_)&&p.bound?null!=(m=e.proxy_)?m:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function em(e,t){return{annotationType_:e,options_:t,make_:eg,extend_:eO,decorate_20223_:ev}}function eg(e,t,n,r){if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!F(e.target_,t)||!tV(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tV(n.value))return 1;var i,o=eb(e,this,t,n,!1,!1);return y(r,t,o),2}function eO(e,t,n,r){var i,o=eb(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ev(e,t){var n,r=t.name,i=t.addInitializer;return!tV(e)&&(e=tz(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function eb(e,t,n,r,i,o){void 0===o&&(o=tl.safeDescriptors),a=0,s=t,l=0,c=r,s.annotationType_,c.value;var a,s,l,c,u,d=r.value;return!tV(d)&&(d=tz(d)),i&&((d=d.bind(null!=(u=e.proxy_)?u:e.target_)).isMobXFlow=!0),{value:d,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ey(e,t){return{annotationType_:e,options_:t,make_:ex,extend_:ew,decorate_20223_:eS}}function ex(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ew(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get}(e,this,t,n),e.defineComputedProperty_(t,H({},this.options_,{get:n.get,set:n.set}),r)}function eS(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=np(this)[er],i=H({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new e1(i))}),function(){return this[er].getObservablePropValue_(r)}}function ek(e,t){return{annotationType_:e,options_:t,make_:eP,extend_:eM,decorate_20223_:ej}}function eP(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function eM(e,t,n,r){var i,o;return function(e,t,n,r){t.annotationType_}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:el,r)}function ej(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=np(e)[er],l=new e0(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:el,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),o.add(e)}if("accessor"==r)return{get:function(){return!o.has(this)&&a(this,e.get.call(this)),this[er].getObservablePropValue_(i)},set:function(e){return!o.has(this)&&a(this,e),this[er].setObservablePropValue_(i,e)},init:function(e){return!o.has(this)&&a(this,e),e}}}var eC=e_();function e_(e){return{annotationType_:"true",options_:e,make_:eT,extend_:eD,decorate_20223_:eE}}function eT(e,t,n,r){if(n.get)return eX.make_(e,t,n,r);if(n.set){var i,o,a,s,l,c=eG(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!tl.safeDescriptors||e.isPlainObject_,set:c})?0:2:(y(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value){if(Q(n.value)){;return(null!=(s=this.options_)&&s.autoBind?tz.bound:tz).make_(e,t,n,r)}return(null!=(a=this.options_)&&a.autoBind?t_.bound:t_).make_(e,t,n,r)}var u=(null==(i=this.options_)?void 0:i.deep)===!1?eF.ref:eF;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),u.make_(e,t,n,r)}function eD(e,t,n,r){var i,o,a;if(n.get)return eX.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!tl.safeDescriptors||e.isPlainObject_,set:eG(t.toString(),n.set)},r);return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(o=this.options_)?void 0:o.deep)===!1?eF.ref:eF).extend_(e,t,n,r)}function eE(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var eQ={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function e$(e){return e||eQ}Object.freeze(eQ);var eR=ek("observable"),eZ=ek("observable.ref",{enhancer:ec}),eI=ek("observable.shallow",{enhancer:function(e,t,n){return null==e||nO(e)||nt(e)||no(e)||nc(e)?e:Array.isArray(e)?eF.array(e,{name:n,deep:!1}):E(e)?eF.object(e,void 0,{name:n,deep:!1}):I(e)?eF.map(e,{name:n,deep:!1}):A(e)?eF.set(e,{name:n,deep:!1}):void 0}}),eA=ek("observable.struct",{enhancer:function(e,t){return nD(e,t)?t:e}}),eN=ee(eR);function eL(e){return!0===e.deep?el:!1===e.deep?ec:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:el}(e.defaultDecorator)}function ez(e,t,n){if(en(t))return eR.decorate_20223_(e,t);if(T(t)){et(e,t,eR);return}return tW(e)?e:E(e)?eF.object(e,t,n):Array.isArray(e)?eF.array(e,t):I(e)?eF.map(e,t):A(e)?eF.set(e,t):"object"==typeof e&&null!==e?e:eF.box(e,t)}v(ez,eN);var eF=v(ez,{box:function(e,t){var n=t||eQ;return new e0(e,eL(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eQ;return(!1===tl.useProxies||!1===n.proxy?function(e,t,n){return new nk(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),M(),n_(function(){var i=new t3(n,t,r,!1);R(i.values_,er,i);var o=new Proxy(i.values_,t5);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o}
1)})(e,eL(n),n.name)},map:function(e,t){var n=t||eQ;return new ni(e,eL(n),n.name)},set:function(e,t){var n=t||eQ;return new nl(e,eL(n),n.name)},object:function(e,t,n){return n_(function(){return function(e,t,n,r){var i=V(t);return n_(function(){var t=np(e,r)[er];L(i).forEach(function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])})}),e}(!1===tl.useProxies||(null==n?void 0:n.proxy)===!1?np({},n):function(e,t){var n,r;return M(),null!=(r=(n=(e=np(e,t))[er]).proxy_)?r:n.proxy_=new Proxy(e,tB)}({},n),e,t)})},ref:ee(eZ),shallow:ee(eI),deep:eN,struct:ee(eA)}),eV="computed",eW=ey(eV),eY=ey("computed.struct",{equals:es.structural}),eX=function(e,t){if(en(t))return eW.decorate_20223_(e,t);if(T(t))return et(e,t,eW);if(E(e))return ee(ey(eV,e));var n=E(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new e1(n)};Object.assign(eX,eW),eX.struct=ee(eY);var eB=0,eq=1,eU=null!=(d=null==(f=b(function(){},"name"))?void 0:f.configurable)&&d,eH={value:"action",configurable:!0,writable:!1,enumerable:!1};function eG(e,t,n,i){function o(){return function(e,t,n,i,o){var a=function(e,t,n,r){var i=tl.trackingDerivation,o=!t||!i;td();var a=tl.allowStateChanges;o&&(te(),a=eJ(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:tn(!0),notifySpy_:!1,startTime_:0,actionId_:eq++,parentActionId_:eB};return eB=s.actionId_,s}(e,t,i,o);try{return n.apply(i,o)}catch(e){throw a.error_=e,e}finally{(function(e){eB!==e.actionId_&&r(30),eB=e.parentActionId_,void 0!==e.error_&&(tl.suppressReactionErrors=!0),eK(e.prevAllowStateChanges_),tr(e.prevAllowStateReads_),tf(),e.runAsAction_&&tt(e.prevDerivation_),tl.suppressReactionErrors=!1})(a)}}(e,n,t,i||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},eU&&(eH.value=e,y(o,"name",eH)),o}function eJ(e){var t=tl.allowStateChanges;return tl.allowStateChanges=e,t}function eK(e){tl.allowStateChanges=e}var e0=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=es.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}G(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==tl.UNCHANGED&&(function(){;}(),this.setNewValue_(e))},n.prepareNewValue_=function(e){if(tq(this)){var t=tH(this,{object:this,type:t2,newValue:e});if(!t)return tl.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?tl.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tG(this)&&tK(this,{type:t2,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tU(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t2,newValue:this.value_,oldValue:void 0}),tJ(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return z(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(ei),e1=function(){function e(e){this.dependenciesState_=h.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=h.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e5(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=p.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,!e.get&&r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=eG("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?es.structural
1:es.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){(function(e){e.lowestObserverState_===h.UP_TO_DATE_&&(e.lowestObserverState_=h.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===h.UP_TO_DATE_&&(e.dependenciesState_=h.POSSIBLY_STALE_,e.onBecomeStale_())}))})(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&r(32,this.name_,this.derivation),0!==tl.inBatch||0!==this.observers_.size||this.keepAlive_){if(th(this),e4(this)){var e=tl.trackingContext;this.keepAlive_&&!e&&(tl.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==h.STALE_&&(e.lowestObserverState_=h.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===h.POSSIBLY_STALE_?t.dependenciesState_=h.STALE_:t.dependenciesState_===h.UP_TO_DATE_&&(e.lowestObserverState_=h.UP_TO_DATE_)}))}(this),tl.trackingContext=e}}else e4(this)&&(this.warnAboutUntrackedRead_(),td(),this.value_=this.computeValue_(!1),tf());var t=this.value_;if(e3(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&r(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===h.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e3(e)||e3(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=eJ(!1);if(e)t=e9(this,this.derivation,this.scope_);else if(!0===tl.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e5(e)}return eK(n),this.isComputing=!1,t},t.suspend_=function(){!this.keepAlive_&&(e8(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return function(e,t){void 0===t&&(t=S);var n,r,i,o,a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)a=new tm(s,function(){this.track(u)},t.onError,t.requiresObservable);else{var l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tD}(t),c=!1;a=new tm(s,function(){!c&&(c=!0,l(function(){c=!1,!a.isDisposed&&a.track(u)}))},t.onError,t.requiresObservable)}function u(){e(a)}return!(null!=(i=t)&&null!=(i=i.signal)&&i.aborted)&&a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}(function(){var o=n.get();if(!r||t){var a=te();e({observableKind:"computed",debugObjectName:n.name_,type:t2,object:n,newValue:o,oldValue:i}),tt(a)}r=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return z(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},q(e,[{key:"isComputing",get:function(){var t;return t=this.flags_,!!(t&e.isComputingMask_)},set:function(t){this.flags_=Y(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){var t;return t=this.flags_,!!(t&e.isRunningSetterMask_)},set:function(t){this.flags_=Y(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){var t;return t=this.flags_,!!(t&e.isBeingObservedMask_)},set:function(t){this.flags_=Y(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){var t;return t=this.flags_,!!(t&e.isPendingUnobservationMask_)},set:function(t){this.flags_=Y(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){var t;return(t=this.flags_,t&e.diffValueMask_)?1:0},set:function(t){this.flags_=Y(this.flags_,e.diffValueMask_,1===t)}}])}();e1.isComputingMask_=1,e1.isRunningSetterMask_=2,e1.isBeingObservedMask_=4,e1.isPendingUnobservationMask_=8,e1.diffValueMask_=16;var e2=Z("ComputedValue",e1);(i=h||(h={}))[i.NOT_TRACKING_=-1]="NOT_TRACKING_",i[i.UP_TO_DATE_=0]="UP_TO_DATE_",i[i.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",i[i.STALE_=2]="STALE_",(o=p||(p={}))[o.NONE=0]="NONE",o[o.LOG=1]="LOG",o[o.BREAK=2]="BREAK";var e5=function(e){this.cause=void 0,this.cause=e};function e3(e){return e instanceof e5}function e4(e){switch(e.dependenciesState_){case h.UP_TO_DATE_:return!1;case h.NOT_TRACKING_:case h.STALE_:return!0;case h.POSSIBLY_STALE_:for(var t=tn(!0),n=te(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(e2(a)){if(tl.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return tt(n),tr(t),!0}
1if(e.dependenciesState_===h.STALE_)return tt(n),tr(t),!0}}return ti(e),tt(n),tr(t),!1}}function e6(e){}function e9(e,t,n){var r,i=tn(!0);ti(e),e.newObserving_=Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++tl.runId;var o=tl.trackingDerivation;if(tl.trackingDerivation=e,tl.inBatch++,!0===tl.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new e5(e)}return tl.inBatch--,tl.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=h.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];0===l.diffValue&&tc(l,e),l.diffValue=0}for(;i--;){var c=n[i];1===c.diffValue&&(c.diffValue=0,function(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}(c,e))}r!==h.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),tr(i),r}function e8(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)tc(t[n],e);e.dependenciesState_=h.NOT_TRACKING_}function e7(e){var t=te();try{return e()}finally{tt(t)}}function te(){var e=tl.trackingDerivation;return tl.trackingDerivation=null,e}function tt(e){tl.trackingDerivation=e}function tn(e){var t=tl.allowStateReads;return tl.allowStateReads=e,t}function tr(e){tl.allowStateReads=e}function ti(e){if(e.dependenciesState_!==h.UP_TO_DATE_){e.dependenciesState_=h.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=h.UP_TO_DATE_}}var to=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ta=!0,ts=!1;var tl=((a=O()).__mobxInstanceCount>0&&!a.__mobxGlobals&&(ta=!1),a.__mobxGlobals&&a.__mobxGlobals.version!==new to().version&&(ta=!1),ta)?a.__mobxGlobals?(a.__mobxInstanceCount+=1,!a.__mobxGlobals.UNCHANGED&&(a.__mobxGlobals.UNCHANGED={}),a.__mobxGlobals):(a.__mobxInstanceCount=1,a.__mobxGlobals=new to):(setTimeout(function(){!ts&&r(35)},1),new to);function tc(e,t){e.observers_.delete(t),0===e.observers_.size&&tu(e)}function tu(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,tl.pendingUnobservations.push(e))}function td(){tl.inBatch++}function tf(){if(0==--tl.inBatch){tO();for(var e=tl.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof e1&&n.suspend_())}tl.pendingUnobservations=[]}}function th(e){t=0;var t,n=tl.trackingDerivation;return null!==n?(n.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=n.runId_,n.newObserving_[n.unboundDepsCount_++]=e,!e.isBeingObserved&&tl.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&tl.inBatch>0&&tu(e),!1)}function tp(e){e.lowestObserverState_!==h.STALE_&&(e.lowestObserverState_=h.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===h.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=h.STALE_}))}var tm=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=h.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=p.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){!this.isScheduled&&(this.isScheduled=!0,tl.pen
1dingReactions.push(this),tO())},t.runReaction_=function(){if(!this.isDisposed){td(),this.isScheduled=!1;var e=tl.trackingContext;if(tl.trackingContext=this,e4(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}tl.trackingContext=e,tf()}},t.track=function(e){if(!this.isDisposed){td(),function(){;}(),this.isRunning=!0;var t=tl.trackingContext;tl.trackingContext=this;var n=e9(this,e,void 0);tl.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&e8(this),e3(n)&&this.reportExceptionInDerivation_(n.cause),tf()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(tl.disableErrorBoundaries)throw e;!tl.suppressReactionErrors&&console.error("[mobx] uncaught error in '"+this+"'",e),tl.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){!this.isDisposed&&(this.isDisposed=!0,!this.isRunning&&(td(),e8(this),tf()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[er]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},q(e,[{key:"isDisposed",get:function(){var t;return t=this.flags_,!!(t&e.isDisposedMask_)},set:function(t){this.flags_=Y(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){var t;return t=this.flags_,!!(t&e.isScheduledMask_)},set:function(t){this.flags_=Y(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){var t;return t=this.flags_,!!(t&e.isTrackPendingMask_)},set:function(t){this.flags_=Y(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){var t;return t=this.flags_,!!(t&e.isRunningMask_)},set:function(t){this.flags_=Y(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){var t;return(t=this.flags_,t&e.diffValueMask_)?1:0},set:function(t){this.flags_=Y(this.flags_,e.diffValueMask_,1===t)}}])}();tm.isDisposedMask_=1,tm.isScheduledMask_=2,tm.isTrackPendingMask_=4,tm.isRunningMask_=8,tm.diffValueMask_=16;var tg=function(e){return e()};function tO(){!(tl.inBatch>0)&&!tl.isRunningReactions&&tg(tv)}function tv(){tl.isRunningReactions=!0;for(var e=tl.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}tl.isRunningReactions=!1}var tb=Z("Reaction",tm);function ty(){return!1}var tx="action",tw="autoAction",tS=eu(tx),tk=eu("action.bound",{bound:!0}),tP=eu(tw,{autoAction:!0}),tM=eu("autoAction.bound",{autoAction:!0,bound:!0});function tj(e){return function(t,n){return _(t)?eG(t.name||"<unnamed action>",t,e):_(n)?eG(t,n,e):en(n)?(e?tP:tS).decorate_20223_(t,n):T(n)?et(t,n,e?tP:tS):T(t)?ee(eu(e?tw:tx,{name:t,autoAction:e})):void 0}}var tC=tj(!1);Object.assign(tC,tS);var t_=tj(!0);function tT(e){return _(e)&&!0===e.isMobxAction}Object.assign(t_,tP),tC.bound=ee(tk),t_.bound=ee(tM);var tD=function(e){return e()};function tE(e,t,n){return tQ("onBUO",e,t,n)}function tQ(e,t,n,r){var i="function"==typeof r?nj(t,n):nj(t),o=_(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var t$="always";function tR(e){!0===e.isolateGlobalState&&!function(){if((tl.pendingReactions.length||tl.inBatch||tl.isRunningReactions)&&r(36),ts=!0,ta){var e=O();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),tl=new to}}();var t,n,i=e.useProxies,o=e.enforceActions;if(void 0!==i&&(tl.useProxies=i===t$||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(tl.verifyProxies=!0),void 0!==o){var a=o===t$?t$:"observed"===o;tl.enforceActions=a,tl.allowStateChanges=!0!==a&&a!==t$}if(["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(tl[t]=!!e[t])}),tl.allowStateReads=!tl.observableRequiresReaction,e.reactionScheduler){;t=e.reactionScheduler,n=tg,tg=function(e){return t(function(){return n(e)})}}}function tZ(e,t){return function e(t){var n={name:t.name_};return t.observing_&&t.observing_.length>0&&(n.dependencies=(function(e){return Array.from(new Set(e))})(t.observing_).map(e)),n}(nj(e,t))}var tI=0;function tA(){this.message="FLOW_CANCELLED"}tA.prototype=Object.create(Error.prototype);var tN=em("flow"),tL=em("flow.bound",{bound:!0}),tz=Object.assign(function(e,t){if(en(t))return tN.decorate_20223_(e,t);if(T(t))return et(e,t,tN);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,i=++tI,o=tC(n+" - runid: "+i+" - init",e).apply(this,r),a=void 0,s=new Promise(function(e,r){var s=0;function l(e){var t;a=void 0;try{t=tC(n+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return r(e)}u(t)}function c(e){var t;a=void 0;try{t=tC(n+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return r(e)}u(t)}function u(t){if(_(null==t?void 0:t.then)){t.then(u,r);return}return t.done?e(t.value):(a=Promise.resolve(t.value)).then(l,c)}t=r,l(void 0)});return s.cancel=tC(n+" - runid: "+i+" - cancel",function(){try{a&&tF(a);var e=o.return(void 0),n=Promise.resolve(e.value);n.then(C,C),tF(n),t(new tA)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tN);function tF(e){_(e.cancel)&&e.cancel()}function tV(e){return(null==e?void 0:e.isMobXFlow)===!0}tz.bound=ee(tL);function tW(e){return function(e,t){if(!e)return!1;!1;return nO(e)||!!e[er]||eo(e)||tb(e)||e2(e)}(e)}function tY(e,t){void 0===t&&(t=void 0),td();try{return e.apply(t)}finally{tf()}}function tX(e){return e[er]}var tB={has:function(e,t){return e[er].has_(t)},get:function(e,t){return e[er].get_(t)},set:function(e,t,n){var r;if(!T(t))return!1;return null==(r=e[er].set_(t,n,!0))||r},deleteProperty:function(e,t){var n;if(!T(t))return!1;return null==(n=e[er].delete_(t,!0))||n},defineProperty:function(e,t,n){var r;return null==(r=e[er].defineProperty_(t,n))||r},ownKeys:function(e){return e[er].ownKeys_()},preventExtensions:function(e){r(13)}};function tq(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tU(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),j(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tH(e,t){var n=te();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((t=i[o](t))&&!t.type&&r(14),t);o++);return t}finally{tt(n)}}function tG(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function tJ(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),j(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tK(e,t){var n=te(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);tt(n)}}
1function t0(e,t,n){return n_(function(){var r,i,o=np(e,n)[er];null!=(i=t)||(F(r=e,K)||$(r,K,H({},r[K])),t=r[K]),L(t).forEach(function(e){return o.make_(e,t[e])})}),e}var t1="splice",t2="update",t5={get:function(e,t){var n=e[er];return t===er?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?F(t4,t)?t4[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[er];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},t3=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new ei(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return tU(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),tJ(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&nM(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=w),tq(this)){var o=tH(this,{object:this.proxy_,type:t1,index:e,removedCount:t,added:n});if(!o)return w;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=tG(this),o=i||r?{observableKind:"array",object:this.proxy_,type:t2,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&tK(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=tG(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:t1,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&tK(this,o)},t.get_=function(e){if(this.legacyMode_&&e>=this.values_.length){console.warn("[mobx] Out of bounds read: "+e);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(tq(this)){var o=tH(this,{type:t2,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var a=Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}(),t4={clear:function(){return this.splice(0)},replace:function(e){var t=this[er];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[er];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[er].spliceWithArray_(e,t,n)},push:function(){for(var e=this[er],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[er].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[er],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return tl.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){tl.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[er],n=t.dehanceValues_(t.values_).indexOf(e);return!!(n>-1)&&(this.splice(n,1),!0)}};function t6(e,t){"function"==typeof Array.prototype[e]&&(t4[e]=t(e))}function t9(e){return function(){var t=this[er];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t8(e){return function(t,n){var r=this,i=this[er];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function t7(e){return function(){var t=this,n=this[er];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}t6("at",t9),t6("concat",t9),t6("flat",t9),t6("includes",t9),t6("indexOf",t9),t6("join",t9),t6("lastIndexOf",t9),t6("slice",t9),t6("toString",t9),t6("toLocaleStr
1ing",t9),t6("toSorted",t9),t6("toSpliced",t9),t6("with",t9),t6("every",t8),t6("filter",t8),t6("find",t8),t6("findIndex",t8),t6("findLast",t8),t6("findLastIndex",t8),t6("flatMap",t8),t6("forEach",t8),t6("map",t8),t6("some",t8),t6("toReversed",t8),t6("reduce",t7),t6("reduceRight",t7);var ne=Z("ObservableArrayAdministration",t3);function nt(e){return D(e)&&ne(e[er])}var nn={},nr="delete",ni=function(){function e(e,t,n){var i=this;void 0===t&&(t=el),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[er]=nn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,!_(Map)&&r(18),n_(function(){i.keysAtom_=ea("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!tl.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new e0(this.has_(e),ec,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tE(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(tq(this)){var r=tH(this,{type:n?t2:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,tq(this)&&!tH(this,{type:nr,object:this,name:e}))return!1;if(this.has_(e)){var n=tG(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:nr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tY(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tK(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==tl.UNCHANGED){var r=tG(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:t2,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tK(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tY(function(){var r,i=new e0(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tG(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tK(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return na({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return na({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=U(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return no(e)&&(e=new Map(e)),tY(function(){if(E(e))(function(e){var t=Object.keys(e);if(!N)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return x.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])});else if(Array.isArray(e))e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)});else if(I(e)){if(null!==Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(e))))r(19,e);e.forEach(function(e,n){return t.set(n,e)})}else null!=e&&r(20,e)}),this},t.clear=function(){var e=this;tY(function(){e7(function(){for(var t,n=U(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return tY(function(){for(var n=function(e){if(I(e)||no(e))return e;if(Array.isArray(e))return new Map(e);if(!E(e))return r(21,e);else{var t=new Map;for(var n in e)t.set(n,e[n]);return t}}(e),i=new Map,o=!1,a,s=U(t.data_.keys());!(a=s()).done;){var l=a.value;if(!n.has(l)){if(t.delete(l))o=!0;else{var c=t.data_.get(l);i.set(l,c)}}}for(var u,d=U(n.entries());!(u=d()).done;){var f=u.value,h=f[0],p=f[1],m=t.data_.has(h);if(t.set(h,p),t.data_.has(h)){var g=t.data_.get(h);i.set(h,g),!m&&(o=!0)}}if(!o){if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else{for(var O=t.data_.keys(),v=i.keys(),b=O.next(),y=v.next();!b.done;){if(b.value!==y.value){t.keysAtom_.reportChanged();break}b=O.next(),y=v.next()}}}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return tJ(this,e)},t.intercept_=function(e){return tU(this,e)},q(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),no=Z("ObservableMap",ni);function na(e){return e[Symbol.toStringTag]="MapIterator",n$(e)}var ns={},nl=function(){function e(e,t,n){var i=this;void 0===t&&(t=el),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[er]=ns,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,!_(Set)&&r(22),this.enhancer_=function(e,r){return t(e,r,n)},n_(function(){i.atom_=ea(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tY(function(){e7(function(){for(var t,n=U(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=U(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,tq(this)&&!tH(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){tY(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=tG(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&tK(this,r)}return this},t.delete=function(e){var t=this;if(tq(this)&&!tH(this,{type:nr,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tG(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:nr,object:this,oldValue:e}:null;return tY(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tK(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return nu({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{value:void 0,done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return nu({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return A(e)&&!nc(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return A(e)&&!nc(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return A(e)&&!nc(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return A(e)&&!nc(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return nc(e)&&(e=new Set(e)),tY(function(){Array.isArray(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):A(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&r("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return tJ(this,e)},t.intercept_=function(e){return tU(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},q(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),nc=Z("ObservableSet",nl);function nu(e){return e[Symbol.toStringTag]="SetIterator",n$(e)}var nd=Object.create(null),nf="remove",nh=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=eC),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=ne
1w ei("ObservableObject.keys"),this.isPlainObject_=E(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof e1)return n.set(t),!0;if(tq(this)){var r=tH(this,{type:t2,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==tl.UNCHANGED){var i=tG(this),o=i?{type:t2,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&tK(this,o)}return!0},t.get_=function(e){return tl.trackingDerivation&&!F(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return(void 0===n&&(n=!1),F(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!tl.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return!t&&(t=new e0(e in this.target_,ec,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[K])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==x;){var o=b(i,e);if(o){var a=t.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}nv(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&nv(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{td();var r=this.delete_(e);if(!r)return r;if(tq(this)){var i=tH(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=H({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else y(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{tf()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{td();var i=this.delete_(e);if(!i)return i;if(tq(this)){var o=tH(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!o)return null;t=o.newValue}var a=ng(e),s={configurable:!tl.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else y(this.target_,e,s);var l=new e0(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{tf()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{td();var r=this.delete_(e);if(!r)return r;if(tq(this)&&!tH(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=ng(e),o={configurable:!tl.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else y(this.target_,e,o);this.values_.set(e,new e1(t)),this.notifyPropertyAddition_(e,void 0)}finally{tf()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!F(this.target_,e))return!0;if(tq(this)&&!tH(this,{object:this.proxy_||this.target_,name:e,type:nf}))return null;try{td();var n,r,i=tG(this),o=this.values_.get(e),a=void 0;if(!o&&i&&(a=null==(r=b(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof e0&&(a=o.value_),tp(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var s={type:nf,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&tK(this,s)}}finally{tf()}return!0},t.observe_=function(e,t){return tJ(this,e)},t.intercept_=function(e){return tU(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=tG(this);if(r){var i=r?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&tK(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),L(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function np(e,t){if(F(e,er))return e;var n,r,i,o=null!=(i=null==t?void 0:t.name)?i:"ObservableObject";var a=new nh(e,new Map,String(o),(n=t)?null!=(r=n.defaultDecorator)?r:e_(n):void 0);return $(e,er,a),e}var nm=Z("ObservableObjectAdministration",nh);function ng(e){return nd[e]||(nd[e]={get:function(){return this[er].getObservablePropValue_(e)}
1,set:function(t){return this[er].setObservablePropValue_(e,t)}})}function nO(e){return!!D(e)&&nm(e[er])}function nv(e,t,n){var r;null==(r=e.target_[K])||delete r[n]}function nb(e,t,n){}var ny=nP(0);var nx=(s=!1,Object.defineProperty(l={},"0",{set:function(){s=!0}}),Object.create(l)["0"]=1,!1===s),nw=0,nS=function(){};c=nS,u=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(c.prototype,u):void 0!==c.prototype.__proto__?c.prototype.__proto__=u:c.prototype=u;var nk=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,n_(function(){var e=new t3(r,n,i,!0);e.proxy_=o,R(o,er,e),t&&t.length&&o.spliceWithArray(0,0,t),nx&&Object.defineProperty(o,"0",ny)}),o}G(t,e);var n=t.prototype;return n.concat=function(){this[er].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return nt(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return n$({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},q(t,[{key:"length",get:function(){return this[er].getArrayLength_()},set:function(e){this[er].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(nS);function nP(e){return{enumerable:!1,configurable:!0,get:function(){return this[er].get_(e)},set:function(t){this[er].set_(e,t)}}}Object.entries(t4).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&$(nk.prototype,t,n)});function nM(e){if(e>nw){for(var t,n=nw;n<e+100;n++){;t=n,y(nk.prototype,""+t,nP(t))}nw=e}}nM(1e3);function nj(e,t){if("object"==typeof e&&null!==e){if(nt(e))return void 0!==t&&r(23),e[er].atom_;if(nc(e))return e.atom_;if(no(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return!n&&r(25,t,nC(e)),n}if(nO(e)){if(!t)return r(26);var i=e[er].values_.get(t);return!i&&r(27,t,nC(e)),i}if(eo(e)||e2(e)||tb(e))return e}else if(_(e)&&tb(e[er]))return e[er];r(28)}function nC(e,t){var n;if(void 0!==t)n=nj(e,t);else{if(tT(e))return e.name;n=nO(e)||no(e)||nc(e)?function e(t,n){return(!t&&r(29),void 0!==n)?e(nj(t,n)):eo(t)||e2(t)||tb(t)||no(t)||nc(t)?t:t[er]?t[er]:void r(24,t)}(e):nj(e)}return n.name_}function n_(e){var t=te(),n=eJ(!0);td();try{return e()}finally{tf(),eK(n),tt(t)}}var nT=x.toString;function nD(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,o){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof n)return!1;var s=nT.call(t);if(s!==nT.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=nE(t),n=nE(n);var l="[object Array]"===s;if(!l){if("object"!=typeof t||"object"!=typeof n)return!1;var c=t.constructor,u=n.constructor;if(c!==u&&!(_(c)&&c instanceof c&&_(u)&&u instanceof u)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1);o=o||[];for(var d=(i=i||[]).length;d--;)if(i[d]===t)return o[d]===n;if(i.push(t),o.push(n),l){if((d=t.length)!==n.length)return!1;for(;d--;)if(!e(t[d],n[d],r-1,i,o))return!1}else{var f,h=Object.keys(t);if(d=h.length,Object.keys(n).length!==d)return!1;for(;d--;)if(!(F(n,f=h[d])&&e(t[f],n[f],r-1,i,o)))return!1}return i.pop(),o.pop(),!0}(e,t,n)}function nE(e){return nt(e)?e.slice():I(e)||no(e)||A(e)||nc(e)?Array.from(e.entries()):e}var nQ=(null==(m=O().Iterator)?void 0:m.prototype)||{};function n$(e){return e[Symbol.iterator]=nR,Object.assign(Object.create(nQ),e)}function nR(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===O()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:nC},$mobx:er})},31250:function(e,t,n){"use strict";var r,i,o=n("26779"),a=n("3781"),s=n("27215");function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}var u=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),O=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var k=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var P=Symbol.for("react.memo_cache_sentinel"),M=Symbol.iterator;function j(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var C=Symbol.for("react.client.reference"),_,T,D,E=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.assign;function $(e){if(void 0===T)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);T=t&&t[1]||"",D=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+T+e+D}var R=!1;function Z(e,t){if(!e||R)return"";R=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
1else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do if(r--,i--,0>i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=i);break}}}finally{R=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?$(n):""}function I(e){try{var t="";do t+=function(e){switch(e.tag){case 26:case 27:case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 15:return e=Z(e.type,!1);case 11:return e=Z(e.type.render,!1);case 1:return e=Z(e.type,!0);default:return""}}(e),e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function A(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function N(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function L(e){if(A(e)!==e)throw Error(l(188))}var z=Array.isArray,F=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},W=[],Y=-1;function X(e){return{current:e}}function B(e){0>Y||(e.current=W[Y],W[Y]=null,Y--)}function q(e,t){W[++Y]=e.current,e.current=t}var U=X(null),H=X(null),G=X(null),J=X(null);function K(e,t){switch(q(G,t),q(H,e),q(U,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?l9(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=l8(e=l9(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(U),q(U,t)}function ee(){B(U),B(H),B(G)}function et(e){null!==e.memoizedState&&q(J,e);var t=U.current,n=l8(t,e.type);t!==n&&(q(H,e),q(U,n))}function en(e){H.current===e&&(B(U),B(H)),J.current===e&&(B(J),cI._currentValue=V)}var er=Object.prototype.hasOwnProperty,ei=o.unstable_scheduleCallback,eo=o.unstable_cancelCallback,ea=o.unstable_shouldYield,es=o.unstable_requestPaint,el=o.unstable_now,ec=o.unstable_getCurrentPriorityLevel,eu=o.unstable_ImmediatePriority,ed=o.unstable_UserBlockingPriority,ef=o.unstable_NormalPriority,eh=o.unstable_LowPriority,ep=o.unstable_IdlePriority,em=o.log,eg=o.unstable_setDisableYieldValue,eO=null,ev=null;function eb(e){if("function"==typeof em&&eg(e),ev&&"function"==typeof ev.setStrictMode)try{ev.setStrictMode(eO,e)}catch(e){}}var ey=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ex(e)/ew|0)|0},ex=Math.log,ew=Math.LN2,eS=128,ek=4194304;function eP(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function eM(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=e.warmLanes;e=0!==e.finishedLanes;var s=134217727&n;return 0!==s?0!=(n=s&~i)?r=eP(n):0!=(o&=s)?r=eP(o):e||0!=(a=s&~a)&&(r=eP(a
1)):0!=(s=n&~i)?r=eP(s):0!==o?r=eP(o):e||0!=(a=n&~a)&&(r=eP(a)),0===r?0:0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(a=t&-t)||32===i&&0!=(4194176&a))?t:r}function ej(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eC(){var e=eS;return 0==(4194176&(eS<<=1))&&(eS=128),e}function e_(){var e=ek;return 0==(62914560&(ek<<=1))&&(ek=4194304),e}function eT(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eD(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eE(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ey(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function eQ(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ey(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function e$(e){return 2<(e&=-e)?8<e?0!=(134217727&e)?32:268435456:8:2}function eR(){var e=F.p;return 0!==e?e:void 0===(e=window.event)?32:cJ(e.type)}var eZ=Math.random().toString(36).slice(2),eI="__reactFiber$"+eZ,eA="__reactProps$"+eZ,eN="__reactContainer$"+eZ,eL="__reactEvents$"+eZ,ez="__reactListeners$"+eZ,eF="__reactHandles$"+eZ,eV="__reactResources$"+eZ,eW="__reactMarker$"+eZ;function eY(e){delete e[eI],delete e[eA],delete e[eL],delete e[ez],delete e[eF]}function eX(e){var t=e[eI];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eN]||n[eI]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=cc(e);null!==e;){if(n=e[eI])return n;e=cc(e)}return t}n=(e=n).parentNode}return null}function eB(e){if(e=e[eI]||e[eN]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function eq(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function eU(e){var t=e[eV];return t||(t=e[eV]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eH(e){e[eW]=!0}var eG=new Set,eJ={};function eK(e,t){e0(e,t),e0(e+"Capture",t)}function e0(e,t){for(eJ[e]=t,e=0;e<t.length;e++)eG.add(t[e])}var e1=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),e2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),e5={},e3={};function e4(e,t,n){var r;if(r=t,er.call(e3,r)||!er.call(e5,r)&&(e2.test(r)?e3[r]=!0:(e5[r]=!0,!1))){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if("data-"!==i&&"aria-"!==i){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}}function e6(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function e9(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function e8(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e7(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function te(e){e._valueTracker||(e._valueTracker=function(e){var t=e7(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function tt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e7(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function tn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tr=/[\n"\\]/g;function ti(e){return e.replace(tr,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}
1function to(e,t,n,r,i,o,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e8(t)):e.value!==""+e8(t)&&(e.value=""+e8(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?ts(e,a,e8(t)):null!=n?ts(e,a,e8(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+e8(s):e.removeAttribute("name")}function ta(e,t,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(!("submit"!==o&&"reset"!==o||null!=t))return;n=null!=n?""+e8(n):"",t=null!=t?""+e8(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a)}function ts(e,t,n){"number"===t&&tn(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function tl(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(i=0,n=""+e8(n),t=null;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function tc(e,t,n){if(null!=t&&((t=""+e8(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+e8(n):""}function tu(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(z(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=e8(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function td(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tf=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function th(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tf.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tp(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&th(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&th(e,o,t[o])}function tm(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
1dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tO=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tv(e){return tO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var tb=null;function ty(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 4,809 bytes, line 1
1odeType?e.parentNode:e}var tx=null,tw=null;function tS(e){var t=eB(e);if(t&&(e=t.stateNode)){var n=e[eA]||null;switch(e=t.stateNode,t.type){case"input":if(to(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+ti(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[eA]||null;if(!i)throw Error(l(90));to(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&tt(r)}break;case"textarea":tc(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&tl(e,!!n.multiple,t,!1)}}}var tk=!1;function tP(e,t,n){if(tk)return e(t,n);tk=!0;try{return e(t)}finally{if(tk=!1,(null!==tx||null!==tw)&&(s9(),tx&&(t=tx,e=tw,tw=tx=null,tS(t),e)))for(t=0;t<e.length;t++)tS(e[t])}}function tM(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eA]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tj=!1;if(e1)try{var tC={};Object.defineProperty(tC,"passive",{get:function(){tj=!0}}),window.addEventListener("test",tC,tC),window.removeEventListener("test",tC,tC)}catch(e){tj=!1}var t_=null,tT=null,tD=null;function tE(){if(tD)return tD;var e,t,n=tT,r=n.length,i="value"in t_?t_.value:t_.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return tD=i.slice(e,1<t?1-t:void 0)}function tQ(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function t$(){return!0}function tR(){return!1}function tZ(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?t$:tR,this.isPropagationStopped=tR,this}return Q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=t$)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=t$)},persist:function(){},isPersistent:t$}),t}var tI,tA,tN,tL={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tz=tZ(tL),tF=Q({},tL,{view:0,detail:0}),tV=tZ(tF),tW=Q({},tF,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t1,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tN&&(tN&&"mousemove"===e.type?(tI=e.screenX-tN.screenX,tA=e.screenY-tN.screenY):tA=tI=0,tN=e),tI)},movementY:function(e){return"movementY"in e?e.movementY:tA}}),tY=tZ(tW),tX=tZ(Q({},tW,{dataTransfer:0})),tB=tZ(Q({},tF,{relatedTarget:0})),tq=tZ(Q({},tL,{animationName:0,elapsedTime:0,pseudoElement:0})),tU=tZ(Q({},tL,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tH=tZ(Q({},tL,{data:0})),tG={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tJ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tK={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=tK[e])&&!!t[e]}function t1(){return t0}var t2=tZ(Q({},tF,{key:function(e){if(e.key){var t=tG[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tQ(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"ke
1yup"===e.type?tJ[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t1,charCode:function(e){return"keypress"===e.type?tQ(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tQ(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tZ(Q({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t3=tZ(Q({},tF,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t1})),t4=tZ(Q({},tL,{propertyName:0,elapsedTime:0,pseudoElement:0})),t6=tZ(Q({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t9=tZ(Q({},tL,{newState:0,oldState:0})),t8=[9,13,27,32],t7=e1&&"CompositionEvent"in window,ne=null;e1&&"documentMode"in document&&(ne=document.documentMode);var nt=e1&&"TextEvent"in window&&!ne,nn=e1&&(!t7||ne&&8<ne&&11>=ne),nr=!1;function ni(e,t){switch(e){case"keyup":return -1!==t8.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function no(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var na=!1,ns={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ns[e.type]:"textarea"===t}function nc(e,t,n,r){tx?tw?tw.push(r):tw=[r]:tx=r,0<(t=lB(t,"onChange")).length&&(n=new tz("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nu=null,nd=null;function nf(e){lN(e,0)}function nh(e){if(tt(eq(e)))return e}function np(e,t){if("change"===e)return t}var nm=!1;if(e1){if(e1){var ng="oninput"in document;if(!ng){var nO=document.createElement("div");nO.setAttribute("oninput","return;"),ng="function"==typeof nO.oninput}r=ng}else r=!1;nm=r&&(!document.documentMode||9<document.documentMode)}function nv(){nu&&(nu.detachEvent("onpropertychange",nb),nd=nu=null)}function nb(e){if("value"===e.propertyName&&nh(nd)){var t=[];nc(t,nd,e,ty(e)),tP(nf,t)}}function ny(e,t,n){"focusin"===e?(nv(),nu=t,nd=n,nu.attachEvent("onpropertychange",nb)):"focusout"===e&&nv()}function nx(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nh(nd)}function nw(e,t){if("click"===e)return nh(t)}function nS(e,t){if("input"===e||"change"===e)return nh(t)}var nk="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nP(e,t){if(nk(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!er.call(t,i)||!nk(e[i],t[i]))return!1}return!0}function nM(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nj(e,t){var n,r=nM(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nM(r)}}function nC(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=tn(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=tn(e.document)}return t}function n_(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nT=e1&&"documentMode"in document&&11>=document.documentMode,nD=null,nE=null,nQ=null,n$=!1;function nR(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;n$||null==nD||nD!==tn(r)||(r="selectionStart"in(r=nD)&&n_(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 15,654 bytes, line 1
1sNode:r.focusNode,focusOffset:r.focusOffset},nQ&&nP(nQ,r)||(nQ=r,0<(r=lB(nE,"onSelect")).length&&(t=new tz("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nD)))}function nZ(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nI={animationend:nZ("Animation","AnimationEnd"),animationiteration:nZ("Animation","AnimationIteration"),animationstart:nZ("Animation","AnimationStart"),transitionrun:nZ("Transition","TransitionRun"),transitionstart:nZ("Transition","TransitionStart"),transitioncancel:nZ("Transition","TransitionCancel"),transitionend:nZ("Transition","TransitionEnd")},nA={},nN={};function nL(e){if(nA[e])return nA[e];if(!nI[e])return e;var t,n=nI[e];for(t in n)if(n.hasOwnProperty(t)&&t in nN)return nA[e]=n[t];return e}e1&&(nN=document.createElement("div").style,"AnimationEvent"in window||(delete nI.animationend.animation,delete nI.animationiteration.animation,delete nI.animationstart.animation),"TransitionEvent"in window||delete nI.transitionend.transition);var nz=nL("animationend"),nF=nL("animationiteration"),nV=nL("animationstart"),nW=nL("transitionrun"),nY=nL("transitionstart"),nX=nL("transitioncancel"),nB=nL("transitionend"),nq=new Map,nU="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function nH(e,t){nq.set(e,t),eK(t,[e])}var nG=[],nJ=0,nK=0;function n0(){for(var e=nJ,t=nK=nJ=0;t<e;){var n=nG[t];nG[t++]=null;var r=nG[t];nG[t++]=null;var i=nG[t];nG[t++]=null;var o=nG[t];if(nG[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&n3(n,i,o)}}function n1(e,t,n,r){nG[nJ++]=e,nG[nJ++]=t,nG[nJ++]=n,nG[nJ++]=r,nK|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function n2(e,t,n,r){return n1(e,t,n,r),n4(e)}function n5(e,t){return n1(e,null,null,t),n4(e)}function n3(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;i&&null!==t&&3===e.tag&&(o=e.stateNode,i=31-ey(n),null===(e=(o=o.hiddenUpdates)[i])?o[i]=[t]:e.push(t),t.lane=536870912|n)}function n4(e){if(50<sJ)throw sJ=0,sK=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var n6={},n9=new WeakMap;function n8(e,t){if("object"==typeof e&&null!==e){var n=n9.get(e);return void 0!==n?n:(t={value:e,source:t,stack:I(t)},n9.set(e,t),t)}return{value:e,source:t,stack:I(t)}}var n7=[],re=0,rt=null,rn=0,rr=[],ri=0,ro=null,ra=1,rs="";function rl(e,t){n7[re++]=rn,n7[re++]=rt,rt=e,rn=t}function rc(e,t,n){rr[ri++]=ra,rr[ri++]=rs,rr[ri++]=ro,ro=e;var r=ra;e=rs;var i=32-ey(r)-1;r&=~(1<<i),n+=1;var o=32-ey(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,ra=1<<32-ey(t)+i|n<<i|r,rs=o+e}else ra=1<<o|n<<i|r,rs=e}function ru(e){null!==e.return&&(rl(e,1),rc(e,1,0))}function rd(e){for(;e===rt;)rt=n7[--re],n7[re]=null,rn=n7[--re],n7[re]=null;for(;e===ro;)ro=rr[--ri],rr[ri]=null,rs=rr[--ri],rr[ri]=null,ra=rr[--ri],rr[ri]=null}var rf=null,rh=null,rp=!1,rm=null,rg=!1,rO=Error(l(519));function rv(e){throw rS(n8(Error(l(418,"")),e)),rO}function rb(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eI]=e,t[eA]=r,n){case"dialog":lL("cancel",t),lL("close",t);break;case"iframe":case"object":case"embed":lL("load",t);break;case"video":case"audio":for(n=0;n<lI.length;n++)lL(lI[n],t);break;case"source":lL("error",t);break;case"img":case"image":case"link":lL("error",t),lL("load",t);break;case"details":lL("toggle",t);break;case"input":lL("invalid",t),ta(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),te(t);break;case"select":lL("invalid",t);break;case"textarea":lL("invalid",t),tu(t,r.value,r.defaultValue,r.children),te(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||lK(t.textContent,n)?(null!=r.popover&&(lL("beforetoggle",t),lL("toggle",t)),null!=r.onScroll&&lL("scroll",t),null!=r.onScrollEnd&&lL("scrollend",t),null!=r.onClick&&(t.onclick=l0),t=!0):t=!1,t||rv(e)}function ry(e){for(rf=e.return;rf;)switch(rf.tag){case 3:case 27:rg=!0;return;case 5:case 13:rg=!1;return;default:rf=rf.return}}function rx(e){if(e!==rf)return!1;if(!rp)return ry(e),rp=!0,!1;var t,n=!1;if((t=3!==e.tag&&27!==e.tag)&&((t=5===e.tag)&&(t=!("form"!==(t=e.type)&&"button"!==t)||l7(e.type,e.memoizedProps)),t=!t),t&&(n=!0),n&&rh&&rv(e),ry(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(n=0,e=e.nextSibling;e;){if(8===e.nodeType){if("/$"===(t=e.data)){if(0===n){rh=cl(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}rh=null}}else rh=rf?cl(e.stateNode.nextSibling):null;return!0}function rw(){rh=rf=null,rp=!1}function rS(e){null===rm?rm=[e]:rm.push(e)}var rk=Error(l(460)),rP=Error(l(474)),rM={then:function(){}};function rj(e){return"fulfilled"===(e=e.status)||"rejected"===e}function rC(){}function r_(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(rC,rC),t=n),t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===rk)throw Error(l(483));throw e;default:if("string"==typeof t.status)t.then(rC,rC);else{if(null!==(e=sP)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===rk)throw Error(l(483));throw e}throw rT=t,rk}}var rT=null;function rD(){if(null===rT)throw Error(l(459));var e=rT;return rT=null,e}var rE=null,rQ=0;function r$(e){var t=rQ;return rQ+=1,null===rE&&(rE=[]),r_(rE,e,t)}function rR(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function rZ(e,t){if(t.$$typeof===u)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function rI(e){return(0,e._init)(e._payload)}function rA(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=sc(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=33554434,n):r:(t.flags|=33554434,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=33554434),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=sp(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===h?p(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===S&&rI(o)===t.type)?(rR(t=i(t,n.props),n),t.return=e,t):(rR(t=sd(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=sm(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function p(e,t,n,r,o){return null===t||7!==t.tag?((t=sf(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=sp(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case d:return rR(n=sd(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case f:return(t=sm(t,e.mode,n)).return=e,t;case S:return m(e,t=(0,t._init)(t._payload),n)}if(z(t)||j(t))return(t=sf(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return m(e,r$(t),n);if(t.$$typeof===v)return m(e,am(e,t),n);rZ(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case d:return n.key===i?c(e,t,n,r):null;case f:return n.key===i?u(e,t,n,r):null;case S:return g(e,t,n=(i=n._init)(n._payload),r)}if(z(n)||j(n))return null!==i?null:p(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,r$(n),r);if(n.$$typeof===v)return g(e,t,am(e,n),r);rZ(e,n)}return null}function O(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case d:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case f:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return O(e,t,n,r=(0,r._init)(r._payload),i)}if(z(r)||j(r))return p(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return O(e,t,n,r$(r),i);if(r.$$typeof===v)return O(e,t,n,am(t,r),i);rZ(t,r)}return null}return function(s,c,u,p){try{rQ=0;var b=function s(c,u,p,b){if("object"==typeof p&&null!==p&&p.type===h&&null===p.key&&(p=p.props.children),"object"==typeof p&&null!==p){switch(p.$$typeof){case d:e:{for(var y=p.key;null!==u;){if(u.key===y){if((y=p.type)===h){if(7===u.tag){n(c,u.sibling),(b=i(u,p.props.children)).return=c,c=b;break e}}else if(u.elementType===y||"object"==typeof y&&null!==y&&y.$$typeof===S&&rI(y)===u.type){n(c,u.sibling),rR(b=i(u,p.props),p),b.return=c,c=b;break e}n(c,u);break}t(c,u);u=u.sibling}p.type===h?(b=sf(p.props.children,c.mode,b,p.key)).return=c:(rR(b=sd(p.type,p.key,p.props,null,c.mode,b),p),b.return=c),c=b}return a(c);case f:e:{for(y=p.key;null!==u;){if(u.key===y){if(4===u.tag&&u.stateNode.containerInfo===p.containerInfo&&u.stateNode.implementation===p.implementation){n(c,u.sibling),(b=i(u,p.children||[])).return=c,c=b;break e}n(c,u);break}t(c,u);u=u.sibling}(b=sm(p,c.mode,b)).return=c,c=b}return a(c);case S:return s(c,u,p=(y=p._init)(p._payload),b)}if(z(p))return function(i,a,s,l){for(var c=null,u=null,d=a,f=a=0,h=null;null!==d&&f<s.length;f++){d.index>f?(h=d,d=null):h=d.sibling;var p=g(i,d,s[f],l);if(null===p){null===d&&(d=h);break}e&&d&&null===p.alternate&&t(i,d),a=o(p,a,f),null===u?c=p:u.sibling=p,u=p,d=h}if(f===s.length)return n(i,d),rp&&rl(i,f),c;if(null===d){for(;f<s.length;f++)null!==(d=m(i,s[f],l))&&(a=o(d,a,f),null===u?c=d:u.sibling=d,u=d);return rp&&rl(i,f),c}for(d=r(d);f<s.length;f++)null!==(h=O(d,i,f,s[f],l))&&(e&&null!==h.alternate&&d.delete(null===h.key?f:h.key),a=o(h,a,f),null===u?c=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),rp&&rl(i,f),c}(c,u,p,b);if(j(p)){if("function"!=typeof(y=j(p)))throw Error(l(150));return function(i,a,s,c){if(null==s)throw Error(l(151));for(var u=null,d=null,f=a,h=a=0,p=null,v=s.next();null!==f&&!v.done;h++,v=s.next()){f.index>h?(p=f,f=null):p=f.sibling;var b=g(i,f,v.value,c);if(null===b){null===f&&(f=p);break}e&&f&&null===b.alternate&&t(i,f),a=o(b,a,h),null===d?u=b:d.sibling=b,d=b,f=p}if(v.done)return n(i,f),rp&&rl(i,h),u;if(null===f){for(;!v.done;h++,v=s.next())null!==(v=m(i,v.value,c))&&(a=o(v,a,h),null===d?u=v:d.sibling=v,d=v);return rp&&rl(i,h),u}for(f=r(f);!v.done;h++,v=s.next())null!==(v=O(f,i,h,v.value,c))&&(e&&null!==v.alternate&&f.delete(null===v.key?h:v.key),a=o(v,a,h),null===d?u=v:d.sibling=v,d=v);return e&&f.forEach(function(e){return t(i,e)}),rp&&rl(i,h),u}(c,u,p=y.call(p),b)}if("function"==typeof p.then)return s(c,u,r$(p),b);if(p.$$typeof===v)return s(c,u,am(c,p),b);rZ(c,p)}return"string"==typeof p&&""!==p||"number"==typeof p||"bigint"==typeof p?(p=""+p,null!==u&&6===u.tag?(n(c,u.sibling),(b=i(u,p)).return=c):(n(c,u),(b=sp(p,c.mode,b)).return=c),a(c=b)):n(c,u)}(s,c,u,p);return rE=null,b}catch(e){if(e===rk)throw e;var y=ss(29,e,null,s.mode);return y.lanes=p,y.return=s,y}finally{}}}var rN=rA(!0),rL=rA(!1),rz=X(null),rF=X(0);function rV(e,t){q(rF,e=sQ),q(rz,t),sQ=e|t.baseLanes}function rW(){q(rF,sQ),q(rz,rz.current)}function rY(){sQ=rF.current,B(rz),B(rF)}var rX=X(null),rB=null;function rq(e){var t=e.alternate;q(rJ,1&rJ.current),q(rX,e),null===rB&&(null===t||null!==rz.current?rB=e:null!==t.memoizedState&&(rB=e))}function rU(e){if(22===e.tag){if(q(rJ,rJ.current),q(rX,e),null===rB){var t=e.alternate;null!==t&&null!==t.memoizedState&&(rB=e)}}else rH(e)}function rH(){q(rJ,rJ.current),q(rX,rX.current)}function rG(e){B(rX),rB===e&&(rB=null),B(rJ)}var rJ=X(0);function rK(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var r0="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},r1=o.unstable_scheduleCallback,r2=o.unstable_NormalPriority,r5={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function r3(){return{controller:new r0,data:new Map,refCount:0}}function r4(e){e.refCount--,0===e.refCount&&r1(r2,function(){e.controller.abort()})}var r6=null,r9=0,r8=0,r7=null;function ie(){if(0==--r9&&null!==r6){null!==r7&&(r7.status="fulfilled");var e=r6;r6=null,r8=0,r7=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var it=E.S;E.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===r6){var n=r6=[];r9=0,r8=lE(),r7={status:"pending",value:void 0,then:function(e){n.push(e)}}}r9++,t.then(ie,ie)}(0,t),null!==it&&it(e,t)};var ir=X(null);function ii(){var e=ir.current;return null!==e?e:sP.pooledCache}function io(e,t){null===t?q(ir,ir.current):q(ir,t.pool)}function ia(){var e=ii();return null===e?null:{parent:r5._currentValue,pool:e}}var is=0,il=null,ic=null,iu=null,id=!1,ih=!1,ip=!1,im=0,ig=0,iO=null,iv=0;function ib(){throw Error(l(321))}function iy(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nk(e[n],t[n]))return!1;return!0}function ix(e,t,n,r,i,o){return is=o,il=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=null===e||null===e.memoizedState?oP:oM,ip=!1,o=n(r,i),ip=!1,ih&&(o=iS(t,n,r,i)),iw(e),o}function iw(e){E.H=ok;var t=null!==ic&&null!==ic.next;if(is=0,iu=ic=il=null,id=!1,ig=0,iO=null,t)throw Error(l(300));null===e||oV||null!==(e=e.dependencies)&&af(e)&&(oV=!0)}function iS(e,t,n,r){il=e;var i=0;do{if(ih&&(iO=null),ig=0,ih=!1,25<=i)throw Error(l(301));if(i+=1,iu=ic=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}E.H=oj,o=t(n,r)}while(ih);return o}function ik(){var e=E.H,t=e.useState()[0];return t="function"==typeof t.then?iT(t):t,e=e.useState()[0],(null!==ic?ic.memoizedState:null)!==e&&(il.flags|=1024),t}function iP(){var e=0!==im;return im=0,e}function iM(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ij(e){if(id){for(e=e.memoizedState;null!==e;){var t=e.queue;
vendor: 4,570 bytes, line 1
1null!==t&&(t.pending=null),e=e.next}id=!1}is=0,iu=ic=il=null,ih=!1,ig=im=0,iO=null}function iC(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===iu?il.memoizedState=iu=e:iu=iu.next=e,iu}function i_(){if(null===ic){var e=il.alternate;e=null!==e?e.memoizedState:null}else e=ic.next;var t=null===iu?il.memoizedState:iu.next;if(null!==t)iu=t,ic=e;else{if(null===e){if(null===il.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(ic=e).memoizedState,baseState:ic.baseState,baseQueue:ic.baseQueue,queue:ic.queue,next:null},null===iu?il.memoizedState=iu=e:iu=iu.next=e}return iu}function iT(e){var t=ig;return ig+=1,null===iO&&(iO=[]),e=r_(iO,e,t),t=il,null===(null===iu?t.memoizedState:iu.next)&&(t=t.alternate,E.H=null===t||null===t.memoizedState?oP:oM),e}function iD(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return iT(e);if(e.$$typeof===v)return ap(e)}throw Error(l(438,String(e)))}function iE(e){var t=null,n=il.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=il.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=i(),il.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=P;return t.index++,n}function iQ(e,t){return"function"==typeof t?t(e):t}function i$(e){return iR(i_(),ic,e)}function iR(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,null===i)e.memoizedState=o;else{t=i.next;var s=a=null,c=null,u=t,d=!1;do{var f=-536870913&u.lane;if(f!==u.lane?(sj&f)===f:(is&f)===f){var h=u.revertLane;if(0===h)null!==c&&(c=c.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===r8&&(d=!0);else if((is&h)===h){u=u.next,h===r8&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=f,a=o):c=c.next=f,il.lanes|=h,sR|=h;f=u.action,ip&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else h={lane:f,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=h,a=o):c=c.next=h,il.lanes|=f,sR|=f;u=u.next}while(null!==u&&u!==t);if(null===c?a=o:c.next=s,!nk(o,e.memoizedState)&&(oV=!0,d&&null!==(n=r7)))throw n;e.memoizedState=o,e.baseState=a,e.baseQueue=c,r.lastRenderedState=o}return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function iZ(e){var t=i_(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);nk(o,t.memoizedState)||(oV=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function iI(e,t,n){var r=il,i=i_(),o=rp;if(o){if(void 0===n)throw Error(l(407));n=n()}else n=t();var a=!nk((ic||i).memoizedState,n);if(a&&(i.memoizedState=n,oV=!0),i=i.queue,i8(iL.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==iu&&1&iu.memoizedState.tag){if(r.flags|=2048,i5(9,iN.bind(null,r,i,n,t),{destroy:void 0},null),null===sP)throw Error(l(349));o||0!=(60&is)||iA(r,t,n)}return n}function iA(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=il.updateQueue)?(t=i(),il.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function iN(e,t,n,r){t.value=n,t.getSnapshot=r,iz(t)&&iF(e)}function iL(e,t,n){return n(function(){iz(t)&&iF(e)})}function iz(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nk(e,n)}catch(e){return!0}}function iF(e){var t=n5(e,2);null!==t&&s2(t,e,2)}function iV(e){var t=iC();if("function"==typeof e){var n=e;if(e=n(),ip){eb(!0);try{n()}finally{eb(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iQ,lastRenderedState:e},t}function iW(e,t,n,r){return e.baseState=n,iR(e,ic,"function"==typeof r?r:iQ)}function iY(e,t,n,r,i){if(ox(e))throw Error(l(485));if(null!==(e=t.action)){var o={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==E.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,iX(t,o)):(o.next=n.next,t.pending=n.next=o)}}function iX(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=E.T,a={};
1E.T=a;try{var s=n(i,r),l=E.S;null!==l&&l(a,s),iB(e,t,s)}catch(n){iU(e,t,n)}finally{E.T=o}}else try{o=n(i,r),iB(e,t,o)}catch(n){iU(e,t,n)}}function iB(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){iq(e,t,n)},function(n){return iU(e,t,n)}):iq(e,t,n)}function iq(e,t,n){t.status="fulfilled",t.value=n,iH(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,iX(e,n)))}function iU(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,iH(t),t=t.next;while(t!==r)}e.action=null}function iH(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function iG(e,t){return t}function iJ(e,t){if(rp){var n=sP.formState;if(null!==n){e:{var r=il;if(rp){if(rh){t:{for(var i=rh,o=rg;8!==i.nodeType;)if(!o||null===(i=cl(i.nextSibling))){i=null;break t}i="F!"===(o=i.data)||"F"===o?i:null}if(i){rh=cl(i.nextSibling),r="F!"===i.data;break e}}rv(r)}r=!1}r&&(t=n[0])}}return(n=iC()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iG,lastRenderedState:t},n.queue=r,n=ov.bind(null,il,r),r.dispatch=n,r=iV(!1),o=oy.bind(null,il,!1,r.queue),r=iC(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=iY.bind(null,il,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function iK(e){return i0(i_(),ic,e)}function i0(e,t,n){t=iR(e,t,iG)[0],e=i$(iQ)[0],t="object"==typeof t&&null!==t&&"function"==typeof t.then?iT(t):t;var r=i_(),i=r.queue,o=i.dispatch;return n!==r.memoizedState&&(il.flags|=2048,i5(9,i1.bind(null,i,n),{destroy:void 0},null)),[t,o,e]}function i1(e,t){e.action=t}function i2(e){var t=i_(),n=ic;if(null!==n)return i0(t,n,e);i_(),t=t.memoizedState;var r=(n=i_()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function i5(e,t,n,r){return e={tag:e,create:t,inst:n,deps:r,next:null},null===(t=il.updateQueue)&&(t=i(),il.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function i3(){return i_().memoizedState}function i4(e,t,n,r){var i=iC();il.flags|=e,i.memoizedState=i5(1|t,n,{destroy:void 0},void 0===r?null:r)}function i6(e,t,n,r){var i=i_();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==ic&&null!==r&&iy(r,ic.memoizedState.deps)?i.memoizedState=i5(t,n,o,r):(il.flags|=e,i.memoizedState=i5(1|t,n,o,r))}function i9(e,t){i4(8390656,8,e,t)}function i8(e,t){i6(2048,8,e,t)}function i7(e,t){return i6(4,2,e,t)}function oe(e,t){return i6(4,4,e,t)}function ot(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function on(e,t,n){n=null!=n?n.concat([e]):null,i6(4,4,ot.bind(null,t,e),n)}function or(){}function oi(e,t){var n=i_();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iy(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oo(e,t){var n=i_();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&iy(t,r[1]))return r[0];if(r=e(),ip){eb(!0);try{e()}finally{eb(!1)}}return n.memoizedState=[r,t],r}function oa(e,t,n){return void 0===n||0!=(1073741824&is)?e.memoizedState=t:(e.memoizedState=n,e=s1(),il.lanes|=e,sR|=e,n)}function os(e,t,n,r){return nk(n,t)?n:null!==rz.current?(nk(e=oa(e,n,r),t)||(oV=!0),e):0==(42&is)?(oV=!0,e.memoizedState=n):(e=s1(),il.lanes|=e,sR|=e,t)}function ol(e,t,n,r,i){var o=F.p;F.p=0!==o&&8>o?o:8;var a=E.T,s={};E.T=s,oy(e,!1,t,n);try{var l=i(),c=E.S;if(null!==c&&c(s,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var u,d,f,h,p=(u=l,d=r,f=[],h={status:"pending",value:null,reason:null,then:function(e){f.push(e)}},u.then(function(){h.status="fulfilled",h.value=d;for(var e=0;e<f.length;e++)(0,f[e])(d)},function(e){for(h.status="rejected",h.reason=e,e=0;e<f.length;e++)(0,f[e])(void 0)}),h);ob(e,t,p,s0(e))}else ob(e,t,r,s0(e))}catch(n){ob(e,t,{then:function(){},status:"rejected",reason:n},s0())}finally{F.p=o,E.T=a}}function oc(){}function ou(e,t,n,r){if(5!==e.tag)throw Error(l(476));var i=od(e).queue;ol(e,i,t,V,null===n?oc:function(){return of(e),n(r)})}function od(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iQ,lastRenderedState:V},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iQ,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function of(e){var t=od(e).next.queue;ob(e,t,{},s0())}function oh(){return ap(cI)}function op(){return i_().memoizedState}function om(){return i_().memoizedState}function og(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=s0(),r=ax(t,e=ay(n),n);null!==r&&(s2(r,t,n),aw(r,t,n)),t={cache:r3()},e.payload=t;return}t=t.return}}function oO(e,t,n){var r=s0();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},ox(e)?ow(t,n):null!==(n=n2(e,t,n,r))&&(s2(n,e,r),oS(n,t,r))}function ov(e,t,n){ob(e,t,n,s0())}function ob(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(ox(e))ow(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,nk(s,a))return n1(e,t,i,0),null===sP&&n0(),!1}catch(e){}finally{}if(null!==(n=n2(e,t,i,r)))return s2(n,e,r),oS(n,t,r),!0}return!1}function oy(e,t,n,r){if(r={lane:2,revertLane:lE(),action:r,hasEagerState:!1,eagerState:null,next:null},ox(e)){if(t)throw Error(l(479))}else null!==(t=n2(e,n,r,2))&&s2(t,e,2)}function ox(e){var t=e.alternate;return e===il||null!==t&&t===il}function ow(e,t){ih=id=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oS(e,t,n){if(0!=(4194176&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eQ(e,n)}}i=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};var ok={readContext:ap,use:iD,useCallback:ib,useContext:ib,useEffect:ib,useImperativeHandle:ib,useLayoutEffect:ib,useInsertionEffect:ib,useMemo:ib,useReducer:ib,useRef:ib,useState:ib,useDebugValue:ib,useDeferredValue:ib,useTransition:ib,useSyncExternalStore:ib,useId:ib};ok.useCacheRefresh=ib,ok.useMemoCache=ib,ok.useHostTransitionStatus=ib,ok.useFormState=ib,ok.useActionState=ib,ok.useOptimistic=ib;var oP={readContext:ap,use:iD,useCallback:function(e,t){return iC().memoizedState=[e,void 0===t?null:t],e},useContext:ap,useEffect:i9,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,i4(4194308,4,ot.bind(null,t,e),n)},useLayoutEffect:function(e,t){return i4(4194308,4,e,t)},useInsertionEffect:function(e,t){i4(4,2,e,t)},useMemo:function(e,t){var n=iC();t=void 0===t?null:t;var r=e();if(ip){eb(!0);try{e()}finally{eb(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=iC();if(void 0!==n){var i=n(t);if(ip){eb(!0);try{n(t)}finally{eb(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=oO.bind(null,il,e),[r.memoizedState,e]}
vendor: 5,506 bytes, line 1
1,useRef:function(e){var t=iC();return e={current:e},t.memoizedState=e},useState:function(e){var t=(e=iV(e)).queue,n=ov.bind(null,il,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:or,useDeferredValue:function(e,t){return oa(iC(),e,t)},useTransition:function(){var e=iV(!1);return e=ol.bind(null,il,e.queue,!0,!1),iC().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=il,i=iC();if(rp){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===sP)throw Error(l(349));0!=(60&sj)||iA(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,i9(iL.bind(null,r,o,e),[e]),r.flags|=2048,i5(9,iN.bind(null,r,o,n,t),{destroy:void 0},null),n},useId:function(){var e=iC(),t=sP.identifierPrefix;if(rp){var n=rs,r=ra;t=":"+t+"R"+(n=(r&~(1<<32-ey(r)-1)).toString(32)+n),0<(n=im++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=iv++).toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return iC().memoizedState=og.bind(null,il)}};oP.useMemoCache=iE,oP.useHostTransitionStatus=oh,oP.useFormState=iJ,oP.useActionState=iJ,oP.useOptimistic=function(e){var t=iC();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=oy.bind(null,il,!0,n),n.dispatch=t,[e,t]};var oM={readContext:ap,use:iD,useCallback:oi,useContext:ap,useEffect:i8,useImperativeHandle:on,useInsertionEffect:i7,useLayoutEffect:oe,useMemo:oo,useReducer:i$,useRef:i3,useState:function(){return i$(iQ)},useDebugValue:or,useDeferredValue:function(e,t){return os(i_(),ic.memoizedState,e,t)},useTransition:function(){var e=i$(iQ)[0],t=i_().memoizedState;return["boolean"==typeof e?e:iT(e),t]},useSyncExternalStore:iI,useId:op};oM.useCacheRefresh=om,oM.useMemoCache=iE,oM.useHostTransitionStatus=oh,oM.useFormState=iK,oM.useActionState=iK,oM.useOptimistic=function(e,t){return iW(i_(),ic,e,t)};var oj={readContext:ap,use:iD,useCallback:oi,useContext:ap,useEffect:i8,useImperativeHandle:on,useInsertionEffect:i7,useLayoutEffect:oe,useMemo:oo,useReducer:iZ,useRef:i3,useState:function(){return iZ(iQ)},useDebugValue:or,useDeferredValue:function(e,t){var n=i_();return null===ic?oa(n,e,t):os(n,ic.memoizedState,e,t)},useTransition:function(){var e=iZ(iQ)[0],t=i_().memoizedState;return["boolean"==typeof e?e:iT(e),t]},useSyncExternalStore:iI,useId:op};function oC(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Q({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}oj.useCacheRefresh=om,oj.useMemoCache=iE,oj.useHostTransitionStatus=oh,oj.useFormState=i2,oj.useActionState=i2,oj.useOptimistic=function(e,t){var n=i_();return null!==ic?iW(n,ic,e,t):(n.baseState=e,[e,n.queue.dispatch])};var o_={isMounted:function(e){return!!(e=e._reactInternals)&&A(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=s0(),i=ay(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=ax(e,i,r))&&(s2(t,e,r),aw(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=s0(),i=ay(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=ax(e,i,r))&&(s2(t,e,r),aw(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=s0(),r=ay(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ax(e,r,n))&&(s2(t,e,n),aw(t,e,n))}};function oT(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||!nP(n,r)||!nP(i,o)}function oD(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&o_.enqueueReplaceState(t,t.state,null)}function oE(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=Q({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}var oQ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit){process.emit("uncaughtException",e);return}console.error(e)};function o$(e){oQ(e)}function oR(e){console.error(e)}function oZ(e){oQ(e)}function oI(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function oA(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function oN(e,t,n){return(n=ay(n)).tag=3,n.payload={element:null},n.callback=function(){oI(e,t)},n}function oL(e){return(e=ay(e)).tag=3,e}function oz(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){oA(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){oA(t,n,r),"function"!=typeof i&&(null===sX?sX=new Set([this]):sX.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var oF=Error(l(461)),oV=!1;function oW(e,t,n,r){t.child=null===e?rL(t,null,n,r):rN(t,e.child,n,r)}function oY(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return(ah(t),r=ix(e,t,n,a,o,i),s=iP(),null===e||oV)?(rp&&s&&ru(t),t.flags|=1,oW(e,t,r,i
1),t.child):(iM(e,t,i),at(e,t,i))}function oX(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||sl(o)||void 0!==o.defaultProps||null!==n.compare?((e=sd(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,oB(e,t,o,r,i))}if(o=e.child,!an(e,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:nP)(a,r)&&e.ref===t.ref)return at(e,t,i)}return t.flags|=1,(e=sc(o,r)).ref=t.ref,e.return=t,t.child=e}function oB(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(nP(o,r)&&e.ref===t.ref){if(oV=!1,t.pendingProps=r=o,!an(e,i))return t.lanes=e.lanes,at(e,t,i);0!=(131072&e.flags)&&(oV=!0)}}return oG(e,t,n,r,i)}function oq(e,t,n){var r=t.pendingProps,i=r.children,o=0!=(2&t.stateNode._pendingVisibility),a=null!==e?e.memoizedState:null;if(oH(e,t),"hidden"===r.mode||o){if(0!=(128&t.flags)){if(r=null!==a?a.baseLanes|n:n,null!==e){for(o=0,i=t.child=e.child;null!==i;)o=o|i.lanes|i.childLanes,i=i.sibling;t.childLanes=o&~r}else t.childLanes=0,t.child=null;return oU(e,t,r,n)}if(0==(536870912&n))return t.lanes=t.childLanes=536870912,oU(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&io(t,null!==a?a.cachePool:null),null!==a?rV(t,a):rW(),rU(t)}else null!==a?(io(t,a.cachePool),rV(t,a),rH(t),t.memoizedState=null):(null!==e&&io(t,null),rW(),rH(t));return oW(e,t,i,n),t.child}function oU(e,t,n,r){var i=ii();return i=null===i?null:{parent:r5._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&io(t,null),rW(),rU(t),null!==e&&ad(e,t,r,!0),null}function oH(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=2097664);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=2097664)}}function oG(e,t,n,r,i){return(ah(t),n=ix(e,t,n,r,void 0,i),r=iP(),null===e||oV)?(rp&&r&&ru(t),t.flags|=1,oW(e,t,n,i),t.child):(iM(e,t,i),at(e,t,i))}function oJ(e,t,n,r,i,o){return(ah(t),t.updateQueue=null,n=iS(t,r,n,i),iw(e),r=iP(),null===e||oV)?(rp&&r&&ru(t),t.flags|=1,oW(e,t,n,o),t.child):(iM(e,t,o),at(e,t,o))}function oK(e,t,n,r,i){if(ah(t),null===t.stateNode){var o=n6,a=n.contextType;"object"==typeof a&&null!==a&&(o=ap(a)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=o_,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},av(t),a=n.contextType,o.context="object"==typeof a&&null!==a?ap(a):n6,o.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(oC(t,n,a,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&o_.enqueueReplaceState(o,o.state,null),aM(t,r,o,i),aP(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=oE(n,s);o.props=l;var c=o.context,u=n.contextType;a=n6,"object"==typeof u&&null!==u&&(a=ap(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||c!==a)&&oD(t,o,r,a),aO=!1;var f=t.memoizedState;o.state=f,aM(t,r,o,i),aP(),c=t.memoizedState,s||f!==c||aO?("function"==typeof d&&(oC(t,n,d,r),c=t.memoizedState),(l=aO||oT(t,n,l,r,f,c,a))?(u||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=a,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,ab(e,t),u=oE(n,a=t.memoizedProps),o.props=u,d=t.pendingProps,f=o.context,c=n.contextType,l=n6,"object"==typeof c&&null!==c&&(l=ap(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==d||f!==l)&&oD(t,o,r,l),aO=!1,f=t.memoizedState,o.state=f,aM(t,r,o,i),aP();var h=t.memoizedState;
1a!==d||f!==h||aO||null!==e&&null!==e.dependencies&&af(e.dependencies)?("function"==typeof s&&(oC(t,n,s,r),h=t.memoizedState),(u=aO||oT(t,n,u,r,f,h,l)||null!==e&&null!==e.dependencies&&af(e.dependencies))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=u):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,oH(e,t),r=0!=(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=rN(t,e.child,null,i),t.child=rN(t,null,n,i)):oW(e,t,n,i),t.memoizedState=o.state,e=t.child):e=at(e,t,i),e}function o0(e,t,n,r){return rw(),t.flags|=256,oW(e,t,n,r),t.child}var o1={dehydrated:null,treeContext:null,retryLane:0};function o2(e){return{baseLanes:e,cachePool:ia()}}function o5(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=sA),e}function o3(e,t,n){var r,i=t.pendingProps,o=!1,a=0!=(128&t.flags);if((r=a)||(r=(null===e||null!==e.memoizedState)&&0!=(2&rJ.current)),r&&(o=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rp){if(o?rq(t):rH(t),rp){var s,c=rh;if(s=c){n:{for(s=c,c=rg;8!==s.nodeType;)if(!c||null===(s=cl(s.nextSibling))){c=null;break n}c=s}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==ro?{id:ra,overflow:rs}:null,retryLane:536870912},(s=ss(18,null,null,0)).stateNode=c,s.return=t,t.child=s,rf=t,rh=null,s=!0):s=!1}s||rv(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return"$!"===c.data?t.lanes=16:t.lanes=536870912,null;rG(t)}return(c=i.children,i=i.fallback,o)?(rH(t),c=o6({mode:"hidden",children:c},o=t.mode),i=sf(i,o,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,(o=t.child).memoizedState=o2(n),o.childLanes=o5(e,r,n),t.memoizedState=o1,i):(rq(t),o4(t,c))}if(null!==(s=e.memoizedState)&&null!==(c=s.dehydrated)){if(a)256&t.flags?(rq(t),t.flags&=-257,t=o9(e,t,n)):null!==t.memoizedState?(rH(t),t.child=e.child,t.flags|=128,t=null):(rH(t),o=i.fallback,c=t.mode,i=o6({mode:"visible",children:i.children},c),o=sf(o,c,n,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,rN(t,e.child,null,n),(i=t.child).memoizedState=o2(n),i.childLanes=o5(e,r,n),t.memoizedState=o1,t=o);else if(rq(t),"$!"===c.data){if(r=c.nextSibling&&c.nextSibling.dataset)var u=r.dgst;r=u,(i=Error(l(419))).stack="",i.digest=r,rS({value:i,source:null,stack:null}),t=o9(e,t,n)}else if(oV||ad(e,t,n,!1),r=0!=(n&e.childLanes),oV||r){if(null!==(r=sP)){if(0!=(42&(i=n&-n)))i=1;else switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=64;break;case 268435456:i=134217728;break;default:i=0}if(0!==(i=0!=(i&(r.suspendedLanes|n))?0:i)&&i!==s.retryLane)throw s.retryLane=i,n5(e,i),s2(r,e,i),oF}"$?"===c.data||lr(),t=o9(e,t,n)}else"$?"===c.data?(t.flags|=128,t.child=e.child,t=lv.bind(null,e),c._reactRetry=t,t=null):(e=s.treeContext,rh=cl(c.nextSibling),rf=t,rp=!0,rm=null,rg=!1,null!==e&&(rr[ri++]=ra,rr[ri++]=rs,rr[ri++]=ro,ra=e.id,rs=e.overflow,ro=t),t=o4(t,i.children),t.flags|=4096);return t}return o?(rH(t),o=i.fallback,c=t.mode,u=(s=e.child).sibling,(i=sc(s,{mode:"hidden",children:i.children})).subtreeFlags=31457280&s.subtreeFlags,null!==u?o=sc(u,o):(o=sf(o,c,n,null),o.flags|=2),o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,null===(c=e.child.memoizedState)?c=o2(n):(null!==(s=c.cachePool)?(u=r5._currentValue,s=s.parent!==u?{parent:u,pool:u}:s):s=ia(),c={baseLanes:c.baseLanes|n,cachePool:s}),o.memoizedState=c,o.childLanes=o5(e,r,n),t.memoizedState=o1,i):(rq(t),e=(n=e.child).sibling,(n=sc(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function o4(e,t){return(t=o6({mode:"visible",children:t},e.mode)).return=e,e.child=t}function o6(e,t){return sh(e,t,0,null)}function o9(e,t,n){return rN(t,e.child,null,n),e=o4(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function o8(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ac(e.return,t,n)}function o7(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function ae(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(oW(e,t,r.children,n),0!=(2&(r=rJ.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&o8(e,n,t);else if(19===e.tag)o8(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(q(rJ,r),i){case"forwards":for(i=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===rK(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),o7(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===rK(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}o7(t,!0,n,null,o);break;case"together":o7(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function at(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),sR|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;if(ad(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=sc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=sc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}
1function an(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&af(e))}function ar(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps)oV=!0;else{if(!an(e,n)&&0==(128&t.flags))return oV=!1,function(e,t,n){switch(t.tag){case 3:K(t,t.stateNode.containerInfo),as(t,r5,e.memoizedState.cache),rw();break;case 27:case 5:et(t);break;case 4:K(t,t.stateNode.containerInfo);break;case 10:as(t,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return rq(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return o3(e,t,n);return rq(t),null!==(e=at(e,t,n))?e.sibling:null}rq(t);break;case 19:var i=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(ad(e,t,n,!1),r=0!=(n&t.childLanes)),i){if(r)return ae(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),q(rJ,rJ.current),!r)return null;break;case 22:case 23:return t.lanes=0,oq(e,t,n);case 24:as(t,r5,e.memoizedState.cache)}return at(e,t,n)}(e,t,n);oV=0!=(131072&e.flags)}}else oV=!1,rp&&0!=(1048576&t.flags)&&rc(t,rn,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,i=r._init;if(r=i(r._payload),t.type=r,"function"==typeof r)sl(r)?(e=oE(r,e),t.tag=1,t=oK(null,t,r,e,n)):(t.tag=0,t=oG(null,t,r,e,n));else{if(null!=r){if((i=r.$$typeof)===b){t.tag=11,t=oY(null,t,r,e,n);break e}if(i===w){t.tag=14,t=oX(null,t,r,e,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===C?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case h:return"Fragment";case f:return"Portal";case m:return"Profiler";case p:return"StrictMode";case y:return"Suspense";case x:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case v:return(t.displayName||"Context")+".Provider";case O:return(t._context.displayName||"Context")+".Consumer";case b:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case w:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case S:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(r)||r,""))}}return t;case 0:return oG(e,t,t.type,t.pendingProps,n);case 1:return i=oE(r=t.type,t.pendingProps),oK(e,t,r,i,n);case 3:e:{if(K(t,t.stateNode.containerInfo),null===e)throw Error(l(387));var o=t.pendingProps;r=(i=t.memoizedState).element,ab(e,t),aM(t,o,null,n);var a=t.memoizedState;if(as(t,r5,o=a.cache),o!==i.cache&&au(t,[r5],n,!0),aP(),o=a.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=o0(e,t,o,n);break e}if(o!==r){rS(r=n8(Error(l(424)),t)),t=o0(e,t,o,n);break e}else for(rh=cl(t.stateNode.containerInfo.firstChild),rf=t,rp=!0,rm=null,rg=!0,n=rL(t,null,o,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(rw(),o===r){t=at(e,t,n);break e}oW(e,t,o,n)}t=t.child}return t;case 26:return oH(e,t),null===e?(n=cO(t.type,null,t.pendingProps,null))?t.memoizedState=n:rp||(n=t.type,e=t.pendingProps,(r=l6(G.current).createElement(n))[eI]=t,r[eA]=e,l5(r,n,e),eH(r),t.stateNode=r):t.memoizedState=cO(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return et(t),null===e&&rp&&(r=t.stateNode=cu(t.type,t.pendingProps,G.current),rf=t,rg=!0,rh=cl(r.firstChild)),r=t.pendingProps.children,null!==e||rp?oW(e,t,r,n):t.child=rN(t,null,r,n),oH(e,t),t.child;case 5:return null===e&&rp&&((i=r=rh)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eW])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(null==n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}
vendor: 9,074 bytes, line 1
1else{if("input"!==t||"hidden"!==e.type)return e;var i=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===i)return e}if(null===(e=cl(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rg))?(t.stateNode=r,rf=t,rh=cl(r.firstChild),rg=!1,i=!0):i=!1),i||rv(t)),et(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,r=o.children,l7(i,o)?r=null:null!==a&&l7(i,a)&&(t.flags|=32),null!==t.memoizedState&&(i=ix(e,t,ik,null,null,n),cI._currentValue=i),oH(e,t),oW(e,t,r,n),t.child;case 6:return null===e&&rp&&((e=n=rh)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cl(e.nextSibling)))return null;return e}(n,t.pendingProps,rg))?(t.stateNode=n,rf=t,rh=null,e=!0):e=!1),e||rv(t)),null;case 13:return o3(e,t,n);case 4:return K(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=rN(t,null,r,n):oW(e,t,r,n),t.child;case 11:return oY(e,t,t.type,t.pendingProps,n);case 7:return oW(e,t,t.pendingProps,n),t.child;case 8:case 12:return oW(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,as(t,t.type,r.value),oW(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,ah(t),r=r(i=ap(i)),t.flags|=1,oW(e,t,r,n),t.child;case 14:return oX(e,t,t.type,t.pendingProps,n);case 15:return oB(e,t,t.type,t.pendingProps,n);case 19:return ae(e,t,n);case 22:return oq(e,t,n);case 24:return ah(t),r=ap(r5),null===e?(null===(i=ii())&&(i=sP,o=r3(),i.pooledCache=o,o.refCount++,null!==o&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},av(t),as(t,r5,i)):(0!=(e.lanes&n)&&(ab(e,t),aM(t,null,null,n),aP()),i=e.memoizedState,o=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),as(t,r5,r)):(as(t,r5,r=o.cache),r!==i.cache&&au(t,[r5],n,!0))),oW(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}var ai=X(null),ao=null,aa=null;function as(e,t,n){q(ai,t._currentValue),t._currentValue=n}function al(e){e._currentValue=ai.current,B(ai)}function ac(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function au(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var o=i.dependencies;if(null!==o){var a=i.child;o=o.firstContext;e:for(;null!==o;){var s=o;o=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),ac(o.return,n,e),r||(a=null);break e}o=s.next}}else if(18===i.tag){if(null===(a=i.return))throw Error(l(341));a.lanes|=n,null!==(o=a.alternate)&&(o.lanes|=n),ac(a,n,e),a=null}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===e){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}}function ad(e,t,n,r){e=null;for(var i=t,o=!1;null!==i;){if(!o){if(0!=(524288&i.flags))o=!0;else if(0!=(262144&i.flags))break}if(10===i.tag){var a=i.alternate;if(null===a)throw Error(l(387));if(null!==(a=a.memoizedProps)){var s=i.type;nk(i.pendingProps.value,a.value)||(null!==e?e.push(s):e=[s])}}else if(i===J.current){if(null===(a=i.alternate))throw Error(l(387));a.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(cI):e=[cI])}i=i.return}null!==e&&au(t,e,n,r),t.flags|=262144}function af(e){for(e=e.firstContext;null!==e;){if(!nk(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ah(e){ao=e,aa=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ap(e){return ag(ao,e)}function am(e,t){return null===ao&&ah(e),ag(e,t)}function ag(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===aa){if(null===e)throw Error(l(308));aa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else aa=aa.next=t;return n}var aO=!1;function av(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ab(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ay(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ax(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&sk)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=n4(e),n3(e,null,n),t}return n1(e,r,t,n),n4(e)}function aw(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194176&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eQ(e,n)}}function aS(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ak=!1;function aP(){if(ak){var e=r7;if(null!==e)throw e}}function aM(e,t,n,r){ak=!1;var i=e.updateQueue;aO=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var f=-536870913&s.lane,h=f!==s.lane;if(h?(sj&f)===f:(r&f)===f){0!==f&&f===r8&&(ak=!0),null!==u&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var p=e,m=s;f=t;switch(m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(n,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(n,d,f):p))break e;d=Q({},d,f);break e;case 2:aO=!0}}null!==(f=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[f]:h.push(f))}else h={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null===o&&(i.shared.lanes=0),sR|=a,e.lanes=a,e.memoizedState=d}}function aj(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function aC(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aj(n[e],t)}function a_(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(e){lp(t,t.return,e)}}function aT(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=t;try{s()}catch(e){lp(i,n,e)}}}r=r.next}while(r!==o)}}catch(e){lp(t,t.return,e)}}function aD(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aC(t,n)}catch(t){lp(e,e.return,t)}}}function aE(e,t,n){n.props=oE(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){lp(e,t,n)}}function aQ(e,t){try{var n=e.ref;if(null!==n){var r=e.stateNode;switch(e.tag){case 26:case 27:case 5:var i=r;break;default:i=r}"function"==typeof n?e.refCleanup=n(i):n.current=i}}catch(n){lp(e,t,n)}}function a$(e,t){var n=e.ref,r=e.refCleanup;if(null!==n){if("function"==typeof r)try{r()}catch(n){lp(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){lp(e,t,n)}else n.current=null}}function aR(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){lp(e,e.return,t)}}function aZ(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,a=null,s=null,c=null,u=null,d=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&null!=f)switch(p){case"checked":case"value":break;case"defaultValue":c=f;default:r.hasOwnProperty(p)||l1(e,t,p,null,r,f)}}for(var h in r){var p=r[h];if(f=n[h],r.hasOwnProperty(h)&&(null!=p||null!=f))switch(h){case"type":o=p;break;case"name":i=p;break;case"checked":u=p;break;case"defaultChecked":d=p;break;case"value":a=p;break;case"defaultValue":s=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:p!==f&&l1(e,t,h,p,r,f)}}to(e,a,s,c,u,d,o,i);return;case"select":for(o in p=a=s=h=null,n)if(c=n[o],n.hasOwnProperty(o)&&null!=c)switch(o){case"value":break;case"multiple":p=c;default:r.hasOwnProperty(o)||l1(e,t,o,null,r,c)}
1for(i in r)if(o=r[i],c=n[i],r.hasOwnProperty(i)&&(null!=o||null!=c))switch(i){case"value":h=o;break;case"defaultValue":s=o;break;case"multiple":a=o;default:o!==c&&l1(e,t,i,o,r,c)}t=s,n=a,r=p,null!=h?tl(e,!!n,h,!1):!!r!=!!n&&(null!=t?tl(e,!!n,t,!0):tl(e,!!n,n?[]:"",!1));return;case"textarea":for(s in p=h=null,n)if(i=n[s],n.hasOwnProperty(s)&&null!=i&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:l1(e,t,s,null,r,i)}for(a in r)if(i=r[a],o=n[a],r.hasOwnProperty(a)&&(null!=i||null!=o))switch(a){case"value":h=i;break;case"defaultValue":p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(l(91));break;default:i!==o&&l1(e,t,a,i,r,o)}tc(e,h,p);return;case"option":for(var m in n)if(h=n[m],n.hasOwnProperty(m)&&null!=h&&!r.hasOwnProperty(m)){if("selected"===m)e.selected=!1;else l1(e,t,m,null,r,h)}for(c in r)if(h=r[c],p=n[c],r.hasOwnProperty(c)&&h!==p&&(null!=h||null!=p)){if("selected"===c)e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h;else l1(e,t,c,h,r,p)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)h=n[g],n.hasOwnProperty(g)&&null!=h&&!r.hasOwnProperty(g)&&l1(e,t,g,null,r,h);for(u in r)if(h=r[u],p=n[u],r.hasOwnProperty(u)&&h!==p&&(null!=h||null!=p))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(l(137,t));break;default:l1(e,t,u,h,r,p)}return;default:if(tm(t)){for(var O in n)h=n[O],n.hasOwnProperty(O)&&void 0!==h&&!r.hasOwnProperty(O)&&l2(e,t,O,void 0,r,h);for(d in r)h=r[d],p=n[d],r.hasOwnProperty(d)&&h!==p&&(void 0!==h||void 0!==p)&&l2(e,t,d,h,r,p);return}}for(var v in n)h=n[v],n.hasOwnProperty(v)&&null!=h&&!r.hasOwnProperty(v)&&l1(e,t,v,null,r,h);for(f in r)h=r[f],p=n[f],r.hasOwnProperty(f)&&h!==p&&(null!=h||null!=p)&&l1(e,t,f,h,r,p)})(r,e.type,n,t),r[eA]=t}catch(t){lp(e,e.return,t)}}function aI(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag||4===e.tag}function aA(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||aI(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&27!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function aN(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&27!==r&&null!==(e=e.child))for(aN(e,t,n),e=e.sibling;null!==e;)aN(e,t,n),e=e.sibling}var aL=!1,az=!1,aF=!1,aV="function"==typeof WeakSet?WeakSet:Set,aW=null,aY=!1;function aX(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:a5(e,n),4&r&&a_(5,n);break;case 1:if(a5(e,n),4&r){if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){lp(n,n.return,e)}else{var i=oE(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){lp(n,n.return,e)}}}64&r&&aD(n),512&r&&aQ(n,n.return);break;case 3:if(a5(e,n),64&r&&null!==(r=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:e=n.child.stateNode}try{aC(r,e)}catch(e){lp(n,n.return,e)}}break;case 26:a5(e,n),512&r&&aQ(n,n.return);break;case 27:case 5:a5(e,n),null===t&&4&r&&aR(n),512&r&&aQ(n,n.return);break;case 12:default:a5(e,n);break;case 13:a5(e,n),4&r&&aG(e,n);break;case 22:if(!(i=null!==n.memoizedState||aL)){t=null!==t&&null!==t.memoizedState||az;var o=aL,a=az;aL=i,(az=t)&&!a?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var i=n.alternate,o=t,a=n,s=a.flags;switch(a.tag){case 0:case 11:case 15:e(o,a,r),a_(4,a);break;case 1:if(e(o,a,r),"function"==typeof(o=(i=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){lp(i,i.return,e)}if(null!==(o=(i=a).updateQueue)){var l=i.stateNode;try{var c=o.shared.hiddenCallbacks;if(null!==c)for(o.shared.hiddenCallbacks=null,o=0;o<c.length;o++)aj(c[o],l)}catch(e){lp(i,i.return,e)}}r&&64&s&&aD(a),aQ(a,a.return);break;case 26:case 27:case 5:e(o,a,r),r&&null===i&&4&s&&aR(a),aQ(a,a.return);break;case 12:default:e(o,a,r);break;case 13:e(o,a,r),r&&4&s&&aG(o,a);break;case 22:null===a.memoizedState&&e(o,a,r),aQ(a,a.return)}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):a5(e,n),aL=o,az=a}512&r&&("manual"===n.memoizedProps.mode?aQ(n,n.return):a$(n,n.return))}}var aB=null,aq=!1;function aU(e,t,n){for(n=n.child;null!==n;
vendor: 10,375 bytes, line 1
1)aH(e,t,n),n=n.sibling}function aH(e,t,n){if(ev&&"function"==typeof ev.onCommitFiberUnmount)try{ev.onCommitFiberUnmount(eO,n)}catch(e){}switch(n.tag){case 26:az||a$(n,t),aU(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:az||a$(n,t);var r=aB,i=aq;for(aB=n.stateNode,aU(e,t,n),t=(n=n.stateNode).attributes;t.length;)n.removeAttributeNode(t[0]);eY(n),aB=r,aq=i;break;case 5:az||a$(n,t);case 6:i=aB;var o=aq;if(aB=null,aU(e,t,n),aB=i,aq=o,null!==aB){if(aq)try{e=aB,r=n.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)}catch(e){lp(n,t,e)}else try{aB.removeChild(n.stateNode)}catch(e){lp(n,t,e)}}break;case 18:null!==aB&&(aq?(t=aB,n=n.stateNode,8===t.nodeType?ca(t.parentNode,n):1===t.nodeType&&ca(t,n),ua(t)):ca(aB,n.stateNode));break;case 4:r=aB,i=aq,aB=n.stateNode.containerInfo,aq=!0,aU(e,t,n),aB=r,aq=i;break;case 0:case 11:case 14:case 15:az||aT(2,n,t),az||aT(4,n,t),aU(e,t,n);break;case 1:az||(a$(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&aE(n,t,r)),aU(e,t,n);break;case 21:default:aU(e,t,n);break;case 22:az||a$(n,t),az=(r=az)||null!==n.memoizedState,aU(e,t,n),az=r}}function aG(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{ua(e)}catch(e){lp(t,t.return,e)}}function aJ(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new aV),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new aV),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){var r=lb.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function aK(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],o=e,a=t,s=a;e:for(;null!==s;){switch(s.tag){case 27:case 5:aB=s.stateNode,aq=!1;break e;case 3:case 4:aB=s.stateNode.containerInfo,aq=!0;break e}s=s.return}if(null===aB)throw Error(l(160));aH(o,a,i),aB=null,aq=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)a1(t,e),t=t.sibling}var a0=null;function a1(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:aK(t,e),a2(e),4&r&&(aT(3,e,e.return),a_(3,e),aT(5,e,e.return));break;case 1:aK(t,e),a2(e),512&r&&(az||null===n||a$(n,n.return)),64&r&&aL&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var i=a0;if(aK(t,e),a2(e),512&r&&(az||null===n||a$(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n){if(null===r){if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":(!(o=i.getElementsByTagName("title")[0])||o[eW]||o[eI]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector("head > title"))),l5(o,r,n),o[eI]=e,eH(o),r=o;break e;case"link":var a=cC("link","href",i).get(r+(n.href||""));if(a){for(var s=0;s<a.length;s++)if((o=a[s]).getAttribute("href")===(null==n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){a.splice(s,1);break t}}l5(o=i.createElement(r),r,n),i.head.appendChild(o);break;case"meta":if(a=cC("meta","content",i).get(r+(n.content||""))){for(s=0;s<a.length;s++)if((o=a[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){a.splice(s,1);break t}}l5(o=i.createElement(r),r,n),i.head.appendChild(o);break;default:throw Error(l(468,r))}o[eI]=e,eH(o),r=o}e.stateNode=r}else c_(i,e.type,e.stateNode)}else e.stateNode=cS(i,r,e.memoizedProps)}else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?c_(i,e.type,e.stateNode):cS(i,r,e.memoizedProps)):null===r&&null!==e.stateNode&&aZ(e,e.memoizedProps,n.memoizedProps)}break;case 27:if(4&r&&null===e.alternate){i=e.stateNode,o=e.memoizedProps;try{for(var c=i.firstChild;c;){var u=c.nextSibling,d=c.nodeName;c[eW]||"HEAD"===d||"BODY"===d||"SCRIPT"===d||"STYLE"===d||"LINK"===d&&"stylesheet"===c.rel.toLowerCase()||i.removeChild(c),c=u}for(var f=e.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);l5(i,f,o),i[eI]=e,i[eA]=o}catch(t){lp(e,e.return,t)}}case 5:if(aK(t,e),a2(e),512&r&&(az||null===n||a$(n,n.return)),32&e.flags){i=e.stateNode;try{td(i,"")}catch(t){lp(e,e.return,t)}}4&r&&null!=e.stateNode&&(i=e.memoizedProps,aZ(e,i,null!==n?n.memoizedProps:i)),1024&r&&(aF=!0);break;case 6:if(aK(t,e),a2(e),4&r){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){lp(e,e.return,t)}}break;case 3:if(cj=null,i=a0,a0=ch(t.containerInfo),aK(t,e),a0=i,a2(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{ua(t.containerInfo)}catch(t){lp(e,e.return,t)}aF&&(aF=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e));break;case 4:r=a0,a0=ch(e.stateNode.containerInfo),aK(t,e),a2(e),a0=r;break;case 12:default:aK(t,e),a2(e);break;case 13:aK(t,e),a2(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(sV=el()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,aJ(e,r));break;case 22:if(512&r&&(az||null===n||a$(n,n.return)),c=null!==e.memoizedState,u=null!==n&&null!==n.memoizedState,d=aL,f=az,aL=d||c,az=f||u,aK(t,e),az=f,aL=d,a2(e),(t=e.stateNode)._current=e,t._visibility&=-3,t._visibility|=2&t._pendingVisibility,8192&r&&(t._visibility=c?-2&t._visibility:1|t._visibility,c&&(t=aL||az,null===n||u||t||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:aT(4,n,n.return),e(n);break;case 1:a$(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&aE(n,n.return,r),e(n);break;case 26:case 27:case 5:a$(n,n.return),e(n);break;case 22:a$(n,n.return),null===n.memoizedState&&e(n);break;default:e(n)}t=t.sibling}}(e)),null===e.memoizedProps||"manual"!==e.memoizedProps.mode))e:for(n=null,t=e;;){if(5===t.tag||26===t.tag||27===t.tag){if(null===n){u=n=t;try{if(i=u.stateNode,c)o=i.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none";else{a=u.stateNode;var p=null!=(s=u.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null;a.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){lp(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(e){lp(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,aJ(e,n));break;case 19:aK(t,e),a2(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,aJ(e,r));case 21:}}function a2(e){var t=e.flags;if(2&t){try{if(27!==e.tag){e:{for(var n=e.return;null!==n;){if(aI(n)){var r=n;break e}n=n.return}throw Error(l(160))}switch(r.tag){case 27:var i=r.stateNode,o=aA(e);aN(e,o,i);break;case 5:var a=r.stateNode;32&r.flags&&(td(a,""),r.flags&=-33);var s=aA(e);aN(e,s,a);break;case 3:case 4:var c=r.stateNode.containerInfo,u=aA(e);!function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=l0));else if(4!==i&&27!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,u,c);break;default:throw Error(l(161))}}}catch(t){lp(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function a5(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)aX(e,t.alternate,t),t=t.sibling}function a3(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&r4(n))}function a4(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e))}function a6(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)a9(e,t,n,r),t=t.sibling}function a9(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:a6(e,t,n,r),2048&i&&a_(9,t);break;case 3:a6(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e)));break;case 12:if(2048&i){a6(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){lp(t,t.return,e)}}else a6(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,null!==t.memoizedState?4&o._visibility?a6(e,t,n,r):a8(e,t):4&o._visibility?a6(e,t,n,r):(o._visibility|=4,function e(t,n,r,i,o){for(o=o&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var a=n,s=a.flags;switch(a.tag){case 0:case 11:case 15:e(t,a,r,i,o),a_(8,a);break;case 23:break;case 22:var l=a.stateNode;null!==a.memoizedState?4&l._visibility?e(t,a,r,i,o):a8(t,a):(l._visibility|=4,e(t,a,r,i,o)),o&&2048&s&&a3(a.alternate,a);break;case 24:e(t,a,r,i,o),o&&2048&s&&a4(a.alternate,a);break;default:e(t,a,r,i,o)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags))),2048&i&&a3(t.alternate,t);break;case 24:a6(e,t,n,r),2048&i&&a4(t.alternate,t);break;default:a6(e,t,n,r)}}function a8(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:a8(e,n),2048&r&&a3(n.alternate,n);break;case 24:a8(e,n),2048&r&&a4(n.alternate,n);break;default:a8(e,n)}t=t.sibling}}var a7=8192;function se(e){if(e.subtreeFlags&a7)for(e=e.child;null!==e;)st(e),e=e.sibling}function st(e){switch(e.tag){case 26:se(e),e.flags&a7&&null!==e.memoizedState&&function(e,t,n){if(null===cD)throw Error(l(475
1));var r=cD;if("stylesheet"===t.type&&("string"!=typeof n.media||!1!==matchMedia(n.media).matches)&&0==(4&t.state.loading)){if(null===t.instance){var i=cv(n.href),o=e.querySelector(cb(i));if(o){null!==(e=o._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=cQ.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=o,eH(o);return}o=e.ownerDocument||e,n=cy(n),(i=cd.get(i))&&cP(n,i),eH(o=o.createElement("link"));var a=o;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),l5(o,"link",n),t.instance=o}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&0==(3&t.state.loading)&&(r.count++,t=cQ.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(a0,e.memoizedState,e.memoizedProps);break;case 5:default:se(e);break;case 3:case 4:var t=a0;a0=ch(e.stateNode.containerInfo),se(e),a0=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=a7,a7=16777216,se(e),a7=t):se(e))}}function sn(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sr(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];aW=r,so(r,e)}sn(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)si(e),e=e.sibling}function si(e){switch(e.tag){case 0:case 11:case 15:sr(e),2048&e.flags&&aT(9,e,e.return);break;case 3:case 12:default:sr(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&4&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-5,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];aW=i,so(i,t)}sn(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:aT(8,n,n.return),e(n);break;case 22:4&(r=n.stateNode)._visibility&&(r._visibility&=-5,e(n));break;default:e(n)}t=t.sibling}}(e)):sr(e)}}function so(e,t){for(;null!==aW;){var n=aW;switch(n.tag){case 0:case 11:case 15:aT(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:r4(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,aW=r;else for(n=e;null!==aW;){var i=(r=aW).sibling,o=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&eY(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){aW=null;break}if(null!==i){i.return=o,aW=i;break}aW=o}}}function sa(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ss(e,t,n,r){return new sa(e,t,n,r)}function sl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function sc(e,t){var n=e.alternate;return null===n?((n=ss(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=31457280&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function su(e,t){e.flags&=31457282;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function sd(e,t,n,r,i,o){var a=0;if(r=e,"function"==typeof e)sl(e)&&(a=1);else if("string"==typeof e)a=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;
1if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,U.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case h:return sf(n.children,i,o,t);case p:a=8,i|=24;break;case m:return(e=ss(12,n,t,2|i)).elementType=m,e.lanes=o,e;case y:return(e=ss(13,n,t,i)).elementType=y,e.lanes=o,e;case x:return(e=ss(19,n,t,i)).elementType=x,e.lanes=o,e;case k:return sh(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case g:case v:a=10;break e;case O:a=9;break e;case b:a=11;break e;case w:a=14;break e;case S:a=16,r=null;break e}a=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=ss(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function sf(e,t,n,r){return(e=ss(7,e,r,t)).lanes=n,e}function sh(e,t,n,r){(e=ss(22,e,r,t)).elementType=k,e.lanes=n;var i={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var e=i._current;if(null===e)throw Error(l(456));if(0==(2&i._pendingVisibility)){var t=n5(e,2);null!==t&&(i._pendingVisibility|=2,s2(t,e,2))}},attach:function(){var e=i._current;if(null===e)throw Error(l(456));if(0!=(2&i._pendingVisibility)){var t=n5(e,2);null!==t&&(i._pendingVisibility&=-3,s2(t,e,2))}}};return e.stateNode=i,e}
1function sp(e,t,n){return(e=ss(6,e,null,t)).lanes=n,e}function sm(e,t,n){return(t=ss(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sg(e){e.flags|=4}function sO(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,!cT(t)){if(null!==(t=rX.current)&&((4194176&sj)===sj?null!==rB:(62914560&sj)!==sj&&0==(536870912&sj)||t!==rB))throw rT=rM,rP;e.flags|=8192}}function sv(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?e_():536870912,e.lanes|=t,sN|=t)}function sb(e,t){if(!rp)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function sy(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=31457280&i.subtreeFlags,r|=31457280&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function sx(e,t){switch(rd(t),t.tag){case 3:al(r5),ee();break;case 26:case 27:case 5:en(t);break;case 4:ee();break;case 13:rG(t);break;case 19:B(rJ);break;case 10:al(t.type);break;case 22:case 23:rG(t),rY(),null!==e&&B(ir);break;case 24:al(r5)}}var sw={getCacheForType:function(e){var t=ap(r5),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},sS="function"==typeof WeakMap?WeakMap:Map,sk=0,sP=null,sM=null,sj=0,sC=0,s_=null,sT=!1,sD=!1,sE=!1,sQ=0,s$=0,sR=0,sZ=0,sI=0,sA=0,sN=0,sL=null,sz=null,sF=!1,sV=0,sW=1/0,sY=null,sX=null,sB=!1,sq=null,sU=0,sH=0,sG=null,sJ=0,sK=null;function s0(){if(0!=(2&sk)&&0!==sj)return sj&-sj;if(null!==E.T){var e=r8;return 0!==e?e:lE()}return eR()}function s1(){0===sA&&(sA=0==(536870912&sj)||rp?eC():536870912);var e=rX.current;return null!==e&&(e.flags|=32),sA}function s2(e,t,n){(e===sP&&2===sC||null!==e.cancelPendingCommit)&&(s7(e,0),s6(e,sj,sA,!1)),eD(e,n),(0==(2&sk)||e!==sP)&&(e===sP&&(0==(2&sk)&&(sZ|=n),4===s$&&s6(e,sj,sA,!1)),lM(e))}function s5(e,t,n){if(0!=(6&sk))throw Error(l(327));for(var r=!n&&0==(60&t)&&0==(t&e.expiredLanes)||ej(e,t),i=r?function(e,t){var n=sk;sk|=2;var r=lt(),i=ln();sP!==e||sj!==t?(sY=null,sW=el()+500,s7(e,t)):sD=ej(e,t);e:for(;;)try{if(0!==sC&&null!==sM){t=sM;var o=s_;t:switch(sC){case 1:sC=0,s_=null,ls(e,t,o,1);break;case 2:if(rj(o)){sC=0,s_=null,la(t);break}t=function(){2===sC&&sP===e&&(sC=7),lM(e)},o.then(t,t);break e;case 3:sC=7;break e;case 4:sC=5;break e;case 7:rj(o)?(sC=0,s_=null,la(t)):(sC=0,s_=null,ls(e,t,o,7));break;case 5:var a=null;switch(sM.tag){case 26:a=sM.memoizedState;case 5:case 27:var s=sM;if(a?cT(a):1){sC=0,s_=null;var c=s.sibling;if(null!==c)sM=c;else{var u=s.return;null!==u?(sM=u,ll(u)):sM=null}break t}}sC=0,s_=null,ls(e,t,o,5);break;case 6:sC=0,s_=null,ls(e,t,o,6);break;case 8:s8(),s$=6;break e;default:throw Error(l(462))}}(function(){for(;null!==sM&&!ea();)lo(sM)})();break}catch(t){le(e,t)}return(aa=ao=null,E.H=r,E.A=i,sk=n,null!==sM)?0:(sP=null,sj=0,n0(),s$)}(e,t):li(e,t,!0),o=r;;){if(0===i)sD&&!r&&s6(e,t,0,!1);else if(6===i)s6(e,t,0,!sT);else{if(n=e.current.alternate,o&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!nk(o(),i))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){i=li(e,t,!1),o=!1;continue}if(2===i){if(o=t,e.errorRecoveryDisabledLanes&o)var a=0;else a=0!=(a=-536870913&e.pendingLanes)?a:536870912&a?536870912:0;if(0!==a){t=a;e:{i=sL;var s=e.current.memoizedState.isDehydrated;if(s&&(s7(e,a).flags|=256),2!==(a=li(e,a,!1))){if(sE&&!s){e.errorRecoveryDisabledLanes|=o,sZ|=o,i=4;break e}o=sz,sz=i,null!==o&&s3(o)}i=a}if(o=!1,2!==i)continue}}if(1===i){s7(e,0),s6(e,t,0,!0);break}e:{switch(r=e,i){case 0:case 1:throw Error(l(345));case 4:if((4194176&t)===t){s6(r,t,sA,!sT);break e}break;case 2:sz=null;break;case 3:case 5:break;default:throw Error(l(329))}if(r.finishedWork=n,r.finishedLanes=t,(62914560&t)===t&&10<(o=sV+300-el())){if(s6(r,t,sA,!sT),0!==eM(r,0))break e;r.timeoutHandle=ct(s4.bind(null,r,n,sz,sY,sF,t,sA,sZ,sN,sT,2,-0,0),o);break e}s4(r,n,sz,sY,sF,t,sA,sZ,sN,sT,0,-0,0)}}break}lM(e)}function s3(e){null===sz?sz=e:sz.push.apply(sz,e)}function s4(e,t,n,r,i,o,a,s,c,u,d,f,h){var p=t.subtreeFlags;if((8192&p||16785408==(16785408&p))&&(cD={stylesheets:null,count:0,unsuspend:cE}
1,st(t),null!==(t=function(){if(null===cD)throw Error(l(475));var e=cD;return e.stylesheets&&0===e.count&&cR(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&cR(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}()))){e.cancelPendingCommit=t(lu.bind(null,e,n,r,i,a,s,c,1,f,h)),s6(e,o,a,!u);return}lu(e,n,r,i,a,s,c,d,f,h)}function s6(e,t,n,r){t&=~sI,t&=~sZ,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-ey(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&eE(e,n,t)}function s9(){return 0!=(6&sk)||(lj(0,!1),!1)}function s8(){if(null!==sM){if(0===sC)var e=sM.return;else e=sM,aa=ao=null,ij(e),rE=null,rQ=0,e=sM;for(;null!==e;)sx(e.alternate,e),e=e.return;sM=null}}function s7(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,cn(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),s8(),sP=e,sM=n=sc(e.current,null),sj=t,sC=0,s_=null,sT=!1,sD=ej(e,t),sE=!1,sN=sA=sI=sZ=sR=s$=0,sz=sL=null,sF=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-ey(r),o=1<<i;t|=e[i],r&=~o}return sQ=t,n0(),n}function le(e,t){il=null,E.H=ok,t===rk?(t=rD(),sC=3):t===rP?(t=rD(),sC=4):sC=t===oF?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,s_=t,null===sM&&(s$=1,oI(e,n8(t,e.current)))}function lt(){var e=E.H;return E.H=ok,null===e?ok:e}function ln(){var e=E.A;return E.A=sw,e}function lr(){s$=4,sT||(4194176&sj)!==sj&&null!==rX.current||(sD=!0),0==(134217727&sR)&&0==(134217727&sZ)||null===sP||s6(sP,sj,sA,!1)}function li(e,t,n){var r=sk;sk|=2;var i=lt(),o=ln();(sP!==e||sj!==t)&&(sY=null,s7(e,t)),t=!1;var a=s$;e:for(;;)try{if(0!==sC&&null!==sM){var s=sM,l=s_;switch(sC){case 8:s8(),a=6;break e;case 3:case 2:case 6:null===rX.current&&(t=!0);var c=sC;if(sC=0,s_=null,ls(e,s,l,c),n&&sD){a=0;break e}break;default:c=sC,sC=0,s_=null,ls(e,s,l,c)}}(function(){for(;null!==sM;)lo(sM)})(),a=s$;break}catch(t){le(e,t)}return t&&e.shellSuspendCounter++,aa=ao=null,sk=r,E.H=i,E.A=o,null===sM&&(sP=null,sj=0,n0()),a}function lo(e){var t=ar(e.alternate,e,sQ);e.memoizedProps=e.pendingProps,null===t?ll(e):sM=t}function la(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=oJ(n,t,t.pendingProps,t.type,void 0,sj);break;case 11:t=oJ(n,t,t.pendingProps,t.type.render,t.ref,sj);break;case 5:ij(t);default:sx(n,t),t=ar(n,t=sM=su(t,sQ),sQ)}e.memoizedProps=e.pendingProps,null===t?ll(e):sM=t}function ls(e,t,n,r){aa=ao=null,ij(t),rE=null,rQ=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ad(t,n,i,!0),null!==(n=rX.current)){switch(n.tag){case 13:return null===rB?lr():null===n.alternate&&0===s$&&(s$=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===rM?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),lm(e,r,i)),!1;case 22:return n.flags|=65536,r===rM?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),lm(e,r,i)),!1}throw Error(l(435,n.tag))}return lm(e,r,i),lr(),!1}if(rp)return null!==(t=rX.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==rO&&rS(n8(e=Error(l(422),{cause:r}),n))):(r!==rO&&rS(n8(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=n8(r,n),i=oN(e.stateNode,r,i),aS(e,i),4!==s$&&(s$=2)),!1;var o=Error(l(520),{cause:r});if(o=n8(o,n),null===sL?sL=[o]:sL.push(o),4!==s$&&(s$=2),null===t)return!0;r=n8(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=oN(n.stateNode,r,e),aS(n,e),!1;case 1:if(t=n.type,o=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===sX||!sX.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,oz(i=oL(i),e,n,r),aS(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,sj)){s$=1,oI(e,n8(n,e.current)),sM=null;return}}catch(t){if(null!==i)throw sM=i,t;s$=1,oI(e,n8(n,e.current)),sM=null;return}32768&t.flags?(rp||1===r?e=!0:sD||0!=(536870912&sj)?e=!1:(sT=e=!0,(2===r||3===r||6===r)&&null!==(r=rX.current)&&13===r.tag&&(r.flags|=16384)),lc(t,e)):ll(t)}function ll(e){var t=e;do{if(0!=(32768&t.flags)){lc(t,sT);return}e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rd(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return sy(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),al(r5),ee(),n.pe
1ndingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rx(t)?sg(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==rm&&(s3(rm),rm=null))),sy(t),null;case 26:return n=t.memoizedState,null===e?(sg(t),null!==n?(sy(t),sO(t,n)):(sy(t),t.flags&=-16777217)):n?n!==e.memoizedState?(sg(t),sy(t),sO(t,n)):(sy(t),t.flags&=-16777217):(e.memoizedProps!==r&&sg(t),sy(t),t.flags&=-16777217),null;case 27:en(t),n=G.current;var i=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sg(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return sy(t),null}e=U.current,rx(t)?rb(t,e):(e=cu(i,r,n),t.stateNode=e,sg(t))}return sy(t),null;case 5:if(en(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sg(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return sy(t),null}if(e=U.current,rx(t))rb(t,e);else{switch(i=l6(G.current),e){case 1:e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?i.createElement(n,{is:r.is}):i.createElement(n)}}e[eI]=t,e[eA]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=e,l5(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break;case"img":e=!0;break;default:e=!1}e&&sg(t)}}return sy(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&sg(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=G.current,rx(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=rf))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[eI]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||lK(e.nodeValue,n)))||rv(t)}else(e=l6(e).createTextNode(r))[eI]=t,t.stateNode=e}return sy(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=rx(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(l(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(l(317));i[eI]=t}else rw(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;sy(t),i=!1}else null!==rm&&(s3(rm),rm=null),i=!0;if(!i){if(256&t.flags)return rG(t),t;return rG(t),null}}if(rG(t),0!=(128&t.flags))return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){r=t.child,i=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool);var o=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),sv(t,t.updateQueue),sy(t),null;case 4:return ee(),null===e&&lV(t.stateNode.containerInfo),sy(t),null;case 10:return al(t.type),sy(t),null;case 19:if(B(rJ),null===(i=t.memoizedState))return sy(t),null;if(r=0!=(128&t.flags),null===(o=i.rendering)){if(r)sb(i,!1);else{if(0!==s$||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=rK(e))){for(t.flags|=128,sb(i,!1),e=o.updateQueue,t.updateQueue=e,sv(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)su(n,e),n=n.sibling;return q(rJ,1&rJ.current|2),t.child}e=e.sibling}null!==i.tail&&el()>sW&&(t.flags|=128,r=!0,sb(i,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=rK(o))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,sv(t,e),sb(i,!0),null===i.tail&&"hidden"===i.tailMode&&!o.alternate&&!rp)return sy(t),null}else 2*el()-i.renderingStartTime>sW&&536870912!==n&&(t.flags|=128,r=!0,sb(i,!1),t.lanes=4194304)}i.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=i.last)?e.sibling=o:t.child=o,i.last=o)}if(null!==i.tail)return t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=el(),t.sibling=null,e=rJ.current,q(rJ,r?1&e|2:1&e),t;return sy(t),null;case 22:case 23:return rG(t),rY(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(536870912&n)&&0==(128&t.flags)&&(sy(t),6&t.subtreeFlags&&(t.flags|=8192)):sy(t),null!==(n=t.updateQueue)&&sv(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&B(ir),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),al(r5),sy(t),null;case 25:return null}throw Error(l(156,t.tag))}(t.alternate,t,sQ);if(null!==n){sM=n;return}if(null!==(t=t.sibling)){sM=t;return}sM=t=e}while(null!==t);0===s$&&(s$=5)}function lc(e,t){do{var n=function(e,t){switch(rd(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return al(r5),ee(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return en(t),null;case 13:if(rG(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return B(rJ),null;case 4:return ee(),null;case 10:return al(t.type),null;case 22:case 23:return rG(t),rY(),null!==e&&B(ir),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return al(r5),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,sM=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deleti
1ons=null),!t&&null!==(e=e.sibling)){sM=e;return}sM=e=n}while(null!==e);s$=6,sM=null}function lu(e,t,n,r,i,o,a,s,c,u){var d=E.T,f=F.p;try{F.p=2,E.T=null,function(e,t,n,r,i,o,a,s){do lf();while(null!==sq);if(0!=(6&sk))throw Error(l(327));var c=e.finishedWork;if(r=e.finishedLanes,null===c)return;if(e.finishedWork=null,e.finishedLanes=0,c===e.current)throw Error(l(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var u=c.lanes|c.childLanes;if(!function(e,t,n,r,i,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var u=31-ey(n),d=1<<u;s[u]=0,l[u]=-1;var f=c[u];if(null!==f)for(c[u]=null,u=0;u<f.length;u++){var h=f[u];null!==h&&(h.lane&=-536870913)}n&=~d}0!==r&&eE(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(a&~t))}(e,r,u|=nK,o,a,s),e===sP&&(sM=sP=null,sj=0),0==(10256&c.subtreeFlags)&&0==(10256&c.flags)||sB||(sB=!0,sH=u,sG=n,function(e,t){ei(e,t)}(ef,function(){return lf(!0),null})),n=0!=(15990&c.flags),0!=(15990&c.subtreeFlags)||n?(n=E.T,E.T=null,o=F.p,F.p=2,a=sk,sk|=4,function(e,t){if(e=e.containerInfo,l3=cY,n_(e=nC(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i,o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,c=-1,u=-1,d=0,f=0,h=e,p=null;t:for(;;){for(;h!==n||0!==o&&3!==h.nodeType||(c=s+o),h!==a||0!==r&&3!==h.nodeType||(u=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(i=h.firstChild);){;p=h,h=i}for(;;){if(h===e)break t;if(p===n&&++d===o&&(c=s),p===a&&++f===r&&(u=s),null!==(i=h.nextSibling))break;
1p=(h=p).parentNode}h=i}n=-1===c||-1===u?null:{start:c,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(l4={focusedElem:e,selectionRange:n},cY=!1,aW=t;null!==aW;)if(e=(t=aW).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,aW=e;else for(;null!==aW;){switch(a=(t=aW).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==a){e=void 0,n=t,o=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var m=oE(n.type,o,n.elementType===n.type);e=r.getSnapshotBeforeUpdate(m,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){lp(n,n.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(n=(e=t.stateNode.containerInfo).nodeType))cs(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":cs(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(l(163))}if(null!==(e=t.sibling)){e.return=t.return,aW=e;break}aW=t.return}m=aY,aY=!1}(e,c),a1(c,e),function(e,t){var n=nC(t);t=e.focusedElem;var r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(t.ownerDocument.documentElement,t)){if(null!==r&&n_(t)){if(e=r.start,void 0===(n=r.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var i=t.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!n.extend&&o>r&&(i=r,r=o,o=i),i=nj(t,o);var a=nj(t,r);i&&a&&(1!==n.rangeCount||n.anchorNode!==i.node||n.anchorOffset!==i.offset||n.focusNode!==a.node||n.focusOffset!==a.offset)&&((e=e.createRange()).setStart(i.node,i.offset),n.removeAllRanges(),o>r?(n.addRange(e),n.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<e.length;t++)(n=e[t]).element.scrollLeft=n.left,n.element.scrollTop=n.top}}(l4,e.containerInfo),cY=!!l3,l4=l3=null,e.current=c,aX(e,c.alternate,c),es(),sk=a,F.p=o,E.T=n):e.current=c,sB?(sB=!1,sq=e,sU=r):ld(e,u),0===(u=e.pendingLanes)&&(sX=null),!function(e){if(ev&&"function"==typeof ev.onCommitFiberRoot)try{ev.onCommitFiberRoot(eO,e,void 0,128==(128&e.current.flags))}catch(e){}}(c.stateNode,i),lM(e),null!==t)for(i=e.onRecoverableError,c=0;c<t.length;c++)i((u=t[c]).value,{componentStack:u.stack});0!=(3&sU)&&lf(),u=e.pendingLanes,0!=(4194218&r)&&0!=(42&u)?e===sK?sJ++:(sJ=0,sK=e):sJ=0,lj(0,!1)}(e,t,n,r,f,i,o,a,s,c,u)}finally{E.T=d,F.p=f}}function ld(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,r4(t))}function lf(){if(null!==sq){var e=sq,t=sH;sH=0;var n=e$(sU),r=E.T,i=F.p;try{if(F.p=32>n?32:n,E.T=null,null===sq)var o=!1;else{n=sG,sG=null;var a=sq,s=sU;if(sq=null,sU=0,0!=(6&sk))throw Error(l(331));var c=sk;if(sk|=4,si(a.current),a9(a,a.current,s,n),sk=c,lj(0,!1),ev&&"function"==typeof ev.onPostCommitFiberRoot)try{ev.onPostCommitFiberRoot(eO,a)}catch(e){}o=!0}return o}finally{F.p=i,E.T=r,ld(e,t)}}return!1}function lh(e,t,n){t=n8(n,t),t=oN(e.stateNode,t,2),null!==(e=ax(e,t,2))&&(eD(e,2),lM(e))}function lp(e,t,n){if(3===e.tag)lh(e,e,n);else for(;null!==t;){if(3===t.tag){lh(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sX||!sX.has(r))){e=n8(n,e),null!==(r=ax(t,n=oL(2),2))&&(oz(n,r,t,e),eD(r,2),lM(r));break}}t=t.return}}function lm(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new sS;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(sE=!0,i.add(n),e=lg.bind(null,e,t,n),t.then(e,e))}function lg(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,sP===e&&(sj&n)===n&&(4===s$||3===s$&&(62914560&sj)===sj&&300>el()-sV?0==(2&sk)&&s7(e,0):sI|=n,sN===sj&&(sN=0)),lM(e)}function lO(e,t){0===t&&(t=e_()),null!==(e=n5(e,t))&&(eD(e,t),lM(e))}function lv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lO(e,n)}function lb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),lO(e,n)}var ly=null,lx=null,lw=!1,lS=!1,lk=!1,lP=0;function lM(e){e!==lx&&null===e.next&&(null===lx?ly=lx=e:lx=lx.next=e),lS=!0,lw||(lw=!0,function(e){ci(function(){0!=(6&sk)?ei(eu,e):e()})}(lC))}function lj(e,t){if(!lk&&lS){lk=!0;do{for(var n=!1,r=ly;null!==r;){if(!t){if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=201326677&(o=(1<<31-ey(42|e)+1)-1&(i&~(a&~s)))?201326677&o|1:o?2|o:0}0!==o&&(n=!0,lD(r,o))}else o=sj,0==(3&(o=eM(r,r===sP?o:0)))||ej(r,o)||(n=!0,lD(r,o))}r=r.next}}while(n);lk=!1}}function lC(){lS=lw=!1;var e=0;0!==lP&&(function(){var e=window.event;if(e&&"popstate"===e.type)return e!==ce&&(ce=e,!0);return ce=null,!1}()&&(e=lP),lP=0);for(var t=el(),n=null,r=ly;null!==r;){var i=r.next,o=l_(r,t);0===o?(r.next=null,null===n?ly=i:n.next=i,null===i&&(lx=n)):(n=r,(0!==e||0!=(3&o))&&(lS=!0)),r
1=i}lj(e,!1)}function l_(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var a=31-ey(o),s=1<<a,l=i[a];-1===l?(0==(s&n)||0!=(s&r))&&(i[a]=function(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(t=sP,n=sj,n=eM(e,e===t?n:0),r=e.callbackNode,0===n||e===t&&2===sC||null!==e.cancelPendingCommit)return null!==r&&null!==r&&eo(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||ej(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&eo(r),e$(n)){case 2:case 8:n=ed;break;case 32:default:n=ef;break;case 268435456:n=ep}return n=ei(n,r=lT.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&eo(r),e.callbackPriority=2,e.callbackNode=null,2}function lT(e,t){var n=e.callbackNode;if(lf()&&e.callbackNode!==n)return null;var r=sj;return 0===(r=eM(e,e===sP?r:0))?null:(s5(e,r,t),l_(e,el()),null!=e.callbackNode&&e.callbackNode===n?lT.bind(null,e):null)}function lD(e,t){if(lf())return null;s5(e,t,!0)}function lE(){return 0===lP&&(lP=eC()),lP}function lQ(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tv(""+e)}function l$(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var lR=0;lR<nU.length;lR++){var lZ=nU[lR];nH(lZ.toLowerCase(),"on"+(lZ[0].toUpperCase()+lZ.slice(1)))}nH(nz,"onAnimationEnd"),nH(nF,"onAnimationIteration"),nH(nV,"onAnimationStart"),nH("dblclick","onDoubleClick"),nH("focusin","onFocus"),nH("focusout","onBlur"),nH(nW,"onTransitionRun"),nH(nY,"onTransitionStart"),nH(nX,"onTransitionCancel"),nH(nB,"onTransitionEnd"),e0("onMouseEnter",["mouseout","mouseover"]),e0("onMouseLeave",["mouseout","mouseover"]),e0("onPointerEnter",["pointerout","pointerover"]),e0("onPointerLeave",["pointerout","pointerover"]),eK("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eK("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eK("onBeforeInput",["compositionend","keypress","textInput","paste"]),eK("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eK("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eK("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lI="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),lA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lI));function lN(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(e){oQ(e)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(e){oQ(e)}i.currentTarget=null,o=l}}}}function lL(e,t){var n=t[eL];void 0===n&&(n=t[eL]=new Set);var r=e+"__bubble";n.has(r)||(lW(t,e,2,!1),n.add(r))}function lz(e,t,n){var r=0;t&&(r|=4),lW(n,e,r,t)}var lF="_reactListening"+Math.random().toString(36).slice(2);function lV(e){if(!e[lF]){e[lF]=!0,eG.forEach(function(t){"selectionchange"!==t&&(lA.has(t)||lz(t,!1,e),lz(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[lF]||(t[lF]=!0,lz("selectionchange",!1,t))}}function lW(e,t,n,r){switch(cJ(t)){case 2:var i=cX;break;case 8:i=cB;break;default:i=cq}n=i.bind(null,t,n,e),i=void 0,tj&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function lY(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;
1if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=eX(s)))return;if(5===(l=a.tag)||6===l||26===l||27===l){r=o=a;continue e}s=s.parentNode}}r=r.return}tP(function(){var r=o,i=ty(n),a=[];e:{var s=nq.get(e);if(void 0!==s){var l=tz,c=e;switch(e){case"keypress":if(0===tQ(n))break e;case"keydown":case"keyup":l=t2;break;case"focusin":c="focus",l=tB;break;case"focusout":c="blur",l=tB;break;case"beforeblur":case"afterblur":l=tB;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=tY;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=tX;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=t3;break;case nz:case nF:case nV:l=tq;break;case nB:l=t4;break;case"scroll":case"scrollend":l=tV;break;case"wheel":l=t6;break;case"copy":case"cut":case"paste":l=tU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=t5;break;case"toggle":case"beforetoggle":l=t9}var u=0!=(4&t),d=!u&&("scroll"===e||"scrollend"===e),f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=r;null!==p;){var m=p;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===f||null!=(m=tM(p,f))&&u.push(lX(p,m,h)),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(0==(7&t)){e:if(s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&n!==tb&&(c=n.relatedTarget||n.fromElement)&&(eX(c)||c[eN]))){if((l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(c=n.relatedTarget||n.toElement,l=r,null!==(c=c?eX(c):null)&&(d=A(c),u=c.tag,c!==d||5!==u&&27!==u&&6!==u)&&(c=null)):(l=null,c=r),l!==c)){if(u=tY,m="onMouseLeave",f="onMouseEnter",p="mouse",("pointerout"===e||"pointerover"===e)&&(u=t5,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:eq(l),h=null==c?s:eq(c),(s=new u(m,p+"leave",l,n,i)).target=d,s.relatedTarget=h,m=null,eX(i)===r&&((u=new u(f,p+"enter",c,n,i)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)t:{for(u=l,f=c,p=0,h=u;h;h=lq(h))p++;for(h=0,m=f;m;m=lq(m))h++;for(;0<p-h;)u=lq(u),p--;for(;0<h-p;)f=lq(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break t;u=lq(u),f=lq(f)}u=null}else u=null;null!==l&&lU(a,s,l,u,!1),null!==c&&null!==d&&lU(a,d,c,u,!0)}}e:{if("select"===(l=(s=r?eq(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g,O=np;else if(nl(s)){if(nm)O=nS;else{O=nx;var v=ny}}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)?O=nw:r&&tm(r.elementType)&&(O=np);if(O&&(O=O(e,r))){nc(a,O,n,i);break e}v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&ts(s,"number",s.value)}switch(v=r?eq(r):window,e){case"focusin":(nl(v)||"true"===v.contentEditable)&&(nD=v,nE=r,nQ=null);break;case"focusout":nQ=nE=nD=null;break;case"mousedown":n$=!0;break;case"contextmenu":case"mouseup":case"dragend":n$=!1,nR(a,n,i);break;case"selectionchange":if(nT)break;case"keydown":case"keyup":nR(a,n,i)}if(t7)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else na?ni(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(nn&&"ko"!==n.locale&&(na||"onCompositionStart"!==b?"onCompositionEnd"===b&&na&&(g=tE()):(tT="value"in(t_=i)?t_.value:t_.textContent,na=!0)),0<(v=lB(r,b)).length&&(b=new tH(b,e,null,n,i),a.push({event:b,listeners:v}),g?b.data=g:null!==(g=no(n))&&(b.data=g))),(g=nt?function(e,t){switch(e){case"compositionend":return no(t);case"keypress":if(32!==t.which)return null;return nr=!0," ";case"textInput":return" "===(e=t.data)&&nr?null:e;default:return null}}(e,n):function(e,t){if(na)return"compositionend"===e||!t7&&ni(e,t)?(e=tE(),tD=tT=t_=null,na=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(b=lB(r,"onBeforeInput")).length&&(v=new tH("onBeforeInput","beforeinput",null,n,i),a.push({event:v,listeners:b}),v.data=g),!function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=lQ((i[eA]||null).action),a=r.submitter;a&&null!==(t=(t=a[eA]||null)?lQ(t.formAction):a.getAttribute("formAction"))&&(o=t,a=null);var s=new tz("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==lP){var e=a?l$(i,a):new FormData(i);ou(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),ou(n,{pending:!0,data:e=a?l$(i,a):new FormData(i),method:i.method,action:o},o,e))},currentTarget:i}]})}}(a,e,r,n,i)}lN(a,t)})}function lX(e,t,n){return{instance:e,listener:t,currentTarget:n}}function lB(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=tM(e,n))&&r.unshift(lX(e,i,o)),null!=(i=tM(e,t))&&r.push(lX(e,i,o))),e=e.return}return r}function lq(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag);return e||null}function lU(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,i?null!=(c=tM(n,o))&&a.unshift(lX(n,c,l)):i||null!=(c=tM(n,o))&&a.push(lX(n,c,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var lH=/\r\n?/g,lG=/\u0000|\uFFFD/g;function lJ(e){return("string"==typeof e?e:""+e).replace(lH,"\n").replace(lG,"")}function lK(e,t){return t=lJ(t),lJ(e)===t}function l0(){}function l1(e,t,n,r,i,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||td(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&td(e,""+r);break;case"className":e6(e,"class",r);break;case"tabIndex":e6(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":e6(e,n,r);break;case"style":tp(e,r,o);break;case"data":if("object"!==t){e6(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tv(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}"function"==typeof o&&("formAction"===n?("input"!==t&&l1(e,t,"name",i.name,i,null),l1(e,t,"formEncType",i.formEncType,i,null),l1(e,t,"formMethod",i.formMethod,i,null),l1(e,t,"formTarget",i.formTarget,i,null)):(l1(e,t,"encType",i.encType,i,null),l1(e,t,"method",i.method,i,null),l1(e,t,"target",i.target,i,null)));if(null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tv(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=l0);break;case"onScroll":null!=r&&lL("scroll",e);break;case"onScrollEnd":null!=r&&lL("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tv(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
1ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":lL("beforetoggle",e),lL("toggle",e),e4(e,"popover",r);break;case"xlinkActuate":e9(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":e9(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":e9(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":e9(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":e9(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":e9(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":e9(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":e9(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":e9(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":e4(e,"is",r);break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&e4(e,n=tg.get(n)||n,r)}}function l2(e,t,n,r,i,o){switch(n){case"style":tp(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(l(60));e.innerHTML=n}}break;case"children":"string"==typeof r?td(e,r):("number"==typeof r||"bigint"==typeof r)&&td(e,""+r);break;case"onScroll":null!=r&&lL("scroll",e);break;case"onScrollEnd":null!=r&&lL("scrollend",e);break;case"onClick":null!=r&&(e.onclick=l0);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eJ.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"==typeof(o=null!=(o=e[eA]||null)?o[n]:null)&&e.removeEventListener(t,o,i),"function"==typeof r)){"function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break e}n in e?e[n]=r:!0===r?e.setAttribute(n,""):e4(e,n,r)}}}function l5(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":lL("error",e),lL("load",e);var r,i=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var a=n[r];if(null!=a)switch(r){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:l1(e,t,r,a,n,null)}}o&&l1(e,t,"srcSet",n.srcSet,n,null),i&&l1(e,t,"src",n.src,n,null);return;case"input":lL("invalid",e);var s=r=a=o=null,c=null,u=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":o=d;break;case"type":a=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:l1(e,t,i,d,n,null)}}ta(e,r,s,c,u,a,o,!1),te(e);return;case"select":for(o in lL("invalid",e),i=a=r=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":r=s;break;case"defaultValue":a=s;break;case"multiple":i=s;default:l1(e,t,o,s,n,null)}t=r,n=a,e.multiple=!!i,null!=t?tl(e,!!i,t,!1):null!=n&&tl(e,!!i,n,!0);return;case"textarea":for(a in lL("invalid",e),r=o=i=null,n)if(n.hasOwnProperty(a)&&null!=(s=n[a]))switch(a){case"value":i=s;break;case"defaultValue":o=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:l1(e,t,a,s,n,null)}tu(e,i,o,r),te(e);return;case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c])){if("selected"===c)e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i;else l1(e,t,c,i,n,null)}return;case"dialog":lL("cancel",e),lL("close",e);break;case"iframe":case"object":lL("load",e);break;case"video":case"audio":for(i=0;i<lI.length;i++)lL(lI[i],e);break;case"image":lL("error",e),lL("load",e);break;case"details":lL("toggle",e);break;case"embed":case"source":case"link":lL("error",e),lL("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(i=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:l1(e,t,u,i,n,null)}return;default:if(tm(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(i=n[d])&&l2(e,t,d,i,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(i=n[s])&&l1(e,t,s,i,n,null)}var l3=null,l4=null;
vendor: 9,670 bytes, line 1
1function l6(e){return 9===e.nodeType?e:e.ownerDocument}function l9(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function l8(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function l7(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ce=null,ct="function"==typeof setTimeout?setTimeout:void 0,cn="function"==typeof clearTimeout?clearTimeout:void 0,cr="function"==typeof Promise?Promise:void 0,ci="function"==typeof queueMicrotask?queueMicrotask:void 0!==cr?function(e){return cr.resolve(null).then(e).catch(co)}:ct;function co(e){setTimeout(function(){throw e})}function ca(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType){if("/$"===(n=i.data)){if(0===r){e.removeChild(i),ua(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++}n=i}while(n);ua(t)}function cs(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cs(n),eY(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function cl(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}function cc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function cu(e,t,n){switch(t=l6(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}var cd=new Map,cf=new Set;function ch(e){return"function"==typeof e.getRootNode?e.getRootNode():e.ownerDocument}var cp=F.d;F.d={f:function(){var e=cp.f(),t=s9();return e||t},r:function(e){var t=eB(e);null!==t&&5===t.tag&&"form"===t.type?of(t):cp.r(e)},D:function(e){cp.D(e),cg("dns-prefetch",e,null)},C:function(e,t){cp.C(e,t),cg("preconnect",e,t)},L:function(e,t,n){cp.L(e,t,n);if(cm&&e&&t){var r='link[rel="preload"][as="'+ti(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+ti(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+ti(n.imageSizes)+'"]')):r+='[href="'+ti(e)+'"]';var i=r;switch(t){case"style":i=cv(e);break;case"script":i=cx(e)}cd.has(i)||(e=Q({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),cd.set(i,e),null!==cm.querySelector(r)||"style"===t&&cm.querySelector(cb(i))||"script"===t&&cm.querySelector(cw(i))||(l5(t=cm.createElement("link"),"link",e),eH(t),cm.head.appendChild(t)))}},m:function(e,t){cp.m(e,t);if(cm&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+ti(n)+'"][href="'+ti(e)+'"]',i=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=cx(e)}if(!cd.has(i)&&(e=Q({rel:"modulepreload",href:e},t),cd.set(i,e),null===cm.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(cm.querySelector(cw(i)))return}l5(n=cm.createElement("link"),"link",e),eH(n),cm.head.appendChild(n)}}},X:function(e,t){cp.X(e,t);if(cm&&e){var n=eU(cm).hoistableScripts,r=cx(e),i=n.get(r);i||((i=cm.querySelector(cw(r)))||(e=Q({src:e,async:!0},t),(t=cd.get(r))&&cM(e,t),eH(i=cm.createElement("script")),l5(i,"link",e),cm.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(r,i))}},S:function(e,t,n){cp.S(e,t,n);if(cm&&e){var r=eU(cm).hoistableStyles,i=cv(e);t=t||"default";var o=r.get(i);if(!o){var a={loading:0,preload:null};if(o=cm.querySelector(cb(i)))a.loading=5;else{e=Q({rel:"stylesheet",href:e,"data-precedence":t},n),(n=cd.get(i))&&cP(e,n);var s=o=cm.createElement("link");eH(s),l5(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){a.loading|=1}),s.addEventListener("error",function(){a.loading|=2}),a.loading|=4,ck(o,t,cm)}o={type:"stylesheet",instance:o,count:1,state:a},r.set(i,o)}}},M:function(e,t){cp.M(e,t);if(cm&&e){var n=eU(cm).hoistableScripts,r=cx(e),i=n.get(r);i||((i=cm.querySelector(cw(r)))||(e=Q({src:e,async:!0,type:"module"},t),(t=cd.get(r))&&cM(e,t),eH(i=cm.createElement("script")),l5(i,"link",e),cm.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(r,i))}}};var cm="undefined"==typeof document?null:document;function cg(e,t,n){if(cm&&"string"==typeof t&&t){var r=ti(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),cf.has(r)||(cf.add(r),e={rel:e,crossOrigin:n,href:t},null===cm.querySelector(r)&&(l5(t=cm.createElement("link"),"link",e),eH(t),cm.head.appendChild(t)))}}function cO(e,t,n,r){var i=(i=G.current)?ch(i):null;if(!i)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=cv(n.href),(r=(n=eU(i).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=cv(n.href);var o=eU(i).hoistableStyles,a=o.get(e);if(a||(i=i.ownerDocument||i,a={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(e,a),(o=i.querySelector(cb(e)))&&!o._p&&(a.instance=o,a.state.loading=5),cd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},cd.set(e,n),o||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),l5(t,"link",n),eH(t),e.head.appendChild(t))}(i,e,n,a.state))),t&&null===r)throw Error(l(528,""));return a}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=cx(n),(r=(n=eU(i).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function cv(e){return'href="'+ti(e)+'"'}function cb(e){return'link[rel="stylesheet"]['+e+"]"}function cy(e){return Q({},e,{"data-precedence":e.precedence,precedence:null})}function cx(e){return'[src="'+ti(e)+'"]'}function cw(e){return"script[async]"+e}function cS(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ti(n.href)+'"]');if(r)return t.instance=r,eH(r),r;var i=Q({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return eH(r=(e.ownerDocument||e).createElement("style")),l5(r,"style",i),ck(r,n.precedence,e),t.instance=r;case"stylesheet":i=cv(n.href);var o=e.querySelector(cb(i));if(o)return t.state.loading|=4,t.instance=o,eH(o),o;r=cy(n),(i=cd.get(i))&&cP(r,i),eH(o=(e.ownerDocument||e).createElement("link"));var a=o;return a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),l5(o,"link",r),t.state.loading|=4,ck(o,n.precedence,e),t.instance=o;case"script":if(o=cx(n.src),i=e.querySelector(cw(o)))return t.instance=i,eH(i),i;return r=n,(i=cd.get(o))&&cM(r=Q({},n),i),eH(i=(e=e.ownerDocument||e).createElement("script")),l5(i,"link",r),e.head.appendChild(i),t.instance=i;case"void":return null;default:throw Error(l(443,t.type))}else"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,ck(r,n.precedence,e));return t.instance}function ck(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function cP(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function cM(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var cj=null;function cC(e,t,n){if(null===cj){var r=new Map,i=cj=new Map;i.set(n,r)}else(r=(i=cj).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[eW]||o[eI]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function c_(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function cT(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var cD=null;function cE(){}function cQ(){if(this.count--,0===this.count){if(this.stylesheets)cR(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var c$=null;function cR(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,c$=new Map,t.forEach(cZ,e),c$=null,cQ.call(e))}function cZ(e,t){if(!(4&t.state.loading)){var n=c$.get(e);
vendor: 12,940 bytes, line 1
1if(n)var r=n.get(null);else{n=new Map,c$.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];("LINK"===a.nodeName||"not all"!==a.getAttribute("media"))&&(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=cQ.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var cI={$$typeof:v,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function cA(e,t,n,r,i,o,a,s){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eT(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eT(0),this.hiddenUpdates=eT(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function cN(e,t,n,r,i,o,a,s,l,c,u,d){return e=new cA(e,t,n,a,s,l,c,d),t=1,!0===o&&(t|=24),o=ss(3,null,null,t),e.current=o,o.stateNode=e,t=r3(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},av(o),e}function cL(e){return e?e=n6:n6}function cz(e,t,n,r,i,o){i=cL(i),null===r.context?r.context=i:r.pendingContext=i,(r=ay(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=ax(e,r,t))&&(s2(n,e,t),aw(n,e,t))}function cF(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function cV(e,t){cF(e,t),(e=e.alternate)&&cF(e,t)}function cW(e){if(13===e.tag){var t=n5(e,67108864);null!==t&&s2(t,e,67108864),cV(e,67108864)}}var cY=!0;function cX(e,t,n,r){var i=E.T;E.T=null;var o=F.p;try{F.p=2,cq(e,t,n,r)}finally{F.p=o,E.T=i}}function cB(e,t,n,r){var i=E.T;E.T=null;var o=F.p;try{F.p=8,cq(e,t,n,r)}finally{F.p=o,E.T=i}}function cq(e,t,n,r){if(cY){var i=cU(r);if(null===i)lY(e,t,r,cH,n),c9(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return c0=c8(c0,e,t,n,r,i),!0;case"dragenter":return c1=c8(c1,e,t,n,r,i),!0;case"mouseover":return c2=c8(c2,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return c5.set(o,c8(c5.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,c3.set(o,c8(c3.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(c9(e,r),4&t&&-1<c6.indexOf(e)){for(;null!==i;){var o=eB(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=eP(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-ey(a);s.entanglements[1]|=l,a&=~l}lM(o),0==(6&sk)&&(sW=el()+500,lj(0,!1))}}break;case 13:null!==(s=n5(o,2))&&s2(s,o,2),s9(),cV(o,2)}if(null===(o=cU(r))&&lY(e,t,r,cH,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else lY(e,t,r,null,n)}}function cU(e){return cG(e=ty(e))}var cH=null;function cG(e){if(cH=null,null!==(e=eX(e))){var t=A(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=N(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cH=e,null}function cJ(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ec()){case eu:return 2;case ed:return 8;case ef:case eh:return 32;case ep:return 268435456;default:return 32}default:return 32}}var cK=!1,c0=null,c1=null,c2=null,c5=new Map,c3=new Map,c4=[],c6="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function c9(e,t){switch(e){case"focusin":case"focusout":c0=null;break;case"dragenter":case"dragleave":c1=null;break;case"mouseover":case"mouseout":c2=null;break;case"pointerover":case"pointerout":c5.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":c3.delete(t.pointerId)}}function c8(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=eB(t))&&cW(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function c7(e){var t=eX(e.target);if(null!==t){var n=A(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=N(n))){e.blockedOn=t,!function(e,t){var n=F.p;try{return F.p=e,t()}finally{F.p=n}}(e.priority,function(){if(13===n.tag){var e=s0(),t=n5(n,e);null!==t&&s2(t,n,e),cV(n,e)}});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ue(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cU(e.nativeEvent);if(null!==n)return null!==(t=eB(n))&&cW(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tb=r,n.target.dispatchEvent(r),tb=null;t.shift()}return!0}function ut(e,t,n){ue(e)&&n.delete(t)}function un(){cK=!1,null!==c0&&ue(c0)&&(c0=null),null!==c1&&ue(c1)&&(c1=null),null!==c2&&ue(c2)&&(c2=null),c5.forEach(ut),c3.forEach(ut)}function ur(e,t){e.blockedOn===t&&(e.blockedOn=null,cK||(cK=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,un)))}var ui=null;function uo(e){ui!==e&&(ui=e,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){ui===e&&(ui=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!=typeof r){if(null===cG(r||n))continue;break}var o=eB(n);null!==o&&(e.splice(t,3),t-=3,ou(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function ua(e){function t(t){return ur(t,e)}null!==c0&&ur(c0,e),null!==c1&&ur(c1,e),null!==c2&&ur(c2,e),c5.forEach(t),c3.forEach(t);for(var n=0;n<c4.length;n++){var r=c4[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<c4.length&&null===(n=c4[0]).blockedOn;)c7(n),null===n.blockedOn&&c4.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[eA]||null;if("function"==typeof o)a||uo(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[eA]||null)s=a.formAction;else if(null!==cG(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),uo(n)}}}function us(e){this._internalRoot=e}function ul(e){this._internalRoot=e}ul.prototype.render=us.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));cz(t.current,s0(),e,t,null,null)},ul.prototype.unmount=us.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;0===e.tag&&lf(),cz(e.current,2,null,e,null,null),s9(),t[eN]=null}},ul.prototype.unstable_scheduleHydration=function(e){if(e){var t=eR();e={blockedOn:null,target:e,priority:t};for(var n=0;n<c4.length&&0!==t&&t<c4[n].priority;n++);c4.splice(n,0,e),0===n&&c7(e)}};var uc=a.version;if("19.0.0"!==uc)throw Error(l(527,uc,"19.0.0"));F.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return e=null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=A(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return L(i),e;if(o===r)return L(i),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uu.isDisabled&&uu.supportsFiber)try{eO=uu.inject({bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:E,findFiberByHostInstance:eX,reconcilerVersion:"19.0.0"}),ev=uu}catch(e){}}t.createRoot=function(e,t){if(!c(e))throw Error(l(299));var n=!1,r="",i=o$,o=oR,a=oZ,s=null;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(a=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&(s=t.unstable_transitionCallbacks)),t=cN(e,1,!1,null,null,n,r,i,o,a,s,null),e[eN]=t.current,lV(8===e.nodeType?e.parentNode:e),new us(t)}},69997:function(e,t,n){"use strict";var r=n("3781");function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=a.p;try{if(l.T=null,a.p=2,e)return e()}finally{l.T=t,a.p=n,a.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,a.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&a.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin),i="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?a.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):"script"===n&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e){if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&a.d.M(e)}},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
1ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e){if(t){var n=c(t.as,t.crossOrigin);a.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else a.d.m(e)}},t.requestFormReset=function(e){a.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.0.0"},56384:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("31250")},27215:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("69997")},19005:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,c,u;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(o[l],a[l]))return!1;return!0}if(n&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(u=o.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=o.entries();!(l=u.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(u=o.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((s=(c=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!o.$$typeof)&&!e(o[c[l]],a[c[l]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},34013:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,O=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case i:return t}}}function w(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||x(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===y||e.$$typeof===O)},t.typeOf=x},19935:function(e,t,n){"use strict";e.exports=n("34013")},29503:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var r=n("3781"),i=n("27215"),o=n("25457"),a=n("19005"),s=n.n(a),l=n("39332"),c=[],u=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),u={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||c}
1,d=r.useState({styles:{popper:{position:u.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),f=d[0],h=d[1],p=r.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);i.flushSync(function(){h({styles:(0,l.sq)(n.map(function(e){return[e,t.styles[e]||{}]})),attributes:(0,l.sq)(n.map(function(e){return[e,t.attributes[e]]}))})})},requires:["computeStyles"]}},[]),m=r.useMemo(function(){var e={onFirstUpdate:u.onFirstUpdate,placement:u.placement,strategy:u.strategy,modifiers:[].concat(u.modifiers,[p,{name:"applyStyles",enabled:!1}])};return s()(a.current,e)?a.current||e:(a.current=e,e)},[u.onFirstUpdate,u.placement,u.strategy,u.modifiers,p]),g=r.useRef();return(0,l.LI)(function(){g.current&&g.current.setOptions(m)},[m]),(0,l.LI)(function(){if(null!=e&&null!=t){var r=(n.createPopper||o.fi)(e,t,m);return g.current=r,function(){r.destroy(),g.current=null}}},[e,t,n.createPopper]),{state:g.current?g.current.state:null,styles:f.styles,attributes:f.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}}},39332:function(e,t,n){"use strict";n.d(t,{LI:function(){return o},sq:function(){return i}});var r=n("3781"),i=function(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e},{})},o="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},2471:function(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:i,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},92329:function(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function O(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}O.prototype.isReactComponent={},O.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=O.prototype;var y=b.prototype=new v;y.constructor=b,m(y,O.prototype),y.isPureReactComponent=!0;var x=Array.isArray,w={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function k(e,t,r,i,o,a){return{$$typeof:n,type:e,key:t,ref:void 0!==(r=a.ref)?r:null,props:a}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var M=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function C(){}function _(e,t,i){if(null==e)return e;var o=[],a=0;return!function e(t,i,o,a,s){var l,c,u,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),i,o,a,s)}}if(p){;return s=s(t),p=""===a?"."+j(t,0):a,x(s)?(o="",null!=p&&(o=p.replace(M,"$&/")+"/"),e(s,i,o,"",function(e){return e})):null!=s&&(P(s)&&(l=s,c=o+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(M,"$&/")+"/")+p,s=k(l.type,c,void 0,void 0,void 0,l.props)),i.push(s)),1}p=0;var m=""===a?".":a+":";if(x(t))for(var g=0;g<t.length;g++)d=m+j(a=t[g],g),p+=e(a,i,o,d,s);else{;if("function"==typeof(g=null===(u=t)||"object"!=typeof u?null:"function"==typeof(u=h&&u[h]||u["@@iterator"])?u:null))for(t=g.call(t),g=0;!(a=t.next()).done;)d=m+j(a=a.value,g++),p+=e(a,i,o,d,s);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),i,o,a,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(i=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}}return p}(e,o,"","",function(e){return t.call(i,e,a++)}),o}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit){process.emit("uncaughtException",e);return}console.error(e)};function E(){}t.Children={map:_,forEach:function(e,t,n){_(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return _(e,function(){t++}),t},toArray:function(e){return _(e,function(e){return e})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=O,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,t.act=function(){throw Error("act(...) is not supported in production builds of React.")},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=m({},e.props),i=e.key,o=void 0;if(null!=t)for(a in void 0!==t.ref&&(o=void 0),void 0!==t.key&&(i=""+t.key),t)S.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&("ref"!==a||void 0!==t.ref)&&(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];r.children=s}return k(e.type,i,void 0,void 0,o,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)S.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return k(e,o,void 0,void 0,null,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(E,D)}catch(e){D(e)}finally{w.T=t}},t.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},t.use=function(e){return w.H.use(e)},t.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},t.useCallback=function(e,t){return w.H.useCallback(e,t)},t.useContext=function(e){return w.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return w.H.useEffect(e,t)},t.useId=function(){return w.H.useId()},t.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return w.H.useMemo(e,t)},t.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},t.useRef=function(e){return w.H.useRef(e)},t.useState=function(e){return w.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return w.H.useTransition()},t.version="19.0.0"},3781:function(e,t,n){"use strict";e.exports=n("92329")},47590:function(e,t,n){"use strict";e.exports=n("2471")},88260:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<o(i,t))e[r]=t,e[n]=i,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<i&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else if(c<i&&0>o(u,n))e[r]=u,e[c]=n,r=c;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a,s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}var u=[],d=[],f=1,h=null,p=3,m=!1,g=!1,O=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)i(d);else if(t.startTime<=e)i(d),t.sortIndex=t.expirationTime,n(u,t);else break;t=r(d)}}function w(e){if(O=!1,x(e),!g){if(null!==r(u))g=!0,D();else{var t=r(d);null!==t&&E(w,t.startTime-e)}}}var S=!1,k=-1,P=5,M=-1;function j(){return!(t.unstable_now()-M<P)}function C(){if(S){var e=t.unstable_now();M=e;var n=!0;try{e:{g=!1,O&&(O=!1,b(k),k=-1),m=!0;var o=p;try{t:{for(x(e),h=r(u);null!==h&&!(h.expirationTime>e&&j());){var s=h.callback;if("function"==typeof s){h.callback=null,p=h.priorityLevel;var l=s(h.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof l){h.callback=l,x(e),n=!0;break t}h===r(u)&&i(u),x(e)}else i(u);h=r(u)}if(null!==h)n=!0;else{var c=r(d);null!==c&&E(w,c.startTime-e),n=!1}}break e}finally{h=null,p=o,m=!1}n=void 0}}finally{n?a():S=!1}
1}}if("function"==typeof y)a=function(){y(C)};else if("undefined"!=typeof MessageChannel){var _=new MessageChannel,T=_.port2;_.port1.onmessage=C,a=function(){T.postMessage(null)}}else a=function(){v(C,0)};function D(){S||(S=!0,a())}function E(e,n){k=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||m||(g=!0,D())},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o?"number"==typeof(o=o.delay)&&0<o?a+o:a:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s,sortIndex:-1},o>a?(e.sortIndex=o,n(d,e),null===r(u)&&e===r(d)&&(O?(b(k),k=-1):O=!0,E(w,o-a))):(e.sortIndex=s,n(u,e),g||m||(g=!0,D())),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},26779:function(e,t,n){"use strict";e.exports=n("88260")},93559:function(e,t,n){"use strict";var r=n("3781"),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return s(function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})},[e,n,t]),a(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},47728:function(e,t,n){"use strict";e.exports=n("93559")},24363:function(e,t,n){"use strict";n.d(t,{A1:function(){return r}});var r={colors:{surface1:"#ffffff",surface2:"#F3F3F3",surface3:"#f5f5f5",clickable:"#959da5",base:"#24292e",disabled:"#d1d4d8",hover:"#24292e",accent:"#24292e"},syntax:{keyword:"#d73a49",property:"#005cc5",plain:"#24292e",static:"#032f62",string:"#032f62",definition:"#6f42c1",punctuation:"#24292e",tag:"#22863a",comment:{color:"#6a737d",fontStyle:"normal"}},font:{body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'"Fira Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace',size:"13px",lineHeight:"20px"}}},59980:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n("94933"),i=n("91704"),o=n("92426"),a=n("59287"),s=n("15701"),l=n("78479"),c=n("62941"),u=function(e,t,n){for(var r=0,o=0;r=o,o=(0,i.fj)(),38===r&&12===o&&(t[n]=1),!(0,i.r)(o);){;(0,i.lp)()}return(0,i.tP)(e,i.FK)},d=function(e,t){var n=-1,r=44;do switch((0,i.r)(r)){case 0:38===r&&12===(0,i.fj)()&&(t[n]=1),e[n]+=u(i.FK-1,t,n);break;case 2:e[n]+=(0,i.iF)(r);break;case 4:if(44===r){e[++n]=58===(0,i.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,o.Dp)(r)}while(r=(0,i.lp)());return e},f=new WeakMap,h=function(e){if("rule"!==e.type||!e.parent||e.length<1)return;for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if(1!==e.props.length||58===t.charCodeAt(0)||!!f.get(n)){if(!r){f.set(e,!0);var o,a,s=[];for(var l=(o=t,a=s,(0,i.cE)(d((0,i.un)(o),a))),c=n.props,u=0,h=0;u<l.length;u++)for(var p=0;p<c.length;p++,h++)e.props[h]=s[u]?l[u].replace(/&\f/g,c[p]):c[p]+" "+l[u]}}},p=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},m=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case a.h5:e.return=function e(t,n){switch((0,o.vp)(t,n)){case 5103:return a.G$+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a.G$+t+t;
vendor: 1,920 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+t+a.uj+t+a.MS+t+t;case 6828:case 4268:return a.G$+t+a.MS+t+t;case 6165:return a.G$+t+a.MS+"flex-"+t+t;case 5187:return a.G$+t+(0,o.gx)(t,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.G$+t+a.MS+"flex-item-"+(0,o.gx)(t,/flex-|-self/,"")+t;case 4675:return a.G$+t+a.MS+"flex-line-pack"+(0,o.gx)(t,/align-content|flex-|-self/,"")+t;case 5548:return a.G$+t+a.MS+(0,o.gx)(t,"shrink","negative")+t;case 5292:return a.G$+t+a.MS+(0,o.gx)(t,"basis","preferred-size")+t;case 6060:return a.G$+"box-"+(0,o.gx)(t,"-grow","")+a.G$+t+a.MS+(0,o.gx)(t,"grow","positive")+t;case 4554:return a.G$+(0,o.gx)(t,/([^-])(transform)/g,"$1"+a.G$+"$2")+t;case 6187:return(0,o.gx)((0,o.gx)((0,o.gx)(t,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,o.gx)(t,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,o.gx)((0,o.gx)(t,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+t+t;case 4095:case 3583:case 4068:case 2532:return(0,o.gx)(t,/(.+)-inline(.+)/,a.G$+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,o.to)(t)-1-n>6)switch((0,o.uO)(t,n+1)){case 109:if(45!==(0,o.uO)(t,n+4))break;case 102:return(0,o.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,o.uO)(t,n+3)?"$3":"$2-$3"))+t;case 115:return~(0,o.Cw)(t,"stretch")?e((0,o.gx)(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==(0,o.uO)(t,n+1))break;case 6444:switch((0,o.uO)(t,(0,o.to)(t)-3-(~(0,o.Cw)(t,"!important")&&10))){case 107:return(0,o.gx)(t,":",":"+a.G$)+t;case 101:return(0,o.gx)(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,o.uO)(t,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+t}break;case 5936:switch((0,o.uO)(t,n+11)){case 114:return a.G$+t+a.MS+(0,o.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
1case 108:return a.G$+t+a.MS+(0,o.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.G$+t+a.MS+(0,o.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a.G$+t+a.MS+t+t}return t}(e.value,e.length);break;case a.lK:return(0,s.q)([(0,i.JG)(e,{value:(0,o.gx)(e.value,"@","@"+a.G$)})],r);case a.Fr:if(e.length)return(0,o.$e)(e.props,function(t){switch((0,o.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,s.q)([(0,i.JG)(e,{props:[(0,o.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],r);case"::placeholder":return(0,s.q)([(0,i.JG)(e,{props:[(0,o.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,i.JG)(e,{props:[(0,o.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,i.JG)(e,{props:[(0,o.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""})}}],g=function(e){var t,n,i,o=e.key;if("css"===o){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var u=e.stylisPlugins||m,d={},f=[];t=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)d[t[n]]=!0;f.push(e)});var g=[s.P,(0,l.cD)(function(e){i.insert(e)}
1)],O=(0,l.qR)([h,p].concat(u,g));n=function(e,t,n,r){var o;i=n,o=e?e+"{"+t.styles+"}":t.styles,(0,s.q)((0,c.MY)(o),O),r&&(v.inserted[t.name]=!0)};var v={key:o,sheet:new r.m({key:o,container:t,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:d,registered:{},insert:n};return v.sheet.hydrate(f),v}},1619:function(e,t,n){"use strict";function r(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(65535&n)*1540483477+((n>>>16)*59797<<16)^(65535&t)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t^=255&e.charCodeAt(r),t=(65535&t)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,(((t=(65535&t)*1540483477+((t>>>16)*59797<<16))^t>>>15)>>>0).toString(36)}n.d(t,{Z:function(){return r}})},85660:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},84921:function(e,t,n){"use strict";n.d(t,{E:function(){return O},T:function(){return f},c:function(){return m},h:function(){return h},i:function(){return c},w:function(){return d}});var r=n("3781"),i=n("59980"),o=n("73030");n("33566");var a=n("41086"),s=n("74223"),l=n("56726"),c=!1,u=r.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);u.Provider;var d=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(u),n)})},f=r.createContext({}),h={}.hasOwnProperty,p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)h.call(t,r)&&(n[r]=t[r]);return n[p]=e,n},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,a.hC)(t,n,r),(0,l.L)(function(){return(0,a.My)(t,n,r)}),null},O=d(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[p],l=[i],u="";"string"==typeof e.className?u=(0,a.fp)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var d=(0,s.O)(l,void 0,r.useContext(f));u+=t.key+"-"+d.name;var m={};for(var O in e)h.call(e,O)&&"css"!==O&&O!==p&&!c&&(m[O]=e[O]);return m.className=u,n&&(m.ref=n),r.createElement(r.Fragment,null,r.createElement(g,{cache:t,serialized:d,isStringTag:"string"==typeof o}),r.createElement(o,m))})},39708:function(e,t,n){"use strict";n.d(t,{F4:function(){return f},iv:function(){return d},tZ:function(){return u}});var r,i,o=n("84921"),a=n("3781"),s=n("41086"),l=n("56726"),c=n("74223");n("59980"),n("57084");var u=function(e,t){var n=arguments;if(null==t||!o.h.call(t,"css"))return a.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=o.E,i[1]=(0,o.c)(e,t);for(var s=2;s<r;s++)i[s]=n[s];return a.createElement.apply(null,i)};function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,c.O)(t)}function f(){var e=d.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}r=u||(u={}),i||(i=r.JSX||(r.JSX={}))},74223:function(e,t,n){"use strict";n.d(t,{O:function(){return m}});var r,i=n("1619"),o=n("90639"),a=n("85660"),s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},d=(0,a.Z)(function(e){return c(e)?e:e.replace(s,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,n){return r={name:t,styles:n,next:r},t})}return 1===o.Z[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)r={name:i.name,styles:i.styles,next:r},i=i.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=h(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":u(a)&&(r+=d(o)+":"+f(o,a)+";");else{if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(r+=d(o)+":"+f(o,a[s])+";");else{var l=h(e,t,a);switch(o){case"animation":case"animationName":r+=d(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}}}return r}(e,t,n);case"function":if(void 0!==e){var o=r,a=n(e);return r=o,h(e,t,a)}}if(null==t)return n;var s=t[n];return void 0!==s?s:n}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,a=!0,s="";r=void 0;var l=e[0];null==l||void 0===l.raw?(a=!1,s+=h(n,t,l)):s+=l[0];for(var c=1;c<e.length;c++)s+=h(n,t,e[c]),a&&(s+=l[c]);p.lastIndex=0;for(var u="";null!==(o=p.exec(s));)u+="-"+o[1];return{name:(0,i.Z)(s)+u,styles:s,next:r}}},94933:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepe
1nd?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n;this._insertTag((t=this,(n=document.createElement("style")).setAttribute("data-emotion",t.key),void 0!==t.nonce&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{i.insertRule(e,i.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEac
1h(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}()},90639:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},56726:function(e,t,n){"use strict";n.d(t,{L:function(){return o},j:function(){return a}});var r=n("3781"),i=!!r.useInsertionEffect&&r.useInsertionEffect,o=i||function(e){return e()},a=i||r.useLayoutEffect},41086:function(e,t,n){"use strict";n.d(t,{My:function(){return o},fp:function(){return r},hC:function(){return i}});function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},33566:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}},1886:function(e,t,n){"use strict";n("65840");var r=n("3781"),i=n("17395");let o=new Map;function a(e){let{root:t,...n}=e,r=JSON.stringify(n),i=o.get(t);return!i&&(i={},o.set(t,i)),i[r]?i[r]:i[r]=function({root:e=null,pollInterval:t=null,useMutationObserver:n=!1,rootMargin:r="0px 0px 0px 0px",threshold:i=0}){let o=new Set;if("undefined"==typeof IntersectionObserver)return null;let a=new IntersectionObserver(e=>{for(let t of o)t(e,a)},{root:e,rootMargin:r,threshold:i});return a.POLL_INTERVAL=t,a.USE_MUTATION_OBSERVER=n,{observer:a,getListeners:()=>o,subscribe:e=>o.add(e),unsubscribe:e=>o.delete(e)}}(e)}t.Z=function(e,t={}){let{root:n=null,pollInterval:o=null,useMutationObserver:s=!1,rootMargin:l="0px 0px 0px 0px",threshold:c=0,initialIsIntersecting:u=!1}=t,[d,f]=r.useState(()=>({boundingClientRect:null,intersectionRatio:0,intersectionRect:null,isIntersecting:u,rootBounds:null,target:null,time:0})),[h,p]=r.useState(()=>a({root:n,pollInterval:o,useMutationObserver:s,rootMargin:l,threshold:c}));return r.useEffect(()=>{p(a({root:n,pollInterval:o,useMutationObserver:s,rootMargin:l,threshold:c}))},[n,l,o,s,JSON.stringify(c)]),(0,i.Z)(()=>{let t=e&&"current"in e?e.current:e;if(!h||!t)return;let n=!1;h.observer.observe(t);let r=e=>{if(!n)for(let n=0;n<e.length;n++){let r=e[n];r.target===t&&f(r)}};return h.subscribe(r),()=>{n=!0,h.observer.unobserve(t),h.unsubscribe(r)}},[e,h]),d}},17395:function(e,t,n){"use strict";let r=n("3781")["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"];t.Z=r},63224:function(e){"use strict";var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],r=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&amp;|%[A-Fa-f0-9]{2})+)/gm,i=function(){function e(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}return t(e,null,[{key:"escapeForHtml",value:function(t){return new e().escapeForHtml(t)}},{key:"linkify",value:function(t){return new e().linkify(t)}},{key:"ansiToHtml",value:function(t,n){return new e().ansiToHtml(t,n)}},{key:"ansiToJson",value:function(t,n){return new e().ansiToJson(t,n)}},{key:"ansiToText",value:function(t){return new e().ansiToText(t)}}]),t(e,[{key:"setupPalette",value:function(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e)for(var t=0;t<8;++t)this.PALETTE_COLORS.push(n[e][t].color);for(var r=[0,95,135,175,215,255],i=function(e,t,n){return r[e]+", "+r[t]+", "+r[n]},o=0;o<6;++o)for(var a=0;a<6;++a)for(var s=0;s<6;++s)this.PALETTE_COLORS.push(i(o,a,s));for(var l=8,c=0;c<24;++c,l+=10)this.PALETTE_COLORS.push(i(l,l,l))}},{key:"escapeForHtml",value:function(e){return e.replace(/[&<>\"]/gm,function(e){return"&"==e?"&amp;":'"'==e?"&quot;":"<"==e?"&lt;":">"==e?"&gt;":""})}},{key:"linkify",value:function(e){return e.replace(r,function(e){return'<a href="'+e+'">'+e+"</a>"})}},{key:"ansiToHtml",value:function(e,t){return this.process(e,t,!0)}},{key:"ansiToJson",value:function(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,t,n){var r=this,i=e.split(/\033\[/),o=i.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);var a=i.map(function(e){return r.processChunk(e,t,n)});if(t&&t.json){var s=this.processChunkJson("");return s.content=o,s.clearLine=t.clearLine,a.unshift(s),t.remove_empty&&(a=a.filter(function(e){return!e.isEmpty()})),a}return a.unshift(o),a.join("")}},{key:"processChunkJson",value:function(e,t,r){var i=(t=void 0===t?{}:t).use_classes=void 0!==t.use_classes&&t.use_classes,o=t.key=i?"class":"color",a={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:t.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:function(){return!a.content}},s=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!s)return a;a.content=s[4];var l=s[2].split(";");if(""!==s[1]||"m"!==s[3]||!r)return a;for(;l.length>0;){var c=parseInt(l.shift());if(isNaN(c)||0===c)this.fg=this.bg=null,this.decorations=[];else if(1===c)this.decorations.push("bold");else if(2===c)this.decorations.push("dim");else if(3===c)this.decorations.push("italic");else if(4===c)this.decorations.push("underline");else if(5===c)this.decorations.push("blink");else if(7===c)this.decorations.push("reverse");else if(8===c)this.decorations.push("hidden");else if(9===c)this.decorations.push("strikethrough");else if(21===c)this.removeDecoration("bold");else if(22===c)this.removeDecoration("bold"),this.removeDecoration("dim");else if(23===c)this.removeDecoration("italic");else if(24===c)this.removeDecoration("underline");else if(25===c)this.removeDecoration("blink");else if(27===c)this.removeDecoration("reverse");else if(28===c)this.removeDecoration("hidden");else if(29===c)this.removeDecoration("strikethrough");else if(39===c)this.fg=null;else if(49===c)this.bg=null;else if(c>=30&&c<38)this.fg=n[0][c%10][o];else if(c>=90&&c<98)this.fg=n[1][c%10][o];else if(c>=40&&c<48)this.bg=n[0][c%10][o];else if(c>=100&&c<108)this.bg=n[1][c%10][o];else if(38===c||48===c){var u=38===c;if(l.length>=1){var d=l.shift();if("5"===d&&l.length>=1){var f=parseInt(l.shift());if(f>=0&&f<=255){if(i){var h=f>=16?"ansi-palette-"+f:n[f>7?1:0][f%8].class;u?this.fg=h:this.bg=h}else!this.PALETTE_COLORS&&this.setupPalette(),u?this.fg=this.PALETTE_COLORS[f]:this.bg=this.PALETTE_COLORS[f]}}else if("2"===d&&l.length>=3){var p=parseInt(l.shift()),m=parseInt(l.shift()),g=parseInt(l.shift());if(p>=0&&p<=255&&m>=0&&m<=255&&g>=0&&g<=255){var O=p+", "+m+", "+g;i?u?(this.fg="ansi-truecolor",this.fg_truecolor=O):(this.bg="ansi-truecolor",this.bg_truecolor=O):u?this.fg=O:this.bg=O}}}}}return null===this.fg&&null===this.bg&&0===this.decorations.length?a:(a.fg=this.fg,a.bg=this.bg,a.fg_truecolor=this.fg_truecolor,a.bg_truecolor=this.bg_truecolor,a.decorations=this.decorations,a.decoration=this.decorations.slice(-1).pop()||null,a.was_processed=!0,a)}},{key:"processChunk",value:function(e,t,r){var i=this;t=t||{};var o=this.processChunkJson(e,t,r),a=t.use_classes;if(o.decorations=o.decorations.filter(function(e){if("reverse"===e){!o.fg&&(o.fg=n[0][7][a?"class":"color"]),!o.bg&&(o.bg=n[0][0][a?"class":"color"]);var t=o.fg;o.fg=o.bg,o.bg=t;var r=o.fg_truecolor;return o.fg_truecolor=o.bg_truecolor,o.bg_truecolor=r,o.isInverted=!0,!1}return!0}),t.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var s=[],l=[],c=[],u={},d=function(e){var t=[],n=void 0;for(n in e)e.hasOwnProperty(n)&&t.push("data-"+n+'="'+i.escapeForHtml(e[n])+'"');return t.length>0?" "+t.join(" "):""};return(o.isInverted&&(u["ansi-is-inverted"]="true"),o.fg&&(a?(s.push(o.fg+"-fg"),null!==o.fg_truecolor&&(u["ansi-truecolor-fg"]=o.fg_truecolor,o.fg_truecolor=null)):s.push("color:rgb("+o.fg+")")),o.bg&&(a?(s.push(o.bg+"-bg"),null!==o.bg_truecolor&&(u["ansi-truecolor-bg"]=o.bg_truecolor,o.bg_truecolor=null)):s.push("background-color:rgb("+o.bg+")")),o.decorations.forEach(function(e){if(a){l.push("ansi-"+e);return}"bold"===e?l.push("font-weight:bold"):"dim"===e?l.push("opacity:0.5"):"italic"===e?l.push("font-style:italic"):"hidden"===e?l.push("visibility:hidden"):"strikethrough"===e?c.push("line-through"):c.push(e)}),c.length&&l.push("text-decoration:"+c.join(" ")),a)?'<span class="'+s.concat(l).join(" ")+'"'+d(u)+">"+o.content+"</span>":'<span style="'+s.concat(l).join(";")+'"'+d(u)+">"+o.content+"</span>"}},{key:"removeDecoration",value:function(e){var t=this.decorations.indexOf(e);t>=0&&this.decorations.splice(t,1)}}]),e}();e.exports=i},82422:function(e,t,n){"use strict";n.d(t,{Qp:function(){return v},tP:function(){return b}});var r=!1;
1if("undefined"!=typeof window){var i={get passive(){r=!0;return}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],s=!1,l=-1,c=void 0,u=void 0,d=void 0,f=function(e){return a.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))||!1})},h=function(e){var t=e||window.event;return!!f(t.target)||!!(t.touches.length>1)||(t.preventDefault&&t.preventDefault(),!1)},p=function(e){if(void 0===d){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);d=document.body.style.paddingRight,document.body.style.paddingRight=r+n+"px"}}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")},m=function(){void 0!==d&&(document.body.style.paddingRight=d,d=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)},g=function(){if(void 0!==u){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=u.position,document.body.style.top=u.top,document.body.style.left=u.left,window.scrollTo(t,e),u=void 0}},O=function(e,t){var n,r=e.targetTouches[0].clientY-l;if(f(e.target))return!1;if(t&&0===t.scrollTop&&r>0)return h(e);return(n=t)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&r<0?h(e):(e.stopPropagation(),!0)},v=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!a.some(function(t){return t.targetElement===e})&&(a=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(a),[{targetElement:e,options:t||{}}]),o?window.requestAnimationFrame(function(){if(void 0===u){u={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,r=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var e=r-window.innerHeight;e&&t>=r&&(document.body.style.top=-(t+e))})},300)}}):p(t),o&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&O(t,e)},!s&&(document.addEventListener("touchmove",h,r?{passive:!1}:void 0),s=!0)))},b=function(){o&&(a.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),s&&(document.removeEventListener("touchmove",h,r?{passive:!1}:void 0),s=!1),l=-1),o?g():m(),a=[]}},70519:function(e,t,n){"use strict";function r(e){var t=e&&e.pop?[]:{};for(var n in e)t[n]=e[n];return t}function i(e,t,n){t.split&&(t=t.split("."));for(var i=r(e),o=i,a=0,s=t.length;a<s;a++)o=o[t[a]]=a===s-1?n&&n.call?n(o[t[a]]):n:r(o[t[a]]);return i}n.d(t,{Z:function(){return i}})},54290:function(e){function t(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r}e.exports=t,e.exports.clsx=t},74339:function(e,t,n){var r=n("35641"),i=n("11256"),o=Object.hasOwnProperty,a=Object.create(null);
1for(var s in r)o.call(r,s)&&(a[r[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,i=t[2],t=t[1];n<3;n++){var s=2*n;a[n]=parseInt(t.slice(s,s+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,i=(t=t[1])[3];n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else if(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else if(!(t=e.match(/^(\w+)$/)))return null;else return"transparent"===t[1]?[0,0,0,0]:o.call(r,t[1])?((a=r[t[1]])[3]=1,a):null;for(n=0;n<3;n++)a[n]=c(a[n],0,255);return a[3]=c(a[3],0,1),a},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return a[e.slice(0,3)]}},62225:function(e,t){"use strict";t.addLeadingZeros=function(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}},8927:function(e,t,n){"use strict";Object.defineProperty(t,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n("69407")},64133:function(e,t){"use strict";t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};let n={}},23118:function(e,t,n){"use strict";t.formatters=void 0;var r=n("88493"),i=n("27086"),o=n("65952"),a=n("94626"),s=n("95173"),l=n("62225"),c=n("9698");let u={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function d(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+(0,l.addLeadingZeros)(o,2)}function f(e,t){return e%60==0?(e>0?"-":"+")+(0,l.addLeadingZeros)(Math.abs(e)/60,2):h(e,t)}function h(e,t=""){let n=Math.abs(e),r=(0,l.addLeadingZeros)(Math.trunc(n/60),2);return(e>0?"-":"+")+r+t+(0,l.addLeadingZeros)(n%60,2)}t.formatters={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){let i=(0,s.getWeekYear)(e,r),o=i>0?i:1-i;if("YY"===t){let e=o%100;return(0,l.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,l.addLeadingZeros)(o,t.length)},R:function(e,t){let n=(0,o.getISOWeekYear)(e);return(0,l.addLeadingZeros)(n,t.length)},u:function(e,t){let n=e.getFullYear();return(0,l.addLeadingZeros)(n,t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let i=(0,a.getWeek)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,l.addLeadingZeros)(i,t.length)},I:function(e,t,n){let r=(0,i.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){let i=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,l.addLeadingZeros)(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,l.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,l.addLeadingZeros)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return(0,l.addLeadingZeros)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let i=e.getHours();switch(r=12===i?u.noon:0===i?u.midnight:i/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let i=e.getHours();switch(r=i>=17?u.evening:i>=12?u.afternoon:i>=4?u.morning:u.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return f(r);case"XXXX":case"XX":return h(r);default:return h(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return f(r);case"xxxx":case"xx":return h(r);default:return h(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+d(r,":");default:return"GMT"+h(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+d(r,":");default:return"GMT"+h(r,":")}},t:function(e,t,n){let r=Math.trunc(e.getTime()/1e3);return(0,l.addLeadingZeros)(r,t.length)},T:function(e,t,n){let r=e.getTime();return(0,l.addLeadingZeros)(r,t.length)}}},9698:function(e,t,n){"use strict";t.lightFormatters=void 0;var r=n("62225");t.lightFormatters={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?i%100:i,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){let n=t.length,i=e.getMilliseconds();return(0,r.addLeadingZeros)(Math.trunc(i*Math.pow(10,n-3)),t.length)}}},29900:function(e,t){"use strict";t.longFormatters=void 0;let n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{let i;let o=e.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return n(e,t);switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",n(a,t)).replace("{{time}}",r(s,t))}}},59815:function(e,t){"use strict";t.getRoundingMethod=function(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}},98605:function(e,t,n){"use strict";t.getTimezoneOffsetInMilliseconds=function(e){let t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n("35498")},64998:function(e,t){"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),i.includes(e))throw RangeError(r)};let n=/^D+$/,r=/^Y+$/,i=["D","DD","YY","YYYY"]},98150:function(e,t,n){"use strict";t.add=function(e,t){let{years:n=0,months:s=0,weeks:l=0,days:c=0,hours:u=0,minutes:d=0,seconds:f=0}=t,h=(0,a.toDate)(e),p=s||n?(0,i.addMonths)(h,s+12*n):h,m=c||l?(0,r.addDays)(p,c+7*l):p;return(0,o.constructFrom)(e,m.getTime()+1e3*(f+60*(d+60*u)))};var r=n("69535"),i=n("80157"),o=n("23459"),a=n("35498")},94069:function(e,t,n){"use strict";t.addBusinessDays=function(e,t){let n=(0,s.toDate)(e),l=(0,a.isWeekend)(n);if(isNaN(t))return(0,r.constructFrom)(e,NaN);let c=n.getHours(),u=t<0?-1:1,d=Math.trunc(t/5);n.setDate(n.getDate()+7*d);let f=Math.abs(t%5);for(;f>0;)n.setDate(n.getDate()+u),!(0,a.isWeekend)(n)&&(f-=1);return l&&(0,a.isWeekend)(n)&&0!==t&&((0,i.isSaturday)(n)&&n.setDate(n.getDate()+(u<0?2:-1)),(0,o.isSunday)(n)&&n.setDate(n.getDate()+(u<0?1:-2))),n.setHours(c),n};var r=n("23459"),i=n("81783"),o=n("82732"),a=n("69739"),s=n("35498")},69535:function(e,t,n){"use strict";t.addDays=function(e,t){let n=(0,r.toDate)(e);return isNaN(t)?(0,i.constructFrom)(e,NaN):t?(n.setDate(n.getDate()+t),n):n};var r=n("35498"),i=n("23459")},51512:function(e,t,n){"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*i.millisecondsInHour)};var r=n("76381"),i=n("62696")},60991:function(e,t,n){"use strict";t.addISOWeekYears=function(e,t){return(0,i.setISOWeekYear)(e,(0,r.getISOWeekYear)(e)+t)};var r=n("65952"),i=n("71975")},76381:function(e,t,n){"use strict";t.addMilliseconds=function(e,t){let n=+(0,r.toDate)(e);return(0,i.constructFrom)(e,n+t)};var r=n("35498"),i=n("23459")},69826:function(e,t,n){"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*i.millisecondsInMinute)};var r=n("76381"),i=n("62696")},80157:function(e,t,n){"use strict";t.addMonths=function(e,t){let n=(0,r.toDate)(e);if(isNaN(t))return(0,i.constructFrom)(e,NaN);if(!t)return n;let o=n.getDate(),a=(0,i.constructFrom)(e,n.getTime());return(a.setMonth(n.getMonth()+t+1,0),o>=a.getDate())?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)};var r=n("35498"),i=n("23459")},30577:function(e,t,n){"use strict";t.addQuarters=function(e,t){return(0,r.addMonths)(e,3*t)};var r=n("80157")},7294:function(e,t,n){"use strict";t.addSeconds=function(e,t){return(0,r.addMilliseconds)(e,1e3*t)};var r=n("76381")},53246:function(e,t,n){"use strict";t.addWeeks=function(e,t){return(0,r.addDays)(e,7*t)};var r=n("69535")},96797:function(e,t,n){"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n("80157")},67609:function(e,t,n){"use strict";
1t.areIntervalsOverlapping=function(e,t,n){let[i,o]=[+(0,r.toDate)(e.start),+(0,r.toDate)(e.end)].sort((e,t)=>e-t),[a,s]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort((e,t)=>e-t);return(null==n?void 0:n.inclusive)?i<=s&&a<=o:i<s&&a<o};var r=n("35498")},77837:function(e,t,n){"use strict";t.clamp=function(e,t){return(0,i.min)([(0,r.max)([e,t.start]),t.end])};var r=n("83091"),i=n("50500")},51894:function(e,t,n){"use strict";t.closestIndexTo=function(e,t){let n,i;let o=(0,r.toDate)(e);if(isNaN(Number(o)))return NaN;let a=o.getTime();return t.forEach(function(e,t){let o=(0,r.toDate)(e);if(isNaN(Number(o))){n=NaN,i=NaN;return}let s=Math.abs(a-o.getTime());(null==n||s<i)&&(n=t,i=s)}),n};var r=n("35498")},98096:function(e,t,n){"use strict";t.closestTo=function(e,t){let n,o;let a=(0,i.toDate)(e);if(isNaN(Number(a)))return(0,r.constructFrom)(e,NaN);let s=a.getTime();return t.forEach(t=>{let a=(0,i.toDate)(t);if(isNaN(Number(a))){n=(0,r.constructFrom)(e,NaN),o=NaN;return}let l=Math.abs(s-a.getTime());(null==n||l<o)&&(n=a,o=l)}),n};var r=n("23459"),i=n("35498")},72484:function(e,t,n){"use strict";t.compareAsc=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getTime()-i.getTime();return o<0?-1:o>0?1:o};var r=n("35498")},91215:function(e,t,n){"use strict";t.compareDesc=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getTime()-i.getTime();return o>0?-1:o<0?1:o};var r=n("35498")},62696:function(e,t){"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0,t.daysInWeek=7;let n=t.daysInYear=365.2425,r=t.maxTime=864e13;t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4;let i=t.secondsInHour=3600;t.secondsInMinute=60;let o=t.secondsInDay=24*i;t.secondsInWeek=7*o;let a=t.secondsInYear=o*n,s=t.secondsInMonth=a/12;t.secondsInQuarter=3*s},23459:function(e,t){"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},69012:function(e,t,n){"use strict";t.constructNow=function(e){return(0,r.constructFrom)(e,Date.now())};var r=n("23459")},10887:function(e,t,n){"use strict";t.daysToWeeks=function(e){let t=Math.trunc(e/r.daysInWeek);return 0===t?0:t};var r=n("62696")},7548:function(e,t,n){"use strict";t.differenceInBusinessDays=function(e,t){let n=(0,l.toDate)(e),c=(0,l.toDate)(t);if(!(0,a.isValid)(n)||!(0,a.isValid)(c))return NaN;let u=(0,i.differenceInCalendarDays)(n,c),d=u<0?-1:1,f=Math.trunc(u/7),h=5*f;for(c=(0,r.addDays)(c,7*f);!(0,o.isSameDay)(n,c);)h+=(0,s.isWeekend)(c)?0:d,c=(0,r.addDays)(c,d);return 0===h?0:h};var r=n("69535"),i=n("79801"),o=n("72864"),a=n("58411"),s=n("69739"),l=n("35498")},79801:function(e,t,n){"use strict";t.differenceInCalendarDays=function(e,t){let n=(0,i.startOfDay)(e),a=(0,i.startOfDay)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n);return Math.round((s-(+a-(0,o.getTimezoneOffsetInMilliseconds)(a)))/r.millisecondsInDay)};var r=n("62696"),i=n("53887"),o=n("98605")},67592:function(e,t,n){"use strict";t.differenceInCalendarISOWeekYears=function(e,t){return(0,r.getISOWeekYear)(e)-(0,r.getISOWeekYear)(t)};var r=n("65952")},87627:function(e,t,n){"use strict";t.differenceInCalendarISOWeeks=function(e,t){let n=(0,i.startOfISOWeek)(e),a=(0,i.startOfISOWeek)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n);return Math.round((s-(+a-(0,o.getTimezoneOffsetInMilliseconds)(a)))/r.millisecondsInWeek)};var r=n("62696"),i=n("25931"),o=n("98605")},28412:function(e,t,n){"use strict";t.differenceInCalendarMonths=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getFullYear()-i.getFullYear();return 12*o+(n.getMonth()-i.getMonth())};var r=n("35498")},79586:function(e,t,n){"use strict";t.differenceInCalendarQuarters=function(e,t){let n=(0,i.toDate)(e),o=(0,i.toDate)(t),a=n.getFullYear()-o.getFullYear();return 4*a+((0,r.getQuarter)(n)-(0,r.getQuarter)(o))};var r=n("20429"),i=n("35498")},9431:function(e,t,n){"use strict";t.differenceInCalendarWeeks=function(e,t,n){let a=(0,i.startOfWeek)(e,n),s=(0,i.startOfWeek)(t,n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a);return Math.round((l-(+s-(0,o.getTimezoneOffsetInMilliseconds)(s)))/r.millisecondsInWeek)};var r=n("62696"),i=n("74031"),o=n("98605")},68833:function(e,t,n){"use strict";t.differenceInCalendarYears=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()-i.getFullYear()};var r=n("35498")},5269:function(e,t,n){"use strict";t.differenceInDays=function(e,t){let n=(0,i.toDate)(e),a=(0,i.toDate)(t),s=o(n,a),l=Math.abs((0,r.differenceInCalendarDays)(n,a));n.setDate(n.getDate()-s*l);let c=Number(o(n,a)===-s),u=s*(l-c);return 0===u?0:u};var r=n("79801"),i=n("35498");function o(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},7728:function(e,t,n){"use strict";t.differenceInHours=function(e,t,n){let a=(0,o.differenceInMilliseconds)(e,t)/i.millisecondsInHour;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(a)};var r=n("59815"),i=n("62696"),o=n("83234")},99031:function(e,t,n){"use strict";t.differenceInISOWeekYears=function(e,t){let n=(0,a.toDate)(e),s=(0,a.toDate)(t),l=(0,r.compareAsc)(n,s),c=Math.abs((0,i.differenceInCalendarISOWeekYears)(n,s));n=(0,o.subISOWeekYears)(n,l*c);let u=Number((0,r.compareAsc)(n,s)===-l),d=l*(c-u);return 0===d?0:d};var r=n("72484"),i=n("67592"),o=n("72945"),a=n("35498")},83234:function(e,t,n){"use strict";t.differenceInMilliseconds=function(e,t){return+(0,r.toDate)(e)-+(0,r.toDate)(t)};var r=n("35498")},68444:function(e,t,n){"use strict";t.differenceInMinutes=function(e,t,n){let a=(0,o.differenceInMilliseconds)(e,t)/i.millisecondsInMinute;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(a)};var r=n("59815"),i=n("62696"),o=n("83234")},42834:function(e,t,n){"use strict";t.differenceInMonths=function(e,t){let n;let s=(0,a.toDate)(e),l=(0,a.toDate)(t),c=(0,r.compareAsc)(s,l),u=Math.abs((0,i.differenceInCalendarMonths)(s,l));if(u<1)n=0;else{1===s.getMonth()&&s.getDate()>27&&s.setDate(30),s.setMonth(s.getMonth()-c*u);let t=(0,r.compareAsc)(s,l)===-c;(0,o.isLastDayOfMonth)((0,a.toDate)(e))&&1===u&&1===(0,r.compareAsc)(e,l)&&(t=!1),n=c*(u-Number(t))}return 0===n?0:n};var r=n("72484"),i=n("28412"),o=n("92068"),a=n("35498")},99997:function(e,t,n){"use strict";t.differenceInQuarters=function(e,t,n){let o=(0,i.differenceInMonths)(e,t)/3;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(o)};var r=n("59815"),i=n("42834")},65648:function(e,t,n){"use strict";t.differenceInSeconds=function(e,t,n){let o=(0,i.differenceInMilliseconds)(e,t)/1e3;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(o)};var r=n("59815"),i=n("83234")},9142:function(e,t,n){"use strict";t.differenceInWeeks=function(e,t,n){let o=(0,i.differenceInDays)(e,t)/7;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(o)};var r=n("59815"),i=n("5269")},77703:function(e,t,n){"use strict";t.differenceInYears=function(e,t){let n=(0,o.toDate)(e),a=(0,o.toDate)(t),s=(0,r.compareAsc)(n,a),l=Math.abs((0,i.differenceInCalendarYears)(n,a));n.setFullYear(1584),a.setFullYear(1584);let c=(0,r.compareAsc)(n,a)===-s,u=s*(l-+c);return 0===u?0:u};var r=n("72484"),i=n("68833"),o=n("35498")},73823:function(e,t,n){"use strict";t.eachDayOfInterval=function(e,t){let n=(0,r.toDate)(e.start),i=(0,r.toDate)(e.end),o=+n>+i,a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0);let l=(null==t?void 0:t.step)??1;if(!l)return[];l<0&&(l=-l,o=!o);let c=[];for(;+s<=a;)c.push((0,r.toDate)(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?c.reverse():c};var r=n("35498")},55638:function(e,t,n){"use strict";t.eachHourOfInterval=function(e,t){let n=(0,i.toDate)(e.start),o=(0,i.toDate)(e.end),a=+n>+o,s=a?+n:+o,l=a?o:n;l.setMinutes(0,0,0);let c=(null==t?void 0:t.step)??1;if(!c)return[];c<0&&(c=-c,a=!a);let u=[];for(;+l<=s;)u.push((0,i.toDate)(l)),l=(0,r.addHours)(l,c);return a?u.reverse():u};var r=n("51512"),i=n("35498")},80933:function(e,t,n){"use strict";t.eachMinuteOfInterval=function(e,t){let n=(0,i.startOfMinute)((0,o.toDate)(e.start)),a=(0,o.toDate)(e.end),s=+n>+a,l=s?+n:+a,c=s?a:n,u=(null==t?void 0:t.step)??1;if(!u)return[];u<0&&(u=-u,s=!s);let d=[];for(;+c<=l;)d.push((0,o.toDate)(c)),c=(0,r.addMinutes)(c,u);return s?d.reverse():d};var r=n("69826"),i=n("88342"),o=n("35498")},79820:function(e,t,n){"use strict";t.eachMonthOfInterval=function(e,t){let n=(0,r.toDate)(e.start),i=(0,r.toDate)(e.end),o=+n>+i,a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0),s.setDate(1);let l=(null==t?void 0:t.step)??1;if(!l)return[];l<0&&(l=-l,o=!o);let c=[];for(;+s<=a;)c.push((0,r.toDate)(s)),s.setMonth(s.getMonth()+l);return o?c.reverse():c};var r=n("35498")},5983:function(e,t,n){"use strict";t.eachQuarterOfInterval=function(e,t){let n=(0,o.toDate)(e.start),a=(0,o.toDate)(e.end),s=+n>+a,l=s?+(0,i.startOfQuarter)(n):+(0,i.startOfQuarter)(a),c=s?(0,i.startOfQuarter)(a):(0,i.startOfQuarter)(n),u=(null==t?void 0:t.step)??1;if(!u)return[];u<0&&(u=-u,s=!s);let d=[];for(;+c<=l;)d.push((0,o.toDate)(c)),c=(0,r.addQuarters)(c,u);return s?d.reverse():d};var r=n("30577"),i=n("22199"),o=n("35498")},46654:function(e,t,n){"use strict";t.eachWeekOfInterval=function(e,t){let n=(0,o.toDate)(e.start),a=(0,o.toDate)(e.end),s=+n>+a,l=s?(0,i.startOfWeek)(a,t):(0,i.startOfWeek)(n,t),c=s?(0,i.startOfWeek)(n,t):(0,i.startOfWeek)(a,t);l.setHours(15),c.setHours(15);let u=+c.getTime(),d=l,f=(null==t?void 0:t.step)??1;if(!f)return[];f<0&&(f=-f,s=!s);let h=[];for(;+d<=u;)d.setHours(0),h.push((0,o.toDate)(d)),(d=(0,r.addWeeks)(d,f)).setHours(15);return s?h.reverse():h};var r=n("53246"),i=n("74031"),o=n("35498")},23468:function(e,t,n){"use strict";t.eachWeekendOfInterval=function(e){let t=(0,r.eachDayOfInterval)(e),n=[],o=0;for(;o<t.length;){let e=t[o++];(0,i.isWeekend)(e)&&n.push(e)}return n};var r=n("73823"),i=n("69739")},74478:function(e,t,n){"use strict";t.eachWeekendOfMonth=function(e){let t=(0,o.startOfMonth)(e),n=(0,i.endOfMonth)(e);return(0,r.eachWeekendOfInterval)({start:t,end:n})};var r=n("23468"),i=n("90389"),o=n("58722")},68967:function(e,t,n){"use strict";t.eachWeekendOfYear=function(e){let t=(0,o.startOfYear)(e),n=(0,i.endOfYear)(e);return(0,r.eachWeekendOfInterval)({start:t,end:n})};var r=n("23468"),i=n("21855"),o=n("80417")},89205:function(e,t,n){"use strict";t.eachYearOfInterval=function(e,t){let n=(0,r.toDate)(e.start),i=(0,r.toDate)(e.end),o=+n>+i,a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0),s.setMonth(0,1);let l=(null==t?void 0:t.step)??1;if(!l)return[];l<0&&(l=-l,o=!o);let c=[];for(;+s<=a;)c.push((0,r.toDate)(s)),s.setFullYear(s.getFullYear()+l);return o?c.reverse():c};var r=n("35498")},90835:function(e,t,n){"use strict";t.endOfDay=function(e){let t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n("35498")},82505:function(e,t,n){"use strict";t.endOfDecade=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(9+10*Math.floor(n/10),11,31),t.setHours(23,59,59,999),t};var r=n("35498")},74311:function(e,t,n){"use strict";t.endOfHour=function(e){let t=(0,r.toDate)(e);return t.setMinutes(59,59,999),t};var r=n("35498")},71695:function(e,t,n){"use strict";t.endOfISOWeek=function(e){return(0,r.endOfWeek)(e,{weekStartsOn:1}
1)};var r=n("22189")},72133:function(e,t,n){"use strict";t.endOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);let a=(0,i.startOfISOWeek)(n);return a.setMilliseconds(a.getMilliseconds()-1),a};var r=n("65952"),i=n("25931"),o=n("23459")},76995:function(e,t,n){"use strict";t.endOfMinute=function(e){let t=(0,r.toDate)(e);return t.setSeconds(59,999),t};var r=n("35498")},90389:function(e,t,n){"use strict";t.endOfMonth=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n("35498")},58413:function(e,t,n){"use strict";t.endOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(23,59,59,999),t};var r=n("35498")},49274:function(e,t,n){"use strict";t.endOfSecond=function(e){let t=(0,r.toDate)(e);return t.setMilliseconds(999),t};var r=n("35498")},69965:function(e,t,n){"use strict";t.endOfToday=function(){return(0,r.endOfDay)(Date.now())};var r=n("90835")},82214:function(e,t){"use strict";t.endOfTomorrow=function(){let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r+1),i.setHours(23,59,59,999),i}},22189:function(e,t,n){"use strict";t.endOfWeek=function(e,t){var n,o,a,s;let l=(0,i.getDefaultOptions)(),c=(null==t?void 0:t.weekStartsOn)??(null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)??l.weekStartsOn??(null===(s=l.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)??0,u=(0,r.toDate)(e),d=u.getDay();return u.setDate(u.getDate()+((d<c?-7:0)+6-(d-c))),u.setHours(23,59,59,999),u};var r=n("35498"),i=n("64133")},21855:function(e,t,n){"use strict";t.endOfYear=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t};var r=n("35498")},49540:function(e,t){"use strict";t.endOfYesterday=function(){let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r-1),i.setHours(23,59,59,999),i}},54370:function(e,t,n){"use strict";t.format=t.formatDate=function(e,t,n){var m,g,O,v,b,y,x,w;let S=(0,i.getDefaultOptions)(),k=(null==n?void 0:n.locale)??S.locale??r.defaultLocale,P=(null==n?void 0:n.firstWeekContainsDate)??(null==n?void 0:null===(g=n.locale)||void 0===g?void 0:null===(m=g.options)||void 0===m?void 0:m.firstWeekContainsDate)??S.firstWeekContainsDate??(null===(v=S.locale)||void 0===v?void 0:null===(O=v.options)||void 0===O?void 0:O.firstWeekContainsDate)??1,M=(null==n?void 0:n.weekStartsOn)??(null==n?void 0:null===(y=n.locale)||void 0===y?void 0:null===(b=y.options)||void 0===b?void 0:b.weekStartsOn)??S.weekStartsOn??(null===(w=S.locale)||void 0===w?void 0:null===(x=w.options)||void 0===x?void 0:x.weekStartsOn)??0,j=(0,c.toDate)(e);if(!(0,l.isValid)(j))throw RangeError("Invalid time value");let C=t.match(d).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,a.longFormatters[t])(e,k.formatLong):e}).join("").match(u).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(f);return t?t[1].replace(h,"'"):e}(e)};if(o.formatters[t])return{isToken:!0,value:e};if(t.match(p))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});k.localize.preprocessor&&(C=k.localize.preprocessor(j,C));let _={firstWeekContainsDate:P,weekStartsOn:M,locale:k};return C.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,s.isProtectedWeekYearToken)(i)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,s.isProtectedDayOfYearToken)(i))&&(0,s.warnOrThrowProtectedError)(i,t,String(e)),(0,o.formatters[i[0]])(j,i,k.localize,_)}).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return a.longFormatters}});var r=n("8927"),i=n("64133"),o=n("23118"),a=n("29900"),s=n("64998"),l=n("58411"),c=n("35498");let u=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f=/^'([^]*?)'?$/,h=/''/g,p=/[a-zA-Z]/},86538:function(e,t,n){"use strict";t.formatDistance=function(e,t,n){let d,f,h;let p=(0,c.getDefaultOptions)(),m=(null==n?void 0:n.locale)??p.locale??l.defaultLocale,g=(0,r.compareAsc)(e,t);if(isNaN(g))throw RangeError("Invalid time value");let O=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:g});g>0?(d=(0,s.toDate)(t),f=(0,s.toDate)(e)):(d=(0,s.toDate)(e),f=(0,s.toDate)(t));let v=(0,a.differenceInSeconds)(f,d),b=Math.round((v-((0,u.getTimezoneOffsetInMilliseconds)(f)-(0,u.getTimezoneOffsetInMilliseconds)(d))/1e3)/60);if(b<2){if(null==n?void 0:n.includeSeconds){if(v<5)return m.formatDistance("lessThanXSeconds",5,O);if(v<10)return m.formatDistance("lessThanXSeconds",10,O);else if(v<20)return m.formatDistance("lessThanXSeconds",20,O);else if(v<40)return m.formatDistance("halfAMinute",0,O);else if(v<60)return m.formatDistance("lessThanXMinutes",1,O);else return m.formatDistance("xMinutes",1,O)}return 0===b?m.formatDistance("lessThanXMinutes",1,O):m.formatDistance("xMinutes",b,O)}if(b<45)return m.formatDistance("xMinutes",b,O);if(b<90)return m.formatDistance("aboutXHours",1,O);else if(b<i.minutesInDay){let e=Math.round(b/60);return m.formatDistance("aboutXHours",e,O)}else if(b<2520)return m.formatDistance("xDays",1,O);else if(b<i.minutesInMonth){let e=Math.round(b/i.minutesInDay);return m.formatDistance("xDays",e,O)}else if(b<2*i.minutesInMonth)return h=Math.round(b/i.minutesInMonth),m.formatDistance("aboutXMonths",h,O);if((h=(0,o.differenceInMonths)(f,d))<12){let e=Math.round(b/i.minutesInMonth);return m.formatDistance("xMonths",e,O)}{let e=h%12,t=Math.trunc(h/12);return e<3?m.formatDistance("aboutXYears",t,O):e<9?m.formatDistance("overXYears",t,O):m.formatDistance("almostXYears",t+1,O)}};var r=n("72484"),i=n("62696"),o=n("42834"),a=n("65648"),s=n("35498"),l=n("8927"),c=n("64133"),u=n("98605")},56423:function(e,t,n){"use strict";t.formatDistanceStrict=function(e,t,n){let u,d,f;let h=(0,i.getDefaultOptions)(),p=(null==n?void 0:n.locale)??h.locale??r.defaultLocale,m=(0,s.c
1ompareAsc)(e,t);if(isNaN(m))throw RangeError("Invalid time value");let g=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:m});m>0?(u=(0,c.toDate)(t),d=(0,c.toDate)(e)):(u=(0,c.toDate)(e),d=(0,c.toDate)(t));let O=(0,o.getRoundingMethod)((null==n?void 0:n.roundingMethod)??"round"),v=d.getTime()-u.getTime(),b=v/l.millisecondsInMinute,y=(v-((0,a.getTimezoneOffsetInMilliseconds)(d)-(0,a.getTimezoneOffsetInMilliseconds)(u)))/l.millisecondsInMinute,x=null==n?void 0:n.unit;if("second"===(f=x?x:b<1?"second":b<60?"minute":b<l.minutesInDay?"hour":y<l.minutesInMonth?"day":y<l.minutesInYear?"month":"year")){let e=O(v/1e3);return p.formatDistance("xSeconds",e,g)}if("minute"===f){let e=O(b);return p.formatDistance("xMinutes",e,g)}if("hour"===f){let e=O(b/60);return p.formatDistance("xHours",e,g)}else if("day"===f){let e=O(y/l.minutesInDay);return p.formatDistance("xDays",e,g)}else if("month"===f){let e=O(y/l.minutesInMonth);return 12===e&&"month"!==x?p.formatDistance("xYears",1,g):p.formatDistance("xMonths",e,g)}else{let e=O(y/l.minutesInYear);return p.formatDistance("xYears",e,g)}};var r=n("8927"),i=n("64133"),o=n("59815"),a=n("98605"),s=n("72484"),l=n("62696"),c=n("35498")},25430:function(e,t,n){"use strict";t.formatDistanceToNow=function(e,t){return(0,i.formatDistance)(e,(0,r.constructNow)(e),t)};var r=n("69012"),i=n("86538")},3908:function(e,t,n){"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,r.formatDistanceStrict)(e,(0,i.constructNow)(e),t)};var r=n("56423"),i=n("69012")},14255:function(e,t,n){"use strict";t.formatDuration=function(e,t){let n=(0,i.getDefaultOptions)(),a=(null==t?void 0:t.locale)??n.locale??r.defaultLocale,s=(null==t?void 0:t.format)??o,l=(null==t?void 0:t.zero)??!1,c=(null==t?void 0:t.delimiter)??" ";return a.formatDistance?s.reduce((t,n)=>{let r=`x${n.replace(/(^.)/,e=>e.toUpperCase())}`,i=e[n];return void 0!==i&&(l||e[n])?t.concat(a.formatDistance(r,i)):t},[]).join(c):""};var r=n("8927"),i=n("64133");let o=["years","months","weeks","days","hours","minutes","seconds"]},65078:function(e,t,n){"use strict";t.formatISO=function(e,t){let n=(0,r.toDate)(e);if(isNaN(n.getTime()))throw RangeError("Invalid time value");let o=(null==t?void 0:t.format)??"extended",a=(null==t?void 0:t.representation)??"complete",s="",l="",c="extended"===o?"-":"";if("time"!==a){let e=(0,i.addLeadingZeros)(n.getDate(),2),t=(0,i.addLeadingZeros)(n.getMonth()+1,2),r=(0,i.addLeadingZeros)(n.getFullYear(),4);s=`${r}${c}${t}${c}${e}`}if("date"!==a){let e=n.getTimezoneOffset();if(0!==e){let t=Math.abs(e),n=(0,i.addLeadingZeros)(Math.trunc(t/60),2),r=(0,i.addLeadingZeros)(t%60,2);l=`${e<0?"+":"-"}${n}:${r}`}else l="Z";let t=(0,i.addLeadingZeros)(n.getHours(),2),r=(0,i.addLeadingZeros)(n.getMinutes(),2),a=(0,i.addLeadingZeros)(n.getSeconds(),2),c=""===s?"":"T",u=[t,r,a].join("extended"===o?":":"");s=`${s}${c}${u}${l}`}return s};var r=n("35498"),i=n("62225")},99099:function(e,t,n){"use strict";t.formatISO9075=function(e,t){let n=(0,i.toDate)(e);if(!(0,r.isValid)(n))throw RangeError("Invalid time value");let a=(null==t?void 0:t.format)??"extended",s=(null==t?void 0:t.representation)??"complete",l="",c="extended"===a?"-":"",u="extended"===a?":":"";if("time"!==s){let e=(0,o.addLeadingZeros)(n.getDate(),2),t=(0,o.addLeadingZeros)(n.getMonth()+1,2),r=(0,o.addLeadingZeros)(n.getFullYear(),4);l=`${r}${c}${t}${c}${e}`}if("date"!==s){let e=(0,o.addLeadingZeros)(n.getHours(),2),t=(0,o.addLeadingZeros)(n.getMinutes(),2),r=(0,o.addLeadingZeros)(n.getSeconds(),2),i=""===l?"":" ";l=`${l}${i}${e}${u}${t}${u}${r}`}return l};var r=n("58411"),i=n("35498"),o=n("62225")},10378:function(e,t){"use strict";t.formatISODuration=function(e){let{years:t=0,months:n=0,days:r=0,hours:i=0,minutes:o=0,seconds:a=0}=e;return`P${t}Y${n}M${r}DT${i}H${o}M${a}S`}},65118:function(e,t,n){"use strict";t.formatRFC3339=function(e,t){let n=(0,i.toDate)(e);if(!(0,r.isValid)(n))throw RangeError("Invalid time value");let a=(null==t?void 0:t.fractionDigits)??0,s=(0,o.addLeadingZeros)(n.getDate(),2),l=(0,o.addLeadingZeros)(n.getMonth()+1,2),c=n.getFullYear(),u=(0,o.addLeadingZeros)(n.getHours(),2),d=(0,o.addLeadingZeros)(n.getMinutes(),2),f=(0,o.addLeadingZeros)(n.get
1Seconds(),2),h="";if(a>0){let e=n.getMilliseconds();h="."+(0,o.addLeadingZeros)(Math.trunc(e*Math.pow(10,a-3)),a)}let p="",m=n.getTimezoneOffset();if(0!==m){let e=Math.abs(m),t=(0,o.addLeadingZeros)(Math.trunc(e/60),2),n=(0,o.addLeadingZeros)(e%60,2);p=`${m<0?"+":"-"}${t}:${n}`}else p="Z";return`${c}-${l}-${s}T${u}:${d}:${f}${h}${p}`};var r=n("58411"),i=n("35498"),o=n("62225")},55581:function(e,t,n){"use strict";t.formatRFC7231=function(e){let t=(0,i.toDate)(e);if(!(0,r.isValid)(t))throw RangeError("Invalid time value");let n=a[t.getUTCDay()],l=(0,o.addLeadingZeros)(t.getUTCDate(),2),c=s[t.getUTCMonth()],u=t.getUTCFullYear(),d=(0,o.addLeadingZeros)(t.getUTCHours(),2),f=(0,o.addLeadingZeros)(t.getUTCMinutes(),2),h=(0,o.addLeadingZeros)(t.getUTCSeconds(),2);return`${n}, ${l} ${c} ${u} ${d}:${f}:${h} GMT`};var r=n("58411"),i=n("35498"),o=n("62225");let a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},36389:function(e,t,n){"use strict";t.formatRelative=function(e,t,n){var l,c,u,d;let f;let h=(0,o.toDate)(e),p=(0,o.toDate)(t),m=(0,s.getDefaultOptions)(),g=(null==n?void 0:n.locale)??m.locale??a.defaultLocale,O=(null==n?void 0:n.weekStartsOn)??(null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(l=c.options)||void 0===l?void 0:l.weekStartsOn)??m.weekStartsOn??(null===(d=m.locale)||void 0===d?void 0:null===(u=d.options)||void 0===u?void 0:u.weekStartsOn)??0,v=(0,r.differenceInCalendarDays)(h,p);if(isNaN(v))throw RangeError("Invalid time value");f=v<-6?"other":v<-1?"lastWeek":v<0?"yesterday":v<1?"today":v<2?"tomorrow":v<7?"nextWeek":"other";let b=g.formatRelative(f,h,p,{locale:g,weekStartsOn:O});return(0,i.format)(h,b,{locale:g,weekStartsOn:O})};var r=n("79801"),i=n("54370"),o=n("35498"),a=n("8927"),s=n("64133")},34029:function(e,t,n){"use strict";t.fromUnixTime=function(e){return(0,r.toDate)(1e3*e)};var r=n("35498")},71348:function(e,t,n){"use strict";t.getDate=function(e){return(0,r.toDate)(e).getDate()};var r=n("35498")},27491:function(e,t,n){"use strict";t.getDay=function(e){return(0,r.toDate)(e).getDay()};var r=n("35498")},88493:function(e,t,n){"use strict";t.getDayOfYear=function(e){let t=(0,o.toDate)(e),n=(0,r.differenceInCalendarDays)(t,(0,i.startOfYear)(t));return n+1};var r=n("79801"),i=n("80417"),o=n("35498")},23217:function(e,t,n){"use strict";t.getDaysInMonth=function(e){let t=(0,r.toDate)(e),n=t.getFullYear(),o=t.getMonth(),a=(0,i.constructFrom)(e,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()};var r=n("35498"),i=n("23459")},54766:function(e,t,n){"use strict";t.getDaysInYear=function(e){let t=(0,i.toDate)(e);return"Invalid Date"===String(new Date(t))?NaN:(0,r.isLeapYear)(t)?366:365};var r=n("81394"),i=n("35498")},94365:function(e,t,n){"use strict";t.getDecade=function(e){return 10*Math.floor((0,r.toDate)(e).getFullYear()/10)};var r=n("35498")},42046:function(e,t,n){"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n("64133")},95353:function(e,t,n){"use strict";t.getHours=function(e){return(0,r.toDate)(e).getHours()};var r=n("35498")},26696:function(e,t,n){"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();return 0===t&&(t=7),t};var r=n("35498")},27086:function(e,t,n){"use strict";t.getISOWeek=function(e){let t=(0,a.toDate)(e);return Math.round((+(0,i.startOfISOWeek)(t)-+(0,o.startOfISOWeekYear)(t))/r.millisecondsInWeek)+1};var r=n("62696"),i=n("25931"),o=n("84795"),a=n("35498")},65952:function(e,t,n){"use strict";t.getISOWeekYear=function(e){let t=(0,o.toDate)(e),n=t.getFullYear(),a=(0,r.constructFrom)(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let s=(0,i.startOfISOWeek)(a),l=(0,r.constructFrom)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);let c=(0,i.startOfISOWeek)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n("23459"),i=n("25931"),o=n("35498")},2472:function(e,t,n){"use strict";t.getISOWeeksInYear=function(e){let t=(0,o.startOfISOWeekYear)(e);return Math.round((+(0,o.startOfISOWeekYear)((0,r.addWeeks)(t,60))-+t)/i.millisecondsInWeek)};var r=n("53246"),i=n("62696"),o=n("84795")},9688:function(e,t,n){"use strict";t.getMilliseconds=function(e){return(0,r.toDate)(e).getMilliseconds()};var r=n("35498")},34486:function(e,t,n){"use strict";t.getMinutes=function(e){return(0,r.toDate)(e).getMinutes()};var r=n("35498")},5518:function(e,t,n){"use strict";t.getMonth=function(e){return(0,r.toDate)(e).getMonth()};var r=n("35498")},92167:function(e,t,n){"use strict";t.getOverlappingDaysInIntervals=function(e,t){let[n,a]=[+(0,o.toDate)(e.start),+(0,o.toDate)(e.end)].sort((e,t)=>
1e-t),[s,l]=[+(0,o.toDate)(t.start),+(0,o.toDate)(t.end)].sort((e,t)=>e-t);if(!(n<l&&s<a))return 0;let c=s<n?n:s,u=c-(0,r.getTimezoneOffsetInMilliseconds)(c),d=l>a?a:l;return Math.ceil((d-(0,r.getTimezoneOffsetInMilliseconds)(d)-u)/i.millisecondsInDay)};var r=n("98605"),i=n("62696"),o=n("35498")},20429:function(e,t,n){"use strict";t.getQuarter=function(e){return Math.trunc((0,r.toDate)(e).getMonth()/3)+1};var r=n("35498")},62613:function(e,t,n){"use strict";t.getSeconds=function(e){return(0,r.toDate)(e).getSeconds()};var r=n("35498")},72447:function(e,t,n){"use strict";t.getTime=function(e){return(0,r.toDate)(e).getTime()};var r=n("35498")},96268:function(e,t,n){"use strict";t.getUnixTime=function(e){return Math.trunc(+(0,r.toDate)(e)/1e3)};var r=n("35498")},94626:function(e,t,n){"use strict";t.getWeek=function(e,t){let n=(0,a.toDate)(e);return Math.round((+(0,i.startOfWeek)(n,t)-+(0,o.startOfWeekYear)(n,t))/r.millisecondsInWeek)+1};var r=n("62696"),i=n("74031"),o=n("96074"),a=n("35498")},93710:function(e,t,n){"use strict";t.getWeekOfMonth=function(e,t){var n,s,l,c;let u=(0,a.getDefaultOptions)(),d=(null==t?void 0:t.weekStartsOn)??(null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(n=s.options)||void 0===n?void 0:n.weekStartsOn)??u.weekStartsOn??(null===(c=u.locale)||void 0===c?void 0:null===(l=c.options)||void 0===l?void 0:l.weekStartsOn)??0,f=(0,r.getDate)(e);if(isNaN(f))return NaN;let h=d-(0,i.getDay)((0,o.startOfMonth)(e));return h<=0&&(h+=7),Math.ceil((f-h)/7)+1};var r=n("71348"),i=n("27491"),o=n("58722"),a=n("64133")},95173:function(e,t,n){"use strict";t.getWeekYear=function(e,t){var n,s,l,c;let u=(0,o.toDate)(e),d=u.getFullYear(),f=(0,a.getDefaultOptions)(),h=(null==t?void 0:t.firstWeekContainsDate)??(null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(n=s.options)||void 0===n?void 0:n.firstWeekContainsDate)??f.firstWeekContainsDate??(null===(c=f.locale)||void 0===c?void 0:null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)??1,p=(0,r.constructFrom)(e,0);p.setFullYear(d+1,0,h),p.setHours(0,0,0,0);let m=(0,i.startOfWeek)(p,t),g=(0,r.constructFrom)(e,0);g.setFullYear(d,0,h),g.setHours(0,0,0,0);let O=(0,i.startOfWeek)(g,t);return u.getTime()>=m.getTime()?d+1:u.getTime()>=O.getTime()?d:d-1};var r=n("23459"),i=n("74031"),o=n("35498"),a=n("64133")},68888:function(e,t,n){"use strict";t.getWeeksInMonth=function(e,t){return(0,r.differenceInCalendarWeeks)((0,i.lastDayOfMonth)(e),(0,o.startOfMonth)(e),t)+1};var r=n("9431"),i=n("71092"),o=n("58722")},97444:function(e,t,n){"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n("35498")},71072:function(e,t,n){"use strict";t.hoursToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInHour)};var r=n("62696")},26873:function(e,t,n){"use strict";t.hoursToMinutes=function(e){return Math.trunc(e*r.minutesInHour)};var r=n("62696")},69582:function(e,t,n){"use strict";t.hoursToSeconds=function(e){return Math.trunc(e*r.secondsInHour)};var r=n("62696")},29330:function(e,t,n){"use strict";var r=n("98150");Object.keys(r).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==r[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n("94069");
1Object.keys(i).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==i[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n("69535");Object.keys(o).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==o[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n("51512");Object.keys(a).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==a[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n("60991");Object.keys(s).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==s[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n("76381");Object.keys(l).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==l[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var c=n("69826");Object.keys(c).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==c[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var u=n("80157");Object.keys(u).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==u[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var d=n("30577");Object.keys(d).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==d[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var f=n("7294");Object.keys(f).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==f[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var h=n("53246");Object.keys(h).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==h[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var p=n("96797");Object.keys(p).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==p[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var m=n("67609");Object.keys(m).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==m[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var g=n("77837");Object.keys(g).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==g[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var O=n("51894");Object.keys(O).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==O[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}})});var v=n("98096");Object.keys(v).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==v[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var b=n("72484");Object.keys(b).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==b[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var y=n("91215");Object.keys(y).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==y[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var x=n("23459");Object.keys(x).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==x[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}})});var w=n("69012");
1Object.keys(w).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==w[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var S=n("10887");Object.keys(S).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==S[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}})});var k=n("7548");Object.keys(k).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==k[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}})});var P=n("79801");Object.keys(P).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==P[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return P[e]}})});var M=n("67592");Object.keys(M).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==M[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}})});var j=n("87627");Object.keys(j).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==j[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}})});var C=n("28412");Object.keys(C).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==C[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}})});var _=n("79586");Object.keys(_).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==_[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var T=n("9431");Object.keys(T).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==T[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})});var D=n("68833");Object.keys(D).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==D[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}})});var E=n("5269");
1Object.keys(E).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==E[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var Q=n("7728");Object.keys(Q).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==Q[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}})});var $=n("99031");Object.keys($).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==$[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}})});var R=n("83234");Object.keys(R).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==R[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}})});var Z=n("68444");Object.keys(Z).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==Z[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}})});var I=n("42834");Object.keys(I).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==I[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}})});var A=n("99997");Object.keys(A).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==A[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}})});var N=n("65648");Object.keys(N).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==N[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return N[e]}})});var L=n("9142");Object.keys(L).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==L[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}})});var z=n("77703");Object.keys(z).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==z[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return z[e]}})});var F=n("73823");Object.keys(F).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==F[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}})});var V=n("55638");Object.keys(V).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==V[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}})});var W=n("80933");Object.keys(W).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==W[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return W[e]}})});var Y=n("79820");Object.keys(Y).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==Y[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Y[e]}})});var X=n("5983");Object.keys(X).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==X[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}})});var B=n("46654");Object.keys(B).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==B[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}})});var q=n("23468");Object.keys(q).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==q[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}})});var U=n("74478");Object.keys(U).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==U[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return U[e]}})});var H=n("68967");Object.keys(H).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==H[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}})});var G=n("89205");Object.keys(G).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==G[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return G[e]}})});var J=n("90835");Object.keys(J).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==J[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}})});var K=n("82505");Object.keys(K).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==K[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return K[e]}})});var ee=n("74311");Object.keys(ee).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ee[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ee[e]}})});var et=n("71695");Object.keys(et).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==et[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return et[e]}})});var en=n("72133");
1Object.keys(en).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==en[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return en[e]}})});var er=n("76995");Object.keys(er).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==er[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return er[e]}})});var ei=n("90389");Object.keys(ei).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ei[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ei[e]}})});var eo=n("58413");Object.keys(eo).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eo[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eo[e]}})});var ea=n("49274");Object.keys(ea).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ea[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ea[e]}})});var es=n("69965");Object.keys(es).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==es[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return es[e]}})});var el=n("82214");Object.keys(el).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==el[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return el[e]}})});var ec=n("22189");Object.keys(ec).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ec[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ec[e]}})});var eu=n("21855");Object.keys(eu).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eu[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eu[e]}})});var ed=n("49540");Object.keys(ed).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ed[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ed[e]}})});var ef=n("54370");Object.keys(ef).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ef[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ef[e]}})});var eh=n("86538");Object.keys(eh).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eh[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eh[e]}})});var ep=n("56423");Object.keys(ep).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ep[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ep[e]}})});var em=n("25430");Object.keys(em).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==em[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return em[e]}})});var eg=n("3908");Object.keys(eg).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eg[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eg[e]}})});var eO=n("14255");Object.keys(eO).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eO[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eO[e]}})});var ev=n("65078");Object.keys(ev).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ev[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ev[e]}})});var eb=n("99099");Object.keys(eb).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eb[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eb[e]}})});var ey=n("10378");Object.keys(ey).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ey[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ey[e]}})});var ex=n("65118");
1Object.keys(ex).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ex[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ex[e]}})});var ew=n("55581");Object.keys(ew).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ew[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ew[e]}})});var eS=n("36389");Object.keys(eS).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eS[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eS[e]}})});var ek=n("34029");Object.keys(ek).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ek[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ek[e]}})});var eP=n("71348");Object.keys(eP).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eP[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eP[e]}})});var eM=n("27491");Object.keys(eM).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eM[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eM[e]}})});var ej=n("88493");Object.keys(ej).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ej[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ej[e]}})});var eC=n("23217");Object.keys(eC).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eC[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eC[e]}})});var e_=n("54766");Object.keys(e_).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e_[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e_[e]}})});var eT=n("94365");Object.keys(eT).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eT[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eT[e]}})});var eD=n("42046");Object.keys(eD).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eD[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eD[e]}})});var eE=n("95353");Object.keys(eE).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eE[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eE[e]}})});var eQ=n("26696");Object.keys(eQ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eQ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eQ[e]}})});var e$=n("27086");Object.keys(e$).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e$[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e$[e]}})});var eR=n("65952");Object.keys(eR).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eR[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eR[e]}})});var eZ=n("2472");Object.keys(eZ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eZ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eZ[e]}})});var eI=n("9688");
1Object.keys(eI).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eI[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eI[e]}})});var eA=n("34486");Object.keys(eA).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eA[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eA[e]}})});var eN=n("5518");Object.keys(eN).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eN[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eN[e]}})});var eL=n("92167");Object.keys(eL).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eL[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eL[e]}})});var ez=n("20429");Object.keys(ez).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ez[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ez[e]}})});var eF=n("62613");Object.keys(eF).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eF[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eF[e]}})});var eV=n("72447");Object.keys(eV).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eV[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eV[e]}})});var eW=n("96268");Object.keys(eW).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eW[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eW[e]}})});var eY=n("94626");Object.keys(eY).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eY[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eY[e]}})});var eX=n("93710");Object.keys(eX).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eX[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eX[e]}})});var eB=n("95173");
1Object.keys(eB).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eB[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eB[e]}})});var eq=n("68888");Object.keys(eq).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eq[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eq[e]}})});var eU=n("97444");Object.keys(eU).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eU[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eU[e]}})});var eH=n("71072");Object.keys(eH).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eH[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eH[e]}})});var eG=n("26873");Object.keys(eG).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eG[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eG[e]}})});var eJ=n("69582");Object.keys(eJ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eJ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eJ[e]}})});var eK=n("52365");Object.keys(eK).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==eK[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return eK[e]}})});var e0=n("44671");Object.keys(e0).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e0[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e0[e]}})});var e1=n("75572");Object.keys(e1).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e1[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e1[e]}})});var e2=n("94190");Object.keys(e2).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e2[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e2[e]}})});var e5=n("43191");Object.keys(e5).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e5[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e5[e]}})});var e3=n("96820");Object.keys(e3).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e3[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e3[e]}})});var e4=n("12827");Object.keys(e4).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e4[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e4[e]}})});var e6=n("2475");Object.keys(e6).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e6[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e6[e]}})});var e9=n("58220");Object.keys(e9).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e9[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e9[e]}})});var e8=n("13714");Object.keys(e8).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e8[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e8[e]}})});var e7=n("94411");Object.keys(e7).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==e7[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return e7[e]}})});var te=n("70603");Object.keys(te).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==te[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return te[e]}})});var tt=n("92068");Object.keys(tt).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tt[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tt[e]}})});var tn=n("81394");Object.keys(tn).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tn[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tn[e]}})});var tr=n("44048");Object.keys(tr).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tr[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tr[e]}})});var ti=n("22850");Object.keys(ti).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ti[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ti[e]}})});var to=n("22793");
1Object.keys(to).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==to[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return to[e]}})});var ta=n("72864");Object.keys(ta).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ta[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ta[e]}})});var ts=n("64363");Object.keys(ts).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ts[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ts[e]}})});var tl=n("43345");Object.keys(tl).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tl[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tl[e]}})});var tc=n("85313");Object.keys(tc).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tc[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tc[e]}})});var tu=n("42548");Object.keys(tu).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tu[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tu[e]}})});var td=n("39331");Object.keys(td).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==td[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return td[e]}})});var tf=n("86879");Object.keys(tf).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tf[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tf[e]}})});var th=n("86899");Object.keys(th).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==th[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return th[e]}})});var tp=n("36237");Object.keys(tp).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tp[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tp[e]}})});var tm=n("75776");Object.keys(tm).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tm[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tm[e]}})});var tg=n("81783");Object.keys(tg).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tg[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tg[e]}})});var tO=n("82732");Object.keys(tO).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tO[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tO[e]}})});var tv=n("30082");Object.keys(tv).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tv[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tv[e]}})});var tb=n("87636");Object.keys(tb).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tb[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tb[e]}})});var ty=n("66316");Object.keys(ty).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ty[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ty[e]}})});var tx=n("34151");Object.keys(tx).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tx[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tx[e]}})});var tw=n("55840");Object.keys(tw).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tw[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tw[e]}})});var tS=n("20433");Object.keys(tS).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tS[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tS[e]}})});var tk=n("34494");Object.keys(tk).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tk[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tk[e]}})});var tP=n("41418");Object.keys(tP).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tP[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tP[e]}})});var tM=n("73293");Object.keys(tM).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tM[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tM[e]}})});var tj=n("53388");
1Object.keys(tj).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tj[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tj[e]}})});var tC=n("4107");Object.keys(tC).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tC[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tC[e]}})});var t_=n("72764");Object.keys(t_).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t_[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t_[e]}})});var tT=n("58411");Object.keys(tT).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tT[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tT[e]}})});var tD=n("75498");Object.keys(tD).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tD[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tD[e]}})});var tE=n("69739");Object.keys(tE).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tE[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tE[e]}})});var tQ=n("10853");
1Object.keys(tQ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tQ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tQ[e]}})});var t$=n("33561");Object.keys(t$).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t$[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t$[e]}})});var tR=n("5934");Object.keys(tR).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tR[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tR[e]}})});var tZ=n("20544");Object.keys(tZ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tZ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tZ[e]}})});var tI=n("69022");Object.keys(tI).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tI[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tI[e]}})});var tA=n("71092");Object.keys(tA).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tA[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tA[e]}})});var tN=n("29071");Object.keys(tN).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tN[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tN[e]}})});var tL=n("96375");Object.keys(tL).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tL[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tL[e]}})});var tz=n("32508");Object.keys(tz).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tz[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tz[e]}})});var tF=n("42195");
1Object.keys(tF).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tF[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tF[e]}})});var tV=n("83091");Object.keys(tV).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tV[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tV[e]}})});var tW=n("21005");Object.keys(tW).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tW[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tW[e]}})});var tY=n("37089");Object.keys(tY).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tY[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tY[e]}})});var tX=n("24959");Object.keys(tX).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tX[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tX[e]}})});var tB=n("71020");Object.keys(tB).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tB[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tB[e]}})});var tq=n("50500");Object.keys(tq).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tq[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tq[e]}})});var tU=n("74616");Object.keys(tU).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tU[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tU[e]}})});var tH=n("86094");Object.keys(tH).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tH[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tH[e]}})});var tG=n("4920");Object.keys(tG).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tG[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tG[e]}})});var tJ=n("86309");Object.keys(tJ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tJ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tJ[e]}})});var tK=n("67822");Object.keys(tK).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==tK[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tK[e]}})});var t0=n("11185");Object.keys(t0).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t0[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t0[e]}})});var t1=n("90361");Object.keys(t1).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t1[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t1[e]}})});var t2=n("57287");Object.keys(t2).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t2[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t2[e]}})});var t5=n("42678");Object.keys(t5).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t5[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t5[e]}})});var t3=n("13230");Object.keys(t3).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t3[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t3[e]}})});var t4=n("46327");Object.keys(t4).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t4[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t4[e]}})});var t6=n("66199");Object.keys(t6).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t6[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t6[e]}})});var t9=n("2864");Object.keys(t9).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t9[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t9[e]}})});var t8=n("31547");Object.keys(t8).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t8[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t8[e]}})});var t7=n("55056");Object.keys(t7).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==t7[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return t7[e]}})});var ne=n("90973");Object.keys(ne).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ne[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ne[e]}})});var nt=n("26951");Object.keys(nt).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nt[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nt[e]}})});var nn=n("90132");
1Object.keys(nn).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nn[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nn[e]}})});var nr=n("25051");Object.keys(nr).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nr[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nr[e]}})});var ni=n("49695");Object.keys(ni).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ni[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ni[e]}})});var no=n("69210");Object.keys(no).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==no[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return no[e]}})});var na=n("6403");Object.keys(na).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==na[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return na[e]}})});var ns=n("44460");Object.keys(ns).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ns[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ns[e]}})});var nl=n("28250");Object.keys(nl).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nl[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nl[e]}})});var nc=n("89429");Object.keys(nc).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nc[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nc[e]}})});var nu=n("65337");Object.keys(nu).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nu[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nu[e]}})});var nd=n("18917");Object.keys(nd).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nd[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nd[e]}})});var nf=n("61705");Object.keys(nf).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nf[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nf[e]}})});var nh=n("71377");Object.keys(nh).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nh[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nh[e]}})});var np=n("89339");Object.keys(np).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==np[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return np[e]}})});var nm=n("63848");Object.keys(nm).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nm[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nm[e]}})});var ng=n("93459");Object.keys(ng).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ng[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ng[e]}})});var nO=n("38362");Object.keys(nO).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nO[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nO[e]}})});var nv=n("6552");Object.keys(nv).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nv[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nv[e]}})});var nb=n("4152");Object.keys(nb).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nb[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nb[e]}})});var ny=n("4277");
1Object.keys(ny).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==ny[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return ny[e]}})});var nx=n("83911");Object.keys(nx).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nx[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nx[e]}})});var nw=n("74935");Object.keys(nw).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nw[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nw[e]}})});var nS=n("15591");Object.keys(nS).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nS[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nS[e]}})});var nk=n("71975");Object.keys(nk).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nk[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nk[e]}})});var nP=n("15469");Object.keys(nP).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nP[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nP[e]}})});var nM=n("81335");Object.keys(nM).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nM[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nM[e]}})});var nj=n("99613");Object.keys(nj).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nj[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nj[e]}})});var nC=n("24303");Object.keys(nC).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nC[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nC[e]}})});var n_=n("46672");Object.keys(n_).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n_[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n_[e]}})});var nT=n("46845");Object.keys(nT).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nT[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nT[e]}})});var nD=n("4701");Object.keys(nD).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nD[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nD[e]}})});var nE=n("79487");Object.keys(nE).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nE[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nE[e]}})});var nQ=n("53887");Object.keys(nQ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nQ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nQ[e]}})});var n$=n("56710");Object.keys(n$).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n$[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n$[e]}})});var nR=n("9033");Object.keys(nR).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nR[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nR[e]}})});var nZ=n("25931");Object.keys(nZ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nZ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nZ[e]}})});var nI=n("84795");Object.keys(nI).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nI[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nI[e]}})});var nA=n("88342");Object.keys(nA).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nA[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nA[e]}})});var nN=n("58722");Object.keys(nN).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nN[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nN[e]}})});var nL=n("22199");Object.keys(nL).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nL[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nL[e]}})});var nz=n("53340");Object.keys(nz).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nz[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nz[e]}})});var nF=n("72932");
1Object.keys(nF).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nF[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nF[e]}})});var nV=n("18362");Object.keys(nV).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nV[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nV[e]}})});var nW=n("74031");Object.keys(nW).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nW[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nW[e]}})});var nY=n("96074");Object.keys(nY).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nY[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nY[e]}})});var nX=n("80417");Object.keys(nX).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nX[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nX[e]}})});var nB=n("91895");Object.keys(nB).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nB[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nB[e]}})});var nq=n("38508");Object.keys(nq).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nq[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nq[e]}})});var nU=n("46593");Object.keys(nU).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nU[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nU[e]}})});var nH=n("28834");Object.keys(nH).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nH[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nH[e]}})});var nG=n("49253");Object.keys(nG).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nG[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nG[e]}})});var nJ=n("72945");Object.keys(nJ).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nJ[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nJ[e]}})});var nK=n("92827");Object.keys(nK).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==nK[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return nK[e]}})});var n0=n("27711");Object.keys(n0).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n0[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n0[e]}})});var n1=n("54758");Object.keys(n1).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n1[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n1[e]}})});var n2=n("89735");Object.keys(n2).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n2[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n2[e]}})});var n5=n("87847");Object.keys(n5).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n5[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n5[e]}})});var n3=n("46265");Object.keys(n3).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n3[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n3[e]}})});var n4=n("50053");Object.keys(n4).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n4[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n4[e]}})});var n6=n("35498");Object.keys(n6).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n6[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n6[e]}})});var n9=n("61337");Object.keys(n9).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n9[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n9[e]}})});var n8=n("27144");Object.keys(n8).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n8[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n8[e]}})});var n7=n("38390");Object.keys(n7).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==n7[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n7[e]}})});var re=n("98086");Object.keys(re).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==re[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return re[e]}})});var rt=n("63265");Object.keys(rt).forEach(function(e){if("default"!==e&&"__esModule"!==e)(!(e in t)||t[e]!==rt[e])&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return rt[e]}})})},52365:function(e,t,n){"use strict";t.interval=function(e,t,n){let i=(0,r.toDate)(e);
1if(isNaN(+i))throw TypeError("Start date is invalid");let o=(0,r.toDate)(t);if(isNaN(+o))throw TypeError("End date is invalid");if((null==n?void 0:n.assertPositive)&&+i>+o)throw TypeError("End date must be after start date");return{start:i,end:o}};var r=n("35498")},44671:function(e,t,n){"use strict";t.intervalToDuration=function(e){let t=(0,u.toDate)(e.start),n=(0,u.toDate)(e.end),d={},f=(0,c.differenceInYears)(n,t);f&&(d.years=f);let h=(0,r.add)(t,{years:d.years}),p=(0,s.differenceInMonths)(n,h);p&&(d.months=p);let m=(0,r.add)(h,{months:d.months}),g=(0,i.differenceInDays)(n,m);g&&(d.days=g);let O=(0,r.add)(m,{days:d.days}),v=(0,o.differenceInHours)(n,O);v&&(d.hours=v);let b=(0,r.add)(O,{hours:d.hours}),y=(0,a.differenceInMinutes)(n,b);y&&(d.minutes=y);let x=(0,r.add)(b,{minutes:d.minutes}),w=(0,l.differenceInSeconds)(n,x);return w&&(d.seconds=w),d};var r=n("98150"),i=n("5269"),o=n("7728"),a=n("68444"),s=n("42834"),l=n("65648"),c=n("77703"),u=n("35498")},75572:function(e,t,n){"use strict";t.intlFormat=function(e,t,n){let i;return function(e){return void 0!==e&&!("locale"in e)}(t)?i=t:n=t,new Intl.DateTimeFormat(null==n?void 0:n.locale,i).format((0,r.toDate)(e))};var r=n("35498")},94190:function(e,t,n){"use strict";t.intlFormatDistance=function(e,t,n){let h,p=0,m=(0,f.toDate)(e),g=(0,f.toDate)(t);if(null==n?void 0:n.unit)"second"===(h=null==n?void 0:n.unit)?p=(0,d.differenceInSeconds)(m,g):"minute"===h?p=(0,u.differenceInMinutes)(m,g):"hour"===h?p=(0,c.differenceInHours)(m,g):"day"===h?p=(0,i.differenceInCalendarDays)(m,g):"week"===h?p=(0,s.differenceInCalendarWeeks)(m,g):"month"===h?p=(0,o.differenceInCalendarMonths)(m,g):"quarter"===h?p=(0,a.differenceInCalendarQuarters)(m,g):"year"===h&&(p=(0,l.differenceInCalendarYears)(m,g));else{let e=(0,d.differenceInSeconds)(m,g);Math.abs(e)<r.secondsInMinute?(p=(0,d.differenceInSeconds)(m,g),h="second"):Math.abs(e)<r.secondsInHour?(p=(0,u.differenceInMinutes)(m,g),h="minute"):Math.abs(e)<r.secondsInDay&&1>Math.abs((0,i.differenceInCalendarDays)(m,g))?(p=(0,c.differenceInHours)(m,g),h="hour"):Math.abs(e)<r.secondsInWeek&&(p=(0,i.differenceInCalendarDays)(m,g))&&7>Math.abs(p)?h="day":Math.abs(e)<r.secondsInMonth?(p=(0,s.differenceInCalendarWeeks)(m,g),h="week"):Math.abs(e)<r.secondsInQuarter?(p=(0,o.differenceInCalendarMonths)(m,g),h="month"):Math.abs(e)<r.secondsInYear&&4>(0,a.differenceInCalendarQuarters)(m,g)?(p=(0,a.differenceInCalendarQuarters)(m,g),h="quarter"):(p=(0,l.differenceInCalendarYears)(m,g),h="year")}return new Intl.RelativeTimeFormat(null==n?void 0:n.locale,{localeMatcher:null==n?void 0:n.localeMatcher,numeric:(null==n?void 0:n.numeric)||"auto",style:null==n?void 0:n.style}).format(p,h)};var r=n("62696"),i=n("79801"),o=n("28412"),a=n("79586"),s=n("9431"),l=n("68833"),c=n("7728"),u=n("68444"),d=n("65648"),f=n("35498")},43191:function(e,t,n){"use strict";t.isAfter=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getTime()>i.getTime()};var r=n("35498")},96820:function(e,t,n){"use strict";t.isBefore=function(e,t){let n=(0,r.toDate)(e);return+n<+(0,r.toDate)(t)};var r=n("35498")},12827:function(e,t){"use strict";t.isDate=function(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},2475:function(e,t,n){"use strict";t.isEqual=function(e,t){let n=(0,r.toDate)(e);return+n==+(0,r.toDate)(t)};var r=n("35498")},58220:function(e,t){"use strict";t.isExists=function(e,t,n){let r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}},13714:function(e,t,n){"use strict";t.isFirstDayOfMonth=function(e){return 1===(0,r.toDate)(e).getDate()};var r=n("35498")},94411:function(e,t,n){"use strict";t.isFriday=function(e){return 5===(0,r.toDate)(e).getDay()};var r=n("35498")},70603:function(e,t,n){"use strict";t.isFuture=function(e){return+(0,r.toDate)(e)>Date.now()};var r=n("35498")},92068:function(e,t,n){"use strict";t.isLastDayOfMonth=function(e){let t=(0,o.toDate)(e);return+(0,r.endOfDay)(t)==+(0,i.endOfMonth)(t)};var r=n("90835"),i=n("90389"),o=n("35498")},81394:function(e,t,n){"use strict";t.isLeapYear=function(e){let t=(0,r.toDate)(e).getFullYear();return t%400==0||t%4==0&&t%100!=0};var r=n("35498")},44048:function(e,t,n){"use strict";t.isMatch=function(e,t,n){return(0,r.isValid)((0,i.parse)(e,t,new Date,n))};var r=n("58411"),i=n("31547")},22850:function(e,t,n){"use strict";t.isMonday=function(e){return 1===(0,r.toDate)(e).getDay()};var r=n("35498")},22793:function(e,t,n){"use strict";t.isPast=function(e){return+(0,r.toDate)(e)<Date.now()};var r=n("35498")},72864:function(e,t,n){"use strict";t.isSameDay=function(e,t){let n=(0,r.startOfDay)(e);return+n==+(0,r.startOfDay)(t)};var r=n("53887")},64363:function(e,t,n){"use strict";t.isSameHour=function(e,t){let n=(0,r.startOfHour)(e);return+n==+(0,r.startOfHour)(t)};var r=n("9033")},43345:function(e,t,n){"use strict";t.isSameISOWeek=function(e,t){return(0,r.isSameWeek)(e,t,{weekStartsOn:1}
1)};var r=n("36237")},85313:function(e,t,n){"use strict";t.isSameISOWeekYear=function(e,t){let n=(0,r.startOfISOWeekYear)(e);return+n==+(0,r.startOfISOWeekYear)(t)};var r=n("84795")},42548:function(e,t,n){"use strict";t.isSameMinute=function(e,t){let n=(0,r.startOfMinute)(e);return+n==+(0,r.startOfMinute)(t)};var r=n("88342")},39331:function(e,t,n){"use strict";t.isSameMonth=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()};var r=n("35498")},86879:function(e,t,n){"use strict";t.isSameQuarter=function(e,t){let n=(0,r.startOfQuarter)(e);return+n==+(0,r.startOfQuarter)(t)};var r=n("22199")},86899:function(e,t,n){"use strict";t.isSameSecond=function(e,t){let n=(0,r.startOfSecond)(e);return+n==+(0,r.startOfSecond)(t)};var r=n("53340")},36237:function(e,t,n){"use strict";t.isSameWeek=function(e,t,n){let i=(0,r.startOfWeek)(e,n);return+i==+(0,r.startOfWeek)(t,n)};var r=n("74031")},75776:function(e,t,n){"use strict";t.isSameYear=function(e,t){let n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()===i.getFullYear()};var r=n("35498")},81783:function(e,t,n){"use strict";t.isSaturday=function(e){return 6===(0,r.toDate)(e).getDay()};var r=n("35498")},82732:function(e,t,n){"use strict";t.isSunday=function(e){return 0===(0,r.toDate)(e).getDay()};var r=n("35498")},30082:function(e,t,n){"use strict";t.isThisHour=function(e){return(0,i.isSameHour)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("64363")},87636:function(e,t,n){"use strict";t.isThisISOWeek=function(e){return(0,i.isSameISOWeek)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("43345")},66316:function(e,t,n){"use strict";t.isThisMinute=function(e){return(0,i.isSameMinute)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("42548")},34151:function(e,t,n){"use strict";t.isThisMonth=function(e){return(0,i.isSameMonth)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("39331")},55840:function(e,t,n){"use strict";t.isThisQuarter=function(e){return(0,i.isSameQuarter)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("86879")},20433:function(e,t,n){"use strict";t.isThisSecond=function(e){return(0,i.isSameSecond)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("86899")},34494:function(e,t,n){"use strict";t.isThisWeek=function(e,t){return(0,i.isSameWeek)(e,(0,r.constructNow)(e),t)};var r=n("69012"),i=n("36237")},41418:function(e,t,n){"use strict";t.isThisYear=function(e){return(0,i.isSameYear)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("75776")},73293:function(e,t,n){"use strict";t.isThursday=function(e){return 4===(0,r.toDate)(e).getDay()};var r=n("35498")},53388:function(e,t,n){"use strict";t.isToday=function(e){return(0,i.isSameDay)(e,(0,r.constructNow)(e))};var r=n("69012"),i=n("72864")},4107:function(e,t,n){"use strict";t.isTomorrow=function(e){return(0,o.isSameDay)(e,(0,r.addDays)((0,i.constructNow)(e),1))};var r=n("69535"),i=n("69012"),o=n("72864")},72764:function(e,t,n){"use strict";t.isTuesday=function(e){return 2===(0,r.toDate)(e).getDay()};var r=n("35498")},58411:function(e,t,n){"use strict";t.isValid=function(e){return(!!(0,r.isDate)(e)||"number"==typeof e)&&!isNaN(Number((0,i.toDate)(e)))};var r=n("12827"),i=n("35498")},75498:function(e,t,n){"use strict";t.isWednesday=function(e){return 3===(0,r.toDate)(e).getDay()};var r=n("35498")},69739:function(e,t,n){"use strict";t.isWeekend=function(e){let t=(0,r.toDate)(e).getDay();return 0===t||6===t};var r=n("35498")},10853:function(e,t,n){"use strict";t.isWithinInterval=function(e,t){let n=+(0,r.toDate)(e),[i,o]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort((e,t)=>e-t);return n>=i&&n<=o};var r=n("35498")},33561:function(e,t,n){"use strict";t.isYesterday=function(e){return(0,i.isSameDay)(e,(0,o.subDays)((0,r.constructNow)(e),1))};var r=n("69012"),i=n("72864"),o=n("28834")},5934:function(e,t,n){"use strict";t.lastDayOfDecade=function(e){let t=(0,r.toDate)(e),n=9+10*Math.floor(t.getFullYear()/10);return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t};var r=n("35498")},20544:function(e,t,n){"use strict";t.lastDayOfISOWeek=function(e){return(0,r.lastDayOfWeek)(e,{weekStartsOn:1}
1)};var r=n("96375")},69022:function(e,t,n){"use strict";t.lastDayOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);let a=(0,i.startOfISOWeek)(n);return a.setDate(a.getDate()-1),a};var r=n("65952"),i=n("25931"),o=n("23459")},71092:function(e,t,n){"use strict";t.lastDayOfMonth=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t};var r=n("35498")},29071:function(e,t,n){"use strict";t.lastDayOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(0,0,0,0),t};var r=n("35498")},96375:function(e,t,n){"use strict";t.lastDayOfWeek=function(e,t){var n,o,a,s;let l=(0,i.getDefaultOptions)(),c=(null==t?void 0:t.weekStartsOn)??(null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)??l.weekStartsOn??(null===(s=l.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)??0,u=(0,r.toDate)(e),d=u.getDay();return u.setHours(0,0,0,0),u.setDate(u.getDate()+((d<c?-7:0)+6-(d-c))),u};var r=n("35498"),i=n("64133")},32508:function(e,t,n){"use strict";t.lastDayOfYear=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t};var r=n("35498")},42195:function(e,t,n){"use strict";t.lightFormat=function(e,t){let n=(0,i.toDate)(e);if(!(0,r.isValid)(n))throw RangeError("Invalid time value");let u=t.match(a);return u?u.map(e=>{if("''"===e)return"'";let t=e[0];if("'"===t)return function(e){let t=e.match(s);return t?t[1].replace(l,"'"):e}(e);let r=o.lightFormatters[t];if(r)return r(n,e);if(t.match(c))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join(""):""},Object.defineProperty(t,"lightFormatters",{enumerable:!0,get:function(){return o.lightFormatters}});var r=n("58411"),i=n("35498"),o=n("9698");let a=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,l=/''/g,c=/[a-zA-Z]/},4067:function(e,t){"use strict";t.buildFormatLongFn=function(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},80830:function(e,t){"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},42113:function(e,t){"use strict";t.buildMatchFn=function(e){return(t,n={})=>{let r;let i=n.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let s=a[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(s));return r=e.valueCallback?e.valueCallback(c):c,r=n.valueCallback?n.valueCallback(r):r,{value:r,rest:t.slice(s.length)}}}},54459:function(e,t){"use strict";t.buildMatchPatternFn=function(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];return a=n.valueCallback?n.valueCallback(a):a,{value:a,rest:t.slice(i.length)}}}},69407:function(e,t,n){"use strict";t.enUS=void 0;var r=n("19143"),i=n("78766"),o=n("41124"),a=n("75004"),s=n("5262");t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:i.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},19143:function(e,t){"use strict";t.formatDistance=void 0;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let i;let o=n[e];if(i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==r?void 0:r.addSuffix)return r.comparison&&r.comparison>0?"in "+i:i+" ago";return i}},78766:function(e,t,n){"use strict";t.formatLong=void 0;var r=n("4067");t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},41124:function(e,t){"use strict";t.formatRelative=void 0;let n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,i)=>n[e]},75004:function(e,t,n){"use strict";t.localize=void 0;
1var r=n("80830");t.localize={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},5262:function(e,t,n){"use strict";t.match=void 0;var r=n("42113"),i=n("54459");t.match={ordinalNumber:(0,i.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},83091:function(e,t,n){"use strict";t.max=function(e){let t;return e.forEach(function(e){let n=(0,r.toDate)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)}),t||new Date(NaN)};var r=n("35498")},21005:function(e,t,n){"use strict";t.milliseconds=function({years:e,months:t,weeks:n,days:i,hours:o,minutes:a,seconds:s}){let l=0;e&&(l+=e*r.daysInYear),t&&(l+=r.daysInYear/12*t),n&&(l+=7*n),i&&(l+=i);let c=86400*l;return o&&(c+=3600*o),a&&(c+=60*a),s&&(c+=s),Math.trunc(1e3*c)};var r=n("62696")},37089:function(e,t,n){"use strict";t.millisecondsToHours=function(e){return Math.trunc(e/r.millisecondsInHour)};var r=n("62696")},24959:function(e,t,n){"use strict";t.millisecondsToMinutes=function(e){return Math.trunc(e/r.millisecondsInMinute)};var r=n("62696")},71020:function(e,t,n){"use strict";t.millisecondsToSeconds=function(e){return Math.trunc(e/r.millisecondsInSecond)};var r=n("62696")},50500:function(e,t,n){"use strict";t.min=function(e){let t;
1return e.forEach(e=>{let n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)};var r=n("35498")},74616:function(e,t,n){"use strict";t.minutesToHours=function(e){return Math.trunc(e/r.minutesInHour)};var r=n("62696")},86094:function(e,t,n){"use strict";t.minutesToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInMinute)};var r=n("62696")},4920:function(e,t,n){"use strict";t.minutesToSeconds=function(e){return Math.trunc(e*r.secondsInMinute)};var r=n("62696")},86309:function(e,t,n){"use strict";t.monthsToQuarters=function(e){return Math.trunc(e/r.monthsInQuarter)};var r=n("62696")},67822:function(e,t,n){"use strict";t.monthsToYears=function(e){return Math.trunc(e/r.monthsInYear)};var r=n("62696")},11185:function(e,t,n){"use strict";t.nextDay=function(e,t){let n=t-(0,i.getDay)(e);return n<=0&&(n+=7),(0,r.addDays)(e,n)};var r=n("69535"),i=n("27491")},90361:function(e,t,n){"use strict";t.nextFriday=function(e){return(0,r.nextDay)(e,5)};var r=n("11185")},57287:function(e,t,n){"use strict";t.nextMonday=function(e){return(0,r.nextDay)(e,1)};var r=n("11185")},42678:function(e,t,n){"use strict";t.nextSaturday=function(e){return(0,r.nextDay)(e,6)};var r=n("11185")},13230:function(e,t,n){"use strict";t.nextSunday=function(e){return(0,r.nextDay)(e,0)};var r=n("11185")},46327:function(e,t,n){"use strict";t.nextThursday=function(e){return(0,r.nextDay)(e,4)};var r=n("11185")},66199:function(e,t,n){"use strict";t.nextTuesday=function(e){return(0,r.nextDay)(e,2)};var r=n("11185")},2864:function(e,t,n){"use strict";t.nextWednesday=function(e){return(0,r.nextDay)(e,3)};var r=n("11185")},31547:function(e,t,n){"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,O){var v,b,y,x,w,S,k,P;let M=(0,i.getDefaultOptions)(),j=(null==O?void 0:O.locale)??M.locale??o.defaultLocale,C=(null==O?void 0:O.firstWeekContainsDate)??(null==O?void 0:null===(b=O.locale)||void 0===b?void 0:null===(v=b.options)||void 0===v?void 0:v.firstWeekContainsDate)??M.firstWeekContainsDate??(null===(x=M.locale)||void 0===x?void 0:null===(y=x.options)||void 0===y?void 0:y.firstWeekContainsDate)??1,_=(null==O?void 0:O.weekStartsOn)??(null==O?void 0:null===(S=O.locale)||void 0===S?void 0:null===(w=S.options)||void 0===w?void 0:w.weekStartsOn)??M.weekStartsOn??(null===(P=M.locale)||void 0===P?void 0:null===(k=P.options)||void 0===k?void 0:k.weekStartsOn)??0;if(""===t)return""===e?(0,a.toDate)(n):(0,r.constructFrom)(n,NaN);let T={firstWeekContainsDate:C,weekStartsOn:_,locale:j},D=[new u.DateToSystemTimezoneSetter],E=t.match(f).map(e=>{let t=e[0];return t in s.longFormatters?(0,s.longFormatters[t])(e,j.formatLong):e}).join("").match(d),Q=[];for(let i of E){!(null==O?void 0:O.useAdditionalWeekYearTokens)&&(0,l.isProtectedWeekYearToken)(i)&&(0,l.warnOrThrowProtectedError)(i,t,e),!(null==O?void 0:O.useAdditionalDayOfYearTokens)&&(0,l.isProtectedDayOfYearToken)(i)&&(0,l.warnOrThrowProtectedError)(i,t,e);let o=i[0],a=c.parsers[o];if(a){let{incompatibleTokens:t}=a;if(Array.isArray(t)){let e=Q.find(e=>t.includes(e.token)||e.token===o);if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${i}\` at the same time`)}else if("*"===a.incompatibleTokens&&Q.length>0)throw RangeError(`The format string mustn't contain \`${i}\` and any other token at the same time`);Q.push({token:o,fullToken:i});let s=a.run(e,i,j.match,T);if(!s)return(0,r.constructFrom)(n,NaN);D.push(s.setter),e=s.rest}else{if(o.match(g))throw RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===i?i="'":"'"===o&&(i=function(e){return e.match(h)[1].replace(p,"'")}(i)),0!==e.indexOf(i))return(0,r.constructFrom)(n,NaN);e=e.slice(i.length)}}if(e.length>0&&m.test(e))return(0,r.constructFrom)(n,NaN);let $=D.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>D.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),R=(0,a.toDate)(n);if(isNaN(R.getTime()))return(0,r.constructFrom)(n,NaN);let Z={};for(let e of $){if(!e.validate(R,T))return(0,r.constructFrom)(n,NaN);let t=e.set(R,Z,T);Array.isArray(t)?(R=t[0],Object.assign(Z,t[1])):R=t}return(0,r.constructFrom)(n,R)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n("23459"),i=n("42046"),o=n("8927"),a=n("35498"),s=n("29900"),l=n("64998"),c=n("72747"),u=n("46358");let d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,f=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,h=/^'([^]*?)'?$/,p=/''/g,m=/\S/,g=/[a-zA-Z]/},56243:function(e,t,n){"use strict";t.Parser=void 0;var r=n("46358");t.Parser=class e{run(e,t,n,i){let o=this.parse(e,t,n,i);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}},46358:function(e,t,n){"use strict";t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var r=n("61337"),i=n("23459");class o{subPriority=0;validate(e,t){return!0}}t.Setter=o;t.ValueSetter=class e extends o{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}
vendor: 16,384 bytes, line 1
1set(e,t,n){return this.setValue(e,t,this.value,n)}};t.DateToSystemTimezoneSetter=class e extends o{priority=10;subPriority=-1;set(e,t){return t.timestampIsSet?e:(0,i.constructFrom)(e,(0,r.transpose)(e,Date))}}},11569:function(e,t){"use strict";t.timezonePatterns=t.numericPatterns=void 0,t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},72747:function(e,t,n){"use strict";t.parsers=void 0;var r=n("65593"),i=n("28732"),o=n("37895"),a=n("40604"),s=n("26699"),l=n("99581"),c=n("54399"),u=n("12156"),d=n("3597"),f=n("37849"),h=n("3224"),p=n("62515"),m=n("87415"),g=n("92417"),O=n("62088"),v=n("17987"),b=n("90865"),y=n("68323"),x=n("21988"),w=n("58745"),S=n("25612"),k=n("12250"),P=n("12350"),M=n("42756"),j=n("34885"),C=n("41603"),_=n("58456"),T=n("36394"),D=n("58314"),E=n("38445"),Q=n("56688");t.parsers={G:new r.EraParser,y:new i.YearParser,Y:new o.LocalWeekYearParser,R:new a.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new l.QuarterParser,q:new c.StandAloneQuarterParser,M:new u.MonthParser,L:new d.StandAloneMonthParser,w:new f.LocalWeekParser,I:new h.ISOWeekParser,d:new p.DateParser,D:new m.DayOfYearParser,E:new g.DayParser,e:new O.LocalDayParser,c:new v.StandAloneLocalDayParser,i:new b.ISODayParser,a:new y.AMPMParser,b:new x.AMPMMidnightParser,B:new w.DayPeriodParser,h:new S.Hour1to12Parser,H:new k.Hour0to23Parser,K:new P.Hour0To11Parser,k:new M.Hour1To24Parser,m:new j.MinuteParser,s:new C.SecondParser,S:new _.FractionOfSecondParser,X:new T.ISOTimezoneWithZParser,x:new D.ISOTimezoneParser,t:new E.TimestampSecondsParser,T:new Q.TimestampMillisecondsParser}},21988:function(e,t,n){"use strict";t.AMPMMidnightParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}t.AMPMMidnightParser=o},68323:function(e,t,n){"use strict";t.AMPMParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}t.AMPMParser=o},62515:function(e,t,n){"use strict";t.DateParser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");let a=[31,28,31,30,31,30,31,31,30,31,30,31],s=[31,29,31,30,31,30,31,31,30,31,30,31];class l extends i.Parser{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return(0,o.parseNumericPattern)(r.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){let n=e.getFullYear(),r=(0,o.isLeapYearIndex)(n),i=e.getMonth();return r?t>=1&&t<=s[i]:t>=1&&t<=a[i]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}t.DateParser=l},87415:function(e,t,n){"use strict";t.DayOfYearParser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return(0,o.parseNumericPattern)(r.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){let n=e.getFullYear();return(0,o.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}t.DayOfYearParser=a},92417:function(e,t,n){"use strict";t.DayParser=void 0;var r=n("6552"),i=n("56243");class o extends i.Parser{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=(0,r.setDay)(e,n,i)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}t.DayParser=o},58745:function(e,t,n){"use strict";t.DayPeriodParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]}t.DayPeriodParser=o},65593:function(e,t,n){"use strict";t.EraParser=void 0;var r=n("56243");class i extends r.Parser{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}t.EraParser=i},26699:function(e,t,n){"use strict";t.ExtendedYearParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=130;parse(e,t){return"u"===t?(0,i.parseNDigitsSigned)(4,e):(0,i.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}t.ExtendedYearParser=o},58456:function(e,t,n){"use strict";t.FractionOfSecondParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=30;parse(e,t){return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]}t.FractionOfSecondParser=o},12350:function(e,t,n){"use strict";t.Hour0To11Parser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"K":return(0,o.parseNumericPattern)(r.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}t.Hour0To11Parser=a},12250:function(e,t,n){"use strict";t.Hour0to23Parser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"H":return(0,o.parseNumericPattern)(r.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}t.Hour0to23Parser=a},42756:function(e,t,n){"use strict";t.Hour1To24Parser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"k":return(0,o.parseNumericPattern)(r.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}t.Hour1To24Parser=a},25612:function(e,t,n){"use strict";t.Hour1to12Parser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"h":return(0,o.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=a},90865:function(e,t,n){"use strict";t.ISODayParser=void 0;var r=n("74935"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=90;parse(e,t,n){let r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,o.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,o.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,o.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,o.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,o.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,r.setISODay)(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}t.ISODayParser=a},58314:function(e,t,n){"use strict";t.ISOTimezoneParser=void 0;var r=n("23459"),i=n("98605"),o=n("11569"),a=n("56243"),s=n("42400");class l extends a.Parser{priority=10;parse(e,t){switch(t){case"x":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"xxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,i.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","X"]}t.ISOTimezoneParser=l},36394:function(e,t,n){"use strict";t.ISOTimezoneWithZParser=void 0;var r=n("23459"),i=n("98605"),o=n("11569"),a=n("56243"),s=n("42400");class l extends a.Parser{priority=10;parse(e,t){switch(t){case"X":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"XXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,i.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","x"]}t.ISOTimezoneWithZParser=l},3224:function(e,t,n){"use strict";t.ISOWeekParser=void 0;var r=n("15591"),i=n("25931"),o=n("11569"),a=n("56243"),s=n("42400");class l extends a.Parser{priority=100;parse(e,t,n){switch(t){case"I":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,i.startOfISOWeek)((0,r.setISOWeek)(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekParser=l},40604:function(e,t,n){"use strict";t.ISOWeekYearParser=void 0;var r=n("25931"),i=n("23459"),o=n("56243"),a=n("42400");class s extends o.Parser{priority=130;parse(e,t){return"R"===t?(0,a.parseNDigitsSigned)(4,e):(0,a.parseNDigitsSigned)(t.length,e)}set(e,t,n){let o=(0,i.constructFrom)(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,r.startOfISOWeek)(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekYearParser=s},62088:function(e,t,n){"use strict";t.LocalDayParser=void 0;var r=n("6552"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=90;parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),i);case"eo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=(0,r.setDay)(e,n,i)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}t.LocalDayParser=a},37849:function(e,t,n){"use strict";t.LocalWeekParser=void 0;var r=n("46845"),i=n("74031"),o=n("11569"),a=n("56243"),s=n("42400");class l extends a.Parser{priority=100;parse(e,t,n){switch(t){case"w":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return(0,i.startOfWeek)((0,r.setWeek)(e,n,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}t.LocalWeekParser=l},37895:function(e,t,n){"use strict";t.LocalWeekYearParser=void 0;var r=n("95173"),i=n("74031"),o=n("56243"),a=n("42400");class s extends o.Parser{priority=130;parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,a.mapValue)((0,a.parseNDigits)(4,e),r);case"Yo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){let s=(0,r.getWeekYear)(e,o);if(n.isTwoDigitYear){let t=(0,a.normalizeTwoDigitYear)(n.year,s);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,i.startOfWeek)(e,o)}let l="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(l,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,i.startOfWeek)(e,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}t.LocalWeekYearParser=s},34885:function(e,t,n){"use strict";t.MinuteParser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=60;parse(e,t,n){switch(t){case"m":return(0,o.parseNumericPattern)(r.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]}t.MinuteParser=a},12156:function(e,t,n){"use strict";t.MonthParser=void 0;var r=n("11569"),i=
1n("56243"),o=n("42400");class a extends i.Parser{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){let i=e=>e-1;switch(t){case"M":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),i);case"MM":return(0,o.mapValue)((0,o.parseNDigits)(2,e),i);case"Mo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.MonthParser=a},99581:function(e,t,n){"use strict";t.QuarterParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return(0,i.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}t.QuarterParser=o},41603:function(e,t,n){"use strict";t.SecondParser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=50;parse(e,t,n){switch(t){case"s":return(0,o.parseNumericPattern)(r.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]}t.SecondParser=a},17987:function(e,t,n){"use strict";t.StandAloneLocalDayParser=void 0;var r=n("6552"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=90;parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),i);case"co":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=(0,r.setDay)(e,n,i)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}t.StandAloneLocalDayParser=a},3597:function(e,t,n){"use strict";t.StandAloneMonthParser=void 0;var r=n("11569"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=110;parse(e,t,n){let i=e=>e-1;switch(t){case"L":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),i);case"LL":return(0,o.mapValue)((0,o.parseNDigits)(2,e),i);case"Lo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}t.StandAloneMonthParser=a},54399:function(e,t,n){"use strict";t.StandAloneQuarterParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return(0,i.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}t.StandAloneQuarterParser=o},56688:function(e,t,n){"use strict";t.TimestampMillisecondsParser=void 0;var r=n("23459"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=20;parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampMillisecondsParser=a},38445:function(e,t,n){"use strict";t.TimestampSecondsParser=void 0;var r=n("23459"),i=n("56243"),o=n("42400");class a extends i.Parser{priority=40;parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampSecondsParser=a},28732:function(e,t,n){"use strict";t.YearParser=void 0;var r=n("56243"),i=n("42400");class o extends r.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,i.mapValue)((0,i.parseNDigits)(4,e),r);case"yo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=(0,i.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}t.YearParser=o},42400:function(e,t,n){"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400==0||e%4==0&&e%100!=0},t.mapValue=function(e,t){return e?{value:t(e.value),rest:e.rest}:e},t.normalizeTwoDigitYear=function(e,t){let n;let r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{let t=i+50,r=100*Math.trunc(t/100);n=e+r-(e>=t%100?100:0)}return r?n:1-n},t.parseAnyDigitsSigned=function(e){return o(i.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return o(i.numericPatterns.singleDigit,t);case 2:return o(i.numericPatterns.twoDigits,t);case 3:return o(i.numericPatterns.threeDigits,t);case 4:return o(i.numericPatterns.fourDigits,t);default:return o(RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return o(i.numericPatterns.singleDigitSigned,t);case 2:return o(i.numericPatterns.twoDigitsSigned,t);case 3:return o(i.numericPatterns.threeDigitsSigned,t);case 4:return o(i.numericPatterns.fourDigitsSigned,t);default:return o(RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=o,t.parseTimezonePattern=function(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let i="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(o*r.millisecondsInHour+a*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n("62696"),i=n("11569");function o(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},55056:function(e,t,n){"use strict";t.parseISO=function(e,t){let n,f;let h=(null==t?void 0:t.additionalDigits)??2,p=function(e){let t;let n={},r=e.split(i.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],i.timeZoneDelimiter.test(n.date)&&(n.date=e.split(i.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=i.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(p.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(p.date,h);n=function(e,t){if(null===t)return new Date(NaN);let n=e.match(o);if(!n)return new Date(NaN);let r=!!n[4],i=l(n[1]),a=l(n[2])-1,s=l(n[3]),c=l(n[4]),f=l(n[5])-1;if(r)return!function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(t,c,f)?new Date(NaN):function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-i)),r}(t,c,f);{let e=new Date(0);return!function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(u[t]||(d(e)?29:28))}(t,a,s)||!function(e,t){return t>=1&&t<=(d(e)?366:365)}(t,i)?new Date(NaN):(e.setUTCFullYear(t,a,Math.max(i,s)),e)}}(e.restDateString,e.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let m=n.getTime(),g=0;if(p.time&&isNaN(g=function(e){let t=e.match(a);if(!t)return NaN;let n=c(t[1]),i=c(t[2]),o=c(t[3]);return!function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,o)?NaN:n*r.millisecondsInHour+i*r.millisecondsInMinute+1e3*o}(p.time)))return new Date(NaN);if(p.timezone){if(isNaN(f=function(e){if("Z"===e)return 0;let t=e.match(s);if(!t)return 0;let n="+"===t[1]?-1:1,i=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return!function(e,t){return t>=0&&t<=59}(i,o)?NaN:n*(i*r.millisecondsInHour+o*r.millisecondsInMinute)}(p.timezone)))return new Date(NaN)}else{let e=new Date(m+g),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return new Date(m+g+f)};var r=n("62696");
1let i={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,a=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}let u=[31,null,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400==0||e%4==0&&e%100!=0}},90973:function(e,t){"use strict";t.parseJSON=function(e){let t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return t?new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3))):new Date(NaN)}},26951:function(e,t,n){"use strict";t.previousDay=function(e,t){let n=(0,r.getDay)(e)-t;return n<=0&&(n+=7),(0,i.subDays)(e,n)};var r=n("27491"),i=n("28834")},90132:function(e,t,n){"use strict";t.previousFriday=function(e){return(0,r.previousDay)(e,5)};var r=n("26951")},25051:function(e,t,n){"use strict";t.previousMonday=function(e){return(0,r.previousDay)(e,1)};var r=n("26951")},49695:function(e,t,n){"use strict";t.previousSaturday=function(e){return(0,r.previousDay)(e,6)};var r=n("26951")},69210:function(e,t,n){"use strict";t.previousSunday=function(e){return(0,r.previousDay)(e,0)};var r=n("26951")},6403:function(e,t,n){"use strict";t.previousThursday=function(e){return(0,r.previousDay)(e,4)};var r=n("26951")},44460:function(e,t,n){"use strict";t.previousTuesday=function(e){return(0,r.previousDay)(e,2)};var r=n("26951")},28250:function(e,t,n){"use strict";t.previousWednesday=function(e){return(0,r.previousDay)(e,3)};var r=n("26951")},89429:function(e,t,n){"use strict";t.quartersToMonths=function(e){return Math.trunc(e*r.monthsInQuarter)};var r=n("62696")},65337:function(e,t,n){"use strict";t.quartersToYears=function(e){return Math.trunc(e/r.quartersInYear)};var r=n("62696")},18917:function(e,t,n){"use strict";t.roundToNearestHours=function(e,t){let n=(null==t?void 0:t.nearestTo)??1;if(n<1||n>12)return(0,i.constructFrom)(e,NaN);let a=(0,o.toDate)(e),s=a.getMinutes()/60,l=a.getSeconds()/60/60,c=a.getMilliseconds()/1e3/60/60,u=a.getHours()+s+l+c,d=(null==t?void 0:t.roundingMethod)??"round",f=(0,r.getRoundingMethod)(d)(u/n)*n,h=(0,i.constructFrom)(e,a);return h.setHours(f,0,0,0),h};var r=n("59815"),i=n("23459"),o=n("35498")},61705:function(e,t,n){"use strict";t.roundToNearestMinutes=function(e,t){let n=(null==t?void 0:t.nearestTo)??1;if(n<1||n>30)return(0,i.constructFrom)(e,NaN);let a=(0,o.toDate)(e),s=a.getSeconds()/60,l=a.getMilliseconds()/1e3/60,c=a.getMinutes()+s+l,u=(null==t?void 0:t.roundingMethod)??"round",d=(0,r.getRoundingMethod)(u)(c/n)*n,f=(0,i.constructFrom)(e,a);return f.setMinutes(d,0,0),f};var r=n("59815"),i=n("23459"),o=n("35498")},71377:function(e,t,n){"use strict";t.secondsToHours=function(e){return Math.trunc(e/r.secondsInHour)};var r=n("62696")},89339:function(e,t,n){"use strict";t.secondsToMilliseconds=function(e){return e*r.millisecondsInSecond};var r=n("62696")},63848:function(e,t,n){"use strict";t.secondsToMinutes=function(e){return Math.trunc(e/r.secondsInMinute)};var r=n("62696")},93459:function(e,t,n){"use strict";t.set=function(e,t){let n=(0,o.toDate)(e);return isNaN(+n)?(0,r.constructFrom)(e,NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,i.setMonth)(n,t.month)),null!=t.date&&n.setDate(t.date),null!=t.hours&&n.setHours(t.hours),null!=t.minutes&&n.setMinutes(t.minutes),null!=t.seconds&&n.setSeconds(t.seconds),null!=t.milliseconds&&n.setMilliseconds(t.milliseconds),n)};var r=n("23459"),i=n("99613"),o=n("35498")},38362:function(e,t,n){"use strict";t.setDate=function(e,t){let n=(0,r.toDate)(e);return n.setDate(t),n};var r=n("35498")},6552:function(e,t,n){"use strict";t.setDay=function(e,t,n){var a,s,l,c;let u=(0,o.getDefaultOptions)(),d=(null==n?void 0:n.weekStartsOn)??(null==n?void 0:null===(s=n.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)??u.weekStartsOn??(null===(c=u.locale)||void 0===c?void 0:null===(l=c.options)||void 0===l?void 0:l.weekStartsOn)??0,f=(0,i.toDate)(e),h=f.getDay(),p=7-d;return(0,r.addDays)(f,t<0||t>6?t-(h+p)%7:((t%7+7)%7+p)%7-(h+p)%7)};var r=n("69535"),i=n("35498"),o=n("64133")},4152:function(e,t,n){"use strict";t.setDayOfYear=function(e,t){let n=(0,r.toDate)(e);return n.setMonth(0),n.setDate(t),n};var r=n("35498")},4277:function(e,t,n){"use strict";t.setDefaultOptions=function(e){let t={},n=(0,r.getDefaultOptions)();for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(void 0===e[n]?delete t[n]:t[n]=e[n]);(0,r.setDefaultOptions)(t)};var r=n("64133")},83911:function(e,t,n){"use strict";t.setHours=function(e,t){let n=(0,r.toDate)(e);return n.setHours(t),n};var r=n("35498")},74935:function(e,t,n){"use strict";t.setISODay=function(e,t){let n=(0,o.toDate)(e),a=(0,i.getISODay)(n);return(0,r.addDays)(n,t-a)};var r=n("69535"),i=n("26696"),o=n("35498")},15591:function(e,t,n){"use strict";t.setISOWeek=function(e,t){let n=(0,i.toDate)(e),o=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*o),n};var r=n("27086"),i=n("35498")},71975:function(e,t,n){"use strict";t.setISOWeekYear=function(e,t){let n=(0,a.toDate)(e),s=(0,i.differenceInCalendarDays)(n,(0,o.startOfISOWeekYear)(n)),l=(0,r.constructFrom)(e,0);return l.setFullYear(t,0,4),l.setHours(0,0,0,0),(n=(0,o.startOfISOWeekYear)(l)).setDate(n.getDate()+s),n};var r=n("23459"),i=n("79801"),o=n("84795"),a=n("35498")},15469:function(e,t,n){"use strict";t.setMilliseconds=function(e,t){let n=(0,r.toDate)(e);return n.setMilliseconds(t),n};var r=n("35498")},81335:function(e,t,n){"use strict";t.setMinutes=function(e,t){let n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n("35498")},99613:function(e,t,n){"use strict";t.setMonth=function(e,t){let n=(0,o.toDate)(e),a=n.getFullYear(),s=n.getDate(),l=(0,r.constructFrom)(e,0);l.setFullYear(a,t,15),l.setHours(0,0,0,0);let c=(0,i.getDaysInMonth)(l);return n.setMonth(t,Math.min(s,c)),n};var r=n("23459"),i=n("23217"),o=n("35498")},24303:function(e,t,n){"use strict";t.setQuarter=function(e,t){let n=(0,i.toDate)(e),o=Math.trunc(n.getMonth()/3)+1;return(0,r.setMonth)(n,n.getMonth()+3*(t-o))};var r=n("99613"),i=n("35498")},46672:function(e,t,n){"use strict";t.setSeconds=function(e,t){let n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n("35498")},46845:function(e,t,n){"use strict";t.setWeek=function(e,t,n){let o=(0,i.toDate)(e),a=(0,r.getWeek)(o,n)-t;return o.setDate(o.getDate()-7*a),o};
1var r=n("94626"),i=n("35498")},4701:function(e,t,n){"use strict";t.setWeekYear=function(e,t,n){var l,c,u,d;let f=(0,s.getDefaultOptions)(),h=(null==n?void 0:n.firstWeekContainsDate)??(null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)??f.firstWeekContainsDate??(null===(d=f.locale)||void 0===d?void 0:null===(u=d.options)||void 0===u?void 0:u.firstWeekContainsDate)??1,p=(0,a.toDate)(e),m=(0,i.differenceInCalendarDays)(p,(0,o.startOfWeekYear)(p,n)),g=(0,r.constructFrom)(e,0);return g.setFullYear(t,0,h),g.setHours(0,0,0,0),(p=(0,o.startOfWeekYear)(g,n)).setDate(p.getDate()+m),p};var r=n("23459"),i=n("79801"),o=n("96074"),a=n("35498"),s=n("64133")},79487:function(e,t,n){"use strict";t.setYear=function(e,t){let n=(0,i.toDate)(e);return isNaN(+n)?(0,r.constructFrom)(e,NaN):(n.setFullYear(t),n)};var r=n("23459"),i=n("35498")},53887:function(e,t,n){"use strict";t.startOfDay=function(e){let t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n("35498")},56710:function(e,t,n){"use strict";t.startOfDecade=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(10*Math.floor(n/10),0,1),t.setHours(0,0,0,0),t};var r=n("35498")},9033:function(e,t,n){"use strict";t.startOfHour=function(e){let t=(0,r.toDate)(e);return t.setMinutes(0,0,0),t};var r=n("35498")},25931:function(e,t,n){"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n("74031")},84795:function(e,t,n){"use strict";t.startOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,i.startOfISOWeek)(n)};var r=n("65952"),i=n("25931"),o=n("23459")},88342:function(e,t,n){"use strict";t.startOfMinute=function(e){let t=(0,r.toDate)(e);return t.setSeconds(0,0),t};var r=n("35498")},58722:function(e,t,n){"use strict";t.startOfMonth=function(e){let t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n("35498")},22199:function(e,t,n){"use strict";t.startOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t};var r=n("35498")},53340:function(e,t,n){"use strict";t.startOfSecond=function(e){let t=(0,r.toDate)(e);return t.setMilliseconds(0),t};var r=n("35498")},72932:function(e,t,n){"use strict";t.startOfToday=function(){return(0,r.startOfDay)(Date.now())};var r=n("53887")},18362:function(e,t){"use strict";t.startOfTomorrow=function(){let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r+1),i.setHours(0,0,0,0),i}},74031:function(e,t,n){"use strict";t.startOfWeek=function(e,t){var n,o,a,s;let l=(0,i.getDefaultOptions)(),c=(null==t?void 0:t.weekStartsOn)??(null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)??l.weekStartsOn??(null===(s=l.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)??0,u=(0,r.toDate)(e),d=u.getDay();return u.setDate(u.getDate()-((d<c?7:0)+d-c)),u.setHours(0,0,0,0),u};var r=n("35498"),i=n("64133")},96074:function(e,t,n){"use strict";t.startOfWeekYear=function(e,t){var n,s,l,c;let u=(0,a.getDefaultOptions)(),d=(null==t?void 0:t.firstWeekContainsDate)??(null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(n=s.options)||void 0===n?void 0:n.firstWeekContainsDate)??u.firstWeekContainsDate??(null===(c=u.locale)||void 0===c?void 0:null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)??1,f=(0,i.getWeekYear)(e,t),h=(0,r.constructFrom)(e,0);return h.setFullYear(f,0,d),h.setHours(0,0,0,0),(0,o.startOfWeek)(h,t)};var r=n("23459"),i=n("95173"),o=n("74031"),a=n("64133")},80417:function(e,t,n){"use strict";t.startOfYear=function(e){let t=(0,r.toDate)(e),n=(0,i.constructFrom)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n};var r=n("35498"),i=n("23459")},91895:function(e,t){"use strict";t.startOfYesterday=function(){let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r-1),i.setHours(0,0,0,0),i}},38508:function(e,t,n){"use strict";t.sub=function(e,t){let{years:n=0,months:a=0,weeks:s=0,days:l=0,hours:c=0,minutes:u=0,seconds:d=0}
1=t,f=(0,i.subMonths)(e,a+12*n),h=(0,r.subDays)(f,l+7*s);return(0,o.constructFrom)(e,h.getTime()-1e3*(d+60*(u+60*c)))};var r=n("28834"),i=n("54758"),o=n("23459")},46593:function(e,t,n){"use strict";t.subBusinessDays=function(e,t){return(0,r.addBusinessDays)(e,-t)};var r=n("94069")},28834:function(e,t,n){"use strict";t.subDays=function(e,t){return(0,r.addDays)(e,-t)};var r=n("69535")},49253:function(e,t,n){"use strict";t.subHours=function(e,t){return(0,r.addHours)(e,-t)};var r=n("51512")},72945:function(e,t,n){"use strict";t.subISOWeekYears=function(e,t){return(0,r.addISOWeekYears)(e,-t)};var r=n("60991")},92827:function(e,t,n){"use strict";t.subMilliseconds=function(e,t){return(0,r.addMilliseconds)(e,-t)};var r=n("76381")},27711:function(e,t,n){"use strict";t.subMinutes=function(e,t){return(0,r.addMinutes)(e,-t)};var r=n("69826")},54758:function(e,t,n){"use strict";t.subMonths=function(e,t){return(0,r.addMonths)(e,-t)};var r=n("80157")},89735:function(e,t,n){"use strict";t.subQuarters=function(e,t){return(0,r.addQuarters)(e,-t)};var r=n("30577")},87847:function(e,t,n){"use strict";t.subSeconds=function(e,t){return(0,r.addSeconds)(e,-t)};var r=n("7294")},46265:function(e,t,n){"use strict";t.subWeeks=function(e,t){return(0,r.addWeeks)(e,-t)};var r=n("53246")},50053:function(e,t,n){"use strict";t.subYears=function(e,t){return(0,r.addYears)(e,-t)};var r=n("96797")},35498:function(e,t){"use strict";t.toDate=function(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}},61337:function(e,t,n){"use strict";t.transpose=function(e,t){let n=t instanceof Date?(0,r.constructFrom)(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n};var r=n("23459")},27144:function(e,t,n){"use strict";t.weeksToDays=function(e){return Math.trunc(e*r.daysInWeek)};var r=n("62696")},38390:function(e,t,n){"use strict";t.yearsToDays=function(e){return Math.trunc(e*r.daysInYear)};var r=n("62696")},98086:function(e,t,n){"use strict";t.yearsToMonths=function(e){return Math.trunc(e*r.monthsInYear)};var r=n("62696")},63265:function(e,t,n){"use strict";t.yearsToQuarters=function(e){return Math.trunc(e*r.quartersInYear)};var r=n("62696")},1361:function(e){function t(e){if(!e)return"";if(!/\r/.test(e))return e;for(e=e.replace(/\r+\n/gm,"\n");/\r./.test(e);)e=e.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm,function(e,t,n){return n+t.slice(n.length)});return e}function n(e){if(!/\r/.test(e))return e;for(var t=e.split("\r"),n=[];t.length>0;){var r=function(e){for(var t=0,n=0;n<e.length;n++)e[t].length<=e[n].length&&(t=n);return t}(t);n.push(t[r]),t=t.slice(r+1)}return n.join("\r")}e.exports=t,e.exports.escapeCarriageReturn=t,e.exports.escapeCarriageReturnSafe=function(e){if(!e)return"";if(!/\r/.test(e))return e;if(!/\n/.test(e))return n(e);var r=(e=e.replace(/\r+\n/gm,"\n")).lastIndexOf("\n");return t(e.slice(0,r))+"\n"+n(e.slice(r+1))}},57084:function(e,t,n){"use strict";var r=n("19935"),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var O=a[g];if(!o[O]&&!(r&&r[O])&&!(m&&m[O])&&!(s&&s[O])){var v=f(n,O);try{c(t,O,v)}catch(e){}}}}return t}},65840:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){!("isIntersecting"in window.IntersectionObserverEntry.prototype)&&Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var e=window.document,t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return!n&&(n=function(e,n){r=e&&n?d(e,n):c(),t.forEach(function(e){e._checkForIntersections()})}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return!Array.isArray(t)&&(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(!!n){if(-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,o=null;if(this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(a(n,"resize",r,!0),a(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),s(e,"resize",r,!0)),s(t,"scroll",r,!0),o&&o.disconnect()}),t!=(this.root&&this.root.ownerDocument||e)){var l=p(t);l&&this._monitorIntersections(l.ownerDocument)}}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=p(n);if((n=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=r){var o=p(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():c();
1this._observationTargets.forEach(function(r){var o=r.element,a=l(o),s=this._rootContainsTarget(o),c=r.entry,u=e&&s&&this._computeTargetAndRootIntersection(o,a,t),d=r.entry=new i({time:function(){return window.performance&&performance.now&&performance.now()}(),target:o,boundingClientRect:a,rootBounds:n&&!this.root?null:t,intersectionRect:u});c?e&&s?this._hasCrossedThreshold(c,d)&&this._queuedEntries.push(d):c&&c.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(t,i,o){if("none"!=window.getComputedStyle(t).display){for(var a=i,s=h(t),c=!1;!c&&s;){var u=null,f=1==s.nodeType?window.getComputedStyle(s):{};if("none"==f.display)return null;if(s==this.root||9==s.nodeType){if(c=!0,s==this.root||s==e)n&&!this.root?r&&(0!=r.width||0!=r.height)?u=r:(s=null,u=null,a=null):u=o;else{var p=h(s),m=p&&l(p),g=p&&this._computeTargetAndRootIntersection(p,m,o);m&&g?(s=p,u=d(m,g)):(s=null,a=null)}}else{var O=s.ownerDocument;s!=O.body&&s!=O.documentElement&&"visible"!=f.overflow&&(u=l(s))}if(u&&(a=function(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}||null}(u,a)),!a)break;s=s&&h(s)}return a}},o.prototype._getRootRect=function(){var t;if(this.root)t=l(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||f(e,this.root)},o.prototype._rootContainsTarget=function(t){return f(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},o.prototype._registerInstance=function(){0>t.indexOf(this)&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=i}function i(e){this.time=e.time,this.target=e.target,this.rootBounds=u(e.rootBounds),this.boundingClientRect=u(e.boundingClientRect),this.intersectionRect=u(e.intersectionRect||c()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(e,t){var n=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){!n&&(n=setTimeout(function(){e(),n=null},t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function s(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function l(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(!(t.width&&t.height)&&(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function f(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?p(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function p(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}}()},2048:function(e,t,n){e=n.nmd(e);
vendor: 4,415 bytes, line 1
1var r=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function i(e,t){if(!r[e]){r[e]={};for(var n=0;n<e.length;n++)r[e][e.charAt(n)]=n}return r[e][t]}var o={compressToBase64:function(e){if(null==e)return"";var n=o._compress(e,6,function(e){return t.charAt(e)});switch(n.length%4){default:case 0:return n;case 1:return n+"===";case 2:return n+"==";case 3:return n+"="}},decompressFromBase64:function(e){return null==e?"":""==e?null:o._decompress(e.length,32,function(n){return i(t,e.charAt(n))})},compressToUTF16:function(t){return null==t?"":o._compress(t,15,function(t){return e(t+32)})+" "},decompressFromUTF16:function(e){return null==e?"":""==e?null:o._decompress(e.length,16384,function(t){return e.charCodeAt(t)-32})},compressToUint8Array:function(e){for(var t=o.compress(e),n=new Uint8Array(2*t.length),r=0,i=t.length;r<i;r++){var a=t.charCodeAt(r);n[2*r]=a>>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(t){if(null==t)return o.decompress(t);for(var n=Array(t.length/2),r=0,i=n.length;r<i;r++)n[r]=256*t[2*r]+t[2*r+1];var a=[];return n.forEach(function(t){a.push(e(t))}),o.decompress(a.join(""))},compressToEncodedURIComponent:function(e){return null==e?"":o._compress(e,6,function(e){return n.charAt(e)})},decompressFromEncodedURIComponent:function(e){return null==e?"":""==e?null:(e=e.replace(/ /g,"+"),o._decompress(e.length,32,function(t){return i(n,e.charAt(t))}))},compress:function(t){return o._compress(t,16,function(t){return e(t)})},_compress:function(e,t,n){if(null==e)return"";var r,i,o,a={},s={},l="",c="",u="",d=2,f=3,h=2,p=[],m=0,g=0;for(o=0;o<e.length;o+=1)if(l=e.charAt(o),!Object.prototype.hasOwnProperty.call(a,l)&&(a[l]=f++,s[l]=!0),c=u+l,Object.prototype.hasOwnProperty.call(a,c))u=c;else{if(Object.prototype.hasOwnProperty.call(s,u)){if(256>u.charCodeAt(0)){for(r=0;r<h;r++)m<<=1,g==t-1?(g=0,p.push(n(m)),m=0):g++;for(r=0,i=u.charCodeAt(0);r<8;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1}else{for(r=0,i=1;r<h;r++)m=m<<1|i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i=0;for(r=0,i=u.charCodeAt(0);r<16;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1}0==--d&&(d=Math.pow(2,h),h++),delete s[u]}else for(r=0,i=a[u];r<h;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1;0==--d&&(d=Math.pow(2,h),h++),a[c]=f++,u=String(l)}if(""!==u){if(Object.prototype.hasOwnProperty.call(s,u)){if(256>u.charCodeAt(0)){for(r=0;r<h;r++)m<<=1,g==t-1?(g=0,p.push(n(m)),m=0):g++;for(r=0,i=u.charCodeAt(0);r<8;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1}else{for(r=0,i=1;r<h;r++)m=m<<1|i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i=0;for(r=0,i=u.charCodeAt(0);r<16;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1}0==--d&&(d=Math.pow(2,h),h++),delete s[u]}else for(r=0,i=a[u];r<h;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1;0==--d&&(d=Math.pow(2,h),h++)}for(r=0,i=2;r<h;r++)m=m<<1|1&i,g==t-1?(g=0,p.push(n(m)),m=0):g++,i>>=1;for(;;){if(m<<=1,g==t-1){p.push(n(m));break}g++}return p.join("")},decompress:function(e){return null==e?"":""==e?null:o._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var i,o,a,s,l,c,u,d,f=[],h=4,p=4,m=3,g="",O=[],v={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;for(s=0,c=4,u=1;u!=c;)l=v.val&v.position,v.position>>=1,0==v.position&&(v.position=n,v.val=r(v.index++)),s|=(l>0?1:0)*u,u<<=1;switch(s){case 0:for(s=0,c=256,u=1;u!=c;)l=v.val&v.position,v.position>>=1,0==v.position&&(v.position=n,v.val=r(v.index++)),s|=(l>0?1:0)*u,u<<=1;d=e(s);break;case 1:for(s=0,c=65536,u=1;u!=c;)l=v.val&v.position,v.position>>=1,0==v.position&&(v.position=n,v.val=r(v.index++)),s|=(l>0?1:0)*u,u<<=1;d=e(s);break;case 2:return""}for(f[3]=d,a=d,O.push(d);;){if(v.index>t)return"";for(s=0,c=Math.pow(2,m),u=1;u!=c;)l=v.val&v.position,v.position>>=1,0==v.position&&(v.position=n,v.val=r(v.index++)),s|=(l>0?1:0)*u,u<<=1;switch(d=s){case 0:for(s=0,c=256,u=1;u!=c;)l=v.val&v.position,v.position>>=1,0==v.position&&(v.position=n,v.val=r(v.index++)),s|=(l>0?1:0)*u,u<<=1;f[p++]=e(s),d=p-1,h--;break;case 1:for(s=0,c=65536,u=1;u!=c;)l=v.val&v.position,v.position>>=1,0==v.position&&(v.position=n,v.val=r(v.index++)),s|=(l>0?1:0)*u,u<<=1;f[p++]=e(s),d=p-1,h--;break;case 2:return O.join("")}if(0==h&&(h=Math.pow(2,m),m++),f[d])g=f[d];else{if(d!==p)return null;g=a+a.charAt(0)}
1O.push(g),f[p++]=a+g.charAt(0),h--,a=g,0==h&&(h=Math.pow(2,m),m++)}}};return o}();"function"==typeof define&&define.amd?define(function(){return r}):null!=e?e.exports=r:"undefined"!=typeof angular&&null!=angular&&angular.module("LZString",[]).factory("LZString",function(){return r})},52541:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var n,i,o=0;o<e.length;o++){;if(n=e[o],!(n===(i=t[o])||r(n)&&r(i)))return!1}return!0}function o(e,t){void 0===t&&(t=i);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}},64434:function(e){"use strict";function t(e){if(null===e)return"null";if(void 0===e)return"undefined";if("object"==typeof e)return Array.isArray(e)?"array":"object";return typeof e}function n(e){return"object"===t(e)?i(e):"array"===t(e)?function(e){return e.map(n)}(e):e}function r(e){return e.map(n)}function i(e){let t={};for(let r in e)e.hasOwnProperty(r)&&(t[r]=n(e[r]));return t}function o(e,r=[],a={}){let s={arrayBehaviour:a.arrayBehaviour||"replace"},l=r.map(e=>e||{}),c=e||{};for(let e=0;e<l.length;e++){let r=l[e],a=Object.keys(r);for(let e=0;e<a.length;e++){let l=a[e],u=r[l],d=t(u),f=t(c[l]);if("object"===d){if("undefined"!==f){let e="object"===f?c[l]:{};c[l]=o({},[e,i(u)],s)}else c[l]=i(u)}else if("array"===d){if("array"===f){let e=u.map(n);c[l]="merge"===s.arrayBehaviour?c[l].concat(e):e}else c[l]=u.map(n)}else c[l]=u}}return c}e.exports=function(e,...t){return o(e,t)},e.exports.noMutate=function(...e){return o({},e)},e.exports.withOptions=function(e,t,n){return o(e,t,n)}},47019:function(e,t,n){var r,i;r=this,i=function(e,t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,O,v,b,y,x,w,S,k,P,M,j,C,_,T,D,E,Q,$,R,Z,I,A,N,L,z,F,V,W,Y,X,B,q,U,H,G,J,K,ee,et,en,er,ei,eo,ea,es,el,ec,eu){"use strict";function ed(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var ef=ed(n),eh=ed(eu),ep=function(e,t){return(ep=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function em(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ep(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var eg=function(){return(eg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function eO(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var ev,eb=function(e){var t=e.showTimeSelectOnly,n=e.showTime,r=e.className,i=e.children;return ef.default.createElement("div",{className:r,role:"dialog","aria-label":void 0!==t&&t?"Choose Time":"Choose Date".concat(void 0!==n&&n?" and Time":""),"aria-modal":"true"},i)},ey=function(e){var t,r,i,o,a,s=e.children,l=e.onClickOutside,c=e.className,u=e.containerRef,d=e.style,f=(t=l,r=e.ignoreClass,i=n.useRef(null),(o=n.useRef(t)).current=t,a=n.useCallback(function(e){var t;i.current&&!i.current.contains(e.target)&&(r&&e.target instanceof HTMLElement&&e.target.classList.contains(r)||null===(t=o.current)||void 0===t||t.call(o,e))},[r]),n.useEffect(function(){return document.addEventListener("mousedown",a),function(){document.removeEventListener("mousedown",a)}},[a]),i);return ef.default.createElement("div",{className:c,style:d,ref:function(e){f.current=e,u&&(u.current=e)}},s)};function ex(){return"undefined"!=typeof window?window:globalThis}(ts=ev||(ev={})).ArrowUp="ArrowUp",ts.ArrowDown="ArrowDown",ts.ArrowLeft="ArrowLeft",ts.ArrowRight="ArrowRight",ts.PageUp="PageUp",ts.PageDown="PageDown",ts.Home="Home",ts.End="End",ts.Enter="Enter",ts.Space=" ",ts.Tab="Tab",ts.Escape="Escape",ts.Backspace="Backspace",ts.X="x";var ew=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function eS(e){if(null==e)return new Date;var t="string"==typeof e?W.parseISO(e):el.toDate(e);return eP(t)?t:new Date}function ek(e,t,n,r,i){var o,a=null,s=eV(n)||eV(eF()),l=!0;if(Array.isArray(t))return t.forEach(function(t){var o=V.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(l=eP(o,i)&&e===eM(o,t,n)),eP(o,i)&&l&&(a=o)}),a;if(a=V.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r)l=eP(a)&&e===eM(a,t,n);else if(!eP(a)){var c=(null!==(o=t.match(ew))&&void 0!==o?o:[]).map(function(e){var t=e[0];if("p"===t||"P"===t){var n=y.longFormatters[t];return s?n(e,s.formatLong):t}return e}).join("");e.length>0&&(a=V.parse(e,c.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),eP(a)||(a=new Date(e))}return eP(a)&&l?a:null}function eP(e,t){return N.isValid(e)&&!E.isBefore(e,null!=t?t:new Date("1/1/1800"))}function eM(e,t,n){if("en"===n)return y.format(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?eV(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&eF()&&eV(eF())&&(r=eV(eF())),y.format(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function ej(e,t){var n=t.dateFormat,r=t.locale,i=Array.isArray(n)&&n.length>0?n[0]:n;return e&&eM(e,i,r)||""}function eC(e,t){var n=t.hour,r=t.minute,i=t.second;return X.setHours(B.setMinutes(H.setSeconds(e,void 0===i?0:i),void 0===r?0:r),void 0===n?0:n)}function e_(e){return J.startOfDay(e)}function eT(e,t,n){var r=eV(t||eF());return et.startOfWeek(e,{locale:r,weekStartsOn:n})}function eD(e){return K.startOfMonth(e)}function eE(e){return en.startOfYear(e)}function eQ(e){return ee.startOfQuarter(e)}function e$(){return J.startOfDay(eS())}function eR(e){return g.endOfDay(e)}function eZ(e,t){return e&&t?A.isSameYear(e,t):!e&&!t}function eI(e,t){return e&&t?Z.isSameMonth(e,t):!e&&!t}function eA(e,t){return e&&t?I.isSameQuarter(e,t):!e&&!t}function eN(e,t){return e&&t?R.isSameDay(e,t):!e&&!t}function eL(e,t){return e&&t?$.isEqual(e,t):!e&&!t}function ez(e,t,n){var r,i=J.startOfDay(t),o=g.endOfDay(n);try{r=L.isWithinInterval(e,{start:i,end:o})}catch(e){r=!1}return r}function eF(){return ex().__localeId__}function eV(e){if("string"==typeof e){var t=ex();return t.__localeData__?t.__localeData__[e]:void 0}return e}function eW(e,t){return eM(q.setMonth(eS(),e),"LLLL",t)}function eY(e,t){return eM(q.setMonth(eS(),e),"LLL",t)}function eX(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.excludeDateIntervals,s=n.includeDates,l=n.includeDateIntervals,c=n.filterDate;return e0(e,{minDate:r,maxDate:i})||o&&o.some(function(t){return t instanceof Date?eN(e,t):eN(e,t.date)})||a&&a.some(function(t){var n=t.start,r=t.end;return L.isWithinInterval(e,{start:n,end:r})})||s&&!s.some(function(t){return eN(e,t)})||l&&!l.some(function(t){var n=t.start,r=t.end;return L.isWithinInterval(e,{start:n,end:r})})||c&&!c(eS(e))||!1}function eB(e,t){var n=void 0===t?{}:t,r=n.excludeDates,i=n.excludeDateIntervals;return i&&i.length>0?i.some(function(t){var n=t.start,r=t.end;return L.isWithinInterval(e,{start:n,end:r})}
1):r&&r.some(function(t){var n;return t instanceof Date?eN(e,t):eN(e,null!==(n=t.date)&&void 0!==n?n:new Date)})||!1}function eq(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate;return e0(e,{minDate:r?K.startOfMonth(r):void 0,maxDate:i?O.endOfMonth(i):void 0})||(null==o?void 0:o.some(function(t){return eI(e,t instanceof Date?t:t.date)}))||a&&!a.some(function(t){return eI(e,t)})||s&&!s(eS(e))||!1}function eU(e,t,n,r){var i=T.getYear(e),o=M.getMonth(e),a=T.getYear(t),s=M.getMonth(t),l=T.getYear(r);return i===a&&i===l?o<=n&&n<=s:i<a&&(l===i&&o<=n||l===a&&s>=n||l<a&&l>i)}function eH(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate;return e0(e,{minDate:r,maxDate:i})||(null==o?void 0:o.some(function(t){return eA(e,t instanceof Date?t:t.date)}))||a&&!a.some(function(t){return eA(e,t)})||s&&!s(eS(e))||!1}function eG(e,t,n){if(!t||!n||!N.isValid(t)||!N.isValid(n))return!1;var r=T.getYear(t),i=T.getYear(n);return r<=e&&i>=e}function eJ(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate,l=new Date(e,0,1);return e0(l,{minDate:r?en.startOfYear(r):void 0,maxDate:i?b.endOfYear(i):void 0})||(null==o?void 0:o.some(function(e){return eZ(l,e instanceof Date?e:e.date)}))||a&&!a.some(function(e){return eZ(l,e)})||s&&!s(eS(l))||!1}function eK(e,t,n,r){var i=T.getYear(e),o=j.getQuarter(e),a=T.getYear(t),s=j.getQuarter(t),l=T.getYear(r);return i===a&&i===l?o<=n&&n<=s:i<a&&(l===i&&o<=n||l===a&&s>=n||l<a&&l>i)}function e0(e,t){var n,r=void 0===t?{}:t,i=r.minDate,o=r.maxDate;return null!==(n=i&&0>f.differenceInCalendarDays(e,i)||o&&f.differenceInCalendarDays(e,o)>0)&&void 0!==n&&n}function e1(e,t){return t.some(function(t){return S.getHours(t)===S.getHours(e)&&P.getMinutes(t)===P.getMinutes(e)&&C.getSeconds(t)===C.getSeconds(e)})}function e2(e,t){var n=void 0===t?{}:t,r=n.excludeTimes,i=n.includeTimes,o=n.filterTime;return r&&e1(e,r)||i&&!e1(e,i)||o&&!o(e)||!1}function e5(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw Error("Both minTime and maxTime props required");var i=eS();i=X.setHours(i,S.getHours(e)),i=B.setMinutes(i,P.getMinutes(e)),i=H.setSeconds(i,C.getSeconds(e));var o=eS();o=X.setHours(o,S.getHours(n)),o=B.setMinutes(o,P.getMinutes(n)),o=H.setSeconds(o,C.getSeconds(n));var a,s=eS();s=X.setHours(s,S.getHours(r)),s=B.setMinutes(s,P.getMinutes(r)),s=H.setSeconds(s,C.getSeconds(r));try{a=!L.isWithinInterval(i,{start:o,end:s})}catch(e){a=!1}return a}function e3(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=ei.subMonths(e,1);return r&&h.differenceInCalendarMonths(r,o)>0||i&&i.every(function(e){return h.differenceInCalendarMonths(e,o)>0})||!1}function e4(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=s.addMonths(e,1);return r&&h.differenceInCalendarMonths(o,r)>0||i&&i.every(function(e){return h.differenceInCalendarMonths(o,e)>0})||!1}function e6(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=es.subYears(e,1);return r&&m.differenceInCalendarYears(r,o)>0||i&&i.every(function(e){return m.differenceInCalendarYears(e,o)>0})||!1}function e9(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=d.addYears(e,1);return r&&m.differenceInCalendarYears(o,r)>0||i&&i.every(function(e){return m.differenceInCalendarYears(o,e)>0})||!1}function e8(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(e){return f.differenceInCalendarDays(e,t)>=0});return F.min(r)}return n?F.min(n):t}function e7(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(e){return 0>=f.differenceInCalendarDays(e,t)});return z.max(r)}return n?z.max(n):t}function te(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var r=new Map,i=0,o=e.length;i<o;i++){var a=e[i];if(Q.isDate(a)){var s=eM(a,"MM.dd.yyyy");(f=r.get(s)||[]).includes(t)||(f.push(t),r.set(s,f))}else if("object"==typeof a){var l=null!==(n=Object.keys(a)[0])&&void 0!==n?n:"",c=a[l];if("string"==typeof l&&Array.isArray(c))for(var u=0,d=c.length;u<d;u++){var f,h=c[u];h&&(s=eM(h,"MM.dd.yyyy"),(f=r.get(s)||[]).includes(l)||(f.push(l),r.set(s,f)))}}}return r}function tt(e){return e<10?"0".concat(e):"".concat(e)}function tn(e,t){void 0===t&&(t=12);var n=Math.ceil(T.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function tr(e){var t=e.getSeconds(),n=e.getMilliseconds();return el.toDate(e.getTime()-1e3*t-n)}function ti(e){if(!Q.isDate(e))throw Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function to(e,t){if(!Q.isDate(e)||!Q.isDate(t))throw Error("Invalid date received");var n=ti(e),r=ti(t);return E.isBefore(n,r)}function ta(e){return e.key===ev.Space}var ts,tl,tc=function(e){function t(t){var r=e.call(this,t)||this;return r.inputRef=ef.default.createRef(),r.onTimeChange=function(e){r.setState({time:e});var t,n,i=r.props.date,o=i instanceof Date&&!isNaN(+i)?i:new Date;if(null==e?void 0:e.includes(":")){var a=e.split(":"),s=a[0],l=a[1];o.setHours(Number(s)),o.setMinutes(Number(l))}null===(n=(t=r.props).onChange)||void 0===n||n.call(t,o)}
vendor: 4,856 bytes, line 1
1,r.renderTimeInput=function(){var e=r.state.time,t=r.props,i=t.date,o=t.timeString,a=t.customTimeInput;return a?n.cloneElement(a,{date:i,value:e,onChange:r.onTimeChange}):ef.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var e;null===(e=r.inputRef.current)||void 0===e||e.focus()},required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})},r.state={time:r.props.timeString},r}return em(t,e),t.getDerivedStateFromProps=function(e,t){return e.timeString!==t.time?{time:e.timeString}:null},t.prototype.render=function(){return ef.default.createElement("div",{className:"react-datepicker__input-time-container"},ef.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),ef.default.createElement("div",{className:"react-datepicker-time__input-container"},ef.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(n.Component),tu=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.dayEl=n.createRef(),r.handleClick=function(e){!r.isDisabled()&&r.props.onClick&&r.props.onClick(e)},r.handleMouseEnter=function(e){!r.isDisabled()&&r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleOnKeyDown=function(e){var t,n;e.key===ev.Space&&(e.preventDefault(),e.key=ev.Enter),null===(n=(t=r.props).handleOnKeyDown)||void 0===n||n.call(t,e)},r.isSameDay=function(e){return eN(r.props.day,e)},r.isKeyboardSelected=function(){if(r.props.disabledKeyboardNavigation)return!1;var e,t=r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some(function(e){return r.isSameDayOrWeek(e)}):r.isSameDayOrWeek(r.props.selected),n=r.props.preSelection&&r.isDisabled(r.props.preSelection);return!t&&r.isSameDayOrWeek(r.props.preSelection)&&!n},r.isDisabled=function(e){return void 0===e&&(e=r.props.day),eX(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(){return eB(r.props.day,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.isStartOfWeek=function(){return eN(r.props.day,eT(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameWeek=function(e){return r.props.showWeekPicker&&eN(e,eT(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameDayOrWeek=function(e){return r.isSameDay(e)||r.isSameWeek(e)},r.getHighLightedClass=function(){var e=r.props,t=e.day,n=e.highlightDates;if(!n)return!1;var i=eM(t,"MM.dd.yyyy");return n.get(i)},r.getHolidaysClass=function(){var e,t=r.props,n=t.day,i=t.holidays;if(!i)return[void 0];var o=eM(n,"MM.dd.yyyy");return i.has(o)?[null===(e=i.get(o))||void 0===e?void 0:e.className]:[void 0]},r.isInRange=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&ez(t,n,i)},r.isInSelectingRange=function(){var e,t=r.props,n=t.day,i=t.selectsStart,o=t.selectsEnd,a=t.selectsRange,s=t.selectsDisabledDaysInRange,l=t.startDate,c=t.endDate,u=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return!(!(i||o||a)||!u||!s&&r.isDisabled())&&(i&&c&&(E.isBefore(u,c)||eL(u,c))?ez(n,u,c):(o&&l&&(D.isAfter(u,l)||eL(u,l))||!(!a||!l||c||!D.isAfter(u,l)&&!eL(u,l)))&&ez(n,l,u))},r.isSelectingRangeStart=function(){if(!r.isInSelectingRange())return!1;var e,t=r.props,n=t.day,i=t.startDate,o=t.selectsStart,a=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return eN(n,o?a:i)},r.isSelectingRangeEnd=function(){if(!r.isInSelectingRange())return!1;var e,t=r.props,n=t.day,i=t.endDate,o=t.selectsEnd,a=t.selectsRange,s=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return eN(n,o||a?s:i)},r.isRangeStart=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&eN(n,t)},r.isRangeEnd=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&eN(i,t)},r.isWeekend=function(){var e=w.getDay(r.props.day);return 0===e||6===e},r.isAfterMonth=function(){return void 0!==r.props.month&&(r.props.month+1)%12===M.getMonth(r.props.day)},r.isBeforeMonth=function(){return void 0!==r.props.month&&(M.getMonth(r.props.day)+1)%12===r.props.month},r.isCurrentDay=function(){return r.isSameDay(eS())},r.isSelected=function(){var e;return r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some(function(e){return r.isSameDayOrWeek(e)}):r.isSameDayOrWeek(r.props.selected)},r.getClassNames=function(e){var n,i=r.props.dayClassName?r.props.dayClassName(e):void 0;return t.clsx("react-datepicker__day",i,"react-datepicker__day--"+eM(r.props.day,"ddd",n),{"react-datepicker__day--disabled":r.
vendor: 2,388 bytes, line 1
1isDisabled(),"react-datepicker__day--excluded":r.isExcluded(),"react-datepicker__day--selected":r.isSelected(),"react-datepicker__day--keyboard-selected":r.isKeyboardSelected(),"react-datepicker__day--range-start":r.isRangeStart(),"react-datepicker__day--range-end":r.isRangeEnd(),"react-datepicker__day--in-range":r.isInRange(),"react-datepicker__day--in-selecting-range":r.isInSelectingRange(),"react-datepicker__day--selecting-range-start":r.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":r.isSelectingRangeEnd(),"react-datepicker__day--today":r.isCurrentDay(),"react-datepicker__day--weekend":r.isWeekend(),"react-datepicker__day--outside-month":r.isAfterMonth()||r.isBeforeMonth()},r.getHighLightedClass(),r.getHolidaysClass())},r.getAriaLabel=function(){var e=r.props,t=e.day,n=e.ariaLabelPrefixWhenEnabled,i=e.ariaLabelPrefixWhenDisabled,o=r.isDisabled()||r.isExcluded()?void 0===i?"Not available":i:void 0===n?"Choose":n;return"".concat(o," ").concat(eM(t,"PPPP",r.props.locale))},r.getTitle=function(){var e=r.props,t=e.day,n=e.holidays,i=void 0===n?new Map:n,o=e.excludeDates,a=eM(t,"MM.dd.yyyy"),s=[];return i.has(a)&&s.push.apply(s,i.get(a).holidayNames),r.isExcluded()&&s.push(null==o?void 0:o.filter(function(e){return e instanceof Date?eN(e,t):eN(null==e?void 0:e.date,t)}).map(function(e){if(!(e instanceof Date))return null==e?void 0:e.message})),s.join(", ")},r.getTabIndex=function(){var e=r.props.selected,t=r.props.preSelection;return(!r.props.showWeekPicker||!r.props.showWeekNumber&&r.isStartOfWeek())&&(r.isKeyboardSelected()||r.isSameDay(e)&&eN(t,e))?0:-1},r.handleFocusDay=function(){var e;r.shouldFocusDay()&&(null===(e=r.dayEl.current)||void 0===e||e.focus({preventScroll:!0}))},r.renderDayContents=function(){return r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()||r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()?null:r.props.renderDayContents?r.props.renderDayContents(x.getDate(r.props.day),r.props.day):x.getDate(r.props.day)},r.render=function(){return ef.default.createElement("div",{ref:r.dayEl,className:r.getClassNames(r.props.day),onKeyDown:r.handleOnKeyDown,onClick:r.handleClick,onMouseEnter:r.props.usePointerEvent?void 0:r.handleMouseEnter,onPointerEnter:r.props.usePointerEvent?r.handleMouseEnter:void 0,tabIndex:r.getTabIndex(),"aria-label":r.getAriaLabel(),role:"option",title:r.getTitle(),"aria-disabled":r.
vendor: 4,569 bytes, line 1
1isDisabled(),"aria-current":r.isCurrentDay()?"date":void 0,"aria-selected":r.isSelected()||r.isInRange()},r.renderDayContents(),""!==r.getTitle()&&ef.default.createElement("span",{className:"overlay"},r.getTitle()))},r}return em(r,e),r.prototype.componentDidMount=function(){this.handleFocusDay()},r.prototype.componentDidUpdate=function(){this.handleFocusDay()},r.prototype.shouldFocusDay=function(){var e=!1;return 0===this.getTabIndex()&&this.isSameDay(this.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},r.prototype.isDayActiveElement=function(){var e,t,n;return(null===(t=null===(e=this.props.containerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.contains(document.activeElement))&&(null===(n=document.activeElement)||void 0===n?void 0:n.classList.contains("react-datepicker__day"))},r.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},r}(n.Component),td=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.weekNumberEl=n.createRef(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var n,r;e.key===ev.Space&&(e.preventDefault(),e.key=ev.Enter),null===(r=(n=t.props).handleOnKeyDown)||void 0===r||r.call(n,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!eN(t.props.date,t.props.selected)&&eN(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||eN(t.props.date,t.props.selected)&&eN(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var n=!1;0===t.getTabIndex()&&!(null==e?void 0:e.isInputFocused)&&eN(t.props.date,t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return em(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},r.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},r.prototype.render=function(){var e=this.props,n=e.weekNumber,i=e.ariaLabelPrefix,o=void 0===i?r.defaultProps.ariaLabelPrefix:i,a=e.onClick,s={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!a,"react-datepicker__week-number--selected":!!a&&eN(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return ef.default.createElement("div",{ref:this.weekNumberEl,className:t.clsx(s),"aria-label":"".concat(o," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},n)},r}(n.Component),tf=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.isDisabled=function(e){return eX(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.handleDayClick=function(e,n){t.props.onDayClick&&t.props.onDayClick(e,n)},t.handleDayMouseEnter=function(e){t.props.onDayMouseEnter&&t.props.onDayMouseEnter(e)},t.handleWeekClick=function(e,r,i){for(var o,a,s,l=new Date(e),c=0;c<7;c++){var u=new Date(e);if(u.setDate(u.getDate()+c),!t.isDisabled(u)){l=u;break}}"function"==typeof t.props.onWeekSelect&&t.props.onWeekSelect(l,r,i),t.props.showWeekPicker&&t.handleDayClick(l,i),(null!==(o=t.props.shouldCloseOnSelect)&&void 0!==o?o:n.defaultProps.shouldCloseOnSelect)&&(null===(s=(a=t.props).setOpen)||void 0===s||s.call(a,!1))},t.formatWeekNumber=function(e){var n;return t.props.formatWeekNumber?t.props.formatWeekNumber(e):(n=e,k.getISOWeek(n))},t.renderDays=function(){var e=t.startOfWeek(),r=[],o=t.formatWeekNumber(e);if(t.props.showWeekNumber){var a=t.props.onWeekSelect||t.props.showWeekPicker?t.handleWeekClick.bind(t,e,o):void 0;
vendor: 2,177 bytes, line 1
1r.push(ef.default.createElement(td,eg({key:"W"},n.defaultProps,t.props,{weekNumber:o,date:e,onClick:a})))}return r.concat([0,1,2,3,4,5,6].map(function(r){var o=i.addDays(e,r);return ef.default.createElement(tu,eg({},n.defaultProps,t.props,{ariaLabelPrefixWhenEnabled:t.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:t.props.disabledDayAriaLabelPrefix,key:o.valueOf(),day:o,onClick:t.handleDayClick.bind(t,o),onMouseEnter:t.handleDayMouseEnter.bind(t,o)}))}))},t.startOfWeek=function(){return eT(t.props.day,t.props.locale,t.props.calendarStartDay)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!eN(t.startOfWeek(),t.props.selected)&&eN(t.startOfWeek(),t.props.preSelection)},t}return em(n,e),Object.defineProperty(n,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),n.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":eN(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return ef.default.createElement("div",{className:t.clsx(e)},this.renderDays())},n}(n.Component),th="two_columns",tp="three_columns",tm="four_columns",tg=((tl={})[th]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},tl[tp]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},tl[tm]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},tl);function tO(e,t){return e?tm:t?th:tp}var tv=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.MONTH_REFS=eO([],Array(12),!0).map(function(){return n.createRef()}),r.QUARTER_REFS=eO([],[,,,,],!0).map(function(){return n.createRef()}),r.isDisabled=function(e){return eX(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(e){return eB(e,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.handleDayClick=function(e,t){var n,i;
vendor: 7,229 bytes, line 1
1null===(i=(n=r.props).onDayClick)||void 0===i||i.call(n,e,t,r.props.orderInDisplay)},r.handleDayMouseEnter=function(e){var t,n;null===(n=(t=r.props).onDayMouseEnter)||void 0===n||n.call(t,e)},r.handleMouseLeave=function(){var e,t;null===(t=(e=r.props).onMouseLeave)||void 0===t||t.call(e)},r.isRangeStartMonth=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&eI(q.setMonth(n,e),i)},r.isRangeStartQuarter=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&eA(U.setQuarter(n,e),i)},r.isRangeEndMonth=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&eI(q.setMonth(n,e),o)},r.isRangeEndQuarter=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&eA(U.setQuarter(n,e),o)},r.isInSelectingRangeMonth=function(e){var t,n=r.props,i=n.day,o=n.selectsStart,a=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?eU(u,c,e,i):(a&&l||!(!s||!l||c))&&eU(l,u,e,i))},r.isSelectingMonthRangeStart=function(e){if(!r.isInSelectingRangeMonth(e))return!1;var t,n=r.props,i=n.day,o=n.startDate,a=n.selectsStart,s=q.setMonth(i,e),l=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return eI(s,a?l:o)},r.isSelectingMonthRangeEnd=function(e){if(!r.isInSelectingRangeMonth(e))return!1;var t,n=r.props,i=n.day,o=n.endDate,a=n.selectsEnd,s=n.selectsRange,l=q.setMonth(i,e),c=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return eI(l,a||s?c:o)},r.isInSelectingRangeQuarter=function(e){var t,n=r.props,i=n.day,o=n.selectsStart,a=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?eK(u,c,e,i):(a&&l||!(!s||!l||c))&&eK(l,u,e,i))},r.isWeekInMonth=function(e){var t=r.props.day,n=i.addDays(e,6);return eI(e,t)||eI(n,t)},r.isCurrentMonth=function(e,t){return T.getYear(e)===T.getYear(eS())&&t===M.getMonth(eS())},r.isCurrentQuarter=function(e,t){return T.getYear(e)===T.getYear(eS())&&t===j.getQuarter(eS())},r.isSelectedMonth=function(e,t,n){return M.getMonth(n)===t&&T.getYear(e)===T.getYear(n)},r.isSelectMonthInList=function(e,t,n){return n.some(function(n){return r.isSelectedMonth(e,t,n)})},r.isSelectedQuarter=function(e,t,n){return j.getQuarter(e)===t&&T.getYear(e)===T.getYear(n)},r.renderWeeks=function(){for(var e,t,n=[],i=r.props.fixedHeight,o=0,a=!1,s=eT(eD(r.props.day),r.props.locale,r.props.calendarStartDay),l=r.props.selected?(e=r.props.selected,r.props.showWeekPicker?eT(e,r.props.locale,r.props.calendarStartDay):r.props.selected):void 0,c=r.props.preSelection?(t=r.props.preSelection,r.props.showWeekPicker?eT(t,r.props.locale,r.props.calendarStartDay):r.props.preSelection):void 0;n.push(ef.default.createElement(tf,eg({},r.props,{ariaLabelPrefix:r.props.weekAriaLabelPrefix,key:o,day:s,month:M.getMonth(r.props.day),onDayClick:r.handleDayClick,onDayMouseEnter:r.handleDayMouseEnter,selected:l,preSelection:c,showWeekNumber:r.props.showWeekNumbers}))),!a;){o++,s=u.addWeeks(s,1);var d=i&&o>=6,f=!i&&!r.isWeekInMonth(s);if(d||f){if(!r.props.peekNextMonth)break;a=!0}}return n},r.onMonthClick=function(e,t){var n=r.isMonthDisabledForLabelDate(t),i=n.isDisabled,o=n.labelDate;i||r.handleDayClick(eD(o),e)},r.onMonthMouseEnter=function(e){var t=r.isMonthDisabledForLabelDate(e),n=t.isDisabled,i=t.labelDate;n||r.handleDayMouseEnter(eD(i))},r.handleMonthNavigation=function(e,t){var n,i,o,a;null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,t),null===(a=null===(o=r.MONTH_REFS[e])||void 0===o?void 0:o.current)||void 0===a||a.focus()},r.handleKeyboardNavigation=function(e,t,n){var i,o=r.props,a=o.selected,l=o.preSelection,c=o.setPreSelection,u=o.minDate,d=o.maxDate,f=o.showFourColumnMonthYearPicker,h=o.showTwoColumnMonthYearPicker;if(l){var p,m,g=(p=f,m=h,p?tm:m?th:tp),O=r.getVerticalOffset(g),v=null===(i=tg[g])||void 0===i?void 0:i.grid,b=function(e,t,n){var r,i,o=t,a=n;switch(e){case ev.ArrowRight:o=s.addMonths(t,1),a=11===n?0:n+1;break;case ev.ArrowLeft:o=ei.subMonths(t,1),a=0===n?11:n-1;break;case ev.ArrowUp:o=ei.subMonths(t,O),a=(null===(r=null==v?void 0:v[0])||void 0===r?void 0:r.includes(n))?n+12-O:n-O;break;case ev.ArrowDown:o=s.addMonths(t,O),a=(null===(i=null==v?void 0:v[v.length-1])||void 0===i?void 0:i.includes(n))?n-12+O:n+O}return{newCalculatedDate:o,newCalculatedMonth:a}};if(t!==ev.Enter){var y=function(e,t,n){for(var i,o=e,a=!1,s=0,l=b(o,t,n),c=l.newCalculatedDate,f=l.newCalculatedMonth;!a;){if(s>=40){c=t,f=n;break}u&&c<u&&(c=(i=b(o=ev.ArrowRight,c,f)).newCalculatedDate,f=i.newCalculatedMonth),d&&c>d&&(c=(i=b(o=ev.ArrowLeft,c,f)).newCalculatedDate,f=i.newCalculatedMonth),function(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates;return e0(e,{minDate:r,maxDate:i})||o&&o.some(function(t){return eI(t instanceof Date?t:t.date,e)})||a&&!a.some(function(t){return eI(t,e)})||!1}(c,r.props)?(c=(i=b(o,c,f)).newCalculatedDate,f=i.newCalculatedMonth):a=!0,s++}return{newCalculatedDate:c,newCalculatedMonth:f}}(t,l,n),x=y.newCalculatedDate,w=y.newCalculatedMonth;switch(t){case ev.ArrowRight:case ev.ArrowLeft:case ev.ArrowUp:case ev.ArrowDown:r.handleMonthNavigation(w,x)}}else r.isMonthDisabled(n)||(r.onMonthClick(e,n),null==c||c(a))}},r.getVerticalOffset=function(e){var t,n;return null!==(n=null===(t=tg[e])||void 0===t?void 0:t.verticalNavigationOffset)&&void 0!==n?n:0},r.onMonthKeyDown=function(e,t){var n=r.props,i=n.disabledKeyboardNavigation,o=n.handleOnMonthKeyDown,a=e.key;a!==ev.Tab&&e.preventDefault(),i||r.handleKeyboardNavigation(e,a,t),o&&o(e)},r.onQuarterClick=function(e,t){var n=U.setQuarter(r.props.day,t);eH(n,r.props)||r.handleDayClick(eQ(n),e)},r.onQuarterMouseEnter=function(e){var t=U.setQuarter(r.props.day,e);eH(t,r.props)||r.handleDayMouseEnter(eQ(t))},r.handleQuarterNavigation=function(e,t){var n,i,o,a;r.isDisabled(t)||r.isExcluded(t)||(null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,t),null===(a=null===(o=r.QUARTER_REFS[e-1])||void 0===o?void 0:o.current)||void 0===a||a.focus())},r.onQuarterKeyDown=function(e,t){var n,i,o=e.key;if(!r.props.disabledKeyboardNavigation)switch(o){case ev.Enter:r.onQuarterClick(e,t),null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,r.props.selected);break;case ev.ArrowRight:if(!r.props.preSelection)break;r.handleQuarterNavigation(4===t?1:t+1,l.addQuarters(r.props.preSelection,1));break;case ev.ArrowLeft:if(!r.props.preSelection)break;r.handleQuarterNavigation(1===t?4:t-1,eo.subQuarters(r.props.preSelection,1))}},r.isMonthDisabledForLabelDate=function(e){var t,n=r.props,i=n.day,o=n.minDate,a=n.maxDate,s=n.excludeDates,l=n.includeDates,c=q.setMonth(i,e);return{isDisabled:null!==(t=(o||a||s||l)&&eq(c,r.props))&&void 0!==t&&t,labelDate:c}},r.isMonthDisabled=function(e){return r.isMonthDisabledForLabelDate(e).isDisabled},r.getMonthClassNames=function(e){var n=r.props,i=n.day,o=n.startDate,a=n.endDate,s=n.preSelection,l=n.monthClassName,c=l?l(q.setMonth(i,e)):void 0,u=r.getSelection();return t.clsx("react-datepicker__month-text","react-datepicker__month-".concat(e),c,{"react-datepicker__month-text--disabled":r.
1isMonthDisabled(e),"react-datepicker__month-text--selected":u?r.isSelectMonthInList(i,e,u):void 0,"react-datepicker__month-text--keyboard-selected":!r.props.disabledKeyboardNavigation&&s&&r.isSelectedMonth(i,e,s)&&!r.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":r.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":o&&a?eU(o,a,e,i):void 0,"react-datepicker__month-text--range-start":r.isRangeStartMonth(e),"react-datepicker__month-text--range-end":r.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":r.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":r.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":r.isCurrentMonth(i,e)})},r.getTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=M.getMonth(r.props.preSelection),n=r.isMonthDisabledForLabelDate(t).isDisabled;return e!==t||n||r.props.disabledKeyboardNavigation?"-1":"0"},r.getQuarterTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=j.getQuarter(r.props.preSelection),n=eH(r.props.day,r.props);return e!==t||n||r.props.disabledKeyboardNavigation?"-1":"0"},r.getAriaLabel=function(e){var t=r.props,n=t.chooseDayAriaLabelPrefix,i=t.disabledDayAriaLabelPrefix,o=t.day,a=t.locale,s=q.setMonth(o,e),l=r.isDisabled(s)||r.isExcluded(s)?void 0===i?"Not available":i:void 0===n?"Choose":n;return"".concat(l," ").concat(eM(s,"MMMM yyyy",a))},r.getQuarterClassNames=function(e){var n=r.props,i=n.day,o=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate,u=n.excludeDates,d=n.includeDates,f=n.filterDate,h=n.preSelection,p=n.disabledKeyboardNavigation,m=(l||c||u||d||f)&&eH(U.setQuarter(i,e),r.props);return t.clsx("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":m,"react-datepicker__quarter-text--selected":s?r.isSelectedQuarter(i,e,s):void 0,"react-datepicker__quarter-text--keyboard-selected":!p&&h&&r.isSelectedQuarter(i,e,h)&&!m,"react-datepicker__quarter-text--in-selecting-range":r.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":o&&a?eK(o,a,e,i):void 0,"react-datepicker__quarter-text--range-start":r.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":r.isRangeEndQuarter(e)})},r.getMonthContent=function(e){var t=r.props,n=t.showFullMonthYearPicker,i=t.renderMonthContent,o=t.locale,a=t.day,s=eY(e,o),l=eW(e,o);return i?i(e,s,l,a):n?l:s},r.getQuarterContent=function(e){var t,n,i,o=r.props,a=o.renderQuarterContent,s=(t=e,n=o.locale,eM(U.setQuarter(eS(),t),"QQQ",n));return null!==(i=null==a?void 0:a(e,s))&&void 0!==i?i:s},r.renderMonths=function(){var e,t,n,i=r.props,o=i.showTwoColumnMonthYearPicker,a=i.showFourColumnMonthYearPicker,s=i.day,l=i.selected,c=null===(n=tg[e=a,t=o,e?tm:t?th:tp])||void 0===n?void 0:n.grid;return null==c?void 0:c.map(function(e,t){return ef.default.createElement("div",{className:"react-datepicker__month-wrapper",key:t},e.map(function(e,t){return ef.default.createElement("div",{ref:r.MONTH_REFS[e],key:t,onClick:function(t){r.onMonthClick(t,e)},onKeyDown:function(t){ta(t)&&(t.preventDefault(),t.key=ev.Enter),r.onMonthKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onMonthMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onMonthMouseEnter(e)}:void 0,tabIndex:Number(r.getTabIndex(e)),className:r.getMonthClassNames(e),"aria-disabled":r.
vendor: 5,502 bytes, line 1
1isMonthDisabled(e),role:"option","aria-label":r.getAriaLabel(e),"aria-current":r.isCurrentMonth(s,e)?"date":void 0,"aria-selected":l?r.isSelectedMonth(s,e,l):void 0},r.getMonthContent(e))}))})},r.renderQuarters=function(){var e=r.props,t=e.day,n=e.selected;return ef.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(e,i){return ef.default.createElement("div",{key:i,ref:r.QUARTER_REFS[i],role:"option",onClick:function(t){r.onQuarterClick(t,e)},onKeyDown:function(t){r.onQuarterKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onQuarterMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onQuarterMouseEnter(e)}:void 0,className:r.getQuarterClassNames(e),"aria-selected":n?r.isSelectedQuarter(t,e,n):void 0,tabIndex:Number(r.getQuarterTabIndex(e)),"aria-current":r.isCurrentQuarter(t,e)?"date":void 0},r.getQuarterContent(e))}))},r.getClassNames=function(){var e=r.props,n=e.selectingDate,i=e.selectsStart,o=e.selectsEnd,a=e.showMonthYearPicker,s=e.showQuarterYearPicker,l=e.showWeekPicker;return t.clsx("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(i||o)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":l})},r}return em(r,e),r.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;return e.selectsMultiple?n:t?[t]:void 0},r.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,o=void 0===i?"Month ":i,a=o?o.trim()+" ":"";return ef.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(a).concat(eM(r,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())},r}(n.Component),tb=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSelectedMonth=function(e){return t.props.month===e},t.renderOptions=function(){return t.props.monthNames.map(function(e,n){return ef.default.createElement("div",{className:t.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,n),"aria-selected":t.isSelectedMonth(n)?"true":void 0},t.isSelectedMonth(n)?ef.default.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",e)})},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return em(t,e),t.prototype.render=function(){return ef.default.createElement(ey,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(n.Component),ty=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map(function(e,t){return ef.default.createElement("option",{key:e,value:t},e)})},t.renderSelectMode=function(e){return ef.default.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,n){return ef.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},ef.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),ef.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[t.props.month]))},t.renderDropdown=function(e){return ef.default.createElement(tb,eg({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return em(t,e),t.prototype.render=function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return eY(e,t.props.locale)}:function(e){return eW(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return ef.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),tx=function(e){function n(t){var n=e.call(this,t)||this;return n.renderOptions=function(){return n.state.monthYearsList.map(function(e){var t=_.getTime(e),r=eZ(n.props.date,e)&&eI(n.props.date,e);return ef.default.createElement("div",{className:r?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:n.onChange.bind(n,t),"aria-selected":r?"true":void 0},r?ef.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",eM(e,n.props.dateFormat,n.props.locale))})},n.onChange=function(e){return n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.state={monthYearsList:function(e,t){for(var n=[],r=eD(e),i=eD(t);!D.isAfter(r,i);
vendor: 4,594 bytes, line 1
1)n.push(eS(r)),r=s.addMonths(r,1);return n}(n.props.minDate,n.props.maxDate)},n}return em(n,e),n.prototype.render=function(){var e=t.clsx({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return ef.default.createElement(ey,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},n}(n.Component),tw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=eD(t.props.minDate),n=eD(t.props.maxDate),r=[];!D.isAfter(e,n);){var i=_.getTime(e);r.push(ef.default.createElement("option",{key:i,value:i},eM(e,t.props.dateFormat,t.props.locale))),e=s.addMonths(e,1)}return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return ef.default.createElement("select",{value:_.getTime(eD(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var n=eM(t.props.date,t.props.dateFormat,t.props.locale);return ef.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},ef.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),ef.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))},t.renderDropdown=function(){return ef.default.createElement(tx,eg({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=eS(e);eZ(t.props.date,n)&&eI(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return em(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return ef.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),tS=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var e,r,i;n.list&&(n.list.scrollTop=null!==(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-(null!==(r=null===(e=n.header)||void 0===e?void 0:e.clientHeight)&&void 0!==r?r:0):n.list.clientHeight,n.centerLi))&&void 0!==i?i:0)})},n.handleClick=function(e){var t,r;(n.props.minTime||n.props.maxTime)&&e5(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&e2(e,n.props)||null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e)},n.isSelectedTime=function(e){return n.props.selected&&tr(n.props.selected).getTime()===tr(e).getTime()},n.isDisabledTime=function(e){return(n.props.minTime||n.props.maxTime)&&e5(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&e2(e,n.props)},n.liClasses=function(e){var r,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(e):void 0];return n.isSelectedTime(e)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(e)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(3600*S.getHours(e)+60*P.getMinutes(e)+C.getSeconds(e))%(60*(null!==(r=n.props.intervals)&&void 0!==r?r:t.defaultProps.intervals))!=0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(e,t){var r,i;e.key===ev.Space&&(e.preventDefault(),e.key=ev.Enter),(e.key===ev.ArrowUp||e.key===ev.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===ev.ArrowDown||e.key===ev.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===ev.Enter&&n.handleClick(t),null===(i=(r=n.props).handleOnKeyDown)||void 0===i||i.call(r,e)},n.renderTimes=function(){for(var e,r,i,s=[],l="string"==typeof n.props.format?n.props.format:"p",u=null!==(i=n.props.intervals)&&void 0!==i?i:t.defaultProps.intervals,d=n.props.selected||n.props.openToDate||eS(),f=e_(
1d),h=n.props.injectTimes&&n.props.injectTimes.sort(function(e,t){return e.getTime()-t.getTime()}),p=60*(r=new Date((e=d).getFullYear(),e.getMonth(),e.getDate()),Math.round((+new Date(e.getFullYear(),e.getMonth(),e.getDate(),24)-+r)/36e5)),m=p/u,g=0;g<m;g++){var O=a.addMinutes(f,g*u);if(s.push(O),h){var v=function(e,t,n,r,i){for(var s=i.length,l=[],u=0;u<s;u++){var d=e,f=i[u];f&&(d=o.addHours(d,S.getHours(f)),d=a.addMinutes(d,P.getMinutes(f)),d=c.addSeconds(d,C.getSeconds(f)));var h=a.addMinutes(e,(n+1)*r);D.isAfter(d,t)&&E.isBefore(d,h)&&null!=f&&l.push(f)}return l}(f,O,g,u,h);s=s.concat(v)}}var b=s.reduce(function(e,t){return t.getTime()<=d.getTime()?t:e},s[0]);return s.map(function(e){return ef.default.createElement("li",{key:e.valueOf(),onClick:n.handleClick.bind(n,e),className:n.liClasses(e),ref:function(t){e===b&&(n.centerLi=t)},onKeyDown:function(t){n.handleOnKeyDown(t,e)},tabIndex:e===b?0:-1,role:"option","aria-selected":n.isSelectedTime(e)?"true":void 0,"aria-disabled":n.isDisabledTime(e)?"true":void 0},eM(e,l,n.props.locale))})},n.renderTimeCaption=function(){return!1===n.props.showTimeCaption?ef.default.createElement(ef.default.Fragment,null):ef.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(e){n.header=e}},ef.default.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return em(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var e,n=this,r=this.state.height;return ef.default.createElement("div",{className:"react-datepicker__time-container ".concat((null!==(e=this.props.todayButton)&&void 0!==e?e:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),ef.default.createElement("div",{className:"react-datepicker__time"},ef.default.createElement("div",{className:"react-datepicker__time-box"},ef.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(e){n.list=e},style:r?{height:r}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(n.Component),tk=function(e){function r(r){var i=e.call(this,r)||this;return i.YEAR_REFS=eO([],Array(i.props.yearItemNumber),!0).map(function(){return n.createRef()}),i.isDisabled=function(e){return eX(e,{minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,includeDates:i.props.includeDates,filterDate:i.props.filterDate})},i.isExcluded=function(e){return eB(e,{excludeDates:i.props.excludeDates})},i.selectingDate=function(){var e;return null!==(e=i.props.selectingDate)&&void 0!==e?e:i.props.preSelection},i.updateFocusOnPaginate=function(e){window.requestAnimationFrame(function(){var t,n;null===(n=null===(t=i.YEAR_REFS[e])||void 0===t?void 0:t.current)||void 0===n||n.focus()})},i.handleYearClick=function(e,t){i.props.onDayClick&&i.props.onDayClick(e,t)},i.handleYearNavigation=function(e,t){var n,r,o,a,s=i.props,l=s.date,c=s.yearItemNumber;if(void 0!==l&&void 0!==c){var u=tn(l,c).startPeriod;i.isDisabled(t)||i.isExcluded(t)||(null===(r=(n=i.props).setPreSelection)||void 0===r||r.call(n,t),e-u<0?i.updateFocusOnPaginate(c-(u-e)):e-u>=c?i.updateFocusOnPaginate(Math.abs(c-(e-u))):null===(a=null===(o=i.YEAR_REFS[e-u])||void 0===o?void 0:o.current)||void 0===a||a.focus())}},i.isSameDay=function(e,t){return eN(e,t)},i.isCurrentYear=function(e){return e===T.getYear(eS())},i.isRangeStart=function(e){return i.props.startDate&&i.props.endDate&&eZ(G.setYear(eS(),e),i.props.startDate)},i.isRangeEnd=function(e){return i.props.startDate&&i.props.endDate&&eZ(G.setYear(eS(),e),i.props.endDate)},i.isInRange=function(e){return eG(e,i.props.startDate,i.props.endDate)},i.isInSelectingRange=function(e){var t=i.props,n=t.selectsStart,r=t.selectsEnd,o=t.selectsRange,a=t.startDate,
vendor: 5,749 bytes, line 1
1s=t.endDate;return!(!(n||r||o)||!i.selectingDate())&&(n&&s?eG(e,i.selectingDate(),s):(r&&a||!(!o||!a||s))&&eG(e,a,i.selectingDate()))},i.isSelectingRangeStart=function(e){if(!i.isInSelectingRange(e))return!1;var t,n=i.props,r=n.startDate,o=n.selectsStart;return eZ(G.setYear(eS(),e),o?null!==(t=i.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},i.isSelectingRangeEnd=function(e){if(!i.isInSelectingRange(e))return!1;var t,n=i.props,r=n.endDate,o=n.selectsEnd,a=n.selectsRange;return eZ(G.setYear(eS(),e),o||a?null!==(t=i.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},i.isKeyboardSelected=function(e){if(void 0!==i.props.date&&null!=i.props.selected&&null!=i.props.preSelection){var t=i.props,n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,s=t.filterDate,l=eE(G.setYear(i.props.date,e)),c=(n||r||o||a||s)&&eJ(e,i.props);return!i.props.disabledKeyboardNavigation&&!i.props.inline&&!eN(l,eE(i.props.selected))&&eN(l,eE(i.props.preSelection))&&!c}},i.onYearClick=function(e,t){var n=i.props.date;void 0!==n&&i.handleYearClick(eE(G.setYear(n,t)),e)},i.onYearKeyDown=function(e,t){var n,r,o=e.key,a=i.props,s=a.date,l=a.yearItemNumber,c=a.handleOnKeyDown;if(o!==ev.Tab&&e.preventDefault(),!i.props.disabledKeyboardNavigation)switch(o){case ev.Enter:if(null==i.props.selected)break;i.onYearClick(e,t),null===(r=(n=i.props).setPreSelection)||void 0===r||r.call(n,i.props.selected);break;case ev.ArrowRight:if(null==i.props.preSelection)break;i.handleYearNavigation(t+1,d.addYears(i.props.preSelection,1));break;case ev.ArrowLeft:if(null==i.props.preSelection)break;i.handleYearNavigation(t-1,es.subYears(i.props.preSelection,1));break;case ev.ArrowUp:if(void 0===s||void 0===l||null==i.props.preSelection)break;var u=tn(s,l).startPeriod;if((p=t-(h=3))<u){var f=l%h;t>=u&&t<u+f?h=f:h+=f,p=t-h}i.handleYearNavigation(p,es.subYears(i.props.preSelection,h));break;case ev.ArrowDown:if(void 0===s||void 0===l||null==i.props.preSelection)break;var h,p,m=tn(s,l).endPeriod;(p=t+(h=3))>m&&(f=l%h,t<=m&&t>m-f?h=f:h+=f,p=t+h),i.handleYearNavigation(p,d.addYears(i.props.preSelection,h))}c&&c(e)},i.getYearClassNames=function(e){var n=i.props,r=n.date,o=n.minDate,a=n.maxDate,s=n.selected,l=n.excludeDates,c=n.includeDates,u=n.filterDate,d=n.yearClassName;return t.clsx("react-datepicker__year-text","react-datepicker__year-".concat(e),r?null==d?void 0:d(G.setYear(r,e)):void 0,{"react-datepicker__year-text--selected":s?e===T.getYear(s):void 0,"react-datepicker__year-text--disabled":(o||a||l||c||u)&&eJ(e,i.props),"react-datepicker__year-text--keyboard-selected":i.isKeyboardSelected(e),"react-datepicker__year-text--range-start":i.isRangeStart(e),"react-datepicker__year-text--range-end":i.isRangeEnd(e),"react-datepicker__year-text--in-range":i.isInRange(e),"react-datepicker__year-text--in-selecting-range":i.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":i.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":i.isSelectingRangeEnd(e),"react-datepicker__year-text--today":i.isCurrentYear(e)})},i.getYearTabIndex=function(e){if(i.props.disabledKeyboardNavigation||null==i.props.preSelection)return"-1";var t=T.getYear(i.props.preSelection),n=eJ(e,i.props);return e!==t||n?"-1":"0"},i.getYearContainerClassNames=function(){var e=i.props,n=e.selectingDate,r=e.selectsStart,o=e.selectsEnd,a=e.selectsRange;return t.clsx("react-datepicker__year",{"react-datepicker__year--selecting-range":n&&(r||o||a)})},i.getYearContent=function(e){return i.props.renderYearContent?i.props.renderYearContent(e):e},i}return em(r,e),r.prototype.render=function(){var e=this,t=[],n=this.props,r=n.date,i=n.yearItemNumber,o=n.onYearMouseEnter,a=n.onYearMouseLeave;if(void 0===r)return null;for(var s=tn(r,i),l=s.startPeriod,c=s.endPeriod,u=function(n){t.push(ef.default.createElement("div",{ref:d.YEAR_REFS[n-l],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){ta(t)&&(t.preventDefault(),t.key=ev.Enter),e.onYearKeyDown(t,n)},tabIndex:Number(d.getYearTabIndex(n)),className:d.getYearClassNames(n),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerEnter:d.props.usePointerEvent?function(e){return o(e,n)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return a(e,n)},onPointerLeave:d.props.usePointerEvent?function(e){return a(e,n)}:void 0,key:n,"aria-current":d.isCurrentYear(n)?"date":void 0},d.getYearContent(n)))},d=this,f=l;f<=c;f++)u(f);return ef.default.createElement("div",{className:this.getYearContainerClassNames()},ef.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},r}(n.Component),tP=function(e){function r(t){var r=e.call(this,t)||this;r.renderOptions=function(){var e=r.props.year,t=r.state.yearsList.map(function(t){return ef.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?ef.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}),n=r.props.minDate?T.getYear(r.props.minDate):null,i=r.props.maxDate?T.getYear(r.props.maxDate):null;return i&&r.state.yearsList.find(function(e){return e===i})||t.unshift(ef.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},ef.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find(function(e){return e===n}
vendor: 7,140 bytes, line 1
1)||t.push(ef.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},ef.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map(function(t){return t+e});r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var i=t.yearDropdownItemNumber,o=t.scrollableYearDropdown;return r.state={yearsList:function(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var a=e+t-o,s=!0;n&&(s=T.getYear(n)<=a),r&&s&&(s=T.getYear(r)>=a),s&&i.push(a)}return i}(r.props.year,i||(o?10:5),r.props.minDate,r.props.maxDate)},r.dropdownRef=n.createRef(),r}return em(r,e),r.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},r.prototype.render=function(){var e=t.clsx({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return ef.default.createElement(ey,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},r}(n.Component),tM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?T.getYear(t.props.minDate):1900,n=t.props.maxDate?T.getYear(t.props.maxDate):2100,r=[],i=e;i<=n;i++)r.push(ef.default.createElement("option",{key:i,value:i},i));return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return ef.default.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return ef.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(e){return t.toggleDropdown(e)}},ef.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),ef.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return ef.default.createElement(tP,eg({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)})},t.handleYearChange=function(e,n){var r;null===(r=t.onSelect)||void 0===r||r.call(t,e,n),t.setOpen()},t.onSelect=function(e,n){var r,i;null===(i=(r=t.props).onSelect)||void 0===i||i.call(r,e,n)},t.setOpen=function(){var e,n;null===(n=(e=t.props).setOpen)||void 0===n||n.call(e,!0)},t}return em(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return ef.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),tj=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],tC=function(e){function o(a){var c=e.call(this,a)||this;return c.monthContainer=void 0,c.handleClickOutside=function(e){c.props.onClickOutside(e)},c.setClickOutsideRef=function(){return c.containerRef.current},c.handleDropdownFocus=function(e){var t,n,r;r=(e.target.className||"").split(/\s+/),tj.some(function(e){return r.indexOf(e)>=0})&&(null===(n=(t=c.props).onDropdownFocus)||void 0===n||n.call(t,e))},c.getDateInView=function(){var e=c.props,t=e.preSelection,n=e.selected,r=e.openToDate,i=e8(c.props),o=e7(c.props),a=eS();return r||n||t||(i&&E.isBefore(a,i)?i:o&&D.isAfter(a,o)?o:a)},c.increaseMonth=function(){c.setState(function(e){var t=e.date;return{date:s.addMonths(t,1)}},function(){return c.handleMonthChange(c.state.date)})},c.decreaseMonth=function(){c.setState(function(e){var t=e.date;return{date:ei.subMonths(t,1)}},function(){return c.handleMonthChange(c.state.date)})},c.handleDayClick=function(e,t,n){c.props.onSelect(e,t,n),c.props.setPreSelection&&c.props.setPreSelection(e)},c.handleDayMouseEnter=function(e){c.setState({selectingDate:e}),c.props.onDayMouseEnter&&c.props.onDayMouseEnter(e)},c.handleMonthMouseLeave=function(){c.setState({selectingDate:void 0}),c.props.onMonthMouseLeave&&c.props.onMonthMouseLeave()},c.handleYearMouseEnter=function(e,t){c.setState({selectingDate:G.setYear(eS(),t)}),c.props.onYearMouseEnter&&c.props.onYearMouseEnter(e,t)},c.handleYearMouseLeave=function(e,t){c.props.onYearMouseLeave&&c.props.onYearMouseLeave(e,t)},c.handleYearChange=function(e){var t,n,r,i;null===(n=(t=c.props).onYearChange)||void 0===n||n.call(t,e),c.setState({isRenderAriaLiveMessage:!0}),c.props.adjustDateOnChange&&(c.props.onSelect(e),null===(i=(r=c.props).setOpen)||void 0===i||i.call(r,!0)),c.props.setPreSelection&&c.props.setPreSelection(e)},c.getEnabledPreSelectionDateForMonth=function(e){if(!eX(e,c.props))return e;for(var t,n=eD(e),o=(t=e,O.endOfMonth(t)),a=r.differenceInDays(o,n),s=null,l=0;l<=a;l++){var u=i.addDays(n,l);if(!eX(u,c.props)){s=u;break}}return s},c.handleMonthChange=function(e){var t,n,r,i=null!==(t=c.getEnabledPreSelectionDateForMonth(e))&&void 0!==t?t:e;c.handleCustomMonthChange(i),c.props.adjustDateOnChange&&(c.props.onSelect(i),null===(r=(n=c.props).setOpen)||void 0===r||r.call(n,!0)),c.props.setPreSelection&&c.props.setPreSelection(i)},c.handleCustomMonthChange=function(e){var t,n;null===(n=(t=c.props).onMonthChange)||void 0===n||n.call(t,e),c.setState({isRenderAriaLiveMessage:!0})},c.handleMonthYearChange=function(e){c.handleYearChange(e),c.handleMonthChange(e)},c.changeYear=function(e){c.setState(function(t){var n=t.date;return{date:G.setYear(n,Number(e))}},function(){return c.handleYearChange(c.state.date)})},c.changeMonth=function(e){c.setState(function(t){var n=t.date;return{date:q.setMonth(n,Number(e))}},function(){return c.handleMonthChange(c.state.date)})},c.changeMonthYear=function(e){c.setState(function(t){var n=t.date;return{date:G.setYear(q.setMonth(n,M.getMonth(e)),T.getYear(e))}},function(){return c.handleMonthYearChange(c.state.date)})},c.header=function(e){void 0===e&&(e=c.state.date);var n=eT(e,c.props.locale,c.props.calendarStartDay),r=[];return c.props.showWeekNumbers&&r.push(ef.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},c.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map(function(e){var r=i.addD
1ays(n,e),o=c.formatWeekday(r,c.props.locale),a=c.props.weekDayClassName?c.props.weekDayClassName(r):void 0;return ef.default.createElement("div",{key:e,"aria-label":eM(r,"EEEE",c.props.locale),className:t.clsx("react-datepicker__day-name",a)},o)}))},c.formatWeekday=function(e,t){var n,r;return c.props.formatWeekDay?(n=e,r=c.props.formatWeekDay,r(eM(n,"EEEE",t))):c.props.useWeekdaysShort?eM(e,"EEE",t):eM(e,"EEEEEE",t)},c.decreaseYear=function(){c.setState(function(e){var t,n=e.date;return{date:es.subYears(n,c.props.showYearPicker?null!==(t=c.props.yearItemNumber)&&void 0!==t?t:o.defaultProps.yearItemNumber:1)}},function(){return c.handleYearChange(c.state.date)})},c.clearSelectingDate=function(){c.setState({selectingDate:void 0})},c.renderPreviousButton=function(){if(!c.props.renderCustomHeader){switch(!0){case c.props.showMonthYearPicker:b=e6(c.state.date,c.props);break;case c.props.showYearPicker:;e=c.state.date,r=(n=void 0===(t=c.props)?{}:t).minDate,a=void 0===(i=n.yearItemNumber)?12:i,s=tn(eE(es.subYears(e,a)),a).endPeriod,b=(l=r&&T.getYear(r))&&l>s||!1;break;case c.props.showQuarterYearPicker:;u=c.state.date,h=(f=void 0===(d=c.props)?{}:d).minDate,m=f.includeDates,g=en.startOfYear(u),O=eo.subQuarters(g,1),b=h&&p.differenceInCalendarQuarters(h,O)>0||m&&m.every(function(e){return p.differenceInCalendarQuarters(e,O)>0})||!1;break;default:b=e3(c.state.date,c.props)}if(((null!==(v=c.props.forceShowMonthNavigation)&&void 0!==v?v:o.defaultProps.forceShowMonthNavigation)||c.props.showDisabledMonthNavigation||!b)&&!c.props.showTimeSelectOnly){var e,t,n,r,i,a,s,l,u,d,f,h,m,g,O,v,b,y=["react-datepicker__navigation","react-datepicker__navigation--previous"],x=c.decreaseMonth;(c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker)&&(x=c.decreaseYear),b&&c.props.showDisabledMonthNavigation&&(y.push("react-datepicker__navigation--previous--disabled"),x=void 0);var w=c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker,S=c.props,k=S.previousMonthButtonLabel,P=void 0===k?o.defaultProps.previousMonthButtonLabel:k,M=S.previousYearButtonLabel,j=void 0===M?o.defaultProps.previousYearButtonLabel:M,C=c.props,_=C.previousMonthAriaLabel,D=void 0===_?"string"==typeof P?P:"Previous Month":_,E=C.previousYearAriaLabel,Q=void 0===E?"string"==typeof j?j:"Previous Year":E;return ef.default.createElement("button",{type:"button",className:y.join(" "),onClick:x,onKeyDown:c.props.handleOnKeyDown,"aria-label":w?Q:D},ef.default.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--previous"},w?j:P))}}},c.increaseYear=function(){c.setState(function(e){var t,n=e.date;return{date:d.addYears(n,c.props.showYearPicker?null!==(t=c.props.yearItemNumber)&&void 0!==t?t:o.defaultProps.yearItemNumber:1)}},function(){return c.handleYearChange(c.state.date)})},c.renderNextButton=function(){if(!c.props.renderCustomHeader){switch(!0){case c.props.showMonthYearPicker:w=e9(c.state.date,c.props);break;case c.props.showYearPicker:;e=c.state.date,r=(n=void 0===(t=c.props)?{}:t).maxDate,a=void 0===(i=n.yearItemNumber)?12:i,s=tn(d.addYears(e,a),a).startPeriod,w=(u=r&&T.getYear(r))&&u<s||!1;break;case c.props.showQuarterYearPicker:;f=c.state.date,g=(m=void 0===(h=c.props)?{}:h).maxDate,O=m.includeDates,v=b.endOfYear(f),y=l.addQuarters(v,1),w=g&&p.differenceInCalendarQuarters(y,g)>0||O&&O.every(function(e){return p.differenceInCalendarQuarters(y,e)>0})||!1;break;default:w=e4(c.state.date,c.props)}if(((null!==(x=c.props.forceShowMonthNavigation)&&void 0!==x?x:o.defaultProps.forceShowMonthNavigation)||c.props.showDisabledMonthNavigation||!w)&&!c.props.showTimeSelectOnly){var e,t,n,r,i,a,s,u,f,h,m,g,O,v,y,x,w,S=["react-datepicker__navigation","react-datepicker__navigation--next"];c.props.showTimeSelect&&S.push("react-datepicker__navigation--next--with-time"),c.props.todayButton&&S.push("react-datepicker__navigation--next--with-today-button");var k=c.increaseMonth;(c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker)&&(k=c.increaseYear),w&&c.props.showDisabledMonthNavigation&&(S.push("react-datepicker__navigation--next--disabled"),k=void 0);var P=c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker,M=c.props,j=M.nextMonthButtonLabel,C=void 0===j?o.defaultProps.nextMonthButtonLabel:j,_=M.nextYearButtonLabel,D=void 0===_?o.defaultProps.nextYearButtonLabel:_,E=c.props,Q=E.nextMonthAriaLabel,$=void 0===Q?"string"==typeof C?C:"Next Month":Q,R=E.nextYearAriaLabel,Z=void 0===R?"string"==typeof D?D:"Next Year":R;return ef.default.createElement("button",{type:"button",className:S.join(" "),onClick:k,onKeyDown:c.props.handleOnKeyDown,"aria-label":P?Z:$},ef.default.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--next"},P?D:C))}}},c.renderCurrentMonth=function(e){void 0===e&&(e=c.state.date);var t=["react-datepicker__current-month"];return c.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),c.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),c.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),ef.default.createElement("h2",{className:t.join(" ")},eM(e,c.props.dateFormat,c.props.locale))},c.renderYearDropdown=function(e){if(void 0===e&&(e=!1),c.props.showYearDropdown&&!e)return ef.default.createElement(tM,eg({},o.defaultProps,c.props,{date:c.state.date,onChange:c.changeYear,year:T.getYear(c.state.date)}))},c.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),c.props.showMonthDropdown&&!e)return ef.default.createElement(ty,eg({},o.defaultProps,c.props,{month:M.getMonth(c.state.date),onChange:c.changeMonth}))},c.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),c.props.showMonthYearDropdown&&!e)return ef.default.createElement(tw,eg({},o.defaultProps,c.props,{date:c.state.date,onChange:c.changeMonthYear}))},c.handleTodayButtonClick=function(e){c.props.onSelect(e$(),e),c.props.setPreSelection&&c.props.setPreSelection(e$())},c.renderTodayButton=function(){if(c.props.todayButton&&!c.props.showTimeSelectOnly)return ef.default.createElement("div",{className:"react-datepicker__today-button",onClick:c.handleTodayButtonClick},c.props.todayButton)},c.renderDefaultHeader=function(e){var t=e.monthDate,n=e.i;return ef.default.createElement("div",{className:"react-datepicker__header ".concat(c.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},c.renderCurrentMonth(t),ef.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(c.props.dropdownMode),onFocus:c.handleDropdownFocus},c.renderMonthDropdown(0!==n),c.renderMonthYearDropdown(0!==n),c.renderYearDropdown(0!==n)),ef.default.createElement("div",{className:"react-datepicker__day-names"},c.header(t)))},c.renderCustomHeader=function(e){var t,n,r=e.monthDate,i=e.i;if(c.props.showTimeSelect&&!c.state.monthContainer||c.props.showTimeSelectOnly)return null;var o=e3(c.state.date,c.props),a=e4(c.state.date,c.props),s=e6(c.state.date,c.props),l=e9(c.state.date,c.props),u=!c.props.showMonthYearPicker&&!c.props.showQuarterYearPicker&&!c.props.showYearPicker;return ef.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:c.props.onDropdownFocus},null===(n=(t=c.props).renderCustomHeader)||void 0===n?void 0:n.call(t,eg(eg({},c.state),{customHeaderCount:i,monthDate:r,changeMonth:c.changeMonth,changeYear:c.changeYear,decreaseMonth:c.decreaseMonth,increaseMonth:c.increaseMonth,decreaseYear:c.decreaseYear,increaseYear:c.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:s,nextYearButtonDisabled:l})),u&&ef.default.createElement("div",{className:"react-datepicker__day-names"},c.header(r)))},c.renderYearHeader=function(e){var t=e.monthDate,n=c.props,r=n.showYearPicker,i=n.yearItemNumber,a=tn(t,void 0===i?o.defaultProps.yearItemNumber:i),s=a.startPeriod,l=a.endPeriod;return ef.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},r?"".concat(s," - ").concat(l):T.getYear(t))},c.renderHeader=function(e){var t=e.monthDate,n=e.i,r={monthDate:t,i:void 0===n?0:n};switch(!0){case void 0!==c.props.renderCustomHeader:return c.renderCustomHeader(r);case c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker:return c.renderYearHeader(r);default:return c.renderDefaultHeader(r)}},c.renderMonths=function(){var e,t;if(!c.props.showTimeSelectOnly&&!c.props.showYearPicker){for(var n=[],r=null!==(e=c.props.monthsShown)&&void 0!==e?e:o.defaultProps.monthsShown,i=c.props.showPreviousMonths?r-1:0,a=c.props.showMonthYearPicker||c.props.showQuarterYearPicker?d.addYears(c.state.date,i):ei.subMonths(c.state.date,i),l=null!==(t=c.props.monthSelectedIn)&&void 0!==t?t:i,u=0;u<r;++u){var f=u-l+i,h=c.props.showMonthYearPicker||c.props.showQuarterYearPicker?d.addYears(a,f):s.addMonths(a,f),p="month-".concat(u),m=u<r-1,g=u>0;n.push(ef.default.createElement("div",{key:p,ref:function(e){c.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},c.renderHeader({monthDate:h,i:u}),ef.default.createElement(tv,eg({},o.defaultProps,c.props,{ariaLabelPrefix:c.props.monthAriaLabelPrefix,day:h,onDayCl
vendor: 4,740 bytes, line 1
1ick:c.handleDayClick,handleOnKeyDown:c.props.handleOnDayKeyDown,handleOnMonthKeyDown:c.props.handleOnKeyDown,onDayMouseEnter:c.handleDayMouseEnter,onMouseLeave:c.handleMonthMouseLeave,orderInDisplay:u,selectingDate:c.state.selectingDate,monthShowsDuplicateDaysEnd:m,monthShowsDuplicateDaysStart:g}))))}return n}},c.renderYears=function(){if(!c.props.showTimeSelectOnly)return c.props.showYearPicker?ef.default.createElement("div",{className:"react-datepicker__year--container"},c.renderHeader({monthDate:c.state.date}),ef.default.createElement(tk,eg({},o.defaultProps,c.props,{selectingDate:c.state.selectingDate,date:c.state.date,onDayClick:c.handleDayClick,clearSelectingDate:c.clearSelectingDate,onYearMouseEnter:c.handleYearMouseEnter,onYearMouseLeave:c.handleYearMouseLeave}))):void 0},c.renderTimeSection=function(){if(c.props.showTimeSelect&&(c.state.monthContainer||c.props.showTimeSelectOnly))return ef.default.createElement(tS,eg({},o.defaultProps,c.props,{onChange:c.props.onTimeChange,format:c.props.timeFormat,intervals:c.props.timeIntervals,monthRef:c.state.monthContainer}))},c.renderInputTimeSection=function(){var e=c.props.selected?new Date(c.props.selected):void 0,t=e&&eP(e)&&c.props.selected?"".concat(tt(e.getHours()),":").concat(tt(e.getMinutes())):"";if(c.props.showTimeInput)return ef.default.createElement(tc,eg({},o.defaultProps,c.props,{date:e,timeString:t,onChange:c.props.onTimeChange}))},c.renderAriaLiveRegion=function(){var e,t,n=tn(c.state.date,null!==(e=c.props.yearItemNumber)&&void 0!==e?e:o.defaultProps.yearItemNumber),r=n.startPeriod,i=n.endPeriod;return t=c.props.showYearPicker?"".concat(r," - ").concat(i):c.props.showMonthYearPicker||c.props.showQuarterYearPicker?T.getYear(c.state.date):"".concat(eW(M.getMonth(c.state.date),c.props.locale)," ").concat(T.getYear(c.state.date)),ef.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},c.state.isRenderAriaLiveMessage&&t)},c.renderChildren=function(){if(c.props.children)return ef.default.createElement("div",{className:"react-datepicker__children-container"},c.props.children)},c.containerRef=n.createRef(),c.state={date:c.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},c}return em(o,e),Object.defineProperty(o,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:12}},enumerable:!1,configurable:!0}),o.prototype.componentDidMount=function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))},o.prototype.componentDidUpdate=function(e){var t=this;if(!this.props.preSelection||eN(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!eN(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!eI(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return n&&t.handleCustomMonthChange(t.state.date)})}},o.prototype.render=function(){var e=this.props.container||eb;return ef.default.createElement(ey,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},ef.default.createElement(e,{className:t.clsx("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},o}(n.Component),t_=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,i=e.onClick,o="react-datepicker__calendar-icon";return"string"==typeof t?ef.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:i}):ef.default.isValidElement(t)?ef.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof i&&i(e)}}):ef.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},ef.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 9
16 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},tT=function(e){function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement("div"),n}return em(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return eh.default.createPortal(this.props.children,this.el)},t}(n.Component),tD=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&-1!==e.tabIndex},tE=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null===(e=r.tabLoopRef.current)||void 0===e?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tD)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=n.createRef(),r}return em(t,e),t.prototype.render=function(){var e;return(null!==(e=this.props.enableTabLoop)&&void 0!==e?e:t.defaultProps.enableTabLoop)?ef.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},ef.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,ef.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(n.Component),tQ=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return em(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),r.prototype.render=function(){var e=this.props,i=e.className,o=e.wrapperClassName,a=e.hidePopper,s=void 0===a?r.defaultProps.hidePopper:a,l=e.popperComponent,c=e.targetComponent,u=e.enableTabLoop,d=e.popperOnKeyDown,f=e.portalId,h=e.portalHost,p=e.popperProps,m=e.showArrow,g=void 0;if(!s){var O=t.clsx("react-datepicker-popper",i);g=ef.default.createElement(tE,{enableTabLoop:u},ef.default.createElement("div",{ref:p.refs.setFloating,style:p.floatingStyles,className:O,"data-placement":p.placement,onKeyDown:d},l,m&&ef.default.createElement(ec.FloatingArrow,{ref:p.arrowRef,context:p.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(g=n.createElement(this.props.popperContainer,{},g)),f&&!s&&(g=ef.default.createElement(tT,{portalId:f,portalHost:h},g));var v=t.clsx("react-datepicker-wrapper",o);return ef.default.createElement(ef.default.Fragment,null,ef.default.createElement("div",{ref:p.refs.setReference,className:v},c),g)},r}(n.Component),t$=function(e){var t,r="boolean"!=typeof e.hidePopper||e.hidePopper,i=n.useRef(null),o=ec.useFloating(eg({open:!r,whileElementsMounted:ec.autoUpdate,placement:e.popperPlacement,middleware:eO([ec.flip({padding:15}),ec.offset(10),ec.arrow({element:i})],null!==(t=e.popperModifiers)&&void 0!==t?t:[],!0)},e.popperProps)),a=eg(eg({},e),{hidePopper:r,popperProps:eg(eg({},o),{arrowRef:i})});return ef.default.createElement(tQ,eg({},a))},tR="react-datepicker-ignore-onclickoutside",tZ="Date input not valid.",tI=function(e){function r(o){var a=e.call(this,o)||this;return a.calendar=null,a.input=null,a.getPreSelection=function(){return a.props.openToDate?a.props.openToDate:a.props.selectsEnd&&a.props.startDate?a.props.startDate:a.props.selectsStart&&a.props.endDate?a.props.endDate:eS()},a.modifyHolidays=function(){var e;return null===(e=a.props.holidays)||void 0===e?void 0:e.reduce(function(e,t){var n=new Date(t.date);return eP(n)?eO(eO([],e,!0),[eg(eg({},t),{date:n})],!1):e},[])},a.calcInitialState=function(){var e,t=a.getPreSelection(),n=e8(a.props),r=e7(a.props),i=n&&E.isBefore(t,e_(n))?n:r&&D.isAfter(t,eR(r))?r:t;return{open:a.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!==(e=a.props.selectsRange?a.props.startDate:a.props.selected)&&void 0!==e?e:i,highlightDates:te(a.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},a.resetHiddenStatus=function(){a.setState(eg(eg({},a.state),{wasHidden:!1}))},a.setHiddenStatus=function(){a.setState(eg(eg({},a.state),{wasHidden:!0}))},a.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&a.setHiddenStatus()},a.clearPreventFocusTimeout=function(){a.preventFocusTimeout&&clearTimeout(a.preventFocusTimeout)},a.setFocus=function(){a.input&&a.input.focus&&a.input.focus({preventScroll:!0})},a.setBlur=function(){a.input&&a.input.blur&&a.input.blur(),a.cancelFocusInput()},a.setOpen=function(e,t){void 0===t&&(t=!1),a.setState({open:e,preSelection:e&&a.state.open?a.state.preSelection:a.calcInitialState().preSelection,lastPreSelectChange:tN},function(){e||a.setState(function(e){return{focused:!!t&&e.focused}},function(){t||a.setBlur(),a.setState({inputValue:null})})})},a.inputOk=function(){return Q.isDate(a.state.preSelection)},a.isCalendarOpen=function(){return void 0===a.props.open?a.state.open&&!a.props.disabled&&!a.props.readOnly:a.props.open},a.handleFocus=function(e){var t,n,r=a.state.wasHidden,i=!r||a.state.open;r&&a.resetHiddenStatus(),!a.state.preventFocus&&i&&(null===(n=(t=a.props).onFocus)||void 0===n||n.call(t,e),a.props.preventOpenOnFocus||a.props.readOnly||a.setOpen(!0)),a.setState({focused:!0})},a.sendFocusBackToInput=function(){a.preventFocusTimeout&&a.clearPreventFocusTimeout(),a.setState({preventFocus:!0},function(){a.preventFocusTimeout=setTimeout(function(){a.setFocus(),a.setState({preventFocus:!1})})})}
1,a.cancelFocusInput=function(){clearTimeout(a.inputFocusTimeout),a.inputFocusTimeout=void 0},a.deferFocusInput=function(){a.cancelFocusInput(),a.inputFocusTimeout=setTimeout(function(){return a.setFocus()},1)},a.handleDropdownFocus=function(){a.cancelFocusInput()},a.handleBlur=function(e){var t,n;(!a.state.open||a.props.withPortal||a.props.showTimeInput)&&(null===(n=(t=a.props).onBlur)||void 0===n||n.call(t,e)),a.setState({focused:!1})},a.handleCalendarClickOutside=function(e){var t,n;a.props.inline||a.setOpen(!1),null===(n=(t=a.props).onClickOutside)||void 0===n||n.call(t,e),a.props.withPortal&&e.preventDefault()},a.handleChange=function(){for(var e,t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=n[0];if(!a.props.onChangeRaw||(a.props.onChangeRaw.apply(a,n),o&&"function"==typeof o.isDefaultPrevented&&!o.isDefaultPrevented())){a.setState({inputValue:(null==o?void 0:o.target)instanceof HTMLInputElement?o.target.value:null,lastPreSelectChange:tA});var s=a.props,l=s.dateFormat,c=void 0===l?r.defaultProps.dateFormat:l,u=s.strictParsing,d=void 0===u?r.defaultProps.strictParsing:u,f=s.selectsRange,h=s.startDate,p=s.endDate,m=(null==o?void 0:o.target)instanceof HTMLInputElement?o.target.value:"";if(f){var g=m.split("-",2).map(function(e){return e.trim()}),O=g[0],v=g[1],b=ek(null!=O?O:"",c,a.props.locale,d),y=ek(null!=v?v:"",c,a.props.locale,d),x=(null==h?void 0:h.getTime())!==(null==b?void 0:b.getTime()),w=(null==p?void 0:p.getTime())!==(null==y?void 0:y.getTime());if(!x&&!w||b&&eX(b,a.props)||y&&eX(y,a.props))return;null===(t=(e=a.props).onChange)||void 0===t||t.call(e,[b,y],o)}else{var k=ek(m,c,a.props.locale,d,a.props.minDate);a.props.showTimeSelectOnly&&a.props.selected&&k&&!eN(k,a.props.selected)&&(k=Y.set(a.props.selected,{hours:S.getHours(k),minutes:P.getMinutes(k),seconds:C.getSeconds(k)})),!k&&m||a.setSelected(k,o,!0)}}},a.handleSelect=function(e,t,n){if(a.props.shouldCloseOnSelect&&!a.props.showTimeSelect&&a.sendFocusBackToInput(),a.props.onChangeRaw&&a.props.onChangeRaw(t),a.setSelected(e,t,!1,n),a.props.showDateSelect&&a.setState({isRenderAriaLiveMessage:!0}),!a.props.shouldCloseOnSelect||a.props.showTimeSelect)a.setPreSelection(e);else if(!a.props.inline){a.props.selectsRange||a.setOpen(!1);var r=a.props,i=r.startDate,o=r.endDate;!i||o||!a.props.swapRange&&to(e,i)||a.setOpen(!1)}},a.setSelected=function(e,t,n,r){var i,o,s=e;if(a.props.showYearPicker){if(null!==s&&eJ(T.getYear(s),a.props))return}else if(a.props.showMonthYearPicker){if(null!==s&&eq(s,a.props))return}else if(null!==s&&eX(s,a.props))return;var l=a.props,c=l.onChange,u=l.selectsRange,d=l.startDate,f=l.endDate,h=l.selectsMultiple,p=l.selectedDates,m=l.minTime,g=l.swapRange;if(!eL(a.props.selected,s)||a.props.allowSameDay||u||h){if(null!==s&&(!a.props.selected||n&&(a.props.showTimeSelect||a.props.showTimeSelectOnly||a.props.showTimeInput)||(s=eC(s,{hour:S.getHours(a.props.selected),minute:P.getMinutes(a.props.selected),second:C.getSeconds(a.props.selected)})),n||!a.props.showTimeSelect&&!a.props.showTimeSelectOnly||m&&(s=eC(s,{hour:m.getHours(),minute:m.getMinutes(),second:m.getSeconds()})),a.props.inline||a.setState({preSelection:s}),a.props.focusSelectedMonth||a.setState({monthSelectedIn:r})),u){var O=d&&!f,v=d&&f;d||f?O&&(null===s?null==c||c([null,null],t):to(s,d)?g?null==c||c([s,d],t):null==c||c([s,null],t):null==c||c([d,s],t)):null==c||c([s,null],t),v&&(null==c||c([s,null],t))}else if(h){if(null!==s){if(null==p?void 0:p.length){if(p.some(function(e){return eN(e,s)})){var b=p.filter(function(e){return!eN(e,s)});null==c||c(b,t)}else null==c||c(eO(eO([],p,!0),[s],!1),t)}else null==c||c([s],t)}}else null==c||c(s,t)}n||(null===(o=(i=a.props).onSelect)||void 0===o||o.call(i,s,t),a.setState({inputValue:null}))},a.setPreSelection=function(e){var t=Q.isDate(a.props.minDate),n=Q.isDate(a.props.maxDate),r=!0;if(e){var i=e_(e);if(t&&n)r=ez(e,a.props.minDate,a.props.maxDate);else if(t){var o=e_(a.props.minDate);r=D.isAfter(e,o)||eL(i,o)}else if(n){var s=eR(a.props.maxDate);r=E.isBefore(e,s)||eL(i,s)}}r&&a.setState({preSelection:e})},a.toggleCalendar=function(){a.setOpen(!a.state.open)},a.handleTimeChange=function(e){var t,n;if(!a.props.selectsRange&&!a.props.selectsMultiple){var r=a.props.selected?a.props.selected:a.getPreSelection(),i=a.props.selected?e:eC(r,{hour:S.getHours(e),minute:P.getMinutes(e)});a.setState({preSelection:i}),null===(n=(t=a.props).onChange)||void 0===n||n.call(t,i),a.props.shouldCloseOnSelect&&!
1a.props.showTimeInput&&(a.sendFocusBackToInput(),a.setOpen(!1)),a.props.showTimeInput&&a.setOpen(!0),(a.props.showTimeSelectOnly||a.props.showTimeSelect)&&a.setState({isRenderAriaLiveMessage:!0}),a.setState({inputValue:null})}},a.onInputClick=function(){var e,t;a.props.disabled||a.props.readOnly||a.setOpen(!0),null===(t=(e=a.props).onInputClick)||void 0===t||t.call(e)},a.onInputKeyDown=function(e){null===(n=(t=a.props).onKeyDown)||void 0===n||n.call(t,e);var t,n,r,i,o,s,l=e.key;if(a.state.open||a.props.inline||a.props.preventOpenOnFocus){if(a.state.open){if(l===ev.ArrowDown||l===ev.ArrowUp){e.preventDefault();var c=a.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":a.props.showWeekPicker&&a.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':a.props.showFullMonthYearPicker||a.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',u=(null===(i=a.calendar)||void 0===i?void 0:i.containerRef.current)instanceof Element&&a.calendar.containerRef.current.querySelector(c);return void(u instanceof HTMLElement&&u.focus({preventScroll:!0}))}var d=eS(a.state.preSelection);l===ev.Enter?(e.preventDefault(),a.inputOk()&&a.state.lastPreSelectChange===tN?(a.handleSelect(d,e),a.props.shouldCloseOnSelect||a.setPreSelection(d)):a.setOpen(!1)):l===ev.Escape?(e.preventDefault(),a.sendFocusBackToInput(),a.setOpen(!1)):l===ev.Tab&&a.setOpen(!1),a.inputOk()||null===(s=(o=a.props).onInputError)||void 0===s||s.call(o,{code:1,msg:tZ})}}else l!==ev.ArrowDown&&l!==ev.ArrowUp&&l!==ev.Enter||null===(r=a.onInputClick)||void 0===r||r.call(a)},a.onPortalKeyDown=function(e){e.key===ev.Escape&&(e.preventDefault(),a.setState({preventFocus:!0},function(){a.setOpen(!1),setTimeout(function(){a.setFocus(),a.setState({preventFocus:!1})})}))},a.onDayKeyDown=function(e){var t,n,r,o,l,c,f=a.props,h=f.minDate,p=f.maxDate,m=f.disabledKeyboardNavigation,g=f.showWeekPicker,O=f.shouldCloseOnSelect,b=f.locale,y=f.calendarStartDay,x=f.adjustDateOnChange,w=f.inline;if(null===(n=(t=a.props).onKeyDown)||void 0===n||n.call(t,e),!m){var S=e.key,k=e.shiftKey,P=eS(a.state.preSelection),j=function(e,t){var n,r=t;switch(e){case ev.ArrowRight:r=g?u.addWeeks(t,1):i.addDays(t,1);break;case ev.ArrowLeft:r=g?ea.subWeeks(t,1):er.subDays(t,1);break;case ev.ArrowUp:r=ea.subWeeks(t,1);break;case ev.ArrowDown:r=u.addWeeks(t,1);break;case ev.PageUp:r=k?es.subYears(t,1):ei.subMonths(t,1);break;case ev.PageDown:r=k?d.addYears(t,1):s.addMonths(t,1);break;case ev.Home:r=eT(t,b,y);break;case ev.End:;n=t,r=v.endOfWeek(n)}return r};if(S===ev.Enter)return e.preventDefault(),a.handleSelect(P,e),void(O||a.setPreSelection(P));if(S===ev.Escape)return e.preventDefault(),a.setOpen(!1),void(a.inputOk()||null===(o=(r=a.props).onInputError)||void 0===o||o.call(r,{code:1,msg:tZ}));var C=null;switch(S){case ev.ArrowLeft:case ev.ArrowRight:case ev.ArrowUp:case ev.ArrowDown:case ev.PageUp:case ev.PageDown:case ev.Home:case ev.End:C=function(e,t){for(var n=e,r=!1,i=0,o=j(e,t);!r;){if(i>=40){o=t;break}h&&o<h&&(n=ev.ArrowRight,o=eX(h,a.props)?j(n,o):h),p&&o>p&&(n=ev.ArrowLeft,o=eX(p,a.props)?j(n,o):p),eX(o,a.props)?(n!==ev.PageUp&&n!==ev.Home||(n=ev.ArrowRight),n!==ev.PageDown&&n!==ev.End||(n=ev.ArrowLeft),o=j(n,o)):r=!0,i++}return o}(S,P)}if(C){if(e.preventDefault(),a.setState({lastPreSelectChange:tN}),x&&a.setSelected(C),a.setPreSelection(C),w){var _=M.getMonth(P),D=M.getMonth(C),E=T.getYear(P),Q=T.getYear(C);_!==D||E!==Q?a.setState({shouldFocusDayInline:!0}):a.setState({shouldFocusDayInline:!1})}}else null===(c=(l=a.props).onInputError)||void 0===c||c.call(l,{code:1,msg:tZ})}},a.onPopperKeyDown=function(e){e.key===ev.Escape&&(e.preventDefault(),a.sendFocusBackToInput())},a.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),a.sendFocusBackToInput();var t=a.props,n=t.selectsRange,r=t.onChange;n?null==r||r([null,null],e):null==r||r(null,e),a.setState({inputValue:null})},a.clear=function(){a.onClearClick()},a.onScroll=function(e){"boolean"==typeof a.props.closeOnScroll&&a.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||a.setOpen(!1):"function"==typeof a.props.closeOnScroll&&a.props.closeOnScroll(e)&&a.setOpen(!1)},a.renderCalendar=function(){var e,t,n,i,o;return a.props.inline||a.isCalendarOpen()?ef.default.createElement(tC,eg({showMonthYearDropdown:void 0,ref:function(e){a.calendar=e}},a.props,a.state,{setOpen:a.setOpen,dateFormat:null!==(e=a.props.dateFormatCalendar)&&void 0!==e?e:r.defaultProps.dateFormatCalendar,onSelect:a.handleSelect,onClickOutside:a.handleCalendarClickOutside,holidays:(void 0===(n=a.modifyHolidays())&&(n=[]),void 0===i&&(i="react-datepicker__day--holidays"),o=new Map,n.forEac
vendor: 7,965 bytes, line 1
1h(function(e){var t=e.date,n=e.holidayName;if(Q.isDate(t)){var r=eM(t,"MM.dd.yyyy"),a=o.get(r)||{className:"",holidayNames:[]};if(!("className"in a)||a.className!==i||(s=a.holidayNames,l=[n],s.length!==l.length||!s.every(function(e,t){return e===l[t]}))){a.className=i;var s,l,c=a.holidayNames;a.holidayNames=c?eO(eO([],c,!0),[n],!1):[n],o.set(r,a)}}}),o),outsideClickIgnoreClass:tR,onDropdownFocus:a.handleDropdownFocus,onTimeChange:a.handleTimeChange,className:a.props.calendarClassName,container:a.props.calendarContainer,handleOnKeyDown:a.props.onKeyDown,handleOnDayKeyDown:a.onDayKeyDown,setPreSelection:a.setPreSelection,dropdownMode:null!==(t=a.props.dropdownMode)&&void 0!==t?t:r.defaultProps.dropdownMode}),a.props.children):null},a.renderAriaLiveRegion=function(){var e,t=a.props,n=t.dateFormat,i=void 0===n?r.defaultProps.dateFormat:n,o=t.locale,s=a.props.showTimeInput||a.props.showTimeSelect?"PPPPp":"PPPP";return e=a.props.selectsRange?"Selected start date: ".concat(ej(a.props.startDate,{dateFormat:s,locale:o}),". ").concat(a.props.endDate?"End date: "+ej(a.props.endDate,{dateFormat:s,locale:o}):""):a.props.showTimeSelectOnly?"Selected time: ".concat(ej(a.props.selected,{dateFormat:i,locale:o})):a.props.showYearPicker?"Selected year: ".concat(ej(a.props.selected,{dateFormat:"yyyy",locale:o})):a.props.showMonthYearPicker?"Selected month: ".concat(ej(a.props.selected,{dateFormat:"MMMM yyyy",locale:o})):a.props.showQuarterYearPicker?"Selected quarter: ".concat(ej(a.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(ej(a.props.selected,{dateFormat:s,locale:o})),ef.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)},a.renderDateInput=function(){var e,i,o,s=t.clsx(a.props.className,((e={})[tR]=a.state.open,e)),l=a.props.customInput||ef.default.createElement("input",{type:"text"}),c=a.props.customInputRef||"ref",u=a.props,d=u.dateFormat,f=void 0===d?r.defaultProps.dateFormat:d,h=u.locale,p="string"==typeof a.props.value?a.props.value:"string"==typeof a.state.inputValue?a.state.inputValue:a.props.selectsRange?function(e,t,n){if(!e)return"";var r=ej(e,n),i=t?ej(t,n):"";return"".concat(r," - ").concat(i)}(a.props.startDate,a.props.endDate,{dateFormat:f,locale:h}):a.props.selectsMultiple?function(e,t){if(!(null==e?void 0:e.length))return"";var n=e[0]?ej(e[0],t):"";if(1===e.length)return n;if(2===e.length&&e[1]){var r=ej(e[1],t);return"".concat(n,", ").concat(r)}var i=e.length-1;return"".concat(n," (+").concat(i,")")}(null!==(o=a.props.selectedDates)&&void 0!==o?o:[],{dateFormat:f,locale:h}):ej(a.props.selected,{dateFormat:f,locale:h});return n.cloneElement(l,((i={})[c]=function(e){a.input=e},i.value=p,i.onBlur=a.handleBlur,i.onChange=a.handleChange,i.onClick=a.onInputClick,i.onFocus=a.handleFocus,i.onKeyDown=a.onInputKeyDown,i.id=a.props.id,i.name=a.props.name,i.form=a.props.form,i.autoFocus=a.props.autoFocus,i.placeholder=a.props.placeholderText,i.disabled=a.props.disabled,i.autoComplete=a.props.autoComplete,i.className=t.clsx(l.props.className,s),i.title=a.props.title,i.readOnly=a.props.readOnly,i.required=a.props.required,i.tabIndex=a.props.tabIndex,i["aria-describedby"]=a.props.ariaDescribedBy,i["aria-invalid"]=a.props.ariaInvalid,i["aria-labelledby"]=a.props.ariaLabelledBy,i["aria-required"]=a.props.ariaRequired,i))},a.renderClearButton=function(){var e=a.props,n=e.isClearable,r=e.disabled,i=e.selected,o=e.startDate,s=e.endDate,l=e.clearButtonTitle,c=e.clearButtonClassName,u=e.ariaLabelClose,d=e.selectedDates;return n&&(null!=i||null!=o||null!=s||(null==d?void 0:d.length))?ef.default.createElement("button",{type:"button",className:t.clsx("react-datepicker__close-icon",void 0===c?"":c,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":void 0===u?"Close":u,onClick:a.onClearClick,title:l,tabIndex:-1}):null},a.state=a.calcInitialState(),a.preventFocusTimeout=void 0,a}return em(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.componentDidUpdate=function(e,t){var n,r,i,o,a,s;e.inline&&(a=e.selected,s=this.props.selected,a&&s?M.getMonth(a)!==M.getMonth(s)||T.getYear(a)!==T.getYear(s):a!==s)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:te(this.props.highlightDates)}),t.focused||eL(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null===(r=(n=this.props).onCalendarOpen)||void 0===r||r.call(n)),!0===t.open&&!1===this.state.open&&(null===(o=(i=this.props).onCalendarClose)||void 0===o||o.call(i)))},r.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.renderInputContainer=function(){var e=this.props,n=e.showIcon,r=e.icon,i=e.calendarIconClassname,o=e.calendarIconClassName,a=e.toggleCalendarOnIconClick,s=this.state.open;return i&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),ef.default.createElement("div",{className:"react-datepicker__input-container".concat(n?" react-datepicker__view-calendar-icon":"")},n&&ef.default.createElement(t_,eg({icon:r,className:t.clsx(o,!o&&i,s&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},r.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?ef.default.createElement(tE,{enableTabLoop:this.props.enableTabLoop},ef.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=ef.default.createElement(tT,eg({portalId:this.props.portalId},this.props),t)),ef.default.createElement("div",null,this.renderInputContainer(),t)}return ef.default.createElement(t$,eg({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},r}(n.Component),tA="input",tN="navigate";e.CalendarContainer=eb,e.default=tI,e.getDefaultLocale=eF,e.registerLocale=function(e,t){var n=ex();n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){ex().__localeId__=e}
1,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof t?i(t,n("54290"),n("3781"),n("29330"),n("69535"),n("51512"),n("69826"),n("80157"),n("30577"),n("7294"),n("53246"),n("96797"),n("79801"),n("28412"),n("79586"),n("68833"),n("90835"),n("90389"),n("22189"),n("21855"),n("54370"),n("71348"),n("27491"),n("95353"),n("27086"),n("34486"),n("5518"),n("20429"),n("62613"),n("72447"),n("97444"),n("43191"),n("96820"),n("12827"),n("2475"),n("72864"),n("39331"),n("86879"),n("75776"),n("58411"),n("10853"),n("83091"),n("50500"),n("31547"),n("55056"),n("93459"),n("83911"),n("81335"),n("99613"),n("24303"),n("46672"),n("79487"),n("53887"),n("58722"),n("22199"),n("74031"),n("80417"),n("28834"),n("54758"),n("89735"),n("46265"),n("50053"),n("35498"),n("63356"),n("27215")):"function"==typeof define&&define.amd?define(["exports","clsx","react","date-fns","date-fns/addDays","date-fns/addHours","date-fns/addMinutes","date-fns/addMonths","date-fns/addQuarters","date-fns/addSeconds","date-fns/addWeeks","date-fns/addYears","date-fns/differenceInCalendarDays","date-fns/differenceInCalendarMonths","date-fns/differenceInCalendarQuarters","date-fns/differenceInCalendarYears","date-fns/endOfDay","date-fns/endOfMonth","date-fns/endOfWeek","date-fns/endOfYear","date-fns/format","date-fns/getDate","date-fns/getDay","date-fns/getHours","date-fns/getISOWeek","date-fns/getMinutes","date-fns/getMonth","date-fns/getQuarter","date-fns/getSeconds","date-fns/getTime","date-fns/getYear","date-fns/isAfter","date-fns/isBefore","date-fns/isDate","date-fns/isEqual","date-fns/isSameDay","date-fns/isSameMonth","date-fns/isSameQuarter","date-fns/isSameYear","date-fns/isValid","date-fns/isWithinInterval","date-fns/max","date-fns/min","date-fns/parse","date-fns/parseISO","date-fns/set","date-fns/setHours","date-fns/setMinutes","date-fns/setMonth","date-fns/setQuarter","date-fns/setSeconds","date-fns/setYear","date-fns/startOfDay","date-fns/startOfMonth","date-fns/startOfQuarter","date-fns/startOfWeek","date-fns/startOfYear","date-fns/subDays","date-fns/subMonths","date-fns/subQuarters","date-fns/subWeeks","date-fns/subYears","date-fns/toDate","@floating-ui/react","react-dom"],i):i((r="undefined"!=typeof globalThis?globalThis:r||self).DatePicker={},r.clsx,r.React,r.dateFns,r.addDays,r.addHours,r.addMinutes,r.addMonths,r.addQuarters,r.addSeconds,r.addWeeks,r.addYears,r.differenceInCalendarDays,r.differenceInCalendarMonths,r.differenceInCalendarQuarters,r.differenceInCalendarYears,r.endOfDay,r.endOfMonth,r.endOfWeek,r.endOfYear,r.format,r.getDate,r.getDay,r.getHours,r.getISOWeek,r.getMinutes,r.getMonth,r.getQuarter,r.getSeconds,r.getTime,r.getYear,r.isAfter,r.isBefore,r.isDate,r.isEqual$1,r.isSameDay$1,r.isSameMonth$1,r.isSameQuarter$1,r.isSameYear$1,r.isValid$1,r.isWithinInterval,r.max,r.min,r.parse,r.parseISO,r.set,r.setHours,r.setMinutes,r.setMonth,r.setQuarter,r.setSeconds,r.setYear,r.startOfDay,r.startOfMonth,r.startOfQuarter,r.startOfWeek,r.startOfYear,r.subDays,r.subMonths,r.subQuarters,r.subWeeks,r.subYears,r.toDate,r.react,r.ReactDOM)},63356:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{Composite:function(){return z},CompositeItem:function(){return F},FloatingArrow:function(){return q},FloatingDelayGroup:function(){return ed},FloatingFocusManager:function(){return eY},FloatingList:function(){return $},FloatingNode:function(){return et},FloatingOverlay:function(){return eq},FloatingPortal:function(){return eI},FloatingTree:function(){return en},arrow:function(){return d.x7},autoPlacement:function(){return d.X5},autoUpdate:function(){return d.Me},computePosition:function(){return d.oo},detectOverflow:function(){return d.US},flip:function(){return d.RR},getOverflowAncestors:function(){return d.Kx},hide:function(){return d.Cp},inline:function(){return d.Qo},inner:function(){return tm},limitShift:function(){return d.dr},offset:function(){return d.cv},platform:function(){return d.Jv},safePolygon:function(){return tv},shift:function(){return d.uY},size:function(){return d.dp},useClick:function(){return eG},useClientPoint:function(){return eK},useDelayGroup:function(){return ef},useDelayGroupContext:function(){return eu},useDismiss:function(){return e5},useFloating:function(){return e4},useFloatingNodeId:function(){return ee},useFloatingParentNodeId:function(){return J}
1,useFloatingPortalNode:function(){return eZ},useFloatingRootContext:function(){return e3},useFloatingTree:function(){return K},useFocus:function(){return e6},useHover:function(){return es},useId:function(){return B},useInnerOffset:function(){return tg},useInteractions:function(){return te},useListItem:function(){return R},useListNavigation:function(){return ta},useMergeRefs:function(){return h},useRole:function(){return tl},useTransitionStatus:function(){return td},useTransitionStyles:function(){return tf},useTypeahead:function(){return th}});var i,o=n("3781"),a=n("38378"),s=n("41465"),l=n("95255"),c=n("73954"),u=n("27215"),d=n("72658"),f=n("60943");function h(e){return o.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}let p={...i||(i=n.t(o,2))},m=p.useInsertionEffect||(e=>e());function g(e){let t=o.useRef(()=>{});return m(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}let O="ArrowUp",v="ArrowDown",b="ArrowLeft",y="ArrowRight";function x(e,t,n){return Math.floor(e/t)!==n}function w(e,t){return t<0||t>=e.current.length}function S(e,t){return P(e,{disabledIndices:t})}function k(e,t){return P(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function P(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:o=1}=void 0===t?{}:t,a=e.current,s=n;do s+=r?-o:o;while(s>=0&&s<=a.length-1&&T(a,s,i));return s}function M(e,t){let{event:n,orientation:r,loop:i,rtl:o,cols:l,disabledIndices:c,minIndex:u,maxIndex:d,prevIndex:f,stopEvent:h=!1}=t,p=f;if(n.key===O){if(h&&(0,a.p7)(n),-1===f)p=d;else if(p=P(e,{startingIndex:p,amount:l,decrement:!0,disabledIndices:c}),i&&(f-l<u||p<0)){let e=f%l,t=d%l,n=d-(t-e);p=t===e?d:t>e?n:n-l}w(e,p)&&(p=f)}if(n.key===v&&(h&&(0,a.p7)(n),-1===f?p=u:(p=P(e,{startingIndex:f,amount:l,disabledIndices:c}),i&&f+l>d&&(p=P(e,{startingIndex:f%l-l,amount:l,disabledIndices:c}))),w(e,p)&&(p=f)),"both"===r){let t=(0,s.GW)(f/l);n.key===(o?b:y)&&(h&&(0,a.p7)(n),f%l!=l-1?(p=P(e,{startingIndex:f,disabledIndices:c}),i&&x(p,l,t)&&(p=P(e,{startingIndex:f-f%l-1,disabledIndices:c}))):i&&(p=P(e,{startingIndex:f-f%l-1,disabledIndices:c})),x(p,l,t)&&(p=f)),n.key===(o?y:b)&&(h&&(0,a.p7)(n),f%l!=0?(p=P(e,{startingIndex:f,decrement:!0,disabledIndices:c}),i&&x(p,l,t)&&(p=P(e,{startingIndex:f+(l-f%l),decrement:!0,disabledIndices:c}))):i&&(p=P(e,{startingIndex:f+(l-f%l),decrement:!0,disabledIndices:c})),x(p,l,t)&&(p=f));let r=(0,s.GW)(d/l)===t;w(e,p)&&(p=i&&r?n.key===(o?y:b)?d:P(e,{startingIndex:f-f%l-1,disabledIndices:c}):f)}return p}function j(e,t,n){let r=[],i=0;return e.forEach((e,o)=>{let{width:a,height:s}=e,l=!1;for(n&&(i=0);!l;){let e=[];for(let n=0;n<a;n++)for(let r=0;r<s;r++)e.push(i+n+r*t);i%t+a<=t&&e.every(e=>null==r[e])?(e.forEach(e=>{r[e]=o}),l=!0):i++}}),[...r]}function C(e,t,n,r,i){if(-1===e)return -1;let o=n.indexOf(e),a=t[e];switch(i){case"tl":return o;case"tr":if(!a)return o;return o+a.width-1;case"bl":if(!a)return o;return o+(a.height-1)*r;case"br":return n.lastIndexOf(e)}}function _(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function T(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var D="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function E(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let Q=o.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function $(e){let{children:t,elementsRef:n,labelsRef:r}=e,[i,a]=o.useState(()=>new Map),s=o.useCallback(e=>{a(t=>new Map(t).set(e,null))},[]),l=o.useCallback(e=>{a(t=>{let n=new Map(t);return n.delete(e),n})},[]);return D(()=>{let e=new Map(i);Array.from(e.keys()).sort(E).forEach((t,n)=>{e.set(t,n)}),!function(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(i,e)&&a(e)},[i]),o.createElement(Q.Provider,{value:o.useMemo(()=>({register:s,unregister:l,map:i,elementsRef:n,labelsRef:r}),[s,l,i,n,r])},t)}function R(e){void 0===e&&(e={});let{label:t}=e,{register:n,unregister:r,map:i,elementsRef:a,labelsRef:s}=o.useContext(Q),[l,c]=o.useState(null),u=o.useRef(null),d=o.useCallback(e=>{if(u.current=e,null!==l&&(a.current[l]=e,s)){var n;let r=void 0!==t;s.current[l]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}},[l,a,s,t]);return D(()=>{let e=u.current;if(e)return n(e),()=>{r(e)}},[n,r]),D(()=>{let e=u.current?i.get(u.current):null;null!=e&&c(e)},[i]),o.useMemo(()=>({ref:d,index:null==l?-1:l}),[l,d])}function Z(e,t){return"function"==typeof e?e(t):e?o.cloneElement(e,t):o.createElement("div",t)}let I=o.createContext({activeIndex:0,onNavigate:()=>{}}),A=[b,y],N=[O,v],L=[...A,...N],z=o.forwardRef(function(e,t){let{render:n,orientation:r="both",loop:i=!0,rtl:a=!1,cols:s=1,disabledIndices:l,activeIndex:c,onNavigate:u,itemSizes:d,dense:f=!1,...h}=e,[p,m]=o.useState(0),x=null!=c?c:p,D=g(null!=u?u:m),E=o.useRef([]),Q=n&&"function"!=typeof n?n.props:{},R=o.useMemo(()=>({activeIndex:x,onNavigate:D}),[x,D]),z=s>1,F={...h,...Q,ref:t,"aria-orientation":"both"===r?void 0:r,onKeyDown(e){null==h.onKeyDown||h.onKeyDown(e),null==Q.onKeyDown||Q.onKeyDown(e),!function(e){if(!L.includes(e.ke
1y))return;let t=x,n=S(E,l),o=k(E,l),c=a?b:y,u=a?y:b;if(z){let u=d||Array.from({length:E.current.length},()=>({width:1,height:1})),h=j(u,s,f),p=h.findIndex(e=>null!=e&&!T(E.current,e,l)),m=h.reduce((e,t,n)=>null==t||T(E.current,t,l)?e:n,-1),g=h[M({current:h.map(e=>e?E.current[e]:null)},{event:e,orientation:r,loop:i,rtl:a,cols:s,disabledIndices:_([...l||E.current.map((e,t)=>T(E.current,t)?t:void 0),void 0],h),minIndex:p,maxIndex:m,prevIndex:C(x>o?n:x,u,h,s,e.key===v?"bl":e.key===c?"tr":"tl")})];null!=g&&(t=g)}let h={horizontal:[c],vertical:[v],both:[c,v]}[r],p={horizontal:[u],vertical:[O],both:[u,O]}[r],m=z?L:({horizontal:A,vertical:N,both:L})[r];if(t===x&&[...h,...p].includes(e.key)&&(t=i&&t===o&&h.includes(e.key)?n:i&&t===n&&p.includes(e.key)?o:P(E,{startingIndex:t,decrement:p.includes(e.key),disabledIndices:l})),t!==x&&!w(E,t)){var g;e.stopPropagation(),m.includes(e.key)&&e.preventDefault(),D(t),null==(g=E.current[t])||g.focus()}}(e)}};return o.createElement(I.Provider,{value:R},o.createElement($,{elementsRef:E},Z(n,F)))}),F=o.forwardRef(function(e,t){let{render:n,...r}=e,i=n&&"function"!=typeof n?n.props:{},{activeIndex:a,onNavigate:s}=o.useContext(I),{ref:l,index:c}=R(),u=h([l,t,i.ref]),d=a===c;return Z(n,{...r,...i,ref:u,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==r.onFocus||r.onFocus(e),null==i.onFocus||i.onFocus(e),s(c)}})});function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let W=!1,Y=0,X=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Y++,B=p.useId||function(){let[e,t]=o.useState(()=>W?X():void 0);return D(()=>{null==e&&t(X())},[]),o.useEffect(()=>{W=!0},[]),e},q=o.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:a}},width:s=14,height:c=7,tipRadius:u=0,strokeWidth:d=0,staticOffset:f,stroke:h,d:p,style:{transform:m,...g}={},...O}=e,v=B(),[b,y]=o.useState(!1);if(D(()=>{if(!!r)"rtl"===(0,l.Dx)(r).direction&&y(!0)},[r]),!r)return null;let[x,w]=n.split("-"),S="top"===x||"bottom"===x,k=f;(S&&null!=a&&a.x||!S&&null!=a&&a.y)&&(k=null);let P=2*d,M=P/2,j=s/2*(-(u/8)+1),C=c/2*u/4,_=!!p,T=k&&"end"===w?"bottom":"top",E=k&&"end"===w?"right":"left";k&&b&&(E="end"===w?"left":"right");let Q=(null==i?void 0:i.x)!=null?k||i.x:"",$=(null==i?void 0:i.y)!=null?k||i.y:"",R=p||"M0,0 H"+s+(" L"+(s-j)+",")+(c-C)+(" Q"+s/2+","+c+" "+j+",")+(c-C)+" Z",Z={top:_?"rotate(180deg)":"",left:_?"rotate(90deg)":"rotate(-90deg)",bottom:_?"":"rotate(180deg)",right:_?"rotate(-90deg)":"rotate(90deg)"}[x];return o.createElement("svg",V({},O,{"aria-hidden":!0,ref:t,width:_?s:s+P,height:s,viewBox:"0 0 "+s+" "+(c>s?c:s),style:{position:"absolute",pointerEvents:"none",[E]:Q,[T]:$,[x]:S||_?"100%":"calc(100% - "+P/2+"px)",transform:[Z,m].filter(e=>!!e).join(" "),...g}}),P>0&&o.createElement("path",{clipPath:"url(#"+v+")",fill:"none",stroke:h,strokeWidth:P+(p?0:1),d:R}),o.createElement("path",{stroke:P&&!p?O.fill:"none",d:R}),o.createElement("clipPath",{id:v},o.createElement("rect",{x:-M,y:M*(_?-1:1),width:s+P,height:s})))});function U(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}let H=o.createContext(null),G=o.createContext(null),J=()=>{var e;return(null==(e=o.useContext(H))?void 0:e.id)||null},K=()=>o.useContext(G);function ee(e){let t=B(),n=K(),r=J(),i=e||r;return D(()=>{let e={id:t,parentId:i};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}},[n,t,i]),t}function et(e){let{children:t,id:n}=e,r=J();return o.createElement(H.Provider,{value:o.useMemo(()=>({id:n,parentId:r}),[n,r])},t)}function en(e){let{children:t}=e,n=o.useRef([]),r=o.useCallback(e=>{n.current=[...n.current,e]},[]),i=o.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),a=o.useState(()=>U())[0];return o.createElement(G.Provider,{value:o.useMemo(()=>({nodesRef:n,addNode:r,removeNode:i,events:a}),[r,i,a])},t)}function er(e){return"data-floating-ui-"+e}function ei(e){let t=(0,o.useRef)(e);return D(()=>{t.current=e}),t}let eo=er("safe-polygon");function ea(e,t,n){return n&&!(0,a.r)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function es(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:s,elements:c}=e,{enabled:u=!0,delay:d=0,handleClose:f=null,mouseOnly:h=!1,restMs:p=0,move:m=!0}=t,O=K(),v=J(),b=ei(f),y=ei(d),x=ei(n),w=o.useRef(),S=o.useRef(-1),k=o.useRef(),P=o.useRef(-1),M=o.useRef(!0),j=o.useRef(!1),C=o.useRef(()=>{}),_=o.useRef(!1),T=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(u)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;!t&&(clearTimeout(S.current),clearTimeout(P.current),M.current=!0,_.current=!1)}},[u,s]),o.useEffect(()=>{if(!u||!b.current||!n)return;
1function e(e){T()&&r(!1,e,"hover")}let t=(0,a.Me)(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c.floating,n,r,u,b,T]);let E=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let i=ea(y.current,"close",w.current);i&&!k.current?(clearTimeout(S.current),S.current=window.setTimeout(()=>r(!1,e,n),i)):t&&(clearTimeout(S.current),r(!1,e,n))},[y,r]),Q=g(()=>{C.current(),k.current=void 0}),$=g(()=>{if(j.current){let e=(0,a.Me)(c.floating).body;e.style.pointerEvents="",e.removeAttribute(eo),j.current=!1}}),R=g(()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type));o.useEffect(()=>{if(u&&(0,l.kK)(c.domReference)){var e;let r=c.domReference;return n&&r.addEventListener("mouseleave",s),null==(e=c.floating)||e.addEventListener("mouseleave",s),m&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",s),null==(e=c.floating)||e.removeEventListener("mouseleave",s),m&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(clearTimeout(S.current),M.current=!1,h&&!(0,a.r)(w.current)||p>0&&!ea(y.current,"open"))return;let t=ea(y.current,"open",w.current);t?S.current=window.setTimeout(()=>{!x.current&&r(!0,e,"hover")},t):!n&&r(!0,e,"hover")}function o(e){if(R())return;C.current();let t=(0,a.Me)(c.floating);if(clearTimeout(P.current),_.current=!1,b.current&&i.current.floatingContext){!n&&clearTimeout(S.current),k.current=b.current({...i.current.floatingContext,tree:O,x:e.clientX,y:e.clientY,onClose(){$(),Q(),!R()&&E(e,!0,"safe-polygon")}});let r=k.current;t.addEventListener("mousemove",r),C.current=()=>{t.removeEventListener("mousemove",r)};return}("touch"!==w.current||!(0,a.r3)(c.floating,e.relatedTarget))&&E(e)}function s(e){if(!R())i.current.floatingContext&&(null==b.current||b.current({...i.current.floatingContext,tree:O,x:e.clientX,y:e.clientY,onClose(){$(),Q(),!R()&&E(e)}})(e))}},[c,u,e,h,p,m,E,Q,$,r,n,x,O,y,b,i,R]),D(()=>{var e,t;if(u&&n&&null!=(e=b.current)&&e.__options.blockPointerEvents&&T()){j.current=!0;let e=c.floating;if((0,l.kK)(c.domReference)&&e){let n=(0,a.Me)(c.floating).body;n.setAttribute(eo,"");let r=c.domReference,i=null==O||null==(t=O.nodesRef.current.find(e=>e.id===v))||null==(t=t.context)?void 0:t.elements.floating;return i&&(i.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[u,n,v,c,O,b,T]),D(()=>{!n&&(w.current=void 0,_.current=!1,Q(),$())},[n,Q,$]),o.useEffect(()=>()=>{Q(),clearTimeout(S.current),clearTimeout(P.current),$()},[u,c.domReference,Q,$]);let Z=o.useMemo(()=>{function e(e){w.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function i(){!M.current&&!x.current&&r(!0,t,"hover")}if((!h||!!(0,a.r)(w.current))&&!n&&0!==p)(!_.current||!(e.movementX**2+e.movementY**2<2))&&(clearTimeout(P.current),"touch"===w.current?i():(_.current=!0,P.current=window.setTimeout(i,p)))}}},[h,r,n,x,p]),I=o.useMemo(()=>({onMouseEnter(){clearTimeout(S.current)},onMouseLeave(e){!R()&&E(e.nativeEvent,!1)}}),[E,R]);return o.useMemo(()=>u?{reference:Z,floating:I}:{},[u,Z,I])}let el=()=>{},ec=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:el,setState:el,isInstantPhase:!1}),eu=()=>o.useContext(ec);function ed(e){let{children:t,delay:n,timeoutMs:r=0}=e,[i,a]=o.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),s=o.useRef(null),l=o.useCallback(e=>{a({currentId:e})},[]);return D(()=>{i.currentId?null===s.current?s.current=i.currentId:!i.isInstantPhase&&a({isInstantPhase:!0}):(i.isInstantPhase&&a({isInstantPhase:!1}),s.current=null)},[i.currentId,i.isInstantPhase]),o.createElement(ec.Provider,{value:o.useMemo(()=>({...i,setState:a,setCurrentId:l}),[i,l])},t)}function ef(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:i}=e,{id:o,enabled:a=!0}=t,s=null!=o?o:i,l=eu(),{currentId:c,setCurrentId:u,initialDelay:d,setState:f,timeoutMs:h}=l;return D(()=>
1{if(!!a)c&&(f({delay:{open:1,close:ea(d,"close")}}),c!==s&&r(!1))},[a,s,r,f,c,d]),D(()=>{function e(){r(!1),f({delay:d,currentId:null})}if(!!a){if(c&&!n&&c===s){if(h){let t=window.setTimeout(e,h);return()=>{clearTimeout(t)}}e()}}},[a,n,f,c,s,r,d,h]),D(()=>{if(!!a)u!==el&&n&&u(s)},[a,n,u,s]),l}let eh=0;function ep(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(eh);let o=()=>null==e?void 0:e.focus({preventScroll:n});i?o():eh=requestAnimationFrame(o)}function em(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let eg=new WeakMap,eO=new WeakSet,ev={},eb=0,ey=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,ex=e=>e&&(e.host||ex(e.parentNode)),ew=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=ex(t);return e.contains(n)?n:null}).filter(e=>null!=e);function eS(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=(0,a.Me)(e[0]).body;return function(e,t,n,r){let i="data-floating-ui-inert",o=r?"inert":n?"aria-hidden":null,a=ew(t,e),s=new Set,c=new Set(a),u=[];!ev[i]&&(ev[i]=new WeakMap);let d=ev[i];return a.forEach(function e(t){!(!t||s.has(t))&&(s.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!(!t||c.has(t))&&[].forEach.call(t.children,t=>{if("script"!==(0,l.wk)(t)){if(s.has(t))e(t);else{let e=o?t.getAttribute(o):null,n=null!==e&&"false"!==e,r=(eg.get(t)||0)+1,a=(d.get(t)||0)+1;eg.set(t,r),d.set(t,a),u.push(t),1===r&&n&&eO.add(t),1===a&&t.setAttribute(i,""),!n&&o&&t.setAttribute(o,"true")}}})}(t),s.clear(),eb++,()=>{u.forEach(e=>{let t=(eg.get(e)||0)-1,n=(d.get(e)||0)-1;eg.set(e,t),d.set(e,n),!t&&(!eO.has(e)&&o&&e.removeAttribute(o),eO.delete(e)),!n&&e.removeAttribute(i)}),!--eb&&(eg=new WeakMap,eg=new WeakMap,eO=new WeakSet,ev={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let ek=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eP(e,t){let n=(0,c.ht)(e,ek());"prev"===t&&n.reverse();let r=n.indexOf((0,a.AW)((0,a.Me)(e)));return n.slice(r+1)[0]}function eM(){return eP(document.body,"next")}function ej(){return eP(document.body,"prev")}function eC(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,a.r3)(n,r)}function e_(e){(0,c.ht)(e,ek()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function eT(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let eD={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function eE(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let eQ=o.forwardRef(function(e,t){let[n,r]=o.useState();D(()=>((0,a.G6)()&&r("button"),document.addEventListener("keydown",eE),()=>{document.removeEventListener("keydown",eE)}),[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[er("focus-guard")]:"",style:eD};return o.createElement("span",V({},e,i))}),e$=o.createContext(null),eR=er("portal");function eZ(e){void 0===e&&(e={});let{id:t,root:n}=e,r=B(),i=eA(),[a,s]=o.useState(null),c=o.useRef(null);return D(()=>()=>{null==a||a.remove(),queueMicrotask(()=>{c.current=null})},[a]),D(()=>{if(!r||c.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(eR,""),e.appendChild(n),c.current=n,s(n)},[t,r]),D(()=>{if(null===n||!r||c.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,l.kK)(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let a=document.createElement("div");a.id=r,a.setAttribute(eR,""),(e=o||e).appendChild(a),c.current=a,s(a)},[t,n,r,i]),a}function eI(e){let{children:t,id:n,root:r,preserveTabOrder:i=!0}=e,a=eZ({id:n,root:r}),[s,l]=o.useState(null),c=o.useRef(null),d=o.useRef(null),f=o.useRef(null),h=o.useRef(null),p=null==s?void 0:s.modal,m=null==s?void 0:s.open,g=!!s&&!s.modal&&s.open&&i&&!!(r||a);return o.useEffect(()=>{if(a&&i&&!p)return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){if(a&&eC(e)){let t="focusin"===e.type;(t?eT:e_)(a)}}},[a,i,p]),o.useEffect(()=>{if(!!a)!m&&eT(a)},[m,a]),o.createElement(e$.Provider,{value:o.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:h,portalNode:a,setFocusManagerState:l}),[i,a])},g&&a&&o.createElement(eQ,{"data-type":"outside",ref:c,onFocus:e=>{if(eC(e,a)){var t;
1null==(t=f.current)||t.focus()}else{let e=ej()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),g&&a&&o.createElement("span",{"aria-owns":a.id,style:eD}),a&&u.createPortal(t,a),g&&a&&o.createElement(eQ,{"data-type":"outside",ref:d,onFocus:e=>{if(eC(e,a)){var t;null==(t=h.current)||t.focus()}else{let t=eM()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}let eA=()=>o.useContext(e$),eN="data-floating-ui-focusable";function eL(e){return e?e.hasAttribute(eN)?e:e.querySelector("["+eN+"]")||e:null}let ez=[];function eF(e){ez=ez.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,l.wk)(t)){if(!(0,c.Wq)(t,ek())){let e=(0,c.ht)(t,ek())[0];e&&(t=e)}ez.push(t),ez.length>20&&(ez=ez.slice(-20))}}function eV(){return ez.slice().reverse().find(e=>e.isConnected)}let eW=o.forwardRef(function(e,t){return o.createElement("button",V({},e,{type:"button",ref:t,tabIndex:-1,style:eD}))});function eY(e){let{context:t,children:n,disabled:r=!1,order:i=["content"],guards:s=!0,initialFocus:u=0,returnFocus:d=!0,restoreFocus:f=!1,modal:h=!0,visuallyHiddenDismiss:p=!1,closeOnFocusOut:m=!0}=e,{open:O,refs:v,nodeId:b,onOpenChange:y,events:x,dataRef:w,floatingId:S,elements:{domReference:k,floating:P}}=t,M="number"==typeof u&&u<0,j=(0,a.Ie)(k)&&M,C=!ey()||s,_=ei(i),T=ei(u),E=ei(d),Q=K(),$=eA(),R=o.useRef(null),Z=o.useRef(null),I=o.useRef(!1),A=o.useRef(!1),N=o.useRef(-1),L=null!=$,z=eL(P),F=g(function(e){return void 0===e&&(e=z),e?(0,c.ht)(e,ek()):[]}),V=g(e=>{let t=F(e);return _.current.map(e=>k&&"reference"===e?k:z&&"floating"===e?z:t).filter(Boolean).flat()});function W(e){return!r&&p&&h?o.createElement(eW,{ref:"start"===e?R:Z,onClick:e=>y(!1,e.nativeEvent)},"string"==typeof p?p:"Dismiss"):null}o.useEffect(()=>{if(r||!h)return;function e(e){if("Tab"===e.key){(0,a.r3)(z,(0,a.AW)((0,a.Me)(z)))&&0===F().length&&!j&&(0,a.p7)(e);let t=V(),n=(0,a.U9)(e);"reference"===_.current[0]&&n===k&&((0,a.p7)(e),e.shiftKey?ep(t[t.length-1]):ep(t[1])),"floating"===_.current[1]&&n===z&&e.shiftKey&&((0,a.p7)(e),ep(t[0]))}}let t=(0,a.Me)(z);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,k,z,h,_,j,F,V]),o.useEffect(()=>{if(!r){if(P)return P.addEventListener("focusin",e),()=>{P.removeEventListener("focusin",e)}}function e(e){let t=(0,a.U9)(e),n=F().indexOf(t);-1!==n&&(N.current=n)}},[r,P,F]),o.useEffect(()=>{if(!r){if(m&&P&&(0,l.Re)(k))return k.addEventListener("focusout",t),k.addEventListener("pointerdown",e),P.addEventListener("focusout",t),()=>{k.removeEventListener("focusout",t),k.removeEventListener("pointerdown",e),P.removeEventListener("focusout",t)}}function e(){A.current=!0,setTimeout(()=>{A.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!((0,a.r3)(k,t)||(0,a.r3)(P,t)||(0,a.r3)(t,P)||(0,a.r3)(null==$?void 0:$.portalNode,t)||null!=t&&t.hasAttribute(er("focus-guard"))||Q&&(em(Q.nodesRef.current,b).find(e=>{var n,r;return(0,a.r3)(null==(n=e.context)?void 0:n.elements.floating,t)||(0,a.r3)(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],i=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;i;){let t=e.find(e=>e.id===i);i=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(Q.nodesRef.current,b).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));if(f&&n&&(0,a.AW)((0,a.Me)(z))===(0,a.Me)(z).body){(0,l.Re)(z)&&z.focus();let e=N.current,t=F(),n=t[e]||t[t.length-1]||z;(0,l.Re)(n)&&n.focus()}(j||!h)&&t&&n&&!A.current&&t!==eV()&&(I.current=!0,y(!1,e,"focus-out"))})}},[r,k,P,z,h,b,Q,$,y,m,f,F,j]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==$||null==(e=$.portalNode)?void 0:e.querySelectorAll("["+er("portal")+"]"))||[]);if(P){let e=[P,...t,R.current,Z.current,_.current.includes("reference")||j?k:null].filter(e=>null!=e),n=h||j?eS(e,C,!C):eS(e);return()=>{n()}}},[r,k,P,h,_,$,j,C]),D(()=>{if(r||!(0,l.Re)(z))return;let e=(0,a.Me)(z),t=(0,a.AW)(e);queueMicrotask(()=>{let e=V(z),n=T.current,r=("number"==typeof n?e[n]:n.current)||z,i=(0,a.r3)(z,t);!M&&!i&&O&&ep(r,{preventScroll:r===z})})},[r,O,z,M,V,T]),D(()=>
1{if(r||!z)return;let e=!1,t=(0,a.Me)(z),n=(0,a.AW)(t),i=w.current.openEvent;function o(t){let{open:n,reason:r,event:o,nested:s}=t;n&&(i=o),"escape-key"===r&&v.domReference.current&&eF(v.domReference.current),"hover"===r&&"mouseleave"===o.type&&(I.current=!0),"outside-press"===r&&(s?(I.current=!1,e=!0):I.current=!((0,a.Zj)(o)||(0,a.cr)(o)))}eF(n),x.on("openchange",o);let s=t.createElement("span");return s.setAttribute("tabindex","-1"),s.setAttribute("aria-hidden","true"),Object.assign(s.style,eD),L&&k&&k.insertAdjacentElement("afterend",s),()=>{x.off("openchange",o);let n=(0,a.AW)(t),r=(0,a.r3)(P,n)||Q&&em(Q.nodesRef.current,b).some(e=>{var t;return(0,a.r3)(null==(t=e.context)?void 0:t.elements.floating,n)});(r||i&&["click","mousedown"].includes(i.type))&&v.domReference.current&&eF(v.domReference.current);let c="boolean"==typeof E.current?eV()||s:E.current.current||s;queueMicrotask(()=>{E.current&&!I.current&&(0,l.Re)(c)&&(c===n||n===t.body||r)&&c.focus({preventScroll:e}),s.remove()})}},[r,P,z,E,w,v,x,Q,b,L,k]),o.useEffect(()=>{queueMicrotask(()=>{I.current=!1})},[r]),D(()=>{if(!r){if($)return $.setFocusManagerState({modal:h,closeOnFocusOut:m,open:O,onOpenChange:y,refs:v}),()=>{$.setFocusManagerState(null)}}},[r,$,h,O,y,v,m]),D(()=>{if(r||!z||"function"!=typeof MutationObserver||M)return;let e=()=>{let e=z.getAttribute("tabindex"),t=F(),n=(0,a.AW)((0,a.Me)(P)),r=t.indexOf(n);-1!==r&&(N.current=r),_.current.includes("floating")||n!==v.domReference.current&&0===t.length?"0"!==e&&z.setAttribute("tabindex","0"):"-1"!==e&&z.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(z,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,P,z,v,_,F,M]);let Y=!r&&C&&(!h||!j)&&(L||h);return o.createElement(o.Fragment,null,Y&&o.createElement(eQ,{"data-type":"inside",ref:null==$?void 0:$.beforeInsideRef,onFocus:e=>{if(h){let e=V();ep("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=$&&$.preserveTabOrder&&$.portalNode){if(I.current=!1,eC(e,$.portalNode)){let e=eM()||k;null==e||e.focus()}else{var t;null==(t=$.beforeOutsideRef.current)||t.focus()}}}}),!j&&W("start"),n,W("end"),Y&&o.createElement(eQ,{"data-type":"inside",ref:null==$?void 0:$.afterInsideRef,onFocus:e=>{if(h)ep(V()[0]);else if(null!=$&&$.preserveTabOrder&&$.portalNode){if(m&&(I.current=!0),eC(e,$.portalNode)){let e=ej()||k;null==e||e.focus()}else{var t;null==(t=$.afterOutsideRef.current)||t.focus()}}}}))}let eX=0,eB=()=>{},eq=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e;return D(()=>
1{if(n)return 1==++eX&&(eB=function(){let e=/iP(hone|ad|od)|iOS/.test((0,a.Xf)()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,i=t.left?parseFloat(t.left):window.scrollX,o=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var s,l;let e=(null==(s=window.visualViewport)?void 0:s.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(o-Math.floor((null==(l=window.visualViewport)?void 0:l.offsetTop)||0))+"px",left:-(i-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(i,o))}}()),()=>{0==--eX&&eB()}},[n]),o.createElement("div",V({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function eU(e){return(0,l.Re)(e.target)&&"BUTTON"===e.target.tagName}function eH(e){return(0,a.j7)(e)}function eG(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,elements:{domReference:s}}=e,{enabled:l=!0,event:c="click",toggle:u=!0,ignoreMouse:d=!1,keyboardHandlers:f=!0,stickIfOpen:h=!0}=t,p=o.useRef(),m=o.useRef(!1),g=o.useMemo(()=>({onPointerDown(e){p.current=e.pointerType},onMouseDown(e){let t=p.current;if(0===e.button&&"click"!==c)(!(0,a.r)(t,!0)||!d)&&(n&&u&&(!i.current.openEvent||!h||"mousedown"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){let t=p.current;if("mousedown"===c&&p.current){p.current=void 0;return}(!(0,a.r)(t,!0)||!d)&&(n&&u&&(!i.current.openEvent||!h||"click"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){if(p.current=void 0,!(e.defaultPrevented||!f||eU(e))){var t;if(" "===e.key&&(t=s,!(0,a.j7)(t)))e.preventDefault(),m.current=!0;"Enter"===e.key&&(n&&u?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}},onKeyUp(e){var t;if(!(e.defaultPrevented||!f||eU(e)||(t=s,(0,a.j7)(t))))" "===e.key&&m.current&&(m.current=!1,n&&u?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}),[i,s,c,d,f,r,n,h,u]);return o.useMemo(()=>l?{reference:g}:{},[l,g])}function eJ(e){return null!=e&&null!=e.clientX}function eK(e,t){void 0===t&&(t={});let{open:n,dataRef:r,elements:{floating:i,domReference:s},refs:c}=e,{enabled:u=!0,axis:d="both",x:f=null,y:h=null}=t,p=o.useRef(!1),m=o.useRef(null),[O,v]=o.useState(),[b,y]=o.useState([]),x=g((e,t)=>{if(!p.current){if(!r.current.openEvent||eJ(r.current.openEvent)){var n,i;let o,a,l;c.setPositionReference((n=s,i={x:e,y:t,axis:d,dataRef:r,pointerType:O},o=null,a=null,l=!1,{contextElement:n||void 0,getBoundingClientRect(){var e;let t=(null==n?void 0:n.getBoundingClientRect())||{width:0,height:0,x:0,y:0},r="x"===i.axis||"both"===i.axis,s="y"===i.axis||"both"===i.axis,c=["mouseenter","mousemove"].includes((null==(e=i.dataRef.current.openEvent)?void 0:e.type)||"")&&"touch"!==i.pointerType,u=t.width,d=t.height,f=t.x,h=t.y;return null==o&&i.x&&r&&(o=t.x-i.x),null==a&&i.y&&s&&(a=t.y-i.y),f-=o||0,h-=a||0,u=0,d=0,!l||c?(u="y"===i.axis?t.width:0,d="x"===i.axis?t.height:0,f=r&&null!=i.x?i.x:f,h=s&&null!=i.y?i.y:h):l&&!c&&(d="x"===i.axis?t.height:d,u="y"===i.axis?t.width:u),l=!0,{width:u,height:d,x:f,y:h,top:h,right:f+u,bottom:h+d,left:f}}}))}}}),w=g(e=>{null==f&&null==h&&(n?!m.current&&y([]):x(e.clientX,e.clientY))}),S=(0,a.r)(O)?i:n,k=o.useCallback(()=>{if(!S||!u||null!=f||null!=h)return;let e=(0,l.Jj)(i);function t(n){let r=(0,a.U9)(n);(0,a.r3)(i,r)?(e.removeEventListener("mousemove",t),m.current=null):x(n.clientX,n.clientY)}if(!r.current.openEvent||eJ(r.current.openEvent)){e.addEventListener("mousemove",t);let n=()=>{e.removeEventListener("mousemove",t),m.current=null};return m.current=n,n}c.setPositionReference(s)},[S,u,f,h,i,r,c,s,x]);o.useEffect(()=>k(),[k,b]),o.useEffect(()=>{u&&!i&&(p.current=!1)},[u,i]),o.useEffect(()=>{!u&&n&&(p.current=!0)},[u,n]),D(()=>{u&&(null!=f||null!=h)&&(p.current=!1,x(f,h))},[u,f,h,x]);let P=o.useMemo(()=>{function e(e){let{pointerType:t}=e;v(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:w,onMouseEnter:w}},[w]);return o.useMemo(()=>u?{reference:P}:{},[u,P])}let e0={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},e1={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e2=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function e5(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:i,dataRef:s}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:d=!0,outsidePressEvent:f="pointerdown",referencePress:h=!1,referencePressEvent:p="pointerdown",ancestorScroll:m=!1,bubbles:O,capture:v}=t,b=K(),y=g("function"==typeof d?d:()=>!1),x="function"==typeof d?y:d,w=o.useRef(!1),S=o.useRef(!1),{escapeKey:k,outsidePress:P}=e2(O),{escapeKey:M,outsidePress:j}=e2(v),C=o.useRef(!1),_=g(e=>{var t;if(!n||!c||!u||"Escape"!==e.key||C.current)return;let i=null==(t=s.current.floatingContext)?void 0:t.nodeId,o=b?em(b.nodesRef.current,i):[];if(!k&&(e.stopPropagation(),o.length>0)){let e=!0;
1if(o.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,(0,a.MM)(e)?e.nativeEvent:e,"escape-key")}),T=g(e=>{var t;let n=()=>{var t;_(e),null==(t=(0,a.U9)(e))||t.removeEventListener("keydown",n)};null==(t=(0,a.U9)(e))||t.addEventListener("keydown",n)}),D=g(e=>{var t;let n=w.current;w.current=!1;let o=S.current;if(S.current=!1,"click"===f&&o||n||"function"==typeof x&&!x(e))return;let c=(0,a.U9)(e),u="["+er("inert")+"]",d=(0,a.Me)(i.floating).querySelectorAll(u),h=(0,l.kK)(c)?c:null;for(;h&&!(0,l.Py)(h);){let e=(0,l.Ow)(h);if((0,l.Py)(e)||!(0,l.kK)(e))break;h=e}if(d.length&&(0,l.kK)(c)&&!(0,a.ex)(c)&&!(0,a.r3)(c,i.floating)&&Array.from(d).every(e=>!(0,a.r3)(h,e)))return;if((0,l.Re)(c)&&$){let t=c.clientWidth>0&&c.scrollWidth>c.clientWidth,n=c.clientHeight>0&&c.scrollHeight>c.clientHeight,r=n&&e.offsetX>c.clientWidth;if(n&&"rtl"===(0,l.Dx)(c).direction&&(r=e.offsetX<=c.offsetWidth-c.clientWidth),r||t&&e.offsetY>c.clientHeight)return}let p=null==(t=s.current.floatingContext)?void 0:t.nodeId,m=b&&em(b.nodesRef.current,p).some(t=>{var n;return(0,a.Pe)(e,null==(n=t.context)?void 0:n.elements.floating)});if((0,a.Pe)(e,i.floating)||(0,a.Pe)(e,i.domReference)||m)return;let g=b?em(b.nodesRef.current,p):[];if(g.length>0){let e=!0;if(g.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),E=g(e=>{var t;let n=()=>{var t;D(e),null==(t=(0,a.U9)(e))||t.removeEventListener(f,n)};null==(t=(0,a.U9)(e))||t.addEventListener(f,n)});o.useEffect(()=>{if(!n||!c)return;s.current.__escapeKeyBubbles=k,s.current.__outsidePressBubbles=P;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),C.current=!0}function d(){e=window.setTimeout(()=>{C.current=!1},(0,l.Pf)()?5:0)}let h=(0,a.Me)(i.floating);u&&(h.addEventListener("keydown",M?T:_,M),h.addEventListener("compositionstart",o),h.addEventListener("compositionend",d)),x&&h.addEventListener(f,j?E:D,j);let p=[];return m&&((0,l.kK)(i.domReference)&&(p=(0,l.Kx)(i.domReference)),(0,l.kK)(i.floating)&&(p=p.concat((0,l.Kx)(i.floating))),!(0,l.kK)(i.reference)&&i.reference&&i.reference.contextElement&&(p=p.concat((0,l.Kx)(i.reference.contextElement)))),(p=p.filter(e=>{var t;return e!==(null==(t=h.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{u&&(h.removeEventListener("keydown",M?T:_,M),h.removeEventListener("compositionstart",o),h.removeEventListener("compositionend",d)),x&&h.removeEventListener(f,j?E:D,j),p.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[s,i,u,x,f,n,r,m,c,k,P,_,M,T,D,j,E]),o.useEffect(()=>{w.current=!1},[x,f]);let Q=o.useMemo(()=>({onKeyDown:_,[e0[p]]:e=>{h&&r(!1,e.nativeEvent,"reference-press")}}),[_,r,h,p]),$=o.useMemo(()=>({onKeyDown:_,onMouseDown(){S.current=!0},onMouseUp(){S.current=!0},[e1[f]]:()=>{w.current=!0}}),[_,f]);return o.useMemo(()=>c?{reference:Q,floating:$}:{},[c,Q,$])}function e3(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=B(),a=o.useRef({}),[s]=o.useState(()=>U()),l=null!=J(),[c,u]=o.useState(r.reference),d=g((e,t,r)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)}),f=o.useMemo(()=>({setPositionReference:u}),[]),h=o.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return o.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:h,events:s,floatingId:i,refs:f}),[t,d,h,s,i,f])}function e4(e){void 0===e&&(e={});let{nodeId:t}=e,n=e3({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,s]=o.useState(null),[c,u]=o.useState(null),f=(null==i?void 0:i.domReference)||a,h=o.useRef(null),p=K();D(()=>{f&&(h.current=f)},[f]);let m=(0,d.YF)({...e,elements:{...i,...c&&{reference:c}}}),g=o.useCallback(e=>{let t=(0,l.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),O=o.useCallback(e=>{((0,l.kK)(e)||null===e)&&(h.current=e,s(e)),((0,l.kK)(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!(0,l.kK)(e))&&m.refs.setReference(e)},[m.refs]),v=o.useMemo(()=>({...m.refs,setReference:O,setPositionReference:g,domReference:h}),[m.refs,O,g]),b=o.useMemo(()=>({...m.elements,domReference:f}),[m.elements,f]),y=o.useMemo(()=>({...m,...r,refs:v,elements:b,nodeId:t}),[m,v,b,t,r]);return D(()=>{r.dataRef.current.floatingContext=y;let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),o.useMemo(()=>({...m,context:y,refs:v,elements:b}),[m,v,b,y])}function e6(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,dataRef:s,elements:c}=e,{enabled:u=!0,visibleOnly:d=!0}
1=t,f=o.useRef(!1),h=o.useRef(),p=o.useRef(!0);o.useEffect(()=>{if(!u)return;let e=(0,l.Jj)(c.domReference);function t(){!n&&(0,l.Re)(c.domReference)&&c.domReference===(0,a.AW)((0,a.Me)(c.domReference))&&(f.current=!0)}function r(){p.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[c.domReference,n,u]),o.useEffect(()=>{if(u)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(f.current=!0)}},[i,u]),o.useEffect(()=>()=>{clearTimeout(h.current)},[]);let m=o.useMemo(()=>({onPointerDown(e){!(0,a.cr)(e.nativeEvent)&&(p.current=!1)},onMouseLeave(){f.current=!1},onFocus(e){if(f.current)return;let t=(0,a.U9)(e.nativeEvent);if(d&&(0,l.kK)(t))try{if((0,a.G6)()&&(0,a.V5)())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!p.current&&!(0,a.j7)(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){f.current=!1;let t=e.relatedTarget,n=e.nativeEvent,i=(0,l.kK)(t)&&t.hasAttribute(er("focus-guard"))&&"outside"===t.getAttribute("data-type");h.current=window.setTimeout(()=>{var e;let o=(0,a.AW)(c.domReference?c.domReference.ownerDocument:document);if(!!t||o!==c.domReference)!((0,a.r3)(null==(e=s.current.floatingContext)?void 0:e.refs.floating.current,o)||(0,a.r3)(c.domReference,o))&&!i&&r(!1,n,"focus")})}}),[s,c.domReference,r,d]);return o.useMemo(()=>u?{reference:m}:{},[u,m])}let e9="active",e8="selected";function e7(e,t,n){let r=new Map,i="item"===n,o=e;if(i&&e){let{[e9]:t,[e8]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[eN]:""},...o,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,o]=t;if(!(i&&[e9,e8].includes(n))){if(0===n.indexOf("on")){if(!r.has(n)&&r.set(n,[]),"function"==typeof o){var a;null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)}}}else e[n]=o}}),e):e,{})}}function te(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),i=o.useCallback(t=>e7(t,e,"reference"),t),a=o.useCallback(t=>e7(t,e,"floating"),n),s=o.useCallback(t=>e7(t,e,"item"),r);return o.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:s}),[i,a,s])}let tt=!1;function tn(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function tr(e,t){let n=e===b||e===y;return tn(t,e===O||e===v,n)}function ti(e,t,n){let r=n?e===b:e===y;return tn(t,e===v,r)||"Enter"===e||" "===e||""===e}function to(e,t,n){let r=n?e===y:e===b;return tn(t,r,e===O)}function ta(e,t){let{open:n,onOpenChange:r,elements:i}=e,{listRef:s,activeIndex:c,onNavigate:u=()=>{},enabled:d=!0,selectedIndex:f=null,allowEscape:h=!1,loop:p=!1,nested:m=!1,rtl:O=!1,virtual:x=!1,focusItemOnOpen:E="auto",focusItemOnHover:Q=!0,openOnArrowKeyDown:$=!0,disabledIndices:R,orientation:Z="vertical",cols:I=1,scrollItemIntoView:A=!0,virtualItemRef:N,itemSizes:L,dense:z=!1}=t,F=ei(eL(i.floating)),V=J(),W=K(),Y=g(u),X=(0,a.Ie)(i.domReference),B=o.useRef(E),q=o.useRef(null!=f?f:-1),U=o.useRef(null),H=o.useRef(!0),G=o.useRef(Y),ee=o.useRef(!!i.floating),et=o.useRef(n),en=o.useRef(!1),er=o.useRef(!1),eo=ei(R),ea=ei(n),es=ei(A),el=ei(f),[ec,eu]=o.useState(),[ed,ef]=o.useState(),eh=g(function(e,t,n){function r(e){x?(eu(e.id),null==W||W.events.emit("virtualfocus",e),N&&(N.current=e)):ep(e,{preventScroll:!0,sync:!!((0,a.V5)()&&(0,a.G6)())&&(tt||en.current)})}void 0===n&&(n=!1);let i=e.current[t.current];i&&r(i),requestAnimationFrame(()=>{let o=e.current[t.current]||i;if(!o)return;!i&&r(o);let a=es.current;a&&eO&&(n||!H.current)&&(null==o.scrollIntoView||o.scrollIntoView("boolean"==typeof a?{block:"nearest",inline:"nearest"}:a))})});D(()=>{document.createElement("div").focus({get preventScroll(){return tt=!0,!1}})},[]),D(()=>{d&&(n&&i.floating?B.current&&null!=f&&(er.current=!0,q.current=f,Y(f)):ee.current&&(q.current=-1,G.current(null)))},[d,n,i.floating,f,Y]),D(()=>
1{if(d&&n&&i.floating){if(null==c){if(en.current=!1,null==el.current){if(ee.current&&(q.current=-1,eh(s,q)),(!et.current||!ee.current)&&B.current&&(null!=U.current||!0===B.current&&null==U.current)){let e=0,t=()=>{null==s.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(q.current=null==U.current||ti(U.current,Z,O)||m?S(s,eo.current):k(s,eo.current),U.current=null,Y(q.current))};t()}}}else!w(s,c)&&(q.current=c,eh(s,q,er.current),er.current=!1)}},[d,n,i.floating,c,el,m,s,Z,O,Y,eh,eo]),D(()=>{var e;if(!d||i.floating||!W||x||!ee.current)return;let t=W.nodesRef.current,n=null==(e=t.find(e=>e.id===V))||null==(e=e.context)?void 0:e.elements.floating,r=(0,a.AW)((0,a.Me)(i.floating)),o=t.some(e=>e.context&&(0,a.r3)(e.context.elements.floating,r));n&&!o&&H.current&&n.focus({preventScroll:!0})},[d,i.floating,W,V,x]),D(()=>{if(!!d&&!!W&&!!x){if(!V)return W.events.on("virtualfocus",e),()=>{W.events.off("virtualfocus",e)}}function e(e){ef(e.id),N&&(N.current=e)}},[d,W,x,V,N]),D(()=>{G.current=Y,ee.current=!!i.floating}),D(()=>{!n&&(U.current=null)},[n]),D(()=>{et.current=n},[n]);let eg=null!=c,eO=o.useMemo(()=>{function e(e){if(!n)return;let t=s.current.indexOf(e);-1!==t&&Y(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...Q&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;H.current&&"touch"!==t&&(q.current=-1,eh(s,q),Y(null),!x&&ep(F.current,{preventScroll:!0}))}}}},[n,F,eh,Q,s,Y,x]),ev=g(e=>{if(H.current=!1,en.current=!0,229===e.which||!ea.current&&e.currentTarget===F.current)return;if(m&&to(e.key,Z,O)){(0,a.p7)(e),r(!1,e.nativeEvent,"list-navigation"),(0,l.Re)(i.domReference)&&(x?null==W||W.events.emit("virtualfocus",i.domReference):i.domReference.focus());return}let t=q.current,o=S(s,R),c=k(s,R);if(!X&&("Home"===e.key&&((0,a.p7)(e),q.current=o,Y(q.current)),"End"===e.key&&((0,a.p7)(e),q.current=c,Y(q.current))),I>1){let t=L||Array.from({length:s.current.length},()=>({width:1,height:1})),n=j(t,I,z),r=n.findIndex(e=>null!=e&&!T(s.current,e,R)),i=n.reduce((e,t,n)=>null==t||T(s.current,t,R)?e:n,-1),a=n[M({current:n.map(e=>null!=e?s.current[e]:null)},{event:e,orientation:Z,loop:p,rtl:O,cols:I,disabledIndices:_([...R||s.current.map((e,t)=>T(s.current,t)?t:void 0),void 0],n),minIndex:r,maxIndex:i,prevIndex:C(q.current>c?o:q.current,t,n,I,e.key===v?"bl":e.key===(O?b:y)?"tr":"tl"),stopEvent:!0})];if(null!=a&&(q.current=a,Y(q.current)),"both"===Z)return}if(tr(e.key,Z)){if((0,a.p7)(e),n&&!x&&(0,a.AW)(e.currentTarget.ownerDocument)===e.currentTarget){q.current=ti(e.key,Z,O)?o:c,Y(q.current);return}ti(e.key,Z,O)?p?q.current=t>=c?h&&t!==s.current.length?-1:o:P(s,{startingIndex:t,disabledIndices:R}):q.current=Math.min(c,P(s,{startingIndex:t,disabledIndices:R})):p?q.current=t<=o?h&&-1!==t?s.current.length:c:P(s,{startingIndex:t,decrement:!0,disabledIndices:R}):q.current=Math.max(o,P(s,{startingIndex:t,decrement:!0,disabledIndices:R})),w(s,q.current)?Y(null):Y(q.current)}}),eb=o.useMemo(()=>x&&n&&eg&&{"aria-activedescendant":ed||ec},[x,n,eg,ed,ec]),ey=o.useMemo(()=>({"aria-orientation":"both"===Z?void 0:Z,...!(0,a.Ie)(i.domReference)&&eb,onKeyDown:ev,onPointerMove(){H.current=!0}}),[eb,ev,i.domReference,Z]),ex=o.useMemo(()=>{function e(e){"auto"===E&&(0,a.Zj)(e.nativeEvent)&&(B.current=!0)}return{...eb,onKeyDown(e){H.current=!1;let t=e.key.startsWith("Arrow"),i=["Home","End"].includes(e.key),o=function(e,t,n){let r=n?e===b:e===y;return tn(t,r,e===v)}(e.key,Z,O),l=to(e.key,Z,O),c=tr(e.key,Z),u=(m?o:c)||"Enter"===e.key||""===e.key.trim();if(x&&n){var d,h,p,g,w;let n,r,u=null==W?void 0:W.nodesRef.current.find(e=>null==e.parentId);let f=W&&u?(d=W.nodesRef.current,h=u.id,r=-1,!function e(t,i){i>r&&(n=t,r=i),em(d,t).forEach(t=>{e(t.id,i+1)})}(h,0),d.find(e=>e.id===n)):null;if((t||i)&&f&&N){;let t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(o||l){let n=(null==(p=f.context)?void 0:p.elements.domReference)===e.currentTarget,r=l&&!n?null==(g=f.context)?void 0:g.elements.domReference:o?s.current.find(e=>(null==e?void 0:e.id)===ec):null;r&&((0,a.p7)(e),r.dispatchEvent(t),ef(void 0))}if((c||i)&&f.context&&f.context.open&&f.parentId&&e.currentTarget!==f.context.elements.domReference){(0,a.p7)(e),null==(w=f.context.elements.domReference)||w.dispatchEvent(t);return}}return ev(e)}if(n||$||!t){if(u&&(U.current=m&&c?null:e.key),m){o&&((0,a.p7)(e),n?(q.current=S(s,eo.current),Y(q.current)):r(!0,e.nativeEvent,"list-navigation"));return}c&&(null!=f&&(q.current=f),(0,a.p7)(e),!n&&$?r(!0,e.nativeEvent,"list-navigation"):ev(e),n&&Y(q.current))}},onFocus(){n&&!x&&Y(null)},onPointerDown:function(e){B.current=E,"auto"===E&&(0,a.cr)(e.nativeEvent)&&(B.current=!0)},onMouseDown:e,onClick:e}},[ec,eb,ev,eo,E,s,m,Y,r,n,$,Z,O,f,W,x,N]);return o.useMemo(()=>d?{reference:ex,floating:ey,item:eO}:{},[d,ex,ey,eO])}let ts=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function tl(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:i}=e,{enabled:a=!0,role:s="dialog"}=t,l=null!=(n=ts.get(s))?n:s,c=B(),u=null!=J(),d=o.useMemo(()=>"tooltip"===l||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:r?i:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":r?i:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&u&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}},[l,i,u,r,c,s]),f=o.useMemo(()=>
1{let e={id:i,...l&&{role:l}};return"tooltip"===l||"label"===s?e:{...e,..."menu"===l&&{"aria-labelledby":c}}},[l,i,c,s]),h=o.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:i+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}},[i,s]);return o.useMemo(()=>a?{reference:d,floating:f,item:h}:{},[a,d,f,h])}let tc=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function tu(e,t){return"function"==typeof e?e(t):e}function td(e,t){void 0===t&&(t={});let{open:n,elements:{floating:r}}=e,{duration:i=250}=t,a=("number"==typeof i?i:i.close)||0,[s,l]=o.useState("unmounted"),c=function(e,t){let[n,r]=o.useState(e);return e&&!n&&r(!0),o.useEffect(()=>{if(!e&&n){let e=setTimeout(()=>r(!1),t);return()=>clearTimeout(e)}},[e,n,t]),n}(n,a);return!c&&"close"===s&&l("unmounted"),D(()=>{if(r){if(n){l("initial");let e=requestAnimationFrame(()=>{l("open")});return()=>{cancelAnimationFrame(e)}}l("close")}},[n,r]),{isMounted:c,status:s}}function tf(e,t){void 0===t&&(t={});let{initial:n={opacity:0},open:r,close:i,common:a,duration:s=250}=t,l=e.placement,c=l.split("-")[0],u=o.useMemo(()=>({side:c,placement:l}),[c,l]),d="number"==typeof s,f=(d?s:s.open)||0,h=(d?s:s.close)||0,[p,m]=o.useState(()=>({...tu(a,u),...tu(n,u)})),{isMounted:g,status:O}=td(e,{duration:s}),v=ei(n),b=ei(r),y=ei(i),x=ei(a);return D(()=>{let e=tu(v.current,u),t=tu(y.current,u),n=tu(x.current,u),r=tu(b.current,u)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===O&&m(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===O&&m({transitionProperty:Object.keys(r).map(tc).join(","),transitionDuration:f+"ms",...n,...r}),"close"===O){let r=t||e;m({transitionProperty:Object.keys(r).map(tc).join(","),transitionDuration:h+"ms",...n,...r})}},[h,y,v,b,x,f,O,u]),{isMounted:g,styles:p}}function th(e,t){var n;let{open:r,dataRef:i}=e,{listRef:s,activeIndex:l,onMatch:c,onTypingChange:u,enabled:d=!0,findMatch:f=null,resetMs:h=750,ignoreKeys:p=[],selectedIndex:m=null}=t,O=o.useRef(),v=o.useRef(""),b=o.useRef(null!=(n=null!=m?m:l)?n:-1),y=o.useRef(null),x=g(c),w=g(u),S=ei(f),k=ei(p);D(()=>{r&&(clearTimeout(O.current),y.current=null,v.current="")},[r]),D(()=>{if(r&&""===v.current){var e;b.current=null!=(e=null!=m?m:l)?e:-1}},[r,m,l]);let P=g(e=>{e?!i.current.typing&&(i.current.typing=e,w(e)):i.current.typing&&(i.current.typing=e,w(e))}),M=g(e=>{function t(e,t,n){let r=S.current?S.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}let n=s.current;if(v.current.length>0&&" "!==v.current[0]&&(-1===t(n,n,v.current)?P(!1):" "===e.key&&(0,a.p7)(e)),null==n||k.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;r&&" "!==e.key&&((0,a.p7)(e),P(!0)),n.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&v.current===e.key&&(v.current="",b.current=y.current),v.current+=e.key,clearTimeout(O.current),O.current=setTimeout(()=>{v.current="",b.current=y.current,P(!1)},h);let i=b.current,o=t(n,[...n.slice((i||0)+1),...n.slice(0,(i||0)+1)],v.current);-1!==o?(x(o),y.current=o):" "!==e.key&&(v.current="",P(!1))}),j=o.useMemo(()=>({onKeyDown:M}),[M]),C=o.useMemo(()=>({onKeyDown:M,onKeyUp(e){" "===e.key&&P(!1)}}),[M,P]);return o.useMemo(()=>d?{reference:j,floating:C}:{},[d,j,C])}function tp(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tm=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:i,offset:o=0,index:a=0,minItemsVisible:l=4,referenceOverflowThreshold:c=0,scrollRef:h,...p}=(0,s.ku)(e,t),{rects:m,elements:{floating:g}}=t,O=n.current[a],v=(null==h?void 0:h.current)||g,b=g.clientTop||v.clientTop,y=0!==g.clientTop,x=0!==v.clientTop,w=g===v;if(!O)return{};let S={...t,...await (0,d.cv)(-O.offsetTop-g.clientTop-m.reference.height/2-O.offsetHeight/2-o).fn(t)},k=await (0,f.US)(tp(S,v.scrollHeight+b+g.clientTop),p),P=await (0,f.US)(S,{...p,elementContext:"reference"}),M=(0,s.Fp)(0,k.top),j=S.y+M,C=(v.scrollHeight>v.clientHeight?e=>e:s.NM)((0,s.Fp)(0,v.scrollHeight+(y&&w||x?2*b:0)-M-(0,s.Fp)(0,k.bottom)));
1if(v.style.maxHeight=C+"px",v.scrollTop=M,i){let e=v.offsetHeight<O.offsetHeight*(0,s.VV)(l,n.current.length)-1||P.top>=-c||P.bottom>=-c;u.flushSync(()=>i(e))}return r&&(r.current=await (0,f.US)(tp({...S,y:j},v.offsetHeight+b+g.clientTop),p)),{y:j}}});function tg(e,t){let{open:n,elements:r}=e,{enabled:i=!0,overflowRef:s,scrollRef:l,onChange:c}=t,d=g(c),f=o.useRef(!1),h=o.useRef(null),p=o.useRef(null);o.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==s.current)return;let n=e.deltaY,r=s.current.top>=-.5,i=s.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,l=n<0?-1:1,c=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!i&&n<0?(e.preventDefault(),u.flushSync(()=>{d(e=>e+Math[c](n,o*l))})):/firefox/i.test((0,a.ij)())&&(t.scrollTop+=n))}let t=(null==l?void 0:l.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{h.current=t.scrollTop,null!=s.current&&(p.current={...s.current})}),()=>{h.current=null,p.current=null,t.removeEventListener("wheel",e)}},[i,n,r.floating,s,l,d]);let m=o.useMemo(()=>({onKeyDown(){f.current=!0},onWheel(){f.current=!1},onPointerMove(){f.current=!1},onScroll(){let e=(null==l?void 0:l.current)||r.floating;if(s.current&&e&&f.current){if(null!==h.current){let t=e.scrollTop-h.current;(s.current.bottom<-.5&&t<-1||s.current.top<-.5&&t>1)&&u.flushSync(()=>d(e=>e+t))}requestAnimationFrame(()=>{h.current=e.scrollTop})}}}),[r.floating,d,s,l]);return o.useMemo(()=>i?{floating:m}:{},[i,m])}function tO(e,t){let[n,r]=e,i=!1,o=t.length;for(let e=0,a=o-1;e<o;a=e++){let[o,s]=t[e]||[0,0],[l,c]=t[a]||[0,0];s>=r!=c>=r&&n<=(l-o)*(r-s)/(c-s)+o&&(i=!i)}return i}function tv(e){let t;void 0===e&&(e={});let{buffer:n=.5,blockPointerEvents:r=!1,requireIntent:i=!0}=e,o=!1,s=null,c=null,u=performance.now(),d=e=>{let{x:r,y:d,placement:f,elements:h,onClose:p,nodeId:m,tree:g}=e;return function(e){var O,v;function b(){clearTimeout(t),p()}if(clearTimeout(t),!h.domReference||!h.floating||null==f||null==r||null==d)return;let{clientX:y,clientY:x}=e,w=[y,x],S=(0,a.U9)(e),k="mouseleave"===e.type,P=(0,a.r3)(h.floating,S),M=(0,a.r3)(h.domReference,S),j=h.domReference.getBoundingClientRect(),C=h.floating.getBoundingClientRect(),_=f.split("-")[0],T=r>C.right-C.width/2,D=d>C.bottom-C.height/2;let E=(O=w,v=j,O[0]>=v.x&&O[0]<=v.x+v.width&&O[1]>=v.y&&O[1]<=v.y+v.height),Q=C.width>j.width,$=C.height>j.height,R=(Q?j:C).left,Z=(Q?j:C).right,I=($?j:C).top,A=($?j:C).bottom;if(P&&(o=!0,!k))return;if(M&&(o=!1),M&&!k){o=!0;return}if(k&&(0,l.kK)(e.relatedTarget)&&(0,a.r3)(h.floating,e.relatedTarget)||g&&em(g.nodesRef.current,m).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===_&&d>=j.bottom-1||"bottom"===_&&d<=j.top+1||"left"===_&&r>=j.right-1||"right"===_&&r<=j.left+1)return b();let N=[];switch(_){case"top":N=[[R,j.top+1],[R,C.bottom-1],[Z,C.bottom-1],[Z,j.top+1]];break;case"bottom":N=[[R,C.top+1],[R,j.bottom-1],[Z,j.bottom-1],[Z,C.top+1]];break;case"left":N=[[C.right-1,A],[C.right-1,I],[j.left+1,I],[j.left+1,A]];break;case"right":N=[[j.right-1,A],[j.right-1,I],[C.left+1,I],[C.left+1,A]]}if(!tO([y,x],N)){if(o&&!E)return b();if(!k&&i){let t=function(e,t){let n=performance.now(),r=n-u;if(null===s||null===c||0===r)return s=e,c=t,u=n,null;let i=e-s,o=t-c,a=Math.sqrt(i*i+o*o);return s=e,c=t,u=n,a/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return b()}tO([y,x],function(e){let[t,r]=e;switch(_){case"top":{let e=[[C.left,T?C.bottom-n:Q?C.bottom-n:C.top],[C.right,T?Q?C.bottom-n:C.top:C.bottom-n]];return[[Q?t+n/2:T?t+4*n:t-4*n,r+n+1],[Q?t-n/2:T?t+4*n:t-4*n,r+n+1],...e]}case"bottom":{let e=[[C.left,T?C.top+n:Q?C.top+n:C.bottom],[C.right,T?Q?C.top+n:C.bottom:C.top+n]];return[[Q?t+n/2:T?t+4*n:t-4*n,r-n],[Q?t-n/2:T?t+4*n:t-4*n,r-n],...e]}case"left":return[[D?C.right-n:$?C.right-n:C.left,C.top],[D?$?C.right-n:C.left:C.right-n,C.bottom],[t+n+1,$?r+n/2:D?r+4*n:r-4*n],[t+n+1,$?r-n/2:D?r+4*n:r-4*n]];case"right":{let e=[[D?C.left+n:$?C.left+n:C.right,C.top],[D?$?C.left+n:C.right:C.left+n,C.bottom]];return[[t-n,$?r+n/2:D?r+4*n:r-4*n],[t-n,$?r-n/2:D?r+4*n:r-4*n],...e]}}}([r,d]))?!o&&i&&(t=window.setTimeout(b,40)):b()}}};return d.__options={blockPointerEvents:r},d}},13836:function(e,t,n){"use strict";n.d(t,{S:function(){return ed}});for(var r,i=n("73030"),o=n("27954"),a=n("79038"),s=n("33361"),l=n("64449"),c=n("20778"),u=n("37577"),d=n("3781"),f=n("35506"),h=n("39708"),p=n("52541"),m=n("94491"),g={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},O=function(e){return(0,h.tZ)("span",(0,i.Z)({css:g},e))},v={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;
1switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d="".concat(l?" selected":"").concat(s?" disabled":"");return"".concat(o).concat(d,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},b=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,f=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,g=l.isMulti,b=l.isOptionDisabled,y=l.isSearchable,x=l.menuIsOpen,w=l.options,S=l.screenReaderStatus,k=l.tabSelectsValue,P=l.isLoading,M=l["aria-label"],j=l["aria-live"],C=(0,d.useMemo)(function(){return(0,o.Z)((0,o.Z)({},v),f||{})},[f]),_=(0,d.useMemo)(function(){var e="";if(t&&C.onChange){var n,r=t.option,i=t.options,a=t.removedValue,l=t.removedValues,c=t.value;var u=a||r||(Array.isArray(n=c)?null:n),d=u?p(u):"",f=i||l||void 0,h=f?f.map(p):[],m=(0,o.Z)({isDisabled:u&&b(u,s),label:d,labels:h},t);e=C.onChange(m)}return e},[t,C,b,s,p]),T=(0,d.useMemo)(function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&C.onFocus){var a={focused:t,label:p(t),isDisabled:b(t,s),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=C.onFocus(a)}return e},[n,r,p,b,C,i,s,u]),D=(0,d.useMemo)(function(){var e="";if(x&&w.length&&!P&&C.onFilter){var t=S({count:i.length});e=C.onFilter({inputValue:m,resultsMessage:t})}return e},[i,m,x,C,w,S,P]),E=(null==t?void 0:t.action)==="initial-input-focus",Q=(0,d.useMemo)(function(){var e="";if(C.guidance){var t=r?"value":x?"menu":"input";e=C.guidance({"aria-label":M,context:t,isDisabled:n&&b(n,s),isMulti:g,isSearchable:y,tabSelectsValue:k,isInitialFocus:E})}return e},[M,n,r,g,b,y,x,C,s,k,E]),$=(0,h.tZ)(d.Fragment,null,(0,h.tZ)("span",{id:"aria-selection"},_),(0,h.tZ)("span",{id:"aria-focused"},T),(0,h.tZ)("span",{id:"aria-results"},D),(0,h.tZ)("span",{id:"aria-guidance"},Q));return(0,h.tZ)(d.Fragment,null,(0,h.tZ)(O,{id:c},E&&$),(0,h.tZ)(O,{"aria-live":j,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!E&&$))},y=[{base:"A",letters:"AⒶA\xc0\xc1\xc2ẦẤẪẨ\xc3ĀĂẰẮẴẲȦǠ\xc4ǞẢ\xc5ǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"\xc6ǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČ\xc7ḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺE\xc8\xc9\xcaỀẾỄỂẼĒḔḖĔĖ\xcbẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾI\xcc\xcd\xceĨĪĬİ\xcfḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃ\xd1ṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄO\xd2\xd3\xd4ỒỐỖỔ\xd5ṌȬṎŌṐṒŎȮȰ\xd6ȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬ\xd8ǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"}
1,{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊU\xd9\xda\xdbŨṸŪṺŬ\xdcǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲ\xddŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚ\xe0\xe1\xe2ầấẫẩ\xe3āăằắẵẳȧǡ\xe4ǟả\xe5ǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"\xe6ǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċč\xe7ḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔe\xe8\xe9\xeaềếễểẽēḕḗĕė\xebẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘi\xec\xed\xeeĩīĭ\xefḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹń\xf1ṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞo\xf2\xf3\xf4ồốỗổ\xf5ṍȭṏōṑṓŏȯȱ\xf6ȫỏőǒȍȏơờớỡởợọộǫǭ\xf8ǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢs\xdfśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤu\xf9\xfa\xfbũṹūṻŭ\xfcǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳ\xfdŷỹȳẏ\xffỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],x=RegExp("["+y.map(function(e){return e.letters}).join("")+"]","g"),w={},S=0;S<y.length;S++){for(var k=y[S],P=0;P<k.letters.length;P++)w[k.letters[P]]=k.base}var M=function(e){return e.replace(x,function(e){return w[e]})},j=(0,p.Z)(M),C=function(e){return e.replace(/^\s+|\s+$/g,"")},_=function(e){return"".concat(e.label," ").concat(e.value)},T=["innerRef"];function D(e){var t=e.innerRef,n=(0,m.Z)(e,T),r=(0,f.r)(n,"onExited","in","enter","exit","appear");return(0,h.tZ)("input",(0,i.Z)({ref:t},r,{css:(0,h.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var E=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},Q=["boxSizing","height","overflow","paddingRight","position"],$={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function R(e){e.cancelable&&e.preventDefault()}function Z(e){e.stopPropagation()}function I(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function A(){return"ontouchstart"in window||navigator.maxTouchPoints}var N=!!("undefined"!=typeof window&&window.document&&window.document.createElement),L=0,z={capture:!1,passive:!1},F=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},V={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function W(e){var t,n,r,i,o,a,s,l,c,u,p,m,g,O,v,b,y,x,w,S,k,P,M,j,C=e.children,_=e.lockEnabled,T=e.captureEnabled;var D=(n=(t={isEnabled:void 0===T||T,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,r=t.onBottomArrive,i=t.onBottomLeave,o=t.onTopArrive,a=t.onTopLeave,s=(0,d.useRef)(!1),l=(0,d.useRef)(!1),c=(0,d.useRef)(0),u=(0,d.useRef)(null),p=(0,d.useCallback)(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,f=n.clientHeight,h=u.current,p=t>0,m=d-f-c,g=!1;m>t&&s.current&&(i&&i(e),s.current=!1),p&&l.current&&(a&&a(e),l.current=!1),p&&t>m?(r&&!s.current&&r(e),h.scrollTop=d,g=!0,s.current=!0):!p&&-t>c&&(o&&!l.current&&o(e),h.scrollTop=0,g=!0,l.current=!0),g&&E(e)}},[r,i,o,a]),m=(0,d.useCallback)(function(e){p(e,e.deltaY)},[p]),g=(0,d.useCallback)(function(e){c.current=e.changedTouches[0].clientY},[]),O=(0,d.useCallback)(function(e){var t=c.current-e.changedTouches[0].clientY;p(e,t)},[p]),v=(0,d.useCallback)(function(e){if(e){var t=!!f.s&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",O,t)}},[O,g,m]),b=(0,d.useCallback)(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",O,!1))},[O,g,m]),(0,d.useEffect)(function(){if(n){var e=u.current;return v(e),function(){b(e)}}},[n,v,b]),function(e){u.current=e});var W=(x=(y={isEnabled:_}).isEnabled,S=void 0===(w=y.accountForScrollbars)||w,k=(0,d.useRef)({}),P=(0,d.useRef)(null),M=(0,d.useCallback)(function(e){if(N){var t=document.body,n=t&&t.style;if(S&&Q.forEach(function(e){var t=n&&n[e];k.current[e]=t}),S&&L<1){var r=parseInt(k.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,o=window.innerWidth-i+r||0;Object.keys($).forEach(function(e){var t=$[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(o,"px"))}
1t&&A()&&(t.addEventListener("touchmove",R,z),e&&(e.addEventListener("touchstart",I,z),e.addEventListener("touchmove",Z,z))),L+=1}},[S]),j=(0,d.useCallback)(function(e){if(N){var t=document.body,n=t&&t.style;L=Math.max(L-1,0),S&&L<1&&Q.forEach(function(e){var t=k.current[e];n&&(n[e]=t)}),t&&A()&&(t.removeEventListener("touchmove",R,z),e&&(e.removeEventListener("touchstart",I,z),e.removeEventListener("touchmove",Z,z)))}},[S]),(0,d.useEffect)(function(){if(x){var e=P.current;return M(e),function(){j(e)}}},[x,M,j]),function(e){P.current=e});return(0,h.tZ)(d.Fragment,null,_&&(0,h.tZ)("div",{onClick:F,css:V}),C(function(e){D(e),W(e)}))}var Y={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},X=function(e){var t=e.name,n=e.onFocus;return(0,h.tZ)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Y,value:"",onChange:function(){}})};function B(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function q(){return B(/^Mac/i)}var U={clearIndicator:f.a,container:f.b,control:f.d,dropdownIndicator:f.e,group:f.g,groupHeading:f.f,indicatorsContainer:f.i,indicatorSeparator:f.h,input:f.j,loadingIndicator:f.l,loadingMessage:f.k,menu:f.m,menuList:f.n,menuPortal:f.o,multiValue:f.p,multiValueLabel:f.q,multiValueRemove:f.t,noOptionsMessage:f.u,option:f.v,placeholder:f.w,singleValue:f.x,valueContainer:f.y},H={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};var G={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,f.z)(),captureMenuScroll:!(0,f.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,o.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:_,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,i=n.ignoreAccents,a=n.stringify,s=n.trim,l=n.matchFrom,c=s?C(t):t,u=s?C(a(e)):a(e);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=j(c),u=M(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,f.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function J(e,t,n,r){var i=ea(e,t,n),o=es(e,t,n),a=ei(e,t),s=eo(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:a,value:s,index:r}}function K(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return J(e,n,t,r)}).filter(function(t){return en(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=J(e,n,t,r);return en(e,o)?o:void 0}).filter(f.K)}function ee(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,(0,u.Z)(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function et(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,(0,u.Z)(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function en(e,t){var n=e.inputValue,r=t.data,i=t.isSelected,o=t.label,a=t.value;return(!ec(e)||!i)&&el(e,{label:o,value:a,data:r},void 0===n?"":n)}var er=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},ei=function(e,t){return e.getOptionLabel(t)}
1,eo=function(e,t){return e.getOptionValue(t)};function ea(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function es(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=eo(e,t);return n.some(function(t){return eo(e,t)===r})}function el(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ec=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},eu=1,ed=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(e){var r;if((0,a.Z)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=B(/^Mac/i)||B(/^iPhone/i)||B(/^iPad/i)||B(/^Mac/i)&&navigator.maxTouchPoints>1,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.
1state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue((0,f.B)(a.filter(function(e){return r.getOptionValue(e)!==c})),"deselect-option",e)}else if(l){r.ariaOnChange((0,f.C)(e),{action:"select-option",option:e,name:o});return}else i?r.setValue((0,f.B)([].concat((0,u.Z)(a),[e])),"select-option",e):r.setValue((0,f.C)(e),"select-option");n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=(0,f.D)(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,f.D)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=(0,f.D)(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return er(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return et(K(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.E.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return ei(r.props,e)},r.getOptionValue=function(e){return eo(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=U[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,f.F)(r.props)},r.buildCategorizedOptions=function(){return K(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return ee(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,o.Z)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!e||"mousedown"!==e.type||0===e.button){if(!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}}},r.onClearIndicatorMouseDown=function(e){(!e||"mousedown"!==e.type||0===e.button)&&(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,f.G)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){!r.userIsDragging&&(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){!r.userIsDragging&&r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){!r.userIsDragging&&r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){!r.userIsDragging&&r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),!r.props.menuIsOpen&&r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);
1r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return ec(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,h=r.state,p=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!l){if("function"==typeof u&&(u(e),e.defaultPrevented))return;switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing||e.shiftKey||!c||!d||!p||f&&r.isOptionSelected(p,g))return;r.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(c){if(!p||r.isComposing)return;r.selectOption(p);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!p)return;r.selectOption(p);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++eu),r.state.selectValue=(0,f.H)(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),s=r.buildFocusableOptions(),l=s.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=s[l],r.state.focusedOptionId=er(i,s[l])}return r}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,f.I)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!n&&e.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,f.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(!!this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);!r&&(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);!n&&(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(H):(0,o.Z)((0,o.Z)({},H),this.props.theme):H}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ea(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return es(this.props,e,t)}},{key:"filterOption",value:function(e,t){return el(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,a=e.inputValue,s=e.tabIndex,l=e.form,c=e.menuIsOpen,u=e.required,h=this.getComponents().Input,p=this.state,m=p.inputIsHidden,g=p.ariaSelection,O=this.commonProps,v=r||this.getElementId("input"),b=(0,o.Z)((0,o.Z)((0,o.Z)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==g?void 0:g.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});
1return n?d.createElement(h,(0,i.Z)({},O,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:a},b)):d.createElement(D,(0,i.Z)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,f=u.controlShouldRenderValue,h=u.isDisabled,p=u.isMulti,m=u.inputValue,g=u.placeholder,O=this.state,v=O.selectValue,b=O.focusedValue,y=O.isFocused;if(!this.hasValue()||!f)return m?null:d.createElement(l,(0,i.Z)({},c,{key:"placeholder",isDisabled:h,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(p)return v.map(function(t,s){var l=t===b,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return d.createElement(n,(0,i.Z)({},c,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:h,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=v[0];return d.createElement(s,(0,i.Z)({},c,{data:x,isDisabled:h}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(e,(0,i.Z)({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;return e&&o?d.createElement(e,(0,i.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return d.createElement(n,(0,i.Z)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(e,(0,i.Z)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),r=n.Group,o=n.GroupHeading,a=n.Menu,s=n.MenuList,l=n.MenuPortal,c=n.LoadingMessage,u=n.NoOptionsMessage,h=n.Option,p=this.commonProps,m=this.state.focusedOption,g=this.props,O=g.captureMenuScroll,v=g.inputValue,b=g.isLoading,y=g.loadingMessage,x=g.minMenuHeight,w=g.maxMenuHeight,S=g.menuIsOpen,k=g.menuPlacement,P=g.menuPosition,M=g.menuPortalTarget,j=g.menuShouldBlockScroll,C=g.menuShouldScrollIntoView,_=g.noOptionsMessage,T=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!S)return null;var E=function(e,n){var r=e.type,o=e.data,a=e.isDisabled,s=e.isSelected,l=e.label,c=e.value,u=m===o,f=a?void 0:function(){return t.onOptionHover(o)},g=a?void 0:function(){return t.selectOption(o)},O="".concat(t.getElementId("option"),"-").concat(n),v={id:O,onClick:g,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:s};return d.createElement(h,(0,i.Z)({},p,{innerProps:v,data:o,isDisabled:a,isSelected:s,key:O,label:l,type:r,value:c,isFocused:u,innerRef:u?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var n=e.data,a=e.options,s=e.index,l="".concat(t.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return d.createElement(r,(0,i.Z)({},p,{key:l,data:n,options:a,Heading:o,headingProps:{id:c,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return E(e,"".concat(s,"-").concat(e.index))}))}if("option"===e.type)return E(e,"".concat(e.index))});else if(b){var Q=y({inputValue:v});if(null===Q)return null;e=d.createElement(c,p,Q)}else{var $=_({inputValue:v});if(null===$)return null;e=d.createElement(u,p,$)}var R={minMenuHeight:x,maxMenuHeight:w,menuPlacement:k,menuPosition:P,menuShouldScrollIntoView:C},Z=d.createElement(f.M,(0,i.Z)({},p,R),function(n){var r=n.ref,o=n.placerProps,l=o.placement,c=o.maxHeight;return d.createElement(a,(0,i.Z)({},p,R,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:b,placement:l}),d.createElement(W,{captureEnabled:O,onTopArrive:T,onBottomArrive:D,lockEnabled:j},function(n){return d.createElement(s,(0,i.Z)({},p,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:t.getElementId("listbox")},isLoading:b,maxHeight:c,focusedOption:m}),e)}))});return M||"fixed"===P?d.createElement(l,(0,i.Z)({},p,{appendTo:M,controlElement:this.controlRef,menuPlacement:k,menuPosition:P}),Z):Z}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,o=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return d.createElement(X,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var l=s.map(function(t){return e.getOptionValue(t)}).join(n);return d.createElement("input",{name:o,type:"hidden",value:l})}var c=s.length>0?s.map(function(t,n){return d.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):d.createElement("input",{name:o,type:"hidden",value:""});return d.createElement("div",null,c)}else{var u=s[0]?this.getOptionValue(s[0]):"";return d.createElement("input",{name:o,type:"hidden",value:u})}}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return d.createElement(b,(0,i.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return d.createElement(r,(0,i.Z)({},h,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),d.createElement(t,(0,i.Z)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:u}),d.createElement(o,(0,i.Z)({},h,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),d.createElement(n,(0,i.Z)({},h,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,s=t.isFocused,l=t.prevWasFocused,c=t.instancePrefix,u=e.options,d=e.value,h=e.menuIsOpen,p=e.inputValue,m=e.isMulti,g=(0,f.H)(d),O={};if(n&&(d!==n.value||u!==n.options||h!==n.menuIsOpen||p!==n.inputValue)){var v,b,y,x=h?ee(K(e,g)):[],w=h?et(K(e,g),"".concat(c,"-option")):[],S=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,g):null;var k=(v=t,b=x,(y=v.focusedOption)&&b.indexOf(y)>-1?y:b[0]),P=er(w,k);O={selectValue:g,focusedOption:k,focusedOptionId:P,focusableOptionsWithIds:w,focusedValue:S,clearFocusValueOnUpdate:!1}}var M=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},j=a,C=s&&l;return s&&!C&&(j={value:(0,f.D)(m,g,g[0]||null),options:g,action:"initial-input-focus"},C=!l),(null==a?void 0:a.action)==="initial-input-focus"&&(j=null),(0,o.Z)((0,o.Z)((0,o.Z)({},O),M),{},{prevProps:e,ariaSelection:j,prevWasFocused:C})}}]),n}(d.Component);ed.defaultProps=G},35506:function(e,t,n){"use strict";n.d(t,{A:function(){return C},B:function(){return R},C:function(){return $},D:function(){return Q},E:function(){return v},F:function(){return eM},G:function(){return w},H:function(){return b},I:function(){return M},J:function(){return O},K:function(){return E},M:function(){return F},a:function(){return eo},b:function(){return q},d:function(){return eu},e:function(){return ei},f:function(){return eh},g:function(){return ef},h:function(){return ea},i:function(){return H},j:function(){return em},k:function(){return X},l:function(){return el},m:function(){return L},n:function(){return V},o:function(){return B},p:function(){return ev},q:function(){return eb},r:function(){return Z},s:function(){return D},t:function(){return ey},u:function(){return Y},v:function(){return ew},w:function(){return eS},x:function(){return ek},y:function(){return U},z:function(){return j}});var r,i=n("27954"),o=n("73030"),a=n("39708"),s=n("14091"),l=n("94491"),c=n("92452"),u=n("89234"),d=n("71549"),f=n("3781"),h=n("27215"),p=n("60943"),m=n("33038"),g=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","
1setValue","theme"],O=function(){};function v(e,t){for(var n,r,i=arguments.length,o=Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];var s=[].concat(o);if(t&&e){for(var l in t)if(t.hasOwnProperty(l)&&t[l]){;s.push("".concat((n=e,(r=l)?"-"===r[0]?n+r:n+"__"+r:n)))}}return s.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var b=function(e){return function(e){return Array.isArray(e)}(e)?e.filter(Boolean):"object"===(0,c.Z)(e)&&null!==e?[e]:[]},y=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,l.Z)(e,g);return(0,i.Z)({},t)},x=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function w(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function S(e){return w(e)?window.pageYOffset:e.scrollTop}function k(e,t){if(w(e)){window.scrollTo(0,t);return}e.scrollTop=t}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O,i=S(e),o=t-i,a=0;!function t(){var s,l;a+=10,k(e,(s=a,l=i,o*((s=s/n-1)*s*s+1)+l)),a<n?window.requestAnimationFrame(t):r(e)}()}function M(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?k(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&k(e,Math.max(t.offsetTop-i,0))}function j(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function C(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var _=!1,T="undefined"!=typeof window?window:{};T.addEventListener&&T.removeEventListener&&(T.addEventListener("p",O,{get passive(){return _=!0}}),T.removeEventListener("p",O,!1));var D=_;function E(e){return null!=e}function Q(e,t,n){return e?t:n}function $(e){return e}function R(e){return e}var Z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter(function(e){var t=(0,s.Z)(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=(0,s.Z)(t,2),r=n[0],i=n[1];return e[r]=i,e},{})},I=["children","innerProps"],A=["children","innerProps"],N=function(e){return"auto"===e?"bottom":e},L=function(e,t){var n,r,o=e.placement,a=e.theme,s=a.borderRadius,l=a.spacing,c=a.colors;return(0,i.Z)((r={label:"menu"},(0,d.Z)(r,(n=o)?({bottom:"top",top:"bottom"})[n]:"bottom","100%"),(0,d.Z)(r,"position","absolute"),(0,d.Z)(r,"width","100%"),(0,d.Z)(r,"zIndex",1),r),t?{}:{backgroundColor:c.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},z=(0,f.createContext)(null),F=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,u=((0,f.useContext)(z)||{}).setPortalPlacement,d=(0,f.useRef)(null),h=(0,f.useState)(r),p=(0,s.Z)(h,2),g=p[0],O=p[1],v=(0,f.useState)(null),b=(0,s.Z)(v,2),y=b[0],x=b[1],M=c.spacing.controlHeight;return(0,m.Z)(function(){var e=d.current;if(e){var t="fixed"===a,i=function(e){var t,n=e.maxHeight,r=e.menuEl,i=e.minHeight,o=e.placement,a=e.shouldScroll,s=e.isFixedPosition,l=e.controlHeight,c=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(r),u={placement:"bottom",maxHeight:n};if(!r||!r.offsetParent)return u;var d=c.getBoundingClientRect().height,f=r.getBoundingClientRect(),h=f.bottom,p=f.height,m=f.top,g=r.offsetParent.getBoundingClientRect().top;var O=s?window.innerHeight:w(t=c)?window.innerHeight:t.clientHeight,v=S(c),b=parseInt(getComputedStyle(r).marginBottom,10),y=parseInt(getComputedStyle(r).marginTop,10),x=g-y,M=O-m,j=x+v,C=d-v-m,_=h-O+v+b,T=v+m-y;switch(o){case"auto":case"bottom":if(M>=p)return{placement:"bottom",maxHeight:n};if(C>=p&&!s)return a&&P(c,_,160),{placement:"bottom",maxHeight:n};if(!s&&C>=i||s&&M>=i){a&&P(c,_,160);return{placement:"bottom",maxHeight:s?M-b:C-b}}if("auto"===o||s){var D=n,E=s?x:j;return E>=i&&(D=Math.min(E-b-l,n)),{placement:"top",maxHeight:D}}if("bottom"===o)return a&&k(c,_),{placement:"bottom",maxHeight:n};break;case"top":if(x>=p)return{placement:"top",maxHeight:n};if(j>=p&&!s)return a&&P(c,T,160),{placement:"top",maxHeight:n};if(!s&&j>=i||s&&x>=i){var Q=n;return(!s&&j>=i||s&&x>=i)&&(Q=s?x-y:j-y),a&&P(c,T,160),{placement:"top",maxHeight:Q}}return{placement:"bottom",maxHeight:n};default:throw Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:M});O(i.maxHeight),x(i.placement),null==u||u(i.placement)}},[r,o,a,l,n,u,M]),t({ref:d,placerProps:(0,i.Z)((0,i.Z)({},e),{},{placement:y||N(o),maxHeight:g})})},V=function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return(0,i.Z)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},W=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return(0,i.Z)({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Y=W,X=W,B=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},q=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}}
vendor: 4,286 bytes, line 1
1,U=function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,i.Z)({alignItems:"center",display:r&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},H=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},G=["size"],J=["innerProps","isRtl","size"],K={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ee=function(e){var t=e.size,n=(0,l.Z)(e,G);return(0,a.tZ)("svg",(0,o.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:K},n))},et=function(e){return(0,a.tZ)(ee,(0,o.Z)({size:20},e),(0,a.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},en=function(e){return(0,a.tZ)(ee,(0,o.Z)({size:20},e),(0,a.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},er=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return(0,i.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},ei=er,eo=er,ea=function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return(0,i.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},es=(0,a.F4)(r||(r=(0,u.Z)(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),el=function(e,t){var n=e.isFocused,r=e.size,o=e.theme,a=o.colors,s=o.spacing.baseUnit;return(0,i.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},ec=function(e){var t=e.delay,n=e.offset;return(0,a.tZ)("span",{css:(0,a.iv)({animation:"".concat(es," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},eu=function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,a=o.colors,s=o.borderRadius,l=o.spacing;return(0,i.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},ed=["data"],ef=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},eh=function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return(0,i.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},ep=["innerRef","isDisabled","isHidden","inputClassName"],em=function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,a=o.spacing,s=o.colors;return(0,i.Z)((0,i.Z)({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},eO),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},eg={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},eO={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,i.Z)({content:'attr(data-value) " "',visibility:"hidden",
1whiteSpace:"pre"},eg)},ev=function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors;return(0,i.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},eb=function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,a=e.cropWithEllipsis;return(0,i.Z)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},ey=function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors,s=e.isFocused;return(0,i.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},ex=function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",n,t)},ew=function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.theme,s=a.spacing,l=a.colors;return(0,i.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:o?l.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?l.primary:l.primary50}})},eS=function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return(0,i.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},ek=function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,a=r.colors;return(0,i.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},eP={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,a.tZ)(et,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return(0,a.tZ)("div",(0,o.Z)({ref:i},x(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":l}),s,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,a.tZ)(en,null))},DownChevron:en,CrossIcon:et,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,c=e.innerProps,u=e.label,d=e.theme,f=e.selectProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"group",{group:!0}),c),(0,a.tZ)(s,(0,o.Z)({},l,{selectProps:f,theme:d,getStyles:r,getClassNames:i,cx:n}),u),(0,a.tZ)("div",null,t))},GroupHeading:function(e){var t=y(e);t.data;var n=(0,l.Z)(t,ed);return(0,a.tZ)("div",(0,o.Z)({},x(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,a.tZ)("span",(0,o.Z)({},t,x(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t,n=e.cx,r=e.value,s=y(e),c=s.innerRef,u=s.isDisabled,d=s.isHidden,f=s.inputClassName,h=(0,l.Z)(s,ep);return(0,a.tZ)("div",(0,o.Z)({},x(e,"input",{"input-container":!0}),{"data-value":r||""}),(0,a.tZ)("input",(0,o.Z)({className:n({input:!0},f),ref:c,style:(t=d,(0,i.Z)({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},eg)),disabled:u},h)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,s=(0,l.Z)(e,J);return(0,a.tZ)("div",(0,o.Z)({},x((0,i.Z)((0,i.Z)({},s),{},{innerProps:t,isRtl:n,size:void 0===r?4:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,a.tZ)(ec,{delay:0,offset:n}),(0,a.tZ)(ec,{delay:160,offset:!0}),(0,a.tZ)(ec,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return(0,a.tZ)("div",(0,o.Z)({},x(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,l=e.innerProps,c=e.menuPlacement,u=e.menuPosition,d=(0,f.useRef)(null),g=(0,f.useRef)(null),O=(0,f.useState)(N(c)),v=(0,s.Z)(O,2),b=v[0],y=v[1],w=(0,f.useMemo)(function(){return{setPortalPlacement:y}},[]),S=(0,f.useState)(null),k=(0,s.Z)(S,2),P=k[0],M=k[1],j=(0,f.useCallback)(function(){if(r){var e,t={bottom:(e=r.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},n="fixed"===u?0:window.pageYOffset,i=t[b]+n;(i!==(null==P?void 0:P.offset)||t.left!==(null==P?void 0:P.rect.left)||t.width!==(null==P?void 0:P.rect.width))&&M({offset:i,rect:t})}},[r,u,b,null==P?void 0:P.offset,null==P?void 0:P.rect.left,null==P?void 0:P.rect.width]);(0,m.Z)(function(){j()},[j]);var C=(0,f.useCallback)(function(){"function"==typeof g.current&&(g.current(),g.current=null),r&&d.current&&(g.current=(0,p.Me)(r,d.current,j,{elementResize:"ResizeObserver"in window}))},[r,j]);(0,m.Z)(function(){C()},[C]);var _=(0,f.useCallback)(function(e){d.current=e,C()},[C]);if(!t&&"fixed"!==u||!P)return null;var T=(0,a.tZ)("div",(0,o.Z)({ref:_},x((0,i.Z)((0,i.Z)({},e),{},{offset:P.offset,position:u,rect:P.rect}),"menuPortal",{"menu-portal":!0}),l),n);return(0,a.tZ)(z.Provider,{value:w},t?(0,h.createPortal)(T,t):T)}
1,LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,s=(0,l.Z)(e,A);return(0,a.tZ)("div",(0,o.Z)({},x((0,i.Z)((0,i.Z)({},s),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,s=(0,l.Z)(e,I);return(0,a.tZ)("div",(0,o.Z)({},x((0,i.Z)((0,i.Z)({},s),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,s=e.isDisabled,l=e.removeProps,c=e.selectProps,u=n.Container,d=n.Label,f=n.Remove;return(0,a.tZ)(u,{data:r,innerProps:(0,i.Z)((0,i.Z)({},x(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:c},(0,a.tZ)(d,{data:r,innerProps:(0,i.Z)({},x(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},t),(0,a.tZ)(f,{data:r,innerProps:(0,i.Z)((0,i.Z)({},x(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},l),selectProps:c}))},MultiValueContainer:ex,MultiValueLabel:ex,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({role:"button"},n),t||(0,a.tZ)(et,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:s,"aria-disabled":n},l),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return(0,a.tZ)("div",(0,o.Z)({},x(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},x(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return(0,a.tZ)("div",(0,o.Z)({},x(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},eM=function(e){return(0,i.Z)((0,i.Z)({},eP),e.components)}},9850:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s}});var r=n("87169"),i=n("73030"),o=n("3781"),a=n("13836");n("59980"),n("27215"),n("33038");var s=(0,o.forwardRef)(function(e,t){var n=(0,r.u)(e);return o.createElement(a.S,(0,i.Z)({ref:t},n))})},87169:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n("27954"),i=n("14091"),o=n("94491"),a=n("3781"),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(e){var t=e.defaultInputValue,n=e.defaultMenuIsOpen,l=e.defaultValue,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,f=e.onInputChange,h=e.onMenuClose,p=e.onMenuOpen,m=e.value,g=(0,o.Z)(e,s),O=(0,a.useState)(void 0!==c?c:void 0===t?"":t),v=(0,i.Z)(O,2),b=v[0],y=v[1],x=(0,a.useState)(void 0!==u?u:void 0!==n&&n),w=(0,i.Z)(x,2),S=w[0],k=w[1],P=(0,a.useState)(void 0!==m?m:void 0===l?null:l),M=(0,i.Z)(P,2),j=M[0],C=M[1],_=(0,a.useCallback)(function(e,t){"function"==typeof d&&d(e,t),C(e)},[d]),T=(0,a.useCallback)(function(e,t){var n;"function"==typeof f&&(n=f(e,t)),y(void 0!==n?n:e)},[f]),D=(0,a.useCallback)(function(){"function"==typeof p&&p(),k(!0)},[p]),E=(0,a.useCallback)(function(){"function"==typeof h&&h(),k(!1)}
1,[h]),Q=void 0!==c?c:b,$=void 0!==u?u:S,R=void 0!==m?m:j;return(0,r.Z)((0,r.Z)({},g),{},{inputValue:Q,menuIsOpen:$,onChange:_,onInputChange:T,onMenuClose:E,onMenuOpen:D,value:R})}},11256:function(e,t,n){"use strict";var r=n("8434"),i=Array.prototype.concat,o=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var s=e[n];r(s)?t=i.call(t,o.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},73954:function(e,t,n){"use strict";n.d(t,{Wq:function(){return C},ht:function(){return j}});var r='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',i="undefined"==typeof Element,o=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!i&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},s=function e(t,n){void 0===n&&(n=!0);var r,i=null==t?void 0:null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},l=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},c=function(e,t,n){if(s(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&o.call(e,r)&&i.unshift(e),i=i.filter(n)},u=function e(t,n,i){for(var a=[],l=Array.from(t);l.length;){var c=l.shift();if(!s(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,i);i.flatten?a.push.apply(a,d):a.push({scopeParent:c,candidates:d})}else{o.call(c,r)&&i.filter(c)&&(n||!t.includes(c))&&a.push(c);var f=c.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(c),h=!s(f,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(c));if(f&&h){var p=e(!0===f?c.children:f.children,!0,i);i.flatten?a.push.apply(a,p):a.push({scopeParent:c,candidates:p})}else l.unshift.apply(l,c.children)}}return a},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||l(e))&&!d(e)?0:e.tabIndex},h=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},m=function(e){return"INPUT"===e.tagName},g=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},O=function(e){if(!e.name)return!0;var t,n=e.form||a(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=g(t,e.form);return!i||i===e},v=function(e){var t;return m(t=e)&&"radio"===t.type&&!O(e)},b=function(e){var t,n,r,i,o,s,l,c=e&&a(e),u=null===(t=c)||void 0===t?void 0:t.host,d=!1;if(c&&c!==e)for(d=!!(null!==(n=u)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(u)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!d&&u;)d=!!(null!==(s=u=null===(o=c=a(u))||void 0===o?void 0:o.host)&&void 0!==s&&null!==(l=s.ownerDocument)&&void 0!==l&&l.contains(u));return d},y=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},x=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=o.call(e,"details>summary:first-of-type")?e.parentElement:e;if(o.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return y(e)}else{if("function"==typeof r){for(var s=e;e;){var l=e.parentElement,c=a(e);if(l&&!l.shadowRoot&&!0===r(l))return y(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=s}if(b(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}
1,w=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName)){for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!o.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}}return!1},S=function(e,t){var n,r;return!(t.disabled||s(t)||m(n=t)&&"hidden"===n.type||x(t,e)||"DETAILS"===(r=t).tagName&&Array.prototype.slice.apply(r.children).some(function(e){return"SUMMARY"===e.tagName})||w(t))&&!0},k=function(e,t){return!(v(t)||0>f(t))&&!!S(e,t)&&!0},P=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)||!1},M=function e(t){var n=[],r=[];return t.forEach(function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=h(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})}),r.sort(p).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},j=function(e,t){var n;return M(n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:k.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:P}):c(e,t.includeContainer,k.bind(null,t)))},C=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==o.call(e,r)&&k(t,e)}},33038:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=n("3781").useLayoutEffect},59819:function(e,t,n){"use strict";n.d(t,{d9:function(){return i},rS:function(){return s},zo:function(){return l}});var r=n("9768");let i=()=>JSON.parse(window.localStorage.getItem("styles")??"{}"),o=(0,r.TS)(i()),a=(0,r.Ue)(o),{theme:s,styled:l,createTheme:c}=(0,r.z2)(a,{rootSelector:"body"})},48967:function(e,t,n){"use strict";var r=n("47590"),i=n("3781"),o=n("56384"),a=n("60390"),s=n("9768"),l=n("59819"),c=n("46998"),u=n("28826"),d=n("21030"),f=n("92098"),h=n("55441");a.F.setPages({overview:h.g,general:c.L,element:u.e,advanced:d.a,style:f.b},"overview");(0,o.createRoot)(document.body).render((0,r.jsx)(function(){return(0,i.useEffect)(()=>(0,s._s)((0,l.d9)()),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h4,{wide:!0,children:({TitleLink:e,Meta:t,Navigation:n})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,{}),(0,r.jsx)(t,{links:[{name:"Overview",url:"overview"},{name:"Demo",url:"https://tobua.github.io/naven/demo"},{name:"npm",url:"https://npmjs.com/naven"},{name:"GitHub",url:"https://github.com/tobua/naven"}]}),(0,r.jsx)(n,{linkActive:e=>e===a.F.route,links:[{title:{name:"General",url:"general"},links:[{name:"Header",url:"general#header"},{name:"Navigation",url:"general#navigation"},{name:"Content",url:"general#content"},{name:"Footer",url:"general#footer"}]},{title:{name:"Elements",url:"element"},links:[{name:"Accordion",url:"element#accordion"},{name:"Alert",url:"element#alert"},{name:"Anchor",url:"element#anchor"},{name:"Badge",url:"element#badge"},{name:"Button",url:"element#button"},{name:"Checkbox",url:"element#checkbox"},{name:"Radio",url:"element#radio"},{name:"Inline-Code",url:"element#inline-code"},{name:"Code",url:"element#code"},{name:"Date Picker",url:"element#date"},{name:"Dropdown",url:"element#dropdown"},{name:"Heading",url:"element#heading"},{name:"Image",url:"element#image"},{name:"Input",url:"element#input"},{name:"TextArea",url:"element#textarea"},{name:"Link",url:"element#link"},{name:"List",url:"element#list"},{name:"Loader",url:"element#loader"},{name:"Notification",url:"element#notification"},{name:"Popup",url:"element#popup"},{name:"Spacer",url:"element#spacer"},{name:"Tabs",url:"element#tabs"},{name:"Text",url:"element#text"},{name:"Tooltip",url:"element#tooltip"},{name:"Table",url:"element#table"},{name:"Lazy Load",url:"element#lazy"}]},{title:{name:"Style",url:"style"}},{title:{name:"Advanced",url:"advanced"},links:[{name:"Layout",url:"advanced#layout"},{name:"Spacing",url:"advanced#spacing"},{name:"Utility Methods",url:"advanced#utility"},{name:"Layers",url:"advanced#layers"}]}]})]})}),(0,r.jsx)(a.T,{})]})},{}))},15768:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var r=n("47590"),i=n("3781"),o=n("9768"),a=n("89954"),s=n("59819");let l=(0,s.zo)("header",{display:"flex",justifyContent:"space-between",alignSelf:"normal",alignItems:"center",flexDirection:"row"}),c=(0,s.zo)(o.zx,{"@phone":{padding:s.rS.space.tiny},variants:{bold:{true:{color:s.rS.color.backgroundContrast,cursor:"auto"}}}}),u=({title:e,anchor:t=e.toLowerCase(),code:n,children:s})=>{let[d,f]=(0,i.useState)("preview"),h=i.Children.map(s,e=>"preview"===d&&e.type===u.Preview||"properties"===d&&e.type!==u.Preview?e:null);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l,{children:[(0,r.jsxs)(o.X6,{as:"h2",children:[(0,r.jsx)(o.ee,{name:t}),e]}),(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(c,{bold:"preview"===d,onClick:()=>f("preview"),children:"Preview"}),(0,r.jsx)(c,{bold:"code"===d,onClick:()=>f("code"),children:"Code"}),(0,r.jsx)(c,{bold:"properties"===d,onClick:()=>f("properties"),children:"Properties"})]})]}),"code"===d&&(0,r.jsx)(a.Z,{template:"react-ts",children:n}),h]})};u.Preview=({children:e})=>e},56478:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n("47590"),i=n("3781"),o=n("9768"),a=n("59819");let s=({css:e=!0,children:t})=>{let n=[(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.xv,{children:"Property"}),(0,r.jsx)(o.xv,{children:"Default"}),(0,r.jsx)(o.xv,{children:"Values"})]},"head")];if(t)t.length>1?n.push(...t):n.push(t);return e&&n.push((0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.xv,{children:"css"}),(0,r.jsx)(o.xv,{children:"Empty"}),(0,r.jsx)(o.ZM,{children:"CSS"})]},"css")),(0,r.jsx)(o.iA,{css:{background:a.rS.color.gray200},children:n})}},21030:function(e,t,n){"use strict";n.d(t,{a:function(){return c}});var r=n("47590"),i=n("9768"),o=n("89954"),a=n("56478"),s=n("59819");let l={backgroundColor:s.rS.color.gray300,padding:s.rS.space.small},c=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.VY,{children:[(0,r.jsxs)(i.X6,{as:"h2",children:[(0,r.jsx)(i.ee,{name:"layout"}),"Layout"]}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Content />"})]}),(0,r.jsx)(i.VY,{styles:{Main:{css:l}},children:(0,r.jsx)("span",{children:"Content"})}),(0,r.jsx)(i.VY,{children:(0,r.jsx)(o.Z,{children:`<Content>
2  <span>Content</span>
3</Content>`})}),(0,r.jsx)(i.VY,{children:(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Wide />"})}),(0,r.jsx)(i.wp,{styles:{Main:{css:l}},children:(0,r.jsx)("span",{children:"Wide"})}),(0,r.jsxs)(i.VY,{children:[(0,r.jsx)(o.Z,{children:`<Wide>
4  <span>Wide</span>
5</Wide>`}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Narrow />"})]}),(0,r.jsx)(i.V2,{styles:{Main:{css:l}},children:(0,r.jsx)("span",{children:"Narrow"})}),(0,r.jsxs)(i.VY,{children:[(0,r.jsx)(o.Z,{children:`<Narrow>
6  <span>Narrow</span>
7</Narrow>`}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Sidebar />"})]}),(0,r.jsx)(i.YE,{styles:{Main:{css:l}},children:(0,r.jsx)("span",{children:"Sidebar"})}),(0,r.jsx)(i.VY,{position:"sidebar",styles:{Main:{css:l}},children:(0,r.jsx)("span",{children:"Content"})}),(0,r.jsxs)(i.VY,{children:[(0,r.jsx)(o.Z,{children:`<Sidebar>
8  <span>Sidebar</span>
9</Sidebar>
10<Content position="sidebar">
11  <span>Narrow</span>
12</Content>`}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Horizontal>"}),(0,r.jsxs)(i.I6,{children:[(0,r.jsx)("div",{children:"First"}),(0,r.jsx)("div",{children:"Second"}),(0,r.jsx)("div",{children:"Third"})]}),(0,r.jsx)(o.Z,{children:`const HorizontallyAligned = (
13  <Horizontal>
14    <div>First</div>
15    <div>Second</div>
16    <div>Third</div>
17  </Horizontal>
18)`}),(0,r.jsxs)(a.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"gap"}),(0,r.jsx)(i.ZM,{children:"theme.space.medium"}),(0,r.jsx)(i.ZM,{children:"string | number"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"wrap"}),(0,r.jsx)(i.ZM,{children:"false"}),(0,r.jsx)(i.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"center"}),(0,r.jsx)(i.ZM,{children:"false"}),(0,r.jsx)(i.ZM,{children:"boolean"})]})]}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Vertical>"}),(0,r.jsxs)(i.we,{children:[(0,r.jsx)("div",{children:"First"}),(0,r.jsx)("div",{children:"Second"}),(0,r.jsx)("div",{children:"Third"})]}),(0,r.jsx)(o.Z,{children:`const VerticallyAligned = (
19  <Vertical>
20    <div>First</div>
21    <div>Second</div>
22    <div>Third</div>
23  </Vertical>
24)`}),(0,r.jsx)(a.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"gap"}),(0,r.jsx)(i.ZM,{children:"theme.space.medium"}),(0,r.jsx)(i.ZM,{children:"string | number"})]})}),(0,r.jsxs)(i.X6,{as:"h2",children:[(0,r.jsx)(i.ee,{name:"layers"}),"Layers"]}),(0,r.jsxs)(i.nv,{children:["Use layers to assign the ",(0,r.jsx)(i.ZM,{children:"z-index"})," in a structured way. The default values used by the plugin can be configured."]}),(0,r.jsx)(o.Z,{children:`import { configure, layer } from 'naven'
25
26const { theme, layer } = register(create(merge({})), 'body', {
27  layer: ['Popup', 'Notification']
28})
29
30const layeredStyles = {
31  zIndex: layer.Popup
32}`})]})]})},28826:function(e,t,n){"use strict";n.d(t,{e:function(){return v}});var r=n("47590"),i=n("3781"),o=n("9768"),a=n("89954"),s=n("78704"),l=n("32458"),c=n("98004");n("76207");var u=n("59819"),d=n("56478"),f=n("15768"),h=n("2930");let p=()=>{let[e,t]=(0,i.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.zx,{onClick:()=>t(!e),children:"Open Popup"}),(0,r.jsx)(o.GI,{show:e,onClose:()=>t(!1),children:(0,r.jsx)("p",{children:"This is the popup content."})})]})},m=()=>{let[e,t]=(0,i.useState)(""),[n,a]=(0,i.useState)("info"),[s,l]=(0,i.useState)(!1);return(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(o.P_,{}
32),(0,r.jsx)(o.II,{value:e,onChange:e=>t(e.target.value),placeholder:"Message"}),(0,r.jsx)(c.Z,{onChange:e=>a(e.value),options:[{value:"info",label:"Information"},{value:"warning",label:"Warning"},{value:"error",label:"Error"}],placeholder:"Type"}),(0,r.jsx)(o.XZ,{checked:s,onChange:()=>l(!s),label:"Closeable?"}),(0,r.jsx)(o.zx,{disabled:!n||!e||""===e,onClick:()=>(0,o.wN)({message:e,type:n,closeable:s}),children:"Send"})]})},g=()=>{let[e,t]=(0,i.useState)(!1),[n,a]=(0,i.useState)(!0);return(0,r.jsxs)(o.we,{space:u.rS.space.small,children:[(0,r.jsx)(o.XZ,{label:"First",checked:e,onChange:()=>t(!e)}),(0,r.jsx)(o.XZ,{label:"Second",checked:n,onChange:()=>a(!n)})]})},O=()=>{let[e,t]=(0,i.useState)("first");return(0,r.jsxs)(o.we,{space:u.rS.space.small,children:[(0,r.jsx)(o.XZ,{type:"radio",label:"First",name:"group",checked:"first"===e,onChange:()=>t("first")}),(0,r.jsx)(o.XZ,{type:"radio",label:"Second",name:"group",checked:"second"===e,onChange:()=>t("second")})]})},v=()=>(0,r.jsxs)(o.VY,{children:[(0,r.jsx)(o.X6,{as:"h2",children:"General"}),(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(o.zx,{onClick:()=>alert("Well Hello!"),children:"Press me!"}),(0,r.jsx)(o.zx,{disabled:!0,styles:{Main:{css:{background:u.rS.color.backgroundContrast,color:u.rS.color.colorContrast,padding:u.rS.space.small}}},children:"Can't touch this"})]}),(0,r.jsx)(a.Z,{children:`import { Button } from 'naven'
33
34const ClickableButton = <Button onClick={() => alert('Well Hello!')}>Press me!</Button>
35const DisabledCustomButton = <Button disabled styles={{ Main: { css: {
36  background: theme.color.backgroundContrast,
37  color: theme.color.colorContrast,
38  padding: theme.space.small
39} }}>Can't touch this</Button>`}),(0,r.jsxs)(f.S,{title:"Text",code:`<Text>
40  Hey <Inline>inline</Inline>
41  <Bold>bold</Bold>
42  <Important>important</Important>
43  <Italic>italic</Italic>
44  <Small>small</Small>
45  <Abbreviation title="Frontend Development">FED</Abbreviation>
46  <Definition>F.E.D.</Definition>.
47</Text>`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsxs)(o.xv,{children:["This is regular text ",(0,r.jsx)(o.gF,{children:"with inline text in it"}),"."]}),(0,r.jsxs)(o.nv,{children:["This is a paragraph with some ",(0,r.jsx)(o.d8,{children:"bold text"})," and some"," ",(0,r.jsx)(o.lm,{children:"very important text"})," that is distinguishable by a different tag and the color. Text can also be ",(0,r.jsx)(o.Tx,{children:"italic"}),"."]}),(0,r.jsx)(o.pu,{cite:"https://www.youtube.com/watch?v=spwU2P5U_1U",children:"Web developers, web developers, web developers."}),(0,r.jsxs)(o.nv,{children:["Einstein said"," ",(0,r.jsx)(o.pj,{children:"Vanilla JavaScript will only get you so far, try a good UI library."})," ","and people were stunned."]}),(0,r.jsxs)(o.nv,{children:["Taken from the first chapter of the"," ",(0,r.jsx)(o.Tk,{children:(0,r.jsx)(o.hh,{highlight:"underline",href:"https://en.wikipedia.org/wiki/Iliad",children:"Iliad"})})," ","by Homer."]}),(0,r.jsxs)(o.nv,{children:["Let's write some ",(0,r.jsx)(o.x4,{children:"small"})," text and ask whether"," ",(0,r.jsx)(o.Qg,{title:"Frontend Development",children:"FED"})," or"," ",(0,r.jsx)(o.Px,{children:"F.E.D."})," is a valid abbreviation for Frontend Development."]})]}),(0,r.jsx)(d.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"bold"}),(0,r.jsx)(o.xv,{children:"false"}),(0,r.jsx)(o.xv,{children:"boolean"})]})})]}),(0,r.jsxs)(f.S,{title:"Heading",code:`<>
48  <Heading>Main Heading</Heading>
49  <Heading as="h2">Subtitle</Heading>
50  <Heading as="h3">h3 Heading</Heading>
51  <Heading as="h4">h4 Heading</Heading>
52  <Heading as="h5">h5 Heading</Heading>
53  <Heading as="h6">h6 Heading</Heading>
54</>`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(o.X6,{as:"h3",children:"h3 Heading"}),(0,r.jsx)(o.X6,{as:"h4",children:"h4 Heading"}),(0,r.jsx)(o.X6,{as:"h5",children:"h5 Heading"}),(0,r.jsx)(o.X6,{as:"h6",children:"h6 Heading"})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"as"}),(0,r.jsx)(o.xv,{children:"h1"}),(0,r.jsx)(o.ZM,{children:"'h2' | 'h3' | 'h4' | 'h5' | 'h6'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"style"}),(0,r.jsx)(o.xv,{children:"empty"}),(0,r.jsx)(o.ZM,{children:"'code' | 'italic'"})]})]})]}),(0,r.jsxs)(f.S,{title:"Button",code:"<Button onClick={() => alert('Hello')}>Press me!</Button>",children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(o.zx,{children:"Default"}),(0,r.jsx)(o.zx,{color:"regular",children:"Regular"}),(0,r.jsx)(o.zx,{color:"highlight",children:"Highlight"}),(0,r.jsx)(o.zx,{color:"interact",children:"Interaction"}),(0,r.jsx)(o.zx,{disabled:!0,children:"Disabled"}),(0,r.jsx)(o.zx,{as:"a",href:"http://google.com",children:"Link Button"})]})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"color"}),(0,r.jsx)(o.xv,{children:"none"}),(0,r.jsx)(o.ZM,{children:"'regular' | 'highlight' | 'interact'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"disabled"}),(0,r.jsx)(o.xv,{children:"false"}),(0,r.jsx)(o.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"as"}),(0,r.jsx)(o.xv,{children:"button"}),(0,r.jsx)(o.ZM,{children:"'button' | 'a'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"href"}),(0,r.jsx)(o.xv,{}),(0,r.jsx)(o.ZM,{children:"string"})]})]})]}),(0,r.jsxs)(f.S,{title:"Link",code:'<Link href="https://google.com"><Button>Button in Link</Button></Link>',children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsx)(o.rU,{href:"https://google.com",children:(0,r.jsx)(o.zx,{children:"Regular Button wrapped in Link"})})}),(0,r.jsx)(d.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.xv,{children:["All ",(0,r.jsx)(o.ZM,{children:"a"})," Tag Properties"]}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.xv,{children:"href, download, target, ..."})]})})]}),(0,r.jsxs)(f.S,{title:"Text Link",anchor:"text-link",code:'<Text>This <TextLink highlight="gradient" href="https://google.com">link</TextLink> is clickable.</Text>',children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsxs)(o.we,{children:[(0,r.jsxs)(o.xv,{children:["Here is some text with a ",(0,r.jsx)(o.hh,{href:"https://google.com",children:"link"}),"."]}),(0,r.jsxs)(o.nv,{css:{maxWidth:200},children:["No worries as"," ",(0,r.jsx)(o.hh,{href:"https://google.com",children:"all TextLink variants with underlines"})," ","support multiple lines."]})]}),(0,r.jsxs)(o.we,{children:[(0,r.jsxs)(o.xv,{children:["Here is some text with a"," ",(0,r.jsx)(o.hh,{highlight:"underline",href:"https://google.com",children:"link"}),"."]}),(0,r.jsxs)(o.nv,{css:{maxWidth:200},children:["No worries as"," ",(0,r.jsx)(o.hh,{highlight:"underline",href:"https://google.com",children:"all TextLink variants with underlines"})," ","support multiple lines."]}),(0,r.jsx)(o.ZM,{children:'highlight="underline"'})]}),(0,r.jsxs)(o.we,{children:[(0,r.jsxs)(o.xv,{children:["Here is some text with a"," ",(0,r.jsx)(o.hh,{highlight:"animated",href:"https://google.com",children:"link"}),"."]}),(0,r.jsxs)(o.nv,{css:{maxWidth:200},children:["No worries as"," ",(0,r.jsx)(o.hh,{highlight:"animated",href:"https://google.com",children:"all TextLink variants with underlines"})," ","support multiple lines."]}),(0,r.jsx)(o.ZM,{children:'highlight="animated"'})]}),(0,r.jsxs)(o.we,{children:[(0,r.jsxs)(o.xv,{children:["Here is some text with a"," ",(0,r.jsx)(o.hh,{highlight:"gradient",href:"https://google.com",children:"link"}),"."]}),(0,r.jsxs)(o.nv,{css:{maxWidth:200},children:["No worries as"," ",(0,r.jsx)(o.hh,{highlight:"gradient",href:"https://google.com",children:"all TextLink variants with underlines"})," ","support multiple lines."]}),(0,r.jsx)(o.ZM,{children:'highlight="gradient"'})]})]})}),(0,r.jsxs)(d.e,{space:!1,children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"highlight"}),(0,r.jsx)(o.ZM,{children:"empty"}),(0,r.jsx)(o.ZM,{children:"'underline' | 'animated' | 'gradient'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"bold"}),(0,r.jsx)(o.ZM,{children:"false"}),(0,r.jsx)(o.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.xv,{children:["All ",(0,r.jsx)(o.ZM,{children:"a"})," Tag Properties"]}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.xv,{children:"href, download, target, ..."})]})]})]}),(0,r.jsxs)(f.S,{title:"Input",code:`<Input
55  placeholder="with placeholder"
56  value="with value"
57  required
58  onValue={(value) => value}
59  onChange={(event) => event.target.value}
60/>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{wrap:!0,children:[(0,r.jsx)(o.II,{placeholder:"with placeholder"}),(0,r.jsx)(o.II,{placeholder:"with placeholder",value:"with value",onCh
60ange:()=>{}}),(0,r.jsx)(o.II,{placeholder:"is required",required:!0}),(0,r.jsx)(o.II,{placeholder:"is required",value:"required but has value",onChange:()=>{},required:!0}),(0,r.jsx)(o.II,{placeholder:"Custom color",cursorColor:"green"})]})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"onValue"}),(0,r.jsx)(o.xv,{children:"optional"}),(0,r.jsx)(o.ZM,{children:"(value: string) => void"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.xv,{}),(0,r.jsx)(o.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.xv,{children:["All ",(0,r.jsx)(o.ZM,{children:"input"})," Tag Properties"]}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.xv,{children:"placeholder, value, onChange, ..."})]})]})]}),(0,r.jsxs)(f.S,{title:"TextArea",code:`<TextArea
61  placeholder="Placeholder"
62  value="Current value"
63  rows={5}
64  required
65  onValue={(value) => value}
66  onChange={(event) => event.target.value}
67/>`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(o.Kx,{placeholder:"Textarea with 5 rows",rows:5}),(0,r.jsx)(o.Kx,{placeholder:"Placeholder",value:"Textarea with 2 rows and initial value",onChange:()=>{},rows:2}),(0,r.jsx)(o.Kx,{placeholder:"Required textarea",rows:2,required:!0})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"onValue"}),(0,r.jsx)(o.xv,{children:"optional"}),(0,r.jsx)(o.ZM,{children:"(value: string) => void"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.xv,{children:["All ",(0,r.jsx)(o.ZM,{children:"textarea"})," Tag Properties"]}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.xv,{children:"rows, cols, placeholder, ..."})]})]})]}),(0,r.jsxs)(f.S,{title:"Alert",code:'<Alert type="warning" closeable>Watch out!</Alert>',children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(o.bZ,{children:"Hey: This is an info"}),(0,r.jsxs)(o.bZ,{type:"warning",closeable:!0,children:["Ohh: This is a ",(0,r.jsx)("b",{children:"closeable"})," warning"]}),(0,r.jsx)(o.bZ,{type:"error",children:"Whoopsie: This is an error"})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"type"}),(0,r.jsx)(o.xv,{children:"info"}),(0,r.jsx)(o.ZM,{children:"'info' | 'warning' | 'error'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"closeable"}),(0,r.jsx)(o.xv,{children:"false"}),(0,r.jsx)(o.xv,{children:"boolean"})]})]})]}),(0,r.jsxs)(f.S,{title:"Anchor",code:`<Anchor name="my-anchor">
68  <Text>Anchor point</Text>
69</Anchor>
70
71<TextLink href="#my-anchor">Go to anchor</TextLink>`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(o.hh,{href:"#first",children:"To First Anchor"}),(0,r.jsx)(o.hh,{href:"#second",children:"To Second Anchor"}),(0,r.jsx)(o.ee,{name:"first",children:(0,r.jsx)(o.xv,{children:"First Anchor"})}),(0,r.jsx)(o.ee,{name:"second",children:(0,r.jsx)(o.xv,{children:"Second Anchor"})})]}),(0,r.jsx)(d.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"name"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.ZM,{children:"string"})]})})]}),(0,r.jsxs)(f.S,{title:"Popup",code:`<Popup show={show} onClose={() => setShow(false)}>
72  <Text>Content</Text>
73</Popup>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsx)(p,{})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"show"}),(0,r.jsx)(o.xv,{children:"true"}),(0,r.jsx)(o.xv,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"onClose"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.xv,{children:"() => any"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"close"}),(0,r.jsx)(o.ZM,{children:"<Close />"}),(0,r.jsx)(o.xv,{children:"ReactNode"})]})]})]}),(0,r.jsxs)(f.S,{title:"Checkbox / Radio",code:`const checkbox = <Checkbox label="Accept Terms" checked={terms} onChange={() => setTerms(!terms)} />
74      
75const Radios = (
76  <>
77    <Radio label="Female" name="gender" checked={selection === 'female'} onChange={() => setGender('female')} />
78    <Radio label="Male" name="gender" checked={selection === 'male'} onChange={() => setGender('male')} />
79  </>
80)`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(g,{}),(0,r.jsx)(O,{})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"label"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.ZM,{children:"string"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"type"}),(0,r.jsx)(o.xv,{children:"checkbox"}),(0,r.jsx)(o.ZM,{children:"'radio' | 'checkbox'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"id"}),(0,r.jsx)(o.xv,{children:"randomly generated"}),(0,r.jsx)(o.ZM,{children:"string"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"name"}),(0,r.jsx)(o.xv,{children:"required for radio"}),(0,r.jsx)(o.ZM,{children:"string"})]})]})]}),(0,r.jsxs)(f.S,{title:"Accordion",code:`<Accordion headers={['Hello', <Text bold>World</Text>]}>
81  <Text>Hello</Text>
82  <Text>World</Text>
83</Accordion>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.UQ,{headers:["First",(0,r.jsx)(o.xv,{bold:!0,children:"Second"}),"Third"],children:[(0,r.jsx)(o.xv,{children:"First Content"}),(0,r.jsx)(o.xv,{children:"Second Content"}),(0,r.jsx)(o.xv,{children:"Third Content"})]})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"headers"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.xv,{children:"(string | ReactNode)[]"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"initialOpen"}),(0,r.jsx)(o.xv,{children:"0"}),(0,r.jsx)(o.xv,{children:"number"})]})]})]}
83),(0,r.jsxs)(f.S,{title:"Badge",code:`<Badge count={30}>
84  <Text>Mail</Text>
85</Badge>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(o.Ct,{children:(0,r.jsx)(o.xv,{children:"Hey Badge"})}),(0,r.jsx)(o.Ct,{count:5,children:(0,r.jsx)(o.xv,{children:"count me"})}),(0,r.jsx)(o.Ct,{count:987,children:(0,r.jsx)(o.xv,{children:"big number"})})]})}),(0,r.jsx)(d.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"count"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.ZM,{children:"number | string"})]})})]}),(0,r.jsxs)(f.S,{title:"Dropdown",code:`import Dropdown from 'naven/Dropdown'
86
87<Dropdown
88  options={[
89    { value: 'first', label: 'First choice' },
90    { value: 'second', label: 'Second choice' },
91  ]}
92  onValue={(value) => console.log(value)}
93  onChange={(option, action) => alert(\`\${option.value} - \${action.action}\`)}
94/>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(c.Z,{options:[{value:"first",label:"First choice"},{value:"second",label:"Second choice"}]}),(0,r.jsx)(c.Z,{backgroundColor:"darkgray",options:[{value:"first",label:"First choice"},{value:"second",label:"Second choice"}],css:{minWidth:120,maxWidth:300,flex:1}})]})}),(0,r.jsxs)(d.e,{css:!1,children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"options"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.hh,{href:"https://react-select.com/props",children:"See react-select"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"onValue"}),(0,r.jsx)(o.xv,{}),(0,r.jsx)(o.ZM,{children:"(value: string) => void"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"containerStyles"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.xv,{children:"object"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"backgroundColor"}),(0,r.jsx)(o.xv,{children:"theme.color.background"}),(0,r.jsx)(o.ZM,{children:"string"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"...props"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.hh,{href:"https://react-select.com/props",children:"All other props passed to react-select"})]})]})]}),(0,r.jsxs)(f.S,{title:"Notification",code:`<Notification css={{ right: auto, left: 0 }} />
95
96addNotification({ message: 'Login successful.' })
97addNotification({ message: 'No internet connection.', type: 'error'})
98addNotification({ message: "Couldn't find entry.", type: 'warning', duration: 3 })
99addNotification({ message: 'Failed to get data, please try again later.', type: 'error', closeable: true })`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsx)(m,{})}),(0,r.jsx)(o.X6,{as:"h3",style:"code",children:"<Notification />"}),(0,r.jsx)(d.e,{}),(0,r.jsx)(o.X6,{as:"h3",style:"code",children:"addNotification"}),(0,r.jsxs)(d.e,{css:!1,space:!1,children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"message"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.ZM,{children:"string"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"duration"}),(0,r.jsx)(o.xv,{children:"8"}),(0,r.jsx)(o.ZM,{children:"number"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"type"}),(0,r.jsx)(o.xv,{children:"info"}),(0,r.jsx)(o.ZM,{children:"'info' | 'warning' | 'error'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"closeable"}),(0,r.jsx)(o.ZM,{children:"false"}),(0,r.jsx)(o.ZM,{children:"boolean"})]})]})]}),(0,r.jsxs)(f.S,{title:"Tabs",code:`<Tabs items={[
100  { title: 'First', content: <Text>First Content</Text> },
101  { title: 'Second', content: <Text>Second Content</Text> }
102]} />`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsx)(o.mQ,{items:[{title:"First",content:(0,r.jsx)("p",{children:"Content First"})},{title:"Second",content:(0,r.jsx)("p",{children:"Content Second"})},{title:"Third",content:(0,r.jsx)("p",{children:"Content Third"})}]})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"items"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.xv,{children:"{ title: string, content: ReactNode }[]"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"initialTab"}),(0,r.jsx)(o.xv,{children:"0"}),(0,r.jsx)(o.xv,{children:"number"})]})]})]}),(0,r.jsxs)(f.S,{title:"Tooltip",code:`import Tooltip from 'naven/Tooltip'
103
104<Tooltip content={<Text>Me?</Text>}>
105  <Text>Who!</Text>
106</Tooltip>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(s.Z,{content:(0,r.jsx)(o.xv,{children:"Hello content"}),children:(0,r.jsx)(o.xv,{children:"Hover or click to show tooltip."})}),(0,r.jsx)(s.Z,{close:!0,content:(0,r.jsx)(o.xv,{children:"Content!"}),children:(0,r.jsx)(o.xv,{children:"This tooltip can be closed."})})]})}),(0,r.jsxs)(d.e,{space:!1,children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"content"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.xv,{children:"ReactNode"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"children"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.xv,{children:"ReactNode"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"arrow"}),(0,r.jsx)(o.xv,{children:"true"}),(0,r.jsx)(o.xv,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"close"}),(0,r.jsx)(o.xv,{children:"false"}),(0,r.jsx)(o.xv,{children:"boolean"})]})]})]}),(0,r.jsxs)(f.S,{title:"List",code:`const UnstyledList = (
107  <List>
108    <Text>First</Text>
109    <Text>Second</Text>
110  </List>
111)
112const HorizontalUnorderedDiscList = (
113  <List type="disc" horizontal>
114    <Text>First</Text>
115    <Text>Second</Text>
116  </List>
117)
118const VerticalOrderedList = (
119  <List type="ordered">
120    <Text>Ordered</Text>
121    <Text>Second</Text>
122  </List>
123)
124const DescriptionList = (
125  <List type="description">
126    {({ Description }) => (
127      <>
128        <Description term="Frontend">HTML, CSS and JavaScript</Description>
129        <Description term={<Text>
129Backend</Text>}>
130          <Text>Node, PHP etc.</Text>
131        </Description>
132      </>
133    )}
134  </List>
135)`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsxs)(o.aV,{children:[(0,r.jsx)(o.xv,{children:"Unstyled"}),(0,r.jsx)(o.xv,{children:"Vertical"}),(0,r.jsx)(o.xv,{children:"Third"})]}),(0,r.jsxs)(o.aV,{horizontal:!0,children:[(0,r.jsx)(o.xv,{children:"Unstyled"}),(0,r.jsx)(o.xv,{children:"Horizontal"}),(0,r.jsx)(o.xv,{children:"Third"})]}),(0,r.jsxs)(o.aV,{type:"disc",children:[(0,r.jsx)(o.xv,{children:"Disc"}),(0,r.jsx)(o.xv,{children:"Second"}),(0,r.jsx)(o.xv,{children:"Third"})]}),(0,r.jsxs)(o.aV,{horizontal:!0,type:"disc",children:[(0,r.jsx)(o.xv,{children:"Disc"}),(0,r.jsx)(o.xv,{children:"Second"}),(0,r.jsx)(o.xv,{children:"Third"})]}),(0,r.jsxs)(o.aV,{type:"ordered",children:[(0,r.jsx)(o.xv,{children:"Ordered"}),(0,r.jsx)(o.xv,{children:"Second"})]}),(0,r.jsxs)(o.aV,{type:"ordered",horizontal:!0,children:[(0,r.jsx)(o.xv,{children:"Ordered"}),(0,r.jsx)(o.xv,{children:"Second"})]}),(0,r.jsx)(o.aV,{type:"description",children:({Description:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,{term:"Frontend",children:"HTML, CSS and JavaScript"}),(0,r.jsx)(e,{term:(0,r.jsx)(o.xv,{children:"Backend"}),children:(0,r.jsx)(o.xv,{children:"Node, PHP etc."})})]})})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"type"}),(0,r.jsx)(o.xv,{children:"empty => unordered"}),(0,r.jsx)(o.ZM,{children:"'ordered' | 'description | 'disc'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"horizontal"}),(0,r.jsx)(o.ZM,{children:"false"}),(0,r.jsx)(o.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"elementProps"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsxs)(o.xv,{children:["all props from React ",(0,r.jsx)(o.ZM,{children:"li"})," element"]})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"wrap"}),(0,r.jsx)(o.xv,{children:"false"}),(0,r.jsx)(o.xv,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"gap"}),(0,r.jsx)(o.xv,{children:"theme.space.small"}),(0,r.jsx)(o.xv,{children:"number | string"})]})]})]}),(0,r.jsxs)(f.S,{title:"Date Picker",anchor:"date",code:`import DatePicker from 'naven/Date'
136import 'react-datepicker/dist/react-datepicker.css'
137
138<DatePicker initialDate={new Date(1990, 1, 17)} onChange={(date) => setDate(date)} />`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(l.Z,{initialDate:new Date(1990,1,17)}),(0,r.jsx)(l.Z,{})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"initialDate"}),(0,r.jsx)(o.xv,{children:"now"}),(0,r.jsx)(o.xv,{children:"Date | null"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"onChange"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.ZM,{children:"(date: Date) => void"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"...props"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.hh,{href:"https://reactdatepicker.com",children:"See react-datepicker"})]})]})]}),(0,r.jsxs)(f.S,{title:"Code",code:`import Code from 'naven/Code'
139
140const RegularCode = <Code template="react-ts">{\`const doubleIt = (value: number) => value * 2\`}</Code>
141
142const CodeWithDiff = (
143  <Code template="react-ts" diff={{ remove: [2], add: [3] }}>
144{\`// Hello Diff
145- export const Hello = () => <p>World</p>
146+ export const Again = () => <p>Hello</p>\`}
147  </Code>
148)`,children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsx)(a.Z,{children:`// Hello JS
149export const hello = () => console.log('world')`}),(0,r.jsx)(a.Z,{template:"vanilla",children:`// Hello JS
150export const hello = () => console.log('world')`}),(0,r.jsx)(a.Z,{template:"vanilla-ts",children:`// Hello TS
151export const greet = (greeting: string) => console.log(\`hello \${greeting}!\`)`}),(0,r.jsx)(a.Z,{template:"react-ts",children:`// Hello JSX / TSX
152export const Hello = () => <p>W<strong>o</strong>rld</p>`}),(0,r.jsx)(a.Z,{template:"react-ts",diff:{remove:[2,5,6],add:[3,7,8]},children:`// Hello Diff
153- export const Hello = () => <p>World</p>
154+ export const Again = () => <p>Hello</p>
155// Untouched
156- const test = 5
157- const result = test * 2
158+ const test: number = 6
159+ const result = test * 2`}),(0,r.jsx)(a.Z,{files:{"/App.js":`import { someText } from './second-file.js'
160
161export default () => (
162  <p>Hello Me again! {someText}</p>
163)`,"/second-file.js":"export const someText = 'Hello!!!'"}})]}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"template"}),(0,r.jsx)(o.ZM,{children:"react"}),(0,r.jsx)(o.ZM,{children:"'react' | 'react-ts' | 'vanilla' | 'vanilla-ts' | 'angular' | 'vue' | 'vue3'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"...props"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.hh,{href:"https://github.com/react-syntax-highlighter/react-syntax-highlighter",children:"See @codesandbox/sandpack-react"})]})]})]}
163),(0,r.jsxs)(f.S,{title:"Inline Code",anchor:"inline-code",code:"<Text>Use <InlineCode>const</InlineCode> to define variables.</Text>",children:[(0,r.jsxs)(f.S.Preview,{children:[(0,r.jsxs)(o.nv,{children:["The proof of the following equation ",(0,r.jsx)(o.ZM,{children:"2+2=5"})," is left to the reader."]}),(0,r.jsxs)(o.nv,{css:{maxWidth:350},children:["Multiple ",(0,r.jsx)(o.ZM,{children:"inline code blocks"})," shouldn't touch each other even when"," ",(0,r.jsx)(o.ZM,{children:"line-breaks"})," are present."]}),(0,r.jsxs)(o.nv,{children:[(0,r.jsxs)("span",{children:["test ","test"," ",5]}),"Can use"," ",(0,r.jsxs)(o.ZM,{children:["multiple ","strings"," and ",5," numbers"]})," ","as children."]}),(0,r.jsxs)(o.X6,{as:"h3",children:["Can also place ",(0,r.jsx)(o.ZM,{children:"inline code"})," in headings"]}),(0,r.jsxs)(o.nv,{css:{fontSize:(0,o.bf)(10)},children:["Takes up 80% the parent ",(0,r.jsx)(o.ZM,{children:"font-size"})]})]}),(0,r.jsx)(d.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"children"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.ZM,{children:"string | number | (string | number)[]"})]})})]}),(0,r.jsxs)(f.S,{title:"Lazy Loading",anchor:"lazy",code:"<Lazy imports={import('epic-react-router')} result={(Component) => <Component.Page />} />",children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsx)(o.oM,{imports:new Promise(e=>e(()=>(0,r.jsx)("p",{children:"lazy loaded..."}))),result:e=>e})}),(0,r.jsxs)(d.e,{css:!1,children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"imports"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.ZM,{children:"Promise<any>"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"result"}),(0,r.jsx)(o.xv,{children:"required"}),(0,r.jsx)(o.ZM,{children:"(...imports: any) => ReactNode"})]})]})]}),(0,r.jsxs)(f.S,{title:"Table",code:`<Table>
164  <>
165    <Text>First</Text>
166    <Text>Second</Text>
167  </>
168  <>
169    <Text>Third</Text>
170    <Text>Fourth</Text>
171  </>
172</Table>`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.iA,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"First"}),(0,r.jsx)(o.xv,{children:"Second"}),(0,r.jsx)(o.xv,{children:"Third"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"Fourth"}),(0,r.jsx)(o.xv,{children:"Fifth"}),(0,r.jsx)(o.xv,{children:"Sixth"})]})]})}),(0,r.jsx)(d.e,{})]}),(0,r.jsxs)(f.S,{title:"Image",code:`const imageAsset = <Image src={yourImage} />
173const imagePlaceholder = <Image height={100} width={200} /> // Shows placeholder if src missing (useful for development)`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(o.Ee,{src:h,alt:"naven Logo",height:100}),(0,r.jsx)(o.Ee,{alt:"Show placeholder",width:200,height:100})]})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"src"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsx)(o.ZM,{children:"string"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"width / height"}),(0,r.jsx)(o.xv,{children:"if present but src missing, placeholder displayed"}),(0,r.jsx)(o.ZM,{children:"string | number"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"...props"}),(0,r.jsx)(o.xv,{children:" "}),(0,r.jsxs)(o.xv,{children:["all props from React ",(0,r.jsx)(o.ZM,{children:"img"})," element"]})]})]})]}),(0,r.jsxs)(f.S,{title:"Loader",code:"<Loader /> <Loader small />",children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.I6,{children:[(0,r.jsx)(o.aN,{}),(0,r.jsx)(o.aN,{small:!0})]})}),(0,r.jsx)(d.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"small"}),(0,r.jsx)(o.xv,{children:"false"}),(0,r.jsx)(o.ZM,{children:"boolean"})]})})]}),(0,r.jsxs)(f.S,{title:"Spacer",code:`<Spacer />
174<Spacer size="large" />
175<Spacer line />`,children:[(0,r.jsx)(f.S.Preview,{children:(0,r.jsxs)(o.we,{css:{background:u.rS.color.gray200,padding:u.rS.space.medium,alignSelf:"normal"},children:[(0,r.jsx)(o.LZ,{css:{background:u.rS.color.white}}),(0,r.jsx)(o.LZ,{size:"large",css:{background:u.rS.color.white}}),(0,r.jsx)(o.LZ,{line:!0,css:{background:u.rS.color.white}})]})}),(0,r.jsxs)(d.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"size"}),(0,r.jsx)(o.ZM,{children:"medium"}),(0,r.jsx)(o.ZM,{children:"'tiny' | 'small' | 'medium' | 'large'"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.xv,{children:"line"}),(0,r.jsx)(o.ZM,{children:"false"}),(0,r.jsx)(o.ZM,{children:"boolean"})]})]})]})]})},46998:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n("47590"),i=n("9768"),o=n("89954"),a=n("56478");let s=()=>(0,r.jsxs)(i.VY,{children:[(0,r.jsxs)(i.X6,{as:"h2",style:"code",children:[(0,r.jsx)(i.ee,{name:"header"}),"<Header />"]}),(0,r.jsx)(i.nv,{children:"The header consists of four elements each optional: Title (Text or Link with a Logo), Middle, Meta (Right) and the Navigation. On mobile the navigation and some elements are hidden behind a toggle on the right."}),(0,r.jsx)(o.Z,{children:`const MyHeader = (
176  <Header>
177    {({ TitleText, Middle, Meta, Navigation }) => (
178      <>
179        <TitleText>My Page</TitleText>
180        <Middle>
181          <TextLink>Click me</TextLink>
182        </Middle>
183        <Meta links={[
184          { name: 'Overview', url: 'overview' },
185          { name: 'GitHub', url: 'https://github.com/tobua/naven' },
186        ]} />
187        <Navigation hint="see below for more" />
188      </>
189    )}
190  </Header>
191)`}),(0,r.jsx)(o.Z,{children:`import { Image, unit } from 'naven'
192import logo from 'assets/logo.svg'
193
194const HeaderWithImage = (
195  <Header wide>
196    {({ TitleLink, Meta }) => (
197      <>
198        <TitleLink>
199          <Image src={logo} css={{height: unit(40)}} />
200        </TitleLink>
201        <Meta hideMobile>
202          <Button>Sign Up Now!</Button>
203        </Meta>
204      </>
205    )}
206  </Header>
207)`}),(0,r.jsxs)(a.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"wide"}),(0,r.jsx)(i.ZM,{children:"false"}),(0,r.jsx)(i.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"children"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.ZM,{children:"Title | Middle | Meta | Navigation"})]})]}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<TitleText />"}),(0,r.jsx)(a.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"children"}),(0,r.jsx)(i.xv,{children:"naven"}),(0,r.jsx)(i.ZM,{children:"string"})]})}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<TitleLink />"}),(0,r.jsxs)(a.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"link"}),(0,r.jsx)(i.xv,{children:"/"}),(0,r.jsx)(i.ZM,{children:"string"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"children"}),(0,r.jsx)(i.xv,{children:"Naven Logo"}),(0,r.jsx)(i.ZM,{children:"ReactNode"})]})]}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Middle />"}),(0,r.jsx)(a.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"children"}),(0,r.jsx)(i.xv,{children:"Empty"}),(0,r.jsx)(i.ZM,{children:"ReactNode"})]})}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Meta />"}),(0,r.jsxs)(a.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"links"}),(0,r.jsx)(i.ZM,{children:"[]"}),(0,r.jsx)(i.ZM,{children:"Link[]"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"hideMobile"}),(0,r.jsx)(i.ZM,{children:"false"}),(0,r.jsx)(i.ZM,{children:"boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.ZM,{children:"children"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.ZM,{children:"ReactNode"})]})]}),(0,r.jsxs)(i.X6,{as:"h3",style:"code",children:[(0,r.jsx)(i.ee,{name:"navigation"}),"<Navigation />"]}),(0,r.jsx)(i.nv,{children:"Navigation with the top-level links directly visible and another optional level per link that is visible on hover. On mobile the navigation is only visible after clicking on an icon in the top right corner."}),(0,r.jsx)(o.Z,{children:`const HeaderWithNavigation = (
208  <Header>
209    {({ Navigation }) => (
210      <Navigation links={[
211          {
212            title: { name: 'Top-Level First', url: 'first' },
213            links: [
214              { name: 'Bottom-Level First', url: 'first#first' },
215              { name: 'Bottom-Level Second', url: 'first#second' },
216            ],
217          },
218          {
219            title: { name: 'Top-Level First', url: 'second' },
220          },
221        ]}
222      />
223    )}
224  </Header>
225)`}),(0,r.jsxs)(a.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"links"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.ZM,{children:`{
226  title: Link | OptionalLink
227  links?: Link[]
228}[]`})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"linkActive"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.ZM,{children:"(link: string) => boolean"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"listCss"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.xv,{children:"SerializedStyles"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"tabCss"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.xv,{children:"SerializedStyles"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"toggleCss"}),(0,r.jsx)(i.xv,{children:" "}),(0,r.jsx)(i.xv,{children:"SerializedStyles"})]})]}),(0,r.jsxs)(i.X6,{as:"h2",style:"code",children:[(0,r.jsx)(i.ee,{name:"content"}),"<Content />"]}),(0,r.jsxs)(i.nv,{children:["This is where you place the actual contents of the page. This container takes up to 1500px. There is also a ",(0,r.jsx)(i.ZM,{children:"<Narrow>"})," and"," ",(0,r.jsx)(i.ZM,{children:"<Narrow>"}
228)," a wide one available which are described in the"," ",(0,r.jsx)(i.hh,{href:"advanced#layout",children:"Layout"})," page."]}),(0,r.jsx)(o.Z,{children:`const MyContent = <Content>
229  <Text>Hello World</Text>
230</Content>`}),(0,r.jsx)(a.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"sidebar"}),(0,r.jsx)(i.xv,{children:"false"}),(0,r.jsx)(i.xv,{children:"boolean"})]})}),(0,r.jsxs)(i.X6,{as:"h2",style:"code",children:[(0,r.jsx)(i.ee,{name:"footer"}),"<Footer />"]}),(0,r.jsx)(i.nv,{children:"With this you can place links in columns or some custom content for every page at the bottom."}),(0,r.jsx)(o.Z,{children:`const FooterWithLinks = (
231  <Footer>
232    {({ Column }) => (
233      <>
234        <Column
235          title={{ name: 'First-level', url: '/first' }}
236          links={[
237            {
238              name: 'Second-Level',
239              url: '/second',
240            },
241            {
242              name: 'Second-Level Jr.',
243              url: '/second-jr',
244            }
245          ]}
246        />
247        <Column
248          title={{ name: 'First-Level with Content', url: '/first-content' }}
249        >
250          <Paragraph>Copyright Notice</Paragraph>
251        </Column>
252      </>
253    )}
254  </Footer>
255)
256
257const CustomFooter = <Footer>
258  <Paragraph>Copyright Notice</Paragraph>
259</Footer>`}),(0,r.jsx)(a.e,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"wide"}),(0,r.jsx)(i.ZM,{children:"false"}),(0,r.jsx)(i.ZM,{children:"boolean"})]})}),(0,r.jsx)(i.X6,{as:"h3",style:"code",children:"<Column />"}),(0,r.jsxs)(a.e,{children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"title"}),(0,r.jsx)(i.xv,{children:"Empty"}),(0,r.jsx)(i.ZM,{children:"OptionalLink"})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{children:"links"}),(0,r.jsx)(i.xv,{children:"Empty"}),(0,r.jsx)(i.ZM,{children:"Link[]"})]})]}),(0,r.jsx)(i.LZ,{})]})},55441:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n("47590"),i=n("9768"),o=n("89954");let a=()=>(0,r.jsxs)(i.VY,{children:[(0,r.jsx)(i.X6,{children:"naven UI Library"}),(0,r.jsx)(i.nv,{children:"Quickly prototype and implement custom designed web applications with React and CSS-in-JS."}),(0,r.jsx)(i.X6,{as:"h2",children:"Installation"}),(0,r.jsx)(i.nv,{children:"Add it to your project with"}),(0,r.jsx)(o.Z,{children:"npm install naven"}),(0,r.jsx)(i.nv,{children:"or start with a template:"}),(0,r.jsx)(o.Z,{children:"npm init now naven ./my-app"}),(0,r.jsx)(i.X6,{as:"h2",children:"Usage"}),(0,r.jsx)(o.Z,{children:`import { render } from 'react-dom'
260import { Global, Header, Navigation, Content, Footer, Heading } from 'naven'
261
262render(
263  <>
264    <Header title="naven Demo" />
265    <Navigation links={[{ title: { name: 'Links' }, links: [{ name: 'First' }]}]} />
266    <Content>
267      <Heading>naven Demo</Heading>
268    </Content>
269    <Footer />
270  </>,
271  document.body
272)`}),(0,r.jsx)(i.X6,{as:"h2",children:"Custom Configuration"}),(0,r.jsxs)(i.nv,{children:["Configuring the theme variables requires one to call a few methods."," ",(0,r.jsx)(i.ZM,{children:"create"})," as used below is exported by naven but simply an alias for"," ",(0,r.jsx)(i.ZM,{children:"createStitches"})," from ",(0,r.jsx)(i.ZM,{children:"@stitches/react"}),". In order to avoid a massive slowdown of typechecking with TypeScript the result of"," ",(0,r.jsx)(i.ZM,{children:"create"})," has to be stored in a temporary variable before calling"," ",(0,r.jsx)(i.ZM,{children:"register"}),". The ",(0,r.jsx)(i.hh,{href:"/style",children:"style page"})," lists all the variables that can be configured. It's also possible to add additional variables."]}),(0,r.jsx)(o.Z,{children:`import { merge, create, register } from 'naven'
273
274// Without intermediary variable type checking will slow down > 10 times.
275const avoidTypeCheckIssueWorkaround = create(merge({
276  theme: {
277    color: {
278      highlight: '#00ab64',
279      interact: '#ab0047',
280    },
281    look: {
282      radius: 10
283    },
284  }
285}))
286
287export const { theme, styled, createTheme } = register(avoidTypeCheckIssueWorkaround, {
288  rootSelector: 'body',
289})`}),(0,r.jsx)(i.nv,{children:"This configuration is usually done in a separate file. Other files that need access to any of the stitches methods should import them from this configuration file."}),(0,r.jsx)(o.Z,{children:`import { render } from 'react-dom'
290import { Global, Header, Navigation, Content, Footer, Heading } from 'naven'
291import { theme, styled } from './configuration'
292
293const customTextColor = { color: theme.color.highlight }
294const InteractiveText = styled(Text, {
295  color: theme.color.interactive,
296  background: theme.color.backgroundContrast,
297  borderRadius: theme.look.radius
298})
299
300render(
301  <>
302    <Header title="naven Customized" />
303    <Content>
304      <Text css={customTextColor}>This appears in highlight color.</Text>
305      <InteractiveText>This is a reusable customized Text component.</InteractiveText>
306    </Content>
307  </>,
308  document.body
309)`})]})},92098:function(e,t,n){"use strict";n.d(t,{b:function(){return h}});var r=n("47590"),i=n("3781"),o=n("91170"),a=n("80822"),s=n.n(a),l=n("76830"),c=n("9768"),u=n("59819");let d=c.iC.theme,f=(0,u.zo)("div",{display:"flex",justifyContent:"center",alignItems:"center",padding:u.rS.space.small,borderRadius:u.rS.look.radius,"&:hover":{transform:"scale(1.25)",transition:"transform 300ms"}}),h=()=>{let[e,t]=(0,i.useState)(!!Object.keys((0,u.d9)()).length);return(0,r.jsxs)(c.VY,{children:[(0,r.jsx)(c.X6,{as:"h2",children:"Colors"}),(0,r.jsxs)(c.I6,{children:[(0,r.jsx)(f,{css:{background:u.rS.color.highlight,color:u.rS.color.colorContrast},children:"highlight"}),(0,r.jsx)(f,{css:{background:u.rS.color.interact,color:u.rS.color.colorContrast},children:"interact"}),(0,r.jsx)(f,{css:{background:u.rS.color.black,color:u.rS.color.colorContrast},children:"black"}),(0,r.jsx)(f,{css:{background:u.rS.color.white,color:u.rS.color.black},children:"white"}),(0,r.jsx)(f,{css:{background:u.rS.color.warning,color:u.rS.color.colorContrast},children:"warning"}),(0,r.jsx)(f,{css:{background:u.rS.color.error,color:u.rS.color.colorContrast},children:"error"}),(0,r.jsx)(f,{css:{background:u.rS.color.colorContrast,color:u.rS.color.black},children:"colorContrast"}),(0,r.jsx)(f,{css:{background:u.rS.color.backgroundContrast,color:u.rS.color.colorContrast},children:"backgroundContrast"})]}),(0,r.jsx)(c.X6,{as:"h2",children:"Configuration"}),(0,r.jsx)(c.zx,{disabled:!e,onClick:()=>{window.localStorage.removeItem("styles"),(0,c._s)({}),t(!1)},children:"Reset"}),(0,r.jsx)(o.d,{data:s()(d,(0,u.d9)()),onChange:e=>{let n=(0,l.Z)(d,e),r=s()((0,u.d9)(),n);window.localStorage.setItem("styles",JSON.stringify(r)),(0,c._s)(r),t(!!Object.keys(r).length)}})]})}},76207:function(e,t,n){"use strict";
309n.r(e.exports={})},89954:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n("3781"),i=n("98654"),o=n("24363"),a=n("9768"),s=n("47590"),l=e=>"vanilla"===e?"index.js":"vanilla-ts"===e?"index.ts":"react-ts"===e?"App.tsx":"App.js",c=()=>`.sp-stack, .sp-layout {
310  --sp-space-4: ${a.oP.theme.space.small};
311  --sp-border-radius: ${a.oP.theme.look.radius};
312}
313.sp-button svg {
314  width: auto;
315  height: auto;
316}
317.sp-stack.sp-editor-viewer, .sp-code-editor {
318  border-radius: ${a.oP.theme.look.radius};
319}
320@media screen and (max-width: 768px) {
321  @supports (-webkit-overflow-scrolling: touch) {
322    .sp-code-editor .cm-content.cm-readonly {
323      -webkit-text-size-adjust: 100%;
324      font-size: ${a.oP.theme.font.sizeMedium};
325    }
326    .sp-code-editor .cm-content {
327      -webkit-text-size-adjust: 100%;
328      font-size: ${a.oP.theme.font.sizeMedium};
329    }
330  }
331}`,u=e=>{if(!e||!e.add.length&&!e.remove.length)return{style:(0,s.jsx)("style",{children:c()})};let t=[];return e.remove.length&&(t=t.concat(e.remove.map(e=>({line:e,className:"naven-code-remove"})))),e.add.length&&(t=t.concat(e.add.map(e=>({line:e,className:"naven-code-add"})))),t=t.sort((e,t)=>e.line>t.line?1:-1),{style:(0,s.jsx)("style",{children:`.naven-code-remove {
332  background: #ffecec;
333}
334.naven-code-add {
335  background: #dbffdb;
336}
337${c()}`}),decorators:t}},d=({css:e={},children:t,template:n="react",diff:d,...f})=>{let h=(0,r.useMemo)(()=>a.oP.styled("div",{alignSelf:"normal",borderRadius:a.oP.theme.look.radius}),[]),p=(0,r.useMemo)(()=>({codeOnly:{colors:{...o.A1.colors,surface1:a.oP.theme.color.gray100.toString()},font:{...o.A1.font,size:a.oP.theme.font.sizeMedium.toString(),lineHeight:a.oP.theme.font.lineHeightMedium.toString()},syntax:{...o.A1.syntax}},repl:{colors:{...o.A1.colors,accent:"black",surface1:a.oP.theme.color.gray100.toString(),surface2:a.oP.theme.color.gray300.toString()},font:{...o.A1.font,size:a.oP.theme.font.sizeMedium.toString(),lineHeight:a.oP.theme.font.lineHeightMedium.toString()},syntax:{...o.A1.syntax}}}),[]);if("string"==typeof t){let{decorators:r,style:o}=u(d);return(0,s.jsxs)(h,{css:e,children:[o,(0,s.jsx)(i.oT,{template:n,files:{[`/${l(n)}`]:{code:t,readOnly:!0}},children:(0,s.jsx)(i.uR,{theme:f.theme??p.codeOnly,children:(0,s.jsx)(i.Pw,{decorators:r})})})]})}return(0,s.jsxs)(h,{css:e,children:[(0,s.jsx)("style",{children:c()}),(0,s.jsx)(i.xR,{template:n,theme:f.theme??p.repl,...f})]})}},32458:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n("3781"),i=n("47019"),o=n("9768"),a=n("47590"),s=class extends r.Component{render(){let{value:e,onClick:t}=this.props;return(0,a.jsx)(o.II,{value:e,onClick:t,onChange:()=>{}})}},l=(0,o.LM)(()=>({Main:{tag:"div",main:!0}}))(function({props:e,Sheet:t}){let{initialDate:n=new Date,onChange:o,...l}=e,[c,u]=(0,r.useState)(n),d=i.default||i;return(0,a.jsx)(t.Main.Component,{css:t.Main.css,children:(0,a.jsx)(d,{selected:c,onChange:e=>{o&&o(e),u(e)},customInput:(0,a.jsx)(s,{}),...l})})})},98004:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n("3781"),i=n("9850"),o=n("52541"),a=n("9768"),s=n("47590"),l=(0,o.Z)(()=>a.oP.keyframes({from:{opacity:1},to:{opacity:0}})),c=({containerStyles:e,backgroundColor:t})=>({container:t=>({...t,flex:1,...e}),valueContainer:e=>({...e,padding:0}),placeholder:e=>({...e,margin:0}),input:e=>({...e,margin:0,padding:0}),menu:e=>({...e,background:t,boxShadow:"none",marginTop:0,marginBottom:0}),menuList:e=>({...e,display:"flex",flexDirection:"column",gap:(0,a.Py)(a.oP.theme.space.small)}),option:(e,t)=>({...e,cursor:"pointer",padding:0,fontWeight:t.isSelected?(0,a.Py)(a.oP.theme.font.weightBold):"inherit",color:(0,a.Py)(a.oP.theme.color.backgroundContrast)}),control:e=>({...e,borderWidth:0,boxShadow:"none",backgroundColor:t,minHeight:"auto"}),dropdownIndicator:e=>({...e,padding:0,cursor:"pointer"}),indicatorSeparator:e=>({...e,background:"inherit"}),indicatorsContainer:e=>({...e,height:(0,a.bf)(20)})}),u=(0,a.LM)(()=>({Main:{tag:"div",css:{display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"normal"}},Cursor:{tag:"span",css:{height:"100%",width:(0,a.bf)(4),marginRight:(0,a.bf)(6),transition:"background 300ms ease"}}}))(function({props:e,Sheet:t}){var n;"object"==typeof e.backgroundColor&&"string"==typeof(null===(n=e.backgroundColor)||void 0===n?void 0:n.token)&&(e.backgroundColor=(0,a.Py)(e.backgroundColor));let{required:o,containerStyles:u,backgroundColor:d=(0,a.Py)(a.oP.theme.color.background),...f}=e,[h,p]=(0,r.useState)(!1),[m,g]=(0,r.useState)(f.defaultValue),O=i.ZP.default||i.ZP,v=(0,r.useCallback)((e,t)=>{f.onChange&&f.onChange(e,t),f.onValue&&f.onValue(e.value),g(e)},[e.onChange]);return(0,s.jsxs)(t.Main.Component,{css:t.Main.css,children:[(0,s.jsx)(t.Curs
337or.Component,{css:(0,a.y0)({animation:!o||h||m?"none":`${l()} 1s linear infinite alternate`,background:h?a.oP.theme.color.backgroundContrast:a.oP.theme.color.gray500},t.Cursor.css)}),(0,s.jsx)(O,{...f,styles:{...c({containerStyles:u,backgroundColor:d}),...f.styles},onChange:v,onFocus:()=>p(!0),onBlur:()=>p(!1),theme:e=>({...e,borderRadius:a.oP.theme.look.radius.value,colors:{...e.colors,primary:(0,a.Py)(a.oP.theme.color.highlight)},...f.theme})})]})})},78704:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n("3781"),i=n("9263"),o=n("72658"),a=n("9768"),s=n("47590"),l={padding:10,backgroundColor:"white",borderRadius:5,borderWidth:1,borderStyle:"solid",borderColor:"black"},c={position:"absolute",padding:0,display:"flex",alignItems:"center",top:-9,right:-9,cursor:"pointer",background:"white",width:20,height:20,borderRadius:40,border:"1px solid black",boxShadow:"1px 1px 2px gray",outline:"none"},u=e=>({position:"absolute",left:4,display:"flex",height:2,width:10,background:"black",transform:`rotate(${e}deg)`}),d={position:"absolute",left:-2,bottom:-3,height:12,width:11,background:"white"},f=(0,a.LM)(()=>({Main:{tag:"div",main:!0,css:{display:"inline-flex"}}}))(function({props:e,Sheet:t}){let{children:n,content:a,arrow:f=!0,close:h=!1,...p}=e,[m,g]=(0,r.useState)(!1),O=(0,r.useRef)(null),{refs:v,floatingStyles:b,context:y}=(0,i.YF)({open:m,onOpenChange:g,placement:"right",middleware:[(0,o.x7)({element:O})]});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.Main.Component,{css:t.Main.css,ref:v.setReference,"aria-label":"Open tooltip",tabIndex:0,onMouseEnter:()=>g(!0),onClick:()=>g(!m),onKeyUp:e=>{"Enter"===e.key&&g(!m)},role:"button",...p,children:n}),m&&(0,s.jsxs)("div",{ref:v.setFloating,style:{...b,opacity:m?1:0,pointerEvents:m?"inherit":"none",zIndex:1,marginLeft:10},children:[(0,s.jsx)("div",{style:{...l,...f&&{marginLeft:-1}},children:a}),f&&(0,s.jsx)(i.Y$,{ref:O,context:y,stroke:"black",fill:"white",strokeWidth:1}),h&&(0,s.jsxs)("button",{style:c,type:"button","aria-label":"Tooltip content",onClick:()=>{g(!1)},onKeyUp:e=>{"Escape"===e.key&&g(!1)},children:[(0,s.jsx)("span",{style:d}),(0,s.jsx)("span",{style:u(45)}),(0,s.jsx)("span",{style:u(-45)})]})]})]})})},9768:function(e,t,n){"use strict";n.d(t,{Ct:function(){return ev},Ee:function(){return eS},GI:function(){return eZ},I6:function(){return eU},II:function(){return eP},Kx:function(){return ez},LM:function(){return L},LZ:function(){return eI},P_:function(){return eR},Px:function(){return em},Py:function(){return T},Qg:function(){return eh},TS:function(){return R},Tk:function(){return eu},Tx:function(){return ei},UQ:function(){return X},Ue:function(){return _},V2:function(){return eH},VY:function(){return eq},X6:function(){return Y},XZ:function(){return ex},YE:function(){return eG},ZM:function(){return e0},_s:function(){return W},aN:function(){return eM},aV:function(){return eD},bZ:function(){return eg},bf:function(){return C},d8:function(){return J},ee:function(){return eO},gF:function(){return q},h4:function(){return eB},hh:function(){return eF},iA:function(){return eN},iC:function(){return E},lm:function(){return H},mQ:function(){return eL},nv:function(){return en},oM:function(){return ej},oP:function(){return r},pj:function(){return el},pu:function(){return ea},rU:function(){return eC},wN:function(){return eQ},we:function(){return eJ},wp:function(){return eK},x4:function(){return ef},xv:function(){return ee},y0:function(){return M},z2:function(){return Z},zx:function(){return eb}});var r,i,o,a=n("3781"),s=n("47165"),l=n("21592"),c=n("88677"),u=n("64434"),d=n("47590"),f=n("52541"),h=n("7793"),p=n("82422"),m=e=>({[`html, body, div, span, applet, object, iframe,
338      h1, h2, h3, h4, h5, h6, p, blockquote, pre,
339      a, abbr, acronym, address, big, cite, code,
340      del, dfn, em, img, ins, kbd, q, s, samp,
341      small, strike, strong, sub, sup, tt, var,
342      b, u, i, center,
343      dl, dt, dd, ol, ul, li,
344      fieldset, form, label, legend,
345      table, caption, tbody, tfoot, thead, tr, th, td,
346      article, aside, canvas, details, embed,
347      figure, figcaption, footer, header, hgroup,
348      menu, nav, output, ruby, section, summary,
349      time, mark, audio, video`]:{margin:0,padding:0,border:0,fontSize:"100%",font:"inherit",verticalAlign:"baseline"},[`article, aside, details, figcaption, figure,
350      footer, header, hgroup, menu, nav, section`]:{diplay:"block"},"ol, ul":{listStyle:"none"},"blockquote, q":{quotes:"none"},"blockquote:before, blockquote:after, q:before, q:after":{content:""},table:{borderCollapse:"collapse",borderSpacing:0},body:{margin:e.theme.space.medium,fontFamily:"-apple-system, Helvetica, Arial, sans-serif",lineHeight:1.2,backgroundColor:e.theme.color.background,color:e.theme.color.backgroundContrast},"::selection":{background:e.theme.color.highlight,color:e.theme.color.colorContrast}}),g=e=>({display:"grid",rowGap:e.theme.space.medium,gridTemplateColumns:"auto minmax(0, 250px) calc(1000px - 2 * var(--space-large)) minmax(0, 250px) auto",fontSize:e.theme.font.sizeMedium,"@tablet":{gridTemplateColumns:"0 0 1fr 0 0"}}),O={phone:500,tablet:1e3},v=e=>{Object.assign(O,e,{clone:!1})},b=e=>Object.prototype.hasOwnProperty.call(e,"token")&&Object.prototype.hasOwnProperty.call(e,"value");function y(e){return null===e?"null":void 0===e?"undefined":"object"==typeof e?Array.isArray(e)?"array":"object":typeof e}function x(e){return b(e)?e:"object"===y(e)?w(e):"array"===y(e)?S(e):e}function w(e){if(b(e))return e;let t={};for(let n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&(t[n]=x(e[n]));return t}function S(e){return b(e)?e:e.map(x)}var k=(e,t)=>{let n=t.map(e=>e||{}),r=e||{};for(let e=0;e<n.length;e++){let t=n[e],i=Object.keys(t);for(let e=0;e<i.length;e++){let n=i[e],o=t[n],a=y(o),s=y(r[n]);if("object"===a&&b(o))r[n]=o;else if("object"===a){if("undefined"!==s){let e="object"===s?r[n]:{};r[n]=k({},[e,w(o)])}else r[n]=w(o)}else if("array"===a){if("array"===s){let e=S(o);r[n]=e}else r[n]=S(o)}else r[n]=o}}return r},P=(e,...t)=>k(e,t),M=(e,t)=>t?P({...e},t):e,j=(0,l.Z)(["Content","Navigation","Popup","Notification"]),C=s.FD,_=c.Th,T=e=>`var(--${e.scale}-${e.token})`,D=e=>{let t={};return Object.keys(e).forEach(n=>{t[n]=`(max-width: ${e[n]}px)`}),t},E={theme:{color:{highlight:"#0047FF",interact:"#FF007A",white:"#FFF",black:"#000",background:"#FFF",backgroundContrast:"#000",colorContrast:"#FFF",valid:"#4CAF50",warning:"#FF9800",error:"#F44336",gray50:"#FAFAFA",gray100:"#F5F5F5",gray200:"#EEEEEE",gray300:"#E0E0E0",gray500:"#9E9E9E",gray700:"#616161"},space:{tiny:5,small:10,medium:20,large:40},look:{radius:0},font:{familyRegular:"-apple-system, Helvetica, Arial, sans-serif",familySerif:"serif",familyMono:"SFMono-Regular, C
350onsolas, Liberation Mono, Menlo, monospace",weightBold:"bold",styleItalic:"italic",sizeTiny:8,lineHeightTiny:12,sizeSmall:12,lineHeightSmall:16,sizeMedium:16,lineHeightMedium:24,sizeLarge:20,lineHeightLarge:28,sizeTitle:30,lineHeightTitle:38,sizeSubtitle:26,lineHeightSubtitle:30,sizeH3:22,lineHeightH3:26,sizeH4:20,lineHeightH4:24,sizeH5:18,lineHeightH5:22,sizeH6:16,lineHeightH6:20}},breakpoint:O,utils:{radius:e=>({borderRadius:`calc(${r.theme.look.radius} * ${e})`})}},Q={space:["tiny","small","medium","large"],font:["sizeTiny","sizeSmall","sizeMedium","sizeLarge","sizeSubtitle","sizeTitle","sizeH3","sizeH4","sizeH5","sizeH6","lineHeightTiny","lineHeightSmall","lineHeightMedium","lineHeightLarge","lineHeightSubtitle","lineHeightTitle","lineHeightH3","lineHeightH4","lineHeightH5","lineHeightH6"],look:["radius"]},$=e=>(Object.keys(Q).forEach(t=>{Q[t].forEach(n=>{if(e.theme&&e.theme[t]&&e.theme[t][n]){let r=e.theme[t][n];"number"==typeof r&&0!==r&&(e.theme[t][n]=C(r))}})}),e),R=e=>{v(e.breakpoint);let t=u({},E),n=u(t,e);return{...$(n),breakpoint:void 0,media:D(n.breakpoint)}},Z=(e,t)=>{let n,i=null==t?void 0:t.globalStyles;"function"==typeof(null==t?void 0:t.globalStyles)&&(i=t.globalStyles(e));let o=M(m(e),i),a=(0,s.OF)(),c=(null==t?void 0:t.rootSelector)??":root";return Object.assign(o,a),void 0!==o[c]?o[c]=Object.assign(g(e),o[c]):o[c]=g(e),(null==t?void 0:t.layer)&&(Array.isArray(t.layer)?n=(0,l.Z)(t.layer):"function"==typeof t.layer&&(n=(0,l.Z)(t.layer(["Content","Navigation","Popup","Notification"])))),e.globalCss(o)(),e.layer=n??j,n&&Object.assign(j,n),(null==t?void 0:t.wasser)&&(0,s.jQ)(t.wasser),r=e,e},I=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("svg",e??{}),[e]);return(0,d.jsx)(n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 120",...t,children:(0,d.jsxs)("g",{stroke:t.color??r.theme.color.backgroundContrast.value,strokeWidth:"20",children:[(0,d.jsx)("path",{d:"M7.071 6.929L113.137 112.995"}),(0,d.jsx)("path",{d:"M6.929 112.995L112.995 6.929"})]})})},A=(e,t)=>{let n=(0,a.useRef)(e()),r=(0,a.useRef)([]);return!h(t,r.current)&&(n.current=e(),r.current=[...t]),n.current},N=()=>{void 0===r&&(console.log("%cnaven:","color: #0047FF; font-weight: bold","no configuration detected, initializing @stitches/react with defaults on 'body' root."),Z(_(R({})),{rootSelector:"body"}))},L=e=>{let t=(0,f.Z)(e);return(e,n)=>{let i=i=>{N();let{as:o,space:a,styles:s,css:l,...c}=i,u=[s,l],d=t().Main&&t().Main.space;if(d&&u.push(a),n){let e=n(c);u=u.concat(e)}return e({props:c,Sheet:A(()=>{let e=M(t(),s),n=Object.keys(e).reduce((t,n)=>{let a=e[n],s="Main"===n||a.Main,c={},u=a.extends??(s?o:null)??a.tag;return"function"==typeof a.props&&a.props(c,i),s&&l&&(c=M(c,l)),t[n]={Component:r.styled(u,a.css??{}),css:c},t},{});return d&&void 0!==a&&(n.Main.css.gap=a,"string"==typeof a&&Object.keys(r.theme.space).includes(a)&&(n.Main.css.gap=r.theme.space[a])),n},u)})};return i.styles=t,Object.defineProperty(i,"name",{value:e.displayName??e.name}),i}},z=e=>"small"!==e?"M90.258 70.129C82.87 84.876 67.618 95 50 95 25.147 95 5 74.853 5 50S25.147 5 50 5c17.617 0 32.87 10.124 40.258 24.871l4.473-2.237C86.522 11.25 69.575 0 50 0 22.386 0 0 22.386 0 50s22.386 50 50 50c19.575 0 36.522-11.249 44.731-27.634l-4.473-2.237z":"M85.785 67.892C79.218 81.002 65.66 90 50 90c-22.091 0-40-17.909-40-40s17.909-40 40-40c15.66 0 29.218 8.999 35.785 22.108l8.946-4.474C86.522 11.25 69.575 0 50 0 22.386 0 0 22.386 0 50s22.386 50 50 50c19.575 0 36.522-11.249 44.731-27.634l-8.946-4.474z",F=L(()=>({Main:{tag:"svg",main:!0,css:{width:50,height:50,variants:{size:{small:{width:25,height:25}}}}}}))(function({props:e,Sheet:t}){let{children:n,size:i,...o}=e,s=(0,a.useMemo)(()=>r.keyframes({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),[]);return(0,d.jsx)(t.Main.Component,{viewBox:"0 0 100 100",css:{animation:`${s} 2s linear infinite`,...t.Main.css},size:i,...o,children:(0,d.jsx)("path",{fill:"#000",fillRule:"evenodd",d:z(i),clipRule:"evenodd"})})}),V=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("svg",e??{}),[e]);return(0,d.jsxs)(n,{viewBox:"0 0 500 250",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,d.jsx)("path",{d:"M56.714 96.752l.659 9.155c5.664-7.08 13.257-10.62 22.778-10.62 8.399 0 14.649 2.466 18.75 7.398 4.102 4.931 6.202 12.304 6.299 22.119V176H84.033v-50.684c0-4.492-.976-7.739-2.93-9.741-1.953-2.051-5.2-3.076-9.74-3.076-5.958 0-10.425 2.539-13.404 7.617V176H36.792V96.752h19.922z",fill:"url(#prefix__paint0_linear)"}),(0,d.jsx)("path",{d:"M167.236 176c-.976-1.904-1.684-4.272-2.124-7.104-5.127 5.712-11.792 8.569-19.995 8.569-7.763 0-14.209-2.246-19.336-6.738-5.078-4.493-7.617-10.157-7.617-16.993 0-8.398 3.101-14.843 9.302-19.336 6.25-4.492 15.259-6.762 27.026-6.811h9.741v-4.541c0-3.662-.952-6.592-2.856-8.789-1.856-2.197-4.81-3.296-8.862-3.296-3.565 0-6.372.854-8.423 2.563-2.002 1.709-3.003 4.053-3.003 7.032h-21.167c0-4.59 1.416-8.838 4.248-12.744 2.832-3.907 6.836-6.958 12.012-9.156 5.175-2.246 10.986-3.369 17.431-3.369 9.766 0 17.505 2.466 23.218 7.398 5.762 4.882 8.643 11.767 8.643 20.654v34.35c.048 7.52 1.098 13.208 3.149 17.066V176h-21.387zm-17.505-14.722c3.125 0 6.006-.683 8.643-2.05 2.637-1.416 4.59-3.296 5.859-5.64v-13.623h-7.91c-10.595 0-16.235 3.662-16.919 10.986l-.073 1.245c0 2.637.928 4.81 2.783 6.519 1.856 1.709 4.395 2.563 7.617 2.563z",fill:"url(#prefix__paint1_linear)"}),(0,d.jsx)("path",{d:"M350.269 177.465c-11.622 0-21.094-3.565-28.418-10.694-7.276-
3507.128-10.913-16.625-10.913-28.491v-2.051c0-7.958 1.538-15.063 4.614-21.313 3.076-6.299 7.422-11.133 13.037-14.502 5.664-3.418 12.109-5.127 19.336-5.127 10.84 0 19.36 3.418 25.561 10.254 6.25 6.836 9.375 16.528 9.375 29.077v8.643h-50.464c.684 5.176 2.735 9.326 6.153 12.451 3.467 3.125 7.837 4.687 13.11 4.687 8.154 0 14.527-2.954 19.116-8.862l10.401 11.646c-3.174 4.492-7.471 8.007-12.891 10.546-5.42 2.491-11.426 3.736-18.017 3.736zm-2.417-65.039c-4.2 0-7.618 1.416-10.254 4.248-2.588 2.832-4.248 6.885-4.981 12.158h29.444v-1.685c-.098-4.687-1.368-8.3-3.809-10.839-2.441-2.588-5.908-3.882-10.4-3.882z",fill:"url(#prefix__paint2_linear)"}),(0,d.jsx)("path",{d:"M414.429 96.752l.659 9.155c5.664-7.08 13.257-10.62 22.778-10.62 8.399 0 14.649 2.466 18.75 7.398 4.102 4.931 6.201 12.304 6.299 22.119V176h-21.167v-50.684c0-4.492-.977-7.739-2.93-9.741-1.953-2.051-5.2-3.076-9.741-3.076-5.957 0-10.425 2.539-13.403 7.617V176h-21.167V96.752h19.922z",fill:"url(#prefix__paint3_linear)"}),(0,d.jsx)("path",{d:"M250.146 166.232l39.258-121.728h27.686L260.254 203H239.6L182.178 44.504h27.685l40.283 121.728z",fill:"url(#prefix__paint4_linear)"}),(0,d.jsx)("path",{d:"M38 44.5h154v25H38v-25z",fill:"url(#prefix__paint5_linear)"}),(0,d.jsx)("path",{d:"M308 44.5h154v25H308v-25z",fill:"url(#prefix__paint6_linear)"}),(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{id:"prefix__paint0_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]}),(0,d.jsxs)("linearGradient",{id:"prefix__paint1_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]}),(0,d.jsxs)("linearGradient",{id:"prefix__paint2_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]}),(0,d.jsxs)("linearGradient",{id:"prefix__paint3_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]}),(0,d.jsxs)("linearGradient",{id:"prefix__paint4_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]}),(0,d.jsxs)("linearGradient",{id:"prefix__paint5_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]}),(0,d.jsxs)("linearGradient",{id:"prefix__paint6_linear",x1:249.854,y1:44.5,x2:249.854,y2:203,gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#0047FF"}),(0,d.jsx)("stop",{offset:.734,stopColor:"#FF007A"})]})]})]})},W=e=>{if(!Object.keys(e).length){document.body.classList.remove(i);return}let t=$({theme:e}),n=r.createTheme(t.theme);i&&document.body.classList.remove(i),document.body.classList.add(n),i=n},Y=L(()=>({Main:{tag:"h1",main:!0,css:{fontFamily:r.theme.font.familyRegular,fontWeight:r.theme.font.weightBold,fontSize:r.theme.font.sizeTitle,lineHeight:r.theme.font.lineHeightTitle,marginTop:0,variants:{style:{code:{fontFamily:r.theme.font.familyMono},italic:{fontStyle:r.theme.font.styleItalic}}}},props:(e,t)=>{"h2"===t.as&&(e.fontSize=r.theme.font.sizeSubtitle,e.lineHeight=r.theme.font.lineHeightSubtitle),"h3"===t.as&&(e.fontSize=r.theme.font.sizeH3,e.lineHeight=r.theme.font.lineHeightH3),"h4"===t.as&&(e.fontSize=r.theme.font.sizeH4,e.lineHeight=r.theme.font.lineHeightH4),"h5"===t.as&&(e.fontSize=r.theme.font.sizeH5,e.lineHeight=r.theme.font.lineHeightH5),"h6"===t.as&&(e.fontSize=r.theme.font.sizeH6,e.lineHeight=r.theme.font.lineHeightH6)}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})},e=>[e.as]),X=L(()=>({Main:{tag:"div",main:!0,css:{display:"flex",flexDirection:"column"}},Head:{tag:"div",css:{display:"flex",cursor:"pointer"}},Content:{tag:"div"},Group:{tag:"div",css:{display:"flex",flexDirection:"column",marginBottom:r.theme.space.small}}}))(function({props:e,Sheet:t}){let{children:n,headers:r,initialOpen:i,...o}=e,[s,l]=(0,a.useState)(i??0);return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...o,children:a.Children.map(n,(e,n)=>{let i=r[n];return"string"==typeof i&&(i=(0,d.jsx)(Y,{as:"h3",children:i})),(0,d.jsxs)(t.Group.Component,{css:t.Group.css,children:[(0,d.jsx)(t.Head.Component,{css:t.Head.css,onClick:()=>l(n),children:i}),(0,d.jsx)(t.Content.Component,{css:{...t.Content.css,display:n===s?"flex":"none"},children:e})]},n)})})}),B=(0,f.Z)(()=>({display:"inline",fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium})),q=({css:e,bold:t,...n})=>{let i=(0,a.useMemo)(()=>({fontWeight:t?r.theme.font.weightBold:"inherit",...B()}),[t]),o=(0,a.useMemo)(()=>r.styled("span",M(i,e)),[e]);return(0,d.jsx)(o,{...n,children:n.children})},U=(0,f.Z)(()=>({color:r.theme.color.highlight,fontWeight:r.theme.font.weightBold,fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium})),H=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("strong",M(U(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},G=(0,f.Z)(()=>({fontWeight:r.theme.font.weightBold,fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium})),J=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("b",M(G(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},K=(0,f.Z)(()=>({fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,lineHeight:r.theme.font.lineHeightMedium})),ee=({css:e,bold:t,...n})=>{let i=(0,a.useMemo)(()=>({fontWeight:t?r.theme.font.weightBold:"inherit",...K()}),[t]),o=(0,a.useMemo)(()=>r.styled("p",M(i,e)),[e]);return(0,d.jsx)(o,{...n,children:n.children})},et=(0,f.Z)(()=>({display:"block",fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,lineHeight:r.theme.font.lineHeightMedium})),en=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("p",M(et(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},er=(0,f.Z)(()=>({fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,fontStyle:r.theme.font.styleItalic})),ei=({css:e,bold:t,...n})=>{let i=(0,a.useMemo)(()=>({fontWeight:t?r.theme.font.weightBold:"inherit",...er()}),[t]),o=(0,a.useMemo)(()=>r.styled("i",M(i,e)),[e]);return(0,d.jsx)(o,{...n,children:n.children})},eo=(0,f.Z)(()=>({position:"relative",marginLeft:r.theme.space.medium,"&:before":{content:" ",display:"block",position:"absolute",left:`calc(${r.theme.space.medium} * -1)`,background:r.theme.color.highlight,width:r.theme.space.tiny,height:"100%"}})),ea=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("blockquote",M(eo(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},es=(0,f.Z)(()=>({"&::before":{content:"“"},"&::after":{content:"”"}})),el=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("q",M(es(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},ec=(0,f.Z)(()=>({fontStyle:r.theme.font.styleItalic})),eu=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("cite",M(ec(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},ed=(0,f.Z)(()=>({fontSize:"smaller"})),ef=({css:e,bold:t,...n})=>{let i=(0,a.useMemo)(()=>({fontWeight:t?r.theme.font.weightBold:"inherit",...ed()}),[t]),o=(0,a.useMemo)(()=>r.styled("small",M(i,e)),[e]);return(0,d.jsx)(o,{...n,children:n.children})},eh=({css:e,title:t,...n})=>{let i=(0,a.useMemo)(()=>r.styled("abbr",e),[e]);return(0,d.jsx)(i,{title:t,...n,children:n.children})},ep=(0,f.Z)(()=>({fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,fontStyle:r.theme.font.styleItalic})),em=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("dfn",M(ep(),e)),[e]);return(0,d.jsx)(n,{...t,children:t.children})},eg=L(()=>({Main:{tag:"div",main:!0,css:{position:"relative",display:"flex",alignItems:"center",alignSelf:"stretch",padding:r.theme.space.small,borderWidth:1,borderColor:r.theme.color.highlight,borderStyle:"solid",borderRadius:r.theme.look.radius,variants:{type:{info:{borderColor:r.theme.color.gray500},warning:{borderColor:r.theme.color.warning},error:{borderColor:r.theme.color.error}}}}},CloseContainer:{tag:"div",css:{position:"absolute",display:"flex",right:r.theme.space.small,cursor:"pointer",width:r.theme.space.small,height:r.theme.space.small}}}))(function({props:e,Sheet:t}){let{children:n,closeable:r,...i}=e,[o,s]=(0,a.useState)(!1);return r&&o?null:(0,d.jsxs)(t.Main.Component,{css:t.Main.css,...i,children:[r&&(0,d.jsx)(t.CloseContainer.Component,{css:t.CloseContainer.css,onClick:()=>s(!0),children:(0,d.jsx)(I,{css:{flex:1}})}),(0,d.jsx)(ee,{children:n})]})}),eO=({css:e,name:t,...n})=>{let i=(0,a.useMemo)(()=>r.styled("a",e??{}),[e]);return(0,d.jsx)(i,{id:t,css:e,...n})},ev=L(()=>({Main:{tag:"div",main:!0,css:{position:"relative",display:"inline-flex"}},Dot:{tag:"div",css:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",borderRadius:r.theme.space.small,background:r.theme.color.highlight,color:r.theme.color.colorContrast,height:r.theme.space.small,minWidth:"none",right:`calc(${r.theme.space.tiny} * -1)`,top:`calc(${r.theme.space.tiny} * -1)`,variants:{type:{content:{height:r.theme.space.medium,minWidth:r.theme.space.small,right:`calc(${r.theme.space.small} * -1)`,top:`calc(${r.theme.space.small} * -1)`,padding:`0 ${r.theme.space.tiny}`}}}}}}))(function({props:e,Sheet:t}){let{children:n,count:r,...i}=e;return(0,d.jsxs)(t.Main.Component,{css:t.Main.css,...i,children:[(0,d.jsx)(t.Dot.Component,{css:t.Dot.css,type:r?"content":void 0,children:r}),n]})}),eb=L(()=>({Main:{tag:"button",main:!0,css:{display:"flex",alignItems:"center",border:"none",outline:"none",cursor:"pointer",color:r.theme.color.interact,padding:0,fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,fontWeight:r.theme.font.weightBold,background:"transparent",textDecoration:"none","&:hover,&:focus":{opacity:.8},variants:{color:{regular:{backgroundColor:r.theme.color.gray700,color:r.theme.color.background,padding:r.theme.space.small,radius:1},highlight:{backgroundColor:r.theme.color.highlight,color:r.theme.color.background,padding:r.theme.space.small,radius:1},interact:{backgroundColor:r.theme.color.interact,color:r.theme.color.background,padding:r.theme.space.small,radius:1}}}},props:(e,t)=>{t.disabled&&(e.cursor="auto",e.textDecoration="line-through")}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})},e=>[e.disabled]),ey=()=>((1+Math.random())*65536|0).toString(16).substring(1),ex=L(()=>({Main:{tag:"div",css:{display:"flex",alignItems:"center","&:focus":{outline:"none",color:r.theme.color.interact,input:{borderColor:r.theme.color.interact,outline:"none"},"input:checked":{boxShadow:`inset 0 0 0 3px ${r.theme.color.interact}`}}}},Label:{tag:"label",css:{marginLeft:r.theme.space.small,fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,cursor:"pointer"}},Input:{tag:"input",main:!0,css:{position:"relative",border:"none",background:r.theme.color.gray500,cursor:"pointer",appearance:"none",margin:0,"&:before":{content:"",display:"flex",width:r.theme.space.medium,height:r.theme.space.medium},"&:checked":{background:r.theme.color.backgroundContrast},"&:checked:after":{content:"",position:"absolute",top:C(1),left:C(7),display:"table",width:C(5),height:C(10),border:"2px s
350olid #FFF",borderTopWidth:0,borderLeftWidth:0,transform:"rotate(45deg)"},"&:focus":{outline:"none"},variants:{look:{radio:{borderRadius:"100%","&:checked:after":{display:"none"}}}}}}}))(function({props:e,Sheet:t}){let{type:n="checkbox",label:r,id:i=ey(),...o}=e,s=(0,a.useRef)(null),l=(0,a.useCallback)(e=>{"Enter"===e.key&&(s.current.checked=!s.current.checked)},[]);return(0,d.jsxs)(t.Main.Component,{css:t.Main.css,tabIndex:0,onKeyDown:e=>l(e),children:[(0,d.jsx)(t.Input.Component,{css:t.Input.css,ref:s,tabIndex:-1,id:i,look:n,type:n,...o}),(0,d.jsx)(t.Label.Component,{css:t.Label.css,htmlFor:i,children:r})]})}),ew=(e,t)=>`data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${e} ${t}' width='${e}' height='${t}' style='background-color: %23EEE; font-family: sans-serif;'%3E%3Ctext x='50%' y='50%' dominant-baseline='middle' text-anchor='middle' fill='black'%3E${e} x ${t}%3C/text%3E%3C/svg%3E`,eS=L(()=>({Main:{tag:"img",main:!0,css:{display:"flex"}}}))(function({props:e,Sheet:t}){let{src:n,...r}=e;return!n&&e.width&&e.height&&(n=ew(Number(e.width),Number(e.height))),(0,d.jsx)(t.Main.Component,{css:t.Main.css,src:n,...r})}),ek=(0,f.Z)(()=>r.keyframes({from:{opacity:1},to:{opacity:0}})),eP=L(()=>({Main:{tag:"div",css:{display:"flex",flexDirection:"row",alignItems:"center"}},Cursor:{tag:"span",css:{height:"100%",minHeight:C(20),width:C(4),marginRight:C(6)}},Input:{tag:"input",main:!0,css:{padding:0,fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,radius:r.theme.look.radius,border:"none",background:"inherit","&:focus":{outline:"none"}}}}))(function({props:e,Sheet:t}){let{value:n,required:i,children:o,onValue:s,cursorColor:l=r.theme.color.backgroundContrast,...c}=e,[u,f]=(0,a.useState)(!1);if(s){let t=e.onChange;c.onChange=e=>{s(e.target.value),t&&t(e)}}let h=i&&!n&&!u;return(0,d.jsxs)(t.Main.Component,{css:t.Main.css,children:[(0,d.jsx)(t.Cursor.Component,{css:M({animation:h?`${ek()} 1s linear infinite alternate`:"none",background:u?l:r.theme.color.gray500},t.Cursor.css)}),(0,d.jsx)(t.Input.Component,{css:t.Input.css,onFocus:()=>f(!0),onBlur:()=>f(!1),required:i,value:n,...c})]})}),eM=L(()=>({Main:{tag:"div",main:!0,css:{display:"flex",justifyContent:"center",alignItems:"center",height:200}}}))(function({props:e,Sheet:t}){let{children:n,small:r,...i}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...i,children:(0,d.jsx)(F,{size:r?"small":void 0})})}),ej=({imports:e,result:t})=>{let[n,r]=(0,a.useState)(null);return((0,a.useEffect)(()=>{e.then(e=>{r(e)}).catch(()=>r("error"))},[]),n)?"error"===n?(0,d.jsx)(ee,{children:"Error loading component."}):Array.isArray(n)?t(...n):t(n):(0,d.jsx)(eM,{})},eC=L(()=>({Main:{tag:"a",main:!0,css:{textDecoration:"none",color:r.theme.color.backgroundContrast,cursor:"pointer",underline:"none"}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})}),e_=({term:e,children:t})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("dt",{children:e}),(0,d.jsx)("dd",{style:{marginLeft:20},children:t})]}),eT=e=>"ordered"===e?"ol":"description"===e?"dl":"ul",eD=L(()=>({Main:{tag:"ul",main:!0,css:{display:"flex",flexDirection:"column",paddingInlineStart:0,listStyle:"none",gap:r.theme.space.small,variants:{type:{ordered:{listStyle:"decimal"},description:{listStyle:"auto"},disc:{listStyle:"disc"}}}},props:(e,t)=>{t.horizontal&&(e.flexDirection="row"),t.wrap&&(e.flexWrap="wrap",e.overflow="visible"),t.gap&&(e.gap=t.gap),("ordered"===t.type||"disc"===t.type)&&!t.horizontal&&(e.paddingInlineStart=C(20))}},Item:{tag:"li",css:{},props:(e,t)=>{("ordered"===t.type||"disc"===t.type)&&t.horizontal&&(e.marginLeft=C(20))}}}))(function({props:e,Sheet:t}){let{children:n,horizontal:r,wrap:i,gap:o,elementProps:s,type:l,...c}=e,u="function"==typeof n?n({Description:e_}):n,f=(0,a.useCallback)((n,r=0)=>"description"===e.type?(0,d.jsx)(a.Fragment,{children:n},r):(0,d.jsx)(t.Item.Component,{css:t.Item.css,...s,children:n},r),[n]),h=(0,a.useCallback)(()=>Array.isArray(u)?u.map((e,t)=>f(e,t)):[f(u)],[n]);return(0,d.jsx)(t.Main.Component,{as:eT(l),css:t.Main.css,type:l,...c,children:h()})},e=>[e.type,e.gap,e.wrap,e.horizontal]),eE=[],eQ=({message:e,duration:t=8,type:n="info",closeable:r=!1})=>{let i=Math.random().toString(36).substring(7);eE.push({id:i,message:e,type:n,closeable:r}),o&&o(),!r&&setTimeout(()=>{eE.splice(eE.findIndex(e=>e.id===i),1),o&&o()},1e3*t)},e$=({Sheet:e,closeable:t,message:n,id:i,...a})=>(0,d.jsxs)(e.Element.Component,{css:M(e.Element.css,{paddingRight:t?`calc(${T(r.theme.space.small)} * 3)`:0}),...a,children:[t&&(0,d.jsx)(e.CloseContainer.Component,{onClick:()=>{eE.splice(eE.findIndex(e=>e.id===i),1),o()},children:(0,d.jsx)(I,{})}),n]}),eR=L(()=>({Main:{tag:"div",main:!0,css:{display:"flex",justifyContent:"flex-end",position:"fixed",bottom:0,right:0,zIndex:r.layer.Notification,maxWidth:"50%"}},Container:{tag:"div",css:{display:"flex",flexDirection:"column",alignItems:"flex-end",gap:r.theme.space.small,background:r.theme.color.background,margin:r.theme.space.small,padding:r.theme.space.small}},CloseContainer:{tag:"div",css:{position:"absolute",display:"flex",right:r.theme.space.small,cursor:"pointer",width:r.theme.space.small,height:r.theme.space.small,top:`calc(50% - calc(${r.theme.space.small} / 2))`}},Element:{tag:"div",css:{position:"relative",display:"flex",background:r.theme.color.background,borderLeftWidth:3,borderLeftStyle:"solid",borderColor:r.theme.color.highlight,minWidth:"30%",borderRadius:r.theme.look.radius,paddingLeft:r.theme.space.tiny,variants:{type:{error:{borderColor:r.theme.color.error},warning:{borderColor:r.theme.color.warning}}}}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e,[,i]=(0,a.useState)(0);return(o=(0,a.useCallback)(()=>i(e=>e+1),[]),eE.length)?(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:(0,d.jsx)(t.Container.Component,{css:t.Container.css,children:eE.map((e,n)=>(0,d.jsx)(e$,{Sheet:t,...e},n))})}):null}),eZ=L(()=>({Main:{tag:"div",main:!0,css:{position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",background:r.theme.color.background,zIndex:r.layer.Popup}},Content:{tag:"div",css:{position:"relative",width:"100%"}},CloseContainer:{tag:"div",css:{position:"absolute",top:r.theme.space.medium,right:r.theme.space.medium,cursor:"pointer",width:r.theme.space.medium,height:r.theme.space.medium}},ScrollContainer:{tag:"div",css:{overflow:"auto",height:`calc(100% - 2 * ${r.theme.space.medium})`,padding:r.theme.space.medium}}}))(function({props:e,Sheet:t}){let{children:n,show:r,close:i,onClose:o,...s}=e,l=(0,a.useRef)(null);return((0,a.useEffect)(()=>{l.current&&r?(0,p.Qp)(l.current):(0,p.tP)()},[r]),r)?(0,d.jsx)(t.Main.Component,{css:t.Main.css,...s,children:(0,d.jsxs)(t.Content.Component,{css:t.Content.css,children:[(0,d.jsx)(t.CloseContainer.Component,{css:t.CloseContainer.css,onClick:o,children:i||(0,d.jsx)(I,{})}
350),(0,d.jsx)(t.ScrollContainer.Component,{css:t.ScrollContainer.css,ref:l,children:n})]})}):null}),eI=L(()=>({Main:{tag:"hr",main:!0,css:{height:r.theme.space.medium,border:"none",margin:0,width:"100%",position:"relative",variants:{line:{true:{"&::after":{content:" ",display:"block",height:1,background:r.theme.color.backgroundContrast,width:"100%",position:"absolute",top:"calc(50% - 1px)"}}}}},props:(e,t)=>{t.size&&("string"==typeof t.size&&Object.keys(r.theme.space).includes(t.size)?e.height=r.theme.space[t.size]:e.height=t.size)}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r})},e=>[e.size]),eA=e=>Math.max(...e.filter(Boolean).map(e=>{var t,n;return null==e?void 0:null===(n=e.props)||void 0===n?void 0:null===(t=n.children)||void 0===t?void 0:t.length})),eN=L(()=>({Main:{tag:"div",main:!0,css:{display:"grid",justifyItems:"start",alignSelf:"normal",gridGap:r.theme.space.small,background:r.theme.color.gray300,borderRadius:r.theme.look.radius,padding:r.theme.space.small},props:(e,t)=>{let n=eA(t.children);e[`& > *:nth-child(-n + ${n})`]={fontWeight:r.theme.font.weightBold},e.gridTemplateColumns=`repeat(${n}, 1fr)`}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})},e=>[e.children]),eL=L(()=>({Main:{tag:"div",main:!0,css:{display:"flex",flexDirection:"column"}},TabWrapper:{tag:"div",css:{display:"flex",marginBottom:r.theme.space.medium}},Tab:{tag:"div",css:{display:"flex",cursor:"pointer",marginRight:r.theme.space.medium,"&:hover, &:focus":{color:r.theme.color.interact,outline:"none"},variants:{state:{active:{fontWeight:"bold"}}}}},Content:{tag:"div",css:{display:"flex"}}}))(function({props:e,Sheet:t}){let{children:n,items:r,initialTab:i=0,...o}=e,[s,l]=(0,a.useState)(i),{content:c}=r[s];return(0,d.jsxs)(t.Main.Component,{css:t.Main.css,...o,children:[(0,d.jsx)(t.TabWrapper.Component,{css:t.TabWrapper.css,children:r.map((e,n)=>(0,d.jsx)(t.Tab.Component,{css:t.TabWrapper.css,tabIndex:0,state:n===s?"active":void 0,onKeyUp:e=>"Enter"===e.key&&l(n),onClick:()=>l(n),children:e.title},n))}),(0,d.jsx)(t.Content.Component,{css:t.Content.css,children:c})]})}),ez=L(()=>({Main:{tag:"div",css:{display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"normal"}},Cursor:{tag:"span",css:{height:"100%",width:C(4),marginRight:C(6),transition:"background 300ms ease"}},TextArea:{tag:"textarea",main:!0,css:{display:"flex",alignSelf:"normal",padding:0,resize:"none",border:"none",outline:"none",background:"inherit",width:"100%",fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium}}}))(function({props:e,Sheet:t}){let{value:n,onValue:i,required:o,...s}=e,[l,c]=(0,a.useState)(!1);if(i){let t=e.onChange;s.onChange=e=>{i(e.target.value),t&&t(e)}}let u=o&&!n&&!l;return(0,d.jsxs)(t.Main.Component,{css:t.Main.css,children:[(0,d.jsx)(t.Cursor.Component,{css:M({animation:u?`${ek()} 1s linear infinite alternate`:"none",background:l?r.theme.color.backgroundContrast:r.theme.color.gray500},t.Cursor.css)}),(0,d.jsx)(t.TextArea.Component,{css:t.TextArea.css,onFocus:()=>c(!0),onBlur:()=>c(!1),required:o,value:n,...s})]})}),eF=L(()=>({Main:{tag:"a",main:!0,css:{cursor:"pointer",textDecoration:"none",fontFamily:r.theme.font.familyRegular,fontSize:r.theme.font.sizeMedium,color:r.theme.color.interact,"&:hover,&:focus":{outline:"none",backgroundSize:"100% 88%",textDecoration:"underline"},variants:{highlight:{underline:{textDecoration:"underline",color:r.theme.color.backgroundContrast,"&:hover,&:focus":{color:r.theme.color.interact}},animated:{color:r.theme.color.backgroundContrast,backgroundImage:`linear-gradient(transparent calc(100% - 2px), ${r.theme.color.backgroundContrast} 10px)`,backgroundRepeat:"no-repeat",backgroundSize:"0% 100%",transition:"background-size 1s",fontWeight:r.theme.font.weightBold,"&:hover,&:focus":{backgroundSize:"100% 100%",textDecoration:"none"}},gradient:{color:r.theme.color.backgroundContrast,backgroundImage:`linear-gradient(120deg,
351              ${r.theme.color.highlight} 0%,
352              ${r.theme.color.interact} 100%
353            )`,backgroundRepeat:"no-repeat",backgroundSize:"100% 3px",backgroundPosition:"0 100%",transition:"background-size 0.3s ease-in, color 0.3s ease","&:hover,&:focus":{color:r.theme.color.colorContrast,textDecoration:"none"}}}}},props:(e,t)=>{t.bold&&(e.fontWeight=r.theme.font.weightBold)}}}))(function({props:e,Sheet:t}){let{children:n,bold:r,...i}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...i,children:n})});L(()=>({Main:{tag:"footer",main:!0,css:{display:"flex",gridColumn:"3 / 4",flexWrap:"wrap",rowGap:r.theme.space.medium,variants:{type:{wide:{gridColumn:"2 / 5"}}}}},Column:{tag:"div",css:{flexBasis:"25%","@tablet":{flexBasis:"50%"},"@phone":{flexBasis:"100%"}}},TextLink:{extends:eF,css:{display:"flex",marginBottom:r.theme.space.small}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e,i=(0,a.useCallback)(({links:e=[],title:r,...i})=>r||e?(0,d.jsxs)(t.Column.Component,{css:t.Column.css,children:[r&&(0,d.jsx)(t.TextLink.Component,{bold:!0,href:r.url,css:t.TextLink.css,children:r.name}),e.length>0&&(0,d.jsx)(eD,{children:e.map((e,t)=>(0,d.jsx)(eF,{href:e.url,css:e.css,children:e.name},t))}),i.children]}):n,[]),o="function"==typeof n?n({Column:i}):n;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:o})});var eV=({css:e,...t})=>{let n=(0,a.useMemo)(()=>r.styled("svg",e??{}),[e]);return(0,d.jsx)(n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 120",...t,children:(0,d.jsxs)("g",{stroke:t.color??r.theme.color.backgroundContrast.value,strokeWidth:"20",children:[(0,d.jsx)("path",{d:"M0 10L120 10"}),(0,d.jsx)("path",{d:"M40 110L120 110"}),(0,d.jsx)("path",{d:"M20 60L120 60"})]})})},eW=L(()=>({Main:{tag:"nav",main:!0,css:{gridColumn:"1 / 5",gridRow:2,zIndex:r.layer.Navigation,"@phone":{display:"contents",position:"inherit",flexDirection:"column",overflow:"auto"},variants:{show:{true:{position:"fixed",top:0,left:0,right:0,bottom:0,margin:r.theme.space.medium,display:"flex",background:r.theme.color.background,height:`calc(100vh - ${r.theme.space.medium} - 2 * ${r.theme.space.small})`}}}}},Content:{tag:"div",css:{height:0,background:r.theme.color.background,overflow:"hidden",position:"absolute",top:"100%",left:0,right:0,"@phone":{position:"relative",height:"auto",top:"inherit",marginTop:r.theme.space.medium},variants:{type:{open:{height:"auto"}}}}},ContentContainer:{tag:"div",css:{display:"flex",flexDirection:"column",padding:`${r.theme.space.medium} 0`,"@phone":{padding:0}}},ToggleIconWrapper:{tag:"div",css:{gridColumn:"5 / 5",display:"flex",justifyContent:"flex-end",variants:{open:{true:{position:"absolute",right:0}}}}},TabElement:{tag:"div",css:{display:"flex",flexDirection:"column","&:focus":{outline:"none","& > a":{color:r.theme.color.interact}}}}}))(function({props:e,Sheet:t}){let{children:n,links:i=[],linkActive:o=()=>!1,meta:s,middle:l,...c}=e,u=(0,a.useRef)(null),[f,h]=(0,a.useState)(!1);(0,a.useEffect)(()=>{u.current&&f?(0,p.Qp)(u.current):(0,p.tP)()},[f]);let m=(0,a.useCallback)(()=>
353{if(!i||!Array.isArray(i)||i.length<1)return null;let e={cursor:"pointer",width:r.theme.space.medium,height:r.theme.space.medium,display:"none","@phone":{display:"flex"}};return(0,d.jsx)(t.ToggleIconWrapper.Component,{css:t.ToggleIconWrapper.css,open:f,children:f?(0,d.jsx)(I,{onClick:()=>h(!1),css:e}):(0,d.jsx)(eV,{onClick:()=>h(!0),css:e})})},[f]),g=(0,a.useCallback)(({children:e})=>{let[n,r]=(0,a.useState)(!1);return(0,d.jsxs)(t.TabElement.Component,{css:t.TabElement.css,tabIndex:0,onMouseEnter:()=>r(!0),onFocus:()=>r(!0),onMouseLeave:()=>r(!1),onBlur:()=>r(!1),children:[e[0],e[1].props.children&&(0,d.jsx)(t.Content.Component,{css:t.Content.css,type:n?"open":void 0,children:(0,d.jsx)(t.ContentContainer.Component,{css:t.ContentContainer.css,children:e[1]})})]})},[]);return(0,d.jsxs)(t.Main.Component,{css:t.Main.css,...c,show:f,ref:u,children:[(0,d.jsx)(m,{}),(0,d.jsx)(eD,{css:{"@phone":{display:f?"flex":"none",flexDirection:"column",gap:r.theme.space.medium}},horizontal:!0,children:i.map(e=>(0,d.jsxs)(g,{children:[(0,d.jsx)(eF,{href:e.title.url,bold:f||o(e.title.url),children:e.title.name}),(0,d.jsx)(eD,{space:0,children:e.links&&e.links.length>0&&e.links.map(e=>(0,d.jsx)(eF,{href:e.url,children:e.name},e.name))})]},e.title.name))}),f&&(0,d.jsxs)(d.Fragment,{children:[s||l?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(eI,{}),(0,d.jsx)(eI,{line:!0}),(0,d.jsx)(eI,{})]}):null,s&&(0,a.cloneElement)(s,{open:!0}),l&&s?(0,d.jsx)(eI,{}):null,l&&(0,a.cloneElement)(l,{open:!0})]})]})}),eY=e=>e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"type"),eX=(e,t,n)=>{let r=a.Children.map(Array.isArray(e)?e:[e],e=>e);1===r.length&&eY(r[0])&&r[0].type===a.Fragment&&(r=r[0].props.children);let i=r.find(e=>eY(e)&&e.type===t.Navigation),o=r.find(e=>eY(e)&&e.type===t.Meta),s=r.filter(e=>eY(e)&&e.type===t.Middle);if(i&&(s.length||o)){let e={middle:void 0,meta:void 0,key:1234};s.length>0&&(e.middle=(0,a.cloneElement)(s[0],{navigation:!0})),o&&(e.meta=(0,a.cloneElement)(o,{navigation:!0,Sheet:n})),r=a.Children.map(r,n=>n.type===t.Navigation?(0,a.cloneElement)(i,e):n)}return r},eB=L(()=>({Main:{tag:"header",main:!0,css:{gridColumn:"3 / 4",display:"grid",gridTemplateColumns:"auto 1fr auto 1fr auto",gridTemplateRows:"auto",gridRowGap:r.theme.space.medium,alignItems:"center",position:"relative","@phone":{gridTemplateColumns:"auto",gap:r.theme.space.medium}},props:(e,t)=>{t.wide&&(e.gridColumn="2 / 5")}},Middle:{tag:"aside",css:{gridRow:"1",gridColumn:"3 / 3",justifySelf:"center","@phone":{display:"none"},variants:{open:{true:{display:"inherit"}}}}},MetaWrapper:{tag:"nav",css:{gridColumn:"5 / 5",justifySelf:"end","@phone":{display:"flex",gridRow:2,justifySelf:"start",gridColumn:"1 / 5"}}},TitleLink:{extends:eF,css:{justifySelf:"start",display:"flex"}},TitleText:{extends:ee,css:{alignSelf:"center",fontSize:r.theme.font.sizeLarge,fontWeight:r.theme.font.weightBold,"@phone":{alignSelf:"inherit"}}}}))(function({props:e,Sheet:t}){let{children:n,wide:r,...i}=e,o=(0,a.useCallback)(({children:e="naven",...n})=>(0,d.jsx)(t.TitleText.Component,{css:t.TitleText.css,...n,children:e}),[]),s=(0,a.useCallback)(({link:e="/",children:n=(0,d.jsx)(V,{css:{height:C(60)}}),css:r,...i})=>(0,d.jsx)(t.TitleLink.Component,{css:M(t.TitleLink.css,r),href:e,...i,children:n}),[]),l={Middle:e=>(0,d.jsx)(t.Middle.Component,{css:t.Middle.css,...e}),Meta:(0,a.useCallback)(({links:e=[],hideMobile:n=!1,navigation:r=!1,open:i=!1,children:o,css:s})=>{let l=(0,a.useMemo)(()=>M({"@phone":{display:!r&&n||i?"flex":"none"}},M(t.MetaWrapper.css,s)),[n,r]);return o?(0,d.jsx)(t.MetaWrapper.Component,{css:l,children:o}):!Array.isArray(e)||e.length<1?null:(0,d.jsx)(t.MetaWrapper.Component,{css:l,children:(0,d.jsx)(eD,{space:0,horizontal:!0,children:e.map(e=>(0,d.jsx)(eF,{href:e.url,children:e.name},e.url))})})},[]),TitleText:o,TitleLink:s,Navigation:eW},c="function"==typeof n?n(l):n;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...i,children:eX(c,l,t)})}),eq=L(()=>({Main:{tag:"main",main:!0,space:!0,css:{gridColumn:"2 / 5",display:"flex",flexDirection:"column",alignItems:"flex-start",ga
353p:r.theme.space.medium,variants:{position:{sidebar:{gridColumn:"3 / 5"}}}}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})}),eU=L(()=>({Main:{tag:"div",main:!0,space:!0,css:{display:"flex",overflow:"visible",alignSelf:"normal",gap:r.theme.space.medium},props:(e,t)=>{t.wrap&&(e.flexWrap="wrap"),t.center&&(e.justifyContent="center")}}}))(function({props:e,Sheet:t}){let{children:n,wrap:r,center:i,...o}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...o,children:n})},e=>[e.wrap]),eH=L(()=>({Main:{tag:"section",main:!0,space:!0,css:{gridColumn:3,display:"flex",flexDirection:"column",alignItems:"flex-start",overflow:"hidden",gap:r.theme.space.medium}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})}),eG=L(()=>({Main:{tag:"nav",main:!0,space:!0,css:{gridColumn:"2 / 3",display:"flex",flexDirection:"column",overflow:"hidden",gap:r.theme.space.medium}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})}),eJ=L(()=>({Main:{tag:"div",main:!0,space:!0,css:{display:"flex",flexDirection:"column",alignItems:"flex-start",alignSelf:"normal",overflow:"visible",gap:r.theme.space.medium},props:(e,t)=>{t.wrap&&(e.flexWrap="wrap"),t.center&&(e.alignItems="center")}}}))(function({props:e,Sheet:t}){let{children:n,wrap:r,center:i,...o}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...o,children:n})}),eK=L(()=>({Main:{tag:"section",main:!0,space:!0,css:{gridColumn:"1 / 6",display:"flex",flexDirection:"column",alignItems:"flex-start",overflow:"hidden",gap:r.theme.space.medium}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})}),e0=L(()=>({Main:{tag:"code",main:!0,css:{background:r.theme.color.gray300,borderRadius:(0,s.FD)(3),padding:`${(0,s.FD)(2)} ${(0,s.FD)(4)}`,fontFamily:r.theme.font.familyMono,fontSize:"80%",whiteSpace:"nowrap"}}}))(function({props:e,Sheet:t}){let{children:n,...r}=e;return(0,d.jsx)(t.Main.Component,{css:t.Main.css,...r,children:n})})},18813:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},16674:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},4236:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("18813");function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},81362:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},79038:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},33361:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("41326");function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},20778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("90642"),i=n("27041"),o=n("53619");function a(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);return n=t?Reflect.construct(i,arguments,(0,r.Z)(this).constructor):i.apply(this,arguments),(0,o.Z)(this,n)}}},71549:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("41326");function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},73030:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},90642:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},64449:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("60006");function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},27041:function(e,t,n){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}n.d(t,{Z:function(){return r}})},19465:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},60598:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}
353finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}n.d(t,{Z:function(){return r}})},36255:function(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},77484:function(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},27954:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("71549");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},94491:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("56042");function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},56042:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{Z:function(){return r}})},53619:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("92452"),i=n("81362");function o(e,t){if(t&&("object"==(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},60006:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},14091:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("16674"),i=n("60598"),o=n("47408"),a=n("36255");function s(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},89234:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return r}})},37577:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("4236"),i=n("19465"),o=n("47408"),a=n("77484");function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},50160:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("92452");function i(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},41326:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("92452"),i=n("50160");function o(e){var t=(0,i.Z)(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},92452:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},47408:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("18813");function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},81287:function(e,t,n){"use strict";n.d(t,{z:function(){return N}});var r=n("3781"),i=n("79162"),o=n("73911"),a=n("71813"),s=e=>{let t=e.replace(/(#|\s)/gi,"");return(3===t.length||6===t.length)&&t},l=(e,t=.5)=>{let n=s(e);if(!n)return console.warn(`Invalid color "${e}" supplied to contrast().`),"#000000";let r={red:0,green:0,blue:0};if(3===n.length)r.red=parseInt(n[0].repeat(2),16),r.green=parseInt(n[1].repeat(2),16),r.blue=parseInt(n[2].repeat(2),16);else r.red=parseInt(n.substring(0,2),16),r.green=parseInt(n.substring(2,4),16),r.blue=parseInt(n.substring(4,6),16);return Math.sqrt(.299*(r.red/255)**2+.587*(r.green/255)**2+.114*(r.blue/255)**2)>t?"#000000":"#ffffff"},c=({hasError:e})=>({borderRadius:5,paddingTop:e?1:2,paddingRight:e?1:2,paddingBottom:e?
3531:2,paddingLeft:e?4:5,borderWidth:e?2:1,borderColor:e?"red":"black",borderStyle:"solid",color:e?"red":"black",outline:"none"}),u=e=>/^#([0-9A-Fa-f]{3}){1,2}$/.test(e);function d({color:e,setBoardColor:t,onColor:n}){let[i,o]=(0,r.useState)(u(e)),[a,s]=(0,r.useState)(e);return(0,r.useEffect)(()=>{s(e),o(u(e))},[e]),r.createElement("input",{style:{...c({hasError:!i}),width:"calc(100% - 10px)",background:e,color:l(e)},type:"string",value:a,onChange:e=>{let r=e.target.value;s(r),u(r)?(o(!0),t(r),n(r)):o(!1)}})}var f=(e,t,n,r)=>({red:e+(255-e)*r,green:t+(255-t)*r,blue:n+(255-n)*r}),h=(e,t,n,r)=>({red:e-e*r,green:t-t*r,blue:n-n*r}),p=(e,t,n,r,a)=>{let s=(0,i.Z)(e);return s=h((s=f(s.red,s.green,s.blue,t/r)).red,s.green,s.blue,n/a),`#${(0,o.Z)(s.red,s.green,s.blue).toUpperCase()}`},m=["#000000","#FFFFFF","#9E9E9E","#795548","#F44336","#E91E63","#9C27B0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722"],g=(e,t,n,r)=>{let i=e,o=t;return e>n&&(i=n),e<0&&(i=0),t>r&&(o=r),t<0&&(o=0),[i,o]},O={display:"flex",flexDirection:"row",flexWrap:"wrap",marginTop:10,borderRadius:5,overflow:"hidden"},v=e=>({position:"relative",width:"10%",height:0,paddingBottom:"10%",backgroundColor:e,border:"none",outline:"none",cursor:"pointer"});function b({onColor:e,setCurrentColor:t,setBoardColor:n,width:i,height:o,lastPosition:a}){return r.createElement("div",{style:O},m.map(s=>r.createElement("button",{key:s,type:"button","aria-label":`Select ${s} color`,style:v(s),onClick:()=>{let r=p(s,a.x,a.y,i,o);n(s),t(r),e(r)}})))}var y=(e,t)=>({display:"flex",position:"relative",cursor:t?"none":"inherit",height:100,backgroundColor:e,backgroundImage:"linear-gradient(to right, transparent 0%, #FFFFFF 100%)",outline:"none",borderRadius:5}),x={position:"absolute",backgroundImage:"linear-gradient(to top, #000000 0%, transparent 100%)",width:"100%",height:"100%",borderRadius:5},w=(e,t,n,r)=>({position:"absolute",cursor:r?"none":"pointer",top:n-6,left:t-6,width:8,height:8,border:"2px solid white",boxShadow:"1px 1px 2px gray",borderRadius:14,background:e}),S=new Map;function k({boardRef:e,lastPosition:t,setLastPosition:n,boardColor:i,onColor:o,setCurrentColor:s,width:l,height:c}){let u=(0,a.Z)(e);!S.has(e.current)&&S.set(e.current,{x:0,y:0});let d=t.x,f=t.y;if(u.isDown&&u.x&&u.y)[d,f]=g(u.x,u.y,l,c),S.set(e.current,{x:d,y:f});else{let t=S.get(e.current);d=t.x,f=t.y}let h=p(i,d,f,l,c);return r.createElement("div",{ref:e,title:"board",role:"button",tabIndex:0,onMouseUp:()=>{let[e,t]=g(u.x,u.y,l,c);n({x:e,y:t}),s(h),o(h)},style:y(i,u.isDown)},r.createElement("div",{style:x}),r.createElement("div",{style:w(h,d,f,u.isDown)}))}var P={marginTop:10,marginBottom:10,position:"relative",height:10},M={display:"flex",flexDirection:"row"},j=(e,t,n,r)=>{let i={width:"calc(100% / 6)",height:10,backgroundImage:`linear-gradient(to right, ${e} 0%, ${t} 100%)`};return n&&(i.borderBottomLeftRadius=5,i.borderTopLeftRadius=5),r&&(i.borderBottomRightRadius=5,i.borderTopRightRadius=5),i},C={position:"absolute",width:"100%",top:-5,left:-2,appearance:"none",outline:"none",background:"none"},_=e=>`
354  border: 2px solid #FFFFFF;
355  box-shadow: 1px 1px 3px gray;
356  border-radius: 32px;
357  cursor: pointer;
358  background: ${e};
359  height: 16px;
360  width: 16px;
361  `,T=(e,t)=>`
362  .${e} {
363    -webkit-appearance: none;
364  }
365  
366  /* combining below selectors will not work. */
367  .${e}::-webkit-slider-thumb {
368  ${_(t)}
369    -webkit-appearance: none; /* Required for Safari */
370    appearance: none;
371  }
372  
373  .${e}::-moz-range-thumb {
374  ${_(t)}
375    height: 14px;
376    width: 14px;
377  }
378  
379  .${e}::-ms-thumb {
380  ${_(t)}
381  }
382  `,D=[[255,0,0],[255,255,0],[0,255,0],[0,255,255],[0,0,255],[255,0,255],[255,0,0]],E=["#FF0000","#FFFF00","#00FF00","#00FFFF","#0000FF","#FF00FF","#FF0000"],Q=e=>{let t=e%3;return 1===t?0:0===t?1:2},$=e=>e%2==0?(e,t)=>e+t:(e,t)=>e-t,R=e=>{let t=e.toString(16).toUpperCase();return 1===t.length?`0${t}`:t},Z=e=>{let t=Math.floor(e/255),n=[...D[t]],r=Q(t),i=n[Q(t)];return n[r]=$(t)(i,e%255),`#${R(n[0])}${R(n[1])}${R(n[2])}`},I=({onColor:e,setCurrentColor:t,setBoardColor:n,lastPosition:i,width:o,height:a})=>{let[s,l]=(0,r.useState)(0),[c]=(0,r.useState)(`b_${Math.random().toString(36).substring(5)}`);return r.createElement(r.Fragment,null,r.createElement("style",null,T(c,Z(s))),r.createElement("div",{style:P},r.createElement("div",{style:M},E.slice(0,-1).map((e,t)=>r.createElement("div",{key:t,style:j(e,E[t+1],0===t,t===E.length-2)}))),r.createElement("input",{className:c,style:C,type:"range",value:s,min:"0",max:"1530",onChange:r=>{let s=Number(r.target.value),c=Z(s),u=p(c,i.x,i.y,o,a);l(s),t(u),n(c),e(u)}})))},A={width:200};function N({color:e="#000000",onColor:t,style:n={},input:i=!0,palette:o=!0}){var a,s;let l=(0,r.useRef)(null),[c,u]=(0,r.useState)({x:0,y:0}),[f,h]=(0,r.useState)(e),[p,m]=(0,r.useState)(e);(0,r.useEffect)(()=>{h(e)},[e]);let g=(null===(a=l.current)||void 0===a?void 0:a.offsetWidth)??100,O=(null===(s=l.current)||void 0===s?void 0:s.offsetHeight)??100;return r.createElement("div",{style:{...A,...n}},r.createElement(k,{boardRef:l,lastPosition:c,setLastPosition:u,boardColor:p,setCurrentColor:h,onColor:t,width:g,height:O}),r.createElement(I,{onColor:t,setCurrentColor:h,setBoardColor:m,width:g,height:O,lastPosition:c}),i&&r.createElement(d,{color:f,setBoardColor:m,onColor:t}),o&&r.createElement(b,{onColor:t,setCurrentColor:h,setBoardColor:m,width:g,height:O,lastPosition:c}))}},97260:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r="%[a-f0-9]{2}",i=RegExp("("+r+")|([^%]+?)","gi"),o=RegExp("("+r+")+","gi");function a(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){let t={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{let e=function(e){try{return decodeURIComponent(e)}catch{let t=e.match(i)||[];for(let n=1;n<t.length;n++)t=(e=(function e(t,n){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;n=n||1;let r=t.slice(0,n),i=t.slice(n);return Array.prototype.concat.call([],e(r),e(i))})(t,n).join("")).match(i)||[];return e}}(n[0]);e!==n[0]&&(t[n[0]]=e)}n=o.exec(e)}for(let n of(t["%C2"]="�",Object.keys(t)))e=e.replace(RegExp(n,"g"),t[n]);return e}(e)}}},76830:function(e,t,n){"use strict";var r=n("22701");let i=(e,t)=>{if(e===t)return{};if(!(0,r.Kn)(e)||!(0,r.Kn)(t))return t;let n=Object.keys(e).reduce((e,n)=>(!(0,r.nr)(t,n)&&(e[n]=void 0),e),(0,r.d)());if((0,r.J_)(e)||(0,r.J_)(t))return e.valueOf()==t.valueOf()?{}:t;return Object.keys(t).reduce((n,o)=>
382{if(!(0,r.nr)(e,o))return n[o]=t[o],n;let a=i(e[o],t[o]);return(0,r.Qr)(a)&&!(0,r.J_)(a)&&((0,r.Qr)(e[o])||!(0,r.Qr)(t[o]))?n:(n[o]=a,n)},n)};t.Z=i},22701:function(e,t,n){"use strict";n.d(t,{J_:function(){return r},Kn:function(){return o},Qr:function(){return s},d:function(){return l},nr:function(){return a}});let r=e=>e instanceof Date,i=e=>0===Object.keys(e).length,o=e=>null!=e&&"object"==typeof e,a=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),s=e=>o(e)&&i(e),l=()=>Object.create(null)},60390:function(e,t,n){"use strict";n.d(t,{F:function(){return g},T:function(){return O}});var r=n("3781"),i=n("3230"),o=n("23874"),a=n("60840"),s=n("2697"),l=n("77730"),c=Object.defineProperty,u=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t,n)=>(u(e,"symbol"!=typeof t?t+"":t,n),n),f=()=>"undefined"!=typeof window?(0,a.lX)():(0,a.PP)(),h=e=>e.replace(/^\/*/,""),p=e=>{let t=h(""),n=h(e);return t?h(n.replace(t,"")):n},m=e=>{let t=h("");return t?(0,l.Z)("/",t,e):""===e?"/":(0,l.Z)("/",e)},g=new class{constructor(){d(this,"initialRoute"),d(this,"pages",{}),d(this,"route",null),d(this,"parameters",{}),d(this,"history",null),(0,i.rC)(this,{route:i.LO,parameters:i.LO,go:i.aD,initial:i.aD,setPages:i.aD,addPage:i.aD,listener:i.aD,Page:i.Fl}),this.history=f();let{search:e,pathname:t}=this.history.location,n=p(t);if(this.history.listen(this.listener.bind(this)),n&&n.length>0&&(this.route=n),!e||0===e.length)return;this.parameters=s.Z.parse(e)}go(e,t={},n={},r=!1){this.route=e,this.parameters=t;let i=Object.keys(t).length?`?${s.Z.stringify(t)}`:"";e===this.initialRoute&&!Object.keys(t).length&&(e=""),(r?this.history.replace:this.history.push)({hash:"",search:i,pathname:m(e)},n)}back(){this.history.back()}forward(){this.history.forward()}initial(){this.route=this.initialRoute,this.history.push(m(this.route))}setPages(e,t){this.pages=e,this.initialRoute=t,!this.route&&(this.route=t)}addPage(e,t){this.pages[e]=t}get Page(){if(""===this.route)return this.pages[this.initialRoute];if(!this.pages[this.route]){var e;return this.pages["404"]??(e=r.createElement("span",null,"Page not found!"),()=>r.createElement("div",{style:{color:"red",fontWeight:"bold"}},e))}return this.pages[this.route]}listener({location:e}){this.parameters=Object.assign(s.Z.parse(e.search),e.state??{});let t=p(e.pathname);""===t&&(t=this.initialRoute),this.route=h(t)}},O=(0,o.Pi)(({...e})=>r.createElement(g.Page,{...e,...g.parameters}))},36899:function(e,t,n){"use strict";function r(e,t){let n={};if(Array.isArray(t))for(let r of t){let t=Object.getOwnPropertyDescriptor(e,r);(null==t?void 0:t.enumerable)&&Object.defineProperty(n,r,t)}else for(let r of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){let o=e[r];t(r,o,e)&&Object.defineProperty(n,r,i)}}return n}n.d(t,{T:function(){return r}})},79162:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let r="a-f\\d",i=`#?[${r}]{3}[${r}]?`,o=`#?[${r}]{6}([${r}]{2})?`,a=RegExp(`[^#${r}]`,"gi"),s=RegExp(`^${i}$|^${o}$`,"i");function l(e,t={}){if("string"!=typeof e||a.test(e)||!s.test(e))throw TypeError("Expected a valid hex string");e=e.replace(/^#/,"");let n=1;8===e.length&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),4===e.length&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let r=Number.parseInt(e,16),i=r>>16,o=r>>8&255,l=255&r,c="number"==typeof t.alpha?t.alpha:n;if("array"===t.format)return[i,o,l,c];if("css"===t.format){let e=1===c?"":` / ${Number((100*c).toFixed(2))}%`;return`rgb(${i} ${o} ${l}${e})`}return{red:i,green:o,blue:l,alpha:c}}},327:function(e,t,n){"use strict";n.r(t),n.d(t,{exclude:function(){return y},extract:function(){return p},parse:function(){return m},parseUrl:function(){return O},pick:function(){return b},stringify:function(){return g},stringifyUrl:function(){return v}});var r=n("97260"),i=n("35343"),o=n("36899");let a=e=>null==e,s=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),l=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function d(e,t){return t.decode?(0,r.Z)(e):e}function f(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function p(e){let t=(e=f(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function m(e,t){c((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);let n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{if(t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),!t){r[e]=n;return}void 0===r[e]&&(r[e]={}),r[e][t[1]]=n};case"bracket":return(e,n,r)=>{if(t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),!t){r[e]=n;return}if(void 0===r[e]){r[e]=[n];return}r[e]=[...r[e],n]};case"colon-list-separator":return(e,n,r)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!t){r[e]=n;return}if(void 0===r[e]){r[e]=[n];return}r[e]=[...r[e],n]};case"comma":case"separator":return(t,n,r)=>{let i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&d(n,e).includes(e.arrayFormatSeparator);n=o?d(n,e):n;let a=i||o?n.split(e.arrayFormatSeparator).map(t=>d(t,e)):null===n?n:d(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{let i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!i){r[t]=n?d(n,e):n;return}let o=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>d(t,e));if(void 0===r[t]){r[t]=o;return}
382r[t]=[...r[t],...o]};default:return(e,t,n)=>{if(void 0===n[e]){n[e]=t;return}n[e]=[...[n[e]].flat(),t]}}}(t),r=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return r;for(let o of e.split("&")){if(""===o)continue;let e=t.decode?o.replace(/\+/g," "):o,[a,s]=(0,i.Z)(e,"=");void 0===a&&(a=e),s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:d(s,t),n(d(a,t),s,r)}for(let[e,n]of Object.entries(r))if("object"==typeof n&&null!==n)for(let[e,r]of Object.entries(n))n[e]=h(r,t);else r[e]=h(n,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{let n=r[t];return e[t]=n&&"object"==typeof n&&!Array.isArray(n)?function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):n,e},Object.create(null))}function g(e,t){if(!e)return"";c((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);let n=n=>t.skipNull&&a(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{let i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",i,"]"].join("")]:[...n,[u(t,e),"[",u(i,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length)?[[u(n,e),t,u(i,e)].join("")]:[[r,u(i,e)].join(e.arrayFormatSeparator)]}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),i={};for(let[t,r]of Object.entries(e))!n(t)&&(i[t]=r);let o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{let i=e[n];if(void 0===i)return"";if(null===i)return u(n,t);if(Array.isArray(i))return 0===i.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":i.reduce(r(n),[]).join("&");return u(n,t)+"="+u(i,t)}).filter(e=>e.length>0).join("&")}function O(e,t){var n;t={decode:!0,...t};let[r,o]=(0,i.Z)(e,"#");return void 0===r&&(r=e),{url:(null==r?void 0:null===(n=r.split("?"))||void 0===n?void 0:n[0])??"",query:m(p(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:d(o,t)}:{}}}function v(e,t){t={encode:!0,strict:!0,[l]:!0,...t};let n=f(e.url).split("?")[0]||"",r=g({...m(p(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let i=function(e){let t="",n=e.indexOf("#");return -1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){let r=new URL(n);r.hash=e.fragmentIdentifier,i=t[l]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${i}`}function b(e,t,n){let{url:r,query:i,fragmentIdentifier:a}=O(e,n={parseFragmentIdentifier:!0,[l]:!1,...n});return v({url:r,query:(0,o.T)(i,t),fragmentIdentifier:a},n)}function y(e,t,n){return b(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}},2697:function(e,t,n){"use strict";var r=n("327");t.Z=r},73911:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let r=(e,t,n,r)=>(n|t<<8|e<<16|16777216).toString(16).slice(1)+r;function i(e,t,n,i){let a=(e+(i||"")).toString().includes("%");if("string"!=typeof e||t)void 0!==i&&(i=Number.parseFloat(i));else{let r=o(e);if(!r)throw TypeError("Invalid or unsupported color format.");a=!1,[e,t,n,i]=r}if("number"!=typeof e||"number"!=typeof t||"number"!=typeof n||e>255||t>255||n>255)throw TypeError("Expected three numbers below 256");if("number"==typeof i){if(!a&&i>=0&&i<=1)i=Math.round(255*i);else if(a&&i>=0&&i<=100)i=Math.round(255*i/100);else throw TypeError(`Expected alpha value (${i}) as a fraction or percentage`);i=(256|i).toString(16).slice(1)}else i="";return r(e,t,n,i)}let o=e=>{let t;let n=e.replace(/rgba?\(([^)]+)\)/,"$1").split(/[,\s/]+/).filter(
382Boolean);if(n.length<3)return;let r=(e,t)=>(e=e.trim()).endsWith("%")?Math.min(Number.parseFloat(e)*t/100,t):Math.min(Number.parseFloat(e),t),i=r(n[0],255),o=r(n[1],255),a=r(n[2],255);return 4===n.length&&(t=r(n[3],1)),[i,o,a,t]}},35343:function(e,t,n){"use strict";function r(e,t){if(!("string"==typeof e&&"string"==typeof t))throw TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];let n=e.indexOf(t);return -1===n?[]:[e.slice(0,n),e.slice(n+t.length)]}n.d(t,{Z:function(){return r}})},77730:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){var e;return e="object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments),function(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var i=e[r];if("string"!=typeof i)throw TypeError("Url must be a string. Received "+i);""!==i&&(r>0&&(i=i.replace(/^[\/]+/,"")),i=r<e.length-1?i.replace(/[\/]+$/,""):i.replace(/[\/]+$/,"/"),t.push(i))}var o=t.join("/"),a=(o=o.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return o=a.shift()+(a.length>0?"?":"")+a.join("&")}(e)}},40203:function(e,t,n){"use strict";n.d(t,{GA:function(){return eO},Gn:function(){return eo},Mb:function(){return u},eC:function(){return d},vQ:function(){return ed}});var r,i,o=n("31465"),a=n("97313"),s=n("57943");class l{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(p(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function c(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function u(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=c(t)+c(n)+"*$";return[RegExp("^"+r),new RegExp(r)]}(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function d(e,t){return n=>{for(let t=(0,s.qz)(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class f{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function h(e){return e.selection.main.from}function p(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}let m=o.q6.define(),g=new WeakMap;function O(e){if(!Array.isArray(e))return e;let t=g.get(e);return!t&&g.set(e,t=u(e)),t}let v=o.Py.define(),b=o.Py.define();class y{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=(0,o.gm)(e,t),r=(0,o.nZ)(n);this.chars.push(n);let i=e.slice(t,t+r),a=i.toUpperCase();this.folded.push((0,o.gm)(a==i?i.toLowerCase():a,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:r,precise:i,byWord:a}=this;if(1==t.length){let r=(0,o.gm)(e,0),i=(0,o.nZ)(r),a=i==e.length?0:-100;if(r==t[0]);else{if(r!=n[0])return null;a+=-200}return this.ret(a,[0,i])}let s=e.indexOf(this.pattern);if(0==s)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=t.length,c=0;if(s<0){for(let i=0,a=Math.min(e.length,200);i<a&&c<l;){let a=(0,o.gm)(e,i);(a==t[c]||a==n[c])&&(r[c++]=i),i+=(0,o.nZ)(a)}if(c<l)return null}let u=0,d=0,f=!1,h=0,p=-1,m=-1,g=/[a-z]/.test(e),O=!0;for(let r=0,c=Math.min(e.length,200),v=0;r<c&&d<l;){let c=(0,o.gm)(e,r);s<0&&(u<l&&c==t[u]&&(i[u++]=r),h<l&&(c==t[h]||c==n[h]?(0==h&&(p=r),m=r+1,h++):h=0));let b,y=c<255?c>=48&&c<=57||c>=97&&c<=122?2:c>=65&&c<=90?1:0:(b=(0,o.bg)(c))!=b.toLowerCase()?1:b!=b.toUpperCase()?2:0;(!r||1==y&&g||0==v&&0!=y)&&(t[d]==c||n[d]==c&&(f=!0)?a[d++]=r:a.length&&(O=!1)),v=y,r+=(0,o.nZ)(c)}return d==l&&0==a[0]&&O?this.result(-100+(f?-200:0),a,e):h==l&&0==p?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):h==l?this.ret(-900-e.length,[p,m]):d==l?this.result(-100+(f?-200:0)+-700+(O?0:-1100),a,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],i=0;for(let e of t){let t=e+(this.astral?(0,o.nZ)((0,o.gm)(n,e)):1);i&&r[i-1]==e?r[i-1]=t:(r[i++]=e,r[i++]=t)}return this.ret(e-n.length,r)}}class x{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}let w=o.r$.define({combine:e=>(0,o.BO)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:k,filterStrict:!1,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>S(e(n),t(n)),optionClass:(e,t)=>n=>S(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>
vendor: 4,134 bytes, line 382
382e||t})});function S(e,t){return e?t?e+" "+t:e:t}function k(e,t,n,r,i,o){let s=e.textDirection==a.Nm.RTL,l=s,c=!1,u="top",d,f,h=t.left-i.left,p=i.right-t.right,m=r.right-r.left,g=r.bottom-r.top;if(l&&h<Math.min(m,p)?l=!1:!l&&p<Math.min(m,h)&&(l=!0),m<=(l?h:p))d=Math.max(i.top,Math.min(n.top,i.bottom-g))-t.top,f=Math.min(400,l?h:p);else{c=!0,f=Math.min(400,(s?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=g||e>t.top?d=n.bottom-t.top:(u="bottom",d=t.bottom-n.top)}let O=(t.bottom-t.top)/o.offsetHeight,v=(t.right-t.left)/o.offsetWidth;return{style:`${u}: ${d/O}px; max-width: ${f/v}px`,class:"cm-completionInfo-"+(c?s?"left-narrow":"right-narrow":l?"left":"right")}}function P(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class M{constructor(e,t,n){var r;let i;this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let o=e.state.field(t),{options:a,selected:s}=o.open,l=e.state.facet(w);this.optionContent=(i=(r=l).addToOptions.slice(),r.icons&&i.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),i.push({render(e,t,n,r){let i=document.createElement("span");i.className="cm-completionLabel";let o=e.displayLabel||e.label,a=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>a&&i.appendChild(document.createTextNode(o.slice(a,t)));let s=i.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,n))),s.className="cm-completionMatchedText",a=n}return a<o.length&&i.appendChild(document.createTextNode(o.slice(a))),i},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),i.sort((e,t)=>e.position-t.position).map(e=>e.render)),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=P(a.length,s,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(i=/-(\d+)$/.exec(t.id))&&+i[1]<r.length){this.applyCompletion(e,r[+i[1]]),n.preventDefault();return}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(w).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:b.of(null)})}),this.showOptions(a,o.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:i,selected:o,disabled:a}=n.open;(!r.open||r.open.options!=i)&&(this.range=P(i.length,o,e.state.facet(w).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),a!=(null===(t=r.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=P(t.options.length,t.selected,this.view.state.facet(w).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();
382let{completion:n}=t.options[t.selected],{info:r}=n;if(!r)return;let i="string"==typeof r?document.createTextNode(r):r(n);if(!i)return;"then"in i?i.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)}).catch(e=>(0,a.OO)(this.view.state,e,"completion info")):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)"LI"==n.nodeName&&n.id?r==e?!n.hasAttribute("aria-selected")&&(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--;return t&&function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/i:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/i)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(w).positionInfo(this.view,t,r,n,i,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){let r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));let i=null;for(let o=n.from;o<n.to;o++){let{completion:a,match:s}=e[o],{section:l}=a;if(l){let e="string"==typeof l?l:l.name;e!=i&&(o>n.from||0==n.from)&&(i=e,"string"!=typeof l&&l.header?r.appendChild(l.header(l)):r.appendChild(document.createElement("completion-section")).textContent=e)}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(a);for(let e of(u&&(c.className=u),this.optionContent)){let t=e(a,this.view.state,this.view,s);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function j(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class C{constructor(e,t,n,r,i,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new C(this.options,E(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let a=function(e,t){let n=[],r=null,i=e=>{n.push(e);let{section:t}=e.completion;if(t){!r&&(r=[]);let e="string"==typeof t?t:t.name;!r.some(t=>t.name==e)&&r.push("string"==typeof t?{name:e}:t)}},o=t.facet(w);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)i(new f(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),a,s=o.filterStrict?new x(n):new y(n);for(let t of r.result.options)if(a=s.match(t.label)){let n=t.displayLabel?e?e(t,a.matched):[]:a.matched;i(new f(t,r.source,n,a.score+(t.boost||0)))}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>{var n,r;return(null!==(n=e.rank)&&void 0!==n?n:1e9)-(null!==(r=t.rank)&&void 0!==r?r:1e9)||(e.name<t.name?-1:1)}))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e["string"==typeof n?n:n.name])}}let a=[],s=null,l=o.compareCompletions;for(let e of n.sort((e,t)=>
382t.score-e.score||l(e.completion,t.completion))){let t=e.completion;s&&s.label==t.label&&s.detail==t.detail&&(null==s.type||null==t.type||s.type==t.type)&&s.apply==t.apply&&s.boost==t.boost?j(e.completion)>j(s)&&(a[a.length-1]=e):a.push(e),s=e.completion}return a}(e,t);if(!a.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(w).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<a.length;t++)if(a[t].completion==e){s=t;break}}return new C(a,E(n,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:L,above:i.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new C(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new C(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class _{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new _(Q,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(w),r=(n.override||t.languageDataAt("autocomplete",h(t)).map(O)).map(t=>(this.active.find(e=>e.source==t)||new $(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let i=this.open,o=e.effects.some(e=>e.is(Z));for(let a of(i&&e.docChanged&&(i=i.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let i=n==e.length,o=r==t.length;if(i||o)return i==o;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||o?i=C.build(r,t,this.id,i,n,o):i&&i.disabled&&!r.some(e=>e.isPending)&&(i=null),!i&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new $(e.source,0):e)),e.effects))a.is(I)&&(i=i&&i.setSelected(a.value,this.id));return r==this.active&&i==this.open?this:new _(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?T:D}}let T={"aria-autocomplete":"list"},D={};function E(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let Q=[];class ${constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=function(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(m);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new $(r.source,0)),4&n&&0==r.state&&(r=new $(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(v))r=new $(r.source,1,t.value);else if(t.is(b))r=new $(r.source,0);else if(t.is(Z))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(h(e.state))}}class R extends ${constructor(e,t,n,r,i,o){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),a=h(e.state);if(a>o||!r||2&t&&(h(e.startState)==this.from||a<this.limit))return new $(this.source,4&t?1:0);let s=e.changes.mapPos(this.limit);return function(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):p(e,!0).test(i)}(r.validFor,e.state,i,o)?new R(this.source,this.explicit,s,r,i,o):r.update&&(r=r.update(r,i,o,new l(e.state,a,!1)))?new R(this.source,this.explicit,s,r,r.from,null!==(n=r.to)&&void 0!==n?n:h(e.state)):new $(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new R(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new $(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}let Z=o.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),I=o.Py.define(),A=o.QQ.define({create:()=>_.start(),update:(e,t)=>
382e.update(t),provide:e=>[a.hJ.from(e,e=>e.tooltip),a.tk.contentAttributes.from(e,e=>e.attrs)]});function N(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(A).active.find(e=>e.source==t.source);return r instanceof R&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},function(e,t,n,r){let{main:i}=e.selection,a=n-i.from,s=r-i.from;return Object.assign(Object.assign({},e.changeByRange(l=>{if(l!=i&&n!=r&&e.sliceDoc(l.from+a,l.from+s)!=e.sliceDoc(n,r))return{range:l};let c=e.toText(t);return{changes:{from:l.from+a,to:r==i.from?l.to:l.from+s,insert:c},range:o.jT.cursor(l.from+a+c.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}(e.state,n,r.from,r.to)),{annotations:m.of(t.completion)})):n(e,t.completion,r.from,r.to),!0)}let L=(r=A,i=N,e=>new M(e,r,i));function z(e,t="option"){return n=>{let r=n.state.field(A,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(w).interactionDelay)return!1;let i=1,o;"page"==t&&(o=(0,a.gB)(n,r.open.tooltip))&&(i=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,l=r.open.selected>-1?r.open.selected+i*(e?1:-1):e?0:s-1;return l<0?l="page"==t?0:s-1:l>=s&&(l="page"==t?s-1:0),n.dispatch({effects:I.of(l)}),!0}}let F=e=>!!e.state.field(A,!1)&&(e.dispatch({effects:v.of(!0)}),!0);"object"==typeof navigator&&navigator.platform;let V=a.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:'"\xb7\xb7\xb7"',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:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class W{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class Y{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,o.gc.TrackDel),n=e.mapPos(this.to,1,o.gc.TrackDel);return null==t||null==n?null:new Y(this.field,t,n)}}class X{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=o,a=/^\t*/.exec(i)[0].length;for(let t=0;t<a;t++)n+=e.facet(s.c);r.push(t+n.length-a),i=n+i.slice(a)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new Y(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],n=[],r=[],i;for(let o of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}
382])*))\}/.exec(o);){let e=i[1]?+i[1]:null,a=i[2]||i[3]||"",s=-1,l=a.replace(/\\[{}]/g,e=>e[1]);for(let n=0;n<t.length;n++)(null!=e?t[n].seq==e:!!l&&t[n].name==l)&&(s=n);if(s<0){let n=0;for(;n<t.length&&(null==e||null!=t[n].seq&&t[n].seq<e);)n++;for(let i of(t.splice(n,0,{seq:e,name:l}),s=n,r))i.field>=s&&i.field++}r.push(new W(s,n.length,i.index,i.index+l.length)),o=o.slice(0,i.index)+a+o.slice(i.index+i[0].length)}o=o.replace(/\\([{}])/g,(e,t,i)=>{for(let e of r)e.line==n.length&&e.from>i&&(e.from--,e.to--);return t}),n.push(o)}return new X(n,r)}}let B=a.p.widget({widget:new class extends a.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),q=a.p.mark({class:"cm-snippetField"});class U{constructor(e,t){this.ranges=e,this.active=t,this.deco=a.p.set(e.map(e=>(e.from==e.to?B:q).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new U(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let H=o.Py.define({map:(e,t)=>e&&e.map(t)}),G=o.Py.define(),J=o.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(H))return n.value;if(n.is(G)&&e)return new U(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>a.tk.decorations.from(e,e=>e?e.deco:a.p.none)});function K(e,t){return o.jT.create(e.filter(e=>e.field==t).map(e=>o.jT.range(e.from,e.to)))}function ee(e){return({state:t,dispatch:n})=>{let r=t.field(J,!1);if(!r||e<0&&0==r.active)return!1;let i=r.active+e,o=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:K(r.ranges,i),effects:H.of(o?null:new U(r.ranges,i)),scrollIntoView:!0})),!0}}let et=ee(1),en=[{key:"Tab",run:et,shift:ee(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(J,!1)&&(t(e.update({effects:H.of(null)})),!0)}],er=o.r$.define({combine:e=>e.length?e[0]:en}),ei=o.Wl.highest(a.$f.compute([er],e=>e.facet(er)));function eo(e,t){var n;let r;return Object.assign(Object.assign({},t),{apply:(n=e,r=X.parse(n),(e,t,n,i)=>{let{text:a,ranges:s}=r.instantiate(e.state,n),{main:l}=e.state.selection,c={changes:{from:n,to:i==l.from?l.to:i,insert:o.xv.of(a)},scrollIntoView:!0,annotations:t?[m.of(t),o.YW.userEvent.of("input.complete")]:void 0};if(s.length&&(c.selection=K(s,0)),s.some(e=>e.field>0)){let t=new U(s,0),n=c.effects=[H.of(t)];void 0===e.state.field(J,!1)&&n.push(o.Py.appendConfig.of([J,ei,ea,V]))}e.dispatch(e.state.update(c))})})}let ea=a.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(J,!1),r;if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!!i&&i.field!=n.active&&(t.dispatch({selection:K(n.ranges,i.field),effects:H.of(n.ranges.some(e=>e.field>i.field)?new U(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),es={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},el=o.Py.define({map(e,t){let n=t.mapPos(e,-1,o.gc.TrackAfter);return null==n?void 0:n}}),ec=new class extends o.uU{};ec.startSide=1,ec.endSide=-1;let eu=o.QQ.define({create:()=>o.Xs.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(el)&&(e=e.update({add:[ec.range(n.value,n.value+1)]}));return e}});function ed(){return[eg,eu]}let ef="()[]{}<>";function eh(e){for(let t=0;t<ef.length;t+=2)if(ef.charCodeAt(t)==e)return ef.charAt(t+1);return(0,o.bg)(e<128?e:e+1)}function ep(e,t){return e.languageDataAt("closeBrackets",t)[0]||es}let em="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),eg=a.tk.inputHandler.of((e,t,n,r)=>{if((em?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,o.nZ)((0,o.gm)(r,0))||t!=i.from||n!=i.to)return!1;let a=function(e,t){let n=ep(e,e.selection.main.head),r=n.brackets||es.brackets;for(let i of r){let a=eh((0,o.gm)(i,0));if(t==i)return a==i?function(e,t,n,r){let i=r.stringPrefixes||es.stringPrefixes,a=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:el.of(r.to+t.length),range:o.jT.range(r.anchor+t.length,r.head+t.length)};let l=r.head,c=eb(e.doc,l),u;if(c==t){if(ey(e,l))return{changes:{insert:t+t,from:l},effects:el.of(l+t.length),range:o.jT.cursor(l+t.length)};if(ev(e,l)){let r=n&&e.sliceDoc(l,l+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+r.length,insert:r},range:o.jT.cursor(l+r.length)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(u=ex(e,l-2*t.length,i))>-1&&ey(e,u))return{changes:{insert:t+t+t+t,from:l},effects:el.of(l+t.length),range:o.jT.cursor(l+t.length)};else if(e.charCategorizer(l)(c)!=o.D0.Word&&ex(e,l,i)>-1&&!function(e,t,n,r){let i=(0,s.qz)(e).resolveInner(t,-1),o=r.reduce((e,t)=>
382Math.max(e,t.length),0);for(let a=0;a<5;a++){let a=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),s=a.indexOf(n);if(!s||s>-1&&r.indexOf(a.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=i.to==t&&i.parent;if(!l)break;i=l}return!1}(e,l,t,i))return{changes:{insert:t+t,from:l},effects:el.of(l+t.length),range:o.jT.cursor(l+t.length)};return{range:a=r}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,r.indexOf(i+i+i)>-1,n):function(e,t,n,r){let i=null,a=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:el.of(a.to+t.length),range:o.jT.range(a.anchor+t.length,a.head+t.length)};let s=eb(e.doc,a.head);return!s||/\s/.test(s)||r.indexOf(s)>-1?{changes:{insert:t+n,from:a.head},effects:el.of(a.head+t.length),range:o.jT.cursor(a.head+t.length)}:{range:i=a}});return i?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,a,n.before||es.before);if(t==a&&ev(e,e.selection.main.from))return function(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&eb(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:o.jT.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,a)}return null}(e.state,r);return!!a&&(e.dispatch(a),!0)}),eO=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=ep(e,e.selection.main.head).brackets||es.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return(0,o.nZ)((0,o.gm)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==r&&eb(e.doc,t.head)==eh((0,o.gm)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:o.jT.cursor(t.head-i.length)}}return{range:r=t}});return!r&&t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function ev(e,t){let n=!1;return e.field(eu).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eb(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,o.nZ)((0,o.gm)(n,0)))}function ey(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ex(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=o.D0.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=o.D0.Word)return n}return -1}e=>{let t=e.state.field(A,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:b.of(null)}),!0)},e=>{let t=e.state.field(A,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(w).interactionDelay)&&N(e,t.open.options[t.open.selected])}},99457:function(e,t,n){"use strict";n.d(t,{at:function(){return eM},f$:function(){return E},fE:function(){return ev},m8:function(){return v},wQ:function(){return e_},xi:function(){return ej}});var r=n("31465"),i=n("97313"),o=n("57943"),a=n("12265");function s(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}let l=s(function(e,t,n=t.selection.ranges){let r=[],i=-1;for(let{from:e,to:o}of n){let n=r.length,a=1e9,s=d(t,e).line;if(s){for(let n=e;n<=o;){let l=t.doc.lineAt(n);if(l.from>i&&(e==o||o>l.from)){i=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,n=l.text.slice(e,e+s.length)==s?e:-1;e<l.text.length&&e<a&&(a=e),r.push({line:l,comment:n,token:s,indent:e,empty:t,single:!1})}n=l.to+1}if(a<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=a);r.length==n+1&&(r[n].single=!0)}}if(2!=e&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:o,single:a}of r)(a||!o)&&e.push({from:t.from+i,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,o=r+i.length;" "==t.text[o-t.from]&&o++,e.push({from:r,to:o})}return{changes:e}}return null},0),c=s(f,0),u=s((e,t)=>f(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let o=t.length-1;o>=0&&t[o].to>r.from?t[o].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function d(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function f(e,t,n=t.selection.ranges){let r=n.map(e=>d(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>(function(e,{open:t,close:n},r,i){let o,a,s=e.sliceDoc(r-50,r),l=e.sliceDoc(i,i+50),c=/\s*$/.exec(s)[0].length,u=/^\s*/.exec(l)[0].length,d=s.length-c;if(s.slice(d-t.length,d)==t&&l.slice(u,u+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:i+u,margin:u&&1}};i-r<=100?o=a=e.sliceDoc(r,i):(o=e.sliceDoc(r,r+50),a=e.sliceDoc(i-50,i));let f=/^\s*/.exec(o)[0].length,h=/\s*$/.exec(a)[0].length,p=a.length-h-n.length;return o.slice(f,f+t.length)==t&&a.slice(p,p+n.length)==n?{open:{pos:r+f+t.length,margin:/\s/.test(o.charAt(f+t.length))?1:0}
382,close:{pos:i-h-n.length,margin:/\s/.test(a.charAt(p-1))?1:0}}:null})(t,r[n],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:o,close:a}=n;e.push({from:o.pos-i.open.length,to:o.pos+o.margin},{from:a.pos-a.margin,to:a.pos+i.close.length})}return{changes:e}}return null}let h=r.q6.define(),p=r.q6.define(),m=r.r$.define(),g=r.r$.define({combine:e=>(0,r.BO)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),O=r.QQ.define({create:()=>D.empty,update(e,t){let n=t.state.facet(g),i=t.annotation(h);if(i){let r=k.fromTransaction(t,i.selection),o=i.side,a=0==o?e.undone:e.done;return a=r?P(a,a.length,n.minDepth,r):C(a,t.startState.selection),new D(0==o?i.rest:a,0==o?a:i.rest)}let o=t.annotation(p);if(("full"==o||"before"==o)&&(e=e.isolate()),!1===t.annotation(r.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let a=k.fromTransaction(t),s=t.annotation(r.YW.time),l=t.annotation(r.YW.userEvent);return a?e=e.addChanges(a,s,l,n,t):t.selection&&(e=e.addSelection(t.startState.selection,s,l,n.newGroupDelay)),("full"==o||"after"==o)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new D(e.done.map(k.fromJSON),e.undone.map(k.fromJSON))});function v(e={}){return[O,g.of(e),i.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?y:"historyRedo"==e.inputType?x:null;return!!n&&(e.preventDefault(),n(t))}})]}function b(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(O,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}let y=b(0,!1),x=b(1,!1),w=b(0,!0),S=b(1,!0);class k{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(e){return new k(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new k(e.changes&&r.as.fromJSON(e.changes),[],e.mapped&&r.n0.fromJSON(e.mapped),e.startSelection&&r.jT.fromJSON(e.startSelection),e.selectionsAfter.map(r.jT.fromJSON))}static fromTransaction(e,t){let n=j;for(let t of e.startState.facet(m)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new k(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,j)}static selection(e){return new k(void 0,j,void 0,void 0,e)}}function P(e,t,n,r){let i=e.slice(t+1>n+20?t-n-1:0,t);return i.push(r),i}function M(e,t){return e.length?t.length?e.concat(t):e:t}let j=[];function C(e,t){if(!e.length)return[k.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),P(e,e.length-1,1e9,n.setSelAfter(r)))}}function _(e,t){if(!e.length)return e;let n=e.length,i=j;for(;n;){let o=function(e,t,n){let i=M(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):j,n);if(!e.changes)return k.selection(i);let o=e.changes.map(t),a=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(a):a;return new k(o,r.Py.mapEffects(e.effects,t),s,e.startSelection.map(a),i)}(e[n-1],t,i);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);return t[n-1]=o,t}t=o.mapped,n--,i=o.selectionsAfter}return i.length?[k.selection(i)]:j}let T=/^(input\.type|delete)($|\.)/;class D{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new D(this.done,this.undone):this}addChanges(e,t,n,i,o){var a,s;let l,c,u=this.done,d=u[u.length-1];if(d&&d.changes&&!d.changes.empty&&e.changes&&(!n||T.test(n))&&(!d.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(o,(a=d.changes,s=e.changes,l=[],c=!1,a.iterChangedRanges((e,t)=>l.push(e,t)),s.iterChangedRanges((e,t,n,r)=>{for(let e=0;e<l.length;){let t=l[e++],i=l[e++];r>=t&&n<=i&&(c=!0)}}),c))||"input.type.compose"==n))u=P(u,u.length-1,i.minDepth,new k(e.changes.compose(d.changes),M(r.Py.mapEffects(e.effects,d.changes),d.effects),d.mapped,d.startSelection,j));else u=P(u,u.length,i.minDepth,e);return new D(u,j,t,n)}addSelection(e,t,n,r){var i,o;let a=this.done.length?this.done[this.done.length-1].selectionsAfter:j;return a.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(i=a[a.length-1],o=e,i.ranges.length==o.ranges.length&&0===i.ranges.filter((e,t)=>
382e.empty!=o.ranges[t].empty).length)?this:new D(C(this.done,e),this.undone,t,n)}addMapping(e){return new D(_(this.done,e),_(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1],o=i.selectionsAfter[0]||t.selection;if(n&&i.selectionsAfter.length){var a;let n,s;return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:h.of({side:e,rest:(n=(a=r)[a.length-1],(s=a.slice())[a.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),s),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!i.changes)return null;let n=1==r.length?j:r.slice(0,r.length-1);return i.mapped&&(n=_(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:h.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}D.empty=new D(j,j);let E=[{key:"Mod-z",run:y,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:x,preventDefault:!0},{linux:"Ctrl-Shift-z",run:x,preventDefault:!0},{key:"Mod-u",run:w,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:S,preventDefault:!0}];function Q(e,t){return r.jT.create(e.ranges.map(t),e.mainIndex)}function $(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function R({state:e,dispatch:t},n){let r=Q(e.selection,n);return!r.eq(e.selection,!0)&&(t($(e,r)),!0)}function Z(e,t){return r.jT.cursor(t?e.to:e.from)}function I(e,t){return R(e,n=>n.empty?e.moveByChar(n,t):Z(n,t))}function A(e){return e.textDirectionAt(e.state.selection.main.head)==i.Nm.LTR}let N=e=>I(e,!A(e)),L=e=>I(e,A(e));function z(e,t){return R(e,n=>n.empty?e.moveByGroup(n,t):Z(n,t))}"undefined"!=typeof Intl&&Intl.Segmenter;function F(e,t,n){let i,s,l=(0,o.qz)(e).resolveInner(t.head),c=n?a.md.closedBy:a.md.openedBy;for(let r=t.head;;){let t=n?l.childAfter(r):l.childBefore(r);if(!t)break;(function(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild})(e,t,c)?l=t:r=n?t.to:t.from}return s=l.type.prop(c)&&(i=n?(0,o.Um)(e,l.from,1):(0,o.Um)(e,l.to,-1))&&i.matched?n?i.end.to:i.end.from:n?l.to:l.from,r.jT.cursor(s,n?-1:1)}function V(e,t){return R(e,n=>{if(!n.empty)return Z(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}let W=e=>V(e,!1),Y=e=>V(e,!0);function X(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,o;if(t){for(let t of e.state.facet(i.tk.scrollMargins)){let i=t(e);(null==i?void 0:i.top)&&(n=Math.max(null==i?void 0:i.top,n)),(null==i?void 0:i.bottom)&&(r=Math.max(null==i?void 0:i.bottom,r))}o=e.scrollDOM.clientHeight-n-r}else o=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,o-5)}}function B(e,t){let n,r=X(e),{state:o}=e,a=Q(o.selection,n=>n.empty?e.moveVertically(n,t,r.height):Z(n,t));if(a.eq(o.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(o.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),l=s.top+r.marginTop,c=s.bottom-r.marginBottom;t&&t.top>l&&t.bottom<c&&(n=i.tk.scrollIntoView(a.main.head,{y:"start",yMargin:t.top-l}))}return e.dispatch($(o,a),{effects:n}),!0}let q=e=>B(e,!1),U=e=>B(e,!0);function H(e,t,n){let i=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,n);if(o.head==t.head&&o.head!=(n?i.to:i.from)&&(o=e.moveToLineBoundary(t,n,!1)),!n&&o.head==i.from&&i.length){let n=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;n&&t.head!=i.from+n&&(o=r.jT.cursor(i.from+n))}return o}function G(e,t){let n=Q(e.state.selection,e=>{let n=t(e);return r.jT.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return!n.eq(e.state.selection)&&(e.dispatch($(e.state,n)),!0)}function J(e,t){return G(e,n=>e.moveByChar(n,t))}let K=e=>J(e,!A(e)),ee=e=>J(e,A(e));function et(e,t){return G(e,n=>e.moveByGroup(n,t))}function en(e,t){return G(e,n=>e.moveVertically(n,t))}let er=e=>en(e,!1),ei=e=>en(e,!0);function eo(e,t){return G(e,n=>e.moveVertically(n,t,X(e).height))}let ea=e=>eo(e,!1),es=e=>eo(e,!0),el=({state:e,dispatch:t})=>(t($(e,{anchor:0})),!0),ec=({state:e,dispatch:t})=>(t($(e,{anchor:e.doc.length})),!0),eu=({state:e,dispatch:t})=>(t($(e,{anchor:e.selection.main.anchor,head:0})),!0),ed=({state:e,dispatch:t})=>(t($(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ef(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:o}=e,a=o.changeByRange(i=>{let{from:o,to:a}=i;if(o==a){let r=t(i);r<o?(n="delete.backward",r=eh(e,r,!1)):r>o&&(n="delete.forward",r=eh(e,r,!0)),o=Math.min(o,r),a=Math.max(a,r)}else o=eh(e,o,!1),a=eh(e,a,!0);return o==a?{range:i}:{changes:{from:o,to:a},range:r.jT.cursor(o,o<i.head?-1:1)}});return!a.changes.empty&&(e.dispatch(o.update(a,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?i.tk.announce.of(o.phrase("Selection deleted")):void 0})),!0)}function eh(e,t,n){if(e instanceof i.tk)for(let r of e.state.facet(i.tk.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}let ep=(e,t,n)=>ef(e,i=>{let a=i.from,{state:s}=e,l=s.doc.lineAt(a),c,u;if(n&&!t&&a>l.from&&a<l.from+200&&!/[^ \t]/.test(c=l.text.slice(0,a-l.from))){if("	"==c[c.length-1])return a-1;let e=(0,r.IS)(c,s.tabSize)%(0,o.y1)(s)||(0,o.y1)(s);for(let t=0;t<e&&" "==c[c.length-1-t];t++)a--;u=a}else(u=(0,r.cp)(l.text,a-l.from,t,t)+l.from)==a&&l.number!=(t?s.doc.lines:1)?u+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(l.text.slice(u-l.from,a-l.from))&&(u=(0,r.cp)(l.text,u-l.from,!1,!1)+l.from);return u}),em=e=>ep(e,!1,!0),eg=e=>ep(e,!0,!1),eO=(e,t)=>ef(e,n=>{let i=n.head,{state:o}=e,a=o.doc.lineAt(i),s=o.charCategorizer(i);for(let e=null;;
382){if(i==(t?a.to:a.from)){i==n.head&&a.number!=(t?o.doc.lines:1)&&(i+=t?1:-1);break}let l=(0,r.cp)(a.text,i-a.from,t)+a.from,c=a.text.slice(Math.min(i,l)-a.from,Math.max(i,l)-a.from),u=s(c);if(null!=e&&u!=e)break;(" "!=c||i!=n.head)&&(e=u),i=l}return i}),ev=e=>eO(e,!1);function eb(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),o=e.doc.lineAt(r.to);if(!r.empty&&r.to==o.from&&(o=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(r)}else t.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return t}function ey(e,t,n){if(e.readOnly)return!1;let i=[],o=[];for(let t of eb(e)){if(n?t.to==e.doc.length:0==t.from)continue;let a=e.doc.lineAt(n?t.to+1:t.from-1),s=a.length+1;if(n)for(let n of(i.push({from:t.to,to:a.to},{from:t.from,insert:a.text+e.lineBreak}),t.ranges))o.push(r.jT.range(Math.min(e.doc.length,n.anchor+s),Math.min(e.doc.length,n.head+s)));else for(let n of(i.push({from:a.from,to:t.from},{from:t.to,insert:e.lineBreak+a.text}),t.ranges))o.push(r.jT.range(n.anchor-s,n.head-s))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:r.jT.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}function ex(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of eb(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let ew=ek(!1),eS=ek(!0);function ek(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:s}=n,l=t.doc.lineAt(i),c=!e&&i==s&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,o.qz)(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),s;return r&&i&&r.to<=t&&i.from>=t&&(s=r.type.prop(a.md.closedBy))&&s.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}(t,i);e&&(i=s=(s<=l.to?l:t.doc.lineAt(s)).to);let u=new o.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!c}),d=(0,o.K0)(u,i);for(null==d&&(d=(0,r.IS)(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));s<l.to&&/\s/.test(l.text[s-l.from]);)s++;c?{from:i,to:s}=c:i>l.from&&i<l.from+100&&!/\S/.test(l.text.slice(0,i))&&(i=l.from);let f=["",(0,o.SS)(t,d)];return c&&f.push((0,o.SS)(t,u.lineIndent(l.from,-1))),{changes:{from:i,to:s,insert:r.xv.of(f)},range:r.jT.cursor(i+1+f[1].length)}});return n(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function eP(e,t){let n=-1;return e.changeByRange(i=>{let o=[];for(let r=i.from;r<=i.to;){let a=e.doc.lineAt(r);a.number>n&&(i.empty||i.to>a.from)&&(t(a,o,i),n=a.number),r=a.to+1}let a=e.changes(o);return{changes:o,range:r.jT.range(a.mapPos(i.anchor,1),a.mapPos(i.head,1))}})}let eM=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{n.push({from:t.from,insert:e.facet(o.c)})}),{userEvent:"input.indent"})),!0),ej=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let a=(0,r.IS)(i,e.tabSize),s=0,l=(0,o.SS)(e,Math.max(0,a-(0,o.y1)(e)));for(;s<i.length&&s<l.length&&i.charCodeAt(s)==l.charCodeAt(s);)s++;n.push({from:t.from+s,to:t.from+i.length,insert:l.slice(s)})}),{userEvent:"delete.dedent"})),!0),eC=[{key:"Ctrl-b",run:N,shift:K,preventDefault:!0},{key:"Ctrl-f",run:L,shift:ee},{key:"Ctrl-p",run:W,shift:er},{key:"Ctrl-n",run:Y,shift:ei},{key:"Ctrl-a",run:e=>R(e,t=>r.jT.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>G(e,t=>r.jT.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>R(e,t=>r.jT.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>G(e,t=>r.jT.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:eg},{key:"Ctrl-h",run:em},{key:"Ctrl-k",run:e=>ef(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:ev},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:r.xv.of(["",""])},range:r.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),o=n==i.from?n-1:(0,r.cp)(i.text,n-i.from,!1)+i.from,a=n==i.to?n+1:(0,r.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:o,to:a,insert:e.doc.slice(n,a).append(e.doc.slice(o,n))},range:r.jT.cursor(a)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:U}],e_=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>R(e,t=>F(e.state,t,!A(e))),shift:e=>G(e,t=>F(e.state,t,!A(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>R(e,t=>F(e.state,t,A(e))),shift:e=>G(e,t=>F(e.state,t,A(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>ey(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>ex(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>ey(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>ex(e,t,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=r.jT.create([n.main]):!n.main.empty&&(i=r.jT.create([r.jT.cursor(n.main.head)])),!!i&&(t($(e,i)),!0)}},{key:"Mod-Enter",run:eS},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=eb(e).map(({from:t,to:n})=>r.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:r.jT.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=Q(e.selection,t=>{let n=(0,o.qz)(e),i=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return r.jT.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t($(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:ej},{key:"Mod-]",run:eM},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new o.Gn(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=eP(e,(t,i,a)=>{let s=(0,o.K0)(r,t.from);if(null==s)return;!/\S/.test(t.text)&&(s=0);let l=/^\s*/.exec(t.text)[0],c=(0,o.SS)(e,s);(l!=c||a.from<t.from+l.length)&&(n[t.from]=s,i.push({from:t.from,to:t.from+l.length,insert:c}))});return!i.changes.empty&&t(e.update(i,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eb(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=Q(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>{var n,i,a;let s,l;return n=e,i=t,a=!1,s=!1,l=Q(n.selection,e=>{let t=(0,o.Um)(n,e.head,-1)||(0,o.Um)(n,e.head,1)||e.head>0&&(0,o.Um)(n,e.head-1,1)||e.head<n.doc.length&&(0,o.Um)(n,e.head+1,-1);if(!t||!t.end)return e;s=!0;let i=t.start.from==e.head?t.end.to:t.end.from;return a?r.jT.range(e.anchor,i):r.jT.cursor(i)}),!!s&&(i($(n,l)),!0)}},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=d(e.state,n.from);return r.line?l(e):!!r.block&&u(e)}},{key:"Alt-A",run:c},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:N,shift:K,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>z(e,!A(e)),shift:e=>et(e,!A(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>R(e,t=>H(e,t,!A(e))),shift:e=>G(e,t=>H(e,t,!A(e))),preventDefault:!0},{key:"ArrowRight",run:L,shift:ee,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>z(e,A(e)),shift:e=>et(e,A(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>R(e,t=>H(e,t,A(e))),shift:e=>G(e,t=>H(e,t,A(e))),preventDefault:!0},{key:"ArrowUp",run:W,shift:er,preventDefault:!0},{mac:"Cmd-ArrowUp",run:el,shift:eu},{mac:"Ctrl-ArrowUp",run:q,shift:ea},{key:"ArrowDown",run:Y,shift:ei,preventDefault:!0},{mac:"Cmd-ArrowDown",run:ec,shift:ed},{mac:"Ctrl-ArrowDown",run:U,shift:es},{key:"PageUp",run:q,shift:ea},{key:"PageDown",run:U,shift:es},{key:"Home",run:e=>R(e,t=>H(e,t,!1)),shift:e=>G(e,t=>H(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:el,shift:eu},{key:"End",run:e=>R(e,t=>H(e,t,!0)),shift:e=>G(e,t=>H(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:ec,shift:ed},{key:"Enter",run:ew,shift:ew},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:em,shift:em},{key:"Delete",run:eg},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ev},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>eO(e,!0)},{mac:"Mod-Backspace",run:e=>ef(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)})},{mac:"Mod-Delete",run:e=>ef(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})}].concat(eC.map(e=>({mac:e.key,run:e.run,shift:e.shift}))))},23278:function(e,t,n){"use strict";let r;n.d(t,{iv:function(){return b},t$:function(){return v}});var i=n("53374"),o=n("57943"),a=n("12265");let s=null;function l(){if(!s&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),!n.has(r)&&(t.push(r),n.add(r)));s=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return s||[]}let c=["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","invali
382d","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(e=>({type:"class",label:e})),u=["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
382-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(e=>({type:"keyword",label:e})).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(e=>({type:"constant",label:e}))),d=["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(e=>({type:"type",label:e})),f=["@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(e=>({type:"keyword",label:e})),h=/^(\w[\w-]*|-\w[\w-]*|)$/,p=/^-(-[\w-]*)?$/,m=new a.hr,g=["Declaration"];let O=(r=e=>"VariableName"==e.name,e=>{let{state:t,pos:n}=e,i=(0,o.qz)(t).resolveInner(n,-1),s=i.type.isError&&i.from==i.to-1&&"-"==t.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(s||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:l(),validFor:h};if("ValueName"==i.name)return{from:i.from,options:u,validFor:h};if("PseudoClassName"==i.name)return{from:i.from,options:c,validFor:h};if(r(i)||(e.explicit||s)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild;return(null==r?void 0:r.name)=="Callee"&&"var"==t.sliceString(r.from,r.to)}(i,t.doc))return{from:r(i)||s?i.from:n,options:function e(t,n,r){if(n.to-n.from>4096){let i=m.get(n);if(i)return i;let o=[],s=new Set,l=n.cursor(a.vj.IncludeAnonymous);if(l.firstChild())do for(let n of e(t,l.node,r))s.has(n.label)||(s.add(n.label),o.push(n));while(l.nextSibling());return m.set(n,o),o}{let e=[],i=new Set;
382return n.cursor().iterate(n=>{var o;if(r(n)&&n.matchContext(g)&&(null===(o=n.node.nextSibling)||void 0===o?void 0:o.name)==":"){let r=t.sliceString(n.from,n.to);i.has(r)||(i.add(r),e.push({label:r,type:"variable"}))}}),e}}(t.doc,function(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}(i),r),validFor:p};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:l(),validFor:h};return{from:i.from,options:d,validFor:h}}if("AtKeyword"==i.name)return{from:i.from,options:f,validFor:h};if(!e.explicit)return null;let O=i.resolve(n),v=O.childBefore(n);return v&&":"==v.name&&"PseudoClassSelector"==O.name?{from:n,options:c,validFor:h}:v&&":"==v.name&&"Declaration"==O.name||"ArgList"==O.name?{from:n,options:u,validFor:h}:"Block"==O.name||"Styles"==O.name?{from:n,options:l(),validFor:h}:null}),v=o.qp.define({name:"css",parser:i.E.configure({props:[o.uj.add({Declaration:(0,o.tC)()}),o.x0.add({"Block KeyframeList":o.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function b(){return new o.ri(v,v.data.of({autocomplete:O}))}},39601:function(e,t,n){"use strict";n.d(t,{dy:function(){return D}});var r=n("8467"),i=n("23278"),o=n("61253"),a=n("97313"),s=n("31465"),l=n("57943");let c=["_blank","_self","_top","_parent"],u=["ascii","utf-8","utf-16","latin1","latin1"],d=["get","post","put","delete"],f=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],h=["true","false"],p={},m={a:{attrs:{href:null,ping:null,type:null,media:null,target:c,hreflang:null}},abbr:p,address:p,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:p,aside:p,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:p,base:{attrs:{href:null,target:c}},bdi:p,bdo:p,blockquote:{attrs:{cite:null}},body:p,br:p,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:f,formmethod:d,formnovalidate:["novalidate"],formtarget:c,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:p,center:p,cite:p,code:p,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:p,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:p,div:p,dl:p,dt:p,em:p,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:p,figure:p,footer:p,form:{attrs:{action:null,name:null,"accept-charset":u,autocomplete:["on","off"],enctype:f,method:d,novalidate:["novalidate"],target:c}},h1:p,h2:p,h3:p,h4:p,h5:p,h6:p,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:p,hgroup:p,hr:p,html:{attrs:{manifest:null}},i:p,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,
vendor: 5,042 bytes, line 382
382step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:f,formmethod:d,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:p,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:p,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:p,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:p,noscript:p,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:p,param:{attrs:{name:null,value:null}},pre:p,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:p,rt:p,ruby:p,samp:p,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:u}},section:p,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:p,source:{attrs:{src:null,type:null,media:null}},span:p,strong:p,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:p,summary:p,sup:p,table:p,tbody:p,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:p,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:p,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:p,time:{attrs:{datetime:null}},title:p,tr:p,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:p,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:p},g={accesskey:null,class:null,contenteditable:h,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:h,autocorrect:h,autocapitalize:h,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":h,"aria-autocomplete":["inline","list","both","none"],"aria-busy":h,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":h,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":h,"aria-hidden":h,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":h,"aria-multiselectable":h,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":h,"aria-relevant":null,"aria-required":h,"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},O="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
382split(" ").map(e=>"on"+e);for(let e of O)g[e]=null;class v{constructor(e,t){this.tags=Object.assign(Object.assign({},m),e),this.globalAttrs=Object.assign(Object.assign({},g),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function b(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function y(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function x(e,t,n){let r=n.tags[b(e,y(t))];return(null==r?void 0:r.children)||n.allTags}function w(e,t){let n=[];for(let r=y(t);r&&!r.type.isTop;r=y(r.parent)){let i=b(e,r);if(i&&"CloseTag"==r.lastChild.name)break;i&&0>n.indexOf(i)&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(i)}return n}v.default=new v;let S=/^[:\-\.\w\u00b7-\uffff]*$/;function k(e,t,n,r,i){let o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=y(n,!0);return{from:r,to:i,options:x(e.doc,a,t).map(e=>({label:e,type:"type"})).concat(w(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function P(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:w(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:"type",boost:99-t})),validFor:S}}let M=o.Lz.parser.configure({top:"SingleExpression"}),j=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:o.ev.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:o.uh.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:o._v.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:M},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:o.Lz.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:i.t$.parser}],C=[{name:"style",parser:i.t$.parser.configure({top:"Styles"})}].concat(O.map(e=>({name:e,parser:o.Lz.parser}))),_=l.qp.define({name:"html",parser:r.E.configure({props:[l.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||"Element"!=e.name||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&("CloseTag"==n.name||"SelfClosingTag"==n.name))?e.lineIndent(t.from)+e.unit:null}}),l.x0.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),l.a0.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),T=_.configure({wrap:(0,r.X)(j,C)});function D(e={}){let t="",n;!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=(0,r.X)((e.nestedLanguages||[]).concat(j),(e.nestedAttributes||[]).concat(C)));let a=n?_.configure({wrap:n,dialect:t}):t?T.configure({dialect:t}):T;return new l.ri(a,[T.data.of({autocomplete:function(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new v(t,n):v.default;return e=>(function(e,t){let{state:n,pos:r}=t,i=(0,l.qz)(n).resolveInner(r,-1),o=i.resolve(r);for(let e=r,t;o==i&&(t=i.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;o=i=t,e=n.from}if("TagName"==i.name)return i.parent&&/CloseTag$/.test(i.parent.name)?P(n,i,i.from,r):k(n,e,i,i.from,r);if("StartTag"==i.name)return k(n,e,i,r,r);if("StartCloseTag"==i.name||"IncompleteCloseTag"==i.name)return P(n,i,r,r);else if("OpenTag"==i.name||"SelfClosingTag"==i.name||"AttributeName"==i.name){var a,s,c,u,d;let t,o,l;return a=n,s=e,c=i,u="AttributeName"==i.name?i.from:r,d=r,l=(o=(t=y(c))?s.tags[b(a.doc,t)]:null)&&o.attrs?Object.keys(o.attrs):[],{from:u,to:d,options:(o&&!1===o.globalAttrs?l:l.length?l.concat(s.globalAttrNames):s.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:S}}else if("Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name)return function(e,t,n,r,i){var o;let a=null===(o=n.parent)||void 0===o?void 0:o.getChild("AttributeName"),s=[],l;if(a){let o=e.sliceDoc(a.from,a.to),c=t.globalAttrs[o];if(!c){let r=y(n),i=r?t.tags[b(e.doc,r)]:null;c=(null==i?void 0:i.attrs)&&i.attrs[o]}if(c){let t=e.sliceDoc(r,i).toLowerCase(),n='"',o='"';for(let a of(/^['"]/.test(t)?(l='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",o=e.sliceDoc(i,i+1)==t[0]?"":t[0],t=t.slice(1),r++):l=/^[^\s<>='"]*$/,c))s.push({label:a,apply:n+a+o,type:"constant"})}}return{from:r,to:i,options:s,validFor:l}}(n,e,i,"Is"==i.name?r:i.from,r);else if(t.explicit&&("Element"==o.name||"Text"==o.name||"Document"==o.name))return function(e,t,n,r){let i=[],o=0;for(let r of x(e.doc,n,t))i.push({label:"<"+r,type:"type"});for(let t of w(e.doc,n))i.push({label:"</"+t+">",type:"type",boost:99-o++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,i,r);else return null})(r,e)}(e)}),!1!==e.autoCloseTags?Q:[],(0,o.eJ)().support,(0,i.iv)().support])}let E=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Q=a.tk.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!T.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,c=a.changeByRange(e=>{var t,n,i;let o=a.doc.sliceString(e.from-1,e.to)==r,{head:c}
382=e,u=(0,l.qz)(a).resolveInner(c,-1),d;if(o&&">"==r&&"EndTag"==u.name){let r=u.parent;if((null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="CloseTag"&&(d=b(a.doc,r.parent,c))&&!E.has(d)){let t=c+(">"===a.doc.sliceString(c,c+1)?1:0);return{range:e,changes:{from:c,to:t,insert:`</${d}>`}}}}else if(o&&"/"==r&&"IncompleteCloseTag"==u.name){let e=u.parent;if(u.from==c-2&&(null===(i=e.lastChild)||void 0===i?void 0:i.name)!="CloseTag"&&(d=b(a.doc,e,c))&&!E.has(d)){let e=c+(">"===a.doc.sliceString(c,c+1)?1:0),t=`${d}>`;return{range:s.jT.cursor(c+t.length,-1),changes:{from:c,to:e,insert:t}}}}return{range:e}});return!c.changes.empty&&(e.dispatch([o,a.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})},61253:function(e,t,n){"use strict";n.d(t,{Lz:function(){return b},_v:function(){return S},eJ:function(){return j},ev:function(){return x},uh:function(){return w}});var r=n("80085"),i=n("57943"),o=n("31465"),a=n("97313"),s=n("40203"),l=n("12265");let c=[(0,s.Gn)("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,s.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,s.Gn)("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,s.Gn)("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,s.Gn)("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,s.Gn)("try {\n	${}\n} catch (${error}) {\n	${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,s.Gn)("if (${}) {\n	${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,s.Gn)("if (${}) {\n	${}\n} else {\n	${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,s.Gn)("class ${name} {\n	constructor(${params}) {\n		${}\n	}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,s.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,s.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],u=c.concat([(0,s.Gn)("interface ${name} {\n	${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,s.Gn)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,s.Gn)("enum ${name} {\n	${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),d=new l.hr,f=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function h(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}let p=["FunctionDeclaration"],m={FunctionDeclaration:h("function"),ClassDeclaration:h("class"),ClassExpression:()=>!0,EnumDeclaration:h("constant"),TypeAliasDeclaration:h("type"),NamespaceDeclaration:h("namespace"),VariableDefinition(e,t){!e.matchContext(p)&&t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},g=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,O=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function v(e){let t=(0,i.qz)(e.state).resolveInner(e.pos,-1);if(O.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&g.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)f.has(n.name)&&(r=r.concat(function e(t,n){let r=d.get(n);if(r)return r;let i=[],o=!0;function a(e,n){let r=t.sliceString(e.from,e.to);i.push({label:r,type:n})}return n.cursor(l.vj.IncludeAnonymous).iterate(n=>{if(o)o=!1;else if(n.name){let e=m[n.name];if(e&&e(n,a)||f.has(n.name))return!1}else if(n.to-n.from>8192){for(let r of e(t,n.node))i.push(r);return!1}}),d.set(n,i),i}(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:g}}let b=i.qp.define({name:"javascript",parser:r.E.configure({props:[i.uj.add({IfStatement:(0,i.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,i.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:i.ze,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,i.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,i.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>
382e.column(e.node.from)+e.unit}),i.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":i.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),y={test:e=>/^JSX/.test(e.name),facet:(0,i.kU)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},x=b.configure({dialect:"ts"},"typescript"),w=b.configure({dialect:"jsx",props:[i.KC.add(e=>e.isTop?[y]:void 0)]}),S=b.configure({dialect:"jsx ts",props:[i.KC.add(e=>e.isTop?[y]:void 0)]},"typescript"),k=e=>({label:e,type:"keyword"}),P="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(k),M=P.concat(["declare","implements","private","protected","public"].map(k));function j(e={}){let t=e.jsx?e.typescript?S:w:e.typescript?x:b,n=e.typescript?u.concat(M):c.concat(P);return new i.ri(t,[b.data.of({autocomplete:(0,s.eC)(O,(0,s.Mb)(n))}),b.data.of({autocomplete:v}),e.jsx?T:[]])}function C(e,t,n=e.length){for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n));return""}let _="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),T=a.tk.inputHandler.of((e,t,n,r,a)=>{if((_?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!b.isActiveAt(e.state,t,-1))return!1;let s=a(),{state:l}=s,c=l.changeByRange(e=>{var t;let{head:n}=e,a=(0,i.qz)(l).resolveInner(n-1,-1),s;if("JSXStartTag"==a.name&&(a=a.parent),l.doc.sliceString(n-1,n)!=r||"JSXAttributeValue"==a.name&&a.to>n);else if(">"==r&&"JSXFragmentTag"==a.name)return{range:e,changes:{from:n,insert:"</>"}};else if("/"==r&&"JSXStartCloseTag"==a.name){let e=a.parent,r=e.parent;if(r&&e.from==n-2&&((s=C(l.doc,r.firstChild,n))||(null===(t=r.firstChild)||void 0===t?void 0:t.name)=="JSXFragmentTag")){let e=`${s}>`;return{range:o.jT.cursor(n+e.length,-1),changes:{from:n,insert:e}}}}else if(">"==r){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(a);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(l.doc.sliceString(n,n+2))&&(s=C(l.doc,t,n)))return{range:e,changes:{from:n,insert:`</${s}>`}}}return{range:e}});return!c.changes.empty&&(e.dispatch([s,l.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})},57943:function(e,t,n){"use strict";n.d(t,{Dv:function(){return z},Gn:function(){return D},K0:function(){return T},KC:function(){return d},Qf:function(){return G},SS:function(){return _},Um:function(){return ep},a0:function(){return ed},c:function(){return j},kU:function(){return u},n$:function(){return eu},nF:function(){return et},qp:function(){return p},qz:function(){return m},ri:function(){return P},tC:function(){return N},uj:function(){return E},vw:function(){return Z},x0:function(){return L},y1:function(){return C},ze:function(){return A}});var r,i=n("12265"),o=n("31465"),a=n("97313"),s=n("65309"),l=n("42137");let c=new i.md;function u(e){return o.r$.define({combine:e?t=>t.concat(e):void 0})}let d=new i.md;class f{constructor(e,t,n=[],r=""){this.data=e,this.name=r,!o.yy.prototype.hasOwnProperty("tree")&&Object.defineProperty(o.yy.prototype,"tree",{get(){return m(this)}}),this.parser=t,this.extension=[k.of(this),o.yy.languageData.of((e,t,n)=>{let r=h(e,t,n),i=r.type.prop(c);if(!i)return[];let o=e.facet(i),a=r.type.prop(d);if(a){let i=r.resolve(t-r.from,n);for(let t of a)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(o)}}return o})].concat(n)}isActiveAt(e,t,n=-1){return h(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(k);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data){n.push({from:t,to:t+e.length});return}let o=e.prop(i.md.mounted);if(o){if(o.tree.prop(c)==this.data){if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(o.overlay){let e=n.length;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let o=e.children[n];o instanceof i.mp&&r(o,e.positions[n]+t)}};return r(m(e),0),n}get allowsNesting(){return!0}}function h(e,t,n){let r=e.facet(k),o=m(e).topNode;if(!r||r.allowsNesting)for(let e=o;e;e=e.enter(t,n,i.vj.ExcludeBuffers))e.type.isTop&&(o=e);return o}
vendor: 5,487 bytes, line 382
382f.setState=o.Py.define();class p extends f{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=u(e.languageData);return new p(t,e.parser.configure({props:[c.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new p(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function m(e){let t=e.field(f.state,!1);return t?t.tree:i.mp.empty}class g{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let O=null;class v{constructor(e,t,n=[],r,i,o,a,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=o,this.skipped=a,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new v(e,t,[],i.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new g(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=i.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(!this.parse&&(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let r=this.parse.advance();if(r){if(this.fragments=this.withoutTempSkipped(i.i9.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,this.tree=r,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=O;O=this;try{return e()}finally{O=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=b(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:o,viewport:a,skipped:s}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i})),n=i.i9.applyChanges(n,t),r=i.mp.empty,o=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length)for(let t of(s=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&s.push({from:n,to:r})}}return new v(this.parser,t,n,r,o,a,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=b(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends i._b{createParse(t,n,r){let o=r[0].from,a=r[r.length-1].to;return{parsedPos:o,advance(){let t=O;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=a,new i.mp(i.Jq.none,[],[],a-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return O}}function b(e,t,n){return i.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class y{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return!t.work(20,n)&&t.takeTree(),new y(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=v.create(e.facet(k).parser,e,{from:0,to:t});return!n.work(20,t)&&n.takeTree(),new y(n)}}f.state=o.QQ.define({create:y.init,update(e,t){for(let e of t.effects)if(e.is(f.setState))return e.value;return t.startState.facet(k)!=t.state.facet(k)?y.init(t.state):e.apply(t)}});let x=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(x=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let w="undefined"!=typeof navigator&&(null===(r=navigator.scheduling)||void 0===r?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,S=a.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(f.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(f.state);
382(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=x(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(f.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!w?Math.max(25,e.timeRemaining()-5):1e9),a=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>w&&w()||Date.now()>o,r+(a?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:f.setState.of(new y(i.context))})),this.chunkBudget>0&&!(s&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,a.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),k=o.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[f.state,S,a.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class P{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}let M=o.r$.define(),j=o.r$.define({combine:e=>{if(!e.length)return"  ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function C(e){let t=e.facet(j);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function _(e,t){let n="",r=e.tabSize,i=e.facet(j)[0];if("	"==i){for(;t>=r;)n+="	",t-=r;i=" "}for(let e=0;e<t;e++)n+=i;return n}function T(e,t){for(let n of(e instanceof o.yy&&(e=new D(e)),e.state.facet(M))){let r=n(e,t);if(void 0!==r)return r}let n=m(e.state);return n.length>=t?function(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t!=r.node;t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return Q(r,e,n)}(e,n,t):null}class D{constructor(e,t={}){this.state=e,this.options=t,this.unit=C(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(null!=r&&r>=n.from&&r<=n.to)return i&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from};return n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return o>-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,o.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let E=new i.md;function Q(e,t,n){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(E);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(i.md.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>{var r;return I(e,!0,1,void 0,n&&!((r=e).pos==r.options.simulateBreak&&r.options.simulateDoubleBreak)?t.from:void 0)}}return null==e.parent?$:null}(r.node);if(e)return e(R.create(t,n,r))}return 0}function $(){return 0}class R extends D{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new R(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return Q(this.context.next,this.base,this.pos)}}function Z({closing:e,align:t=!0,units:n=1}){return r=>I(r,t,n,e)}function I(e,t,n,r,i){let o=e.textAfter,a=o.match(/^\s*/)[0].length,s=r&&o.slice(a,a+r.length)==r||i==e.pos+a,l=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),a=null==i||i<=o.from?o.to:Math.min(o.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=a)return null;let e=/^ */.exec(o.text.slice(n.to-o.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}let A=e=>e.baseIndent;function N({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}let L=new i.md;function z(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function F(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let V=o.Py.define({map:F}),W=o.Py.define({map:F}),Y=o.QQ.define({create:()=>a.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))if(n.is(V)&&
382!function(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(B),i=r?a.p.replace({widget:new H(r(t.state,n.value))}):U;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(W)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{e<r&&t>r&&(n=!0)}),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>a.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if("number"!=typeof r||"number"!=typeof i)throw RangeError("Invalid JSON for fold state");t.push(U.range(r,i))}return a.p.set(t,!0)}}),X={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},B=o.r$.define({combine:e=>(0,o.BO)(e,X)});function q(e,t){let{state:n}=e,r=n.facet(B),i=t=>{var n,r,i,o;let a,s=e.lineBlockAt(e.posAtDOM(t.target));let l=(n=e.state,r=s.from,i=s.to,a=null,null===(o=n.field(Y,!1))||void 0===o||o.between(r,i,(e,t)=>{(!a||a.from>e)&&(a={from:e,to:t})}),a);l&&e.dispatch({effects:W.of(l)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}let U=a.p.replace({widget:new class extends a.l9{toDOM(e){return q(e,null)}}});class H extends a.l9{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return q(e,this.value)}}class G{constructor(e,t){let n;function r(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof f?e=>e.prop(c)==o.data:o?e=>e==o:void 0,this.style=(0,s.QR)(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new G(e,t||{})}}let J=o.r$.define(),K=o.r$.define({combine:e=>e.length?[e[0]]:null});function ee(e){let t=e.facet(J);return t.length?t:e.facet(K)}function et(e,t){let n=[en],r;return e instanceof G&&(e.module&&n.push(a.tk.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(K.of(e)):r?n.push(J.computeN([a.tk.darkTheme],t=>t.facet(a.tk.darkTheme)==("dark"==r)?[e]:[])):n.push(J.of(e)),n}let en=o.Wl.high(a.lg.fromClass(class e{constructor(e){this.markCache=Object.create(null),this.tree=m(e.state),this.decorations=this.buildDeco(e,ee(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=m(e.state),n=ee(e.state),r=n!=ee(e.startState),{viewport:i}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&o>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return a.p.none;let n=new o.f_;for(let{from:r,to:i}of e.visibleRanges)(0,s.bW)(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=a.p.mark({class:r})))},r,i);return n.finish()}},{decorations:e=>e.decorations}));s.pJ.meta,s.pJ.link,s.pJ.heading,s.pJ.emphasis,s.pJ.strong,s.pJ.strikethrough,s.pJ.keyword,s.pJ.atom,s.pJ.bool,s.pJ.url,s.pJ.contentSeparator,s.pJ.labelName,s.pJ.literal,s.pJ.inserted,s.pJ.string,s.pJ.deleted,s.pJ.regexp,s.pJ.escape,s.pJ.string,s.pJ.variableName,s.pJ.variableName,s.pJ.typeName,s.pJ.namespace,s.pJ.className,s.pJ.variableName,s.pJ.macroName,s.pJ.propertyName,s.pJ.comment,s.pJ.invalid;let er=a.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ei="()[]{}",eo=o.r$.define({combine:e=>
382(0,o.BO)(e,{afterCursor:!0,brackets:ei,maxScanDistance:1e4,renderMatch:el})}),ea=a.p.mark({class:"cm-matchingBracket"}),es=a.p.mark({class:"cm-nonmatchingBracket"});function el(e){let t=[],n=e.matched?ea:es;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let ec=[o.QQ.define({create:()=>a.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(eo);for(let e of t.state.selection.ranges){if(!e.empty)continue;let i=ep(t.state,e.head,-1,r)||e.head>0&&ep(t.state,e.head-1,1,r)||r.afterCursor&&(ep(t.state,e.head,1,r)||e.head<t.state.doc.length&&ep(t.state,e.head+1,-1,r));i&&(n=n.concat(r.renderMatch(i,t.state)))}return a.p.set(n,!0)},provide:e=>a.tk.decorations.from(e)}),er];function eu(e={}){return[eo.of(e),ec]}let ed=new i.md;function ef(e,t,n){let r=e.prop(t<0?i.md.openedBy:i.md.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}function eh(e){let t=e.type.prop(ed);return t?t(e.node):e}function ep(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||ei,a=m(e),s=a.resolveInner(t,n);for(let r=s;r;r=r.parent){let i=ef(r.type,n,o);if(i&&r.from<r.to){let a=eh(r);if(a&&(n>0?t>=a.from&&t<a.to:t>a.from&&t<=a.to))return function(e,t,n,r,i,o,a){let s=r.parent,l={from:i.from,to:i.to},c=0,u=null==s?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(0==c&&o.indexOf(u.type.name)>-1&&u.from<u.to){let e=eh(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(ef(u.type,n,a))c++;else if(ef(u.type,-n,a)){if(0==c){let e=eh(u);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}(e,t,n,r,a,i,o)}}return function(e,t,n,r,i,o,a){let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=a.indexOf(s);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=o;){let o=u.value;n<0&&(e+=o.length);let s=t+e*n;for(let e=n>0?0:o.length-1,t=n>0?o.length:-1;e!=t;e+=n){let t=a.indexOf(o[e]);if(!(t<0)&&r.resolveInner(s+e,1).type==i){if(t%2==0==n>0)d++;else{if(1==d)return{start:c,end:{from:s+e,to:s+e+1},matched:t>>1==l>>1};d--}}}n>0&&(e+=o.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,a,s.type,i,o)}let em=Object.create(null),eg=[i.Jq.none],eO=[],ev=Object.create(null),eb=Object.create(null);for(let[e,t]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"]])eb[e]=ex(em,t);function ey(e,t){!(eO.indexOf(e)>-1)&&(eO.push(e),console.warn(t))}function ex(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||s.pJ[n];r?"function"==typeof r?t.length?t=t.map(r):ey(n,`Modifier ${n} used at start of tag`):t.length?ey(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:ey(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(e=>e.id),a=ev[o];if(a)return a.id;let l=ev[o]=i.Jq.define({id:eg.length,name:r,props:[(0,s.Gv)({[r]:n})]});return eg.push(l),l.id}function ew(e){return e.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(e)}let eS={rtl:a.p.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:a.Nm.RTL}),ltr:a.p.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:a.Nm.LTR}),auto:a.p.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})}},31465:function(e,t,n){"use strict";let r;n.d(t,{BO:function(){return eO},D0:function(){return ep},Gz:function(){return eR},IS:function(){return e$},Py:function(){return es},QQ:function(){return z},Wl:function(){return W},Xs:function(){return ew},YW:function(){return el},as:function(){return k},bg:function(){return b},cp:function(){return O},f_:function(){return eS},gc:function(){return w},gm:function(){return v},jT:function(){return E},n0:function(){return S},nZ:function(){return y},q6:function(){return ei},r$:function(){return R},uU:function(){return ev},xv:function(){return s},yy:function(){return eg}});var i,o,a=n("19748");class s{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=g(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),c.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=g(this,e,t);let n=[];return this.decompose(e,t,n,0),c.from(n,t-e)}eq(e){if(e==this)return!0;
vendor: 5,025 bytes, line 382
382if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new f(this),i=new f(e);for(let e=t,o=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(o+=r.value.length,r.done||o>=n)return!0}}iter(e=1){return new f(this,e)}iterRange(e,t=this.length){return new h(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new p(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new l(e):c.from(l.split(e,[])):s.empty}}class l extends s{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.text[i],a=r+o.length;if((t?n:a)>=e)return new m(r,a,n,o);r=a+1,n++}}decompose(e,t,n,r){let i=e<=0&&t>=this.length?this:new l(function(e,t,n){return u(e,[""],t,n)}(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=u(i.text,e.text.slice(),0,i.length);if(t.length<=32)n.push(new l(t,e.length+i.length));else{let e=t.length>>1;n.push(new l(t.slice(0,e)),new l(t.slice(e)))}}else n.push(i)}replace(e,t,n){if(!(n instanceof l))return super.replace(e,t,n);[e,t]=g(this,e,t);let r=u(this.text,u(n.text,function(e,t,n){return u(e,[""],t,n)}(this.text,0,e)),t),i=this.length+n.length-(t-e);return r.length<=32?new l(r,i):c.from(l.split(r,[]),i)}sliceString(e,t=this.length,n="\n"){[e,t]=g(this,e,t);let r="";for(let i=0,o=0;i<=t&&o<this.text.length;o++){let a=this.text[o],s=i+a.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=a.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let i of e)n.push(i),r+=i.length+1,32==n.length&&(t.push(new l(n,r)),n=[],r=-1);return r>-1&&t.push(new l(n,r)),t}}class c extends s{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.children[i],a=r+o.length,s=n+o.lines-1;if((t?s:a)>=e)return o.lineInner(e,t,n,r);r=a+1,n=s+1}}decompose(e,t,n,r){for(let i=0,o=0;o<=t&&i<this.children.length;i++){let a=this.children[i],s=o+a.length;if(e<=s&&t>=o){let i=r&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!i?n.push(a):a.decompose(e-o,t-o,n,i)}o=s+1}}replace(e,t,n){if([e,t]=g(this,e,t),n.lines<this.lines)for(let r=0,i=0;r<this.children.length;r++){let o=this.children[r],a=i+o.length;if(e>=i&&t<=a){let s=o.replace(e-i,t-i,n),l=this.lines-o.lines+s.lines;if(s.lines<l>>4&&s.lines>l>>6){let i=this.children.slice();return i[r]=s,new c(i,this.length-(t-e)+n.length)}return super.replace(i,a,s)}i=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=g(this,e,t);let r="";for(let i=0,o=0;i<this.children.length&&o<=t;i++){let a=this.children[i],s=o+a.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=a.sliceString(e-o,t-o,n)),o=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof c))return 0;let n=0,[r,i,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==o||i==a)return n;let s=this.children[r],l=e.children[i];if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new l(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,a=[],s=0,u=-1,d=[];function f(){0!=s&&(a.push(1==d.length?d[0]:c.from(d,u)),u=-1,s=d.length=0)}for(let t of e)!function e(t){let n;if(t.lines>i&&t instanceof c)for(let n of t.children)e(n);else t.lines>o&&(s>o||!s)?(f(),a.push(t)):t instanceof l&&s&&(n=d[d.length-1])instanceof l&&t.lines+n.lines<=32?(s+=t.lines,u+=t.length+1,d[d.length-1]=new l(n.text.concat(t.text),n.length+1+t.length)):(s+t.lines>r&&f(),s+=t.lines,u+=t.length+1,d.push(t))}(t);return f(),1==a.length?a[0]:new c(a,t)}}s.empty=new l([""],0);function u(e,t,n=0,r=1e9){for(let i=0,o=0,a=!0;o<e.length&&i<=r;o++){let s=e[o],l=i+s.length;l>=n&&(l>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),a?(t[t.length-1]+=s,a=!1):t.push(s)),i=l+1}return t}function d(e,t,n){return u(e,[""],t,n)}class f{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof l?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,a=r instanceof l?r.text.length:r.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>
3820?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof l){let i=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[o+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof l?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class h{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new f(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class p{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(s.prototype[Symbol.iterator]=function(){return this.iter()},f.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=p.prototype[Symbol.iterator]=function(){return this});class m{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function g(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function O(e,t,n=!0,r=!0){return(0,a.c)(e,t,n,r)}function v(e,t){var n,r;let i=e.charCodeAt(t);if(!((n=i)>=55296&&n<56320)||t+1==e.length)return i;let o=e.charCodeAt(t+1);return(r=o)>=56320&&r<57344?(i-55296<<10)+(o-56320)+65536:i}function b(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function y(e){return e<65536?1:2}let x=/\r\n?|\n/;var w=((i=w||(w={}))[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i);class S{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],o=this.sections[t++];o<0?(e(n,r,i),r+=i):r+=o,n+=i}}iterChangedRanges(e,t=!1){j(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}return new S(e)}composeDesc(e){return this.empty?e:e.empty?this:_(this,e)}mapDesc(e,t=!1){return e.empty?this:C(this,e,t)}mapPos(e,t=-1,n=w.Simple){let r=0,i=0;for(let o=0;o<this.sections.length;){let a=this.sections[o++],s=this.sections[o++],l=r+a;if(s<0){if(l>e)return i+(e-r);i+=a}else{if(n!=w.Simple&&l>=e&&(n==w.TrackDel&&r<e&&l>e||n==w.TrackBefore&&r<e||n==w.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!a)return e==r||t<0?i:i+s;i+=s}r=l}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=this.sections[n++],o=this.sections[n++],a=r+i;if(o>=0&&r<=t&&a>=e)return!(r<e)||!(a>t)||"cover";r=a}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new S(e)}static create(e){return new S(e)}}class k extends S{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return j(this,(t,n,r,i,o)=>e=e.replace(r,r+(n-t),o),!1),e}
382mapDesc(e,t=!1){return C(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,i=0;r<t.length;r+=2){let o=t[r],a=t[r+1];if(a>=0){t[r]=a,t[r+1]=o;let l=r>>1;for(;n.length<l;)n.push(s.empty);n.push(o?e.slice(i,i+o):s.empty)}i+=o}return new k(t,n)}compose(e){return this.empty?e:e.empty?this:_(this,e,!0)}map(e,t=!1){return e.empty?this:C(this,e,t,!0)}iterChanges(e,t=!1){j(this,e,t)}get desc(){return S.create(this.sections)}filter(e){let t=[],n=[],r=[],i=new T(this);r:for(let o=0,a=0;;){let s=o==e.length?1e9:e[o++];for(;a<s||a==s&&0==i.len;){if(i.done)break r;let e=Math.min(i.len,s-a);P(r,e,-1);let o=-1==i.ins?-1:0==i.off?i.ins:0;P(t,e,o),o>0&&M(n,t,i.text),i.forward(e),a+=e}let l=e[o++];for(;a<l;){if(i.done)break r;let e=Math.min(i.len,l-a);P(t,e,-1),P(r,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),a+=e}}return{changes:new k(t,n),filtered:S.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let r=[],i=[],o=0,a=null;function l(e=!1){if(!e&&!r.length)return;o<t&&P(r,t-o,-1);let n=new k(r,i);a=a?a.compose(n.map(a)):n,r=[],i=[],o=0}return!function e(c){if(Array.isArray(c))for(let t of c)e(t);else if(c instanceof k){if(c.length!=t)throw RangeError(`Mismatched change set length (got ${c.length}, expected ${t})`);l(),a=a?a.compose(c.map(a)):c}else{let{from:e,to:a=e,insert:u}=c;if(e>a||e<0||a>t)throw RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let d=u?"string"==typeof u?s.of(u.split(n||x)):u:s.empty,f=d.length;if(e==a&&0==f)return;e<o&&l(),e>o&&P(r,e-o,-1),P(r,a-e,f),M(i,r,d),o=a}}(e),l(!a),a}static empty(e){return new k(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if("number"==typeof i)t.push(i,-1);else if(!Array.isArray(i)||"number"!=typeof i[0]||i.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==i.length)t.push(i[0],0);else{for(;n.length<r;)n.push(s.empty);n[r]=s.of(i.slice(1)),t.push(i[0],n[r].length)}}return new k(t,n)}static createSet(e,t){return new k(e,t)}}function P(e,t,n,r=!1){if(0==t&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function M(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(s.empty);e.push(n)}}function j(e,t,n){let r=e.inserted;for(let i=0,o=0,a=0;a<e.sections.length;){let l=e.sections[a++],c=e.sections[a++];if(c<0)i+=l,o+=l;else{let u=i,d=o,f=s.empty;for(;u+=l,d+=c,c&&r&&(f=f.append(r[a-2>>1])),!n&&a!=e.sections.length&&!(e.sections[a+1]<0);){;l=e.sections[a++],c=e.sections[a++]}t(i,u,o,d,f),i=u,o=d}}}function C(e,t,n,r=!1){let i=[],o=r?[]:null,a=new T(e),s=new T(t);for(let e=-1;;){if(a.done&&s.len||s.done&&a.len)throw Error("Mismatched change set lengths");if(-1==a.ins&&-1==s.ins){let e=Math.min(a.len,s.len);P(i,e,-1),a.forward(e),s.forward(e)}else if(s.ins>=0&&(a.ins<0||e==a.i||0==a.off&&(s.len<a.len||s.len==a.len&&!n))){let t=s.len;for(P(i,s.ins,-1);t;){let n=Math.min(a.len,t);a.ins>=0&&e<a.i&&a.len<=n&&(P(i,0,a.ins),o&&M(o,i,a.text),e=a.i),a.forward(n),t-=n}s.next()}else if(a.ins>=0){let t=0,n=a.len;for(;n;)if(-1==s.ins){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else if(0==s.ins&&s.len<n)n-=s.len,s.next();else break;P(i,t,e<a.i?a.ins:0),o&&e<a.i&&M(o,i,a.text),e=a.i,a.forward(a.len-n)}else if(a.done&&s.done)return o?k.createSet(i,o):S.create(i);else throw Error("Mismatched change set lengths")}}function _(e,t,n=!1){let r=[],i=n?[]:null,o=new T(e),a=new T(t);for(let e=!1;;){if(o.done&&a.done)return i?k.createSet(r,i):S.create(r);if(0==o.ins)P(r,o.len,0,e),o.next();else if(0!=a.len||a.done){if(o.done||a.done)throw Error("Mismatched change set lengths");else{let t=Math.min(o.len2,a.len),n=r.length;if(-1==o.ins){let n=-1==a.ins?-1:a.off?0:a.ins;P(r,t,n,e),i&&n&&M(i,r,a.text)}else -1==a.ins?(P(r,o.off?0:o.len,t,e),i&&M(i,r,o.textBit(t))):(P(r,o.off?0:o.len,a.off?0:a.ins,e),i&&!a.off&&M(i,r,a.text));e=(o.ins>t||a.ins>=0&&a.len>t)&&(e||r.length>n),o.forward2(t),a.forward(t)}}else P(r,0,a.ins,e),i&&M(i,r,a.text),a.next()}}class T{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[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:e}=this.set,t=this.i-2>>1;return t>=e.length?s.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?s.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}
vendor: 4,258 bytes, line 382
382forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class D{constructor(e,t,n){this.from=e,this.to=t,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 e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new D(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return E.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return E.range(this.anchor,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return E.range(e.anchor,e.head)}static create(e,t,n){return new D(e,t,n)}}class E{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:E.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new E([this.main],0)}addRange(e,t=!0){return E.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,E.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new E(e.ranges.map(e=>D.fromJSON(e)),e.main)}static single(e,t=e){return new E([E.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let i=e[r];if(i.empty?i.from<=n:i.from<n)return E.normalized(e.slice(),t);n=i.to}return new E(e,t)}static cursor(e,t=0,n,r){return D.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)}static range(e,t,n,r){let i=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r));return t<e?D.create(t,e,48|i):D.create(e,t,(t>e?8:0)|i)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;n<e.length;n++){let r=e[n],i=e[n-1];if(r.empty?r.from<=i.to:r.from<i.to){let o=i.from,a=Math.max(r.to,i.to);n<=t&&t--,e.splice(--n,2,r.anchor>r.head?E.range(a,o):E.range(o,a))}}return new E(e,t)}}function Q(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let $=0;class R{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=$++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new R(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:Z),!!e.static,e.enables)}of(e){return new I([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new I(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new I(e,this,2,t)}from(e,t){return!t&&(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function Z(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class I{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=$++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,o=e[i]>>1,a=2==this.type,s=!1,l=!1,c=[];for(let n of this.dependencies)"doc"==n?s=!0:"selection"==n?l=!0:((null!==(t=e[n.id])&&void 0!==t?t:1)&1)==0&&c.push(e[n.id]);return{create:e=>(e.values[o]=n(e),1),update(e,t){if(s&&t.docChanged||l&&(t.docChanged||t.selection)||N(e,c)){let t=n(e);if(a?!A(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>
382{let s,l=t.config.address[i];if(null!=l){let i=H(t,l);if(this.dependencies.every(n=>n instanceof R?t.facet(n)===e.facet(n):!(n instanceof z)||t.field(n,!1)==e.field(n,!1))||(a?A(s=n(e),i,r):r(s=n(e),i)))return e.values[o]=i,0}else s=n(e);return e.values[o]=s,1}}}}function A(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function N(e,t){let n=!1;for(let r of t)1&U(e,r)&&(n=!0);return n}let L=R.define({static:!0});class z{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(e){let t=new z($++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(L).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,L.of({field:this,create:e})]}get extension(){return this}}let F={lowest:4,low:3,default:2,high:1,highest:0};function V(e){return t=>new Y(t,e)}let W={highest:V(F.highest),high:V(F.high),default:V(F.default),low:V(F.low),lowest:V(F.lowest)};class Y{constructor(e,t){this.inner=e,this.prec=t}}class X{of(e){return new B(this,e)}reconfigure(e){return X.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class B{constructor(e,t){this.compartment=e,this.inner=t}}class q{constructor(e,t,n,r,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let r=[],i=Object.create(null),o=new Map;for(let n of function(e,t,n){let r=[[],[],[],[],[]],i=new Map;return!function e(o,a){let s=i.get(o);if(null!=s){if(s<=a)return;let e=r[s].indexOf(o);e>-1&&r[s].splice(e,1),o instanceof B&&n.delete(o.compartment)}if(i.set(o,a),Array.isArray(o))for(let t of o)e(t,a);else if(o instanceof B){if(n.has(o.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=t.get(o.compartment)||o.inner;n.set(o.compartment,r),e(r,a)}else if(o instanceof Y)e(o.inner,o.prec);else if(o instanceof z)r[a].push(o),o.provides&&e(o.provides,a);else if(o instanceof I)r[a].push(o),o.facet.extensions&&e(o.facet.extensions,F.default);else{let t=o.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,a)}}(e,F.default),r.reduce((e,t)=>e.concat(t))}(e,t,o))n instanceof z?r.push(n):(i[n.facet.id]||(i[n.facet.id]=[])).push(n);let a=Object.create(null),s=[],l=[];for(let e of r)a[e.id]=l.length<<1,l.push(t=>e.slot(t));let c=null==n?void 0:n.config.facets;for(let e in i){let t=i[e],r=t[0].facet,o=c&&c[e]||[];if(t.every(e=>0==e.type)){if(a[r.id]=s.length<<1|1,Z(o,t))s.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));s.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}}else{for(let e of t)0==e.type?(a[e.id]=s.length<<1|1,s.push(e.value)):(a[e.id]=l.length<<1,l.push(t=>e.dynamicSlot(t)));a[r.id]=l.length<<1,l.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),o=r.filter(e=>!(1&e)),a=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let o=H(e,r[t]);if(2==i[t])for(let e of o)n.push(e);else n.push(o)}return t.combine(n)}return{create(e){for(let t of r)U(e,t);return e.values[a]=s(e),1},update(e,n){if(!N(e,o))return 0;let r=s(e);return t.compare(r,e.values[a])?0:(e.values[a]=r,1)},reconfigure(e,i){let o=N(e,r),l=i.config.facets[t.id],c=i.facet(t);if(l&&!o&&Z(n,l))return e.values[a]=c,0;let u=s(e);return t.compare(u,c)?(e.values[a]=c,0):(e.values[a]=u,1)}}})(e,r,t))}}return new q(e,o,l.map(e=>e(a)),a,s,i)}}function U(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function H(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let G=R.define(),J=R.define({combine:e=>e.some(e=>e),static:!0}),K=R.define({combine:e=>e.length?e[0]:void 0,static:!0}),ee=R.define(),et=R.define(),en=R.define(),er=R.define({combine:e=>!!e.length&&e[0]});class ei{constructor(e,t){this.type=e,this.value=t}static define(){return new eo}}class eo{of(e){return new ei(this,e)}}class ea{constructor(e){this.map=e}of(e){return new es(this,e)}}class es{constructor(e,t){this.type=e,this.value=t}
382map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new es(this.type,t)}is(e){return this.type==e}static define(e={}){return new ea(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}es.reconfigure=es.define(),es.appendConfig=es.define();class el{constructor(e,t,n,r,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&Q(n,t.newLength),!i.some(e=>e.type==el.time)&&(this.annotations=i.concat(el.time.of(Date.now())))}static create(e,t,n,r,i,o){return new el(e,t,n,r,i,o)}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(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(el.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}el.time=ei.define(),el.userEvent=ei.define(),el.addToHistory=ei.define(),el.remote=ei.define();function ec(e,t,n){var r;let i,o,a;return n?(i=t.changes,o=k.empty(t.changes.length),a=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(i)),{changes:a,selection:t.selection?t.selection.map(o):null===(r=e.selection)||void 0===r?void 0:r.map(i),effects:es.mapEffects(e.effects,i).concat(es.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function eu(e,t,n){let r=t.selection,i=eh(t.annotations);return t.userEvent&&(i=i.concat(el.userEvent.of(t.userEvent))),{changes:t.changes instanceof k?t.changes:k.of(t.changes||[],n,e.facet(K)),selection:r&&(r instanceof E?r:E.single(r.anchor,r.head)),effects:eh(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function ed(e,t,n){let r=eu(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(n=!1);for(let i=1;i<t.length;i++){!1===t[i].filter&&(n=!1);let o=!!t[i].sequential;r=ec(r,eu(e,t[i],o?r.changes.newLength:e.doc.length),o)}let i=el.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,n=t.facet(en),r=e;for(let i=n.length-1;i>=0;i--){let o=n[i](e);o&&Object.keys(o).length&&(r=ec(r,eu(t,o,e.changes.newLength),!0))}return r==e?e:el.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(n?function(e){let t=e.startState,n=!0;for(let r of t.facet(ee)){let t=r(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:function(e,t){let n=[];for(let r=0,i=0;;){let o,a;if(r<e.length&&(i==t.length||t[i]>=e[r]))o=e[r++],a=e[r++];else{if(!(i<t.length))return n;o=t[i++],a=t[i++]}!n.length||n[n.length-1]<o?n.push(o,a):n[n.length-1]<a&&(n[n.length-1]=a)}}(n,t))}if(!0!==n){let r,i;if(!1===n)i=e.changes.invertedDesc,r=k.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=el.create(t,r,e.selection&&e.selection.map(i),es.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(et);for(let n=r.length-1;n>=0;n--){let i=r[n](e);e=i instanceof el?i:Array.isArray(i)&&1==i.length&&i[0]instanceof el?i[0]:ed(t,eh(i),!1)}return e}(i):i)}let ef=[];function eh(e){return null==e?ef:Array.isArray(e)?e:[e]}var ep=((o=ep||(ep={}))[o.Word=0]="Word",o[o.Space=1]="Space",o[o.Other=2]="Other",o);let em=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class eg{constructor(e,t,n,r,i,o){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)U(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null==n){if(t)throw RangeError("Field is not present in this state");return}return U(this,n),H(this,n)}update(...e){return ed(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let t of e.effects)t.is(X.reconfigure)?(n&&(i=new Map,n.compartments.forEac
382h((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(es.reconfigure)?(n=null,r=t.value):t.is(es.appendConfig)&&(n=null,r=eh(r).concat(t.value));t=n?e.startState.values.slice():new eg(n=q.resolve(r,i,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(J)?e.newSelection:e.newSelection.asSingle();new eg(n,e.newDoc,o,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:E.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=eh(n.effects);for(let n=1;n<t.ranges.length;n++){let a=e(t.ranges[n]),s=this.changes(a.changes),l=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(l);let c=r.mapDesc(s,!0);i.push(a.range.map(c)),r=r.compose(l),o=es.mapEffects(o,l).concat(es.mapEffects(eh(a.effects),c))}return{changes:r,selection:E.create(i,t.mainIndex),effects:o}}changes(e=[]){return e instanceof k?e:k.of(e,this.doc.length,this.facet(eg.lineSeparator))}toText(e){return s.of(e.split(this.facet(eg.lineSeparator)||x))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(U(this,t),H(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof z&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let r=[];if(n){for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let i=n[t],o=e[t];r.push(i.init(e=>i.spec.fromJSON(o,e)))}}return eg.create({doc:e.doc,selection:E.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=q.resolve(e.extensions||[],new Map),n=e.doc instanceof s?e.doc:s.of((e.doc||"").split(t.staticFacet(eg.lineSeparator)||x)),r=e.selection?e.selection instanceof E?e.selection:E.single(e.selection.anchor,e.selection.head):E.single(0);return Q(r,n.length),!t.staticFacet(J)&&(r=r.asSingle()),new eg(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eg.tabSize)}get lineBreak(){return this.facet(eg.lineSeparator)||"\n"}get readOnly(){return this.facet(er)}phrase(e,...t){for(let t of this.facet(eg.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(G))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return ep.Space;if(function(e){if(r)return r.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||em.test(n)))return!0}return!1}(e))return ep.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return ep.Word;return ep.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,a=e-n;for(;o>0;){let e=O(t,o,!1);if(i(t.slice(e,o))!=ep.Word)break;o=e}for(;a<r;){let e=O(t,a);if(i(t.slice(a,e))!=ep.Word)break;a=e}return o==a?null:E.range(o+n,a+n)}}function eO(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],o=r[e];if(void 0===o)r[e]=i;else if(o===i||void 0===i);else if(Object.hasOwnProperty.call(n,e))r[e]=n[e](o,i);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}eg.allowMultipleSelections=J,eg.tabSize=R.define({combine:e=>e.length?e[0]:4}),eg.lineSeparator=K,eg.readOnly=er,eg.phrases=R.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),eg.languageData=G,eg.changeFilter=ee,eg.transactionFilter=et,eg.transactionExtender=en,X.reconfigure=es.define();class ev{eq(e){return this==e}range(e,t=e){return eb.create(e,t,this)}}ev.prototype.startSide=ev.prototype.endSide=0,ev.prototype.point=!1,ev.prototype.mapM
vendor: 4,145 bytes, line 382
382ode=w.TrackDel;class eb{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new eb(e,t,n)}}function ey(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class ex{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let o=r,a=i.length;;){if(o==a)return o;let r=o+a>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return s>=0?o:a;s>=0?a=r:o=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i<o;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}map(e,t){let n=[],r=[],i=[],o=-1,a=-1;for(let s=0;s<this.value.length;s++){let l=this.value[s],c=this.from[s]+e,u=this.to[s]+e,d,f;if(c==u){let e=t.mapPos(c,l.startSide,l.mapMode);if(null==e)continue;if(d=f=e,l.startSide!=l.endSide&&(f=t.mapPos(c,l.endSide))<d)continue}else if(d=t.mapPos(c,l.startSide),d>(f=t.mapPos(u,l.endSide))||d==f&&l.startSide>0&&l.endSide<=0)continue;!(0>(f-d||l.endSide-l.startSide))&&(o<0&&(o=d),l.point&&(a=Math.max(a,f-d)),n.push(l),r.push(d-o),i.push(f-o))}return{mapped:n.length?new ex(r,i,n,a):null,pos:o}}}class ew{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new ew(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:i=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(n&&(t=t.slice().sort(ey)),this.isEmpty)return t.length?ew.of(t):this;let a=new eP(this,null,-1).goto(0),s=0,l=[],c=new eS;for(;a.value||s<t.length;)if(s<t.length&&(a.from-t[s].from||a.startSide-t[s].value.startSide)>=0){let e=t[s++];!c.addInner(e.from,e.to,e.value)&&l.push(e)}else 1==a.rangeIndex&&a.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(a.chunkIndex)<t[s].from)&&(!o||r>this.chunkEnd(a.chunkIndex)||i<this.chunkPos[a.chunkIndex])&&c.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!o||r>a.to||i<a.from||o(a.from,a.to,a.value))&&!c.addInner(a.from,a.to,a.value)&&l.push(eb.create(a.from,a.to,a.value)),a.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?ew.empty:this.nextLayer.update({add:l,filter:o,filterFrom:r,filterTo:i}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1;for(let i=0;i<this.chunk.length;i++){let o=this.chunkPos[i],a=this.chunk[i],s=e.touchesRange(o,o+a.length);if(!1===s)r=Math.max(r,a.maxPoint),t.push(a),n.push(e.mapPos(o));else if(!0===s){let{mapped:i,pos:s}=a.map(o,e);i&&(r=Math.max(r,i.maxPoint),t.push(i),n.push(s))}}let i=this.nextLayer.map(e);return 0==t.length?i:new ew(n,t,i||ew.empty,r)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],o=this.chunk[r];if(t>=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eM.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eM.from(e).goto(t)}static compare(e,t,n,r,i=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),a=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=ek(o,a,n),l=new eC(o,s,i),c=new eC(a,s,i);n.iterGaps((e,t,n)=>e_(l,e,c,t,n,r)),n.empty&&0==n.length&&e_(l,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=999999999);let i=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(i.length!=o.length)return!1;if(!i.length)return!0;let a=ek(i,o),s=new eC(i,a,0).goto(n),l=new eC(o,a,0).goto(n);for(;;){if(s.to!=l.to||!eT(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,n,r,i=-1){let o=new eC(e,null,i).goto(t),a=t,s=o.openStart;for(;;){let e=Math.min(o.to,n);if(o.point){let n=o.activeForPoint(o.to),i=o.pointFrom<t?n.length+1:o.point.startSide<0?n.length:Math.min(n.length,s);
382r.point(a,e,o.point,n,i,o.pointRank),s=Math.min(o.openEnd(e),n.length)}else e>a&&(r.span(a,e,o.active,s),s=o.openEnd(e));if(o.to>n)return s+(o.point&&o.to>n?1:0);a=o.to,o.next()}}static of(e,t=!1){let n=new eS;for(let r of e instanceof eb?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(ey(t,r)>0)return e.slice().sort(ey);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return ew.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=ew.empty;r=r.nextLayer)t=new ew(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}ew.empty=new ew([],[],null,-1);ew.empty.nextLayer=ew.empty;class eS{finishChunk(e){this.chunks.push(new ex(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,e&&(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(e,t,n){!this.addInner(e,t,n)&&(this.nextLayer||(this.nextLayer=new eS)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(ew.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=ew.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function ek(e,t,n){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let o=r.get(e.chunk[t]);null!=o&&(n?n.mapPos(o):o)==e.chunkPos[t]&&!(null==n?void 0:n.touchesRange(o,o+e.chunk[t].length))&&i.add(e.chunk[t])}return i}class eP{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){0>(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class eM{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let i=0;i<e.length;i++)for(let o=e[i];!o.isEmpty;o=o.nextLayer)o.maxPoint>=n&&r.push(new eP(o,t,n,i));return 1==r.length?r[0]:new eM(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)ej(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)ej(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),ej(this.heap,0)}}}function ej(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),0>n.compare(i))break;e[r]=n,e[t]=i,t=r}}class eC{constructor(e,t,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=eM.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eD(this.active,e),eD(this.activeTo,e),eD(this.activeRank,e),this.minActive=eQ(this.active,this.activeTo)}
382addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||r-this.activeTo[t])>0;)t++;eE(this.active,t,n),eE(this.activeTo,t,r),eE(this.activeRank,t,i),e&&eE(e,t,this.cursor.from),this.minActive=eQ(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eD(n,r)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point){if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else this.addActive(n),this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function e_(e,t,n,r,i,o){e.goto(t),n.goto(r);let a=r+i,s=r,l=r-t;for(;;){let t=e.to+l-n.to,r=t||e.endSide-n.endSide,i=r<0?e.to+l:n.to,c=Math.min(i,a);if(e.point||n.point?!(e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&eT(e.activeForPoint(e.to),n.activeForPoint(n.to)))&&o.comparePoint(s,c,e.point,n.point):c>s&&!eT(e.active,n.active)&&o.compareRange(s,c,e.active,n.active),i>a)break;(t||e.openEnd!=n.openEnd)&&o.boundChange&&o.boundChange(i),s=i,r<=0&&e.next(),r>=0&&n.next()}}function eT(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function eD(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function eE(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function eQ(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)0>(t[i]-r||e[i].endSide-e[n].endSide)&&(n=i,r=t[i]);return n}function e$(e,t,n=e.length){let r=0;for(let i=0;i<n;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=O(e,i));return r}function eR(e,t,n,r){for(let r=0,i=0;;){if(i>=t)return r;if(r==e.length)break;i+=9==e.charCodeAt(r)?n-i%n:1,r=O(e,r)}return!0===r?-1:e.length}},97313:function(e,t,n){"use strict";let r;n.d(t,{$f:function(){return nT},AE:function(){return nH},Eu:function(){return rC},Nm:function(){return eb},OO:function(){return eU},SJ:function(){return rd},ZO:function(){return n0},gB:function(){return ro},hJ:function(){return rn},l9:function(){return eo},lg:function(){return eK},p:function(){return es},tk:function(){return nw}});var i,o,a,s=n("31465"),l=n("42137"),c=n("53493");function u(e){let t;return(t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e).getSelection()}function d(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function f(e,t){if(!t.anchorNode)return!1;try{return d(e,t.anchorNode)}catch(e){return!1}}function h(e){return 3==e.nodeType?k(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function p(e,t,n,r){return!!n&&(O(e,t,n,r,-1)||O(e,t,n,r,1))}function m(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function g(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function O(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:v(e))){if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1;t=m(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(i<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=i<0?v(e):0}}}function v(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function b(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function y(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||1>Math.abs(t.width-e.offsetWidth))&&(n=1),(r>.995&&r<1.005||!isFinite(r)||1>Math.abs(t.height-e.offsetHeight))&&(r=1),{scaleX:n,scaleY:r}}class x{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?v(t):0),n,Math.min(e.focusOffset,n?v(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}let w=null;function S(e){if(e.setActive)return e.setActive();if(w)return e.focus(w);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);
vendor: 7,269 bytes, line 382
382if(e.focus(null==w?{get preventScroll(){return w={preventScroll:!0},!0}}:void 0),!w){w=!1;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],i=t[e++];n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=i&&(n.scrollLeft=i)}}}function k(e,t,n=t){let i=r||(r=document.createRange());return i.setEnd(e,n),i.setStart(e,t),i}function P(e,t,n,r){let i={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=r);let o=new KeyboardEvent("keydown",i);o.synthetic=!0,e.dispatchEvent(o);let a=new KeyboardEvent("keyup",i);return a.synthetic=!0,e.dispatchEvent(a),o.defaultPrevented||a.defaultPrevented}function M(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function j(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function C(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r>0)return{node:n,offset:r};if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null;r=v(n=n.childNodes[r-1])}else{if(!n.parentNode||g(n))return null;r=m(n),n=n.parentNode}}}function _(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r<n.nodeValue.length)return{node:n,offset:r};if(1==n.nodeType&&r<n.childNodes.length){if("false"==n.contentEditable)return null;n=n.childNodes[r],r=0}else{if(!n.parentNode||g(n))return null;r=m(n)+1,n=n.parentNode}}}class T{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new T(e.parentNode,m(e),t)}static after(e,t){return new T(e.parentNode,m(e)+1,t)}}let D=[];class E{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(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){let n=this.dom,r=null,i;for(let o of this.children){if(7&o.flags){if(!o.dom&&(i=r?r.nextSibling:n.firstChild)){let e=E.get(i);(!e||!e.parent&&e.canReuseDOM(o))&&o.reuseDOM(i)}o.sync(e,t),o.flags&=-8}if(i=r?r.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&i!=o.dom&&(t.written=!0),o.dom.parentNode==n)for(;i&&i!=o.dom;)i=Q(i);else n.insertBefore(o.dom,i);r=o.dom}for((i=r?r.nextSibling:n.firstChild)&&t&&t.node==n&&(t.written=!0);i;)i=Q(i)}else if(1&this.flags)for(let n of this.children)7&n.flags&&(n.sync(e,t),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let r=0==v(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==this.dom)break;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}n=r<0?e:e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!E.get(n);)n=n.nextSibling;if(!n)return this.length;for(let e=0,t=0;;e++){let r=this.children[e];if(r.dom==n)return t;t+=r.length+r.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,i=-1,o=-1,a=-1;for(let s=0,l=n,c=n;s<this.children.length;s++){let n=this.children[s],u=l+n.length;if(l<e&&u>t)return n.domBoundsAround(e,t,l);if(u>=e&&-1==r&&(r=s,i=l),l>t&&n.dom.parentNode==this.dom){o=s,a=c;break}c=u,l=u+n.breakAfter}return{from:i,to:a<0?n+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o<this.children.length&&o>=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=D){this.markDirty();for(let r=e;r<t;r++){let e=this.children[r];e.parent==this&&0>n.indexOf(e)&&e.destroy()}n.length<250?this.children.splice(e,t-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(t));for(let e=0;e<n.length;e++)n[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new $(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,n,r,i,o){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}function Q(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}E.prototype.breakAfter=0;class ${constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function R(e,t,n,r,i,o,a,s,l){let{children:c}=e,u=c.length?c[t]:null,d=o.length?o[o.length-1]:null,f=d?d.breakAfter:a;if(!(t==r&&u&&!a&&!f&&o.length<2&&u.merge(n,i,o.length?d:null,0==n,s,l))){if(r<c.length){let e=c[r];e&&(i<e.length||e.breakAfter&&(null==d?void 0:d.breakAfter))?(t==r&&(e=e.split(i),i=0),!f&&d&&e.merge(0,i,d,!0,0,l)?o[o.length-1]=e:((i||e.children.length&&!e.children[0].length)&&e.merge(0,i,null,!1,0,l),o.push(e))):(null==e?void 0:e.breakAfter)&&(d?d.breakAfter=1:a=1),r++}for(u&&(u.breakAfter=a,n>0&&(!a&&o.length&&u.merge(n,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(n<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(n,u.length,null,!1,s,0),t++));t<r&&o.length;)if(c[r-1].become(o[o.length-1]))r--,o.pop(),l=o.length?0:s;else if(c[t].become(o[0]))t++,o.shift(),s=o.length?0:l;else break;!o.length&&t&&r<c.length&&!c[t-1].breakAfter&&c[r].merge(0,0,c[t-1],!1,s,l)&&t--,(t<r||o.length)&&e.replaceChildren(t,r,o)}}function Z(e,t,n,r,i,o){let a=e.childCursor(),{i:s,off:l}=a.findPos(n,1),{i:c,off:u}=a.findPos(t,-1),d=t-n;for(let e of r)d+=e.length;e.length+=d,R(e,c,u,s,l,r,0,i,o)}let I="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},A="undefined"!=typeof document?document:{documentElement:{style:{}}},N=/Edge\/(\d+)/.exec(I.userAgent),L=/MSIE \d/.test(I.userAgent),z=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(I.userAgent),F=!!(L||z||N),V=!F&&/gecko\/(\d+)/i.test(I.userAgent),W=!F&&/Chrome\/(\d+)/.exec(I.userAgent),Y="webkitFontSmoothing"in A.documentElement.style,X=!F&&/Apple Computer/.test(I.vendor),B=X&&(/Mobile\/\w+/.test(I.userAgent)||I.maxTouchPoints>2);var q={mac:B||/Mac/.test(I.platform),windows:/Win/.test(I.platform),linux:/Linux|X11/.test(I.platform),ie:F,ie_version:L?A.documentMode||6:z?+z[1]:N?+N[1]:0,gecko:V,gecko_version:V?+(/Firefox\/(\d+)/.exec(I.userAgent)||[0,0])[1]:0,chrome:!!W,chrome_version:W?+W[1]:0,ios:B,android:/Android\b/.test(I.userAgent),webkit:Y,safari:X,webkit_version:Y?+(/\bAppleWebKit\/(\d+)/.exec(I.userAgent)||[0,0])[1]:0,tabSize:null!=A.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};
382class U extends E{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){!this.dom&&this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}merge(e,t,n){return!(8&this.flags)&&(!n||n instanceof U&&!(this.length-(t-e)+n.length>256)&&!(8&n.flags))&&(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new U(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new T(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return function(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let i=t,o=t,a=0;0==t&&n<0||t==r&&n>=0?!(q.chrome||q.gecko)&&(t?(i--,a=1):o<r&&(o++,a=-1)):n<0?i--:o<r&&o++;let s=k(e,i,o).getClientRects();if(!s.length)return null;let l=s[(a?a<0:n>=0)?0:s.length-1];return q.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,e=>e.width)||l),a?b(l,a<0):l||null}(this.dom,e,t)}}
382class H extends E{constructor(e,t=[],n=0){for(let r of(super(),this.mark=e,this.children=t,this.length=n,t))r.setParent(this)}setAttrs(e){if(M(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,r,i,o){return(!n||!!(n instanceof H&&n.mark.eq(this.mark))&&(!e||!(i<=0))&&(!(t<this.length)||!(o<=0)))&&(Z(this,e,t,n?n.children.slice():[],i-1,o-1),this.markDirty(),!0)}split(e){let t=[],n=0,r=-1,i=0;for(let o of this.children){let a=n+o.length;a>e&&t.push(n<e?o.split(e-n):o),r<0&&n>=e&&(r=i),n=a,i++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new H(this.mark,t,o)}domAtPos(e){return K(this,e)}coordsAt(e,t){return ee(this,e,t)}}class G extends E{static create(e,t,n){return new G(e,t,n)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){let t=G.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),!this.widget.editable&&(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,t,n,r,i,o){return(!n||n instanceof G&&!!this.widget.compare(n.widget)&&(!(e>0)||!(i<=0))&&(!(t<this.length)||!(o<=0)))&&(this.length=e+(n?n.length:0)+(this.length-t),!0)}become(e){return e instanceof G&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(!this.widget.compare(e.widget)&&this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(0==this.length)return s.xv.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,n=t&&t.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):s.xv.empty}domAtPos(e){return(this.length?0==e:this.side>0)?T.before(this.dom):T.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let r=this.dom.getClientRects(),i=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let t=o?r.length-1:0;i=r[t],e>0?0!=t:t!=r.length-1&&!(i.top<i.bottom);t+=o?-1:1);return b(i,!o)}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 J extends E{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof J&&e.side==this.side}split(){return new J(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?T.before(this.dom):T.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return s.xv.empty}get isHidden(){return!0}}function K(e,t){let n=e.dom,{children:r}=e,i=0;for(let e=0;i<r.length;i++){let o=r[i],a=e+o.length;if(!(a==e&&0>=o.getSide())){if(t>e&&t<a&&o.dom.parentNode==n)return o.domAtPos(t-e);if(t<=e)break;e=a}}for(let e=i;e>0;e--){let t=r[e-1];if(t.dom.parentNode==n)return t.domAtPos(t.length)}for(let e=i;e<r.length;e++){let t=r[e];if(t.dom.parentNode==n)return t.domAtPos(0)}return new T(n,0)}U.prototype.children=G.prototype.children=J.prototype.children=D;function ee(e,t,n){let r=null,i=-1,o=null,a=-1;!function e(t,s){for(let l=0,c=0;l<t.children.length&&c<=s;l++){let u=t.children[l],d=c+u.length;d>=s&&(u.children.length?e(u,s-c):(!o||o.isHidden&&n>0)&&(d>s||c==d&&u.getSide()>0)?(o=u,a=s-c):(c<s||c==d&&0>u.getSide()&&!u.isHidden)&&(r=u,i=s-c)),c=d}}(e,t);let s=(n<0?r:o)||r||o;return s?s.coordsAt(Math.max(0,s==r?i:a),n):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=h(t);return n[n.length-1]||null}(e)}function et(e,t){for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}let en=Object.create(null);function er(e,t,n){if(e==t)return!0;
382!e&&(e=en),!t&&(t=en);let r=Object.keys(e),i=Object.keys(t);if(r.length-(n&&r.indexOf(n)>-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let o of r)if(o!=n&&(-1==i.indexOf(o)||e[o]!==t[o]))return!1;return!0}function ei(e,t,n){let r=!1;if(t)for(let i in t)!(n&&i in n)&&(r=!0,"style"==i?e.style.cssText="":e.removeAttribute(i));if(n)for(let i in n)!(t&&t[i]==n[i])&&(r=!0,"style"==i?e.style.cssText=n[i]:e.setAttribute(i,n[i]));return r}class eo{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return -1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var ea=((i=ea||(ea={}))[i.Text=0]="Text",i[i.WidgetBefore=1]="WidgetBefore",i[i.WidgetAfter=2]="WidgetAfter",i[i.WidgetRange=3]="WidgetRange",i);class es extends s.uU{constructor(e,t,n,r){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new el(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new eu(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:i,end:o}=ed(e,t);n=(i?t?-3e8:-1:5e8)-1,r=(o?t?2e8:1:-6e8)+1}return new eu(e,n,r,t,e.widget||null,!0)}static line(e){return new ec(e)}static set(e,t=!1){return s.Xs.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}es.none=s.Xs.empty;class el extends es{constructor(e){let{start:t,end:n}=ed(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof el&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(n=e.attrs)||void 0===n?void 0:n.class))&&er(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw RangeError("Mark decorations may not be empty");return super.range(e,t)}}el.prototype.point=!1;class ec extends es{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof ec&&this.spec.class==e.spec.class&&er(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}ec.prototype.mapMode=s.gc.TrackBefore,ec.prototype.point=!0;class eu extends es{constructor(e,t,n,r,i,o){super(t,n,i,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?s.gc.TrackBefore:s.gc.TrackAfter:s.gc.TrackDel}get type(){return this.startSide!=this.endSide?ea.WidgetRange:this.startSide<=0?ea.WidgetBefore:ea.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof eu&&function(e,t){return e==t||!!(e&&t&&e.compare(t))}(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function ed(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,end:null!=r?r:t}}eu.prototype.point=!0;function ef(e,t,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}class eh extends E{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,r,i,o){if(n){if(!(n instanceof eh))return!1;!this.dom&&n.transferDOM(this)}return r&&this.setDeco(n?n.attrs:null),Z(this,e,t,n?n.children.slice():[],i,o),!0}split(e){let t=new eh;if(t.breakAfter=this.breakAfter,0==this.length)return t;let{i:n,off:r}=this.childPos(e);r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),n++);for(let e=n;e<this.children.length;e++)t.append(this.children[e],0);for(;n>0&&0==this.children[n-1].length;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){!er(this.attrs,e)&&(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){!function e(t,n,r){let i,{children:o}=t;r>0&&n instanceof H&&o.length&&(i=o[o.length-1])instanceof H&&i.mark.eq(n.mark)?e(i,n.children[0],r-1):(o.push(n),n.setParent(t)),t.length+=n.length}(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=et(t,this.attrs||{})),n&&(this.attrs=et({class:n},this.attrs||{}))}domAtPos(e){return K(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;
382this.dom?4&this.flags&&(M(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&&(ei(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&E.get(r) instanceof H;)r=r.lastChild;if(!r||!this.length||"BR"!=r.nodeName&&(null===(n=E.get(r))||void 0===n?void 0:n.isEditable)==!1&&(!q.ios||!this.children.some(e=>e instanceof U))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof U)||/[^ -~]/.test(n.text))return null;let r=h(n.dom);if(1!=r.length)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=ee(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top;if(2>Math.abs(t-e.lineHeight)&&e.textHeight<t){let r=(t-e.textHeight)/2;return{top:n.top+r,bottom:n.bottom-r,left:n.left,right:n.left}}}return n}become(e){return e instanceof eh&&0==this.children.length&&0==e.children.length&&er(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,t){for(let n=0,r=0;n<e.children.length;n++){let i=e.children[n],o=r+i.length;if(o>=t){if(i instanceof eh)return i;if(o>t)break}r=o+i.breakAfter}return null}}class ep extends E{constructor(e,t,n){super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,r,i,o){return(!n||n instanceof ep&&!!this.widget.compare(n.widget)&&(!(e>0)||!(i<=0))&&(!(t<this.length)||!(o<=0)))&&(this.length=e+(n?n.length:0)+(this.length-t),!0)}domAtPos(e){return 0==e?T.before(this.dom):T.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let n=new ep(this.widget,t,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return D}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),!this.widget.editable&&(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):s.xv.empty}domBoundsAround(){return null}become(e){return e instanceof ep&&e.widget.constructor==this.widget.constructor&&(!e.widget.compare(this.widget)&&this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);return n?n:this.widget instanceof em?null:b(this.dom.getBoundingClientRect(),this.length?0==e:t<=0)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:n}=this.deco;return t!=n&&(e<0?t<0:n>0)}}class em extends eo{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class eg{constructor(e,t,n,r){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=r,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=e.iter(),this.skip=t}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof ep&&e.deco.endSide<0)}getLine(){return!this.curLine&&(this.content.push(this.curLine=new eh),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(eO(new J(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof ep)&&this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip);if(this.skip=0,r)throw 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,e--;continue}this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(eO(new U(this.text.slice(this.textOff,this.textOff+r)),t),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,n,r,i,o){if(this.disallowBlockEffectsFor[o]&&n instanceof eu){if(n.block)throw RangeError("Block decorations may not be specified via plugins");
382if(t>this.doc.lineAt(this.pos).to)throw RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=t-e;if(n instanceof eu){if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new ep(n.widget||ev.block,a,n));else{let o=G.create(n.widget||ev.inline,a,a?0:n.startSide),s=this.atCursorPos&&!o.isEditable&&i<=r.length&&(e<t||n.startSide>0),l=!o.isEditable&&(e<t||i>r.length||n.startSide<=0),c=this.getLine();2==this.pendingBuffer&&!s&&!o.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),s&&(c.append(eO(new J(1),r),i),i=r.length+Math.max(0,i-r.length)),c.append(eO(o,r),i),this.atCursorPos=l,this.pendingBuffer=l?e<t||i>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}static build(e,t,n,r,i){let o=new eg(e,t,n,i);return o.openEnd=s.Xs.spans(r,t,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function eO(e,t){for(let n of t)e=new H(n,[e],e.length);return e}class ev extends eo{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}ev.inline=new ev("span"),ev.block=new ev("div");var eb=((o=eb||(eb={}))[o.LTR=0]="LTR",o[o.RTL=1]="RTL",o);let ey=eb.LTR,ex=eb.RTL;function ew(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}let eS=ew("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),ek=ew("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),eP=Object.create(null),eM=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),n=e.charCodeAt(1);eP[t]=n,eP[n]=-t}function ej(e){return e<=247?eS[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?ek[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}let eC=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class e_{get dir(){return this.level%2?ex:ey}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,n,r){let i=-1;for(let o=0;o<e.length;o++){let a=e[o];if(a.from<=t&&a.to>=t){if(a.level==n)return o;(i<0||(0!=r?r<0?a.from<t:a.to>t:e[i].level>a.level))&&(i=o)}}if(i<0)throw RangeError("Index out of range");return i}}let eT=[];function eD(e,t,n,r,i,o,a){let s=t%2?2:1;!function(e,t,n,r,i){for(let o=0;o<=r.length;o++){let a=o?r[o-1].to:t,s=o<r.length?r[o].from:n,l=o?256:i;for(let t=a,n=l,r=l;t<s;t++){let i=ej(e.charCodeAt(t));512==i?i=n:8==i&&4==r&&(i=16),eT[t]=4==i?2:i,7&i&&(r=i),n=i}for(let e=a,t=l,r=l;e<s;e++){let i=eT[e];if(128==i)e<s-1&&t==eT[e+1]&&24&t?i=eT[e]=t:eT[e]=256;else if(64==i){let i=e+1;for(;i<s&&64==eT[i];)i++;let o=e&&8==t||i<n&&8==eT[i]?1==r?1:8:256;for(let t=e;t<i;t++)eT[t]=o;e=i-1}else 8==i&&1==r&&(eT[e]=1);t=i,7&i&&(r=i)}}}(e,i,o,r,s),!function(e,t,n,r,i){let o=1==i?2:1;for(let a=0,s=0,l=0;a<=r.length;a++){let c=a?r[a-1].to:t,u=a<r.length?r[a].from:n;for(let t=c,n,r,a;t<u;t++)if(r=eP[n=e.charCodeAt(t)]){if(r<0){for(let e=s-3;e>=0;e-=3)if(eM[e+1]==-r){let n=eM[e+2],r=2&n?i:4&n?1&n?o:i:0;r&&(eT[t]=eT[eM[e]]=r),s=e;break}}else if(189==eM.length)break;else eM[s++]=t,eM[s++]=n,eM[s++]=l}else if(2==(a=eT[t])||1==a){let e=a==i;l=e?0:1;for(let t=s-3;t>=0;t-=3){let n=eM[t+2];if(2&n)break;if(e)eM[t+2]|=2;else{if(4&n)break;eM[t+2]|=4}}}}}(e,i,o,r,s),!function(e,t,n,r){for(let i=0,o=r;i<=n.length;i++){let a=i?n[i-1].to:e,s=i<n.length?n[i].from:t;for(let l=a;l<s;){let a=eT[l];if(256==a){let a=l+1;for(;;)if(a==s){if(i==n.length)break;a=n[i++].to,s=i<n.length?n[i].from:t}else if(256==eT[a])a++;else break;let c=1==o,u=c==((a<t?eT[a]:r)==1)?c?1:2:r;
382for(let t=a,r=i,o=r?n[r-1].to:e;t>l;)t==o&&(t=n[--r].from,o=r?n[r-1].to:e),eT[--t]=u;l=a}else o=a,l++}}}(i,o,r,s),!function e(t,n,r,i,o,a,s){let l=i%2?2:1;if(i%2==o%2)for(let c=n,u=0;c<r;){let n=!0,d=!1;if(u==a.length||c<a[u].from){let e=eT[c];e!=l&&(n=!1,d=16==e)}let f=n||1!=l?null:[],h=n?i:i+1,p=c;i:for(;;)if(u<a.length&&p==a[u].from){if(d)break;let e=a[u];if(!n)for(let t=e.to,n=u+1;;){if(t==r)break i;if(n<a.length&&a[n].from==t)t=a[n++].to;else if(eT[t]==l)break i;else break}u++,f?f.push(e):(e.from>c&&s.push(new e_(c,e.from,h)),eD(t,e.direction==ey!=!(h%2)?i+1:i,o,e.inner,e.from,e.to,s),c=e.to),p=e.to}else if(p==r||(n?eT[p]!=l:eT[p]==l))break;else p++;f?e(t,c,p,i+1,o,f,s):c<p&&s.push(new e_(c,p,h)),c=p}else for(let c=r,u=a.length;c>n;){let r=!0,d=!1;if(!u||c>a[u-1].to){let e=eT[c-1];e!=l&&(r=!1,d=16==e)}let f=r||1!=l?null:[],h=r?i:i+1,p=c;i:for(;;)if(u&&p==a[u-1].to){if(d)break;let e=a[--u];if(!r)for(let t=e.from,r=u;;){if(t==n)break i;if(r&&a[r-1].to==t)t=a[--r].from;else if(eT[t-1]==l)break i;else break}f?f.push(e):(e.to<c&&s.push(new e_(e.to,c,h)),eD(t,e.direction==ey!=!(h%2)?i+1:i,o,e.inner,e.from,e.to,s),c=e.from),p=e.from}else if(p==n||(r?eT[p-1]!=l:eT[p-1]==l))break;else p--;f?e(t,p,c,i+1,o,f,s):p<c&&s.push(new e_(p,c,h)),c=p}}(e,i,o,t,n,r,a)}function eE(e){return[new e_(0,e,0)]}let eQ="",e$=s.r$.define(),eR=s.r$.define(),eZ=s.r$.define(),eI=s.r$.define(),eA=s.r$.define(),eN=s.r$.define(),eL=s.r$.define(),ez=s.r$.define(),eF=s.r$.define(),eV=s.r$.define({combine:e=>e.some(e=>e)}),eW=s.r$.define({combine:e=>e.some(e=>e)}),eY=s.r$.define();class eX{constructor(e,t="nearest",n="nearest",r=5,i=5,o=!1){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=i,this.isSnapshot=o}map(e){return e.empty?this:new eX(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new eX(s.jT.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}let eB=s.Py.define({map:(e,t)=>e.map(t)}),eq=s.Py.define();function eU(e,t,n){let r=e.facet(eI);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)}let eH=s.r$.define({combine:e=>!e.length||e[0]}),eG=0,eJ=s.r$.define();class eK{constructor(e,t,n,r,i){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=r,this.extension=i(this)}static define(e,t){let{eventHandlers:n,eventObservers:r,provide:i,decorations:o}=t||{};return new eK(eG++,e,n,r,e=>{let t=[eJ.of(e)];return o&&t.push(e5.of(t=>{let n=t.plugin(e);return n?o(n):es.none})),i&&t.push(i(e)),t})}static fromClass(e,t){return eK.define(t=>new e(t),t)}}class e0{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(eU(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){eU(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(t){eU(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}let e1=s.r$.define(),e2=s.r$.define(),e5=s.r$.define(),e3=s.r$.define(),e4=s.r$.define(),e6=s.r$.define();function e9(e,t){let n=e.state.facet(e6);if(!n.length)return n;let r=n.map(t=>t instanceof Function?t(e):t),i=[];return s.Xs.spans(r,t.from,t.to,{point(){},span(e,n,r,o){let a=e-t.from,s=n-t.from,l=i;for(let e=r.length-1;e>=0;e--,o--){let n=r[e].spec.bidiIsolate,i;if(null==n&&(n=function(e,t,n){for(let r=t;r<n;r++){let t=ej(e.charCodeAt(r));if(1==t)break;if(2==t||4==t)return ex}return ey}(t.text,a,s)),o>0&&l.length&&(i=l[l.length-1]).to==a&&i.direction==n)i.to=s,l=i.inner;else{let e={from:a,to:s,direction:n,inner:[]};l.push(e),l=e.inner}}}}),i}let e8=s.r$.define();function e7(e){let t=0,n=0,r=0,i=0;for(let o of e.state.facet(e8)){let a=o(e);a&&(null!=a.left&&(t=Math.max(t,a.left)),null!=a.right&&(n=Math.max(n,a.right)),null!=a.top&&(r=Math.max(r,a.top)),null!=a.bottom&&(i=Math.max(i,a.bottom)))}return{left:t,right:n,top:r,bottom:i}}let te=s.r$.define();class tt{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){return new tt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(0==t.length)return e;let n=[];for(let r=0,i=0,o=0,a=0;;r++){let s=r==e.length?null:e[r],l=o-a,c=s?s.fromB:1e9;for(;i<t.length&&t[i]<c;){let e=t[i],r=t[i+1],o=Math.max(a,e),s=Math.min(c,r);if(o<=s&&new tt(o+l,s+l,o,s).addToSet(n),r>c)break;i+=2}if(!s)return n;new tt(s.fromA,s.toA,s.fromB,s.toB).addToSet(n),o=s.toA,a=s.toB}}}class tn{constructor(e,t,n){for(let r of(this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=s.as.empty(this.startState.doc.length),n))this.changes=this.changes.compose(r.changes);let r=[];this.changes.iterChangedRanges((e,t,n,i)=>r.push(new tt(e,t,n,i))),this.changedRanges=r}static create(e,t,n){return new tn(e,t,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(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}
382class tr extends E{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=es.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(e.contentDOM),this.children=[new eh],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new tt(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?r=this.domChanged.newSel.head:!function(e,t){let n=!1;return t&&e.iterChangedRanges((e,r)=>{e<t.to&&r>t.from&&(n=!0)}),n}(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let i=r>-1?function(e,t,n){let r=ti(e,n);if(!r)return null;let{node:i,from:o,to:a}=r,s=i.nodeValue;if(/[\n\r]/.test(s)||e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc,c=new tt(l.mapPos(o),l.mapPos(a),o,a),u=[];for(let t=i.parentNode;;t=t.parentNode){let n=E.get(t);if(n instanceof H)u.push({node:t,deco:n.mark});else{if(n instanceof eh||"DIV"==t.nodeName&&t.parentNode==e.contentDOM)return{range:c,text:i,marks:u,line:t};if(t==e.contentDOM)return null;u.push({node:t,deco:new el({inclusive:!0,attributes:function(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}(t),tagName:t.tagName.toLowerCase()})})}}}(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:t,to:r}=this.hasComposition;n=new tt(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(q.ie||q.chrome)&&!i&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=function(e,t,n){let r=new to;return s.Xs.compare(e,t,n,r),r.changes}(this.decorations,this.updateDeco(),e.changes);return n=tt.extendWithRanges(n,o),(!!(7&this.flags)||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,i),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let e=q.chrome||q.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(e=>e.flags&=-9);let i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof ep&&e.widget instanceof em&&i.push(e.dom);r.updateGaps(i)}updateChildren(e,t,n){let r=n?n.range.addToSet(e.slice()):e,i=this.childCursor(t);for(let e=r.length-1;;e--){let t=e>=0?r[e]:null;if(!t)break;let{fromA:o,toA:a,fromB:s,toB:l}=t,c,u,d,f;if(n&&n.range.fromB<l&&n.range.toB>s){let e=eg.build(this.view.state.doc,s,n.range.fromB,this.decorations,this.dynamicDecorationMap),t=eg.build(this.view.state.doc,n.range.toB,l,this.decorations,this.dynamicDecorationMap);u=e.breakAtStart,d=e.openStart,f=t.openEnd;let r=this.compositionView(n);t.breakAtStart?r.breakAfter=1:t.content.length&&r.merge(r.length,r.length,t.content[0],!1,t.openStart,0)&&(r.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&r.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),c=e.content.concat(r).concat(t.content)}else({content:c,breakAtStart:u,openStart:d,openEnd:f}=eg.build(this.view.state.doc,s,l,this.decorations,this.dynamicDecorationMap));let{i:h,off:p}=i.findPos(a,1),{i:m,off:g}=i.findPos(o,-1);R(this,m,g,h,p,c,u,d,f)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(e){for(let t of(this.editContextFormatting=this.editContextFormatting.map(e.changes),e.transactions))for(let e of t.effects)e.is(eq)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new U(e.text.nodeValue);for(let{deco:n}of(t.flags|=8,e.marks))t=new H(n,[t],t.length);let n=new eh;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|(t.children.some(e=>7&e.flags)?1:0),this.markedForComposition.add(t);let n=E.get(e);n&&n!=t&&(n.dom=null),t.setDOM(e)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r);for(let i=e.marks.length-1;i>=-1;
382i--)n=r.childPos(n.off,1),r=r.children[n.i],t(i>=0?e.marks[i].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,i=!r&&!(this.view.state.facet(eH)||this.dom.tabIndex>-1)&&f(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||t||i))return;let o=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(a.anchor)),l=a.empty?s:this.moveToLine(this.domAtPos(a.head));if(q.gecko&&a.empty&&!this.hasComposition&&function(e){return 1==e.node.nodeType&&e.node.firstChild&&(0==e.offset||"false"==e.node.childNodes[e.offset-1].contentEditable)&&(e.offset==e.node.childNodes.length||"false"==e.node.childNodes[e.offset].contentEditable)}(s)){let e=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null)),s=l=new T(e,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!p(s.node,s.offset,c.anchorNode,c.anchorOffset)||!p(l.node,l.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,a))&&(this.view.observer.ignore(()=>{q.android&&q.chrome&&this.dom.contains(c.focusNode)&&function(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=u(this.view.root);if(e){if(a.empty){if(q.gecko){let e=function(e,t){return 1!=e.nodeType?0:(t&&"false"==e.childNodes[t-1].contentEditable?1:0)|(t<e.childNodes.length&&"false"==e.childNodes[t].contentEditable?2:0)}(s.node,s.offset);if(e&&3!=e){let t=(1==e?C:_)(s.node,s.offset);t&&(s=new T(t.node,t.offset))}}e.collapse(s.node,s.offset),null!=a.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=a.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)}catch(e){}}else{let t=document.createRange();a.anchor>a.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}
vendor: 4,583 bytes, line 382
382}else;i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new T(c.anchorNode,c.anchorOffset),this.impreciseHead=l.precise?null:new T(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&p(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=u(e.root),{anchorNode:r,anchorOffset:i}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let o=eh.find(this,t.head);if(!o)return;let a=o.posAtStart;if(t.head==a||t.head==a+o.length)return;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let d=e.observer.selectionRange;e.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=t.from&&n.collapse(r,i)}moveToLine(e){let t=this.dom,n;if(e.node!=t)return e;for(let r=e.offset;!n&&r<t.childNodes.length;r++){let e=E.get(t.childNodes[r]);e instanceof eh&&(n=e.domAtPos(0))}for(let r=e.offset-1;!n&&r>=0;r--){let e=E.get(t.childNodes[r]);e instanceof eh&&(n=e.domAtPos(e.length))}return n?new T(n.node,n.offset,!0):e}nearest(e){for(let t=e;t;){let e=E.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(n<e.length||e instanceof eh)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,r=0;for(let i=this.length,o=this.children.length-1;o>=0;o--){let a=this.children[o],s=i-a.breakAfter,l=s-a.length;if(s<e)break;if(l<=e&&(l<e||a.covers(-1))&&(s>e||a.covers(1))&&(!n||a instanceof eh&&!(n instanceof eh&&t>=0)))n=a,r=l;else if(n&&l==e&&s==e&&a instanceof ep&&2>Math.abs(t)){if(a.deco.startSide<0)break;o&&(n=null)}i=l}return n?n.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),r=this.children[t];if(!(r instanceof eh))return null;for(;r.children.length;){let{i:e,off:t}=r.childPos(n,1);for(;;e++){if(e==r.children.length)return null;if((r=r.children[e]).length)break}n=t}if(!(r instanceof U))return null;let i=(0,s.cp)(r.text,n);if(i==n)return null;let o=k(r.dom,n,i).getClientRects();for(let e=0;e<o.length;e++){let t=o[e];if(e==o.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==eb.LTR;for(let e=0,l=0;l<this.children.length;l++){let c=this.children[l],u=e+c.length;if(u>r)break;if(e>=n){let n=c.dom.getBoundingClientRect();if(t.push(n.height),o){let t=c.dom.lastChild,r=t?h(t):[];if(r.length){let t=r[r.length-1],o=s?t.right-n.left:n.right-t.left;o>a&&(a=o,this.minWidth=i,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+c.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return"rtl"==getComputedStyle(this.children[t].dom).direction?eb.RTL:eb.LTR}measureTextSize(){for(let e of this.children)if(e instanceof eh){let t=e.measureTextSize();if(t)return t}let e=document.createElement("div"),t,n,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=h(e.firstChild)[0];t=e.getBoundingClientRect().height,n=i?i.width/27:7,r=i?i.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new $(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let i=r==t.viewports.length?null:t.viewports[r],o=i?i.from-1:this.length;if(o>n){let r=(t.lineBlockAt(o).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(es.replace({widget:new em(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return es.set(e)}updateDeco(){let e=1,t=this.view.state.facet(e5).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),n=!1,r=this.view.state.facet(e3).map((e,t)=>{let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e});
382for(r.length&&(this.dynamicDecorationMap[e++]=n,t.push(s.Xs.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=t.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let t of this.view.state.facet(eY))try{if(t(this.view,e.range,e))return!0}catch(e){eU(this.view.state,e,"scroll handler")}let{range:t}=e,n=this.coordsAt(t.head,t.empty?t.assoc:t.head>t.anchor?-1:1),r;if(!n)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let i=e7(this.view),o={left:n.left-i.left,top:n.top-i.top,right:n.right+i.right,bottom:n.bottom+i.bottom},{offsetWidth:a,offsetHeight:s}=this.view.scrollDOM;!function(e,t,n,r,i,o,a,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,f=u==l.body,h=1,p=1;if(f)e=function(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();({scaleX:h,scaleY:p}=y(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*p}}let m=0,g=0;if("nearest"==i)t.top<e.top?(g=-(e.top-t.top+a),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+a)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+a,n<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+a)));else{let r=t.bottom-t.top,o=e.bottom-e.top;g=("center"==i&&r<=o?t.top+r/2-o/2:"start"==i||"center"==i&&n<0?t.top-a:t.bottom-o+a)-e.top}if("nearest"==r?t.left<e.left?(m=-(e.left-t.left+o),n>0&&t.right>e.right+m&&(m=t.right-e.right+m+o)):t.right>e.right&&(m=t.right-e.right+o,n<0&&t.left<e.left+m&&(m=-(e.left+m-t.left+o))):m=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-o:t.right-(e.right-e.left)+o)-e.left,m||g){if(f)c.scrollBy(m,g);else{let e=0,n=0;if(g){let e=u.scrollTop;u.scrollTop+=g/p,n=(u.scrollTop-e)*p}if(m){let t=u.scrollLeft;u.scrollLeft+=m/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&1>Math.abs(e-m)&&(r="nearest"),n&&1>Math.abs(n-g)&&(i="nearest")}}if(f)break;u=u.assignedSlot||u.parentNode}else if(11==u.nodeType)u=u.host;else break}(this.view.scrollDOM,o,t.head<t.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==eb.LTR)}}function ti(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=C(n.focusNode,n.focusOffset),i=_(n.focusNode,n.focusOffset),o=r||i;if(i&&r&&i.node!=r.node){let t=E.get(i.node);if(!t||t instanceof U&&t.text!=i.node.nodeValue)o=i;else if(e.docView.lastCompositionAfterCursor){let e=E.get(r.node);!(!e||e instanceof U&&e.text!=r.node.nodeValue)&&(o=i)}}if(e.docView.lastCompositionAfterCursor=o!=r,!o)return null;let a=t-o.offset;return{from:a,to:a+o.node.nodeValue.length,node:o.node}}let to=class{constructor(){this.changes=[]}compareRange(e,t){ef(e,t,this.changes)}comparePoint(e,t){ef(e,t,this.changes)}boundChange(e){ef(e,e,this.changes)}};function ta(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function ts(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function tl(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function tc(e,t,n){let r=e.nodeValue.length,i=-1,o=1e9,a=0;for(let s=0;s<r;s++){let r=k(e,s,s+1).getClientRects();for(let l=0;l<r.length;l++){let c=r[l];if(c.top==c.bottom)continue;!a&&(a=t-c.left);let u=(c.top>n?c.top-n:n-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&u<o){let n=t>=(c.left+c.right)/2,r=n;if((q.chrome||q.gecko)&&k(e,s).getBoundingClientRect().left==c.right&&(r=!n),u<=0)return{node:e,offset:s+(r?1:0)};i=s+(r?1:0),o=u}}}return{node:e,offset:i>-1?i:a>
3820?e.nodeValue.length:0}}function tu(e,t,n,r=-1){var i,o;let a=e.contentDOM.getBoundingClientRect(),s=a.top+e.viewState.paddingTop,l,{docHeight:c}=e.viewState,{x:u,y:d}=t,f=d-s;if(f<0)return 0;if(f>c)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,i=!1;(l=e.elementAtHeight(f)).type!=ea.Text;){;for(;!((f=r>0?l.bottom+t:l.top-t)>=0)||!(f<=c);){;if(i)return n?null:0;i=!0,r=-r}}d=s+f;let p=l.from;if(p<e.viewport.from)return 0==e.viewport.from?0:n?null:td(e,a,l,u,d);if(p>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:td(e,a,l,u,d);let m=e.dom.ownerDocument,g=e.root.elementFromPoint?e.root:m,O=g.elementFromPoint(u,d);O&&!e.contentDOM.contains(O)&&(O=null),!O&&(u=Math.max(a.left+1,Math.min(a.right-1,u)),(O=g.elementFromPoint(u,d))&&!e.contentDOM.contains(O)&&(O=null));let b,y=-1;if(O&&(null===(i=e.docView.nearest(O))||void 0===i?void 0:i.isEditable)!=!1){if(m.caretPositionFromPoint){let e=m.caretPositionFromPoint(u,d);e&&({offsetNode:b,offset:y}=e)}else if(m.caretRangeFromPoint){let t=m.caretRangeFromPoint(u,d);t&&({startContainer:b,startOffset:y}=t,(!e.contentDOM.contains(b)||q.safari&&function(e,t,n){let r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(1!=t.nodeType||"BR"!=t.nodeName)return!1;return k(e,r-1,r).getBoundingClientRect().left>n}(b,y,u)||q.chrome&&function(e,t,n){if(0!=t)return!1;for(let t=e;;){let e=t.parentNode;if(!e||1!=e.nodeType||e.firstChild!=t)return!1;if(e.classList.contains("cm-line"))break;t=e}return n-(1==e.nodeType?e.getBoundingClientRect():k(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}(b,y,u))&&(b=void 0))}b&&(y=Math.min(v(b),y))}if(!b||!e.docView.dom.contains(b)){let t=eh.find(e.docView,p);if(!t)return f>l.top+l.height/2?l.to:l.from;({node:b,offset:y}=function e(t,n,r){let i,o,a,s,l,c,u,d,f=!1;for(let v=t.firstChild;v;v=v.nextSibling){let t=h(v);for(let h=0;h<t.length;h++){var p,m,g,O;let b=t[h];c&&ta(c,b)&&(b=ts(tl(b,c.bottom),c.top));let y=(p=n,(m=b).left>p?m.left-p:Math.max(0,p-m.right)),x=(g=r,(O=b).top>g?O.top-g:Math.max(0,g-O.bottom));if(0==y&&0==x)return 3==v.nodeType?tc(v,n,r):e(v,n,r);if(!l||d>x||d==x&&u>y){l=v,c=b,u=y,d=x;let e=x?r<b.top?-1:1:y?n<b.left?-1:1:0;f=!e||(e>0?h<t.length-1:h>0)}0==y?r>b.bottom&&(!a||a.bottom<b.bottom)?(i=v,a=b):r<b.top&&(!s||s.top>b.top)&&(o=v,s=b):a&&ta(a,b)?a=tl(a,b.bottom):s&&ta(s,b)&&(s=ts(s,b.top))}}if(a&&a.bottom>=r?(l=i,c=a):s&&s.top<=r&&(l=o,c=s),!l)return{node:t,offset:0};let v=Math.max(c.left,Math.min(c.right,n));if(3==l.nodeType)return tc(l,v,r);if(f&&"false"!=l.contentEditable)return e(l,v,r);let b=Array.prototype.indexOf.call(t.childNodes,l)+(n>=(c.left+c.right)/2?1:0);return{node:t,offset:b}}(t.dom,u,d))}let x=e.docView.nearest(b);if(!x)return null;if(!x.isWidget||(null===(o=x.dom)||void 0===o?void 0:o.nodeType)!=1)return x.localPosFromDOM(b,y)+x.posAtStart;{let e=x.dom.getBoundingClientRect();return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?x.posAtStart:x.posAtEnd}}function td(e,t,n,r,i){let o=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;o+=Math.floor((i-n.top-(e.defaultLineHeight-t)*.5)/t)*e.viewState.heightOracle.lineLength}let a=e.state.sliceDoc(n.from,n.to);return n.from+(0,s.Gz)(a,o,e.state.tabSize)}function tf(e,t){let n=e.lineBlockAt(t);if(Array.isArray(n.type)){for(let e of n.type)if(e.to>t||e.to==t&&(e.to==n.to||e.type==ea.Text))return e}return n}function th(e,t,n,r){let i=e.state.doc.lineAt(t.head),o=e.bidiSpans(i),a=e.textDirectionAt(i.from);for(let l=t,c=null;;){let t=function(e,t,n,r,i){var o;let a=r.head-e.from,l=e_.find(t,a,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc),c=t[l],u=c.side(i,n);if(a==u){let e=l+=i?1:-1;if(e<0||e>=t.length)return null;a=(c=t[l=e]).side(!i,n),u=c.side(i,n)}let d=(0,s.cp)(e.text,a,c.forward(i,n));(d<c.from||d>c.to)&&(d=u),eQ=e.text.slice(Math.min(a,d),Math.max(a,d));let f=l==(i?t.length-1:0)?null:t[l+(i?1:-1)];return f&&d==u&&f.level+(i?0:1)<c.level?s.jT.cursor(f.side(!i,n)+e.from,f.forward(i,n)?1:-1,f.level):s.jT.cursor(d+e.from,c.forward(i,n)?-1:1,c.level)}(i,o,a,l,n),u=eQ;if(!t){if(i.number==(n?e.state.doc.lines:1))return l;
382u="\n",i=e.state.doc.line(i.number+(n?1:-1)),o=e.bidiSpans(i),t=e.visualLineSide(i,!n)}if(c){if(!c(u))return l}else{if(!r)return t;c=r(u)}l=t}}function tp(e,t,n){for(;;){let r=0;for(let i of e)i.between(t-1,t+1,(e,i,o)=>{if(t>e&&t<i){let o=r||n||(t-e<i-t?-1:1);t=o<0?e:i,r=o}});if(!r)return t}}function tm(e,t,n){let r=tp(e.state.facet(e4).map(t=>t(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:s.jT.cursor(r,r<n.from?1:-1)}class tg{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(s.yy.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+="ï¿¿"}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let e=this.text.length;this.readNode(r);let i=r.nextSibling;if(i==t)break;let o=E.get(r),a=E.get(i);(o&&a?o.breakAfter:(o?o.breakAfter:g(r))||g(i)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),r=i}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,o=1,a;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(a=r.exec(t))&&(i=a.index,o=a[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),o>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=o-1);n=i+o}}readNode(e){if(e.cmIgnore)return;let t=E.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(function(e,t,n){for(;;){if(!t||n<v(t))return!1;if(t==e)return!0;n=m(t)+1,t=t.parentNode}}(e,n.node,n.offset)?t:0))}}class tO{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class tv{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:i,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let t=i||o?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}=e.observer.selectionRange;return n&&(t.push(new tO(n,r)),(i!=n||o!=r)&&t.push(new tO(i,o))),t}(e),n=new tg(t,e.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=function(e,t){if(0==e.length)return null;let n=e[0].pos,r=2==e.length?e[1].pos:n;return n>-1&&r>-1?s.jT.single(n+t,r+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!d(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!d(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),a=e.viewport;if((q.ios||q.chrome)&&e.state.selection.main.empty&&n!=r&&(a.from>0||a.to<e.state.doc.length)){let t=Math.min(n,r),i=Math.max(n,r),o=a.from-t,s=a.to-i;(0==o||1==o||0==t)&&(0==s||-1==s||i==e.state.doc.length)&&(n=0,r=e.state.doc.length)}this.newSel=s.jT.single(r,n)}}}function tb(e,t){let n;let{newSel:r}=t,i=e.state.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:r,to:a}=t.bounds,l=i.from,c=null;(8===o||q.android&&t.text.length<a-r)&&(l=i.to,c="end");let u=function(e,t,n,r){let i=Math.min(e.length,t.length),o=0;for(;o<i&&e.charCodeAt(o)==t.charCodeAt(o);)o++;if(o==i&&e.length==t.length)return null;let a=e.length,s=t.length;for(;a>0&&s>0&&e.charCodeAt(a-1)==t.charCodeAt(s-1);)a--,s--;if("end"==r){let e=Math.max(0,o-Math.min(a,s));n-=a+e-o}if(a<o&&e.length<t.length){let e=n<=o&&n>=a?o-n:0;o-=e,s=o+(s-a),a=o}else if(s<o){let e=n<=o&&n>=s?o-n:0;o-=e,a=o+(a-s),s=o}return{from:o,toA:a,toB:s}}(e.state.doc.sliceString(r,a,"ï¿¿"),t.text,l-r,c);u&&(q.chrome&&13==o&&u.toB==u.from+2&&"ï¿¿ï¿¿"==t.text.slice(u.from,u.toB)&&u.toB--,n={from:r+u.from,to:r+u.toA,insert:s.xv.of(t.text.slice(u.from,u.toB).split("ï¿¿"))})}else r&&(!e.hasFocus&&e.state.facet(eH)||r.main.eq(i))&&(r=null);if(!n&&!r)return!1;if(!n&&t.typeOver&&!i.empty&&r&&r.main.empty?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,i.to)}:n&&n.from>=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:(q.mac||q.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=s.jT.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:s.xv.of([" "])}):q.chrome&&n&&n.from==n.to&&n.from==i.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=s.jT.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:s.xv.of([" "])}),n)return ty(e,n,r,o);if(!r||r.main.eq(i))return!1;{let t=!1,n="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}}function ty(e,t,n,r=-1){let i;if(q.ios&&e.inputState.flushIOSKey(t))return!0;let o=e.state.selection.main;if(q.android&&(t.to==o.to&&(t.from==o.from||t.from==o.from-1&&" "==e.state.sliceDoc(t.from,o.from))&&1==t.insert.length&&2==t.insert.lines&&P(e.contentDOM,"Enter",13)||(t.from==o.from-1&&t.to==o.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>o.head)&&P(e.contentDOM,"Backspace",8)||t.from==o.from&&t.to==o.to+1&&0==t.insert.length&&P(e.contentDOM,"Delete",46)))return!0;let a=t.insert.toString();e.inputState.composing>
382=0&&e.inputState.composing++;let l=()=>i||(i=function(e,t,n){let r,i=e.state,o=i.selection.main;if(t.from>=o.from&&t.to<=o.to&&t.to-t.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=o.from<t.from?i.sliceDoc(o.from,t.from):"",a=o.to>t.to?i.sliceDoc(t.to,o.to):"";r=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+a))}else{let a=i.changes(t),l=n&&n.main.to<=a.newLength?n.main:void 0;if(i.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=o.to&&t.to>=o.to-10){let c=e.state.sliceDoc(t.from,t.to),u,d=n&&ti(e,n.main.head);if(d){let e=t.insert.length-(t.to-t.from);u={from:d.from,to:d.to-e}}else u=e.state.doc.lineAt(o.head);let f=o.to-t.to,h=o.to-o.from;r=i.changeByRange(n=>{if(n.from==o.from&&n.to==o.to)return{changes:a,range:l||n.map(a)};let r=n.to-f,d=r-c.length;if(n.to-n.from!=h||e.state.sliceDoc(d,r)!=c||n.to>=u.from&&n.from<=u.to)return{range:n};let p=i.changes({from:d,to:r,insert:t.insert}),m=n.to-o.to;return{changes:p,range:l?s.jT.range(Math.max(0,l.anchor+m),Math.max(0,l.head+m)):n.map(p)}})}else r={changes:a,selection:l&&i.selection.replaceRange(l)}}let a="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,a+=".compose",e.inputState.compositionFirstChange&&(a+=".start",e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:a,scrollIntoView:!0})}(e,t,n));return!e.state.facet(eN).some(n=>n(e,t.from,t.to,a,l))&&e.dispatch(l()),!0}class tx{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,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=e.hasFocus,q.safari&&e.contentDOM.addEventListener("input",()=>null),q.gecko&&function(e){!tX.has(e)&&(tX.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}(e.contentDOM.ownerDocument)}handleEvent(e){if(!(!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||11==n.nodeType||(r=E.get(n))&&r.ignoreEvent(t))return!1;return!0}(this.view,e)||this.ignoreDuringComposition(e)))!("keydown"==e.type&&this.keydown(e))&&this.runHandlers(e.type,e)}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=function(e){let t=Object.create(null);function n(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec;if(e&&e.domEventHandlers)for(let r in e.domEventHandlers){let i=e.domEventHandlers[r];i&&n(r).handlers.push(tw(t.value,i))}if(e&&e.domEventObservers)for(let r in e.domEventObservers){let i=e.domEventObservers[r];i&&n(r).observers.push(tw(t.value,i))}}for(let e in tC)n(e).handlers.push(tC[e]);for(let e in t_)n(e).observers.push(t_[e]);return t}(e),n=this.handlers,r=this.view.contentDOM;for(let e in t)if("scroll"!=e){let i=!t[e].handlers.length,o=n[e];o&&!o.handlers.length!=i&&(r.removeEventListener(e,this.handleEvent),o=null),!o&&r.addEventListener(e,this.handleEvent,{passive:i})}for(let e in n)"scroll"!=e&&!t[e]&&r.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){let t;return this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),!!(9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))||((this.tabFocusMode>0&&27!=e.keyCode&&0>tP.indexOf(e.keyCode)&&(this.tabFocusMode=-1),q.android&&q.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))?(this.view.observer.delayAndroidKey(e.key,e.keyCode),!0):q.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((t=tS.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||tk.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(229!=e.keyCode&&this.view.observer.forceFlush(),!1))}flushIOSKey(e){let t=this.pendingIOSKey;return!(!t||"Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,P(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return!!/^key/.test(e.type)&&(!!(this.composing>0)||!!(q.safari&&!q.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function tw(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(e){eU(n.state,e)}}}let tS=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"}
382,{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],tk="dthko",tP=[16,17,18,20,91,92,224,225];function tM(e){return .7*Math.max(0,e)+8}class tj{constructor(e,t,n,r){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){let t=e.ownerDocument,n,r;for(let i=e.parentNode;i&&i!=t.body&&(!n||!r);){;if(1==i.nodeType)!r&&i.scrollHeight>i.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(11==i.nodeType)i=i.host;else break}return{x:n,y:r}}(e.contentDOM),this.atoms=e.state.facet(e4).map(t=>t(e));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(s.yy.allowMultipleSelections)&&function(e,t){let n=e.state.facet(e$);return n.length?n[0](t):q.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!!function(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=u(e.root);if(!r||0==r.rangeCount)return!0;let i=r.getRangeAt(0).getClientRects();for(let e=0;e<i.length;e++){let n=i[e];if(n.left<=t.clientX&&n.right>=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}(e,t)&&1==tL(t)&&null}start(e){!1===this.dragging&&this.select(e)}move(e){var t,n;if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&10>(t=this.startEvent,n=e,Math.max(Math.abs(t.clientX-n.clientX),Math.abs(t.clientY-n.clientY))))return;this.select(this.lastEvent=e);let r=0,i=0,o=0,a=0,s=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:o,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:a,bottom:l}=this.scrollParents.y.getBoundingClientRect());let c=e7(this.view);e.clientX-c.left<=o+6?r=-tM(o-e.clientX):e.clientX+c.right>=s-6&&(r=tM(e.clientX-s)),e.clientY-c.top<=a+6?i=-tM(a-e.clientY):e.clientY+c.bottom>=l-6&&(i=tM(e.clientY-l)),this.setScrollSpeed(r,i)}up(e){null==this.dragging&&this.select(this.lastEvent),!this.dragging&&e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;n<e.ranges.length;n++){let r=e.ranges[n],i=null;if(r.empty){let e=tp(this.atoms,r.from,0);e!=r.from&&(i=s.jT.cursor(e,-1))}else{let e=tp(this.atoms,r.from,-1),t=tp(this.atoms,r.to,1);(e!=r.from||t!=r.to)&&(i=s.jT.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}i&&(!t&&(t=e.ranges.slice()),t[n]=i)}return t?s.jT.create(t,e.mainIndex):e}select(e){let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection,!1===this.dragging))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(e=>e.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}let tC=Object.create(null),t_=Object.create(null),tT=q.ie&&q.ie_version<15||q.ios&&q.webkit_version<604;function tD(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function tE(e,t){t=tD(e.state,ez,t);let{state:n}=e,r,i=1,o=n.toText(t),a=o.lines==n.selection.ranges.length;if(null!=tF&&n.selection.ranges.every(e=>e.empty)&&tF==o.toString()){let e=-1;r=n.changeByRange(r=>{let l=n.doc.lineAt(r.from);if(l.from==e)return{range:r};e=l.from;let c=n.toText((a?o.line(i++).text:t)+n.lineBreak);return{changes:{from:l.from,insert:c},range:s.jT.cursor(r.from+c.length)}})}else r=a?n.changeByRange(e=>
382{let t=o.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:s.jT.cursor(e.from+t.length)}}):n.replaceSelection(o);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}function tQ(e,t,n,r){if(1==r)return s.jT.cursor(t,n);{if(2==r)return function(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),o=t-i.from;if(0==i.length)return s.jT.cursor(t);0==o?n=1:o==i.length&&(n=-1);let a=o,l=o;n<0?a=(0,s.cp)(i.text,o,!1):l=(0,s.cp)(i.text,o);let c=r(i.text.slice(a,l));for(;a>0;){let e=(0,s.cp)(i.text,a,!1);if(r(i.text.slice(e,a))!=c)break;a=e}for(;l<i.length;){let e=(0,s.cp)(i.text,l);if(r(i.text.slice(l,e))!=c)break;l=e}return s.jT.range(a+i.from,l+i.from)}(e.state,t,n);let i=eh.find(e.docView,t),o=e.state.doc.lineAt(i?i.posAtEnd:t),a=i?i.posAtStart:o.from,l=i?i.posAtEnd:o.to;return l<e.state.doc.length&&l==o.to&&l++,s.jT.range(a,l)}}t_.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},tC.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),t_.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},t_.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},tC.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(eZ))if(n=r(e,t))break;if(!n&&0==t.button&&(n=function(e,t){let n=tR(e,t),r=tL(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,o,a){let l=tR(e,t),c,u=tQ(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!o){let t=tQ(e,n.pos,n.bias,r),i=Math.min(t.from,u.from),o=Math.max(t.to,u.to);u=i<u.from?s.jT.range(i,o):s.jT.range(o,i)}if(o)return i.replaceRange(i.main.extend(u.from,u.to));if(a&&1==r&&i.ranges.length>1&&(c=function(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:i}=e.ranges[n];if(r<=t&&i>=t)return s.jT.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}(i,l.pos)))return c;if(a)return i.addRange(u);else return s.jT.create([u])}}}(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new tj(e,t,n,r)),r&&e.observer.ignore(()=>{S(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let i=e.inputState.mouseSelection;if(i)return i.start(t),!1===i.dragging}return!1};let t$=(e,t,n)=>t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right;function tR(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:function(e,t,n,r){let i=eh.find(e.docView,t);if(!i)return 1;let o=t-i.posAtStart;if(0==o)return 1;if(o==i.length)return -1;let a=i.coordsAt(o,-1);if(a&&t$(n,r,a))return -1;let s=i.coordsAt(o,1);return s&&t$(n,r,s)?1:a&&a.bottom>=r?-1:1}(e,n,t.clientX,t.clientY)}}let tZ=q.ie&&q.ie_version<=11,tI=null,tA=0,tN=0;function tL(e){if(!tZ)return e.detail;let t=tI,n=tN;return tI=e,tN=Date.now(),tA=!t||n>Date.now()-400&&2>Math.abs(t.clientX-e.clientX)&&2>Math.abs(t.clientY-e.clientY)?(tA+1)%3:1}function tz(e,t,n,r){var i,o;let a;if(!(n=tD(e.state,ez,n)))return;let s=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:l}=e.inputState;let c=r&&l&&(i=e,o=t,(a=i.state.facet(eR)).length?a[0](o):q.mac?!o.altKey:!o.ctrlKey)?{from:l.from,to:l.to}:null,u={from:s,insert:n},d=e.state.changes(c?[c,u]:u);e.focus(),e.dispatch({changes:d,selection:{anchor:d.mapPos(s,-1),head:d.mapPos(s,1)},userEvent:c?"move.drop":"input.drop"}),e.inputState.draggedContent=null}tC.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let r=e.docView.nearest(t.target);if(r&&r.isWidget){let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=s.jT.range(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",tD(e.state,eF,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1},tC.dragend=e=>(e.inputState.draggedContent=null,!1),tC.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,o=()=>{++i==n.length&&tz(e,t,r.filter(e=>null!=e).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=o,t.onload=()=>{!/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)&&(r[e]=t.result),o()},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text");if(n)return tz(e,t,n,!0),!0}return!1},tC.paste=(e,t)=>
382{if(e.state.readOnly)return!0;e.observer.flush();let n=tT?null:t.clipboardData;return n?(tE(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(!function(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),tE(e,n.value)},50)}(e),!1)};let tF=null;tC.copy=tC.cut=(e,t)=>{let{text:n,ranges:r,linewise:i}=function(e){let t=[],n=[],r=!1;for(let r of e.selection.ranges)!r.empty&&(t.push(e.sliceDoc(r.from,r.to)),n.push(r));if(!t.length){let i=-1;for(let{from:r}of e.selection.ranges){let o=e.doc.lineAt(r);o.number>i&&(t.push(o.text),n.push({from:o.from,to:Math.min(e.doc.length,o.to+1)})),i=o.number}r=!0}return{text:tD(e,eF,t.join(e.lineBreak)),ranges:n,linewise:r}}(e.state);if(!n&&!i)return!1;tF=i?n:null,"cut"==t.type&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=tT?null:t.clipboardData;return o?(o.clearData(),o.setData("text/plain",n),!0):(!function(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}(e,n),!1)};let tV=s.q6.define();function tW(e,t){let n=[];for(let r of e.facet(eL)){let i=r(e,t);i&&n.push(i)}return n?e.update({effects:n,annotations:tV.of(!0)}):null}function tY(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=tW(e.state,t);n?e.dispatch(n):e.update([])}},10)}t_.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),tY(e)},t_.blur=e=>{e.observer.clearSelectionRange(),tY(e)},t_.compositionstart=t_.compositionupdate=e=>{!e.observer.editContext&&(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},t_.compositionend=e=>{!e.observer.editContext&&(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,q.chrome&&q.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},t_.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},tC.beforeinput=(e,t)=>{var n,r;let i;if("insertReplacementText"==t.inputType&&e.observer.editContext){let r=null===(n=t.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),i=t.getTargetRanges();if(r&&i.length){let t=i[0],n=e.posAtDOM(t.startContainer,t.startOffset),o=e.posAtDOM(t.endContainer,t.endOffset);return ty(e,{from:n,to:o,insert:e.state.toText(r)},null),!0}}if(q.chrome&&q.android&&(i=tS.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(i.key,i.keyCode),"Backspace"==i.key||"Delete"==i.key)){let t=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0;setTimeout(()=>{var n;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return q.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),q.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>t_.compositionend(e,t),20),!1};let tX=new Set,tB=["pre-wrap","normal","pre-line","break-spaces"],tq=!1;function tU(){tq=!1}class tH{constructor(e){this.lineWrapping=e,this.doc=s.xv.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return tB.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:!this.heightSamples[Math.floor(10*r)]&&(t=!0,this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,n,r,i,o){let a=tB.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=i,s){this.heightSamples={};for(let e=0;e<o.length;
vendor: 11,291 bytes, line 382
382e++){let t=o[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class tG{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class tJ{constructor(e,t,n,r,i){this.from=e,this.length=t,this.top=n,this.height=r,this._content=i}get type(){return"number"==typeof this._content?ea.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 eu?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new tJ(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var tK=((a=tK||(tK={}))[a.ByPos=0]="ByPos",a[a.ByHeight=1]="ByHeight",a[a.ByPosNoHeight=2]="ByPosNoHeight",a);class t0{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>.001&&(tq=!0),this.height=e)}replace(e,t,n){return t0.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let i=this,o=n.doc;for(let a=r.length-1;a>=0;a--){let{fromA:s,toA:l,fromB:c,toB:u}=r[a],d=i.lineAt(s,tK.ByPosNoHeight,n.setDoc(t),0,0),f=d.to>=l?d:i.lineAt(l,tK.ByPosNoHeight,n,0,0);for(u+=f.to-l,l=f.to;a>0&&d.from<=r[a-1].toA;)s=r[a-1].fromA,c=r[a-1].fromB,a--,s<d.from&&(d=i.lineAt(s,tK.ByPosNoHeight,n,0,0));c+=d.from-s,s=d.from;let h=t9.build(n.setDoc(o),e,c,u);i=t1(i,i.replace(s,l,h))}return i.updateHeight(n,0)}static empty(){return new t5(0,0)}static of(e){if(1==e.length)return e[0];let t=0,n=e.length,r=0,i=0;for(;;)if(t==n){if(r>2*i){let i=e[t-1];i.break?e.splice(--t,1,i.left,null,i.right):e.splice(--t,1,i.left,i.right),n+=1+i.break,r-=i.size}else if(i>2*r){let t=e[n];t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),n+=2+t.break,i-=t.size}else break}else if(r<i){let n=e[t++];n&&(r+=n.size)}else{let t=e[--n];t&&(i+=t.size)}let o=0;return null==e[t-1]?(o=1,t--):null==e[t]&&(o=1,n++),new t4(t0.of(e.slice(0,t)),o,t0.of(e.slice(n)))}}function t1(e,t){return e==t?e:(e.constructor!=t.constructor&&(tq=!0),t)}t0.prototype.size=1;class t2 extends t0{constructor(e,t,n){super(e,t),this.deco=n}blockAt(e,t,n,r){return new tJ(r,this.length,n,this.height,this.deco||0)}lineAt(e,t,n,r,i){return this.blockAt(0,n,r,i)}forEachLine(e,t,n,r,i,o){e<=i+this.length&&t>=i&&o(this.blockAt(0,n,r,i))}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class t5 extends t2{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,r){return new tJ(r,this.length,n,this.height,this.breaks)}replace(e,t,n){let r=n[0];return 1==n.length&&(r instanceof t5||r instanceof t3&&4&r.flags)&&10>Math.abs(this.length-r.length)?(r instanceof t3?r=new t5(r.length,this.height):r.height=this.height,!this.outdated&&(r.outdated=!1),r):t0.of(n)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setHeight(r.heights[r.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class t3 extends t0{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,i=r-n+1,o,a=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*i);o=t/i,this.length>i+1&&(a=(this.height-t)/(this.length-i-1))}else o=this.height/i;return{firstLine:n,lastLine:r,perLine:o,perChar:a}}blockAt(e,t,n,r){let{firstLine:i,lastLine:o,perLine:a,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let i=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),o=t.doc.lineAt(i),l=a+o.length*s;return new tJ(o.from,o.length,Math.max(n,e-l/2),l,0)}{let r=Math.max(0,Math.min(o-i,Math.floor((e-n)/a))),{from:s,length:l}=t.doc.line(i+r);return new tJ(s,l,n+a*r,a,0)}}lineAt(e,t,n,r,i){if(t==tK.ByHeight)return this.blockAt(e,n,r,i);if(t==tK.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new tJ(t,r-t,0,0,0)}let{firstLine:o,perLine:a,perChar:s}=this.heightMetrics(n,i),l=n.doc.lineAt(e),c=a+l.length*s,u=l.number-o,d=r+a*u+s*(l.from-i-u);return new tJ(l.from,l.length,Math.max(r,Math.min(d,r+this.height-c)),c,0)}forEachLine(e,t,n,r,i,o){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:a,perLine:s,perChar:l}=this.heightMetrics(n,i);for(let c=e,u=r;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-a;u+=s*n+l*(e-i-n)}let r=s+l*t.length;o(new tJ(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(e,t,n){let r=this.length-t;if(r>0){let e=n[n.length-1];e instanceof t3?n[n.length-1]=new t3(e.length+r):n.push(null,new t3(r-1))}if(e>0){let t=n[0];t instanceof t3?n[0]=new t3(e+t.length):n.unshift(new t3(e-1),null)}return t0.of(n)}decomposeLeft(e,t){t.push(new t3(e-1),null)}decomposeRight(e,t){t.push(null,new t3(this.length-e-1))}updateHeight(e,t=0,n=!1,r){let i=t+this.length;if(r&&r.from<=t+this.length&&r.more){let n=[],o=Math.max(t,r.from),a=-1;for(r.from>t&&n.push(new t3(r.from-t-1).updateHeight(e,t));o<=i&&r.more;){let t=e.doc.lineAt(o).length;n.length&&n.push(null);let i=r.heights[r.index++];-1==a?a=i:Math.abs(i-a)>=.001&&(a=-2);let s=new t5(t,i);s.outdated=!1,n.push(s),o+=t+1}o<=i&&n.push(null,new t3(i-o).updateHeight(e,o));let s=t0.of(n);return(a<0||Math.abs(s.height-this.height)>=.001||Math.abs(a-this.heightMetrics(e,t).perLine)>=.001)&&(tq=!0),t1(this,s)}return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class t4 extends t0{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags}blockAt(e,t,n,r){let i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}lineAt(e,t,n,r,i){let o=r+this.left.height,a=i+this.left.length+this.break,s=t==tK.ByHeight?e<o:e<a,l=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,o,a);if(this.break||(s?l.to<a:l.from>a))return l;let c=t==tK.ByPosNoHeight?tK.ByPosNoHeight:tK.ByPos;return s?l.join(this.right.lineAt(a,c,n,o,a)):this.left.lineAt(a,c,n,r,i).join(l)}forEachLine(e,t,n,r,i,o){let a=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,o),t>=s&&this.right.forEachLine(e,t,n,a,s,o);else{let l=this.lineAt(s,tK.ByPos,n,r,i);e<l.from&&this.left.forEachLine(e,l.from-1,n,r,i,o),l.to>=e&&l.from<=t&&o(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,a,s,o)}}replace(e,t,n){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let i=[];e>0&&this.decomposeLeft(e,i);let o=i.length;for(let e of n)i.push(e);if(e>0&&t6(i,o-1),t<this.length){let e=i.length;this.decomposeRight(t,i),t6(i,e)}return t0.of(i)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&e>=++n&&t.push(null),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?t0.of(this.break?[e,null,t]:[e,t]):(this.left=t1(this.left,e),this.right=t1(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,r){let{left:i,right:o}=this,a=t+i.length+this.break,s=null;return(r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=a+o.length&&r.more?s=o=o.updateHeight(e,a,n,r):o.updateHeight(e,a,n),s)?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function t6(e,t){let n,r;null==e[t]&&(n=e[t-1])instanceof t3&&(r=e[t+1])instanceof t3&&e.splice(t-1,3,new t3(n.length+1+r.length))}class t9{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof t5?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new t5(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let o=t-e;n.block?this.addBlock(new t2(o,r,n)):(o||i||r>=5)&&this.addLineDeco(r,i,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new t5(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new t3(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof t5)return e;let t=new t5(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof t5||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new t5(0,-1));let n=e;for(let e of this.nodes)e instanceof t5&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(e,t,n,r){let i=new t9(n,e);return s.Xs.spans(t,n,r,i,0),i.finish(n)}}class t8{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&ef(e,t,this.changes,5)}}class t7{constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}draw(e,t){return es.replace({widget:new ne(this.displaySize*(t?e.scaleY:e.scaleX),t)}
382).range(this.from,this.to)}}class ne extends eo{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class nt{constructor(e){this.state=e,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=no,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=eb.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(e2).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new tH(t),this.stateDeco=e.facet(e5).filter(e=>"function"!=typeof e),this.heightMap=t0.empty().applyChanges(this.stateDeco,s.xv.empty,this.heightOracle.setDoc(e.doc),[new tt(0,0,0,e.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=es.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:n}=this.lineBlockAt(r);e.push(new nn(t,n))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?no:new na(this.heightOracle,this.heightMap,this.viewports),e.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,e=>{this.viewportLines.push(ns(e,this.scaler))})}update(e,t=null){var n,r,i;let o;this.state=e.state;let a=this.stateDeco;this.stateDeco=this.state.facet(e5).filter(e=>"function"!=typeof e);let l=e.changedRanges;let c=tt.extendWithRanges(l,(n=a,r=this.stateDeco,i=e?e.changes:s.as.empty(this.state.doc.length),o=new t8,s.Xs.compare(n,r,i,o,0),o.changes)),u=this.heightMap.height,d=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);tq=!1,this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),c),(this.heightMap.height!=u||tq)&&(e.flags|=2),d?(this.scrollAnchorPos=e.changes.mapPos(d.from,-1),this.scrollAnchorHeight=d.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let f=c.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<f.from||t.range.head>f.to)||!this.viewportIsAppropriate(f))&&(f=this.getViewport(0,t));let h=f.from!=this.viewport.from||f.to!=this.viewport.to;this.viewport=f,e.flags|=this.updateForViewport(),(h||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(eW)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?eb.RTL:eb.LTR;let o=this.heightOracle.mustRefreshForWrapping(i),a=t.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:e,scaleY:n}=y(t,a);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,c|=16,o=l=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||
3820)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=f)&&(this.paddingTop=d,this.paddingBottom=f,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=j(e.scrollDOM);let p=(this.printing?function(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}:function(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,i=r.defaultView||window,o=Math.max(0,n.left),a=Math.min(i.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(i.innerHeight,n.bottom);for(let t=e.parentNode;t&&t!=r.body;)if(1==t.nodeType){let n=t,r=window.getComputedStyle(n);if((n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)&&"visible"!=r.overflow){let r=n.getBoundingClientRect();o=Math.max(o,r.left),a=Math.min(a,r.right),s=Math.max(s,r.top),l=Math.min(t==e.parentNode?i.innerHeight:l,r.bottom)}t="absolute"==r.position||"fixed"==r.position?n.offsetParent:n.parentNode}else if(11==t.nodeType)t=t.host;else break;return{left:o-n.left,right:Math.max(o,a)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}})(t,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;
382if(O!=this.inView&&(this.inView=O,O&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let v=a.width;if((this.contentDOMWidth!=v||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),l){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(o=!0),o||r.lineWrapping&&Math.abs(v-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:a,textHeight:s}=e.docView.measureTextSize();(o=n>0&&r.refresh(i,n,a,s,v/a,t))&&(e.docView.minWidth=0,c|=16)}for(let n of(m>0&&g>0?u=Math.max(m,g):m<0&&g<0&&(u=Math.min(m,g)),tq=!1,this.viewports)){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(o?t0.empty().applyChanges(this.stateDeco,s.xv.empty,this.heightOracle,[new tt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new tG(n.from,i))}tq&&(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,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.heightOracle,{visibleTop:o,visibleBottom:a}=this,s=new nn(r.lineAt(o-1e3*n,tK.ByHeight,i,0,0).from,r.lineAt(a+(1-n)*1e3,tK.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),o=r.lineAt(e,tK.ByPos,i,0,0),a;a="center"==t.y?(o.top+o.bottom)/2-n/2:"start"==t.y||"nearest"==t.y&&e<s.from?o.top:o.bottom-n,s=new nn(r.lineAt(a-500,tK.ByHeight,i,0,0).from,r.lineAt(a+n+500,tK.ByHeight,i,0,0).to)}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new nn(this.heightMap.lineAt(n,tK.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,tK.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,tK.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,tK.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:a}=this;return(0==e||r<=o-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||i>=a+Math.max(10,Math.min(n,250)))&&r>o-2e3&&i<a+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let r of e)!t.touchesRange(r.from,r.to)&&n.push(new t7(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,i=r>>1,o=r<<1;if(this.defaultTextDirection!=eb.LTR&&!n)return[];let a=[],l=(r,o,c,u)=>{if(o-r<i)return;let d=this.state.selection.main,f=[d.from];for(let e of(!d.empty&&f.push(d.to),f))if(e>r&&e<o){l(r,e-10,c,u),l(e+10,o,c,u);return}let h=function(e,t){for(let n of e)if(t(n))return n}(e,e=>e.from>=c.from&&e.to<=c.to&&Math.abs(e.from-r)<i&&Math.abs(e.to-o)<i&&!f.some(t=>e.from<t&&e.to>t));if(!h){if(o<c.to&&t&&n&&t.visibleRanges.some(e=>e.from<=o&&e.to>=o)){let e=t.moveToLineBoundary(s.jT.cursor(o),!1,!0).head;e>r&&(o=e)}let e=this.gapSize(c,r,o,u),i=n||e<2e6?e:2e6;h=new t7(r,o,e,i)}a.push(h)},c=t=>{let i,a;if(t.length<o||t.type!=ea.Text)return;let c=function(e,t,n){let r=[],i=e,o=0;return s.Xs.spans(n,e,t,{span(){},point(e,t){e>i&&(r.push({from:i,to:e}),o+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),o+=t-i),{total:o,ranges:r}}(t.from,t.to,this.stateDeco);if(c.total<o)return;let u=this.scrollTarget?this.scrollTarget.range.head:null;if(n){let e,n,o=r/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=u){let r=ni(c,u),i=((this.visibleBottom-this.visibleTop)/2+o)/t.height;e=r-i,n=r+i}else e=(this.visibleTop-t.top-o)/t.height,n=(this.visibleBottom-t.top+o)/t.height;i=nr(c,e),a=nr(c,n)}else{let n,o,s=c.total*this.heightOracle.charWidth,l=r*this.heightOracle.charWidth,d=0;if(s>2e6)for(let n of e)n.from>=t.from&&n.from<t.to&&n.size!=n.displaySize&&n.from*this.heightOracle.charWidth+d<this.pixelViewport.left&&(d=n.size-n.displaySize);let f=this.pixelViewport.left+d,h=this.pixelViewport.right+d;if(null!=u){let e=ni(c,u),t=((h-f)/2+l)/s;n=e-t,o=e+t}else n=(f-l)/s,o=(h+l)/s;
vendor: 8,870 bytes, line 382
382i=nr(c,n),a=nr(c,o)}i>t.from&&l(t.from,i,t,c),a<t.to&&l(a,t.to,t,c)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(c):c(e);return a}gapSize(e,t,n,r){let i=ni(r,n)-ni(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}updateLineGaps(e){!t7.same(e,this.lineGaps)&&(this.lineGaps=e,this.lineGapDeco=es.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];s.Xs.spans(t,this.viewport.from,this.viewport.to,{span(e,t){n.push({from:e,to:t})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let t=0;t<n.length&&!(8&r);t++){let i=this.visibleRanges[t],o=n[t];(i.from!=o.from||i.to!=o.to)&&(r|=4,!(e&&e.mapPos(i.from,-1)==o.from&&e.mapPos(i.to,1)==o.to)&&(r|=8))}return this.visibleRanges=n,r}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ns(this.heightMap.lineAt(e,tK.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||ns(this.heightMap.lineAt(this.scaler.fromDOM(e),tK.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return ns(this.heightMap.blockAt(this.scaler.fromDOM(e),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 nn{constructor(e,t){this.from=e,this.to=t}}function nr({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:i}=t[e],o=i-n;if(r<=o)return n+r;r-=o}}function ni(e,t){let n=0;for(let{from:r,to:i}of e.ranges){if(t<=i){n+=t-r;break}n+=i-r}return n/e.total}let no={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class na{constructor(e,t,n){let r=0,i=0,o=0;for(let a of(this.viewports=n.map(({from:n,to:i})=>{let o=t.lineAt(n,tK.ByPos,e,0,0).top,a=t.lineAt(i,tK.ByPos,e,0,0).bottom;return r+=a-o,{from:n,to:i,top:o,bottom:a,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r),this.viewports))a.domTop=o+(a.top-i)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),i=a.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}fromDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}eq(e){return e instanceof na&&this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to)}}function ns(e,t){if(1==t.scale)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new tJ(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>ns(e,t)):e._content)}let nl=s.r$.define({combine:e=>e.join(" ")}),nc=s.r$.define({combine:e=>e.indexOf(!0)>-1}),nu=l.V.newName(),nd=l.V.newName(),nf=l.V.newName(),nh={"&light":"."+nd,"&dark":"."+nf};function np(e,t,n){return new l.V(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!n||!n[t])throw RangeError(`Unsupported selector: ${t}`);return n[t]}):e+" "+t})}let nm=np("."+nu,{"&":{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-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"},".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"}},nh),ng={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},nO=q.ie&&q.ie_version<=11;class nv{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new x,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=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(q.ie&&q.ie_version<=11||q.ios&&e.composing)&&t.some(e=>
382"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&!1!==e.constructor.EDIT_CONTEXT&&!(q.chrome&&q.chrome_version<126)&&(this.editContext=new nx(e),e.state.facet(eH)&&(e.contentDOM.editContext=this.editContext.editContext)),nO&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.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 e;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.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(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){for(let t of(this.gapIntersection.disconnect(),e))this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(eH)?n.root.activeElement!=this.dom:!f(this.dom,r))return;let i=r.anchorNode&&n.docView.nearest(r.anchorNode);if(i&&i.ignoreEvent(e)){!t&&(this.selectionChanged=!1);return}(q.ie&&q.ie_version<=11||q.android&&q.chrome)&&!n.state.selection.main.empty&&r.focusNode&&p(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=u(e.root);if(!t)return!1;let n=q.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return ny(e,n)}let n=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?ny(e,n):null}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=f(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,v(n));;)if(r){if(1!=n.nodeType)return!1;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:r=v(n=e)}else{if(n==e)return!0;r=m(n),n=n.parentNode}}(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:!t&&(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(11==n.nodeType)n=n.host;else break;if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){!this.active&&(this.observer.observe(this.dom,ng),nO&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),nO&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;!this.delayedAndroidKey&&(this.flushingAndroidKey=this.view.win.requestAnimationFrame(()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&P(this.dom,e.key,e.keyCode))})),(!this.delayedAndroidKey||"Enter"==e)&&(this.delayedAndroidKey={key:e,keyCode:t,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 e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let i of e){let e=this.readMutation(i);e&&(e.typeOver&&(r=!0),-1==t?{from:t,to:n}=e:(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&f(this.dom,this.selectionRange);
382if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new tv(this.view,e,t,n);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let n=this.view.state,r=tb(this.view,t);return this.view.state==n&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){let n=nb(t,e.previousSibling||e.target.previousSibling,-1),r=nb(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}if("characterData"==e.type)return{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue};return null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(eH)!=e.state.facet(eH)&&(e.view.contentDOM.editContext=e.state.facet(eH)?this.editContext.editContext:null))}destroy(){var e,t,n;for(let r of(this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(n=this.resizeScroll)||void 0===n||n.disconnect(),this.scrollTargets))r.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 nb(e,t,n){for(;t;){let r=E.get(t);if(r&&r.parent==e)return r;let i=t.parentNode;t=i!=e.dom?i:n>0?t.nextSibling:t.previousSibling}return null}function ny(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,a=e.docView.domAtPos(e.state.selection.main.anchor);return p(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}class nx{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});for(let n in this.handlers.textupdate=t=>{let{anchor:n}=e.state.selection.main,r=this.toEditorPos(t.updateRangeStart),i=this.toEditorPos(t.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:t.updateRangeStart,editorBase:r,drifted:!1});let o={from:r,to:i,insert:s.xv.of(t.text.split("\n"))};if(o.from==this.from&&n<this.from?o.from=n:o.to==this.to&&n>this.to&&(o.to=n),o.from!=o.to||o.insert.length){if(this.pendingContextChange=o,!e.state.readOnly){let n=this.to-this.from+(o.to-o.from+o.insert.length);ty(e,o,s.jT.single(this.toEditorPos(t.selectionStart,n),this.toEditorPos(t.selectionEnd,n)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))}}
vendor: 4,317 bytes, line 382
382,this.handlers.characterboundsupdate=n=>{let r=[],i=null;for(let t=this.toEditorPos(n.rangeStart),o=this.toEditorPos(n.rangeEnd);t<o;t++){let n=e.coordsForChar(t);i=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||i||new DOMRect,r.push(i)}t.updateCharacterBounds(n.rangeStart,r)},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if("None"!=t&&"None"!=r){let i=this.toEditorPos(e.rangeStart),o=this.toEditorPos(e.rangeEnd);if(i<o){let e=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==r?1:2}px`;n.push(es.mark({attributes:{style:e}}).range(i,o))}}}e.dispatch({effects:eq.of(es.set(n))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}},this.handlers)t.addEventListener(n,this.handlers[n]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=u(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((i,o,a,s,l)=>{if(n)return;let c=l.length-(o-i);if(r&&o>=r.to){if(r.from==i&&r.to==o&&r.insert.eq(l)){r=this.pendingContextChange=null,t+=c,this.to+=c;return}r=null,this.revertPending(e.state)}if(i+=t,(o+=t)<=this.from)this.from+=c,this.to+=c;else if(i<this.to){if(i<this.from||o>this.to||this.to-this.from+l.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(o),l.toString()),this.to+=c}t+=c}),r&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange;this.composing&&(this.composing.drifted||e.transactions.some(e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class nw{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.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;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="
382cm-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),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;for(let t of(this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach(e=>n(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new nt(e.state||s.yy.create(e)),e.scrollTo&&e.scrollTo.is(eB)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(eJ).map(e=>new e0(e)),this.plugins))t.update(this);this.observer=new nv(this),this.inputState=new tx(this),this.inputState.ensureHandlers(this.plugins),this.docView=new tr(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let t=1==e.length&&e[0]instanceof s.YW?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,r,i=this.state;for(let t of e){if(t.startState!=i)throw RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=t.state}if(this.destroyed){this.viewState.state=i;return}let o=this.hasFocus,a=0,l=null;e.some(e=>e.annotation(tV))?(this.inputState.notifiedFocused=o,a=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,!(l=tW(i,o))&&(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),((u=this.observer.readChange())&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(s.yy.phrases)!=this.state.facet(s.yy.phrases))return this.setState(i);r=tn.create(this,i,e),r.flags|=a;let d=this.viewState.scrollTarget;try{for(let t of(this.updateState=2,e)){if(d&&(d=d.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection;d=new eX(e.empty?e:s.jT.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(eB)&&(d=e.value.clip(this.state))}this.viewState.update(r,d),this.bidiCache=nP.update(this.bidiCache,r.changes),!r.empty&&(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(te)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(nl)!=r.state.facet(nl)&&(this.viewState.mustMeasureContent=!0),(t||n||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),t&&this.docViewUpdate(),!r.empty)for(let e of this.state.facet(eA))try{e(r)}catch(e){eU(this.state,e,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!tb(this,u)&&c.force&&P(this.contentDOM,c.key,c.keyCode)})}setState(e){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);for(let t of(this.viewState=new nt(e),this.plugins=e.facet(eJ).map(e=>new e0(e)),this.pluginMap.clear(),this.plugins))t.update(this);this.docView.destroy(),this.docView=new tr(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(eJ),n=e.state.facet(eJ);if(t!=n){let r=[];for(let i of n){let n=t.indexOf(i);if(n<0)r.push(new e0(i));else{let t=this.plugins[n];
382t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this);t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(e){eU(this.state,e,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:i,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(o<0){if(j(n))i=-1,o=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);i=e.from,o=e.top}}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let s=[];!(4&a)&&([this.measureRequests,s]=[s,this.measureRequests]);let l=s.map(e=>{try{return e.read(this)}catch(e){return eU(this.state,e),nk}}),c=tn.create(this,this.state,[]),u=!1;c.flags|=a,t?t.flags|=a:t=c,this.updateState=2,!c.empty&&(this.updatePlugins(c),this.inputState.update(c),this.updateAttrs(),(u=this.docView.update(c))&&this.docViewUpdate());for(let e=0;e<s.length;e++)if(l[e]!=nk)try{let t=s[e];t.write&&t.write(l[e],this)}catch(e){eU(this.state,e)}if(u&&this.docView.updateSelection(!0),!c.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,o=-1;continue}{let e=(i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-o;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,o=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(eA))e(t)}get themeClasses(){return nu+" "+(this.state.facet(nc)?nf:nd)+" "+this.state.facet(nl)}updateAttrs(){let e=nM(this,e1,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(eH)?"true":"false",class:"cm-content",style:`${q.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),nM(this,e2,t);let n=this.observer.ignore(()=>{let n=ei(this.contentDOM,this.contentAttrs,t),r=ei(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let e of n.effects)e.is(nw.announce)&&(t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules=this.state.facet(te);let e=this.state.facet(nw.cspNonce);l.V.mount(this.root,this.styleModules.concat(nm).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(!(this.measureRequests.indexOf(e)>-1)){if(null!=e.key){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.spec==e)||null),t&&t.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(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return tm(this,e,th(this,e,t,n))}moveByGroup(e,t){return tm(this,e,th(this,e,t,t=>{var n,r,i;let o,a;return n=this,r=e.head,i=t,a=(o=n.state.charCategorizer(r))(i),e=>
382{let t=o(e);return a==s.D0.Space&&(a=t),a==t}}))}visualLineSide(e,t){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),i=n[t?n.length-1:0];return s.jT.cursor(i.side(t,r)+e.from,i.forward(!t,r)?1:-1)}moveToLineBoundary(e,t,n=!0){return function(e,t,n,r){let i=tf(e,t.head),o=r&&i.type==ea.Text&&(e.lineWrapping||i.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head):null;if(o){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(i.from),a=e.posAtCoords({x:n==(r==eb.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2});if(null!=a)return s.jT.cursor(a,n?-1:1)}return s.jT.cursor(n?i.to:i.from,n?-1:1)}(this,e,t,n)}moveVertically(e,t,n){return tm(this,e,function(e,t,n,r){let i=t.head,o=n?1:-1;if(i==(n?e.state.doc.length:0))return s.jT.cursor(i,t.assoc);let a=t.goalColumn,l,c=e.contentDOM.getBoundingClientRect(),u=e.coordsAtPos(i,t.assoc||-1),d=e.documentTop;if(u)null==a&&(a=u.left-c.left),l=o<0?u.top:u.bottom;else{let t=e.viewState.lineBlockAt(i);null==a&&(a=Math.min(c.right-c.left,e.defaultCharacterWidth*(i-t.from))),l=(o<0?t.top:t.bottom)+d}let f=c.left+a,h=null!=r?r:e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let n=l+(h+t)*o,r=tu(e,{x:f,y:n},!1,o);if(n<c.top||n>c.bottom||(o<0?r<i:r>i)){let t=e.docView.coordsForChar(r),i=!t||n<t.top?-1:1;return s.jT.cursor(r,i,void 0,a)}}}(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),tu(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),i=this.bidiSpans(r);return b(n,i[e_.find(i,e-r.from,-1,t)].dir==eb.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(eV)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>nS)return eE(e.length);let t=this.textDirectionAt(e.from),n;for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t&&(r.fresh||function e(t,n){if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i.from!=o.from||i.to!=o.to||i.direction!=o.direction||!e(i.inner,o.inner))return!1}return!0}(r.isolates,n=e9(this,e))))return r.order;!n&&(n=e9(this,e));let r=function(e,t,n){if(!e)return[new e_(0,0,t==ex?1:0)];if(t==ey&&!n.length&&!eC.test(e))return eE(e.length);if(n.length)for(;e.length>eT.length;)eT[eT.length]=256;let r=[],i=t==ey?0:1;return eD(e,i,i,n,0,e.length,r),r}(e.text,t,n);return this.bidiCache.push(new nP(e.from,e.to,t,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||q.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{S(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of(this.root.activeElement==this.contentDOM&&this.contentDOM.blur(),this.plugins))e.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(e,t={}){return eB.of(new eX("number"==typeof e?s.jT.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return eB.of(new eX(s.jT.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return eK.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return eK.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=l.V.newName(),r=[nl.of(n),te.of(np(`.${n}`,e))];return t&&t.dark&&r.push(nc.of(!0)),r}static baseTheme(e){return s.Wl.lowest(te.of(np("."+nu,e,nh)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),r=n&&E.get(n)||E.get(e);return(null===(t=null==r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}nw.styleModule=te,nw.inputHandler=eN,nw.clipboardInputFilter=ez,nw.clipboardOutputFilter=eF,nw.scrollHandler=eY,nw.focusChangeEffect=eL,nw.perLineTextDirection=eV,nw.exceptionSink=eI,nw.updateListener=eA,nw.editable=eH,nw.mouseSelectionStyle=eZ,nw.dragMovesSelection=eR,nw.clickAddsSelectionRange=e$,nw.decorations=e5,nw.outerDecorations=e3,nw.atomicRanges=e4,nw.bidiIsolatedRanges=e6,nw.scrollMargins=e8,nw.darkTheme=nc,nw.cspNonce=s.r$.define({combine:e=>e.length?e[0]:""}),nw.contentAttributes=e2,nw.editorAttributes=e1,nw.lineWrapping=nw.contentAttributes.of({class:"cm-lineWrapping"}),nw.announce=s.Py.define();let nS=4096,nk={};class nP{constructor(e,t,n,r,i,o){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=i,this.order=o}static update(e,t){if(t.empty&&!e.some(e=>e.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:eb.LTR;for(let i=Math.max(0,e.length-10);i<e.length;i++){let o=e[i];o.dir==r&&!t.touchesRange(o.from,o.to)&&n.push(new nP(t.mapPos(o.from,1),t.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return n}}function nM(e,t,n){for(let r=e.state.facet(t),i=r.length-1;i>=0;i--){let t=r[i],o="function"==typeof t?t(e):t;o&&et(o,n)}return n}let nj=q.mac?"mac":q.windows?"win":q.linux?"linux":"key";
382function nC(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}let n_=s.Wl.default(nw.domEventHandlers({keydown:(e,t)=>(function(e,t,n,r){nQ=t;let i=(0,c.YG)(t),o=(0,s.gm)(i,0),a=(0,s.nZ)(o)==i.length&&" "!=i,l="",u=!1,d=!1,f=!1;nE&&nE.view==n&&nE.scope==r&&(l=nE.prefix+" ",0>tP.indexOf(t.keyCode)&&(d=!0,nE=null));let h=new Set,p=e=>{if(e){for(let t of e.run)if(!h.has(t)&&(h.add(t),t(n)))return e.stopPropagation&&(f=!0),!0;e.preventDefault&&(e.stopPropagation&&(f=!0),d=!0)}return!1},m=e[r],g,O;return m&&(p(m[l+nC(i,t,!a)])?u=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(q.windows&&t.ctrlKey&&t.altKey)&&(g=c.ue[t.keyCode])&&g!=i?p(m[l+nC(g,t,!0)])?u=!0:t.shiftKey&&(O=c.uY[t.keyCode])!=i&&O!=g&&p(m[l+nC(O,t,!1)])&&(u=!0):a&&t.shiftKey&&p(m[l+nC(i,t,!0)])&&(u=!0),!u&&p(m._any)&&(u=!0)),d&&(u=!0),u&&f&&t.stopPropagation(),nQ=null,u})(function(e){let t=e.facet(nT),n=nD.get(t);return!n&&nD.set(t,n=function(e,t=nj){let n=Object.create(null),r=Object.create(null),i=(e,t)=>{let n=r[e];if(null==n)r[e]=t;else if(n!=t)throw Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},o=(e,r,o,a,s)=>{var l,c;let u=n[e]||(n[e]=Object.create(null)),d=r.split(/ (?!$)/).map(e=>(function(e,t){let n,r,i,o;let a=e.split(/-(?!$)/),s=a[a.length-1];"Space"==s&&(s=" ");for(let e=0;e<a.length-1;++e){let s=a[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else if(/^s(hift)?$/i.test(s))i=!0;else if(/^mod$/i.test(s))"mac"==t?o=!0:r=!0;else throw Error("Unrecognized modifier name: "+s)}return n&&(s="Alt-"+s),r&&(s="Ctrl-"+s),o&&(s="Meta-"+s),i&&(s="Shift-"+s),s})(e,t));for(let t=1;t<d.length;t++){let n=d.slice(0,t).join(" ");i(n,!0),!u[n]&&(u[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=nE={view:t,prefix:n,scope:e};return setTimeout(()=>{nE==r&&(nE=null)},4e3),!0}]})}let f=d.join(" ");i(f,!1);let h=u[f]||(u[f]={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())||[]});o&&h.run.push(o),a&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)};for(let r of e){let e=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));!e._any&&(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:i}=r;for(let t in e)e[t].run.push(e=>i(e,nQ))}let i=r[t]||r.key;if(i)for(let t of e)o(t,i,r.run,r.preventDefault,r.stopPropagation),r.shift&&o(t,"Shift-"+i,r.shift,r.preventDefault,r.stopPropagation)}return n}(t.reduce((e,t)=>e.concat(t),[]))),n}(t.state),e,t,"editor")})),nT=s.r$.define({enables:n_}),nD=new WeakMap,nE=null,nQ=null;class n${constructor(e,t,n,r,i){this.className=e,this.left=t,this.top=n,this.width=r,this.height=i}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className==this.className&&(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",null!=this.width&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(!n.empty)return function(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),i=Math.min(n.to,e.viewport.to),o=e.textDirection==eb.LTR,a=e.contentDOM,s=a.getBoundingClientRect(),l=nR(e),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),d=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),f=s.right-(u?parseInt(u.paddingRight):0),h=tf(e,r),p=tf(e,i),m=h.type==ea.Text?h:null,g=p.type==ea.Text?p:null;if(m&&(e.lineWrapping||h.widgetLineBreaks)&&(m=nZ(e,r,1,m)),g&&(e.lineWrapping||p.widgetLineBreaks)&&(g=nZ(e,i,-1,g)),m&&g&&m.from==g.from&&m.to==g.to)return v(b(n.from,n.to,m));{let t=m?b(n.from,null,m):y(h,!1),r=g?b(null,n.to,g):y(p,!0),i=[];return(m||h).to<(g||p).from-(m&&g?1:0)||h.widgetLineBreaks>1&&t.bottom+e.defaultLineHeight/2<r.top?i.push(O(d,t.bottom,f,r.top)):t.bottom<r.top&&e.elementAtHeight((t.bottom+r.top)/2).type==ea.Text&&(t.bottom=r.to
382p=(t.bottom+r.top)/2),v(t).concat(i).concat(v(r))}function O(e,n,r,i){return new n$(t,e-l.left,n-l.top,r-e,i-n)}function v({top:e,bottom:t,horizontal:n}){let r=[];for(let i=0;i<n.length;i+=2)r.push(O(n[i],e,n[i+1],t));return r}function b(t,n,r){let i=1e9,a=-1e9,s=[];function l(t,n,l,c,u){let h=e.coordsAtPos(t,t==r.to?-2:2),p=e.coordsAtPos(l,l==r.from?2:-2);h&&p&&(i=Math.min(h.top,p.top,i),a=Math.max(h.bottom,p.bottom,a),u==eb.LTR?s.push(o&&n?d:h.left,o&&c?f:p.right):s.push(!o&&c?d:p.left,!o&&n?f:h.right))}let c=null!=t?t:r.from,u=null!=n?n:r.to;for(let r of e.visibleRanges)if(r.to>c&&r.from<u)for(let i=Math.max(r.from,c),o=Math.min(r.to,u);;){let r=e.state.doc.lineAt(i);for(let a of e.bidiSpans(r)){let e=a.from+r.from,s=a.to+r.from;if(e>=o)break;s>i&&l(Math.max(e,i),null==t&&e<=c,Math.min(s,o),null==n&&s>=u,a.dir)}if((i=r.to+1)>=o)break}return 0==s.length&&l(c,null==t,u,null==n,e.textDirection),{top:i,bottom:a,horizontal:s}}function y(e,t){let n=s.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}(e,t,n);{let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let i=nR(e);return[new n$(t,r.left-i.left,r.top-i.top,null,r.bottom-r.top)]}}}function nR(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==eb.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function nZ(e,t,n,r){let i=e.coordsAtPos(t,2*n);if(!i)return r;let o=e.dom.getBoundingClientRect(),a=(i.top+i.bottom)/2,s=e.posAtCoords({x:o.left+1,y:a}),l=e.posAtCoords({x:o.right-1,y:a});return null==s||null==l?r:{from:Math.max(r.from,Math.min(s,l)),to:Math.min(r.to,Math.max(s,l))}}class nI{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(nA)!=e.state.facet(nA)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){!1!==this.layer.updateOnDocViewUpdate&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(nA);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;(e!=this.scaleX||t!=this.scaleY)&&(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some((e,t)=>{var n,r;return n=e,r=this.drawn[t],!(n.constructor==r.constructor&&n.eq(r))})){let t=this.dom.firstChild,n=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[n].constructor&&r.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(r.draw(),t);for(;t;){let e=t.nextSibling;t.remove(),t=e}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}let nA=s.r$.define(),nN=!(q.ios&&q.webkit&&q.webkit_version<534),nL=s.r$.define({combine:e=>(0,s.BO)(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}),nz={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};nN&&(nz[".cm-line"].caretColor=nz[".cm-content"].caretColor="transparent !important");let nF=s.Py.define({map:(e,t)=>null==e?null:t.mapPos(e)});function nV(e,t,n,r,i){t.lastIndex=0;for(let o=e.iterRange(n,r),a=n,s;!o.next().done;a+=o.value.length)if(!o.lineBreak)for(;s=t.exec(o.value);)i(a+s.index,s)}class nW{constructor(e){let{regexp:t,decoration:n,decorate:r,boundary:i,maxLength:o=1e3}=e;if(!t.global)throw RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(e,t,n,i)=>r(i,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,i)=>{let o=n(e,t,r);o&&i(r,r+e[0].length,o)};else if(n)this.addMatch=(e,t,r,i)=>i(r,r+e[0].length,n);else throw RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=i,this.maxLength=o}createDeco(e){let t=new s.f_,n=t.add.bind(t);for(let{from:t,to:r}of function(e,t){let n=e.visibleRanges;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:i,to:o}of n)i=Math.max(e.state.doc.lineAt(i).from,i-t),o=Math.min(e.state.doc.lineAt(o).to,o+t),r.length&&r[r.length-1].to>=i?r[r.length-1].to=o:r.push({from:i,to:o});return r}(e,this.maxLength))nV(e.state.doc,this.regexp,t,r,(t,r)=>this.addMatch(r,e,t,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return(e.docChanged&&e.changes.iterChanges((t,i,o,a)=>{a>=e.view.viewport.from&&o<=e.view.viewport.to&&(n=Math.min(o,n),r=Math.max(a,r))}),e.viewportMoved||r-n>1e3)?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let i of e.visibleRanges){let o=Math.max(i.from,n),a=Math.min(i.to,r);if(a>o){let n=e.state.doc.lineAt(o),r=n.to<a?e.state.doc.lineAt(a):n,s=Math.max(i.from,n.from),l=Math.min(i.to,r.to);if(this.boundary){for(;o>n.from;o--)if(this.boundary.test(n.text[o-1-n.from])){s=o;break}for(;a<r.to;a++)if(this.boundary.test(r.text[a-r.from])){l=a;break}}let c=[],u,d=(e,t,n)=>c.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(u=this.regexp.exec(n.text))&&u.index<l-n.from;)this.addMatch(u,e,u.index+n.from,d);else nV(e.state.doc,this.regexp,s,l,(t,n)=>this.addMatch(n,e,t,d));t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:c})}}return t}}let nY=null!=/x/.unicode?"gu":"g",nX=RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]",nY),nB={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"},nq=null,nU=s.r$.define({combine(e){let t=(0,s.BO)(e,{render:null,specialChars:nX,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==nq&&"undefined"!=typeof document&&document.body){let t=document.body.style;nq=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)!=null}return nq||!1}())&&(t.specialChars=RegExp("	|"+t.specialChars.source,nY)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,nY)),t}});function nH(e={}){return[nU.of(e),function(){return nG||(nG=eK.fromClass(class{constructor(e){this.view=e,this.decorations=es.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(nU)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new nW({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,o=(0,s.gm)(t[0],0);if(9==o){let e=i.lineAt(r),t=n.state.tabSize,o=(0,s.IS)(e.text,t,r-e.from);return es.replace({widget:new nK((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=es.replace({widget:new nJ(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(nU);e.startState.facet(nU)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}()]}let nG=null;class nJ extends eo{constructor(e,t){super(),this.options=e,this.co
382de=t}eq(e){return e.code==this.code}toDOM(e){var t;let n=(t=this.code)>=32?"•":10==t?"␤":String.fromCharCode(9216+t),r=e.state.phrase("Control character")+" "+(nB[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let o=document.createElement("span");return o.textContent=n,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class nK extends eo{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="	",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function n0(){return n2}let n1=es.line({class:"cm-activeLine"}),n2=eK.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let i=e.lineBlockAt(r.head);i.from>t&&(n.push(n1.range(i.from)),t=i.from)}return es.set(n)}},{decorations:e=>e.decorations}),n5="-10000px";class n3{constructor(e,t,n,r){this.facet=t,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let i=null;this.tooltipViews=this.tooltips.map(e=>i=n(e,i))}update(e,t){var n;let r=e.state.facet(this.facet),i=r.filter(e=>e);if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let o=[],a=t?[]:null;for(let n=0;n<i.length;n++){let r=i[n],s=-1;if(r){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==r.create&&(s=e)}if(s<0)o[n]=this.createTooltipView(r,n?o[n-1]:null),a&&(a[n]=!!r.above);else{let r=o[n]=this.tooltipViews[s];a&&(a[n]=t[s]),r.update&&r.update(e)}}}for(let e of this.tooltipViews)0>o.indexOf(e)&&(this.removeTooltipView(e),null===(n=e.destroy)||void 0===n||n.call(e));return t&&(a.forEach((e,n)=>t[n]=e),t.length=a.length),this.input=r,this.tooltips=i,this.tooltipViews=o,!0}}function n4(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}let n6=s.r$.define({combine:e=>{var t,n,r;return{position:q.ios?"absolute":(null===(t=e.find(e=>e.position))||void 0===t?void 0:t.position)||"fixed",parent:(null===(n=e.find(e=>e.parent))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(r=e.find(e=>e.tooltipSpace))||void 0===r?void 0:r.tooltipSpace)||n4}}}),n9=new WeakMap,n8=eK.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(n6);this.position=t.position,this.parent=t.parent,this.classes=e.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 n3(e,rn,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.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)for(let e of(this.intersectionObserver.disconnect(),this.manager.tooltipViews))this.intersectionObserver.observe(e.dom)}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(n6);if(r.position!=this.position&&!this.madeAbsolute){for(let e of(this.position=r.position,this.manager.tooltipViews))e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){for(let e of(this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer(),this.manager.tooltipViews))this.container.appendChild(e.dom);n=!0}
vendor: 5,287 bytes, line 382
382else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=n5,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;for(let t of(this.view.win.removeEventListener("resize",this.measureSoon),this.manager.tooltipViews))t.dom.remove(),null===(e=t.destroy)||void 0===e||e.call(t);this.parent&&this.container.remove(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(q.gecko)n=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==n5&&"0px"==e.style.left){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(n||"absolute"==this.position){if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState)}let r=this.view.scrollDOM.getBoundingClientRect(),i=e7(this.view);return{visible:{left:r.left+i.left,top:r.top+i.top,right:r.right-i.right,bottom:r.bottom-i.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(n6).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute)for(let e of(this.madeAbsolute=!0,this.position="absolute",this.manager.tooltipViews))e.dom.style.position="absolute";let{visible:n,space:r,scaleX:i,scaleY:o}=e,a=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],f=e.size[s];if(!d||!1!==l.clip&&(d.bottom<=Math.max(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1)){u.style.top=n5;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,m=f.right-f.left,g=null!==(t=n9.get(c))&&void 0!==t?t:f.bottom-f.top,O=c.offset||rt,v=this.view.textDirection==eb.LTR,b=f.width>r.right-r.left?v?r.left:r.right-f.width:v?Math.max(r.left,Math.min(d.left-(h?14:0)+O.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+(h?14:0)-O.x),r.right-m),y=this.above[s];!l.strictSide&&(y?d.top-g-p-O.y<r.top:d.bottom+g+p+O.y>r.bottom)&&y==r.bottom-d.bottom>d.top-r.top&&(y=this.above[s]=!y);let x=(y?d.top-r.top:r.bottom-d.bottom)-p;if(x<g&&!1!==c.resize){if(x<this.view.defaultLineHeight){u.style.top=n5;continue}n9.set(c,g),u.style.height=(g=x)/o+"px"}else u.style.height&&(u.style.height="");let w=y?d.top-g-p-O.y:d.bottom+p+O.y,S=b+m;if(!0!==c.overlap)for(let e of a)e.left<S&&e.right>b&&e.top<w+g&&e.bottom>w&&(w=y?e.top-g-2-p:e.bottom+p+2);if("absolute"==this.position?(u.style.top=(w-e.parent.top)/o+"px",n7(u,(b-e.parent.left)/i)):(u.style.top=w/o+"px",n7(u,b/i)),h){let e=d.left+(v?O.x:-O.x)-(b+14-7);h.style.left=e/i+"px"}!0!==c.overlap&&a.push({left:b,top:w,right:S,bottom:w+g}),u.classList.toggle("cm-tooltip-above",y),u.classList.toggle("cm-tooltip-below",!y),c.positioned&&c.positioned(e.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 e of this.manager.tooltipViews)e.dom.style.top=n5}},{eventObservers:{scroll(){this.maybeMeasure()}}});function n7(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}let re=nw.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"}}}),rt={x:0,y:0},rn=s.r$.define({enables:[n8,re]}),rr=s.r$.define({combine:e=>e.reduce((e,t)=>
382e.concat(t),[])});class ri{static create(e){return new ri(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new n3(e,rr,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e];if(void 0!==r){if(void 0===t)t=r;else if(t!==r)return}}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}function ro(e,t){let n=e.plugin(n8);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}let ra=s.r$.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}}),rs=eK.fromClass(class{constructor(e){this.input=e.state.facet(ru),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(ra);for(let n of(this.top=new rl(e,!0,t.topContainer),this.bottom=new rl(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top)),this.panels))n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(ra);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new rl(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new rl(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(ru);if(n!=this.input){let t=n.filter(e=>e),r=[],i=[],o=[],a=[];for(let n of t){let t=this.specs.indexOf(n),s;t<0?(s=n(e.view),a.push(s)):(s=this.panels[t]).update&&s.update(e),r.push(s),(s.top?i:o).push(s)}for(let e of(this.specs=t,this.panels=r,this.top.sync(i),this.bottom.sync(o),a))e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>nw.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class rl{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&0>e.indexOf(t)&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length){this.dom&&(this.dom.remove(),this.dom=void 0);return}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 e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=rc(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=rc(e)}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 e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function rc(e){let t=e.nextSibling;return e.remove(),t}let ru=s.r$.define({enables:rs});class rd extends s.uU{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}rd.prototype.elementClass="",rd.prototype.toDOM=void 0,rd.prototype.mapM
382ode=s.gc.TrackBefore,rd.prototype.startSide=rd.prototype.endSide=-1,rd.prototype.point=!0;let rf=s.r$.define(),rh=s.r$.define(),rp=s.r$.define(),rm=s.r$.define({combine:e=>e.some(e=>e)}),rg=eK.fromClass(class{constructor(e){for(let t of(this.view=e,this.prevViewport=e.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=e.state.facet(rp).map(t=>new ry(e,t)),this.gutters))this.dom.appendChild(t.dom);this.fixed=!e.state.facet(rm),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(rm)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let n=s.Xs.iter(this.view.state.facet(rf),this.view.viewport.from),r=[],i=this.gutters.map(e=>new rb(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(e.type)){let t=!0;for(let o of e.type)if(o.type==ea.Text&&t){for(let e of(rv(n,r,o.from),i))e.line(this.view,o,r);t=!1}else if(o.widget)for(let e of i)e.widget(this.view,o)}else if(e.type==ea.Text)for(let t of(rv(n,r,e.from),i))t.line(this.view,e,r);else if(e.widget)for(let t of i)t.widget(this.view,e);for(let e of i)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(rp),n=e.state.facet(rp),r=e.docChanged||e.heightChanged||e.viewportChanged||!s.Xs.eq(e.startState.facet(rf),e.state.facet(rf),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(r=!0);else{r=!0;let i=[];for(let r of n){let n=t.indexOf(r);n<0?i.push(new ry(this.view,r)):(this.gutters[n].update(e),i.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),0>i.indexOf(e)&&e.destroy();for(let e of i)this.dom.appendChild(e.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>nw.scrollMargins.of(t=>{let n=t.plugin(e);return n&&0!=n.gutters.length&&n.fixed?t.textDirection==eb.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}:null})});function rO(e){return Array.isArray(e)?e:[e]}function rv(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class rb{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=s.Xs.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,i=(t.top-this.height)/e.scaleY,o=t.height/e.scaleY;if(this.i==r.elements.length){let t=new rx(e,o,i,n);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,o,i,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];rv(this.cursor,r,t.from),n.length&&(r=r.concat(n));let i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);let o=this.gutter;(0!=r.length||o.config.renderEmptyElements)&&this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null;for(let n of e.state.facet(rh)){let i=n(e,t.widget,t);i&&(r||(r=[])).push(i)}r&&this.addElement(e,t,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class ry{constructor(e,t){for(let n in this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:""),t.domEventHandlers)this.dom.addEventListener(n,r=>{let i=r.target,o;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let e=i.getBoundingClientRect();o=(e.top+e.bottom)/2}else o=r.clientY;let a=e.lineBlockAtHeight(o-e.documentTop);t.domEventHandlers[n](e,a,r)&&r.preventDefault()});this.markers=rO(t.markers(e)),t.initialSpacer&&(this.spacer=new rx(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=rO(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;
382return!s.Xs.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class rx{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),!function(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}(this.markers,r)&&this.setMarkers(e,r)}setMarkers(e,t){let n="cm-gutterElement",r=this.dom.firstChild;for(let i=0,o=0;;){let a=o,s=i<t.length?t[i++]:null,l=!1;if(s){let e=s.elementClass;e&&(n+=" "+e);for(let e=o;e<this.markers.length;e++)if(this.markers[e].compare(s)){a=e,l=!0;break}}else a=this.markers.length;for(;o<a;){let e=this.markers[o++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&o++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}let rw=s.r$.define(),rS=s.r$.define(),rk=s.r$.define({combine:e=>(0,s.BO)(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let r=n[e],i=t[e];n[e]=r?(e,t,n)=>r(e,t,n)||i(e,t,n):i}return n}})});class rP extends rd{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function rM(e,t){return e.state.facet(rk).formatNumber(t,e.state)}let rj=rp.compute([rk],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(rw),lineMarker:(e,t,n)=>n.some(e=>e.toDOM)?null:new rP(rM(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,n)=>{for(let r of e.state.facet(rS)){let i=r(e,t,n);if(i)return i}return null},lineMarkerChange:e=>e.startState.facet(rk)!=e.state.facet(rk),initialSpacer:e=>new rP(rM(e,r_(e.state.doc.lines))),updateSpacer(e,t){let n=rM(t.view,r_(t.view.state.doc.lines));return n==e.number?e:new rP(n)},domEventHandlers:e.facet(rk).domEventHandlers}));function rC(e={}){var t;let n;return[rk.of(e),(n=[rg],n),rj]}function r_(e){let t=9;for(;t<e;)t=10*t+9;return t}},91345:function(e,t,n){"use strict";n.d(t,{sF:function(){return i}});var r=n("70374");function i(e,t,i){var o;return void 0===i&&(i={}),(0,r._)(this,void 0,void 0,function(){var a;return(0,r.a)(this,function(r){switch(r.label){case 0:switch(null!==(o=t.template)&&void 0!==o?o:"parcel"){case"node":return[3,1];case"static":return[3,3]}return[3,5];case 1:return[4,Promise.all([n.e("616"),n.e("122")]).then(n.bind(n,"28176")).then(function(e){return e.SandpackNode})];case 2:case 4:return a=r.sent(),[3,7];case 3:return[4,Promise.all([n.e("616"),n.e("804")]).then(n.bind(n,"43726")).then(function(e){return e.SandpackStatic})];case 5:return[4,n.e("306").then(n.bind(n,"86409")).then(function(e){return e.SandpackRuntime})];case 6:a=r.sent(),r.label=7;case 7:return[2,new a(e,t,i)]}})})}n("36567")},70374:function(e,t,n){"use strict";n.d(t,{S:function(){return i},_:function(){return c},a:function(){return u},b:function(){return m},c:function(){return f},d:function(){return g},e:function(){return O},f:function(){return v},g:function(){return s},h:function(){return l},i:function(){return d},n:function(){return h}});var r,i,o=n("36567"),a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};
382function c(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function u(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function d(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)(r||!(i in t))&&(!r&&(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}(r=i||(i={}))[r.None=0]="None",r[r.Error=10]="Error",r[r.Warning=20]="Warning",r[r.Info=30]="Info",r[r.Debug=40]="Debug";var f=function(e){return"[sandpack-client]: ".concat(e)};function h(e,t){return void 0===t&&(t="Value is nullish"),(0,o.kG)(null!=e,f(t)),e}var p='"entry" was not specified - provide either a package.json with the "main" field or an "entry" value';function m(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n="/index.js"),JSON.stringify({name:"sandpack-project",main:n,dependencies:e,devDependencies:t},null,2)}function g(e,t,n,r){var i,o,a=v(e),s=a["/package.json"];if(!s)return h(t,'"dependencies" was not specified - provide either a package.json or a "dependencies" value'),h(r,p),a["/package.json"]={code:m(t,n,r)},a;if(s){var c=JSON.parse(s.code);h(!(!t&&!c.dependencies),p),t&&(c.dependencies=l(l({},null!==(i=c.dependencies)&&void 0!==i?i:{}),null!=t?t:{})),n&&(c.devDependencies=l(l({},null!==(o=c.devDependencies)&&void 0!==o?o:{}),null!=n?n:{})),r&&(c.main=r),a["/package.json"]={code:JSON.stringify(c,null,2)}}return a}function O(e){if("SyntaxError"===e.title){var t;return{title:e.title,path:e.path,message:e.message,line:e.line,column:e.column}}var n=function(e){if(e)return e.find(function(e){return!!e._originalFileName})}(null===(t=e.payload)||void 0===t?void 0:t.frames);if(!n)return{message:e.message};var r=function(e){var t=e._originalScriptCode[e._originalScriptCode.length-1].lineNumber.toString().length,n=2+t+3+e._originalColumnNumber;return e._originalScriptCode.reduce(function(e,r){var i=r.highlight?">":" ",o=r.lineNumber.toString().length===t?"".concat(r.lineNumber):" ".concat(r.lineNumber),a=r.highlight?"\n"+" ".repeat(n)+"^":"";return e+"\n"+i+" "+o+" | "+r.content+a},"")}(n),i=function(e){return e?" (".concat(e._originalLineNumber,":").concat(e._originalColumnNumber,")"):""}(n);return{message:function(e,t,n,r){return"".concat(e,": ").concat(t).concat(n,"\n").concat(r)}(n._originalFileName,e.message,i,r),title:e.title,path:n._originalFileName,line:n._originalLineNumber,column:n._originalColumnNumber}}var v=function(e){return"string"==typeof e?e.startsWith("/")?e:"/".concat(e):Array.isArray(e)?e.map(function(e){return e.startsWith("/")?e:"/".concat(e)}):"object"==typeof e&&null!==e?Object.entries(e).reduce(function(e,t){var n=t[0],r=t[1];return e[n.startsWith("/")?n:"/".concat(n)]=r,e},{}):null}},98654:function(e,t,n){"use strict";n.d(t,{Pw:function(){return tL},oT:function(){return te},uR:function(){return eC},xR:function(){return rD}});var r,i,o,a,s,l,c,u,d,f,h,p,m,g,O,v,b,y=n("47590"),x=n("3781"),w=n("76661"),S=n("60657"),k=n("70374"),P=n("91345"),M=n("40203"),j=n("99457"),C=n("57943"),_=n("31465"),T=n("97313"),D=n("1886"),E=n("23278"),Q=n("39601"),$=n("61253"),R=n("65309"),Z=n("63224"),I=n("1361"),A=n("2048"),N=n("70519"),L=function(){return(L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function z(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}
382function F(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function V(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function W(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)(r||!(i in t))&&(!r&&(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var Y=function(e){return(0,y.jsx)("svg",L({fill:"currentColor",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},e))},X=function(){return(0,y.jsxs)(Y,{viewBox:"0 0 48 48",children:[(0,y.jsx)("title",{children:"Sign in"}),(0,y.jsx)("path",{d:"M9 42q-1.2 0-2.1-.9Q6 40.2 6 39V9q0-1.2.9-2.1Q7.8 6 9 6h14.55v3H9v30h14.55v3Zm24.3-9.25-2.15-2.15 5.1-5.1h-17.5v-3h17.4l-5.1-5.1 2.15-2.15 8.8 8.8Z"})]})},B=function(){return(0,y.jsxs)(Y,{viewBox:"0 0 48 48",children:[(0,y.jsx)("title",{children:"Sign out"}),(0,y.jsx)("path",{d:"M9 42q-1.2 0-2.1-.9Q6 40.2 6 39V9q0-1.2.9-2.1Q7.8 6 9 6h14.55v3H9v30h14.55v3Zm24.3-9.25-2.15-2.15 5.1-5.1h-17.5v-3h17.4l-5.1-5.1 2.15-2.15 8.8 8.8Z"})]})},q=function(){return(0,y.jsxs)(Y,{fill:"none",stroke:"currentColor",children:[(0,y.jsx)("title",{children:"Restart script"}),(0,y.jsx)("path",{d:"M8 2C4.68629 2 2 4.68629 2 8C2 10.0946 3.07333 11.9385 4.7 13.0118",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M14.0005 7.9998C14.0005 5.82095 12.8391 3.91335 11.1016 2.8623",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M14.0003 2.3335H11.167C10.8908 2.3335 10.667 2.55735 10.667 2.8335V5.66683",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M1.99967 13.6665L4.83301 13.6665C5.10915 13.6665 5.33301 13.4426 5.33301 13.1665L5.33301 10.3332",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M10 10L12 12L10 14",strokeLinecap:"round",strokeLinejoin:"round"}),(0,y.jsx)("path",{d:"M14.667 14L12.667 14",strokeLinecap:"round",strokeLinejoin:"round"})]})},U=function(){return(0,y.jsxs)(Y,{children:[(0,y.jsx)("title",{children:"Run sandbox"}),(0,y.jsx)("path",{d:"M11.0792 8.1078C11.2793 8.25007 11.27 8.55012 11.0616 8.67981L6.02535 11.8135C5.79638 11.956 5.5 11.7913 5.5 11.5216L5.5 8.40703L5.5 4.80661C5.5 4.52735 5.81537 4.36463 6.04296 4.52647L11.0792 8.1078Z"})]})},H=function(){return(0,y.jsxs)(Y,{children:[(0,y.jsx)("title",{children:"Click to go back"}),(0,y.jsx)("path",{d:"M9.64645 12.3536C9.84171 12.5488 10.1583 12.5488 10.3536 12.3536C10.5488 12.1583 10.5488 11.8417 10.3536 11.6464L9.64645 12.3536ZM10.3536 4.35355C10.5488 4.15829 10.5488 3.84171 10.3536 3.64644C10.1583 3.45118 9.84171 3.45118 9.64645 3.64644L10.3536 4.35355ZM6.07072 7.92929L5.71716 7.57573L6.07072 7.92929ZM10.3536 11.6464L6.42427 7.71716L5.71716 8.42426L9.64645 12.3536L10.3536 11.6464ZM6.42427 8.28284L10.3536 4.35355L9.64645 3.64644L5.71716 7.57573L6.42427 8.28284ZM6.42427 7.71716C6.58048 7.87337 6.58048 8.12663 6.42427 8.28284L5.71716 7.57573C5.48285 7.81005 5.48285 8.18995 5.71716 8.42426L6.42427 7.71716Z"})]})},G=function(){return(0,y.jsxs)(Y,{children:[(0,y.jsx)("title",{children:"Click to go forward"}),(0,y.jsx)("path",{d:"M6.35355 3.64645C6.15829 3.45118 5.84171 3.45118 5.64645 3.64645C5.45118 3.84171 5.45118 4.15829 5.64645 4.35355L6.35355 3.64645ZM5.64645 11.6464C5.45118 11.8417 5.45118 12.1583 5.64645 12.3536C5.84171 12.5488 6.15829 12.5488 6.35355 12.3536L5.64645 11.6464ZM9.92929 8.07071L10.2828 8.42426L9.92929 8.07071ZM5.64645 4.35355L9.57574 8.28284L10.2828 7.57574L6.35355 3.64645L5.64645 4.35355ZM9.57574 7.71716L5.64645 11.6464L6.35355 12.3536L10.2828 8.42426L9.57574 7.71716ZM9.57574 8.28284C9.41952 8.12
382663 9.41953 7.87337 9.57574 7.71716L10.2828 8.42426C10.5172 8.18995 10.5172 7.81005 10.2828 7.57574L9.57574 8.28284Z"})]})},J=function(){return(0,y.jsxs)(Y,{children:[(0,y.jsx)("title",{children:"Refresh preview"}),(0,y.jsx)("path",{clipRule:"evenodd",d:"M3.83325 7.99992C3.83325 5.69867 5.69853 3.83325 7.99934 3.83325C9.81246 3.83325 11.3563 4.99195 11.9285 6.61097C11.9396 6.6425 11.9536 6.67221 11.97 6.69992H8.80005C8.52391 6.69992 8.30005 6.92378 8.30005 7.19992C8.30005 7.47606 8.52391 7.69992 8.80005 7.69992H12.5667C12.8981 7.69992 13.1667 7.43129 13.1667 7.09992V3.33325C13.1667 3.05711 12.9429 2.83325 12.6667 2.83325C12.3906 2.83325 12.1667 3.05711 12.1667 3.33325V4.94608C11.2268 3.66522 9.7106 2.83325 7.99934 2.83325C5.14613 2.83325 2.83325 5.14651 2.83325 7.99992C2.83325 10.8533 5.14613 13.1666 7.99934 13.1666C9.91218 13.1666 11.5815 12.1266 12.474 10.5836C12.6123 10.3446 12.5306 10.0387 12.2915 9.90044C12.0525 9.76218 11.7466 9.84387 11.6084 10.0829C10.8873 11.3296 9.54072 12.1666 7.99934 12.1666C5.69853 12.1666 3.83325 10.3012 3.83325 7.99992Z",fillRule:"evenodd"})]})},K=function(){return(0,y.jsxs)(Y,{fill:"none",stroke:"currentColor",children:[(0,y.jsx)("title",{children:"Clean"}),(0,y.jsx)("circle",{cx:"7.99998",cy:"8.00004",r:"4.66667",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M4.66669 4.66663L11.3334 11.3333"})]})},ee=function(){return(0,y.jsxs)(Y,{fill:"none",stroke:"currentColor",children:[(0,y.jsx)("title",{children:"Open on CodeSandbox"}),(0,y.jsx)("path",{d:"M6.66665 3.33337H4.33331C3.78103 3.33337 3.33331 3.78109 3.33331 4.33337V11.6667C3.33331 12.219 3.78103 12.6667 4.33331 12.6667H11.6666C12.2189 12.6667 12.6666 12.219 12.6666 11.6667V9.33337",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M10 3.33337H12.5667C12.6219 3.33337 12.6667 3.37815 12.6667 3.43337V6.00004",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M7.33331 8.66668L12.5333 3.46667",strokeLinecap:"round"})]})},et=function(){return jsxs(Y,{children:[jsx("title",{children:"Directory"}),jsx("path",{d:"M12.5526 12.6667H3.66675C3.2922 12.6667 2.96575 12.4608 2.79442 12.156L3.81072 8.0908C3.92201 7.64563 4.32199 7.33333 4.78086 7.33333H13.386C14.0365 7.33333 14.5139 7.94472 14.3561 8.57587L13.5228 11.9092C13.4115 12.3544 13.0115 12.6667 12.5526 12.6667Z",fill:"currentColor"}),jsx("path",{d:"M13.3334 6.63333V6.33333C13.3334 5.78105 12.8857 5.33333 12.3334 5.33333H8.30286C8.10543 5.33333 7.91242 5.2749 7.74816 5.16538L6.25201 4.16795C6.08774 4.05844 5.89473 4 5.69731 4H3.66675C3.11446 4 2.66675 4.44772 2.66675 5L2.66675 11.6667C2.66675 12.219 3.11446 12.6667 3.66675 12.6667H12.5526C13.0115 12.6667 13.4115 12.3544 13.5228 11.9092L14.3561 8.57587C14.5139 7.94472 14.0365 7.33333 13.386 7.33333H4.78086C4.32199 7.33333 3.92201 7.64563 3.81072 8.0908L2.75008 12.3333",fill:"none",stroke:"currentColor",strokeLinecap:"round"})]})},en=function(){return jsxs(Y,{children:[jsx("title",{children:"Directory"}),jsx("path",{d:"M12.3334 12.6667H3.66675C3.11446 12.6667 2.66675 12.219 2.66675 11.6667V5C2.66675 4.44772 3.11446 4 3.66675 4H5.69731C5.89473 4 6.08774 4.05844 6.25201 4.16795L7.74816 5.16538C7.91242 5.2749 8.10543 5.33333 8.30286 5.33333H12.3334C12.8857 5.33333 13.3334 5.78105 13.3334 6.33333V11.6667C13.3334 12.219 12.8857 12.6667 12.3334 12.6667Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round"})]})},er=function(){return jsxs(Y,{fill:"currentColor",children:[jsx("title",{children:"File"}),jsx("path",{clipRule:"evenodd",d:"M4.5 4.33325C4.5 4.05711 4.72386 3.83325 5 3.83325H8.16675V6.56659C8.16675 6.89795 8.43538 7.16658 8.76675 7.16658H11.5V12.3333C11.5 12.6094 11.2761 12.8333 11 12.8333H5C4.72386 12.8333 4.5 12.6094 4.5 12.3333V4.33325ZM12.5 6.67568C12.5001 6.67265 12.5001 6.66962 12.5001 6.66658C12.5001 6.66355 12.5001 6.66052 12.5 6.65749V6.41413C12.5 6.01631 12.342 5.63478 12.0607 5.35347L9.97978 3.27259C9.69848 2.99129 9.31694 2.83325 8.91912 2.83325H8.66675H5C4.17157 2.83325 3.5 3.50483 3.5 4.33325V12.3333C3.5 13.1617 4.17157 13.8333 5 13.8333H11C11.8284 13.8333 12.5 13.1617 12.5 12.3333V6.67568ZM9.16675 3.89888C9.20518 3.92078 9.24085 3.94787 9.27267 3.9797L11.3536 6.06058C11.3854 6.09243 11.4125 6.12813 11.4344 6.16658H9.16675V3.89888Z",fillRule:"evenodd"})]})},ei=function(){return(0,y.jsxs)(Y,{stroke:"currentColor",children:[(0,y.jsx)("title",{children:"Close file"}),(0,y.jsx)("path",{d:"M12 4L4 12",strokeLinecap:"round"}),(0,y.jsx)("path",{d:"M4 4L12 12",strokeLinecap:"round"})]})},eo=function(){return(0,y.jsxs)(Y,{children:[(0,y.jsx)("title",{children:"Open browser console"}),(0,y.jsx)("path",{d:"M5.65871 3.62037C5.44905 3.44066 5.1334 3.46494 4.95368 3.6746C4.77397 3.88427 4.79825 4.19992 5.00792 4.37963L5.65871 3.62037ZM5.00792 11.6204C4.79825 11.8001 4.77397 12.1157 4.95368 12.3254C5.1334 12.5351 5.44905 12.5593 5.65871 12.3796L5.00792 11.6204ZM9.9114 7.92407L10.2368 7.54445L9.9114 7.92407ZM5.00
382792 4.37963L9.586 8.3037L10.2368 7.54445L5.65871 3.62037L5.00792 4.37963ZM9.586 7.6963L5.00792 11.6204L5.65871 12.3796L10.2368 8.45555L9.586 7.6963ZM9.586 8.3037C9.39976 8.14407 9.39976 7.85594 9.586 7.6963L10.2368 8.45555C10.5162 8.2161 10.5162 7.7839 10.2368 7.54445L9.586 8.3037Z"}),(0,y.jsx)("path",{d:"M10 11.5C9.72386 11.5 9.5 11.7239 9.5 12C9.5 12.2761 9.72386 12.5 10 12.5V11.5ZM14.6667 12.5C14.9428 12.5 15.1667 12.2761 15.1667 12C15.1667 11.7239 14.9428 11.5 14.6667 11.5V12.5ZM10 12.5H14.6667V11.5H10V12.5Z"})]})},ea={colors:{surface1:"#ffffff",surface2:"#EFEFEF",surface3:"#F3F3F3",disabled:"#C5C5C5",base:"#323232",clickable:"#808080",hover:"#4D4D4D",accent:"#3973E0",error:"#EA3323",errorSurface:"#FCF1F0",warning:"#6A4516",warningSurface:"#FEF2C0"},syntax:{plain:"#151515",comment:{color:"#999",fontStyle:"italic"},keyword:"#7C5AE3",tag:"#0971F1",punctuation:"#3B3B3B",definition:"#85A600",property:"#3B3B3B",static:"#3B3B3B",string:"#2E6BD0"},font:{body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'"Fira Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace',size:"13px",lineHeight:"20px"}},es={colors:{surface1:"#151515",surface2:"#252525",surface3:"#2F2F2F",disabled:"#4D4D4D",base:"#808080",clickable:"#999999",hover:"#C5C5C5",accent:"#E5E5E5",error:"#FFB4A6",errorSurface:"#690000",warning:"#E7C400",warningSurface:"#3A3000"},syntax:{plain:"#FFFFFF",comment:{color:"#757575",fontStyle:"italic"},keyword:"#77B7D7",tag:"#DFAB5C",punctuation:"#ffffff",definition:"#86D9CA",property:"#77B7D7",static:"#C64640",string:"#977CDC"},font:{body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'"Fira Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace',size:"13px",lineHeight:"20px"}},el={light:ea,dark:es,auto:"undefined"!=typeof window&&(null===(i=null==window?void 0:window.matchMedia)||void 0===i?void 0:i.call(window,"(prefers-color-scheme: dark)").matches)?es:ea},ec=function(e){var t=e.lastIndexOf("/");return e.slice(t+1)},eu=function(e,t){var n=("/"===e[0]?e.slice(1):e).split("/"),r=[];if(1===n.length)r.unshift(n[0]);else for(var i=0;i<t.length;i++){for(var o=t[i].split("/"),a=1;a<=n.length;a++){var s=n[n.length-a],l=o[o.length-a];if(r.length<a&&r.unshift(s),s!==l)break}}return r.length<n.length&&r.unshift(".."),r.join("/")},ed=function(e){var t=0,n=0,r=0;if(e.startsWith("#")){if(e.length<7)return!0;t=parseInt(e.substr(1,2),16),n=parseInt(e.substr(3,2),16),r=parseInt(e.substr(5,2),16)}else{var i=e.replace("rgb(","").replace("rgba(","").replace(")","").split(",");if(i.length<3)return!0;t=parseInt(i[0],10),n=parseInt(i[1],10),r=parseInt(i[2],10)}return(299*t+587*n+114*r)/1e3<128},ef=0,eh=function(){return(+(Date.now().toString(10).substr(0,4)+ef++)).toString(16)},ep=(o=(0,w.Th)({prefix:"sp"})).createTheme,em=o.css,eg=(o.getCssText,o.keyframes),eO={space:Array(11).fill(" ").reduce(function(e,t,n){var r;return L(L({},e),((r={})[n+1]="".concat((n+1)*4,"px"),r))},{}),border:{radius:"4px"},layout:{height:"300px",headerHeight:"40px"},transitions:{default:"150ms ease"},zIndices:{base:"1",overlay:"2",top:"3"}},ev=function(e){var t=Object.entries(e.syntax).reduce(function(e,t){var n,r=t[0],i=t[1],o=((n={})["color-".concat(r)]=i,n);return"object"==typeof i&&(o=Object.entries(i).reduce(function(e,t){var n,i=t[0],o=t[1];return L(L({},e),((n={})["".concat(i,"-").concat(r)]=o,n))},{})),L(L({},e),o)},{});return L(L({},eO),{colors:e.colors,font:e.font,syntax:t})},eb=function(e){if(void 0===e&&(e="light"),"string"==typeof e){var t,n,r,i,o,a=el[e];if(!a)throw Error("[sandpack-react]: invalid theme '".concat(e,"' provided."));return{theme:a,id:e,mode:ed(a.colors.surface1)?"dark":"light"}}var s=ed(null!==(n=null===(t=null==e?void 0:e.colors)||void 0===t?void 0:t.surface1)&&void 0!==n?n:ea.colors.surface1)?"dark":"light",l="dark"===s?es:ea,c={colors:L(L({},l.colors),null!==(r=null==e?void 0:e.colors)&&void 0!==r?r:{}),syntax:L(L({},l.syntax),null!==(i=null==e?void 0:e.syntax)&&void 0!==i?i:{}),font:L(L({},l.font),null!==(o=null==e?void 0:e.font)&&void 0!==o?o:{})},u=e?ey(JSON.stringify(c)):"default";return{theme:c,id:"sp-".concat(u),mode:s}},ey=function(e){for(var t=0,n=0;n<e.length;t&=t)t=31*t+e.charCodeAt(n++);return Math.abs(t)},ex=function(){return""};ex.toString=ex;var ew=(0,x.createContext)({}),eS=function(e){var t=e.children,n=e.classes;return(0,y.jsx)(ew.Provider,{value:n||{},children:t})},ek=function(){var e=(0,x.useContext)(ew);return function(t,n){void 0===n&&(n=[]);var r="".concat("sp","-").concat(t);return eP.apply(void 0,W(W([],n,!1),[r,e[r]],!1))}},eP=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(Boolean).join(" ")},eM=em({all:"initial",fontSize:"$font$size",fontFamily:"$font$body",display:"block",boxSizing:"border-box",textRendering:"optimizeLegibility",WebkitTapHighlightColor:"transparent",WebkitFontSmoothing:"subpixel-antialiased",variants:{variant:{dark:{colorScheme:"dark"},light:{colorScheme:"light"}}},"@media screen and (min-resolution: 2dppx)":{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"*":{boxSizing:"border-box"},".sp-wrapper:focus":{outline:"0"}}),ej=x.createContext({theme:ea,id:"light",mode:"light"}),eC=function(e){var t=e.theme,n=e.children,r=e.className,i=z(e,["theme","children","className"]),o=x.use
382State(t),a=o[0],s=o[1],l=eb(a),c=l.theme,u=l.id,d=l.mode,f=ek(),h=x.useMemo(function(){return ep(u,ev(c))},[c,u]);return x.useEffect(function(){if("auto"!==t){s(t);return}var e=function(e){s(e.matches?"dark":"light")};return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e),function(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",e)}},[t]),(0,y.jsx)(ej.Provider,{value:{theme:c,id:u,mode:d},children:(0,y.jsx)("div",L({className:f("wrapper",[h,eM({variant:d}),r])},i,{children:n}))})};ej.Consumer;var e_={"/styles.css":{code:"body {\n  font-family: sans-serif;\n  -webkit-font-smoothing: auto;\n  -moz-font-smoothing: auto;\n  -moz-osx-font-smoothing: grayscale;\n  font-smoothing: auto;\n  text-rendering: optimizeLegibility;\n  font-smooth: always;\n  -webkit-tap-highlight-color: transparent;\n  -webkit-touch-callout: none;\n}\n\nh1 {\n  font-size: 1.5rem;\n}"}},eT={files:{"/src/styles.css":e_["/styles.css"],"/src/pages/index.astro":{code:'---\nimport "../styles.css";\nconst data = "world";\n---\n\n<h1>Hello {data}</h1>\n\n<style>\n  h1 {\n    font-size: 1.5rem;\n  }\n</style>'},".env":{code:'ASTRO_TELEMETRY_DISABLED="1"'},"/package.json":{code:JSON.stringify({dependencies:{astro:"^1.6.12","esbuild-wasm":"^0.15.16"},scripts:{dev:"astro dev",start:"astro dev",build:"astro build",preview:"astro preview",astro:"astro"}})}},main:"/src/pages/index.astro",environment:"node"},eD={files:L(L({},e_),{"/pages/_app.js":{code:"import '../styles.css'\n\nexport default function MyApp({ Component, pageProps }) {\n  return <Component {...pageProps} />\n}"},"/pages/index.js":{code:'export default function Home({ data }) {\n  return (\n    <div>\n      <h1>Hello {data}</h1>\n    </div>\n  );\n}\n  \nexport function getServerSideProps() {\n  return {\n    props: { data: "world" },\n  }\n}\n'},"/next.config.js":{code:"/** @type {import('next').NextConfig} */\nconst nextConfig = {\n  reactStrictMode: true,\n  swcMinify: true,\n}\n\nmodule.exports = nextConfig\n"},"/package.json":{code:JSON.stringify({name:"my-app",version:"0.1.0",private:!0,scripts:{dev:"NEXT_TELEMETRY_DISABLED=1 next dev",build:"next build",start:"next start",lint:"next lint"},dependencies:{next:"12.1.6",react:"18.2.0","react-dom":"18.2.0","@next/swc-wasm-nodejs":"12.1.6"}})}}),main:"/pages/index.js",environment:"node"},eE={files:{"/index.js":{code:"const http = require('http');\n\nconst hostname = '127.0.0.1';\nconst port = 3000;\n\nconst server = http.createServer((req, res) => {\n  res.statusCode = 200;\n  res.setHeader('Content-Type', 'text/html');\n  res.end('Hello world');\n});\n\nserver.listen(port, hostname, () => {\n  console.log(`Server running at http://${hostname}:${port}/`);\n});"},"/package.json":{code:JSON.stringify({dependencies:{},scripts:{start:"node index.js"},main:"index.js"})}},main:"/index.js",environment:"node"},eQ={files:L(L({},e_),{"/index.js":{code:'import "./styles.css";\n\ndocument.getElementById("app").innerHTML = `\n<h1>Hello world</h1>\n`;\n'},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="app"></div>\n    <script type="module" src="/index.js"><\/script>\n  </body>\n</html>\n'},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"vite build",preview:"vite preview"},devDependencies:{vite:"4.1.4","esbuild-wasm":"0.17.12"}})}}),main:"/index.js",environment:"node"},e$={files:L(L({},e_),{"/App.jsx":{code:'export default function App() {\n  const data = "world"\n\n  return <h1>Hello {data}</h1>\n}\n'},"/index.jsx":{code:'import { render } from "preact";\nimport "./styles.css";\n\nimport App from "./App";\n\nconst root = document.getElementById("root");\nrender(<App />, root);\n'},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="root"></div>\n    <script type="module" src="/index.jsx"><\/script>\n  </body>\n</html>\n'},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"vite build",preview:"vite preview"}
382,dependencies:{preact:"^10.16.0"},devDependencies:{"@preact/preset-vite":"^2.5.0",vite:"4.1.4","esbuild-wasm":"0.17.12"}})},"/vite.config.js":{code:"import { defineConfig } from \"vite\";\nimport preact from '@preact/preset-vite'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [preact()],\n});\n"}}),main:"/App.jsx",environment:"node"},eR={files:L(L({},e_),{"/App.tsx":{code:'export default function App() {\n  const data: string = "world"\n\n  return <h1>Hello {data}</h1>\n}\n'},"/index.tsx":{code:'import { render } from "preact";\nimport "./styles.css";\n\nimport App from "./App";\n\nconst root = document.getElementById("root") as HTMLElement;\nrender(<App />, root);\n'},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="root"></div>\n    <script type="module" src="/index.tsx"><\/script>\n  </body>\n</html>\n'},"/tsconfig.json":{code:JSON.stringify({compilerOptions:{target:"ESNext",useDefineForClassFields:!0,lib:["DOM","DOM.Iterable","ESNext"],allowJs:!1,skipLibCheck:!0,esModuleInterop:!1,allowSyntheticDefaultImports:!0,strict:!0,forceConsistentCasingInFileNames:!0,module:"ESNext",moduleResolution:"Node",resolveJsonModule:!0,isolatedModules:!0,noEmit:!0,jsx:"react-jsx",jsxImportSource:"preact"},include:["src"],references:[{path:"./tsconfig.node.json"}]},null,2)},"/tsconfig.node.json":{code:JSON.stringify({compilerOptions:{composite:!0,module:"ESNext",moduleResolution:"Node",allowSyntheticDefaultImports:!0},include:["vite.config.ts"]},null,2)},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"tsc && vite build",preview:"vite preview"},dependencies:{preact:"^10.16.0"},devDependencies:{"@preact/preset-vite":"^2.5.0",typescript:"^4.9.5",vite:"4.1.4","esbuild-wasm":"^0.17.12"}},null,2)},"/vite-env.d.ts":{code:'/// <reference types="vite/client" />'},"/vite.config.ts":{code:"import { defineConfig } from 'vite'\nimport preact from '@preact/preset-vite'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [preact()],\n})\n"}}),main:"/App.tsx",environment:"node"},eZ={files:L(L({},e_),{"/App.jsx":{code:'export default function App() {\n  const data = "world"\n\n  return <h1>Hello {data}</h1>\n}\n'},"/index.jsx":{code:'import { StrictMode } from "react";\nimport { createRoot } from "react-dom/client";\nimport "./styles.css";\n\nimport App from "./App";\n\nconst root = createRoot(document.getElementById("root"));\nroot.render(\n  <StrictMode>\n    <App />\n  </StrictMode>\n);'},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="root"></div>\n    <script type="module" src="/index.jsx"><\/script>\n  </body>\n</html>\n'},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"vite build",preview:"vite preview"},dependencies:{react:"^18.2.0","react-dom":"^18.2.0"},devDependencies:{"@vitejs/plugin-react":"3.1.0",vite:"4.1.4","esbuild-wasm":"0.17.12"}})},"/vite.config.js":{code:'import { defineConfig } from "vite";\nimport react from "@vitejs/plugin-react";\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [react()],\n});\n'}}),main:"/App.jsx",environment:"node"},eI={files:L(L({},e_),{"/App.tsx":{code:'export default function App() {\n  const data: string = "world"\n\n  return <h1>Hello {data}</h1>\n}\n'},"/index.tsx":{code:'import { StrictMode } from "react";\nimport { createRoot } from "react-dom/client";\nimport "./styles.css";\n\nimport App from "./App";\nimport React from "react";\n\nconst root = createRoot(document.getElementById("root") as HTMLElement);\nroot.render(\n  <StrictMode>\n    <App />\n  </StrictMode>\n);\n'},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="root"></div>\n    <script type="module" src="/index.tsx"><\/script>\n  </body>\n</html>\n'},"/tsconfig.json":{code:JSON.stringify({compilerOptions:{target:"ESNext",useDefineForClassFields:!0,lib:["DOM","DOM.Iterable","ESNext"],allowJs:!1,skipLibCheck:!0,esModuleInterop:!1,allowSyntheticDefaultImports:!0,strict:!0,forceConsistentCasingInFileNames:!0,module:"ESNext",moduleResolution:"Node",resolveJsonModule:!0,isolatedModules:!0,noEmit:!0,jsx:"react-jsx"},include:["src"],references:[{path:"./tsconfig.node.json"}]},null,2)},"/tsconfig.node.json":{code:JSON.stringify({compilerOptions:{composite:!0,module:"ESNext",moduleResolution:"Node",allowSyntheticDefaultImports:!0},include:["vite.config.ts"]},null,2)},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"tsc && vite build",preview:"vite preview"},dependencies:{react:"^18.2.0","react-dom":"^18.2.0"},devDependencies:{"@types/react":"^18.0.28","@types/react-dom":"^18.0.11","@vitejs/plugin-react":"^3.1.0",typescript:"^4.9.5",vite:"4.1.4","esbuild-wasm":"^0.17.12"}},null,2)},"/vite-env.d.ts":{code:'/// <reference types="vite/client" />'},"/vite.config.ts":{code:"import { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [react()],\n})\n"}}),main:"/App.tsx",environment:"node"},eA={files:{"/src/styles.css":e_["/styles.css"],"/src/App.svelte":{code:'<script>\nconst data = "world";\n<\/script>\n\n<h1>Hello {data}</h1>\n\n<style>\nh1 {\n  font-size: 1.5rem;\n}\n</style>'},"/src/main.js":{code:"import App from './App.svelte'\nimport \"./styles.css\"\n\nconst app = new App({\n  target: document.getElementById('app'),\n})\n\nexport default app"},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="app"></div>\n    <script type="module" src="/src/main.js"><\/script>\n  </body>\n</html>\n'},"/vite.config.js":{code:"import { defineConfig } from 'vite'\nimport { svelte } from '@sveltejs/vite-plugin-svelte'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [svelte()],\n})"},"/package.json":{code:JSON.stringify({type:"module",scripts:{dev:"vite"},devDependencies:{"@sveltejs/vite-plugin-svelte":"^2.0.2",svelte:"^3.55.1",vite:"4.0.4","esbuild-wasm":"^0.17.12"}})}},main:"/src/App.svelte",environment:"node"},eN={files:{"/src/styles.css":e_["/styles.css"],"/src/App.svelte":{code:'<script lang="ts">\nconst data: string = "world";\n<\/script>\n\n<h1>Hello {data}</h1>\n\n<style>\nh1 {\n  font-size: 1.5rem;\n}\n</style>'},"/src/main.ts":{code:"import App from './App.svelte'\nimport \"./styles.css\"\n\nconst app = new App({\n  target: document.getElementById('app'),\n})\n\nexport default app"},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="app"></div>\n    <script type="module" src="/src/main.ts"><\/script>\n  </body>\n</html>\n'},"/vite-env.d.ts":{code:'/// <reference types="svelte" />\n/// <reference types="vite/client" />'},"svelte.config.js":{code:"import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'\n\nexport default {\n  // Consult https://svelte.dev/docs#compile-time-svelte-preprocess\n  // for more information about preprocessors\n  preprocess: vitePreprocess(),\n}\n"},"/vite.config.ts":{code:"import { defineConfig } from 'vite'\nimport { svelte } from '@sveltejs/vite-plugin-svelte'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [svelte()],\n})"},"tsconfig.json":{code:JSON.stringify({extends:"@tsconfig/svelte/tsconfig.json",compilerOptions:{target:"ESNext",useDefineForClassFields:!0,module:"ESNext",resolveJsonModule:!0,allowJs:!0,checkJs:!0,isolatedModules:!0},include:["src/**/*.d.ts","src/**/*.ts","src/**/*.js","src/**/*.svelte"],references:[{path:"./tsconfig.node.json"}]},null,2)},"tsconfig.node.json":{code:JSON.stringify({compilerOptions:{composite:!0,module:"ESNext",moduleResolution:"Node"},include:["vite.config.ts"]},null,2)},"/package.json":{code:JSON.stringify({type:"module",scripts:{dev:"vite"},devDependencies:{"@sveltejs/vite-plugin-svelte":"^2.0.2","@tsconfig/svelte":"^3.0.0",svelte:"^3.55.1","svelte-check":"^2.10.3",tslib:"^2.5.0",vite:"4.1.4","esbuild-wasm":"^0.17.12"}},null,2)}},main:"/src/App.svelte",environment:"node"},eL={files:{"/src/styles.css":e_["/styles.css"],"/src/App.vue":{code:'<script setup>\nimport { ref } from "vue";\n\nconst data = ref("world");\n<\/script>\n\n<template>\n  <h1>Hello {{ data }}</h1>\n</template>\n\n<style>\nh1 {\n  font-size: 1.5rem;\n}\n</style>'},"/src/main.js":{code:"import { createApp } from 'vue'\nimport App from './App.vue'\nimport \"./styles.css\"\n            \ncreateApp(App).mount('#app')            \n"},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="app"></div>\n    <script type="module" src="/src/main.js"><\/script>\n  </body>\n</html>\n'},"/vite.config.js":{code:"import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [vue()]\n})\n"},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"vite build",preview:"vite preview"},dependencies:{vue:"^3.2.45"},devDependencies:{"@vitejs/plugin-vue":"3.2.0",vite:"4.1.4","esbuild-wasm":"0.17.12"}})}},main:"/src/App.vue",environment:"node"},ez={files:{"/src/styles.css":e_["/styles.css"],"/src/App.vue":{code:'<script setup lang="ts">\nimport { ref } from "vue";\n\nconst data = ref<string>("world");\n<\/script>\n\n<template>\n  <h1>Hello {{ data }}</h1>\n</template>\n\n<style>\nh1 {\n  font-size: 1.5rem;\n}\n</style>'},"/src/main.ts":{code:"import { createApp } from 'vue'\nimport App from './App.vue'\nimport \"./styles.css\"\n\ncreateApp(App).mount('#app')\n"},"/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n    <title>Vite App</title>\n  </head>\n  <body>\n    <div id="app"></div>\n    <script type="module" src="/src/main.ts"><\/script>\n  </body>\n</html>\n'},"/vite-env.d.ts":{code:'/// <reference types="vite/client" />'},"/vite.config.ts":{code:"import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [vue()]\n})\n"},"tsconfig.json":{code:JSON.stringify({compilerOptions:{target:"ESNext",useDefineForClassFields:!0,module:"ESNext",moduleResolution:"Node",strict:!0,jsx:"preserve",resolveJsonModule:!0,isolatedModules:!0,esModuleInterop:!0,lib:["ESNext","DOM"],skipLibCheck:!0,noEmit:!0},include:["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"],references:[{path:"./tsconfig.node.json"}]},null,2)},"tsconfig.node.json":{code:JSON.stringify({compilerOptions:{composite:!0,module:"ESNext",moduleResolution:"Node",allowSyntheticDefaultImports:!0},include:["vite.config.ts"]},null,2)},"/package.json":{code:JSON.stringify({scripts:{dev:"vite",build:"tsc && vite build",preview:"vite preview"},dependencies:{vue:"^3.2.47"},devDependencies:{"@vitejs/plugin-vue":"^4.0.0",vite:"4.1.4","vue-tsc":"^1.2.0",typescript:"^4.9.5","esbuild-wasm":"^0.17.12"}},null,2)}},main:"/src/App.vue",environment:"node"},eF={files:{"/src/app/app.component.css":e_["/styles.css"],"/src/app/app.component.html":{code:"<div>\n<h1>{{ helloWorld }}</h1>\n</div>     \n"},"/src/app/app.component.ts":{code:'import { Component } from "@angular/core";\n\n@Component({\n  selector: "app-root",\n  templateUrl: "./app.component.html",\n  styleUrls: ["./app.component.css"]\n})\nexport class AppComponent {\n  helloWorld = "Hello world";\n}           \n'},"/src/app/app.module.ts":{code:'import { BrowserModule } from "@angular/platform-browser";\nimport { NgModule } from "@angular/core";\n      \nimport { AppComponent } from "./app.component";\n      \n@NgModule({\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule {}       \n'},"/src/index.html":{code:'<!doctype html>\n<html lang="en">\n      \n<head>\n  <meta charset="utf-8">\n  <title>Angular</title>\n  <base href="/">
382\n      \n  <meta name="viewport" content="width=device-width, initial-scale=1">\n  <link rel="icon" type="image/x-icon" href="favicon.ico">\n</head>\n      \n<body>\n   <app-root></app-root>\n</body>\n      \n</html>\n'},"/src/main.ts":{code:'import { enableProdMode } from "@angular/core";\nimport { platformBrowserDynamic } from "@angular/platform-browser-dynamic";\n      \nimport { AppModule } from "./app/app.module";      \n\nplatformBrowserDynamic()\n  .bootstrapModule(AppModule)\n  .catch(err => console.log(err));\n      \n'},"/src/polyfills.ts":{code:'import "core-js/proposals/reflect-metadata";   \n      import "zone.js/dist/zone";\n'},"/package.json":{code:JSON.stringify({dependencies:{"@angular/core":"^11.2.0","@angular/platform-browser":"^11.2.0","@angular/platform-browser-dynamic":"^11.2.0","@angular/common":"^11.2.0","@angular/compiler":"^11.2.0","zone.js":"0.11.3","core-js":"3.8.3",rxjs:"6.6.3"},main:"/src/main.ts"})}},main:"/src/app/app.component.ts",environment:"angular-cli"},eV={files:L(L({},e_),{"/App.js":{code:"export default function App() {\n  return <h1>Hello world</h1>\n}\n"},"/index.js":{code:'import React, { StrictMode } from "react";\nimport { createRoot } from "react-dom/client";\nimport "./styles.css";\n\nimport App from "./App";\n\nconst root = createRoot(document.getElementById("root"));\nroot.render(\n  <StrictMode>\n    <App />\n  </StrictMode>\n);'},"/public/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8">\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\n    <title>Document</title>\n  </head>\n  <body>\n    <div id="root"></div>\n  </body>\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{react:"^18.0.0","react-dom":"^18.0.0","react-scripts":"^5.0.0"},main:"/index.js"})}}),main:"/App.js",environment:"create-react-app"},eW={files:L(L({},e_),{"tsconfig.json":{code:'{\n  "include": [\n    "./**/*"\n  ],\n  "compilerOptions": {\n    "strict": true,\n    "esModuleInterop": true,\n    "lib": [ "dom", "es2015" ],\n    "jsx": "react-jsx"\n  }\n}'},"/App.tsx":{code:"export default function App(): JSX.Element {\n  return <h1>Hello world</h1>\n}\n"},"/index.tsx":{code:'import React, { StrictMode } from "react";\nimport { createRoot } from "react-dom/client";\nimport "./styles.css";\n\nimport App from "./App";\n\nconst root = createRoot(document.getElementById("root"));\nroot.render(\n  <StrictMode>\n    <App />\n  </StrictMode>\n);'},"/public/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="UTF-8">\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\n    <title>Document</title>\n  </head>\n  <body>\n    <div id="root"></div>\n  </body>\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{react:"^18.0.0","react-dom":"^18.0.0","react-scripts":"^4.0.0"},devDependencies:{"@types/react":"^18.0.0","@types/react-dom":"^18.0.0",typescript:"^4.0.0"},main:"/index.tsx"})}}),main:"/App.tsx",environment:"create-react-app"},eY={files:L(L({},e_),{"/App.tsx":{code:'import { Component } from "solid-js";\n\nconst App: Component = () => {\n  return <h1>Hello world</h1>\n};\n\nexport default App;'},"/index.tsx":{code:'import { render } from "solid-js/web";\nimport App from "./App";\n\nimport "./styles.css";\n\nrender(() => <App />, document.getElementById("app"));'},"/index.html":{code:'<html>\n<head>\n  <title>Parcel Sandbox</title>\n  <meta charset="UTF-8" />\n</head>\n<body>\n  <div id="app"></div>\n  <script src="src/index.tsx"><\/script>\n</body>\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{"solid-js":"1.3.15"},main:"/index.tsx"})}}),main:"/App.tsx",environment:"solid"},eX={files:L(L({},e_),{"/App.svelte":{code:"<style>\n  h1 {\n    font-size: 1.5rem;\n  }\n</style>\n\n<script>\n  let name = 'world';\n<\/script>\n\n<main>\n  <h1>Hello {name}</h1>\n</main>"},"/index.js":{code:'import App from "./App.svelte";\nimport "./styles.css";\n\nconst app = new App({\n  target: document.body\n});\n\nexport default app;\n      '},"/public/index.html":{code:'<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset="utf8" />\n    <meta name="viewport" content="width=device-width" />\n\n    <title>Svelte app</title>\n\n    <link rel="stylesheet" href="public/bundle.css" />\n  </head>\n\n  <body>\n    <script src="bundle.js"><\/script>\n  </body>\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{svelte:"^3.0.0"},main:"/index.js"})}}),main:"/App.svelte",environment:"svelte"},eB={files:{"tsconfig.json":{code:'{\n  "include": [\n    "./**/*"\n  ],\n  "compilerOptions": {\n    "strict": true,\n    "esModuleInterop": true,\n    "lib": [ "dom", "es2015" ],\n    "jsx": "react-jsx"\n  }\n}'},"/add.ts":{code:"export const add = (a: number, b: number): number => a + b;"},"/add.test.ts":{code:"import { add } from './add';\n\ndescribe('add', () => {\n  test('Commutative Law of Addition', () => {\n    expect(add(1, 2)).toBe(add(2, 1));\n  });\n});"},"package.json":{code:JSON.stringify({dependencies:{},devDependencies:{typescript:"^4.0.0"},main:"/add.ts"})}},main:"/add.test.ts",environment:"parcel",mode:"tests"},eq={files:L(L({},e_),{"/index.js":{code:'import "./styles.css";\n\ndocument.getElementById("app").innerHTML = `\n<h1>
382Hello world</h1>\n`;\n'},"/index.html":{code:'<!DOCTYPE html>\n<html>\n\n<head>\n  <title>Parcel Sandbox</title>\n  <meta charset="UTF-8" />\n</head>\n\n<body>\n  <div id="app"></div>\n\n  <script src="index.js">\n  <\/script>\n</body>\n\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{},main:"/index.js"})}}),main:"/index.js",environment:"parcel"},eU={files:L(L({},e_),{"tsconfig.json":{code:'{\n  "compilerOptions": {\n    "strict": true,\n    "module": "commonjs",\n    "jsx": "preserve",\n    "esModuleInterop": true,\n    "sourceMap": true,\n    "allowJs": true,\n    "lib": [\n      "es6",\n      "dom"\n    ],\n    "rootDir": "src",\n    "moduleResolution": "node"\n  }\n}'},"/index.ts":{code:'import "./styles.css";\n\ndocument.getElementById("app").innerHTML = `\n<h1>Hello world</h1>\n`;\n'},"/index.html":{code:'<!DOCTYPE html>\n<html>\n\n<head>\n  <title>Parcel Sandbox</title>\n  <meta charset="UTF-8" />\n</head>\n\n<body>\n  <div id="app"></div>\n\n  <script src="index.ts">\n  <\/script>\n</body>\n\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{},devDependencies:{typescript:"^4.0.0"},main:"/index.ts"})}}),main:"/index.ts",environment:"parcel"},eH={files:{"/src/styles.css":e_["/styles.css"],"/src/App.vue":{code:"<template>\n  <h1>Hello {{ msg }}</h1>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\nconst msg = ref('world');\n<\/script>"},"/src/main.js":{code:"import { createApp } from 'vue'\nimport App from './App.vue'\nimport \"./styles.css\";\n\ncreateApp(App).mount('#app')\n"},"/public/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="utf-8" />\n    <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n    <meta name="viewport" content="width=device-width,initial-scale=1.0" />\n    <title>codesandbox</title>\n  </head>\n  <body>\n    <noscript>\n      <strong\n        >We\'re sorry but codesandbox doesn\'t work properly without JavaScript\n        enabled. Please enable it to continue.</strong\n      >\n    </noscript>\n    <div id="app"></div>\n    \x3c!-- built files will be auto injected --\x3e\n  </body>\n</html>\n'},"/package.json":{code:JSON.stringify({name:"vue3",version:"0.1.0",private:!0,main:"/src/main.js",scripts:{serve:"vue-cli-service serve",build:"vue-cli-service build"},dependencies:{"core-js":"^3.26.1",vue:"^3.2.45"},devDependencies:{"@vue/cli-plugin-babel":"^5.0.8","@vue/cli-service":"^5.0.8"}})}},main:"/src/App.vue",environment:"vue-cli"},eG={files:{"/src/styles.css":e_["/styles.css"],"/src/App.vue":{code:"<template>\n  <h1>Hello {{ msg }}</h1>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\nconst msg = ref<string>('world');\n<\/script>"},"/src/main.ts":{code:"import { createApp } from 'vue'\nimport App from './App.vue'\nimport \"./styles.css\";\n\ncreateApp(App).mount('#app')\n"},"/src/shims-vue.d.ts":'/* eslint-disable */\ndeclare module "*.vue" {\n  import type { DefineComponent } from "vue";\n  const component: DefineComponent<{}, {}, any>;\n  export default component;\n}',"/public/index.html":{code:'<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="utf-8" />\n    <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n    <meta name="viewport" content="width=device-width,initial-scale=1.0" />\n    <title>codesandbox</title>\n  </head>\n  <body>\n    <noscript>\n      <strong\n        >We\'re sorry but codesandbox doesn\'t work properly without JavaScript\n        enabled. Please enable it to continue.</strong\n      >\n    </noscript>\n    <div id="app"></div>\n    \x3c!-- built files will be auto injected --\x3e\n  </body>\n</html>\n'},"/package.json":{code:JSON.stringify({name:"vue3-ts",version:"0.1.0",private:!0,main:"/src/main.ts",scripts:{serve:"vue-cli-service serve",build:"vue-cli-service build"},dependencies:{"core-js":"^3.26.1",vue:"^3.2.45"},devDependencies:{"@vue/cli-plugin-babel":"^5.0.8","@vue/cli-plugin-typescript":"^5.0.8","@vue/cli-service":"^5.0.8",typescript:"^4.9.3"}})},"/tsconfig.json":{code:JSON.stringify({compilerOptions:{target:"esnext",module:"esnext",strict:!0,jsx:"preserve",moduleResolution:"node",experimentalDecorators:!0,skipLibCheck:!0,esModuleInterop:!0,allowSyntheticDefaultImports:!0,forceConsistentCasingInFileNames:!0,useDefineForClassFields:!0,sourceMap:!1,baseUrl:".",types:["webpack-env"],paths:{"@/*":["src/*"]},lib:["esnext","dom","dom.iterable","scripthost"]},include:["src/**/*.ts","src/**/*.tsx","src/**/*.vue","tests/**/*.ts","tests/**/*.tsx"],exclude:["node_modules"]})}},main:"/src/App.vue",environment:"vue-cli"},eJ={static:{files:L(L({},e_),{"/index.html":{code:'<!DOCTYPE html>\n<html>\n\n<head>\n  <title>Parcel Sandbox</title>\n  <meta charset="UTF-8" />\n  <link rel="stylesheet" href="/styles.css" />\n</head>\n\n<body>\n  <h1>
382Hello world</h1>\n</body>\n\n</html>'},"/package.json":{code:JSON.stringify({dependencies:{},main:"/index.html"})}}),main:"/index.html",environment:"static"},angular:eF,react:eV,"react-ts":eW,solid:eY,svelte:eX,"test-ts":eB,"vanilla-ts":eU,vanilla:eq,vue:eH,"vue-ts":eG,node:eE,nextjs:eD,vite:eQ,"vite-react":eZ,"vite-react-ts":eI,"vite-preact":e$,"vite-preact-ts":eR,"vite-vue":eL,"vite-vue-ts":ez,"vite-svelte":eA,"vite-svelte-ts":eN,astro:eT},eK=function(e){var t,n,r,i,o,a,s=(0,k.f)(e.files),l=e1({template:e.template,customSetup:e.customSetup,files:s}),c=(0,k.f)(null!==(n=null===(t=e.options)||void 0===t?void 0:t.visibleFiles)&&void 0!==n?n:[]),u=(null===(r=e.options)||void 0===r?void 0:r.activeFile)?e0(null===(i=e.options)||void 0===i?void 0:i.activeFile,l.files):void 0;0===c.length&&s&&Object.keys(s).forEach(function(e){var t=s[e];if("string"==typeof t){c.push(e);return}!u&&t.active&&(u=e,!0===t.hidden&&c.push(e)),!t.hidden&&c.push(e)}),0===c.length&&(c=[l.main]),l.entry&&!l.files[l.entry]&&(l.entry=e0(l.entry,l.files)),!u&&l.main&&(u=l.main),(!u||!l.files[u])&&(u=c[0]),!c.includes(u)&&c.push(u);var d=(0,k.d)(l.files,null!==(o=l.dependencies)&&void 0!==o?o:{},null!==(a=l.devDependencies)&&void 0!==a?a:{},l.entry);return{visibleFiles:c.filter(function(e){return d[e]}),activeFile:u,files:d,environment:l.environment,shouldUpdatePreview:!0}},e0=function(e,t){var n=(0,k.f)(t),r=(0,k.f)(e);if(r in n)return r;if(!e)return null;for(var i=null,o=0,a=[".js",".jsx",".ts",".tsx"];!i&&o<a.length;){var s=r.split(".")[0],l="".concat(s).concat(a[o]);void 0!==n[l]&&(i=l),o++}return i},e1=function(e){var t=e.files,n=e.template,r=e.customSetup;if(!n){if(!r){var i=eJ.vanilla;return L(L({},i),{files:L(L({},i.files),e2(t))})}if(!t||0===Object.keys(t).length)throw Error("[sandpack-react]: without a template, you must pass at least one file");return L(L({},r),{files:e2(t)})}var o=eJ[n];if(!o)throw Error('[sandpack-react]: invalid template "'.concat(n,'" provided'));return r||t?{files:e2(L(L({},o.files),t)),dependencies:L(L({},o.dependencies),null==r?void 0:r.dependencies),devDependencies:L(L({},o.devDependencies),null==r?void 0:r.devDependencies),entry:(0,k.f)(null==r?void 0:r.entry),main:o.main,environment:(null==r?void 0:r.environment)||o.environment}:o},e2=function(e){return e?Object.keys(e).reduce(function(t,n){return"string"==typeof e[n]?t[n]={code:e[
382n]}:t[n]=e[n],t},{}):{}},e5=function(e,t){var n=(0,x.useState)({editorState:"pristine"}),r=n[0],i=n[1],o=eK(e),a=(0,S.J)(o.files,t)?"pristine":"dirty";return a!==r.editorState&&i(function(e){return L(L({},e),{editorState:a})}),r},e3=function(){return"function"==typeof x.useId?(0,x.useId)():eh()},e4=function(e){if("function"!=typeof x.useId)return function(){return e6(eh(),9)};var t=(0,x.useId)();return function(){return F(void 0,void 0,void 0,function(){return V(this,function(n){switch(n.label){case 0:return[4,function(e){return F(this,void 0,void 0,function(){var t,n;return V(this,function(r){switch(r.label){case 0:return t=new TextEncoder().encode(e),[4,crypto.subtle.digest("SHA-256",t)];case 1:return n=Array.from(new Uint8Array(r.sent())),[2,btoa(String.fromCharCode.apply(String,n))]}})})}(Object.entries(e).map(function(e,t){return e+"|"+t}).join("|||")+t+"2.19.8")];case 1:return[2,e6(n.sent().replace(/:/g,"sp").replace(/[^a-zA-Z]/g,""),9)]}})})}};function e6(e,t){return e.length>t?e.slice(0,t):e.padEnd(t,"s")}var e9=function(e,t){var n,r,i,o=e.options,a=e.customSetup,s=e.teamId,l=e.sandboxId;null!=o||(o={}),null!=a||(a={});var c=(null==o?void 0:o.initMode)||"lazy",u=(0,x.useState)({startRoute:null==o?void 0:o.startRoute,bundlerState:void 0,error:null,initMode:c,reactDevTools:void 0,status:null===(n=null==o?void 0:o.autorun)||void 0===n||n?"initial":"idle"}),d=u[0],f=u[1],h=(0,x.useRef)(),p=(0,x.useRef)(null),m=(0,x.useRef)(null),g=(0,x.useRef)({}),O=(0,x.useRef)({}),v=(0,x.useRef)(null),b=(0,x.useRef)({}),y=(0,x.useRef)(),w=(0,x.useRef)({global:{}}),S=(0,x.useRef)(),M=(0,x.useRef)(t.environment),j=e4(t.files),C=(0,x.useCallback)(function(e,n,r){return F(void 0,void 0,void 0,function(){var i,c,u,h,p,m,g,x,S;return V(this,function(k){switch(k.label){case 0:return O.current[n]&&O.current[n].destroy(),null!=o||(o={}),null!=a||(a={}),i=null!==(g=null==o?void 0:o.bundlerTimeOut)&&void 0!==g?g:4e4,v.current&&clearTimeout(v.current),"function"!=typeof y.current&&(v.current=setTimeout(function(){_(),f(function(e){return L(L({},e),{status:"timeout"})})},i)),c=function(){return F(void 0,void 0,void 0,function(){var e,t;return V(this,function(n){switch(n.label){case 0:if(!(null==o?void 0:o.experimental_enableStableServiceWorkerId))return[3,3];if(e="SANDPACK_INTERNAL:URL-CONSISTENT-ID",t=localStorage.getItem(e))return[3,2];return[4,j()];case 1:t=n.sent(),localStorage.setItem(e,t),n.label=2;case 2:return[2,t];case 3:return[4,j()];case 4:return[2,n.sent()]}})})},h=P.sF,p=[e,{files:t.files,template:t.environment}],m={externalResources:o.externalResources,bundlerURL:o.bundlerURL,startRoute:null!==(x=null==r?void 0:r.startRoute)&&void 0!==x?x:o.startRoute,fileResolver:o.fileResolver,skipEval:null!==(S=o.skipEval)&&void 0!==S&&S,logLevel:o.logLevel,showOpenInCodeSandbox:!1,showErrorScreen:!0,showLoadingScreen:!1,reactDevTools:d.reactDevTools,customNpmRegistries:null==a?void 0:a.npmRegistries,teamId:s,experimental_enableServiceWorker:!!(null==o?void 0:o.experimental_enableServiceWorker)},[4,c()];case 1:return[4,h.apply(void 0,p.concat([(m.experimental_stableServiceWorkerId=k.sent(),m.sandboxId=l,m)]))];case 2:return u=k.sent(),"function"!=typeof y.current&&(y.current=u.listen($)),b.current[n]=b.current[n]||{},w.current[n]&&(Object.keys(w.current[n]).forEach(function(e){var t=w.current[n][e],r=u.listen(t);b.current[n][e]=r}),w.current[n]={}),Object.entries(w.current.global).forEach(function(e){var t=e[0],r=e[1],i=u.listen(r);b.current[n][t]=i}),O.current[n]=u,[2]}})})},[t.environment,t.files,d.reactDevTools]),_=(0,x.useCallback)(function(){Object.keys(O.current).map(Q),"function"==typeof y.current&&(y.current(),y.current=void 0)},[]),T=(0,x.useCallback)(function(){return F(void 0,void 0,void 0,function(){return V(this,function(e){switch(e.label){case 0:return[4,Promise.all(Object.entries(g.current).map(function(e){var t=e[0],n=e[1],r=n.iframe,i=n.clientPropsOverride,o=void 0===i?{}:i;return F(void 0,void 0,void 0,function(){return V(this,function(e){switch(e.label){case 0:return[4,C(r,t,o)];case 1:return e.sent(),[2]}})})}))];case 1:return e.sent(),f(function(e){return L(L({},e),{error:null,status:"running"})}),[2]}})})},[C]);h.current=function(e){e.some(function(e){return e.isIntersecting})?T():_()};var D=(0,x.useCallback)(function(){var e,t,n;if(null===(e=null==o?void 0:o.autorun)||void 0===e||e){var r=null!==(t=null==o?void 0:o.initModeObserverOptions)&&void 0!==t?t:{rootMargin:"1000px 0px"};p.current&&m.current&&(null===(n=p.current)||void 0===n||n.unobserve(m.current)),m.current&&"lazy"===d.initMode?(p.current=ne
382w IntersectionObserver(function(e){var t,n;e.some(function(e){return e.isIntersecting})&&e.some(function(e){return e.isIntersecting})&&m.current&&(null===(t=h.current)||void 0===t||t.call(h,e),null===(n=p.current)||void 0===n||n.unobserve(m.current))},r),p.current.observe(m.current)):m.current&&"user-visible"===d.initMode?(p.current=new IntersectionObserver(function(e){var t;null===(t=h.current)||void 0===t||t.call(h,e)},r),p.current.observe(m.current)):T()}},[null==o?void 0:o.autorun,null==o?void 0:o.initModeObserverOptions,T,d.initMode,_]),E=(0,x.useCallback)(function(e,t,n){return F(void 0,void 0,void 0,function(){return V(this,function(r){switch(r.label){case 0:if(g.current[t]={iframe:e,clientPropsOverride:n},"running"!==d.status)return[3,2];return[4,C(e,t,n)];case 1:r.sent(),r.label=2;case 2:return[2]}})})},[C,d.status]),Q=function(e){var t,n,r=O.current[e];r?(r.destroy(),null===(t=r.iframe.contentWindow)||void 0===t||t.location.replace("about:blank"),r.iframe.removeAttribute("src"),delete O.current[e]):delete g.current[e],v.current&&clearTimeout(v.current),Object.values(null!==(n=b.current[e])&&void 0!==n?n:{}).forEach(function(e){Object.values(e).forEach(function(e){return e()})});var i=Object.keys(O.current).length>0?"running":"idle";f(function(e){return L(L({},e),{status:i})})},$=function(e){"start"===e.type?f(function(e){return L(L({},e),{error:null})}):"state"===e.type?f(function(t){return L(L({},t),{bundlerState:e.state})}):("done"!==e.type||e.compilatonError)&&"connected"!==e.type?"action"===e.type&&"show-error"===e.action?(v.current&&clearTimeout(v.current),f(function(t){return L(L({},t),{error:(0,k.e)(e)})})):"action"===e.type&&"notification"===e.action&&"error"===e.notificationType&&f(function(t){return L(L({},t),{error:{message:e.title}})}):(v.current&&clearTimeout(v.current),f(function(e){return L(L({},e),{error:null})}))},R=null!==(r=null==o?void 0:o.recompileMode)&&void 0!==r?r:"delayed",Z=null!==(i=null==o?void 0:o.recompileDelay)&&void 0!==i?i:200;return(0,x.useEffect)(function(){if("running"===d.status&&t.shouldUpdatePreview){if(M.current!==t.environment&&(M.current=t.environment,Object.entries(O.current).forEach(function(e){var t=e[0];E(e[1].iframe,t)})),"immediate"===R&&Object.values(O.current).forEach(function(e){"done"===e.status&&e.updateSandbox({files:t.files,template:t.environment})}),"delayed"===R){if("undefined"==typeof window)return;window.clearTimeout(S.current),S.current=window.setTimeout(function(){Object.values(O.current).forEach(function(e){"done"===e.status&&e.updateSandbox({files:t.files,template:t.environment})})},Z)}return function(){window.clearTimeout(S.current)}}},[t.files,t.environment,t.shouldUpdatePreview,Z,R,E,d.status]),(0,x.useEffect)(function(){c!==d.initMode&&(f(function(e){return L(L({},e),{initMode:c})}),D())},[c,D,d.initMode]),(0,x.useEffect)(function(){return function(){"function"==typeof y.current&&y.current(),v.current&&clearTimeout(v.current),S.current&&clearTimeout(S.current),p.current&&p.current.disconnect()}},[]),[d,{clients:O.current,initializeSandpackIframe:D,runSandpack:T,registerBundler:E,unregisterBundler:Q,registerReactDevTools:function(e){f(function(t){return L(L({},t),{reactDevTools:e})})},addListener:function(e,t){if(t){if(O.current[t]){var n=O.current[t].listen(e);return n}var r=eh();w.current[t]=w.current[t]||{},b.current[t]=b.current[t]||{},w.current[t][r]=e;var n=function(){w.current[t][r]?delete w.current[t][r]:b.current[t][r]&&(b.current[t][r](),delete b.current[t][r])};return n}var i=eh();w.current.global[i]=e;var o=Object.values(O.current).map(function(t){return t.listen(e)}),n=function(){o.forEach(function(e){return e()}),delete w.current.global[i],Object.values(b.current).forEach(function(e){var t;null===(t=null==e?void 0:e[i])||void 0===t||t.call(e)})};return n},dispatchMessage:function(e,t){if("running"!==d.status){console.warn("[sandpack-react]: dispatch cannot be called while in idle mode");return}t?O.current[t].dispatch(e):Object.values(O.current).forEach(function(t){t.dispatch(e)})},lazyAnchorRef:m,unsubscribeClientListenersRef:b,queuedListenersRef:w}]},e8=function(e){var t=eK(e),n=(0,x.useState)(t),r=n[0],i=n[1],o=(0,x.useRef)(!1);(0,x.useEffect)(function(){o.current?i(eK(e)):o.current=!0},[e.files,e.customSetup,e.template]);var a=function(e,t,n){void 0===n&&(n=!0),i(function(r){var i,o=r.files;return"string"==typeof e&&"string"==typeof t?o=L(L({},o),((i={})[e]=L(L({}
382,o[e]),{code:t}),i)):"object"==typeof e&&(o=L(L({},o),e2(e))),L(L({},r),{files:(0,k.f)(o),shouldUpdatePreview:n})})};return[L(L({},r),{visibleFilesFromProps:t.visibleFiles}),{openFile:function(e){i(function(t){var n=t.visibleFiles,r=z(t,["visibleFiles"]),i=n.includes(e)?n:W(W([],n,!0),[e],!1);return L(L({},r),{activeFile:e,visibleFiles:i})})},resetFile:function(e){i(function(n){var r;return L(L({},n),{files:L(L({},n.files),((r={})[e]=t.files[e],r))})})},resetAllFiles:function(){i(function(e){return L(L({},e),{files:t.files})})},setActiveFile:function(e){r.files[e]&&i(function(t){return L(L({},t),{activeFile:e})})},updateCurrentFile:function(e,t){void 0===t&&(t=!0),a(r.activeFile,e,t)},updateFile:a,addFile:a,closeFile:function(e){1!==r.visibleFiles.length&&i(function(t){var n=t.visibleFiles,r=t.activeFile,i=z(t,["visibleFiles","activeFile"]),o=n.indexOf(e),a=n.filter(function(t){return t!==e});return L(L({},i),{activeFile:e===r?0===o?n[1]:n[o-1]:r,visibleFiles:a})})},deleteFile:function(e,t){void 0===t&&(t=!0),i(function(n){var r=n.visibleFiles,i=n.files,o=n.activeFile,a=z(n,["visibleFiles","files","activeFile"]),s=L({},i);delete s[e];var l=r.filter(function(t){return t!==e});if(0===l.length){var c=Object.keys(i)[Object.keys(i).length-1];return L(L({},a),{visibleFiles:[c],activeFile:c,files:s,shouldUpdatePreview:t})}return L(L({},a),{visibleFiles:l,activeFile:e===o?l[l.length-1]:o,files:s,shouldUpdatePreview:t})})}}]},e7=x.createContext(null),te=function(e){var t,n,r,i=e.children,o=e.options,a=e.style,s=e.className,l=e.theme,c=e8(e),u=c[0],d=c[1],f=e9(e,u),h=f[0],p=f[1],m=p.dispatchMessage,g=p.addListener,O=z(p,["dispatchMessage","addListener"]),v=e5(e,u.files);return x.useEffect(function(){O.initializeSandpackIframe()},[]),(0,y.jsx)(e7.Provider,{value:L(L(L(L(L(L({},u),h),v),d),O),{autoReload:null===(n=null===(t=e.options)||void 0===t?void 0:t.autoReload)||void 0===n||n,teamId:null==e?void 0:e.teamId,exportOptions:null===(r=null==e?void 0:e.customSetup)||void 0===r?void 0:r.exportOptions,listen:g,dispatch:m}),children:(0,y.jsx)(eS,{classes:null==o?void 0:o.classes,children:(0,y.jsx)(eC,{className:s,style:a,theme:l,children:i})})})};function tt(){var e=x.useContext(e7);if(null===e)throw Error('[sandpack-react]: "useSandpack" must be wrapped by a "SandpackProvider"');var t=e.dispatch,n=e.listen,r=z(e,["dispatch","listen"]);return{sandpack:L({},r),dispatch:t,listen:n}}e7.Consumer;var tn=function(){var e,t,n,r=tt().sandpack;return{code:null===(e=r.files[r.activeFile])||void 0===e?void 0:e.code,readOnly:null!==(n=null===(t=r.files[r.activeFile])||void 0===t?void 0:t.readOnly)&&void 0!==n&&n,updateCode:r.updateCurrentFile}},tr=em({svg:{margin:"auto"}}),ti=em(((a={appearance:"none",outline:"none",display:"flex",alignItems:"center",fontSize:"inherit",fontFamily:"inherit",backgroundColor:"transparent",transition:"color $default, background $default",cursor:"pointer",color:"$colors$clickable",border:0,textDecoration:"none","&:disabled":{color:"$colors$disabled"},"&:hover:not(:disabled,[data-active='true'])":{color:"$colors$hover"},'&[data-active="true"]':{color:"$colors$accent"},svg:{minWidth:"$space$4",width:"$space$4",height:"$space$4"}})["&.".concat(tr)]={padding:"$space$1",height:"$space$7",display:"flex"},a["&.".concat(tr,"&:not(:has(span))")]={width:"$space$7"},a["&.".concat(tr,"&:has(svg + span)")]={paddingRight:"$space$3",paddingLeft:"$space$2",gap:"$space$1"},a)),to=em({backgroundColor:"$colors$surface2",borderRadius:"99999px",border:"1px solid $colors$surface3",'&[data-active="true"]':{color:"$colors$surface1",background:"$colors$accent"},"&:hover:not(:disabled,[data-active='true'])":{backgroundColor:"$colors$surface3"}}),ta=em({padding:0}),ts=eg({"0%":{opacity:0},"100%":{opacity:1}}),tl=em({position:"absolute",bottom:"0",left:"0",right:"0",top:"0",margin:"0",overflow:"auto",height:"100%",zIndex:"$top"}),tc=em(((s={whiteSpace:"pre-wrap",padding:"$space$10",backgroundColor:"$colors$surface1",display:"flex",gap:"$space$2",flexDirection:"column"})[".".concat(ti)]={width:"auto",gap:"$space$2",padding:"0 $space$3 0 $space$2",marginTop:"$space$1"},s.variants={solidBg:{true:{backgroundColor:"$colors$errorSurface"}}},s)),tu=em(((l={padding:"$space$10",backgroundColor:"$colors$surface1"})[".".concat(ti)]={marginTop:"$space$6",width:"auto",gap:"$space$2",padding:"0 $space$3 0 $space$2"},l)),td=em({animation:"".concat(ts," 150ms ease"),color:"$colors$error",display:"flex",flexDirection:"column",gap:"$space$3",variants:{errorCode:{true:{fontFamily:"$font$mono"}}},a:{color:"inherit"},p:{margin:0}}),tf=em({borderBottom:"1px solid $colors$surface2",background:"$colors$surface1"}),th=em({padding:"0 $space$2",overflow:"auto",display:"flex",flexWrap:"nowrap",alignItems:"stretch",minHeight:"40px",marginBottom:"-1px"}),tp=em({display:"flex",alignItems:"center",outline:"none",position:"relative",paddingRight:"20px",margin:"1px 0","&:has(button:focus)":{outline:"$colors$accent auto 1px"}}),tm=em({padding:"0 $space$1 0 $space$1",borderRadius:"$border$radius",marginLeft:"$space$1",width:"$space$5",visibility:"hidden",cursor:"pointer",position:"absolute",right:"0px",svg:{width:"$space$3",height:"$space$3",display:"block",position:"relative",top:1}}),tg=em(((c={padding:"0 $space$2",height:"$layout$headerHeight",whiteSpace:"nowrap","&:focus":{outline:"none"}})["&:hover ~ .".concat(tm)]={visibility:"visible"},c)),tO=function(e){var t=e.closableTabs,n=e.className,r=e.activeFileUniqueId,i=z(e,["closableTabs","className","activeFileUniqueId"]),o=tt().sandpack,a=ek(),s=o.activeFile,l=o.visibleFiles,c=o.setActiveFile,u=x.useState(null),d=u[0],f=u[1],h=function(e){var t=ec(e),n=l.reduce(function(n,r){return r===e?n:(ec(r)===t&&n.push(r),n)},[]);return 0===n.length?t:eu(e,n)},p=function(e){var t,n,r,i,o=e.e,a=e.index,s=o.currentTarget;switch(o.key){case"ArrowLeft":var u=s.previousElementSibling;u&&(null===(t=u.querySelector("button"))||void 0===t||t.focus(),c(l[a-1]));break;case"ArrowRight":var d=s.nextElementSibling;d&&(null===(n=d.querySelector("button"))||void 0===n||n.focus(),c(l[a+1]));break;case"Home":null===(r=s.parentElement.firstElementChild.querySelector("button"))||void 0===r||r.focus(),c(l[0]);break;case"End":null===(i=s.parentElement.lastElementChild.querySelector("button"))||void 0===i||i.focus(),c(l[-1])}};return(0,y.jsx)("div",L({className:a("tabs",[tf,n]),translate:"no"},i,{children:(0,y.jsx)("div",{"aria-label":"Select active file",className:a("tabs-scrollable-container",[th]),role:"tablist",children:l.map(function(e,n){return(0,y.jsxs)("div",{"aria-controls":"".concat(e,"-").concat(r,"-tab-panel"),"aria-selected":e===s,className:a("tab-container",[tp]),onKeyDown:function(e){return p({e:e,index:n})},onMouseEnter:function(){return f(n)},onMouseLeave:function(){return f(null)},role:"tab",children:[(0,y.jsx)("button",{className:a("tab-button",[ti,tg]),"data-active":e===s,id:"".concat(e,"-").concat(r,"-tab"),onClick:function(){return c(e)},tabIndex:e===s?0:-1,title:e,type:"button",children:h(e)}),t&&l.length>1&&(0,y.jsx)("span",{className:a("close-button",[tm]),onClick:function(t){t.stopPropagation(),o.closeFile(e)},style:{visibility:e===s||d===n?"visible":"hidden"},tabIndex:e===s?0:-1,children:(0,y.jsx)(ei,{})})]},e)})})}))},tv=function(e){var t=e.onClick,n=e.className,r=e.children,i=ek();return(0,y.jsx)("button",{className:i("button",[i("icon-standalone"),ti,tr,to,n]),onClick:t,type:"button",children:r})},tb=em({position:"absolute",bottom:"$space$2",right:"$space$2",paddingRight:"$space$3"}),ty=function(e){e.className;var t=e.onClick,n=z(e,["className","onClick"]),r=tt().sandpack;return(0,y.jsxs)(tv,L({className:tb.toString(),onClick:function(e){r.runSandpack(),null==t||t(e)}},n,{children:[(0,y.jsx)(U,{}),(0,y.jsx)("span",{children:"Run"})]}))},tx=em(((u={display:"flex",flexDirection:"column",width:"100%",position:"relative",backgroundColor:"$colors$surface1",gap:1})["&:has(.".concat("sp","-stack)")]={backgroundColor:"$colors$surface2"},u)),tw=function(e){var t=e.className,n=z(e,["className"]),r=ek();return(0,y.jsx)("div",L({className:r("stack",[tx,t])},n))},tS=function(){var e=x.useContext(ej);return{theme:e.theme,themeId:e.id,themeMode:e.mode}},tk=function(e,t){if(e.length!==t.length)return!1;for(var n=!0,r=0;r<e.length;r++)if(e[r]!==t[r]){n=!1;break}return n},tP=function(e,t){var n=t.line,r=t.column;return e.line(n).from+(null!=r?r:0)-1},tM=function(e){return"".concat("sp","-syntax-").concat(e)},tj=function(e,t,n){if(!e&&!t)return"javascript";var r=t;if(!r&&e){var i=e.lastIndexOf(".");r=e.slice(i+1)}for(var o=0;o<n.length;o++){var a=n[o];if(r===a.name||a.extensions.includes(r||""))return a.name}switch(r){case"ts":case"tsx":return"typescript";case"html":case"svelte":case"vue":case"astro":return"html";case"css":case"less":case"scss":return"css";default:return"javascript"}},tC=function(e,t){for(var n={javascript:(0,$.eJ)({jsx:!0,typescript:!1}),typescript:(0,$.eJ)({jsx:!0,typescript:!0}),html:(0,Q.dy)(),css:(0,E.iv)()},r=0;r<t.length;r++){var i=t[r];
382if(e===i.name)return i.language}return n[e]},t_=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return x.useCallback(function(t){return e.forEach(function(e){if(e){if("function"==typeof e)return e(t);e.current=t}})},e)},tT=T.p.line({attributes:{class:"cm-errorLine"}}),tD=T.lg.fromClass(function(){function e(){this.decorations=T.p.none}return e.prototype.update=function(e){var t=this;e.transactions.forEach(function(n){var r=n.annotation("show-error");if(void 0!==r){var i=tP(e.view.state.doc,{line:r})+1;t.decorations=T.p.set([tT.range(i)])}else n.annotation("remove-errors")&&(t.decorations=T.p.none)})},e}(),{decorations:function(e){return e.decorations}}),tE=em({margin:"0",display:"block",fontFamily:"$font$mono",fontSize:"$font$size",color:"$syntax$color$plain",lineHeight:"$font$lineHeight"}),tQ=em(["string","plain","comment","keyword","definition","punctuation","property","tag","static"].reduce(function(e,t){var n;return L(L({},e),((n={})[".".concat(tM(t))]={color:"$syntax$color$".concat(t),fontStyle:"$syntax$fontStyle$".concat(t)},n))},{})),t$=em(((d={flex:1,position:"relative",overflow:"auto",background:"$colors$surface1",".cm-scroller":{padding:"$space$4 0"}})[".".concat(tE)]={padding:"$space$4 0"},d["@media screen and (max-width: 768px)"]={"@supports (-webkit-overflow-scrolling: touch)":{".cm-content":{fontSize:"16px"}}},d)),tR=em({margin:"0",outline:"none",height:"100%"}),tZ=em(((f={fontFamily:"$font$mono",fontSize:"0.8em",position:"absolute",right:"$space$2",bottom:"$space$2",zIndex:"$top",color:"$colors$clickable",backgroundColor:"$colors$surface2",borderRadius:"99999px",padding:"calc($space$1 / 2) $space$2"})["& + .".concat(ti)]={right:"calc($space$11 * 2)"},f)),tI=function(e){var t=e.langSupport,n=e.highlightTheme,r=e.code,i=void 0===r?"":r,o=t.language.parser.parse(i),a=0,s=[],l=function(e,t){if(e>a){var n=i.slice(a,e);s.push(t?(0,x.createElement)("span",{children:n,className:t,key:"".concat(e).concat(a)}):n),a=e}};return(0,R.bW)(o,n,function(e,t,n){l(e,""),l(t,n)}),a<i.length&&(null==i?void 0:i.includes("\n"))&&s.push("\n\n"),s},tA=x.forwardRef(function(e,t){var n,r=e.code,i=void 0===r?"":r,o=e.filePath,a=e.fileType,s=e.onCodeUpdate,l=e.showLineNumbers,c=void 0!==l&&l,u=e.showInlineErrors,d=void 0!==u&&u,f=e.wrapContent,h=void 0!==f&&f,p=e.editorState,m=void 0===p?"pristine":p,g=e.readOnly,O=void 0!==g&&g,v=e.showReadOnly,b=e.decorators,w=e.initMode,S=void 0===w?"lazy":w,k=e.extensions,P=void 0===k?[]:k,E=e.extensionsKeymap,Q=void 0===E?[]:E,$=e.additionalLanguages,Z=void 0===$?[]:$,I=x.useRef(null),A=t_(I,t),N=x.useRef(),z=tS(),F=z.theme,V=z.themeId,Y=x.useState(i),X=Y[0],B=Y[1],q=x.useState("immediate"===S),U=q[0],H=q[1],G=ek(),J=tt(),K=J.listen,ee=J.sandpack.autoReload,et=x.useRef([]),en=x.useRef([]),er=(0,D.Z)(I,{rootMargin:"600px 0px",threshold:.2}).isIntersecting;x.useImperativeHandle(t,function(){return{getCodemirror:function(){return N.current}}}),x.useEffect(function(){("lazy"===S||"user-visible"===S)&&er&&H(!0)},[S,er]);var ei=tj(o,a,Z),eo=tC(ei,Z);var ea=(n=F,C.Qf.define([{tag:R.pJ.link,textDecoration:"underline"},{tag:R.pJ.emphasis,fontStyle:"italic"},{tag:R.pJ.strong,fontWeight:"bold"},{tag:R.pJ.keyword,class:tM("keyword")},{tag:[R.pJ.atom,R.pJ.number,R.pJ.bool],class:tM("static")},{tag:R.pJ.variableName,class:tM("plain")},{tag:R.pJ.standard(R.pJ.tagName),class:tM("tag")},{tag:[R.pJ.function(R.pJ.variableName),R.pJ.definition(R.pJ.function(R.pJ.variableName)),R.pJ.tagName],class:tM("definition")},{tag:R.pJ.propertyName,class:tM("property")},{tag:[R.pJ.literal,R.pJ.inserted],class:tM(n.syntax.string?"string":"static")},{tag:R.pJ.punctuation,class:tM("punctuation")},{tag:[R.pJ.comment,R.pJ.quote],class:tM("comment")}])),es=tI({langSupport:eo,highlightTheme:ea,code:i}),el=x.useMemo(function(){return b?b.sort(function(e,t){return e.line-t.line}):b},[b]),eu=O&&(null==b?void 0:b.length)===0;x.useEffect(function(){if(I.current&&U&&!eu){var e=I.current,t=e.querySelector(".sp-pre-placeholder");t&&e.removeChild(t);var n=new T.tk({doc:i,extensions:[],parent:e});return n.contentDOM.setAttribute("data-gramm","false"),n.contentDOM.setAttribute("data-lt-active","false"),n.contentDOM.setAttribute("aria-label",o?"Code Editor for ".concat(ec(o)):"Code Editor"),n.contentDOM.setAttribute("tabIndex","-1"),N.current=n,function(){var e;null===(e=N.current)||void 0===e||e.destroy()}}},[U,O,eu]),x.useEffect(function(){if(!eu&&N.current){var e,t=[{key:"Tab",run:function(e){(0,j.at)(e);var t,n,r=Q.find(function(e){return"Tab"===e.key});return null===(n=null===(t=null==r?void 0:r.run)||void 0===t?void 0:t.call(r,e))||void 0===n||n}},{key:"Shift-Tab",run:function(e){(0,j.xi)({state:e.state,dispatch:e.dispatch});var t,n,r=Q.find(function(e){return"Shift-Tab"===e.key});return null===(n=null===(t=null==r?void 0:r.run)||void 0===t?void 0:t.call(r,e))||void 0===n||n}},{key:"Escape",run:function(){return!!O||(I.current&&I.current.focus(),!0)}},{key:"mod-Backspace",run:j.fE}],n=W(W([(0,T.AE)(),(0,j.m8)(),(0,M.vQ)()],P,!0),[T.$f.of(W(W(W(W(W([],M.GA,!0),j.wQ,!0),j.f$,!0),t,!0),Q,!0)),eo,T.tk.theme({"&":{backgroundColor:"var(--".concat("sp","-colors-surface1)"),color:"var(--".concat("sp","-syntax-color-plain)"),height:"100%"},".cm-matchingBracket, .cm-nonmatchingBracket, &.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{color:"inherit",backgroundColor:"rgba(128,128,128,.25)",backgroundBlendMode:"difference"},"&.cm-editor.cm-focused":{outline:"none"},"& .cm-activeLine":{backgroundColor:"transparent"},"&.cm-editor.cm-focused .cm-activeLine":{backgroundColor:"var(--".concat("sp","-colors-surface3)"),borderRadius:"var(--".concat("sp","-border-radius)")},".cm-errorLine":{backgroundColor:"var(--".concat("sp","-colors-errorSurface)"),borderRadius:"var(--".concat("sp","-border-radius)")},".cm-content":{caretColor:"var(--".concat("sp","-colors-accent)"),padding:"0 var(--".concat("sp","-space-4)")},".cm-scroller":{fontFamily:"var(--".concat("sp","-font-mono)"),lineHeight:"var(--".concat("sp","-font-lineHeight)")},".cm-gutters":{backgroundColor:"var(--".concat("sp","-colors-surface1)"),color:"var(--".concat("sp","-colors-disabled)"),border:"none",paddingLeft:"var(--".concat("sp","-space-1)")},".cm-gutter.cm-lineNumbers":{fontSize:".6em"},".cm-lineNumbers .cm-gutterElement":{lineHeight:"var(--".concat("sp","-font-lineHeight)"),minWidth:"var(--".concat("sp","-space-5)")},".cm-content .cm-line":{paddingLeft:"var(--".concat("sp","-space-1)")},".cm-content.cm-readonly .cm-line":{paddingLeft:0}}),(0,C.nF)(ea),T.tk.updateListener.of(function(e){if(e.docChanged){var t=e.state.doc.toString();B(t),null==s||s(t)}})],!1);
382if(O?(n.push(_.yy.readOnly.of(!0)),n.push(T.tk.editable.of(!1))):(n.push((0,C.n$)()),n.push((0,T.ZO)())),el){;n.push((e=el,T.lg.fromClass(function(){function t(e){this.decorations=this.getDecoration(e)}return t.prototype.update=function(e){},t.prototype.getDecoration=function(t){if(!e)return T.p.none;var n=e.map(function(e){var n,r,i,o=T.p.line({attributes:{class:null!==(n=e.className)&&void 0!==n?n:""}}),a=T.p.mark({class:null!==(r=e.className)&&void 0!==r?r:"",attributes:null!==(i=e.elementAttributes)&&void 0!==i?i:void 0}),s=tP(t.state.doc,{line:e.line,column:e.startColumn})+1;if(e.startColumn&&e.endColumn){var l=tP(t.state.doc,{line:e.line,column:e.endColumn})+1;return a.range(s,l)}return o.range(s)});return T.p.set(n)},t}(),{decorations:function(e){return e.decorations}})))}h&&n.push(T.tk.lineWrapping),c&&n.push((0,T.Eu)()),d&&n.push(tD),N.current.dispatch({effects:_.Py.reconfigure.of(n)})}},[U,el,c,h,V,O,eu,ee]),x.useEffect(function(){var e=N.current,t=!tk(P,et.current)||!tk(Q,en.current);e&&t&&(e.dispatch({effects:_.Py.appendConfig.of(P)}),e.dispatch({effects:_.Py.appendConfig.of(T.$f.of(W([],Q,!0)))}),et.current=P,en.current=Q)},[P,Q]),x.useEffect(function(){N.current&&"dirty"===m&&window.matchMedia("(min-width: 768px)").matches&&N.current.contentDOM.focus()},[]),x.useEffect(function(){if(N.current&&"string"==typeof i&&i!==X){var e=N.current,t=e.state.selection.ranges.some(function(e){var t=e.to,n=e.from;return t>i.length||n>i.length})?_.jT.cursor(i.length):e.state.selection,n={from:0,to:e.state.doc.length,insert:i};e.dispatch({changes:n,selection:t})}},[i]),x.useEffect(function(){if(d){var e=K(function(e){var t=N.current;
382"success"===e.type?null==t||t.dispatch({annotations:[new _.q6("remove-errors",!0)]}):"action"===e.type&&"show-error"===e.action&&e.path===o&&e.line&&(null==t||t.dispatch({annotations:[new _.q6("show-error",e.line)]}))});return function(){return e()}}},[K,d]);var ed=function(){var e=4;return c&&(e+=6),!O&&(e+=1),"var(--".concat("sp","-space-").concat(e,")")};return eu?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("pre",{ref:A,className:G("cm",[G(m),G(ei),tR,tQ]),translate:"no",children:(0,y.jsx)("code",{className:G("pre-placeholder",[tE]),style:{marginLeft:ed()},children:es})}),O&&(void 0===v||v)&&(0,y.jsx)("span",L({className:G("read-only",[tZ])},{},{children:"Read-only"}))]}):(0,y.jsx)("div",{ref:A,"aria-autocomplete":"list","aria-label":o?"Code Editor for ".concat(ec(o)):"Code Editor","aria-multiline":"true",className:G("cm",[G(m),G(ei),tR,tQ]),onKeyDown:function(e){"Enter"===e.key&&N.current&&(e.preventDefault(),N.current.contentDOM.focus())},role:"textbox",tabIndex:0,translate:"no",suppressHydrationWarning:!0,children:(0,y.jsx)("pre",{className:G("pre-placeholder",[tE]),style:{marginLeft:ed()},children:es})})}),tN=(0,x.forwardRef)(function(e,t){var n=e.showTabs,r=e.showLineNumbers,i=e.showInlineErrors,o=e.showRunButton,a=e.wrapContent,s=e.closableTabs,l=e.initMode,c=e.extensions,u=e.extensionsKeymap,d=e.readOnly,f=e.showReadOnly,h=e.additionalLanguages,p=e.className,m=z(e,["showTabs","showLineNumbers","showInlineErrors","showRunButton","wrapContent","closableTabs","initMode","extensions","extensionsKeymap","readOnly","showReadOnly","additionalLanguages","className"]),g=tt().sandpack,O=tn(),v=O.code,b=O.updateCode,x=O.readOnly,w=g.activeFile,S=g.status,k=g.editorState,P=null!=n?n:g.visibleFiles.length>1,M=ek(),j=function(e,t){void 0===t&&(t=!0),b(e,t)},C=e3();return(0,y.jsxs)(tw,L({className:M("editor",[p])},m,{children:[P&&(0,y.jsx)(tO,{activeFileUniqueId:C,closableTabs:void 0!==s&&s}),(0,y.jsxs)("div",{"aria-labelledby":"".concat(w,"-").concat(C,"-tab"),className:M("code-editor",[t$]),id:"".concat(w,"-").concat(C,"-tab-panel"),role:"tabpanel",children:[(0,y.jsx)(tA,{ref:t,additionalLanguages:h,code:v,editorState:k,extensions:c,extensionsKeymap:u,filePath:w,initMode:l||g.initMode,onCodeUpdate:function(e){var t;return j(e,null===(t=g.autoReload)||void 0===t||t)},readOnly:d||x,showInlineErrors:void 0!==i&&i,showLineNumbers:void 0!==r&&r,showReadOnly:f,wrapContent:void 0!==a&&a},w),(void 0===o||o)&&(!g.autoReload||"idle"===S)?(0,y.jsx)(ty,{}):null]})]}))}),tL=x.forwardRef(function(e,t){var n=e.showTabs,r=e.showLineNumbers,i=e.decorators,o=e.code,a=e.initMode,s=e.wrapContent,l=e.additionalLanguages,c=z(e,["showTabs","showLineNumbers","decorators","code","initMode","wrapContent","additionalLanguages"]),u=tt().sandpack,d=tn().code,f=ek(),h=null!=n?n:u.visibleFiles.length>1,p=e3();return(0,y.jsxs)(tw,L({className:f("editor-viewer")},c,{children:[h?(0,y.jsx)(tO,{activeFileUniqueId:p}):null,(0,y.jsx)("div",{"aria-labelledby":"".concat(u.activeFile,"-").concat(p,"-tab"),className:f("code-editor",[t$]),id:"".concat(u.activeFile,"-").concat(p,"-tab-panel"),role:"tabpanel",children:(0,y.jsx)(tA,{ref:t,additionalLanguages:l,code:null!=o?o:d,decorators:i,filePath:u.activeFile,initMode:a||u.initMode,showLineNumbers:r,showReadOnly:!1,wrapContent:s,readOnly:!0})}),"idle"===u.status?(0,y.jsx)(ty,{}):null]}))}),tz=em(((h={border:"1px solid $colors$surface2",display:"flex",flexWrap:"wrap",alignItems:"stretch",borderRadius:"$border$radius",overflow:"hidden",position:"relative",backgroundColor:"$colors$surface2",gap:1})["> .".concat(tx)]={flexGrow:1,flexShrink:1,flexBasis:"0",height:"$layout$height",overflow:"hidden","@media print":{height:"auto",display:"block"},"@media screen and (max-width: 768px)":((p={})["&:not(.".concat("sp","-preview, .").concat("sp","-editor, .").concat("sp","-preset-column)")]={height:"calc($layout$height / 2)"},p.minWidth="100%;",p)},h["> .".concat("sp","-file-explorer")]={flex:.2,minWidth:200,"@media screen and (max-width: 768px)":{flex:1}},h)),tF=x.forwardRef(function(e,t){var n=e.children,r=e.className,i=z(e,["children","className"]),o=tt().sandpack,a=ek(),s=t_(o.lazyAnchorRef,t);return(0,y.jsx)("div",L({ref:s,className:a("layout",[tz,r])},i,{children:n}))}),tV=function(){var e,t=tt().sandpack.error;return null!==(e=null==t?void 0:t.message)&&void 0!==e?e:null}
382,tW=function(e,t){var n=tt(),r=n.sandpack,i=n.listen,o=x.useState("LOADING"),a=o[0],s=o[1];return(x.useEffect(function(){var t=i(function(e){"start"===e.type&&!0===e.firstLoad&&s("LOADING"),"done"===e.type&&s(function(e){return"LOADING"===e?"PRE_FADING":"HIDDEN"})},e);return function(){t()}},[e,"idle"===r.status]),x.useEffect(function(){var e;return"PRE_FADING"!==a||t?"FADING"===a&&(e=setTimeout(function(){return s("HIDDEN")},200)):s("FADING"),function(){clearTimeout(e)}},[a,t]),"timeout"===r.status)?"TIMEOUT":"running"!==r.status?"HIDDEN":a},tY=function(e){var t=tt().dispatch;return{refresh:function(){return t({type:"refresh"},e)},back:function(){return t({type:"urlback"},e)},forward:function(){return t({type:"urlforward"},e)}}},tX=function(e){var t=tt(),n=t.sandpack,r=t.listen,i=t.dispatch,o=x.useRef(null),a=x.useRef(eh());return x.useEffect(function(){var t=o.current,r=a.current;return null!==t&&n.registerBundler(t,r,e),function(){return n.unregisterBundler(r)}},[]),{sandpack:n,getClient:function(){return n.clients[a.current]||null},clientId:a.current,iframe:o,listen:function(e){return r(e,a.current)},dispatch:function(e){return i(e,a.current)}}},tB=function(e){var t=tt().dispatch;return{restart:function(){return t({type:"shell/restart"},e)},openPreview:function(){return t({type:"shell/openPreview"},e)}}},tq=function(e,t){var n;switch(e.state){case"downloading_manifest":return"[1/3] Downloading manifest";case"downloaded_module":return"[2/3] Downloaded ".concat(e.name," (").concat(t-e.totalPending,"/").concat(t,")");case"starting_command":return"[3/3] Starting command";case"command_running":return'[3/3] Running "'.concat(null===(n=e.command)||void 0===n?void 0:n.trim(),'"')}},tU=function(e){var t=x.useState(!1),n=t[0],r=t[1],i=x.useState(),o=i[0],a=i[1],s=x.useState(null),l=s[0],c=s[1],u=null==e?void 0:e.timeout,d=null==e?void 0:e.clientId,f=tt().listen;return x.useEffect(function(){var e,t=f(function(t){"start"===t.type&&t.firstLoad&&r(!1),u&&(e=setTimeout(function(){c(null)},u)),"dependencies"===t.type?c(function(){switch(t.data.state){case"downloading_manifest":return"[1/3] Downloading manifest";case"downloaded_module":return"[2/3] Downloaded ".concat(t.data.name," (").concat(t.data.progress,"/").concat(t.data.total,")");case"starting":return"[3/3] Starting"}return null}):"shell/progress"===t.type&&!n&&(!o&&"downloaded_module"===t.data.state&&a(t.data.totalPending),void 0!==o&&c(tq(t.data,o))),"done"===t.type&&!1===t.compilatonError&&(c(null),r(!0),clearTimeout(e))},d);return function(){e&&clearTimeout(e),t()}},[d,n,o,u]),l},tH=function(e){var t=e.clientId,n=e.maxMessageCount,r=void 0===n?800:n;e.resetOnPreviewRestart;var i=x.useState([]),o=i[0],a=i[1],s=tt().listen;return x.useEffect(function(){return s(function(e){"start"===e.type?a([]):"stdout"===e.type&&e.payload.data&&e.payload.data.trim()&&a(function(t){for(var n=W(W([],t,!0),[{data:e.payload.data,id:eh()}],!1);n.length>r;)n.shift();return n})},t)},[r,t]),{logs:o,reset:function(){return a([])}}},tG=function(e){var t=e.replace("[sandpack-client]: ","");if(/process.exit/.test(t)){var n=t.match(/process.exit\((\d+)\)/);return n?0===Number(n[1])?"Server is not running, would you like to start it again?":"Server has crashed with status code ".concat(n[1],", would you like to restart the server?"):t}return t},tJ=function(e){var t=e.children,n=e.className,r=z(e,["children","className"]),i=tV(),o=tB().restart,a=ek(),s=tt().sandpack,l=s.runSandpack,c=s.teamId,u=tt().dispatch;if(!i&&!t)return null;var d=null==i?void 0:i.startsWith("[sandpack-client]"),f=null==i?void 0:i.includes("NPM_REGISTRY_UNAUTHENTICATED_REQUEST");return f?(0,y.jsxs)("div",L({className:a("overlay",[a("error"),tl,tu,n])},e,{children:[(0,y.jsx)("p",{className:a("error-message",[td]),children:(0,y.jsx)("strong",{children:"Unable to fetch required dependency."})}),(0,y.jsx)("div",{className:a("error-message",[td]),children:(0,y.jsxs)("p",{children:["Authentication required. Please sign in to your account (make sure to allow pop-ups to this page) and try again. If the issue persists, contact"," ",(0,y.jsx)("a",{href:"mailto:[email protected]?subject=Sandpack Timeout Error",children:"support"})," ","for further assistance."]})}),(0,y.jsx)("div",{children:(0,y.jsxs)("button",{className:a("button",[ti,tr,to]),onClick:function(){c&&u({type:"sign-in",teamId:c})},children:[(0,y.jsx)(X,{}),(0,y.jsx)("span",{children:"Sign in"})]})})]})):d&&i?(0,y.jsx)("div",L({className:a("overlay",[a("error"),tl,tu,n])},r,{children:(0,y.jsxs)("div",{className:a("error-message",[td]),children:[(0,y.jsx)("p",{className:a("error-title",[em({fontWeight:"bold"})]),children:"Couldn't connect to server"}),(0,y.jsx)("p",{children:tG(i)}),(0,y.jsx)("div",{children:(0,y.jsxs)("button",{className:a("button",[a("icon-standalone"),ti,tr,to]),onClick:function(){o(),l()},title:"Restart script",type:"button",children:[(0,y.jsx)(q,{})," ",(0,y.jsx)("span",{children:"Restart"})]})})]})})):(0,y.jsxs)("div",L({className:a("overlay",[a("error"),tl,tc({solidBg:!0}),n]),translate:"no"},r,{children:[(0,y.jsx)("p",{className:a("error-message",[td]),children:(0,y.jsx)("strong",{children:"Something went wrong"})}),(0,y.jsx)("p",{className:a("error-message",[td({errorCode:!0})]),children:i||t})]}))};function tK(e,t,n,r){var i,o,a,s=t?null:function(e){var t={};switch(e.bg&&(t.backgroundColor="rgb(".concat(e.bg,")")),e.fg&&(t.color="rgb(".concat(e.fg,")")),e.decoration){case"bold":t.fontWeight="bold";break;case"dim":t.opacity="0.5";break;case"italic":t.fontStyle="italic";break;case"hidden":t.visibility="hidden";break;case"strikethrough":t.textDecoration="line-through";break;case"underline":t.textDecoration="underline";break;case"blink":t.textDecoration="blink"}return t}(n);
382var l=t?(o="",((i=n).bg&&(o+="".concat(i.bg,"-bg ")),i.fg&&(o+="".concat(i.fg,"-fg ")),i.decoration&&(o+="ansi-".concat(i.decoration," ")),""===o)?null:o=o.substring(0,o.length-1)):null;if(!e)return x.createElement("span",{style:s,key:r,className:l},n.content);for(var c=[],u=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,d=0;null!==(a=u.exec(n.content));){var f=a[1],h=a[2],p=a.index+f.length;p>d&&c.push(n.content.substring(d,p));var m=h.startsWith("www.")?"http://".concat(h):h;c.push(x.createElement("a",{key:d,href:m,target:"_blank"},"".concat(h))),d=u.lastIndex}return d<n.content.length&&c.push(n.content.substring(d)),x.createElement("span",{style:s,key:r,className:l},c)}function t0(e){var t,n,r=e.className,i=e.useClasses,o=e.children,a=e.linkify;return x.createElement("code",{className:r},(t=null!=o?o:"",void 0===(n=null!=i&&i)&&(n=!1),t=(0,I.escapeCarriageReturn)(function(e){var t=e;do t=(e=t).replace(/[^\n]\x08/gm,"");while(t.length<e.length);return e}(t)),Z.ansiToJson(t,{json:!0,remove_empty:!0,use_classes:n})).map(tK.bind(null,null!=a&&a,null!=i&&i)))}var t1=function(e){var t=e.data,n=ek();return(0,y.jsx)(y.Fragment,{children:t.map(function(e){var t=e.data,r=e.id;return(0,y.jsx)("div",{className:n("console-item",[t2]),children:(0,y.jsx)(t0,{children:t})},r)})})},t2=em({width:"100%",padding:"$space$3 $space$2",fontSize:".85em",position:"relative",whiteSpace:"pre","&:not(:first-child):after":{content:"",position:"absolute",top:0,left:0,right:0,height:1,background:"$colors$surface3"}}),t5="https://codesandbox.io/api/v1/sandboxes/define",t3=function(e,t){var n,r=Object.keys(e).reduce(function(t,n){var r,i=n.replace("/",""),o={content:e[n].code,isBinary:!1};return L(L({},t),((r={})[i]=o,r))},{});return n=L({files:r},t?{template:t}:null),A.compressToBase64(JSON.stringify(n)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},t4=function(e){var t=tt().sandpack;return t.exportOptions?(0,y.jsx)(t6,L({state:t},e)):(0,y.jsx)(t9,L({state:t},e))},t6=function(e){var t=e.children,n=e.state,r=z(e,["children","state"]);return(0,y.jsx)("button",L({onClick:function(){return F(void 0,void 0,void 0,function(){var e,t,r;return V(this,function(i){switch(i.label){case 0:if(!(null===(r=n.exportOptions)||void 0===r?void 0:r.apiToken))throw Error("Missing `apiToken` property");return e=Object.keys(n.files).reduce(function(e,t){var r,i=t.replace("/","");return L(L({},e),((r={})[i]=n.files[t],r))},{}),[4,fetch("https://api.codesandbox.io/sandbox",{method:"POST",body:JSON.stringify({template:n.environment,files:e,privacy:"public"===n.exportOptions.privacy?0:2}),headers:{Authorization:"Bearer ".concat(n.exportOptions.apiToken),"Content-Type":"application/json","X-CSB-API-Version":"2023-07-01"}})];case 1:return[4,i.sent().json()];case 2:return t=i.sent(),window.open("https://codesandbox.io/p/sandbox/".concat(t.data.alias,"?file=/").concat(n.activeFile,"&utm-source=storybook-addon"),"_blank"),[2]}})})},title:"Export to workspace in CodeSandbox",type:"button"},r,{children:t}))},t9=function(e){var t,n,r,i=e.children,o=e.state,a=z(e,["children","state"]),s=x.useRef(null),l=x.useState(),c=l[0],u=l[1];return(x.useEffect(function(){var e=setTimeout(function(){u(new URLSearchParams({parameters:t3(o.files,o.environment),query:new URLSearchParams({file:o.activeFile,utm_medium:"sandpack"}).toString()}))},600);return function(){clearTimeout(e)}},[o.activeFile,o.environment,o.files]),(null!==(r=null===(n=null===(t=null==c?void 0:c.get)||void 0===t?void 0:t.call(c,"parameters"))||void 0===n?void 0:n.length)&&void 0!==r?r:0)>1500)?(0,y.jsxs)("button",L({onClick:function(){var e;return null===(e=s.current)||void 0===e?void 0:e.submit()},title:"Open in CodeSandbox",type:"button"},a,{children:[(0,y.jsxs)("form",{ref:s,action:t5,method:"POST",style:{visibility:"hidden"},target:"_blank",children:[(0,y.jsx)("input",{name:"environment",type:"hidden",value:"node"===o.environment?"server":o.environment}),Array.from(c,function(e){var t=e[0],n=e[1];return(0,y.jsx)("input",{name:t,type:"hidden",value:n},t)})]}),i]})):(0,y.jsx)("a",L({href:"".concat(t5,"?").concat(null==c?void 0:c.toString(),"&environment=").concat("node"===o.environment?"server"
382:o.environment),rel:"noreferrer noopener",target:"_blank",title:"Open in CodeSandbox"},a,{children:i}))},t8=function(){var e=ek();return(0,y.jsxs)(t4,{className:e("button",[e("icon-standalone"),ti,tr,to]),children:[(0,y.jsx)(ee,{}),(0,y.jsx)("span",{children:"Open Sandbox"})]})},t7=em({transform:"translate(-4px, 9px) scale(0.13, 0.13)","*":{position:"absolute",width:"96px",height:"96px"}}),ne=em(((m={position:"absolute",right:"$space$2",bottom:"$space$2",zIndex:"$top",width:"32px",height:"32px",borderRadius:"$border$radius"})[".".concat(t7)]={display:"flex"},m[".sp-button.".concat(ti)]={display:"none"},m["&:hover .sp-button.".concat(ti)]={display:"flex"},m["&:hover .sp-button.".concat(ti," > span")]={display:"none"},m["&:hover .".concat(t7)]={display:"none"},m)),nt=eg({"0%":{transform:"rotateX(-25.5deg) rotateY(45deg)"},"100%":{transform:"rotateX(-25.5deg) rotateY(405deg)"}}),nn=em({animation:"".concat(nt," 1s linear infinite"),animationFillMode:"forwards",transformStyle:"preserve-3d",transform:"rotateX(-25.5deg) rotateY(45deg)","*":{border:"10px solid $colors$clickable",borderRadius:"8px",background:"$colors$surface1"},".top":{transform:"rotateX(90deg) translateZ(44px)",transformOrigin:"50% 50%"},".bottom":{transform:"rotateX(-90deg) translateZ(44px)",transformOrigin:"50% 50%"},".front":{transform:"rotateY(0deg) translateZ(44px)",transformOrigin:"50% 50%"},".back":{transform:"rotateY(-180deg) translateZ(44px)",transformOrigin:"50% 50%"},".left":{transform:"rotateY(-90deg) translateZ(44px)",transformOrigin:"50% 50%"},".right":{transform:"rotateY(90deg) translateZ(44px)",transformOrigin:"50% 50%"}}),nr=function(e){var t=e.className,n=e.showOpenInCodeSandbox,r=z(e,["className","showOpenInCodeSandbox"]),i=ek();return(0,y.jsxs)("div",L({className:i("cube-wrapper",[ne,t]),title:"Open in CodeSandbox"},r,{children:[n&&(0,y.jsx)(t8,{}),(0,y.jsx)("div",{className:i("cube",[t7]),children:(0,y.jsxs)("div",{className:i("sides",[nn]),children:[(0,y.jsx)("div",{className:"top"}),(0,y.jsx)("div",{className:"right"}),(0,y.jsx)("div",{className:"bottom"}),(0,y.jsx)("div",{className:"left"}),(0,y.jsx)("div",{className:"front"}),(0,y.jsx)("div",{className:"back"})]})})]}))},ni=em({backgroundColor:"$colors$surface1"}),no=function(e){var t=e.clientId,n=e.loading,r=e.className,i=e.style,o=e.showOpenInCodeSandbox,a=z(e,["clientId","loading","className","style","showOpenInCodeSandbox"]),s=ek(),l=tt().sandpack,c=l.runSandpack,u=l.environment,d=x.useState(!1),f=d[0],h=d[1],p=tW(t,n),m=tU({clientId:t}),g=tH({clientId:t}).logs;return(x.useEffect(function(){var e;return(null==m?void 0:m.includes("Running"))&&(e=setTimeout(function(){h(!0)},3e3)),function(){e&&clearTimeout(e)}},[m]),"HIDDEN"===p)?null:"TIMEOUT"===p?(0,y.jsx)("div",L({className:s("overlay",[s("error"),tl,tc,tu,r])},a,{children:(0,y.jsxs)("div",{className:s("error-message",[td]),children:[(0,y.jsx)("p",{className:s("error-title",[em({fontWeight:"bold"})]),children:"Couldn't connect to server"}),(0,y.jsx)("div",{className:s("error-message",[td]),children:(0,y.jsxs)("p",{children:["This means sandpack cannot connect to the runtime or your network is having some issues. Please check the network tab in your browser and try again. If the problem persists, report it via"," ",(0,y.jsx)("a",{href:"mailto:[email protected]?subject=Sandpack Timeout Error",children:"email"})," ","or submit an issue on"," ",(0,y.jsx)("a",{href:"https://github.com/codesandbox/sandpack/issues",rel:"noreferrer noopener",target:"_blank",children:"GitHub."})]})}),(0,y.jsxs)("p",{className:s("error-message",[td({errorCode:!0})]),children:["ENV: ",u,(0,y.jsx)("br",{}),"ERROR: TIME_OUT"]}),(0,y.jsx)("div",{children:(0,y.jsxs)("button",{className:s("button",[s("icon-standalone"),ti,tr,to]),onClick:c,title:"Restart script",type:"button",children:[(0,y.jsx)(q,{})," ",(0,y.jsx)("span",{children:"Try again"})]})})]})})):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",L({className:s("overlay",[s("loading"),tl,ni,r]),style:L(L({},i),{opacity:"LOADING"===p||"PRE_FADING"===p?1:0,transition:"opacity ".concat(200,"ms ease-out")})},a,{children:[f&&(0,y.jsx)("div",{className:na.toString(),children:(0,y.jsx)(t1,{data:g})}),(0,y.jsx)(nr,{showOpenInCodeSandbox:o})]})),m&&(0,y.jsx)("div",{className:ns.toString(),children:(0,y.jsx)("p",{children:m})})]})},na=em({position:"absolute",left:0,right:0,bottom:"$space$8",overflow:"auto",opacity:.5,overflowX:"hidden"}),ns=em({position:"absolute",left:"$space$5",bottom:"$space$4",zIndex:"$top",color:"$colors$clickable",animation:"".concat(ts," 150ms ease"),fontFamily:"$font$mono",fontSize:".8em",width:"75%",p:{whiteSpace:"nowrap",margin:0,textOverflow:"ellipsis",overflow:"hidden"}}),nl=function(e){var t=tU({timeout:3e3,clientId:e.clientId});return t?(0,y.jsx)("div",{className:nc.toString(),children:(0,y.jsx)("p",{children:t})}):null},nc=em({position:"absolute",left:"$space$5",bottom:"$space$4",zIndex:"$top",color:"$colors$clickable",animation:"".concat(ts," 150ms ease"),fontFamily:"$font$mono",fontSize:".8em",width:"75%",p:{whiteSpace:"nowrap",margin:0,textOverflow:"ellipsis",overflow:"hidden"}}),nu=em({borderRadius:"0",width:"100%",padding:0,marginBottom:"$space$2",span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},svg:{marginRight:"$space$1"}}),nd=function(e){var t=e.selectFile,n=e.path,r=e.active,i=e.onClick,o=e.depth,a=e.isDirOpen,s=ek(),l=n.split("/").filter(
382Boolean).pop();return jsxs("button",{className:s("button",[s("explorer"),ti,nu]),"data-active":r,onClick:function(e){t&&t(n),null==i||i(e)},style:{paddingLeft:18*o+"px"},title:l,type:"button",children:[t?jsx(er,{}):a?jsx(et,{}):jsx(en,{}),jsx("span",{children:l})]})},nf=function(e){var t=e.prefixedPath,n=e.files,r=e.selectFile,i=e.activeFile,o=e.depth,a=e.autoHiddenFiles,s=e.visibleFiles,l=e.initialCollapsedFolder,c=React.useState(!(null==l?void 0:l.includes(t))),u=c[0],d=c[1];return jsxs("div",{children:[jsx(nd,{depth:o,isDirOpen:u,onClick:function(){return d(function(e){return!e})},path:t+"/"}),u&&jsx(np,{activeFile:i,autoHiddenFiles:a,depth:o+1,files:n,initialCollapsedFolder:l,prefixedPath:t,selectFile:r,visibleFiles:s})]},t)},nh=function(e){var t=e.autoHiddenFiles,n=e.visibleFiles,r=e.files,i=e.prefixedPath,o=n.length>0,a=t&&!o,s=t&&!!o,l=Object.keys(r).filter(function(e){var t,o=e.startsWith(i);return s?o&&n.includes(e):a?o&&!(null===(t=r[e])||void 0===t?void 0:t.hidden):o}).map(function(e){return e.substring(i.length)}),c=new Set(l.filter(function(e){return e.includes("/")}).map(function(e){return"".concat(i).concat(e.split("/")[0],"/")})),u=l.filter(function(e){return!e.includes("/")}).map(function(e){return"".concat(i).concat(e)});return{directories:Array.from(c),modules:u}},np=function(e){var t=e.depth,n=void 0===t?0:t,r=e.activeFile,i=e.selectFile,o=e.prefixedPath,a=e.files,s=e.autoHiddenFiles,l=e.visibleFiles,c=e.initialCollapsedFolder,u=nh({visibleFiles:l,autoHiddenFiles:s,prefixedPath:o,files:a}),d=u.directories,f=u.modules;return jsxs("div",{children:[d.map(function(e){return jsx(nf,{activeFile:r,autoHiddenFiles:s,depth:n,files:a,initialCollapsedFolder:c,prefixedPath:e,selectFile:i,visibleFiles:l},e)}),f.map(function(e){return jsx(nd,{active:r===e,depth:n,path:e,selectFile:i},e)})]})};em({padding:"$space$3",overflow:"auto",height:"100%"});var nm=function(e){var t=e.match(/(https?:\/\/.*?)\//);return t&&t[1]?[t[1],e.replace(t[1],"")]:[e,"/"]},ng=em({display:"flex",alignItems:"center",height:"$layout$headerHeight",borderBottom:"1px solid $colors$surface2",padding:"$space$3 $space$2",background:"$colors$surface1"}),nO=em({backgroundColor:"$colors$surface2",color:"$colors$clickable",padding:"$space$1 $space$3",borderRadius:"99999px",border:"1px solid $colors$surface2",height:"24px",lineHeight:"24px",fontSize:"inherit",outline:"none",flex:1,marginLeft:"$space$4",width:"0",transition:"background $transitions$default","&:hover":{backgroundColor:"$colors$surface3"},"&:focus":{backgroundColor:"$surface1",border:"1px solid $colors$accent",color:"$colors$base"}}),nv=function(e){var t,n=e.clientId,r=e.onURLChange,i=e.className,o=e.startRoute,a=z(e,["clientId","onURLChange","className","startRoute"]),s=x.useState(""),l=s[0],c=s[1],u=tt(),d=u.sandpack,f=u.dispatch,h=u.listen,p=x.useState(null!==(t=null!=o?o:d.startRoute)&&void 0!==t?t:"/"),m=p[0],g=p[1],O=x.useState(!1),v=O[0],b=O[1],w=x.useState(!1),S=w[0],k=w[1],P=ek();x.useEffect(function(){var e=h(function(e){if("urlchange"===e.type){var t=e.url,n=e.back,r=e.forward,i=nm(t),o=i[0],a=i[1];c(o),g(a),b(n),k(r)}},n);return function(){return e()}},[]);var M=P("button",[P("icon"),ti,ta,em({minWidth:"$space$6",justifyContent:"center"})]);return(0,y.jsxs)("div",L({className:P("navigator",[ng,i])},a,{children:[(0,y.jsx)("button",{"aria-label":"Go back one page",className:M,disabled:!v,onClick:function(){f({type:"urlback"})},type:"button",children:(0,y.jsx)(H,{})}),(0,y.jsx)("button",{"aria-label":"Go forward one page",className:M,disabled:!S,onClick:function(){f({type:"urlforward"})},type:"button",children:(0,y.jsx)(G,{})}),(0,y.jsx)("button",{"aria-label":"Refresh page",className:M,onClick:function(){f({type:"refresh"})},type:"button",children:(0,y.jsx)(J,{})}),(0,y.jsx)("input",{"aria-label":"Current Sandpack URL",className:P("input",[nO]),name:"Current Sandpack URL",onChange:function(e){g(e.target.value.startsWith("/")?e.target.value:"/".concat(e.target.value))},onKeyDown:function(e){"Enter"===e.code&&(e.preventDefault(),e.stopPropagation(),"function"==typeof r&&r(l+e.currentTarget.value))},type:"text",value:m})]}))},nb=em(((g={flex:1,display:"flex",flexDirection:"column",background:"white",overflow:"auto",position:"relative"})[".".concat("sp","-bridge-frame")]={border:0,position:"absolute",left:"$space$2",bottom:"$space$2",zIndex:"$top",height:12,width:"30%",mixBlendMode:"multiply",pointerEvents:"none"},g)),ny=em({border:"0",outline:"0",width:"100%",height:"100%",minHeight:"160px",maxHeight:"2000px",flex:1}),nx=em({display:"flex",position:"absolute",bottom:"$space$2",right:"$space$2",zIndex:"$overlay",gap:"$space$2"}),nw=x.forwardRef(function(e,t){var n=e.showNavigator,r=void 0!==n&&n,i=e.showRefreshButton,o=e.showOpenInCodeSandbox,a=void 0===o||o,s=e.showSandpackErrorOverlay;e.showOpenNewtab;var l=e.showRestartButton,c=e.actionsChildren,u=void 0===c?(0,y.jsx)(y.Fragment,{}):c,d=e.children,f=e.className,h=e.startRoute,p=void 0===h?"/":h,m=z(e,["showNavigator","showRefreshButton","showOpenInCodeSandbox","showSandpackErrorOverlay","showOpenNewtab","showRestartButton","actionsChildren","children","className","startRoute"]),g=tX({startRoute:p}),O=g.sandpack,v=g.listen,b=g.iframe,w=g.getClient,S=g.clientId,k=g.dispatch,P=x.useState(null),M=P[0],j=P[1],C=O.status,_=tY(S).refresh,T=tB(S).restart,D=ek();return x.useEffect(function(){return v(function(e){"resize"===e.type&&j(e.height)})},[]),x.useImperativeHandle(t,function(){return{clientId:S,getClient:w}},[w,S]),(0,y.jsxs)(tw,L({className:D("preview",[f])},m,{children:[r&&(0,y.jsx)(nv,{clientId:S,onURLChange:function(e){b.current&&(b.current.src=e)},startRoute:p}),(0,y.jsxs)("div",{className:D("preview-container",[nb]),children:[(0,y.jsx)("iframe",{ref:b,className:D("preview-iframe",[ny]),style:{height:M||void 0},title:"Sandpack Preview"}),(0,y.jsxs)("div",{className:D("preview-actions",[nx]),children:[u,(void 0===l||l)&&"node"===O.environment&&(0,y.jsx)(tv,{onClick:T,children:(0,y.jsx)(q,{})}),!r&&(void 0===i||i)&&"running"===C&&(0,y.jsx)(tv,{onClick:_,children:(0,y.jsx)(J,{})}),O.teamId&&(0,y.jsx)("button",{className:D("button",[D("icon-standalone"),ti,tr,to]),onClick:function(){return k({type:"sign-out"})},title:"Sign out",type:"button",children:(0,y.jsx)(B,{})}),a&&(0,y.jsx)(t8,{})]}),(0,y.jsx)(no,{clientId:S,showOpenInCodeSandbox:a}),(void 0===s||s)&&(0,y.jsx)(tJ,{}),d]})]}))});em(((O={display:"flex",flexDirection:"column",width:"100%",position:"relative",overflow:"auto",minHeight:"160px",flex:1})[".".concat("sp","-stack")]={height:"100%"},O));var nS=em({justifyContent:"space-between",borderBottom:"1px solid $colors$surface2",padding:"0 $space$2",fontFamily:"$font$mono",height:"$layout$headerHeight",minHeight:"$layout$headerHeight",overflowX:"auto",whiteSpace:"nowrap"}),nk=em({display:"flex",flexDirection:"row",alignItems:"center",gap:"$space$2"}),nP=function(e){var t=e.status,n=e.suiteOnly,r=e.setSuiteOnly,i=e.setVerbose,o=e.verbose,a=e.watchMode,s=e.setWatchMode,l=e.showSuitesOnly,c=e.showWatchButton,u=e.showVerboseButton,d=e.hideTestsAndSupressLogs,f=ek(),h=f("test-header-button",[ti,to,em({padding:"$space$1 $space$3"})]);return(0,y.jsxs)("div",{className:f("test-header",[nS,nk]),children:[(0,y.jsx)("div",{className:f("test-header-wrapper",[nk]),children:(0,y.jsxs)("p",{className:f("test-header-title",[em({lineHeight:1,margin:0,color:"$colors$base",fontSize:"$font$size",display:"flex",alignItems:"center",gap:"$space$2"})]),children:[(0,y.jsx)(eo,{}),"Tests"]})}),(0,y.jsxs)("div",{className:f("test-header-actions",[nk]),children:[l&&(0,y.jsx)("button",{className:h,"data-active":n,disabled:"initialising"===t,onClick:r,type:"button",children:"Suite only"}),u&&(0,y.jsx)("button",{className:h,"data-active":o,disabled:"initialising"===t||d,onClick:i,type:"button",children:"Verbose"}),c&&(0,y.jsx)("button",{className:h,"data-active":a,disabled:"initialising"===t,onClick:s,type:"button",children:"Watch"})]})]})},nM=function(e){var t=e.onClick;return(0,y.jsx)(tv,{onClick:t,title:"Run tests",children:(0,y.jsx)(U,{})})},nj=em({variants:{status:{pass:{color:"var(--test-pass)"},fail:{color:"var(--test-fail)"},skip:{color:"var(--test-skip)"},title:{color:"var(--test-title)"}}}}),nC=nj({status:"pass"}),n_=nj({status:"fail"}),nT=nj({status:"skip"}),nD=nj({status:"title"}),nE=em({variants:{status:{pass:{background:"var(--test-pass)",color:"$colors$surface1"},fail:{background:"var(--test-fail)",color:"$colors$surface1"},run:{background:"var(--test-run)",color:"$colors$surface1"}}}}),nQ=nE({status:"run"}),n$=nE({status:"pass"}),nR=nE({status:"fail"}),nZ=em({marginLeft:"$space$4"}),nI=em({marginBottom:"$space$2",color:"$colors$clickable"}),nA=em({marginBottom:"$space$2",color:"$colors$hover"}),nN=em({marginLeft:"$space$2"}),nL=em({marginRight:"$space$2"}),nz=function(e){var t=e.tests;e.style;var n=ek();return(0,y.jsx)("div",{className:n("test",[nZ]),children:t.map(function(e){return(0,y.jsxs)("div",{className:n("test-result",[nI]),children:["pass"===e.status&&(0,y.jsx)("span",{className:n("test-pass-text",[nC,nL]),children:"✓"}),"fail"===e.status&&(0,y.jsx)("span",{className:n("test-fail-text",[n_,nL]),children:"✕"}),"idle"===e.status&&(0,y.jsx)("span",{className:n("test-idle-text",[nT,nL]),children:"○"}),(0,y.jsx)("span",{className:n("test-name-text",[nA]),children:e.name}),void 0!==e.duration&&(0,y.jsxs)("span",{className:n("test-duration-text",[nN]),children:["(",e.duration," ms)"]})]},e.name)})})},nF=function(e){var t,n,r;return(t=Object.values(null!==(n=e.tests)&&void 0!==n?n:{})).concat.apply(t,Object.values(null!==(r=e.describes)&&void 0!==r?r:{}).map(nF))},nV=function(e){return nF(e).reduce(function(e,t){return{pass:"pass"===t.status?e.pass+1:e.pass,fail:"fail"===t.status?e.fail+1:e.fail,skip:"idle"===t.status||"running"===t.status?e.skip+1:e.skip,total:e.total+1}},{pass:0,fail:0,skip:0,total:0})},nW=function(e){var t,n;return 0===Object.values(null!==(t=e.describes)&&void 0!==t?t:{}).length&&0===Object.values(null!==(n=e.tests)&&void 0!==n?n:{}).length},nY=function(e){var t=e.length-1;return[e.slice(0,t),e[t]]},nX=function(e,t){return e.map(t).reduce(function(e,t){return e.concat(t)},[])},nB=function(e,t){return function(n){return(0,N.Z)(n,e,t)}},nq=em({color:"$colors$hover",marginBottom:"$space$2"}),nU=em({marginLeft:"$space$4"}),nH=function(e){var t=e.describes,n=ek();return(0,y.jsx)(y.Fragment,{children:t.map(function(e){if(nW(e))return null;var t,r,i=Object.values(null!==(t=e.tests)&&void 0!==t?t:{}),o=Object.values(null!==(r=e.describes)&&void 0!==r?r:{});return(0,y.jsxs)("div",{className:n("test-describe",[nU]),children:[(0,y.jsx)("div",{className:n("test-name",[nq]),children:e.name}),(0,y.jsx)(nz,{tests:i}),(0,y.jsx)(nH,{describes:o})]},e.name)})})},nG=em({color:"$colors$hover",fontSize:"$font$size",padding:"$space$2",whiteSpace:"pre-wrap"}),nJ=function(e){var t=e.error,n=e.path,r=ek();return(0,y.jsx)("div",{className:r("test-error",[nG]),dangerouslySetInnerHTML:{__html:n0(t,n)}})},nK=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},n0=function(e,t){var n,r,i="";if(i=e.matcherResult?"<span>".concat(nK(null!==(n=e.message)&&void 0!==n?n:"").replace(/(expected)/m,'<span class="'.concat(nC,'">$1</span>')).replace(/(received)/m,'<span class="'.concat(n_,'">$1</span>')).replace(/(Difference:)/m,"<span>$1</span>").replace(/(Expected:)(.*)/m,'<span>$1</span><span class="'.concat(nC,'">$2</span>')).replace(/(Received:)(.*)/m,'<span>$1</span><span class="'.concat(n_,'">$2</span>')).replace(/^(-.*)/gm,'<span class="'.concat(n_,'">$1</span>')).replace(/^(\+.*)/gm,'<span class="'.concat(nC,'">$1</span>')),"</span>"):nK(null!==(r=e.message)&&void 0!==r?r:""),e.mappedErrors&&e.mappedErrors[0]&&e.mappedErrors[0].fileName.endsWith(t)&&e.mappedErrors[0]._originalScriptCode){var o=e.mappedErrors[0]._originalScriptCode||[],a=Math.max.apply(Math,o.map(function(e){return(e.lineNumber+"").length}))+2,s=Array.from({length:a}).map(function(){return" "});i+="<br /><br /><div>",o.filter(function(e){return e.content.trim()}
382).forEach(function(e){var t=(e.lineNumber+"").length,n=W([],s,!0);n.length-=t,e.highlight&&(n.length-=2);var r=e.content.indexOf(".to"),o=Array.from({length:s.length+r-(a-1)},function(){return" "}),l=nK(e.content).replace(/(describe|test|it)(\()(&#039;|&quot;|`)(.*)(&#039;|&quot;|`)/m,'<span>$1$2$3</span><span class="'.concat(nD,'">$4</span><span>$5</span>')).replace(/(expect\()(.*)(\)\..*)(to[\w\d]*)(\()(.*)(\))/m,'<span>$1</span><span class="'.concat(n_,'">$2</span><span>$3</span><span style="text-decoration: underline; font-weight: 900">$4</span><span>$5</span><span class="').concat(nC,'">$6</span><span>$7</span>'));i+="<div ".concat(e.highlight?'style="font-weight:200;"':"",">")+(e.highlight?'<span class="'.concat(n_,'">></span> '):"")+n.join("")+nK(""+e.lineNumber)+" | "+l+"</div>"+(e.highlight?"<div>"+s.join("")+" | "+o.join("")+'<span class="'.concat(n_,'">^</span>')+"</div>":"")}),i+="</div>"}return i.replace(/(?:\r\n|\r|\n)/g,"<br />")},n1=em({display:"flex",flexDirection:"row",alignItems:"center",marginBottom:"$space$2"}),n2=em({marginBottom:"$space$2"}),n5=em({fontWeight:"bold"}),n3=em({borderRadius:"calc($border$radius / 2)"}),n4=em({padding:"$space$1 $space$2",fontFamily:"$font$mono",textTransform:"uppercase",marginRight:"$space$2"}),n6=em({fontFamily:"$font$mono",cursor:"pointer",display:"inline-block"}),n9=em({color:"$colors$clickable",textDecorationStyle:"dotted",textDecorationLine:"underline"}),n8=em({color:"$colors$hover",fontWeight:"bold",textDecorationStyle:"dotted",textDecorationLine:"underline"}),n7=function(e){var t=e.specs,n=e.openSpec,r=e.status,i=e.verbose,o=e.hideTestsAndSupressLogs,a=ek();return(0,y.jsx)(y.Fragment,{children:t.map(function(e){if(e.error)return(0,y.jsxs)("div",{className:a("test-spec",[n2]),children:[(0,y.jsx)(re,{className:a("test-spec-error",[n3,nR]),children:"Error"}),(0,y.jsx)(rt,{onClick:function(){return n(e.name)},path:e.name}),(0,y.jsx)(nJ,{error:e.error,path:e.name})]},e.name);if(nW(e))return null;var t=Object.values(e.tests),s=Object.values(e.describes),l=nV(e);return(0,y.jsxs)("div",{className:a("test-spec-name",[n2]),children:[(0,y.jsxs)("div",{className:a("test-spec-name-container",[n1]),children:["complete"===r?l.fail>0?(0,y.jsx)(re,{className:a("test-spec-complete",[n3,nR]),children:"Fail"}):(0,y.jsx)(re,{className:a("test-spec-pass",[n3,n$]),children:"Pass"}):(0,y.jsx)(re,{className:a("test-spec-run",[n3,nQ]),children:"Run"}),(0,y.jsx)(rt,{onClick:function(){!o&&n(e.name)},path:e.name})]}),i&&!o&&(0,y.jsx)(nz,{tests:t}),i&&!o&&(0,y.jsx)(nH,{describes:s}),!o&&nF(e).filter(function(e){return"fail"===e.status}).map(function(e){return(0,y.jsxs)("div",{className:a("test-spec-error",[n2]),children:[(0,y.jsxs)("div",{className:a("test-spec-error-text",[n5,n_]),children:["● ",e.blocks.join(" › ")," › ",e.name]}),e.errors.map(function(t){return(0,y.jsx)(nJ,{error:t,path:e.path},"failing-".concat(e.name,"-error"))})]},"failing-".concat(e.name))})]},e.name)})})},re=function(e){var t=e.children,n=e.className,r=ek();return(0,y.jsx)("span",{className:r("test-spec-label",[n4,n]),children:t})},rt=function(e){var t=e.onClick,n=e.path.split("/"),r=n.slice(0,n.length-1).join("/")+"/",i=n[n.length-1],o=ek();return(0,y.jsxs)("button",{className:o("test-filename",[ti,n6]),onClick:t,type:"button",children:[(0,y.jsx)("span",{className:o("test-filename-base",[n9]),children:r}),(0,y.jsx)("span",{className:o("test-filename-file",[n8]),children:i})]})},rn=em({marginBottom:"$space$2"}),rr=em({fontWeight:"bold",color:"$colors$hover",whiteSpace:"pre-wrap"}),ri=em({fontWeight:"bold",color:"$colors$clickable"}),ro=function(e){var t=e.suites,n=e.tests,r=e.duration,i="Test suites: ",o=function(e){var t=Array.from({length:i.length-e.length},function(){return" "}).join("");return e+t},a=ek();return(0,y.jsxs)("div",{className:a("test-summary",[ri]),children:[(0,y.jsxs)("div",{className:a("test-summary",[rn]),children:[(0,y.jsx)("span",{className:a("test-summary-suites-label",[rr]),children:i}),t.fail>0&&(0,y.jsxs)("span",{className:a("test-summary-suites-fail",[n_]),children:[t.fail," failed,"," "]}),t.pass>0&&(0,y.jsxs)("span",{className:a("test-summary-suites-pass",[nC]),children:[t.pass," passed,"," "]}),(0,y.jsxs)("span",{children:[t.total," total"]})]}),(0,y.jsxs)("div",{className:a("test-summary",[rn]),children:[(0,y.jsx)("span",{className:a("test-summary-label",[rr]),children:o("Tests:")}),n.fail>0&&(0,y.jsxs)("span",{className:a("test-summary-fail",[n_]),children:[n.fail," failed,"," "]}),n.skip>0&&(0,y.jsxs)("span",{className:a("test-summary-skip",[nT]),children:[n.skip," skipped,"," "]}),n.pass>0&&(0,y.jsxs)("span",{className:a("test-summary-pass",[nC]),children:[n.pass," passed,"," "]}),(0,y.jsxs)("span",{children:[n.total," total"]})]}),(0,y.jsxs)("div",{className:a("test-summary-curation",[rr]),children:[o("Time:"),r/1e3,"s"]})]})},ra=em({display:"flex",position:"absolute",bottom:"$space$2",right:"$space$2",zIndex:"$overlay","> *":{marginLeft:"$space$2"}}),rs={specs:{},status:"initialising",verbose:!1,watchMode:!0,suiteOnly:!1,specsCount:0},rl=function(e){var t,n=e.verbose,r=e.watchMode,i=e.style,o=e.className,a=e.onComplete,s=e.actionsChildren,l=e.showVerboseButton,c=e.showWatchButton,u=e.hideTestsAndSupressLogs,d=void 0!==u&&u,f=z(e,["verbose","watchMode","style","className","onComplete","actionsChildren","showVerboseButton","showWatchButton","hideTestsAndSupressLogs"]),h=tS(),p=tX(),m=p.getClient,g=p.iframe,O=p.listen,v=p.sandpack,b=x.useState(L(L({}
382,rs),{verbose:void 0!==n&&n,watchMode:void 0===r||r})),w=b[0],S=b[1],k=x.useCallback(function(){S(function(e){return L(L({},e),{status:"running",specs:{}})});var e=m();e&&e.dispatch({type:"run-all-tests"})},[m]),P=x.useCallback(function(){S(function(e){return L(L({},e),{status:"running",specs:{}})});var e=m();e&&e.dispatch({type:"run-tests",path:v.activeFile})},[m,v.activeFile]),M=/.*\.(test|spec)\.[tj]sx?$/,j=null!==v.activeFile.match(M);x.useEffect(function(){var e=[],t="";return O(function(n){if(!w.suiteOnly||(!("path"in n)||n.path===v.activeFile)&&(!("test"in n)||!("path"in n.test)||n.test.path===v.activeFile)){if("action"===n.type&&"clear-errors"===n.action&&"jest"===n.source){t=n.path;return}if("test"===n.type){if("initialize_tests"===n.event)return(e=[],t="",w.watchMode)?k():S(function(e){return L(L({},e),{status:"idle",specs:{}})});if("test_count"===n.event)return S(function(e){return L(L({},e),{specsCount:n.count})});if("total_test_start"===n.event)return e=[],S(function(e){return L(L({},e),{status:"running"})});if("total_test_end"===n.event)return S(function(e){return void 0!==a&&a(e.specs),L(L({},e),{status:"complete"})});if("add_file"===n.event)return S(nB(["specs",n.path],{describes:{},tests:{},name:n.path}));if("remove_file"===n.event)return S(function(e){var t=Object.entries(e.specs).reduce(function(e,t){var r,i=t[0],o=t[1];return i===n.path?e:L(L({},e),((r={})[i]=o,r))},{});return L(L({},e),{specs:t})});if("file_error"===n.event)return S(nB(["specs",n.path,"error"],n.error));if("describe_start"===n.event){e.push(n.blockName);var r=nY(e),i=r[0],o=r[1],s=t;if(void 0===o)return;return S(nB(W(W(["specs",s,"describes"],nX(i,function(e){return[e,"describes"]}),!0),[o],!1),{name:n.blockName,tests:{},describes:{}}))}if("describe_end"===n.event){e.pop();return}if("add_test"===n.event){var l=nY(e),i=l[0],o=l[1],c={status:"idle",errors:[],name:n.testName,blocks:W([],e,!0),path:n.path};return void 0===o?S(nB(["specs",n.path,"tests",n.testName],c)):S(nB(W(W(["specs",n.path,"describes"],nX(i,function(e){return[e,"describes"]}),!0),[o,"tests",n.testName],!1),c))}if("test_start"===n.event){var u=n.test,d=nY(u.blocks),i=d[0],o=d[1],f={status:"running",name:u.name,blocks:u.blocks,path:u.path,errors:[]};return void 0===o?S(nB(["specs",u.path,"tests",u.name],f)):S(nB(W(W(["specs",u.path,"describes"],nX(i,function(e){return[e,"describes"]}),!0),[o,"tests",u.name],!1),f))}if("test_end"===n.event){var h=n.test,p=nY(h.blocks),i=p[0],o=p[1],m={status:h.status,errors:h.errors,duration:h.duration,name:h.name,blocks:h.blocks,path:h.path};return void 0===o?S(nB(["specs",h.path,"tests",h.name],m)):S(nB(W(W(["specs",h.path,"describes"],nX(i,function(e){return[e,"describes"]}),!0),[o,"tests",h.name],!1),m))}}}})},[w.suiteOnly,w.watchMode,v.activeFile]),x.useEffect(function(){return O(function(e){"done"===e.type&&w.watchMode&&(j?P():k())})},[P,k,w.watchMode,j]);var C=Object.values(w.specs),_=nX(C,nF).reduce(function(e,t){return e+(t.duration||0)},0),T=C.map(nV).reduce(function(e,t){return{pass:e.pass+t.pass,fail:e.fail+t.fail,skip:e.skip+t.skip,total:e.total+t.total}},{pass:0,skip:0,fail:0,total:0}),D=C.filter(function(e){var t,n;return Object.values(null!==(t=e.describes)&&void 0!==t?t:{}).length>0||Object.values(null!==(n=e.tests)&&void 0!==n?n:{}).length>0}).map(nV).reduce(function(e,t){return{pass:e.pass+(0===t.fail?1:0),fail:e.fail+(t.fail>0?1:0),total:e.total+1}},{pass:0,fail:0,total:0}),E=ek();return(0,y.jsxs)(tw,L({className:E("tests",[o]),style:L(L({},{"--test-pass":(t="dark"===h.themeMode)?"#18df16":"#15c213","--test-fail":t?"#df162b":"#c21325","--test-skip":t?"#eace2b":"#c2a813","--test-run":t?"#eace2b":"#c2a813","--test-title":t?"#3fbabe":"#256c6f"}),i)},f,{children:[(0,y.jsx)("iframe",{ref:g,style:{display:"none"},title:"Sandpack Tests"}),(0,y.jsx)(nP,{hideTestsAndSupressLogs:d,setSuiteOnly:function(){return S(function(e){return L(L({},e),{suiteOnly:!e.suiteOnly})})},setVerbose:function(){return S(function(e){return L(L({},e),{verbose:!e.verbose})})},setWatchMode:function(){S(function(e){return L(L({},e),{watchMode:!e.watchMode})})},showSuitesOnly:w.specsCount>1,showVerboseButton:void 0===l||l,showWatchButton:void 0===c||c,status:w.status,suiteOnly:w.suiteOnly,verbose
382:w.verbose,watchMode:w.watchMode}),"running"===w.status||"initialising"===w.status?(0,y.jsx)(nr,{showOpenInCodeSandbox:!1}):(0,y.jsxs)("div",{className:ra.toString(),children:[s,(0,y.jsx)(nM,{onClick:w.suiteOnly?P:k})]}),(0,y.jsx)("div",{className:rc.toString(),children:0===C.length&&"complete"===w.status?(0,y.jsxs)("div",{className:ru.toString(),children:[(0,y.jsx)("p",{children:"No test files found."}),(0,y.jsxs)("p",{children:["Test match:"," ",(0,y.jsx)("span",{className:n_.toString(),children:M.toString()})]})]}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(n7,{hideTestsAndSupressLogs:d,openSpec:function(e){v.setActiveFile(e)},specs:C,status:w.status,verbose:w.verbose}),"complete"===w.status&&T.total>0&&(0,y.jsx)(ro,{duration:_,suites:D,tests:T})]})})]}))},rc=em({padding:"$space$4",height:"100%",overflow:"auto",display:"flex",flexDirection:"column",position:"relative",fontFamily:"$font$mono"}),ru=em({fontWeight:"bold",color:"$colors$base"}),rd=["SyntaxError: ","Error in sandbox:"],rf={id:"random",method:"clear",data:["Console was cleared"]},rh=800,rp=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;throw Error("Unable to locate global object")}(),rm="function"==typeof ArrayBuffer,rg="function"==typeof Map,rO="function"==typeof Set;(r=v||(v={}
382))[r.infinity=0]="infinity",r[r.minusInfinity=1]="minusInfinity",r[r.minusZero=2]="minusZero";var rv={Arithmetic:function(e){return e===v.infinity?1/0:e===v.minusInfinity?-1/0:e===v.minusZero?-0:e},HTMLElement:function(e){var t=document.implementation.createHTMLDocument("sandbox");try{var n=t.createElement(e.tagName);n.innerHTML=e.innerHTML;for(var r=0,i=Object.keys(e.attributes);r<i.length;r++){var o=i[r];try{n.setAttribute(o,e.attributes[o])}catch(e){}}return n}catch(t){return e}},Function:function(e){var t=function(){};return Object.defineProperty(t,"toString",{value:function(){return"function ".concat(e.name,"() {").concat(e.body,"}")}}),t},"[[NaN]]":function(){return NaN},"[[undefined]]":function(){},"[[Date]]":function(e){var t=new Date;return t.setTime(e),t},"[[RegExp]]":function(e){return new RegExp(e.src,e.flags)},"[[Error]]":function(e){var t=new(rp[e.name]||Error)(e.message);return t.stack=e.stack,t},"[[ArrayBuffer]]":function(e){if(rm){var t=new ArrayBuffer(e.length);return new Int8Array(t).set(e),t}return e},"[[TypedArray]]":function(e){return"function"==typeof rp[e.ctorName]?new rp[e.ctorName](e.arr):e.arr},"[[Map]]":function(e){if(rg){for(var t=new Map,n=0;n<e.length;n+=2)t.set(e[n],e[n+1]);return t}for(var r=[],i=0;i<e.length;i+=2)r.push([e[n],e[n+1]]);return r},"[[Set]]":function(e){if(rO){for(var t=new Set,n=0;n<e.length;n++)t.add(e[n]);return t}return e}},rb=function(e){var t;if("string"==typeof e||"number"==typeof e||null===e);else if(Array.isArray(e))return e.map(rb);else if("object"==typeof e&&"@t"in e){var n=e["@t"],r=rv[n];return r(e.data)}else if("object"==typeof e&&"#@t"in e){var n=e["#@t"],r=rv[n];return r(e.data)}else if("object"==typeof e&&(null===(t=e.constructor)||void 0===t?void 0:t.name)==="NodeList"){var i={};return Object.entries(e).forEach(function(e){var t=e[0],n=e[1];i[t]=rb(n)}),i}return e},ry=function(e,t,n){var r=e.reduce(function(e,r,i){return"".concat(e).concat(i?", ":"").concat(rw(r,t,n))},"");return"[".concat(r,"]")},rx=function(e,t,n){var r="Object"!==e.constructor.name?"".concat(e.constructor.name," "):"";if(n>2)return r;var i=Object.entries(e),o=Object.entries(e).reduce(function(e,r,o){var a=r[0],s=r[1],l=i.length>10?"\n  ":"",c=rw(s,t,n);return 400===o?e+l+"...":o>400?e:e+"".concat(0===o?"":", ").concat(l).concat(a,": ")+c},"");return"".concat(r,"{ ").concat(o).concat(i.length>10?"\n":" ","}")},rw=function(e,t,n){var r;void 0===n&&(n=0);try{var i=rb(e);if(Array.isArray(i))return ry(i,t,n+1);switch(typeof i){case"string":return'"'.concat(i,'"').slice(0,1e4);case"number":case"function":case"symbol":return i.toString();case"boolean":return String(i);case"undefined":return"undefined";default:if(i instanceof RegExp||i instanceof Error||i instanceof Date)return i.toString();if(null===i)return String(null);if(i instanceof HTMLElement)return i.outerHTML.slice(0,1e4);if(0===Object.entries(i).length)return"{}";if("@r"in i){if(n>2)return"Unable to print information";var o=t[i["@r"]];return rw(o,t,n+1)}if((null===(r=i.constructor)||void 0===r?void 0:r.name)==="NodeList"){var a=i.length,s=Array(a).fill(null).map(function(e,n){return rw(i[n],t)});return"NodeList(".concat(i.length,")[").concat(s,"]")}return rx(i,t,n+1)}}catch(e){return"Unable to print information"}},rS=function(e){switch(e){case"warn":return"warning";case"clear":return"clear";case"error":return"error";default:return"info"}},rk=function(e){var t=e.data,n=ek();return(0,y.jsx)(y.Fragment,{children:t.map(function(e,t,r){var i=e.data,o=e.id,a=e.method;return i?Array.isArray(i)?(0,y.jsx)(x.Fragment,{children:i.map(function(e,i){var s=r.slice(t,r.length);return(0,y.jsx)("div",{className:n("console-item",[rP({variant:rS(a)})]),children:(0,y.jsx)(tA,{code:"clear"===a?e:rw(e,s),fileType:"js",initMode:"user-visible",showReadOnly:!1,readOnly:!0,wrapContent:!0})},"".concat(o,"-").concat(i))})},o):null:null})})},rP=em(((b={width:"100%",padding:"$space$3 $space$2",fontSize:".8em",position:"relative","&:not(:first-child):after":{content:"",position:"absolute",top:0,left:0,right:0,height:1,background:"$colors$surface3"},".sp-cm":{padding:0},".cm-editor":{background:"none"},".cm-content":{padding:0}})[".".concat("sp","-pre-placeholder")]={margin:"0 !important",fontSize:"1em"},b.variants={variant:{error:{color:"$colors$error",background:"$colors$errorSurface","&:not(:first-child):after":{background:"$colors$error",opacity:.07}},warning:{color:"$colors$warning",background:"$colors$warningSurface","&:not(:first-child):after":{background:"$colors$warning",opacity:.07}},clear:{fontStyle:"italic"},info:{}}},b)),rM=em({justifyContent:"space-between",borderBottom:"1px solid $colors$surface2",padding:"0 $space$2",fontFamily:"$font$mono",height:"$layout$headerHeight",minHeight:"$layout$headerHeight",overflowX:"auto",whiteSpace:"nowrap"}),rj=em({display:"flex",flexDirection:"row",alignItems:"center",gap:"$space$2"}
382),rC=function(e){var t=e.currentTab,n=e.setCurrentTab,r=e.node,i=ek(),o=i("console-header-button",[ti,to,em({padding:"$space$1 $space$3"})]);return(0,y.jsxs)("div",{className:i("console-header",[rM,rj]),children:[(0,y.jsxs)("p",{className:i("console-header-title",[em({lineHeight:1,margin:0,color:"$colors$base",fontSize:"$font$size",display:"flex",alignItems:"center",gap:"$space$2"})]),children:[(0,y.jsx)(eo,{}),(0,y.jsx)("span",{children:"Terminal"})]}),r&&(0,y.jsxs)("div",{className:i("console-header-actions",[rj]),children:[(0,y.jsx)("button",{className:o,"data-active":"server"===t,onClick:function(){return n("server")},type:"button",children:"Server"}),(0,y.jsx)("button",{className:o,"data-active":"client"===t,onClick:function(){return n("client")},type:"button",children:"Client"})]})]})},r_=function(e){var t=e.clientId,n=e.maxMessageCount,r=void 0===n?rh:n,i=e.showSyntaxError,o=void 0!==i&&i,a=e.resetOnPreviewRestart,s=void 0!==a&&a,l=x.useState([]),c=l[0],u=l[1],d=tt().listen;return x.useEffect(function(){return d(function(e){if(s&&"start"===e.type)u([]);else if("console"===e.type&&e.codesandbox){var t=Array.isArray(e.log)?e.log:[e.log];if(t.find(function(e){return"clear"===e.method}))return u([rf]);var n=o?t:t.filter(function(e){var t,n,r;return(null!==(r=null===(n=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.filter)||void 0===n?void 0:n.call(t,function(e){return"string"!=typeof e||0===rd.filter(function(t){return e.startsWith(t)}).length}))&&void 0!==r?r:[]).length>0});if(!n)return;u(function(e){for(var t=W(W([],e,!0),n,!0).filter(function(e,t,n){return t===n.findIndex(function(t){return t.id===e.id})});t.length>r;)t.shift();return t})}},t)},[o,r,t,s]),{logs:c,reset:function(){return u([])}}},rT=x.forwardRef(function(e,t){var n,r=e.showHeader,i=e.showSyntaxError,o=e.maxMessageCount,a=e.onLogsChange,s=e.className;e.showSetupProgress;var l=e.showResetConsoleButton,c=e.showRestartButton,u=e.resetOnPreviewRestart,d=void 0!==u&&u,f=e.actionsChildren,h=void 0===f?(0,y.jsx)(y.Fragment,{}):f,p=e.standalone,m=void 0!==p&&p,g=z(e,["showHeader","showSyntaxError","maxMessageCount","onLogsChange","className","showSetupProgress","showResetConsoleButton","showRestartButton","resetOnPreviewRestart","actionsChildren","standalone"]),O=tt().sandpack.environment,v=tX(),b=v.iframe,w=v.clientId,S=tB().restart,k=x.useState("node"===O?"server":"client"),P=k[0],M=k[1],j=m?w:void 0,C=r_({maxMessageCount:o,showSyntaxError:void 0!==i&&i,resetOnPreviewRestart:d,clientId:j}),_=C.logs,T=C.reset,D=tH({maxMessageCount:o,resetOnPreviewRestart:d,clientId:j}),E=D.logs,Q=D.reset,$=x.useRef(null);x.useEffect(function(){null==a||a(_),$.current&&($.current.scrollTop=$.current.scrollHeight)},[a,_,E,P]);var R="server"===P,Z="node"===O;x.useImperativeHandle(t,function(){return{reset:function(){T(),Q()}}});var I=ek();return(0,y.jsxs)(tw,L({className:I("console",[em(((n={height:"100%",background:"$surface1",iframe:{display:"none"}})[".".concat("sp","-bridge-frame")]={display:"block",border:0,position:"absolute",left:"$space$2",bottom:"$space$2",zIndex:"$top",height:12,width:"30%",mixBlendMode:"multiply",pointerEvents:"none"},n)),s])},g,{children:[(void 0===r||r)&&Z&&(0,y.jsx)(rC,{currentTab:P,node:Z,setCurrentTab:M}),(0,y.jsx)("div",{ref:$,className:I("console-list",[em({overflow:"auto",scrollBehavior:"smooth"})]),children:R?(0,y.jsx)(t1,{data:E}):(0,y.jsx)(rk,{data:_})}),(0,y.jsxs)("div",{className:I("console-actions",[em({position:"absolute",bottom:"$space$2",right:"$space$2",display:"flex",gap:"$space$2"})]),children:[h,(void 0===c||c)&&R&&(0,y.jsx)(tv,{onClick:function(){S(),T(),Q()},children:(0,y.jsx)(q,{})}),(void 0===l||l)&&(0,y.jsx)(tv,{onClick:function(){"client"===P?T():Q()},children:(0,y.jsx)(K,{})})]}),m&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(nl,{clientId:j}),(0,y.jsx)("iframe",{ref:b})]})]}))}),rD=function(e){var t,n,r,i,o,a,s,l,c=e.options,u=e.template,d=e.customSetup,f=e.files,h=e.theme,p=z(e,["options","template","customSetup","files","theme"]);null!=c||(c={}),null!==(t=c.resizablePanels)&&void 0!==t||(c.resizablePanels=!0),null!==(n=c.editorWidthPercentage)&&void 0!==n||(c.editorWidthPercentage=50),null!==(r=c.showConsole)&&void 0!==r||(c.showConsole=!1);var m=null!==(i=null==c?void 0:c.rtl)&&void 0!==i&&i,g={showTabs:c.showTabs,showLineNumbers:c.showLineNumbers,showInlineErrors:c.showInlineErrors,wrapContent:c.wrapContent,closableTabs:c.closableTabs,initMode:c.initMode,extensions:null===(o=c.codeEditor)||void 0===o?void 0:o.extensions,extensionsKeymap:null===(a=c.codeEditor)||void 0===a?void 0:a.extensionsKeymap,readOnly:c.readOnly,showReadOnly:c.showReadOnly,additionalLanguages:null===(s=c.codeEditor)||void 0===s?void 0:s.additionalLanguages},O={activeFile:c.activeFile,visibleFiles:c.visibleFiles,recompileMode:c.recompileMode,recompileDelay:c.recompileDelay,autorun:c.autorun,autoReload:c.autoReload,bundlerURL:c.bundlerURL,startRoute:c.startRoute,skipEval:c.skipEval,fileResolver:c.fileResolver,initMode:c.initMode,initModeObserverOptions:c.initModeObserverOptions,externalResources:c.externalResources,logLevel:c.logLevel,classes:c.classes,experimental_enableServiceWorker:c.experimental_enableServiceWorker,experimental_enableStableServiceWorkerId:c.experimental_enableStableServiceWorkerId}
382,v=x.useState(c.showConsole),b=v[0],w=v[1],S=x.useState(0),k=S[0],P=S[1],M=c.showConsole||c.showConsoleButton,j=null!==(l=eJ[u])&&void 0!==l?l:{},C=(null==c?void 0:c.layout)?null==c?void 0:c.layout:"mode"in j?j.mode:"preview",_=c.showConsoleButton?(0,y.jsx)(rQ,{counter:k,onClick:function(){return w(function(e){return!e})}}):void 0,T=x.useRef(null),D=x.useState(c.editorWidthPercentage),E=D[0],Q=D[1],$=x.useState(70),R=$[0],Z=$[1],I=M?tw:x.Fragment,A={flexGrow:100-E,flexShrink:100-E,flexBasis:0,width:100-E+"%",gap:b?1:0,height:c.editorHeight},N=M?{flexGrow:R,flexShrink:R,flexBasis:0,overflow:"hidden"}:A,F=function(e){if(!!T.current){var t=T.current.parentElement;if(t){var n="horizontal"===T.current.dataset.direction,r=t.getBoundingClientRect(),i=r.left,o=r.top,a=r.height,s=r.width,l=Math.min(Math.max(n?(e.clientX-i)/s*100:(e.clientY-o)/a*100,25),75);n?Q(m?100-l:l):Z(l),t.querySelectorAll(".".concat("sp","-stack")).forEach(function(e){e.style.pointerEvents="none"})}}},V=function(){var e,t=null===(e=T.current)||void 0===e?void 0:e.parentElement;t&&(t.querySelectorAll(".".concat("sp","-stack")).forEach(function(e){e.style.pointerEvents=""}),T.current=null)};x.useEffect(function(){if(null==c?void 0:c.resizablePanels)return document.body.addEventListener("mousemove",F),document.body.addEventListener("mouseup",V),function(){document.body.removeEventListener("mousemove",F),document.body.removeEventListener("mouseup",V)}},[c]),x.useEffect(function(){var e;w(null!==(e=null==c?void 0:c.showConsole)&&void 0!==e&&e)},[c.showConsole]);var W=M?{className:"sp-preset-column",style:A}:{},Y=ek();return(0,y.jsx)(te,L({customSetup:d,files:f,options:O,template:u,theme:h},p,{children:(0,y.jsxs)(tF,{className:m?Y("rtl-layout",[rZ]):"",children:[(0,y.jsx)(tN,L({},g,{style:{height:c.editorHeight,flexGrow:E,flexShrink:E,flexBasis:0,overflow:"hidden"}})),c.resizablePanels&&(0,y.jsx)("div",{className:Y("resize-handler",[rE({direction:"horizontal"})]),"data-direction":"horizontal",onMouseDown:function(e){T.current=e.target},style:{left:"calc(".concat(m?100-E:E,"% - 5px)")}}),(0,y.jsxs)(I,L({},W,{children:["preview"===C&&(0,y.jsx)(nw,{actionsChildren:_,showNavigator:c.showNavigator,showRefreshButton:c.showRefreshButton,style:N}),"tests"===C&&(0,y.jsx)(rl,{actionsChildren:_,style:N}),"console"===C&&(0,y.jsx)(rT,{actionsChildren:_,style:N,standalone:!0}),(c.showConsoleButton||b)&&(0,y.jsxs)(y.Fragment,{children:[c.resizablePanels&&b&&(0,y.jsx)("div",{className:Y("resize-handler",[rE({direction:"vertical"})]),"data-direction":"vertical",onMouseDown:function(e){T.current=e.target},style:{top:"calc(".concat(R,"% - 5px)")}}),(0,y.jsx)("div",{className:Y("console-wrapper",[rR]),style:{flexGrow:b?100-R:0,flexShrink:b?100-R:0,flexBasis:0},children:(0,y.jsx)(rT,{onLogsChange:function(e){return P(e.length)},showHeader:!1})})]})]}))]})}),u)},rE=em({position:"absolute",zIndex:"$top",variants:{direction:{vertical:{right:0,left:0,height:10,cursor:"ns-resize"},horizontal:{top:0,bottom:0,width:10,cursor:"ew-resize"}}},"@media screen and (max-width: 768px)":{display:"none"}}),rQ=function(e){var t=e.onClick,n=e.counter;return(0,y.jsxs)(tv,{className:r$.toString(),onClick:t,children:[(0,y.jsx)(eo,{}),n>0&&(0,y.jsx)("strong",{children:n})]})},r$=em({position:"relative",strong:{background:"$colors$clickable",color:"$colors$surface1",minWidth:12,height:12,padding:"0 2px",borderRadius:12,fontSize:8,lineHeight:"12px",position:"absolute",top:0,right:0,fontWeight:"normal"}}),rR=em({width:"100%",overflow:"hidden"}),rZ=em({flexDirection:"row-reverse","@media screen and (max-width: 768px)":{flexFlow:"wrap-reverse !important",flexDirection:"initial"}})},39022:function(e,t,n){"use strict";n.d(t,{Cp:function(){return f},Qo:function(){return p},RR:function(){return c},US:function(){return a},X5:function(){return l},cv:function(){return g},dp:function(){return b},dr:function(){return v},oo:function(){return o},uY:function(){return O},x7:function(){return s}});var r=n("41465");function i(e,t,n){let i,{reference:o,floating:a}=e,s=(0,r.Qq)(t),l=(0,r.Wh)(t),c=(0,r.I4)(l),u=(0,r.k3)(t),d="y"===s,f=o.x+o.width/2-a.width/2,h=o.y+o.height/2-a.height/2,p=o[c]/2-a[c]/2;switch(u){case"top":i={x:f,y:o.y-a.height};break;case"bottom":i={x:f,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:h};break;case"left":i={x:o.x-a.width,y:h};break;default:i={x:o.x,y:o.y}}switch((0,r.hp)(t)){case"start":i[l]-=p*(n&&d?-1:1);break;case"end":i[l]+=p*(n&&d?-1:1)}return i}let o=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}
382=n,l=a.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=i(u,r,c),h=r,p={},m=0;for(let n=0;n<l.length;n++){let{name:a,fn:g}=l[n],{x:O,y:v,data:b,reset:y}=await g({x:d,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=O?O:d,f=null!=v?v:f,p={...p,[a]:{...p[a],...b}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(u=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:f}=i(u,h,c)),n=-1)}return{x:d,y:f,placement:h,strategy:o,middlewareData:p}};async function a(e,t){var n;void 0===t&&(t={});let{x:i,y:o,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=(0,r.ku)(t,e),m=(0,r.yd)(p),g=l[h?"floating"===f?"reference":"floating":f],O=(0,r.JB)(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),v="floating"===f?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),y=await (null==a.isElement?void 0:a.isElement(b))&&await (null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},x=(0,r.JB)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:c}):v);return{top:(O.top-x.top+m.top)/y.y,bottom:(x.bottom-O.bottom+m.bottom)/y.y,left:(O.left-x.left+m.left)/y.x,right:(x.right-O.right+m.right)/y.x}}let s=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:o,rects:a,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r.ku)(e,t)||{};if(null==u)return{};let f=(0,r.yd)(d),h={x:n,y:i},p=(0,r.Wh)(o),m=(0,r.I4)(p),g=await s.getDimensions(u),O="y"===p,v=O?"clientHeight":"clientWidth",b=a.reference[m]+a.reference[p]-h[p]-a.floating[m],y=h[p]-a.reference[p],x=await (null==s.getOffsetParent?void 0:s.getOffsetParent(u)),w=x?x[v]:0;(!w||!await (null==s.isElement?void 0:s.isElement(x)))&&(w=l.floating[v]||a.floating[m]);let S=w/2-g[m]/2-1,k=(0,r.VV)(f[O?"top":"left"],S),P=(0,r.VV)(f[O?"bottom":"right"],S),M=w-g[m]-P,j=w/2-g[m]/2+(b/2-y/2),C=(0,r.uZ)(k,j,M),_=!c.arrow&&null!=(0,r.hp)(o)&&j!==C&&a.reference[m]/2-(j<k?k:P)-g[m]/2<0,T=_?j<k?j-k:j-M:0;return{[p]:h[p]+T,data:{[p]:C,centerOffset:j-C-T,..._&&{alignmentOffset:T}},reset:_}}}),l=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,s,l,c;let{rects:u,middlewareData:d,placement:f,platform:h,elements:p}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:O=r.Ct,autoAlignment:v=!0,...b}=(0,r.ku)(e,t);let y=void 0!==g||O===r.Ct?(s=g||null,l=v,c=O,(s?[...c.filter(e=>(0,r.hp)(e)===s),...c.filter(e=>(0,r.hp)(e)!==s)]:c.filter(e=>(0,r.k3)(e)===e)).filter(e=>!s||(0,r.hp)(e)===s||!!l&&(0,r.Go)(e)!==e)):O,x=await a(t,b),w=(null==(n=d.autoPlacement)?void 0:n.index)||0,S=y[w];if(null==S)return{};let k=(0,r.i8)(S,u,await (null==h.isRTL?void 0:h.isRTL(p.floating)));if(f!==S)return{reset:{placement:y[0]}};let P=[x[(0,r.k3)(S)],x[k[0]],x[k[1]]],M=[...(null==(i=d.autoPlacement)?void 0:i.overflows)||[],{placement:S,overflows:P}],j=y[w+1];if(j)return{data:{index:w+1,overflows:M},reset:{placement:j}};let C=M.map(e=>{let t=(0,r.hp)(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),_=(null==(o=C.filter(e=>e[2].slice(0,(0,r.hp)(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||C[0][0];return _!==f?{data:{index:w+1,overflows:M},reset:{placement:_}}:{}}}},c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,s,l;let{placement:c,middlewareData:u,rects:d,initialPlacement:f,platform:h,elements:p}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:O,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...x}=(0,r.ku)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let w=(0,r.k3)(c),S=(0,r.Qq)(f),k=(0,r.k3)(f)===f,P=await (null==h.isRTL?void 0:h.isRTL(p.floating)),M=O||(k||!y?[(0,r.pw)(f)]:(0,r.gy)(f)),j="none"!==b;!O&&j&&M.push(...(0,r.KX)(f,y,b,P));let C=[f,...M],_=await a(t,x),T=[],D=(null==(i=u.flip)?void 0:i.overflows)||[];if(m&&T.push(_[w]),g){let e=(0,r.i8)(c,d,P);T.push(_[e[0]],_[e[1]])}if(D=[...D,{placement:c,overflows:T}],!T.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(s=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>
382e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!n)switch(v){case"bestFit":{let e=null==(l=D.filter(e=>{if(j){let t=(0,r.Qq)(e.placement);return t===S||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=f}if(c!==n)return{reset:{placement:n}}}return{}}}};function u(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function d(e){return r.mA.some(t=>e[t]>=0)}let f=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...o}=(0,r.ku)(e,t);switch(i){case"referenceHidden":{let e=u(await a(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:d(e)}}}case"escaped":{let e=u(await a(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:d(e)}}}default:return{}}}}};function h(e){let t=(0,r.VV)(...e.map(e=>e.left)),n=(0,r.VV)(...e.map(e=>e.top)),i=(0,r.Fp)(...e.map(e=>e.right));return{x:t,y:n,width:i-t,height:(0,r.Fp)(...e.map(e=>e.bottom))-n}}let p=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:i,rects:o,platform:a,strategy:s}=t,{padding:l=2,x:c,y:u}=(0,r.ku)(e,t),d=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),f=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],i=null;for(let e=0;e<t.length;e++){let r=t[e];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>(0,r.JB)(h(e)))}(d),p=(0,r.JB)(h(d)),m=(0,r.yd)(l),g=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===f.length&&f[0].left>f[1].right&&null!=c&&null!=u)return f.find(e=>c>e.left-m.left&&c<e.right+m.right&&u>e.top-m.top&&u<e.bottom+m.bottom)||p;if(f.length>=2){if("y"===(0,r.Qq)(n)){let e=f[0],t=f[f.length-1],i="top"===(0,r.k3)(n),o=e.top,a=t.bottom,s=i?e.left:t.left,l=i?e.right:t.right;return{top:o,bottom:a,left:s,right:l,width:l-s,height:a-o,x:s,y:o}}let e="left"===(0,r.k3)(n),t=(0,r.Fp)(...f.map(e=>e.right)),i=(0,r.VV)(...f.map(e=>e.left)),o=f.filter(n=>e?n.left===i:n.right===t),a=o[0].top,s=o[o.length-1].bottom;return{top:a,bottom:s,left:i,right:t,width:t-i,height:s-a,x:i,y:a}}return p}},floating:i.floating,strategy:s});return o.reference.x!==g.reference.x||o.reference.y!==g.reference.y||o.reference.width!==g.reference.width||o.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}};async function m(e,t){let{placement:n,platform:i,elements:o}=e,a=await (null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,r.k3)(n),l=(0,r.hp)(n),c="y"===(0,r.Qq)(n),u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,f=(0,r.ku)(t,e),{mainAxis:h,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),c?{x:p*d,y:h*u}:{x:h*u,y:p*d}}let g=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,l=await m(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},O=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r.ku)(e,t),d={x:n,y:i},f=await a(t,u),h=(0,r.Qq)((0,r.k3)(o)),p=(0,r.Rn)(h),m=d[p],g=d[h];
382if(s){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+f[e],i=m-f[t];m=(0,r.uZ)(n,m,i)}if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=g+f[e],i=g-f[t];g=(0,r.uZ)(n,g,i)}let O=c.fn({...t,[p]:m,[h]:g});return{...O,data:{x:O.x-n,y:O.y-i,enabled:{[p]:s,[h]:l}}}}}},v=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:o,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=(0,r.ku)(e,t),d={x:n,y:i},f=(0,r.Qq)(o),h=(0,r.Rn)(f),p=d[h],m=d[f],g=(0,r.ku)(l,t),O="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){let e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+O.mainAxis,n=a.reference[h]+a.reference[e]-O.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var v,b;let e="y"===h?"width":"height",t=["top","left"].includes((0,r.k3)(o)),n=a.reference[f]-a.floating[e]+(t&&(null==(v=s.offset)?void 0:v[f])||0)+(t?0:O.crossAxis),i=a.reference[f]+a.reference[e]+(t?0:(null==(b=s.offset)?void 0:b[f])||0)-(t?O.crossAxis:0);m<n?m=n:m>i&&(m=i)}return{[h]:p,[f]:m}}}},b=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let o,s;let{placement:l,rects:c,platform:u,elements:d}=t,{apply:f=()=>{},...h}=(0,r.ku)(e,t),p=await a(t,h),m=(0,r.k3)(l),g=(0,r.hp)(l),O="y"===(0,r.Qq)(l),{width:v,height:b}=c.floating;"top"===m||"bottom"===m?(o=m,s=g===(await (null==u.isRTL?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(s=m,o="end"===g?"top":"bottom");let y=b-p.top-p.bottom,x=v-p.left-p.right,w=(0,r.VV)(b-p[o],y),S=(0,r.VV)(v-p[s],x),k=!t.middlewareData.shift,P=w,M=S;
382if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(M=x),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(P=y),k&&!g){let e=(0,r.Fp)(p.left,0),t=(0,r.Fp)(p.right,0),n=(0,r.Fp)(p.top,0),i=(0,r.Fp)(p.bottom,0);O?M=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(p.left,p.right)):P=b-2*(0!==n||0!==i?n+i:(0,r.Fp)(p.top,p.bottom))}await f({...t,availableWidth:M,availableHeight:P});let j=await u.getDimensions(d.floating);return v!==j.width||b!==j.height?{reset:{rects:!0}}:{}}}}},60943:function(e,t,n){"use strict";n.d(t,{Cp:function(){return j},Jv:function(){return b},Kx:function(){return o.Kx},Me:function(){return y},Qo:function(){return _},RR:function(){return P},US:function(){return x},X5:function(){return S},cv:function(){return w},dp:function(){return M},dr:function(){return T},oo:function(){return D},uY:function(){return k},x7:function(){return C}});var r=n("41465"),i=n("39022"),o=n("95255");function a(e){let t=(0,o.Dx)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=(0,o.Re)(e),s=a?e.offsetWidth:n,l=a?e.offsetHeight:i,c=(0,r.NM)(n)!==s||(0,r.NM)(i)!==l;return c&&(n=s,i=l),{width:n,height:i,$:c}}function s(e){return(0,o.kK)(e)?e:e.contextElement}function l(e){let t=s(e);if(!(0,o.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:i,height:l,$:c}=a(t),u=(c?(0,r.NM)(n.width):n.width)/i,d=(c?(0,r.NM)(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}let c=(0,r.ze)(0);function u(e){let t=(0,o.Jj)(e);return(0,o.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:c}function d(e,t,n,i){var a,c,d;void 0===t&&(t=!1),void 0===n&&(n=!1);let f=e.getBoundingClientRect(),h=s(e),p=(0,r.ze)(1);t&&(i?(0,o.kK)(i)&&(p=l(i)):p=l(e));let m=(a=h,void 0===(c=n)&&(c=!1),(d=i)&&(!c||d===(0,o.Jj)(a))&&c)?u(h):(0,r.ze)(0),g=(f.left+m.x)/p.x,O=(f.top+m.y)/p.y,v=f.width/p.x,b=f.height/p.y;if(h){let e=(0,o.Jj)(h),t=i&&(0,o.kK)(i)?(0,o.Jj)(i):i,n=e,r=(0,o.wK)(n);for(;r&&i&&t!==n;){let e=l(r),t=r.getBoundingClientRect(),i=(0,o.Dx)(r),a=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;g*=e.x,O*=e.y,v*=e.x,b*=e.y,g+=a,O+=s,n=(0,o.Jj)(r),r=(0,o.wK)(n)}}return(0,r.JB)({width:v,height:b,x:g,y:O})}function f(e,t){let n=(0,o.Lw)(e).scrollLeft;return t?t.left+n:d((0,o.tF)(e)).left+n}function h(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:f(e,r));return{x:i,y:r.top+t.scrollTop}}function p(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,o.Jj)(e),r=(0,o.tF)(e),i=n.visualViewport,a=r.clientWidth,s=r.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let e=(0,o.Pf)();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}(e,n);else if("document"===t)i=function(e){let t=(0,o.tF)(e),n=(0,o.Lw)(e),i=e.ownerDocument.body,a=(0,r.Fp)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=(0,r.Fp)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-n.scrollLeft+f(e),c=-n.scrollTop;return"rtl"===(0,o.Dx)(i).direction&&(l+=(0,r.Fp)(t.clientWidth,i.clientWidth)-a),{width:a,height:s,x:l,y:c}}((0,o.tF)(e));else if((0,o.kK)(t))i=function(e,t){let n=d(e,!0,"fixed"===t),i=n.top+e.clientTop,a=n.left+e.clientLeft,s=(0,o.Re)(e)?l(e):(0,r.ze)(1),c=e.clientWidth*s.x,u=e.clientHeight*s.y,f=a*s.x;return{width:c,height:u,x:f,y:i*s.y}}(t,n);else{let n=u(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.JB)(i)}function m(e){return"static"===(0,o.Dx)(e).position}function g(e,t){if(!(0,o.Re)(e)||"fixed"===(0,o.Dx)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,o.tF)(e)===n&&(n=n.ownerDocument.body),n}function O(e,t){let n=(0,o.Jj)(e);if((0,o.tR)(e))return n;if(!(0,o.Re)(e)){let t=(0,o.Ow)(e);for(;t&&!(0,o.Py)(t);){if((0,o.kK)(t)&&!m(t))return t;t=(0,o.Ow)(t)}return n}let r=g(e,t);for(;r&&(0,o.Ze)(r)&&m(r);)r=g(r,t);return r&&(0,o.Py)(r)&&m(r)&&!(0,o.hT)(r)?n:r||(0,o.gQ)(e)||n}let v=async function(e){let t=this.getOffsetParent||O,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,o.Re)(t),a=(0,o.tF)(t),s="fixed"===n,l=d(e,!0,s,t),c={scrollLeft:0,scrollTop:0},u=(0,r.ze)(0);if(i||!i&&!s){if(("body"!==(0,o.wk)(t)||(0,o.ao)(a))&&(c=(0,o.Lw)(t)),i){let e=d(t,!0,s,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else a&&(u.x=f(a))}let p=!a||i||s?(0,r.ze)(0):h(a,c),m=l.left+c.scrollLeft-u.x-p.x;return{x:m,y:l.top+c.scrollTop-u.y-p.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},b={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:a}=e,s="fixed"===a,c=(0,o.tF)(i),u=!!t&&(0,o.tR)(t.floating);if(i===c||u&&s)return n;let f={scrollLeft:0,scrollTop:0},p=(0,r.ze)(1),m=(0,r.ze)(0),g=(0,o.Re)(i);if((g||!g&&!s)&&(("body"!==(0,o.wk)(i)||(0,o.ao)(c))&&(f=(0,o.Lw)(i)),(0,o.Re)(i))){let e=d(i);p=l(i),m.x=e.x+i.clientLeft,m.y=e.y+i.clientTop}let O=!c||g||s?(0,r.ze)(0):h(c,f,!0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-f.scrollLeft*p.x+m.x+O.x,y:n.y*p.y-f.scrollTop*p.y+m.y+O.y}},getDocumentElement:o.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e,s=[..."clippingAncestors"===n?(0,o.tR)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,o.Kx)(e,[],!1).filter(e=>(0,o.kK)(e)&&"body"!==(0,o.wk)(e)),i=null,a="fixed"===(0,o.Dx)(e).position,s=a?(0,o.Ow)(e):e;for(;(0,o.kK)(s)&&!(0,o.Py)(s);){let t=(0,o.Dx)(s),n=(0,o.hT)(s);!n&&"fixed"===t.position&&(i=null),(a?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||(0,o.ao)(s)&&!n&&function e(t,n){let r=(0,o.Ow)(t);return!(r===n||!(0,o.kK)(r)||(0,o.Py)(r))&&("fixed"===(0,o.Dx)(r).position||e(r,n))}(e,s))?r=r.filter(e=>e!==s):i=t,s=(0,o.Ow)(s)}return t.set(e,r),r}(t,this._c):[].concat(n),i],l=s[0],c=s.reduce((e,n)=>{let i=p(t,n,a);return e.top=(0,r.Fp)(i.top,e.top),e.right=(0,r.VV)(i.right,e.right),e.bottom=(0,r.VV)(i.bottom,e.bottom),e.left=(0,r.Fp)(i.left,e.left),e},p(t,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:O,getElementRects:v,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=a(e);return{width:t,height:n}},getScale:l,isElement:o.kK,isRTL:function(e){return"rtl"===(0,o.Dx)(e).direction}};function y(e,t,n,i){let a;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:h=!1}=i,p=s(e),m=l||c?[...p?(0,o.Kx)(p):[],...(0,o.Kx)(t)]:[];
382m.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let g=p&&f?function(e,t){let n,i=null,a=(0,o.tF)(e);function s(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function o(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),s();let{left:u,top:d,width:f,height:h}=e.getBoundingClientRect();if(!l&&t(),!f||!h)return;let p=(0,r.GW)(d),m=(0,r.GW)(a.clientWidth-(u+f)),g=(0,r.GW)(a.clientHeight-(d+h)),O=(0,r.GW)(u),v={rootMargin:-p+"px "+-m+"px "+-g+"px "+-O+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,c))||1},b=!0;function y(e){let t=e[0].intersectionRatio;if(t!==c){if(!b)return o();t?o(!1,t):n=setTimeout(()=>{o(!1,1e-7)},1e3)}b=!1}try{i=new IntersectionObserver(y,{...v,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(y,v)}i.observe(e)}(!0),s}(p,n):null,O=-1,v=null;u&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(O),O=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!h&&v.observe(p),v.observe(t));let b=h?d(e):null;return h&&function t(){let r=d(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{l&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,h&&cancelAnimationFrame(a)}}let x=i.US,w=i.cv,S=i.X5,k=i.uY,P=i.RR,M=i.dp,j=i.Cp,C=i.x7,_=i.Qo,T=i.dr,D=(e,t,n)=>{let r=new Map,o={platform:b,...n},a={...o.platform,_c:r};return(0,i.oo)(e,t,{...o,platform:a})}},72658:function(e,t,n){"use strict";n.d(t,{Cp:function(){return b},Jv:function(){return r.Jv},Kx:function(){return r.Kx},Me:function(){return r.Me},Qo:function(){return y},RR:function(){return g},US:function(){return r.US},X5:function(){return v},YF:function(){return d},cv:function(){return h},dp:function(){return O},dr:function(){return m},oo:function(){return r.oo},uY:function(){return p},x7:function(){return x}});var r=n("60943"),i=n("3781"),o=n("27215"),a="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function s(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let n=l(e);return Math.round(t*n)/n}function u(e){let t=i.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:g,open:O}=e,[v,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,x]=i.useState(d);!s(y,d)&&x(d);let[w,S]=i.useState(null),[k,P]=i.useState(null),M=i.useCallback(e=>{e!==T.current&&(T.current=e,S(e))},[]),j=i.useCallback(e=>{e!==D.current&&(D.current=e,P(e))},[]),C=h||w,_=p||k,T=i.useRef(null),D=i.useRef(null),E=i.useRef(v),Q=null!=g,$=u(g),R=u(f),Z=u(O),I=i.useCallback(()=>{if(!T.current||!D.current)return;let e={placement:t,strategy:n,middleware:y};R.current&&(e.platform=R.current),(0,r.oo)(T.current,D.current,e).then(e=>{let t={...e,isPositioned:!1!==Z.current};A.current&&!s(E.current,t)&&(E.current=t,o.flushSync(()=>{b(t)}))})},[y,t,n,R,Z]);a(()=>{!1===O&&E.current.isPositioned&&(E.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[O]);let A=i.useRef(!1);a(()=>(A.current=!0,()=>{A.current=!1}),[]),a(()=>{if(C&&(T.current=C),_&&(D.current=_),C&&_){if($.current)return $.current(C,_,I);I()}},[C,_,I,$,Q]);let N=i.useMemo(()=>({reference:T,floating:D,setReference:M,setFloating:j}),[M,j]),L=i.useMemo(()=>({reference:C,floating:_}),[C,_]),z=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=c(L.floating,v.x),r=c(L.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,L.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:I,refs:N,elements:L,floatingStyles:z}),[v,I,N,L,z])}let f=e=>({name:"arrow",options:e,fn(t){var n;let{element:i,padding:o}="function"==typeof e?e(t):e;if(i&&(n=i,({}).hasOwnProperty.call(n,"current")))return null!=i.current?(0,r.x7)({element:i.current,padding:o}).fn(t):{};return i?(0,r.x7)({element:i,padding:o}).fn(t):{}}}),h=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),p=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),m=(e,t)=>
382({...(0,r.dr)(e),options:[e,t]}),g=(e,t)=>({...(0,r.RR)(e),options:[e,t]}),O=(e,t)=>({...(0,r.dp)(e),options:[e,t]}),v=(e,t)=>({...(0,r.X5)(e),options:[e,t]}),b=(e,t)=>({...(0,r.Cp)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Qo)(e),options:[e,t]}),x=(e,t)=>({...f(e),options:[e,t]})},9263:function(e,t,n){"use strict";let r;n.d(t,{Y$:function(){return j},YF:function(){return E}});var i,o=n("3781"),a=n("81960"),s=n("41465"),l=n("95255");n("27215");var c=n("72658");let u={...i||(i=n.t(o,2))},d=u.useInsertionEffect||(e=>e()),f="ArrowUp",h="ArrowDown",p="ArrowLeft",m="ArrowRight";function g(e,t,n){return Math.floor(e/t)!==n}function O(e,t){return t<0||t>=e.current.length}function v(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:o=1}=void 0===t?{}:t,a=e.current,s=n;do s+=r?-o:o;while(s>=0&&s<=a.length-1&&function(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}(a,s,i));return s}var b="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function y(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let x=o.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let S=!1,k=0,P=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+k++,M=u.useId||function(){let[e,t]=o.useState(()=>S?P():void 0);return b(()=>{null==e&&t(P())},[]),o.useEffect(()=>{S=!0},[]),e},j=o.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:a}},width:s=14,height:c=7,tipRadius:u=0,strokeWidth:d=0,staticOffset:f,stroke:h,d:p,style:{transform:m,...g}={},...O}=e,v=M(),[y,x]=o.useState(!1);if(b(()=>{if(!!r)"rtl"===(0,l.Dx)(r).direction&&x(!0)},[r]),!r)return null;let[S,k]=n.split("-"),P="top"===S||"bottom"===S,j=f;(P&&null!=a&&a.x||!P&&null!=a&&a.y)&&(j=null);let C=2*d,_=C/2,T=s/2*(-(u/8)+1),D=c/2*u/4,E=!!p,Q=j&&"end"===k?"bottom":"top",$=j&&"end"===k?"right":"left";j&&y&&($="end"===k?"left":"right");let R=(null==i?void 0:i.x)!=null?j||i.x:"",Z=(null==i?void 0:i.y)!=null?j||i.y:"",I=p||"M0,0 H"+s+(" L"+(s-T)+",")+(c-D)+(" Q"+s/2+","+c+" "+T+",")+(c-D)+" Z",A={top:E?"rotate(180deg)":"",left:E?"rotate(90deg)":"rotate(-90deg)",bottom:E?"":"rotate(180deg)",right:E?"rotate(-90deg)":"rotate(90deg)"}[S];return o.createElement("svg",w({},O,{"aria-hidden":!0,ref:t,width:E?s:s+C,height:s,viewBox:"0 0 "+s+" "+(c>s?c:s),style:{position:"absolute",pointerEvents:"none",[$]:R,[Q]:Z,[S]:P||E?"100%":"calc(100% - "+C/2+"px)",transform:[A,m].filter(e=>!!e).join(" "),...g}}),C>0&&o.createElement("path",{clipPath:"url(#"+v+")",fill:"none",stroke:h,strokeWidth:C+(p?0:1),d:I}),o.createElement("path",{stroke:C&&!p?O.fill:"none",d:I}),o.createElement("clipPath",{id:v},o.createElement("rect",{x:-_,y:_*(E?-1:1),width:s+C,height:s})))}),C=o.createContext(null),_=o.createContext(null),T=()=>{var e;return(null==(e=o.useContext(C))?void 0:e.id)||null},D=()=>o.useContext(_);function E(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=M(),a=o.useRef({}),[s]=o.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})()),l=null!=T(),[c,u]=o.useState(r.reference),f=function(e){let t=o.useRef(()=>{});return d(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}((e,t,r)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)}),h=o.useMemo(()=>({setPositionReference:u}),[]),p=o.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return o.useMemo(()=>({dataRef:a,open:t,onOpenChange:f,elements:p,events:s,floatingId:i,refs:h}),[t,f,p,s,i,h])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,s]=o.useState(null),[u,f]=o.useState(null),h=(null==i?void 0:i.domReference)||a,p=o.useRef(null),m=D();b(()=>{h&&(p.current=h)},[h]);let g=(0,c.YF)({...e,elements:{...i,...u&&{reference:u}}}),O=o.useCallback(e=>{let t=(0,l.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;f(t),g.refs.setReference(t)},[g.refs]),v=o.useCallback(e=>{((0,l.kK)(e)||null===e)&&(p.current=e,s(e)),((0,l.kK)(g.refs.reference.current)||null===g.refs.reference.current||null!==e&&!(0,l.kK)(e))&&g.refs.setReference(e)},[g.refs]),y=o.useMemo(()=>({...g.refs,setReference:v,setPositionReference:O,domReference:p}),[g.refs,v,O]),x=o.useMemo(()=>({...g.elements,domReference:h}),[g.elements,h]),w=o.useMemo(()=>({...g,...r,refs:y,elements:x,nodeId:t}),[g,y,x,t,r]);return b(()=>{r.dataRef.current.floatingContext=w;let e=null==m?void 0:m.nodesRef.current.find(e=>e.id===t);e&&(e.context=w)}),o.useMemo(()=>({...g,context:w,refs:y,elements:x}),[g,y,x,w])}},81960:function(e,t,n){"use strict";function r(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function i(){return/apple/i.test(navigator.vendor)}function o(e){e.preventDefault(),e.stopPropagation()}n.d(t,{G6:function(){return i},Xf:function(){return r},p7:function(){return o}})},95255:function(e,t,n){"use strict";function r(){return"undefined"!=typeof window}function i(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof o(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof o(e).Element)}function c(e){return!!r()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function u(e){return!!r()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function d(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=v(e);
382return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function f(e){return["table","td","th"].includes(i(e))}function h(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function p(e){let t=g(),n=l(e)?v(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function m(e){let t=y(e);for(;c(t)&&!O(t);){if(p(t))return t;if(h(t))break;t=y(t)}return null}function g(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function O(e){return["html","body","#document"].includes(i(e))}function v(e){return o(e).getComputedStyle(e)}function b(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function y(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||a(e);return u(t)?t.host:t}n.d(t,{Dx:function(){return v},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=y(t);return O(n)?t.ownerDocument?t.ownerDocument.body:t.body:c(n)&&d(n)?n:e(n)}(t),s=a===(null==(i=t.ownerDocument)?void 0:i.body),l=o(a);if(s){let t=x(l);return n.concat(l,l.visualViewport||[],d(a)?a:[],t&&r?e(t):[])}return n.concat(a,e(a,[],r))}},Lw:function(){return b},Ow:function(){return y},Pf:function(){return g},Py:function(){return O},Re:function(){return c},Ze:function(){return f},Zq:function(){return u},ao:function(){return d},gQ:function(){return m},hT:function(){return p},kK:function(){return l},tF:function(){return a},tR:function(){return h},wK:function(){return x},wk:function(){return i}});function x(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},41465:function(e,t,n){"use strict";n.d(t,{Ct:function(){return o},Fp:function(){return s},GW:function(){return c},Go:function(){return S},I4:function(){return v},JB:function(){return j},KX:function(){return k},NM:function(){return l},Qq:function(){return b},Rn:function(){return O},VV:function(){return a},Wh:function(){return y},gy:function(){return w},hp:function(){return g},i8:function(){return x},k3:function(){return m},ku:function(){return p},mA:function(){return r},pw:function(){return P},uZ:function(){return h},yd:function(){return M},ze:function(){return u}});let r=["top","right","bottom","left"],i=["start","end"],o=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),a=Math.min,s=Math.max,l=Math.round,c=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function h(e,t,n){return s(e,a(t,n))}function p(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function O(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function b(e){return["top","bottom"].includes(m(e))?"y":"x"}function y(e){return O(b(e))}function x(e,t,n){void 0===n&&(n=!1);let r=g(e),i=y(e),o=v(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=P(a)),[a,P(a)]}function w(e){let t=P(e);return[S(e),t,S(t)]}function S(e){return e.replace(/start|end/g,e=>f[e])}function k(e,t,n,r){let i=g(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(m(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(S)))),o}function P(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function M(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function j(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}},12265:function(e,t,n){"use strict";var r,i;n.d(t,{FE:function(){return I},Jq:function(){return d},L3:function(){return o},Lj:function(){return f},_b:function(){return R},hr:function(){return Q}
382,i9:function(){return $},md:function(){return l},mp:function(){return m},vj:function(){return r}});let o=1024,a=0;class s{constructor(e,t){this.from=e,this.to=t}}class l{constructor(e={}){this.id=a++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=d.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}l.closedBy=new l({deserialize:e=>e.split(" ")}),l.openedBy=new l({deserialize:e=>e.split(" ")}),l.group=new l({deserialize:e=>e.split(" ")}),l.isolate=new l({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),l.contextHash=new l({perNode:!0}),l.lookAhead=new l({perNode:!0}),l.mounted=new l({perNode:!0});class c{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[l.mounted.id]}}let u=Object.create(null);class d{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):u,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new d(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(!Array.isArray(n)&&(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return r}prop(e){return this.props[e.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(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(l.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(l.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}d.none=new d("",Object.create(null),0,8);class f{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);e&&(!r&&(r=Object.assign({},n.props)),r[e[0].id]=e[1])}t.push(r?new d(n.name,r,n.id,n.flags):n)}return new f(t)}}let h=new WeakMap,p=new WeakMap;(i=r||(r={}))[i.ExcludeBuffers=1]="ExcludeBuffers",i[i.IncludeAnonymous=2]="IncludeAnonymous",i[i.IgnoreMounts=4]="IgnoreMounts",i[i.IgnoreOverlays=8]="IgnoreOverlays";class m{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length)for(let[e,t]of(this.props=Object.create(null),i))this.props["number"==typeof e?e:e.id]=t}toString(){let e=c.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new C(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new C(h.get(this)||this.topNode);return r.moveTo(e,t),h.set(this,r._tree),r}get topNode(){return new x(this,0,0,null)}resolve(e,t=0){let n=b(h.get(this)||this.topNode,e,t,!1);return h.set(this,n),n}resolveInner(e,t=0){let n=b(p.get(this)||this.topNode,e,t,!0);return p.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),i=null;for(let e=r instanceof x?r:r.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(i||(i=[r])).push(o.resolve(t,n)),e=o}else{let o=c.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let a=new x(o.tree,o.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(b(a,t,n,!1))}}return i?M(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:o=this.length}=e,a=e.mode||0,s=(a&r.IncludeAnonymous)>0;for(let e=this.cursor(a|r.IncludeAnonymous);;){let r=!1;if(e.from<=o&&e.to>=i&&(!s&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(s||!e.type.isAnonymous)&&n(e),!e.nextSibling();){;if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];
382if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:E(d.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new m(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new m(d.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=o,reused:a=[],minRepeatType:s=r.types.length}=e,c=Array.isArray(n)?new g(n,n.length):n,u=r.types,d=0,f=0;function h(e,t,n,i,o,a,s,l,c){let u=[],d=[];for(;e.length>i;)u.push(e.pop()),d.push(t.pop()+n-o);e.push(p(r.types[s],u,d,a-o,l-a,c)),t.push(o-n)}function p(e,t,n,r,i,o,a){if(o){let e=[l.contextHash,o];a=a?[e].concat(a):[e]}if(i>25){let e=[l.lookAhead,i];a=a?[e].concat(a):[e]}return new m(e,t,n,r,a)}let v=[],b=[];for(;c.pos>0;)!function e(t,n,o,g,v,b){let{id:y,start:x,end:w,size:S}=c,k=f,P=d;for(;S<0;){if(c.next(),-1==S){let e=a[y];o.push(e),g.push(x-t);return}if(-3==S){d=y;return}else if(-4==S){f=y;return}else throw RangeError(`Unrecognized record size: ${S}`)}let M=u[y],j,C,_=x-t;if(w-x<=i&&(C=function(e,t){let n=c.fork(),r=0,o=0,a=0,l=n.end-i,u={size:0,start:0,skip:0};o:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){u.size=r,u.start=o,u.skip=a,a+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<i||n.start<l)break;let d=n.id>=s?4:0,f=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3==n.size)d+=4;else break o}else n.id>=s&&(d+=4);n.next()}o=f,r+=e,a+=d}return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=a),u.size>4?u:void 0}(c.pos-n,v))){let e=new Uint16Array(C.size-C.skip),n=c.pos-C.size,i=e.length;for(;c.pos>n;)i=function e(t,n,r){let{id:i,start:o,end:a,size:l}=c;if(c.next(),l>=0&&i<s){let s=r;if(l>4){let i=c.pos-(l-4);for(;c.pos>i;)r=e(t,n,r)}n[--r]=s,n[--r]=a-t,n[--r]=o-t,n[--r]=i}else -3==l?d=i:-4==l&&(f=i);return r}(C.start,e,i);j=new O(e,w-C.start,r),_=C.start-t}else{let t=c.pos-S;c.next();let n=[],o=[],a=y>=s?y:-1,u=0,d=w;for(;c.pos>t;)a>=0&&c.id==a&&c.size>=0?(c.end<=d-i&&(h(n,o,x,u,c.end,d,a,k,P),u=n.length,d=c.end),c.next()):b>2500?function(e,t,n,o){let a=[],s=0,l=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else if(l>-1&&t<l)break;
vendor: 6,333 bytes, line 382
382else l<0&&(l=n-i),a.push(e,t,n),s++,c.next()}if(s){let t=new Uint16Array(4*s),i=a[a.length-2];for(let e=a.length-3,n=0;e>=0;e-=3)t[n++]=a[e],t[n++]=a[e+1]-i,t[n++]=a[e+2]-i,t[n++]=n;n.push(new O(t,a[2]-i,r)),o.push(i-e)}}(x,t,n,o):e(x,t,n,o,a,b+1);if(a>=0&&u>0&&u<n.length&&h(n,o,x,u,x,d,a,k,P),n.reverse(),o.reverse(),a>-1&&u>0){let e=function(e,t){return(n,r,i)=>{let o=0,a=n.length-1,s,c;if(a>=0&&(s=n[a])instanceof m){if(!a&&s.type==e&&s.length==i)return s;(c=s.prop(l.lookAhead))&&(o=r[a]+s.length+c)}return p(e,n,r,i,o,t)}}(M,P);j=E(M,n,o,0,n.length,0,w-x,e,e)}else j=p(M,n,o,w-x,k-w,P)}o.push(j),g.push(_)}(e.start||0,e.bufferStart||0,v,b,-1,0);let y=null!==(t=e.length)&&void 0!==t?t:v.length?b[0]+v[0].length:0;return new m(u[e.topID],v.reverse(),b.reverse(),y)}(e)}}m.empty=new m(d.none,[],[],0);class g{constructor(e,t){this.buffer=e,this.index=t}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 g(this.buffer,this.index)}}class O{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return d.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),n==(e+=4))return i;let o=[];for(;e<n;)o.push(this.childString(e)),e=this.buffer[e+3];return i+"("+o.join(",")+")"}findChild(e,t,n,r,i){let{buffer:o}=this,a=-1;for(let s=e;s!=t&&(!v(i,r,o[s+1],o[s+2])||(a=s,!(n>0)));s=o[s+3]);return a}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),o=0;for(let a=e,s=0;a<t;){i[s++]=r[a++],i[s++]=r[a++]-n;let t=i[s++]=r[a++]-n;i[s++]=r[a++]-e,o=Math.max(o,t)}return new O(i,o,this.set)}}function v(e,t,n,r){switch(e){case -2:return n<t;case -1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function b(e,t,n,i){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!i&&e instanceof x&&e.index<0?null:e.parent;if(!t)return e;e=t}let a=i?0:r.IgnoreOverlays;if(i)for(let r=e,i=r.parent;i;i=(r=i).parent)r instanceof x&&r.index<0&&(null===(o=i.enter(t,n,a))||void 0===o?void 0:o.from)!=r.from&&(e=i);for(;;){let r=e.enter(t,n,a);if(!r)return e;e=r}}class y{cursor(e=0){return new C(this,e)}getChild(e,t=null,n=null){let r=w(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return w(this,e,t,n)}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}matchContext(e){return S(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class x extends y{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,o=0){for(let a=this;;){for(let{children:s,positions:l}=a._tree,u=t>0?s.length:-1;e!=u;e+=t){let u=s[e],d=l[e]+a.from;if(v(i,n,d,d+u.length)){if(u instanceof O){if(o&r.ExcludeBuffers)continue;let s=u.findChild(0,u.buffer.length,t,n-d,i);if(s>-1)return new P(new k(a,u,e,d),null,s)}else if(o&r.IncludeAnonymous||!u.type.isAnonymous||_(u)){let s;if(!(o&r.IgnoreMounts)&&(s=c.get(u))&&!s.overlay)return new x(s.tree,d,e,a);let l=new x(u,d,e,a);return o&r.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(t<0?u.children.length-1:0,t,n,i)}}}if(o&r.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+t:t<0?-1:a._parent._tree.children.length,!(a=a._parent))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(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let i;if(!(n&r.IgnoreOverlays)&&(i=c.get(this._tree))&&i.overlay){let n=e-this.from;for(let{from:e,to:r}of i.overlay)if((t>0?e<=n:e<n)&&(t<0?r>=n:r>n))return new x(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}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 w(e,t,n,r){let i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return o}for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function S(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class k{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class P 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(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new P(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&r.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new P(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.
vendor: 1,240 bytes, line 382
382index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new P(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new P(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new m(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function M(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let i=e[r];(i.from>n.from||i.to<n.to)&&(n=i,t=r)}let r=n instanceof x&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new j(i,n)}class j{constructor(e,t){this.heads=e,this.node=t}get next(){return M(this.heads)}}class C{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof x)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;
vendor: 8,515 bytes, line 382
382for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof x?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&r.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&r.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&r.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(i.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let e=n._tree.children[i];if(this.mode&r.IncludeAnonymous||e instanceof O||!e.type.isAnonymous||_(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)o:for(let r=this.index,i=this.stack.length;i>=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break o}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new P(this.buffer,t,this.stack[e]);return this.bufferNode=new P(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}!this.type.isAnonymous&&(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return S(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return S(this._tree,e,r);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function _(e){return e.children.some(e=>e instanceof O||!e.type.isAnonymous||_(e))}let T=new WeakMap;function D(e,t){if(!e.isAnonymous||t instanceof O||t.type!=e)return 1;let n=T.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof m)){n=1;break}n+=D(e,r)}T.set(t,n)}return n}function E(e,t,n,r,i,o,a,s,l){let c=0;for(let n=r;n<i;n++)c+=D(e,t[n]);let u=Math.ceil(1.5*c/8),d=[],f=[];return!function t(n,r,i,a,s){for(let c=i;c<a;){let i=c,h=r[c],p=D(e,n[c]);for(c++;c<a;c++){let t=D(e,n[c]);if(p+t>=u)break;p+=t}if(c==i+1){if(p>u){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+s);continue}d.push(n[i])}else{let t=r[c-1]+n[c-1].length-h;d.push(E(e,n,r,i,c,h,t,null,l))}f.push(h+s-o)}}(t,n,r,i,0),(s||l)(d,f,a)}class Q{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);!r&&this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof P?this.setBuffer(e.context.buffer,e.index,t):e instanceof x&&this.map.set(e.tree,t)}get(e){return e instanceof P?this.getBuffer(e.context.buffer,e.index):e instanceof x?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class ${constructor(e,t,n,r,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(i?1:0)|(o?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new $(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,o=e.length?e[0]:null;for(let a=0,s=0,l=0;;a++){let c=a<t.length?t[a]:null,u=c?c.fromA:1e9;if(u-s>=n)for(;o&&o.from<u;){let t=o;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,n=Math.min(t.to,u)-l;t=e>=n?null:new $(e,n,t.tree,t.offset+l,a>0,!!c)}if(t&&r.push(t),o.to>u)break;o=i<e.length?e[i++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return r}}class R{startParse(e,t,n){return"string"==typeof e&&(e=new Z(e)),n=n?n.length?n.map(e=>new s(e.from,e.to)):[new s(0,0)]:[new s(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class Z{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function I(e){return(t,n,r,i)=>new F(t,e,n,r,i)}class A{constructor(e,t,n,r,i){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=i}}function N(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class L{constructor(e,t,n,r,i,o,a){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.target=o,this.prev=a,this.depth=0,this.ranges=[]}}let z=new l({perNode:!0});class F{constructor(e,t,n,r,i){this.nest=t,this.input=n,this.fragments=r,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new m(e.type,e.children,e.positions,e.length,e.propValues.concat([[z,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[l.mounted.id]=new c(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new Y(this.fragments),t=null,n=null,i=new C(new x(this.baseTree,this.ranges[0].from,0,null),r.IncludeAnonymous|r.IgnoreMounts);o:for(let r,o;;){let a=!0,l;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)a=!1;else if(e.hasNode(i)){if(t){let e=t.mounts.find(e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let r=n.from+e.pos,o=n.to+e.pos;r>=i.from&&o<=i.to&&!t.ranges.some(e=>e.from<o&&e.to>r)&&t.ranges.push({from:r,to:o})}}a=!1}else if(n&&(o=function(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}
382(n.ranges,i.from,i.to)))a=2!=o;else if(!i.type.isAnonymous&&(r=this.nest(i,this.input))&&(i.from<i.to||!r.overlay)){!i.tree&&function(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let i=e.tree,o=i.children.indexOf(r),a=i.children[o],s=a.buffer,l=[o];for(let r of(i.children[o]=function e(r,i,o,c,u,d){let f=n[d],h=[],p=[];V(a,r,f,h,p,c);let g=s[f+1],O=s[f+2];l.push(h.length);let v=d?e(f+4,s[f+3],a.set.types[s[f]],g,O-g,d-1):t.toTree();return h.push(v),p.push(g-c),V(a,s[f+3],i,h,p,c),new m(o,h,p,u)}(0,s.length,d.none,0,a.length,n.length-1),l)){let t=e.tree.children[r],n=e.tree.positions[r];e.yield(new x(t,n+e.from,r,e._tree))}}(i);let o=e.findMounts(i.from,r.parser);if("function"==typeof r.overlay)t=new L(r.parser,r.overlay,o,this.inner.length,i.from,i.tree,t);else{let e=X(this.ranges,r.overlay||(i.from<i.to?[new s(i.from,i.to)]:[]));e.length&&N(e),(e.length||!r.overlay)&&this.inner.push(new A(r.parser,e.length?r.parser.startParse(this.input,B(o,e),e):r.parser.startParse(""),r.overlay?r.overlay.map(e=>new s(e.from-i.from,e.to-i.from)):null,i.tree,e.length?e[0].from:i.from)),r.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):a=!1}}else if(t&&(l=t.predicate(i))&&(!0===l&&(l=new s(i.from,i.to)),l.from<l.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==l.from?t.ranges[e]={from:t.ranges[e].from,to:l.to}:t.ranges.push(l)}if(a&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break o;if(t&&!--t.depth){let e=X(this.ranges,t.ranges);e.length&&(N(e),this.inner.splice(t.index,0,new A(t.parser,t.parser.startParse(this.input,B(t.mounts,e),e),t.ranges.map(e=>new s(e.from-t.start,e.to-t.start)),t.target,e[0].from))),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function V(e,t,n,r,i,o){if(t<n){let a=e.buffer[t+1];r.push(e.slice(t,n,a)),i.push(a-o)}}class W{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(r.IncludeAnonymous|r.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,r.IgnoreOverlays|r.ExcludeBuffers)||!t.next(!1)&&(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof m)t=t.children[0];else break}return!1}}class Y{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(z))&&void 0!==t?t:n.to,this.inner=new W(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(z))&&void 0!==e?e:t.to,this.inner=new W(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let i=null===(n=e.tree)||void 0===n?void 0:n.prop(l.mounted);if(i&&i.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:i})}}}return r}}function X(e,t){let n=null,r=t;for(let i=1,o=0;i<e.length;i++){let a=e[i-1].to,l=e[i].from;for(;o<r.length;o++){let e=r[o];if(e.from>=l)break;!(e.to<=a)&&(!n&&(r=n=t.slice()),e.from<a?(n[o]=new s(e.from,a),e.to>l&&n.splice(o+1,0,new s(l,e.to))):e.to>l?n[o--]=new s(l,e.to):n.splice(o--,1))}}return r}function B(e,t){let n=[];for(let{pos:r,mount:i,frag:o}of e){let e=r+(i.overlay?i.overlay[0].from:0),a=e+i.tree.length,l=Math.max(o.from,e),c=Math.min(o.to,a);if(i.overlay){let a=function(e,t,n,r){let i=0,o=0,a=!1,l=!1,c=-1e9,u=[];for(;;){let d=i==e.length?1e9:a?e[i].to:e[i].from,f=o==t.length?1e9:l?t[o].to:t[o].from;if(a!=l){let e=Math.max(c,n),t=Math.min(d,f,r);e<t&&u.push(new s(e,t))}if(1e9==(c=Math.min(d,f)))break;d==c&&(a?(a=!1,i++):a=!0),f==c&&(l?(l=!1,o++):l=!0)}return u}(t,i.overlay.map(e=>new s(e.from+r,e.to+r)),l,c);for(let t=0,r=l;;t++){let s=t==a.length,l=s?c:a[t].from;if(l>r&&n.push(new $(r,l,i.tree,-e,o.from>=r||o.openStart,o.to<=l||o.openEnd)),s)break;r=a[t].to}}else n.push(new $(l,c,i.tree,-e,o.from>=e||o.openStart,o.to<=a||o.openEnd))}return n}},53374:function(e,t,n){"use strict";n.d(t,{E:function(){return m}});var r=n("63899"),i=n("65309");let o=[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];function a(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function s(e){return e>=48&&e<=57}let l=new r.Jq((e,t)=>{for(let n=!1,r=0,i=0;;i++){let{next:o}=e;if(a(o)||45==o||95==o||n&&s(o))!n&&(45!=o||i>0)&&(n=!0),r===i&&45==o&&r++,e.advance();else if(92==o&&10!=e.peek(1))e.advance(),e.next>-1&&e.advance(),n=!0;else{n&&e.acceptToken(40==o?100:2==r&&t.canShift(2)?2:101);break}}}),c=new r.Jq(e=>{if(o.includes(e.peek(-1))){let{next:t}=e;(a(t)||95==t||35==t||46==t||91==t||58==t&&a(e.peek(1))||45==t||38==t)&&e.acceptToken(99)}}),u=new r.Jq(e=>{if(!o.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),a(t)){do e.advance();while(a(e.next)||s(e.next));e.acceptToken(1)}}}),d=(0,i.Gv)({"AtKeyword import charset namespace keyframes media supports":i.pJ.definitionKeyword,"from to selector":i.pJ.keyword,NamespaceName:i.pJ.namespace,KeyframeName:i.pJ.labelName,KeyframeRangeName:i.pJ.operatorKeyword,TagName:i.pJ.tagName,ClassName:i.pJ.className,PseudoClassName:i.pJ.constant(i.pJ.className),IdName:i.pJ.labelName,"FeatureName PropertyName":i.pJ.propertyName,AttributeName:i.pJ.attributeName,NumberLiteral:i.pJ.number,KeywordQuery:i.pJ.keyword,UnaryQueryOp:i.pJ.operatorKeyword,"CallTag ValueName":i.pJ.atom,VariableName:i.pJ.variableName,Callee:i.pJ.operatorKeyword,Unit:i.pJ.unit,"UniversalSelector NestingSelector":i.pJ.definitionOperator,MatchOp:i.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":i.pJ.logicOperator,BinOp:i.pJ.arithmeticOperator,Important:i.pJ.modifier,Comment:i.pJ.blockComment,ColorLiteral
382:i.pJ.color,"ParenthesizedContent StringLiteral":i.pJ.string,":":i.pJ.punctuation,"PseudoOp #":i.pJ.derefOperator,"; ,":i.pJ.separator,"( )":i.pJ.paren,"[ ]":i.pJ.squareBracket,"{ }":i.pJ.brace}),f={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},h={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},p={__proto__:null,not:132,only:132},m=r.WQ.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO-kQdO,59}O-{Q[O'#E^O.YQWO,5;_O.YQWO,5;_POOO'#EV'#EVP.eO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO/[QXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/iQ`O1G/^O0SQXO1G/aO0jQXO1G/cO1QQXO1G/dO1hQWO,59|O1mQ[O'#DSO1tQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1{QpO,59]OOQS,59_,59_O${QdO,59aO2TQWO1G/mOOQS,59c,59cO2YQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2eQ[O,59jOOQS,59j,59jO2mQWO'#DjO2xQWO,5:VO2}QWO,5:]O&`Q[O,5:XO&`Q[O'#E_O3VQWO,5;`O3bQWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3sQWO1G0OO3xQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO4TQtO1G/iOOQO1G/i1G/iOOQO,5:x,5:xO4kQ[O,5:xOOQO-E8[-E8[O4xQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO5TQXO'#ErO5[QWO,59nO5aQtO'#EXO6XQdO'#EoO6cQWO,59ZO6hQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XOOQS1G/P1G/PO6pQWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6uQWO,5:yOOQO-E8]-E8]O7TQXO1G/xOOQS7+%j7+%jO7[QYO'#CsOOQO'#EQ'#EQO7gQ`O'#EPOOQO'#EP'#EPO7rQWO'#E`O7zQdO,5:jOOQS,5:j,5:jO8VQtO'#E]O${QdO'#E]O9WQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9kQpO<<HdO9sQWO,5;^OOQP1G/Y1G/YOOQS-E8V-E8VO${QdO'#EZO9{QWO,5;ZOOQT1G.u1G.uOOQP<<Hd<<HdOOQS7+$k7+$kO:TQdO7+%]OOQO7+%d7+%dOOQO,5:k,5:kO3{QdO'#EaO7rQWO,5:zOOQS,5:z,5:zOOQS-E8^-E8^OOQS1G0U1G0UO:[QtO,5:wOOQS-E8Z-E8ZOOQO<<Ho<<HoOOQPAN>OAN>OO;]QdO,5:uOOQO-E8X-E8XOOQO<<Hw<<HwOOQO,5:{,5:{OOQO-E8_-E8_OOQS1G0f1G0f",stateData:";o~O#ZOS#[QQ~OUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XRO#bTO~OQfOUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XeO#bTO~O#U#gP~P!ZO#[jO~O#XlO~O]qO^qOqsOtoOxrO!OtO!RvO#VuO#bnO~O!TwO~P#pO`}O#WzO#XyO~O#X!OO~O#X!QO~OQ![Ob!TOf![Oh![On!YOq!ZO#W!WO#X!SO#e!UO~Ob!^O!d!`O!g!aO#X!]O!T#hP~Oh!fOn!YO#X!eO~Oh!hO#X!hO~Ob!^O!d!`O!g!aO#X!]O~O!Y#hP~P%jO]WX]!WX^WXqWXtWXxWX!OWX!RWX!TWX#VWX#bWX~O]!mO~O!Y!nO#U#gX!S#gX~O#U#gX!S#gX~P!ZO#]!qO#^!qO#_!sO~OUYOXYO]VO^VOqXOxWO#XRO#bTO~OtoO!TwO~O`!zO#WzO#XyO~O!S#gP~P!ZOb#RO~Ob#SO~Op#TO|#UO~OP#WObgXjgX!YgX!dgX!ggX#XgXagXQgXfgXhgXngXqgXtgX!XgX#UgX#WgX#egXpgX!SgX~Ob!^Oj#XO!d!`O!g!aO#X!]O!Y#hP~Ob#[O~Op#`O#X#]O~Ob!^O!d!`O!g!aO#X#aO~Ot#eO!b#dO!T#hX!Y#hX~Ob#hO~Oj#XO!Y#jO~O!Y#kO~Oh#lOn!YO~O!T#mO~O!TwO!b#dO~O!TwO!Y#pO~O!X#rO!Y!Va#U!Va!S!Va~P${O!Y#QX#U#QX!S#QX~P!ZO!Y!nO#U#ga!S#ga~O#]!qO#^!qO#_#xO~O]qO^qOqsOxrO!OtO!RvO#VuO#bnO~Ot#Oa!T#Oaa#Oa~P.pOp#zO|#{O~O]qO^qOqsOxrO#bnO~Ot}i!O}i!R}i!T}i#V}ia}i~P/qOt!Pi!O!Pi!R!Pi!T!Pi#V!Pia!Pi~P/qOt!Qi!O!Qi!R!Qi!T!Qi#V!Qia!Qi~P/qO!S#|O~Oa#fP~P(aOa#cP~P${Oa$TOj#XO~O!Y$VO~Oa$WOh$XOo$XO~Op$ZO#X#]O~O]!`Xa!^X!b!^X~O]$[O~Oa$]O!b#dO~Ot#eO!T#ha!Y#ha~O!b#dOt!ca!T!ca!Y!caa!ca~O!Y$bO~O!S$iO#X$dO#e$cO~Oj#XOt$kO!X$mO!Y!Vi#U!Vi!S!Vi~P${O!Y#Qa#U#Qa!S#Qa~P!ZO!Y!nO#U#gi!S#gi~Oa#fX~P#pOa$qO~Oj#XOQ!{Xa!{Xb!{Xf!{Xh!{Xn!{Xq!{Xt!{X#W!{X#X!{X#e!{X~Ot$sOa#cX~P${Oa$uO~Oj#XOp$vO~Oa$wO~O!b#dOt#Ra!T#Ra!Y#Ra~Oa$yO~P.pOP#WOtgX!TgX~O#e$cOt!sX!T!sX~Ot${O!TwO~O!S%PO#X$dO#e$cO~Oj#XOQ#PXb#PXf#PXh#PXn#PXq#PXt#PX!X#PX!Y#PX#U#PX#W#PX#X#PX#e#PX!S#PX~Ot$kO!X%SO!Y!Vq#U!Vq!S!Vq~P${Oj#XOp%TO~OtoOa#fa~Ot$sOa#ca~Oa%WO~P${Oj#XOQ#Pab#Paf#Pah#Pan#Paq#Pat#Pa!X#Pa!Y#Pa#U#Pa#W#Pa#X#Pa#e#Pa!S#Pa~Oa!}at!}a~P${O#Zo#[#ej!R#e~",goto:"-g#jPPP#kP#nP#w$WP#w$g#wPP$mPPP$s$|$|P%`P$|P$|%z&^PPPP$|&vP&z'Q#wP'W#w'^P#wP#w#wPPP'd'y(WPP#nPP(_(_(i(_P(_P(_(_P#nP#nP#nP(l#nP(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+ZP+v+yP,o,r,x-RRkQ_bOPd
382hw!n#tkYOPdhotuvw!n#R#h#tkSOPdhotuvw!n#R#h#tQmTR!tnQ{VR!xqQ!x}Q#Z!XR#y!zq![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UU$f#m$h${R$z$eq!XZ]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#y!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ$}$gR%Z$|SgPwQ!phQ#s!nR$n#tZfPhw!n#ta!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$g#m$hR%X${V$e#m$h${Q!rjR#w!rQdOShPwU!ldh#tR#t!nQ$Q#SU$r$Q$x%UQ$x$[R%U$sQ#_!ZR$Y#_Q$t$QR%V$tQpUS!vp$pR$p#}Q$l#qR%R$lQ!ogS#u!o#vR#v!pQ#f!_R$`#fQ$h#mR%O$hQ$|$gR%Y$|_cOPdhw!n#t^UOPdhw!n#tQ!uoQ!}tQ#OuQ#PvQ#}#RR$a#hR$R#SQ!VZQ!d]Q#V!TQ#q!m[$P#S$Q$[$s$x%UQ$S#UQ$U#XS$j#q$lQ$o#{R%Q$kR$O#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$^#dR$_#e",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 KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[d],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!X[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYxQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QS|So`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!RQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#e[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[c,u,l,1,2,3,4,new r.RA("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>f[e]||-1},{term:58,get:e=>h[e]||-1},{term:101,get:e=>p[e]||-1}],tokenPrec:1219})},65309:function(e,t,n){"use strict";n.d(t,{Gv:function(){return l},QR:function(){return d},bW:function(){return f},pJ:function(){return _}});var r=n("12265");let i=0;class o{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=i++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof o&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new o("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new s(e);return e=>e.modified.indexOf(t)>-1?e:s.get(e.base||e,e.modified.concat(t).sort((e,t)=>
382e.id-t.id))}}let a=0;class s{constructor(e){this.name=e,this.instances=[],this.id=a++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>n.base==e&&function(e,t){return e.length==t.length&&e.every((e,n)=>e==t[n])}(t,n.modified));if(n)return n;let r=[],i=new o(e.name,r,e,t);for(let e of t)e.instances.push(i);let a=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of a)r.push(s.get(t,e));return i}}function l(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(!Array.isArray(r)&&(r=[r]),n.split(" ")))if(e){let n=[],i=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){i=0;break}if("/"!=a)throw RangeError("Invalid path: "+e);o=e.slice(t)}let a=n.length-1,s=n[a];if(!s)throw RangeError("Invalid path: "+e);let l=new u(r,i,a>0?n.slice(0,a):null);t[s]=l.sort(t[s])}}return c.add(t)}let c=new r.md;class u{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function d(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}u.empty=new u([],2,null);function f(e,t,n,r=0,i=e.length){let o=new h(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}class h{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,o){let{type:a,from:s,to:l}=e;if(s>=n||l<=t)return;a.isTop&&(o=this.highlighters.filter(e=>!e.scope||e.scope(a)));let d=i,f=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);
382)t=t.next;return t||null}(e)||u.empty,h=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(o,f.tags);if(h&&(d&&(d+=" "),d+=h,1==f.mode&&(i+=(i?" ":"")+h)),this.startSpan(Math.max(t,s),d),f.opaque)return;let p=e.tree&&e.tree.prop(r.md.mounted);if(p&&p.overlay){let r=e.node.enter(p.overlay[0].from+s,1),a=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),c=e.firstChild();for(let u=0,f=s;;u++){let h=u<p.overlay.length?p.overlay[u]:null,m=h?h.from+s:l,g=Math.max(t,f),O=Math.min(n,m);if(g<O&&c)for(;e.from<O&&(this.highlightRange(e,g,O,i,o),this.startSpan(Math.min(O,e.to),d),!(e.to>=m)&&e.nextSibling()););if(!h||m>n)break;(f=h.to+s)>t&&(this.highlightRange(r.cursor(),Math.max(t,h.from+s),Math.min(n,f),"",a),this.startSpan(Math.min(n,f),d))}c&&e.parent()}else if(e.firstChild()){p&&(i="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,i,o),this.startSpan(Math.min(n,e.to),d)}while(e.nextSibling());e.parent()}}}let p=o.define,m=p(),g=p(),O=p(g),v=p(g),b=p(),y=p(b),x=p(b),w=p(),S=p(w),k=p(),P=p(),M=p(),j=p(M),C=p(),_={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:O,tagName:p(O),propertyName:v,attributeName:p(v),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:b,string:y,docString:p(y),character:p(y),attributeValue:p(y),number:x,integer:p(x),float:p(x),bool:p(b),regexp:p(b),escape:p(b),color:p(b),url:p(b),keyword:k,self:p(k),null:p(k),atom:p(k),unit:p(k),modifier:p(k),operatorKeyword:p(k),controlKeyword:p(k),definitionKeyword:p(k),moduleKeyword:p(k),operator:P,derefOperator:p(P),arithmeticOperator:p(P),logicOperator:p(P),bitwiseOperator:p(P),compareOperator:p(P),updateOperator:p(P),definitionOperator:p(P),typeOperator:p(P),controlOperator:p(P),punctuation:M,separator:p(M),bracket:j,angleBracket:p(j),squareBracket:p(j),paren:p(j),brace:p(j),content:w,heading:S,heading1:p(S),heading2:p(S),heading3:p(S),heading4:p(S),heading5:p(S),heading6:p(S),contentSeparator:p(w),list:p(w),quote:p(w),emphasis:p(w),strong:p(w),link:p(w),monospace:p(w),strikethrough:p(w),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:C,documentMeta:p(C),annotation:p(C),processingInstruction:p(C),definition:o.defineModifier("definition"),constant:o.defineModifier("constant"),function:o.defineModifier("function"),standard:o.defineModifier("standard"),local:o.defineModifier("local"),special:o.defineModifier("special")};for(let e in _){let t=_[e];t instanceof o&&(t.name=e)}d([{tag:_.link,class:"tok-link"},{tag:_.heading,class:"tok-heading"},{tag:_.emphasis,class:"tok-emphasis"},{tag:_.strong,class:"tok-strong"},{tag:_.keyword,class:"tok-keyword"},{tag:_.atom,class:"tok-atom"},{tag:_.bool,class:"tok-bool"},{tag:_.url,class:"tok-url"},{tag:_.labelName,class:"tok-labelName"},{tag:_.inserted,class:"tok-inserted"},{tag:_.deleted,class:"tok-deleted"},{tag:_.literal,class:"tok-literal"},{tag:_.string,class:"tok-string"},{tag:_.number,class:"tok-number"},{tag:[_.regexp,_.escape,_.special(_.string)],class:"tok-string2"},{tag:_.variableName,class:"tok-variableName"},{tag:_.local(_.variableName),class:"tok-variableName tok-local"},{tag:_.definition(_.variableName),class:"tok-variableName tok-definition"},{tag:_.special(_.variableName),class:"tok-variableName2"},{tag:_.definition(_.propertyName),class:"tok-propertyName tok-definition"},{tag:_.typeName,class:"tok-typeName"},{tag:_.namespace,class:"tok-namespace"},{tag:_.className,class:"tok-className"},{tag:_.macroName,class:"tok-macroName"},{tag:_.propertyName,class:"tok-propertyName"},{tag:_.operator,class:"tok-operator"},{tag:_.comment,class:"tok-comment"},{tag:_.meta,class:"tok-meta"},{tag:_.invalid,class:"tok-invalid"},{tag:_.punctuation,class:"tok-punctuation"}])},8467:function(e,t,n){"use strict";n.d(t,{E:function(){return j},X:function(){return D}});var r=n("63899"),i=n("65309"),o=n("12265");let a={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},s={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0}
382,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 c(e){return 9==e||10==e||13==e||32==e}let u=null,d=null,f=0;function h(e,t){var n;let r=e.pos+t;if(f==r&&d==e)return u;let i=e.peek(t);for(;c(i);)i=e.peek(++t);let o="";for(;45==(n=i)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)o+=String.fromCharCode(i),i=e.peek(++t);return d=e,f=r,u=o?o.toLowerCase():i==p||i==m?void 0:null}let p=63,m=33;function g(e,t){this.name=e,this.parent=t}let O=[6,10,7,8,9],v=new r.IK({start:null,shift:(e,t,n,r)=>O.indexOf(t)>-1?new g(h(r,1)||"",e):e,reduce:(e,t)=>20==t&&e?e.parent:e,reuse(e,t,n,r){let i=t.type.id;return 6==i||36==i?new g(h(r,1)||"",e):e},strict:!1}),b=new r.Jq((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(57);return}e.advance();let n=47==e.next;n&&e.advance();let r=h(e,0);if(void 0===r)return;if(!r)return e.acceptToken(n?14:6);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(11);if(i&&s[i])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(a.hasOwnProperty(r))return e.acceptToken(10);i&&l[i]&&l[i][r]?e.acceptToken(57,-1):e.acceptToken(6)}},{contextual:!0}),y=new r.Jq(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(58);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>=3&&e.acceptToken(58,-2);break}else t=0;e.advance()}}),x=new r.Jq((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function w(e,t,n){let i=2+e.length;return new r.Jq(r=>{for(let o=0,a=0,s=0;;s++){if(r.next<0){s&&r.acceptToken(t);break}if(0==o&&60==r.next||1==o&&47==r.next||o>=2&&o<i&&r.next==e.charCodeAt(o-2))o++,a++;else if((2==o||o==i)&&c(r.next))a++;else if(o==i&&62==r.next){s>a?r.acceptToken(t,-a):r.acceptToken(n,-(a-2));break}else if((10==r.next||13==r.next)&&s){r.acceptToken(t,1);break}else o=a=0;r.advance()}})}let S=w("script",54,1),k=w("style",55,2),P=w("textarea",56,3),M=(0,i.Gv)({"Text RawText":i.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":i.pJ.angleBracket,TagName:i.pJ.tagName,"MismatchedCloseTag/TagName":[i.pJ.tagName,i.pJ.invalid],AttributeName:i.pJ.attributeName,"AttributeValue UnquotedAttributeValue":i.pJ.attributeValue,Is:i.pJ.definitionOperator,"EntityReference CharacterReference":i.pJ.character,Comment:i.pJ.blockComment,ProcessingInst:i.pJ.processingInstruction,DoctypeDecl:i.pJ.documentMeta}),j=r.WQ.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]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:v,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["o
382penedBy",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:[M],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;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$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!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;
382=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#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:[S,k,P,x,b,y,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function C(e,t){let n=Object.create(null);for(let r of e.getChildren(23)){let e=r.getChild(24),i=r.getChild(26)||r.getChild(27);e&&(n[t.read(e.from,e.to)]=i?26==i.type.id?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return n}function _(e,t){let n=e.getChild(22);return n?t.read(n.from,n.to):" "}function T(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||(r=C(e.node.parent.firstChild,t))))return{parser:i.parser};return null}function D(e=[],t=[]){let n=[],r=[],i=[],a=[];for(let t of e)("script"==t.tag?n:"style"==t.tag?r:"textarea"==t.tag?i:a).push(t);let s=t.length?Object.create(null):null;for(let e of t)(s[e.name]||(s[e.name]=[])).push(e);return(0,o.FE)((e,t)=>{let o=e.type.id;if(28==o)return T(e,t,n);if(31==o)return T(e,t,r);if(34==o)return T(e,t,i);if(20==o&&a.length){let n=e.node,r=n.firstChild,i=r&&_(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||(o=C(r,t))))){let t=n.lastChild,i=37==t.type.id?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(s&&23==o){let n=e.node,r;if(r=n.firstChild){let e=s[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=_(n.parent,t))continue;let e=n.lastChild;if(26==e.type.id){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}]}}else if(27==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}},80085:function(e,t,n){"use strict";n.d(t,{E:function(){return O}});var r=n("63899"),i=n("65309");let o=[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],a=new r.IK({start:!1,shift:(e,t)=>5==t||6==t||318==t?e:319==t,strict:!1}),s=new r.Jq((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(316)},{contextual:!0,fallback:!0}),l=new r.Jq((e,t)=>{let{next:n}=e,r;if(!(o.indexOf(n)>-1))(47!=n||47!=(r=e.peek(1))&&42!=r)&&125!=n&&59!=n&&-1!=n&&!t.context&&e.acceptToken(314)},{contextual:!0}),c=new r.Jq((e,t)=>{91==e.next&&!t.context&&e.acceptToken(315)},{contextual:!0}),u=new r.Jq((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function d(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let f=new r.Jq((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return;if(e.advance(),47==e.next)return;let n=0;for(;o.indexOf(e.next)>-1;)e.advance(),n++;if(d(e.next,!0)){for(e.advance(),n++;d(e.next,!1);)e.advance(),n++;for(;o.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;
vendor: 4,902 bytes, line 382
382t++){if(7==t){if(!d(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),h=(0,i.Gv)({"get set async static":i.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":i.pJ.controlKeyword,"in of await yield void typeof delete instanceof":i.pJ.operatorKeyword,"let var const using function class extends":i.pJ.definitionKeyword,"import export from":i.pJ.moduleKeyword,"with debugger as new":i.pJ.keyword,TemplateString:i.pJ.special(i.pJ.string),super:i.pJ.atom,BooleanLiteral:i.pJ.bool,this:i.pJ.self,null:i.pJ.null,Star:i.pJ.modifier,VariableName:i.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":i.pJ.function(i.pJ.variableName),VariableDefinition:i.pJ.definition(i.pJ.variableName),Label:i.pJ.labelName,PropertyName:i.pJ.propertyName,PrivatePropertyName:i.pJ.special(i.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":i.pJ.function(i.pJ.propertyName),"FunctionDeclaration/VariableDefinition":i.pJ.function(i.pJ.definition(i.pJ.variableName)),"ClassDeclaration/VariableDefinition":i.pJ.definition(i.pJ.className),"NewExpression/VariableName":i.pJ.className,PropertyDefinition:i.pJ.definition(i.pJ.propertyName),PrivatePropertyDefinition:i.pJ.definition(i.pJ.special(i.pJ.propertyName)),UpdateOp:i.pJ.updateOperator,"LineComment Hashbang":i.pJ.lineComment,BlockComment:i.pJ.blockComment,Number:i.pJ.number,String:i.pJ.string,Escape:i.pJ.escape,ArithOp:i.pJ.arithmeticOperator,LogicOp:i.pJ.logicOperator,BitOp:i.pJ.bitwiseOperator,CompareOp:i.pJ.compareOperator,RegExp:i.pJ.regexp,Equals:i.pJ.definitionOperator,Arrow:i.pJ.function(i.pJ.punctuation),": Spread":i.pJ.punctuation,"( )":i.pJ.paren,"[ ]":i.pJ.squareBracket,"{ }":i.pJ.brace,"InterpolationStart InterpolationEnd":i.pJ.special(i.pJ.brace),".":i.pJ.derefOperator,", ;":i.pJ.separator,"@":i.pJ.meta,TypeName:i.pJ.typeName,TypeDefinition:i.pJ.definition(i.pJ.typeName),"type enum interface implements namespace module declare":i.pJ.definitionKeyword,"abstract global Privacy readonly override":i.pJ.modifier,"is keyof unique infer asserts":i.pJ.operatorKeyword,JSXAttributeValue:i.pJ.attributeValue,JSXText:i.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":i.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":i.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":i.pJ.attributeName,"JSXBuiltin/JSXIdentifier":i.pJ.standard(i.pJ.tagName)}),p={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,const:52,extends:56,this:60,true:68,false:68,null:80,void:84,typeof:88,super:104,new:138,delete:150,yield:159,await:163,class:168,public:231,private:231,protected:231,readonly:233,instanceof:252,satisfies:255,in:256,import:290,keyof:347,unique:351,infer:357,asserts:393,is:395,abstract:415,implements:417,type:419,let:422,var:424,using:427,interface:433,enum:437,namespace:443,module:445,declare:449,global:453,for:472,of:481,while:484,with:488,do:492,if:496,else:498,switch:502,case:508,try:514,catch:518,finally:522,return:526,throw:530,break:534,continue:538,debugger:542},m={__proto__:null,async:125,get:127,set:129,declare:191,public:193,private:193,protected:193,static:195,abstract:197,override:199,readonly:205,accessor:207,new:399},g={__proto__:null,"<":189},O=r.WQ.deserialize({version:14,states:"$EOQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#D_O.QQlO'#DeO.bQlO'#DpO%[QlO'#DxO0fQlO'#EQOOQ!0Lf'#EY'#EYO1PQ`O'#EVOOQO'#En'#EnOOQO'#Ij'#IjO1XQ`O'#GrO1dQ`O'#EmO1iQ`O'#EmO3hQ!0MxO'#JpO6[Q!0MxO'#JqO6uQ`O'#F[O6zQ,UO'#FsOOQ!0Lf'#Fe'#FeO7VO7dO'#FeO7eQMhO'#F{O9UQ`O'#FzOOQ!0Lf'#Jq'#JqOOQ!0Lb'#Jp'#JpO9ZQ`O'#GvOOQ['#K]'#K]O9fQ`O'#IWO9kQ!0LrO'#IXOOQ['#J^'#J^OOQ['#I]'#I]Q`QlOOQ`QlOOO9sQ!L^O'#DtO9zQlO'#D|O:RQlO'#EOO9aQ`O'#GrO:YQMhO'#CoO:hQ`O'#ElO:sQ`O'#EwO:xQMhO'#FdO;gQ`O'#GrOOQO'#K^'#K^O;lQ`O'#K^O;zQ`O'#GzO;zQ`O'#G{O;zQ`O'#G}O9aQ`O'#HQO<qQ`O'#HTO>YQ`O'#CeO>jQ`O'#HaO>rQ`O'#HgO>rQ`O'#HiO`QlO'#HkO>rQ`O'#HmO>rQ`O'#HpO>wQ`O'#HvO>|Q!0LsO'#H|O%[QlO'#IOO?XQ!0LsO'#IQO?dQ!0LsO'#ISO9kQ!0LrO'#IUO?oQ!0MxO'#CiO@qQpO'#DjQOQ`OOO%[QlO'#EOOAXQ`O'#ERO:YQMhO'#ElOAdQ`O'#ElOAoQ!bO'#FdOOQ['#Cg'#CgOOQ!0Lb'#Do'#DoOOQ!0Lb'#Jt'#JtO%[QlO'#JtOOQO'#Jw'#JwOOQO'#If'#IfOBoQpO'#EeOOQ!0Lb'#Ed'#EdOOQ!0Lb'#J{'#J{OCkQ!0MSO'#EeOCuQpO'#EUOOQO'#Jv'#JvODZQpO'#JwOEhQpO'#EUOCuQpO'#EePEuO&2DjO'#CbPOOO)CD{)CD{OOOO'#I^'#I^OFQO#tO,59UOOQ!0Lh,59U,59UOOOO'#I_'#I_OF`O&jO,59UOFnQ!L^O'#DaOOOO'#Ia'#IaOFuO#@ItO,59yOOQ!0Lf,59y,59yOGTQlO'#IbOGhQ`O'#JrOIgQ!fO'#JrO+}QlO'#JrOInQ`O,5:POJUQ`O'#EnOJcQ`O'#KROJnQ`O'#KQOJnQ`O'#KQOJvQ`O,5;[OJ{Q`O'#KPOOQ!0Ln,5:[,5:[OKSQlO,5:[OMQQ!0MxO,5:dOMqQ`O,5:lON[Q!0LrO'#KOONcQ`O'#J}O9ZQ`O'#J}ONwQ`O'#J}O! PQ`O,5;ZO! UQ`O'#J}O!#ZQ!fO'#JqOOQ!0Lh'#Ci'#CiO%[QlO'#EQO!#yQ!fO,5:qOOQS'#Jx'#JxOOQO-E<h-E<hO9aQ`O,5=^O!$aQ`O,5=^O!$fQlO,5;XO!&iQMhO'#EiO!(SQ`O,5;XO!(XQlO'#DwO!(cQpO,5;bO!(kQpO,5;bO%[QlO,5;bOOQ['#FS'#FSOOQ['#FU'#FUO%[QlO,5;
382cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cOOQ['#FY'#FYO!(yQlO,5;sOOQ!0Lf,5;x,5;xOOQ!0Lf,5;y,5;yOOQ!0Lf,5;{,5;{O%[QlO'#InO!*|Q!0LrO,5<hO%[QlO,5;cO!&iQMhO,5;cO!+kQMhO,5;cO!-]QMhO'#E[O%[QlO,5;vOOQ!0Lf,5;z,5;zO!-dQ,UO'#FiO!.aQ,UO'#KVO!-{Q,UO'#KVO!.hQ,UO'#KVOOQO'#KV'#KVO!.|Q,UO,5<ROOOW,5<_,5<_O!/_QlO'#FuOOOW'#Im'#ImO7VO7dO,5<PO!/fQ,UO'#FwOOQ!0Lf,5<P,5<PO!0VQ$IUO'#CwOOQ!0Lh'#C{'#C{O!0jO#@ItO'#DPO!1WQMjO,5<dO!1_Q`O,5<gO!2zQ(CWO'#GWO!3XQ`O'#GXO!3^Q`O'#GXO!4|Q(CWO'#G]O!6RQpO'#GaOOQO'#Gm'#GmO!+rQMhO'#GlOOQO'#Go'#GoO!+rQMhO'#GnO!6tQ$IUO'#JjOOQ!0Lh'#Jj'#JjO!7OQ`O'#JiO!7^Q`O'#JhO!7fQ`O'#CuOOQ!0Lh'#Cy'#CyO!7qQ`O'#C{OOQ!0Lh'#DT'#DTOOQ!0Lh'#DV'#DVO1SQ`O'#DXO!+rQMhO'#GOO!+rQMhO'#GQO!7vQ`O'#GSO!7{Q`O'#GTO!3^Q`O'#GZO!+rQMhO'#G`O;zQ`O'#JiO!8QQ`O'#EoO!8oQ`O,5<fOOQ!0Lb'#Cr'#CrO!8wQ`O'#EpO!9qQpO'#EqOOQ!0Lb'#KP'#KPO!9xQ!0LrO'#K_O9kQ!0LrO,5=bO`QlO,5>rOOQ['#Jf'#JfOOQ[,5>s,5>sOOQ[-E<Z-E<ZO!;wQ!0MxO,5:`O!9lQpO,5:^O!>bQ!0MxO,5:hO%[QlO,5:hO!@xQ!0MxO,5:jOOQO,5@x,5@xO!AiQMhO,5=^O!AwQ!0LrO'#JgO9UQ`O'#JgO!BYQ!0LrO,59ZO!BeQpO,59ZO!BmQMhO,59ZO:YQMhO,59ZO!BxQ`O,5;XO!CQQ`O'#H`O!CfQ`O'#KbO%[QlO,5;|O!9lQpO,5<OO!CnQ`O,5=yO!CsQ`O,5=yO!CxQ`O,5=yO9kQ!0LrO,5=yO;zQ`O,5=iOOQO'#Cw'#CwO!DWQpO,5=fO!D`QMhO,5=gO!DkQ`O,5=iO!DpQ!bO,5=lO!DxQ`O'#K^O>wQ`O'#HVO9aQ`O'#HXO!D}Q`O'#HXO:YQMhO'#HZO!ESQ`O'#HZOOQ[,5=o,5=oO!EXQ`O'#H[O!EjQ`O'#CoO!EoQ`O,59PO!EyQ`O,59PO!HOQlO,59POOQ[,59P,59PO!H`Q!0LrO,59PO%[QlO,59PO!JkQlO'#HcOOQ['#Hd'#HdOOQ['#He'#HeO`QlO,5={O!KRQ`O,5={O`QlO,5>RO`QlO,5>TO!KWQ`O,5>VO`QlO,5>XO!K]Q`O,5>[O!KbQlO,5>bOOQ[,5>h,5>hO%[QlO,5>hO9kQ!0LrO,5>jOOQ[,5>l,5>lO# lQ`O,5>lOOQ[,5>n,5>nO# lQ`O,5>nOOQ[,5>p,5>pO#!YQpO'#D]O%[QlO'#JtO#!{QpO'#JtO##VQpO'#DkO##hQpO'#DkO#%yQlO'#DkO#&QQ`O'#JsO#&YQ`O,5:UO#&_Q`O'#ErO#&mQ`O'#KSO#&uQ`O,5;]O#&zQpO'#DkO#'XQpO'#ETOOQ!0Lf,5:m,5:mO%[QlO,5:mO#'`Q`O,5:mO>wQ`O,5;WO!BeQpO,5;WO!BmQMhO,5;WO:YQMhO,5;WO#'hQ`O,5@`O#'mQ07dO,5:qOOQO-E<d-E<dO#(sQ!0MSO,5;POCuQpO,5:pO#(}QpO,5:pOCuQpO,5;PO!BYQ!0LrO,5:pOOQ!0Lb'#Eh'#EhOOQO,5;P,5;PO%[QlO,5;PO#)[Q!0LrO,5;PO#)gQ!0LrO,5;PO!BeQpO,5:pOOQO,5;V,5;VO#)uQ!0LrO,5;PPOOO'#I['#I[P#*ZO&2DjO,58|POOO,58|,58|OOOO-E<[-E<[OOQ!0Lh1G.p1G.pOOOO-E<]-E<]OOOO,59{,59{O#*fQ!bO,59{OOOO-E<_-E<_OOQ!0Lf1G/e1G/eO#*kQ!fO,5>|O+}QlO,5>|OOQO,5?S,5?SO#*uQlO'#IbOOQO-E<`-E<`O#+SQ`O,5@^O#+[Q!fO,5@^O#+cQ`O,5@lOOQ!0Lf1G/k1G/kO%[QlO,5@mO#+kQ`O'#IhOOQO-E<f-E<fO#+cQ`O,5@lOOQ!0Lb1G0v1G0vOOQ!0Ln1G/v1G/vOOQ!0Ln1G0W1G0WO%[QlO,5@jO#,PQ!0LrO,5@jO#,bQ!0LrO,5@jO#,iQ`O,5@iO9ZQ`O,5@iO#,qQ`O,5@iO#-PQ`O'#IkO#,iQ`O,5@iOOQ!0Lb1G0u1G0uO!(cQpO,5:sO!(nQpO,5:sOOQS,5:u,5:uO#-qQdO,5:uO#-yQMhO1G2xO9aQ`O1G2xOOQ!0Lf1G0s1G0sO#.XQ!0MxO1G0sO#/^Q!0MvO,5;TOOQ!0Lh'#GV'#GVO#/zQ!0MzO'#JjO!$fQlO1G0sO#2VQ!fO'#JuO%[QlO'#JuO#2aQ`O,5:cOOQ!0Lh'#D]'#D]OOQ!0Lf1G0|1G0|O%[QlO1G0|OOQ!0Lf1G1e1G1eO#2fQ`O1G0|O#4zQ!0MxO1G0}O#5RQ!0MxO1G0}O#7iQ!0MxO1G0}O#7pQ!0MxO1G0}O#:WQ!0MxO1G0}O#<nQ!0MxO1G0}O#<uQ!0MxO1G0}O#<|Q!0MxO1G0}O#?dQ!0MxO1G0}O#?kQ!0MxO1G0}O#AxQ?MtO'#CiO#CsQ?MtO1G1_O#CzQ?MtO'#JqO#D_Q!0MxO,5?YOOQ!0Lb-E<l-E<lO#FlQ!0MxO1G0}O#GiQ!0MzO1G0}OOQ!0Lf1G0}1G0}O#HlQMjO'#JzO#HvQ`O,5:vO#H{Q!0MxO1G1bO#IoQ,UO,5<VO#IwQ,UO,5<WO#JPQ,UO'#FnO#JhQ`O'#FmOOQO'#KW'#KWOOQO'#Il'#IlO#JmQ,UO1G1mOOQ!0Lf1G1m1G1mOOOW1G1x1G1xO#KOQ?MtO'#JpO#KYQ`O,5<aO!(yQlO,5<aOOOW-E<k-E<kOOQ!0Lf1G1k1G1kO#K_QpO'#KVOOQ!0Lf,5<c,5<cO#KgQpO,5<cO#KlQMhO'#DROOOO'#I`'#I`O#KsO#@ItO,59kOOQ!0Lh,59k,59kO%[QlO1G2OO!7{Q`O'#IpO#LOQ`O,5<yOOQ!0Lh,5<v,5<vO!+rQMhO'#IsO#LlQMjO,5=WO!+rQMhO'#IuO#M_QMjO,5=YO!&iQMhO,5=[OOQO1G2R1G2RO#MiQ!dO'#CrO#M|Q(CWO'#EpO$ RQpO'#GaO$ iQ!dO,5<rO$ pQ`O'#KYO9ZQ`O'#KYO$!OQ`O,5<tO!+rQMhO,5<sO$!TQ`O'#GYO$!fQ`O,5<sO$!kQ!dO'#GVO$!xQ!dO'#KZO$#SQ`O'#KZO!&iQMhO'#KZO$#XQ`O,5<wO$#^QlO'#JtO$#hQpO'#GbO##hQpO'#GbO$#yQ`O'#GfO!3^Q`O'#GjO$$OQ!0LrO'#IrO$$ZQpO,5<{OOQ!0Lp,5<{,5<{O$$bQpO'#GbO$$oQpO'#GcO$%QQpO'#GcO$%VQMjO,5=WO$%gQMjO,5=YOOQ!0Lh,5=],5=]O!+rQMhO,5@TO!+rQMhO,5@TO$%wQ`O'#IwO$&VQ`O,5@SO$&_Q`O,59aOOQ!0Lh,59g,59gO$'UQ$IYO,59sOOQ!0Lh'#Jn'#JnO$'wQMjO,5<jO$(jQMjO,5<lO@iQ`O,5<nOOQ!0Lh,5<o,5<oO$(tQ`O,5<uO$(yQMjO,5<zO$)ZQ`O,5@TO$)iQ`O'#J}O!$fQlO1G2QO$)nQ`O1G2QO9ZQ`O'#KQO9ZQ`O'#ErO%[QlO'#ErO9ZQ`O'#IyO$)sQ!0LrO,5@yOOQ[1G2|1G2|OOQ[1G4^1G4^OOQ!0Lf1G/z1G/zOOQ!0Lf1G/x1G/xO$+uQ!0MxO1G0SOOQ[1G2x1G2xO!&iQMhO1G2xO%[QlO1G2xO#-|Q`O1G2xO$-yQMhO'#EiOOQ!0Lb,5@R,5@RO$.WQ!0LrO,5@ROOQ[1G.u1G.uO!BYQ!0LrO1G.uO!BeQpO1G.uO!BmQMhO1G.uO$.iQ`O1G0sO$.nQ`O'#CiO$.yQ`O'#KcO$/RQ`O,5=zO$/WQ`O'#KcO$/]Q`O'#KcO$/kQ`O'#JPO$/yQ`O,5@|O$0RQ!fO1G1hOOQ!0Lf1G1j1G1jO9aQ`O1G3eO@iQ`O1G3eO$0YQ`O1G3eO$0_Q`O1G3eOOQ[1G3e1G3eO!DkQ`O1G3TO!&iQMhO1G3QO$0dQ`O1G3QOOQ[1G3R1G3RO!&iQMhO1G3RO$0iQ`O1G3RO$0qQpO'#HPOOQ[1G3T1G3TO!5|QpO'#I{O!DpQ!bO1G3WOOQ[1G3W1G3WOOQ[,5=q,5=qO$0yQMhO,5=sO9aQ`O,5=sO$#yQ`O,5=uO9UQ`O,5=uO!BeQpO,5=uO!BmQMhO,5=uO:YQMhO,5=uO$1XQ`O'#KaO$1dQ`O,5=vOOQ[1G.k1G.kO$1iQ!0LrO1G.kO@iQ`O1G.kO$1tQ`O1G.kO9kQ!0LrO1G.kO$3|Q!fO,5AOO$4ZQ`O,5AOO9ZQ`O,5AOO$4fQlO,5=}O$4mQ`O,5=}OOQ[1G3g1G3gO`QlO1G3gOOQ[1G3m1G3mOOQ[1G3o1G3oO>rQ`O1G3qO$4rQlO1G3sO$8vQlO'#HrOOQ[1G3v1G3vO$9TQ`O'#HxO>wQ`O'#HzOOQ[1G3|1G3|O$9]QlO1G3|O9kQ!0LrO1G4SOOQ[1G4U1G4UOOQ!0Lb'#G^'#G^O9kQ!0LrO1G4WO9
382kQ!0LrO1G4YO$=dQ`O,5@`O!(yQlO,5;^O9ZQ`O,5;^O>wQ`O,5:VO!(yQlO,5:VO!BeQpO,5:VO$=iQ?MtO,5:VOOQO,5;^,5;^O$=sQpO'#IcO$>ZQ`O,5@_OOQ!0Lf1G/p1G/pO$>cQpO'#IiO$>mQ`O,5@nOOQ!0Lb1G0w1G0wO##hQpO,5:VOOQO'#Ie'#IeO$>uQpO,5:oOOQ!0Ln,5:o,5:oO#'cQ`O1G0XOOQ!0Lf1G0X1G0XO%[QlO1G0XOOQ!0Lf1G0r1G0rO>wQ`O1G0rO!BeQpO1G0rO!BmQMhO1G0rOOQ!0Lb1G5z1G5zO!BYQ!0LrO1G0[OOQO1G0k1G0kO%[QlO1G0kO$>|Q!0LrO1G0kO$?XQ!0LrO1G0kO!BeQpO1G0[OCuQpO1G0[O$?gQ!0LrO1G0kOOQO1G0[1G0[O$?{Q!0MxO1G0kPOOO-E<Y-E<YPOOO1G.h1G.hOOOO1G/g1G/gO$@VQ!bO,5<hO$@_Q!fO1G4hOOQO1G4n1G4nO%[QlO,5>|O$@iQ`O1G5xO$@qQ`O1G6WO$@yQ!fO1G6XO9ZQ`O,5?SO$ATQ!0MxO1G6UO%[QlO1G6UO$AeQ!0LrO1G6UO$AvQ`O1G6TO$AvQ`O1G6TO9ZQ`O1G6TO$BOQ`O,5?VO9ZQ`O,5?VOOQO,5?V,5?VO$BdQ`O,5?VO$)iQ`O,5?VOOQO-E<i-E<iOOQS1G0_1G0_OOQS1G0a1G0aO#-tQ`O1G0aOOQ[7+(d7+(dO!&iQMhO7+(dO%[QlO7+(dO$BrQ`O7+(dO$B}QMhO7+(dO$C]Q!0MzO,5=WO$EhQ!0MzO,5=YO$GsQ!0MzO,5=WO$JUQ!0MzO,5=YO$LgQ!0MzO,59sO$NlQ!0MzO,5<jO%!wQ!0MzO,5<lO%%SQ!0MzO,5<zOOQ!0Lf7+&_7+&_O%'eQ!0MxO7+&_O%(XQlO'#IdO%(fQ`O,5@aO%(nQ!fO,5@aOOQ!0Lf1G/}1G/}O%(xQ`O7+&hOOQ!0Lf7+&h7+&hO%(}Q?MtO,5:dO%[QlO7+&yO%)XQ?MtO,5:`O%)fQ?MtO,5:hO%)pQ?MtO,5:jO%)zQMhO'#IgO%*UQ`O,5@fOOQ!0Lh1G0b1G0bOOQO1G1q1G1qOOQO1G1r1G1rO%*^Q!jO,5<YO!(yQlO,5<XOOQO-E<j-E<jOOQ!0Lf7+'X7+'XOOOW7+'d7+'dOOOW1G1{1G1{O%*iQ`O1G1{OOQ!0Lf1G1}1G1}OOOO,59m,59mO%*nQ!dO,59mOOOO-E<^-E<^OOQ!0Lh1G/V1G/VO%*uQ!0MxO7+'jOOQ!0Lh,5?[,5?[O%+iQMhO1G2eP%+pQ`O'#IpPOQ!0Lh-E<n-E<nO%,^QMjO,5?_OOQ!0Lh-E<q-E<qO%-PQMjO,5?aOOQ!0Lh-E<s-E<sO%-ZQ!dO1G2vO%-bQ!dO'#CrO%-xQMhO'#KQO$#^QlO'#JtOOQ!0Lh1G2^1G2^O%.PQ`O'#IoO%.eQ`O,5@tO%.eQ`O,5@tO%.mQ`O,5@tO%.xQ`O,5@tOOQO1G2`1G2`O%/WQMjO1G2_O!+rQMhO1G2_O%/hQ(CWO'#IqO%/uQ`O,5@uO!&iQMhO,5@uO%/}Q!dO,5@uOOQ!0Lh1G2c1G2cO%2_Q!fO'#CiO%2iQ`O,5=OOOQ!0Lb,5<|,5<|O%2qQpO,5<|OOQ!0Lb,5<},5<}OCfQ`O,5<|O%2|QpO,5<|OOQ!0Lb,5=Q,5=QO$)iQ`O,5=UOOQO,5?^,5?^OOQO-E<p-E<pOOQ!0Lp1G2g1G2gO##hQpO,5<|O$#^QlO,5=OO%3[Q`O,5<}O%3gQpO,5<}O!+rQMhO'#IsO%4aQMjO1G2rO!+rQMhO'#IuO%5SQMjO1G2tO%5^QMjO1G5oO%5hQMjO1G5oOOQO,5?c,5?cOOQO-E<u-E<uOOQO1G.{1G.{O!9lQpO,59uO%[QlO,59uOOQ!0Lh,5<i,5<iO%5uQ`O1G2YO!+rQMhO1G2aO!+rQMhO1G5oO!+rQMhO1G5oO%5zQ!0MxO7+'lOOQ!0Lf7+'l7+'lO!$fQlO7+'lO%6nQ`O,5;^OOQ!0Lb,5?e,5?eOOQ!0Lb-E<w-E<wO%6sQ!dO'#K[O#'cQ`O7+(dO4UQ!fO7+(dO$BuQ`O7+(dO%6}Q!0MvO'#CiO%7nQ!0LrO,5=RO%8PQ!0MvO,5=RO%8dQ`O,5=ROOQ!0Lb1G5m1G5mOOQ[7+$a7+$aO!BYQ!0LrO7+$aO!BeQpO7+$aO!$fQlO7+&_O%8lQ`O'#JOO%9TQ`O,5@}OOQO1G3f1G3fO9aQ`O,5@}O%9TQ`O,5@}O%9]Q`O,5@}OOQO,5?k,5?kOOQO-E<}-E<}OOQ!0Lf7+'S7+'SO%9bQ`O7+)PO9kQ!0LrO7+)PO9aQ`O7+)PO@iQ`O7+)POOQ[7+(o7+(oO%9gQ!0MvO7+(lO!&iQMhO7+(lO!DfQ`O7+(mOOQ[7+(m7+(mO!&iQMhO7+(mO%9qQ`O'#K`O%9|Q`O,5=kOOQO,5?g,5?gOOQO-E<y-E<yOOQ[7+(r7+(rO%;`QpO'#HYOOQ[1G3_1G3_O!&iQMhO1G3_O%[QlO1G3_O%;gQ`O1G3_O%;rQMhO1G3_O9kQ!0LrO1G3aO$#yQ`O1G3aO9UQ`O1G3aO!BeQpO1G3aO!BmQMhO1G3aO%<QQ`O'#I}O%<fQ`O,5@{O%<nQpO,5@{OOQ!0Lb1G3b1G3bOOQ[7+$V7+$VO@iQ`O7+$VO9kQ!0LrO7+$VO%<yQ`O7+$VO%[QlO1G6jO%[QlO1G6kO%=OQ!0LrO1G6jO%=YQlO1G3iO%=aQ`O1G3iO%=fQlO1G3iOOQ[7+)R7+)RO9kQ!0LrO7+)]O`QlO7+)_OOQ['#Kf'#KfOOQ['#JQ'#JQO%=mQlO,5>^OOQ[,5>^,5>^O%[QlO'#HsO%=zQ`O'#HuOOQ[,5>d,5>dO9ZQ`O,5>dOOQ[,5>f,5>fOOQ[7+)h7+)hOOQ[7+)n7+)nOOQ[7+)r7+)rOOQ[7+)t7+)tO%>PQpO1G5zO%>kQ?MtO1G0xO%>uQ`O1G0xOOQO1G/q1G/qO%?QQ?MtO1G/qO>wQ`O1G/qO!(yQlO'#DkOOQO,5>},5>}OOQO-E<a-E<aOOQO,5?T,5?TOOQO-E<g-E<gO!BeQpO1G/qOOQO-E<c-E<cOOQ!0Ln1G0Z1G0ZOOQ!0Lf7+%s7+%sO#'cQ`O7+%sOOQ!0Lf7+&^7+&^O>wQ`O7+&^O!BeQpO7+&^OOQO7+%v7+%vO$?{Q!0MxO7+&VOOQO7+&V7+&VO%[QlO7+&VO%?[Q!0LrO7+&VO!BYQ!0LrO7+%vO!BeQpO7+%vO%?gQ!0LrO7+&VO%?uQ!0MxO7++pO%[QlO7++pO%@VQ`O7++oO%@VQ`O7++oOOQO1G4q1G4qO9ZQ`O1G4qO%@_Q`O1G4qOOQS7+%{7+%{O#'cQ`O<<LOO4UQ!fO<<LOO%@mQ`O<<LOOOQ[<<LO<<LOO!&iQMhO<<LOO%[QlO<<LOO%@uQ`O<<LOO%AQQ!0MzO,5?_O%C]Q!0MzO,5?aO%EhQ!0MzO1G2_O%GyQ!0MzO1G2rO%JUQ!0MzO1G2tO%LaQ!fO,5?OO%[QlO,5?OOOQO-E<b-E<bO%LkQ`O1G5{OOQ!0Lf<<JS<<JSO%LsQ?MtO1G0sO%NzQ?MtO1G0}O& RQ?MtO1G0}O&#SQ?MtO1G0}O&#ZQ?MtO1G0}O&%[Q?MtO1G0}O&']Q?MtO1G0}O&'dQ?MtO1G0}O&'kQ?MtO1G0}O&)lQ?MtO1G0}O&)sQ?MtO1G0}O&)zQ!0MxO<<JeO&+rQ?MtO1G0}O&,oQ?MvO1G0}O&-rQ?MvO'#JjO&/xQ?MtO1G1bO&0VQ?MtO1G0SO&0aQMjO,5?ROOQO-E<e-E<eO!(yQlO'#FpOOQO'#KX'#KXOOQO1G1t1G1tO&0kQ`O1G1sO&0pQ?MtO,5?YOOOW7+'g7+'gOOOO1G/X1G/XO&0zQ!dO1G4vOOQ!0Lh7+(P7+(PP!&iQMhO,5?[O!+rQMhO7+(bO&1RQ`O,5?ZO9ZQ`O,5?ZOOQO-E<m-E<mO&1aQ`O1G6`O&1aQ`O1G6`O&1iQ`O1G6`O&1tQMjO7+'yO&2
382UQ!dO,5?]O&2`Q`O,5?]O!&iQMhO,5?]OOQO-E<o-E<oO&2eQ!dO1G6aO&2oQ`O1G6aO&2wQ`O1G2jO!&iQMhO1G2jOOQ!0Lb1G2h1G2hOOQ!0Lb1G2i1G2iO%2qQpO1G2hO!BeQpO1G2hOCfQ`O1G2hOOQ!0Lb1G2p1G2pO&2|QpO1G2hO&3[Q`O1G2jO$)iQ`O1G2iOCfQ`O1G2iO$#^QlO1G2jO&3dQ`O1G2iO&4WQMjO,5?_OOQ!0Lh-E<r-E<rO&4yQMjO,5?aOOQ!0Lh-E<t-E<tO!+rQMhO7++ZOOQ!0Lh1G/a1G/aO&5TQ`O1G/aOOQ!0Lh7+'t7+'tO&5YQMjO7+'{O&5jQMjO7++ZO&5tQMjO7++ZO&6RQ!0MxO<<KWOOQ!0Lf<<KW<<KWO&6uQ`O1G0xO!&iQMhO'#IxO&6zQ`O,5@vO&8|Q!fO<<LOO!&iQMhO1G2mO&9TQ!0LrO1G2mOOQ[<<G{<<G{O!BYQ!0LrO<<G{O&9fQ!0MxO<<IyOOQ!0Lf<<Iy<<IyOOQO,5?j,5?jO&:YQ`O,5?jO&:_Q`O,5?jOOQO-E<|-E<|O&:mQ`O1G6iO&:mQ`O1G6iO9aQ`O1G6iO@iQ`O<<LkOOQ[<<Lk<<LkO&:uQ`O<<LkO9kQ!0LrO<<LkOOQ[<<LW<<LWO%9gQ!0MvO<<LWOOQ[<<LX<<LXO!DfQ`O<<LXO&:zQpO'#IzO&;VQ`O,5@zO!(yQlO,5@zOOQ[1G3V1G3VOOQO'#I|'#I|O9kQ!0LrO'#I|O&;_QpO,5=tOOQ[,5=t,5=tO&;fQpO'#EeO&;mQpO'#GdO&;rQ`O7+(yO&;wQ`O7+(yOOQ[7+(y7+(yO!&iQMhO7+(yO%[QlO7+(yO&<PQ`O7+(yOOQ[7+({7+({O9kQ!0LrO7+({O$#yQ`O7+({O9UQ`O7+({O!BeQpO7+({O&<[Q`O,5?iOOQO-E<{-E<{OOQO'#H]'#H]O&<gQ`O1G6gO9kQ!0LrO<<GqOOQ[<<Gq<<GqO@iQ`O<<GqO&<oQ`O7+,UO&<tQ`O7+,VO%[QlO7+,UO%[QlO7+,VOOQ[7+)T7+)TO&<yQ`O7+)TO&=OQlO7+)TO&=VQ`O7+)TOOQ[<<Lw<<LwOOQ[<<Ly<<LyOOQ[-E=O-E=OOOQ[1G3x1G3xO&=[Q`O,5>_OOQ[,5>a,5>aO&=aQ`O1G4OO9ZQ`O7+&dO!(yQlO7+&dOOQO7+%]7+%]O&=fQ?MtO1G6XO>wQ`O7+%]OOQ!0Lf<<I_<<I_OOQ!0Lf<<Ix<<IxO>wQ`O<<IxOOQO<<Iq<<IqO$?{Q!0MxO<<IqO%[QlO<<IqOOQO<<Ib<<IbO!BYQ!0LrO<<IbO&=pQ!0LrO<<IqO&={Q!0MxO<= [O&>]Q`O<= ZOOQO7+*]7+*]O9ZQ`O7+*]OOQ[ANAjANAjO&>eQ!fOANAjO!&iQMhOANAjO#'cQ`OANAjO4UQ!fOANAjO&>lQ`OANAjO%[QlOANAjO&>tQ!0MzO7+'yO&AVQ!0MzO,5?_O&CbQ!0MzO,5?aO&EmQ!0MzO7+'{O&HOQ!fO1G4jO&HYQ?MtO7+&_O&J^Q?MvO,5=WO&LeQ?MvO,5=YO&LuQ?MvO,5=WO&MVQ?MvO,5=YO&MgQ?MvO,59sO' mQ?MvO,5<jO'#pQ?MvO,5<lO'&UQ?MvO,5<zO''zQ?MtO7+'jO'(XQ?MtO7+'lO'(fQ`O,5<[OOQO7+'_7+'_OOQ!0Lh7+*b7+*bO'(kQMjO<<K|OOQO1G4u1G4uO'(rQ`O1G4uO'(}Q`O1G4uO')]Q`O7++zO')]Q`O7++zO!&iQMhO1G4wO')eQ!dO1G4wO')oQ`O7++{O')wQ`O7+(UO'*SQ!dO7+(UOOQ!0Lb7+(S7+(SOOQ!0Lb7+(T7+(TO!BeQpO7+(SOCfQ`O7+(SO'*^Q`O7+(UO!&iQMhO7+(UO$)iQ`O7+(TO'*cQ`O7+(UOCfQ`O7+(TO'*kQMjO<<NuOOQ!0Lh7+${7+${O!+rQMhO<<NuO'*uQ!dO,5?dOOQO-E<v-E<vO'+PQ!0MvO7+(XO!&iQMhO7+(XOOQ[AN=gAN=gO9aQ`O1G5UOOQO1G5U1G5UO'+aQ`O1G5UO'+fQ`O7+,TO'+fQ`O7+,TO9kQ!0LrOANBVO@iQ`OANBVOOQ[ANBVANBVOOQ[ANArANArOOQ[ANAsANAsO'+nQ`O,5?fOOQO-E<x-E<xO'+yQ?MtO1G6fOOQO,5?h,5?hOOQO-E<z-E<zOOQ[1G3`1G3`O',TQ`O,5=OOOQ[<<Le<<LeO!&iQMhO<<LeO&;rQ`O<<LeO',YQ`O<<LeO%[QlO<<LeOOQ[<<Lg<<LgO9kQ!0LrO<<LgO$#yQ`O<<LgO9UQ`O<<LgO',bQpO1G5TO',mQ`O7+,ROOQ[AN=]AN=]O9kQ!0LrOAN=]OOQ[<= p<= pOOQ[<= q<= qO',uQ`O<= pO',zQ`O<= qOOQ[<<Lo<<LoO'-PQ`O<<LoO'-UQlO<<LoOOQ[1G3y1G3yO>wQ`O7+)jO'-]Q`O<<JOO'-hQ?MtO<<JOOOQO<<Hw<<HwOOQ!0LfAN?dAN?dOOQOAN?]AN?]O$?{Q!0MxOAN?]OOQOAN>|AN>|O%[QlOAN?]OOQO<<Mw<<MwOOQ[G27UG27UO!&iQMhOG27UO#'cQ`OG27UO'-rQ!fOG27UO4UQ!fOG27UO'-yQ`OG27UO'.RQ?MtO<<JeO'.`Q?MvO1G2_O'0UQ?MvO,5?_O'2XQ?MvO,5?aO'4[Q?MvO1G2rO'6_Q?MvO1G2tO'8bQ?MtO<<KWO'8oQ?MtO<<IyOOQO1G1v1G1vO!+rQMhOANAhOOQO7+*a7+*aO'8|Q`O7+*aO'9XQ`O<= fO'9aQ!dO7+*cOOQ!0Lb<<Kp<<KpO$)iQ`O<<KpOCfQ`O<<KpO'9kQ`O<<KpO!&iQMhO<<KpOOQ!0Lb<<Kn<<KnO!BeQpO<<KnO'9vQ!dO<<KpOOQ!0Lb<<Ko<<KoO':QQ`O<<KpO!&iQMhO<<KpO$)iQ`O<<KoO':VQMjOANDaO':aQ!0MvO<<KsOOQO7+*p7+*pO9aQ`O7+*pO':qQ`O<= oOOQ[G27qG27qO9kQ!0LrOG27qO!(yQlO1G5QO':yQ`O7+,QO';RQ`O1G2jO&;rQ`OANBPOOQ[ANBPANBPO!&iQMhOANBPO';WQ`OANBPOOQ[ANBRANBRO9kQ!0LrOANBRO$#yQ`OANBROOQO'#H^'#H^OOQO7+*o7+*oOOQ[G22wG22wOOQ[ANE[ANE[OOQ[ANE]ANE]OOQ[ANBZANBZO';`Q`OANBZOOQ[<<MU<<MUO!(yQlOAN?jOOQOG24wG24wO$?{Q!0MxOG24wO#'cQ`OLD,pOOQ[LD,pLD,pO!&iQMhOLD,pO';eQ!fOLD,pO';lQ?MvO7+'yO'=bQ?MvO,5?_O'?eQ?MvO,5?aO'AhQ?MvO7+'{O'C^QMjOG27SOOQO<<M{<<M{OOQ!0LbANA[ANA[O$)iQ`OANA[OCfQ`OANA[O'CnQ!dOANA[OOQ!0LbANAYANAYO'CuQ`OANA[O!&iQMhOANA[O'DQQ!dOANA[OOQ!0LbANAZANAZOOQO<<N[<<N[OOQ[LD-]LD-]O'D[Q?MtO7+*lOOQO'#Ge'#GeOOQ[G27kG27kO&;rQ`OG27kO!&iQMhOG27kOOQ[G27mG27mO9kQ!0LrOG27mOOQ[G27uG27uO'DfQ?MtOG25UOOQOLD*cLD*cOOQ[!$(![!$(![O#'cQ`O!$(![O!&iQMhO!$(![O'DpQ!0MzOG27SOOQ!0LbG26vG26vO$)iQ`OG26vO'GRQ`OG26vOCfQ`OG26vO'G^Q!dOG26vO!&iQMhOG26vOOQ[LD-VLD-VO&;rQ`OLD-VOOQ[LD-XLD-XOOQ[!)9Ev!)9EvO#'cQ`O!)9EvOOQ!0LbLD,bLD,bO$)iQ`OLD,bOCfQ`OLD,bO'GeQ`OLD,bO'GpQ!dOLD,bOOQ[!$(!q!$(!qOOQ[!.K;b!.K;bO'GwQ?MvOG27SOOQ!0Lb!$( |!$( |O$)iQ`O!$( |OCfQ`O!$( |O'ImQ`O!$( |OOQ!0Lb!)9Eh!)9EhO$)iQ`O!)9EhOCfQ`O!)9EhOOQ!0Lb!.K;S!.K;SO$)iQ`O!.K;SOOQ!0Lb!4/0n!4/0nO!(yQlO'#DxO1PQ`O'#EVO'IxQ!fO'#JpO'JPQ!L^O'#DtO'JWQlO'#D|O'J_Q!fO'#CiO'LuQ!fO'#CiO!(yQlO'#EOO'MVQlO,5;XO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO'#InO( YQ`O,5<hO!(yQlO,5;cO( bQMhO,5;cO(!{QMhO,5;cO!(yQlO,5;vO!&iQMhO'#GlO( bQMhO'#GlO!&iQMhO'#GnO( bQMhO'#GnO1SQ`O'#DXO1SQ`O'#DXO!&iQMhO'#GOO( bQMhO'#GOO!&iQMhO'#GQO( bQMhO'#GQO!&iQMhO'#G`O( bQMhO'#G`O!(yQlO,5:hO(#SQpO'#D]O(#^QpO'#JtO!(yQlO,5@mO'MVQlO1G0sO(#hQ?MtO'#CiO!(yQlO1G2OO!&iQMhO'#IsO( bQMhO'#IsO!&iQMhO'#IuO( bQMhO'#IuO(#rQ!dO'#CrO!&iQMhO,5<sO( bQMhO,5<sO'MVQlO1G2QO!(yQlO7+&yO!&iQMhO1G2_O( bQMhO1G2_O!&iQMhO'#IsO( bQMhO'#IsO!&iQMhO'#IuO( bQMhO'#IuO!&iQ
382MhO1G2aO( bQMhO1G2aO'MVQlO7+'lO'MVQlO7+&_O!&iQMhOANAhO( bQMhOANAhO($VQ`O'#EmO($[Q`O'#EmO($dQ`O'#F[O($iQ`O'#EwO($nQ`O'#KRO($yQ`O'#KPO(%UQ`O,5;XO(%ZQMjO,5<dO(%bQ`O'#GXO(%gQ`O'#GXO(%lQ`O,5<fO(%tQ`O,5;XO(%|Q?MtO1G1_O(&TQ`O,5<sO(&YQ`O,5<sO(&_Q`O,5<uO(&dQ`O,5<uO(&iQ`O1G2QO(&nQ`O1G0sO(&sQMjO<<K|O(&zQMjO<<K|O7eQMhO'#F{O9UQ`O'#FzOAdQ`O'#ElO!(yQlO,5;sO!3^Q`O'#GXO!3^Q`O'#GXO!3^Q`O'#GZO!3^Q`O'#GZO!+rQMhO7+(bO!+rQMhO7+(bO%-ZQ!dO1G2vO%-ZQ!dO1G2vO!&iQMhO,5=[O!&iQMhO,5=[",stateData:"((P~O'zOS'{OSTOS'|RQ~OPYOQYOSfOY!VOaqOdzOeyOj!POnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]XO!guO!jZO!mYO!nYO!oYO!qvO!swO!vxO!z]O$V|O$miO%g}O%i!QO%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO%x!UO&U!WO&[!XO&^!YO&`!ZO&b![O&e!]O&k!^O&q!_O&s!`O&u!aO&w!bO&y!cO(RSO(TTO(WUO(_VO(m[O~OWtO~P`OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oa!wOq!nO!Q!oO!`!yO!a!vO!b!vO!z;wO#R!pO#S!pO#T!xO#U!pO#V!pO#Y!zO#Z!zO(S!lO(TTO(WUO(c!mO(m!sO~O'|!{O~OP]XR]X[]Xa]Xp]X!O]X!Q]X!Z]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X'x]X(_]X(p]X(w]X(x]X~O!e%QX~P(qO_!}O(T#PO(U!}O(V#PO~O_#QO(V#PO(W#PO(X#QO~Ov#SO!S#TO(`#TO(a#VO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R;{O(TTO(WUO(_VO(m[O~O!Y#ZO!Z#WO!W(fP!W(tP~P+}O![#cO~P`OPYOQYOSfOd!jOe!iOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(TTO(WUO(_VO(m[O~On#mO!Y#iO!z]O#g#lO#h#iO(R;|O!i(qP~P.iO!j#oO(R#nO~O!v#sO!z]O%g#tO~O#i#uO~O!e#vO#i#uO~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!Z$_O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~Oa(dX'x(dX'u(dX!i(dX!W(dX!](dX%h(dX!e(dX~P1qO#Q$dO#^$eO$P$eOP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#t(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX!](eX%h(eX~Oa(eX'x(eX'u(eX!W(eX!i(eXt(eX!e(eX~P4UO#^$eO~O$[$hO$^$gO$e$mO~OSfO!]$nO$h$oO$j$qO~Oh%VOj%cOn%WOp%XOq$tOr$tOx%YOz%ZO|%[O!Q${O!]$|O!g%aO!j$xO#h%bO$V%_O$s%]O$u%^O$x%`O(R$sO(TTO(WUO(_$uO(w$}O(x%POg([P~O!j%dO~O!Q%gO!]%hO(R%fO~O!e%lO~Oa%mO'x%mO~O!O%qO~P%[O(S!lO~P%[O%m%uO~P%[Oh%VO!j%dO(R%fO(S!lO~Oe%|O!j%dO(R%fO~O#t$RO~O!O&RO!]&OO!j&QO%i&UO(R%fO(S!lO(TTO(WUO`)UP~O!v#sO~O%r&WO!Q)QX!])QX(R)QX~O(R&XO~Oj!PO!s&^O%i!QO%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO~Od&cOe&bO!v&`O%g&aO%z&_O~P<POd&fOeyOj!PO!]&eO!s&^O!vxO!z]O%g}O%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO%x!UO~Ob&iO#^&lO%i&gO(S!lO~P=UO!j&mO!s&qO~O!j#oO~O!]XO~Oa%mO'v&yO'x%mO~Oa%mO'v&|O'x%mO~Oa%mO'v'OO'x%mO~O'u]X!W]Xt]X!i]X&Y]X!]]X%h]X!e]X~P(qO!`']O!a'UO!b'UO(S!lO(TTO(WUO~Oq'SO!Q'RO!Y'VO(c'QO![(gP![(vP~P@]Ol'`O!]'^O(R%fO~Oe'eO!j%dO(R%fO~O!O&RO!j&QO~Oq!nO!Q!oO!z;wO#R!pO#S!pO#U!pO#V!pO(S!lO(TTO(WUO(c!mO(m!sO~O!`'kO!a'jO!b'jO#T!pO#Y'lO#Z'lO~PAwOa%mOh%VO!e#vO!j%dO'x%mO(p'nO~O!n'rO#^'pO~PCVOq!nO!Q!oO(TTO(WUO(c!mO(m!sO~O!]XOq(kX!Q(kX!`(kX!a(kX!b(kX!z(kX#R(kX#S(kX#T(kX#U(kX#V(kX#Y(kX#Z(kX(S(kX(T(kX(W(kX(c(kX(m(kX~O!a'jO!b'jO(S!lO~PCuO'}'vO(O'vO(P'xO~O_!}O(T'zO(U!}O(V'zO~O_#QO(V'zO(W'zO(X#QO~Ot'|O~P%[Ov#SO!S#TO(`#TO(a(PO~O!Y(RO!W'UX!W'[X!Z'UX!Z'[X~P+}O!Z(TO!W(fX~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!Z(TO!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~O!W(fX~PGpO!W(YO~O!W(sX!Z(sX!e(sX!i(sX(p(sX~O#^(sX#i#bX![(sX~PIsO#^(ZO!W(uX!Z(uX~O!Z([O!W(tX~O!W(_O~O#^$eO~PIsO![(`O~P`OR#zO!O#yO!Q#{O!j#xO(_VOP!la[!lap!la!Z!la!n!la#P!la#l!la#m!la#n!la#o!la#p!la#q!la#r!la#s!la#t!la#u!la#w!la#y!la#z!la(p!la(w!la(x!la~Oa!la'x!la'u!la!W!la!i!lat!la!]!la%h!la!e!la~PKZO!i(aO~O!e#vO#^(bO(p'nO!Z(rXa(rX'x(rX~O!i(rX~PMvO!Q%gO!]%hO!z]O#g(gO#h(fO(R%fO~O!Z(hO!i(qX~O!i(jO~O!Q%gO!]%hO#h(fO(R%fO~OP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#t(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX~O!e#vO!i(eX~P! dOR(lO!O(kO!j#xO#Q$dO!z!ya!Q!ya~O!v!ya%g!ya!]!ya#g!ya#h!ya(R!ya~P!#eO!v(pO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]XO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~O#i(vO~O!Y(xO!i(iP~P%[O(c(zO(m[O~O!Q(|O!j#xO(c(zO(m[O~OP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]!eO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(R)ZO(TTO(WUO(_VO(m[O~O!Z$_Oa$pa'x$pa'u$pa!i$pa!W$pa!]$pa%h$pa!e$pa~Oj)bO~P!&iOh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|%[O!Q${O!]$|O!g%aO!j$xO#h%bO$V%_O$s%]O$u%^O$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~Og(nP~P!+rO!O)gO!e)fO!]$]X$Y$]X$[$]X$^$]X$e$]X~O!e)fO!](yX$Y(yX$[(yX$^(yX$e(yX~O!O)gO~P!-{O!O)gO!](yX$Y(yX$[(yX$^(yX$e(yX~O!])iO$Y)mO$[)hO$^)hO$e)nO~O!Y)qO~P!(yO$[$hO$^$gO$e)uO~Ol$yX!O$yX#Q$yX'w$yX(w$yX(x$yX~OgkXg$yXlkX!ZkX#^kX~P!/qOv)wO(`)xO(a)zO~Ol*TO!O)|O'w)}O(w$}O(x%PO~Og){O~P!0uOg*UO~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q*WO!]*XO!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(TTO(WUO(_$uO(w$}O(x%PO~O!Y*[O(R*VO!i(|P~P!1dO#i*^O~O!j*_O~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(R*aO(TTO(WUO(_$uO(w$}O(x%PO~O!Y*dO!W(}P~P!3cOp*pOq!nO!Q*fO!`*nO!a*hO!b*hO!j*_O#Y*oO%_*jO(S!lO(TTO(WUO(c!mO~O![*mO~P!5WO#Q$dOl(^X!O(^X'w(^X(w(^X(x(^X!Z(^X#^(^X~Og(^X#}(^X~P!6YOl*uO#^*tOg(]X!Z(]X~O!Z*vOg([X~Oj%cO(R&XOg([P~Oq*yO~O!j+OO~O(R(tO~On+TO!Q%gO!Y#iO!]%hO!z]O#g#lO#h#iO(R%fO!i(qP~O!e#vO#i+UO~O!Q%gO!Y+WO!Z([O!]%hO(R%fO!W(tP~Oq'YO!Q+YO!Y+XO(TTO(WUO(c(zO~O![(vP~P!9]O!Z+ZOa)RX'x)RX~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~Oa!ha!Z!ha'x!ha'u!ha!W!ha!i!hat!ha!]!ha%h!ha!e!ha~P!:TOR#zO!O#yO!Q#{O!j#xO(_VOP!pa[!pap!pa!Z!pa!n!pa#P!pa#l!pa#m!pa#n!pa#o!pa#p!pa#q!pa#r!pa#s!pa#t!pa#u!pa#w!pa#y!pa#z!pa(p!pa(w!pa(x!pa~Oa!pa'x!p
382a'u!pa!W!pa!i!pat!pa!]!pa%h!pa!e!pa~P!<kOR#zO!O#yO!Q#{O!j#xO(_VOP!ra[!rap!ra!Z!ra!n!ra#P!ra#l!ra#m!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#w!ra#y!ra#z!ra(p!ra(w!ra(x!ra~Oa!ra'x!ra'u!ra!W!ra!i!rat!ra!]!ra%h!ra!e!ra~P!?ROh%VOl+dO!]'^O%h+cO~O!e+fOa(ZX!](ZX'x(ZX!Z(ZX~Oa%mO!]XO'x%mO~Oh%VO!j%dO~Oh%VO!j%dO(R%fO~O!e#vO#i(vO~Ob+qO%i+rO(R+nO(TTO(WUO![)VP~O!Z+sO`)UX~O[+wO~O`+xO~O!]&OO(R%fO(S!lO`)UP~Oh%VO#^+}O~Oh%VOl,QO!]$|O~O!],SO~O!O,UO!]XO~O%m%uO~O!v,ZO~Oe,`O~Ob,aO(R#nO(TTO(WUO![)TP~Oe%|O~O%i!QO(R&XO~P=UO[,fO`,eO~OPYOQYOSfOdzOeyOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!guO!jZO!mYO!nYO!oYO!qvO!vxO!z]O$miO%g}O(TTO(WUO(_VO(m[O~O!]!eO!s!gO$V!kO(R!dO~P!FRO`,eOa%mO'x%mO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oa,kOj!OO!swO%k!OO%l!OO%m!OO~P!HkO!j&mO~O&[,qO~O!],sO~O&m,uO&o,vOP&jaQ&jaS&jaY&jaa&jad&jae&jaj&jan&jap&jaq&jar&jax&jaz&ja|&ja!Q&ja!U&ja!V&ja!]&ja!g&ja!j&ja!m&ja!n&ja!o&ja!q&ja!s&ja!v&ja!z&ja$V&ja$m&ja%g&ja%i&ja%k&ja%l&ja%m&ja%p&ja%r&ja%u&ja%v&ja%x&ja&U&ja&[&ja&^&ja&`&ja&b&ja&e&ja&k&ja&q&ja&s&ja&u&ja&w&ja&y&ja'u&ja(R&ja(T&ja(W&ja(_&ja(m&ja![&ja&c&jab&ja&h&ja~O(R,{O~Oh!cX!Z!PX![!PX!e!PX!e!cX!j!cX#^!PX~O!Z!cX![!cX~P# qO!e-QO#^-POh(hX!Z#fX![#fX!e(hX!j(hX~O!Z(hX![(hX~P#!dOh%VO!e-SO!j%dO!Z!_X![!_X~Oq!nO!Q!oO(TTO(WUO(c!mO~OP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]!eO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(TTO(WUO(_VO(m[O~O(R<rO~P##yO!Z-WO![(gX~O![-YO~O!e-QO#^-PO!Z#fX![#fX~O!Z-ZO![(vX~O![-]O~O!a-^O!b-^O(S!lO~P##hO![-aO~P'_Ol-dO!]'^O~O!W-iO~Oq!ya!`!ya!a!ya!b!ya#R!ya#S!ya#T!ya#U!ya#V!ya#Y!ya#Z!ya(S!ya(T!ya(W!ya(c!ya(m!ya~P!#eO!n-nO#^-lO~PCVO!a-pO!b-pO(S!lO~PCuOa%mO#^-lO'x%mO~Oa%mO!e#vO#^-lO'x%mO~Oa%mO!e#vO!n-nO#^-lO'x%mO(p'nO~O'}'vO(O'vO(P-uO~Ot-vO~O!W'Ua!Z'Ua~P!:TO!Y-zO!W'UX!Z'UX~P%[O!Z(TO!W(fa~O!W(fa~PGpO!Z([O!W(ta~O!Q%gO!Y.OO!]%hO(R%fO!W'[X!Z'[X~O#^.QO!Z(ra!i(raa(ra'x(ra~O!e#vO~P#,PO!Z(hO!i(qa~O!Q%gO!]%hO#h.UO(R%fO~On.ZO!Q%gO!Y.WO!]%hO!z]O#g.YO#h.WO(R%fO!Z'_X!i'_X~OR._O!j#xO~Oh%VOl.bO!]'^O%h.aO~Oa#ai!Z#ai'x#ai'u#ai!W#ai!i#ait#ai!]#ai%h#ai!e#ai~P!:TOl=|O!O)|O'w)}O(w$}O(x%PO~O#i#]aa#]a#^#]a'x#]a!Z#]a!i#]a!]#]a!W#]a~P#.{O#i(^XP(^XR(^X[(^Xa(^Xp(^X!Q(^X!j(^X!n(^X#P(^X#l(^X#m(^X#n(^X#o(^X#p(^X#q(^X#r(^X#s(^X#t(^X#u(^X#w(^X#y(^X#z(^X'x(^X(_(^X(p(^X!i(^X!W(^X'u(^Xt(^X!](^X%h(^X!e(^X~P!6YO!Z.oO!i(iX~P!:TO!i.rO~O!W.tO~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O(_VO[#kia#kip#ki!Z#ki#P#ki#m#ki#n#ki#o#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki'x#ki(p#ki(w#ki(x#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#l#ki~P#2kO#l$OO~P#2kOP$[OR#zOp$aO!O#yO!Q#{O!j#xO!n$[O#l$OO#m$PO#n$PO#o$PO(_VO[#kia#ki!Z#ki#P#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki'x#ki(p#ki(w#ki(x#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#p#ki~P#5YO#p$QO~P#5YOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO(_VOa#ki!Z#ki#w#ki#y#ki#z#ki'x#ki(p#ki(w#ki(x#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#u#ki~P#7wOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO(_VO(x#}Oa#ki!Z#ki#y#ki#z#ki'x#ki(p#ki(w#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#w$UO~P#:_O#w#ki~P#:_O#u$SO~P#7wOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO(_VO(w#|O(x#}Oa#ki!Z#ki#z#ki'x#ki(p#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#y#ki~P#=TO#y$WO~P#=TOP]XR]X[]Xp]X!O]X!Q]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X!Z]X![]X~O#}]X~P#?rOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO#w<VO#y<XO#z<YO(_VO(p$YO(w#|O(x#}O~O#}.vO~P#BPO#Q$dO#^<`O$P<`O#}(eX![(eX~P! dOa'ba!Z'ba'x'ba'u'ba!i'ba!W'bat'ba!]'ba%h'ba!e'ba~P!:TO[#kia#kip#ki!Z#ki#P#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki'x#ki(p#ki'u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O#l$OO#m$PO#n$PO#o$PO(_VO(w#ki(x#ki~P#EROl=|O!O)|O'w)}O(w$}O(x%POP#kiR#ki!Q#ki!j#ki!n#ki#l#ki#m#ki#n#ki#o#ki(_#ki~P#ERO!Z.zOg(nX~P!0uOg.|O~Oa$Oi!Z$Oi'x$Oi'u$Oi!W$Oi!i$Oit$Oi!]$Oi%h$Oi!e$Oi~P!:TO$[.}O$^.}O~O$[/OO$^/OO~O!e)fO#^/PO!]$bX$Y$bX$[$bX$^$bX$e$bX~O!Y/QO~O!])iO$Y/SO$[)hO$^)hO$e/TO~O!Z<ZO![(dX~P#BPO![/UO~O!e)fO$e(yX~O$e/WO~Ot/XO~P!&iOv)wO(`)xO(a/[O~O!Q/_O~O(w$}Ol%`a!O%`a'w%`a(x%`a!Z%`a#^%`a~Og%`a#}%`a~P#LTO(x%POl%ba!O%ba'w%ba(w%ba!Z%ba#^%ba~Og%ba#}%ba~P#LvO!ZfX!efX!ifX!i$yX(pfX~P!/qO!Y/hO!Z([O(R/gO!W(tP!W(}P~P!1dOp*pO!`*nO!a*hO!b*hO!j*_O#Y*oO%_*jO(S!lO(TTO(WUO~Oq<oO!Q/iO!Y+XO![*mO(c<nO![(vP~P#
382NaO!i/jO~P#.{O!Z/kO!e#vO(p'nO!i(|X~O!i/pO~O!Q%gO!Y*[O!]%hO(R%fO!i(|P~O#i/rO~O!W$yX!Z$yX!e%QX~P!/qO!Z/sO!W(}X~P#.{O!e/uO~O!W/wO~OnkO(R/xO~P.iOh%VOp/}O!e#vO!j%dO(p'nO~O!e+fO~Oa%mO!Z0RO'x%mO~O![0TO~P!5WO!a0UO!b0UO(S!lO~P##hOq!nO!Q0VO(TTO(WUO(c!mO~O#Y0XO~Og%`a!Z%`a#^%`a#}%`a~P!0uOg%ba!Z%ba#^%ba#}%ba~P!0uOj%cO(R&XOg'kX!Z'kX~O!Z*vOg([a~Og0bO~OR0cO!O0cO!Q0dO#Q$dOl{a'w{a(w{a(x{a!Z{a#^{a~Og{a#}{a~P$&dO!O)|O'w)}Ol$ra(w$ra(x$ra!Z$ra#^$ra~Og$ra#}$ra~P$'`O!O)|O'w)}Ol$ta(w$ta(x$ta!Z$ta#^$ta~Og$ta#}$ta~P$(RO#i0gO~Og%Sa!Z%Sa#^%Sa#}%Sa~P!0uOl0iO#^0hOg(]a!Z(]a~O!e#vO~O#i0lO~O!Z+ZOa)Ra'x)Ra~OR#zO!O#yO!Q#{O!j#xO(_VOP!pi[!pip!pi!Z!pi!n!pi#P!pi#l!pi#m!pi#n!pi#o!pi#p!pi#q!pi#r!pi#s!pi#t!pi#u!pi#w!pi#y!pi#z!pi(p!pi(w!pi(x!pi~Oa!pi'x!pi'u!pi!W!pi!i!pit!pi!]!pi%h!pi!e!pi~P$*OOh%VOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(TTO(WUO(_$uO(w$}O(x%PO~On0vO%[0wO(R0tO~P$,fO!e+fOa(Za!](Za'x(Za!Z(Za~O#i0|O~O[]X!ZfX![fX~O!Z0}O![)VX~O![1PO~O[1QO~Ob1SO(R+nO(TTO(WUO~O!]&OO(R%fO`'sX!Z'sX~O!Z+sO`)Ua~O!i1VO~P!:TO[1YO~O`1ZO~O#^1^O~Ol1aO!]$|O~O(c(zO![)SP~Oh%VOl1jO!]1gO%h1iO~O[1tO!Z1rO![)TX~O![1uO~O`1wOa%mO'x%mO~O(R#nO(TTO(WUO~O#Q$dO#^$eO$P$eOP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX~O#t1zO&Y1{Oa(eX~P$2PO#^$eO#t1zO&Y1{O~Oa1}O~P%[Oa2PO~O&c2SOP&aiQ&aiS&aiY&aia&aid&aie&aij&ain&aip&aiq&air&aix&aiz&ai|&ai!Q&ai!U&ai!V&ai!]&ai!g&ai!j&ai!m&ai!n&ai!o&ai!q&ai!s&ai!v&ai!z&ai$V&ai$m&ai%g&ai%i&ai%k&ai%l&ai%m&ai%p&ai%r&ai%u&ai%v&ai%x&ai&U&ai&[&ai&^&ai&`&ai&b&ai&e&ai&k&ai&q&ai&s&ai&u&ai&w&ai&y&ai'u&ai(R&ai(T&ai(W&ai(_&ai(m&ai![&aib&ai&h&ai~Ob2YO![2WO&h2XO~P`O!]XO!j2[O~O&o,vOP&jiQ&jiS&jiY&jia&jid&jie&jij&jin&jip&jiq&jir&jix&jiz&ji|&ji!Q&ji!U&ji!V&ji!]&ji!g&ji!j&ji!m&ji!n&ji!o&ji!q&ji!s&ji!v&ji!z&ji$V&ji$m&ji%g&ji%i&ji%k&ji%l&ji%m&ji%p&ji%r&ji%u&ji%v&ji%x&ji&U&ji&[&ji&^&ji&`&ji&b&ji&e&ji&k&ji&q&ji&s&ji&u&ji&w&ji&y&ji'u&ji(R&ji(T&ji(W&ji(_&ji(m&ji![&ji&c&jib&ji&h&ji~O!W2bO~O!Z!_a![!_a~P#BPOq!nO!Q!oO!Y2hO(c!mO!Z'VX!['VX~P@]O!Z-WO![(ga~O!Z']X![']X~P!9]O!Z-ZO![(va~O![2oO~P'_Oa%mO#^2xO'x%mO~Oa%mO!e#vO#^2xO'x%mO~Oa%mO!e#vO!n2|O#^2xO'x%mO(p'nO~Oa%mO'x%mO~P!:TO!Z$_Ot$pa~O!W'Ui!Z'Ui~P!:TO!Z(TO!W(fi~O!Z([O!W(ti~O!W(ui!Z(ui~P!:TO!Z(ri!i(ria(ri'x(ri~P!:TO#^3OO!Z(ri!i(ria(ri'x(ri~O!Z(hO!i(qi~O!Q%gO!]%hO!z]O#g3TO#h3SO(R%fO~O!Q%gO!]%hO#h3SO(R%fO~Ol3[O!]'^O%h3ZO~Oh%VOl3[O!]'^O%h3ZO~O#i%`aP%`aR%`a[%`aa%`ap%`a!Q%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a'x%`a(_%`a(p%`a!i%`a!W%`a'u%`at%`a!]%`a%h%`a!e%`a~P#LTO#i%baP%baR%ba[%baa%bap%ba!Q%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba'x%ba(_%ba(p%ba!i%ba!W%ba'u%bat%ba!]%ba%h%ba!e%ba~P#LvO#i%`aP%`aR%`a[%`aa%`ap%`a!Q%`a!Z%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a'x%`a(_%`a(p%`a!i%`a!W%`a'u%`a#^%`at%`a!]%`a%h%`a!e%`a~P#.{O#i%baP%baR%ba[%baa%bap%ba!Q%ba!Z%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba'x%ba(_%ba(p%ba!i%ba!W%ba'u%ba#^%bat%ba!]%ba%h%ba!e%ba~P#.{O#i{aP{a[{aa{ap{a!j{a!n{a#P{a#l{a#m{a#n{a#o{a#p{a#q{a#r{a#s{a#t{a#u{a#w{a#y{a#z{a'x{a(_{a(p{a!i{a!W{a'u{at{a!]{a%h{a!e{a~P$&dO#i$raP$raR$ra[$raa$rap$ra!Q$ra!j$ra!n$ra#P$ra#l$ra#m$ra#n$ra#o$ra#p$ra#q$ra#r$ra#s$ra#t$ra#u$ra#w$ra#y$ra#z$ra'x$ra(_$ra(p$ra!i$ra!W$ra'u$rat$ra!]$ra%h$ra!e$ra~P$'`O#i$taP$taR$ta[$taa$tap$ta!Q$ta!j$ta!n$ta#P$ta#l$ta#m$ta#n$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#w$ta#y$ta#z$ta'x$ta(_$ta(p$ta!i$ta!W$ta'u$tat$ta!]$ta%h$ta!e$ta~P$(RO#i%SaP%SaR%Sa[%Saa%Sap%Sa!Q%Sa!Z%Sa!j%Sa!n%Sa#P%Sa#l%Sa#m%Sa#n%Sa#o%Sa#p%Sa#q%Sa#r%Sa#s%Sa#t%Sa#u%Sa#w%Sa#y%Sa#z%Sa'x%Sa(_%Sa(p%Sa!i%Sa!W%Sa'u%Sa#^%Sat%Sa!]%Sa%h%Sa!e%Sa~P#.{Oa#aq!Z#aq'x#aq'u#aq!W#aq!i#aqt#aq!]#aq%h#aq!e#aq~P!:TO!Y3dO!Z'WX!i'WX~P%[O!Z.oO!i(ia~O!Z.oO!i(ia~P!:TO!W3gO~O#}!la![!la~PKZO#}!ha!Z!ha![!ha~P#BPO#}!pa![!pa~P!<kO#}!ra![!ra~P!?ROg'ZX!Z'ZX~P!+rO!Z.zOg(na~OSfO!]3{O$c3|O~O![4QO~Ot4RO~P#.{Oa$lq!Z$lq'x$lq'u$lq!W$lq!i$lqt$lq!]$lq%h$lq!e$lq~P!:TO!W4TO~P!&iO!Q4UO~O!O)|O'w)}O(x%POl'ga(w'ga!Z'ga#^'ga~Og'ga#}'ga~P%+uO!O)|O'w)}Ol'ia(w'ia(x'ia!Z'ia#^'ia~Og'ia#}'ia~P%,hO(p$YO~P#.{O!WfX!W$yX!ZfX!Z$yX!e%QX#^fX~P!/qO(R<xO~P!1dO!Q%gO!Y4XO!]%hO(R%fO!Z'cX!i'cX~O!Z/kO!i(|a~O!Z/kO!e#vO!i(|a~O!Z/kO!e#vO(p'nO!i(|a~Og${i!Z${i#^${i#}${i~P!0uO!Y4aO!W'eX!Z'eX~P!3cO!Z/sO!W(}a~O!Z/sO!W(}a~P#.{OP]XR]X[]Xp]X!O]X!Q]X!W]X!Z]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X~O!e%XX#t%XX~P%0XO!e#vO#t4fO~Oh%VO!e#vO!j%dO~Oh%VOp4kO!j%dO(p'nO~Op4pO!e#vO(p'nO~Oq!nO!Q4qO(TTO(WUO(c!mO~O(w$}Ol%`i!O%`i'w%`i(x%`i!Z%`i#^%`i~Og%`i#}%`i~P%3xO(x%POl%bi!O%bi'w%bi(w%bi!Z%bi#^%bi~Og%bi#}%bi~P%4kOg(]i!Z(]i~P!0uO#^4wOg(]i!Z(]i~P!0uO!i4zO~Oa$nq!Z$nq'x$nq'u$nq!W$nq!i$nqt$nq!]$nq%h$nq!e$nq~P!:TO!W5QO~O!Z5RO!])OX~P#.{Oa]Xa$yX!]]X!]$yX%]]X'x]X'x$yX!Z]X!Z$yX~P!/qO%]5UOa%Za!]%Za'x%Za!Z%Za~OlmX!OmX'wmX(wmX(xmX~P%7nOn5VO(R#nO~Ob5]O%i5^O(R+nO(TTO(WUO!Z'rX!['rX~O!Z0}O![)Va~O[5bO~O`5cO~Oa%mO'x%mO~P#.{O!Z5kO#^5mO![)SX~O![5nO~Op5tOq!nO!Q*fO!`!yO!a!vO!b!vO!z;wO#R!pO#S!pO#T!pO#U!pO#V!pO#Y5sO#Z!zO(S!lO(TTO(WUO(c!mO(m!sO~O![5rO~P%:ROl5yO!]1gO%h5xO~Oh%VOl5yO!]1gO%h5xO~Ob6QO(R#nO(TTO(WUO!Z'qX!['qX~O!Z1rO![)Ta~O(TTO(WUO(c6SO~O`6WO~O#t6ZO&Y6[O~PMvO!i6]O~P%[Oa6_O~Oa6_O~P%[Ob2YO![6dO&h2XO~P`O!e6fO~O!e6hOh(hi!Z(hi![(hi!e(hi!j(hip(hi(p(hi~O!Z#fi![#fi~P#BPO#^6iO!Z#fi![#fi~O!Z!_i![!_i~P#BPOa%mO#^6rO'x%mO~Oa%mO!e#vO#^6rO'x%mO~O!Z(rq!i(rqa(rq'x(rq~P!:TO!Z(hO!i(qq~O!Q%gO!]%hO#h6yO(R%fO~O!]'^O%h6|O~Ol7QO!]'^O%h6|O~O#i'gaP'gaR'ga['gaa'gap'ga!Q'ga!j'ga!n'ga#P'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#t'ga#u'ga#w'ga#y'ga#z'ga'x'ga(_'ga(p'ga!i'ga!W'ga'u'gat'ga!]'ga%h'ga!e'ga~P%+uO#i'iaP'iaR'ia['iaa'iap'ia!Q'ia!j'ia!n'ia#P'ia#l'ia#m'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#w'ia#y'ia#z'ia'x'ia(_'ia(p'ia!i'ia!W'ia'u'iat'ia!]'ia%h'ia!e'ia~P%,hO#i${iP${iR${i[${ia${ip${i!Q${i!Z${i!j${i!n${i#P${i#l${i#m${i#n${i#o${i#p${i#q${i#r${i#s${i#t${i#u${i#w${i#y${i#z${i'x${i(_${i(p${i!i${i!W${i'u${i#^${it${i!]${i%h${i!e${i~P#.{O#i%`iP%`iR%`i[%`ia%`ip%`i!Q%`i!j%`i!n%`i#P%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#t%`i#u%`i#w%`i#y%`i#z%`i'x%`i(_%`i(p%`i!i%`i!W%`i'u%`it%`i!]%`i%h%`i!e%`i~P%3xO#i%biP%biR%bi[%bia%bip%bi!Q%bi!j%bi!n%bi#P%bi#l%bi#m%bi#n%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#w%bi#y%bi#z%bi'x%bi(_%bi(p%bi!i%bi!W%bi'u%bit%bi!]%bi%h%bi!e%bi~P%4kO!Z'Wa!i'Wa~P!:TO!Z.oO!i(ii~O#}#ai!Z#ai![#ai~P#BPOP$[OR#zO!O#yO!Q#{O!j#xO!n$[O(_VO[#kip#ki#P#ki#m#ki#n#ki#o#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#l#ki~P%MQO#l<PO~P%MQOP$[OR#zOp<]O!O#yO!Q#{O!j#xO!n$[O#l<PO#m<QO#n<QO#o<QO(_VO[#ki#P#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#p#ki~P& YO#p<RO~P& YOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO(_VO#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#u#ki~P&#bOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO(_VO(x#}O#y#ki#z#ki#}#ki(p#ki(w#ki!Z#ki![#ki~O#w<VO~P&%cO#w#ki~P&%cO#u<TO~P&#bOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO#w<VO(_VO(w#|O(x#}O#z#ki#}#ki(p#ki!Z#ki![#ki~O#y#ki~P&'rO#y<XO~P&'rOa#{y!Z#{y'x#{y'u#{y!W#{y!i#{yt#{y!]#{y%h#{y!e#{y~P!:TO[#kip#ki#P#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki!Z#ki![#ki~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O#l<PO#m<QO#n<QO#o<QO(_VO(w#ki(x#ki~P&*nOl=}O!O)|O'w)}O(w$}O(x%POP#kiR#ki!Q#ki!j#ki!n#ki#l#ki#m#ki#n#ki#o#ki(_#ki~P&*nO#Q$dOP(^XR(^X[(^Xl(^Xp(^X!O(^X!Q(^X!j(^X!n(^X#P(^X#l(^X#m(^X#n(^X#o(^X#p(^X#q(^X#r(^X#s(^X#t(^X#u(^X#w(^X#y(^X#z(^X#}(^X'w(^X(_(^X(p(^X(w(^X(x(^X!Z(^X![(^X~O#}$Oi!Z$Oi![$Oi~P#BPO#}!pi![!pi~P$*OOg'Za!Z'Za~P!0uO![7dO~O!Z'ba!['ba~P#BPO!W7eO~P#.{O!e#vO(p'nO!Z'ca!i'ca~O!Z/kO!i(|i~O!Z/kO!e#vO!i(|i~Og${q!Z${q#^${q#}${q~P!0uO!W'ea!Z'ea~P#.{O!e7lO~O!Z/sO!W(}i~P#.{O!Z/sO!W(}i~O!W7oO~Oh%VOp7tO!j%dO(p'nO~O!e#vO#t7vO~Op7yO!e#vO(p'nO~O!O)|O'w)}O(x%POl'ha(w'ha!Z'ha#^'ha~Og'ha#}'ha~P&3oO!O)|O'w)}Ol'ja(w'ja(x'ja!Z'ja#^'ja~Og'ja#}'ja~P&4bO!W7{O~Og$}q!Z$}q#^$}q#}$}q~P!0uOg(]q!Z(]q~P!0uO#^7|Og(]q!Z(]q~P!0uOa$ny!Z$ny'x$ny'u$ny!W$ny!i$nyt$ny!]$ny%h$ny!e$ny~P!:TO!e6hO~O!Z5RO!])Oa~O!]'^OP$SaR$Sa[$Sap$Sa!O$Sa!Q$Sa!Z$Sa!j$Sa!n$Sa#P$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#t$Sa#u$Sa#w$Sa#y$Sa#z$Sa(_$Sa(p$Sa(w$Sa(x$Sa~O%h6|O~P&7SO%]8QOa%Zi!]%Zi'x%Zi!Z%Zi~Oa#ay!Z#ay'x#ay'u#ay!W#ay!i#ayt#ay!]#ay%h#ay!e#ay~P!:TO[8SO~Ob8UO(R+nO(TTO(WUO~O!Z0}O![)Vi~O`8YO~O(c(zO!Z'nX!['nX~O!Z5kO![)Sa~O![8cO~P%:RO(m!sO~P$$oO#Y8dO~O!]1gO~O!]1gO%h8fO~Ol8iO!]1gO%h8fO~O[8nO!Z'qa!['qa~O!Z1rO![)Ti~O!i8rO~O!i8sO~O!i8vO~O!i8vO~P%[Oa8xO~O!e8yO~O!i8zO~O!Z(ui![(ui~P#BPOa%mO#^9SO'x%mO~O!Z(ry!i(rya(ry'x(ry~P!:TO!Z(hO!i(qy~O%h9VO~P&7SO!]'^O%h9VO~O#i${qP${qR${q[${qa${qp${q!Q${q!Z${q!j${q!n${q#P${q#l${q#m${q#n${q#o${q#p${q#q${q#r${q#s${q#t${q#u${q#w${q#y${q#z${q'x${q(_${q(p${q!i${q!W${q'u${q#^${qt${q!]${q%h${q!e${q~P#.{O#i'haP'haR'ha['haa'hap'ha!Q'ha!j'ha!n'ha#P'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#t'ha#u'ha#w'ha#y'ha#z'ha'x'ha(_'ha(p'ha!i'ha!W'ha'u'hat'ha!]'ha%h'ha!e'ha~P&3oO#i'jaP'jaR'ja['jaa'jap'ja!Q'ja!j'ja!n'ja#P'ja#l'ja#m'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#w'ja#y'ja#z'ja'x'ja(_'ja(p'ja!i'ja!W'ja'u'jat'ja!]'ja%h'ja!e'ja~P&4bO#i$}qP$}qR$}q[$}qa$}qp$}q!Q$}q!Z$}q!j$}q!n$}q#P$}q#l$}q#m$}q#n$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#w$}q#y$}q#z$}q'x$}q(_$}q(p$}q!i$}q!W$}q'u$}q#^$}qt$}q!]$}q%h$}q!e$}q~P#.{O!Z'Wi!i'Wi~P!:TO#}#aq!Z#aq![#aq~P#BPO(w$}OP%`aR%`a[%`ap%`a!Q%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a#}%`a(_%`a(p%`a!Z%`a![%`a~Ol%`a!O%`a'w%`a(x%`a~P&HgO(x%POP%baR%ba[%bap%ba!Q%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba#}%ba(_%ba(p%ba!Z%ba![%ba~Ol%ba!O%ba'w%ba(w%ba~P&JnOl=}O!O)|O'w)}O(x%PO~P&HgOl=}O!O)|O'w)}O(w$}O~P&JnOR0cO!O0cO!Q0dO#Q$dOP{a[{al{ap{a!j{a!n{a#P{a#l{a#m{a#n{a#o{a#p{a#q{a#r{a#s{a#t{a#u{a#w{a#y{a#z{a#}{a'w{a(_{a(p{a(w{a(x{a!Z{a![{a~O!O)|O'w)}OP$raR$ra[$ral$rap$ra!Q$ra!j$ra!n$ra#P$ra#l$ra#m$ra#n$ra#o$ra#p$ra#q$ra#r$ra#s$ra#t$ra#u$ra#w$ra#y$ra#z$ra#}$ra(_$ra(p$ra(w$ra(x$ra!Z$ra![$ra~O!O)|O'w)}OP$taR$ta[$tal$tap$ta!Q$ta!j$ta!n$ta#P$ta#l$ta#m$ta#n$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#w$ta#y$ta#z$ta#}$ta(_$ta(p$ta(w$ta(x$ta!Z$ta![$ta~Ol=}O!O)|O'w)}O(w$}O(x%PO~OP%SaR%Sa[%Sap%Sa!Q%Sa!j%Sa!n%Sa#P%Sa#l%Sa#m%Sa#n%Sa#o%Sa#p%Sa#q%Sa#r%Sa#s%Sa#t%Sa#u%Sa#w%Sa#y%Sa#z%Sa#}%Sa(_%Sa(p%Sa!Z%Sa![%Sa~P'%sO#}$lq!Z$lq![$lq~P#BPO#}$nq!Z$nq![$nq~P#BPO![9dO~O#}9eO~P!0uO!e#vO!Z'ci!i'ci~O!e#vO(p'nO!Z'ci!i'ci~O!Z/kO!i(|q~O!W'ei!Z'ei~P#.{O!Z/sO!W(}q~Op9lO!e#vO(p'nO~O[9nO!W9mO~P#.{O!W9mO~O!e#vO#t9tO~Og(]y!Z(]y~P!0uO!Z'la!]'la~P#.{Oa%Zq!]%Zq'x%Zq!Z%Zq~P#.{O[9yO~O!Z0}O![)Vq~O#^9}O!Z'na!['na~O!Z5kO![)Si~P#BPO!Q:PO~O!]1gO%h:SO~O(TTO(WUO(c:XO~O!Z1rO![)Tq~O!i:[O~O!i:]O~O!i:^O~O!i:^O~P%[O#^:aO!Z#fy![#fy~O!Z#fy![#fy~P#BPO%h:fO~P&7SO!]'^O%h:fO~O#}#{y!Z#{y![#{y~P#BPOP${iR${i[${ip${i!Q${i!j${i!n${i#P${i#l${i#m${i#n${i#o${i#p${i#q${i#r${i#s${i#t${i#u${i#w${i#y${i#z${i#}${i(_${i(p${i!Z${i![${i~P'%sO!O)|O'w)}O(x%POP'gaR'ga['gal'gap'ga!Q'ga!j'ga!n'ga#P'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#t'ga#u'ga#w'ga#y'ga#z'ga#}'ga(_'ga(p'ga(w'ga!Z'ga!['ga~O!O)|O'w)}OP'iaR'ia['ial'iap'ia!Q'ia!j'ia!n'ia#P'ia#l'ia#m'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#w'ia#y'ia#z'ia#}'ia(_'ia(p'ia(w'ia(x'ia!Z'ia!['ia~O(w$}OP%`iR%`i[%`il%`ip%`i!O%`i!Q%`i!j%`i!n%`i#P%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#t%`i#u%`i#w%`i#y%`i#z%`i#}%`i'w%`i(_%`i(p%`i(x%`i!Z%`i![%`i~O(x%POP%biR%bi[%bil%bip%bi!O%bi!Q%bi!j%bi!n%bi#P%bi#l%bi#m%bi#n%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#w%bi#y%bi#z%bi#}%bi'w%bi(_%bi(p%bi(w%bi!Z%bi![%bi~O#}$ny!Z$ny![$ny~P#BPO#}#ay!Z#ay![#ay~P#BPO!e#vO!Z'cq!i'cq~O!Z/kO!i(|y~O!W'eq!Z'eq~P#.{Op:pO!e#vO(p'nO~O[:tO!W:sO~P#.{O!W:sO~Og(]!R!Z(]!R~P!0uOa%Zy!]%Zy'x%Zy!Z%Zy~P#.{O!Z0}O![)Vy~O!Z5kO![)Sq~O(R:zO~O!]1gO%h:}O~O!i;QO~O%h;VO~P&7SOP${qR${q[${qp${q!Q${q!j${q!n${q#P${q#l${q#m${q#n${q#o${q#p${q#q${q#r${q#s${q#t${q#u${q#w${q#y${q#z${q#}${q(_${q(p${q!Z${q![${q~P'%sO!O)|O'w)}O(x%POP'haR'ha['hal'hap'ha!Q'ha!j'ha!n'ha#P'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#t'ha#u'ha#w'ha#y'ha#z'ha#}'ha(_'ha(p'ha(w'ha!Z'ha!['ha~O!O)|O'w)}OP'jaR'ja['jal'jap'ja!Q'ja!j'ja!n'ja#P'ja#l'ja#m'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#w'ja#y'ja#z'ja#}'ja(_'ja(p'ja(w'ja(x'ja!Z'ja!['ja~OP$}qR$}q[$}qp$}q!Q$}q!j$}q!n$}q#P$}q#l$}q#m$}q#n$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#w$}q#y$}q#z$}q#}$}q(_$}q(p$}q!Z$}q![$}q~P'%sOg%d!Z!Z%d!Z#^%d!Z#}%d!Z~P!0uO!W;ZO~P#.{Op;[O!e#vO(p'nO~O[;^O!W;ZO~P#.{O!Z'nq!['nq~P#BPO!Z#f!Z![#f!Z~P#BPO#i%d!ZP%d!ZR%d!Z[%d!Za%d!Zp%d!Z!Q%d!Z!Z%d!Z!j%d!Z!n%d!Z#P%d!Z#l%d!Z#m%d!
382Z#n%d!Z#o%d!Z#p%d!Z#q%d!Z#r%d!Z#s%d!Z#t%d!Z#u%d!Z#w%d!Z#y%d!Z#z%d!Z'x%d!Z(_%d!Z(p%d!Z!i%d!Z!W%d!Z'u%d!Z#^%d!Zt%d!Z!]%d!Z%h%d!Z!e%d!Z~P#.{Op;fO!e#vO(p'nO~O!W;gO~P#.{Op;nO!e#vO(p'nO~O!W;oO~P#.{OP%d!ZR%d!Z[%d!Zp%d!Z!Q%d!Z!j%d!Z!n%d!Z#P%d!Z#l%d!Z#m%d!Z#n%d!Z#o%d!Z#p%d!Z#q%d!Z#r%d!Z#s%d!Z#t%d!Z#u%d!Z#w%d!Z#y%d!Z#z%d!Z#}%d!Z(_%d!Z(p%d!Z!Z%d!Z![%d!Z~P'%sOp;rO!e#vO(p'nO~Ot(dX~P1qO!O%qO~P!(yO(S!lO~P!(yO!WfX!ZfX#^fX~P%0XOP]XR]X[]Xp]X!O]X!Q]X!Z]X!ZfX!j]X!n]X#P]X#Q]X#^]X#^fX#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X~O!efX!i]X!ifX(pfX~P'JlOP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]XO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(R)ZO(TTO(WUO(_VO(m[O~O!Z<ZO![$pa~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<fO!Q${O!]$|O!g=wO!j$xO#h<lO$V%_O$s<hO$u<jO$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~Oj)bO~P( bOp!cX(p!cX~P# qOp(hX(p(hX~P#!dO![]X![fX~P'JlO!WfX!W$yX!ZfX!Z$yX#^fX~P!/qO#i<OO~O!e#vO#i<OO~O#^<`O~O#t<SO~O#^<pO!Z(uX![(uX~O#^<`O!Z(sX![(sX~O#i<qO~Og<sO~P!0uO#i<yO~O#i<zO~O!e#vO#i<{O~O!e#vO#i<qO~O#}<|O~P#BPO#i<}O~O#i=OO~O#i=TO~O#i=UO~O#i=VO~O#i=WO~O#}=XO~P!0uO#}=YO~P!0uO#Q#R#S#U#V#Y#g#h#s$m$s$u$x%[%]%g%h%i%p%r%u%v%x%z~'|T#m!V'z(S#nq#l#op!O'{$['{(R$^(c~",goto:"$8f)ZPPPPPP)[PP)_P)pP+Q/VPPPP6aPP6wPP<oP@cP@yP@yPPP@yPCRP@yP@yP@yPCVPC[PCyPHsPPPHwPPPPHwKzPPPLQLrPHwPHwPP! QHwPPPHwPHwP!#XHwP!&o!'t!'}P!(q!(u!(q!,SPPPPPPP!,s!'tPP!-T!.uP!2RHwHw!2W!5d!:Q!:Q!>PPPP!>XHwPPPPPPPPPP!AhP!BuPPHw!DWPHwPHwHwHwHwHwPHw!EjP!HtP!KzP!LO!LY!L^!L^P!HqP!Lb!LbP# hP# lHwPHw# r#$wCV@yP@yP@y@yP#&U@y@y#(h@y#+`@y#-l@y@y#.[#0p#0p#0u#1O#0p#1ZPP#0pP@y#1s@y#5r@y@y6aPPP#9wPPP#:b#:bP#:bP#:x#:bPP#;OP#:uP#:u#;c#:u#;}#<T#<W)_#<Z)_P#<b#<b#<bP)_P)_P)_P)_PP)_P#<h#<kP#<k)_P#<oP#<rP)_P)_P)_P)_P)_P)_)_PP#<x#=O#=Z#=a#=g#=m#=s#>R#>X#>c#>i#>s#>y#?Z#?a#@R#@e#@k#@q#AP#Af#CZ#Ci#Cp#E[#Ej#G[#Gj#Gp#Gv#G|#HW#H^#Hd#Hn#IQ#IWPPPPPPPPPPP#I^PPPPPPP#JR#MY#Nr#Ny$ RPPP$&mP$&v$)o$0Y$0]$0`$1_$1b$1i$1qP$1w$1zP$2h$2l$3d$4r$4w$5_PP$5d$5j$5n$5q$5u$5y$6u$7^$7u$7y$7|$8P$8V$8Y$8^$8bR!|RoqOXst!Z#d%l&p&r&s&u,n,s2S2VY!vQ'^-`1g5qQ%svQ%{yQ&S|Q&h!VS'U!e-WQ'd!iS'j!r!yU*h$|*X*lQ+l%|Q+y&UQ,_&bQ-^']Q-h'eQ-p'kQ0U*nQ1q,`R<m;z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9SS#q];w!r)]$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU*{%[<e<fQ+q&OQ,a&eQ,h&mQ0r+dQ0u+fQ1S+rQ1y,fQ3W.bQ5V0w
vendor: 12,455 bytes, line 382
382Q5]0}Q6Q1rQ7O3[Q8U5^R9Y7Q'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s!S!nQ!r!v!y!z$|'U']'^'j'k'l*h*l*n*o-W-^-`-p0U0X1g5q5s%[$ti#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q&V|Q'S!eS'Y%h-ZQ+q&OQ,a&eQ0f+OQ1S+rQ1X+xQ1x,eQ1y,fQ5]0}Q5f1ZQ6Q1rQ6T1tQ6U1wQ8U5^Q8X5cQ8q6WQ9|8YQ:Y8nR<o*XrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR,c&i&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=r=s[#]WZ#W#Z'V(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ%vxQ%zyS&P|&UQ&]!TQ'a!hQ'c!iQ(o#sS+k%{%|Q+o&OQ,Y&`Q,^&bS-g'd'eQ.d(pQ0{+lQ1R+rQ1T+sQ1W+wQ1l,ZS1p,_,`Q2t-hQ5[0}Q5`1QQ5e1YQ6P1qQ8T5^Q8W5bQ9x8SR:w9y!U$zi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y!^%xy!i!u%z%{%|'T'c'd'e'i's*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pQ+e%vQ,O&YQ,R&ZQ,]&bQ.c(oQ1k,YU1o,^,_,`Q3].dQ5z1lS6O1p1qQ8m6P#f=t#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o=u<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YW%Ti%V*v=pS&Y!Q&gQ&Z!RQ&[!SQ+S%cR+|&W%]%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}T)x$u)yV*{%[<e<fW'Y!e%h*X-ZS({#y#zQ+`%qQ+v&RS.](k(lQ1b,SQ4x0cR8^5k'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s$i$^c#Y#e%p%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.w.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ'W!eR2i-W!W!nQ!e!r!v!y!z$|'U']'^'j'k'l*X*h*l*n*o-W-^-`-p0U0X1g5q5sR1d,UnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&w!^Q't!xS(q#u<OQ+i%yQ,W&]Q,X&_Q-e'bQ-r'mS.m(v<qS0k+U<{Q0y+jQ1f,VQ2Z,uQ2],vQ2e-RQ2r-fQ2u-jS5P0l=VQ5W0zS5Z0|=WQ6j2gQ6n2sQ6s2zQ8R5XQ8}6lQ9O6oQ9R6tR:`8z$d$]c#Y#e%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gS(m#p'gQ(}#zS+_%p.wS.^(l(nR3U._'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS#q];wQ&r!XQ&s!YQ&u![Q&v!]R2R,qQ'_!hQ+b%vQ-c'aS.`(o+eQ2p-bW3Y.c.d0q0sQ6m2qW6z3V3X3]5TU9U6{6}7PU:e9W9X9ZS;T:d:gQ;b;UR;j;cU!wQ'^-`T5o1g5q!Q_OXZ`st!V!Z#d#h%d%l&g&i&p&r&s&u(h,n,s.V2S2V]!pQ!r'^-`1g5qT#q];w%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS({#y#zS.](k(l!s=^$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU$fd)],hS(n#p'gU*s%R(u3vU0e*z.i7]Q5T0rQ6{3WQ9X7OR:g9Ym!tQ!r!v!y!z'^'j'k'l-`-p1g5q5sQ'r!uS(d#g1|S-n'i'uQ/n*ZQ/{*gQ2|-qQ4]/oQ4i/}Q4j0OQ4o0WQ7h4WS7s4k4mS7w4p4rQ9g7iQ9k7oQ9p7tQ9u7yS:o9l9mS;Y:p:sS;e;Z;[S;m;f;gS;q;n;oR;t;rQ#wbQ'q!uS(c#g1|S(e#m+TQ+V%eQ+g%wQ+m%}U-m'i'r'uQ.R(dQ/m*ZQ/|*gQ0P*iQ0x+hQ1m,[S2y-n-qQ3R.ZS4[/n/oQ4e/yS4h/{0WQ4l0QQ5|1nQ6u2|Q7g4WQ7k4]U7r4i4o4rQ7u4nQ8k5}S9f7h7iQ9j7oQ9r7wQ9s7xQ:V8lQ:m9gS:n9k9mQ:v9uQ;P:WS;X:o:sS;d;Y;ZS;l;e;gS;p;m;oQ;s;qQ;u;tQ=a=[Q=l=eR=m=fV!wQ'^-`%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS#wz!j!r=Z$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=a=r%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SQ%ej!^%wy!i!u%z%{%|'T'c'd'e'i's*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pS%}z!jQ+h%xQ,[&bW1n,],^,_,`U5}1o1p1qS8l6O6PQ:W8m!r=[$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ=e=qR=f=r%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SY#bWZ#W#Z(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ,i&m!p=]$Z$n)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=`'VU'Z!e%h*XR2k-Z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9S!r)]$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ,h&mQ0r+dQ3W.bQ7O3[R9Y7Q!b$Tc#Y%p(Q(W(r(w)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!P<U)[)o-U.w2c2f3h3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!f$Vc#Y%p(Q(W(r(w)U)V)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!T<W)[)o-U.w2c2f3h3n3o3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!^$Zc#Y%p(Q(W(r(w)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;xQ4V/fz=s)[)o-U.w2c2f3h3w4P6k7W7a7b8`8|9[9b9c:y;R=gQ=x=zR=y={'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS$oh$pR3|/P'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$kf$qQ$ifS)h$l)lR)t$qT$jf$qT)j$l)l'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$oh$pQ$rhR)s$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9S!s=q$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s#glOPXZst!Z!`!o#S#d#o#{$n%l&i&l&m&p&r&s&u&y'R'`(|)q*f+Y+d,k,n,s-d.b/Q/i0V0d1j1z1{1}2P2S2V2X3[3{4q5y6Z6[6_7Q8i8x!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}Q+P%`Q/^)|o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!U$yi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yQ*`$zU*i$|*X*lQ+Q%aQ0Q*j#f=c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n=d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YQ=h=tQ=i=uQ=j=vR=k=w!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YnoOXst!Z#d%l&p&r&s&u,n,s2S2VS*c${*WQ,|&|Q,}'OR4`/s%[%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q,P&ZQ1`,RQ5i1_R8]5jV*k$|*X*lU*k$|*X*lT5p1g5qS/y*f/iQ4n0VT7x4q:PQ+g%wQ0P*iQ0x+hQ1m,[Q5|1nQ8k5}Q:V8lR;P:W!U%Oi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yx*P$v)c*Q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=oS0Y*q0Z#f<a#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<b<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!d<t(s)a*Y*b.e.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={`<u3u7X7[7`9]:h:k;kS=P.g3aT=Q7Z9`!U%Qi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y|*R$v)c*S*q+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=oS0[*r0]#f<c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!h<v(s)a*Y*b.f.g.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={d<w3u7Y7Z7`9]9^:h:i:k;kS=R.h3bT=S7[9arnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ&d!UR,k&mrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR&d!UQ,T&[R1[+|snOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ1h,YS5w1k1lU8e5u5v5zS:R8g8hS:{:Q:TQ;_:|R;i;`Q&k!VR,d&gR6T1tR:Y8nS&P|&UR1T+sQ&p!WR,n&qR,t&vT2T,s2VR,x&wQ,w&wR2^,xQ'w!{R-t'wSsOtQ#dXT%os#dQ#OTR'y#OQ#RUR'{#RQ)y$uR/Z)yQ#UVR(O#UQ#XWU(U#X(V-{Q(V#YR-{(WQ-X'WR2j-XQ.p(wS3e.p3fR3f.qQ-`'^R2n-`Y!rQ'^-`1g5qR'h!rQ.{)cR3z.{U#_W%g*WU(]#_(^-|Q(^#`R-|(XQ-['ZR2l-[t`OXst!V!Z#d%l&g&i&p&r&s&u,n,s2S2VS#hZ%dU#r`#h.VR.V(hQ(i#jQ.S(eW.[(i.S3P6wQ3P.TR6w3QQ)l$lR/R)lQ$phR)r$pQ$`cU)_$`-w<[Q-w;xR<[)oQ/l*ZW4Y/l4Z7j9hU4Z/m/n/oS7j4[4]R9h7k$e*O$v(s)a)c*Y*b*q*r*|*}+R.g.h.j.k.l/Y/b/d/f/q/v0^0_0p1]3^3_3`3u3y4S4^4_4c4s4u4{4|4}5h7R7S7T7U7Z7[7^7_7`7f7m7p7z7}8P9]9^9_9i9q9v9w:h:i:j:k:l:q:u;W;];h;k=b=n=o=z={Q/t*bU4b/t4d7nQ4d/vR7n4cS*l$|*XR0S*lx*Q$v)c*q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=o!d.e(s)a*Y*b.g.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/c*Q.e7Xa7X3u7Z7[7`9]:h:k;kQ0Z*qQ3a.gU4t0Z3a9`R9`7Z|*S$v)c*q*r+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=o!h.f(s)a*Y*b.g.h.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/e*S.f7Ye7Y3u7Z7[7`9]9^:h:i:k;kQ0]*rQ3b.hU4v0]3b9aR9a7[Q*w%UR0a*wQ5S0pR8O5SQ+[%jR0o+[Q5l1bS8_5l:OR:O8`Q,V&]R1e,VQ5q1gR8b5qQ1s,aS6R1s8oR8o6TQ1O+oW5_1O5a8V9zQ5a1RQ8V5`R9z8WQ+t&PR1U+tQ2V,sR6c2VYrOXst#dQ&t!ZQ+^%lQ,m&pQ,o&rQ,p&sQ,r&uQ2Q,nS2T,s2VR6b2SQ%npQ&x!_Q&{!aQ&}!bQ'P!cQ'o!uQ+]%kQ+i%yQ+{&VQ,c&kQ,z&zW-k'i'q'r'uQ-r'mQ0R*kQ0y+jS1v,d,gQ2_,yQ2`,|Q2a,}Q2u-jW2w-m-n-q-sQ5W0zQ5d1XQ5g1]Q5{1mQ6V1xQ6a2RU6p2v2y2|Q6s2zQ8R5XQ8Z5fQ8[5hQ8a5pQ8j5|Q8p6US9P6q6uQ9R6tQ9{8XQ:U8kQ:Z8qQ:b9QQ:x9|Q;O:VQ;S:cR;a;PQ%yyQ'b!iQ'm!uU+j%z%{%|Q-R'TU-f'c'd'eS-j'i'sQ/z*gS0z+k+lQ2g-TS2s-g-hQ2z-oS4g/{0OQ5X0{Q6l2mQ6o2tQ6t2{U7q4i4j4mQ9o7sR:r9pS$wi=pR*x%VU%Ui%V=pR0`*vQ$viS(s#v+fS)a$b$cQ)c$dQ*Y$xS*b${*WQ*q%OQ*r%QQ*|%]Q*}%^Q+R%bQ.g<aQ.h<cQ.j<gQ.k<iQ.l<kQ/Y)wQ/b*PQ/d*RQ/f*TQ/q*^S/v*d/hQ0^*tQ0_*ul0p+c,Q.a1a1i3Z5x6|8f9V:S:f:};VQ1]+}Q3^<tQ3_<vQ3`<yS3u<^<_Q3y.zS4S/_4UQ4^/rQ4_/sQ4c/uQ4s0YQ4u0[Q4{0gQ4|0hQ4}0iQ5h1^Q7R<}Q7S=PQ7T=RQ7U=TQ7Z<bQ7[<dQ7^<hQ7_<jQ7`<lQ7f4VQ7m4aQ7p4fQ7z4wQ7}5RQ8P5UQ9]<zQ9^<uQ9_<wQ9i7lQ9q7vQ9v7|Q9w8QQ:h=OQ:i=QQ:j=SQ:k=UQ:l9eQ:q9nQ:u9tQ;W=XQ;]:tQ;h;^Q;k=YQ=b=pQ=n=xQ=o=yQ=z=|R={=}Q*z%[Q.i<eR7]<fnpOXst!Z#d%l&p&r&s&u,n,s2S2VQ!fPS#fZ#oQ&z!`W'f!o*f0V4qQ'}#SQ)O#{Q)p$nS,g&i&lQ,l&mQ,y&yS-O'R/iQ-b'`Q.s(|Q/V)qQ0m+YQ0s+dQ2O,kQ2q-dQ3X.bQ4O/QQ4y0dQ5v1jQ6X1zQ6Y1{Q6^1}Q6`2PQ6e2XQ7P3[Q7c3{Q8h5yQ8t6ZQ8u6[Q8w6_Q9Z7QQ:T8iR:_8x#[cOPXZst!Z!`!o#d#o#{%l&i&l&m&p&r&s&u&y'R'`(|*f+Y+d,k,n,s-d.b/i0V0d1j1z1{1}2P2S2V2X3[4q5y6Z6[6_7Q8i8xQ#YWQ#eYQ%puQ%rvS%tw!gS(Q#W(TQ(W#ZQ(r#uQ(w#xQ)P$OQ)Q$PQ)R$QQ)S$RQ)T$SQ)U$TQ)V$UQ)W$VQ)X$WQ)Y$XQ)[$ZQ)^$_Q)`$aQ)e$eW)o$n)q/Q3{Q+a%sQ+u&QS-U'V2hQ-s'pS-x(R-zQ-}(ZQ.P(bQ.n(vQ.q(xQ.u;vQ.w;yQ.x;zQ.y;}Q/]){Q0j+UQ2c-PQ2f-SQ2v-lQ2}.QQ3c.oQ3h<OQ3i<PQ3j<QQ3k<RQ3l<SQ3m<TQ3n<UQ3o<VQ3p<WQ3q<XQ3r<YQ3s.vQ3t<]Q3w<`Q3x<mQ4P<ZQ5O0lQ5Y0|Q6k<pQ6q2xQ6v3OQ7V3dQ7W<qQ7a<sQ7b<{Q8`5mQ8|6iQ9Q6rQ9[<|Q9b=VQ9c=WQ:c9SQ:y9}Q;R:aQ;x#SR=g=sR#[WR'X!el!tQ!r!v!y!z'^'j'k'l-`-p1g5q5sS'T!e-WU*g$|*X*lS-T'U']S0O*h*nQ0W*oQ2m-^Q4m0UR4r0XR(y#xQ!fQT-_'^-`]!qQ!r'^-`1g5qQ#p]R'g;wR)d$dY!uQ'^-`1g5qQ'i!rS's!v!yS'u!z5sS-o'j'kQ-q'lR2{-pT#kZ%dS#jZ%dS%jm,jU(e#h#i#lS.T(f(gQ.X(hQ0n+ZQ3Q.UU3R.V.W.YS6x3S3TR9T6yd#^W#W#Z%g(R([*W+W.O/hr#gZm#h#i#l%d(f(g(h+Z.U.V.W.Y3S3T6yS*Z$x*_Q/o*[Q1|,jQ2d-QQ4W/kQ6g2[Q7i4XQ8{6hT=_'V+XV#aW%g*WU#`W%g*WS(S#W([U(X#Z+W/hS-V'V+XT-y(R.OV'[!e%h*XQ$lfR)v$qT)k$l)lR3}/PT*]$x*_T*e${*WQ0q+cQ1_,QQ3V.aQ5j1aQ5u1iQ6}3ZQ8g5xQ9W6|Q:Q8fQ:d9VQ:|:SQ;U:fQ;`:}R;c;VnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&j!VR,c&gtmOXst!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:
382"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList 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 in 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:378,context:a,nodeProps:[["isolate",-8,5,6,14,35,37,49,51,53,""],["group",-26,9,17,19,66,206,210,214,215,217,220,223,233,235,241,243,245,247,250,256,262,264,266,268,270,272,273,"Statement",-34,13,14,30,33,34,40,49,52,53,55,60,68,70,74,78,80,82,83,108,109,118,119,135,138,140,141,142,143,144,146,147,166,168,170,"Expression",-23,29,31,35,39,41,43,172,174,176,177,179,180,181,183,184,185,187,188,189,200,202,204,205,"Type",-3,86,101,107,"ClassItem"],["openedBy",23,"<",36,"InterpolationStart",54,"[",58,"{",71,"(",159,"JSXStartCloseTag"],["closedBy",-2,24,167,">",38,"InterpolationEnd",48,"]",59,"}",72,")",164,"JSXEndTag"]],propSources:[h],skippedNodes:[0,5,6,276],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!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(X!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(X!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(UpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(UpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Up(X!b'z0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(V#S$h&j'{0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Up(X!b'{0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!n),Q(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(T':f$h&j(X!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(X!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(X!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(X!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(X!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;
382=`<%l4k%9[:hh$h&j(Up(X!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$h&j(Up(X!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$h&j(X!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(X!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(UpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(UpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Up(X!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(m%1l(Up(X!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$h&j(Up(X!b$[#t(R,2j(c$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+dHRk$h&j(Up(X!b$[#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$h&j(Up(X!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$h&j$P(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(x+JY$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$h&j#y(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(W';W$h&j(UpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$h&j(UpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$h&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$c`$h&j(UpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(UpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$c`(UpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!j/.^$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!i!Lf$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$h&j(Up(X!b(S%&f#o(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$h&j(Up(X!b#l(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$h&j(Up(X!bp+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!Z+Jf$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$h&j(Up(X!b!O.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_!Y!L^$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$h&j(Up(X!b#m(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$h&j(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}
382#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$h&j(X!b!V7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$h&j!V7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$h&j!V7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!V7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!V7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(X!b!V7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(X!b!V7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(X!b!V7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(X!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(X!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$h&j(Up!V7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$h&j(Up!V7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Up!V7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Up!V7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(UpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$h&j(UpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$h&j(Up(X!b!V7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Up(X!b!V7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Up(X!b!V7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Up(X!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$h&j(Up(X!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$h&j(Up(X!b'|0/l!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$h&j(Up(X!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$h&j(X!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$h&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(X!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$h&j(UpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(UpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Up(X!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$h&j$P(Ch(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}
382#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Y#t$h&j(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Up(X!bq'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!e$b$h&j#})Lv(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#P-<U(Up(X!b$m7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$j&j(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#p(Ch(Up(X!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$P(Ch(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#q(Ch(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#^*!Y$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#i(Cl$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#q(Ch$e#|$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#q(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#p(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#p(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(p(Ct$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$h&j#z(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!z$Ip$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!Q0,v$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$h&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;
382=`&w<%lO&c(n$1kZ$h&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$h&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$h&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!W#)l$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#w(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$h&j(Up(X!b(_+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$h&j(Up(X!b(R,2j$^#t(c$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$h&j(Up(X!b$^#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!]#Hb(Up(X!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(w+JY$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_![(CdtBr$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!o7`$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$h&j(Up(X!b'z0/l$[#t(R,2j(c$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$h&j(Up(X!b'{0/l$[#t(R,2j(c$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:[l,c,u,f,2,3,4,5,6,7,8,9,10,11,12,13,14,s,new r.RA("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOv~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!S~~!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(a~~",141,338),new r.RA("j~RQYZXz{^~^O(O~~aP!P!Qd~iO(P~~",25,321)],topRules:{Script:[0,7],SingleExpression:[1,274],SingleClassItem:[2,275]},dialects:{jsx:0,ts:15091},dynamicPrecedences:{78:1,80:1,92:1,168:1,198:1},specialized:[{term:325,get:e=>p[e]||-1},{term:341,get:e=>m[e]||-1},{term:93,get:e=>g[e]||-1}],tokenPrec:15116})},63899:function(e,t,n){"use strict";n.d(t,{IK:function(){return M},Jq:function(){return p},RA:function(){return h},WQ:function(){return j}});var r=n("12265");class i{constructor(e,t,n,r,i,o,a,s,l,c=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=o,this.buffer=a,this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new i(e,[],t,n,n,0,[],0,r?new o(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:i}=this.p,o=this.reducePos<this.pos-25;o&&this.setLookAhead(this.pos);let a=i.dynamicPrecedence(r);if(a&&(this.score+=a),0==n){this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(r,this.reducePos);return}let s=this.stack.length-(n-1)*3-(262144&e?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.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=s?this.stack[s-1]:0,d=this.bufferBase+this.buffer.length-u;if(r<i.minRepeatTerm||131072&e){let e=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,l,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=i.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,l)}storeNode(e,t,n,r=4,i=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t){e.buffer[r-2]=n;return}}}if(i&&this.pos!=n){let i=this.buffer.length;if(i>0&&0!=this.buffer[i-4]){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,!i.stateFlag(e,1)&&(this.reducePos=r)),this.pushState(e,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}
vendor: 4,158 bytes, line 382
382apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new i(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new a(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];!n.some((e,t)=>1&t&&e==r)&&n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if((65536&t)==0)return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,i=this.stack.length-3*n;if(i<0||0>e.getGoto(this.stack[i],r,!1)){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(393216&t);else if(65536&t){let n=(t>>19)-i;if(n>1){let r=65535&t,i=this.stack.length-3*n;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(null!=e)return e}})};return n(this.state,0)}forceAll(){for(;!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:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new o(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class o{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class a{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0
vendor: 7,381 bytes, line 382
382),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class s{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new s(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.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 s(this.stack,this.pos,this.index)}}function l(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,i=0;r<e.length;){let o=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),o+=i,n)break;o*=46}n?n[i++]=o:n=new t(o)}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}}let u=new c;class d{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=u,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((n=t)>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,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(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,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(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=u,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class f{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;m(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}f.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?l(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(m(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!n&&r++,null==i)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class p{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function m(e,t,n,r,i,o){let a=0,s=1<<r,{dialect:l}=n.p.parser;o:for(;(s&e[a])!=0;){let n=e[a+1];for(let r=a+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(l.allows(n)&&(-1==t.token.value||t.token.value==n||function(e,t,n,r){let i=g(n,r,t);return i<0||g(n,r,e)<i}(n,t.token.value,i,o))){t.acceptToken(n);break}}let r=t.next,c=0,u=e[a+2];if(t.next<0&&u>c&&65535==e[n+3*u-3]){a=e[n+3*u-1];continue}for(;c<u;){let i=c+u>>1,o=n+i+(i<<1),s=e[o],l=e[o+1]||65536;if(r<s)u=i;else if(r>=l)c=i+1;else{a=e[o+2],t.advance();continue o}}break}}function g(e,t,n){for(let r=t,i;65535!=(i=e[r]);r++)if(i==n)return r-t;return -1}let O="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG),v=null;function b(e,t,n){let i=e.cursor(r.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.to<t:i.from>t)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}class y{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?b(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?b(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[i],a=this.start[t]+n.positions[i];if(a>e)return this.nextStart=a,null;if(o instanceof r.mp){if(a==e){if(a<this.safeFrom)return null;let e=a+o.length;
382if(e<=this.safeTo){let t=o.prop(r.md.lookAhead);if(!t||e+t<this.fragment.to)return o}}this.index[t]++,a+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+o.length}}}class x{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new c)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if((1<<r&o)==0)continue;let l=i[r],c=this.tokens[r];if((!n||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=o||c.context!=a)&&(this.updateCachedToken(c,l,e),c.mask=o,c.context=a),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let r=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(n=c,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&((n=new c).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){(1&i)==0?e.value=i>>1:e.extended=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:o}=e.p,{data:a}=o;for(let e=0;e<2;e++)for(let s=o.stateSlot(i,e?2:1);;s+=3){if(65535==a[s]){if(1==a[s+1])s=C(a,s+2);else{0==r&&2==a[s+1]&&(r=this.putAction(C(a,s+2),t,n,r));break}}a[s]==t&&(r=this.putAction(C(a,s+1),t,n,r))}return r}}class w{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,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 d(t,r),this.tokens=new x(e,this.stream),this.topTerm=e.top[1];let{from:o}=r[0];this.stacks=[i.start(this,e.top[0],o)],this.fragments=n.length&&this.stream.end-o>4*e.bufferLength?new y(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<n.length;o++){let a=n[o];for(;;){if(this.tokens.mainToken=null,a.pos>r)i.push(a);else{if(this.advanceStack(a,i,n))continue;!e&&(e=[],t=[]),e.push(a);let r=this.tokens.getMainToken(a);t.push(r.value,r.end)}break}}if(!i.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return O&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw O&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+r);!this.recovering&&(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(n)return O&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(i.length>e)for(i.sort((e,t)=>t.score-e.score);i.length>e;)i.pop();i.some(e=>e.reducePos>r)&&this.recovering--}
382else if(i.length>1){a:for(let e=0;e<i.length-1;e++){let t=i[e];for(let n=e+1;n<i.length;n++){let r=i[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if((t.score-r.score||t.buffer.length-r.buffer.length)>0)i.splice(n--,1);else{i.splice(e--,1);continue a}}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let e=1;e<i.length;e++)i[e].pos<this.minStackPos&&(this.minStackPos=i[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:o}=this,a=O?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let s=this.fragments.nodeAt(i);s;){let i=this.parser.nodeSet.types[s.type.id]==s.type?o.getGoto(e.state,s.type.id):-1;if(i>-1&&s.length&&(!t||(s.prop(r.md.contextHash)||0)==n))return e.useNode(s,i),O&&console.log(a+this.stackID(e)+` (via reuse of ${o.getName(s.type.id)})`),!0;if(!(s instanceof r.mp)||0==s.children.length||s.positions[0]>0)break;let l=s.children[0];if(l instanceof r.mp&&0==s.positions[0])s=l;else break}}let s=o.stateSlot(e.state,4);if(s>0)return e.reduce(s),O&&console.log(a+this.stackID(e)+` (via always-reduce ${o.getName(65535&s)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let r=0;r<l.length;){let s=l[r++],c=l[r++],u=l[r++],d=r==l.length||!n,f=d?e:e.split(),h=this.tokens.mainToken;if(f.apply(s,c,h?h.start:f.pos,u),O&&console.log(a+this.stackID(f)+` (via ${(65536&s)==0?"shift":`reduce of ${o.getName(65535&s)}`} for ${o.getName(c)} @ ${i}${f==e?"":", split"})`),d)return!0;f.pos>i?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return S(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let o=0;o<e.length;o++){let a=e[o],s=t[o<<1],l=t[(o<<1)+1],c=O?this.stackID(a)+" -> ":"";if(a.deadEnd){if(i)continue;if(i=!0,a.restart(),O&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))continue}let u=a.split(),d=c;for(let e=0;u.forceReduce()&&e<10&&(O&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,n));e++){;O&&(d=this.stackID(u)+" -> ")}for(let e of a.recoverByInsert(s))O&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>a.pos?(l==a.pos&&(l++,s=0),a.recoverByDelete(s,l),O&&console.log(c+this.stackID(a)+` (via recover-delete ${this.parser.getName(s)})`),S(a,n)):(!r||r.score<a.score)&&(r=a)}return r}stackToTree(e){return e.close(),r.mp.build({buffer:s.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return!t&&v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function S(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class k{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}let P=e=>e;class M{constructor(e){this.start=e.start,this.shift=e.shift||P,this.reduce=e.reduce||P,this.reuse=e.reuse||P,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class j extends r._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),i=[];for(let e=0;e<t.length;e++)i.push([]);function o(e,t,n){i[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=r.md[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)o(r,e,t[n++]);else{let i=t[n+-r];for(let a=-r;a>0;a--)o(t[n++],e,i);n++}}}this.nodeSet=new r.Lj(t.map((t,o)=>r.Jq.define({name:o>=this.minRepeatTerm?void 0:t,id:o,props:i[o],top:n.indexOf(o)>-1,error:0==o,skipped:e.skippedNodes&&e.skippedNodes.indexOf(o)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.L3;let a=l(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(_),this.states=l(e.states,Uint32Array),this.data=l(e.stateData),this.goto=l(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new f(a,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new w(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return -1;for(let i=r[t+1];;){let t=r[i++],o=1&t,a=r[i++];if(o&&n)return a;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return a;
382if(o)return -1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),o;;i+=3){if(65535==(o=n[i])){if(1==n[i+1])o=n[i=C(n,i+2)];else if(2==n[i+1])return C(n,i+2);else break}if(o==t||0==o)return C(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==r;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=C(this.data,n+2);else break}r=t(C(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=C(this.data,n+2);else break}if((1&this.data[n+2])==0){let e=this.data[n+1];!t.some((t,n)=>1&n&&t==e)&&t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(j.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,r)=>{let i=e.specializers.find(e=>e.from==n.external);if(!i)return n;let o=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[r]=_(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;65535!=(i=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[i]=1;return new k(e,n,r)}static deserialize(e){return new j(e)}}function C(e,t){return e[t]|e[t+1]<<16}function _(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}},19748:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});let r=[],i=[];(()=>{let e="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,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,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(e=>e?parseInt(e,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?i:r).push(n+=e[t])})();function o(e){return e>=127462&&e<=127487}function a(e,t,n=!0,r=!0){return(n?s:function(e,t,n){for(;t>0;){let r=s(e,t-2,n);if(r<t)return r;t--}return 0})(e,t,r)}function s(e,t,n){if(t==e.length)return t;t&&c(e.charCodeAt(t))&&u(e.charCodeAt(t-1))&&t--;let a=l(e,t);for(t+=d(a);t<e.length;){let s=l(e,t);if(8205==a||8205==s||n&&function(e){if(e<768)return!1;for(let t=0,n=r.length;;){let o=t+n>>1;if(e<r[o])n=o;else{if(!(e>=i[o]))return!0;t=o+1}if(t==n)return!1}}(s))t+=d(s),a=s;else if(o(s)){let n=0,r=t-2;for(;r>=0&&o(l(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function l(e,t){let n=e.charCodeAt(t);if(!u(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return c(r)?(n-55296<<10)+(r-56320)+65536:n}function c(e){return e>=56320&&e<57344}function u(e){return e>=55296&&e<56320}function d(e){return e<65536?1:2}},76661:function(e,t,n){"use strict";n.d(t,{Th:function(){return H}});var r="colors",i="sizes",o="space",a={gap:o,gridGap:o,columnGap:o,gridColumnGap:o,rowGap:o,gridRowGap:o,inset:o,insetBlock:o,insetBlockEnd:o,insetBlockStart:o,insetInline:o,insetInlineEnd:o,insetInlineStart:o,margin:o,marginTop:o,marginRight:o,marginBottom:o,marginLeft:o,marginBlock:o,marginBlockEnd:o,marginBlockStart:o,marginInline:o,marginInlineEnd:o,marginInlineStart:o,padding:o,paddingTop:o,paddingRight:o,paddingBottom:o,paddingLeft:o,paddingBlock:o,paddingBlockEnd:o,paddingBlockStart:o,paddingInline:o,paddingInlineEnd:o,paddingInlineStart:o,top:o,right:o,bottom:o,left
382:o,scrollMargin:o,scrollMarginTop:o,scrollMarginRight:o,scrollMarginBottom:o,scrollMarginLeft:o,scrollMarginX:o,scrollMarginY:o,scrollMarginBlock:o,scrollMarginBlockEnd:o,scrollMarginBlockStart:o,scrollMarginInline:o,scrollMarginInlineEnd:o,scrollMarginInlineStart:o,scrollPadding:o,scrollPaddingTop:o,scrollPaddingRight:o,scrollPaddingBottom:o,scrollPaddingLeft:o,scrollPaddingX:o,scrollPaddingY:o,scrollPaddingBlock:o,scrollPaddingBlockEnd:o,scrollPaddingBlockStart:o,scrollPaddingInline:o,scrollPaddingInlineEnd:o,scrollPaddingInlineStart:o,fontSize:"fontSizes",background:r,backgroundColor:r,backgroundImage:r,borderImage:r,border:r,borderBlock:r,borderBlockEnd:r,borderBlockStart:r,borderBottom:r,borderBottomColor:r,borderColor:r,borderInline:r,borderInlineEnd:r,borderInlineStart:r,borderLeft:r,borderLeftColor:r,borderRight:r,borderRightColor:r,borderTop:r,borderTopColor:r,caretColor:r,color:r,columnRuleColor:r,fill:r,outline:r,outlineColor:r,stroke:r,textDecorationColor:r,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:i,minBlockSize:i,maxBlockSize:i,inlineSize:i,minInlineSize:i,maxInlineSize:i,width:i,minWidth:i,maxWidth:i,height:i,minHeight:i,maxHeight:i,flexBasis:i,gridTemplateColumns:i,gridTemplateRows:i,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},s=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,l=()=>{let e=Object.create(null);return(t,n,...r)=>{let i=JSON.stringify(t,s);return i in e?e[i]:e[i]=n(t,...r)}},c=Symbol.for("sxs.internal"),u=(e,t)=>
382Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),d=e=>{for(let t in e)return!0;return!1},{hasOwnProperty:f}=Object.prototype,h=e=>e.includes("-")?e:e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),p=/\s+(?![^()]*\))/,m=e=>t=>e(..."string"==typeof t?String(t).split(p):[t]),g={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:m((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:m((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:m((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:m((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:m((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:m((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},O=/([\d.]+)([^]*)/,v=(e,t)=>
382e.length?e.reduce((e,n)=>(e.push(...t.map(e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e)),e),[]):t,b=(e,t)=>e in y&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(t,n,r,i)=>n+("stretch"===r?`-moz-available${i};${h(e)}:${n}-webkit-fill-available`:`-moz-fit-content${i};${h(e)}:${n}fit-content`)+i):String(t),y={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},x=e=>e?e+"-":"",w=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(e,r,i,o,a)=>"$"==o==!!i?e:(r||"--"==o?"calc(":"")+"var(--"+("$"===o?x(t)+(a.includes("$")?"":x(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==o?"*"+(r||"")+(i||"1")+")":"")),S=/\s*,\s*(?![^()]*\))/,k=Object.prototype.toString,P=(e,t,n,r,i)=>{let o,a,s;let l=(e,t,n)=>{let c,u;let d=e=>{var f;for(c in e){let p=64===c.charCodeAt(0);for(u of p&&Array.isArray(e[c])?e[c]:[e[c]]){let e=/[A-Z]/.test(f=c)?f:f.replace(/-[^]/g,e=>e[1].toUpperCase()),m="object"==typeof u&&u&&u.toString===k&&(!r.utils[e]||!t.length);if(e in r.utils&&!m){let t=r.utils[e];if(t!==a){a=t,d(t(u)),a=null;continue}}else if(e in g){let t=g[e];if(t!==s){s=t,d(t(u)),s=null;continue}}if(p&&(c=(c.slice(1) in r.media?"@media "+r.media[c.slice(1)]:c).replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(e,t,n,r,i,o)=>{let a=O.test(t),s=.0625*(a?-1:1),[l,c]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+l+":"+("="!==n[0]&&1===n.length?c.replace(O,(e,t,r)=>Number(t)+s*(">"===n?1:-1)+r):c)+(i?") and ("+(">"===i[0]?"min-":"max-")+l+":"+(1===i.length?o.replace(O,(e,t,n)=>Number(t)+s*(">"===i?-1:1)+n):o):"")+")"})),m){let e=p?n.concat(c):[...n],r=p?[...t]:v(t,c.split(S));void 0!==o&&i(M(...o)),o=void 0,l(u,r,e)}else void 0===o&&(o=[[],t,n]),c=p||36!==c.charCodeAt(0)?c:`--${x(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,u=m?u:"number"==typeof u?u&&e in j?String(u)+"px":String(u):w(b(e,null==u?"":u),r.prefix,r.themeMap[e]),o[0].push(`${p?`${c} `:`${h(c)}:`}${u}`)}}};d(e),void 0!==o&&i(M(...o)),o=void 0};l(e,t,n)},M=(e,t,n)=>`${n.map(e=>`${e}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,j={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},C=e=>String.fromCharCode(e+(e>25?39:97)),_=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=C(t%52)+n;return C(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),T=["themed","global","styled","onevar","resonevar","allvar","inline"],D=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},E=e=>{let t;let n=()=>{let{cssRules:e}=t.sheet;return[].map.call(e,(n,r)=>{let{cssText:i}=n,o="";if(i.startsWith("--sxs"))return"";if(e[r-1]&&(o=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(let e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${i}`;return n.cssRules.length?`${o}${i}`:""}return i}).join("")},r=()=>{if(t){let{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(let t in e)delete e[t]}for(let i of Object(e).styleSheets||[])if(D(i)){for(let e=0,o=i.cssRules;o[e];++e){let a=Object(o[e]);if(1!==a.type)continue;let s=Object(o[e+1]);if(4!==s.type)continue;++e;let{cssText:l}=a;if(!l.startsWith("--sxs"))continue;let c=l.slice(14,-3).trim().split(/\s+/),u=T[c[0]];u&&(t||(t={sheet:i,reset:r,rules:{},toString:n}),t.rules[u]={group:s,index:e,cache:new Set(c)})}if(t)break}if(!t){let i=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,i(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,e=>e.cssText).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:i("","text/css"),rules:{},reset:r,toString:n}}let{sheet:i,rules:o}=t;for(let e=T.length-1;e>=0;--e){let t=T[e];if(!o[t]){let n=T[e+1],r=o[n]?o[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),o[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}Q(o[t])}};return r(),t},Q=e=>{let t=e.group,n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},$=Symbol(),R=l(),Z=(e,t)=>R(e,()=>(...n)=>{let r={type:null,composers:new Set};for(let t of n)if(null!=t){if(t[c])for(let e of(null==r.type&&(r.type=t[c].type),t[c].composers))r.composers.add(e);else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(I(t,e))}return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),A(e,r,t)}),I=({variants:e,compoundVariants:t,defaultVariants:n,...r},i)=>{let o=`${x(i.prefix)}c-${_(r)}`,a=[],s=[],l=Object.create(null),c=[];for(let e in n)l[e]=String(n[e]);if("object"==typeof e&&e)for(let t in e){f.call(l,t)||(l[t]="undefined");let n=e[t];for(let e in n){let r={[t]:String(e)};"undefined"===String(e)&&c.push(t);let i=n[e],o=[r,i,!d(i)];a.push(o)}}if("object"==typeof t&&t)for(let e of t){let{css:t,...n}=e;for(let e in t="object"==typeof t&&t||{},n)n[e]=String(n[e]);let r=[n,t,!d(t)];s.push(r)}return[o,r,a,s,l,c]}
382,A=(e,t,n)=>{let[r,i,o,a]=N(t.composers),s="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[$].length;n++){let[r,i]=t[$][n];e.rules[r].apply(i)}return t[$]=[],null}return t[$]=[],t.rules={},T.forEach(e=>t.rules[e]={apply:n=>t[$].push([e,n])}),t})(n):null,l=(s||n).rules,d=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,f=c=>{let{css:u,...f}=c="object"==typeof c&&c||z,h={};for(let e in o)if(delete f[e],e in c){let t=c[e];"object"==typeof t&&t?h[e]={"@initial":o[e],...t}:(t=String(t),h[e]="undefined"!==t||a.has(e)?t:o[e])}else h[e]=o[e];let p=new Set([...i]);for(let[r,i,o,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),P(i,[`.${r}`],[],e,e=>{l.styled.apply(e)}));let t=L(o,h,e.media),s=L(a,h,e.media,!0);for(let i of t)if(void 0!==i)for(let[t,o,a]of i){let i=`${r}-${_(o)}-${t}`;p.add(i);let s=(a?n.rules.resonevar:n.rules.onevar).cache,c=a?l.resonevar:l.onevar;s.has(i)||(s.add(i),P(o,[`.${i}`],[],e,e=>{c.apply(e)}))}for(let t of s)if(void 0!==t)for(let[i,o]of t){let t=`${r}-${_(o)}-${i}`;p.add(t),n.rules.allvar.cache.has(t)||(n.rules.allvar.cache.add(t),P(o,[`.${t}`],[],e,e=>{l.allvar.apply(e)}))}}if("object"==typeof u&&u){let t=`${r}-i${_(u)}-css`;p.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),P(u,[`.${t}`],[],e,e=>{l.inline.apply(e)}))}for(let e of String(c.className||"").trim().split(/\s+/))e&&p.add(e);let m=f.className=[...p].join(" ");return{type:t.type,className:m,selector:d,props:f,toString:()=>m,deferredInjector:s}};return u(f,{className:r,selector:d,[c]:t,toString:()=>(n.rules.styled.cache.has(r)||f(),r)})},N=e=>{let t="",n=[],r={},i=[];for(let[o,,,,a,s]of e)for(let e in""===t&&(t=o),n.push(o),i.push(...s),a){let t=a[e];(void 0===r[e]||"undefined"!==t||s.includes(t))&&(r[e]=t)}return[t,n,r,new Set(i)]},L=(e,t,n,r)=>{let i=[];s:for(let[o,a,s]of e){if(s)continue;let e,l=0,c=!1;for(e in o){let r=o[e],i=t[e];if(i!==r){if("object"!=typeof i||!i)continue s;{let e,t,o=0;for(let a in i){if(r===String(i[a])){if("@initial"!==a){let e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),c=!0}l+=o,e=!0}++o}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue s}}}(i[l]=i[l]||[]).push([r?"cv":`${e}-${o[e]}`,a,c])}return i},z={},F=l(),V=(e,t)=>F(e,()=>(...n)=>{let r=()=>{for(let r of n){let n=_(r="object"==typeof r&&r||{});if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}P(r,[],[],e,e=>{t.rules.global.apply(e)})}}return""};return u(r,{toString:r})}),W=l(),Y=(e,t)=>W(e,()=>n=>{let r=`${x(e.prefix)}k-${_(n)}`,i=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);let i=[];P(n,[],[],e,e=>i.push(e));let o=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(o)}return r};return u(i,{get name(){return i()},toString:i})}),X=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+x(this.prefix)+x(this.scale)+this.token}toString(){return this.computedValue}},B=l(),q=(e,t)=>B(e,()=>(n,r)=>{r="object"==typeof n&&n||Object(r);let i=`.${n=(n="string"==typeof n?n:"")||`${x(e.prefix)}t-${_(r)}`}`,o={},a=[];for(let t in r)for(let n in o[t]={},r[t]){let i=`--${x(e.prefix)}${t}-${n}`,s=w(String(r[t][n]),e.prefix,t);o[t][n]=new X(n,s,t,e.prefix),a.push(`${i}:${s}`)}let s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);let i=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(i)}return n};return{...o,get className(){return s()},selector:i,toString:s}}),U=l(),H=e=>{let t=!1,n=U(e,e=>{t=!0;let n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},i="object"==typeof e.root?e.root||null:globalThis.document||null,o="object"==typeof e.theme&&e.theme||{},s={prefix:n,media:r,theme:o,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...a},utils:"object"==typeof e.utils&&e.utils||{}}
382,l=E(i),c={css:Z(s,l),globalCss:V(s,l),keyframes:Y(s,l),createTheme:q(s,l),reset(){l.reset(),c.theme.toString()},theme:{},sheet:l,config:s,prefix:n,getCssText:l.toString,toString:l.toString};return String(c.theme=c.createTheme(o)),c});return t||n.reset(),n}},88677:function(e,t,n){"use strict";n.d(t,{Th:function(){return J}});var r=n("3781"),i="colors",o="sizes",a="space",s={gap:a,gridGap:a,columnGap:a,gridColumnGap:a,rowGap:a,gridRowGap:a,inset:a,insetBlock:a,insetBlockEnd:a,insetBlockStart:a,insetInline:a,insetInlineEnd:a,insetInlineStart:a,margin:a,marginTop:a,marginRight:a,marginBottom:a,marginLeft:a,marginBlock:a,marginBlockEnd:a,marginBlockStart:a,marginInline:a,marginInlineEnd:a,marginInlineStart:a,padding:a,paddingTop:a,paddingRight:a,paddingBottom:a,paddingLeft:a,paddingBlock:a,paddingBlockEnd:a,paddingBlockStart:a,paddingInline:a,paddingInlineEnd:a,paddingInlineStart:a,top:a,right:a,bottom:a,left:a,scrollMargin:a,scrollMarginTop:a,scrollMarginRight:a,scrollMarginBottom:a,scrollMarginLeft:a,scrollMarginX:a,scrollMarginY:a,scrollMarginBlock:a,scrollMarginBlockEnd:a,scrollMarginBlockStart:a,scrollMarginInline:a,scrollMarginInlineEnd:a,scrollMarginInlineStart:a,scrollPadding:a,scrollPaddingTop:a,scrollPaddingRight:a,scrollPaddingBottom:a,scrollPaddingLeft:a,scrollPaddingX:a,scrollPaddingY:a,scrollPaddingBlock:a,scrollPaddingBlockEnd:a,scrollPaddingBlockStart:a,scrollPaddingInline:a,scrollPaddingInlineEnd:a,scrollPaddingInlineStart:a,fontSize:"fontSizes",background:i,backgroundColor:i,backgroundImage:i,borderImage:i,border:i,borderBlock:i,borderBlockEnd:i,borderBlockStart:i,borderBottom:i,borderBottomColor:i,borderColor:i,borderInline:i,borderInlineEnd:i,borderInlineStart:i,borderLeft:i,borderLeftColor:i,borderRight:i,borderRightColor:i,borderTop:i,borderTopColor:i,caretColor:i,color:i,columnRuleColor:i,fill:i,outline:i,outlineColor:i,stroke:i,textDecorationColor:i,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:o,minBlockSize:o,maxBlockSize:o,inlineSize:o,minInlineSize:o,maxInlineSize:o,width:o,minWidth:o,maxWidth:o,height:o,minHeight:o,maxHeight:o,flexBasis:o,gridTemplateColumns:o,gridTemplateRows:o,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},l=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,c=()=>{let e=Object.create(null);return(t,n,...r)=>{let i=JSON.stringify(t,l);return i in e?e[i]:e[i]=n(t,...r)}},u=Symbol.for("sxs.internal"),d=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),f=e=>{for(let t in e)return!0;return!1},{hasOwnProperty:h}=Object.prototype,p=e=>e.includes("-")?e:e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),m=/\s+(?![^()]*\))/,g=e=>t=>e(..."string"==typeof t?String(t).split(m):[t]),O={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:g((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:g((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:g((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:g((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:g((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:g((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},v=/([\d.]+)([^]*)/,b=(e,t)=>e.length?e.reduce((e,n)=>(e.push(...t.map(e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e)),e),[]):t,y=(e,t)=>e in x&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\
382w-][^]*)?)$/,(t,n,r,i)=>n+("stretch"===r?`-moz-available${i};${p(e)}:${n}-webkit-fill-available`:`-moz-fit-content${i};${p(e)}:${n}fit-content`)+i):String(t),x={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},w=e=>e?e+"-":"",S=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(e,r,i,o,a)=>"$"==o==!!i?e:(r||"--"==o?"calc(":"")+"var(--"+("$"===o?w(t)+(a.includes("$")?"":w(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==o?"*"+(r||"")+(i||"1")+")":"")),k=/\s*,\s*(?![^()]*\))/,P=Object.prototype.toString,M=(e,t,n,r,i)=>{let o,a,s;let l=(e,t,n)=>{let c,u;let d=e=>{var f;for(c in e){let h=64===c.charCodeAt(0);for(u of h&&Array.isArray(e[c])?e[c]:[e[c]]){let e=/[A-Z]/.test(f=c)?f:f.replace(/-[^]/g,e=>e[1].toUpperCase()),m="object"==typeof u&&u&&u.toString===P&&(!r.utils[e]||!t.length);if(e in r.utils&&!m){let t=r.utils[e];if(t!==a){a=t,d(t(u)),a=null;continue}}else if(e in O){let t=O[e];if(t!==s){s=t,d(t(u)),s=null;continue}}if(h&&(c=(c.slice(1) in r.media?"@media "+r.media[c.slice(1)]:c).replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(e,t,n,r,i,o)=>{let a=v.test(t),s=.0625*(a?-1:1),[l,c]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+l+":"+("="!==n[0]&&1===n.length?c.replace(v,(e,t,r)=>Number(t)+s*(">"===n?1:-1)+r):c)+(i?") and ("+(">"===i[0]?"min-":"max-")+l+":"+(1===i.length?o.replace(v,(e,t,n)=>Number(t)+s*(">"===i?-1:1)+n):o):"")+")"})),m){let e=h?n.concat(c):[...n],r=h?[...t]:b(t,c.split(k));void 0!==o&&i(j(...o)),o=void 0,l(u,r,e)}else void 0===o&&(o=[[],t,n]),c=h||36!==c.charCodeAt(0)?c:`--${w(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,u=m?u:"number"==typeof u?u&&e in C?String(u)+"px":String(u):S(y(e,null==u?"":u),r.prefix,r.themeMap[e]),o[0].push(`${h?`${c} `:`${p(c)}:`}${u}`)}}};d(e),void 0!==o&&i(j(...o)),o=void 0};l(e,t,n)},j=(e,t,n)=>`${n.map(e=>`${e}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,C={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},_=e=>String.fromCharCode(e+(e>25?39:97)),T=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=_(t%52)+n;return _(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),D=["themed","global","styled","onevar","resonevar","allvar","inline"],E=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},Q=e=>{let t;let n=()=>{let{cssRules:e}=t.sheet;return[].map.call(e,(n,r)=>{let{cssText:i}=n,o="";if(i.startsWith("--sxs"))return"";if(e[r-1]&&(o=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(let e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${i}`;return n.cssRules.length?`${o}${i}`:""}return i}).join("")},r=()=>{if(t){let{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(let t in e)delete e[t]}for(let i of Object(e).styleSheets||[])if(E(i)){for(let e=0,o=i.cssRules;o[e];++e){let a=Object(o[e]);if(1!==a.type)continue;let s=Object(o[e+1]);if(4!==s.type)continue;++e;let{cssText:l}=a;if(!l.startsWith("--sxs"))continue;let c=l.slice(14,-3).trim().split(/\s+/),u=D[c[0]];u&&(t||(t={sheet:i,reset:r,rules:{},toString:n}),t.rules[u]={group:s,index:e,cache:new Set(c)})}if(t)break}if(!t){let i=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,i(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,e=>e.cssText).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:i("","text/css"),rules:{},reset:r,toString:n}}let{sheet:i,rules:o}=t;for(let e=D.length-1;e>=0;--e){let t=D[e];if(!o[t]){let n=D[e+1],r=o[n]?o[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),o[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}$(o[t])}};return r(),t},$=e=>{let t=e.group,n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},R=Symbol(),Z=c(),I=(e,t)=>Z(e,()=>(...n)=>{let r={type:null,composers:new Set};for(let t of n)if(null!=t){if(t[u])for(let e of(null==r.type&&(r.type=t[u].type),t[u].composers))r.composers.add(e);else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(A(t,e))}return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),N(e,r,t)}),A=({variants:e,compoundVariants:t,defaultVariants:n,...r},i)=>{let o=`${w(i.prefix)}c-${T(r)}`,a=[],s=[],l=Object.create(null),c=[];for(let e in n)l[e]=String(n[e]);if("object"==typeof e&&e)for(let t in e){h.call(l,t)||(l[t]="undefined");let n=e[t];for(let e in n){let r={[t]:String(e)};"undefined"===String(e)&&c.push(t);let i=n[e],o=[r,i,!f(i)];a.push(o)}}if("object"==typeof t&&t)for(let e of t){let{css:t,...n}=e;for(let e in t="object"==typeof t&&t||{},n)n[e]=String(n[e]);let r=[n,t,!f(t)];s.push(r)}return[o,r,a,s,l,c]},N=(e,t,n)=>{let[r,i,o,a]=L(t.composers),s="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[R].length;n++){let[r,i]=t[R][n];e.rules[r].apply(i)}return t[R]=[],null}return t[R]=[],t.rules={}
382,D.forEach(e=>t.rules[e]={apply:n=>t[R].push([e,n])}),t})(n):null,l=(s||n).rules,c=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,f=u=>{let{css:d,...f}=u="object"==typeof u&&u||F,h={};for(let e in o)if(delete f[e],e in u){let t=u[e];"object"==typeof t&&t?h[e]={"@initial":o[e],...t}:(t=String(t),h[e]="undefined"!==t||a.has(e)?t:o[e])}else h[e]=o[e];let p=new Set([...i]);for(let[r,i,o,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),M(i,[`.${r}`],[],e,e=>{l.styled.apply(e)}));let t=z(o,h,e.media),s=z(a,h,e.media,!0);for(let i of t)if(void 0!==i)for(let[t,o,a]of i){let i=`${r}-${T(o)}-${t}`;p.add(i);let s=(a?n.rules.resonevar:n.rules.onevar).cache,c=a?l.resonevar:l.onevar;s.has(i)||(s.add(i),M(o,[`.${i}`],[],e,e=>{c.apply(e)}))}for(let t of s)if(void 0!==t)for(let[i,o]of t){let t=`${r}-${T(o)}-${i}`;p.add(t),n.rules.allvar.cache.has(t)||(n.rules.allvar.cache.add(t),M(o,[`.${t}`],[],e,e=>{l.allvar.apply(e)}))}}if("object"==typeof d&&d){let t=`${r}-i${T(d)}-css`;p.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),M(d,[`.${t}`],[],e,e=>{l.inline.apply(e)}))}for(let e of String(u.className||"").trim().split(/\s+/))e&&p.add(e);let m=f.className=[...p].join(" ");return{type:t.type,className:m,selector:c,props:f,toString:()=>m,deferredInjector:s}};return d(f,{className:r,selector:c,[u]:t,toString:()=>(n.rules.styled.cache.has(r)||f(),r)})},L=e=>{let t="",n=[],r={},i=[];for(let[o,,,,a,s]of e)for(let e in""===t&&(t=o),n.push(o),i.push(...s),a){let t=a[e];(void 0===r[e]||"undefined"!==t||s.includes(t))&&(r[e]=t)}return[t,n,r,new Set(i)]},z=(e,t,n,r)=>{let i=[];s:for(let[o,a,s]of e){if(s)continue;let e,l=0,c=!1;for(e in o){let r=o[e],i=t[e];if(i!==r){if("object"!=typeof i||!i)continue s;{let e,t,o=0;for(let a in i){if(r===String(i[a])){if("@initial"!==a){let e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),c=!0}l+=o,e=!0}++o}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue s}}}(i[l]=i[l]||[]).push([r?"cv":`${e}-${o[e]}`,a,c])}return i},F={},V=c(),W=(e,t)=>V(e,()=>(...n)=>{let r=()=>{for(let r of n){let n=T(r="object"==typeof r&&r||{});if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}M(r,[],[],e,e=>{t.rules.global.apply(e)})}}return""};return d(r,{toString:r})}),Y=c(),X=(e,t)=>Y(e,()=>n=>{let r=`${w(e.prefix)}k-${T(n)}`,i=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);let i=[];M(n,[],[],e,e=>i.push(e));let o=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(o)}return r};return d(i,{get name(){return i()},toString:i})}),B=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+w(this.prefix)+w(this.scale)+this.token}toString(){return this.computedValue}},q=c(),U=(e,t)=>q(e,()=>(n,r)=>{r="object"==typeof n&&n||Object(r);let i=`.${n=(n="string"==typeof n?n:"")||`${w(e.prefix)}t-${T(r)}`}`,o={},a=[];for(let t in r)for(let n in o[t]={},r[t]){let i=`--${w(e.prefix)}${t}-${n}`,s=S(String(r[t][n]),e.prefix,t);o[t][n]=new B(n,s,t,e.prefix),a.push(`${i}:${s}`)}let s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);let i=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(i)}return n};return{...o,get className(){return s()},selector:i,toString:s}}),H=c(),G=c(),J=e=>{let t=(e=>{let t=!1,n=H(e,e=>{t=!0;let n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},i="object"==typeof e.root?e.root||null:globalThis.document||null,o="object"==typeof e.theme&&e.theme||{},a={prefix:n,media:r,theme:o,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...s},utils:"object"==typeof e.utils&&e.utils||{}},l=Q(i),c={css:I(a,l),globalCss:W(a,l),keyframes:X(a,l),createTheme:U(a,l),reset(){l.reset(),c.theme.toString()},theme:{},sheet:l,config:a,prefix:n,getCssText:l.toString,toString:l.toString};
382return String(c.theme=c.createTheme(o)),c});return t||n.reset(),n})(e);return t.styled=(({config:e,sheet:t})=>G(e,()=>{let n=I(e,t);return(...e)=>{let t=n(...e),i=t[u].type,o=r.forwardRef((e,n)=>{let o=e&&e.as||i,{props:a,deferredInjector:s}=t(e);return delete a.as,a.ref=n,s?r.createElement(r.Fragment,null,r.createElement(o,a),r.createElement(s,null)):r.createElement(o,a)});return o.className=t.className,o.displayName=`Styled.${i.displayName||i.name||i}`,o.selector=t.selector,o.toString=()=>t.selector,o[u]=t[u],o}}))(t),t}},60657:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=Object.prototype.hasOwnProperty;function i(e,t,n){for(n of e.keys())if(o(n,t))return n}function o(e,t){var n,a,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&o(e[a],t[a]););return -1===a}if(n===Set){if(e.size!==t.size)return!1;for(a of e)if((s=a)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(a of e)if((s=a[0])&&"object"==typeof s&&!(s=i(t,s))||!o(a[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return -1===a}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return -1===a}if(!n||"object"==typeof e){for(n in a=0,e)if(r.call(e,n)&&++a&&!r.call(t,n)||!(n in t)||!o(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!=e&&t!=t}},21592:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("74339"),i=n("75405"),o=(e,t)=>{let n=i.hex.hsl(e);return n[2]+=t,n[2]=Math.min(100,Math.max(0,n[2])),r.to.hex(i.hsl.rgb(n))},a=(e,t)=>{let n={};return e.forEach((e,r)=>{if(void 0!==t&&!1!==t){let i=o(t,0+10*r);n[e]={index:r+1,color:i}}else n[e]=r+1}),n}},36567:function(e,t,n){"use strict";n.d(t,{kG:function(){return a}});var r=/(%?)(%([sdjo]))/g;function i(e,...t){if(0===t.length)return e;let n=0,o=e.replace(r,(e,r,i,o)=>{let a=function(e,t){switch(t){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if("string"==typeof e)return e;let t=JSON.stringify(e);if("{}"===t||"[]"===t||/^\[object .+?\]$/.test(t))return e;return t}}}(t[n],o);return r?e:(n++,a)});return n<t.length&&(o+=` ${t.slice(n).join(" ")}`),o=o.replace(/%{2,2}/g,"%")}var o=class extends Error{constructor(e,...t){super(e),this.message=e,this.name="Invariant Violation",this.message=i(e,...t),!function(e){if(!e.stack)return;let t=e.stack.split("\n");t.splice(1,2),e.stack=t.join("\n")}(this)}},a=(e,t,...n)=>{if(!e)throw new o(t,...n)};a.as=(e,t,n,...r)=>{if(!t)throw null!=e.prototype.name?new e(i(n,r)):e(i(n,r))}},38378:function(e,t,n){"use strict";n.d(t,{AW:function(){return i},G6:function(){return u},Ie:function(){return x},MM:function(){return p},Me:function(){return g},Pe:function(){return O},U9:function(){return v},V5:function(){return f},Xf:function(){return a},Zj:function(){return l},cr:function(){return c},ex:function(){return m},ij:function(){return s},j7:function(){return b},p7:function(){return y},r:function(){return h},r3:function(){return o}});var r=n("95255");function i(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function o(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function a(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function s(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function l(e){return 0===e.mozInputSource&&!!e.isTrusted||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function c(e){return!function(){return s().includes("jsdom/")}()&&(!d()&&0===e.width&&0===e.height||d()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function u(){return/apple/i.test(navigator.vendor)}function d(){let e=/android/i;return e.test(a())||e.test(s())}function f(){return a().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function h(e,t){let n=["mouse","pen"];return!t&&n.push("",void 0),n.includes(e)}function p(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function g(e){return(null==e?void 0:e.ownerDocument)||document}function O(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function v(e){return"composedPath"in e?e.composedPath()[0]:e.target}function b(e){return(0,r.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function y(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&"combobox"===e.getAttribute("role")&&b(e)}},42137:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});let r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class a{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,i,o,a){let s=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==i)return o.push(t[0]+";");for(let n in i){let a=i[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>
382e.concat(t)),a,o);else if(a&&"object"==typeof a){if(!l)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),a,s,c)}else null!=a&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+a+";")}(s.length||c)&&o.push((!n||l||a?t:t.map(n)).join(", ")+" {"+s.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[r]||1;return o[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[i],o=n&&n.nonce;r?o&&r.setNonce(o):r=new l(e,o),r.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class l{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=s.get(n);if(t)return e[i]=t;this.sheet=new r.CSSStyleSheet,s.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t<e.length;t++){let o=e[t],a=this.modules.indexOf(o);if(a<i&&a>-1&&(this.modules.splice(a,1),i--,a=-1),-1==a){if(this.modules.splice(i++,0,o),n)for(let e=0;e<o.rules.length;e++)n.insertRule(o.rules[e],r++)}else{for(;i<a;)r+=this.modules[i++].rules.length;r+=o.rules.length,i++}}if(n)0>t.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},59287:function(e,t,n){"use strict";n.d(t,{Ab:function(){return a},Fr:function(){return s},G$:function(){return o},JM:function(){return d},K$:function(){return c},MS:function(){return r},h5:function(){return l},lK:function(){return u},uj:function(){return i}});var r="-ms-",i="-moz-",o="-webkit-",a="comm",s="rule",l="decl",c="@import",u="@keyframes",d="@layer"},78479:function(e,t,n){"use strict";n.d(t,{cD:function(){return o},qR:function(){return i}});var r=n("92426");function i(e){var t=(0,r.Ei)(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function o(e){return function(t){!t.root&&(t=t.return)&&e(t)}}},62941:function(e,t,n){"use strict";n.d(t,{MY:function(){return a}});var r=n("59287"),i=n("92426"),o=n("91704");function a(e){return(0,o.cE)(function e(t,n,a,c,u,d,f,h,p){for(var m=0,g=0,O=f,v=0,b=0,y=0,x=1,w=1,S=1,k=0,P="",M=u,j=d,C=c,_=P;w;)switch(y=k,k=(0,o.lp)()){case 40:if(108!=y&&58==(0,i.uO)(_,O-1)){-1!=(0,i.Cw)(_+=(0,i.gx)((0,o.iF)(k),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:_+=(0,o.iF)(k);break;case 9:case 10:case 13:case 32:_+=(0,o.Qb)(y);break;case 92:_+=(0,o.kq)((0,o.Ud)()-1,7);continue;case 47:switch((0,o.fj)()){case 42:case 47:(0,i.R3)(function(e,t,n){return(0,o.dH)(e,t,n,r.Ab,(0,i.Dp)((0,o.Tb)()),(0,i.tb)(e,2,-2),0)}((0,o.q6)((0,o.lp)(),(0,o.Ud)()),n,a),p);break;default:_+="/"}break;case 123*x:h[m++]=(0,i.to)(_)*S;case 125*x:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+g:-1==S&&(_=(0,i.gx)(_,/\f/g,"")),b>0&&(0,i.to)(_)-O&&(0,i.R3)(b>32?l(_+";",c,a,O-1):l((0,i.gx)(_," ","")+";",c,a,O-2),p);break;case 59:_+=";";default:if((0,i.R3)(C=s(_,n,a,m,g,u,h,P,M=[],j=[],O),d),123===k){if(0===g)e(_,n,C,C,M,d,O,h,j);else switch(99===v&&110===(0,i.uO)(_,3)?100:v){case 100:case 108:case 109:case 115:e(t,C,C,c&&(0,i.R3)(s(t,C,C,0,0,u,h,P,u,M=[],O),j),u,j,O,h,c?M:j);break;default:e(_,C,C,C,[""],j,0,h,j)}}}m=g=b=0,x=S=1,P=_="",O=f;break;case 58:O=1+(0,i.to)(_),b=y;default:if(x<1){if(123==k)--x;else if(125==k&&0==x++&&125==(0,o.mp)())continue}switch(_+=(0,i.Dp)(k),k*x){case 38:S=g>0?1:(_+="\f",-1);break;case 44:h[m++]=((0,i.to)(_)-1)*S,S=1;break;case 64:45===(0,o.fj)()&&(_+=(0,o.iF)((0,o.lp)())),v=(0,o.fj)(),g=O=(0,i.to)(P=_+=(0,o.QU)((0,o.Ud)())),k++;break;case 45:45===y&&2==(0,i.to)(_)&&(x=0)}}return d}("",null,null,null,[""],e=(0,o.un)(e),0,[0],e))}function s(e,t,n,a,s,l,c,u,d,f,h){for(var p=s-1,m=0===s?l:[""],g=(0,i.Ei)(m),O=0,v=0,b=0;O<a;++O)for(var y=0,x=(0,i.tb)(e,p+1,p=(0,i.Wn)(v=c[O])),w=e;y<g;++y)(w=(0,i.fy)(v>0?m[y]+" "+x:(0,i.gx)(x,/&\f/g,m[y])))&&(d[b++]=w);return(0,o.dH)(e,t,n,0===s?r.Fr:u,d,f,h)}function l(e,t,n,a){return(0,o.dH)(e,t,n,r.h5,(0,i.tb)(e,0,a),(0,i.tb)(e,a+1,-1),a)}},15701:function(e,t,n){"use strict";n.d(t,{P:function(){return a},q:function(){return o}});var r=n("59287"),i=n("92426");function o(e,t){for(var n="",r=(0,i.Ei)(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.JM:if(e.children.length)break;case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+o(e.children,a)+"}";case r.Fr:e.value=e.props.join(",")}return(0,i.to)(n=o(e.children,a))?e.return=e.value+"{"+n+"}":""}},91704:function(e,t,n){"use strict";n.d(t,{FK:function(){return s},JG:function(){return d},QU:function(){return P},Qb:function(){return w},Tb:function(){return f},Ud:function(){return g},cE:function(){return y},dH:function(){return u},fj:function(){return m},iF:function(){return x},kq:function(){return S},lp:function(){return p},mp:function(){return h},q6:function(){return k},r:function(){return v},tP:function(){return O},un:function(){return b}});var r=n("92426"),i=1,o=1,a=0,s=0,l=0,c="";function u(e,t,n,r,a,s,l){return{value:e,root:t,parent:n,type:r,props:a,children:s,line:i,column:o,length:l,return:""}}function d(e,t){return(0,r.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function f(){return l}function h(){return l=s>0?(0,r.uO)(c,--s):0,o--,10===l&&(o=1,i--),l}function p(){return l=s<a?(0,r.uO)(c,s++):0,o++,10===l&&(o=1,i++),l}function m(){return(0,r.uO)(c,s)}function g(){return s}function O(e,t){return(0,r.tb)(c,e,t)}function v(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return i=o=1,a=(0,r.to)(c=e),s=0,[]}function y(e){return c="",e}
382function x(e){return(0,r.fy)(O(s-1,function e(t){for(;p();)switch(l){case t:return s;case 34:case 39:34!==t&&39!==t&&e(l);break;case 40:41===t&&e(t);break;case 92:p()}return s}(91===e?e+2:40===e?e+1:e)))}function w(e){for(;l=m();)if(l<33)p();else break;return v(e)>2||v(l)>3?"":" "}function S(e,t){for(;--t&&p()&&!(l<48)&&!(l>102)&&(!(l>57)||!(l<65))&&(!(l>70)||!(l<97)););return O(e,s+(t<6&&32==m()&&32==p()))}function k(e,t){for(;p();)if(e+l===57)break;else if(e+l===84&&47===m())break;return"/*"+O(t,s-1)+"*"+(0,r.Dp)(47===e?e:p())}function P(e){for(;!v(m());)p();return O(e,s)}},92426:function(e,t,n){"use strict";n.d(t,{$e:function(){return g},Cw:function(){return u},Dp:function(){return i},EQ:function(){return l},Ei:function(){return p},R3:function(){return m},Wn:function(){return r},f0:function(){return o},fy:function(){return s},gx:function(){return c},tb:function(){return f},to:function(){return h},uO:function(){return d},vp:function(){return a}});var r=Math.abs,i=String.fromCharCode,o=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function h(e){return e.length}function p(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},53493:function(e,t,n){"use strict";n.d(t,{YG:function(){return c},uY:function(){return i},ue:function(){return r}});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)r[48+s]=r[96+s]=String(s);for(var s=1;s<=24;s++)r[s+111]="F"+s;for(var s=65;s<=90;s++)r[s]=String.fromCharCode(s+32),i[s]=String.fromCharCode(s);for(var l in r)!i.hasOwnProperty(l)&&(i[l]=r[l]);function c(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},47165:function(e,t,n){"use strict";n.d(t,{FD:function(){return l},OF:function(){return s},jQ:function(){return i},xe:function(){return c}});var r={scalingRatio:1.5,viewportMin:320,viewportMax:1500,scalingRatioFont:1.25,fontSizeToLineHeightRatio:1.25},i=e=>{Object.assign(r,e)},o=e=>parseFloat(e.toFixed(3)),a=(e,t)=>{let n=o(e),r=o(t),i=`${r}px * var(--min)`,a=`${n}px * var(--max)`;return`calc((${r}px + ${n-r} * var(--factor)) * var(--between) + ${i} + ${a})`},s=()=>({":root":{"--factor":`(100vw - ${r.viewportMin}px) / ${r.viewportMax-r.viewportMin}`,"--max":"0","--between":"1","--min":"0",[`@media (min-width: ${r.viewportMax}px), print`]:{"--max":"1","--between":"0"},[`@media (max-width: ${r.viewportMin}px)`]:{"--between":"0","--min":"1"}}}),l=(e,t=e/r.scalingRatio)=>{let n=e=>`wasser: A number is expected as the ${e} parameter for wasser(max: number, min: number).`;if("number"!=typeof e)throw Error(n("first"));if("number"!=typeof e)throw Error(n("second"));return a(e,t)},c=(e,t=e/r.scalingRatioFont,n=r.fontSizeToLineHeightRatio)=>{if("number"!=typeof e||"number"!=typeof t)throw Error("wasser fontObject(): A number is expected as the first and second parameter.");return{fontSize:a(e,t),lineHeight:a(e*n,t*n)}}}},f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={id:e,loaded:!1,exports:{}};return d[e].call(n.exports,n,n.exports,h),n.loaded=!0,n.exports}
382h.m=d,h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},h.t=function(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var i=Object.create(null);h.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(function(e){o[e]=function(){return n[e]}});return o.default=function(){return n},h.d(i,o),i},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,n){return h.f[n](e,t),t},[]))},h.k=function(e){return""+e+".css"},h.u=function(e){return""+e+"."+({122:"4e14bf86e245f3d2a146",306:"12a4b6bd6229c1bb36ae",616:"cd232ce6892879b332d9",804:"792baf4a61cfa1c1cf82"})[e]+".js"},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},h.l=function(e,t,r,i){if(n[e]){n[e].push(t);return}if(void 0!==r){for(var o,a,s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var c=s[l];if(c.getAttribute("src")==e){o=c;break}}}!o&&(a=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,h.nc&&o.setAttribute("nonce",h.nc),o.src=e),n[e]=[t];var u=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var i=n[e];if(delete n[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),a&&document.head.appendChild(o)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},h.p="",r={},i="data-webpack-loading",o=function(e,t,n,r){var o,a,s="chunk-"+e;if(!r){for(var l=document.getElementsByTagName("link"),c=0;c<l.length;c++){var u=l[c],d=u.getAttribute("href")||u.href;if(d&&!d.startsWith(h.p)&&(d=h.p+(d.startsWith("/")?d.slice(1):d)),"stylesheet"==u.rel&&(d&&d.startsWith(t)||u.getAttribute("data-webpack")==":"+s)){o=u;break}}if(!n)return o}!o&&(a=!0,(o=document.createElement("link")).setAttribute("data-webpack",":"+s),o.setAttribute(i,1),o.rel="stylesheet",o.href=t);var f=function(e,t){if(o.onerror=o.onload=null,o.removeAttribute(i),clearTimeout(p),t&&"load"!=t.type&&o.parentNode.removeChild(o),n(t),e)return e(t)};if(o.getAttribute(i)){var p=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload)}else f(void 0,{type:"load",target:o});return r?r.parentNode.insertBefore(o,r):a&&document.head.appendChild(o),o},h.f.css=function(e,t){var n=h.o(r,e)?r[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(909==e){var i=new Promise(function(t,i){n=r[e]=[t,i]});t.push(n[2]=i);var a=h.p+h.k(e),s=Error();o(e,a,function(t){if(h.o(r,e)&&(0!==(n=r[e])&&(r[e]=void 0),n)){if("load"!==t.type){var i=t&&t.type,o=t&&t.target&&t.target.src;s.message="Loading css chunk "+e+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}else n[0]()}})}else r[e]=0}},a=function(e,t){var n=t[0];e&&e(t);for(var i=0;i<n.length;i++)void 0===r[n[i]]&&(r[n[i]]=0)},(s=self.webpackChunk=self.webpackChunk||[]).forEach(a.bind(null,0)),s.push=a.bind(null,s.push.bind(s)),l={909:0},h.f.j=function(e,t){var n=h.o(l,e)?l[e]:void 0;if(0!==n){if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=l[e]=[t,r]});t.push(n[2]=r);var i=h.p+h.u(e),o=Error();h.l(i,function(t){if(h.o(l,e)&&(0!==(n=l[e])&&(l[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;o.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",o.name="ChunkLoadError",o.type=r,o.request=i,n[1](o)}},"chunk-"+e,e)}}},c=function(e,t){var n=t[0],r=t[1],i=t[2],o,a,s=0;if(n.some(function(e){return 0!==l[e]})){for(o in r)h.o(r,o)&&(h.m[o]=r[o]);i&&i(h)}for(e&&e(t);s<n.length;
382s++)a=n[s],h.o(l,a)&&l[a]&&l[a][0](),l[a]=0},(u=self.webpackChunk=self.webpackChunk||[]).forEach(c.bind(null,0)),u.push=c.bind(null,u.push.bind(u)),h("48967")}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.