🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 01:15:35 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
public_html
/
wp-content
/
plugins
/
easy-accordion-free
/
admin
/
Dashboard
/
build
📍 /home/eliteewa/public_html/wp-content/plugins/easy-accordion-free/admin/Dashboard/build
🔄 Refresh
✏️
Editing: ea-dashboard.js
Writable
(()=>{var e,t={104(e,t,n){"use strict";var r={};n.r(r),n.d(r,{hasBrowserEnv:()=>js,hasStandardBrowserEnv:()=>Zs,hasStandardBrowserWebWorkerEnv:()=>Xs,navigator:()=>Bs,origin:()=>Vs});var i={};n.r(i),n.d(i,{fetchApiData:()=>pu,saveSettings:()=>hu,setApiData:()=>cu,setLoading:()=>uu,setSaving:()=>du});var o={};n.r(o),n.d(o,{getApiData:()=>fu,getBlockVisibility:()=>gu,getDashboardSettings:()=>Ou,getEapShortcodes:()=>vu,getPluginSettings:()=>mu,isLoading:()=>bu,isSaving:()=>yu});const a=window.wp.element,s=window.wp.data,l=window.wp.i18n;var c=n(609),u=n.n(c);let d={data:""},p=e=>{if("object"==typeof window){let t=(e?e.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||d},h=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,f=/\/\*[^]*?\*\/| +/g,m=/\n+/g,g=(e,t)=>{let n="",r="",i="";for(let o in e){let a=e[o];"@"==o[0]?"i"==o[1]?n=o+" "+a+";":r+="f"==o[1]?g(a,o):o+"{"+g(a,"k"==o[1]?"":t)+"}":"object"==typeof a?r+=g(a,t?t.replace(/([^,])+/g,e=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=a&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=g.p?g.p(o,a):o+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},O={},v=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+v(e[n]);return t}return e},b=(e,t,n,r,i)=>{let o=v(e),a=O[o]||(O[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(o));if(!O[a]){let t=o!==e?e:(e=>{let t,n,r=[{}];for(;t=h.exec(e.replace(f,""));)t[4]?r.shift():t[3]?(n=t[3].replace(m," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(m," ").trim();return r[0]})(e);O[a]=g(i?{["@keyframes "+a]:t}:t,n?"":"."+a)}let s=n&&O.g?O.g:null;return n&&(O.g=O[a]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(O[a],t,r,s),a};function y(e){let t=this||{},n=e.call?e(t.p):e;return b(n.unshift?n.raw?((e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":g(e,""):!1===e?"":e}return e+r+(null==o?"":o)},""))(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,p(t.target),t.g,t.o,t.k)}y.bind({g:1});let w,x,S,E=y.bind({k:1});function k(e,t){let n=this||{};return function(){let r=arguments;function i(o,a){let s=Object.assign({},o),l=s.className||i.className;n.p=Object.assign({theme:x&&x()},s),n.o=/ *go\d+/.test(l),s.className=y.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);let c=e;return e[0]&&(c=s.as||e,delete s.as),S&&c[0]&&S(s),w(c,s)}return t?t(i):i}}var R=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,C=(()=>{let e=0;return()=>(++e).toString()})(),P=(()=>{let e;return()=>{if(void 0===e&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),A="default",Q=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return Q(e,{type:e.toasts.find(e=>e.id===r.id)?1:0,toast:r});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+o}))}}},T=[],M={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},_={},I=(e,t=A)=>{_[t]=Q(_[t]||M,e),T.forEach(([e,n])=>{e===t&&n(_[t])})},$=e=>Object.keys(_).forEach(t=>I(e,t)),D=(e=A)=>t=>{I(t,e)},L={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},N=e=>(t,n)=>{let r=((e,t="blank",n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||C()}))(t,e,n);return D(r.toasterId||(e=>Object.keys(_).find(t=>_[t].toasts.some(t=>t.id===e)))(r.id))({type:2,toast:r}),r.id},z=(e,t)=>N("blank")(e,t);z.error=N("error"),z.success=N("success"),z.loading=N("loading"),z.custom=N("custom"),z.dismiss=(e,t)=>{let n={type:3,toastId:e};t?D(t)(n):$(n)},z.dismissAll=e=>z.dismiss(void 0,e),z.remove=(e,t)=>{let n={type:4,toastId:e};t?D(t)(n):$(n)},z.removeAll=e=>z.remove(void 0,e),z.promise=(e,t,n)=>{let r=z.loading(t.loading,{...n,...null==n?void 0:n.loading});return"function"==typeof e&&(e=e()),e.then(e=>{let i=t.success?R(t.success,e):void 0;return i?z.success(i,{id:r,...n,...null==n?void 0:n.success}):z.dismiss(r),e}).catch(e=>{let i=t.error?R(t.error,e):void 0;i?z.error(i,{id:r,...n,...null==n?void 0:n.error}):z.dismiss(r)}),e};var j=E` from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: scale(1) rotate(45deg); opacity: 1; }`,B=E` from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; }`,Z=E` from { transform: scale(0) rotate(90deg); opacity: 0; } to { transform: scale(1) rotate(90deg); opacity: 1; }`,X=k("div")` width: 20px; opacity: 0; height: 20px; border-radius: 10px; background: ${e=>e.primary||"#ff4b4b"}; position: relative; transform: rotate(45deg); animation: ${j} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after, &:before { content: ''; animation: ${B} 0.15s ease-out forwards; animation-delay: 150ms; position: absolute; border-radius: 3px; opacity: 0; background: ${e=>e.secondary||"#fff"}; bottom: 9px; left: 4px; height: 2px; width: 12px; } &:before { animation: ${Z} 0.15s ease-out forwards; animation-delay: 180ms; transform: rotate(90deg); } `,V=E` from { transform: rotate(0deg); } to { transform: rotate(360deg); } `,F=k("div")` width: 12px; height: 12px; box-sizing: border-box; border: 2px solid; border-radius: 100%; border-color: ${e=>e.secondary||"#e0e0e0"}; border-right-color: ${e=>e.primary||"#616161"}; animation: ${V} 1s linear infinite; `,q=E` from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: scale(1) rotate(45deg); opacity: 1; }`,W=E` 0% { height: 0; width: 0; opacity: 0; } 40% { height: 0; width: 6px; opacity: 1; } 100% { opacity: 1; height: 10px; }`,G=k("div")` width: 20px; opacity: 0; height: 20px; border-radius: 10px; background: ${e=>e.primary||"#61d345"}; position: relative; transform: rotate(45deg); animation: ${q} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after { content: ''; box-sizing: border-box; animation: ${W} 0.2s ease-out forwards; opacity: 0; animation-delay: 200ms; position: absolute; border-right: 2px solid; border-bottom: 2px solid; border-color: ${e=>e.secondary||"#fff"}; bottom: 6px; left: 6px; height: 10px; width: 6px; } `,H=k("div")` position: absolute; `,U=k("div")` position: relative; display: flex; justify-content: center; align-items: center; min-width: 20px; min-height: 20px; `,Y=E` from { transform: scale(0.6); opacity: 0.4; } to { transform: scale(1); opacity: 1; }`,K=k("div")` position: relative; transform: scale(0.6); opacity: 0.4; min-width: 20px; animation: ${Y} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; `,J=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return void 0!==t?"string"==typeof t?c.createElement(K,null,t):t:"blank"===n?null:c.createElement(U,null,c.createElement(F,{...r}),"loading"!==n&&c.createElement(H,null,"error"===n?c.createElement(X,{...r}):c.createElement(G,{...r})))},ee=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,te=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,ne=k("div")` display: flex; align-items: center; background: #fff; color: #363636; line-height: 1.3; will-change: transform; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); max-width: 350px; pointer-events: auto; padding: 8px 10px; border-radius: 8px; `,re=k("div")` display: flex; justify-content: center; margin: 4px 10px; color: inherit; flex: 1 1 auto; white-space: pre-line; `,ie=c.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?((e,t)=>{let n=e.includes("top")?1:-1,[r,i]=P()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[ee(n),te(n)];return{animation:t?`${E(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${E(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(e.position||t||"top-center",e.visible):{opacity:0},o=c.createElement(J,{toast:e}),a=c.createElement(re,{...e.ariaProps},R(e.message,e));return c.createElement(ne,{className:e.className,style:{...i,...n,...e.style}},"function"==typeof r?r({icon:o,message:a}):c.createElement(c.Fragment,null,o,a))});!function(e){g.p=void 0,w=e,x=void 0,S=void 0}(c.createElement);var oe=({id:e,className:t,style:n,onHeightUpdate:r,children:i})=>{let o=c.useCallback(t=>{if(t){let n=()=>{let n=t.getBoundingClientRect().height;r(e,n)};n(),new MutationObserver(n).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return c.createElement("div",{ref:o,className:t,style:n},i)},ae=y` z-index: 9999; > * { pointer-events: auto; } `,se=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,toasterId:o,containerStyle:a,containerClassName:s})=>{let{toasts:l,handlers:u}=((e,t="default")=>{let{toasts:n,pausedAt:r}=((e={},t=A)=>{let[n,r]=(0,c.useState)(_[t]||M),i=(0,c.useRef)(_[t]);(0,c.useEffect)(()=>(i.current!==_[t]&&r(_[t]),T.push([t,r]),()=>{let e=T.findIndex(([e])=>e===t);e>-1&&T.splice(e,1)}),[t]);let o=n.toasts.map(t=>{var n,r,i;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||L[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...n,toasts:o}})(e,t),i=(0,c.useRef)(new Map).current,o=(0,c.useCallback)((e,t=1e3)=>{if(i.has(e))return;let n=setTimeout(()=>{i.delete(e),a({type:4,toastId:e})},t);i.set(e,n)},[]);(0,c.useEffect)(()=>{if(r)return;let e=Date.now(),i=n.map(n=>{if(n.duration===1/0)return;let r=(n.duration||0)+n.pauseDuration-(e-n.createdAt);if(!(r<0))return setTimeout(()=>z.dismiss(n.id,t),r);n.visible&&z.dismiss(n.id)});return()=>{i.forEach(e=>e&&clearTimeout(e))}},[n,r,t]);let a=(0,c.useCallback)(D(t),[t]),s=(0,c.useCallback)(()=>{a({type:5,time:Date.now()})},[a]),l=(0,c.useCallback)((e,t)=>{a({type:1,toast:{id:e,height:t}})},[a]),u=(0,c.useCallback)(()=>{r&&a({type:6,time:Date.now()})},[r,a]),d=(0,c.useCallback)((e,t)=>{let{reverseOrder:r=!1,gutter:i=8,defaultPosition:o}=t||{},a=n.filter(t=>(t.position||o)===(e.position||o)&&t.height),s=a.findIndex(t=>t.id===e.id),l=a.filter((e,t)=>t<s&&e.visible).length;return a.filter(e=>e.visible).slice(...r?[l+1]:[0,l]).reduce((e,t)=>e+(t.height||0)+i,0)},[n]);return(0,c.useEffect)(()=>{n.forEach(e=>{if(e.dismissed)o(e.id,e.removeDelay);else{let t=i.get(e.id);t&&(clearTimeout(t),i.delete(e.id))}})},[n,o]),{toasts:n,handlers:{updateHeight:l,startPause:s,endPause:u,calculateOffset:d}}})(n,o);return c.createElement("div",{"data-rht-toaster":o||"",style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...a},className:s,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(n=>{let o=n.position||t,a=((e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:P()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}})(o,u.calculateOffset(n,{reverseOrder:e,gutter:r,defaultPosition:t}));return c.createElement(oe,{id:n.id,key:n.id,onHeightUpdate:u.updateHeight,className:n.visible?ae:"",style:a},"custom"===n.type?R(n.message,n):i?i(n):c.createElement(ie,{toast:n,position:o}))}))},le=z;function ce(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ce(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const ue=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ce(e))&&(r&&(r+=" "),r+=t);return r};function de(e,t,n=void 0){const r={};for(const i in e){const o=e[i];let a="",s=!0;for(let e=0;e<o.length;e+=1){const r=o[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[i]=a}return r}const pe=window.ReactJSXRuntime,he=c.createContext();function fe(...e){const t=c.useRef(void 0),n=c.useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return c.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}function me(e){return e&&e.ownerDocument||document}function ge(e){return parseInt(c.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Oe=function(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t},ve=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function be(e){const t=[],n=[];return Array.from(e.querySelectorAll(ve)).forEach((e,r)=>{const i=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function ye(){return!0}const we=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=be,isEnabled:a=ye,open:s}=e,l=c.useRef(!1),u=c.useRef(null),d=c.useRef(null),p=c.useRef(null),h=c.useRef(null),f=c.useRef(!1),m=c.useRef(null),g=fe(ge(t),m),O=c.useRef(null);c.useEffect(()=>{s&&m.current&&(f.current=!n)},[n,s]),c.useEffect(()=>{if(!s||!m.current)return;const e=me(m.current),t=Oe(e);return m.current.contains(t)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),f.current&&m.current.focus()),()=>{i||(p.current&&p.current.focus&&(l.current=!0,p.current.focus()),p.current=null)}},[s]),c.useEffect(()=>{if(!s||!m.current)return;const e=me(m.current),t=t=>{O.current=t,!r&&a()&&"Tab"===t.key&&Oe(e)===m.current&&t.shiftKey&&(l.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;const n=Oe(e);if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(n))return;if(r&&n!==u.current&&n!==d.current)return;if(n!==h.current)h.current=null;else if(null!==h.current)return;if(!f.current)return;let i=[];if(n!==u.current&&n!==d.current||(i=o(m.current)),i.length>0){const e=Boolean(O.current?.shiftKey&&"Tab"===O.current?.key),t=i[0],n=i[i.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const i=setInterval(()=>{const t=Oe(e);t&&"BODY"===t.tagName&&n()},50);return()=>{clearInterval(i),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,i,a,s,o]);const v=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return(0,pe.jsxs)(c.Fragment,{children:[(0,pe.jsx)("div",{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),c.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,h.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,pe.jsx)("div",{tabIndex:s?0:-1,onFocus:v,ref:d,"data-testid":"sentinelEnd"})]})},xe=window.ReactDOM;var Se=n.n(xe);const Ee="undefined"!=typeof window?c.useLayoutEffect:c.useEffect;function ke(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const Re=c.forwardRef(function(e,t){const{children:n,container:r,disablePortal:i=!1}=e,[o,a]=c.useState(null),s=fe(c.isValidElement(n)?ge(n):null,t);if(Ee(()=>{i||a(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,i]),Ee(()=>{if(o&&!i)return ke(t,o),()=>{ke(t,null)}},[t,o,i]),i){if(c.isValidElement(n)){const e={ref:s};return c.cloneElement(n,e)}return n}return o?xe.createPortal(n,o):o});function Ce(){return Ce=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},Ce.apply(null,arguments)}var Pe=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?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){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ae=Math.abs,Qe=String.fromCharCode,Te=Object.assign;function Me(e){return e.trim()}function _e(e,t,n){return e.replace(t,n)}function Ie(e,t){return e.indexOf(t)}function $e(e,t){return 0|e.charCodeAt(t)}function De(e,t,n){return e.slice(t,n)}function Le(e){return e.length}function Ne(e){return e.length}function ze(e,t){return t.push(e),e}var je=1,Be=1,Ze=0,Xe=0,Ve=0,Fe="";function qe(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:je,column:Be,length:a,return:""}}function We(e,t){return Te(qe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ge(){return Ve=Xe>0?$e(Fe,--Xe):0,Be--,10===Ve&&(Be=1,je--),Ve}function He(){return Ve=Xe<Ze?$e(Fe,Xe++):0,Be++,10===Ve&&(Be=1,je++),Ve}function Ue(){return $e(Fe,Xe)}function Ye(){return Xe}function Ke(e,t){return De(Fe,e,t)}function Je(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 et(e){return je=Be=1,Ze=Le(Fe=e),Xe=0,[]}function tt(e){return Fe="",e}function nt(e){return Me(Ke(Xe-1,ot(91===e?e+2:40===e?e+1:e)))}function rt(e){for(;(Ve=Ue())&&Ve<33;)He();return Je(e)>2||Je(Ve)>3?"":" "}function it(e,t){for(;--t&&He()&&!(Ve<48||Ve>102||Ve>57&&Ve<65||Ve>70&&Ve<97););return Ke(e,Ye()+(t<6&&32==Ue()&&32==He()))}function ot(e){for(;He();)switch(Ve){case e:return Xe;case 34:case 39:34!==e&&39!==e&&ot(Ve);break;case 40:41===e&&ot(e);break;case 92:He()}return Xe}function at(e,t){for(;He()&&e+Ve!==57&&(e+Ve!==84||47!==Ue()););return"/*"+Ke(t,Xe-1)+"*"+Qe(47===e?e:He())}function st(e){for(;!Je(Ue());)He();return Ke(e,Xe)}var lt="-ms-",ct="-moz-",ut="-webkit-",dt="comm",pt="rule",ht="decl",ft="@keyframes";function mt(e,t){for(var n="",r=Ne(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function gt(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ht:return e.return=e.return||e.value;case dt:return"";case ft:return e.return=e.value+"{"+mt(e.children,r)+"}";case pt:e.value=e.props.join(",")}return Le(n=mt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ot(e){return tt(vt("",null,null,null,[""],e=et(e),0,[0],e))}function vt(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,O=1,v=0,b="",y=i,w=o,x=r,S=b;g;)switch(f=v,v=He()){case 40:if(108!=f&&58==$e(S,d-1)){-1!=Ie(S+=_e(nt(v),"&","&\f"),"&\f")&&(O=-1);break}case 34:case 39:case 91:S+=nt(v);break;case 9:case 10:case 13:case 32:S+=rt(f);break;case 92:S+=it(Ye()-1,7);continue;case 47:switch(Ue()){case 42:case 47:ze(yt(at(He(),Ye()),t,n),l);break;default:S+="/"}break;case 123*m:s[c++]=Le(S)*O;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==O&&(S=_e(S,/\f/g,"")),h>0&&Le(S)-d&&ze(h>32?wt(S+";",r,n,d-1):wt(_e(S," ","")+";",r,n,d-2),l);break;case 59:S+=";";default:if(ze(x=bt(S,t,n,c,u,i,s,b,y=[],w=[],d),o),123===v)if(0===u)vt(S,t,x,x,y,o,d,s,w);else switch(99===p&&110===$e(S,3)?100:p){case 100:case 108:case 109:case 115:vt(e,x,x,r&&ze(bt(e,x,x,0,0,i,s,b,i,y=[],d),w),i,w,d,s,r?y:w);break;default:vt(S,x,x,x,[""],w,0,s,w)}}c=u=h=0,m=O=1,b=S="",d=a;break;case 58:d=1+Le(S),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Ge())continue;switch(S+=Qe(v),v*m){case 38:O=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(Le(S)-1)*O,O=1;break;case 64:45===Ue()&&(S+=nt(He())),p=Ue(),u=d=Le(b=S+=st(Ye())),v++;break;case 45:45===f&&2==Le(S)&&(m=0)}}return o}function bt(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=Ne(p),f=0,m=0,g=0;f<r;++f)for(var O=0,v=De(e,d+1,d=Ae(m=a[f])),b=e;O<h;++O)(b=Me(m>0?p[O]+" "+v:_e(v,/&\f/g,p[O])))&&(l[g++]=b);return qe(e,t,n,0===i?pt:s,l,c,u)}function yt(e,t,n){return qe(e,t,n,dt,Qe(Ve),De(e,2,-2),0)}function wt(e,t,n,r){return qe(e,t,n,ht,De(e,0,r),De(e,r+1,-1),r)}var xt=function(e,t,n){for(var r=0,i=0;r=i,i=Ue(),38===r&&12===i&&(t[n]=1),!Je(i);)He();return Ke(e,Xe)},St=new WeakMap,Et=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){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)||St.get(n))&&!r){St.set(e,!0);for(var i=[],o=function(e,t){return tt(function(e,t){var n=-1,r=44;do{switch(Je(r)){case 0:38===r&&12===Ue()&&(t[n]=1),e[n]+=xt(Xe-1,t,n);break;case 2:e[n]+=nt(r);break;case 4:if(44===r){e[++n]=58===Ue()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Qe(r)}}while(r=He());return e}(et(e),t))}(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},kt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Rt(e,t){switch(function(e,t){return 45^$e(e,0)?(((t<<2^$e(e,0))<<2^$e(e,1))<<2^$e(e,2))<<2^$e(e,3):0}(e,t)){case 5103:return ut+"print-"+e+e;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 ut+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ut+e+ct+e+lt+e+e;case 6828:case 4268:return ut+e+lt+e+e;case 6165:return ut+e+lt+"flex-"+e+e;case 5187:return ut+e+_e(e,/(\w+).+(:[^]+)/,ut+"box-$1$2"+lt+"flex-$1$2")+e;case 5443:return ut+e+lt+"flex-item-"+_e(e,/flex-|-self/,"")+e;case 4675:return ut+e+lt+"flex-line-pack"+_e(e,/align-content|flex-|-self/,"")+e;case 5548:return ut+e+lt+_e(e,"shrink","negative")+e;case 5292:return ut+e+lt+_e(e,"basis","preferred-size")+e;case 6060:return ut+"box-"+_e(e,"-grow","")+ut+e+lt+_e(e,"grow","positive")+e;case 4554:return ut+_e(e,/([^-])(transform)/g,"$1"+ut+"$2")+e;case 6187:return _e(_e(_e(e,/(zoom-|grab)/,ut+"$1"),/(image-set)/,ut+"$1"),e,"")+e;case 5495:case 3959:return _e(e,/(image-set\([^]*)/,ut+"$1$`$1");case 4968:return _e(_e(e,/(.+:)(flex-)?(.*)/,ut+"box-pack:$3"+lt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ut+e+e;case 4095:case 3583:case 4068:case 2532:return _e(e,/(.+)-inline(.+)/,ut+"$1$2")+e;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(Le(e)-1-t>6)switch($e(e,t+1)){case 109:if(45!==$e(e,t+4))break;case 102:return _e(e,/(.+:)(.+)-([^]+)/,"$1"+ut+"$2-$3$1"+ct+(108==$e(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ie(e,"stretch")?Rt(_e(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==$e(e,t+1))break;case 6444:switch($e(e,Le(e)-3-(~Ie(e,"!important")&&10))){case 107:return _e(e,":",":"+ut)+e;case 101:return _e(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ut+(45===$e(e,14)?"inline-":"")+"box$3$1"+ut+"$2$3$1"+lt+"$2box$3")+e}break;case 5936:switch($e(e,t+11)){case 114:return ut+e+lt+_e(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ut+e+lt+_e(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ut+e+lt+_e(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ut+e+lt+e+e}return e}var Ct=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ht:e.return=Rt(e.value,e.length);break;case ft:return mt([We(e,{value:_e(e.value,"@","@"+ut)})],r);case pt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return mt([We(e,{props:[_e(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return mt([We(e,{props:[_e(t,/:(plac\w+)/,":"+ut+"input-$1")]}),We(e,{props:[_e(t,/:(plac\w+)/,":-moz-$1")]}),We(e,{props:[_e(t,/:(plac\w+)/,lt+"input-$1")]})],r)}return""})}}],Pt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||Ct,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l,c,u,d,p=[gt,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[Et,kt].concat(o,p),u=Ne(c),function(e,t,n,r){for(var i="",o=0;o<u;o++)i+=c[o](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,function(e){mt(Ot(e),h)}(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new Pe({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return f.sheet.hydrate(s),f};function At(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Qt=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Tt=function(e,t,n){Qt(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},Mt={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};function _t(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var It=/[A-Z]|^ms/g,$t=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Dt=function(e){return 45===e.charCodeAt(1)},Lt=function(e){return null!=e&&"boolean"!=typeof e},Nt=_t(function(e){return Dt(e)?e:e.replace(It,"-$&").toLowerCase()}),zt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace($t,function(e,t,n){return Bt={name:t,styles:n,next:Bt},t})}return 1===Mt[e]||Dt(e)||"number"!=typeof t||0===t?t:t+"px"};function jt(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Bt={name:i.name,styles:i.styles,next:Bt},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Bt={name:a.name,styles:a.styles,next:Bt},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=jt(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":Lt(s)&&(r+=Nt(o)+":"+zt(o,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=jt(e,t,a);switch(o){case"animation":case"animationName":r+=Nt(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Lt(a[c])&&(r+=Nt(o)+":"+zt(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Bt,l=n(e);return Bt=s,jt(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Bt,Zt=/label:\s*([^\s;{]+)\s*(;|$)/g;function Xt(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Bt=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=jt(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=jt(n,t,e[a]),r&&(i+=o[a]);Zt.lastIndex=0;for(var s,l="";null!==(s=Zt.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Bt}}var Vt=!!c.useInsertionEffect&&c.useInsertionEffect,Ft=Vt||function(e){return e()},qt=(Vt||c.useLayoutEffect,c.createContext("undefined"!=typeof HTMLElement?Pt({key:"css"}):null)),Wt=(qt.Provider,function(e){return(0,c.forwardRef)(function(t,n){var r=(0,c.useContext)(qt);return e(t,r,n)})}),Gt=c.createContext({}),Ht={}.hasOwnProperty,Ut="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Qt(t,n,r),Ft(function(){return Tt(t,n,r)}),null},Kt=Wt(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Ut],o=[r],a="";"string"==typeof e.className?a=At(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var s=Xt(o,void 0,c.useContext(Gt));a+=t.key+"-"+s.name;var l={};for(var u in e)Ht.call(e,u)&&"css"!==u&&u!==Ut&&(l[u]=e[u]);return l.className=a,n&&(l.ref=n),c.createElement(c.Fragment,null,c.createElement(Yt,{cache:t,serialized:s,isStringTag:"string"==typeof i}),c.createElement(i,l))}),Jt=Kt,en=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tn=_t(function(e){return en.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),nn=function(e){return"theme"!==e},rn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?tn:nn},on=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},an=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Qt(t,n,r),Ft(function(){return Tt(t,n,r)}),null},sn=function e(t,n){var r,i,o=t.__emotion_real===t,a=o&&t.__emotion_base||t;void 0!==n&&(r=n.label,i=n.target);var s=on(t,n,o),l=s||rn(a),u=!l("as");return function(){var d=arguments,p=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{var h=d[0];p.push(h[0]);for(var f=d.length,m=1;m<f;m++)p.push(d[m],h[m])}var g=Wt(function(e,t,n){var r=u&&e.as||a,o="",d=[],h=e;if(null==e.theme){for(var f in h={},e)h[f]=e[f];h.theme=c.useContext(Gt)}"string"==typeof e.className?o=At(t.registered,d,e.className):null!=e.className&&(o=e.className+" ");var m=Xt(p.concat(d),t.registered,h);o+=t.key+"-"+m.name,void 0!==i&&(o+=" "+i);var g=u&&void 0===s?rn(r):l,O={};for(var v in e)u&&"as"===v||g(v)&&(O[v]=e[v]);return O.className=o,n&&(O.ref=n),c.createElement(c.Fragment,null,c.createElement(an,{cache:t,serialized:m,isStringTag:"string"==typeof r}),c.createElement(r,O))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+i}}),g.withComponent=function(t,r){return e(t,Ce({},n,r,{shouldForwardProp:on(g,r,!0)})).apply(void 0,p)},g}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){sn[e]=sn(e)});const ln=[];function cn(e){return ln[0]=e,Xt(ln)}var un=n(405);function dn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function pn(e){if(c.isValidElement(e)||(0,un.Hy)(e)||!dn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=pn(e[n])}),t}function hn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return dn(e)&&dn(t)&&Object.keys(t).forEach(i=>{c.isValidElement(t[i])||(0,un.Hy)(t[i])?r[i]=t[i]:dn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&dn(e[i])?r[i]=hn(e[i],t[i],n):n.clone?r[i]=dn(t[i])?pn(t[i]):t[i]:r[i]=t[i]}),r}function fn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,o=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(o);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,i){const o=a.indexOf(i);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[a[o]]?t[a[o]]:i)-r/100}${n})`}return{keys:a,values:o,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...i}}function mn(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const gn={borderRadius:4},On={xs:0,sm:600,md:900,lg:1200,xl:1536},vn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${On[e]}px)`},bn={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:On[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function yn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||vn;return t.reduce((r,i,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){const e=r.breakpoints||vn;return Object.keys(t).reduce((i,o)=>{if(a=e.keys,"@"===(s=o)||s.startsWith("@")&&(a.some(e=>s.startsWith(`@${e}`))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(o)}(r.containerQueries?r:bn,o);e&&(i[e]=n(t[o],o))}else if(Object.keys(e.values||On).includes(o))i[e.up(o)]=n(t[o],o);else{const e=o;i[e]=t[e]}var a,s;return i},{})}return n(t)}function wn(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function xn(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Sn(e){if("string"!=typeof e)throw new Error(xn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function En(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function kn(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:En(e,n)||r,t&&(i=t(i,r,e)),i}const Rn=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=e=>{if(null==e[t])return null;const o=e[t],a=En(e.theme,r)||{};return yn(e,o,e=>{let r=kn(a,i,e);return e===r&&"string"==typeof e&&(r=kn(a,i,`${t}${"default"===e?"":Sn(e)}`,e)),!1===n?r:{[n]:r}})};return o.propTypes={},o.filterProps=[t],o},Cn=function(e,t){return t?hn(e,t,{clone:!1}):e},Pn={m:"margin",p:"padding"},An={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Tn=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Qn[e])return[e];e=Qn[e]}const[t,n]=e.split(""),r=Pn[t],i=An[n]||"";return Array.isArray(i)?i.map(e=>r+e):[r+i]})(t)),e[t])}(),Mn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],In=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],$n=[...Mn,...In];function Dn(e,t,n,r){const i=En(e,t,!0)??n;return"number"==typeof i||"string"==typeof i?e=>"string"==typeof e?e:"string"==typeof i?i.startsWith("var(")&&0===e?0:i.startsWith("var(")&&1===e?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=i[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof i?i:()=>{}}function Ln(e){return Dn(e,"spacing",8)}function Nn(e,t){return"string"==typeof t||null==t?t:e(t)}function zn(e,t){const n=Ln(e.theme);return Object.keys(e).map(r=>function(e,t,n,r){if(!t.includes(n))return null;const i=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Nn(t,n),e),{})}(Tn(n),r);return yn(e,e[n],i)}(e,t,r,n)).reduce(Cn,{})}function jn(e){return zn(e,Mn)}function Bn(e){return zn(e,In)}function Zn(e){return zn(e,$n)}function Xn(e=8,t=Ln({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}jn.propTypes={},jn.filterProps=Mn,Bn.propTypes={},Bn.filterProps=In,Zn.propTypes={},Zn.filterProps=$n;const Vn=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Cn(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function Fn(e){return"number"!=typeof e?e:`${e}px solid`}function qn(e,t){return Rn({prop:e,themeKey:"borders",transform:t})}const Wn=qn("border",Fn),Gn=qn("borderTop",Fn),Hn=qn("borderRight",Fn),Un=qn("borderBottom",Fn),Yn=qn("borderLeft",Fn),Kn=qn("borderColor"),Jn=qn("borderTopColor"),er=qn("borderRightColor"),tr=qn("borderBottomColor"),nr=qn("borderLeftColor"),rr=qn("outline",Fn),ir=qn("outlineColor"),or=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Dn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Nn(t,e)});return yn(e,e.borderRadius,n)}return null};or.propTypes={},or.filterProps=["borderRadius"],Vn(Wn,Gn,Hn,Un,Yn,Kn,Jn,er,tr,nr,or,rr,ir);const ar=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Dn(e.theme,"spacing",8),n=e=>({gap:Nn(t,e)});return yn(e,e.gap,n)}return null};ar.propTypes={},ar.filterProps=["gap"];const sr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Dn(e.theme,"spacing",8),n=e=>({columnGap:Nn(t,e)});return yn(e,e.columnGap,n)}return null};sr.propTypes={},sr.filterProps=["columnGap"];const lr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Dn(e.theme,"spacing",8),n=e=>({rowGap:Nn(t,e)});return yn(e,e.rowGap,n)}return null};function cr(e,t){return"grey"===t?t:e}function ur(e){return e<=1&&0!==e?100*e+"%":e}lr.propTypes={},lr.filterProps=["rowGap"],Vn(ar,sr,lr,Rn({prop:"gridColumn"}),Rn({prop:"gridRow"}),Rn({prop:"gridAutoFlow"}),Rn({prop:"gridAutoColumns"}),Rn({prop:"gridAutoRows"}),Rn({prop:"gridTemplateColumns"}),Rn({prop:"gridTemplateRows"}),Rn({prop:"gridTemplateAreas"}),Rn({prop:"gridArea"})),Vn(Rn({prop:"color",themeKey:"palette",transform:cr}),Rn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:cr}),Rn({prop:"backgroundColor",themeKey:"palette",transform:cr}));const dr=Rn({prop:"width",transform:ur}),pr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||On[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ur(t)}};return yn(e,e.maxWidth,t)}return null};pr.filterProps=["maxWidth"];const hr=Rn({prop:"minWidth",transform:ur}),fr=Rn({prop:"height",transform:ur}),mr=Rn({prop:"maxHeight",transform:ur}),gr=Rn({prop:"minHeight",transform:ur}),Or=(Rn({prop:"size",cssProperty:"width",transform:ur}),Rn({prop:"size",cssProperty:"height",transform:ur}),Vn(dr,pr,hr,fr,mr,gr,Rn({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Fn},borderTop:{themeKey:"borders",transform:Fn},borderRight:{themeKey:"borders",transform:Fn},borderBottom:{themeKey:"borders",transform:Fn},borderLeft:{themeKey:"borders",transform:Fn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Fn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:or},color:{themeKey:"palette",transform:cr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:cr},backgroundColor:{themeKey:"palette",transform:cr},p:{style:Bn},pt:{style:Bn},pr:{style:Bn},pb:{style:Bn},pl:{style:Bn},px:{style:Bn},py:{style:Bn},padding:{style:Bn},paddingTop:{style:Bn},paddingRight:{style:Bn},paddingBottom:{style:Bn},paddingLeft:{style:Bn},paddingX:{style:Bn},paddingY:{style:Bn},paddingInline:{style:Bn},paddingInlineStart:{style:Bn},paddingInlineEnd:{style:Bn},paddingBlock:{style:Bn},paddingBlockStart:{style:Bn},paddingBlockEnd:{style:Bn},m:{style:jn},mt:{style:jn},mr:{style:jn},mb:{style:jn},ml:{style:jn},mx:{style:jn},my:{style:jn},margin:{style:jn},marginTop:{style:jn},marginRight:{style:jn},marginBottom:{style:jn},marginLeft:{style:jn},marginX:{style:jn},marginY:{style:jn},marginInline:{style:jn},marginInlineStart:{style:jn},marginInlineEnd:{style:jn},marginBlock:{style:jn},marginBlockStart:{style:jn},marginBlockEnd:{style:jn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ar},rowGap:{style:lr},columnGap:{style:sr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ur},maxWidth:{style:pr},minWidth:{transform:ur},height:{transform:ur},maxHeight:{transform:ur},minHeight:{transform:ur},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),vr=function(){function e(e,t,n,r){const i={[e]:t,theme:n},o=r[e];if(!o)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=o;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=En(n,s)||{};return c?c(i):yn(i,t,t=>{let n=kn(u,l,t);return t===n&&"string"==typeof t&&(n=kn(u,l,`${e}${"default"===t?"":Sn(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){const{sx:r,theme:i={},nested:o}=n||{};if(!r)return null;const a=i.unstable_sxConfig??Or;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const s=function(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}(i.breakpoints),l=Object.keys(s);let c=s;return Object.keys(r).forEach(n=>{const o=function(e,t){return"function"==typeof e?e(t):e}(r[n],i);if(null!=o)if("object"==typeof o)if(a[n])c=Cn(c,e(n,o,i,a));else{const e=yn({theme:i},o,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,o)?c=Cn(c,e):c[n]=t({sx:o,theme:i,nested:!0})}else c=Cn(c,e(n,o,i,a))}),!o&&i.modularCssLayers?{"@layer sx":mn(i,wn(l,c))}:mn(i,wn(l,c))}return Array.isArray(r)?r.map(s):s(r)}}();vr.filterProps=["sx"];const br=vr;function yr(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const wr=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={},...a}=e;let s=hn({breakpoints:fn(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:Xn(i),shape:{...gn,...o}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const i=t(e.breakpoints.not(...n),r);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}const r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}(s),s.applyStyles=yr,s=t.reduce((e,t)=>hn(e,t),s),s.unstable_sxConfig={...Or,...a?.unstable_sxConfig},s.unstable_sx=function(e){return br({sx:e,theme:this})},s};function xr(e){const{variants:t,...n}=e,r={variants:t,style:cn(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=cn(e.style))}),r}const Sr=wr();function Er(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function kr(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Rr(e){return e?(t,n)=>n[e]:null}function Cr(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Cr(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?kr(r.style,n):r.style;else{const{variants:e,...i}=r;t=n?kr(cn(i),n):i}return Pr(e,r.variants,[t],n)}return r?.isProcessed?n?kr(cn(r.style),n):r.style:n?kr(cn(r),n):r}function Pr(e,t,n=[],r=void 0){let i;e:for(let o=0;o<t.length;o+=1){const a=t[o];if("function"==typeof a.props){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(i))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?kr(cn(a.style(i)),r):a.style(i))):n.push(r?kr(cn(a.style),r):a.style)}return n}function Ar(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function Qr(e,t=0,n=1){return function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function Tr(e){if(e.type)return e;if("#"===e.charAt(0))return Tr(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(xn(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(xn(10,r))}else i=i.split(",");return i=i.map(e=>parseFloat(e)),{type:n,values:i,colorSpace:r}}const Mr=(e,t)=>{try{return(e=>{const t=Tr(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function _r(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Ir(e){e=Tr(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=(e,t=(e+n/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),_r({type:s,values:l})}function $r(e){let t="hsl"===(e=Tr(e)).type||"hsla"===e.type?Tr(Ir(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Dr(e,t){return e=Tr(e),t=Qr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,_r(e)}function Lr(e,t,n){try{return Dr(e,t)}catch(t){return e}}function Nr(e,t){if(e=Tr(e),t=Qr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return _r(e)}function zr(e,t,n){try{return Nr(e,t)}catch(t){return e}}function jr(e,t){if(e=Tr(e),t=Qr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return _r(e)}function Br(e,t,n){try{return jr(e,t)}catch(t){return e}}function Zr(e,t,n){try{return function(e,t=.15){return $r(e)>.5?Nr(e,t):jr(e,t)}(e,t)}catch(t){return e}}const Xr={black:"#000",white:"#fff"},Vr={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Fr="#f3e5f5",qr="#ce93d8",Wr="#ba68c8",Gr="#ab47bc",Hr="#9c27b0",Ur="#7b1fa2",Yr="#e57373",Kr="#ef5350",Jr="#f44336",ei="#d32f2f",ti="#c62828",ni="#ffb74d",ri="#ffa726",ii="#ff9800",oi="#f57c00",ai="#e65100",si="#e3f2fd",li="#90caf9",ci="#42a5f5",ui="#1976d2",di="#1565c0",pi="#4fc3f7",hi="#29b6f6",fi="#03a9f4",mi="#0288d1",gi="#01579b",Oi="#81c784",vi="#66bb6a",bi="#4caf50",yi="#388e3c",wi="#2e7d32",xi="#1b5e20";function Si(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Xr.white,default:Xr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Ei=Si();function ki(){return{text:{primary:Xr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Xr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Ri=ki();function Ci(e,t,n,r){const i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=jr(e.main,i):"dark"===t&&(e.dark=Nr(e.main,o)))}function Pi(e,t,n,r,i){const o=i.light||i,a=i.dark||1.5*i;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*o).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function Ai(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...o}=e,a=e.primary||function(e="light"){return"dark"===e?{main:li,light:si,dark:ci}:{main:ui,light:ci,dark:di}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:qr,light:Fr,dark:Gr}:{main:Hr,light:Wr,dark:Ur}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Jr,light:Yr,dark:ei}:{main:ei,light:Kr,dark:ti}}(t),c=e.info||function(e="light"){return"dark"===e?{main:hi,light:pi,dark:mi}:{main:mi,light:fi,dark:gi}}(t),u=e.success||function(e="light"){return"dark"===e?{main:vi,light:Oi,dark:yi}:{main:wi,light:bi,dark:xi}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:ri,light:ni,dark:oi}:{main:"#ed6c02",light:ii,dark:ai}}(t);function p(e){if(i)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=$r(e),r=$r(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Ri.text.primary)>=n?Ri.text.primary:Ei.text.primary;return t}const h=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(xn(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(xn(12,t?` (${t})`:"",JSON.stringify(e.main)));return i?(Pi(i,e,"light",o,r),Pi(i,e,"dark",a,r)):(Ci(e,"light",o,r),Ci(e,"dark",a,r)),e.contrastText||(e.contrastText=p(e.main)),e};let f;return"light"===t?f=Si():"dark"===t&&(f=ki()),hn({common:{...Xr},mode:t,primary:h({color:a,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:d,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:u,name:"success"}),grey:Vr,contrastThreshold:n,getContrastText:p,augmentColor:h,tonalOffset:r,...f},o)}function Qi(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function Ti(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Mi=(e,t,n,r=[])=>{let i=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&"object"==typeof i&&(i[e]=n):i&&"object"==typeof i&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})};function _i(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},o={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(i,{[r]:l}),Mi(o,e,`var(${r})`,s),Mi(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,i])=>{(!l||l&&!l([...n,t]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...n,t],Array.isArray(i)?[...r,t]:r):s([...n,t],i,r))})}(e),{css:i,vars:o,varsWithDefaults:a}}const Ii={textTransform:"uppercase"},$i='"Roboto", "Helvetica", "Arial", sans-serif';function Di(e,t){const{fontFamily:n=$i,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t,p=r/14,h=u||(e=>e/l*p+"rem"),f=(e,t,r,i,o)=>{return{fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r,...n===$i?{letterSpacing:(a=i/t,Math.round(1e5*a)/1e5+"em")}:{},...o,...c};var a},m={h1:f(i,96,1.167,-1.5),h2:f(i,60,1.2,-.5),h3:f(o,48,1.167,0),h4:f(o,34,1.235,.25),h5:f(o,24,1.334,0),h6:f(a,20,1.6,.15),subtitle1:f(o,16,1.75,.15),subtitle2:f(a,14,1.57,.1),body1:f(o,16,1.5,.15),body2:f(o,14,1.43,.15),button:f(a,14,1.75,.4,Ii),caption:f(o,12,1.66,.4),overline:f(o,12,2.66,1,Ii),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return hn({htmlFontSize:l,pxToRem:h,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:a,fontWeightBold:s,...m},d,{clone:!1})}function Li(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ni=["none",Li(0,2,1,-1,0,1,1,0,0,1,3,0),Li(0,3,1,-2,0,2,2,0,0,1,5,0),Li(0,3,3,-2,0,3,4,0,0,1,8,0),Li(0,2,4,-1,0,4,5,0,0,1,10,0),Li(0,3,5,-1,0,5,8,0,0,1,14,0),Li(0,3,5,-1,0,6,10,0,0,1,18,0),Li(0,4,5,-2,0,7,10,1,0,2,16,1),Li(0,5,5,-3,0,8,10,1,0,3,14,2),Li(0,5,6,-3,0,9,12,1,0,3,16,2),Li(0,6,6,-3,0,10,14,1,0,4,18,3),Li(0,6,7,-4,0,11,15,1,0,4,20,3),Li(0,7,8,-4,0,12,17,2,0,5,22,4),Li(0,7,8,-4,0,13,19,2,0,5,24,4),Li(0,7,9,-4,0,14,21,2,0,5,26,4),Li(0,8,9,-5,0,15,22,2,0,6,28,5),Li(0,8,10,-5,0,16,24,2,0,6,30,5),Li(0,8,11,-5,0,17,26,2,0,6,32,5),Li(0,9,11,-5,0,18,28,2,0,7,34,6),Li(0,9,12,-6,0,19,29,2,0,7,36,6),Li(0,10,13,-6,0,20,31,3,0,8,38,7),Li(0,10,13,-6,0,21,33,3,0,8,40,7),Li(0,10,14,-6,0,22,35,3,0,8,42,7),Li(0,11,14,-7,0,23,36,3,0,9,44,8),Li(0,11,15,-7,0,24,38,3,0,9,46,8)],zi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ji={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Bi(e){return`${Math.round(e)}ms`}function Zi(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function Xi(e){const t={...zi,...e.easing},n={...ji,...e.duration};return{getAutoHeightDuration:Zi,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:o=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:Bi(i)} ${o} ${"string"==typeof a?a:Bi(a)}`).join(",")},...e,easing:t,duration:n}}const Vi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Fi(e){return dn(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function qi(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[i,o]=n[r];!Fi(o)||i.startsWith("unstable_")?delete t[i]:dn(o)&&(t[i]={...o},e(t[i]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function Wi(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}const Gi=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:i,palette:o={},transitions:a={},typography:s={},shape:l,colorSpace:c,...u}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(xn(20));const d=Ai({...o,colorSpace:c}),p=wr(e);let h=hn(p,{mixins:(f=p.breakpoints,m=r,{toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}},...m}),palette:d,shadows:Ni.slice(),typography:Di(d,s),transitions:Xi(a),zIndex:{...Vi}});var f,m;return h=hn(h,u),h=t.reduce((e,t)=>hn(e,t),h),h.unstable_sxConfig={...Or,...u?.unstable_sxConfig},h.unstable_sx=function(e){return br({sx:e,theme:this})},h.toRuntimeSource=qi,function(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof n?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof n?`calc(${n})`:n})`:Dr(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Wi(n)})`:jr(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Wi(n)})`:Nr(t,n)}})}(h),h};function Hi(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const Ui=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=Hi(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Yi(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Ki(e){return"dark"===e?Ui:[]}function Ji(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const eo=e=>(t,n)=>{const r=e.rootSelector||":root",i=e.colorSchemeSelector;let o=i;if("class"===i&&(o=".%s"),"data"===i&&(o="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const i={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach(e=>{i[e]=n[e],delete n[e]}),"media"===o?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:o?{[o.replace("%s",t)]:i,[`${r}, ${o.replace("%s",t)}`]:n}:{[r]:{...n,...i}}}if(o&&"media"!==o)return`${r}, ${o.replace("%s",String(t))}`}else if(t){if("media"===o)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(o)return o.replace("%s",String(t))}var a;return r};function to(e,t,n){!e[t]&&n&&(e[t]=n)}function no(e){return"string"==typeof e&&e.startsWith("hsl")?Ir(e):e}function ro(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Mr(no(e[t])))}(Object.getOwnPropertyDescriptor(eo,"name")||{}).writable||Object.defineProperty(eo,"name",{value:"default",configurable:!0});const io=e=>{try{return e()}catch(e){}};function oo(e,t,n,r,i){if(!n)return;n=!0===n?{}:n;const o="dark"===i?"dark":"light";if(!r)return void(t[i]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:i,...o}=e,a=Ai({...t,colorSpace:i});return{palette:a,opacity:{...Yi(a.mode),...n},overlays:r||Ki(a.mode),...o}}({...n,palette:{mode:o,...n?.palette},colorSpace:e}));const{palette:a,...s}=Gi({...r,palette:{mode:o,...n?.palette},colorSpace:e});return t[i]={...n,palette:a,opacity:{...Yi(o),...n?.opacity},overlays:n?.overlays||Ki(o)},s}function ao(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:o="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Ji,colorSchemeSelector:l=(n.light&&n.dark?"media":void 0),rootSelector:c=":root",...u}=e,d=Object.keys(n)[0],p=r||(n.light&&"light"!==d?"light":d),h=((e="mui")=>Qi(e))(o),{[p]:f,light:m,dark:g,...O}=n,v={...O};let b,y=f;if(("dark"===p&&!("dark"in n)||"light"===p&&!("light"in n))&&(y=!0),!y)throw new Error(xn(21,p));a&&(b="oklch");const w=oo(b,v,y,u,p);m&&!v.light&&oo(b,v,m,void 0,"light"),g&&!v.dark&&oo(b,v,g,void 0,"dark");let x={defaultColorScheme:p,...w,cssVarPrefix:o,colorSchemeSelector:l,rootSelector:c,getCssVar:h,colorSchemes:v,font:{...Ti(w.typography),...w.font},spacing:(S=u.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(x.colorSchemes).forEach(e=>{const t=x.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],i=n[2];return h(e,t[r][i])};function r(e,t,n){if(b){let r;return e===Lr&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===zr&&(r=`#000 ${(100*n).toFixed(0)}%`),e===Br&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if("light"===t.mode&&(to(t.common,"background","#fff"),to(t.common,"onBackground","#000")),"dark"===t.mode&&(to(t.common,"background","#000"),to(t.common,"onBackground","#fff")),i=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{i[e]||(i[e]={})}),"light"===t.mode){to(t.Alert,"errorColor",r(zr,a?h("palette-error-light"):t.error.light,.6)),to(t.Alert,"infoColor",r(zr,a?h("palette-info-light"):t.info.light,.6)),to(t.Alert,"successColor",r(zr,a?h("palette-success-light"):t.success.light,.6)),to(t.Alert,"warningColor",r(zr,a?h("palette-warning-light"):t.warning.light,.6)),to(t.Alert,"errorFilledBg",n("palette-error-main")),to(t.Alert,"infoFilledBg",n("palette-info-main")),to(t.Alert,"successFilledBg",n("palette-success-main")),to(t.Alert,"warningFilledBg",n("palette-warning-main")),to(t.Alert,"errorFilledColor",io(()=>t.getContrastText(t.error.main))),to(t.Alert,"infoFilledColor",io(()=>t.getContrastText(t.info.main))),to(t.Alert,"successFilledColor",io(()=>t.getContrastText(t.success.main))),to(t.Alert,"warningFilledColor",io(()=>t.getContrastText(t.warning.main))),to(t.Alert,"errorStandardBg",r(Br,a?h("palette-error-light"):t.error.light,.9)),to(t.Alert,"infoStandardBg",r(Br,a?h("palette-info-light"):t.info.light,.9)),to(t.Alert,"successStandardBg",r(Br,a?h("palette-success-light"):t.success.light,.9)),to(t.Alert,"warningStandardBg",r(Br,a?h("palette-warning-light"):t.warning.light,.9)),to(t.Alert,"errorIconColor",n("palette-error-main")),to(t.Alert,"infoIconColor",n("palette-info-main")),to(t.Alert,"successIconColor",n("palette-success-main")),to(t.Alert,"warningIconColor",n("palette-warning-main")),to(t.AppBar,"defaultBg",n("palette-grey-100")),to(t.Avatar,"defaultBg",n("palette-grey-400")),to(t.Button,"inheritContainedBg",n("palette-grey-300")),to(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),to(t.Chip,"defaultBorder",n("palette-grey-400")),to(t.Chip,"defaultAvatarColor",n("palette-grey-700")),to(t.Chip,"defaultIconColor",n("palette-grey-700")),to(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),to(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),to(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),to(t.LinearProgress,"primaryBg",r(Br,a?h("palette-primary-main"):t.primary.main,.62)),to(t.LinearProgress,"secondaryBg",r(Br,a?h("palette-secondary-main"):t.secondary.main,.62)),to(t.LinearProgress,"errorBg",r(Br,a?h("palette-error-main"):t.error.main,.62)),to(t.LinearProgress,"infoBg",r(Br,a?h("palette-info-main"):t.info.main,.62)),to(t.LinearProgress,"successBg",r(Br,a?h("palette-success-main"):t.success.main,.62)),to(t.LinearProgress,"warningBg",r(Br,a?h("palette-warning-light"):t.warning.main,.62)),to(t.Skeleton,"bg",b?r(Lr,a?h("palette-text-primary"):t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),to(t.Slider,"primaryTrack",r(Br,a?h("palette-primary-main"):t.primary.main,.62)),to(t.Slider,"secondaryTrack",r(Br,a?h("palette-secondary-main"):t.secondary.main,.62)),to(t.Slider,"errorTrack",r(Br,a?h("palette-error-main"):t.error.main,.62)),to(t.Slider,"infoTrack",r(Br,a?h("palette-info-main"):t.info.main,.62)),to(t.Slider,"successTrack",r(Br,a?h("palette-success-main"):t.success.main,.62)),to(t.Slider,"warningTrack",r(Br,a?h("palette-warning-main"):t.warning.main,.62));const e=b?r(zr,a?h("palette-background-default"):t.background.default,.6825):Zr(t.background.default,.8);to(t.SnackbarContent,"bg",e),to(t.SnackbarContent,"color",io(()=>b?Ri.text.primary:t.getContrastText(e))),to(t.SpeedDialAction,"fabHoverBg",Zr(t.background.paper,.15)),to(t.StepConnector,"border",n("palette-grey-400")),to(t.StepContent,"border",n("palette-grey-400")),to(t.Switch,"defaultColor",n("palette-common-white")),to(t.Switch,"defaultDisabledColor",n("palette-grey-100")),to(t.Switch,"primaryDisabledColor",r(Br,a?h("palette-primary-main"):t.primary.main,.62)),to(t.Switch,"secondaryDisabledColor",r(Br,a?h("palette-secondary-main"):t.secondary.main,.62)),to(t.Switch,"errorDisabledColor",r(Br,a?h("palette-error-main"):t.error.main,.62)),to(t.Switch,"infoDisabledColor",r(Br,a?h("palette-info-main"):t.info.main,.62)),to(t.Switch,"successDisabledColor",r(Br,a?h("palette-success-main"):t.success.main,.62)),to(t.Switch,"warningDisabledColor",r(Br,a?h("palette-warning-main"):t.warning.main,.62)),to(t.TableCell,"border",r(Br,Lr(a?h("palette-divider"):t.divider,1),.88)),to(t.Tooltip,"bg",r(Lr,a?h("palette-grey-700"):t.grey[700],.92))}var i;if("dark"===t.mode){to(t.Alert,"errorColor",r(Br,a?h("palette-error-light"):t.error.light,.6)),to(t.Alert,"infoColor",r(Br,a?h("palette-info-light"):t.info.light,.6)),to(t.Alert,"successColor",r(Br,a?h("palette-success-light"):t.success.light,.6)),to(t.Alert,"warningColor",r(Br,a?h("palette-warning-light"):t.warning.light,.6)),to(t.Alert,"errorFilledBg",n("palette-error-dark")),to(t.Alert,"infoFilledBg",n("palette-info-dark")),to(t.Alert,"successFilledBg",n("palette-success-dark")),to(t.Alert,"warningFilledBg",n("palette-warning-dark")),to(t.Alert,"errorFilledColor",io(()=>t.getContrastText(t.error.dark))),to(t.Alert,"infoFilledColor",io(()=>t.getContrastText(t.info.dark))),to(t.Alert,"successFilledColor",io(()=>t.getContrastText(t.success.dark))),to(t.Alert,"warningFilledColor",io(()=>t.getContrastText(t.warning.dark))),to(t.Alert,"errorStandardBg",r(zr,a?h("palette-error-light"):t.error.light,.9)),to(t.Alert,"infoStandardBg",r(zr,a?h("palette-info-light"):t.info.light,.9)),to(t.Alert,"successStandardBg",r(zr,a?h("palette-success-light"):t.success.light,.9)),to(t.Alert,"warningStandardBg",r(zr,a?h("palette-warning-light"):t.warning.light,.9)),to(t.Alert,"errorIconColor",n("palette-error-main")),to(t.Alert,"infoIconColor",n("palette-info-main")),to(t.Alert,"successIconColor",n("palette-success-main")),to(t.Alert,"warningIconColor",n("palette-warning-main")),to(t.AppBar,"defaultBg",n("palette-grey-900")),to(t.AppBar,"darkBg",n("palette-background-paper")),to(t.AppBar,"darkColor",n("palette-text-primary")),to(t.Avatar,"defaultBg",n("palette-grey-600")),to(t.Button,"inheritContainedBg",n("palette-grey-800")),to(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),to(t.Chip,"defaultBorder",n("palette-grey-700")),to(t.Chip,"defaultAvatarColor",n("palette-grey-300")),to(t.Chip,"defaultIconColor",n("palette-grey-300")),to(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),to(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),to(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),to(t.LinearProgress,"primaryBg",r(zr,a?h("palette-primary-main"):t.primary.main,.5)),to(t.LinearProgress,"secondaryBg",r(zr,a?h("palette-secondary-main"):t.secondary.main,.5)),to(t.LinearProgress,"errorBg",r(zr,a?h("palette-error-main"):t.error.main,.5)),to(t.LinearProgress,"infoBg",r(zr,a?h("palette-info-main"):t.info.main,.5)),to(t.LinearProgress,"successBg",r(zr,a?h("palette-success-main"):t.success.main,.5)),to(t.LinearProgress,"warningBg",r(zr,a?h("palette-warning-main"):t.warning.main,.5)),to(t.Skeleton,"bg",b?r(Lr,a?h("palette-text-primary"):t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),to(t.Slider,"primaryTrack",r(zr,a?h("palette-primary-main"):t.primary.main,.5)),to(t.Slider,"secondaryTrack",r(zr,a?h("palette-secondary-main"):t.secondary.main,.5)),to(t.Slider,"errorTrack",r(zr,a?h("palette-error-main"):t.error.main,.5)),to(t.Slider,"infoTrack",r(zr,a?h("palette-info-main"):t.info.main,.5)),to(t.Slider,"successTrack",r(zr,a?h("palette-success-main"):t.success.main,.5)),to(t.Slider,"warningTrack",r(zr,a?h("palette-warning-light"):t.warning.main,.5));const e=b?r(Br,a?h("palette-background-default"):t.background.default,.985):Zr(t.background.default,.98);to(t.SnackbarContent,"bg",e),to(t.SnackbarContent,"color",io(()=>b?Ei.text.primary:t.getContrastText(e))),to(t.SpeedDialAction,"fabHoverBg",Zr(t.background.paper,.15)),to(t.StepConnector,"border",n("palette-grey-600")),to(t.StepContent,"border",n("palette-grey-600")),to(t.Switch,"defaultColor",n("palette-grey-300")),to(t.Switch,"defaultDisabledColor",n("palette-grey-600")),to(t.Switch,"primaryDisabledColor",r(zr,a?h("palette-primary-main"):t.primary.main,.55)),to(t.Switch,"secondaryDisabledColor",r(zr,a?h("palette-secondary-main"):t.secondary.main,.55)),to(t.Switch,"errorDisabledColor",r(zr,a?h("palette-error-main"):t.error.main,.55)),to(t.Switch,"infoDisabledColor",r(zr,a?h("palette-info-main"):t.info.main,.55)),to(t.Switch,"successDisabledColor",r(zr,a?h("palette-success-main"):t.success.main,.55)),to(t.Switch,"warningDisabledColor",r(zr,a?h("palette-warning-light"):t.warning.main,.55)),to(t.TableCell,"border",r(zr,Lr(a?h("palette-divider"):t.divider,1),.68)),to(t.Tooltip,"bg",r(Lr,a?h("palette-grey-700"):t.grey[700],.92))}a||(ro(t.background,"default"),ro(t.background,"paper"),ro(t.common,"background"),ro(t.common,"onBackground"),ro(t,"divider")),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&!a&&n&&"object"==typeof n&&(n.main&&to(t[e],"mainChannel",Mr(no(n.main))),n.light&&to(t[e],"lightChannel",Mr(no(n.light))),n.dark&&to(t[e],"darkChannel",Mr(no(n.dark))),n.contrastText&&to(t[e],"contrastTextChannel",Mr(no(n.contrastText))),"text"===e&&(ro(t[e],"primary"),ro(t[e],"secondary")),"action"===e&&(n.active&&ro(t[e],"active"),n.selected&&ro(t[e],"selected")))})}),x=t.reduce((e,t)=>hn(e,t),x);const E={prefix:o,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:eo(x),enableContrastVars:a},{vars:k,generateThemeVars:R,generateStyleSheets:C}=function(e,t={}){const{getSelector:n=O,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:o}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:p}=_i(c,t);let h=p;const f={},{[l]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,n])=>{const{vars:r,css:i,varsWithDefaults:o}=_i(n,t);h=hn(h,o),f[e]={css:i,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=_i(m,t);h=hn(h,r),f[l]={css:e,vars:n}}function O(t,n){let r=i;if("class"===i&&(r=".%s"),"data"===i&&(r="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(r=`[${i}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:h,generateThemeVars:()=>{let e={...u};return Object.entries(f).forEach(([,{vars:t}])=>{e=hn(e,t)}),e},generateStyleSheets:()=>{const t=[],i=e.defaultColorScheme||"light";function s(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);const{[i]:l,...c}=f;if(l){const{css:e}=l,t=a[i]?.palette?.mode,o=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...o}),o)}return Object.entries(c).forEach(([e,{css:t}])=>{const i=a[e]?.palette?.mode,o=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...o}),o)}),o&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}(x,E);return x.vars=k,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([e,t])=>{x[e]=t}),x.generateThemeVars=R,x.generateStyleSheets=C,x.generateSpacing=function(){return Xn(u.spacing,Ln(this))},x.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=s,x.unstable_sxConfig={...Or,...u?.unstable_sxConfig},x.unstable_sx=function(e){return br({sx:e,theme:this})},x.toRuntimeSource=qi,x}function so(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:Ai({...!0===n?{}:n.palette,mode:t})})}const lo=function(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:i=(n?void 0:{light:!0}),defaultColorScheme:o=n?.mode,...a}=e,s=o||"light",l=i?.[s],c={...i,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return Gi(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const i=Gi({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=c,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==c.light&&c.light,palette:i.palette},so(i,"dark",c.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:i.palette},so(i,"light",c.light)),i}return n||"light"in c||"light"!==s||(c.light=!0),ao({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}(),co=lo,uo="$$material",po=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,ho=function(e={}){const{themeId:t,defaultTheme:n=Sr,rootShouldForwardProp:r=Er,slotShouldForwardProp:i=Er}=e;function o(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=(e=>e.filter(e=>e!==br))(e.__emotion_styles))}(e);const{name:n,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=Rr(Ar(a)),...u}=t,d=n&&n.startsWith("Mui")||a?"components":"custom",p=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,h=l||!1;let f=Er;"Root"===a||"root"===a?f=r:a?f=i:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(f=void 0);const m=function(e,t){return sn(e,t)}(e,{shouldForwardProp:f,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return Cr(t,e,t.theme.modularCssLayers?d:void 0)};if(dn(e)){const t=xr(e);return function(e){return t.variants?Cr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?kr(t.style,d):t.style}}return e},O=(...t)=>{const r=[],i=t.map(g),a=[];if(r.push(o),n&&c&&a.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const i={};for(const t in r)i[t]=Cr(e,r[t],e.theme.modularCssLayers?"theme":void 0);return c(e,i)}),n&&!p&&a.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?Pr(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),h||a.push(br),Array.isArray(i[0])){const e=i.shift(),t=new Array(r.length).fill(""),n=new Array(a.length).fill("");let o;o=[...t,...e,...n],o.raw=[...t,...e.raw,...n],r.unshift(o)}const s=[...r,...i,...a],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(O.withConfig=m.withConfig),O}}({themeId:uo,defaultTheme:co,rootShouldForwardProp:po}),fo=ho,mo={theme:void 0},go=function(e){let t,n;return function(r){let i=t;return void 0!==i&&r.theme===n||(mo.theme=r.theme,i=xr(e(mo)),t=i,n=r.theme),i}};function Oo(e,t,n=!1){const r={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if("components"===o||"slots"===o)r[o]={...e[o],...r[o]};else if("componentsProps"===o||"slotProps"===o){const i=e[o],a=t[o];if(a)if(i){r[o]={...a};for(const e in i)if(Object.prototype.hasOwnProperty.call(i,e)){const t=e;r[o][t]=Oo(i[t],a[t],n)}}else r[o]=a;else r[o]=i||{}}else"className"===o&&n&&t.className?r.className=ue(e?.className,t?.className):"style"===o&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[o]&&(r[o]=e[o])}return r}const vo=c.createContext(void 0);function bo(e){return function({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?Oo(i.defaultProps,r,t.components.mergeClassNameAndStyle):i.styleOverrides||i.variants?r:Oo(i,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:c.useContext(vo)}})}(e)}const yo=function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}},wo=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n},xo=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t};function So(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...p}=o,h=u[e]||r,f=function(e,t,n){return"function"==typeof e?e(t,n):e}(d[e],i),{props:{component:m,...g},internalRef:O}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const e=ue(n?.className,o,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},a={...n,...i,...r};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=wo({...i,...r}),s=xo(r),l=xo(i),c=t(a),u=ue(c?.className,n?.className,o,i?.className,r?.className),d={...c?.style,...n?.style,...i?.style,...r?.style},p={...c,...n,...l,...s};return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}({className:n,...l,externalForwardedProps:"root"===e?p:void 0,externalSlotProps:f}),v=fe(O,f?.ref,t.ref),b="root"===e?m||c:m;return[h,yo(h,{..."root"===e&&!c&&!u[e]&&a,..."root"!==e&&!u[e]&&a,...g,...b&&!s&&{as:b},...b&&s&&{component:b},ref:v},i)]}function Eo(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function ko(e,t){return ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ko(e,t)}const Ro=u().createContext(null);var Co="unmounted",Po="exited",Ao="entering",Qo="entered",To="exiting",Mo=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Po,r.appearStatus=Ao):i=Qo:i=t.unmountOnExit||t.mountOnEnter?Co:Po,r.state={status:i},r.nextCallback=null,r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ko(e,t)}(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Co?{status:Po}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ao&&n!==Qo&&(t=Ao):n!==Ao&&n!==Qo||(t=To)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ao){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Se().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Po&&this.setState({status:Co})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Se().findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(o,a),this.safeSetState({status:Ao},function(){t.props.onEntering(o,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Qo},function(){t.props.onEntered(o,a)})})})):this.safeSetState({status:Qo},function(){t.props.onEntered(o)})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Se().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:To},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Po},function(){e.props.onExited(r)})})})):this.safeSetState({status:Po},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Se().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Co)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Eo(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return u().createElement(Ro.Provider,{value:null},"function"==typeof n?n(e,r):u().cloneElement(u().Children.only(n),r))},t}(u().Component);function _o(){}Mo.contextType=Ro,Mo.propTypes={},Mo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_o,onEntering:_o,onEntered:_o,onExit:_o,onExiting:_o,onExited:_o},Mo.UNMOUNTED=Co,Mo.EXITED=Po,Mo.ENTERING=Ao,Mo.ENTERED=Qo,Mo.EXITING=To;const Io=Mo,$o=wr(),Do=function(e=$o){return function(e=null){const t=c.useContext(Gt);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}(e)};function Lo(){const e=Do(co);return e[uo]||e}const No=e=>e.scrollTop;function zo(e,t){return n=>{if(t){const r=e.current;void 0===n?t(r):t(r,n)}}}function jo(e,t){const{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:i.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:i.transitionDelay}}const Bo=fe,Zo={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Xo={opacity:0,visibility:"hidden"},Vo=c.forwardRef(function(e,t){const n=Lo(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:o=!0,children:a,easing:s,in:l,onEnter:u,onEntered:d,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:O=r,...v}=e,b=c.useRef(null),y=Bo(b,ge(a),t),w=zo(b,p),x=zo(b,(e,t)=>{No(e);const r=jo({style:g,timeout:O,easing:s},{mode:"enter"});e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)}),S=zo(b,d),E=zo(b,m),k=zo(b,e=>{const t=jo({style:g,timeout:O,easing:s},{mode:"exit"});e.style.transition=n.transitions.create("opacity",t),h&&h(e)}),R=zo(b,e=>{e.style.transition="",f&&f(e)});return(0,pe.jsx)(Io,{appear:o,in:l,nodeRef:b,onEnter:x,onEntered:S,onEntering:w,onExit:k,onExited:R,onExiting:E,addEndListener:e=>{i&&i(b.current,e)},timeout:O,...v,children:(e,{ownerState:t,...n})=>{const r=function(e,t,n,r,i,o){const a="exited"!==e||t?n[e]||n.exited:r;return i||o?{...a,...i,...o}:a}(e,l,Zo,Xo,g,a.props.style);return c.cloneElement(a,{style:r,ref:y,...n})}})}),Fo=Vo,qo=e=>e,Wo=(()=>{let e=qo;return{configure(t){e=t},generate:t=>e(t),reset(){e=qo}}})(),Go={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ho(e,t,n="Mui"){const r=Go[t];return r?`${n}-${r}`:`${Wo.generate(e)}-${t}`}function Uo(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Ho(e,t,n)}),r}function Yo(e){return Ho("MuiBackdrop",e)}Uo("MuiBackdrop",["root","invisible"]);const Ko=fo("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Jo=c.forwardRef(function(e,t){const n=bo({props:e,name:"MuiBackdrop"}),{children:r,className:i,component:o="div",invisible:a=!1,open:s,components:l={},componentsProps:c={},slotProps:u={},slots:d={},TransitionComponent:p,transitionDuration:h,...f}=n,m={...n,component:o,invisible:a},g=(e=>{const{classes:t,invisible:n}=e;return de({root:["root",n&&"invisible"]},Yo,t)})(m),O={component:o,slots:{transition:p,root:l.Root,...d},slotProps:{...c,...u}},[v,b]=So("root",{elementType:Ko,externalForwardedProps:O,className:ue(g.root,i),ownerState:m}),[y,w]=So("transition",{elementType:Fo,externalForwardedProps:O,ownerState:m});return(0,pe.jsx)(y,{in:s,timeout:h,...f,...w,children:(0,pe.jsx)(v,{"aria-hidden":!0,...b,ref:t,children:r})})}),ea=Jo,ta=function(e){const t=c.useRef(e);return Ee(()=>{t.current=e}),c.useRef((...e)=>(0,t.current)(...e)).current};function na(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function ra(e){return me(e).defaultView||window}function ia(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function oa(e){return parseFloat(ra(e).getComputedStyle(e).paddingRight)||0}function aa(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,e=>{const t=!o.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&ia(e,i)})}function sa(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}const la=()=>{},ca=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&ia(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);aa(t,e.mount,e.modalRef,r,!0);const i=sa(this.containers,e=>e.container===t);return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=sa(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=me(e);return t.body===e?ra(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}(ra(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${oa(r)+e}px`;const t=me(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${oa(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=me(r).body;else{const t=r.parentElement,n=ra(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=sa(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&ia(e.modalRef,t),aa(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=i.modals[i.modals.length-1];e.modalRef&&ia(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function ua(e){return Ho("MuiModal",e)}Uo("MuiModal",["root","hidden","backdrop"]);const da=fo("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(go(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),pa=fo(ea,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),ha=c.forwardRef(function(e,t){const n=bo({name:"MuiModal",props:e}),{BackdropComponent:r=pa,BackdropProps:i,classes:o,className:a,closeAfterTransition:s=!1,children:l,container:u,component:d,components:p={},componentsProps:h={},disableAutoFocus:f=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:g=!1,disablePortal:O=!1,disableRestoreFocus:v=!1,disableScrollLock:b=!1,hideBackdrop:y=!1,keepMounted:w=!1,onClose:x,onTransitionEnter:S,onTransitionExited:E,open:k,slotProps:R={},slots:C={},theme:P,...A}=n,Q={...n,closeAfterTransition:s,disableAutoFocus:f,disableEnforceFocus:m,disableEscapeKeyDown:g,disablePortal:O,disableRestoreFocus:v,disableScrollLock:b,hideBackdrop:y,keepMounted:w},{getRootProps:T,getBackdropProps:M,getTransitionProps:_,portalRef:I,isTopModal:$,exited:D,hasTransition:L}=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:o,onTransitionExited:a,children:s,onClose:l,open:u,rootRef:d}=e,p=c.useRef({}),h=c.useRef(null),f=c.useRef(null),m=fe(f,d),[g,O]=c.useState(!u),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const y=()=>(p.current.modalRef=f.current,p.current.mount=h.current,p.current),w=()=>{ca.mount(y(),{disableScrollLock:r}),f.current&&(f.current.scrollTop=0)},x=ta(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||me(h.current).body;ca.add(y(),e),f.current&&w()}),S=()=>ca.isTopModal(y()),E=ta(e=>{h.current=e,e&&(u&&S()?w():f.current&&ia(f.current,b))}),k=c.useCallback(()=>{ca.remove(y(),b)},[b]);c.useEffect(()=>()=>{k()},[k]),c.useEffect(()=>{u?x():v&&i||k()},[u,k,v,i,x]);const R=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&S()&&(n||(t.stopPropagation(),l&&l(t,"escapeKeyDown")))},C=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&l&&l(t,"backdropClick")};return{getRootProps:(t={})=>{const n=wo(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:R(r),ref:m}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:C(t),open:u}},getTransitionProps:()=>({onEnter:na(()=>{O(!1),o&&o()},s?.props.onEnter??la),onExited:na(()=>{O(!0),a&&a(),i&&k()},s?.props.onExited??la)}),rootRef:m,portalRef:E,isTopModal:S,exited:g,hasTransition:v}}({...Q,rootRef:t}),N={...Q,exited:D},z=(e=>{const{open:t,exited:n,classes:r}=e;return de({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},ua,r)})(N),j={};if(void 0===l.props.tabIndex&&(j.tabIndex="-1"),L){const{onEnter:e,onExited:t}=_();j.onEnter=e,j.onExited=t}const B={slots:{root:p.Root,backdrop:p.Backdrop,...C},slotProps:{...h,...R}},[Z,X]=So("root",{ref:t,elementType:da,externalForwardedProps:{...B,...A,component:d},getSlotProps:T,ownerState:N,className:ue(a,z?.root,!N.open&&N.exited&&z?.hidden)}),[V,F]=So("backdrop",{ref:i?.ref,elementType:r,externalForwardedProps:B,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>M({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:ue(i?.className,z?.backdrop),ownerState:N});return w||k||L&&!D?(0,pe.jsx)(Re,{ref:I,container:u,disablePortal:O,children:(0,pe.jsxs)(Z,{...X,children:[!y&&r?(0,pe.jsx)(V,{...F}):null,(0,pe.jsx)(we,{disableEnforceFocus:m,disableAutoFocus:f,disableRestoreFocus:v,isEnabled:$,open:k,children:c.cloneElement(l,j)})]})}):null}),fa=ha,ma=ra,ga={visibility:"hidden"};function Oa(e,t,n){var r;const i=function(e,t,n){const r=n&&n.getBoundingClientRect(),i=ma(t),o=t.style.transform,a=t.style.transition;t.style.transition="",t.style.transform="";const s=t.getBoundingClientRect(),l=i.getComputedStyle(t).getPropertyValue("transform");t.style.transform=o,t.style.transition=a;let c=0,u=0;if(l&&"none"!==l&&"string"==typeof l){const e=l.split("(")[1].split(")")[0].split(",");c=parseInt(e[4],10),u=parseInt(e[5],10)}return"left"===e?r?`translateX(${r.right+c-s.left}px)`:`translateX(${i.innerWidth+c-s.left}px)`:"right"===e?r?`translateX(-${s.right-r.left-c}px)`:`translateX(-${s.left+s.width-c}px)`:"up"===e?r?`translateY(${r.bottom+u-s.top}px)`:`translateY(${i.innerHeight+u-s.top}px)`:r?`translateY(-${s.top-r.top+s.height-u}px)`:`translateY(-${s.top+s.height-u}px)`}(e,t,"function"==typeof(r=n)?r():r);i&&(t.style.transform=i)}const va=c.forwardRef(function(e,t){const n=Lo(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,container:l,direction:u="down",easing:d=r,in:p,onEnter:h,onEntered:f,onEntering:m,onExit:g,onExited:O,onExiting:v,style:b,timeout:y=i,...w}=e,x=c.useRef(null),S=Bo(ge(s),x,t),E=zo(x,(e,t)=>{Oa(u,e,l),No(e),h&&h(e,t)}),k=zo(x,(e,t)=>{const r=jo({timeout:y,style:b,easing:d},{mode:"enter"});e.style.transition=n.transitions.create("transform",r),e.style.transform="none",m&&m(e,t)}),R=zo(x,f),C=zo(x,v),P=zo(x,e=>{const t=jo({timeout:y,style:b,easing:d},{mode:"exit"});e.style.transition=n.transitions.create("transform",t),Oa(u,e,l),g&&g(e)}),A=zo(x,e=>{e.style.transition="",O&&O(e)}),Q=c.useCallback(()=>{x.current&&Oa(u,x.current,l)},[u,l]);return c.useEffect(()=>{if(p||"down"===u||"right"===u)return;const e=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}(()=>{x.current&&Oa(u,x.current,l)}),t=ma(x.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[u,p,l]),c.useEffect(()=>{p||Q()},[p,Q]),(0,pe.jsx)(Io,{nodeRef:x,onEnter:E,onEntered:R,onEntering:k,onExit:P,onExited:A,onExiting:C,addEndListener:e=>{o&&o(x.current,e)},appear:a,in:p,timeout:y,...w,children:(e,{ownerState:t,...n})=>{let r;return r="exited"!==e||p?b&&s.props.style?{...b,...s.props.style}:b||s.props.style:b||s.props.style?{visibility:"hidden",...b,...s.props.style}:ga,c.cloneElement(s,{ref:S,style:r,...n})}})}),ba=va;function ya(e){return Ho("MuiPaper",e)}Uo("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const wa=fo("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(go(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),xa=c.forwardRef(function(e,t){const n=bo({props:e,name:"MuiPaper"}),r=Lo(),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation",...c}=n,u={...n,component:o,elevation:a,square:s,variant:l},d=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e;return de({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},ya,i)})(u);return(0,pe.jsx)(wa,{as:o,ownerState:u,className:ue(d.root,i),ref:t,...c,style:{..."elevation"===l&&{"--Paper-shadow":(r.vars||r).shadows[a],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[a]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${Dr("#fff",Hi(a))}, ${Dr("#fff",Hi(a))})`}},...c.style}})}),Sa=xa,Ea=Sn;function ka(e){return Ho("MuiDrawer",e)}function Ra(e,t){if(!e)return t;function n(e,t){const n={};return Object.keys(t).forEach(r=>{(function(e,t){const n=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&n>=65&&n<=90&&"function"==typeof t})(r,t[r])&&"function"==typeof e[r]&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if("function"==typeof e||"function"==typeof t)return r=>{const i="function"==typeof t?t(r):t,o="function"==typeof e?e({...r,...i}):e,a=ue(r?.className,i?.className,o?.className),s=n(o,i);return{...i,...o,...s,...!!a&&{className:a},...i?.style&&o?.style&&{style:{...i.style,...o.style}},...i?.sx&&o?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};const r=t,i=n(e,r),o=ue(r?.className,e?.className);return{...t,...e,...i,...!!o&&{className:o},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}Uo("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Ca=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,"temporary"===n.variant&&t.modal]},Pa=fo(fa,{name:"MuiDrawer",slot:"Root",overridesResolver:Ca})(go(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Aa=fo("div",{shouldForwardProp:po,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ca})({flex:"0 0 auto"}),Qa=fo(Sa,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Ea(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${Ea(n.anchor)}`]]}})(go(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),Ta={left:"right",right:"left",top:"down",bottom:"up"},Ma=c.forwardRef(function(e,t){const n=bo({props:e,name:"MuiDrawer"}),r=Lo(),i=c.useContext(he)??!1,o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:s,children:l,className:u,elevation:d=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:h,...f}={},onClose:m,open:g=!1,PaperProps:O={},SlideProps:v,TransitionComponent:b,transitionDuration:y=o,variant:w="temporary",slots:x={},slotProps:S={},...E}=n,k=c.useRef(!1);c.useEffect(()=>{k.current=!0},[]);const R=function({direction:e},t){return"rtl"===e&&function(e){return["left","right"].includes(e)}(t)?Ta[t]:t}({direction:i?"rtl":"ltr"},a),C=a,P={...n,anchor:C,elevation:d,open:g,variant:w,...E},A=(e=>{const{classes:t,anchor:n,variant:r}=e;return de({root:["root",`anchor${Ea(n)}`],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Ea(n)}`,"temporary"!==r&&`paperAnchorDocked${Ea(n)}`]},ka,t)})(P),Q={slots:{transition:b,...x},slotProps:{paper:O,transition:v,...S,backdrop:Ra(S.backdrop||{...s,...h},{transitionDuration:y})}},[T,M]=So("root",{ref:t,elementType:Pa,className:ue(A.root,A.modal,u),shouldForwardComponentProp:!0,ownerState:P,externalForwardedProps:{...Q,...E,...f},additionalProps:{open:g,onClose:m,hideBackdrop:p,slots:{backdrop:Q.slots.backdrop},slotProps:{backdrop:Q.slotProps.backdrop}}}),[_,I]=So("paper",{elementType:Qa,shouldForwardComponentProp:!0,className:ue(A.paper,O.className),ownerState:P,externalForwardedProps:Q,additionalProps:{elevation:"temporary"===w?d:0,square:!0,..."temporary"===w&&{role:"dialog","aria-modal":"true"}}}),[$,D]=So("docked",{elementType:Aa,ref:t,className:ue(A.root,A.docked,u),ownerState:P,externalForwardedProps:Q,additionalProps:E}),[L,N]=So("transition",{elementType:ba,ownerState:P,externalForwardedProps:Q,additionalProps:{in:g,direction:Ta[R],timeout:y,appear:k.current}}),z=(0,pe.jsx)(_,{...I,children:l});if("permanent"===w)return(0,pe.jsx)($,{...D,children:z});const j=(0,pe.jsx)(L,{...N,children:z});return"persistent"===w?(0,pe.jsx)($,{...D,children:j}):(0,pe.jsx)(T,{...M,children:j})}),_a=Ma;function Ia(e,t){return function(){return e.apply(t,arguments)}}const{toString:$a}=Object.prototype,{getPrototypeOf:Da}=Object,{iterator:La,toStringTag:Na}=Symbol,za=(e=>t=>{const n=$a.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ja=e=>(e=e.toLowerCase(),t=>za(t)===e),Ba=e=>t=>typeof t===e,{isArray:Za}=Array,Xa=Ba("undefined");function Va(e){return null!==e&&!Xa(e)&&null!==e.constructor&&!Xa(e.constructor)&&Wa(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fa=ja("ArrayBuffer"),qa=Ba("string"),Wa=Ba("function"),Ga=Ba("number"),Ha=e=>null!==e&&"object"==typeof e,Ua=e=>{if("object"!==za(e))return!1;const t=Da(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Na in e||La in e)},Ya=ja("Date"),Ka=ja("File"),Ja=ja("Blob"),es=ja("FileList"),ts="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{},ns=void 0!==ts.FormData?ts.FormData:void 0,rs=ja("URLSearchParams"),[is,os,as,ss]=["ReadableStream","Request","Response","Headers"].map(ja);function ls(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),Za(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Va(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function cs(e,t){if(Va(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const us="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:globalThis,ds=e=>!Xa(e)&&e!==us,ps=(hs="undefined"!=typeof Uint8Array&&Da(Uint8Array),e=>hs&&e instanceof hs);var hs;const fs=ja("HTMLFormElement"),ms=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gs=ja("RegExp"),Os=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ls(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},vs=ja("AsyncFunction"),bs=(ys="function"==typeof setImmediate,ws=Wa(us.postMessage),ys?setImmediate:ws?((e,t)=>(us.addEventListener("message",({source:n,data:r})=>{n===us&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),us.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var ys,ws;const xs="undefined"!=typeof queueMicrotask?queueMicrotask.bind(us):"undefined"!=typeof process&&process.nextTick||bs,Ss={isArray:Za,isArrayBuffer:Fa,isBuffer:Va,isFormData:e=>{if(!e)return!1;if(ns&&e instanceof ns)return!0;const t=Da(e);if(!t||t===Object.prototype)return!1;if(!Wa(e.append))return!1;const n=za(e);return"formdata"===n||"object"===n&&Wa(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Fa(e.buffer),t},isString:qa,isNumber:Ga,isBoolean:e=>!0===e||!1===e,isObject:Ha,isPlainObject:Ua,isEmptyObject:e=>{if(!Ha(e)||Va(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:is,isRequest:os,isResponse:as,isHeaders:ss,isUndefined:Xa,isDate:Ya,isFile:Ka,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Ja,isRegExp:gs,isFunction:Wa,isStream:e=>Ha(e)&&Wa(e.pipe),isURLSearchParams:rs,isTypedArray:ps,isFileList:es,forEach:ls,merge:function e(){const{caseless:t,skipUndefined:n}=ds(this)&&this||{},r={},i=(i,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const a=t&&cs(r,o)||o;Ua(r[a])&&Ua(i)?r[a]=e(r[a],i):Ua(i)?r[a]=e({},i):Za(i)?r[a]=i.slice():n&&Xa(i)||(r[a]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ls(arguments[e],i);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(ls(t,(t,r)=>{n&&Wa(t)?Object.defineProperty(e,r,{value:Ia(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Da(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:za,kindOfTest:ja,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Za(e))return e;let t=e.length;if(!Ga(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[La]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:fs,hasOwnProperty:ms,hasOwnProp:ms,reduceDescriptors:Os,freezeMethods:e=>{Os(e,(t,n)=>{if(Wa(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Wa(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Za(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:cs,global:us,isContextDefined:ds,isSpecCompliantForm:function(e){return!!(e&&Wa(e.append)&&"FormData"===e[Na]&&e[La])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Ha(e)){if(t.indexOf(e)>=0)return;if(Va(e))return e;if(!("toJSON"in e)){t[r]=e;const i=Za(e)?[]:{};return ls(e,(e,t)=>{const o=n(e,r+1);!Xa(o)&&(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:vs,isThenable:e=>e&&(Ha(e)||Wa(e))&&Wa(e.then)&&Wa(e.catch),setImmediate:bs,asap:xs,isIterable:e=>null!=e&&Wa(e[La])};class Es extends Error{static from(e,t,n,r,i,o){const a=new Es(e.message,t||e.code,n,r,i);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ss.toJSONObject(this.config),code:this.code,status:this.status}}}Es.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Es.ERR_BAD_OPTION="ERR_BAD_OPTION",Es.ECONNABORTED="ECONNABORTED",Es.ETIMEDOUT="ETIMEDOUT",Es.ERR_NETWORK="ERR_NETWORK",Es.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Es.ERR_DEPRECATED="ERR_DEPRECATED",Es.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Es.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Es.ERR_CANCELED="ERR_CANCELED",Es.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Es.ERR_INVALID_URL="ERR_INVALID_URL",Es.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const ks=Es;function Rs(e){return Ss.isPlainObject(e)||Ss.isArray(e)}function Cs(e){return Ss.endsWith(e,"[]")?e.slice(0,-2):e}function Ps(e,t,n){return e?e.concat(t).map(function(e,t){return e=Cs(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const As=Ss.toFlatObject(Ss,{},null,function(e){return/^is[A-Z]/.test(e)}),Qs=function(e,t,n){if(!Ss.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ss.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Ss.isUndefined(t[e])})).metaTokens,i=n.visitor||d,o=n.dots,a=n.indexes,s=n.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===n.maxDepth?100:n.maxDepth,c=s&&Ss.isSpecCompliantForm(t);if(!Ss.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Ss.isDate(e))return e.toISOString();if(Ss.isBoolean(e))return e.toString();if(!c&&Ss.isBlob(e))throw new ks("Blob is not supported. Use a Buffer instead.");return Ss.isArrayBuffer(e)||Ss.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function d(e,n,i){let s=e;if(Ss.isReactNative(t)&&Ss.isReactNativeBlob(e))return t.append(Ps(i,n,o),u(e)),!1;if(e&&!i&&"object"==typeof e)if(Ss.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ss.isArray(e)&&function(e){return Ss.isArray(e)&&!e.some(Rs)}(e)||(Ss.isFileList(e)||Ss.endsWith(n,"[]"))&&(s=Ss.toArray(e)))return n=Cs(n),s.forEach(function(e,r){!Ss.isUndefined(e)&&null!==e&&t.append(!0===a?Ps([n],r,o):null===a?n:n+"[]",u(e))}),!1;return!!Rs(e)||(t.append(Ps(i,n,o),u(e)),!1)}const p=[],h=Object.assign(As,{defaultVisitor:d,convertValue:u,isVisitable:Rs});if(!Ss.isObject(e))throw new TypeError("data must be an object");return function e(n,r,o=0){if(!Ss.isUndefined(n)){if(o>l)throw new ks("Object is too deeply nested ("+o+" levels). Max depth: "+l,ks.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==p.indexOf(n))throw Error("Circular reference detected in "+r.join("."));p.push(n),Ss.forEach(n,function(n,a){!0===(!(Ss.isUndefined(n)||null===n)&&i.call(t,n,Ss.isString(a)?a.trim():a,r,h))&&e(n,r?r.concat(a):[a],o+1)}),p.pop()}}(e),t};function Ts(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Ms(e,t){this._pairs=[],e&&Qs(e,this,t)}const _s=Ms.prototype;_s.append=function(e,t){this._pairs.push([e,t])},_s.toString=function(e){const t=e?function(t){return e.call(this,t,Ts)}:Ts;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const Is=Ms;function $s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ds(e,t,n){if(!t)return e;const r=n&&n.encode||$s,i=Ss.isFunction(n)?{serialize:n}:n,o=i&&i.serialize;let a;if(a=o?o(t,i):Ss.isURLSearchParams(t)?t.toString():new Is(t,i).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}const Ls=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ss.forEach(this.handlers,function(t){null!==t&&e(t)})}},Ns={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},zs={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Is,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},js="undefined"!=typeof window&&"undefined"!=typeof document,Bs="object"==typeof navigator&&navigator||void 0,Zs=js&&(!Bs||["ReactNative","NativeScript","NS"].indexOf(Bs.product)<0),Xs="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Vs=js&&window.location.href||"http://localhost",Fs={...r,...zs},qs=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;return o=!o&&Ss.isArray(r)?r.length:o,s?(Ss.hasOwnProp(r,o)?r[o]=Ss.isArray(r[o])?r[o].concat(n):[r[o],n]:r[o]=n,!a):(r[o]&&Ss.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&Ss.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a)}if(Ss.isFormData(e)&&Ss.isFunction(e.entries)){const n={};return Ss.forEachEntry(e,(e,r)=>{t(function(e){return Ss.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null},Ws=(e,t)=>null!=e&&Ss.hasOwnProp(e,t)?e[t]:void 0,Gs={transitional:Ns,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=Ss.isObject(e);if(i&&Ss.isHTMLForm(e)&&(e=new FormData(e)),Ss.isFormData(e))return r?JSON.stringify(qs(e)):e;if(Ss.isArrayBuffer(e)||Ss.isBuffer(e)||Ss.isStream(e)||Ss.isFile(e)||Ss.isBlob(e)||Ss.isReadableStream(e))return e;if(Ss.isArrayBufferView(e))return e.buffer;if(Ss.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){const t=Ws(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Qs(e,new Fs.classes.URLSearchParams,{visitor:function(e,t,n,r){return Fs.isNode&&Ss.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((o=Ss.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Ws(this,"env"),r=n&&n.FormData;return Qs(o?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType("application/json",!1),function(e){if(Ss.isString(e))try{return(0,JSON.parse)(e),Ss.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Ws(this,"transitional")||Gs.transitional,n=t&&t.forcedJSONParsing,r=Ws(this,"responseType"),i="json"===r;if(Ss.isResponse(e)||Ss.isReadableStream(e))return e;if(e&&Ss.isString(e)&&(n&&!r||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,Ws(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw ks.from(e,ks.ERR_BAD_RESPONSE,this,null,Ws(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Fs.classes.FormData,Blob:Fs.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ss.forEach(["delete","get","head","post","put","patch"],e=>{Gs.headers[e]={}});const Hs=Gs,Us=Ss.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ys=e=>{const t={};let n,r,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&Us[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};(Object.getOwnPropertyDescriptor(Ys,"name")||{}).writable||Object.defineProperty(Ys,"name",{value:"default",configurable:!0});const Ks=Symbol("internals"),Js=/[^\x09\x20-\x7E\x80-\xFF]/g;function el(e){return e&&String(e).trim().toLowerCase()}function tl(e){return!1===e||null==e?e:Ss.isArray(e)?e.map(tl):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(Js,""))}function nl(e,t,n,r,i){return Ss.isFunction(r)?r.call(this,t,n):(i&&(t=n),Ss.isString(t)?Ss.isString(r)?-1!==t.indexOf(r):Ss.isRegExp(r)?r.test(t):void 0:void 0)}class rl{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=el(t);if(!i)throw new Error("header name must be a non-empty string");const o=Ss.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=tl(e))}const o=(e,t)=>Ss.forEach(e,(e,n)=>i(e,n,t));if(Ss.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Ss.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o(Ys(e),t);else if(Ss.isObject(e)&&Ss.isIterable(e)){let n,r,i={};for(const t of e){if(!Ss.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?Ss.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=el(e)){const n=Ss.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ss.isFunction(t))return t.call(this,e,n);if(Ss.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=el(e)){const n=Ss.findKey(this,e);return!(!n||void 0===this[n]||t&&!nl(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=el(e)){const i=Ss.findKey(n,e);!i||t&&!nl(0,n[i],i,t)||(delete n[i],r=!0)}}return Ss.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!nl(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return Ss.forEach(this,(r,i)=>{const o=Ss.findKey(n,i);if(o)return t[o]=tl(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(i):String(i).trim();a!==i&&delete t[i],t[a]=tl(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ss.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ss.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Ks]=this[Ks]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=el(e);t[r]||(function(e,t){const n=Ss.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return Ss.isArray(e)?e.forEach(r):r(e),this}}rl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ss.reduceDescriptors(rl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Ss.freezeMethods(rl);const il=rl;function ol(e,t){const n=this||Hs,r=t||n,i=il.from(r.headers);let o=r.data;return Ss.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function al(e){return!(!e||!e.__CANCEL__)}const sl=class extends ks{constructor(e,t,n){super(null==e?"canceled":e,ks.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function ll(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ks("Request failed with status code "+n.status,[ks.ERR_BAD_REQUEST,ks.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const cl=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const p=c&&l-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},o-s)))},()=>n&&a(n)]}(n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=null!=a?Math.min(o,a):o,l=Math.max(0,s-r),c=i(l);r=Math.max(r,s),e({loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a?(a-s)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},ul=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},dl=e=>(...t)=>Ss.asap(()=>e(...t)),pl=Fs.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Fs.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Fs.origin),Fs.navigator&&/(msie|trident)/i.test(Fs.navigator.userAgent)):()=>!0,hl=Fs.hasStandardBrowserEnv?{write(e,t,n,r,i,o,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];Ss.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Ss.isString(r)&&s.push(`path=${r}`),Ss.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),Ss.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function fl(e,t,n){let r=!("string"==typeof(i=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i));var i;return e&&(r||!1===n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ml=e=>e instanceof il?{...e}:e;function gl(e,t){t=t||{};const n=Object.create(null);function r(e,t,n,r){return Ss.isPlainObject(e)&&Ss.isPlainObject(t)?Ss.merge.call({caseless:r},e,t):Ss.isPlainObject(t)?Ss.merge({},t):Ss.isArray(t)?t.slice():t}function i(e,t,n,i){return Ss.isUndefined(t)?Ss.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!Ss.isUndefined(t))return r(void 0,t)}function a(e,t){return Ss.isUndefined(t)?Ss.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return Ss.hasOwnProp(t,o)?r(n,i):Ss.hasOwnProp(e,o)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(ml(e),ml(t),0,!0)};return Ss.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const o=Ss.hasOwnProp(l,r)?l[r]:i,a=o(Ss.hasOwnProp(e,r)?e[r]:void 0,Ss.hasOwnProp(t,r)?t[r]:void 0,r);Ss.isUndefined(a)&&o!==s||(n[r]=a)}),n}const Ol=e=>{const t=gl({},e),n=e=>Ss.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let i=n("withXSRFToken");const o=n("xsrfHeaderName"),a=n("xsrfCookieName");let s=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");if(t.headers=s=il.from(s),t.url=Ds(fl(c,d,u),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ss.isFormData(r))if(Fs.hasStandardBrowserEnv||Fs.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(Ss.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&s.set(e,n)})}if(Fs.hasStandardBrowserEnv&&(Ss.isFunction(i)&&(i=i(t)),!0===i||null==i&&pl(t.url))){const e=o&&a&&hl.read(a);e&&s.set(o,e)}return t};(Object.getOwnPropertyDescriptor(Ol,"name")||{}).writable||Object.defineProperty(Ol,"name",{value:"default",configurable:!0});const vl="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Ol(e);let i=r.data;const o=il.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=il.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());ll(function(e){t(e),f()},function(e){n(e),f()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new ks("Request aborted",ks.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",i=new ks(r,ks.ERR_NETWORK,e,m);i.event=t||null,n(i),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Ns;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ks(t,i.clarifyTimeoutError?ks.ETIMEDOUT:ks.ECONNABORTED,e,m)),m=null},void 0===i&&o.setContentType(null),"setRequestHeader"in m&&Ss.forEach(o.toJSON(),function(e,t){m.setRequestHeader(t,e)}),Ss.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),h&&([l,u]=cl(h,!0),m.addEventListener("progress",l)),p&&m.upload&&([s,c]=cl(p),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new sl(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const O=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);O&&-1===Fs.protocols.indexOf(O)?n(new ks("Unsupported protocol "+O+":",ks.ERR_BAD_REQUEST,e)):m.send(i||null)})},bl=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ks?t:new sl(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,i(new ks(`timeout of ${t}ms exceeded`,ks.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=r;return s.unsubscribe=()=>Ss.asap(a),s}},yl=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},wl=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*yl(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},{isFunction:xl}=Ss,Sl=(({Request:e,Response:t})=>({Request:e,Response:t}))(Ss.global),{ReadableStream:El,TextEncoder:kl}=Ss.global,Rl=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Cl=e=>{e=Ss.merge.call({skipUndefined:!0},Sl,e);const{fetch:t,Request:n,Response:r}=e,i=t?xl(t):"function"==typeof fetch,o=xl(n),a=xl(r);if(!i)return!1;const s=i&&xl(El),l=i&&("function"==typeof kl?(c=new kl,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const u=o&&s&&Rl(()=>{let e=!1;const t=new n(Fs.origin,{body:new El,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),d=a&&s&&Rl(()=>Ss.isReadableStream(new r("").body)),p={stream:d&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ks(`Response type '${e}' is not supported`,ks.ERR_NOT_SUPPORT,n)})});return async e=>{let{url:i,method:a,data:s,signal:c,cancelToken:h,timeout:f,onDownloadProgress:m,onUploadProgress:g,responseType:O,headers:v,withCredentials:b="same-origin",fetchOptions:y}=Ol(e),w=t||fetch;O=O?(O+"").toLowerCase():"text";let x=bl([c,h&&h.toAbortSignal()],f),S=null;const E=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let k;try{if(g&&u&&"get"!==a&&"head"!==a&&0!==(k=await(async(e,t)=>{const r=Ss.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Ss.isBlob(e))return e.size;if(Ss.isSpecCompliantForm(e)){const t=new n(Fs.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ss.isArrayBufferView(e)||Ss.isArrayBuffer(e)?e.byteLength:(Ss.isURLSearchParams(e)&&(e+=""),Ss.isString(e)?(await l(e)).byteLength:void 0)})(t):r})(v,s))){let e,t=new n(i,{method:"POST",body:s,duplex:"half"});if(Ss.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,n]=ul(k,cl(dl(g)));s=wl(t.body,65536,e,n)}}Ss.isString(b)||(b=b?"include":"omit");const t=o&&"credentials"in n.prototype;if(Ss.isFormData(s)){const e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete("content-type")}const c={...y,signal:x,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};S=o&&new n(i,c);let h=await(o?w(S,y):w(i,c));const f=d&&("stream"===O||"response"===O);if(d&&(m||f&&E)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=h[t]});const t=Ss.toFiniteNumber(h.headers.get("content-length")),[n,i]=m&&ul(t,cl(dl(m),!0))||[];h=new r(wl(h.body,65536,n,()=>{i&&i(),E&&E()}),e)}O=O||"text";let R=await p[Ss.findKey(p,O)||"text"](h,e);return!f&&E&&E(),await new Promise((t,n)=>{ll(t,n,{data:R,headers:il.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:S})})}catch(t){if(E&&E(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new ks("Network Error",ks.ERR_NETWORK,e,S,t&&t.response),{cause:t.cause||t});throw ks.from(t,t&&t.code,e,S,t&&t.response)}}},Pl=new Map,Al=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,o=[r,i,n];let a,s,l=o.length,c=Pl;for(;l--;)a=o[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:Cl(t)),c=s;return s},Ql=(Al(),{http:null,xhr:vl,fetch:{get:Al}});Ss.forEach(Ql,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Tl=e=>`- ${e}`,Ml=e=>Ss.isFunction(e)||null===e||!1===e,_l=function(e,t){e=Ss.isArray(e)?e:[e];const{length:n}=e;let r,i;const o={};for(let a=0;a<n;a++){let n;if(r=e[a],i=r,!Ml(r)&&(i=Ql[(n=String(r)).toLowerCase()],void 0===i))throw new ks(`Unknown adapter '${n}'`);if(i&&(Ss.isFunction(i)||(i=i.get(t))))break;o[n||"#"+a]=i}if(!i){const e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Tl).join("\n"):" "+Tl(e[0]):"as no adapter specified";throw new ks("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i};function Il(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sl(null,e)}function $l(e){return Il(e),e.headers=il.from(e.headers),e.data=ol.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_l(e.adapter||Hs.adapter,e)(e).then(function(t){return Il(e),t.data=ol.call(e,e.transformResponse,t),t.headers=il.from(t.headers),t},function(t){return al(t)||(Il(e),t&&t.response&&(t.response.data=ol.call(e,e.transformResponse,t.response),t.response.headers=il.from(t.response.headers))),Promise.reject(t)})}const Dl="1.15.2",Ll={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ll[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Nl={};Ll.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Dl+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new ks(r(i," has been removed"+(t?" in "+t:"")),ks.ERR_DEPRECATED);return t&&!Nl[i]&&(Nl[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},Ll.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const zl={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ks("options must be an object",ks.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new ks("option "+o+" must be "+n,ks.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ks("Unknown option "+o,ks.ERR_BAD_OPTION)}},validators:Ll},jl=zl.validators;class Bl{constructor(e){this.defaults=e||{},this.interceptors={request:new Ls,response:new Ls}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),i=-1===r?"":n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=gl(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&zl.assertOptions(n,{silentJSONParsing:jl.transitional(jl.boolean),forcedJSONParsing:jl.transitional(jl.boolean),clarifyTimeoutError:jl.transitional(jl.boolean),legacyInterceptorReqResOrdering:jl.transitional(jl.boolean)},!1),null!=r&&(Ss.isFunction(r)?t.paramsSerializer={serialize:r}:zl.assertOptions(r,{encode:jl.function,serialize:jl.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),zl.assertOptions(t,{baseUrl:jl.spelling("baseURL"),withXsrfToken:jl.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&Ss.merge(i.common,i[t.method]);i&&Ss.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=il.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||Ns;n&&n.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!s){const e=[$l.bind(this),void 0];for(e.unshift(...a),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let p=t;for(;d<u;){const e=a[d++],t=a[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=$l.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Ds(fl((e=gl(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Ss.forEach(["delete","get","head","options"],function(e){Bl.prototype[e]=function(t,n){return this.request(gl(n||{},{method:e,url:t,data:(n||{}).data}))}}),Ss.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(gl(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Bl.prototype[e]=t(),Bl.prototype[e+"Form"]=t(!0)});const Zl=Bl;class Xl{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new sl(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Xl(function(t){e=t});return{token:t,cancel:e}}}const Vl=Xl,Fl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Fl).forEach(([e,t])=>{Fl[t]=e});const ql=Fl,Wl=function e(t){const n=new Zl(t),r=Ia(Zl.prototype.request,n);return Ss.extend(r,Zl.prototype,n,{allOwnKeys:!0}),Ss.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(gl(t,n))},r}(Hs);Wl.Axios=Zl,Wl.CanceledError=sl,Wl.CancelToken=Vl,Wl.isCancel=al,Wl.VERSION=Dl,Wl.toFormData=Qs,Wl.AxiosError=ks,Wl.Cancel=Wl.CanceledError,Wl.all=function(e){return Promise.all(e)},Wl.spread=function(e){return function(t){return e.apply(null,t)}},Wl.isAxiosError=function(e){return Ss.isObject(e)&&!0===e.isAxiosError},Wl.mergeConfig=gl,Wl.AxiosHeaders=il,Wl.formToJSON=e=>qs(Ss.isHTMLForm(e)?new FormData(e):e),Wl.getAdapter=_l,Wl.HttpStatusCode=ql,Wl.default=Wl;const Gl=Wl;function Hl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Ul(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ul(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ul(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,Ul(d,"constructor",c),Ul(c,"constructor",l),l.displayName="GeneratorFunction",Ul(c,i,"GeneratorFunction"),Ul(d),Ul(d,i,"Generator"),Ul(d,r,function(){return this}),Ul(d,"toString",function(){return"[object Generator]"}),(Hl=function(){return{w:o,m:p}})()}function Ul(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ul=function(e,t,n,r){function o(t,n){Ul(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ul(e,t,n,r)}function Yl(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Kl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jl(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)?Jl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jl(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}var ec,tc=function(){return React.createElement("svg",{className:"eap-docs-link-icon",xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},React.createElement("path",{stroke:"#757575",strokeLinecap:"round",strokeLinejoin:"round",d:"M8.75 1.458v.875c0 .825 0 1.238.256 1.494.257.256.67.256 1.494.256h.875"}),React.createElement("path",{stroke:"#757575",strokeLinecap:"round",strokeLinejoin:"round",d:"M2.333 9.333V4.667c0-1.65 0-2.475.513-2.988.512-.512 1.337-.512 2.987-.512h2.434c.238 0 .357 0 .465.044.107.045.191.129.36.297l2.233 2.234c.168.168.253.253.297.36.045.107.045.226.045.465v4.766c0 1.65 0 2.475-.513 2.988-.513.512-1.338.512-2.987.512H5.833c-1.65 0-2.475 0-2.987-.512-.513-.513-.513-1.338-.513-2.988ZM4.667 6.417h4.666m-4.666 1.75h4.666m-4.666 1.75H7.1"}))},nc=function(){return React.createElement("svg",{className:"eap-demo-link-icon",xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},React.createElement("path",{stroke:"#757575",strokeLinecap:"round",strokeLinejoin:"round",d:"M6.474 1.75c-2.128.004-3.243.056-3.955.769-.769.768-.769 2.006-.769 4.48 0 2.476 0 3.713.769 4.482.769.769 2.006.769 4.48.769 2.475 0 3.712 0 4.481-.769.712-.712.764-1.827.768-3.956M11.99 2.04 6.446 7.617m5.546-5.579c-.288-.288-2.23-.261-2.64-.255m2.64.255c.288.289.261 2.233.255 2.644"}))},rc=function(){return React.createElement("svg",{className:"eap-video-link-icon",width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#VideoPlayIcona)",fill:"#949494"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.067 9.824a.71.71 0 0 1-.362-.641V4.81c0-.348.154-.588.362-.705.209-.118.488-.121.756.032L9.559 6.38l.048.027c.266.152.393.394.393.632 0 .237-.128.48-.393.631l-3.78 2.183a.87.87 0 0 1-.76-.03M8.44 6.828 5.918 5.4l-.143-.082v3.198l.192-.118L8.44 6.995l.149-.083z"}),React.createElement("path",{d:"M12.416 7A5.415 5.415 0 1 0 7 12.415v.985A6.4 6.4 0 1 1 7 .6a6.4 6.4 0 0 1 0 12.8v-.985A5.415 5.415 0 0 0 12.416 7"})),React.createElement("defs",null,React.createElement("clipPath",{id:"VideoPlayIcona"},React.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))},ic=function(e){var t=e.strokeColor,n=void 0===t?"#757575":t;return React.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M12.917 10a2.917 2.917 0 1 1-5.833 0 2.917 2.917 0 0 1 5.833 0Z",stroke:n}),React.createElement("path",{d:"M17.509 11.747c.435-.117.652-.176.738-.288s.086-.293.086-.653V9.194c0-.36 0-.54-.086-.653s-.303-.17-.738-.288c-1.625-.438-2.643-2.138-2.223-3.752.115-.444.173-.666.118-.797-.055-.13-.213-.22-.53-.399l-1.437-.816c-.31-.176-.465-.264-.604-.245-.14.018-.296.175-.61.488-1.216 1.213-3.229 1.213-4.445 0-.314-.313-.47-.47-.61-.489-.14-.018-.294.07-.604.246l-1.438.816c-.316.18-.474.27-.529.4s.003.352.118.796c.42 1.614-.599 3.314-2.224 3.752-.435.117-.653.176-.739.288s-.085.293-.085.653v1.612c0 .36 0 .54.085.653s.304.17.739.288c1.625.438 2.642 2.138 2.223 3.752-.116.444-.173.666-.118.797.055.13.213.22.529.4l1.437.815c.31.176.466.264.605.246.14-.02.296-.176.61-.49 1.217-1.213 3.23-1.213 4.447 0 .314.314.47.47.61.49.14.018.295-.07.605-.246l1.437-.816c.316-.18.474-.27.53-.4.054-.13-.003-.352-.119-.796-.42-1.614.597-3.314 2.222-3.752Z",stroke:n,strokeLinecap:"round"}))},oc=function(){return React.createElement("svg",{width:166,height:24,viewBox:"0 0 166 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M.837 5.668A.837.837 0 0 0 0 6.505v9.664c0 .462.375.836.837.836h20.915a.837.837 0 0 0 .836-.836V6.505a.837.837 0 0 0-.836-.837zm20.377 9.04a.837.837 0 0 1-.836.837H2.297a.837.837 0 0 1-.837-.837v-3.995c0-.462.375-.837.837-.837h18.08c.463 0 .837.375.837.837zM0 .837C0 .375.375 0 .837 0h20.915c.462 0 .836.375.836.837v2.535a.837.837 0 0 1-.836.836H.837A.837.837 0 0 1 0 3.372zm0 18.379c0-.463.375-.837.837-.837h20.915c.462 0 .836.374.836.836v2.536a.837.837 0 0 1-.836.836H.837A.837.837 0 0 1 0 21.751z",fill:"#ff5b2e"}),React.createElement("path",{d:"M28.6 19.037V3.566h9.439v1.52h-7.712v5.343h6.367v1.498h-6.367v5.59h7.712v1.52zm20.014-7.803v5.723q.068.828 1.3.984l-.067 1.319q-1.77 0-2.668-.894-2.017.894-4.035.894-1.547 0-2.354-.872t-.807-2.504.83-2.392q.83-.783 2.6-.961l3.52-.336v-.961q0-1.14-.493-1.632-.494-.492-1.345-.492-1.794 0-3.722.224l-.695.067-.067-1.275q2.466-.492 4.372-.491 1.906 0 2.757.871.874.872.874 2.728m-6.905 4.56q0 2.058 1.704 2.058a9.1 9.1 0 0 0 3.004-.515l.516-.178v-3.69l-3.318.314q-1.009.09-1.457.58-.45.493-.449 1.432m13.742-6.663q-2.443 0-2.443 1.7 0 .782.56 1.117.561.314 2.556.671 1.995.336 2.825.961.83.626.83 2.348t-1.122 2.526q-1.098.805-3.228.805-1.39 0-3.273-.313l-.673-.112.09-1.453q2.557.38 3.856.38 1.3 0 1.973-.402.695-.425.695-1.386 0-.984-.583-1.32-.583-.357-2.556-.67t-2.802-.917-.83-2.235q0-1.633 1.144-2.415 1.165-.783 2.892-.782 1.367 0 3.43.313l.627.111-.044 1.431q-2.49-.357-3.924-.358m5.673-1.274h1.681l2.803 9.725h.74l2.824-9.725h1.682L66.19 24h-1.682l1.457-4.963h-1.659zm9.799 11.179 3.43-15.203h5.874l3.43 15.203h-3.094l-.606-2.75h-5.335l-.605 2.75zm5.829-12.654-1.547 7.22h4.17l-1.547-7.22zM89.5 7.59q1.167 0 2.982.357l.606.135-.09 2.37q-1.77-.18-2.623-.18-1.547 0-2.063.671-.492.65-.493 2.482 0 1.833.493 2.526.517.67 2.085.67l2.6-.178.09 2.392q-2.398.47-3.654.47-2.488 0-3.587-1.386-1.076-1.41-1.076-4.494 0-3.085 1.121-4.45 1.12-1.385 3.61-1.385m9.917 0q1.165 0 2.982.357l.605.135-.09 2.37q-1.77-.18-2.623-.18-1.546 0-2.062.671-.493.65-.493 2.482t.493 2.526q.516.67 2.085.67l2.6-.178.09 2.392q-2.399.47-3.654.47-2.49 0-3.587-1.386-1.077-1.41-1.076-4.494 0-3.085 1.12-4.45 1.122-1.385 3.61-1.385m6.331 1.542q1.188-1.542 3.968-1.542t3.968 1.542q1.188 1.521 1.188 4.293 0 5.88-5.156 5.88-5.157 0-5.157-5.88 0-2.773 1.189-4.293m2.309 6.82q.471.804 1.659.804t1.636-.805q.471-.804.471-2.526t-.471-2.504q-.448-.782-1.636-.782t-1.659.782q-.449.782-.449 2.504t.449 2.526m9.017 3.086V7.858h2.982v1.185q1.883-1.118 3.587-1.453v3.018a35 35 0 0 0-3.116.782l-.449.157v7.49zm17.869-15.65v15.65h-2.981v-.47q-1.57.738-2.713.738-2.443 0-3.408-1.409-.963-1.408-.964-4.449 0-3.063 1.144-4.449 1.166-1.408 3.497-1.408.717 0 1.995.223l.426.09V3.387zm-3.318 12.967.314-.067v-5.88a12.5 12.5 0 0 0-2.197-.224q-1.816 0-1.816 3.22 0 1.744.404 2.481.404.738 1.322.738a7.8 7.8 0 0 0 1.973-.268m6.094 2.683V7.858h3.004v11.179zm0-12.61v-3.04h3.004v3.04zm6.385 2.705q1.188-1.542 3.968-1.542t3.968 1.542q1.19 1.521 1.189 4.293 0 5.88-5.157 5.88-5.156 0-5.156-5.88 0-2.773 1.188-4.293m2.309 6.82q.471.804 1.659.804t1.637-.805q.471-.804.471-2.526t-.471-2.504q-.449-.782-1.637-.782t-1.659.782q-.448.782-.448 2.504t.448 2.526m12.022 3.086h-3.004V7.858h2.981v.626q1.525-.894 2.803-.894 2.241 0 3.093 1.319.852 1.32.852 4.069v6.059h-3.004v-5.97q0-1.43-.336-2.101-.337-.693-1.345-.693-.92 0-1.771.313l-.269.089z",fill:"#1e1e1e"}))},ac=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:14,viewBox:"0 0 15 14",fill:"none"},React.createElement("g",{clipPath:"url(#clip0_21633_121782)"},React.createElement("path",{d:"M14.8435 7.00002C14.8435 10.8 11.7546 13.8889 7.95466 13.8889C4.48799 13.8889 1.64356 11.3334 1.13245 8.02226C1.06579 7.53338 1.39911 7.08894 1.88801 7.02227C2.37689 6.95561 2.82134 7.28893 2.888 7.77784C3.26578 10.2223 5.39911 12.1112 7.95466 12.1112C10.7769 12.1112 13.0658 9.82228 13.0658 7.00004C13.0658 4.17781 10.7769 1.8889 7.95466 1.8889C6.55466 1.8889 5.28799 2.44444 4.35467 3.35556L4.33243 3.37779L5.46578 4.51113C5.73244 4.77779 5.73244 5.20003 5.46578 5.44446C5.33245 5.57779 5.17689 5.64445 4.9991 5.64445H2.17687C1.44354 5.64445 0.843536 5.04447 0.843536 4.31111V1.48891C0.843536 1.31112 0.9102 1.13336 1.04353 1.02224C1.31018 0.755579 1.73243 0.755579 1.97685 1.02224L3.08797 2.13335L3.1102 2.11112C4.35464 0.866677 6.06575 0.111115 7.95466 0.111115C11.7546 0.111115 14.8435 3.20003 14.8435 7.00002ZM7.95466 3.8889C7.46578 3.8889 7.06577 4.28891 7.06577 4.77779V7.3778L8.44354 8.75557C8.79909 9.11112 9.35466 9.11112 9.71021 8.75557C10.0658 8.40002 10.0658 7.84445 9.71021 7.4889L8.84355 6.62224V4.77779C8.84352 4.28891 8.44354 3.8889 7.95466 3.8889Z",fill:"currentColor"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_21633_121782"},React.createElement("rect",{width:14,height:14,fill:"white",transform:"translate(0.843536)"}))))},sc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16"},React.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m14.5 1.5-13 13m0-13 13 13"}))},lc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20},React.createElement("path",{d:"m5.39 5.382.057 1.6 6.708-.244-7.664 7.664 1.132 1.13 7.666-7.665-.246 6.712 1.6.056.35-9.601-9.603.348Z"}))},cc=function(){return React.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m2 10 8-8m0 6.153V2H3.846",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))},uc=function(){return React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#clip0_25995_249574)"},React.createElement("path",{d:"M4.65129 4.92767L5.48877 3.93497L13.4466 12.1924L12.3618 12.9285C11.7111 13.5555 9.97594 13.9286 8.90513 13.9088L5.41372 13.8443L4.2773 14.9395C3.73658 15.4606 2.88173 15.4448 2.36962 14.9042C2.24569 14.7772 2.1482 14.6268 2.08282 14.4618C2.01744 14.2968 1.98546 14.1205 1.98874 13.943C1.99202 13.7656 2.03049 13.5905 2.10192 13.4281C2.17335 13.2656 2.27632 13.1189 2.40487 12.9966L3.54129 11.9014L3.60579 8.40995C3.62458 7.39313 4.01876 5.54609 4.65129 4.92767Z",stroke:"currentColor",strokeWidth:"1.5"}),React.createElement("path",{d:"M12.0812 2.49165C12.4413 2.14903 12.4554 1.57936 12.1128 1.21925C11.7702 0.859139 11.2005 0.844959 10.8404 1.18758L11.4608 1.83961L12.0812 2.49165ZM8.23339 4.91026L8.85375 5.56229L12.0812 2.49165L11.4608 1.83961L10.8404 1.18758L7.61302 4.25822L8.23339 4.91026Z",fill:"currentColor"}),React.createElement("path",{d:"M16.7339 7.38227C17.094 7.03965 17.1082 6.46998 16.7656 6.10987C16.423 5.74976 15.8533 5.73558 15.4932 6.0782L16.1136 6.73024L16.7339 7.38227ZM12.8862 9.80088L13.5065 10.4529L16.7339 7.38227L16.1136 6.73024L15.4932 6.0782L12.2658 9.14885L12.8862 9.80088Z",fill:"currentColor"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_25995_249574"},React.createElement("rect",{width:"18",height:"18",fill:"white"}))))},dc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},React.createElement("path",{fill:"#F26C0D",d:"M1.636 14.182h3.782a.391.391 0 0 0 .364-.364.364.364 0 0 0-.364-.364H1.636a.364.364 0 0 0-.363.364c0 .218.181.364.363.364ZM3.527 19.6a.364.364 0 0 0-.364.363c0 .218.146.364.364.364h7.709l-2.4-.727h-5.31ZM2.945 12c0 .182.146.364.364.364h3.745l.218-.655c-.072-.072-.145-.072-.218-.072H3.31c-.218 0-.364.145-.364.363ZM5.709 16.727l.036-.109H.727a.391.391 0 0 0-.364.364c0 .218.182.364.364.364h4.91c0-.182.036-.4.072-.619ZM1.636 10.509h3.782a.391.391 0 0 0 .364-.364.391.391 0 0 0-.364-.363H1.636a.391.391 0 0 0-.363.363c0 .182.181.364.363.364ZM13.745 4.8l.727-2.4L10.4 4.582l2.4.727c.4.146.837-.073.946-.509Z"}),React.createElement("path",{fill:"#F26C0D",d:"M23.529 5.273a1.22 1.22 0 0 0-.655-.546L15.238 2.4l-.8 2.582c-.255.8-1.091 1.236-1.855.982l-2.582-.8-3.563 11.709c-.073.29-.037.581.072.836.146.255.364.436.655.545l10.618 3.237c.11.036.218.036.327.036.473 0 .91-.29 1.055-.764l4.473-14.69c.036-.255 0-.546-.11-.8Zm-6.182 13.309a.395.395 0 0 1-.437.254l-7.527-2.29a.395.395 0 0 1-.254-.437.395.395 0 0 1 .436-.255l7.527 2.255c.218.073.327.29.255.473Zm.69-2.328a.395.395 0 0 1-.436.255l-7.527-2.291a.395.395 0 0 1-.255-.436.395.395 0 0 1 .437-.255l7.563 2.291c.182.037.291.255.219.437Zm.728-2.327a.395.395 0 0 1-.437.255l-7.527-2.291a.395.395 0 0 1-.254-.437.395.395 0 0 1 .436-.254l7.527 2.29c.182.037.291.255.255.437Zm.69-2.327a.395.395 0 0 1-.436.255l-7.527-2.291a.395.395 0 0 1-.254-.437.395.395 0 0 1 .436-.254l7.527 2.29a.323.323 0 0 1 .255.437Zm.728-2.291c-.036.146-.182.255-.364.255h-.109l-7.527-2.291a.395.395 0 0 1-.255-.437.395.395 0 0 1 .437-.254l7.527 2.29c.218.037.327.219.291.437Zm.69-2.327a.395.395 0 0 1-.435.254l-4.182-1.272A.395.395 0 0 1 16 5.527c.037-.181.255-.29.437-.254l4.181 1.273c.218.036.328.218.255.436Z"}))},pc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},React.createElement("path",{fill:"#F26C0D",d:"M16.249 4.129a.487.487 0 0 0-.408-.024l-.024.024a.56.56 0 0 0-.168.168l-.984 1.632c-.048.096-.072.216-.048.336.024.12.096.216.192.264a.458.458 0 0 0 .432 0 .56.56 0 0 0 .168-.168l.984-1.632c.048-.096.072-.216.048-.336a.505.505 0 0 0-.192-.264ZM7.344 4.129a.487.487 0 0 1 .408-.024l.024.024a.56.56 0 0 1 .168.168l.984 1.632c.048.096.072.216.048.336a.371.371 0 0 1-.192.264.458.458 0 0 1-.432 0 .56.56 0 0 1-.168-.168L7.2 4.729c-.048-.096-.072-.216-.048-.336a.503.503 0 0 1 .192-.264ZM5.305 8.544c.048 0 .072 0 .12-.024a.371.371 0 0 0 .264-.192.436.436 0 0 0-.168-.6l-1.656-.96a.387.387 0 0 0-.216-.072h-.024c-.144 0-.264.096-.36.216-.048.096-.072.216-.048.336.024.12.096.216.192.264l1.656.96a.536.536 0 0 0 .24.072ZM20.472 6.936a.414.414 0 0 0-.36-.216h-.023a.387.387 0 0 0-.217.072l-1.656.96a.483.483 0 0 0-.216.264c-.024.12-.024.24.048.336.072.144.216.216.384.216.072 0 .144-.024.216-.048l1.656-.96a.372.372 0 0 0 .192-.264c.048-.144.048-.264-.024-.36ZM11.856 3.192a.423.423 0 0 0-.36.192l-.024.024c-.048.072-.048.144-.048.216l-.024 1.92c0 .12.048.216.12.312a.387.387 0 0 0 .312.144c.168 0 .312-.072.384-.216a.387.387 0 0 0 .072-.216l.024-1.92a.506.506 0 0 0-.12-.312c-.12-.096-.216-.144-.336-.144ZM6.48 18.504V21h11.088v-2.496a2.654 2.654 0 0 0-2.688-2.688H9.192c-1.464 0-2.712 1.2-2.712 2.688ZM12.024 14.712a3.104 3.104 0 0 0 3.096-3.096 3.104 3.104 0 0 0-3.096-3.096 3.104 3.104 0 0 0-3.096 3.096c.024 1.704 1.392 3.096 3.096 3.096ZM4.8 15.168a2.433 2.433 0 0 0 2.424-2.424c0-1.32-1.08-2.448-2.424-2.448a2.458 2.458 0 0 0-2.448 2.448c0 1.344 1.104 2.424 2.448 2.424ZM19.272 15.168a2.433 2.433 0 0 0 2.424-2.424c0-1.32-1.104-2.424-2.424-2.424a2.433 2.433 0 0 0-2.424 2.424c0 1.32 1.08 2.424 2.424 2.424ZM2.544 16.056a2.115 2.115 0 0 0-2.112 2.112v1.968h5.184v-1.608c0-1.008.456-1.896 1.152-2.472H2.544ZM21.504 16.056h-4.176a3.253 3.253 0 0 1 1.128 2.472v1.608h5.184v-1.968c0-1.176-.936-2.112-2.136-2.112Z"}))},hc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},React.createElement("path",{fill:"currentColor",d:"M4.934 7.921c.09.025.184.038.283.038h.193c.016 0 .031-.002.047-.003.515 1.61 1.632 2.728 2.93 2.728 1.17 0 2.194-.912 2.761-2.273.193-.137.36-.29.488-.457.062-.005.124-.013.182-.028.443-.11.77-.486.77-.937v-.76c0-.45-.327-.828-.77-.937v-.867c0-1.784-1.543-3.235-3.442-3.235-1.898 0-3.442 1.451-3.442 3.235v.871c-.432.116-.75.49-.75.932v.761c0 .444.318.817.75.933Zm3.442-6.056c1.352 0 2.475.932 2.685 2.147-.586-.893-1.565-1.478-2.675-1.478-1.126 0-2.118.603-2.702 1.518.193-1.235 1.326-2.187 2.692-2.187ZM5.652 6.62c.11.036.236.093.37.187 0 0-.32-1.908.358-2.175 0 0 .936.454 2.006.484 1.07-.03 2.007-.484 2.007-.484.679.267.357 2.175.357 2.175.127-.088.246-.145.35-.181v.63a5.274 5.274 0 0 1-.23.793c-.436.303-1.057.517-1.757.577a.448.448 0 0 0-.376-.206H8.14a.45.45 0 1 0 0 .899h.597a.446.446 0 0 0 .396-.243c.52-.04.993-.157 1.401-.328-.52.88-1.288 1.439-2.147 1.439-1.305 0-2.401-1.286-2.734-3.036v-.53Z"}),React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.886 14.104v.413a.285.285 0 0 1-.286.285H2.17a.285.285 0 0 1-.284-.285v-.413a4.305 4.305 0 0 1 3.683-3.842l.01-.001c.004 0 .009 0 .013-.002l.18-.02.002.01v.008l.005.043.002.01c.011.101.04.199.088.293.316.796 1.34 2.305 1.942 3.162l.124-1.78a1.045 1.045 0 0 1-.424-.413.822.822 0 0 1-.112-.4s.45.2.908.2c.026 0 .052 0 .079-.002.026.002.052.002.078.002.459 0 .908-.2.908-.2a.822.822 0 0 1-.112.4 1.04 1.04 0 0 1-.424.413l.124 1.78c.602-.857 1.626-2.365 1.942-3.162a.872.872 0 0 0 .088-.293l.003-.023a.561.561 0 0 0 .004-.039l.001-.009.182.02.012.002.01.001a4.304 4.304 0 0 1 3.684 3.842Z",clipRule:"evenodd"}))},fc=function(){return React.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M2.29413 9.17787C2.07639 7.448 1.85865 5.71816 1.6409 3.98829C1.59262 3.60482 1.9496 3.34328 2.20354 3.57608C2.88193 4.19794 3.56029 4.81976 4.23869 5.44162C4.46205 5.64637 4.78027 5.57974 4.93512 5.2958L6.62943 2.18955C6.80848 1.8613 7.20309 1.8613 7.38214 2.18955L9.07644 5.2958C9.23129 5.57974 9.54952 5.64633 9.77288 5.44162C10.4513 4.81976 11.1296 4.19794 11.808 3.57608C12.062 3.34328 12.419 3.60482 12.3707 3.98829C12.153 5.71816 11.9352 7.448 11.7175 9.17787H2.29413Z",fill:"white"}),React.createElement("path",{d:"M11.2259 12.0572H2.78524C2.51391 12.0572 2.29395 11.7884 2.29395 11.4568V10.1377H11.7173V11.4568C11.7172 11.7884 11.4973 12.0572 11.2259 12.0572Z",fill:"white"}))},mc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"my-icon",fill:"none"},React.createElement("path",{stroke:"currentColor",strokeWidth:2.032,d:"M15.326 9.025c.283.518.757.906 1.339 1.028a1.85 1.85 0 0 0 1.476-.324l.178-.145 3.506-3.215-.586 4.658-.552 4.383H3.334L2.195 6.369c1.17 1.071 2.338 2.143 3.507 3.215.458.419 1.063.593 1.654.47.583-.123 1.057-.511 1.34-1.03l3.315-6.078 3.315 6.079Z"}),React.createElement("path",{fill:"currentColor",d:"M20.585 22.275H3.435c-.55 0-.998-.546-.998-1.22v-2.68h19.146v2.68c0 .674-.447 1.22-.998 1.22Z"}))};function gc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Oc(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)?Oc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oc(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}var vc=function(){var e;return React.createElement("img",{src:"".concat(null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.pluginUrl,"/assets/images/bell-icon.gif"),width:18,height:18,alt:""})},bc=[{title:(0,l.__)("Documentation","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#clip0_21217_9317)"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.46094 10.7544C9.22699 10.7546 9.84723 11.376 9.84766 12.1411C9.84766 12.9065 9.22728 13.5286 8.46094 13.5288C7.69448 13.5288 7.07324 12.9066 7.07324 12.1411C7.07367 11.3759 7.69477 10.7544 8.46094 10.7544ZM8.46094 11.688C8.21058 11.688 8.00726 11.891 8.00684 12.1411C8.00684 12.3916 8.21034 12.5952 8.46094 12.5952C8.71142 12.595 8.91406 12.3914 8.91406 12.1411C8.91364 11.8911 8.71118 11.6882 8.46094 11.688Z",fill:"#565A5F"}),React.createElement("path",{d:"M4.77832 11.6753C5.03605 11.6753 5.24512 11.8844 5.24512 12.1421C5.24501 12.3997 5.03599 12.6089 4.77832 12.6089H2.9375C2.67985 12.6089 2.47081 12.3997 2.4707 12.1421C2.4707 11.8844 2.67979 11.6753 2.9375 11.6753H4.77832Z",fill:"#565A5F"}),React.createElement("path",{d:"M9.38086 8.91357C9.63857 8.91357 9.84763 9.12266 9.84766 9.38037C9.84766 9.6381 9.63859 9.84717 9.38086 9.84717H2.9375C2.67979 9.84714 2.4707 9.63809 2.4707 9.38037C2.47073 9.12268 2.67981 8.9136 2.9375 8.91357H9.38086Z",fill:"#565A5F"}),React.createElement("path",{d:"M8 7.07275C8.25773 7.07275 8.4668 7.28182 8.4668 7.53955C8.46675 7.79724 8.2577 8.00635 8 8.00635H2.9375C2.67982 8.00632 2.47075 7.79722 2.4707 7.53955C2.4707 7.28183 2.67979 7.07278 2.9375 7.07275H8Z",fill:"#565A5F"}),React.createElement("path",{d:"M9.38086 5.23193C9.63859 5.23193 9.84766 5.441 9.84766 5.69873C9.84753 5.95635 9.63851 6.16553 9.38086 6.16553H2.9375C2.67987 6.1655 2.47083 5.95634 2.4707 5.69873C2.4707 5.44101 2.67979 5.23196 2.9375 5.23193H9.38086Z",fill:"#565A5F"}),React.createElement("path",{d:"M8 2.93018C8.25763 2.93018 8.46664 3.13938 8.4668 3.39697C8.4668 3.65471 8.25773 3.86377 8 3.86377H4.31836C4.06065 3.86374 3.85156 3.65469 3.85156 3.39697C3.85172 3.13939 4.06075 2.9302 4.31836 2.93018H8Z",fill:"#565A5F"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1426 0.629395C12.5098 0.629506 12.8629 0.775663 13.123 1.03564L13.2158 1.13721C13.4181 1.38419 13.5292 1.69469 13.5293 2.01611V2.93701C13.5293 3.19474 13.3202 3.40381 13.0625 3.40381H11.6885V14.9038C11.6882 15.1613 11.4792 15.3705 11.2217 15.3706H1.09668C0.839092 15.3706 0.630119 15.1613 0.629883 14.9038V2.01709C0.629883 1.6497 0.775907 1.29704 1.03613 1.03662C1.29639 0.776532 1.6503 0.629395 2.01758 0.629395H12.1426ZM2.01758 1.56299C1.89732 1.56299 1.78115 1.61111 1.69629 1.6958C1.61154 1.78064 1.56348 1.89633 1.56348 2.01709V14.437H10.7549V2.01611C10.7549 1.93008 10.7637 1.8457 10.7793 1.76416C10.792 1.69515 10.8095 1.62802 10.832 1.56299H2.01758ZM12.1426 1.56299C12.0174 1.56305 11.9044 1.61395 11.8223 1.6958C11.7606 1.7573 11.7165 1.83586 11.6982 1.92432C11.6921 1.95396 11.6885 1.98465 11.6885 2.01611V2.47021H12.5957V2.01611C12.5956 1.89559 12.5483 1.78049 12.4639 1.6958C12.379 1.61105 12.2628 1.5631 12.1426 1.56299Z",fill:"#565A5F"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9834 4.31104C14.3505 4.31115 14.7037 4.45747 14.9639 4.71729L15.0566 4.81885C15.2588 5.06575 15.3699 5.37648 15.3701 5.69775V13.5229C15.37 13.6148 15.3429 13.7053 15.292 13.7817L14.3711 15.1626C14.2846 15.292 14.1391 15.3705 13.9834 15.3706C13.8664 15.3705 13.7546 15.3262 13.6699 15.2495L13.5947 15.1626L12.6738 13.7817C12.6229 13.7053 12.5958 13.6148 12.5957 13.5229V5.69775C12.5961 4.93222 13.2175 4.31127 13.9834 4.31104ZM13.5293 13.3823L13.9824 14.063L14.4365 13.3833V7.08643H13.5293V13.3823ZM13.9834 5.24463C13.7331 5.24487 13.5297 5.44753 13.5293 5.69775V6.15186H14.4365V5.69775C14.4363 5.57738 14.3891 5.46205 14.3047 5.37744C14.2199 5.29286 14.1035 5.24474 13.9834 5.24463Z",fill:"#565A5F"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_21217_9317"},React.createElement("rect",{width:16,height:16,fill:"white"}))))},link:"https://easyaccordion.io/docs/"},{title:(0,l.__)("Technical Support","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#clip0_21217_9324)"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99993 0.5C10.9174 0.500253 13.3116 2.73401 13.5683 5.58475H14.2287C15.2114 5.58501 16.0084 6.38171 16.0084 7.36441V9.90678C16.0082 10.8893 15.2112 11.6862 14.2287 11.6864H13.5495C13.3072 13.1289 12.0536 14.2286 10.5423 14.2288H9.70411C9.48514 14.9634 8.80564 15.4998 7.99993 15.5C7.01718 15.5 6.22049 14.703 6.22027 13.7203C6.22027 12.7375 7.01705 11.9407 7.99993 11.9407C8.80591 11.9409 9.48538 12.4769 9.70411 13.2119H10.5423C11.5952 13.2116 12.4611 12.411 12.5653 11.3855L12.5762 11.178V6.09322C12.5762 3.56597 10.5271 1.51722 7.99993 1.51695C5.47251 1.51695 3.42366 3.5658 3.42366 6.09322V11.178C3.42344 11.4584 3.19564 11.6862 2.91518 11.6864H1.77112C0.788383 11.6864 -0.00832685 10.8895 -0.00854492 9.90678V7.36441C-0.00854492 6.38154 0.788249 5.58475 1.77112 5.58475H2.43054C2.68731 2.73385 5.08218 0.5 7.99993 0.5ZM7.99993 12.9576C7.5787 12.9576 7.23722 13.2991 7.23722 13.7203C7.23744 14.1414 7.57883 14.4831 7.99993 14.4831C8.4208 14.4828 8.76242 14.1412 8.76264 13.7203C8.76264 13.2993 8.42094 12.9579 7.99993 12.9576ZM1.77112 6.6017C1.34989 6.6017 1.0084 6.94319 1.0084 7.36441V9.90678C1.00862 10.3278 1.35003 10.6695 1.77112 10.6695H2.40671V6.6017H1.77112ZM13.5932 10.6695H14.2287C14.6496 10.6692 14.9912 10.3277 14.9915 9.90678V7.36441C14.9915 6.94335 14.6497 6.60196 14.2287 6.6017H13.5932V10.6695Z",fill:"#565A5F"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_21217_9324"},React.createElement("rect",{width:16,height:16,fill:"white"}))))},link:"https://shapedplugin.com/create-new-ticket/"},{title:(0,l.__)("Setup Wizard","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M7.073 2.61a.5.5 0 0 1 .524.046L9.614 4.17l2.395-.816a.498.498 0 0 1 .632.632l-.816 2.394L13.34 8.4a.498.498 0 0 1-.403.797l-2.524-.027-1.472 2.066a.498.498 0 0 1-.882-.142l-.267-.866-5.348 5.35a1.432 1.432 0 0 1-2.025-2.025l5.349-5.349-.865-.266a.498.498 0 0 1-.142-.882l2.066-1.473L6.8 3.059a.5.5 0 0 1 .273-.45m-5.95 11.646a.436.436 0 0 0 .617.617L7.46 9.15l-.145-.47-.47-.146zm10.142-1.621v-.436h-.435a.498.498 0 0 1 0-.995h.435v-.436a.498.498 0 0 1 .997 0v.436h.435a.498.498 0 1 1 0 .995h-.435v.436a.498.498 0 0 1-.997 0M7.826 5.83a.5.5 0 0 1-.208.41L6.159 7.28l.687.212.003.001 1.012.313.058.021c.13.058.229.17.271.308l.31 1.009.003.009.211.684 1.04-1.458.038-.046a.5.5 0 0 1 .373-.162l1.772.018-1.066-1.42a.5.5 0 0 1-.074-.46l.574-1.684-1.685.574a.5.5 0 0 1-.46-.074L7.806 4.06zm6.241 1.202v-.435h-.435a.498.498 0 0 1 0-.996h.435v-.436a.498.498 0 0 1 .996 0v.436h.436a.498.498 0 0 1 0 .996h-.436v.435a.498.498 0 0 1-.996 0M3.796 5.166V4.73h-.435a.498.498 0 0 1 0-.996h.436V3.3a.498.498 0 0 1 .995 0v.435h.436a.498.498 0 0 1 0 .996h-.436v.436a.498.498 0 1 1-.995 0m5.602-2.8V1.93h-.435a.498.498 0 0 1 0-.996h.435V.498a.498.498 0 0 1 .996 0v.436h.436a.498.498 0 0 1 0 .996h-.436v.435a.498.498 0 0 1-.996 0",fill:"#565a5f"}))},link:"".concat(null===(ec=sp_eab_admin_dashboard_localize)||void 0===ec?void 0:ec.homeUrl,"wp-admin/admin.php?page=eap_dashboard#setupwizard")},{title:(0,l.__)("Public Roadmap","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:13,height:16,viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M9 12.667H12V11H9V12.667ZM1 10.667H4V9H1V10.667ZM9 6.66699H12V5H9V6.66699ZM1 4.66699H4V3H1V4.66699ZM5 3.33301H6V0.5C6 0.223858 6.22386 0 6.5 0C6.77614 0 7 0.223858 7 0.5V5.33301H8V4.83301C8.00018 4.37303 8.37303 4.00018 8.83301 4H12.167C12.627 4.00018 12.9998 4.37303 13 4.83301V6.83301C13 7.29314 12.6271 7.66682 12.167 7.66699H8.83301C8.37292 7.66682 8 7.29314 8 6.83301V6.33301H7V11.333H8V10.833C8.00018 10.373 8.37303 10.0002 8.83301 10H12.167C12.627 10.0002 12.9998 10.373 13 10.833V12.833C13 13.2931 12.6271 13.6668 12.167 13.667H8.83301C8.37292 13.6668 8 13.2931 8 12.833V12.333H7V15.167C6.99982 15.443 6.77603 15.667 6.5 15.667C6.22397 15.667 6.00018 15.443 6 15.167V10.333H5V10.833C5 11.2931 4.62708 11.6668 4.16699 11.667H0.833008C0.372921 11.6668 0 11.2931 0 10.833V8.83301C0.000176177 8.37303 0.373028 8.00018 0.833008 8H4.16699C4.62697 8.00018 4.99982 8.37303 5 8.83301V9.33301H6V4.33301H5V4.83301C5 5.29314 4.62708 5.66682 4.16699 5.66699H0.833008C0.37292 5.66682 0 5.29314 0 4.83301V2.83301C0.000175919 2.37303 0.373028 2.00018 0.833008 2H4.16699C4.62697 2.00018 4.99982 2.37303 5 2.83301V3.33301Z",fill:"#565A5F"}))},link:""},{title:(0,l.__)("Request a Feature","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:15,height:13,viewBox:"0 0 15 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M13.5844 0C14.0866 0.00036694 14.5 0.40801 14.5 0.913763V6.85187C14.4998 7.35793 14.0853 7.76526 13.5844 7.76563H13.3142V9.36359C13.3141 9.53876 13.2142 9.6992 13.0575 9.77754C12.9008 9.85571 12.7131 9.83828 12.5731 9.73325L9.95378 7.76563H4.60494C4.34958 7.76555 4.25024 7.55819 4.25 7.30287C4.25 7.04735 4.42774 6.8402 4.68324 6.84012H10.1074C10.2076 6.84018 10.3057 6.87217 10.3858 6.93231L12.3887 8.43807V7.30287C12.3887 7.0473 12.5959 6.84012 12.8514 6.84012H13.5745V0.925513H2.932V6.84012H4.74054C4.99578 6.84051 5.2033 7.04754 5.2033 7.30287C5.20306 7.558 4.99563 7.76523 4.74054 7.76563H2.92205C2.41939 7.76563 2.00665 7.35589 2.00648 6.85187V3.82497H0.925513V9.1295H2.26588C2.52133 9.12957 2.72854 9.33681 2.72864 9.59225V10.7275L4.7306 9.22259C4.81073 9.16244 4.90878 9.1295 5.00898 9.1295H10.0975C10.3529 9.12957 10.5601 9.33681 10.5602 9.59225C10.5602 9.84772 10.353 10.0549 10.0975 10.055H5.16263L2.54426 12.0226C2.40408 12.128 2.21577 12.1452 2.0589 12.0669C1.90218 11.9885 1.80312 11.8282 1.80312 11.653V10.055H0.915571C0.413233 10.0548 0 9.64711 0 9.14124V3.81232C0.000100153 3.30683 0.413768 2.89963 0.915571 2.89946H2.00648V0.913763C2.00649 0.408306 2.41983 0 2.92205 0H13.5844Z",fill:"#565A5F"}))},link:"https://shapedplugin.com/contact-us/"},{title:(0,l.__)("Video Tutorials","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1.13145 13.3764C1.13145 14.2004 1.79963 14.8686 2.62363 14.8686H13.3764C13.6888 14.8686 13.9421 15.1218 13.9421 15.4343C13.9421 15.7467 13.6888 16 13.3764 16H2.62363C1.17453 16 0 14.8255 0 13.3764V2.62363C0 2.31119 0.253283 2.0579 0.565723 2.0579C0.878163 2.0579 1.13145 2.31119 1.13145 2.62363V13.3764ZM13.9421 0C15.0786 0 16 0.921355 16 2.0579V11.3185C16 12.455 15.0786 13.3764 13.9421 13.3764H4.68153L4.47152 13.3653C3.43364 13.2601 2.62363 12.3841 2.62363 11.3185V2.0579C2.62363 0.921355 3.54498 0 4.68153 0H13.9421ZM4.68153 1.13145C4.17008 1.13145 3.75507 1.54646 3.75507 2.0579V11.3185C3.75507 11.8299 4.17008 12.2449 4.68153 12.2449H13.9421C14.4535 12.2449 14.8686 11.8299 14.8686 11.3185V2.0579C14.8686 1.54646 14.4535 1.13145 13.9421 1.13145H4.68153ZM6.97155 3.6576C7.11489 3.57824 7.29073 3.58294 7.42976 3.66966L11.6732 6.3174C11.8055 6.40003 11.8855 6.54527 11.8852 6.70125C11.8848 6.85726 11.8039 7.00205 11.6712 7.08409L7.42775 9.70772C7.28864 9.79362 7.11339 9.79729 6.97055 9.71777C6.82778 9.63803 6.73943 9.48641 6.73943 9.32287V4.0525C6.7396 3.88869 6.82829 3.73709 6.97155 3.6576ZM7.64178 8.51297L10.5779 6.69824L7.64178 4.86542V8.51297Z",fill:"#565A5F"}))},link:"https://youtu.be/JEv8hP5NvnY?si=-a4iL5GV-NZmo9bI"},{title:(0,l.__)("What's New","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M13.9776 7.99978C13.9776 5.116 11.9304 2.70842 9.2081 2.1506L9.31094 1.65095L9.41278 1.15031C12.6012 1.80351 15 4.62136 15 7.99978C14.9999 11.5229 12.3908 14.4353 8.99743 14.9191L9.19812 15.1734C9.37262 15.3947 9.33473 15.7158 9.11325 15.8904C8.89167 16.0649 8.57026 16.0269 8.39538 15.8057L7.59863 14.7974C7.46615 14.6297 7.45225 14.3973 7.56369 14.215L8.23563 13.1189C8.38311 12.8786 8.69783 12.8032 8.93852 12.9504C9.17904 13.0977 9.25459 13.4121 9.10726 13.6525L8.95949 13.8928C11.8045 13.4342 13.9775 10.971 13.9776 7.99978ZM1 7.99978C1 4.47752 3.60757 1.56443 6.99957 1.0795L6.80088 0.828179C6.62574 0.60702 6.66335 0.285088 6.88475 0.110122C7.10616 -0.0648254 7.42846 -0.0272546 7.60362 0.193895L8.40137 1.20117C8.53414 1.36887 8.54784 1.60209 8.43631 1.78459L7.76637 2.88063C7.61923 3.1212 7.30439 3.19707 7.06347 3.05017C6.82269 2.90317 6.74669 2.58869 6.89374 2.34807L7.04051 2.10572C4.19535 2.5643 2.02239 5.02846 2.02239 7.99978C2.02244 10.8835 4.06964 13.2912 6.7919 13.8489L6.58622 14.8492C3.39803 14.1959 1.00005 11.378 1 7.99978ZM5.65968 10.2218V11.243H4.74711V10.2218H5.65968ZM11.2529 10.2218V11.243H6.57125V10.2218H11.2529ZM5.65968 8.39969V9.42093H4.74711V8.39969H5.65968ZM11.2529 8.39969V9.42093H6.57125V8.39969H11.2529ZM5.65968 6.57862V7.59986H4.74711V6.57862H5.65968ZM11.2529 6.57862V7.59986H6.57125V6.57862H11.2529ZM5.65968 4.75655V5.77779H4.74711V4.75655H5.65968ZM11.2529 4.75655V5.77779H6.57125V4.75655H11.2529Z",fill:"#565A5F"}))},link:"https://easyaccordion.io/changelog/"},{title:(0,l.__)("Blog: Latest News","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.65039 8.5791C8.78091 8.45177 8.97104 8.40599 9.14551 8.45898L11.6055 9.20605L11.6631 9.22754C11.7193 9.25247 11.7708 9.28828 11.8145 9.33203L15.2383 12.7627H15.2373C15.9207 13.4461 15.9207 14.5539 15.2373 15.2373C14.5966 15.878 13.5829 15.9181 12.8955 15.3574L12.7627 15.2373L9.34473 11.8135C9.28389 11.7525 9.23981 11.6767 9.2168 11.5938L8.51855 9.07129C8.46988 8.89556 8.51987 8.70644 8.65039 8.5791ZM13.2607 14.3203L13.4697 14.5303L13.5264 14.582C13.8209 14.8223 14.2557 14.8049 14.5303 14.5303C14.8232 14.2373 14.8231 13.7626 14.5303 13.4697V13.4688L14.3213 13.2598L13.2607 14.3203ZM10.1455 11.1992L12.5537 13.6133L13.6152 12.5518L11.1943 10.126L9.72363 9.67969L10.1455 11.1992ZM14.75 10.0625V2.375C14.75 1.61561 14.1344 1 13.375 1H2.375C1.61561 1 1 1.61561 1 2.375V13.375C1 14.1344 1.61561 14.75 2.375 14.75H10.0312C10.3074 14.75 10.5312 14.9739 10.5312 15.25C10.5312 15.5261 10.3074 15.75 10.0312 15.75H2.375C1.06333 15.75 5.15407e-07 14.6867 0 13.375V2.375C0 1.06333 1.06333 0 2.375 0H13.375C14.6867 5.15415e-07 15.75 1.06333 15.75 2.375V10.0625C15.75 10.3386 15.5261 10.5625 15.25 10.5625C14.9739 10.5625 14.75 10.3386 14.75 10.0625ZM6.5 7.90625C6.7761 7.9063 7 8.13014 7 8.40625C6.99999 8.68235 6.77609 8.9062 6.5 8.90625H3.625C3.34886 8.90625 3.12501 8.68239 3.125 8.40625C3.125 8.13011 3.34886 7.90625 3.625 7.90625H6.5ZM12.125 5.40625C12.4011 5.4063 12.625 5.63014 12.625 5.90625C12.625 6.18235 12.4011 6.4062 12.125 6.40625H3.625C3.34886 6.40625 3.12501 6.18239 3.125 5.90625C3.125 5.63011 3.34886 5.40625 3.625 5.40625H12.125ZM12.125 2.90625C12.4011 2.9063 12.625 3.13014 12.625 3.40625C12.625 3.68235 12.4011 3.9062 12.125 3.90625H3.625C3.34886 3.90625 3.12501 3.68239 3.125 3.40625C3.125 3.13011 3.34886 2.90625 3.625 2.90625H12.125Z",fill:"#565A5F"}))},link:"https://shapedplugin.com/blog/"},{title:(0,l.__)("Join Community","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M10.042 14.5273C10.042 13.4007 9.12664 12.4854 8 12.4854C6.87334 12.4854 5.95801 13.4007 5.95801 14.5273V15.0625H10.042V14.5273ZM9.03711 10.5107C9.03711 9.93841 8.57243 9.47266 8 9.47266C7.42759 9.47267 6.96289 9.93842 6.96289 10.5107C6.96306 11.0831 7.42763 11.5478 8 11.5479C8.57238 11.5479 9.03694 11.0832 9.03711 10.5107ZM5.02051 5.99121C5.02025 4.8649 4.10583 3.95036 2.97949 3.9502C1.85297 3.9502 0.937754 4.8648 0.9375 5.99121V6.52734H5.02051V5.99121ZM5.95801 6.99609C5.95787 7.25486 5.74806 7.46484 5.48926 7.46484H3.05273C2.98287 7.79927 2.9463 8.14612 2.94629 8.50195C2.94629 10.3841 3.97796 12.0274 5.50781 12.8975C5.78106 12.4806 6.15444 12.1348 6.5957 11.8984C6.2431 11.5417 6.02547 11.0516 6.02539 10.5107C6.02539 9.42071 6.90976 8.53517 8 8.53516C9.09026 8.53516 9.97461 9.4207 9.97461 10.5107C9.97453 11.0519 9.75623 11.5417 9.40332 11.8984C9.84476 12.1348 10.2178 12.4806 10.4912 12.8975C12.0215 12.0275 13.0537 10.3844 13.0537 8.50195C13.0537 8.14614 13.0171 7.79927 12.9473 7.46484H10.5107C10.2519 7.46484 10.0421 7.25486 10.042 6.99609V5.99121C10.0421 5.31709 10.2684 4.69665 10.6465 4.19727C9.87654 3.72246 8.97061 3.44824 8 3.44824C7.02909 3.44824 6.12263 3.72218 5.35254 4.19727C5.73087 4.69673 5.9579 5.31687 5.95801 5.99121V6.99609ZM10.9795 6.52734H15.0625V5.99121C15.0622 4.8648 14.147 3.9502 13.0205 3.9502C11.8941 3.95038 10.9797 4.86492 10.9795 5.99121V6.52734ZM4.0166 1.97461C4.01639 1.40256 3.55163 0.937663 2.97949 0.9375C2.40719 0.9375 1.94162 1.40245 1.94141 1.97461C1.94141 2.51132 2.35033 2.95358 2.87305 3.00684L2.97949 3.0127L3.08496 3.00684C3.60783 2.95375 4.0166 2.51144 4.0166 1.97461ZM14.0586 1.97461C14.0584 1.40245 13.5928 0.9375 13.0205 0.9375C12.4484 0.937686 11.9836 1.40257 11.9834 1.97461C11.9834 2.51143 12.3922 2.95373 12.915 3.00684L13.0205 3.0127L13.127 3.00684C13.6497 2.9536 14.0586 2.51134 14.0586 1.97461ZM14.9961 1.97461C14.9961 2.51629 14.7763 3.00639 14.4229 3.36328C15.3609 3.86504 15.9998 4.85385 16 5.99121V6.99609C15.9999 7.25486 15.79 7.46484 15.5312 7.46484H13.8984C13.9575 7.80213 13.9912 8.14833 13.9912 8.50195C13.9912 10.7682 12.7308 12.741 10.875 13.7588C10.9405 14.0042 10.9795 14.2614 10.9795 14.5273V15.5312C10.9795 15.79 10.7695 15.9998 10.5107 16H5.48926C5.23053 15.9998 5.02051 15.79 5.02051 15.5312V14.5273C5.02051 14.2615 5.05856 14.0042 5.12402 13.7588C3.26864 12.7408 2.00879 10.7679 2.00879 8.50195C2.0088 8.14834 2.04253 7.80214 2.10156 7.46484H0.46875C0.209952 7.46484 0.000139104 7.25486 0 6.99609V5.99121C0.000175572 4.85416 0.638542 3.86517 1.57617 3.36328C1.22304 3.00643 1.00391 2.51603 1.00391 1.97461C1.00412 0.884749 1.88936 0 2.97949 0C4.06944 0.000163301 4.95389 0.884844 4.9541 1.97461C4.9541 2.51613 4.73508 3.00642 4.38184 3.36328C4.4768 3.4141 4.56875 3.46981 4.65723 3.53027C5.61228 2.88665 6.76299 2.51074 8 2.51074C9.23672 2.51074 10.3869 2.88693 11.3418 3.53027C11.4305 3.46964 11.523 3.41423 11.6182 3.36328C11.2649 3.00642 11.0459 2.51612 11.0459 1.97461C11.0461 0.884857 11.9306 0.000185742 13.0205 0C14.1106 0 14.9959 0.88475 14.9961 1.97461Z",fill:"#565A5F"}))},link:" https://community.shapedplugin.com/"},{title:(0,l.__)("About Us","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0ZM8 14.4C4.46538 14.4 1.6 11.5346 1.6 8C1.6 4.46538 4.46538 1.6 8 1.6C11.5346 1.6 14.4 4.46538 14.4 8C14.4 11.5346 11.5346 14.4 8 14.4ZM7.2 4V7.2H8.8V4H7.2ZM7.2 8.8V12H8.8V8.8H7.2Z",fill:"#565A5F"}))},link:"#about_us"}];const yc=function(e){var t,n=e.menuItems,r=void 0===n?[]:n,i=e.currentPage,o=void 0===i?"":i,s=e.setPageAndHash,c=void 0===s?function(){}:s,u=gc((0,a.useState)(!1),2),d=u[0],p=u[1],h=gc((0,a.useState)(!1),2),f=h[0],m=h[1],g=gc((0,a.useState)({left:0,width:0}),2),O=g[0],v=g[1],b=(0,a.useRef)(),y=(0,a.useRef)({}),w=function(e){return function(){p(e)}},x=function(e){var t=Kl((0,a.useState)("idle"),2),n=t[0],r=t[1],i=Kl((0,a.useState)(""),2),o=i[0],s=i[1],l=Kl((0,a.useState)(""),2),c=l[0],u=l[1],d=new FormData;d.append("nonce",sp_eab_admin_dashboard_localize.nonce),d.append("action","sp_eap_changelog_data");var p=function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Yl(o,r,i,a,s,"next",e)}function s(e){Yl(o,r,i,a,s,"throw",e)}a(void 0)})}}(Hl().m(function e(t){var n,i,o;return Hl().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,r("loading"),e.n=1,Gl.post(ajaxurl,t);case 1:n=e.v,i=n.data.changelog,s(i),r("success"),e.n=3;break;case 2:e.p=2,o=e.v,console.error("Error fetching data:",o.message),r("error"),u(o.message||"Failed to load changelog");case 3:return e.a(2)}},e,null,[[0,2]])}));return function(_x){return e.apply(this,arguments)}}();return(0,a.useEffect)(function(){e&&p(d)},[e]),{status:n,changelog:o,errorMessage:c}}(d),S=x.status,E=x.changelog,k=x.errorMessage;return(0,a.useEffect)(function(){var e,t;m(null!==(e=null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.showUpgradeNotice)&&void 0!==e&&e)},[]),(0,a.useEffect)(function(){if(y.current[o]){var e=y.current[o],t=b.current;if(e&&t){var n=t.getBoundingClientRect(),r=e.getBoundingClientRect();v({left:r.left-n.left,width:r.width})}}},[o]),React.createElement(React.Fragment,null,f&&React.createElement("div",{className:"sp-eab-green-header-notice"},React.createElement("div",{className:"sp-eab-green-header-notice-content"},React.createElement(vc,null),React.createElement("span",{className:"sp-eab-green-header-notice-text"},"You're currently using ",React.createElement("strong",null,"Easy Accordion Lite"),". To access additional features, consider"),React.createElement("a",{className:"sp-eab-green-header-notice-link",href:"https://easyaccordion.io/pricing/?ref=1",target:"_blank",rel:"noopener noreferrer"},(0,l.__)("Upgrade to Pro","easy-accordion-free"),React.createElement(cc,null)),React.createElement("button",{className:"sp-eab-green-header-notice-close",onClick:function(){var e,t;m(!1);var n=new FormData;n.append("action","sp_eab_hide_upgrade_notice"),n.append("nonce",null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.nonce),fetch(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.ajax_url,{method:"POST",body:n}).then(function(e){return e.json()}).catch(function(e){console.error("Error hiding upgrade notice:",e)})},type:"button"},React.createElement(sc,null)))),React.createElement("div",{className:"sp-eab-admin-dashboard-header"},React.createElement("div",{className:"sp-eab-block-setting-header-wrapper sp-d-flex sp-justify-between sp-align-center"},React.createElement("div",{className:"sp-eab-admin-dashboard-header-left sp-d-flex sp-align-center sp-gap-10px"},React.createElement("span",{className:"sp-eap-dashboard-logo"},React.createElement(oc,null)),React.createElement("span",{onClick:w(!0),className:"sp-eap-plugin-version"},React.createElement(ac,null),null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.pluginVersion),React.createElement(_a,{anchor:"right",open:d,onClose:w(!1),slotProps:{paper:{className:"sp-eab-admin-changelog-wrapper"}}},React.createElement("div",{className:"sp-eab-changelog-heading sp-d-flex sp-justify-between"},React.createElement("p",{className:"sp-eab-changelog-heading-title"},"Latest Updates - Changelog"),React.createElement("button",{className:"sp-eab-changelog-close-btn sp-d-flex sp-align-center sp-cursor-pointer",onClick:w(!1)},React.createElement(sc,null))),"loading"===S&&React.createElement("div",{className:"sp-eab-changelog-details"},(0,l.__)("Loading…","easy-accordion-free")),"error"===S&&React.createElement("div",{className:"sp-eab-changelog-details sp-eab-changelog-error"},React.createElement("p",null,(0,l.__)("Couldn't load the latest changelog.","easy-accordion-free")),k&&React.createElement("p",{className:"sp-eab-changelog-error-detail"},k),React.createElement("a",{href:"https://easyaccordion.io/changelog/",target:"_blank",rel:"noopener noreferrer"},(0,l.__)("View changelog on easyaccordion.io","easy-accordion-free"))),"success"===S&&React.createElement("div",{className:"sp-eab-changelog-details",dangerouslySetInnerHTML:{__html:E}}))),React.createElement("div",{className:"sp-eab-admin-dashboard-nav",ref:b},React.createElement("span",{className:"sp-eap-nav-sliding-indicator",style:{left:"".concat(O.left,"px"),width:"".concat(O.width,"px")}}),React.createElement("ul",{className:"sp-d-flex"},null==r?void 0:r.map(function(e){return React.createElement("li",{key:e.value,className:"lite_vs_pro"===e.value?"sp-eap-nav-divider":""},React.createElement("a",{ref:function(t){return y.current[e.value]=t},href:e.hash,className:"".concat(o===e.value?"active":""," ").concat(e.icon?"sp-eap-nav-item-with-icon":""),onClick:function(t){t.preventDefault(),c(e.value)}},e.icon,e.label,e.badge&&React.createElement("span",{className:"sp-eab-nav-badge"},(0,l.__)("NEW!","easy-accordion-free"))))}))),React.createElement("div",{className:"sp-eab-admin-dashboard-header-right sp-d-flex sp-gap-6px sp-cursor-pointer"},React.createElement(hc,null),React.createElement("span",null,(0,l.__)("Get Help","easy-accordion-free")),React.createElement("div",{className:"sp-eab-help-drop-down sp-d-hidden sp-flex-col"},null==bc?void 0:bc.map(function(e,t){var n=e.title,r=e.link,i=e.Icon;return React.createElement(a.Fragment,{key:t},r&&React.createElement("a",{href:r,target:r.startsWith("#")?"":"_blank",rel:r.startsWith("#")?"":"noopener noreferrer",className:"sp-eap-support-link sp-d-flex sp-align-center sp-gap-10px",onClick:function(e){r.startsWith("#")&&(e.preventDefault(),c(r.replace("#","")))}},React.createElement(i,null),React.createElement("span",null,n),React.createElement("span",{className:"drop-down-arrow"},React.createElement(lc,null))))}))))))};var wc=function(e){var t=e.color,n=void 0===t?"#F26C0D":t;return React.createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.228 4.975c-.467-.26-.855.067-.855.594v9.862c0 .527.388.854.855.594l8.27-4.931c.435-.259.435-.883 0-1.142z",fill:n}))},xc=function(){return React.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m2 10 8-8m0 6.153V2H3.846",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))},Sc=n(384),Ec=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M22.35 1.85A.35.35 0 0 0 22 1.5H2a.35.35 0 0 0-.35.35v11.3c0 .193.157.35.35.35h20a.35.35 0 0 0 .35-.35zm1.3 11.3A1.65 1.65 0 0 1 22 14.8H2a1.65 1.65 0 0 1-1.65-1.65V1.85C.35.939 1.089.2 2 .2h20c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M18.788 3.147a1 1 0 0 1 1.414-.008l.65.644a.5.5 0 0 1-.704.71l-.65-.643-.643.65a.5.5 0 0 1-.71-.704zM12.5 3.1a.65.65 0 0 1 0 1.3h-9a.65.65 0 0 1 0-1.3zm5 5.657a.6.6 0 1 1 0 1.199h-14a.6.6 0 1 1 0-1.2zm-4 2.312a.5.5 0 1 1 0 1h-10a.5.5 0 0 1 0-1zM23 6.2a.65.65 0 0 1 0 1.3H1a.65.65 0 0 1 0-1.3zm-.65 11.95a.35.35 0 0 0-.35-.35H2a.35.35 0 0 0-.35.35v4c0 .193.157.35.35.35h20a.35.35 0 0 0 .35-.35zm1.3 4A1.65 1.65 0 0 1 22 23.8H2a1.65 1.65 0 0 1-1.65-1.65v-4c0-.911.739-1.65 1.65-1.65h20c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M18.082 19.4a.5.5 0 0 1 .707-.007l.663.65q.003.004.016.005.013-.001.016-.005l.67-.644a.5.5 0 0 1 .693.721l-.67.644a1.026 1.026 0 0 1-1.425-.007l-.662-.65a.5.5 0 0 1-.008-.707m-5.582.1a.65.65 0 0 1 0 1.3h-9a.65.65 0 0 1 0-1.3z",fill:"#ff5b2e",className:"eab-block-icon"}))},kc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14.05 2a.35.35 0 0 0-.35-.35h-12a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h12a.35.35 0 0 0 .35-.35zm1.3 20a1.65 1.65 0 0 1-1.65 1.65h-12A1.65 1.65 0 0 1 .05 22V2C.05 1.089.789.35 1.7.35h12c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M2.897 5.217a1 1 0 0 1-.008-1.414l.644-.65a.5.5 0 0 1 .71.704l-.643.65.65.642a.5.5 0 0 1-.704.711zm-.047 6.288a.65.65 0 0 1 1.3 0v9a.65.65 0 0 1-1.3 0zm9.85-8.5a.5.5 0 0 1 0 1H8.3a.5.5 0 1 1 0-1zM11.3 4.8a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm.5 1.805a.5.5 0 0 1 0 1H8.3a.5.5 0 1 1 0-1zm.9 3a.5.5 0 0 1 0 1H8.3a.5.5 0 0 1 0-1zM11.3 11.4a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm.5 1.805a.5.5 0 1 1 0 1H8.3a.5.5 0 0 1 0-1zM5.65 23V1a.65.65 0 0 1 1.3 0v22a.65.65 0 0 1-1.3 0m17-21a.35.35 0 0 0-.35-.35h-3.6a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h3.6a.35.35 0 0 0 .35-.35zm1.3 20c0 .911-.74 1.65-1.65 1.65h-3.6A1.65 1.65 0 0 1 17.05 22V2c0-.911.739-1.65 1.65-1.65h3.6c.91 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M19.764 3.14a.5.5 0 0 1 .706.013l.644.67a1.026 1.026 0 0 1-.007 1.425l-.65.662a.5.5 0 0 1-.715-.699l.65-.663q.005-.003.006-.016-.001-.013-.005-.016l-.644-.67a.5.5 0 0 1 .015-.706m.086 17.36v-9a.65.65 0 0 1 1.3 0v9a.65.65 0 0 1-1.3 0",fill:"#ff5b2e",className:"eab-block-icon"}))},Rc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14.05 2a.35.35 0 0 0-.35-.35h-12a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h12a.35.35 0 0 0 .35-.35zm1.3 20a1.65 1.65 0 0 1-1.65 1.65h-12A1.65 1.65 0 0 1 .05 22V2C.05 1.089.789.35 1.7.35h12c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M9.469 14.831a.8.8 0 0 1 1.08.077l.058.069L14.9 20.7l-.8.6-4.155-5.54-3.426 3.428a.8.8 0 0 1-.977.12L3.629 18.16.9 21.8l-.8-.6 2.837-3.784a.8.8 0 0 1 .916-.27l.136.065 1.933 1.16 3.48-3.48zM4.5 13.5a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0m1 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M22.65 2a.35.35 0 0 0-.35-.35h-3.6a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h3.6a.35.35 0 0 0 .35-.35zm1.3 20c0 .911-.74 1.65-1.65 1.65h-3.6A1.65 1.65 0 0 1 17.05 22V2c0-.911.739-1.65 1.65-1.65h3.6c.91 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}))},Cc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React.createElement("path",{stroke:"#FF5B2E",fill:"#fff",strokeWidth:1.5,d:"M6.5 1H2a1 1 0 0 0-1 1v20a1 1 0 0 0 1 1h4.5m11-22H22a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1h-4.5"}),React.createElement("g",{fill:"#FF5B2E"},React.createElement("path",{d:"M5.5 8.513a.5.5 0 0 0-.5.5v6.027a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5V9.013a.5.5 0 0 0-.5-.5h-13Zm12.648 5.622a.5.5 0 0 1-.5.5H6.405a.5.5 0 0 1-.5-.5v-2.513a.5.5 0 0 1 .5-.5h11.243a.5.5 0 0 1 .5.5v2.513ZM5 5.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v1.608a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V5.5ZM5 16.892a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5V18.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-1.608Z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"a"},React.createElement("path",{fill:"#fff",d:"M5 5h14v14H5z"}))))},Pc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M15.55 1.8a.35.35 0 0 0-.35-.35H8.8a.35.35 0 0 0-.35.35v16.5c0 .193.157.35.35.35h6.4a.35.35 0 0 0 .35-.35zm1.3 16.5a1.65 1.65 0 0 1-1.65 1.65H8.8a1.65 1.65 0 0 1-1.65-1.65V1.8C7.15.889 7.889.15 8.8.15h6.4c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M12.84 9.97a.8.8 0 0 1 1.178.011l.062.08 2.33 3.345-.82.572-2.17-3.115-1.35 1.868a.8.8 0 0 1-1.075.207l-1.143-.722-1.442 2.07-.82-.572 1.55-2.226.048-.063a.8.8 0 0 1 1.036-.157l1.145.724 1.406-1.942zM11.5 7.5a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0m1 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-7.85 8.3V4.3a.35.35 0 0 0-.35-.35H2v-1.3h2.3c.911 0 1.65.739 1.65 1.65v11.5a1.65 1.65 0 0 1-1.65 1.65H2v-1.3h2.3a.35.35 0 0 0 .35-.35m13.4 0V4.3c0-.911.739-1.65 1.65-1.65H22v1.3h-2.3a.35.35 0 0 0-.35.35v11.5c0 .193.157.35.35.35H22v1.3h-2.3a1.65 1.65 0 0 1-1.65-1.65M10 22.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0",fill:"#ff5b2e",className:"eab-block-icon"}),React.createElement("path",{d:"M22.046 8.446a.5.5 0 0 1 .707 0l.897.897a1 1 0 0 1 0 1.414l-.896.896a.5.5 0 1 1-.708-.707l.897-.896-.897-.896a.5.5 0 0 1 0-.708m-20.808 0a.5.5 0 0 1 .707.708l-.809.807a.126.126 0 0 0 0 .178l.809.808a.5.5 0 0 1-.707.707l-.809-.808a1.126 1.126 0 0 1 0-1.592z",fill:"#ff5b2e",className:"eab-block-icon"}))},Ac=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M22.65 2a.35.35 0 0 0-.35-.35H1.7a.35.35 0 0 0-.35.35v12c0 .193.157.35.35.35h20.6a.35.35 0 0 0 .35-.35V2Zm1.3 12c0 .911-.74 1.65-1.65 1.65H1.7A1.65 1.65 0 0 1 .05 14V2C.05 1.089.789.35 1.7.35h20.6c.91 0 1.65.739 1.65 1.65v12Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M8.55 9.3a.15.15 0 0 0-.15-.15H4a.15.15 0 0 0-.15.15v2.4c0 .083.067.15.15.15h4.4a.15.15 0 0 0 .15-.15V9.3Zm1.3 2.4c0 .8-.65 1.45-1.45 1.45H4c-.8 0-1.45-.65-1.45-1.45V9.3c0-.8.65-1.45 1.45-1.45h4.4c.8 0 1.45.65 1.45 1.45v2.4ZM18.988 2.897a1 1 0 0 1 1.414-.008l.65.644a.5.5 0 0 1-.704.71l-.65-.643-.643.65a.5.5 0 0 1-.71-.704l.643-.65ZM12.2 2.85a.65.65 0 0 1 0 1.3h-9a.65.65 0 0 1 0-1.3h9ZM20.2 8.9a.6.6 0 1 1 0 1.2h-8.5a.6.6 0 1 1 0-1.2h8.5ZM18.7 11a.5.5 0 1 1 0 1h-7a.5.5 0 0 1 0-1h7ZM23.3 5.35a.65.65 0 0 1 0 1.3H.7a.65.65 0 0 1 0-1.3h22.6ZM22.65 19a.35.35 0 0 0-.35-.35H1.7a.35.35 0 0 0-.35.35v3c0 .193.157.35.35.35h20.6a.35.35 0 0 0 .35-.35v-3Zm1.3 3c0 .911-.74 1.65-1.65 1.65H1.7A1.65 1.65 0 0 1 .05 22v-3c0-.911.739-1.65 1.65-1.65h20.6c.91 0 1.65.739 1.65 1.65v3Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M18.343 19.75a.5.5 0 0 1 .707-.007l.663.65c.002.002.006.005.015.005.01 0 .015-.003.017-.005l.669-.644a.5.5 0 0 1 .693.721l-.67.644a1.026 1.026 0 0 1-1.425-.007l-.662-.65a.5.5 0 0 1-.007-.707ZM12.2 19.85a.65.65 0 0 1 0 1.3h-9a.65.65 0 0 1 0-1.3h9Z"}))},Qc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M22.35 3.8a.35.35 0 0 0-.35-.35H2a.35.35 0 0 0-.35.35v16.5c0 .193.157.35.35.35h20a.35.35 0 0 0 .35-.35V3.8Zm1.3 16.5c0 .911-.739 1.65-1.65 1.65H2A1.65 1.65 0 0 1 .35 20.3V3.8c0-.911.739-1.65 1.65-1.65h20c.911 0 1.65.739 1.65 1.65v16.5Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M6.5 4.8a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h3ZM6.5 12.8a.5.5 0 1 1 0 1h-3a.5.5 0 0 1 0-1h3ZM6.5 15.3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1 0-1h3ZM6.5 17.8a.5.5 0 1 1 0 1h-3a.5.5 0 0 1 0-1h3Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",fillRule:"evenodd",d:"M1 7.3h9v4H1v-4Zm5 2a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 .5-.5Zm1.265-.886a.3.3 0 0 1 .42-.05l.57.45c.15.12.244.291.245.481a.616.616 0 0 1-.238.484l-.565.455a.3.3 0 0 1-.377-.468l.565-.454a.037.037 0 0 0 .008-.01c-.002-.003-.005-.013-.01-.016l-.569-.45a.3.3 0 0 1-.05-.422Z",clipRule:"evenodd"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M20.3 5.3a.5.5 0 0 1 0 1h-7.8a.5.5 0 0 1 0-1h7.8ZM20.3 7.3a.5.5 0 0 1 0 1h-7.8a.5.5 0 0 1 0-1h7.8ZM18.3 9.3a.5.5 0 0 1 0 1h-5.8a.5.5 0 0 1 0-1h5.8ZM20.3 12.3a.5.5 0 1 1 0 1h-7.8a.5.5 0 0 1 0-1h7.8ZM20.3 14.3a.5.5 0 1 1 0 1h-7.8a.5.5 0 0 1 0-1h7.8ZM18.3 16.3a.5.5 0 1 1 0 1h-5.8a.5.5 0 0 1 0-1h5.8ZM9.35 21.3V2.8a.65.65 0 0 1 1.3 0v18.5a.65.65 0 0 1-1.3 0Z"}))},Tc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M22.65 1.7a.35.35 0 0 0-.35-.35H1.7a.35.35 0 0 0-.35.35v13c0 .193.157.35.35.35h20.6a.35.35 0 0 0 .35-.35v-13Zm1.3 13c0 .911-.74 1.65-1.65 1.65H1.7A1.65 1.65 0 0 1 .05 14.7v-13C.05.789.789.05 1.7.05h20.6c.91 0 1.65.739 1.65 1.65v13Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M9.35 9A.35.35 0 0 0 9 8.65H4a.35.35 0 0 0-.35.35v3.5c0 .193.157.35.35.35h5a.35.35 0 0 0 .35-.35V9Zm1.3 3.5c0 .911-.739 1.65-1.65 1.65H4a1.65 1.65 0 0 1-1.65-1.65V9c0-.911.739-1.65 1.65-1.65h5c.911 0 1.65.739 1.65 1.65v3.5Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M5.8 9.3a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1ZM18.988 2.597a1 1 0 0 1 1.414-.008l.65.644a.5.5 0 0 1-.704.71l-.65-.643-.643.65a.5.5 0 0 1-.71-.704l.643-.65ZM12.2 2.55a.65.65 0 0 1 0 1.3h-9a.65.65 0 0 1 0-1.3h9ZM23.3 5.05a.65.65 0 0 1 0 1.3H.7a.65.65 0 0 1 0-1.3h22.6ZM20.8 12.2a.5.5 0 1 1 0 1h-8.3a.5.5 0 0 1 0-1h8.3ZM13.485 8l.459.889 1.026.142-.743.692.176.977-.918-.461-.918.461.175-.977L12 9.031l1.026-.142.459-.889ZM16.755 8l.459.889 1.026.142-.742.692.175.977-.918-.461-.918.461.175-.977-.742-.692 1.026-.142.459-.889ZM20.025 8l.459.889 1.026.142-.743.692.176.977-.918-.461-.918.461.175-.977-.742-.692 1.026-.142.459-.889ZM22.65 19.3a.35.35 0 0 0-.35-.35H1.7a.35.35 0 0 0-.35.35v3c0 .193.157.35.35.35h20.6a.35.35 0 0 0 .35-.35v-3Zm1.3 3c0 .911-.74 1.65-1.65 1.65H1.7A1.65 1.65 0 0 1 .05 22.3v-3c0-.911.739-1.65 1.65-1.65h20.6c.91 0 1.65.739 1.65 1.65v3Z"}),React.createElement("path",{fill:"#FF5B2E",className:"eab-block-icon",d:"M18.343 20.05a.5.5 0 0 1 .707-.007l.663.65c.002.002.006.005.015.005.01 0 .015-.003.017-.005l.669-.644a.5.5 0 0 1 .693.721l-.67.644a1.026 1.026 0 0 1-1.425-.007l-.662-.65a.5.5 0 0 1-.007-.707ZM12.2 20.15a.65.65 0 0 1 0 1.3h-9a.65.65 0 0 1 0-1.3h9Z"}))},Mc=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},React.createElement("rect",{x:.799805,y:4.5,width:10.1,height:8.15,rx:.6,stroke:"#FF5B2E",strokeWidth:1.3,fill:"none"}),React.createElement("path",{d:"M8.25 6.63919L8.5716 6.31435C8.66874 6.21623 8.82703 6.21543 8.92515 6.31257L9.24999 6.63417",stroke:"#FF5B2E",strokeWidth:.5,strokeLinecap:"round"}),React.createElement("path",{d:"M2.6499 6.44043H6.7499",stroke:"#FF5B2E",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("path",{d:"M2.5498 9.63965H8.84981",stroke:"#FF5B2E",strokeWidth:.6,strokeLinecap:"round"}),React.createElement("path",{d:"M2.5498 10.7461H7.5498",stroke:"#FF5B2E",strokeWidth:.5,strokeLinecap:"round"}),React.createElement("path",{d:"M0.799805 8H10.8998",stroke:"#FF5B2E",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("rect",{x:.799805,y:15.7246,width:10.1,height:3.85,rx:.6,stroke:"#FF5B2E",strokeWidth:1.3,fill:"none"}),React.createElement("path",{d:"M8.25 17.5395L8.5716 17.8644C8.66874 17.9625 8.82703 17.9633 8.92515 17.8661L9.24999 17.5445",stroke:"#FF5B2E",strokeWidth:.5,strokeLinecap:"round"}),React.createElement("path",{d:"M2.6499 17.7393H6.7499",stroke:"#FF5B2E",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("path",{d:"M13.7407 5.3C13.7407 4.85817 14.0989 4.5 14.5407 4.5H22.3999C22.8417 4.5 23.1999 4.85817 23.1999 5.3V18.7365C23.1999 19.1783 22.8417 19.5365 22.3999 19.5365H14.5407C14.0989 19.5365 13.7407 19.1783 13.7407 18.7365V5.3Z",stroke:"#FF5B2E",strokeWidth:1.3,fill:"none"}),React.createElement("path",{d:"M13.7397 18.4798L15.6513 15.8236C15.7163 15.7332 15.8403 15.7088 15.9347 15.7679L17.3106 16.6282C17.3954 16.6812 17.5058 16.6675 17.5751 16.5954L19.9833 14.0855C20.0747 13.9902 20.2301 14.0012 20.3073 14.1083L23.1997 18.1277",stroke:"#FF5B2E",fill:"none"}),React.createElement("circle",{cx:16.5919,cy:12.8463,r:.802113,stroke:"#FF5B2E",strokeWidth:.9}))},_c=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M20.85 2a.35.35 0 0 0-.35-.35h-17a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h17a.35.35 0 0 0 .35-.35zm1.3 20a1.65 1.65 0 0 1-1.65 1.65h-17A1.65 1.65 0 0 1 1.85 22V2c0-.911.739-1.65 1.65-1.65h17c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e"}),React.createElement("path",{d:"M11.5 6.3a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1zm0 2.8a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1zm1.5 2.8a.5.5 0 1 1 0 1H5.5a.5.5 0 0 1 0-1zm-1.5-8.4a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1zm5.647 5.988h-1.4q.005-.534.087-.914.088-.381.287-.686.2-.31.54-.633.268-.252.48-.474a2 2 0 0 0 .34-.475q.122-.252.122-.568 0-.357-.117-.598a.78.78 0 0 0-.334-.363 1.05 1.05 0 0 0-.545-.129q-.27 0-.51.111a.9.9 0 0 0-.386.346q-.147.229-.158.598H14q.018-.768.363-1.278.345-.516.932-.767.586-.258 1.312-.258.804 0 1.372.27a1.9 1.9 0 0 1 .873.773q.304.51.304 1.23 0 .516-.199.926-.2.405-.527.756-.329.35-.71.71-.333.297-.45.638a2.5 2.5 0 0 0-.123.785M15.6 11.31q0-.351.234-.586.24-.234.645-.234.404 0 .638.234.24.235.24.586 0 .34-.24.574-.234.235-.639.235-.404 0-.644-.235a.78.78 0 0 1-.234-.574M18 16a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5zm1 3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 13 19v-3a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 19 16z",fill:"#ff5b2e"}),React.createElement("path",{d:"M16.795 16.441a.4.4 0 0 1 .61.518l-1.31 1.549a.54.54 0 0 1-.788.04l-.683-.655a.4.4 0 0 1 .552-.578l.485.465z",fill:"#ff5b2e"}))},Ic=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:.7,y:15.3,width:22.6,height:8,rx:1,stroke:"#ff5b2e",strokeWidth:1.3}),React.createElement("path",{d:"M3.2 17.8h5",stroke:"#ff5b2e",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("path",{d:"M3.2 19.3h14",stroke:"#ff5b2e",strokeLinecap:"round"}),React.createElement("path",{d:"M3.2 21h4M9 21h4",stroke:"#ff5b2e",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("rect",{x:.7,y:.7,width:22.6,height:12,rx:1,stroke:"#ff5b2e",strokeWidth:1.3}),React.createElement("path",{d:"m1 10 4.3-2.793a.3.3 0 0 1 .372.036l2.15 2.085a.3.3 0 0 0 .38.031l7.554-5.24a.3.3 0 0 1 .344.002L23 9",stroke:"#ff5b2e",strokeWidth:1.3}),React.createElement("circle",{cx:8.5,cy:4,r:1,stroke:"#ff5b2e"}))},$c=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14.35 2a.35.35 0 0 0-.35-.35H2a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h12a.35.35 0 0 0 .35-.35zm1.3 20A1.65 1.65 0 0 1 14 23.65H2A1.65 1.65 0 0 1 .35 22V2C.35 1.089 1.089.35 2 .35h12c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e"}),React.createElement("path",{d:"M10.16 14.8a.5.5 0 0 1 0 1h-4.3a.5.5 0 0 1 0-1zm2-2a.5.5 0 0 1 0 1h-8.3a.5.5 0 0 1 0-1zM4.745 8.6l.459.889 1.026.142-.743.692.176.977-.918-.461-.918.461.176-.977-.743-.692 1.026-.142zm3.27 0 .459.889L9.5 9.63l-.743.692.176.977-.918-.461-.918.461.175-.977-.742-.692 1.026-.142zm3.27 0 .459.889 1.026.142-.742.692.175.977-.918-.461-.918.461.175-.977-.742-.692 1.026-.142zM22.35 2a.35.35 0 0 0-.35-.35h-3a.35.35 0 0 0-.35.35v20c0 .193.157.35.35.35h3a.35.35 0 0 0 .35-.35zm1.3 20A1.65 1.65 0 0 1 22 23.65h-3A1.65 1.65 0 0 1 17.35 22V2c0-.911.739-1.65 1.65-1.65h3c.911 0 1.65.739 1.65 1.65z",fill:"#ff5b2e"}))},Dc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:1,y:1,width:22,height:22,rx:1,stroke:"#FF5B2E",strokeWidth:1.3}),React.createElement("path",{d:"M3.5 3.5H9.5",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("path",{d:"M19.5 3.5H20.5",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("path",{d:"M3.5 17.4H9.5",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("path",{d:"M19.5 17.4H20.5",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("rect",{x:1,y:6,width:22,height:8.8,stroke:"#FF5B2E",strokeWidth:1.3}),React.createElement("path",{d:"M6.5 12.2H13.5",stroke:"#FF5B2E",strokeLinecap:"round"}),React.createElement("path",{d:"M19.5 12.2H20.5",stroke:"#FF5B2E",strokeLinecap:"round"}),React.createElement("path",{d:"M18.7 9.29791L19.3432 8.64823C19.5375 8.45199 19.8541 8.45041 20.0503 8.64469L20.7 9.28788",stroke:"#FF5B2E",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("path",{d:"M3.5 8.90001H9.5",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("path",{d:"M15.2 8.90001H16.2",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("path",{d:"M18.7 19.9L19.3432 20.5497C19.5375 20.7459 19.8541 20.7475 20.0503 20.5532L20.7 19.91",stroke:"#FF5B2E",strokeWidth:.8,strokeLinecap:"round"}),React.createElement("path",{d:"M3.5 20.3H9.5",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}),React.createElement("path",{d:"M15.2 20.3H16.2",stroke:"#FF5B2E",strokeWidth:1.2,strokeLinecap:"round"}))},Lc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M18.292 10.496a7.796 7.796 0 1 0-15.591 0 7.796 7.796 0 0 0 15.591 0m1.4 0a9.196 9.196 0 1 1-18.392 0 9.196 9.196 0 0 1 18.392 0",fill:"#ff5b2e"}),React.createElement("path",{d:"M17.164 16.52a.7.7 0 1 0-.99.99l4.986 4.985a.7.7 0 0 0 .99-.99zm-6.097-4.302h-1.4q.005-.534.087-.914.088-.381.287-.686.2-.31.54-.633.268-.251.48-.474.216-.228.34-.475.123-.252.123-.568 0-.358-.118-.598a.78.78 0 0 0-.334-.363 1.05 1.05 0 0 0-.545-.129q-.27 0-.51.111a.9.9 0 0 0-.386.346q-.147.228-.158.598H7.92q.018-.768.363-1.278.345-.516.932-.767.586-.258 1.312-.258.804 0 1.372.27a1.9 1.9 0 0 1 .873.773q.304.51.304 1.23 0 .516-.199.926a3.1 3.1 0 0 1-.527.756q-.328.35-.71.71-.333.297-.45.638a2.5 2.5 0 0 0-.123.785M9.52 14.04q0-.351.234-.586.24-.234.645-.234t.638.234q.24.235.24.586 0 .34-.24.574-.234.235-.639.235-.404 0-.644-.235a.78.78 0 0 1-.234-.574",fill:"#ff5b2e"}))},Nc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M9.2 12a1.4 1.4 0 1 1-2.8 0 1.4 1.4 0 0 1 2.8 0m4.2 0a1.4 1.4 0 1 1-2.8 0 1.4 1.4 0 0 1 2.8 0m4.2 0a1.4 1.4 0 1 1-2.8 0 1.4 1.4 0 0 1 2.8 0M5.495 15.505a.7.7 0 0 1-.99.99L.858 12.85a1.2 1.2 0 0 1 0-1.698l3.647-3.646a.7.7 0 0 1 .99.99L1.99 12zm13.01 0a.7.7 0 0 0 .99.99l3.647-3.646a1.2 1.2 0 0 0 0-1.698l-3.647-3.646a.7.7 0 0 0-.99.99L22.01 12z",fill:"#ff5b2e"}))},zc=function(){return React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M22.65 8a.35.35 0 0 0-.35-.35H1.7a.35.35 0 0 0-.35.35v8c0 .193.157.35.35.35h20.6a.35.35 0 0 0 .35-.35zm1.3 8c0 .911-.74 1.65-1.65 1.65H1.7A1.65 1.65 0 0 1 .05 16V8c0-.911.739-1.65 1.65-1.65h20.6c.91 0 1.65.739 1.65 1.65z",fill:"#ff5b2e"}),React.createElement("path",{d:"M12 11.35a.65.65 0 0 1 0 1.3H5a.65.65 0 0 1 0-1.3zm5.058-1.706a1.21 1.21 0 0 1 1.683-.008l.907.871a.5.5 0 0 1-.694.72l-.906-.87a.213.213 0 0 0-.29 0l-.898.882a.5.5 0 0 1-.7-.715zm-.001 4.713a1.21 1.21 0 0 0 1.683.008l.907-.871a.5.5 0 0 0-.694-.72l-.906.87a.213.213 0 0 1-.29 0l-.898-.882a.5.5 0 0 0-.7.715z",fill:"#ff5b2e"}))},jc={"sp-easy-accordion-pro/faq-search":{icon:React.createElement(Lc,null),title:(0,l.__)("FAQ Search","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/faq-searchchild-block/",demoLink:""},"sp-easy-accordion-pro/ajax-pagination":{icon:React.createElement(Nc,null),title:(0,l.__)("Ajax Pagination","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/ajax-pagination-child-block/",demoLink:""},"sp-easy-accordion-pro/toggle-all":{icon:React.createElement(zc,null),title:(0,l.__)("Toggle All Button","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/toggle-all-buttonchild-block/",demoLink:""},"sp-easy-accordion-pro/accordion-item":{icon:React.createElement(Ec,null),title:(0,l.__)("Accordion Single Item","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/accordion-single-item/",demoLink:""},"sp-easy-accordion-pro/image-accordion-item":{icon:React.createElement(Rc,null),title:(0,l.__)("Single (Image) Accordion Item","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/single-image-accordion-item/",demoLink:""},"sp-easy-accordion-pro/vertical-accordion":{icon:React.createElement(Ec,null),title:(0,l.__)("FAQ / Vertical Accordion","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/vertical-accordion/",demoLink:"https://easyaccordion.io/blocks/#demoId15"},"sp-easy-accordion-pro/horizontal-accordion":{icon:React.createElement(kc,null),title:(0,l.__)("Horizontal Accordion","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/horizontal-accordion/",demoLink:"https://easyaccordion.io/blocks/#demoId9"},"sp-easy-accordion-pro/image-accordion":{icon:React.createElement(Rc,null),title:(0,l.__)("Image Accordion","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/image-accordion/",demoLink:"https://easyaccordion.io/blocks/#demoId11"},"sp-easy-accordion-pro/accordion-slider":{icon:React.createElement(Pc,null),title:(0,l.__)("Accordion Slider","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/accordion-slider/",demoLink:"https://easyaccordion.io/blocks/#demoId13"},"sp-easy-accordion-pro/sidebar-tab-accordion":{icon:React.createElement(Qc,null),title:(0,l.__)("Sidebar Tab Accordion","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/sidebar-tab-accordion/",demoLink:"https://easyaccordion.io/blocks/#demoId119"},"sp-easy-accordion-pro/post-accordion":{icon:React.createElement(Ac,null),title:(0,l.__)("Post Accordion 01","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/post-accordion-01/",demoLink:"https://easyaccordion.io/blocks/#demoId121"},"sp-easy-accordion-pro/product-accordion":{icon:React.createElement(Tc,null),title:(0,l.__)("Product Accordion 01","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/product-accordion-01/",demoLink:"https://easyaccordion.io/blocks/#demoId123"},"sp-easy-accordion-pro/post-accordion-block-two":{icon:React.createElement(Ic,null),title:(0,l.__)("Post Accordion 02","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/post-accordion-02/",demoLink:"https://easyaccordion.io/blocks/#demoId122"},"sp-easy-accordion-pro/post-accordion-two":{icon:React.createElement(Ic,null),title:(0,l.__)("Post Accordion 02","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/post-accordion-02/",demoLink:"https://easyaccordion.io/blocks/#demoId122"},"sp-easy-accordion-pro/product-accordion-two":{icon:React.createElement($c,null),title:(0,l.__)("Product Accordion 02","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/product-accordion-02/",demoLink:"https://easyaccordion.io/blocks/#demoId124"},"sp-easy-accordion-pro/menu-accordion":{icon:React.createElement(Dc,null),title:(0,l.__)("Category or Menu Accordion","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/category-or-menu-accordion/",demoLink:"https://easyaccordion.io/blocks/#demoId125"},"sp-easy-accordion-pro/media-accordion":{icon:React.createElement(Mc,null),title:(0,l.__)("Media Accordion","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/media-accordion/",demoLink:"https://easyaccordion.io/blocks/#demoId120"},"sp-easy-accordion-pro/user-faq-form":{icon:React.createElement(_c,null),title:(0,l.__)("User FAQ Forms","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/user-faq-forms/",demoLink:"https://easyaccordion.io/blocks/#demoId126"},"sp-easy-accordion-pro/user-faq-forms":{icon:React.createElement(_c,null),title:(0,l.__)("User FAQ Forms","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/user-faq-forms/",demoLink:"https://easyaccordion.io/blocks/#demoId126"},"sp-easy-accordion-pro/shortcode":{icon:React.createElement(Cc,null),title:(0,l.__)("Easy Accordion Shortcode","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/easy-accordion-shortcode/",demoLink:""}},Bc={modules:{generate_faqs_with_ai:{is_active:!0},saved_templates:{is_active:!0},pattern_library:{is_active:!0}},integrations:{gemini:{is_active:!0,model:"gemini-3.1-flash-lite-preview",api_key:"",max_token:2e3},google_recaptcha:{is_active:!0,site_key_v2:"",secret_key_v2:"",site_key_v3:"",secret_key_v3:""}}},Zc=["sp-easy-accordion-pro/accordion-slider","sp-easy-accordion-pro/media-accordion","sp-easy-accordion-pro/user-faq-form"];const Xc=function(e){var t=e.attributes,n=e.blockShowHideHandler,r=e.isUpcomingBlock,i=void 0!==r&&r,o=e.type,a=void 0===o?"":o,s=e.onBlockClick,l=void 0===s?null:s,c=t.show,u=t.name;if(jc[u]){var d=jc[u],p=d.icon,h=d.demoLink,f=d.docLink,m=d.title,g=Zc.includes(u);return React.createElement("div",{className:"sp-eab-visibility-setting-card".concat(i?" sp-eab-upcoming-block":""," sp-d-flex sp-justify-between sp-align-center"),onClick:function(){"quick-start"!==a||!l||i||g||l(u)},style:{cursor:"quick-start"===a&&l?"pointer":void 0}},g&&React.createElement("div",{className:"sp-eab-pro-blocks-badge"},React.createElement(fc,null),React.createElement("span",null,"PRO")),React.createElement("div",{className:"sp-eab-visibility-setting-card-info sp-d-flex sp-align-center"},React.createElement("div",{className:"sp-eab-visibility-setting-card-icon sp-d-flex sp-align-center"},p),React.createElement("div",{className:"sp-eab-visibility-setting-card-docs"},React.createElement("h4",{className:"sp-eab-visibility-card-label sp-d-flex sp-align-center sp-gap-4px"},React.createElement("span",{className:"sp-eab-visibility-block-name"},m)),React.createElement("ul",{className:"sp-d-flex sp-align-center sp-gap-10px"},(f||i)&&"quick-start"!==a&&React.createElement("li",{className:"sp-eab-doc-link"},React.createElement("a",{className:"sp-d-flex sp-align-center",href:f,target:"_blank",rel:"noreferrer",onClick:function(e){return e.stopPropagation()}},React.createElement(tc,null)," Docs")),(h||i)&&React.createElement("li",{className:"sp-eab-demo-link"},React.createElement("a",{className:"sp-d-flex sp-align-center",href:h,target:"_blank",rel:"noreferrer",onClick:function(e){return e.stopPropagation()}},React.createElement(nc,null)," ","quick-start"===a?"Live Demo":"Demo"))))),React.createElement("div",{className:"sp-eab-visibility-setting-toggle"},React.createElement(Sc.A,{icons:!1,defaultChecked:!i&&!g&&c,onChange:function(e){e.stopPropagation(),i||g||n(u)},disabled:i||g})))}};var Vc="easy-accordion-free/admin-settings";const Fc=window.wp.components;var qc=function(){return(0,s.useSelect)(function(e){var t;return{deviceType:(null===(t=e("core/editor"))||void 0===t?void 0:t.getDeviceType())||"Desktop"}},[]).deviceType||""},Wc=function(e,t){return Object.keys(e).every(function(n){return e[n]===t[n]})},Gc=function(e){var t,n,r=e.onSave,i=e.onReset,o=e.isChanged;return React.createElement("div",{className:"sp-eap-settings-save-wrapper sp-d-flex sp-align-center sp-justify-start sp-gap-10px"},React.createElement("button",{className:"sp-eap-settings-save-btn sp-d-flex sp-align-center sp-gap-6px sp-cursor-pointer".concat(o?" active":""),onClick:r},React.createElement("img",{src:"".concat(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.pluginUrl,"/admin/views/models/assets/images/save-icon.svg"),alt:(0,l.__)("Save Icon","easy-accordion-free")}),(0,l.__)("Save Changes","easy-accordion-free")),React.createElement("button",{className:"sp-eap-settings-reset-btn sp-d-flex sp-align-center sp-gap-6px sp-cursor-pointer",onClick:function(){window.confirm((0,l.__)("Are you sure you want to reset?","easy-accordion-free"))&&i()}},React.createElement("img",{src:"".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.pluginUrl,"/admin/views/models/assets/images/reset-icon.svg"),alt:(0,l.__)("Reset Icon","easy-accordion-free")}),(0,l.__)("Reset","easy-accordion-free")))},Hc=function(e){var t,n=e.text;return React.createElement("span",{className:"sp-eap-settings-info"},React.createElement("img",{src:"".concat(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.pluginUrl,"/admin/views/models/assets/images/info.svg"),alt:(0,l.__)("Info Text Icon","easy-accordion-free")}),React.createElement("span",{className:"sp-eap-settings-info-text"},n))},Uc=function(e){var t=e.closeModal;return React.createElement(Fc.Modal,{title:(0,l.__)("What We Collect?","easy-accordion-free"),onRequestClose:t,className:"sp-eap-setup-page-modal"},React.createElement("hr",null),React.createElement("p",{className:"modal-description"},(0,l.__)("We collect only non-sensitive diagnostic data and basic plugin usage information. This may include:","easy-accordion-free")),React.createElement("ul",null,React.createElement("li",{className:"modal-description"},(0,l.__)("WordPress & PHP version","easy-accordion-free")),React.createElement("li",{className:"modal-description"},(0,l.__)("Active theme and plugins","easy-accordion-free")),React.createElement("li",{className:"modal-description"},(0,l.__)("General system details","easy-accordion-free")),React.createElement("li",{className:"modal-description"},(0,l.__)("Email address only for sending helpful updates or optional offers.","easy-accordion-free"))),React.createElement("p",{className:"modal-description"},(0,l.__)("This information helps us improve performance, fix issues faster, and ensure Location Weather stays compatible with the popular plugins and themes.","easy-accordion-free")),React.createElement("p",{className:"modal-description"},(0,l.__)("We","easy-accordion-free"),React.createElement("b",null,(0,l.__)("do not collect sensitive personal data,","easy-accordion-free")),(0,l.__)("and","easy-accordion-free"),React.createElement("b",null,(0,l.__)("never send spam","easy-accordion-free")),(0,l.__)("promise.","easy-accordion-free")),React.createElement("p",{className:"modal-description"},React.createElement("b",null,(0,l.__)("Your privacy comes first.","easy-accordion-free"))),React.createElement("a",{href:"https://easyaccordion.io/information-we-collect/",target:"_blank",rel:"noreferrer",className:"modal-description"},(0,l.__)("Learn More","easy-accordion-free"),React.createElement(lc,null)))},Yc=(0,a.memo)(function(e){var t=e.settings,n=e.updateSettingsOption,r=function(e){var t=e.target,r=t.name,i=t.value;n(r,i)};return React.createElement("div",{className:"sp-eap-integrations__modal-recaptcha-page"},React.createElement("span",{className:"sp-eap-recaptcha-dashboard-links sp-d-block"},React.createElement("a",{href:"https://cloud.google.com/security/products/recaptcha",target:"_blank",rel:"noreferrer"},"reCAPTCHA"," "),"is a free anti-spam service of Google that protects your website from spam and abuse.",React.createElement("a",{href:"https://www.google.com/recaptcha/admin/site/745648899#list",target:"_blank",rel:"noreferrer"}," ","Get your API Keys.")),React.createElement("div",{className:"sp-eap-integrations__modal-content-wrapper sp-d-flex sp-flex-col"},React.createElement("div",{className:"sp-eap-integrations__modal-field"},React.createElement("h4",{className:"sp-eap-integrations__modal-input-label"},"reCAPTCHA v2"),React.createElement("div",{className:"sp-eap-integrations__modal-field-row sp-d-flex sp-align-center"},React.createElement("div",{className:"sp-eap-site-secret-key-wrapper"},React.createElement("span",{className:"sp-eap-site-secret-key-label"},(0,l.__)("Site Key v2","easy-accordion-free")),React.createElement("input",{className:"sp-eap-integrations__modal-input",type:"text",placeholder:"Enter site key",name:"site_key_v2",value:null==t?void 0:t.site_key_v2,onChange:r})),React.createElement("div",{className:"sp-eap-site-secret-key-wrapper"},React.createElement("span",{className:"sp-eap-site-secret-key-label"},(0,l.__)("Secret Key v2","easy-accordion-free")),React.createElement("input",{className:"sp-eap-integrations__modal-input",type:"text",placeholder:"Enter secret key",name:"secret_key_v2",value:null==t?void 0:t.secret_key_v2,onChange:r})))),React.createElement("div",{className:"sp-eap-integrations__modal-field"},React.createElement("h4",{className:"sp-eap-integrations__modal-input-label"},"reCAPTCHA v3"),React.createElement("div",{className:"sp-eap-integrations__modal-field-row sp-d-flex sp-align-center"},React.createElement("div",{className:"sp-eap-site-secret-key-wrapper"},React.createElement("span",{className:"sp-eap-site-secret-key-label"},(0,l.__)("Site Key v3","easy-accordion-free")),React.createElement("input",{className:"sp-eap-integrations__modal-input",type:"text",placeholder:"Enter site key",name:"site_key_v3",value:null==t?void 0:t.site_key_v3,onChange:r})),React.createElement("div",{className:"sp-eap-site-secret-key-wrapper"},React.createElement("span",{className:"sp-eap-site-secret-key-label"},(0,l.__)("Secret Key v3","easy-accordion-free")),React.createElement("input",{className:"sp-eap-integrations__modal-input",type:"text",placeholder:"Enter secret key",name:"secret_key_v3",value:null==t?void 0:t.secret_key_v3,onChange:r}))))))}),Kc={chatgpt:{models:[{label:"GPT-5",value:"gpt-5"},{label:"GPT-5 Mini",value:"gpt-5-mini"},{label:"GPT-4.1",value:"gpt-4.1"},{label:"GPT-4.1 Mini",value:"gpt-4.1-mini"},{label:"GPT-5.4",value:"gpt-5.4"},{label:"GPT-5.4 Mini",value:"gpt-5.4-mini"},{label:"GPT-5.4 Nano",value:"gpt-5.4-nano"},{label:"GPT-4o Mini",value:"gpt-4o-mini"},{label:"o3 Mini",value:"o3-mini"}],modelsDocLink:"https://developers.openai.com/api/docs/models",modelFieldHelp:"Choose your AI model (e.g., ChatGPT-4o).",apiKeyDocLink:"https://platform.openai.com/settings/organization/api-keys",apiKeyFieldHelp:"Enter your OpenAI API key. Keep it private & secure."},gemini:{models:[{label:"Gemini 3.1 Flash-Lite",value:"gemini-3.1-flash-lite-preview"},{label:"Gemini 3.1 Pro (Preview)",value:"gemini-3.1-pro-preview"},{label:"Gemini 3.1 Flash",value:"gemini-3.1-flash"},{label:"Gemini 2.5 Pro",value:"gemini-2.5-pro"},{label:"Gemini 2.5 Flash",value:"gemini-2.5-flash"},{label:"Gemini 1.5 Pro",value:"gemini-1.5-pro"},{label:"Gemini 1.5 Flash",value:"gemini-1.5-flash"},{label:"Gemini 1.5 Flash-8B",value:"gemini-1.5-flash-8b"}],modelsDocLink:"https://ai.google.dev/gemini-api/docs/models",modelFieldHelp:"Choose your AI model (e.g., Gemini 3.1 Flash Lite).",apiKeyDocLink:"https://ai.google.dev/gemini-api/docs/api-key",apiKeyFieldHelp:"Enter your Gemini API key. Keep it private & secure."}},Jc=(0,a.memo)(function(e){var t=e.openedPopup,n=e.settings,r=e.updateSettingsOption,i=function(e){var t=e.target,n=t.name,i=t.value;r(n,i)},o=Kc[t],a=o.models,s=o.modelsDocLink,l=o.modelFieldHelp,c=o.apiKeyDocLink,u=o.apiKeyFieldHelp;return React.createElement("div",{className:"sp-eap-integrations__modal-chatgpt-api-key-page"},React.createElement("div",{className:"sp-eap-integrations__modal-content-wrapper sp-d-flex sp-flex-col"},React.createElement("div",{className:"sp-eap-integrations__modal-field sp-d-flex sp-align-center sp-justify-between"},React.createElement("h4",{className:"sp-eap-integrations__modal-input-label"},"AI Model"),React.createElement("div",{className:"sp-eap-integrations__modal-field-wrapper sp-d-flex sp-flex-col sp-align-start sp-gap-4px"},React.createElement("select",{className:"sp-eap-integrations__modal-input",name:"model",value:null==n?void 0:n.model,onChange:i},null==a?void 0:a.map(function(e){var t=e.label,n=e.value;return React.createElement("option",{key:n,value:n},t)})),React.createElement("span",{className:"sp-eap-integration-input-help-text sp-d-flex sp-align-center sp-gap-4px"},l,React.createElement("a",{href:s,target:"_blank",rel:"noreferrer"},"Check Models")))),React.createElement("div",{className:"sp-eap-integrations__modal-field sp-d-flex sp-align-center sp-justify-between"},React.createElement("h4",{className:"sp-eap-integrations__modal-input-label"},"API Key"),React.createElement("div",{className:"sp-eap-integrations__modal-field-wrapper sp-d-flex sp-flex-col sp-align-start sp-gap-4px"},React.createElement("input",{className:"sp-eap-integrations__modal-input",type:"text",placeholder:"Place Your API Key",name:"api_key",value:null==n?void 0:n.api_key,onChange:i}),React.createElement("span",{className:"sp-eap-integration-input-help-text sp-d-flex sp-align-center sp-gap-4px"},u,React.createElement("a",{href:c,target:"_blank",rel:"noreferrer"},"Get your key")))),React.createElement("div",{className:"sp-eap-integrations__modal-field sp-d-flex sp-align-center sp-justify-between"},React.createElement("h4",{className:"sp-eap-integrations__modal-input-label"},"Set Max Tokens"),React.createElement("div",{className:"sp-eap-integrations__modal-field-wrapper sp-d-flex sp-flex-col sp-align-start sp-gap-4px"},React.createElement("input",{className:"sp-eap-integrations__modal-input max-token",type:"number",name:"max_token",value:null==n?void 0:n.max_token,onChange:i}),React.createElement("span",{className:"sp-eap-integration-input-help-text"},"FAQs will be generated within the token limit you set.")))))});function eu(e){return eu="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},eu(e)}function tu(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 nu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tu(Object(n),!0).forEach(function(t){ru(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ru(e,t,n){return(t=function(e){var t=function(e){if("object"!=eu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=eu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iu={apiData:{},isLoading:!1,isSaving:!1};function ou(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return au(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(au(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,au(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,au(d,"constructor",c),au(c,"constructor",l),l.displayName="GeneratorFunction",au(c,i,"GeneratorFunction"),au(d),au(d,i,"Generator"),au(d,r,function(){return this}),au(d,"toString",function(){return"[object Generator]"}),(ou=function(){return{w:o,m:p}})()}function au(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}au=function(e,t,n,r){function o(t,n){au(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},au(e,t,n,r)}function su(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function lu(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){su(o,r,i,a,s,"next",e)}function s(e){su(o,r,i,a,s,"throw",e)}a(void 0)})}}var cu=function(e){return{type:"SET_API_DATA",data:e}},uu=function(e){return{type:"SET_LOADING",isLoading:e}},du=function(e){return{type:"SET_SAVING",isSaving:e}},pu=function(){return function(){var e=lu(ou().m(function e(t){var n,r,i,o,a,s;return ou().w(function(e){for(;;)switch(e.p=e.n){case 0:return(n=t.dispatch)(uu(!0)),e.p=1,(o=new FormData).append("nonce",null===(r=sp_eab_admin_dashboard_localize)||void 0===r?void 0:r.nonce),o.append("action","sp_eab_admin_option_update"),o.append("queryData",JSON.stringify({})),e.n=2,Gl.post(null===(i=sp_eab_admin_dashboard_localize)||void 0===i?void 0:i.ajax_url,o);case 2:a=e.v,n(cu(a.data)),e.n=4;break;case 3:e.p=3,s=e.v,console.error("Error fetching data:",s.message);case 4:n(uu(!1));case 5:return e.a(2)}},e,null,[[1,3]])}));return function(_x){return e.apply(this,arguments)}}()},hu=function(e,t){return function(){var n=lu(ou().m(function n(r){var i,o,a,s,l,c;return ou().w(function(n){for(;;)switch(n.p=n.n){case 0:return(i=r.dispatch)(du(!0)),n.p=1,(s=new FormData).append("nonce",null===(o=sp_eab_admin_dashboard_localize)||void 0===o?void 0:o.nonce),s.append("action","sp_eab_admin_option_update"),s.append("queryData",JSON.stringify(e)),void 0!==t&&s.append("editorPreference",t),n.n=2,Gl.post(null===(a=sp_eab_admin_dashboard_localize)||void 0===a?void 0:a.ajax_url,s);case 2:l=n.v,i(cu(l.data)),n.n=4;break;case 3:n.p=3,c=n.v,console.error("Error saving data:",c.message);case 4:i(du(!1));case 5:return n.a(2)}},n,null,[[1,3]])}));return function(e){return n.apply(this,arguments)}}()},fu=function(e){return e.apiData},mu=function(e){var t;return null===(t=e.apiData)||void 0===t?void 0:t.pluginSettings},gu=function(e){var t;return null===(t=e.apiData)||void 0===t?void 0:t.blockVisibility},Ou=function(e){var t;return null===(t=e.apiData)||void 0===t?void 0:t.dashboardSettings},vu=function(e){var t;return null===(t=e.apiData)||void 0===t?void 0:t.eapShortcodes},bu=function(e){return e.isLoading},yu=function(e){return e.isSaving},wu=(0,s.createReduxStore)(Vc,{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:iu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_API_DATA":return nu(nu({},e),{},{apiData:t.data});case"SET_LOADING":return nu(nu({},e),{},{isLoading:t.isLoading});case"SET_SAVING":return nu(nu({},e),{},{isSaving:t.isSaving});default:return e}},actions:i,selectors:o});(0,s.register)(wu);var xu=function(){return React.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#ProIndicatorIcona)"},React.createElement("path",{d:"m15.35 2.387 6.263 6.262m-4.986 5.828.084.538a4.92 4.92 0 0 1-2.453 5.047l-4.09 2.444.51-3.369M9.523 7.373l-.538-.084a4.92 4.92 0 0 0-5.047 2.453l-2.445 4.09 3.37-.51m12.236-2.285a2.801 2.801 0 1 1-3.962-3.961 2.801 2.801 0 0 1 3.962 3.96m-5.313 3.524a1.537 1.537 0 1 1-2.173-2.172 1.537 1.537 0 0 1 2.173 2.172m-1.152 4.532-5.727-5.727 6.244-7.93A10.56 10.56 0 0 1 22.14 1.86a10.56 10.56 0 0 1-3.574 10.988zm-5.649-.078 1.498-4.072 2.574 2.574z",stroke:"#fff",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),React.createElement("defs",null,React.createElement("clipPath",{id:"ProIndicatorIcona"},React.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))},Su=function(){return React.createElement("svg",{width:45,height:20,viewBox:"0 0 45 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M34.8.4a9.4 9.4 0 0 1 0 18.8h-25A9.4 9.4 0 0 1 9.8.4z",fill:"#effff5"}),React.createElement("path",{d:"M34.8.4a9.4 9.4 0 0 1 0 18.8h-25A9.4 9.4 0 0 1 9.8.4z",stroke:"#93dcac",strokeWidth:.8}),React.createElement("path",{d:"m5.766 11.667-.56-4.449c-.041-.328.265-.552.483-.353l1.744 1.6c.192.175.464.117.597-.126l1.452-2.662c.154-.282.492-.282.646 0l1.452 2.662c.133.243.405.3.597.125l1.744-1.599c.218-.2.524.025.482.353l-.56 4.449zm7.656 2.468H6.187c-.232 0-.42-.23-.42-.515v-1.13h8.076v1.13c0 .284-.188.515-.42.515m9.131-3.187H20.54v-1.16h2.014q.495 0 .8-.161.312-.167.457-.452.145-.29.145-.66 0-.36-.145-.672a1.17 1.17 0 0 0-.456-.504q-.306-.194-.8-.194h-1.531V13.8h-1.477V5.98h3.007q.914 0 1.558.327.65.322.988.897.345.57.344 1.3 0 .758-.344 1.305a2.2 2.2 0 0 1-.988.844q-.645.295-1.558.295m4.05-4.968h2.842q.891 0 1.53.268.64.27.983.795.344.527.344 1.295 0 .606-.215 1.052a2.05 2.05 0 0 1-.607.747q-.387.3-.913.473l-.462.236h-2.508l-.01-1.166h1.874q.456 0 .757-.16.3-.162.451-.447.156-.284.156-.65 0-.39-.15-.676a1.02 1.02 0 0 0-.457-.446q-.306-.156-.773-.156H28.08V13.8h-1.477zm4.415 7.82-1.81-3.502 1.563-.005 1.832 3.432v.075zm8.91-4.109v.403q0 .886-.235 1.595-.237.704-.672 1.198a2.9 2.9 0 0 1-1.036.757 3.3 3.3 0 0 1-1.338.263q-.724 0-1.332-.263a3 3 0 0 1-1.042-.757 3.5 3.5 0 0 1-.682-1.198 5 5 0 0 1-.242-1.595V9.69q0-.891.242-1.595a3.5 3.5 0 0 1 .677-1.198q.435-.5 1.036-.763a3.3 3.3 0 0 1 1.333-.263q.735 0 1.337.263.6.264 1.036.763.441.495.677 1.198.242.703.242 1.595m-1.492.403V9.68q0-.639-.118-1.122a2.4 2.4 0 0 0-.35-.822 1.5 1.5 0 0 0-.569-.5 1.66 1.66 0 0 0-.762-.171q-.43 0-.763.172a1.5 1.5 0 0 0-.559.499 2.5 2.5 0 0 0-.354.822 4.8 4.8 0 0 0-.119 1.122v.414q0 .634.119 1.123.123.488.354.827.236.333.57.505.332.171.762.171t.763-.171q.333-.172.558-.505.23-.339.35-.828a4.8 4.8 0 0 0 .118-1.122",fill:"#4ab866"}))},Eu=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#AccordionFeaturedIcona)"}),React.createElement("path",{d:"M20.531 10.268c.696-1.119 2.371-1.081 3.001.113l3.256 6.17 6.874 1.189c1.373.238 1.918 1.916.947 2.915l-4.862 5.002.993 6.906c.198 1.379-1.23 2.416-2.48 1.802L22 31.285l-6.26 3.08c-1.25.614-2.678-.423-2.48-1.802l.992-6.906-4.861-5.002c-.971-1-.426-2.678.947-2.915l6.873-1.19 3.257-6.17zm-1.48 7.512c-.25.475-.708.808-1.237.9l-6.229 1.077 4.405 4.533c.375.385.55.922.473 1.454l-.9 6.255 5.672-2.788a1.73 1.73 0 0 1 1.345-.077l.185.077 5.67 2.788-.898-6.255a1.73 1.73 0 0 1 .473-1.454l4.404-4.533-6.228-1.078a1.73 1.73 0 0 1-1.237-.899L22 12.19z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"AccordionFeaturedIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#00afff"}),React.createElement("stop",{offset:1,stopColor:"#2974ff"}))))};function ku(e){return ku="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},ku(e)}function Ru(){return Ru=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},Ru.apply(null,arguments)}function Cu(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 Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(n),!0).forEach(function(t){Au(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Au(e,t,n){return(t=function(e){var t=function(e){if("object"!=ku(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ku(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ku(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tu(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)?Tu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tu(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}var Mu={google_recaptcha:(0,l.__)("Google reCAPTCHA Settings","easy-accordion-free"),gemini:(0,l.__)("Google Gemini API Settings","easy-accordion-free"),chatgpt:(0,l.__)("ChatGPT API Settings","easy-accordion-free"),deepseek:(0,l.__)("DeepSeek API Settings","easy-accordion-free")},_u=[{index:3,key:"saved_templates",label:(0,l.__)("Saved Templates","easy-accordion-free"),href:"edit.php?post_type=sp_easy_accordion&page=eap_dashboard#saved_templates"},{index:12,key:"eap_tools",label:(0,l.__)("Tools","easy-accordion-free"),href:"edit.php?post_type=sp_easy_accordion&page=eap_tools"}];const Iu=(0,a.memo)(function(e){var t=e.items,n=void 0===t?[]:t,r=e.optionKey,i=void 0===r?"integrations":r,o=e.hideUpcoming,c=void 0!==o&&o,u=e.type,d=void 0===u?"":u,p=e.gridCols,h=void 0===p?"sp-grid-cols-3":p,f=(0,s.useSelect)(function(e){return e(Vc).getDashboardSettings()}),m=(0,s.useDispatch)(Vc).saveSettings,g=Bc[i],O=(null==f?void 0:f[i])||g,v=Qu((0,a.useState)(null),2),b=v[0],y=v[1],w=Qu((0,a.useState)(O),2),x=w[0],S=w[1],E=Qu((0,a.useState)(!1),2),k=E[0],R=E[1],C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=Pu(Pu({},f),{},Au({},i,e));m({dashboardSettings:t}),R(!1)},P=function(){var e=Pu(Pu({},x),{},Au({},b,g[b]));C(e),S(e)},A=function(e,t){var n=Pu(Pu({},null==x?void 0:x[b]),{},Au({},e,t));R(!Wc(n,null==O?void 0:O[b])),S(Pu(Pu({},x),{},Au({},b,n)))};return(0,a.useEffect)(function(){S(O)},[f]),React.createElement("div",{className:"sp-eab-integrations-page-items-wrapper sp-d-grid ".concat(h)},null==n?void 0:n.map(function(e){var t,n=e.id,r=e.key,o=e.Icon,a=e.label,s=e.desc,u=e.demoLink,p=e.docLink,h=e.videoLink,f=e.upcoming,m=e.isPro,g=e.hideSettings;return React.createElement("div",{key:n,className:"sp-eap-integrations-card sp-d-flex".concat(f?" sp-eap-upcoming-card":"")},React.createElement("div",{className:"sp-eap-integrations-card__icon"},React.createElement(o,null)),React.createElement("div",{className:"sp-eap-integrations-card__content sp-d-flex sp-flex-col sp-justify-between"},React.createElement("div",{className:"sp-d-flex sp-flex-col sp-gap-8px"},React.createElement("div",{className:"sp-d-flex sp-align-center sp-justify-between"},React.createElement("h4",{className:"sp-eap-integrations-card__label"},a,!c&&f&&React.createElement("span",{className:"sp-eap-dashboard-upcoming-text small"},(0,l.__)("Upcoming","easy-accordion-free"))),r&&React.createElement(Sc.A,{icons:!1,defaultChecked:!f&&(null==x||null===(t=x[r])||void 0===t?void 0:t.is_active),onChange:function(){var e;f||function(e,t){C(Pu(Pu({},x),{},Au({},e,Pu(Pu({},x[e]),{},{is_active:t})))),function(e){var t=("modules"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"modules")?(0,l.__)("Module","easy-accordion-free"):(0,l.__)("Integration","easy-accordion-free"))+(e?(0,l.__)(" enabled successfully","easy-accordion-free"):(0,l.__)(" disabled successfully","easy-accordion-free"));z.success(t,{style:{marginTop:"20px",fontSize:"14px"}})}(t,i),"modules"===i&&function(e,t){var n=null==_u?void 0:_u.find(function(t){return t.key===e}),r=document.querySelector("#menu-posts-sp_easy_accordion .wp-submenu-wrap");if(n&&r){var i=r.querySelector('a[href="'.concat(n.href,'"]'));if(t){if(t&&!i){var o=document.createElement("li"),a=document.createElement("a");a.href=n.href,a.textContent=n.label,o.appendChild(a);var s=r.children[n.index];r.insertBefore(o,s)}}else if(i){var l=i.closest("li");null==l||l.remove()}}}(e,t)}(r,!(null!=x&&null!==(e=x[r])&&void 0!==e&&e.is_active))}}),m&&React.createElement(Su,null)),"quick-start"!==d&&React.createElement("span",{className:"sp-eap-integrations-card__desc"},s)),"quick-start"!==d&&React.createElement("div",{className:"sp-eap-integrations-card__links sp-d-flex sp-align-center sp-justify-between"},(p||u||h)&&React.createElement("div",{className:"sp-d-flex sp-align-center sp-gap-10px"},u&&React.createElement("a",Ru({className:"sp-d-flex sp-align-center sp-gap-4px",href:u,target:"_blank",rel:"noreferrer"},"#"===u&&{style:{pointerEvents:"none",cursor:"default"}}),React.createElement(nc,null)," Demo"),h&&React.createElement("a",Ru({className:"sp-d-flex sp-align-center sp-gap-4px",href:h,target:"_blank",rel:"noreferrer"},"#"===h&&{style:{pointerEvents:"none",cursor:"default"}}),React.createElement(rc,null)," Video"),p&&React.createElement("a",Ru({className:"sp-d-flex sp-align-center sp-gap-4px",href:p,target:"_blank",rel:"noreferrer"},"#"===p&&{style:{pointerEvents:"none",cursor:"default"}}),React.createElement(tc,null)," Docs")),"integrations"===i&&"page-builder"!==d&&!g&&React.createElement("div",{className:"sp-eap-integrations-card__settings sp-cursor-pointer"},React.createElement("span",{onClick:function(){f||y(r)}},React.createElement(ic,null))))),b===r&&React.createElement(Fc.Modal,{className:"sp-eap-integrations__modal",title:Mu[r],onRequestClose:function(){return y(null)}},React.createElement("div",{className:"sp-eap-integrations__modal-content"},"google_recaptcha"===b?React.createElement(Yc,{settings:null==x?void 0:x.google_recaptcha,updateSettingsOption:A}):React.createElement(Jc,{openedPopup:b,settings:null==x?void 0:x[b],updateSettingsOption:A}),React.createElement(Gc,{onSave:function(){return C()},onReset:P,isChanged:k}))))}))});var $u=[{id:3,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 6a6 6 0 0 1 6-6h32a6 6 0 0 1 6 6v32a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z",fill:"url(#GenerateFaqsWithAIIcona)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.411 18.615c-1.722-1.206-.629-3.569-.553-3.676.096-.253.37-.302.624-.205.253.097.301.372.204.625s-.823 1.749.253 2.502a.45.45 0 0 1 .113.641.45.45 0 0 1-.64.113",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m11.368 19.292-.054-.037c-.178-.205-.226-.48-.021-.657.075-.108 1.921-1.943 3.644-.737.215.15.263.425.112.64a.45.45 0 0 1-.64.114c-1.077-.754-2.438.618-2.438.618-.205.178-.442.172-.603.06m-.408-3.095a.45.45 0 0 1-.113-.64.45.45 0 0 1 .64-.114c1.076.754 2.438-.618 2.438-.618.205-.178.48-.226.657-.022s.226.48.022.657c-.076.107-1.976 1.905-3.644.737",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.367 19.287c-.162-.113-.248-.334-.151-.587s.824-1.749-.253-2.502a.45.45 0 0 1-.112-.641.45.45 0 0 1 .64-.113c1.668 1.168.63 3.569.554 3.676-.097.253-.372.302-.624.205zm9.391-6.911c-1.418-.993-.518-2.938-.456-3.026.08-.209.306-.248.514-.169.208.08.248.306.169.514-.08.209-.679 1.44.207 2.06a.37.37 0 0 1 .093.528.37.37 0 0 1-.527.093",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m18.255 12.944-.044-.03c-.147-.17-.186-.395-.018-.541.062-.089 1.582-1.6 3-.607a.37.37 0 0 1 .093.527.37.37 0 0 1-.528.093c-.886-.62-2.007.51-2.007.51-.168.146-.363.141-.496.048m-.333-2.547a.37.37 0 0 1-.093-.528.37.37 0 0 1 .528-.093c.886.62 2.007-.51 2.007-.51.168-.145.394-.185.54-.017.147.169.186.395.018.54-.062.09-1.626 1.57-3 .607",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.252 12.94c-.133-.093-.203-.275-.124-.483.08-.209.678-1.44-.208-2.06a.37.37 0 0 1-.093-.528.37.37 0 0 1 .528-.093c1.373.962.518 2.938.456 3.026-.08.209-.306.248-.514.169zm14.638 2.35c-1.722-1.207-.63-3.57-.554-3.677.097-.253.372-.301.625-.204.253.096.301.371.204.624s-.824 1.75.253 2.503a.45.45 0 0 1 .113.64.45.45 0 0 1-.64.113",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m29.845 15.967-.053-.038c-.178-.205-.226-.48-.022-.657.076-.107 1.922-1.943 3.644-.737a.45.45 0 0 1 .113.64.45.45 0 0 1-.64.114c-1.077-.754-2.439.618-2.439.618-.204.178-.441.173-.603.06m-.407-3.095a.45.45 0 0 1-.113-.64.45.45 0 0 1 .64-.114c1.077.754 2.44-.618 2.44-.618.204-.178.478-.226.656-.022s.226.48.021.657c-.075.108-1.975 1.905-3.644.737",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.845 15.961c-.161-.113-.247-.333-.15-.586s.823-1.75-.253-2.503a.45.45 0 0 1-.113-.64.45.45 0 0 1 .64-.114c1.67 1.168.63 3.569.555 3.677-.097.252-.372.3-.625.204zM27.32 29.537c-1.373-.962-.473-2.907-.41-2.996.079-.208.305-.248.513-.168s.248.306.168.514-.678 1.44.164 2.03a.37.37 0 0 1 .093.527.37.37 0 0 1-.527.093",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m24.859 30.126-.045-.032c-.146-.168-.186-.394-.017-.54.062-.089 1.582-1.6 2.955-.638a.37.37 0 0 1 .093.528.37.37 0 0 1-.527.093c-.842-.59-1.963.54-1.963.54-.169.146-.363.142-.496.048m-.332-2.547a.37.37 0 0 1-.093-.528.37.37 0 0 1 .527-.093c.887.62 2.008-.509 2.008-.509.168-.146.394-.186.54-.018.146.169.186.395.018.541-.062.089-1.626 1.568-3 .607",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.858 30.12c-.133-.092-.204-.274-.124-.482s.68-1.44-.207-2.06a.37.37 0 0 1-.093-.528.37.37 0 0 1 .527-.093c1.374.962.518 2.938.456 3.027-.08.208-.306.248-.514.168zm7.709-7.192c-1.33-.93-.518-2.937-.456-3.026.049-.164.306-.248.514-.168.164.048.248.305.168.514 0 0-.633 1.47.208 2.06a.37.37 0 0 1 .093.527.37.37 0 0 1-.527.093",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m30.094 23.442-.045-.031c-.146-.169-.155-.439-.017-.54.062-.09 1.64-1.494 2.97-.563a.37.37 0 0 1 .092.527.37.37 0 0 1-.527.093c-.842-.59-1.977.465-1.977.465-.168.146-.363.142-.496.049m-.317-2.472a.37.37 0 0 1-.093-.528.37.37 0 0 1 .528-.093c.841.59 1.963-.54 1.963-.54.168-.146.394-.186.54-.018.146.169.186.395.018.54-.062.09-1.582 1.6-2.956.639",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.094 23.442c-.133-.093-.205-.274-.125-.483 0 0 .647-1.395-.195-1.985a.37.37 0 0 1-.093-.527.37.37 0 0 1 .528-.093c1.329.93.504 2.863.442 2.951-.08.208-.305.248-.514.169z",fill:"#fff"}),React.createElement("path",{d:"m11.745 32.823 1.81 1.19L24.822 16.89l-1.81-1.19zm3.103 2.833-.08.108c-.423.52-1.18.645-1.751.269l-2.913-1.917a1.32 1.32 0 0 1-.378-1.83l11.994-18.23a1.32 1.32 0 0 1 1.83-.377l2.913 1.916c.61.402.78 1.221.379 1.831z",fill:"#fff"}),React.createElement("path",{d:"m23.19 20.868-1.09 1.656-3.875-2.55 1.09-1.655z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"GenerateFaqsWithAIIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7a00df"}),React.createElement("stop",{offset:1,stopColor:"#1a74e4"}))))},key:"generate_faqs_with_ai",label:(0,l.__)("Generate FAQs with AI","easy-accordion-free"),desc:(0,l.__)("Automatically generate relevant FAQs from your content, keywords, or Prompts to save time and streamline content creation.","easy-accordion-free"),videoLink:"https://www.youtube.com/watch?v=xYL2HC6acgA",docLink:"https://easyaccordion.io/docs/generate-faqs-with-ai/"},{id:8,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#SaveTemplatesIcona)"}),React.createElement("path",{d:"M12.943 9.501c-1.888 0-3.442 1.545-3.442 3.433v18.122a3.46 3.46 0 0 0 3.442 3.442h18.122c1.888 0 3.433-1.553 3.433-3.442V17.741a.94.94 0 0 0-.166-.544l-5.158-7.299a.94.94 0 0 0-.766-.397zm0 1.873h14.976l4.706 6.653v13.03c0 .881-.678 1.568-1.56 1.568H12.943a1.55 1.55 0 0 1-1.569-1.569V12.934c0-.882.687-1.56 1.569-1.56",fill:"#fff"}),React.createElement("path",{d:"M16.69 21.377c-1.889 0-3.442 1.544-3.442 3.433v8.461a.937.937 0 0 0 .94.932.94.94 0 0 0 .942-.932V24.81c0-.882.677-1.56 1.56-1.56h10.62c.882 0 1.569.678 1.569 1.56v8.461a.937.937 0 0 0 1.873 0V24.81c0-1.888-1.554-3.433-3.442-3.433z",fill:"#fff"}),React.createElement("path",{d:"M17.926 25.123a.938.938 0 0 0 0 1.874h8.129a.937.937 0 0 0 0-1.874zm0 3.747a.937.937 0 0 0-.932.94.94.94 0 0 0 .932.942h8.129a.94.94 0 0 0 .932-.941.937.937 0 0 0-.932-.941zM14.189 9.889a.94.94 0 0 0-.941.941v4.06c0 1.888 1.553 3.433 3.441 3.433h6.958a3.44 3.44 0 0 0 3.432-3.433v-4.06a.936.936 0 1 0-1.873 0v4.06c0 .882-.677 1.56-1.56 1.56H16.69c-.882 0-1.56-.678-1.56-1.56v-4.06a.94.94 0 0 0-.94-.941",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"SaveTemplatesIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#00afff"}),React.createElement("stop",{offset:1,stopColor:"#2974ff"}))))},key:"saved_templates",label:(0,l.__)("Saved Templates","easy-accordion-free"),desc:(0,l.__)("Create unlimited templates by converting Gutenberg blocks into shortcodes for use anywhere, including Elementor, Divi, etc.","easy-accordion-free"),videoLink:"https://www.youtube.com/watch?v=HsbKNZ6NDKM",docLink:"https://easyaccordion.io/docs/saved-templates/"},{id:7,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#PatternLibraryIcona)"}),React.createElement("path",{d:"M22 33.25c-5.892 0-8.838 0-10.669-1.83-1.83-1.831-1.83-4.778-1.83-10.67v-3.82c0-2.27 0-3.405.475-4.257a3.75 3.75 0 0 1 1.447-1.448c.852-.475 1.987-.475 4.258-.475 1.455 0 2.182 0 2.819.239 1.453.545 2.053 1.865 2.709 3.177L22 15.75m-5 0h10.938c2.633 0 3.95 0 4.896.632.41.274.76.625 1.034 1.035.633.945.633 2.262.633 4.895",stroke:"#fff",strokeWidth:1.833,strokeLinecap:"round"}),React.createElement("path",{d:"M34.5 25.75h-8.75m8.75 3.75h-8.75m3.125 3.75H25.75",stroke:"#fff",strokeWidth:1.833,strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"PatternLibraryIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ab4cfe"}),React.createElement("stop",{offset:1,stopColor:"#7317fe"}))))},key:"pattern_library",label:(0,l.__)("Ready Patterns Library","easy-accordion-free"),desc:(0,l.__)("Access a large collection of pre-designed patterns to build layouts faster with consistent design quality.","easy-accordion-free"),demoLink:"https://easyaccordion.io/patterns/",docLink:"https://easyaccordion.io/docs/ready-patterns-library/"},{id:1,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#SEOSChemaMarkupModuleIcona)"}),React.createElement("path",{d:"M34.1 11A1.1 1.1 0 0 0 33 9.9H11A1.1 1.1 0 0 0 9.9 11v22a1.1 1.1 0 0 0 1.1 1.1h22a1.1 1.1 0 0 0 1.1-1.1zm1.8 22a2.9 2.9 0 0 1-2.9 2.9H11A2.9 2.9 0 0 1 8.1 33V11A2.9 2.9 0 0 1 11 8.1h22a2.9 2.9 0 0 1 2.9 2.9z",fill:"#fff"}),React.createElement("path",{d:"M11.7 18a2.8 2.8 0 0 1 2.8-2.8h6.2a.8.8 0 0 1 0 1.6h-6.2a1.2 1.2 0 0 0 0 2.4h6.2a.8.8 0 0 1 0 1.6h-6.2a2.8 2.8 0 0 1-2.8-2.8",fill:"#fff"}),React.createElement("path",{d:"M30.7 18a4.7 4.7 0 1 0-9.4 0 4.7 4.7 0 0 0 9.4 0m1.6 0a6.3 6.3 0 1 1-12.6 0 6.3 6.3 0 0 1 12.6 0",fill:"#fff"}),React.createElement("path",{d:"M25.1 31v-7a.9.9 0 0 1 1.8 0v7a.9.9 0 0 1-1.8 0m2.547-14.853a.5.5 0 0 1 .707 0l1.146 1.146a1 1 0 0 1 0 1.414l-1.146 1.146a.5.5 0 1 1-.707-.707L28.793 18l-1.146-1.146a.5.5 0 0 1 0-.707m-3.293 3.707a.5.5 0 0 1-.707 0L22.5 18.707a1 1 0 0 1 0-1.414l1.146-1.146a.5.5 0 1 1 .707.707L23.208 18l1.146 1.146a.5.5 0 0 1 0 .707m.713-.198.88-3.284a.5.5 0 0 1 .966.258l-.88 3.285a.5.5 0 0 1-.966-.259M19 23.2a.8.8 0 1 1 0 1.6h-6.5a.8.8 0 1 1 0-1.6zm0 3a.8.8 0 1 1 0 1.6h-6.5a.8.8 0 1 1 0-1.6zm-1.5 3a.8.8 0 1 1 0 1.6h-5a.8.8 0 1 1 0-1.6z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"SEOSChemaMarkupModuleIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#97abff"}),React.createElement("stop",{offset:1,stopColor:"#123597"}))))},key:"seo_schema_markup",label:(0,l.__)("SEO Schema Markup","easy-accordion-free"),desc:(0,l.__)("This allows you to add structured FAQ schema, improving search visibility and increasing clicks with rich results.","easy-accordion-free"),videoLink:"",docLink:"https://easyaccordion.io/docs/seo-schema-markup/"},{id:2,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#MultilevelAccordionModuleIcona)"}),React.createElement("path",{d:"M34.1 9.682a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v15.636a.28.28 0 0 0 .282.281h23.636a.28.28 0 0 0 .282-.28zm1.8 15.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 25.318V9.682c0-1.15.932-2.082 2.082-2.083h23.636c1.15 0 2.082.933 2.082 2.083z",fill:"#fff"}),React.createElement("path",{d:"M30.072 10.709a1.18 1.18 0 0 1 1.49-.008l.09.08.765.76a.591.591 0 0 1-.833.84l-.762-.758-.754.764a.591.591 0 1 1-.842-.829l.757-.767zm-7.484-.006a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zM34.1 30.682a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v3.636c0 .156.126.281.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 3.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 34.318v-3.636c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.081z",fill:"#fff"}),React.createElement("path",{d:"M30.072 33.264c.43.357 1.056.36 1.49.008l.09-.081.765-.76a.591.591 0 0 0-.833-.839l-.762.758-.754-.765a.591.591 0 1 0-.842.83l.757.767zm-7.484-1.591a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zm7.484-14.894a1.18 1.18 0 0 1 1.49-.008l.09.08.765.76a.591.591 0 0 1-.833.84l-.762-.758-.754.764a.591.591 0 1 1-.842-.829l.757-.767zm-7.484-.006a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zm5.958 3.277a.75.75 0 0 1 0 1.5H14a.75.75 0 0 1 0-1.5zm0 2.5a.75.75 0 0 1 0 1.5H14a.75.75 0 0 1 0-1.5zM35 13.731a.769.769 0 0 1 0 1.537H9a.769.769 0 0 1 0-1.537z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"MultilevelAccordionModuleIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#f761a1"}),React.createElement("stop",{offset:1,stopColor:"#8c1bab"}))))},label:(0,l.__)("Multi-Level Accordions","easy-accordion-free"),desc:(0,l.__)("This enables you to organize complex content with nested accordions for better structure and navigation.","easy-accordion-free"),demoLink:"https://easyaccordion.io/multi-leve-accoridons/",docLink:"https://easyaccordion.io/docs/how-to-create-multi-level-or-nested-faq-accordion/"},{id:6,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ExportImportModuleIcona)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m20.234 19.323-.065.105zm1.802-.823.31.013a3 3 0 0 0-.31-.014m.05 5.704-.154-.012q.082 0 .154.012m-.308 1.284.06.007zm.154.012-.095-.005q.047.005.095.005",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m20.234 19.323-.065.105zm1.802-.823.31.013a3 3 0 0 0-.31-.014m-.104 5.692q.082 0 .154.012zm-.095 1.303-.059-.007zm0 0q.047.005.095.005z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m20.234 19.323-.065.105zm1.802-.823.31.013a3 3 0 0 0-.31-.014m-.847 1.848.01-.136q-.008.065-.01.136m.973-.84-.126-.006q.066 0 .126.006m.667.992.006-.123q0 .063-.006.123",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m21.189 20.348.01-.136q-.008.065-.01.136m1.641.152.006-.123q0 .063-.007.123",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.183 20.325q0 .325-.096.605l-.075.182a2.6 2.6 0 0 1-.44.63q-.266.285-.574.575a1.15 1.15 0 0 0-.336.473q-.088.254-.094.598v.099h-1.325l.001-.1a4 4 0 0 1 .073-.755l.043-.158q.05-.154.122-.292l.08-.134q.168-.262.448-.526l.203-.194q.095-.095.179-.183a1.5 1.5 0 0 0 .255-.356.9.9 0 0 0 .088-.413q-.002-.27-.084-.435a.53.53 0 0 0-.226-.248.76.76 0 0 0-.389-.092.9.9 0 0 0-.367.081q-.165.076-.269.24a.84.84 0 0 0-.11.43l-.004.097H19.84l.003-.103c.01-.425.11-.787.308-1.079q.294-.439.79-.652a2.7 2.7 0 0 1 1.095-.215q.661-.002 1.144.226.486.222.743.66.26.437.26 1.039m-3.949-1.002-.065.105zm1.802-.823.31.013a3 3 0 0 0-.31-.014m-.847 1.848.01-.136q-.008.065-.01.136m.973-.84-.126-.006q.066 0 .126.006m.667.992.006-.123q0 .063-.006.123m-.992 4.995-.059-.007.154.012z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.738 24.85a.72.72 0 0 1-.223.531c-.148.148-.346.218-.582.218-.237 0-.437-.068-.588-.216a.73.73 0 0 1-.218-.533c0-.213.072-.396.217-.54a.8.8 0 0 1 .589-.219c.236 0 .434.07.582.217a.73.73 0 0 1 .223.542m-.652-.646-.154-.012q.082 0 .154.012m-.308 1.284a1 1 0 0 0 .154.012z",fill:"#fff"}),React.createElement("path",{d:"M16.85 27.15h10.3v-10.3h-10.3zm12 .25c0 .8-.65 1.45-1.45 1.45H16.6a1.45 1.45 0 0 1-1.45-1.45V16.6c0-.8.649-1.45 1.45-1.45h10.8c.8 0 1.45.65 1.45 1.45zm-16.444-2.208a.85.85 0 0 1 1.188 1.217l-2.077 2.025a1.45 1.45 0 0 1-2.034 0l-2.077-2.026a.85.85 0 0 1 1.188-1.216L10.5 27.05z",fill:"#fff"}),React.createElement("path",{d:"M9.65 28V16a.85.85 0 1 1 1.7 0v12a.85.85 0 1 1-1.7 0m25.756-9.192a.85.85 0 0 0 1.188-1.216l-2.078-2.026a1.45 1.45 0 0 0-2.033 0l-2.077 2.026a.85.85 0 0 0 1.188 1.216L33.5 16.95z",fill:"#fff"}),React.createElement("path",{d:"M32.65 16v12a.85.85 0 1 0 1.7 0V16a.85.85 0 1 0-1.7 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ExportImportModuleIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3662b2"}),React.createElement("stop",{offset:1,stopColor:"#13d2c4"}))))},key:"eap_tools",label:(0,l.__)("Export / Import FAQs","easy-accordion-free"),desc:(0,l.__)("This enables you to transfer FAQs across websites easily, saving time during migration, backup, or content duplication.","easy-accordion-free"),videoLink:"https://www.youtube.com/watch?v=Yjycl8tAvIU",docLink:"https://easyaccordion.io/docs/export-import-faqs/"}],Du=[{id:1,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#BuiltinProTemplatesIcona)"}),React.createElement("path",{d:"M33.6 12a1.1 1.1 0 0 0-1.1-1.1h-17a1.1 1.1 0 0 0-1.1 1.1v16a1.1 1.1 0 0 0 1.1 1.1h17a1.1 1.1 0 0 0 1.1-1.1zm1.8 16a2.9 2.9 0 0 1-2.9 2.9h-17a2.9 2.9 0 0 1-2.9-2.9V12a2.9 2.9 0 0 1 2.9-2.9h17a2.9 2.9 0 0 1 2.9 2.9z",fill:"#fff"}),React.createElement("path",{d:"M29.325 14.064c.43.357 1.056.36 1.49.008l.09-.08.765-.76a.591.591 0 0 0-.834-.84l-.761.758-.754-.764a.591.591 0 1 0-.842.829l.757.767zm-5.315-1.591a.8.8 0 1 1 0 1.6H17a.8.8 0 1 1 0-1.6zM8.6 30V16a2.9 2.9 0 0 1 2.9-2.9h2v1.8h-2a1.1 1.1 0 0 0-1.1 1.1v14a3.1 3.1 0 0 0 3.1 3.1h15a1.1 1.1 0 0 0 1.1-1.1v-2h1.8v2a2.9 2.9 0 0 1-2.9 2.9h-15A4.9 4.9 0 0 1 8.6 30",fill:"#fff"}),React.createElement("path",{d:"M34.5 15.7a.8.8 0 1 1 0 1.6h-21a.8.8 0 1 1 0-1.6zM31 19.2a.8.8 0 1 1 0 1.6H17a.8.8 0 1 1 0-1.6zm0 3.3a.8.8 0 1 1 0 1.6H17a.8.8 0 1 1 0-1.6zm-2.6 3.3a.8.8 0 0 1 0 1.6H17a.8.8 0 1 1 0-1.6z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"BuiltinProTemplatesIcona",x1:1.833,y1:0,x2:42.167,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ffbd29"}),React.createElement("stop",{offset:1,stopColor:"#ff2db6"}))))},label:(0,l.__)("25+ Built-in Pro Templates","easy-accordion-free"),desc:(0,l.__)("Access professionally designed templates to quickly build attractive accordion layouts without starting from scratch.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:2,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#FAQTitlePrefixSuffixIcona)"}),React.createElement("path",{d:"M35.1 9.182a.28.28 0 0 0-.281-.282H9.182a.28.28 0 0 0-.281.282v15.136c0 .156.125.281.28.282H34.82a.28.28 0 0 0 .28-.282zm1.8 15.136c0 1.15-.932 2.082-2.081 2.082H9.182A2.08 2.08 0 0 1 7.1 24.318V9.182c0-1.15.932-2.082 2.082-2.082h25.637c1.15 0 2.081.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M30.572 10.969a1.18 1.18 0 0 1 1.49-.008l.09.08.765.76a.591.591 0 0 1-.833.84l-.762-.758-.754.764a.591.591 0 1 1-.842-.829l.757-.767zM12.7 11.2a.6.6 0 1 1 0 1.2h-1.2a.6.6 0 1 1 0-1.2zm7.04-.2a.8.8 0 1 1 0 1.6h-4.59a.8.8 0 1 1 0-1.6z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 10.6a.5.5 0 0 0-.5.5v1.4a.5.5 0 0 0 .5.5h2.6a.5.5 0 0 0 .5-.5v-1.4a.5.5 0 0 0-.5-.5zm1.8.7a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1z",fill:"#fff"}),React.createElement("path",{d:"M35.1 30.182a.28.28 0 0 0-.281-.282H9.182a.28.28 0 0 0-.281.282v4.636a.28.28 0 0 0 .28.282H34.82a.28.28 0 0 0 .28-.282zm1.8 4.636c0 1.15-.932 2.082-2.081 2.082H9.182A2.08 2.08 0 0 1 7.1 34.818v-4.636c0-1.15.932-2.082 2.082-2.082h25.637c1.15 0 2.081.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M30.572 33.226c.43.356 1.056.36 1.49.008l.09-.081.765-.76a.591.591 0 0 0-.833-.84l-.762.759-.754-.765a.591.591 0 1 0-.842.83l.757.767zM12.7 31.872a.6.6 0 1 1 0 1.199h-1.2a.6.6 0 1 1 0-1.2zm7.04-.2a.8.8 0 1 1 0 1.6h-4.59a.8.8 0 1 1 0-1.6z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 31.272a.5.5 0 0 0-.5.5v1.4a.5.5 0 0 0 .5.5h2.6a.5.5 0 0 0 .5-.5v-1.4a.5.5 0 0 0-.5-.5zm1.8.7a.5.5 0 0 1 0 1h-1a.5.5 0 1 1 0-1z",fill:"#fff"}),React.createElement("path",{d:"M32.05 18.25a.75.75 0 1 1 0 1.5H11.5a.75.75 0 0 1 0-1.5zm-4 3a.75.75 0 1 1 0 1.5H11.5a.75.75 0 0 1 0-1.5zM36 14.831a.769.769 0 0 1 0 1.538H8a.769.769 0 0 1 0-1.538z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"FAQTitlePrefixSuffixIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#97abff"}),React.createElement("stop",{offset:1,stopColor:"#123597"}))))},label:(0,l.__)("FAQ Title Prefix & Suffix","easy-accordion-free"),desc:(0,l.__)("Add custom text before or after titles to improve clarity and guide users through structured content.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:3,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#a)"}),React.createElement("path",{d:"M7.1 24v-4A1.9 1.9 0 0 1 9 18.1h6v1.8H9a.1.1 0 0 0-.1.1v4a.1.1 0 0 0 .1.1h6v1.8H9A1.9 1.9 0 0 1 7.1 24m28 0v-4a.1.1 0 0 0-.1-.1h-6v-1.8h6a1.9 1.9 0 0 1 1.9 1.9v4a1.9 1.9 0 0 1-1.9 1.9h-6v-1.8h6a.1.1 0 0 0 .1-.1",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.545 18.654a2 2 0 0 0-.09.131zm2.489-1.03.43.018a5 5 0 0 0-.43-.017m.07 7.131-.213-.014q.112 0 .212.014m-.426 1.606.082.01zm.213.014-.131-.005q.063.005.131.005",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.545 18.654a2 2 0 0 0-.09.131zm2.489-1.03.43.018a5 5 0 0 0-.43-.017m-.143 7.117q.112 0 .212.014zm-.131 1.63-.082-.01zm0 0q.063.004.131.004z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.545 18.654a2 2 0 0 0-.09.131zm2.489-1.03.43.018a5 5 0 0 0-.43-.017m-1.17 2.312.015-.17q-.012.08-.015.17m1.345-1.05-.175-.009q.09 0 .175.009m.921 1.24.009-.155q0 .08-.009.155",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m20.864 19.936.015-.17q-.012.08-.015.17m2.266.19.009-.155q0 .08-.009.155",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25 19.906q0 .407-.132.757l-.104.227a3.3 3.3 0 0 1-.607.789q-.368.356-.794.718-.348.285-.464.59-.121.319-.13.749v.123h-1.83l.001-.126q.007-.544.101-.942l.06-.198q.067-.192.168-.365l.11-.167q.232-.327.619-.658l.28-.243q.132-.119.248-.228.226-.218.352-.446.121-.224.122-.515a1.14 1.14 0 0 0-.116-.545.7.7 0 0 0-.313-.31 1.1 1.1 0 0 0-.537-.114q-.27 0-.507.1a.83.83 0 0 0-.37.3q-.14.19-.155.537l-.004.122H19l.004-.128q.018-.8.426-1.349.407-.548 1.092-.816.681-.269 1.512-.268.914-.001 1.58.282.672.279 1.027.825.36.548.359 1.3m-5.455-1.252a2 2 0 0 0-.09.131zm2.489-1.03.43.018a5 5 0 0 0-.43-.017m-1.17 2.312.015-.17q-.012.08-.015.17m1.345-1.05-.175-.009q.09 0 .175.009m.921 1.24.009-.155q0 .08-.009.155m-1.37 6.244-.082-.01.213.015z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.005 25.564q-.001.391-.31.664c-.204.185-.477.272-.804.272s-.603-.086-.812-.27a.87.87 0 0 1-.3-.666.88.88 0 0 1 .299-.677c.208-.184.486-.272.813-.272s.6.087.805.271c.205.181.308.41.308.678m-.902-.809-.212-.014q.112 0 .212.014m-.425 1.606a2 2 0 0 0 .213.014z",fill:"#fff"}),React.createElement("path",{d:"M29.1 22a7.1 7.1 0 1 0-14.2 0 7.1 7.1 0 1 0 14.2 0m1.8 0a8.9 8.9 0 1 1-17.8 0 8.9 8.9 0 0 1 17.8 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"a",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ff96f9"}),React.createElement("stop",{offset:1,stopColor:"#c32bac"}))))},label:(0,l.__)("FAQ Title Badges","easy-accordion-free"),desc:(0,l.__)("Highlight important FAQs with badges, helping users quickly identify featured or critical information within content.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:4,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#AccordionItemSubtitlesa)"}),React.createElement("path",{d:"M34.1 9.232a.28.28 0 0 0-.282-.281H10.182a.28.28 0 0 0-.282.28V23.37c0 .155.126.28.282.28h23.636a.28.28 0 0 0 .282-.28zm1.8 14.137c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 23.369V9.232c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M30.013 11.229a1.18 1.18 0 0 1 1.49-.008l.09.081.765.76a.591.591 0 0 1-.833.839l-.762-.758-.754.765a.591.591 0 1 1-.842-.83l.757-.767zm-7.425 1.094a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zM18.59 10.1a.55.55 0 1 1 0 1.1H12a.55.55 0 1 1 0-1.1zM34.1 29.232a.28.28 0 0 0-.282-.281H10.182a.28.28 0 0 0-.282.28v5.537c0 .156.126.282.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 5.536c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 34.768v-5.536c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M30.013 32.815c.43.356 1.056.36 1.49.007l.09-.08.765-.76a.591.591 0 0 0-.833-.84l-.762.759-.754-.765a.591.591 0 1 0-.842.829l.757.768zm-7.425-.492a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zM18.59 30.1a.55.55 0 1 1 0 1.1H12a.55.55 0 1 1 0-1.1zM31.05 18a.75.75 0 0 1 0 1.5H12.5a.75.75 0 1 1 0-1.5zm-3 2.7a.75.75 0 0 1 0 1.5H12.5a.75.75 0 0 1 0-1.5zM35 15.182a.769.769 0 0 1 0 1.537H9a.769.769 0 0 1 0-1.537z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"AccordionItemSubtitlesa",x1:22,y1:0,x2:22,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#920523"}),React.createElement("stop",{offset:.25,stopColor:"#a61937"}),React.createElement("stop",{offset:.5,stopColor:"#ba2d4b"}),React.createElement("stop",{offset:.75,stopColor:"#ce415f"}),React.createElement("stop",{offset:1,stopColor:"#e25573"}))))},label:(0,l.__)("Accordion Item Subtitles","easy-accordion-free"),desc:(0,l.__)("Add descriptive subtitles to each item, providing additional context and improving readability for better understanding.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:5,Icon:Eu,label:(0,l.__)("Accordion Featured Icon","easy-accordion-free"),desc:(0,l.__)("Enhance accordion titles with icons to improve visual appeal and make content easier to scan quickly.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:6,Icon:Eu,label:(0,l.__)("Item Anchor Links","easy-accordion-free"),desc:(0,l.__)("Automatically generate unique anchor links for each item, enabling direct navigation using the item title or ID for easy sharing.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:7,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#AJAXFAQSearchIcona)"}),React.createElement("path",{d:"M21.19 22.38h-1.928q.009-.735.121-1.259a2.9 2.9 0 0 1 .396-.944q.274-.427.741-.87.371-.348.662-.654A2.7 2.7 0 0 0 21.65 18a1.76 1.76 0 0 0 .169-.782q0-.492-.161-.823a1.07 1.07 0 0 0-.46-.5q-.299-.177-.75-.177-.37 0-.702.153-.33.153-.532.476-.201.315-.218.822H16.86q.024-1.056.5-1.758a2.9 2.9 0 0 1 1.282-1.056Q19.449 14 20.449 14q1.105 0 1.887.371.79.363 1.202 1.065.42.701.419 1.693 0 .71-.274 1.274a4.3 4.3 0 0 1-.726 1.04q-.451.484-.976.976-.46.412-.62.88a3.5 3.5 0 0 0-.17 1.08m-2.13 2.507q0-.483.323-.806.331-.323.887-.323.558 0 .88.323.33.323.33.806 0 .468-.33.79-.322.323-.88.323-.555 0-.887-.323a1.08 1.08 0 0 1-.322-.79",fill:"#fff"}),React.createElement("path",{d:"M29.18 28.026A11.96 11.96 0 0 0 32.26 20c0-6.627-5.373-12-12-12-6.628 0-12 5.373-12 12 0 6.628 5.372 12 12 12 2.82 0 5.415-.974 7.464-2.603l6.31 6.31a1 1 0 1 0 1.414-1.414zM20.26 10c5.522 0 10 4.477 10 10s-4.478 10-10 10c-5.524 0-10-4.477-10-10s4.476-10 10-10",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"AJAXFAQSearchIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3b2667"}),React.createElement("stop",{offset:1,stopColor:"#bc78ec"}))))},label:(0,l.__)("AJAX FAQ Search","easy-accordion-free"),desc:(0,l.__)("Enable instant FAQ search with real-time results, improving usability without requiring page reloads.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:8,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#FrontendLiveTaxonomyFilterIcona)"}),React.createElement("path",{d:"M10.498 23.89c0-.417.338-.755.756-.755h3.137a.755.755 0 1 1 0 1.51h-3.137a.755.755 0 0 1-.756-.755m7.637-.871a.545.545 0 0 1 .756.755l-.071.085-.779.78a.73.73 0 0 1-.912.092l-.116-.092-.778-.78-.07-.085a.545.545 0 0 1 .754-.756l.085.071.523.522.523-.522z",fill:"#fff"}),React.createElement("path",{d:"M19.85 21.564a.406.406 0 0 0-.405-.406H9.917a.406.406 0 0 0-.406.406v4.648c0 .224.182.406.406.406h9.528a.406.406 0 0 0 .406-.406zm1.511 4.648a1.917 1.917 0 0 1-1.916 1.917H9.917A1.92 1.92 0 0 1 8 26.212v-4.648c0-1.058.859-1.917 1.917-1.917h9.528c1.058 0 1.916.859 1.916 1.917zM16.888 15.87l.107.007a1.046 1.046 0 0 1 0 2.08l-.107.006H9.337a1.046 1.046 0 0 1 0-2.092zm14.347 0 .108.007a1.046 1.046 0 0 1 0 2.08l-.108.006h-7.143a1.046 1.046 0 0 1 0-2.092z",fill:"#fff"}),React.createElement("path",{d:"M10.498 23.89c0-.417.338-.755.756-.755h3.137a.755.755 0 1 1 0 1.51h-3.137a.755.755 0 0 1-.756-.755m14.639 0c0-.417.338-.755.756-.755h3.136a.755.755 0 1 1 0 1.51h-3.136a.755.755 0 0 1-.756-.755m7.637-.871a.545.545 0 0 1 .756.755l-.071.085-.779.78a.73.73 0 0 1-.912.092l-.116-.092-.778-.78-.07-.085a.545.545 0 0 1 .754-.756l.085.071.523.522.523-.522z",fill:"#fff"}),React.createElement("path",{d:"M34.49 21.564a.406.406 0 0 0-.406-.406h-9.528a.406.406 0 0 0-.406.406v4.648c0 .224.182.406.407.406h9.527a.406.406 0 0 0 .406-.406zM36 26.212a1.917 1.917 0 0 1-1.916 1.917h-9.528a1.92 1.92 0 0 1-1.917-1.917v-4.648c0-1.058.859-1.917 1.918-1.917h9.527c1.058 0 1.916.859 1.916 1.917z",fill:"#fff"}),React.createElement("path",{d:"M25.137 23.89c0-.417.338-.755.756-.755h3.136a.755.755 0 1 1 0 1.51h-3.136a.755.755 0 0 1-.756-.755",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"FrontendLiveTaxonomyFilterIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#374691"}),React.createElement("stop",{offset:1,stopColor:"#2160df"}))))},label:(0,l.__)("Frontend Live Taxonomy Filter","easy-accordion-free"),desc:(0,l.__)("Allow users to filter FAQs dynamically by categories or tags, improving content discovery and navigation.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:9,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#FAQAnalyticsIcona)"}),React.createElement("path",{d:"M34.1 11.182a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v21.636c0 .156.126.282.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 21.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 32.818V11.182c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M12 19.313v-6.228h4.252v1.223h-2.747v1.277h2.476v1.226h-2.476v2.502zm5.579 0h-1.618l2.101-6.228h2.005l2.101 6.228H20.55l-1.463-4.659h-.048zm-.216-2.45h3.382v1.143h-3.382zm7.564.212h1.217l.517.66.678.779 1.043 1.286h-1.363l-.73-.873-.431-.62zm3.497-.876q0 1.028-.395 1.743-.395.714-1.07 1.085-.672.372-1.509.372-.84 0-1.511-.375a2.73 2.73 0 0 1-1.068-1.085q-.392-.715-.392-1.74 0-1.028.392-1.742a2.7 2.7 0 0 1 1.068-1.086A3.1 3.1 0 0 1 25.45 13q.836 0 1.509.371.675.371 1.07 1.086.396.714.395 1.742m-1.538 0q0-.608-.174-1.028a1.35 1.35 0 0 0-.492-.635 1.34 1.34 0 0 0-.77-.216 1.35 1.35 0 0 0-.77.216q-.322.216-.495.635-.17.42-.17 1.028t.17 1.028q.173.42.496.636.322.216.77.216.45 0 .769-.216.322-.216.492-.636.174-.42.174-1.028M13.8 33.2h1.9v-4.4h-1.9zm3.5 1.6h-5.1v-6.5a1.1 1.1 0 0 1 1.1-1.1h2.9a1.1 1.1 0 0 1 1.1 1.1zm3.75-1.6h1.9v-7.4h-1.9zm3.5 1.6h-5.1v-9.5a1.1 1.1 0 0 1 1.1-1.1h2.9a1.1 1.1 0 0 1 1.1 1.1zm3.75-1.6h1.9V22.8h-1.9zm3.5 1.6h-5.1V22.3a1.1 1.1 0 0 1 1.1-1.1h2.9a1.1 1.1 0 0 1 1.1 1.1z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"FAQAnalyticsIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3662b2"}),React.createElement("stop",{offset:1,stopColor:"#13d2c4"}))))},label:(0,l.__)("FAQ Analytics","easy-accordion-free"),desc:(0,l.__)("Monitor FAQ clicks and impressions to understand user behavior and measure content performance effectively.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:10,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"#873eff"}),React.createElement("path",{d:"M8 33.275v-22.55A2.725 2.725 0 0 1 10.725 8h2.819a.846.846 0 0 1 0 1.692h-2.819c-.57 0-1.033.462-1.033 1.033v22.55c0 .57.462 1.033 1.033 1.033h22.55c.57 0 1.033-.462 1.033-1.033v-16.35a.846.846 0 0 1 1.692 0v16.35A2.725 2.725 0 0 1 33.275 36h-22.55A2.725 2.725 0 0 1 8 33.275",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.13 8c-.44 0-.726.158-.982.69l-1.167 2.43V8.96c0-.644-.277-.96-.788-.96-.512 0-.727.191-.983.734l-1.105 2.385V8.984c0-.69-.256-.984-.88-.984h-1.27c-.48 0-.746.249-.746.701s.255.723.726.723h.522v2.724c0 .769.471 1.221 1.146 1.221.676 0 .983-.294 1.32-.983l.738-1.526v1.288c0 .758.45 1.221 1.136 1.221s.941-.26 1.33-.983l1.7-3.165c.368-.69.112-1.22-.707-1.22zm3.192 0c-1.392 0-2.446 1.142-2.446 2.69s1.064 2.68 2.446 2.68 2.436-1.142 2.446-2.68c0-1.548-1.064-2.69-2.446-2.69m0 3.719c-.522 0-.88-.43-.88-1.029s.358-1.04.88-1.04.88.441.88 1.04c0 .6-.348 1.029-.88 1.029M33.554 8c-1.382 0-2.446 1.142-2.446 2.69s1.064 2.68 2.446 2.68S36 12.227 36 10.69 34.936 8 33.554 8m0 3.719c-.532 0-.87-.43-.87-1.029s.348-1.04.87-1.04.88.441.88 1.04c0 .6-.348 1.029-.88 1.029",fill:"#fff"}),React.createElement("path",{d:"M30.691 26.698a.235.235 0 0 0-.235-.235H13.544a.235.235 0 0 0-.235.235v3.758c0 .13.105.235.235.235h16.912c.13 0 .235-.105.235-.235zm1.41 3.758c0 .908-.737 1.644-1.645 1.644H13.544a1.644 1.644 0 0 1-1.644-1.644v-3.758c0-.908.736-1.645 1.644-1.645h16.912c.908 0 1.644.737 1.644 1.645z",fill:"#fff"}),React.createElement("path",{d:"M26.362 27.873a.47.47 0 0 1 .664-.008l.623.611q.003.004.015.005.013-.001.016-.005l.628-.604a.47.47 0 0 1 .652.677l-.63.605a.964.964 0 0 1-1.338-.007l-.623-.61a.47.47 0 0 1-.007-.664m-3.422-.001a.705.705 0 1 1 0 1.41h-7.517a.705.705 0 1 1 0-1.41zm7.751-10.1a.235.235 0 0 0-.235-.235H13.544a.235.235 0 0 0-.235.235v3.758c0 .13.105.235.235.235h16.912c.13 0 .235-.105.235-.235zm1.41 3.758c0 .908-.737 1.644-1.645 1.644H13.544A1.644 1.644 0 0 1 11.9 21.53v-3.758c0-.908.736-1.644 1.644-1.644h16.912c.908 0 1.644.736 1.644 1.644z",fill:"#fff"}),React.createElement("path",{d:"M26.362 18.947a.47.47 0 0 1 .664-.008l.623.611q.003.004.015.005.013-.001.016-.005l.628-.604a.47.47 0 0 1 .652.677l-.63.604a.964.964 0 0 1-1.338-.006l-.623-.61a.47.47 0 0 1-.007-.664m-3.422-.001a.705.705 0 1 1 0 1.41h-7.517a.705.705 0 1 1 0-1.41z",fill:"#fff"}))},label:(0,l.__)("WooCommerce Product FAQs","easy-accordion-free"),desc:(0,l.__)("Add FAQs directly to WooCommerce product pages to reduce customer doubts and increase conversions with clear information.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:11,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#MotionEffectsAnimationsIcona)"}),React.createElement("path",{d:"M36 25.1a.9.9 0 0 1 0 1.8H8a.9.9 0 0 1 0-1.8zm0 6a.9.9 0 0 1 0 1.8H20a.9.9 0 0 1 0-1.8z",fill:"#fff"}),React.createElement("path",{d:"M19.1 32a1.1 1.1 0 1 0-2.2 0 1.1 1.1 0 0 0 2.2 0m1.8 0a2.9 2.9 0 1 1-5.801 0 2.9 2.9 0 0 1 5.801 0",fill:"#fff"}),React.createElement("path",{d:"M16 31.1a.9.9 0 0 1 0 1.8H8a.9.9 0 0 1 0-1.8zM7.1 15.5a6.4 6.4 0 0 1 11.337-4.073.9.9 0 1 1-1.388 1.146 4.6 4.6 0 1 0 0 5.854.9.9 0 0 1 1.387 1.146A6.4 6.4 0 0 1 7.1 15.5",fill:"#fff"}),React.createElement("path",{d:"M15.6 15.5a6.4 6.4 0 0 1 11.337-4.073.9.9 0 1 1-1.388 1.146 4.6 4.6 0 1 0 0 5.854.9.9 0 0 1 1.387 1.146A6.4 6.4 0 0 1 15.6 15.5",fill:"#fff"}),React.createElement("path",{d:"M35.1 15.5a4.6 4.6 0 1 0-9.2 0 4.6 4.6 0 0 0 9.2 0m1.8 0a6.4 6.4 0 1 1-12.801 0 6.4 6.4 0 0 1 12.801 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"MotionEffectsAnimationsIcona",x1:44,y1:44,x2:0,y2:0,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ff4c4f"}),React.createElement("stop",{offset:1,stopColor:"#2402e3"}))))},label:(0,l.__)("Motion Effects & Animations","easy-accordion-free"),desc:(0,l.__)("Add modern motion effects and interactive behaviors to create engaging and visually dynamic user experiences.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:12,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#MultipleUserFAQFormsIcona)"}),React.createElement("path",{d:"M25.45 12a.2.2 0 0 0-.2-.2H9.75a.2.2 0 0 0-.2.2v11.5c0 .11.09.2.2.2h15.5a.2.2 0 0 0 .2-.2zm1.6 11.5a1.8 1.8 0 0 1-1.8 1.8H9.75a1.8 1.8 0 0 1-1.8-1.8V12a1.8 1.8 0 0 1 1.8-1.8h15.5a1.8 1.8 0 0 1 1.8 1.8z",fill:"#fff"}),React.createElement("path",{d:"M17.75 15.75a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5zm0 2.5a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5zm-3.5 2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1 0-1.5zm1.5-7.5a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1 0-1.5zm6.347 6.138h-1.4q.005-.534.087-.914.088-.381.287-.686.2-.31.54-.633.269-.252.48-.474.216-.228.34-.475.122-.252.122-.568 0-.357-.117-.598a.77.77 0 0 0-.334-.363 1.05 1.05 0 0 0-.545-.129q-.27 0-.51.111a.9.9 0 0 0-.386.346q-.146.228-.158.598H18.95q.018-.768.363-1.278.345-.515.932-.767.585-.258 1.312-.258.804 0 1.372.27a1.9 1.9 0 0 1 .873.773q.304.51.304 1.23 0 .516-.199.926-.2.405-.527.756-.329.351-.71.71-.333.297-.45.638-.119.34-.123.785M20.55 21.21q0-.352.234-.586.24-.234.645-.234.404 0 .638.234.24.235.24.586 0 .34-.24.574-.234.235-.639.235-.404 0-.644-.235a.78.78 0 0 1-.234-.574",fill:"#fff"}),React.createElement("path",{d:"M16.95 32v-7h1.6v7c0 .11.09.2.2.2h15.5a.2.2 0 0 0 .2-.2V20a.2.2 0 0 0-.2-.2H26.5v-1.6h7.75a1.8 1.8 0 0 1 1.8 1.8v12a1.8 1.8 0 0 1-1.8 1.8h-15.5a1.8 1.8 0 0 1-1.8-1.8",fill:"#fff"}),React.createElement("path",{d:"M26.75 26.75a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5zm-3.5 2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1 0-1.5zm7.847-1.862h-1.4q.005-.534.087-.914.088-.381.287-.686.2-.31.54-.633.269-.252.48-.474.216-.228.34-.475.122-.252.122-.568 0-.358-.117-.598a.77.77 0 0 0-.334-.363 1.05 1.05 0 0 0-.545-.129q-.27 0-.51.111a.9.9 0 0 0-.386.346q-.146.229-.158.598H27.95q.018-.768.363-1.278.345-.515.932-.767.585-.258 1.312-.258.804 0 1.372.27a1.9 1.9 0 0 1 .873.773q.304.51.304 1.23 0 .516-.199.926-.2.405-.527.756-.329.351-.71.71-.333.297-.45.638-.119.34-.123.785M29.55 29.21q0-.352.234-.586.24-.234.645-.234.404 0 .638.234.24.235.24.586 0 .34-.24.574-.234.235-.639.235-.404 0-.644-.235a.78.78 0 0 1-.234-.574",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"MultipleUserFAQFormsIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#374691"}),React.createElement("stop",{offset:1,stopColor:"#2160df"}))))},label:(0,l.__)("Multiple User FAQ Forms","easy-accordion-free"),desc:(0,l.__)("Allow users to submit FAQs from the frontend, helping collect user-generated content efficiently.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:13,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#SpamProtectionreCAPTCHAIcona)"}),React.createElement("path",{d:"M21.582 36.36c.276.053.56.053.837 0l.146-.033.144-.043.564-.195c5.729-2.066 8.683-5.45 10.144-9.243 1.48-3.844 1.39-8.035 1.323-11.407v-.026a28 28 0 0 1-.028-.888c-.026-1.656-1.375-2.947-3.01-3.035-3.473-.186-6.13-1.281-8.379-3.382l-.01-.008-.01-.01a1.975 1.975 0 0 0-2.605 0l-.01.01-.01.008c-2.109 1.97-4.576 3.055-7.737 3.336l-.642.046c-1.634.088-2.985 1.378-3.01 3.034l-.027.89-.001.012v.012c-.067 3.356-.165 7.547 1.31 11.394 1.504 3.922 4.604 7.41 10.722 9.453q.134.045.269.07v.002zm.339-1.767q-.03-.006-.057-.016c-5.635-1.883-8.31-4.997-9.61-8.39-1.33-3.465-1.261-7.298-1.193-10.712q.011-.23.018-.454l.01-.468.009-.12c.07-.592.586-1.108 1.299-1.146 3.841-.206 6.906-1.44 9.492-3.846a.175.175 0 0 1 .227.002c2.585 2.406 5.65 3.639 9.49 3.844.76.04 1.297.624 1.307 1.266l.011.467q.006.225.018.455c.067 3.428.129 7.262-1.204 10.723-1.304 3.389-3.98 6.497-9.6 8.38a.43.43 0 0 1-.216.015",fill:"#fff"}),React.createElement("path",{d:"M21.504 14.284a7.7 7.7 0 0 1 5.207 2.023 1 1 0 0 1 .03 1.445l-1.56 1.561a1 1 0 0 1-1.365.047 3.5 3.5 0 0 0-2.312-.87c-.969 0-1.846.393-2.481 1.028l-.001.001a3.5 3.5 0 0 0-.692.984 1 1 0 0 1 .437 1.641l-.111.102-2.89 2.268a1 1 0 0 1-1.547-.415l-1.368-3.409a1 1 0 0 1 1.188-1.34l.197.053a7.7 7.7 0 0 1 1.811-2.858 7.7 7.7 0 0 1 5.457-2.261m0 1.4a6.3 6.3 0 0 0-4.466 1.85 6.3 6.3 0 0 0-1.618 2.762.85.85 0 0 1-.975.609l.875 2.178 1.869-1.467a.85.85 0 0 1-.404-.979 4.9 4.9 0 0 1 1.247-2.108l.17-.162a4.9 4.9 0 0 1 3.302-1.277 4.9 4.9 0 0 1 2.94.979l1.002-1.002a6.3 6.3 0 0 0-3.942-1.383m5.786 3.732a1.002 1.002 0 0 1 1.447.485l1.368 3.408a1.001 1.001 0 0 1-1.188 1.341l-.2-.054q-.06.174-.129.343a.7.7 0 0 1-1.294-.534q.14-.342.241-.702a.85.85 0 0 1 .975-.608l-.875-2.18-1.869 1.468a.85.85 0 0 1 .404.98 4.9 4.9 0 0 1-1.037 1.886l-.21.222a4.9 4.9 0 0 1-3.471 1.439 4.9 4.9 0 0 1-2.94-.98l-1.003 1.002a6.3 6.3 0 0 0 3.943 1.384 6.3 6.3 0 0 0 4.75-2.153.7.7 0 1 1 1.052.923q-.167.19-.346.37a7.7 7.7 0 0 1-5.456 2.26 7.7 7.7 0 0 1-5.208-2.023 1 1 0 0 1-.03-1.445l1.56-1.56a1 1 0 0 1 1.288-.11l.078.061.24.194a3.5 3.5 0 0 0 2.072.677c.969 0 1.846-.392 2.481-1.028h.001c.285-.285.518-.619.691-.985a1 1 0 0 1-.325-1.742l2.89-2.269z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"SpamProtectionreCAPTCHAIcona",x1:44,y1:0,x2:0,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#1b39aa"}),React.createElement("stop",{offset:1,stopColor:"#5490f7"}))))},label:(0,l.__)("Spam Protection (reCAPTCHA)","easy-accordion-free"),desc:(0,l.__)("Protect forms from spam submissions using Google reCAPTCHA, ensuring secure and reliable data collection.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:14,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#FAQContentEqualHeightIcona)"}),React.createElement("path",{d:"M34.6 11.982a.28.28 0 0 0-.282-.281H9.682a.28.28 0 0 0-.282.281v20.036c0 .156.126.282.282.282h24.636a.28.28 0 0 0 .282-.282zm1.8 20.036c0 1.15-.932 2.082-2.082 2.082H9.682A2.08 2.08 0 0 1 7.6 32.018V11.982c0-1.15.932-2.082 2.082-2.082h24.636c1.15 0 2.082.933 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M29.572 13.01a1.18 1.18 0 0 1 1.49-.008l.09.08.765.76a.591.591 0 0 1-.833.84l-.762-.759-.754.765a.591.591 0 1 1-.842-.83l.757-.767zm-7.484-.006a.8.8 0 1 1 0 1.6H11.5a.8.8 0 1 1 0-1.6zm3.962 6.046a.75.75 0 0 1 0 1.5H11.5a.75.75 0 1 1 0-1.5zm0 2.6a.75.75 0 0 1 0 1.5H11.5a.75.75 0 0 1 0-1.5zm0 2.6a.75.75 0 0 1 0 1.5H11.5a.75.75 0 0 1 0-1.5zm-2 2.6a.75.75 0 0 1 0 1.5H11.5a.75.75 0 0 1 0-1.5zm-3 2.6a.75.75 0 0 1 0 1.5H11.5a.75.75 0 1 1 0-1.5zM34.5 16.032a.769.769 0 0 1 0 1.537h-26a.769.769 0 0 1 0-1.537zM30.4 29.8v-10a.6.6 0 1 1 1.2 0v10a.6.6 0 1 1-1.2 0",fill:"#fff"}),React.createElement("path",{d:"M30.037 19.602a1.35 1.35 0 0 1 1.911-.009l.975.97a.6.6 0 1 1-.846.85l-.974-.969a.147.147 0 0 0-.21.001l-.965.979a.6.6 0 0 1-.856-.842zm-.957 8.971a.6.6 0 0 1 .848.007l.965.978c.058.059.15.06.21.001l.974-.969a.6.6 0 1 1 .846.85l-.975.97a1.35 1.35 0 0 1-1.91-.01l-.966-.979a.6.6 0 0 1 .007-.848",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"FAQContentEqualHeightIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#023c71"}),React.createElement("stop",{offset:1,stopColor:"#17cfef"}))))},label:(0,l.__)("FAQ Content Equal Height","easy-accordion-free"),desc:(0,l.__)("Maintain consistent height across accordion items for a balanced layout and improved visual presentation.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:15,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ContentinCollapsedStateIcona)"}),React.createElement("path",{d:"M24.1 11.182a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v21.636c0 .156.126.282.282.282h13.636a.28.28 0 0 0 .282-.282zm1.8 21.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 32.818V11.182c0-1.15.932-2.082 2.082-2.082h13.636c1.15 0 2.082.932 2.082 2.082zm8.2-21.636a.28.28 0 0 0-.282-.282h-3.636a.28.28 0 0 0-.282.282v21.636c0 .156.126.282.282.282h3.636a.28.28 0 0 0 .282-.282zm1.8 21.636c0 1.15-.932 2.082-2.082 2.082h-3.636a2.08 2.08 0 0 1-2.082-2.082V11.182c0-1.15.932-2.082 2.082-2.082h3.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M31.2 30.59V16a.8.8 0 1 1 1.6 0v14.59a.8.8 0 1 1-1.6 0m-9.7-6.49a.9.9 0 0 1 0 1.8h-9a.9.9 0 0 1 0-1.8zm0 2.9a.8.8 0 1 1 0 1.6h-9a.8.8 0 1 1 0-1.6zM19 29.8a.8.8 0 1 1 0 1.6h-4a.8.8 0 1 1 0-1.6z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ContentinCollapsedStateIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ab4cfe"}),React.createElement("stop",{offset:1,stopColor:"#7317fe"}))))},label:(0,l.__)("Content in Collapsed State","easy-accordion-free"),desc:(0,l.__)("Show partial content in collapsed items to encourage interaction while maintaining a clean and compact layout.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:16,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ContentinCollapsedStateIcona)"}),React.createElement("path",{d:"M34.308 22c0-6.798-5.51-12.308-12.308-12.308S9.692 15.202 9.692 22 15.202 34.308 22 34.308 34.308 28.798 34.308 22M36 22c0 7.732-6.268 14-14 14S8 29.732 8 22 14.268 8 22 8s14 6.268 14 14",fill:"#fff"}),React.createElement("path",{d:"M30.722 26.9C29.475 31.972 26.204 36 22 36s-7.475-4.028-8.722-9.1l1.642-.404c1.185 4.817 4.072 7.812 7.08 7.812s5.896-2.995 7.08-7.812zM22 8c4.204 0 7.475 4.028 8.722 9.1l-1.642.404c-1.184-4.817-4.072-7.812-7.08-7.812s-5.895 2.995-7.08 7.812l-1.642-.404C14.525 12.028 17.796 8 22 8",fill:"#fff"}),React.createElement("path",{d:"M34.214 25.852a.846.846 0 0 1 0 1.692H9.786a.846.846 0 0 1 0-1.692zm0-9.396a.846.846 0 0 1 0 1.692H9.786a.846.846 0 0 1 0-1.692zm-9.395 4.698a.846.846 0 0 1 0 1.692H12.604a.846.846 0 0 1 0-1.692zm4.602-1.734a1.34 1.34 0 0 1 1.86-.008l.869.834a.658.658 0 0 1-.911.949l-.868-.835-.004-.002-.01-.002-.011.002-.004.002-.86.843a.658.658 0 0 1-.92-.94zm-.052 5.162a1.34 1.34 0 0 0 1.86.01l.869-.834a.658.658 0 0 0-.911-.95l-.868.836-.004.002-.011.001-.01-.002-.004-.001-.86-.843a.658.658 0 0 0-.92.939z",fill:"#fff"}),React.createElement("path",{d:"M21.154 17.302V8.846a.846.846 0 0 1 1.692 0v8.456a.846.846 0 0 1-1.692 0m0 17.852v-8.456a.846.846 0 0 1 1.692 0v8.456a.846.846 0 0 1-1.692 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ContentinCollapsedStateIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3b2667"}),React.createElement("stop",{offset:1,stopColor:"#bc78ec"}))))},label:(0,l.__)("Global Toggle All Button","easy-accordion-free"),desc:(0,l.__)("Enable users to expand or collapse all accordion items at once for faster navigation and better usability.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:17,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ExtensiveCustomIconLibraryIcona)"}),React.createElement("path",{d:"M13.144 8.804a1.375 1.375 0 0 1 2.252 0l.108.18 1.223 2.427 2.57.466c1.135.206 1.486 1.576.765 2.352l-1.84 1.98.378 2.744c.142 1.038-.923 2.006-2 1.452l-2.33-1.2-2.33 1.2c-1.077.554-2.141-.414-1.999-1.452l.376-2.743-1.839-1.98c-.72-.777-.37-2.148.765-2.353l2.57-.466 1.224-2.428zm.186 3.597a1.39 1.39 0 0 1-.99.744l-2.067.373 1.488 1.601c.293.316.421.744.364 1.161l-.297 2.157 1.817-.933.15-.068c.307-.113.644-.113.951 0l.15.068 1.815.933-.296-2.157a1.42 1.42 0 0 1 .364-1.161l1.487-1.6-2.065-.374a1.39 1.39 0 0 1-.99-.744l-.94-1.866zm5.31 17.212a4.37 4.37 0 1 0-8.74 0 4.37 4.37 0 0 0 8.74 0m1.8 0a6.17 6.17 0 1 1-12.34 0 6.17 6.17 0 0 1 12.34 0M34.1 10.592a.27.27 0 0 0-.271-.27h-8.433a.27.27 0 0 0-.27.27v8.432c0 .15.12.272.27.272h8.433c.15 0 .271-.122.271-.272zm1.8 8.432a2.07 2.07 0 0 1-2.071 2.072h-8.433a2.07 2.07 0 0 1-2.071-2.072v-8.432c0-1.144.928-2.071 2.071-2.072h8.433c1.143 0 2.07.928 2.071 2.072zm-1.8 8.815c0 1.616-1.093 3.073-2.387 4.207a14 14 0 0 1-2.101 1.505 14 14 0 0 1-2.1-1.505c-1.293-1.134-2.386-2.59-2.386-4.207a2.058 2.058 0 0 1 3.749-1.175l.067.086a.9.9 0 0 0 1.41-.086 2.059 2.059 0 0 1 3.749 1.175m1.8 0a3.858 3.858 0 0 0-6.287-2.995 3.859 3.859 0 0 0-6.288 2.995c0 2.42 1.6 4.333 3 5.56a15.6 15.6 0 0 0 2.808 1.945l.053.028.015.008.005.002h.002l.265-.526-.264.528a.9.9 0 0 0 .807 0l-.403-.805.404.804.002-.001.005-.002.016-.008.052-.028q.069-.036.189-.102A15.6 15.6 0 0 0 32.9 33.4c1.4-1.227 2.999-3.14 2.999-5.56",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ExtensiveCustomIconLibraryIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ab4cfe"}),React.createElement("stop",{offset:1,stopColor:"#7317fe"}))))},label:(0,l.__)("Extensive Custom Icon Library","easy-accordion-free"),desc:(0,l.__)("Choose from a wide range of icons to enhance design flexibility and improve visual communication within content.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:18,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ImageAccordionLightboxIcona)"}),React.createElement("path",{d:"M20.27 31.09c6.1 0 11.044-4.945 11.044-11.045S26.37 9 20.27 9 9.224 13.945 9.224 20.045 14.17 31.09 20.27 31.09ZM34.776 35l-6.482-6.482M15.488 19.99h9.579m-4.79 4.79V15.2",stroke:"#fff",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ImageAccordionLightboxIcona",x1:1.833,y1:0,x2:42.167,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ffbd29"}),React.createElement("stop",{offset:1,stopColor:"#ff2db6"}))))},label:(0,l.__)("Image Accordion Lightbox","easy-accordion-free"),desc:(0,l.__)("Open images in a popup view for distraction-free browsing and improved user focus on visual content.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:19,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#OneClickFAQCloseButtonIcona)"}),React.createElement("path",{d:"M34.1 10.432a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v13.636c0 .156.126.281.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 13.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 24.068V10.432c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082zm-1.8 5.864a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v3.636c0 .156.126.282.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 3.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 33.568v-3.636c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.452 20.05a.65.65 0 0 0-.652.652v1.826c0 .36.292.652.652.652h4.696c.36 0 .652-.291.652-.652v-1.826a.65.65 0 0 0-.652-.652zm3.652.913a.652.652 0 0 1 0 1.304h-2.608a.652.652 0 0 1 0-1.304z",fill:"#fff"}),React.createElement("path",{d:"M30.072 11.459a1.18 1.18 0 0 1 1.49-.008l.09.081.765.76a.591.591 0 0 1-.833.839l-.762-.758-.754.765a.591.591 0 1 1-.842-.83l.757-.767zm-7.484-.107a.9.9 0 0 1 0 1.801H12a.9.9 0 0 1 0-1.8zm7.484 21.192c.43.357 1.056.36 1.49.008l.09-.081.765-.76a.591.591 0 0 0-.833-.839l-.762.758-.754-.764a.591.591 0 1 0-.842.829l.757.767zm-7.484-1.692a.9.9 0 0 1 0 1.801H12a.9.9 0 0 1 0-1.8zM31.55 17.3a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zm-7 2.7a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zM35 14.481a.769.769 0 0 1 0 1.538H9a.769.769 0 0 1 0-1.538z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"OneClickFAQCloseButtonIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ff96f9"}),React.createElement("stop",{offset:1,stopColor:"#c32bac"}))))},label:(0,l.__)("One-Click FAQ Close Button","easy-accordion-free"),desc:(0,l.__)("Allow users to quickly close open accordion items, improving browsing control and enhancing overall user experience.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:20,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ContentAnimationsIcona)"}),React.createElement("path",{d:"M35.843 9.457a1.155 1.155 0 0 1 0 2.31H18.66a1.155 1.155 0 0 1 0-2.31zm-4.909 10.666a1.534 1.534 0 0 1 0 3.069H13.752a1.534 1.534 0 0 1 0-3.069zm-4.91 10.739a1.84 1.84 0 1 1 0 3.682H8.843a1.84 1.84 0 1 1 0-3.682z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ContentAnimationsIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3662b2"}),React.createElement("stop",{offset:1,stopColor:"#13d2c4"}))))},label:(0,l.__)("25+ Content Animations","easy-accordion-free"),desc:(0,l.__)("Apply smooth animations to accordion content, creating dynamic interactions and improving user engagement.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:21,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ImageHoverEffectsIcona)"}),React.createElement("path",{d:"M34.25 12.278c0-.59-.48-1.069-1.07-1.069H10.82c-.59 0-1.07.478-1.07 1.069v19.444c0 .59.48 1.069 1.07 1.069h22.36c.59 0 1.07-.478 1.07-1.07zM36 31.722a2.82 2.82 0 0 1-2.82 2.82H10.82A2.82 2.82 0 0 1 8 31.722V12.278a2.82 2.82 0 0 1 2.82-2.82h22.36a2.82 2.82 0 0 1 2.82 2.82z",fill:"#fff"}),React.createElement("path",{d:"M24.93 23.428a1.166 1.166 0 0 1 1.503.011l9.26 7.917-1.137 1.33-8.887-7.599-5.785 4.802c-.338.28-.804.346-1.207.172l-3.991-1.719-5.206 4.984-1.21-1.264 5.485-5.25.134-.111c.282-.2.638-.263.97-.175l.165.057 4.017 1.73zm-12.885-5.771a4.348 4.348 0 0 1 7.7-2.767.718.718 0 1 1-1.108.915 2.91 2.91 0 1 0 0 3.703.72.72 0 0 1 1.108.915 4.347 4.347 0 0 1-7.7-2.767",fill:"#fff"}),React.createElement("path",{d:"M17.653 17.657a4.348 4.348 0 0 1 7.7-2.767.718.718 0 1 1-1.108.915 2.91 2.91 0 1 0 0 3.703.72.72 0 0 1 1.108.915 4.347 4.347 0 0 1-7.7-2.767",fill:"#fff"}),React.createElement("path",{d:"M30.518 17.657a2.91 2.91 0 1 0-5.82 0 2.91 2.91 0 0 0 5.82 0m1.436 0a4.347 4.347 0 1 1-8.693 0 4.347 4.347 0 0 1 8.693 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ImageHoverEffectsIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3662b2"}),React.createElement("stop",{offset:1,stopColor:"#13d2c4"}))))},label:(0,l.__)("Image Hover Effects","easy-accordion-free"),desc:(0,l.__)("Add interactive hover animations to images, increasing engagement and enhancing the visual experience.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:22,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#ExpandedAreaWidthControlIcona)"}),React.createElement("path",{d:"M34.1 10.682a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v3.636c0 .156.126.282.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 3.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 14.318v-3.636c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M30.072 13.264c.43.357 1.056.36 1.49.008l.09-.081.765-.76a.591.591 0 0 0-.833-.839l-.762.758-.754-.764a.591.591 0 1 0-.842.829l.757.767zm-7.484-1.591a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zM34.1 20.682a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v3.636c0 .156.126.281.282.282h23.636a.28.28 0 0 0 .282-.282zm1.8 3.636c0 1.15-.932 2.082-2.082 2.082H10.182A2.08 2.08 0 0 1 8.1 24.318v-3.636c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M30.072 23.264c.43.357 1.056.36 1.49.008l.09-.081.765-.76a.591.591 0 0 0-.833-.839l-.762.758-.754-.764a.591.591 0 1 0-.842.829l.757.767zm-7.484-1.591a.8.8 0 1 1 0 1.6H12a.8.8 0 1 1 0-1.6zM23.1 32a1.6 1.6 0 1 0-3.199 0 1.6 1.6 0 0 0 3.199 0m1.8 0a3.4 3.4 0 1 1-6.8 0 3.4 3.4 0 0 1 6.8 0",fill:"#fff"}),React.createElement("path",{d:"M18.5 31.1a.9.9 0 0 1 0 1.8H9a.9.9 0 0 1 0-1.8zm16.5 0a.9.9 0 0 1 0 1.8H24.5a.9.9 0 0 1 0-1.8z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ExpandedAreaWidthControlIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#79f1a4"}),React.createElement("stop",{offset:1,stopColor:"#0e5cad"}))))},label:(0,l.__)("Expanded Area Width Control","easy-accordion-free"),desc:(0,l.__)("Control the width of expanded content areas to improve readability and fit different layout requirements.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:23,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ImageFlipFocalPointIcona)"}),React.createElement("path",{d:"M34.6 12a1.1 1.1 0 0 0-1.1-1.1h-23A1.1 1.1 0 0 0 9.4 12v20a1.1 1.1 0 0 0 1.1 1.1h23a1.1 1.1 0 0 0 1.1-1.1zm1.8 20a2.9 2.9 0 0 1-2.9 2.9h-23A2.9 2.9 0 0 1 7.6 32V12a2.9 2.9 0 0 1 2.9-2.9h23a2.9 2.9 0 0 1 2.9 2.9z",fill:"#fff"}),React.createElement("path",{d:"M25.014 23.469a1.2 1.2 0 0 1 1.546.011l9.525 8.144-1.17 1.368-9.142-7.816-5.95 4.938a1.2 1.2 0 0 1-1.241.178l-4.105-1.769-5.355 5.127-1.244-1.3 5.642-5.4.137-.115a1.2 1.2 0 0 1 .998-.18l.17.059 4.131 1.78zM23 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0",fill:"#fff"}),React.createElement("path",{d:"M24.028 18a2.028 2.028 0 1 0-4.058 0 2.028 2.028 0 0 0 4.058 0m1.5 0a3.529 3.529 0 1 1-7.058-.001 3.529 3.529 0 0 1 7.058 0",fill:"#fff"}),React.createElement("path",{d:"M21.25 23v-2a.75.75 0 0 1 1.5 0v2a.75.75 0 0 1-1.5 0m0-8v-2a.75.75 0 0 1 1.5 0v2a.75.75 0 0 1-1.5 0M19 17.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5zm8 0a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ImageFlipFocalPointIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#f761a1"}),React.createElement("stop",{offset:1,stopColor:"#8c1bab"}))))},label:(0,l.__)("Image Flip & Focal Point","easy-accordion-free"),desc:(0,l.__)("Flip images and adjust focal points to improve visual storytelling and highlight important content areas effectively.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:24,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#CustomReadMoreButtonIcona)"}),React.createElement("path",{d:"M26.1 18a4.1 4.1 0 1 0-8.2 0 4.1 4.1 0 0 0 8.2 0m1.8 0a5.9 5.9 0 1 1-11.8 0 5.9 5.9 0 0 1 11.8 0",fill:"#fff"}),React.createElement("path",{d:"M24 18.8a.8.8 0 1 0 0-1.6h-4a.8.8 0 1 0 0 1.6z",fill:"#fff"}),React.createElement("path",{d:"M22.8 16a.8.8 0 1 0-1.6 0v4a.8.8 0 1 0 1.6 0z",fill:"#fff"}),React.createElement("path",{d:"M8.1 29v-6a2.9 2.9 0 0 1 2.9-2.9h7v1.8h-7A1.1 1.1 0 0 0 9.9 23v6a1.1 1.1 0 0 0 1.1 1.1h22a1.1 1.1 0 0 0 1.1-1.1v-6a1.1 1.1 0 0 0-1.1-1.1h-7v-1.8h7a2.9 2.9 0 0 1 2.9 2.9v6a2.9 2.9 0 0 1-2.9 2.9H11A2.9 2.9 0 0 1 8.1 29",fill:"#fff"}),React.createElement("path",{d:"M30 25.1a.9.9 0 0 1 0 1.8H14a.9.9 0 0 1 0-1.8z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"CustomReadMoreButtonIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ab4cfe"}),React.createElement("stop",{offset:1,stopColor:"#7317fe"}))))},label:(0,l.__)("Custom Read More Button","easy-accordion-free"),desc:(0,l.__)("Add expandable content sections with customizable buttons, helping users explore more without cluttering the layout.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:25,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#PostProductMetaDisplayIcona)"}),React.createElement("path",{d:"M35.557 11.996a.79.79 0 0 1 0 1.58h-11.53a.79.79 0 1 1 0-1.58zm-9.951-2.738a.685.685 0 0 1 0 1.37h-1.58a.685.685 0 0 1 0-1.37zm4.212 0a.685.685 0 0 1 0 1.37H28.24a.685.685 0 0 1 0-1.37zm3.212 5.582a.79.79 0 0 1 0 1.579h-9.003a.79.79 0 1 1 0-1.58zm-4.212 2.842a.79.79 0 1 1 0 1.58h-4.791a.79.79 0 1 1 0-1.58zM8.863 18.789h11.373V9.52H8.863zm12.636.185c0 .595-.482 1.077-1.077 1.077H8.678A1.08 1.08 0 0 1 7.6 18.974V9.336c0-.595.482-1.077 1.078-1.078h11.744c.595 0 1.077.483 1.077 1.078z",fill:"#fff"}),React.createElement("path",{d:"M16.464 13.638a.77.77 0 0 1 .753.052l.106.085 3.982 3.812-.874.913-3.683-3.527-3.122 2.243a.77.77 0 0 1-.75.081l-1.802-.776-2.406 2.303-.874-.914 2.644-2.53.088-.072a.77.77 0 0 1 .637-.115l.108.037 1.847.794 3.23-2.318zm-3.108-1.659a.983.983 0 1 1-1.965 0 .983.983 0 0 1 1.965 0M35.61 27.844a.79.79 0 1 1 0 1.58H24.027a.79.79 0 1 1 0-1.58zm-11.32-1.519-.451.237a.158.158 0 0 1-.23-.166l.087-.503a.34.34 0 0 0-.099-.303l-.365-.356a.158.158 0 0 1 .088-.27l.504-.072a.34.34 0 0 0 .258-.188l.226-.457a.158.158 0 0 1 .283 0l.226.457c.05.101.146.171.258.188l.505.073c.129.019.18.178.087.269l-.365.356a.34.34 0 0 0-.099.303l.086.503a.158.158 0 0 1-.228.166l-.452-.237a.34.34 0 0 0-.319 0m3.852 0-.452.237a.158.158 0 0 1-.229-.166l.086-.503a.34.34 0 0 0-.098-.303l-.365-.356a.158.158 0 0 1 .087-.27l.505-.072a.34.34 0 0 0 .258-.188l.226-.457a.158.158 0 0 1 .282 0l.226.457c.05.101.147.171.258.188l.505.073c.13.019.18.178.087.269l-.365.356a.34.34 0 0 0-.098.303l.086.503a.158.158 0 0 1-.229.166l-.451-.237a.34.34 0 0 0-.32 0m3.852 0-.452.237a.158.158 0 0 1-.228-.166l.086-.503a.34.34 0 0 0-.099-.303l-.365-.356a.158.158 0 0 1 .087-.27l.505-.072a.34.34 0 0 0 .258-.188l.226-.457a.158.158 0 0 1 .283 0l.226.457c.05.101.146.171.258.188l.504.073c.13.019.181.178.088.269l-.365.356a.34.34 0 0 0-.099.303l.086.503a.158.158 0 0 1-.229.166l-.451-.237a.34.34 0 0 0-.32 0m-1.647 4.31a.685.685 0 0 1 0 1.37h-6.318a.685.685 0 0 1 0-1.37zm0 2.685a.685.685 0 0 1 0 1.37h-6.318a.685.685 0 0 1 0-1.37zM16.24 28.705a.547.547 0 0 1 1.092-.055l.111-.063-.313-1.204a1.06 1.06 0 0 0-.57-.691l-.233-.11c-.113.214-.26.424-.444.604-.323.32-.776.572-1.334.572-.874 0-1.47-.59-1.78-1.177l-.229.11a1.06 1.06 0 0 0-.568.688l-.32 1.207.112.065a.547.547 0 0 1 1.093.054v3.4a.15.15 0 0 0 .102.14 5.15 5.15 0 0 0 3.177 0h.003l.04-.02a.14.14 0 0 0 .061-.12zm-1.019-2.334c-.186.033-.46.053-.677.053a4 4 0 0 1-.64-.053c.167.174.287.32.64.348.284 0 .51-.184.677-.348m2.118 5.734c0 .545-.35 1.02-.864 1.187l-.001-.002a6.23 6.23 0 0 1-3.853 0 1.25 1.25 0 0 1-.862-1.185v-2.189l-.858-.494-.007-.005a.8.8 0 0 1-.37-.862l.005-.019.38-1.437a2.16 2.16 0 0 1 1.157-1.4l1.04-.496.01-.005.01-.004a.8.8 0 0 1 .318-.068c.007 0 .074-.002.163.018h.032l.09.034q.417.149.816.148c.268 0 .481-.04.735-.12l.015-.003.013-.004.005-.002.016-.007h.002l.024-.01.012-.003.032-.017.02-.004.03-.011h.028a.8.8 0 0 1 .353.003l.137.046.009.004.01.005 1.042.495c.58.275 1.004.792 1.165 1.406l.238.913.04-.023v.173l.098.376a.79.79 0 0 1-.375.89l-.822.47v-.005l-.033.018z",fill:"#fff"}),React.createElement("path",{d:"M8.863 34.479h11.373v-10.32H8.863zm12.636.03c0 .68-.552 1.233-1.233 1.233H8.833A1.233 1.233 0 0 1 7.6 34.509v-10.38c0-.682.552-1.234 1.233-1.234h11.433c.681 0 1.233.552 1.233 1.233z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"PostProductMetaDisplayIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#374691"}),React.createElement("stop",{offset:1,stopColor:"#2160df"}))))},label:(0,l.__)("Post & Product Meta Display","easy-accordion-free"),desc:(0,l.__)("Display additional post or product metadata within accordion items to provide more context and useful information.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:26,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#PerItemCustomizationControlsIcona)"}),React.createElement("path",{d:"M34.1 25.818V10.182a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v15.636c0 .156.126.281.282.282H13v1.8h-2.818A2.08 2.08 0 0 1 8.1 25.818V10.182c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082v15.636c0 1.15-.932 2.082-2.082 2.082H31v-1.8h2.818a.28.28 0 0 0 .282-.282",fill:"#fff"}),React.createElement("path",{d:"M30.1 20.182a.28.28 0 0 0-.282-.282H14.182a.28.28 0 0 0-.282.282v13.636c0 .156.126.282.282.282h15.636a.28.28 0 0 0 .282-.282zm1.8 13.636c0 1.15-.932 2.082-2.082 2.082H14.182a2.08 2.08 0 0 1-2.082-2.082V20.182c0-1.15.932-2.082 2.082-2.082h15.636c1.15 0 2.082.932 2.082 2.082zm-1.828-22.609a1.18 1.18 0 0 1 1.49-.008l.09.081.765.76a.591.591 0 0 1-.833.839l-.762-.758-.754.765a.591.591 0 1 1-.842-.83l.757-.767zm-7.484-.107a.9.9 0 0 1 0 1.801H12a.9.9 0 0 1 0-1.8zM35 14.231a.769.769 0 0 1 0 1.538H9a.769.769 0 0 1 0-1.538z",fill:"#fff"}),React.createElement("path",{d:"M28 23.25a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5z",fill:"#fff"}),React.createElement("path",{d:"M21.25 24a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0m1.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0",fill:"#fff"}),React.createElement("path",{d:"M19 23.25a.75.75 0 0 1 0 1.5h-3a.75.75 0 0 1 0-1.5zm-3 6a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5z",fill:"#fff"}),React.createElement("path",{d:"M22.75 30a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0m-1.5 0a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0",fill:"#fff"}),React.createElement("path",{d:"M25 29.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"PerItemCustomizationControlsIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3662b2"}),React.createElement("stop",{offset:1,stopColor:"#13d2c4"}))))},label:(0,l.__)("Per-Item Customization Controls","easy-accordion-free"),desc:(0,l.__)("Customize each accordion item individually to achieve precise control over content, styling, and behavior.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:27,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#AJAXPaginationsIcona)"}),React.createElement("path",{d:"M35.15 18.388c.3-.3.786-.3 1.086 0l2.346 2.345c.699.7.699 1.835 0 2.534l-2.346 2.346a.768.768 0 0 1-1.085-1.086l2.345-2.346c.1-.1.1-.262 0-.362l-2.346-2.346c-.3-.3-.3-.785 0-1.085m-26.3 7.225c-.3.3-.786.3-1.086 0l-2.346-2.346a1.793 1.793 0 0 1 0-2.534l2.346-2.345a.768.768 0 0 1 1.085 1.085L6.504 21.82c-.1.1-.1.263 0 .363l2.345 2.345c.3.3.3.786 0 1.085m4.733-6.683v6.14h-1.115v-4.657l-1.476.484v-1.08l2.464-.887zm16.809 2.593h.612q.323 0 .533-.111a.74.74 0 0 0 .315-.312 1 1 0 0 0 .107-.463 1 1 0 0 0-.094-.447.65.65 0 0 0-.287-.296 1 1 0 0 0-.484-.106 1 1 0 0 0-.44.094.8.8 0 0 0-.315.27.73.73 0 0 0-.115.415h-1.086q0-.485.254-.849a1.75 1.75 0 0 1 .697-.578q.44-.21.98-.21.59 0 1.034.197.447.194.693.57.25.378.25.936 0 .266-.127.533a1.5 1.5 0 0 1-.365.475q-.238.21-.587.34a2.3 2.3 0 0 1-.791.128h-.784zm0 .836v-.578h.784q.504 0 .873.119.374.114.615.328.242.21.357.488.12.279.12.599 0 .417-.157.746-.156.324-.438.55-.279.225-.657.344a2.8 2.8 0 0 1-.816.115q-.381 0-.742-.103a2.1 2.1 0 0 1-.644-.315 1.56 1.56 0 0 1-.455-.534 1.6 1.6 0 0 1-.168-.75h1.086q0 .246.12.439a.86.86 0 0 0 .336.303q.217.107.488.107.3 0 .512-.107a.8.8 0 0 0 .332-.311 1 1 0 0 0 .115-.488q0-.338-.127-.546a.75.75 0 0 0-.365-.308 1.4 1.4 0 0 0-.557-.098z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.593 18.47c0-.848.688-1.535 1.535-1.535h7.06c.848 0 1.535.687 1.535 1.535v7.06c0 .848-.687 1.535-1.534 1.535h-7.06a1.535 1.535 0 0 1-1.536-1.535zm7.277 5.59v1.01h-4.18v-.857l1.953-2.07q.275-.316.437-.556.166-.242.24-.437a1.08 1.08 0 0 0-.012-.823.63.63 0 0 0-.245-.287.74.74 0 0 0-.395-.1.7.7 0 0 0-.428.13.8.8 0 0 0-.274.357q-.096.225-.096.511h-1.305a1.95 1.95 0 0 1 1.01-1.733q.478-.275 1.118-.275.657 0 1.102.208.444.208.673.595.23.386.229.93 0 .309-.1.595a2.5 2.5 0 0 1-.279.57 5 5 0 0 1-.44.577q-.258.292-.582.615l-.915 1.04z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"AJAXPaginationsIcona",x1:1.833,y1:0,x2:42.167,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ffbd29"}),React.createElement("stop",{offset:1,stopColor:"#ff2db6"}))))},label:(0,l.__)("AJAX Paginations","easy-accordion-free"),desc:(0,l.__)("Load content dynamically without refreshing pages, ensuring smoother browsing and improved performance.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:28,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#InfiniteScrollPaginationIcona)"}),React.createElement("path",{d:"M19.976 10.463a.7.7 0 0 1 .061-.987l1.37-1.21a1.2 1.2 0 0 1 1.587 0l1.37 1.21a.7.7 0 1 1-.928 1.048L22.2 9.434l-1.236 1.09a.7.7 0 0 1-.987-.061m4.047 23.074a.7.7 0 0 1-.061.987l-1.37 1.21a1.2 1.2 0 0 1-1.587 0l-1.37-1.21a.7.7 0 1 1 .928-1.048l1.237 1.09 1.236-1.09a.7.7 0 0 1 .987.061M26.6 18.5a4.6 4.6 0 1 0-9.2 0v7a4.6 4.6 0 1 0 9.2 0zm1.8 7a6.4 6.4 0 0 1-12.8 0v-7a6.4 6.4 0 0 1 12.8 0z",fill:"#fff"}),React.createElement("path",{d:"M15.6 19v-1h1.8v1a1.1 1.1 0 0 0 1.1 1.1h7a1.1 1.1 0 0 0 1.1-1.1v-1h1.8v1a2.9 2.9 0 0 1-2.9 2.9h-7a2.9 2.9 0 0 1-2.9-2.9",fill:"#fff"}),React.createElement("path",{d:"M21.2 18v-2a.8.8 0 1 1 1.6 0v2a.8.8 0 1 1-1.6 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"InfiniteScrollPaginationIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#3662b2"}),React.createElement("stop",{offset:1,stopColor:"#13d2c4"}))))},label:(0,l.__)("Infinite Scroll Pagination","easy-accordion-free"),desc:(0,l.__)("Automatically load additional content as users scroll, creating a seamless and uninterrupted browsing experience.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:29,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#FAQTitleCustomLinkingIcona)"}),React.createElement("path",{d:"M34.1 24.318V11.682a.28.28 0 0 0-.282-.282H10.182a.28.28 0 0 0-.282.282v12.636c0 .156.126.281.282.282H13v1.8h-2.818A2.08 2.08 0 0 1 8.1 24.318V11.682c0-1.15.932-2.082 2.082-2.082h23.636c1.15 0 2.082.932 2.082 2.082v12.636c0 1.15-.932 2.082-2.082 2.082H31v-1.8h2.818a.28.28 0 0 0 .282-.282",fill:"#fff"}),React.createElement("path",{d:"M30.072 12.879a1.18 1.18 0 0 1 1.49-.008l.09.081.765.76a.591.591 0 0 1-.833.839l-.762-.758-.754.764a.591.591 0 1 1-.842-.829l.757-.767zm-7.184-.107a.9.9 0 0 1 0 1.801H12.3a.9.9 0 0 1 0-1.8zm7.912 5.91a.28.28 0 0 0-.282-.282H13.482a.28.28 0 0 0-.282.282v13.636c0 .156.126.282.282.282h17.036a.28.28 0 0 0 .282-.282zm1.8 13.636c0 1.15-.933 2.082-2.082 2.082H13.482a2.08 2.08 0 0 1-2.082-2.082V18.682c0-1.15.932-2.082 2.082-2.082h17.036c1.15 0 2.082.932 2.082 2.082z",fill:"#fff"}),React.createElement("path",{d:"M21.051 21.51a3.45 3.45 0 0 1 4.879 4.878l-.62.62a.817.817 0 0 1-1.156-1.156l.62-.62a1.815 1.815 0 0 0-2.567-2.566l-.62.62a.817.817 0 0 1-1.155-1.156zm-2.481 2.482a.818.818 0 0 1 1.156 1.156l-.62.62a1.815 1.815 0 0 0 2.566 2.566l.62-.62a.817.817 0 0 1 1.156 1.156l-.62.62a3.45 3.45 0 0 1-4.878-4.879z",fill:"#fff"}),React.createElement("path",{d:"M22.913 23.371a.818.818 0 0 1 1.156 1.156l-3.102 3.101a.817.817 0 0 1-1.156-1.155z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"FAQTitleCustomLinkingIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#f761a1"}),React.createElement("stop",{offset:1,stopColor:"#8c1bab"}))))},label:(0,l.__)("FAQ Title Custom Linking","easy-accordion-free"),desc:(0,l.__)("Link accordion titles to external or internal pages, improving navigation and directing users to relevant resources.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:30,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#AJAXFormSubmissionIcona)"}),React.createElement("path",{d:"M28.425 14v-4a.1.1 0 0 0-.1-.1h-19a.1.1 0 0 0-.1.1v24a.1.1 0 0 0 .1.1h19a.1.1 0 0 0 .1-.1v-3.3a.9.9 0 0 1 1.8 0V34a1.9 1.9 0 0 1-1.9 1.9h-19a1.9 1.9 0 0 1-1.9-1.9V10a1.9 1.9 0 0 1 1.9-1.9h19a1.9 1.9 0 0 1 1.9 1.9v4a.9.9 0 0 1-1.8 0",fill:"#fff"}),React.createElement("path",{d:"M12.476 14.15h9.199v-1.2h-9.2zm10.5.35a.95.95 0 0 1-.95.95h-9.901a.95.95 0 0 1-.95-.95v-1.9a.95.95 0 0 1 .95-.95h9.9a.95.95 0 0 1 .95.95zm-10.5 4.65h9.199v-1.2h-9.2zm10.5.35a.95.95 0 0 1-.95.95h-9.901a.95.95 0 0 1-.95-.95v-1.9a.95.95 0 0 1 .95-.95h9.9a.95.95 0 0 1 .95.95zm-10.5 6.15h9.199v-2.7h-9.2zm10.5.35a.95.95 0 0 1-.95.95h-9.901a.95.95 0 0 1-.95-.95v-3.4a.95.95 0 0 1 .95-.95h9.9a.95.95 0 0 1 .95.95zm-10.5 5.15h12.699v-1.7h-12.7zm14 .35a.95.95 0 0 1-.95.95H12.124a.95.95 0 0 1-.95-.95v-2.4a.95.95 0 0 1 .95-.95h13.4a.95.95 0 0 1 .95.95z",fill:"#fff"}),React.createElement("path",{d:"M31.58 15.366c.832-1.007 2.298-1.1 3.236-.177l1.042 1.026c.895.881.957 2.35.16 3.313l-6.607 7.999a3.7 3.7 0 0 1-1.382 1.042l-3.77 1.612a.85.85 0 0 1-1.158-.99l1.082-4.259a4 4 0 0 1 .79-1.568zm-5.385 9.2a2.3 2.3 0 0 0-.286.535l-.079.25-.658 2.59 2.188-.935.203-.102q.299-.174.538-.46zm1.08-1.321 1.913 1.883 3.334-4.038-1.926-1.866zm6.347-6.845c-.214-.21-.523-.203-.731.048l-1.208 1.462 1.925 1.866 1.1-1.331c.243-.294.214-.766-.043-1.019z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"AJAXFormSubmissionIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ab4cfe"}),React.createElement("stop",{offset:1,stopColor:"#7317fe"}))))},label:(0,l.__)("AJAX Form Submission","easy-accordion-free"),desc:(0,l.__)("Submit forms instantly without page reload, improving user experience and increasing completion rates.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0},{id:31,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#EmailNotificationAndApprovalIcona)"}),React.createElement("path",{d:"M35.161 29.797a4.508 4.508 0 1 0-9.016 0 4.508 4.508 0 0 0 9.016 0m1.8 0a6.308 6.308 0 1 1-12.616 0 6.308 6.308 0 0 1 12.616 0",fill:"#fff"}),React.createElement("path",{d:"M32.3 28.104a.8.8 0 0 1 1.033 1.223l-2.885 2.433a.8.8 0 0 1-1.165-.143l-1.443-2.001a.8.8 0 0 1 1.3-.936l.936 1.3zM21.117 16.267v-3.785a1.82 1.82 0 1 0-3.642 0v3.785a.8.8 0 1 1-1.6 0v-3.785a3.42 3.42 0 0 1 6.843 0v3.785a.8.8 0 0 1-1.601 0",fill:"#fff"}),React.createElement("path",{d:"M23.082 15.466a.8.8 0 1 1 0 1.6h-7.571a.8.8 0 1 1 0-1.6zM18.496 9.86V8.695a.8.8 0 1 1 1.6 0V9.86a.8.8 0 0 1-1.6 0",fill:"#fff"}),React.createElement("path",{d:"M17.166 17.483v-1.217a.8.8 0 1 1 1.6 0v1.217a.526.526 0 0 0 1.05 0v-1.217a.8.8 0 0 1 1.6 0v1.217a2.125 2.125 0 0 1-4.25 0",fill:"#fff"}),React.createElement("path",{d:"M7.04 28.407V17.346c0-.692.313-1.345.849-1.78l4.652-4.036a.9.9 0 0 1 1.18 1.36l-4.654 4.037-.038.031a.49.49 0 0 0-.19.388v11.061c0 .271.22.49.491.49h15.915a.9.9 0 1 1 0 1.801H9.33a2.29 2.29 0 0 1-2.29-2.29m22.713-4.018v-7.043a.49.49 0 0 0-.19-.388l-.039-.031-4.652-4.037a.9.9 0 1 1 1.179-1.36l4.651 4.035a2.29 2.29 0 0 1 .85 1.78v7.044a.9.9 0 1 1-1.8 0",fill:"#fff"}),React.createElement("path",{d:"M18.83 20.989a.9.9 0 0 1 .933 0l7.03 4.255a.9.9 0 0 1-.933 1.54l-6.564-3.974-10.43 6.314a.9.9 0 1 1-.932-1.54z",fill:"#fff"}),React.createElement("path",{d:"M7.357 16.204a.9.9 0 0 1 1.262-.159l8.543 6.625a.9.9 0 0 1-1.103 1.423l-8.543-6.626a.9.9 0 0 1-.16-1.263m22.617-.159a.9.9 0 0 1 1.104 1.422l-8.543 6.626a.9.9 0 0 1-1.104-1.423z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"EmailNotificationAndApprovalIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#79f1a4"}),React.createElement("stop",{offset:1,stopColor:"#0e5cad"}))))},label:(0,l.__)("Email Notification & Approval","easy-accordion-free"),desc:(0,l.__)("Send instant notifications and manage approval workflows to control and moderate submitted content effectively.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:32,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("rect",{width:44,height:44,rx:5.5,fill:"url(#AdvancedPostQueryBuilderIcona)"}),React.createElement("path",{d:"M34.1 11.5a1.1 1.1 0 0 0-1.1-1.1H11a1.1 1.1 0 0 0-1.1 1.1v21a1.1 1.1 0 0 0 1.1 1.1h22a1.1 1.1 0 0 0 1.1-1.1zm1.8 21a2.9 2.9 0 0 1-2.9 2.9H11a2.9 2.9 0 0 1-2.9-2.9v-21A2.9 2.9 0 0 1 11 8.6h22a2.9 2.9 0 0 1 2.9 2.9z",fill:"#fff"}),React.createElement("path",{d:"M28.46 23.635a2.881 2.881 0 1 1-5.762 0 2.881 2.881 0 0 1 5.762 0m1.6 0a4.482 4.482 0 1 0-8.963 0 4.482 4.482 0 0 0 8.964 0",fill:"#fff"}),React.createElement("path",{d:"M30.516 30.342a.8.8 0 1 0 1.13-1.13l-3.084-3.085a.8.8 0 1 0-1.13 1.131zM22.16 26.36v1.98a.343.343 0 0 1-.457.322l-1.466-.523a.34.34 0 0 1-.227-.322v-4.378c0-.613-.29-1.19-.782-1.557l-5.37-4a.34.34 0 0 1-.138-.274v-2.566c0-.189.154-.342.343-.342h13.844c.19 0 .342.153.342.342v2.56a.34.34 0 0 1-.14.276l-2.076 1.521a.8.8 0 0 0 .947 1.29l2.075-1.52c.499-.366.794-.948.794-1.567v-2.56a1.94 1.94 0 0 0-1.942-1.942H14.063c-1.073 0-1.943.87-1.943 1.942v2.566c0 .613.29 1.19.782 1.557l5.37 4a.34.34 0 0 1 .138.274v4.378c0 .82.516 1.553 1.29 1.829l1.465.523a1.942 1.942 0 0 0 2.595-1.83V26.36a.8.8 0 1 0-1.6 0",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"AdvancedPostQueryBuilderIcona",x1:0,y1:0,x2:44,y2:44,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#79f1a4"}),React.createElement("stop",{offset:1,stopColor:"#0e5cad"}))))},label:(0,l.__)("Advanced Post Query Builder","easy-accordion-free"),desc:(0,l.__)("Fetch and display dynamic content using flexible query controls for better content management and automation.","easy-accordion-free"),videoLink:"#",docLink:"#",isPro:!0},{id:33,Icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:44,height:44,viewBox:"0 0 44 44",fill:"none"},React.createElement("path",{d:"M0 5.5A5.5 5.5 0 0 1 5.5 0h33A5.5 5.5 0 0 1 44 5.5v33a5.5 5.5 0 0 1-5.5 5.5h-33A5.5 5.5 0 0 1 0 38.5z",fill:"url(#ReadyPatternsLibraryIcona)"}),React.createElement("path",{d:"M8.494 20.778v-3.735c0-1.092-.001-1.976.062-2.69.064-.726.2-1.37.53-1.96a4.67 4.67 0 0 1 1.8-1.801c.591-.33 1.235-.466 1.962-.53.713-.063 1.597-.062 2.69-.062 1.343 0 2.274-.015 3.107.297 1.858.697 2.6 2.415 3.192 3.597l.497.995h5.188c1.272 0 2.456-.003 3.436.077.943.077 1.898.24 2.592.703q.765.51 1.275 1.276c.824 1.232.67 2.47.67 2.855a1 1 0 1 1-2 0c0-.614.08-1.127-.332-1.744a2.6 2.6 0 0 0-.724-.725c-.231-.154-.725-.297-1.643-.372-.881-.071-1.972-.07-3.274-.07H16.827a1 1 0 0 1 0-2H20.1l-.051-.1c-.692-1.384-1.121-2.25-2.106-2.619-.412-.155-.904-.17-2.405-.17-1.128 0-1.908.002-2.514.055-.591.052-.92.148-1.162.283a2.67 2.67 0 0 0-1.029 1.03c-.135.242-.231.57-.283 1.161-.053.605-.055 1.386-.055 2.514v3.735c0 2.908.002 4.99.215 6.572.209 1.553.604 2.475 1.282 3.153.43.43.736.691 1.057.876.309.178.681.314 1.265.411 1.237.207 3.18.21 6.98.21a1 1 0 1 1 0 2c-3.698 0-5.864.004-7.31-.237-.758-.127-1.37-.326-1.934-.651-.552-.319-1.007-.73-1.472-1.195-1.112-1.112-1.612-2.526-1.85-4.3-.235-1.747-.233-3.987-.233-6.84",fill:"#fff"}),React.createElement("path",{d:"M33.694 24a.2.2 0 0 0-.2-.2h-8a.2.2 0 0 0-.2.2v8c0 .11.09.2.2.2h8a.2.2 0 0 0 .2-.2zm1.6 8a1.8 1.8 0 0 1-1.8 1.8h-8a1.8 1.8 0 0 1-1.8-1.8v-8a1.8 1.8 0 0 1 1.8-1.8h8a1.8 1.8 0 0 1 1.8 1.8z",fill:"#fff"}),React.createElement("path",{d:"M31.494 25.6a.9.9 0 0 1 0 1.8h-4a.9.9 0 0 1 0-1.8zm-1 3a.9.9 0 0 1 0 1.8h-3a.9.9 0 0 1 0-1.8z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"ReadyPatternsLibraryIcona",x1:0,y1:22,x2:44,y2:22,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#ab4cfe"}),React.createElement("stop",{offset:1,stopColor:"#7317fe"}))))},label:(0,l.__)("200+ Ready Patterns Library","easy-accordion-free"),desc:(0,l.__)("Access a large collection of pre-designed patterns to build layouts faster with consistent design quality.","easy-accordion-free"),demoLink:"#",docLink:"#",isPro:!0}];const Lu=function(){return React.createElement("div",{className:"sp-eap-modules-page"},React.createElement("div",{className:"eap-dashboard-page-header sp-d-flex sp-flex-col sp-gap-10px"},React.createElement("span",{className:"eap-dashboard-page-header__label"},(0,l.__)("Manage Modules","easy-accordion-free")),React.createElement("span",{className:"eap-dashboard-page-header__desc"},(0,l.__)("Enable only the modules you need to keep your site fast and optimized.","easy-accordion-free"))),React.createElement(Iu,{items:$u,optionKey:"modules"}),React.createElement("div",{className:"eap-dashboard-page-header sp-d-flex sp-align-center sp-justify-between eaf-pro-modules"},React.createElement("span",{className:"sp-d-flex sp-flex-col sp-gap-10px"},React.createElement("span",{className:"eap-dashboard-page-header__label"},(0,l.__)("Unlock Powerful Features with Pro!","easy-accordion-free")),React.createElement("span",{className:"eap-dashboard-page-header__desc"},(0,l.__)("Upgrade now to unlock advanced features and streamline your workflow.","easy-accordion-free"))),React.createElement("a",{href:"https://easyaccordion.io/pricing/?ref=1",target:"_blank",rel:"noreferrer",className:"eaf-pro-modules-indicator-button sp-d-flex sp-align-center sp-gap-6px"},React.createElement(xu,null),(0,l.__)("Upgrade to Pro","easy-accordion-free"))),React.createElement(Iu,{items:Du,optionKey:"modules"}))};function Nu(e){return Nu="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},Nu(e)}function zu(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 ju(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zu(Object(n),!0).forEach(function(t){Bu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bu(e,t,n){return(t=function(e){var t=function(e){if("object"!=Nu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Nu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xu(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)?Xu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xu(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}var Vu=["sp-easy-accordion-pro/vertical-accordion","sp-easy-accordion-pro/horizontal-accordion","sp-easy-accordion-pro/image-accordion","sp-easy-accordion-pro/accordion-slider","sp-easy-accordion-pro/sidebar-tab-accordion","sp-easy-accordion-pro/menu-accordion"],Fu=React.createElement("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M6.47461 1.24707C6.85097 3.76847 8.83144 5.7481 11.3525 6.125L12.5225 6.2998L11.3525 6.47461C8.83157 6.85179 6.85112 8.83112 6.47461 11.3525L6.2998 12.5225L6.125 11.3525C5.74845 8.83092 3.76819 6.85166 1.24707 6.47461L0.0761719 6.2998L1.24707 6.125C3.76832 5.74824 5.7486 3.76856 6.125 1.24707L6.2998 0.0761719L6.47461 1.24707Z",fill:"#FF734C",stroke:"#FF734C",strokeWidth:"0.0224423"})),qu=[{url:"https://easyaccordion.io/generate-high-converting-faqs-withpowerful-ai-in-seconds/",icon:Fu,label:(0,l.__)("Unlimited FAQs Generation with AI","easy-accordion-free"),hot:!0},{url:"https://easyaccordion.io/patterns/",icon:Fu,label:(0,l.__)("200+ Ready Patterns Library","easy-accordion-free")},{url:"https://easyaccordion.io/blocks/",icon:Fu,label:(0,l.__)("15+ Powerful Gutenberg Blocks","easy-accordion-free")},{url:"https://easyaccordion.io/patterns/#accordion-slider",icon:Fu,label:(0,l.__)("Interactive Accordion Slider","easy-accordion-free")},{url:"https://easyaccordion.io/core-accordion-content-features/#FAQ-Title-Prefix-&-Suffix",icon:Fu,label:(0,l.__)("FAQ Title Badges, Prefix & Suffix","easy-accordion-free"),hot:!0},{url:"https://easyaccordion.io/core-accordion-content-features/#Accordion-Featured-Icon",icon:Fu,label:(0,l.__)("Accordion Subtitles & Featured Icon","easy-accordion-free")},{url:"https://easyaccordion.io/faq-title-custom-linking/",icon:Fu,label:(0,l.__)("FAQ Title Custom Linking","easy-accordion-free")},{url:"https://easyaccordion.io/woocommerce-product-faqs-tab/",icon:Fu,label:(0,l.__)("WooCommerce Product FAQ Tab","easy-accordion-free")},{url:"https://easyaccordion.io/add-smart-faq-search-filters-to-help-usersfind-answers-faster/",icon:Fu,label:(0,l.__)("Frontend Live Taxonomy Filter","easy-accordion-free")},{url:"https://easyaccordion.io/faq-analytics/",icon:Fu,label:(0,l.__)("FAQ Analytics (Impressions & Clicks)","easy-accordion-free")},{url:"https://easyaccordion.io/user-faq-forms/",icon:Fu,label:(0,l.__)("User FAQ Submission Forms","easy-accordion-free")},{url:"https://easyaccordion.io/accordion-animation/",icon:Fu,label:(0,l.__)("Motion Effects & Animations","easy-accordion-free")}];const Wu=function(e){var t,n,r,i,o=e.setPageAndHash,c=(0,s.useSelect)(function(e){return e(Vc).getBlockVisibility()}),u=((0,s.useSelect)(function(e){return e(Vc).getDashboardSettings()}),(0,s.useDispatch)(Vc).saveSettings),d=Zu((0,a.useState)(!1),2),p=d[0],h=d[1],f=Zu((0,a.useState)(""),2),m=f[0],g=f[1],O=(0,a.useMemo)(function(){var e=(new Date).getHours();return e<12?(0,l.__)("Good morning","easy-accordion-free"):e<17?(0,l.__)("Good afternoon","easy-accordion-free"):e<21?(0,l.__)("Good evening","easy-accordion-free"):(0,l.__)("Good night","easy-accordion-free")},[]);(0,a.useEffect)(function(){var e=function(){var e,t;if(null!==(e=sp_eab_admin_dashboard_localize)&&void 0!==e&&e.current_user)return(t=sp_eab_admin_dashboard_localize.current_user).charAt(0).toUpperCase()+t.slice(1);try{var n,r=null===(n=wp.data)||void 0===n?void 0:n.select("core");if(r){var i,o=(null===(i=r.getCurrentUser)||void 0===i?void 0:i.call(r))||r.currentUser;return(null==o?void 0:o.display_name)||(null==o?void 0:o.name)||""}}catch(e){}return""}();e&&g(", ".concat(e))},[]);var v=function(e){var t=null==c?void 0:c.map(function(t){return e===t.name?(n=t.show?(0,l.__)("Block disabled successfully","easy-accordion-free"):(0,l.__)("Block enabled successfully","easy-accordion-free"),z.success(n,{style:{marginTop:"20px",fontSize:"14px"}}),ju(ju({},t),{},{show:!t.show})):t;var n});u({blockVisibility:t})};return React.createElement("div",{className:"speap-settings-getting-start-page"},React.createElement("div",{className:"speap-settings-getting-start-page-content"},React.createElement("div",{className:"speap-qs-left"},React.createElement("div",{className:"speap-qs-about-section"},React.createElement("div",{className:"speap-qs-about-content"},React.createElement("div",{className:"speap-qs-about-text"},React.createElement("p",{className:"speap-qs-greeting"},O+m),React.createElement("h3",{className:"speap-qs-welcome-title"},(0,l.__)("Welcome to Easy Accordion!","easy-accordion-free")),React.createElement("p",{className:"speap-qs-welcome-desc"},(0,l.__)("Thank you for installing Easy Accordion! Start creating your FAQs directly in the visual block editor. Enjoy!","easy-accordion-free")),React.createElement("a",{href:"".concat(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.homeUrl,"wp-admin/post-new.php?post_type=page&eabblock_inserter=true&eab_auto_insert=sp-easy-accordion-pro/vertical-accordion"),className:"speap-qs-create-btn"},React.createElement("i",{className:"dashicons dashicons-plus-alt2"}),(0,l.__)("Add Your First FAQs / Accordion","easy-accordion-free"))),React.createElement("div",{className:"speap-qs-video-wrapper"},React.createElement("img",{src:"".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.pluginUrl,"/admin/img/video-overlay.jpg"),alt:(0,l.__)("Video Tutorial","easy-accordion-free"),className:"speap-qs-video-placeholder"}),React.createElement("button",{className:"speap-qs-play-btn",onClick:function(){return h(!0)}},React.createElement(wc,{color:"#F26C0D"}))))),React.createElement("div",{className:"speap-qs-blocks-section sp-eab-visibility-page"},React.createElement("div",{className:"speap-qs-section-header"},React.createElement("h3",{className:"speap-qs-section-title"},(0,l.__)("Accordion Blocks","easy-accordion-free")),React.createElement("button",{className:"speap-qs-view-more-btn",onClick:function(){o("blocks"),setTimeout(function(){return window.scrollTo(0,0)},100)}},(0,l.__)("View All Blocks","easy-accordion-free"),React.createElement(xc,null))),React.createElement("div",{className:"speap-qs-blocks-grid sp-eab-all-block-list sp-d-grid sp-grid-cols-2"},Vu.map(function(e){var t=null==c?void 0:c.find(function(t){return t.name===e}),n={name:e,show:!t||t.show};return React.createElement(Xc,{key:e,attributes:n,onlyLiveDemo:!0,blockShowHideHandler:v,type:"quick-start"})})),React.createElement("div",{className:"speap-qs-blocks-gradient"})),React.createElement("div",{className:"speap-qs-info-cards-section",style:{display:"flex",gap:"24px"}},React.createElement("div",{className:"speap-qs-info-card"},React.createElement("div",{className:"speap-qs-info-header"},React.createElement("div",{className:"speap-qs-info-icon"},React.createElement(dc,null)),React.createElement("h4",{className:"speap-qs-info-title"},(0,l.__)("Documentation","easy-accordion-free"))),React.createElement("div",{className:"speap-qs-info-content-wrapper"},React.createElement("p",{className:"speap-qs-info-desc"},(0,l.__)("Explore Easy Accordion plugin capabilities in our enriched documentation.","easy-accordion-free")),React.createElement("div",{className:"speap-qs-info-link-wrapper"},React.createElement("a",{href:"https://easyaccordion.io/docs/",target:"_blank",rel:"noreferrer",className:"speap-qs-info-link"},(0,l.__)("Browse Now","easy-accordion-free"),React.createElement(xc,null))))),React.createElement("div",{className:"speap-qs-info-card"},React.createElement("div",{className:"speap-qs-info-header"},React.createElement("div",{className:"speap-qs-info-icon"},React.createElement(pc,null)),React.createElement("h4",{className:"speap-qs-info-title"},(0,l.__)("Technical Support","easy-accordion-free"))),React.createElement("div",{className:"speap-qs-info-content-wrapper"},React.createElement("p",{className:"speap-qs-info-desc"},(0,l.__)("For personalized assistance, reach out to our skilled support team for prompt help.","easy-accordion-free")),React.createElement("div",{className:"speap-qs-info-link-wrapper"},React.createElement("a",{href:"https://easyaccordion.io/support/",target:"_blank",rel:"noreferrer",className:"speap-qs-info-link"},(0,l.__)("Ask Now","easy-accordion-free"),React.createElement(xc,null))))))),React.createElement("div",{className:"speap-qs-sidebar"},React.createElement("div",{className:"speap-qs-patterns-card"},React.createElement("div",{className:"speap-qs-patterns-image"},React.createElement("div",{className:"speap-qs-patterns-bg"}),React.createElement("img",{src:"".concat(null===(r=sp_eab_admin_dashboard_localize)||void 0===r?void 0:r.pluginUrl,"/admin/img/patterns-card.png"),alt:(0,l.__)("Accordion Patterns","easy-accordion-free"),className:"speap-qs-patterns-cards"}),React.createElement("span",{className:"speap-qs-hot-tag"},(0,l.__)("Hot","easy-accordion-free")),React.createElement("div",{className:"speap-qs-patterns-gradient"},React.createElement("span",{className:"speap-qs-patterns-text"},"200+ Ready Patterns Library"))),React.createElement("div",{className:"speap-qs-patterns-content"},React.createElement("h4",{className:"speap-qs-patterns-title"},(0,l.__)("Ready Accordion Patterns Made Easy","easy-accordion-free")),React.createElement("p",{className:"speap-qs-patterns-desc"},(0,l.__)("Choose from beautifully crafted accordion layouts and launch stunning FAQs in seconds.","easy-accordion-free")),React.createElement("div",{className:"speap-qs-patterns-btn-wrapper"},React.createElement("a",{href:"".concat(null===(i=sp_eab_admin_dashboard_localize)||void 0===i?void 0:i.homeUrl,"wp-admin/post-new.php?post_type=page&eab_pattern_library"),className:"speap-qs-patterns-btn"},(0,l.__)("Start with Ready Patterns","easy-accordion-free"))))),React.createElement("div",{className:"speap-qs-pro-card"},React.createElement("div",{className:"speap-qs-pro-content"},React.createElement("div",{className:"speap-qs-pro-header"},React.createElement("h4",{className:"speap-qs-pro-title"},(0,l.__)("Go Pro & Unlock More! 🚀","easy-accordion-free")),React.createElement("p",{className:"speap-qs-pro-desc"},(0,l.__)("Unlock the full potential of Easy Accordion to create and manage FAQs / accordions.","easy-accordion-free"))),React.createElement("div",{className:"speap-qs-pro-features"},qu.map(function(e,t){return React.createElement("a",{key:t,href:e.url,target:"_blank",rel:"noreferrer",className:"speap-qs-pro-feature"},React.createElement("span",{className:"speap-qs-pro-icon"},e.icon),React.createElement("span",null,e.label,e.hot&&" 🔥"),React.createElement(xc,{className:"speap-qs-pro-feature-arrow"}))})),React.createElement("div",{className:"speap-qs-pro-buttons"},React.createElement("a",{href:"https://easyaccordion.io/pricing/?ref=1",target:"_blank",rel:"noreferrer",className:"speap-qs-pro-upgrade-btn"},React.createElement(mc,null),(0,l.__)("Upgrade to Pro","easy-accordion-free")),React.createElement("button",{onClick:function(){o("lite_vs_pro"),setTimeout(function(){return window.scrollTo(0,0)},100)},className:"speap-qs-pro-compare-btn"},(0,l.__)("Lite vs Pro","easy-accordion-free"))))))),p&&React.createElement("div",{className:"speap-qs-video-modal",onClick:function(){return h(!1)}},React.createElement("div",{className:"speap-qs-video-modal-content",onClick:function(e){return e.stopPropagation()}},React.createElement("button",{className:"speap-qs-video-modal-close",onClick:function(){return h(!1)}},"×"),React.createElement("div",{className:"speap-qs-video-modal-wrapper"},React.createElement("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/u3lRDX0zG9Y?si=uG_yZ6xfFjWkRqqW&autoplay=1",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})))))};function Gu(e){return Gu="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},Gu(e)}function Hu(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 Uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hu(Object(n),!0).forEach(function(t){Yu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yu(e,t,n){return(t=function(e){var t=function(e){if("object"!=Gu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Gu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ku=[{name:"sp-easy-accordion-pro/post-accordion-block-two",show:!1},{name:"sp-easy-accordion-pro/product-accordion-two",show:!1},{name:"sp-easy-accordion-pro/menu-accordion",show:!1}];const Ju=function(e){var t=e.showHeading,n=void 0===t||t,r=(0,s.useSelect)(function(e){return e(Vc).getBlockVisibility()}),i=(0,s.useDispatch)(Vc).saveSettings,o=function(e){var t=null==r?void 0:r.map(function(t){return e===t.name?(n=t.show?(0,l.__)("Block disabled successfully","easy-accordion-free"):(0,l.__)("Block enabled successfully","easy-accordion-free"),z.success(n,{style:{marginTop:"20px",fontSize:"14px"}}),Uu(Uu({},t),{},{show:!t.show})):t;var n});i({blockVisibility:t})};return React.createElement("div",{className:"sp-eab-visibility-page"},n&&React.createElement("div",{className:"eap-dashboard-page-header sp-d-flex sp-flex-col sp-gap-10px"},React.createElement("span",{className:"eap-dashboard-page-header__label"},(0,l.__)("Control Blocks","easy-accordion-free")),React.createElement("span",{className:"eap-dashboard-page-header__desc"},(0,l.__)("Turn blocks on or off as needed to improve performance.","easy-accordion-free"))),React.createElement("div",{className:"sp-eab-all-block-list sp-d-grid sp-grid-cols-3"},null==r?void 0:r.map(function(e,t){return React.createElement(Xc,{key:t,attributes:e,blockShowHideHandler:o})})),React.createElement("div",{className:"eap-dashboard-page-header sp-d-flex sp-flex-col sp-gap-10px",style:{marginTop:"48px"}},React.createElement("span",{className:"eap-dashboard-page-header__label"},(0,l.__)("Upcoming Blocks","easy-accordion-free"))),React.createElement("div",{className:"sp-eab-all-block-list sp-d-grid sp-grid-cols-3"},null==Ku?void 0:Ku.map(function(e,t){return React.createElement(Xc,{key:t,attributes:e,blockShowHideHandler:o,isUpcomingBlock:!0})})))};function ed(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return td(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(td(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,td(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,td(d,"constructor",c),td(c,"constructor",l),l.displayName="GeneratorFunction",td(c,i,"GeneratorFunction"),td(d),td(d,i,"Generator"),td(d,r,function(){return this}),td(d,"toString",function(){return"[object Generator]"}),(ed=function(){return{w:o,m:p}})()}function td(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}td=function(e,t,n,r){function o(t,n){td(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},td(e,t,n,r)}function nd(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}var rd=function(e){return le.success(e,{style:{marginTop:"28px",fontSize:"15px",padding:"10px 18px"}})},id=function(e){return le.error(e,{style:{marginTop:"28px",fontSize:"15px",padding:"10px 18px"}})},od=function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){nd(o,r,i,a,s,"next",e)}function s(e){nd(o,r,i,a,s,"throw",e)}a(void 0)})}}(ed().m(function e(t){var n,r,i,o;return ed().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!navigator.clipboard||!navigator.clipboard.writeText){e.n=4;break}return e.p=1,e.n=2,navigator.clipboard.writeText(t);case 2:return e.a(2,!0);case 3:e.p=3,i=e.v,console.warn("Clipboard API failed, using fallback.",i);case 4:return e.p=4,(n=document.createElement("textarea")).value=t,n.style.position="fixed",n.style.opacity="0",n.style.pointerEvents="none",document.body.appendChild(n),n.select(),r=document.execCommand("copy"),document.body.removeChild(n),e.a(2,r);case 5:return e.p=5,o=e.v,console.error("Fallback copy failed:",o),e.a(2,!1)}},e,null,[[4,5],[1,3]])}));return function(_x){return e.apply(this,arguments)}}(),ad=function(e){return e?"1":"0"},sd=function(e){return"1"===e||"1"===e||1===e||!0===e},ld=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none"},React.createElement("path",{d:"M10.1421 3.98828L11.0765 3.05377C11.5927 2.53766 12.4295 2.53766 12.9456 3.05377C13.4617 3.56989 13.4617 4.40667 12.9456 4.92279L12.0111 5.85729M10.1421 3.98828L4.65284 9.47755C3.95597 10.1744 3.60752 10.5228 3.37026 10.9474C3.133 11.372 2.89428 12.3746 2.66602 13.3334C3.62474 13.1051 4.62734 12.8664 5.05194 12.6291C5.47654 12.3918 5.82498 12.0434 6.52185 11.3466L12.0111 5.85729M10.1421 3.98828L12.0111 5.85729",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M7.33398 13.3333H11.334",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round"}))},cd=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none"},React.createElement("g",{clipPath:"url(#clip0_20469_150666)"},React.createElement("path",{d:"M6 10C6 8.1144 6 7.1716 6.58579 6.58579C7.1716 6 8.1144 6 10 6H10.6667C12.5523 6 13.4951 6 14.0809 6.58579C14.6667 7.1716 14.6667 8.1144 14.6667 10V10.6667C14.6667 12.5523 14.6667 13.4951 14.0809 14.0809C13.4951 14.6667 12.5523 14.6667 10.6667 14.6667H10C8.1144 14.6667 7.1716 14.6667 6.58579 14.0809C6 13.4951 6 12.5523 6 10.6667V10Z",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M11.3339 5.99998C11.3323 4.02859 11.3025 3.00745 10.7286 2.30827C10.6178 2.17324 10.494 2.04943 10.359 1.93862C9.62145 1.33331 8.52565 1.33331 6.33398 1.33331C4.14233 1.33331 3.0465 1.33331 2.30894 1.93862C2.17391 2.04943 2.0501 2.17324 1.93929 2.30827C1.33398 3.04583 1.33398 4.14166 1.33398 6.33331C1.33398 8.52498 1.33398 9.62078 1.93929 10.3584C2.0501 10.4934 2.17391 10.6172 2.30894 10.728C3.00812 11.3018 4.02926 11.3316 6.00065 11.3332",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_20469_150666"},React.createElement("rect",{width:16,height:16,fill:"white"}))))},ud=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none"},React.createElement("path",{d:"M13 3.66669L12.5869 10.3501C12.4813 12.0576 12.4285 12.9114 12.0005 13.5253C11.7889 13.8288 11.5165 14.0849 11.2005 14.2774C10.5614 14.6667 9.706 14.6667 7.99513 14.6667C6.28208 14.6667 5.42553 14.6667 4.78603 14.2766C4.46987 14.0838 4.19733 13.8272 3.98579 13.5232C3.55792 12.9084 3.5063 12.0534 3.40307 10.3435L3 3.66669",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round"}),React.createElement("path",{d:"M2 3.66665H14M10.7038 3.66665L10.2487 2.7278C9.9464 2.10415 9.7952 1.79233 9.53447 1.59785C9.47667 1.55471 9.4154 1.51634 9.35133 1.48311C9.0626 1.33331 8.71607 1.33331 8.023 1.33331C7.31253 1.33331 6.95733 1.33331 6.66379 1.48939C6.59873 1.52399 6.53665 1.56391 6.47819 1.60876C6.21443 1.81111 6.06709 2.13435 5.77241 2.78082L5.36861 3.66665",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round"}),React.createElement("path",{d:"M6.33398 11V7",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round"}),React.createElement("path",{d:"M9.66602 11V7",stroke:"#757575",strokeWidth:1.25,strokeLinecap:"round"}))},dd=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:13,viewBox:"0 0 5 9",fill:"none"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.15403 0.865234L4.74524 4.81555L1.15403 8.76588L0.423828 8.10206L3.41156 4.81555L0.423829 1.52906L1.15403 0.865234Z",fill:"#757575"}))},pd=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:13,viewBox:"0 0 5 9",fill:"none"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.26589 0.865234L0.674678 4.81555L4.26589 8.76588L4.99609 8.10206L2.00836 4.81555L4.99609 1.52906L4.26589 0.865234Z",fill:"#757575"}))},hd=function(){return React.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M5.544 9.18a1.457 1.457 0 0 0 2.062 0l2.856-2.856a.53.53 0 1 0-.75-.75L6.856 8.428a.4.4 0 0 1-.561 0L5.289 7.423a.53.53 0 0 0-.75.75z",fill:"#317d46"}),React.createElement("path",{d:"M7.5 14c3.584 0 6.5-2.916 6.5-6.5S11.084 1 7.5 1A6.507 6.507 0 0 0 1 7.5C1 11.084 3.916 14 7.5 14m0-11.939A5.445 5.445 0 0 1 12.939 7.5 5.445 5.445 0 0 1 7.5 12.939 5.445 5.445 0 0 1 2.061 7.5 5.445 5.445 0 0 1 7.5 2.061",fill:"#317d46"}))};function fd(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}var md="xs3AlJKQHL4",gd=function(){var e,t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fd(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)?fd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)(!1),2),n=t[0],r=t[1],i="".concat(null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.homeUrl,"wp-admin/post-new.php?post_type=sp_eap_template&eabblock_inserter");return React.createElement("div",{className:"speap-saved-template-promo"},React.createElement("div",{className:"speap-saved-template-promo__text"},React.createElement("div",{className:"speap-saved-template-promo__title-wrap"},React.createElement("h2",{className:"speap-saved-template-promo__title"},(0,l.__)("Design visually.","easy-accordion-free")," ",React.createElement("span",null,(0,l.__)("Place it ","easy-accordion-free")),React.createElement("span",{className:"speap-saved-template-promo__title-accent"},(0,l.__)("anywhere.","easy-accordion-free"))),React.createElement("p",{className:"speap-saved-template-promo__desc"},"Saved Templates let you create accordion / FAQ layouts with Gutenberg blocks and use them as"," ",React.createElement("b",null,"shortcodes")," — perfect for page builders like ",React.createElement("b",null,"Elementor, Divi, WPBakery"),", and more."),React.createElement("p",{className:"speap-saved-template-promo__desc"},"Easy Accordion blocks work directly on any page or post in Gutenberg.")),React.createElement("a",{href:i,rel:"noreferrer",className:"speap-saved-template-promo__cta"},React.createElement("i",{className:"dashicons dashicons-plus-alt2"}),(0,l.__)("Add New Template","easy-accordion-free"))),React.createElement("div",{className:"speap-saved-template-promo__video"},n?React.createElement("iframe",{className:"speap-saved-template-promo__video-frame",src:"https://www.youtube.com/embed/".concat(md,"?autoplay=1"),title:(0,l.__)("Easy Accordion overview video","easy-accordion-free"),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):React.createElement("button",{type:"button",className:"speap-saved-template-promo__video-thumb",style:{backgroundImage:"url(https://img.youtube.com/vi/".concat(md,"/maxresdefault.jpg)")},onClick:function(){return r(!0)},"aria-label":(0,l.__)("Play overview video","easy-accordion-free")},React.createElement("span",{className:"speap-saved-template-promo__video-overlay"}),React.createElement("span",{className:"speap-saved-template-promo__video-play"},React.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},React.createElement("path",{d:"M19 11L4 19.6603L4 2.33975L19 11Z",fill:"#F26C0D"}))))))};function Od(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return vd(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(vd(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,vd(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,vd(d,"constructor",c),vd(c,"constructor",l),l.displayName="GeneratorFunction",vd(c,i,"GeneratorFunction"),vd(d),vd(d,i,"Generator"),vd(d,r,function(){return this}),vd(d,"toString",function(){return"[object Generator]"}),(Od=function(){return{w:o,m:p}})()}function vd(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}vd=function(e,t,n,r){function o(t,n){vd(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},vd(e,t,n,r)}function bd(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function yd(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){bd(o,r,i,a,s,"next",e)}function s(e){bd(o,r,i,a,s,"throw",e)}a(void 0)})}}function wd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||xd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xd(e,t){if(e){if("string"==typeof e)return Sd(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)?Sd(e,t):void 0}}function Sd(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}const Ed=function(){var e,t=wd((0,a.useState)(""),2),n=t[0],r=t[1],i=wd((0,a.useState)(""),2),o=i[0],c=i[1],u=wd((0,a.useState)(1),2),d=u[0],p=u[1],h=wd((0,a.useState)(!1),2),f=h[0],m=h[1],g=wd((0,a.useState)([]),2),O=g[0],v=g[1],b=wd((0,a.useState)(""),2),y=b[0],w=b[1],x=wd((0,a.useState)(!1),2),S=x[0],E=x[1],k=(0,a.useRef)(null),R=["checkBox","title","shortcode","date","action"],C=(0,s.useSelect)(function(e){var t;return(null===(t=e("core"))||void 0===t||null===(t=t.getEntityRecords("postType","sp_eap_template",{status:"any",per_page:-1,search:o,_fields:["id"]}))||void 0===t?void 0:t.length)||0},[o]),P=(0,s.useSelect)(function(e){var t;return(null===(t=e("core"))||void 0===t?void 0:t.getEntityRecords("postType","sp_eap_template",{status:"any",per_page:-1,search:o,_fields:["id","modified","title","status"]}))||[]},[o]).sort(function(e,t){return new Date(t.modified)-new Date(e.modified)}),A=P.slice(o?0:10*(d-1),o?10:10*d),Q=(0,s.useDispatch)("core"),T=Q.deleteEntityRecord,M=Q.editEntityRecord,_=Q.saveEntityRecord,I=Q.saveEditedEntityRecord,$=Q.invalidateResolution,D=function(){var e=yd(Od().m(function e(){var t,n,r,i=arguments;return Od().w(function(e){for(;;)switch(e.n){case 0:if(!((null==(n=(t=i.length>0&&void 0!==i[0]?i[0]:null)?[t]:O)?void 0:n.length)<1)){e.n=1;break}return e.a(2);case 1:if(!window.confirm("Are you sure you want to delete this saved template?")){e.n=3;break}return e.n=2,Promise.all(n.map(function(){var e=yd(Od().m(function e(t){var n;return Od().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,T("postType","sp_eap_template",t,{force:!0});case 1:e.n=3;break;case 2:e.p=2,n=e.v,id("Error deleting template ID: ".concat(t,": ").concat(n," "));case 3:return e.a(2)}},e,null,[[0,2]])}));return function(_x){return e.apply(this,arguments)}}()));case 2:r=t?null==O?void 0:O.filter(function(e){return e!==n[0]}):[],v(r),rd("Template deleted successfully.");case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),L=function(){var e=yd(Od().m(function e(){var t,n,r=arguments;return Od().w(function(e){for(;;)switch(e.n){case 0:if(t=r.length>0&&void 0!==r[0]?r[0]:"publish",!((null==(n=O)?void 0:n.length)<1)){e.n=1;break}return e.a(2);case 1:return e.n=2,Promise.all(null==n?void 0:n.map(function(){var e=yd(Od().m(function e(n){var r;return Od().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,n){e.n=1;break}return e.a(2);case 1:return e.n=2,(0,s.resolveSelect)("core").getEntityRecord("postType","sp_eap_template",n);case 2:if(e.v){e.n=3;break}return e.a(2);case 3:return e.n=4,M("postType","sp_eap_template",n,{status:t});case 4:return e.n=5,I("postType","sp_eap_template",n);case 5:e.n=7;break;case 6:e.p=6,r=e.v,id("Error while updating template ID: ".concat(n,": ").concat(r," "));case 7:return e.a(2)}},e,null,[[0,6]])}));return function(t){return e.apply(this,arguments)}}()));case 2:rd("Template post status updated successfully."),v([]);case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),N=function(){var e=yd(Od().m(function e(t){var n,r,i;return Od().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,(0,s.resolveSelect)("core").getEntityRecord("postType","sp_eap_template",t.id);case 1:if(r=e.v){e.n=2;break}return id("Template not found"),e.a(2);case 2:return e.n=3,_("postType","sp_eap_template",{title:"".concat(r.title.raw||"(No title)"," (Copy)"),content:(null===(n=r.content)||void 0===n?void 0:n.raw)||"",meta:r.meta||{},status:"draft"});case 3:$("getEntityRecords",["postType","sp_eap_template",{status:"any",per_page:-1,search:o,_fields:["id","modified","title","status"]}]),rd("Template duplicated successfully."),e.n=5;break;case 4:e.p=4,i=e.v,id("Failed to duplicate template: ".concat(i.message));case 5:return e.a(2)}},e,null,[[0,4]])}));return function(t){return e.apply(this,arguments)}}();(0,a.useEffect)(function(){if(y){var e=setTimeout(function(){w("")},2e3);return function(){return clearTimeout(e)}}},[y]),(0,a.useEffect)(function(){(null==A?void 0:A.length)<1&&(k.current&&clearTimeout(k.current),k.current=setTimeout(function(){E(!0)},1500))},[A]);var z=Math.ceil(C/10),j=Array.from({length:z},function(e,t){return t+1});return React.createElement("div",{className:"speap-saved-templates-page-wrapper"},React.createElement("div",{className:"sp-eab-saved-templates-page-container sp-d-flex sp-flex-col"},React.createElement("div",{className:"sp-eab-saved-template-header sp-d-flex sp-align-center sp-justify-between"},React.createElement("div",{className:"sp-eab-saved-template-header-left sp-d-flex"},React.createElement("select",{name:"bulk-action",className:"sp-eab-saved-template-select",value:n,onChange:function(e){return r(e.target.value)}},React.createElement("option",{value:""},"Bulk Action"),React.createElement("option",{value:"publish"},"Publish"),React.createElement("option",{value:"draft"},"Draft"),React.createElement("option",{value:"delete"},"Delete")),React.createElement("button",{className:"sp-eab-saved-template-select-apply",onClick:function(){if(""!==n){switch(n){case"publish":L("publish");break;case"draft":L("draft");break;case"delete":D()}v([]),m(!1),r("")}}},"Apply"),React.createElement("input",{name:"search-weather-template",className:"sp-eab-saved-template-search-field",type:"text",placeholder:"Search...",spellCheck:"false","data-ms-editor":"true",onChange:function(e){var t,n=null===(t=e.target)||void 0===t?void 0:t.value;k.current&&clearTimeout(k.current),k.current=setTimeout(function(){c(n)},1e3)}})),React.createElement("div",{className:"sp-eab-saved-template-header-right"},React.createElement("a",{href:"".concat(null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.homeUrl,"wp-admin/post-new.php?post_type=sp_eap_template"),className:"sp-eab-saved-template-add-new sp-d-flex sp-align-center sp-justify-center sp-gap-8px sp-cursor-pointer",rel:"noreferrer"},React.createElement("i",{className:"dashicons dashicons-plus-alt2"}),"Add New Template"))),React.createElement("table",{className:"sp-eab-saved-template-content-table"},React.createElement("thead",{className:"sp-eab-saved-template-table-head"},React.createElement("tr",null,null==R?void 0:R.map(function(e,t){return React.createElement("th",{key:t,className:"sp-eab-saved-template-table-".concat(e)},"checkBox"===e?React.createElement("input",{type:"checkbox",onChange:function(){m(function(e){return!e}),v(f?[]:null==A?void 0:A.map(function(e){return e.id}))},checked:f}):e)}))),React.createElement("tbody",{className:"sp-eab-saved-template-table-body"},!S&&(!A||0===A.length)&&React.createElement("tr",null,React.createElement("td",{className:"sp-eab-saved-template-preloader-no-data"},React.createElement("span",{className:"sp-eab-saved-template-loading"},React.createElement(Fc.Spinner,null)))),null==A?void 0:A.map(function(e,t){var n,r,i,o=new Date(null==e?void 0:e.modified),a=!!f||(null==O?void 0:O.some(function(t){return t===(null==e?void 0:e.id)}));return React.createElement("tr",{key:t,className:"sp-eab-saved-template-table-row"},React.createElement("td",{id:null==e?void 0:e.id,className:"sp-eab-saved-template-table-checkBox"},React.createElement("input",{type:"checkbox",onChange:function(){return n=null==e?void 0:e.id,r=O.includes(n)?null==O?void 0:O.filter(function(e){return e!==n}):[].concat(function(e){if(Array.isArray(e))return Sd(e)}(t=O)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||xd(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[n]),v(r),void m(!1);var t,n,r},checked:a})),React.createElement("td",{className:"sp-eab-saved-template-table-title"},React.createElement("a",{href:"".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.homeUrl,"wp-admin/post.php?post=").concat(null==e?void 0:e.id,"&action=edit"),rel:"noreferrer noopener"},React.createElement("span",{dangerouslySetInnerHTML:{__html:(null==e||null===(r=e.title)||void 0===r?void 0:r.rendered)||"(No Title)"}}))),React.createElement("td",{className:"sp-eab-saved-template-table-shortcode"},React.createElement("span",{className:"sp-eab-saved-template-shortcode-text",onClick:function(){return function(e){var t='[sp_eap_template id="'.concat(e.id,'"]');od(t)?w(e.id):id((0,l.__)("Failed to copy shortcode","easy-accordion-free"))}(e)}},'[sp_eap_template id="'.concat(null==e?void 0:e.id,'"]'))," ",React.createElement("span",{className:"sp-eab-shortcode-copy-tooltip",style:{opacity:y===e.id?1:0}},React.createElement(hd,null),"Copied!"),y!==e.id&&React.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.35417 1.25H9.47917C9.53667 1.25 9.58333 1.29667 9.58333 1.35417V9.47917C9.58333 9.50679 9.57236 9.53329 9.55282 9.55282C9.53329 9.57236 9.50679 9.58333 9.47917 9.58333H1.35417C1.32654 9.58333 1.30004 9.57236 1.28051 9.55282C1.26097 9.53329 1.25 9.50679 1.25 9.47917V1.35417C1.25 1.29667 1.29667 1.25 1.35417 1.25ZM0 1.35417C0 0.606667 0.606667 0 1.35417 0H9.47917C10.2275 0 10.8333 0.606667 10.8333 1.35417V9.47917C10.8333 10.2275 10.2275 10.8333 9.47917 10.8333H1.35417C0.995019 10.8333 0.650582 10.6907 0.396626 10.4367C0.142671 10.1828 0 9.83831 0 9.47917V1.35417ZM12.0833 11.0675V3.5675H13.3333V11.0675C13.3333 12.3333 12.3083 13.3333 11.0425 13.3333H1.875V12.0833H11.0425C11.6175 12.0833 12.0833 11.6433 12.0833 11.0675Z",fill:"#757575"}))),React.createElement("td",{className:"sp-eab-saved-template-table-date"},React.createElement("div",null,null==e?void 0:e.status),React.createElement("div",null,null==o?void 0:o.toLocaleString("en-US"))),React.createElement("td",{className:"sp-eab-saved-template-table-action"},React.createElement("div",{className:"sp-eab-saved-template-table-action-btn"},React.createElement(Fc.Tooltip,{text:"Edit",delay:300,placement:"top"},React.createElement("a",{"aria-label":"Edit",href:"".concat(null===(i=sp_eab_admin_dashboard_localize)||void 0===i?void 0:i.homeUrl,"wp-admin/post.php?post=").concat(null==e?void 0:e.id,"&action=edit"),className:"sp-eab-saved-template-action sp-action-edit",rel:"noreferrer"},React.createElement(ld,null))),React.createElement(Fc.Tooltip,{text:"Duplicate",delay:300,placement:"top"},React.createElement("button",{"aria-label":"Duplicate",className:"sp-eab-saved-template-action sp-action-copy",onClick:function(){return N(e)}},React.createElement(cd,null))),React.createElement(Fc.Tooltip,{text:"Delete",delay:300,placement:"top"},React.createElement("button",{"aria-label":"Delete",className:"sp-eab-saved-template-action sp-action-delete",onClick:function(){return D(null==e?void 0:e.id)}},React.createElement(ud,null))))))}),S&&(!A||0===A.length)&&React.createElement("tr",null,React.createElement("td",{className:"sp-eab-saved-template-preloader-no-data"},React.createElement("span",{className:"sp-eab-saved-template-no-data"},(0,l.__)("No saved template found!","easy-accordion-free")))))),React.createElement("div",{className:"sp-eab-saved-template-footer"},React.createElement("div",{className:"sp-eab-saved-template-count"},"Page ",d," of ",Math.ceil(C/10)||1," "," ",React.createElement("span",null,"[ ",C," Items ]")),React.createElement("div",{className:"sp-eab-saved-template-pagination"},(null==j?void 0:j.length)>1&&React.createElement(React.Fragment,null,React.createElement("button",{className:"sp-eab-saved-template-pagination-btn sp-btn-prev ".concat(1===d?"btn-disabled":""),onClick:function(){return p(1!==d?d-1:1)}},React.createElement(pd,null)),j.map(function(e,t){return React.createElement("button",{key:t,className:"sp-eab-saved-template-pagination-btn ".concat(d===e?"btn-active":"sp-btn-numb"),onClick:function(e){var t;return p(Number(null===(t=e.target)||void 0===t?void 0:t.value))},value:e},e)}),React.createElement("button",{className:"sp-eab-saved-template-pagination-btn sp-btn-next ".concat(d===(null==j?void 0:j.length)?"btn-disabled":""),onClick:function(){return p(d!==(null==j?void 0:j.length)?d+1:null==j?void 0:j.length)}},React.createElement(dd,null)))))),React.createElement(gd,null))};function kd(e){return kd="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},kd(e)}function Rd(e){var t=function(e){if("object"!=kd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=kd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kd(t)?t:t+""}function Cd(e,t,n){return(t=Rd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pd(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 Ad(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pd(Object(n),!0).forEach(function(t){Cd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qd(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 Td(e,t){if(e){if("string"==typeof e)return Qd(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)?Qd(e,t):void 0}}function Md(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Td(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _d(e,t){if(null==e)return{};var n,r,i=Eo(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Id=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function $d(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,Rd(r.key),r)}}function Dd(e){return Dd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dd(e)}function Ld(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ld=function(){return!!e})()}function Nd(e){return function(e){if(Array.isArray(e))return Qd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Td(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n(146);var zd,jd,Bd=function(e,t){var n=arguments;if(null==t||!Ht.call(t,"css"))return c.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Jt,i[1]=function(e,t){var n={};for(var r in t)Ht.call(t,r)&&(n[r]=t[r]);return n[Ut]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return c.createElement.apply(null,i)};function Zd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xt(t)}zd=Bd||(Bd={}),jd||(jd=zd.JSX||(zd.JSX={}));const Xd=Math.min,Vd=Math.max,Fd=Math.round,qd=Math.floor,Wd=e=>({x:e,y:e});function Gd(){return"undefined"!=typeof window}function Hd(e){return Kd(e)?(e.nodeName||"").toLowerCase():"#document"}function Ud(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yd(e){var t;return null==(t=(Kd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Kd(e){return!!Gd()&&(e instanceof Node||e instanceof Ud(e).Node)}function Jd(e){return!!Gd()&&(e instanceof Element||e instanceof Ud(e).Element)}function ep(e){return!!Gd()&&(e instanceof HTMLElement||e instanceof Ud(e).HTMLElement)}function tp(e){return!(!Gd()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ud(e).ShadowRoot)}function np(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ip(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}let rp;function ip(e){return Ud(e).getComputedStyle(e)}function op(e){const t=function(e){if("html"===Hd(e))return e;const t=e.assignedSlot||e.parentNode||tp(e)&&e.host||Yd(e);return tp(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Hd(e))}(t)?(e.ownerDocument||e).body:ep(t)&&np(t)?t:op(t)}function ap(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=op(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Ud(i);if(o){const e=sp(a);return t.concat(a,a.visualViewport||[],np(i)?i:[],e&&n?ap(e):[])}return t.concat(i,ap(i,[],n))}function sp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lp(e){return Jd(e)?e:e.contextElement}function cp(e){const t=lp(e);if(!ep(t))return Wd(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=ip(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ep(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Fd(n)!==o||Fd(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?Fd(n.width):n.width)/r,s=(o?Fd(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const up=Wd(0);function dp(e){const t=Ud(e);return null==rp&&(rp="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),rp&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:up}function pp(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=lp(e);let a=Wd(1);t&&(r?Jd(r)&&(a=cp(r)):a=cp(e));const s=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===Ud(e)}(o,n,r)?dp(o):Wd(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o&&r){const e=Ud(o),t=Jd(r)?Ud(r):r;let n=e,i=sp(n);for(;i&&t!==n;){const e=cp(i),t=i.getBoundingClientRect(),r=ip(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,n=Ud(i),i=sp(n)}}return function(e){const{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}}({width:u,height:d,x:l,y:c})}function hp(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var fp=c.useLayoutEffect,mp=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],gp=function(){};function Op(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function vp(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Op(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var bp=function(e){return function(e){return Array.isArray(e)}(e)?e.filter(Boolean):"object"===kd(e)&&null!==e?[e]:[]},yp=function(e){return 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,Ad({},_d(e,mp))},xp=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 Sp(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ep(e){return Sp(e)?window.pageYOffset:e.scrollTop}function kp(e,t){Sp(e)?window.scrollTo(0,t):e.scrollTop=t}function Rp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gp,i=Ep(e),o=t-i,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,i,o,n);kp(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function Cp(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?kp(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&kp(e,Math.max(t.offsetTop-i,0))}function Pp(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ap=!1,Qp={get passive(){return Ap=!0}},Tp="undefined"!=typeof window?window:{};Tp.addEventListener&&Tp.removeEventListener&&(Tp.addEventListener("p",gp,Qp),Tp.removeEventListener("p",gp,!1));var Mp=Ap;function _p(e){return null!=e}function Ip(e,t,n){return e?t:n}var $p=["children","innerProps"],Dp=["children","innerProps"];var Lp,Np=function(e){return"auto"===e?"bottom":e},zp=(0,c.createContext)(null),jp=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,l=((0,c.useContext)(zp)||{}).setPortalPlacement,u=(0,c.useRef)(null),d=Md((0,c.useState)(r),2),p=d[0],h=d[1],f=Md((0,c.useState)(null),2),m=f[0],g=f[1],O=s.spacing.controlHeight;return fp(function(){var e=u.current;if(e){var t="fixed"===o,s=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=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}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,O=a||Sp(u=l)?window.innerHeight:u.clientHeight,v=Ep(l),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=g-y,x=O-m,S=w+v,E=d-v-m,k=h-O+v+b,R=v+m-y,C=160;switch(i){case"auto":case"bottom":if(x>=f)return{placement:"bottom",maxHeight:t};if(E>=f&&!a)return o&&Rp(l,k,C),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&x>=r)return o&&Rp(l,k,C),{placement:"bottom",maxHeight:a?x-b:E-b};if("auto"===i||a){var P=t,A=a?w:S;return A>=r&&(P=Math.min(A-b-s,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return o&&kp(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(w>=f)return{placement:"top",maxHeight:t};if(S>=f&&!a)return o&&Rp(l,R,C),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&w>=r){var Q=t;return(!a&&S>=r||a&&w>=r)&&(Q=a?w-y:S-y),o&&Rp(l,R,C),{placement:"top",maxHeight:Q}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:O});h(s.maxHeight),g(s.placement),null==l||l(s.placement)}},[r,i,o,a,n,l,O]),t({ref:u,placerProps:Ad(Ad({},e),{},{placement:m||Np(i),maxHeight:p})})},Bp=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Ad({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Zp=Bp,Xp=Bp,Vp=["size"],Fp=["innerProps","isRtl","size"],qp={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Wp=function(e){var t=e.size,n=_d(e,Vp);return Bd("svg",Ce({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:qp},n))},Gp=function(e){return Bd(Wp,Ce({size:20},e),Bd("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"}))},Hp=function(e){return Bd(Wp,Ce({size:20},e),Bd("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"}))},Up=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Ad({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Yp=Up,Kp=Up,Jp=function(){var e=Zd.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_"}}}(Lp||(Lp=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),eh=function(e){var t=e.delay,n=e.offset;return Bd("span",{css:Zd({animation:"".concat(Jp," 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"},"","")})},th=["data"],nh=["innerRef","isDisabled","isHidden","inputClassName"],rh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ih={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ad({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},rh)},oh=function(e){return Ad({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},rh)},ah=function(e){var t=e.children,n=e.innerProps;return Bd("div",n,t)},sh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Bd("div",Ce({},xp(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Bd(Gp,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Bd("div",Ce({ref:i},xp(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Bd("div",Ce({},xp(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Bd(Hp,null))},DownChevron:Hp,CrossIcon:Gp,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Bd("div",Ce({},xp(e,"group",{group:!0}),s),Bd(o,Ce({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Bd("div",null,t))},GroupHeading:function(e){var t=yp(e);t.data;var n=_d(t,th);return Bd("div",Ce({},xp(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Bd("div",Ce({},xp(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Bd("span",Ce({},t,xp(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=yp(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=_d(r,nh);return Bd("div",Ce({},xp(e,"input",{"input-container":!0}),{"data-value":n||""}),Bd("input",Ce({className:t({input:!0},s),ref:i,style:oh(a),disabled:o},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=_d(e,Fp);return Bd("div",Ce({},xp(Ad(Ad({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Bd(eh,{delay:0,offset:n}),Bd(eh,{delay:160,offset:!0}),Bd(eh,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Bd("div",Ce({},xp(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 Bd("div",Ce({},xp(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,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,s=(0,c.useRef)(null),l=(0,c.useRef)(null),u=Md((0,c.useState)(Np(o)),2),d=u[0],p=u[1],h=(0,c.useMemo)(function(){return{setPortalPlacement:p}},[]),f=Md((0,c.useState)(null),2),m=f[0],g=f[1],O=(0,c.useCallback)(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[d]+t;n===(null==m?void 0:m.offset)&&e.left===(null==m?void 0:m.rect.left)&&e.width===(null==m?void 0:m.rect.width)||g({offset:n,rect:e})}},[r,a,d,null==m?void 0:m.offset,null==m?void 0:m.rect.left,null==m?void 0:m.rect.width]);fp(function(){O()},[O]);var v=(0,c.useCallback)(function(){"function"==typeof l.current&&(l.current(),l.current=null),r&&s.current&&(l.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=lp(e),u=i||o?[...c?ap(c):[],...t?ap(t):[]]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t,n){let r,i=null;const o=Yd(e);function a(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function s(n,l){void 0===n&&(n=!1),void 0===l&&(l=1),a();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(n||t(),!p||!h)return;const f={rootMargin:-qd(d)+"px "+-qd(o.clientWidth-(u+p))+"px "+-qd(o.clientHeight-(d+h))+"px "+-qd(u)+"px",threshold:Vd(0,Xd(1,l))||1};let m=!0;function g(t){const n=t[0].intersectionRatio;if(!hp(c,e.getBoundingClientRect()))return s();if(n!==l){if(!m)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}m=!1}try{i=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(g,f)}i.observe(e)}const l=Ud(e),c=()=>s(n);return l.addEventListener("resize",c),s(!0),()=>{l.removeEventListener("resize",c),a()}}(c,n,o):null;let p,h=-1,f=null;a&&(f=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&f&&t&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),c&&!l&&f.observe(c),t&&f.observe(t));let m=l?pp(e):null;return l&&function t(){const r=pp(e);m&&!hp(m,r)&&n(),m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}(r,s.current,O,{elementResize:"ResizeObserver"in window}))},[r,O]);fp(function(){v()},[v]);var b=(0,c.useCallback)(function(e){s.current=e,v()},[v]);if(!t&&"fixed"!==a||!m)return null;var y=Bd("div",Ce({ref:b},xp(Ad(Ad({},e),{},{offset:m.offset,position:a,rect:m.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Bd(zp.Provider,{value:h},t?(0,xe.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=_d(e,Dp);return Bd("div",Ce({},xp(Ad(Ad({},i),{},{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,i=_d(e,$p);return Bd("div",Ce({},xp(Ad(Ad({},i),{},{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,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Bd(l,{data:r,innerProps:Ad(Ad({},xp(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},Bd(c,{data:r,innerProps:Ad({},xp(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Bd(u,{data:r,innerProps:Ad(Ad({},xp(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:ah,MultiValueLabel:ah,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Bd("div",Ce({role:"button"},n),t||Bd(Gp,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return Bd("div",Ce({},xp(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Bd("div",Ce({},xp(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Bd("div",Ce({},xp(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Bd("div",Ce({},xp(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 Bd("div",Ce({},xp(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},lh=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ch(e,t){return e===t||!(!lh(e)||!lh(t))}function uh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ch(e[n],t[n]))return!1;return!0}for(var dh={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"},ph=function(e){return Bd("span",Ce({css:dh},e))},hh={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;switch(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"option ".concat(r,o?" is disabled. Select another option.":", 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=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},fh=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,f=s.isMulti,m=s.isOptionDisabled,g=s.isSearchable,O=s.menuIsOpen,v=s.options,b=s.screenReaderStatus,y=s.tabSelectsValue,w=s.isLoading,x=s["aria-label"],S=s["aria-live"],E=(0,c.useMemo)(function(){return Ad(Ad({},hh),d||{})},[d]),k=(0,c.useMemo)(function(){var e,n="";if(t&&E.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,h=d?d.map(p):[],f=Ad({isDisabled:c&&m(c,a),label:u,labels:h},t);n=E.onChange(f)}return n},[t,E,m,a,p]),R=(0,c.useMemo)(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var s={focused:t,label:p(t),isDisabled:m(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=E.onFocus(s)}return e},[n,r,p,m,E,i,a,u]),C=(0,c.useMemo)(function(){var e="";if(O&&v.length&&!w&&E.onFilter){var t=b({count:i.length});e=E.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,O,E,v,b,w]),P="initial-input-focus"===(null==t?void 0:t.action),A=(0,c.useMemo)(function(){var e="";if(E.guidance){var t=r?"value":O?"menu":"input";e=E.guidance({"aria-label":x,context:t,isDisabled:n&&m(n,a),isMulti:f,isSearchable:g,tabSelectsValue:y,isInitialFocus:P})}return e},[x,n,r,f,m,g,O,E,a,y,P]),Q=Bd(c.Fragment,null,Bd("span",{id:"aria-selection"},k),Bd("span",{id:"aria-focused"},R),Bd("span",{id:"aria-results"},C),Bd("span",{id:"aria-guidance"},A));return Bd(c.Fragment,null,Bd(ph,{id:l},P&&Q),Bd(ph,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!P&&Q))},mh=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{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ǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{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ǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{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ßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],gh=new RegExp("["+mh.map(function(e){return e.letters}).join("")+"]","g"),Oh={},vh=0;vh<mh.length;vh++)for(var bh=mh[vh],yh=0;yh<bh.letters.length;yh++)Oh[bh.letters[yh]]=bh.base;var wh=function(e){return e.replace(gh,function(e){return Oh[e]})},xh=function(e,t){void 0===t&&(t=uh);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}(wh),Sh=function(e){return e.replace(/^\s+|\s+$/g,"")},Eh=function(e){return"".concat(e.label," ").concat(e.value)},kh=["innerRef"];function Rh(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=Md(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Md(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(_d(e,kh),"onExited","in","enter","exit","appear");return Bd("input",Ce({ref:t},n,{css:Zd({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 Ch=["boxSizing","height","overflow","paddingRight","position"],Ph={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ah(e){e.cancelable&&e.preventDefault()}function Qh(e){e.stopPropagation()}function Th(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Mh(){return"ontouchstart"in window||navigator.maxTouchPoints}var _h=!("undefined"==typeof window||!window.document||!window.document.createElement),Ih=0,$h={capture:!1,passive:!1},Dh=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Lh={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Nh(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,a=(0,c.useRef)(!1),s=(0,c.useRef)(!1),l=(0,c.useRef)(0),u=(0,c.useRef)(null),d=(0,c.useCallback)(function(e,t){if(null!==u.current){var l=u.current,c=l.scrollTop,d=l.scrollHeight,p=l.clientHeight,h=u.current,f=t>0,m=d-p-c,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),f&&s.current&&(o&&o(e),s.current=!1),f&&t>m?(n&&!a.current&&n(e),h.scrollTop=d,g=!0,a.current=!0):!f&&-t>c&&(i&&!s.current&&i(e),h.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),p=(0,c.useCallback)(function(e){d(e,e.deltaY)},[d]),h=(0,c.useCallback)(function(e){l.current=e.changedTouches[0].clientY},[]),f=(0,c.useCallback)(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=(0,c.useCallback)(function(e){if(e){var t=!!Mp&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}},[f,h,p]),g=(0,c.useCallback)(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))},[f,h,p]);return(0,c.useEffect)(function(){if(t){var e=u.current;return m(e),function(){g(e)}}},[t,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=(0,c.useRef)({}),o=(0,c.useRef)(null),a=(0,c.useCallback)(function(e){if(_h){var t=document.body,n=t&&t.style;if(r&&Ch.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Ih<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(Ph).forEach(function(e){var t=Ph[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Mh()&&(t.addEventListener("touchmove",Ah,$h),e&&(e.addEventListener("touchstart",Th,$h),e.addEventListener("touchmove",Qh,$h))),Ih+=1}},[r]),s=(0,c.useCallback)(function(e){if(_h){var t=document.body,n=t&&t.style;Ih=Math.max(Ih-1,0),r&&Ih<1&&Ch.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Mh()&&(t.removeEventListener("touchmove",Ah,$h),e&&(e.removeEventListener("touchstart",Th,$h),e.removeEventListener("touchmove",Qh,$h)))}},[r]);return(0,c.useEffect)(function(){if(t){var e=o.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){o.current=e}}({isEnabled:n});return Bd(c.Fragment,null,n&&Bd("div",{onClick:Dh,css:Lh}),t(function(e){i(e),o(e)}))}var zh={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},jh=function(e){var t=e.name,n=e.onFocus;return Bd("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:zh,value:"",onChange:function(){}})};function Bh(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 Zh(){return Bh(/^Mac/i)}var Xh={clearIndicator:Kp,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return Ad({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Yp,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return Ad({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Ad({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return Ad(Ad({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},ih),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return Ad({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Xp,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return Ad((Cd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Cd(n,"position","absolute"),Cd(n,"width","100%"),Cd(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Ad({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal: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}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return Ad({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return Ad({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return Ad({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:Zp,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return Ad({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Ad({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return Ad({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Ad({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Vh={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}},Fh={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Pp(),captureMenuScroll:!Pp(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Ad({ignoreCase:!0,ignoreAccents:!0,stringify:Eh,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,i=n.ignoreAccents,o=n.stringify,a=n.trim,s=n.matchFrom,l=a?Sh(t):t,c=a?Sh(o(e)):o(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=xh(l),c=wh(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-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:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),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 qh(e,t,n,r){return{type:"option",data:t,isDisabled:ef(e,t,n),isSelected:tf(e,t,n),label:Kh(e,t),value:Jh(e,t),index:r}}function Wh(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return qh(e,n,t,r)}).filter(function(t){return Uh(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=qh(e,n,t,r);return Uh(e,o)?o:void 0}).filter(_p)}function Gh(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Nd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Hh(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Nd(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 Uh(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!rf(e)||!o)&&nf(e,{label:a,value:s,data:i},r)}var Yh=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Kh=function(e,t){return e.getOptionLabel(t)},Jh=function(e,t){return e.getOptionValue(t)};function ef(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function tf(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Jh(e,t);return n.some(function(t){return Jh(e,t)===r})}function nf(e,t,n){return!e.filterOption||e.filterOption(t,n)}var rf=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},of=1,af=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&ko(e,t)}(n,e);var t=function(e){var t=Ld();return function(){var n,r=Dd(e);if(t){var i=Dd(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==kd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(n);function n(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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:"",isAppleDevice:!1},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.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.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Nd(a),[e]),"select-option",e):r.setValue(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=Ip(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(Ip(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=Ip(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Yh(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Hh(Wh(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vp.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Kh(r.props,e)},r.getOptionValue=function(e){return Jh(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Xh[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 e=r.props,Ad(Ad({},sh),e.components);var e},r.buildCategorizedOptions=function(){return Wh(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Gh(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Ad({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||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&&Sp(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;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(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);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return rf(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,p=t.openMenuOnFocus,h=r.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){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)return;if(e.shiftKey||!c||!d||!f||p&&r.isOptionSelected(f,g))return;r.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(r.isComposing)return;r.selectOption(f);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(!f)return;r.selectOption(f);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||++of),r.state.selectValue=bp(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Yh(i,o[a])}return r}return function(e,t,n){t&&$d(e.prototype,t),n&&$d(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(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&&Cp(this.menuListRef,this.focusedOptionRef),(Zh()||Bh(/^iPhone/i)||Bh(/^iPad/i)||Zh()&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{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&&(Cp(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(Vh):Ad(Ad({},Vh),this.props.theme):Vh}},{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 ef(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return tf(this.props,e,t)}},{key:"filterOption",value:function(e,t){return nf(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{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,i=e.inputValue,o=e.tabIndex,a=e.form,s=e.menuIsOpen,l=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),g=Ad(Ad(Ad({"aria-autocomplete":"list","aria-expanded":s,"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":l,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(u,Ce({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:a,type:"text",value:i},g)):c.createElement(Rh,Ce({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:gp,onFocus:this.onInputFocus,disabled:t,tabIndex:o,inputMode:"none",form:a,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,l=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,f=u.inputValue,m=u.placeholder,g=this.state,O=g.selectValue,v=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!d)return f?null:c.createElement(s,Ce({},l,{key:"placeholder",isDisabled:p,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return O.map(function(t,a){var s=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,Ce({},l,{components:{Container:r,Label:i,Remove:o},isFocused:s,isDisabled:p,key:u,index:a,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(f)return null;var y=O[0];return c.createElement(a,Ce({},l,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,Ce({},t,{innerProps:a,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;return e&&i?c.createElement(e,Ce({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:o})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return c.createElement(n,Ce({},r,{isDisabled:i,isFocused:o}))}},{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,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,Ce({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,o=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,l=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,f=h.captureMenuScroll,m=h.inputValue,g=h.isLoading,O=h.loadingMessage,v=h.minMenuHeight,b=h.maxMenuHeight,y=h.menuIsOpen,w=h.menuPlacement,x=h.menuPosition,S=h.menuPortalTarget,E=h.menuShouldBlockScroll,k=h.menuShouldScrollIntoView,R=h.noOptionsMessage,C=h.onMenuScrollToTop,P=h.onMenuScrollToBottom;if(!y)return null;var A,Q=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,a=t.isSelected,s=t.label,l=t.value,h=p===i,f=o?void 0:function(){return e.onOptionHover(i)},m=o?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),O={id:g,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return c.createElement(u,Ce({},d,{innerProps:O,data:i,isDisabled:o,isSelected:a,key:g,label:s,type:r,value:l,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())A=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,o=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),l="".concat(s,"-heading");return c.createElement(n,Ce({},d,{key:s,data:i,options:o,Heading:r,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return Q(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return Q(t,"".concat(t.index))});else if(g){var T=O({inputValue:m});if(null===T)return null;A=c.createElement(s,d,T)}else{var M=R({inputValue:m});if(null===M)return null;A=c.createElement(l,d,M)}var _={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:x,menuShouldScrollIntoView:k},I=c.createElement(jp,Ce({},d,_),function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return c.createElement(i,Ce({},d,_,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),c.createElement(Nh,{captureEnabled:f,onTopArrive:C,onBottomArrive:P,lockEnabled:E},function(t){return c.createElement(o,Ce({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:p}),A)}))});return S||"fixed"===x?c.createElement(a,Ce({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:w,menuPosition:x}),I):I}},{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 c.createElement(jh,{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 c.createElement("input",{name:o,type:"hidden",value:l})}var u=s.length>0?s.map(function(t,n){return c.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):c.createElement("input",{name:o,type:"hidden",value:""});return c.createElement("div",null,u)}var d=s[0]?this.getOptionValue(s[0]):"";return c.createElement("input",{name:o,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return c.createElement(fh,Ce({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:o,selectValue:a,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,o=this.props,a=o.className,s=o.id,l=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return c.createElement(r,Ce({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),c.createElement(t,Ce({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:u}),c.createElement(i,Ce({},p,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,Ce({},p,{isDisabled:l}),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,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,f=bp(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Gh(Wh(e,t))}(e,f):[],O=d?Hh(Wh(e,f),"".concat(l,"-option")):[],v=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,f):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:f,focusedOption:b,focusedOptionId:Yh(O,b),focusableOptionsWithIds:O,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,x=a&&s;return a&&!x&&(w={value:Ip(h,f,f[0]||null),options:f,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),Ad(Ad(Ad({},m),y),{},{prevProps:e,ariaSelection:w,prevWasFocused:x})}}]),n}(c.Component);af.defaultProps=Fh;var sf=(0,c.forwardRef)(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,f=e.value,m=_d(e,Id),g=Md((0,c.useState)(void 0!==s?s:n),2),O=g[0],v=g[1],b=Md((0,c.useState)(void 0!==l?l:i),2),y=b[0],w=b[1],x=Md((0,c.useState)(void 0!==f?f:a),2),S=x[0],E=x[1],k=(0,c.useCallback)(function(e,t){"function"==typeof u&&u(e,t),E(e)},[u]),R=(0,c.useCallback)(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),C=(0,c.useCallback)(function(){"function"==typeof h&&h(),w(!0)},[h]),P=(0,c.useCallback)(function(){"function"==typeof p&&p(),w(!1)},[p]),A=void 0!==s?s:O,Q=void 0!==l?l:y,T=void 0!==f?f:S;return Ad(Ad({},m),{},{inputValue:A,menuIsOpen:Q,onChange:k,onInputChange:R,onMenuClose:P,onMenuOpen:C,value:T})}(e);return c.createElement(af,Ce({ref:t},n))}),lf=sf;window.wp.blockEditor,window.wp.blocks;const cf=window.wp.htmlEntities;var uf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor"},React.createElement("path",{d:"M6.1443 6.15055C9.34843 2.94642 14.6518 2.94642 17.8559 6.15055L15.3147 8.69176H21.9439V2.06256L19.8446 4.16179C15.5357 -0.147191 8.46452 -0.147191 4.15554 4.16179C1.72485 6.59248 0.730475 9.90708 1.06193 13.1112H3.82408C3.49262 10.6805 4.26601 8.02884 6.1443 6.15055Z",fill:"currentColor"}),React.createElement("path",{d:"M22.9366 10.9017H20.1745C20.5059 13.3324 19.7325 15.9841 17.8542 17.8624C14.6501 21.0665 9.34676 21.0665 6.14268 17.8624L8.68389 15.3212H2.05469V21.9504L4.15392 19.8512C8.4629 24.1601 15.4236 24.1601 19.7325 19.8512C22.2737 17.4205 23.2681 14.1059 22.9366 10.9017Z",fill:"currentColor"}))},df=function(){return React.createElement("svg",{width:"34",height:"24",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M10 17.5l-1.45-1.32C4.4 12.36 2 10.28 2 7.5 2 5.42 3.42 4 5.5 4c1.54 0 3.04 1 3.57 2.36h1.87C11.46 5 12.96 4 14.5 4 16.58 4 18 5.42 18 7.5c0 2.78-2.4 4.86-6.55 8.68L10 17.5z",fill:"none"}))},pf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"23",height:"21",viewBox:"0 0 23 21",fill:"currentColor"},React.createElement("path",{d:"M20.2913 2.61183C19.7805 2.10083 19.1741 1.69547 18.5066 1.41891C17.8392 1.14235 17.1238 1 16.4013 1C15.6788 1 14.9634 1.14235 14.2959 1.41891C13.6285 1.69547 13.022 2.10083 12.5113 2.61183L11.4513 3.67183L10.3913 2.61183C9.3596 1.58013 7.96032 1.00053 6.50129 1.00053C5.04226 1.00053 3.64298 1.58013 2.61129 2.61183C1.5796 3.64352 1 5.04279 1 6.50183C1 7.96086 1.5796 9.36013 2.61129 10.3918L11.4513 19.2318L20.2913 10.3918C20.8023 9.88107 21.2076 9.27464 21.4842 8.60718C21.7608 7.93972 21.9031 7.22431 21.9031 6.50183C21.9031 5.77934 21.7608 5.06393 21.4842 4.39647C21.2076 3.72901 20.8023 3.12258 20.2913 2.61183Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},hf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},React.createElement("path",{d:"M7.37544 2C7.37544 1.65482 7.65526 1.375 8.00044 1.375C8.34562 1.375 8.62544 1.65482 8.62544 2V9.49121L11.5356 6.58105C11.7797 6.33698 12.1753 6.33698 12.4194 6.58105C12.6635 6.82513 12.6635 7.22077 12.4194 7.46484L8.44282 11.4424C8.19875 11.6865 7.80214 11.6865 7.55806 11.4424L3.5815 7.46484C3.33742 7.22077 3.33742 6.82513 3.5815 6.58105C3.82557 6.33698 4.22121 6.33698 4.46528 6.58105L7.37544 9.49121V2Z",fill:"white"}),React.createElement("path",{d:"M1.375 13V10C1.375 9.65482 1.65482 9.375 2 9.375C2.34518 9.375 2.625 9.65482 2.625 10V13C2.625 13.2071 2.79289 13.375 3 13.375H13C13.2071 13.375 13.375 13.2071 13.375 13V10C13.375 9.65482 13.6548 9.375 14 9.375C14.3452 9.375 14.625 9.65482 14.625 10V13C14.625 13.8975 13.8975 14.625 13 14.625H3C2.10254 14.625 1.375 13.8975 1.375 13Z",fill:"white"}))},ff=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},React.createElement("path",{d:"M10.2168 6.01685C10.4052 6.36235 10.7221 6.62112 11.1104 6.70239C11.5047 6.7848 11.908 6.66835 12.2129 6.38892C12.6721 5.96794 13.1316 5.54719 13.5908 5.12622C13.9105 4.83318 14.2301 4.53939 14.5498 4.24634C14.2969 6.25538 14.0439 8.26462 13.791 10.2737H2.22266C1.96972 8.26422 1.71583 6.25481 1.46289 4.24536C2.24239 4.9599 3.02238 5.67449 3.80176 6.38892C4.10679 6.66852 4.50974 6.785 4.9043 6.70239C5.29249 6.62111 5.60845 6.36227 5.79688 6.01685L8.00684 1.96509L10.2168 6.01685Z",stroke:"white",strokeWidth:"1.3545"}),React.createElement("path",{d:"M13.7234 14.8507H2.29045C1.92294 14.8507 1.625 14.4866 1.625 14.0374V12.2507H14.3889V14.0374C14.3888 14.4866 14.0909 14.8507 13.7234 14.8507Z",fill:"currentColor"}))},mf=(0,a.memo)(function(){return React.createElement(React.Fragment,null,React.createElement("i",{className:"dashicons dashicons-visibility"}),(0,l.__)("Live Preview","easy-accordion-free"))}),gf="Enter",Of=function(e){var t=e.type,n=e.size,r=e.loop,i=e.unit,o=e.c_s,a=e.classes,s=function(){var e={};switch(t){case"image":case"circle":e={width:n?n+"px":"300px",height:n?n+"px":"300px"};break;case"title":e={width:"".concat(n||"100").concat(i||"%")};break;case"button":e={width:n?n+"px":"90px"};break;case"custom_size":e={width:"".concat(o.size1?o.size1:"100").concat(o.unit1?o.unit1:"%"),height:"".concat(o.size2?o.size2:"20").concat(o.unit2?o.unit2:"px"),borderRadius:o.br?o.br+"px":"0px"}}return e};return React.createElement(React.Fragment,null,r?React.createElement(React.Fragment,null,Array(parseInt(r)).fill("1").map(function(e,n){return React.createElement("div",{key:n,className:"sp_eab_patterns_skeleton__".concat(t," sp-eap_patterns_frequency loop ").concat(a||""),style:s()})})):React.createElement("div",{className:"sp_eab_patterns_skeleton__".concat(t," sp-eap_patterns_frequency ").concat(a||""),style:s()}))},vf=(0,a.memo)(function(e){var t=e.data,n=e.wishListArr,r=e.setWListAction,i=e.reload,o=e.reloadId,s=e.onImport,c=null==n?void 0:n.includes(String(t.ID)),u=i&&o===t.ID,d=t.pro,p=(0,a.useCallback)(function(){r(t.ID,c?"remove":"")},[t.ID,c,r]),h=(0,a.useCallback)(function(){d||s(t.ID,t.pro)},[t.ID,t.pro,d,s]);return React.createElement("div",{className:"sp-eab-pattern-card-body"},React.createElement("div",{className:"sp-eap-patterns-item-list"},React.createElement("div",{className:"sp-eap-patterns-item-list-overlay"},React.createElement("a",{className:"sp-eap-pattern-img"},React.createElement("img",{src:t.image,loading:"lazy",alt:t.name})),React.createElement("div",{className:"sp-eap-pattern-overlay"},React.createElement("a",{className:"sp-eap-patterns-overlay-view",href:"https://easyaccordion.io/patterns/#demo".concat(t.ID),target:"_blank",rel:"noopener noreferrer","aria-label":(0,l.__)("Preview","easy-accordion-free")+" "+t.name},React.createElement(mf,null)))),React.createElement("div",{className:"sp-eap-patterns-item-list-info"},React.createElement("div",{className:"sp-eab-patterns-item-info"},React.createElement("span",null,(0,cf.decodeEntities)((null==t?void 0:t.name)||""))),React.createElement("span",{className:"sp-eap-patterns-action-btn"},React.createElement(Fc.Tooltip,{text:c?(0,l.__)("Remove from wishlist","easy-accordion-free"):(0,l.__)("Add to wishlist","easy-accordion-free"),delay:300,placement:"top"},React.createElement("span",{className:"sp-eap-pattern-wishlist",onClick:p,role:"button",tabIndex:0,onKeyPress:function(e){e.key!==gf&&" "!==e.key||p()},"aria-label":c?(0,l.__)("Remove from wishlist","easy-accordion-free"):(0,l.__)("Add to wishlist","easy-accordion-free")},c?React.createElement(pf,null):React.createElement(df,null))),d?React.createElement("a",{className:"sp-eap-patterns-btn-pro",target:"_blank",rel:"noopener noreferrer",href:"https://easyaccordion.io/pricing/","aria-label":(0,l.__)("Upgrade to Pro to access this pattern","easy-accordion-free")},React.createElement(ff,null)," ",(0,l.__)("PRO","easy-accordion-free")):React.createElement("span",{onClick:h,className:"sp-eap-patterns-import-btn",role:"button",tabIndex:0,onKeyPress:function(e){e.key!==gf&&" "!==e.key||h()},"aria-label":(0,l.__)("Import","easy-accordion-free")+" "+t.name,style:u?{pointerEvents:"none",opacity:.6}:{}},u?React.createElement("i",{className:" sp-rotate"},React.createElement(uf,null)):React.createElement(React.Fragment,null,React.createElement(hf,null)," ",(0,l.__)("Import","easy-accordion-free")))))))}),bf=(0,a.memo)(function(){return React.createElement("div",{className:"sp-eap-pattern-grid sp-eap-pattern-col3 skeletonOverflow"},Array(25).fill(null).map(function(e,t){return React.createElement("div",{key:t,className:"sp-eap-patterns-item-list"},React.createElement("div",{className:"sp-eap-patterns-item-list-overlay"},React.createElement(Of,{type:"custom_size",c_s:{size1:100,unit1:"%",size2:400,unit2:"px"}})),React.createElement("div",{className:"sp-eap-patterns-item-list-info"},React.createElement(Of,{type:"custom_size",c_s:{size1:50,unit1:"%",size2:25,unit2:"px",br:2}}),React.createElement("span",{className:"sp-eap-patterns-action-btn"},React.createElement("span",{className:"sp-eap-pattern-wishlist"},React.createElement(Of,{type:"custom_size",c_s:{size1:30,unit1:"px",size2:25,unit2:"px",br:2}})),React.createElement(Of,{type:"custom_size",c_s:{size1:70,unit1:"px",size2:25,unit2:"px",br:2}}))))}))}),yf=(0,a.memo)(function(){return React.createElement("span",{className:"sp-eap-patterns-image-rotate"},(0,l.__)("No Data found...","easy-accordion-free"))});(0,a.memo)(function(e){var t=e.premadeLists,n=e.column,r=e.searchQuery,i=e.freePro,o=e.showWishList,s=e.wishListArr,l=e.setWListAction,c=e.reload,u=e.reloadId,d=e.onImport,p=e.loading,h=(0,a.useMemo)(function(){return t.filter(function(e){var t,n=!r||(null===(t=e.name)||void 0===t?void 0:t.toLowerCase().includes(r.toLowerCase())),a="all"===i||"pro"===i&&e.pro||"free"===i&&!e.pro,l=!o||(null==s?void 0:s.includes(String(e.ID)));return n&&a&&l})},[t,r,i,o,s]);return p?React.createElement(bf,null):0===h.length?React.createElement(yf,null):React.createElement("div",{className:"sp-eap-pattern-grid sp-eap-pattern-col".concat(n)},h.map(function(e){return React.createElement(vf,{key:e.ID,data:e,wishListArr:s,setWListAction:l,reload:c,reloadId:u,onImport:d})}))});var wf=["children","className"];function xf(){return xf=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},xf.apply(null,arguments)}const Sf=function(e){var t=e.children,n=e.className,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,wf);return React.createElement("button",xf({},r,{className:"sp-eab-button-component".concat(n?" "+n:"")}),t)};var Ef=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:12,fill:"none"},React.createElement("path",{d:"M12.714 0H1.286C.655 0 .143.504.143 1.125v7.5c0 .621.512 1.125 1.143 1.125h4.571l-.38 1.125H3.761a.566.566 0 0 0-.571.563c0 .311.254.562.571.562h6.476c.317 0 .572-.25.572-.563a.566.566 0 0 0-.572-.562H8.524l-.38-1.125h4.57c.631 0 1.143-.504 1.143-1.125v-7.5C13.857.504 13.346 0 12.714 0Zm-.38 8.25H1.667V1.5h10.667v6.75Z"}))},kf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none"},React.createElement("path",{d:"M9.428 0H2.571C1.623 0 .857.67.857 1.5v9c0 .83.766 1.5 1.714 1.5h6.857c.949 0 1.715-.67 1.715-1.5v-9c0-.83-.766-1.5-1.715-1.5ZM7.143 11H4.857v-.5h2.286v.5Zm3-1.5H1.857v-8h8.286v8Z"}))},Rf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:8,height:12,fill:"none"},React.createElement("path",{d:"M6.286 0H1.714C1.082 0 .571.67.571 1.5v9c0 .83.51 1.5 1.143 1.5h4.572c.632 0 1.142-.67 1.142-1.5v-9c0-.83-.51-1.5-1.142-1.5ZM4.762 11H3.238v-.5h1.524v.5Zm2-1.5H1.238v-8h5.524v8Z"}))};const Cf=function(){var e=function(e){document.getElementsByClassName("edit-site-visual-editor__editor-canvas").length>0?(0,s.dispatch)("core/edit-site").__experimentalSetPreviewDeviceType(e.target.closest("button").value):(0,s.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType(e.target.closest("button").value)},t=qc(),n=function(){return"Desktop"===t?React.createElement(Ef,null):"Tablet"===t?React.createElement(kf,null):"Mobile"===t?React.createElement(Rf,null):void 0};return React.createElement("div",{className:"sp-eab-responsive-picker"},React.createElement("div",{className:"sp-eab-units-indicator"},React.createElement("span",null,React.createElement(n,null)),React.createElement("div",{className:"sp-eab-units-btn"},React.createElement(Fc.Button,{className:"Desktop"===t?"active":"",value:"Desktop",onClick:e},React.createElement(Ef,null)),React.createElement(Fc.Button,{className:"Tablet"===t?"active":"",value:"Tablet",onClick:e},React.createElement(kf,null)),React.createElement(Fc.Button,{className:"Mobile"===t?"active":"",value:"Mobile",onClick:e},React.createElement(Rf,null)))))};var Pf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},React.createElement("path",{stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.333,d:"M8 3.333v9.333M3.333 8h9.334"}))};function Af(e){return Af="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},Af(e)}function Qf(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 Tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qf(Object(n),!0).forEach(function(t){Mf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mf(e,t,n){return(t=function(e){var t=function(e){if("object"!=Af(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Af(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Af(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _f(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return If(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(If(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,If(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,If(d,"constructor",c),If(c,"constructor",l),l.displayName="GeneratorFunction",If(c,i,"GeneratorFunction"),If(d),If(d,i,"Generator"),If(d,r,function(){return this}),If(d,"toString",function(){return"[object Generator]"}),(_f=function(){return{w:o,m:p}})()}function If(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}If=function(e,t,n,r){function o(t,n){If(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},If(e,t,n,r)}function $f(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Df(e){return function(e){if(Array.isArray(e))return zf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Nf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nf(e,t){if(e){if("string"==typeof e)return zf(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)?zf(e,t):void 0}}function zf(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}var jf=function(e){var t=e.label,n=e.colors,r=void 0===n?[]:n,i=e.onChangePanelColor,o=e.showNewColorAdd,a=void 0!==o&&o,s=e.handleCustomColor,c=void 0!==s&&s,u=e.palateName,d=void 0===u?"custom":u;return React.createElement("div",{className:"sp-eab-color-picker-palette-display-container"},React.createElement("div",{className:"sp-eab-palette-title-wrapper sp-d-flex sp-justify-between"},React.createElement("span",{className:"sp-eab-color-picker-palette-title"},t)),React.createElement("ul",{className:"sp-eab-color-picker-palette sp-d-grid"},null==r?void 0:r.map(function(e,t){return React.createElement("li",{key:t,style:{backgroundColor:null==e?void 0:e.color},title:null==e?void 0:e.name},React.createElement(Fc.Button,{onClick:function(){var t=null==e?void 0:e.color,n=/^#([0-9A-Fa-f]{3}){1,2}$/.test(t),r=null==t?void 0:t.includes("color-mix");if(n||r)i(t);else{var o=t.match(/--[\w-]+/);if(o){var a=getComputedStyle(document.documentElement).getPropertyValue(o[0]).trim();i(a)}}},value:e.color}),"custom"===d&&t>3&&React.createElement("span",{onClick:function(t){t.stopPropagation(),c("remove",null==e?void 0:e.name)},className:"sp-eab-color-remove-button"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:24,width:24},React.createElement("path",{fill:"#1E1E1E",d:"m12 13.06 3.712 3.713 1.06-1.061-3.712-3.713 3.713-3.712-1.061-1.06-3.713 3.712-3.712-3.712-1.06 1.06L10.939 12l-3.712 3.713 1.06 1.06L12 13.06Z"}))))}),a&&React.createElement("li",{title:(0,l.__)("Add this color to custom colors","easy-accordion-free"),className:"sp-d-flex sp-align-center sp-justify-center sp-cursor-pointer"},React.createElement("span",{className:"sp-d-flex sp-align-center sp-justify-center",onClick:function(e){e.stopPropagation(),c("add","color-".concat((null==r?void 0:r.length)+1))}},React.createElement(Pf,null)))))};(0,a.memo)(function(e){var t=e.setAttributes,n=e.value,r=e.attributesKey,i=e.label,o=e.onChange,s=e.defaultColor,c=void 0===s?"":s,u=e.resetButton,d=void 0===u||u,p=e.showThemeColors,h=void 0===p||p,f=e.activeState,m=void 0!==f&&f,g=m?n[m]:n,O=Lf((0,a.useState)(g),2),v=O[0],b=O[1],y=Lf((0,a.useState)([]),2),w=y[0],x=y[1],S=Lf((0,a.useState)([]),2),E=S[0],k=S[1],R=Lf((0,a.useState)(!1),2),C=R[0],P=R[1],A=[{name:"color-0",color:"#FF5B2E"},{name:"color-1",color:"#FFFFFF"},{name:"color-2",color:"#2F2F2F"},{name:"color-3",color:"#757575"}].concat(Df(E)),Q=function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){$f(o,r,i,a,s,"next",e)}function s(e){$f(o,r,i,a,s,"throw",e)}a(void 0)})}}(_f().m(function e(t){var n,r,i,o,a;return _f().w(function(e){for(;;)switch(e.n){case 0:return(i=new FormData).append("action","sp_eab_color_settings_ajax"),i.append("colorSettingsData",JSON.stringify(t)),i.append("spEabAjaxNonce",null===(n=sp_eab_localize_data)||void 0===n?void 0:n.spEabAjaxNonce),e.n=1,Gl.post(sp_eab_localize_data.ajaxUrl,i);case 1:return o=e.v,e.n=2,null==o||null===(r=o.data)||void 0===r?void 0:r.data;case 2:a=e.v,k((null==a?void 0:a.custom_colors)||[]),x((null==a?void 0:a.theme_colors)||[]);case 3:return e.a(2)}},e)}));return function(_x){return e.apply(this,arguments)}}(),T=function(e,t){var n;n="add"===e?[].concat(Df(E),[{name:t,color:v}]):E.filter(function(e){return e.name!==t}),k(n),Q(n),P(!1)},M=function(e){var i=[].concat(Df(A),Df(w)),a=null==i?void 0:i.find(function(t){return t.color===e});P(!a),b(e),o?o(e):t(Mf({},r,m?Tf(Tf({},n),{},Mf({},m,e)):e))};return React.createElement("div",{className:"sp-eab-color-picker sp-eab-component-mb sp-d-flex sp-justify-between sp-align-center"},React.createElement("span",{className:"sp-eab-component-title"},i),React.createElement("div",{className:"sp-eab-color-picker-right-area sp-d-flex sp-align-center"},d&&React.createElement(Zf,{onClick:function(){M(c)}}),React.createElement(Fc.Dropdown,{popoverProps:{placement:"bottom-start"},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return React.createElement(Fc.Button,{onClick:n,"aria-expanded":t},React.createElement(Fc.ColorIndicator,{colorValue:g,onClick:function(){return Q()}}))},onClose:function(e,t){t&&e.stopPropagation()},renderContent:function(){return React.createElement("div",{onMouseDown:function(e){e.stopPropagation()},className:"sp-eab-color-picker-renderer"},React.createElement(Fc.ColorPicker,{className:"sp-eab-color-picker",color:v,onChange:M,colors:A,enableAlpha:!0}),h&&(null==w?void 0:w.length)>0&&React.createElement(jf,{label:(0,l.__)("Theme colors","easy-accordion-free"),colors:w,onChangePanelColor:M,palateName:"theme"}),(null==A?void 0:A.length)>0&&React.createElement(jf,{label:(0,l.__)("Custom colors","easy-accordion-free"),colors:A,onChangePanelColor:M,showNewColorAdd:C,handleCustomColor:T}))}})))});var Bf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",width:14,height:14,viewBox:"0 0 14 14",fill:"none"},React.createElement("g",{clipPath:"url(#clip0_13968_266e)"},React.createElement("path",{d:"M2.26612 4.11595C3.37829 2.2925 5.49847 1.20166 7.74998 1.50927C10.7824 1.92355 12.9048 4.71765 12.4905 7.75006C12.0762 10.7825 9.2821 12.9049 6.24972 12.4906C3.99821 12.183 2.24836 10.5634 1.66601 8.5085M2.02244 2.49303L2.04627 4.36557L3.84791 4.2143",stroke:"#949494",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",fill:"transparent"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_13968_266e"},React.createElement("rect",{width:14,height:14,fill:"white"}))))};const Zf=function(e){var t=e.onClick;return React.createElement(Fc.Button,{className:"sp-eab-component-header-reset",onClick:t},React.createElement(Bf,null))};function Xf(e){return Xf="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},Xf(e)}function Vf(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 Ff(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vf(Object(n),!0).forEach(function(t){qf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qf(e,t,n){return(t=function(e){var t=function(e){if("object"!=Xf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Xf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wf=(0,a.memo)(function(e){var t=e.attributes,n=e.setAttributes,r=e.attributesKey,i=e.units,o=qc(),a="object"===Xf(null==t?void 0:t.unit)?t.unit[o]:null==t?void 0:t.unit;return React.createElement("div",{className:"sp-eab-units-indicator"},React.createElement("span",{className:"sp-eab-units-label"},a),React.createElement("div",{className:"sp-eab-units-btn"},null==i?void 0:i.map(function(e,i){return React.createElement(Fc.Button,{key:i,className:a===e.toLowerCase()?"active":"",value:e,onClick:function(e){return i=e.target.value,void(t.unit[o]?n(qf({},r,Ff(Ff({},t),{},{unit:Ff(Ff({},t.unit),{},qf({},o,i.toLowerCase()))}))):n(qf({},r,Ff(Ff({},t),{},{unit:i.toLowerCase()}))));var i}}," ",e," ")})))}),Gf=(0,a.memo)(function(e){var t=e.label,n=e.attributes,r=e.setAttributes,i=e.attributesKey,o=void 0===i?"":i,a=e.units,s=void 0!==a&&a,l=e.onReset,c=void 0!==l&&l;return React.createElement("div",{className:"sp-eab-component-header sp-d-flex sp-justify-between sp-mb-8px"},React.createElement("div",{className:"sp-eab-component-header-left sp-d-flex sp-align-center"},React.createElement("span",{className:"sp-eab-component-title"},t),(null==n?void 0:n.device)&&React.createElement(Cf,null)),React.createElement("div",{className:"sp-eab-component-header-right sp-d-flex sp-align-center"},c&&React.createElement(Zf,{onClick:function(){return c()}}),s&&React.createElement(Wf,{attributes:n,setAttributes:r,attributesKey:o,units:s})))});function Hf(e){return Hf="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},Hf(e)}function Uf(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 Yf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uf(Object(n),!0).forEach(function(t){Kf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kf(e,t,n){return(t=function(e){var t=function(e){if("object"!=Hf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Hf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,a.memo)(function(e){var t,n,r=e.attributes,i=e.attributesKey,o=e.setAttributes,a=e.label,s=e.units,l=void 0===s?["px","%","em"]:s,c=e.resetIcon,u=void 0===c||c,d=e.min,p=void 0===d?0:d,h=e.max,f=void 0===h?200:h,m=e.step,g=void 0===m?1:m,O=e.defaultValue,v=void 0===O?{unit:"px",value:10}:O,b=qc();n=null!=r&&r.device?null==r?void 0:r.device[b]:void 0!==(null==r?void 0:r.value)?null==r?void 0:r.value:r;var y=(null==r||null===(t=r.unit)||void 0===t?void 0:t[b])||(null==r?void 0:r.unit);return React.createElement("div",{className:"sp-eab-range-control sp-eab-component-mb"},React.createElement(Gf,{label:a,attributes:r,setAttributes:o,attributesKey:i,units:l,onReset:!!u&&function(){return e=null!=r&&r.device?Yf(Yf({},r),{},{device:Yf(Yf({},r.device),{},Kf({},b,v.value)),unit:Yf(Yf({},r.unit),{},Kf({},b,v.unit))}):void 0!==(null==r?void 0:r.value)?{value:v.value,unit:v.unit}:v,void o(Kf({},i,e));var e}}),React.createElement(Fc.RangeControl,{value:n,color:"#FF5B2E",onChange:function(e){return function(e){var t;t=null!=r&&r.device?Yf(Yf({},r),{},{device:Yf(Yf({},r.device),{},Kf({},b,e))}):void 0!==(null==r?void 0:r.value)?Yf(Yf({},r),{},{value:e}):e,o(Kf({},i,t))}(e)},min:p,max:null!=r&&r.unit&&"%"===y?100:f,step:g,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}))});(0,l.__)("Solid","easy-accordion-free"),(0,l.__)("Gradient","easy-accordion-free"),(0,l.__)("Image","easy-accordion-free"),(0,l.__)("Video","easy-accordion-free"),(0,l.__)("Inherit","easy-accordion-free"),(0,l.__)("Bottom","easy-accordion-free"),(0,l.__)("Center","easy-accordion-free"),(0,l.__)("Top","easy-accordion-free"),(0,l.__)("Right","easy-accordion-free"),(0,l.__)("Left","easy-accordion-free"),(0,l.__)("Initial","easy-accordion-free"),(0,l.__)("Scroll","easy-accordion-free"),(0,l.__)("Fixed","easy-accordion-free"),(0,l.__)("No Repeat","easy-accordion-free"),(0,l.__)("Repeat","easy-accordion-free"),(0,l.__)("Repeat X","easy-accordion-free"),(0,l.__)("Repeat Y","easy-accordion-free"),(0,l.__)("Auto","easy-accordion-free"),(0,l.__)("Cover","easy-accordion-free"),(0,l.__)("Contain","easy-accordion-free");var Jf=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},React.createElement("path",{fill:"#2F2F2F",d:"M8.4 16.7h.7l-1.6 3.5.9.4 3.9-8.5H15v-1.5h-2l1.3-2.8h1.3c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2H15l1.4-3.2-.9-.4-5.7 12.5H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V6.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.4 5.2 5.2 5.2Z"}))},em=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},React.createElement("path",{fill:"#fff",d:"M8.4 16.8H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V6.4H8.4c-2.8 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2Zm10.9-5.2c0 2-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7Zm-4.6-.9H9.4v1.5h5.3v-1.5Z"}))},tm=n(942),nm=n.n(tm);function rm(e){return rm="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},rm(e)}function im(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 om(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?im(Object(n),!0).forEach(function(t){am(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):im(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function am(e,t,n){return(t=function(e){var t=function(e){if("object"!=rm(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=rm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,a.memo)(function(e){var t,n=e.label,r=e.attributes,i=e.attributesKey,o=e.setAttributes,a=e.units,s=void 0===a?["px","%","em"]:a,l=e.linkButton,c=void 0===l||l,u=e.labelItem,d=void 0!==u&&u,p=e.defaultValue,h=void 0===p?{unit:"px",value:{top:"0",right:"0",bottom:"0",left:"0"}}:p,f=e.radiusIndicators,m=void 0!==f&&f,g=qc(),O=null==r?void 0:r.allChange,v=!(null==r||!r.device),b=v?null==r?void 0:r.device[g]:null==r?void 0:r.value;return React.createElement("div",{className:"sp-eab-spacing sp-eab-component-mb"},React.createElement(Gf,{label:n,attributes:r,setAttributes:o,attributesKey:i,units:s,onReset:function(){var e,t=null==h?void 0:h.value,n=null==h?void 0:h.unit;e=om(om({},r),{},v?{device:om(om({},r.device),{},am({},g,t)),unit:om(om({},r.unit),{},am({},g,n))}:{value:t,unit:n}),o(am({},i,e))}}),React.createElement("div",{className:nm()("sp-eab-spacing-part-2 sp-d-flex",{"sp-eab-radius-indicators":m,"sp-eab-spacing-indicators":!d&&!m})},null===(t=Object.keys(b))||void 0===t?void 0:t.map(function(e){var t,n=(null===(t=b[e])||void 0===t?void 0:t.toString())||"0";return React.createElement("div",{key:e,className:nm()("sp-eab-spacing-".concat(e),{box:!c&&"left"===e})},React.createElement("input",{id:"sp-eab-".concat(i||"spacing","-").concat(e),onChange:function(t){return function(e,t){var n;n=O?{top:e,right:e,bottom:e,left:e}:om(om({},v?{top:(null==b?void 0:b.top)||0,right:(null==b?void 0:b.right)||0,bottom:(null==b?void 0:b.bottom)||0,left:(null==b?void 0:b.left)||0}:r.value),{},am({},t,e));var a;a=om(om({},r),{},v?{device:om(om({},r.device),{},am({},g,n))}:{value:n}),o(am({},i,a))}(t.target.value,e)},type:"number",value:n}),d&&React.createElement("span",{className:"sp-eab-spacing-indicator-label sp-d-block"},d[e]))}),c&&React.createElement("div",{className:"sp-eab-spacing-all"},React.createElement(Fc.Button,{className:null!=r&&r.allChange?"active":"",onClick:function(e){e.stopPropagation(),o(am({},i,om(om({},r),{},{allChange:!(null!=r&&r.allChange)})))}},O?React.createElement(em,null):React.createElement(Jf,null)))))});var sm=["pro"];function lm(e){return lm="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},lm(e)}function cm(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 um(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cm(Object(n),!0).forEach(function(t){dm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dm(e,t,n){return(t=function(e){var t=function(e){if("object"!=lm(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pm=(0,a.memo)(function(e){var t=e.attributes,n=e.attributesKey,r=e.setAttributes,i=e.items,o=e.label,a=void 0===o?"":o,s=e.flexStyle,l=void 0!==s&&s,c=e.units,u=void 0!==c&&c,d=e.onChange,p=void 0!==d&&d,h=e.showHeading,f=void 0===h||h,m=qc(),g=i.map(function(e){var t=e.pro,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,sm);return um(um({},n),{},{disabled:!0===t})}),O=null!=t&&t.device?null==t?void 0:t.device[m]:t;return React.createElement("div",{className:"sp-eab-select-field sp-eab-component-mb ".concat(l?"sp-d-flex sp-justify-between sp-align-center":"sp-d-block")},f&&React.createElement(Gf,{label:a,attributes:t,attributesKey:n,setAttributes:r,units:u}),React.createElement(Fc.SelectControl,{className:"custom-select-control",value:O,options:g,onChange:function(e){p?p(e):null!=t&&t.device?r(dm({},n,{device:um(um({},null==t?void 0:t.device),{},dm({},m,e))})):r(dm({},n,e))},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}))});function hm(e){return hm="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},hm(e)}function fm(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 mm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fm(Object(n),!0).forEach(function(t){gm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gm(e,t,n){return(t=function(e){var t=function(e){if("object"!=hm(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=hm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Om=function(e){var t=e.attributes,n=e.attributesKey,r=e.setAttributes,i=e.label,o=e.flex,a=void 0!==o&&o,s=e.inputType,l=void 0===s?"text":s,c=e.placeholder,u=e.onChange,d=void 0!==u&&u,p=e.help,h=void 0!==p&&p,f=e.min,m=void 0===f?1:f,g=e.step,O=void 0===g?1:g,v=qc(),b=null!=t&&t.device?null==t?void 0:t.device[v]:t;return React.createElement("div",{className:"sp-eab-input-control sp-eab-component-mb"},React.createElement("div",{className:"sp-eab-input-control-header ".concat(a?"sp-flex-input sp-d-flex sp-justify-between":"sp-block-input")},React.createElement("div",{className:"sp-eab-input-control-header-left ".concat(a?"sp-d-flex sp-align-center":"sp-mb-8px")},React.createElement("span",{className:"sp-eab-component-title"},i),(null==t?void 0:t.device)&&React.createElement(Cf,null)),React.createElement("div",{className:"sp-eab-input-control-field"},React.createElement(Fc.__experimentalInputControl,{type:l,value:b,step:O,onChange:function(e){return d?d(e):void function(e){null!=t&&t.device?r(gm({},n,mm(mm({},t),{},{device:mm(mm({},t.device),{},gm({},v,e))}))):r(gm({},n,e))}(e)},placeholder:c,help:h,min:m,__next40pxDefaultSize:!0}))))};var vm=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:8,height:8,fill:"none"},React.createElement("path",{fill:"#2F2F2F",d:"M4 4.778 6.722 7.5l.778-.778L4.778 4 7.5 1.278 6.722.5 4 3.222 1.278.5.5 1.278 3.222 4 .5 6.722l.778.778L4 4.778Z"}))},bm=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,"aria-hidden":"true",className:""},React.createElement("path",{d:"M17.5 11.6 12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},ym=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,"aria-hidden":"true"},React.createElement("path",{d:"M6.5 12.4 12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))},wm=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 1200 1200"},React.createElement("path",{fill:"#aaa",d:"M198 198c-222 222-222 582 0 804s582 222 804 0 222-582 0-804-582-222-804 0zm712.8 712.8c-171.6 171.6-451.2 171.6-622.8 0-171.6-171.6-171.6-451.2 0-622.8s451.2-171.6 622.8 0c172.8 172.8 172.8 451.2 0 622.8zM535.2 357.6c0-48 39.602-86.398 87.602-86.398s86.398 39.602 85.199 87.602c0 48-39.602 87.602-86.398 86.398-48-.004-87.602-39.602-86.402-87.602zm210 499.2c-2.398 7.2-7.2 15.602-12 20.398-31.199 32.398-69.602 50.398-114 51.602-21.602 0-42 0-63.602-3.602-34.801-4.8-79.199-48-72-93.602 4.8-31.199 9.602-62.398 14.398-93.602 9.602-54 19.199-108 28.801-162 0-3.601 1.2-7.199 1.2-10.8 0-22.802-7.2-31.2-30-33.603-9.602-1.199-19.2-2.398-28.802-4.8-10.8-3.602-15.602-13.2-15.602-21.602 1.2-9.602 7.2-15.602 19.2-18 6-1.2 13.198-1.2 19.198-1.2h163.2c20.397 0 32.397 9.602 32.397 30 0 16.801-2.398 33.602-6 50.398-10.8 62.398-22.8 123.6-33.602 186-3.601 20.398-8.398 40.801-10.8 61.2-1.2 9.601 0 20.397 2.398 30 3.601 13.198 13.199 20.397 26.398 18 10.8-1.2 21.602-4.801 32.398-9.602 8.398-3.602 15.602-9.602 24-12 15.617-5.988 26.418 3.613 22.816 16.812z"}))},xm=function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M6.618 2.431a1.627 1.627 0 1 1-3.253 0 1.627 1.627 0 0 1 3.253 0",fill:"#949494"}),React.createElement("path",{d:"M6.463 2.43a1.48 1.48 0 0 1-.966 1.382 1.49 1.49 0 0 1-1.64-.449 1.48 1.48 0 0 1-.12-1.698A1.48 1.48 0 0 1 5.275.987a1.49 1.49 0 0 1 1.189 1.444c.001.201.314.201.312 0A1.81 1.81 0 0 0 5.6.754a1.79 1.79 0 0 0-1.976.538 1.8 1.8 0 0 0-.155 2.062c.39.642 1.155.969 1.889.822.82-.166 1.412-.916 1.419-1.745 0-.202-.313-.202-.314 0m.155 5.571a1.627 1.627 0 1 1-3.253 0 1.627 1.627 0 0 1 3.253 0",fill:"#949494"}),React.createElement("path",{d:"M6.463 8a1.48 1.48 0 0 1-.966 1.382 1.49 1.49 0 0 1-1.64-.448 1.48 1.48 0 0 1-.12-1.699 1.48 1.48 0 0 1 1.537-.678 1.49 1.49 0 0 1 1.189 1.444c.001.201.314.201.312 0A1.81 1.81 0 0 0 5.6 6.324a1.79 1.79 0 0 0-1.976.538 1.8 1.8 0 0 0-.155 2.062c.39.643 1.155.97 1.889.822.82-.165 1.412-.915 1.419-1.745 0-.202-.313-.202-.314 0m.155 5.571a1.627 1.627 0 1 1-3.253 0 1.627 1.627 0 0 1 3.253 0",fill:"#949494"}),React.createElement("path",{d:"M6.463 13.571a1.48 1.48 0 0 1-.966 1.381 1.49 1.49 0 0 1-1.64-.448 1.48 1.48 0 0 1-.12-1.698 1.48 1.48 0 0 1 1.537-.678 1.49 1.49 0 0 1 1.189 1.443c.001.202.314.202.312 0A1.81 1.81 0 0 0 5.6 11.895a1.79 1.79 0 0 0-1.976.537 1.8 1.8 0 0 0-.155 2.063c.39.642 1.155.968 1.889.822.82-.166 1.412-.916 1.419-1.746 0-.201-.313-.201-.314 0m6.171-11.14a1.626 1.626 0 1 1-3.253 0 1.626 1.626 0 0 1 3.253 0",fill:"#949494"}),React.createElement("path",{d:"M12.478 2.43a1.48 1.48 0 0 1-.965 1.382 1.49 1.49 0 0 1-1.641-.449 1.48 1.48 0 0 1-.119-1.698A1.48 1.48 0 0 1 11.29.987a1.49 1.49 0 0 1 1.19 1.444c0 .201.313.201.312 0A1.81 1.81 0 0 0 11.616.754a1.79 1.79 0 0 0-1.977.538 1.8 1.8 0 0 0-.154 2.062c.39.642 1.154.969 1.889.822.82-.166 1.412-.916 1.418-1.745 0-.202-.312-.202-.314 0m.156 5.571a1.626 1.626 0 1 1-3.253 0 1.626 1.626 0 0 1 3.253 0",fill:"#949494"}),React.createElement("path",{d:"M12.478 8a1.48 1.48 0 0 1-.965 1.382 1.49 1.49 0 0 1-1.641-.448 1.48 1.48 0 0 1-.119-1.699 1.48 1.48 0 0 1 1.536-.678 1.49 1.49 0 0 1 1.19 1.444c0 .201.313.201.312 0a1.81 1.81 0 0 0-1.175-1.677 1.79 1.79 0 0 0-1.977.538 1.8 1.8 0 0 0-.154 2.062c.39.643 1.154.97 1.889.822.82-.165 1.412-.915 1.418-1.745 0-.202-.312-.202-.314 0m.156 5.571a1.627 1.627 0 1 1-3.253 0 1.627 1.627 0 0 1 3.253 0",fill:"#949494"}),React.createElement("path",{d:"M12.478 13.571a1.48 1.48 0 0 1-.965 1.381 1.49 1.49 0 0 1-1.641-.448 1.48 1.48 0 0 1-.119-1.698 1.48 1.48 0 0 1 1.536-.678 1.49 1.49 0 0 1 1.19 1.443c0 .202.313.202.312 0a1.81 1.81 0 0 0-1.175-1.676 1.79 1.79 0 0 0-1.977.537 1.8 1.8 0 0 0-.154 2.063c.39.642 1.154.968 1.889.822.82-.166 1.412-.916 1.418-1.746 0-.201-.312-.201-.314 0",fill:"#949494"}))};function Sm(e){return Sm="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},Sm(e)}function Em(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 km(e,t,n){return function(e,t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}}(e=[...e],t,n),e}function Rm(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}(0,a.memo)(function(e){var t=e.label,n=e.attributes,r=e.setAttributes,i=void 0===r||r,o=e.attributesKey,s=e.onChange,l=void 0!==s&&s,c=e.updated,u=void 0!==c&&c,d=e.enableInfoIcon,p=void 0!==d&&d,h=e.InfoText,f=void 0===h?"":h,m=e.onlyPro,g=void 0!==m&&m,O=e.demoLink,v=void 0===O?"https://easyaccordion.io/pricing/":O,b=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Em(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)?Em(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)(!1),2),y=b[0],w=b[1],x=function(){w(function(e){return!e})};return React.createElement("div",{className:"sp-eab-toggle sp-eab-component-mb".concat(u?" updated-toggle":"").concat(p?" sp-eab-toggle-info-icon":"").concat(g?" eab-only-pro-toggle":"")},g&&!u&&React.createElement("div",{className:"sp-eab-toggle-left sp-d-flex sp-align-i-center"},React.createElement("span",{className:"eab-pro-title"},t),v?React.createElement("a",{className:"eab-pro-badge",href:v,target:"_blank "},"(Pro)"):React.createElement("span",{className:"eab-pro-badge"},"(Pro)")),(u||p)&&React.createElement("div",{className:"sp-eab-toggle-left"},u&&React.createElement(xm,null),g?React.createElement("div",{className:"sp-eab-toggle-left"},React.createElement("span",{className:"eab-pro-title"},t),g&&React.createElement("span",{className:"eab-pro-badge"},"(Pro)")):React.createElement("span",null,t),p&&React.createElement("span",{className:"toggle-info-icon",onMouseEnter:x,onMouseLeave:x},React.createElement(wm,null))),p&&React.createElement("div",{onMouseEnter:function(){return w(!0)},onMouseLeave:function(){return w(!1)},className:"toggle-info"},React.createElement("div",{className:"toggle-info-popup ".concat(y?"show":"")},React.createElement(f,null))),React.createElement(Fc.ToggleControl,{label:u||p||g?"":t,checked:n,onChange:function(e){return l?l(!e):i(function(e,t,n){return(t=function(e){var t=function(e){if("object"!=Sm(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Sm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},o,!n))},__nextHasNoMarginBottom:!0}))});var Cm=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),Pm=()=>Math.random().toString(36).substring(7).split("").join("."),Am={INIT:`@@redux/INIT${Pm()}`,REPLACE:`@@redux/REPLACE${Pm()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Pm()}`};function Qm(e,t,n){if("function"!=typeof e)throw new Error(Rm(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Rm(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Rm(1));return n(Qm)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach((e,t)=>{a.set(t,e)}))}function u(){if(l)throw new Error(Rm(3));return i}function d(e){if("function"!=typeof e)throw new Error(Rm(4));if(l)throw new Error(Rm(5));let t=!0;c();const n=s++;return a.set(n,e),function(){if(t){if(l)throw new Error(Rm(6));t=!1,c(),a.delete(n),o=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Rm(7));if(void 0===e.type)throw new Error(Rm(8));if("string"!=typeof e.type)throw new Error(Rm(17));if(l)throw new Error(Rm(9));try{l=!0,i=r(i,e)}finally{l=!1}return(o=a).forEach(e=>{e()}),e}return p({type:Am.INIT}),{dispatch:p,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Rm(10));r=e,p({type:Am.REPLACE})},[Cm]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Rm(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Cm](){return this}}}}}function Tm(e,t){return function(...n){return t(e.apply(this,n))}}function Mm(e,t){if("function"==typeof e)return Tm(e,t);if("object"!=typeof e||null===e)throw new Error(Rm(16));const n={};for(const r in e){const i=e[r];"function"==typeof i&&(n[r]=Tm(i,t))}return n}function _m(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}n(418);var Im=c.version.startsWith("19"),$m=Symbol.for(Im?"react.transitional.element":"react.element"),Dm=Symbol.for("react.portal"),Lm=Symbol.for("react.fragment"),Nm=Symbol.for("react.strict_mode"),zm=Symbol.for("react.profiler"),jm=Symbol.for("react.consumer"),Bm=Symbol.for("react.context"),Zm=Symbol.for("react.forward_ref"),Xm=Symbol.for("react.suspense"),Vm=Symbol.for("react.suspense_list"),Fm=Symbol.for("react.memo"),qm=Symbol.for("react.lazy"),Wm=Zm,Gm=Fm;function Hm(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s,l,c,u,d,p=!1;return function(h,f){return p?function(p,h){const f=!o(h,l),m=!i(p,s,h,l);return s=p,l=h,f&&m?(c=e(s,l),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):f?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(d=n(c,u,l)),d}():d}(h,f):(s=h,l=f,c=e(s,l),u=t(r,l),d=n(c,u,l),p=!0,d)}}function Um(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function Ym(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Km(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Ym(e);let i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Ym(i),i=r(t,n)),i},r}}function Jm(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function eg(e,t,n){return{...n,...e,...t}}var tg={notify(){},get:()=>[]};function ng(e,t){let n,r=tg,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=tg)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}var rg=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),ig=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),og=(()=>rg||ig?c.useLayoutEffect:c.useEffect)();function ag(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function sg(e,t){if(ag(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!ag(e[n[r]],t[n[r]]))return!1;return!0}var lg={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},cg={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ug={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},dg={[Wm]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[Gm]:ug};function pg(e){return function(e){if("object"==typeof e&&null!==e){const{$$typeof:t}=e;switch(t){case $m:switch(e=e.type){case Lm:case zm:case Nm:case Xm:case Vm:return e;default:switch(e=e&&e.$$typeof){case Bm:case Zm:case qm:case Fm:case jm:return e;default:return t}}case Dm:return t}}}(e)===Fm?ug:dg[e.$$typeof]||lg}var hg=Object.defineProperty,fg=Object.getOwnPropertyNames,mg=Object.getOwnPropertySymbols,gg=Object.getOwnPropertyDescriptor,Og=Object.getPrototypeOf,vg=Object.prototype;function bg(e,t){if("string"!=typeof t){if(vg){const n=Og(t);n&&n!==vg&&bg(e,n)}let n=fg(t);mg&&(n=n.concat(mg(t)));const r=pg(e),i=pg(t);for(let o=0;o<n.length;++o){const a=n[o];if(!(cg[a]||i&&i[a]||r&&r[a])){const n=gg(t,a);try{hg(e,a,n)}catch(e){}}}}return e}var yg=Symbol.for("react-redux-context"),wg="undefined"!=typeof globalThis?globalThis:{};function xg(){if(!c.createContext)return{};const e=wg[yg]??=new Map;let t=e.get(c.createContext);return t||(t=c.createContext(null),e.set(c.createContext,t)),t}var Sg=xg(),Eg=[null,null];function kg(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function Rg(e,t){return e===t}var Cg=function(e,t,n,{pure:r,areStatesEqual:i=Rg,areOwnPropsEqual:o=sg,areStatePropsEqual:a=sg,areMergedPropsEqual:s=sg,forwardRef:l=!1,context:u=Sg}={}){const d=u,p=function(e){return e?"function"==typeof e?Km(e):Jm(e,"mapStateToProps"):Um(()=>({}))}(e),h=function(e){return e&&"object"==typeof e?Um(t=>function(e,t){const n={};for(const r in e){const i=e[r];"function"==typeof i&&(n[r]=(...e)=>t(i(...e)))}return n}(e,t)):e?"function"==typeof e?Km(e):Jm(e,"mapDispatchToProps"):Um(e=>({dispatch:e}))}(t),f=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i,o=!1;return function(t,n,a){const s=e(t,n,a);return o?r(s,i)||(i=s):(o=!0,i=s),i}}}(e):Jm(e,"mergeProps"):()=>eg}(n),m=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:h,initMergeProps:f,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:s};function u(t){const[n,i,o]=c.useMemo(()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]},[t]),a=c.useMemo(()=>d,[n,d]),s=c.useContext(a),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(s)&&Boolean(s.store),p=l?t.store:s.store,h=u?s.getServerState:p.getState,f=c.useMemo(()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){return Hm(t(e,i),n(e,i),r(e,i),e,i)}(p.dispatch,r),[p]),[g,O]=c.useMemo(()=>{if(!m)return Eg;const e=ng(p,l?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[p,l,s]),v=c.useMemo(()=>l?s:{...s,subscription:g},[l,s,g]),b=c.useRef(void 0),y=c.useRef(o),w=c.useRef(void 0),x=c.useRef(!1),S=c.useRef(!1),E=c.useRef(void 0);og(()=>(S.current=!0,()=>{S.current=!1}),[]);const k=c.useMemo(()=>()=>w.current&&o===y.current?w.current:f(p.getState(),o),[p,o]),R=c.useMemo(()=>e=>g?function(e,t,n,r,i,o,a,s,l,c,u){if(!e)return()=>{};let d=!1,p=null;const h=()=>{if(d||!s.current)return;const e=t.getState();let n,h;try{n=r(e,i.current)}catch(e){h=e,p=e}h||(p=null),n===o.current?a.current||c():(o.current=n,l.current=n,a.current=!0,u())};return n.onStateChange=h,n.trySubscribe(),h(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(m,p,g,f,y,b,x,S,w,O,e):()=>{},[g]);var C,P;let A;C=kg,P=[y,b,x,o,w,O],og(()=>C(...P),void 0);try{A=c.useSyncExternalStore(R,k,h?()=>f(h(),o):k)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}og(()=>{E.current=void 0,w.current=void 0,b.current=A});const Q=c.useMemo(()=>c.createElement(e,{...A,ref:i}),[i,e,A]);return c.useMemo(()=>m?c.createElement(a.Provider,{value:v},Q):Q,[a,Q,v])}const g=c.memo(u);if(g.WrappedComponent=e,g.displayName=u.displayName=n,l){const t=c.forwardRef(function(e,t){return c.createElement(g,{...e,reactReduxForwardedRef:t})});return t.displayName=n,t.WrappedComponent=e,bg(t,e)}return bg(g,e)}},Pg=function(e){const{children:t,context:n,serverState:r,store:i}=e,o=c.useMemo(()=>{const e=ng(i);return{store:i,subscription:e,getServerState:r?()=>r:void 0}},[i,r]),a=c.useMemo(()=>i.getState(),[i]);og(()=>{const{subscription:e}=o;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[o,a]);const s=n||Sg;return c.createElement(s.Provider,{value:o},t)},Ag=function(e){var t=e.top,n=e.right,r=e.bottom,i=e.left;return{top:t,right:n,bottom:r,left:i,width:n-i,height:r-t,x:i,y:t,center:{x:(n+i)/2,y:(r+t)/2}}},Qg=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Tg=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},Mg={top:0,right:0,bottom:0,left:0},_g=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?Mg:n,i=e.border,o=void 0===i?Mg:i,a=e.padding,s=void 0===a?Mg:a,l=Ag(Qg(t,r)),c=Ag(Tg(t,o)),u=Ag(Tg(c,s));return{marginBox:l,borderBox:Ag(t),paddingBox:c,contentBox:u,margin:r,border:o,padding:s}},Ig=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(){throw new Error("Invariant failed")}(),n},$g=function(e,t){var n,r,i=e.borderBox,o=e.border,a=e.margin,s=e.padding,l=(r=t,{top:(n=i).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return _g({borderBox:l,border:o,margin:a,padding:s})},Dg=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),$g(e,t)},Lg=function(e,t){var n={top:Ig(t.marginTop),right:Ig(t.marginRight),bottom:Ig(t.marginBottom),left:Ig(t.marginLeft)},r={top:Ig(t.paddingTop),right:Ig(t.paddingRight),bottom:Ig(t.paddingBottom),left:Ig(t.paddingLeft)},i={top:Ig(t.borderTopWidth),right:Ig(t.borderRightWidth),bottom:Ig(t.borderBottomWidth),left:Ig(t.borderLeftWidth)};return _g({borderBox:e,margin:n,padding:r,border:i})},Ng=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Lg(t,n)};const zg=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t=i,n||(n=requestAnimationFrame(function(){n=null,e.apply(void 0,t)}))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function jg(e,t){}function Bg(){}function Zg(e,t,n){const r=t.map(t=>{const r=(i=n,o=t.options,{...i,...o});var i,o;return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}});return function(){r.forEach(e=>{e()})}}jg.bind(null,"warn"),jg.bind(null,"error");class Xg extends Error{}function Vg(e,t){throw new Xg("Invariant failed")}Xg.prototype.toString=function(){return this.message};class Fg extends u().Component{constructor(...e){super(...e),this.callbacks=null,this.unbind=Bg,this.onWindowError=e=>{const t=this.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof Xg&&e.preventDefault()},this.getCallbacks=()=>{if(!this.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return this.callbacks},this.setCallbacks=e=>{this.callbacks=e}}componentDidMount(){this.unbind=Zg(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(!(e instanceof Xg))throw e;this.setState({})}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}const qg=e=>e+1,Wg=(e,t)=>{const n=e.droppableId===t.droppableId,r=qg(e.index),i=qg(t.index);return n?`\n You have moved the item from position ${r}\n to position ${i}\n `:`\n You have moved the item from position ${r}\n in list ${e.droppableId}\n to list ${t.droppableId}\n in position ${i}\n `},Gg=(e,t,n)=>t.droppableId===n.droppableId?`\n The item ${e}\n has been combined with ${n.draggableId}`:`\n The item ${e}\n in list ${t.droppableId}\n has been combined with ${n.draggableId}\n in list ${n.droppableId}\n `,Hg=e=>`\n The item has returned to its starting position\n of ${qg(e.index)}\n`,Ug="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",Yg=e=>`\n You have lifted an item in position ${qg(e.source.index)}\n`,Kg=e=>{const t=e.destination;if(t)return Wg(e.source,t);const n=e.combine;return n?Gg(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Jg=e=>{if("CANCEL"===e.reason)return`\n Movement cancelled.\n ${Hg(e.source)}\n `;const t=e.destination,n=e.combine;return t?`\n You have dropped the item.\n ${Wg(e.source,t)}\n `:n?`\n You have dropped the item.\n ${Gg(e.draggableId,e.source,n)}\n `:`\n The item has been dropped while not over a drop area.\n ${Hg(e.source)}\n `};function eO(e,t){return e===t||!(!Number.isNaN(e)||!Number.isNaN(t))}function tO(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!eO(e[n],t[n]))return!1;return!0}function nO(e,t){const n=(0,c.useState)(()=>({inputs:t,result:e()}))[0],r=(0,c.useRef)(!0),i=(0,c.useRef)(n),o=r.current||Boolean(t&&i.current.inputs&&tO(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,c.useEffect)(()=>{r.current=!1,i.current=o},[o]),o.result}function rO(e,t){return nO(()=>e,t)}const iO={x:0,y:0},oO=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),aO=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),sO=(e,t)=>e.x===t.x&&e.y===t.y,lO=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),cO=(e,t,n=0)=>"x"===e?{x:t,y:n}:{x:n,y:t},uO=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),dO=(e,t)=>Math.min(...t.map(t=>uO(e,t))),pO=e=>t=>({x:e(t.x),y:e(t.y)}),hO=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),fO=e=>[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}],mO=(e,t)=>t&&t.shouldClipSubject?((e,t)=>{const n=Ag({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n})(t.pageMarginBox,e):Ag(e);var gO=({page:e,withPlaceholder:t,axis:n,frame:r})=>{const i=((e,t)=>t?hO(e,t.scroll.diff.displacement):e)(e.marginBox,r),o=((e,t,n)=>n&&n.increasedBy?{...e,[t.end]:e[t.end]+n.increasedBy[t.line]}:e)(i,n,t);return{page:e,withPlaceholder:t,active:mO(o,r)}},OO=(e,t)=>{e.frame||Vg();const n=e.frame,r=aO(t,n.scroll.initial),i=lO(r),o={...n,scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}},a=gO({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return{...e,frame:o,subject:a}};function vO(e,t=tO){let n=null;function r(...r){if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;const i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}const bO=vO(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),yO=vO(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),wO=vO(e=>Object.values(e)),xO=vO(e=>Object.values(e));var SO=vO((e,t)=>{const n=xO(t).filter(t=>e===t.descriptor.droppableId).sort((e,t)=>e.descriptor.index-t.descriptor.index);return n});function EO(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function kO(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var RO=vO((e,t)=>t.filter(t=>t.descriptor.id!==e.descriptor.id)),CO=(e,t)=>e.descriptor.droppableId===t.descriptor.id;const PO={point:iO,value:0},AO={invisible:{},visible:{},all:[]},QO={displaced:AO,displacedBy:PO,at:null};var TO=(e,t)=>n=>e<=n&&n<=t,MO=e=>{const t=TO(e.top,e.bottom),n=TO(e.left,e.right);return r=>{if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;const i=t(r.top)||t(r.bottom),o=n(r.left)||n(r.right);if(i&&o)return!0;const a=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;return!(!a||!s)||(a&&o||s&&i)}},_O=e=>{const t=TO(e.top,e.bottom),n=TO(e.left,e.right);return e=>t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)};const IO={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},$O={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},DO=({target:e,destination:t,viewport:n,withDroppableDisplacement:r,isVisibleThroughFrameFn:i})=>{const o=r?((e,t)=>{const n=t.frame?t.frame.scroll.diff.displacement:iO;return hO(e,n)})(e,t):e;return((e,t,n)=>!!t.subject.active&&n(t.subject.active)(e))(o,t,i)&&((e,t,n)=>n(t)(e))(o,n,i)},LO=e=>DO({...e,isVisibleThroughFrameFn:_O});function NO({afterDragging:e,destination:t,displacedBy:n,viewport:r,forceShouldAnimate:i,last:o}){return e.reduce(function(e,a){const s=function(e,t){const n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return Ag(Qg(n,r))}(a,n),l=a.descriptor.id;var c;if(e.all.push(l),c={target:s,destination:t,viewport:r,withDroppableDisplacement:!0},!DO({...c,isVisibleThroughFrameFn:MO}))return e.invisible[a.descriptor.id]=!0,e;const u=((e,t,n)=>{if("boolean"==typeof n)return n;if(!t)return!0;const{invisible:r,visible:i}=t;if(r[e])return!1;const o=i[e];return!o||o.shouldAnimate})(l,o,i),d={draggableId:l,shouldAnimate:u};return e.visible[l]=d,e},{all:[],visible:{},invisible:{}})}function zO({insideDestination:e,inHomeList:t,displacedBy:n,destination:r}){const i=function(e,t){if(!e.length)return 0;const n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(e,{inHomeList:t});return{displaced:AO,displacedBy:n,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:i}}}}function jO({draggable:e,insideDestination:t,destination:n,viewport:r,displacedBy:i,last:o,index:a,forceShouldAnimate:s}){const l=CO(e,n);if(null==a)return zO({insideDestination:t,inHomeList:l,displacedBy:i,destination:n});const c=t.find(e=>e.descriptor.index===a);if(!c)return zO({insideDestination:t,inHomeList:l,displacedBy:i,destination:n});const u=RO(e,t),d=t.indexOf(c);return{displaced:NO({afterDragging:u.slice(d),destination:n,displacedBy:i,last:o,viewport:r.frame,forceShouldAnimate:s}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:a}}}}function BO(e,t){return Boolean(t.effected[e])}const ZO=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,XO=(e,t,n)=>t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2,VO=({axis:e,moveRelativeTo:t,isMoving:n})=>cO(e.line,t.marginBox[e.end]+ZO(e,n),XO(e,t.marginBox,n)),FO=({axis:e,moveRelativeTo:t,isMoving:n})=>cO(e.line,t.marginBox[e.start]-((e,t)=>t.margin[e.end]+t.borderBox[e.size]/2)(e,n),XO(e,t.marginBox,n));var qO=(e,t)=>{const n=e.frame;return n?oO(t,n.scroll.diff.displacement):t},WO=e=>{const t=(({impact:e,draggable:t,droppable:n,draggables:r,afterCritical:i})=>{const o=t.page.borderBox.center,a=e.at;return n&&a?"REORDER"===a.type?(({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:i})=>{const o=SO(r.descriptor.id,n),a=t.page,s=r.axis;if(!o.length)return(({axis:e,moveInto:t,isMoving:n})=>cO(e.line,t.contentBox[e.start]+ZO(e,n),XO(e,t.contentBox,n)))({axis:s,moveInto:r.page,isMoving:a});const{displaced:l,displacedBy:c}=e,u=l.all[0];if(u){const e=n[u];if(BO(u,i))return FO({axis:s,moveRelativeTo:e.page,isMoving:a});const t=$g(e.page,c.point);return FO({axis:s,moveRelativeTo:t,isMoving:a})}const d=o[o.length-1];if(d.descriptor.id===t.descriptor.id)return a.borderBox.center;if(BO(d.descriptor.id,i)){const e=$g(d.page,lO(i.displacedBy.point));return VO({axis:s,moveRelativeTo:e,isMoving:a})}return VO({axis:s,moveRelativeTo:d.page,isMoving:a})})({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:i}):(({afterCritical:e,impact:t,draggables:n})=>{const r=kO(t);r||Vg();const i=r.draggableId,o=n[i].page.borderBox.center,a=(({displaced:e,afterCritical:t,combineWith:n,displacedBy:r})=>{const i=Boolean(e.visible[n]||e.invisible[n]);return BO(n,t)?i?iO:lO(r.point):i?r.point:iO})({displaced:t.displaced,afterCritical:e,combineWith:i,displacedBy:t.displacedBy});return oO(o,a)})({impact:e,draggables:r,afterCritical:i}):o})(e),n=e.droppable;return n?qO(n,t):t},GO=(e,t)=>{const n=aO(t,e.scroll.initial),r=lO(n);return{frame:Ag({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function HO(e,t){return e.map(e=>t[e])}var UO=({pageBorderBoxCenter:e,draggable:t,viewport:n})=>{const r=((e,t)=>oO(e.scroll.diff.displacement,t))(n,e),i=aO(r,t.page.borderBox.center);return oO(t.client.borderBox.center,i)},YO=({draggable:e,destination:t,newPageBorderBoxCenter:n,viewport:r,withDroppableDisplacement:i,onlyOnMainAxis:o=!1})=>{const a=aO(n,e.page.borderBox.center),s={target:hO(e.page.borderBox,a),destination:t,withDroppableDisplacement:i,viewport:r};return o?(e=>{return DO({...e,isVisibleThroughFrameFn:(t=e.destination.axis,e=>{const n=TO(e.top,e.bottom),r=TO(e.left,e.right);return e=>t===IO?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)})});var t})(s):LO(s)},KO=({isMovingForward:e,draggable:t,destination:n,draggables:r,previousImpact:i,viewport:o,previousPageBorderBoxCenter:a,previousClientSelection:s,afterCritical:l})=>{if(!n.isEnabled)return null;const c=SO(n.descriptor.id,r),u=CO(t,n),d=(({isMovingForward:e,draggable:t,destination:n,insideDestination:r,previousImpact:i})=>{if(!n.isCombineEnabled)return null;if(!EO(i))return null;function o(e){const t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return{...i,at:t}}const a=i.displaced.all,s=a.length?a[0]:null;if(e)return s?o(s):null;const l=RO(t,r);if(!s)return l.length?o(l[l.length-1].descriptor.id):null;const c=l.findIndex(e=>e.descriptor.id===s);-1===c&&Vg();const u=c-1;return u<0?null:o(l[u].descriptor.id)})({isMovingForward:e,draggable:t,destination:n,insideDestination:c,previousImpact:i})||(({isMovingForward:e,isInHomeList:t,draggable:n,draggables:r,destination:i,insideDestination:o,previousImpact:a,viewport:s,afterCritical:l})=>{const c=a.at;if(c||Vg(),"REORDER"===c.type){const r=(({isMovingForward:e,isInHomeList:t,insideDestination:n,location:r})=>{if(!n.length)return null;const i=r.index,o=e?i+1:i-1,a=n[0].descriptor.index,s=n[n.length-1].descriptor.index;return o<a||o>(t?s:s+1)?null:o})({isMovingForward:e,isInHomeList:t,location:c.destination,insideDestination:o});return null==r?null:jO({draggable:n,insideDestination:o,destination:i,viewport:s,last:a.displaced,displacedBy:a.displacedBy,index:r})}const u=(({isMovingForward:e,destination:t,draggables:n,combine:r,afterCritical:i})=>{if(!t.isCombineEnabled)return null;const o=r.draggableId,a=n[o].descriptor.index;return BO(o,i)?e?a:a-1:e?a+1:a})({isMovingForward:e,destination:i,displaced:a.displaced,draggables:r,combine:c.combine,afterCritical:l});return null==u?null:jO({draggable:n,insideDestination:o,destination:i,viewport:s,last:a.displaced,displacedBy:a.displacedBy,index:u})})({isMovingForward:e,isInHomeList:u,draggable:t,draggables:r,destination:n,insideDestination:c,previousImpact:i,viewport:o,afterCritical:l});if(!d)return null;const p=WO({impact:d,draggable:t,droppable:n,draggables:r,afterCritical:l});if(YO({draggable:t,destination:n,newPageBorderBoxCenter:p,viewport:o.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:UO({pageBorderBoxCenter:p,draggable:t,viewport:o}),impact:d,scrollJumpRequest:null};const h=aO(p,a),f=(({impact:e,viewport:t,destination:n,draggables:r,maxScrollChange:i})=>{const o=GO(t,oO(t.scroll.current,i)),a=n.frame?OO(n,oO(n.frame.scroll.current,i)):n,s=e.displaced,l=NO({afterDragging:HO(s.all,r),destination:n,displacedBy:e.displacedBy,viewport:o.frame,last:s,forceShouldAnimate:!1}),c=NO({afterDragging:HO(s.all,r),destination:a,displacedBy:e.displacedBy,viewport:t.frame,last:s,forceShouldAnimate:!1}),u={},d={},p=[s,l,c];return s.all.forEach(e=>{const t=function(e,t){for(let n=0;n<t.length;n++){const r=t[n].visible[e];if(r)return r}return null}(e,p);t?d[e]=t:u[e]=!0}),{...e,displaced:{all:s.all,invisible:u,visible:d}}})({impact:d,viewport:o,destination:n,draggables:r,maxScrollChange:h});return{clientSelection:s,impact:f,scrollJumpRequest:h}};const JO=e=>{const t=e.subject.active;return t||Vg(),t},ev=(e,t)=>{const n=e.page.borderBox.center;return BO(e.descriptor.id,t)?aO(n,t.displacedBy.point):n},tv=(e,t)=>{const n=e.page.borderBox;return BO(e.descriptor.id,t)?hO(n,lO(t.displacedBy.point)):n};var nv=vO(function(e,t){const n=t[e.line];return{value:n,point:cO(e.line,n)}});const rv=(e,t)=>({...e,scroll:{...e.scroll,max:t}}),iv=(e,t,n)=>{const r=e.frame;CO(t,e)&&Vg(),e.subject.withPlaceholder&&Vg();const i=nv(e.axis,t.displaceBy).point,o=((e,t,n)=>{const r=e.axis;if("virtual"===e.descriptor.mode)return cO(r.line,t[r.line]);const i=e.subject.page.contentBox[r.size],o=SO(e.descriptor.id,n).reduce((e,t)=>e+t.client.marginBox[r.size],0)+t[r.line]-i;return o<=0?null:cO(r.line,o)})(e,i,n),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){const t=gO({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame});return{...e,subject:t}}const s=o?oO(r.scroll.max,o):r.scroll.max,l=rv(r,s),c=gO({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l});return{...e,subject:c,frame:l}};var ov=e=>{const t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},av=({state:e,type:t})=>{const n=((e,t)=>{const n=ov(e);return n?t[n]:null})(e.impact,e.dimensions.droppables),r=Boolean(n),i=e.dimensions.droppables[e.critical.droppable.id],o=n||i,a=o.axis.direction,s="vertical"===a&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===a&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(s&&!r)return null;const l="MOVE_DOWN"===t||"MOVE_RIGHT"===t,c=e.dimensions.draggables[e.critical.draggable.id],u=e.current.page.borderBoxCenter,{draggables:d,droppables:p}=e.dimensions;return s?KO({isMovingForward:l,previousPageBorderBoxCenter:u,draggable:c,destination:o,draggables:d,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):(({isMovingForward:e,previousPageBorderBoxCenter:t,draggable:n,isOver:r,draggables:i,droppables:o,viewport:a,afterCritical:s})=>{const l=(({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:r,viewport:i})=>{const o=n.subject.active;if(!o)return null;const a=n.axis,s=TO(o[a.start],o[a.end]),l=wO(r).filter(e=>e!==n).filter(e=>e.isEnabled).filter(e=>Boolean(e.subject.active)).filter(e=>MO(i.frame)(JO(e))).filter(t=>{const n=JO(t);return e?o[a.crossAxisEnd]<n[a.crossAxisEnd]:n[a.crossAxisStart]<o[a.crossAxisStart]}).filter(e=>{const t=JO(e),n=TO(t[a.start],t[a.end]);return s(t[a.start])||s(t[a.end])||n(o[a.start])||n(o[a.end])}).sort((t,n)=>{const r=JO(t)[a.crossAxisStart],i=JO(n)[a.crossAxisStart];return e?r-i:i-r}).filter((e,t,n)=>JO(e)[a.crossAxisStart]===JO(n[0])[a.crossAxisStart]);if(!l.length)return null;if(1===l.length)return l[0];const c=l.filter(e=>TO(JO(e)[a.start],JO(e)[a.end])(t[a.line]));return 1===c.length?c[0]:c.length>1?c.sort((e,t)=>JO(e)[a.start]-JO(t)[a.start])[0]:l.sort((e,n)=>{const r=dO(t,fO(JO(e))),i=dO(t,fO(JO(n)));return r!==i?r-i:JO(e)[a.start]-JO(n)[a.start]})[0]})({isMovingForward:e,pageBorderBoxCenter:t,source:r,droppables:o,viewport:a});if(!l)return null;const c=SO(l.descriptor.id,i),u=(({pageBorderBoxCenter:e,viewport:t,destination:n,insideDestination:r,afterCritical:i})=>{const o=r.filter(e=>LO({target:tv(e,i),destination:n,viewport:t.frame,withDroppableDisplacement:!0})).sort((t,r)=>{const o=uO(e,qO(n,ev(t,i))),a=uO(e,qO(n,ev(r,i)));return o<a?-1:a<o?1:t.descriptor.index-r.descriptor.index});return o[0]||null})({pageBorderBoxCenter:t,viewport:a,destination:l,insideDestination:c,afterCritical:s}),d=(({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:n,draggable:r,draggables:i,destination:o,viewport:a,afterCritical:s})=>{if(!t){if(n.length)return null;const e={displaced:AO,displacedBy:PO,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:0}}},t=WO({impact:e,draggable:r,droppable:o,draggables:i,afterCritical:s}),l=CO(r,o)?o:iv(o,r,i);return YO({draggable:r,destination:l,newPageBorderBoxCenter:t,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?e:null}const l=Boolean(e[o.axis.line]<=t.page.borderBox.center[o.axis.line]),c=(()=>{const e=t.descriptor.index;return t.descriptor.id===r.descriptor.id||l?e:e+1})(),u=nv(o.axis,r.displaceBy);return jO({draggable:r,insideDestination:n,destination:o,viewport:a,displacedBy:u,last:AO,index:c})})({previousPageBorderBoxCenter:t,destination:l,draggable:n,draggables:i,moveRelativeTo:u,insideDestination:c,viewport:a,afterCritical:s});if(!d)return null;const p=WO({impact:d,draggable:n,droppable:l,draggables:i,afterCritical:s});return{clientSelection:UO({pageBorderBoxCenter:p,draggable:n,viewport:a}),impact:d,scrollJumpRequest:null}})({isMovingForward:l,previousPageBorderBoxCenter:u,draggable:c,isOver:o,draggables:d,droppables:p,viewport:e.viewport,afterCritical:e.afterCritical})};function sv(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function lv(e){const t=TO(e.top,e.bottom),n=TO(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}const cv=(e,t)=>Ag(hO(e,t));function uv({displaced:e,id:t}){return Boolean(e.visible[t]||e.invisible[t])}var dv=({pageOffset:e,draggable:t,draggables:n,droppables:r,previousImpact:i,viewport:o,afterCritical:a})=>{const s=cv(t.page.borderBox,e),l=function({pageBorderBox:e,draggable:t,droppables:n}){const r=wO(n).filter(t=>{if(!t.isEnabled)return!1;const n=t.subject.active;if(!n)return!1;if(i=n,!((r=e).left<i.right&&r.right>i.left&&r.top<i.bottom&&r.bottom>i.top))return!1;var r,i;if(lv(n)(e.center))return!0;const o=t.axis,a=n.center[o.crossAxisLine],s=e[o.crossAxisStart],l=e[o.crossAxisEnd],c=TO(n[o.crossAxisStart],n[o.crossAxisEnd]),u=c(s),d=c(l);return!u&&!d||(u?s<a:l>a)});return r.length?1===r.length?r[0].descriptor.id:function({pageBorderBox:e,draggable:t,candidates:n}){const r=t.page.borderBox.center,i=n.map(t=>{const n=t.axis,i=cO(t.axis.line,e.center[n.line],t.page.borderBox.center[n.crossAxisLine]);return{id:t.descriptor.id,distance:uO(r,i)}}).sort((e,t)=>t.distance-e.distance);return i[0]?i[0].id:null}({pageBorderBox:e,draggable:t,candidates:r}):null}({pageBorderBox:s,draggable:t,droppables:r});if(!l)return QO;const c=r[l],u=SO(c.descriptor.id,n),d=((e,t)=>{const n=e.frame;return n?cv(t,n.scroll.diff.value):t})(c,s);return(({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:n,destination:r,insideDestination:i,afterCritical:o})=>{if(!r.isCombineEnabled)return null;const a=r.axis,s=nv(r.axis,e.displaceBy),l=s.value,c=t[a.start],u=t[a.end],d=RO(e,i).find(e=>{const t=e.descriptor.id,r=e.page.borderBox,i=r[a.size]/4,s=BO(t,o),d=uv({displaced:n.displaced,id:t});return s?d?u>r[a.start]+i&&u<r[a.end]-i:c>r[a.start]-l+i&&c<r[a.end]-l-i:d?u>r[a.start]+l+i&&u<r[a.end]+l-i:c>r[a.start]+i&&c<r[a.end]-i});return d?{displacedBy:s,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:r.descriptor.id}}}:null})({pageBorderBoxWithDroppableScroll:d,draggable:t,previousImpact:i,destination:c,insideDestination:u,afterCritical:a})||(({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:n,insideDestination:r,last:i,viewport:o,afterCritical:a})=>{const s=n.axis,l=nv(n.axis,t.displaceBy),c=l.value,u=e[s.start],d=e[s.end],p=RO(t,r).find(e=>{const t=e.descriptor.id,n=e.page.borderBox.center[s.line],r=BO(t,a),o=uv({displaced:i,id:t});return r?o?d<=n:u<n-c:o?d<=n+c:u<n})||null,h=function({draggable:e,closest:t,inHomeList:n}){return t?n&&t.descriptor.index>e.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}({draggable:t,closest:p,inHomeList:CO(t,n)});return jO({draggable:t,insideDestination:r,destination:n,viewport:o,last:i,displacedBy:l,index:h})})({pageBorderBoxWithDroppableScroll:d,draggable:t,destination:c,insideDestination:u,last:i.displaced,viewport:o,afterCritical:a})},pv=(e,t)=>({...e,[t.descriptor.id]:t});var hv=({state:e,clientSelection:t,dimensions:n,viewport:r,impact:i,scrollJumpRequest:o})=>{const a=r||e.viewport,s=n||e.dimensions,l=t||e.current.client.selection,c=aO(l,e.initial.client.selection),u={offset:c,selection:l,borderBoxCenter:oO(e.initial.client.borderBoxCenter,c)},d={selection:oO(u.selection,a.scroll.current),borderBoxCenter:oO(u.borderBoxCenter,a.scroll.current),offset:oO(u.offset,a.scroll.diff.value)},p={client:u,page:d};if("COLLECTING"===e.phase)return{...e,dimensions:s,viewport:a,current:p};const h=s.draggables[e.critical.draggable.id],f=i||dv({pageOffset:d.offset,draggable:h,draggables:s.draggables,droppables:s.droppables,previousImpact:e.impact,viewport:a,afterCritical:e.afterCritical}),m=(({draggable:e,draggables:t,droppables:n,previousImpact:r,impact:i})=>{const o=(({previousImpact:e,impact:t,droppables:n})=>{const r=ov(e),i=ov(t);if(!r)return n;if(r===i)return n;const o=n[r];if(!o.subject.withPlaceholder)return n;const a=(e=>{const t=e.subject.withPlaceholder;t||Vg();const n=e.frame;if(!n){const t=gO({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:t}}const r=t.oldFrameMaxScroll;r||Vg();const i=rv(n,r),o=gO({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null});return{...e,subject:o,frame:i}})(o);return pv(n,a)})({previousImpact:r,impact:i,droppables:n}),a=ov(i);if(!a)return o;const s=n[a];if(CO(e,s))return o;if(s.subject.withPlaceholder)return o;const l=iv(s,e,t);return pv(o,l)})({draggable:h,impact:f,previousImpact:e.impact,draggables:s.draggables,droppables:s.droppables});return{...e,current:p,dimensions:{draggables:s.draggables,droppables:m},impact:f,viewport:a,scrollJumpRequest:o||null,forceShouldAnimate:!o&&null}},fv=({impact:e,viewport:t,draggables:n,destination:r,forceShouldAnimate:i})=>{const o=e.displaced,a=function(e,t){return e.map(e=>t[e])}(o.all,n),s=NO({afterDragging:a,destination:r,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:i,last:o});return{...e,displaced:s}},mv=({impact:e,draggable:t,droppable:n,draggables:r,viewport:i,afterCritical:o})=>{const a=WO({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:o});return UO({pageBorderBoxCenter:a,draggable:t,viewport:i})},gv=({state:e,dimensions:t,viewport:n})=>{"SNAP"!==e.movementMode&&Vg();const r=e.impact,i=n||e.viewport,o=t||e.dimensions,{draggables:a,droppables:s}=o,l=a[e.critical.draggable.id],c=ov(r);c||Vg();const u=s[c],d=fv({impact:r,viewport:i,destination:u,draggables:a}),p=mv({impact:d,draggable:l,droppable:u,draggables:a,viewport:i,afterCritical:e.afterCritical});return hv({impact:d,clientSelection:p,state:e,dimensions:o,viewport:i})},Ov=({draggable:e,home:t,draggables:n,viewport:r})=>{const i=nv(t.axis,e.displaceBy),o=SO(t.descriptor.id,n),a=o.indexOf(e);-1===a&&Vg();const s=o.slice(a+1),l=s.reduce((e,t)=>(e[t.descriptor.id]=!0,e),{}),c={inVirtualList:"virtual"===t.descriptor.mode,displacedBy:i,effected:l};var u;return{impact:{displaced:NO({afterDragging:s,destination:t,displacedBy:i,last:null,viewport:r.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(u=e.descriptor,{index:u.index,droppableId:u.droppableId})}},afterCritical:c}};const vv=e=>"SNAP"===e.movementMode,bv=(e,t,n)=>{const r=((e,t)=>({draggables:e.draggables,droppables:pv(e.droppables,t)}))(e.dimensions,t);return!vv(e)||n?hv({state:e,dimensions:r}):gv({state:e,dimensions:r})};function yv(e){return e.isDragging&&"SNAP"===e.movementMode?{...e,scrollJumpRequest:null}:e}const wv={phase:"IDLE",completed:null,shouldFlush:!1};var xv=(e=wv,t)=>{if("FLUSH"===t.type)return{...wv,shouldFlush:!0};if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Vg();const{critical:n,clientSelection:r,viewport:i,dimensions:o,movementMode:a}=t.payload,s=o.draggables[n.draggable.id],l=o.droppables[n.droppable.id],c={selection:r,borderBoxCenter:s.client.borderBox.center,offset:iO},u={client:c,page:{selection:oO(c.selection,i.scroll.initial),borderBoxCenter:oO(c.selection,i.scroll.initial),offset:oO(c.selection,i.scroll.diff.value)}},d=wO(o.droppables).every(e=>!e.isFixedOnPage),{impact:p,afterCritical:h}=Ov({draggable:s,home:l,draggables:o.draggables,viewport:i});return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:a,dimensions:o,initial:u,current:u,isWindowScrollAllowed:d,impact:p,afterCritical:h,onLiftImpact:p,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Vg(),{...e,phase:"COLLECTING"});if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Vg(),(({state:e,published:t})=>{const n=t.modified.map(t=>{const n=e.dimensions.droppables[t.droppableId];return OO(n,t.scroll)}),r={...e.dimensions.droppables,...bO(n)},i=yO((({additions:e,updatedDroppables:t,viewport:n})=>{const r=n.scroll.diff.value;return e.map(e=>{const i=e.descriptor.droppableId,o=(e=>{const t=e.frame;return t||Vg(),t})(t[i]),a=o.scroll.diff.value,s=(({draggable:e,offset:t,initialWindowScroll:n})=>{const r=$g(e.client,t),i=Dg(r,n);return{...e,placeholder:{...e.placeholder,client:r},client:r,page:i}})({draggable:e,offset:oO(r,a),initialWindowScroll:n.scroll.initial});return s})})({additions:t.additions,updatedDroppables:r,viewport:e.viewport})),o={...e.dimensions.draggables,...i};t.removals.forEach(e=>{delete o[e]});const a={droppables:r,draggables:o},s=ov(e.impact),l=s?a.droppables[s]:null,c=a.draggables[e.critical.draggable.id],u=a.droppables[e.critical.droppable.id],{impact:d,afterCritical:p}=Ov({draggable:c,home:u,draggables:o,viewport:e.viewport}),h=l&&l.isCombineEnabled?e.impact:d,f=dv({pageOffset:e.current.page.offset,draggable:a.draggables[e.critical.draggable.id],draggables:a.draggables,droppables:a.droppables,previousImpact:h,viewport:e.viewport,afterCritical:p}),m={...e,phase:"DRAGGING",impact:f,onLiftImpact:d,dimensions:a,afterCritical:p,forceShouldAnimate:!1};return"COLLECTING"===e.phase?m:{...m,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}})({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;sv(e)||Vg();const{client:n}=t.payload;return sO(n,e.current.client.selection)?e:hv({state:e,clientSelection:n,impact:vv(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return yv(e);if("COLLECTING"===e.phase)return yv(e);sv(e)||Vg();const{id:n,newScroll:r}=t.payload,i=e.dimensions.droppables[n];if(!i)return e;const o=OO(i,r);return bv(e,o,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;sv(e)||Vg();const{id:n,isEnabled:r}=t.payload,i=e.dimensions.droppables[n];i||Vg(),i.isEnabled===r&&Vg();const o={...i,isEnabled:r};return bv(e,o,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;sv(e)||Vg();const{id:n,isCombineEnabled:r}=t.payload,i=e.dimensions.droppables[n];i||Vg(),i.isCombineEnabled===r&&Vg();const o={...i,isCombineEnabled:r};return bv(e,o,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;sv(e)||Vg(),e.isWindowScrollAllowed||Vg();const n=t.payload.newScroll;if(sO(e.viewport.scroll.current,n))return yv(e);const r=GO(e.viewport,n);return vv(e)?gv({state:e,viewport:r}):hv({state:e,viewport:r})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!sv(e))return e;const n=t.payload.maxScroll;if(sO(n,e.viewport.scroll.max))return e;const r={...e.viewport,scroll:{...e.viewport.scroll,max:n}};return{...e,viewport:r}}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Vg();const n=av({state:e,type:t.type});return n?hv({state:e,impact:n.impact,clientSelection:n.clientSelection,scrollJumpRequest:n.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){const n=t.payload.reason;return"COLLECTING"!==e.phase&&Vg(),{...e,phase:"DROP_PENDING",isWaiting:!0,reason:n}}if("DROP_ANIMATE"===t.type){const{completed:n,dropDuration:r,newHomeClientOffset:i}=t.payload;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Vg(),{phase:"DROP_ANIMATING",completed:n,dropDuration:r,newHomeClientOffset:i,dimensions:e.dimensions}}if("DROP_COMPLETE"===t.type){const{completed:e}=t.payload;return{phase:"IDLE",completed:e,shouldFlush:!1}}return e};function Sv(e,t){return e instanceof Object&&"type"in e&&e.type===t}const Ev=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),kv=()=>({type:"COLLECTION_STARTING",payload:null}),Rv=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),Cv=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),Pv=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),Av=e=>({type:"MOVE",payload:e}),Qv=()=>({type:"MOVE_UP",payload:null}),Tv=()=>({type:"MOVE_DOWN",payload:null}),Mv=()=>({type:"MOVE_RIGHT",payload:null}),_v=()=>({type:"MOVE_LEFT",payload:null}),Iv=e=>({type:"DROP_COMPLETE",payload:e}),$v=e=>({type:"DROP",payload:e}),Dv="cubic-bezier(.2,1,.1,1)",Lv=0,Nv=.7,zv=.75,jv={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Bv=`${jv.outOfTheWay}s cubic-bezier(0.2, 0, 0, 1)`,Zv={fluid:`opacity ${Bv}`,snap:`transform ${Bv}, opacity ${Bv}`,drop:e=>{const t=`${e}s ${Dv}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${Bv}`,placeholder:`height ${Bv}, width ${Bv}, margin ${Bv}`},Xv=e=>sO(e,iO)?void 0:`translate(${e.x}px, ${e.y}px)`,Vv=Xv,{minDropTime:Fv,maxDropTime:qv}=jv,Wv=qv-Fv,Gv=({getState:e,dispatch:t})=>n=>r=>{if(!Sv(r,"DROP"))return void n(r);const i=e(),o=r.payload.reason;if("COLLECTING"===i.phase)return void t((a={reason:o},{type:"DROP_PENDING",payload:a}));var a;if("IDLE"===i.phase)return;"DROP_PENDING"===i.phase&&i.isWaiting&&Vg(),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Vg();const s=i.critical,l=i.dimensions,c=l.draggables[i.critical.draggable.id],{impact:u,didDropInsideDroppable:d}=(({draggables:e,reason:t,lastImpact:n,home:r,viewport:i,onLiftImpact:o})=>n.at&&"DROP"===t?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:{...n,displaced:AO},didDropInsideDroppable:!0}:{impact:fv({draggables:e,impact:o,destination:r,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1})({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),p=d?EO(u):null,h=d?kO(u):null,f={index:s.draggable.index,droppableId:s.droppable.id},m={draggableId:c.descriptor.id,type:c.descriptor.type,source:f,reason:o,mode:i.movementMode,destination:p,combine:h},g=(({impact:e,draggable:t,dimensions:n,viewport:r,afterCritical:i})=>{const{draggables:o,droppables:a}=n,s=ov(e),l=s?a[s]:null,c=a[t.descriptor.droppableId],u=mv({impact:e,draggable:t,draggables:o,afterCritical:i,droppable:l||c,viewport:r});return aO(u,t.client.borderBox.center)})({impact:u,draggable:c,dimensions:l,viewport:i.viewport,afterCritical:i.afterCritical}),O={critical:i.critical,afterCritical:i.afterCritical,result:m,impact:u};if(sO(i.current.client.offset,g)&&!Boolean(m.combine))return void t(Iv({completed:O}));const v=(({current:e,destination:t,reason:n})=>{const r=uO(e,t);if(r<=0)return Fv;if(r>=1500)return qv;const i=Fv+Wv*(r/1500);return Number(("CANCEL"===n?.6*i:i).toFixed(2))})({current:i.current.client.offset,destination:g,reason:o});t((e=>({type:"DROP_ANIMATE",payload:e}))({newHomeClientOffset:g,dropDuration:v,completed:O}))};var Hv=()=>({x:window.pageXOffset,y:window.pageYOffset});const Uv=e=>{const t=function({onWindowScroll:e}){const t=zg(function(){e(Hv())}),n=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:t=>{t.target!==window&&t.target!==window.document||e()}}}(t);let r=Bg;function i(){return r!==Bg}return{start:function(){i()&&Vg(),r=Zg(window,[n])},stop:function(){i()||Vg(),t.cancel(),r(),r=Bg},isActive:i}}({onWindowScroll:t=>{e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return e=>n=>{!t.isActive()&&Sv(n,"INITIAL_PUBLISH")&&t.start(),t.isActive()&&(e=>Sv(e,"DROP_COMPLETE")||Sv(e,"DROP_ANIMATE")||Sv(e,"FLUSH"))(n)&&t.stop(),e(n)}};const Yv=(e,t)=>{t()},Kv=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function Jv(e,t,n,r){if(!e)return void n(r(t));const i=(e=>{let t=!1,n=!1;const r=setTimeout(()=>{n=!0}),i=i=>{t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=()=>t,i})(n);e(t,{announce:i}),i.wasCalled()||n(r(t))}var eb=(e,t)=>{const n=((e,t)=>{const n=(()=>{const e=[];return{add:t=>{const n=setTimeout(()=>(t=>{const n=e.findIndex(e=>e.timerId===t);-1===n&&Vg();const[r]=e.splice(n,1);r.callback()})(n)),r={timerId:n,callback:t};e.push(r)},flush:()=>{if(!e.length)return;const t=[...e];e.length=0,t.forEach(e=>{clearTimeout(e.timerId),e.callback()})}}})();let r=null;const i=n=>{r||Vg(),r=null,Yv(0,()=>Jv(e().onDragEnd,n,t,Jg))};return{beforeCapture:(t,n)=>{r&&Vg(),Yv(0,()=>{const r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})})},beforeStart:(t,n)=>{r&&Vg(),Yv(0,()=>{const r=e().onBeforeDragStart;r&&r(Kv(t,n))})},start:(i,o)=>{r&&Vg();const a=Kv(i,o);r={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},n.add(()=>{Yv(0,()=>Jv(e().onDragStart,a,t,Yg))})},update:(i,o)=>{const a=EO(o),s=kO(o);r||Vg();const l=!((e,t)=>{if(e===t)return!0;const n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r})(i,r.lastCritical);l&&(r.lastCritical=i);const c=(d=a,!(null==(u=r.lastLocation)&&null==d||null!=u&&null!=d&&u.droppableId===d.droppableId&&u.index===d.index));var u,d;c&&(r.lastLocation=a);const p=!((e,t)=>null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId)(r.lastCombine,s);if(p&&(r.lastCombine=s),!l&&!c&&!p)return;const h={...Kv(i,r.mode),combine:s,destination:a};n.add(()=>{Yv(0,()=>Jv(e().onDragUpdate,h,t,Kg))})},flush:()=>{r||Vg(),n.flush()},drop:i,abort:()=>{if(!r)return;const e={...Kv(r.lastCritical,r.mode),combine:null,destination:null,reason:"CANCEL"};i(e)}}})(e,t);return e=>t=>r=>{if(Sv(r,"BEFORE_INITIAL_CAPTURE"))return void n.beforeCapture(r.payload.draggableId,r.payload.movementMode);if(Sv(r,"INITIAL_PUBLISH")){const e=r.payload.critical;return n.beforeStart(e,r.payload.movementMode),t(r),void n.start(e,r.payload.movementMode)}if(Sv(r,"DROP_COMPLETE")){const e=r.payload.completed.result;return n.flush(),t(r),void n.drop(e)}if(t(r),Sv(r,"FLUSH"))return void n.abort();const i=e.getState();"DRAGGING"===i.phase&&n.update(i.critical,i.impact)}};const tb=e=>t=>n=>{if(!Sv(n,"DROP_ANIMATION_FINISHED"))return void t(n);const r=e.getState();"DROP_ANIMATING"!==r.phase&&Vg(),e.dispatch(Iv({completed:r.completed}))},nb=e=>{let t=null,n=null;return r=>i=>{if((Sv(i,"FLUSH")||Sv(i,"DROP_COMPLETE")||Sv(i,"DROP_ANIMATION_FINISHED"))&&(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(i),!Sv(i,"DROP_ANIMATE"))return;const o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame(()=>{n=null,t=Zg(window,[o])})}};const rb=e=>t=>n=>{if(t(n),!Sv(n,"PUBLISH_WHILE_DRAGGING"))return;const r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch($v({reason:r.reason})))},ib=_m;var ob=({dimensionMarshal:e,focusMarshal:t,styleMarshal:n,getResponders:r,announce:i,autoScroller:o})=>{return Qm(xv,ib(function(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Rm(15))};const a={getState:i.getState,dispatch:(e,...t)=>o(e,...t)},s=e.map(e=>e(a));return o=_m(...s)(i.dispatch),{...i,dispatch:o}}}((a=n,()=>e=>t=>{Sv(t,"INITIAL_PUBLISH")&&a.dragging(),Sv(t,"DROP_ANIMATE")&&a.dropping(t.payload.completed.result.reason),(Sv(t,"FLUSH")||Sv(t,"DROP_COMPLETE"))&&a.resting(),e(t)}),(e=>()=>t=>n=>{(Sv(n,"DROP_COMPLETE")||Sv(n,"FLUSH")||Sv(n,"DROP_ANIMATE"))&&e.stopPublishing(),t(n)})(e),(e=>({getState:t,dispatch:n})=>r=>i=>{if(!Sv(i,"LIFT"))return void r(i);const{id:o,clientSelection:a,movementMode:s}=i.payload,l=t();"DROP_ANIMATING"===l.phase&&n(Iv({completed:l.completed})),"IDLE"!==t().phase&&Vg(),n({type:"FLUSH",payload:null}),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:o,movementMode:s}});const c={draggableId:o,scrollOptions:{shouldPublishImmediately:"SNAP"===s}},{critical:u,dimensions:d,viewport:p}=e.startPublishing(c);n({type:"INITIAL_PUBLISH",payload:{critical:u,dimensions:d,clientSelection:a,movementMode:s,viewport:p}})})(e),Gv,tb,nb,rb,(e=>t=>n=>r=>{if((e=>Sv(e,"DROP_COMPLETE")||Sv(e,"DROP_ANIMATE")||Sv(e,"FLUSH"))(r))return e.stop(),void n(r);if(Sv(r,"INITIAL_PUBLISH")){n(r);const i=t.getState();return"DRAGGING"!==i.phase&&Vg(),void e.start(i)}n(r),e.scroll(t.getState())})(o),Uv,(e=>{let t=!1;return()=>n=>r=>{if(Sv(r,"INITIAL_PUBLISH"))return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if(Sv(r,"FLUSH"))return t=!1,void e.tryRestoreFocusRecorded();if(Sv(r,"DROP_COMPLETE")){t=!1;const n=r.payload.completed.result;n.combine&&e.tryShiftRecord(n.draggableId,n.combine.draggableId),e.tryRestoreFocusRecorded()}}}})(t),eb(r,i))));var a},ab=({scrollHeight:e,scrollWidth:t,height:n,width:r})=>{const i=aO({x:t,y:e},{x:r,y:n});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},sb=()=>{const e=document.documentElement;return e||Vg(),e},lb=()=>{const e=sb();return ab({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function cb(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var ub=(e,t)=>{let n=null;const r=function({registry:e,callbacks:t}){let n={additions:{},removals:{},modified:{}},r=null;const i=()=>{r||(t.collectionStarting(),r=requestAnimationFrame(()=>{r=null;const{additions:i,removals:o,modified:a}=n,s=Object.keys(i).map(t=>e.draggable.getById(t).getDimension(iO)).sort((e,t)=>e.descriptor.index-t.descriptor.index),l=Object.keys(a).map(t=>({droppableId:t,scroll:e.droppable.getById(t).callbacks.getScrollWhileDragging()})),c={additions:s,removals:Object.keys(o),modified:l};n={additions:{},removals:{},modified:{}},t.publish(c)}))};return{add:e=>{const t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],i()},remove:e=>{const t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],i()},stop:()=>{r&&(cancelAnimationFrame(r),r=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=t=>{n||Vg();const i=n.critical.draggable;"ADDITION"===t.type&&cb(e,i,t.value)&&r.add(t.value),"REMOVAL"===t.type&&cb(e,i,t.value)&&r.remove(t.value)},o={updateDroppableIsEnabled:(r,i)=>{e.droppable.exists(r)||Vg(),n&&t.updateDroppableIsEnabled({id:r,isEnabled:i})},updateDroppableIsCombineEnabled:(r,i)=>{n&&(e.droppable.exists(r)||Vg(),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:i}))},scrollDroppable:(t,r)=>{n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:(r,i)=>{n&&(e.droppable.exists(r)||Vg(),t.updateDroppableScroll({id:r,newScroll:i}))},startPublishing:t=>{n&&Vg();const r=e.draggable.getById(t.draggableId),o=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:o.descriptor},s=e.subscribe(i);return n={critical:a,unsubscribe:s},(({critical:e,scrollOptions:t,registry:n})=>{const r=(()=>{const e=Hv(),t=lb(),n=e.y,r=e.x,i=sb(),o=i.clientWidth,a=i.clientHeight;return{frame:Ag({top:n,left:r,right:r+o,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:iO,displacement:iO}}}})(),i=r.scroll.current,o=e.droppable,a=n.droppable.getAllByType(o.type).map(e=>e.callbacks.getDimensionAndWatchScroll(i,t)),s=n.draggable.getAllByType(e.draggable.type).map(e=>e.getDimension(i));return{dimensions:{draggables:yO(s),droppables:bO(a)},critical:e,viewport:r}})({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:()=>{if(!n)return;r.stop();const t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach(e=>e.callbacks.dragStopped()),n.unsubscribe(),n=null}};return o},db=(e,t)=>"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason,pb=e=>{window.scrollBy(e.x,e.y)};const hb=vO(e=>wO(e).filter(e=>!!e.isEnabled&&!!e.frame));const fb={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var mb=({startOfRange:e,endOfRange:t,current:n})=>{const r=t-e;return 0===r?0:(n-e)/r},gb=({distanceToEdge:e,thresholds:t,dragStartTime:n,shouldUseTimeDampening:r,getAutoScrollerOptions:i})=>{const o=((e,t,n=()=>fb)=>{const r=n();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return r.maxPixelScroll;if(e===t.startScrollingFrom)return 1;const i=1-mb({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),o=r.maxPixelScroll*r.ease(i);return Math.ceil(o)})(e,t,i);return 0===o?0:r?Math.max(((e,t,n)=>{const r=n(),i=r.durationDampening.accelerateAt,o=r.durationDampening.stopDampeningAt,a=t,s=o,l=Date.now()-a;if(l>=o)return e;if(l<i)return 1;const c=mb({startOfRange:i,endOfRange:s,current:l}),u=e*r.ease(c);return Math.ceil(u)})(o,n,i),1):o},Ob=({container:e,distanceToEdges:t,dragStartTime:n,axis:r,shouldUseTimeDampening:i,getAutoScrollerOptions:o})=>{const a=((e,t,n=()=>fb)=>{const r=n();return{startScrollingFrom:e[t.size]*r.startFromPercentage,maxScrollValueAt:e[t.size]*r.maxScrollAtPercentage}})(e,r,o);return t[r.end]<t[r.start]?gb({distanceToEdge:t[r.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:i,getAutoScrollerOptions:o}):-1*gb({distanceToEdge:t[r.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:i,getAutoScrollerOptions:o})};const vb=pO(e=>0===e?0:e);var bb=({dragStartTime:e,container:t,subject:n,center:r,shouldUseTimeDampening:i,getAutoScrollerOptions:o})=>{const a={top:r.y-t.top,right:t.right-r.x,bottom:t.bottom-r.y,left:r.x-t.left},s=Ob({container:t,distanceToEdges:a,dragStartTime:e,axis:IO,shouldUseTimeDampening:i,getAutoScrollerOptions:o}),l=Ob({container:t,distanceToEdges:a,dragStartTime:e,axis:$O,shouldUseTimeDampening:i,getAutoScrollerOptions:o}),c=vb({x:l,y:s});if(sO(c,iO))return null;const u=(({container:e,subject:t,proposedScroll:n})=>{const r=t.height>e.height,i=t.width>e.width;return i||r?i&&r?null:{x:i?0:n.x,y:r?0:n.y}:n})({container:t,subject:n,proposedScroll:c});return u?sO(u,iO)?null:u:null};const yb=pO(e=>0===e?0:e>0?1:-1),wb=(()=>{const e=(e,t)=>e<0?e:e>t?e-t:0;return({current:t,max:n,change:r})=>{const i=oO(t,r),o={x:e(i.x,n.x),y:e(i.y,n.y)};return sO(o,iO)?null:o}})(),xb=({max:e,current:t,change:n})=>{const r={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},i=yb(n),o=wb({max:r,current:t,change:i});return!o||0!==i.x&&0===o.x||0!==i.y&&0===o.y},Sb=(e,t)=>xb({current:e.scroll.current,max:e.scroll.max,change:t}),Eb=(e,t)=>{const n=e.frame;return!!n&&xb({current:n.scroll.current,max:n.scroll.max,change:t})};var kb=({state:e,dragStartTime:t,shouldUseTimeDampening:n,scrollWindow:r,scrollDroppable:i,getAutoScrollerOptions:o})=>{const a=e.current.page.borderBoxCenter,s=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){const i=(({viewport:e,subject:t,center:n,dragStartTime:r,shouldUseTimeDampening:i,getAutoScrollerOptions:o})=>{const a=bb({dragStartTime:r,container:e.frame,subject:t,center:n,shouldUseTimeDampening:i,getAutoScrollerOptions:o});return a&&Sb(e,a)?a:null})({dragStartTime:t,viewport:e.viewport,subject:s,center:a,shouldUseTimeDampening:n,getAutoScrollerOptions:o});if(i)return void r(i)}const l=(({center:e,destination:t,droppables:n})=>{if(t){const e=n[t];return e.frame?e:null}const r=((e,t)=>{const n=hb(t).find(t=>(t.frame||Vg(),lv(t.frame.pageMarginBox)(e)))||null;return n})(e,n);return r})({center:a,destination:ov(e.impact),droppables:e.dimensions.droppables});if(!l)return;const c=(({droppable:e,subject:t,center:n,dragStartTime:r,shouldUseTimeDampening:i,getAutoScrollerOptions:o})=>{const a=e.frame;if(!a)return null;const s=bb({dragStartTime:r,container:a.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:i,getAutoScrollerOptions:o});return s&&Eb(e,s)?s:null})({dragStartTime:t,droppable:l,subject:s,center:a,shouldUseTimeDampening:n,getAutoScrollerOptions:o});c&&i(l.descriptor.id,c)},Rb=({move:e,scrollDroppable:t,scrollWindow:n})=>r=>{const i=r.scrollJumpRequest;if(!i)return;const o=ov(r.impact);o||Vg();const a=((e,n)=>{if(!Eb(e,n))return n;const r=((e,t)=>{const n=e.frame;return n&&Eb(e,t)?wb({current:n.scroll.current,max:n.scroll.max,change:t}):null})(e,n);if(!r)return t(e.descriptor.id,n),null;const i=aO(n,r);return t(e.descriptor.id,i),aO(n,i)})(r.dimensions.droppables[o],i);if(!a)return;const s=r.viewport,l=((e,t,r)=>{if(!e)return r;if(!Sb(t,r))return r;const i=((e,t)=>{if(!Sb(e,t))return null;const n=e.scroll.max,r=e.scroll.current;return wb({current:r,max:n,change:t})})(t,r);if(!i)return n(r),null;const o=aO(r,i);return n(o),aO(r,o)})(r.isWindowScrollAllowed,s,a);l&&((t,n)=>{const r=oO(t.current.client.selection,n);e({client:r})})(r,l)};const Cb="data-rfd",Pb=(()=>{const e=`${Cb}-drag-handle`;return{base:e,draggableId:`${e}-draggable-id`,contextId:`${e}-context-id`}})(),Ab=(()=>{const e=`${Cb}-draggable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),Qb=(()=>{const e=`${Cb}-droppable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),Tb={contextId:`${Cb}-scroll-container-context-id`},Mb=(e,t)=>e.map(e=>{const n=e.styles[t];return n?`${e.selector} { ${n} }`:""}).join(" "),_b="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?c.useLayoutEffect:c.useEffect,Ib=()=>{const e=document.querySelector("head");return e||Vg(),e},$b=e=>{const t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Db(e,t){return Array.from(e.querySelectorAll(t))}var Lb=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function Nb(e){return e instanceof Lb(e).HTMLElement}function zb(){const e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach(t=>t(e))}function r(t){return e.draggables[t]||null}const i={register:t=>{e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:(t,n)=>{const r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:t=>{const i=t.descriptor.id,o=r(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],e.droppables[t.descriptor.droppableId]&&n({type:"REMOVAL",value:t}))},getById:function(e){const t=r(e);return t||Vg(),t},findById:r,exists:e=>Boolean(r(e)),getAllByType:t=>Object.values(e.draggables).filter(e=>e.descriptor.type===t)};function o(t){return e.droppables[t]||null}const a={register:t=>{e.droppables[t.descriptor.id]=t},unregister:t=>{const n=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){const t=o(e);return t||Vg(),t},findById:o,exists:e=>Boolean(o(e)),getAllByType:t=>Object.values(e.droppables).filter(e=>e.descriptor.type===t)};return{draggable:i,droppable:a,subscribe:function(e){return t.push(e),function(){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var jb=u().createContext(null),Bb=()=>{const e=document.body;return e||Vg(),e};const Zb={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Xb={separator:"::"};function Vb(e,t=Xb){const n=u().useId();return nO(()=>`${e}${t.separator}${n}`,[t.separator,e,n])}var Fb=u().createContext(null);function qb(e){const t=(0,c.useRef)(e);return(0,c.useEffect)(()=>{t.current=e}),t}function Wb(e){return"IDLE"!==e.phase&&"DROP_ANIMATING"!==e.phase&&e.isDragging}const Gb=9,Hb=13,Ub=33,Yb=34,Kb=35,Jb=36,ey={[Hb]:!0,[Gb]:!0};var ty=e=>{ey[e.keyCode]&&e.preventDefault()};const ny=(()=>{const e="visibilitychange";return"undefined"==typeof document?e:[e,`ms${e}`,`webkit${e}`,`moz${e}`,`o${e}`].find(e=>`on${e}`in document)||e})(),ry={type:"IDLE"};function iy(){}const oy={[Yb]:!0,[Ub]:!0,[Jb]:!0,[Kb]:!0};const ay={type:"IDLE"},sy=["input","button","textarea","select","option","optgroup","video","audio"];function ly(e,t){if(null==t)return!1;if(sy.includes(t.tagName.toLowerCase()))return!0;const n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&ly(e,t.parentElement)}function cy(e,t){const n=t.target;return!!Nb(n)&&ly(e,n)}var uy=e=>Ag(e.getBoundingClientRect()).center;const dy=(()=>{const e="matches";return"undefined"==typeof document?e:[e,"msMatchesSelector","webkitMatchesSelector"].find(e=>e in Element.prototype)||e})();function py(e,t){return null==e?null:e[dy](t)?e:py(e.parentElement,t)}function hy(e,t){return e.closest?e.closest(t):py(e,t)}function fy(e){e.preventDefault()}function my({expected:e,phase:t,isLockActive:n,shouldWarn:r}){return!!n()&&e===t}function gy({lockAPI:e,store:t,registry:n,draggableId:r}){if(e.isClaimed())return!1;const i=n.draggable.findById(r);return!!i&&!!i.options.isEnabled&&!!db(t.getState(),r)}const Oy=[function(e){const t=(0,c.useRef)(ry),n=(0,c.useRef)(Bg),r=nO(()=>({eventName:"mousedown",fn:function(t){if(t.defaultPrevented)return;if(0!==t.button)return;if(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)return;const r=e.findClosestDraggableId(t);if(!r)return;const i=e.tryGetLock(r,a,{sourceEvent:t});if(!i)return;t.preventDefault();const o={x:t.clientX,y:t.clientY};n.current(),u(i,o)}}),[e]),i=nO(()=>({eventName:"webkitmouseforcewillbegin",fn:t=>{if(t.defaultPrevented)return;const n=e.findClosestDraggableId(t);if(!n)return;const r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}),[e]),o=rO(function(){n.current=Zg(window,[i,r],{passive:!1,capture:!0})},[i,r]),a=rO(()=>{"IDLE"!==t.current.type&&(t.current=ry,n.current(),o())},[o]),s=rO(()=>{const e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[a]),l=rO(function(){const e=function({cancel:e,completed:t,getPhase:n,setPhase:r}){return[{eventName:"mousemove",fn:e=>{const{button:t,clientX:i,clientY:o}=e;if(0!==t)return;const a={x:i,y:o},s=n();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);if("PENDING"!==s.type&&Vg(),l=s.point,c=a,!(Math.abs(c.x-l.x)>=5||Math.abs(c.y-l.y)>=5))return;var l,c;e.preventDefault();const u=s.actions.fluidLift(a);r({type:"DRAGGING",actions:u})}},{eventName:"mouseup",fn:r=>{const i=n();"DRAGGING"===i.type?(r.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),t()):e()}},{eventName:"mousedown",fn:t=>{"DRAGGING"===n().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:t=>{if("PENDING"!==n().type)return 27===t.keyCode?(t.preventDefault(),void e()):void ty(t);e()}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:()=>{"PENDING"===n().type&&e()}},{eventName:"webkitmouseforcedown",fn:t=>{const r=n();"IDLE"===r.type&&Vg(),r.actions.shouldRespectForcePress()?e():t.preventDefault()}},{eventName:ny,fn:e}]}({cancel:s,completed:a,getPhase:()=>t.current,setPhase:e=>{t.current=e}});n.current=Zg(window,e,{capture:!0,passive:!1})},[s,a]),u=rO(function(e,n){"IDLE"!==t.current.type&&Vg(),t.current={type:"PENDING",point:n,actions:e},l()},[l]);_b(function(){return o(),function(){n.current()}},[o])},function(e){const t=(0,c.useRef)(iy),n=nO(()=>({eventName:"keydown",fn:function(n){if(n.defaultPrevented)return;if(32!==n.keyCode)return;const i=e.findClosestDraggableId(n);if(!i)return;const o=e.tryGetLock(i,l,{sourceEvent:n});if(!o)return;n.preventDefault();let a=!0;const s=o.snapLift();function l(){a||Vg(),a=!1,t.current(),r()}t.current(),t.current=Zg(window,function(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:r=>27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(oy[r.keyCode]?r.preventDefault():ty(r))},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:ny,fn:n}]}(s,l),{capture:!0,passive:!1})}}),[e]),r=rO(function(){t.current=Zg(window,[n],{passive:!1,capture:!0})},[n]);_b(function(){return r(),function(){t.current()}},[r])},function(e){const t=(0,c.useRef)(ay),n=(0,c.useRef)(Bg),r=rO(function(){return t.current},[]),i=rO(function(e){t.current=e},[]),o=nO(()=>({eventName:"touchstart",fn:function(t){if(t.defaultPrevented)return;const r=e.findClosestDraggableId(t);if(!r)return;const i=e.tryGetLock(r,s,{sourceEvent:t});if(!i)return;const o=t.touches[0],{clientX:a,clientY:l}=o,c={x:a,y:l};n.current(),p(i,c)}}),[e]),a=rO(function(){n.current=Zg(window,[o],{capture:!0,passive:!1})},[o]),s=rO(()=>{const e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(ay),n.current(),a())},[a,i]),l=rO(()=>{const e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[s]),u=rO(function(){const e={capture:!0,passive:!1},t={cancel:l,completed:s,getPhase:r},i=Zg(window,function({cancel:e,completed:t,getPhase:n}){return[{eventName:"touchmove",options:{capture:!1},fn:t=>{const r=n();if("DRAGGING"!==r.type)return void e();r.hasMoved=!0;const{clientX:i,clientY:o}=t.touches[0],a={x:i,y:o};t.preventDefault(),r.actions.move(a)}},{eventName:"touchend",fn:r=>{const i=n();"DRAGGING"===i.type?(r.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),t()):e()}},{eventName:"touchcancel",fn:t=>{"DRAGGING"===n().type?(t.preventDefault(),e()):e()}},{eventName:"touchforcechange",fn:t=>{const r=n();"IDLE"===r.type&&Vg();const i=t.touches[0];if(!i)return;if(!(i.force>=.15))return;const o=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return o?r.hasMoved?void t.preventDefault():void e():void t.preventDefault();o&&e()}},{eventName:ny,fn:e}]}(t),e),o=Zg(window,function({cancel:e,getPhase:t}){return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:e=>{e.preventDefault()}},{eventName:"keydown",fn:n=>{"DRAGGING"===t().type?(27===n.keyCode&&n.preventDefault(),e()):e()}},{eventName:ny,fn:e}]}(t),e);n.current=function(){i(),o()}},[l,r,s]),d=rO(function(){const e=r();"PENDING"!==e.type&&Vg();const t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})},[r,i]),p=rO(function(e,t){"IDLE"!==r().type&&Vg();const n=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()},[u,r,i,d]);_b(function(){return a(),function(){n.current();const e=r();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(ay))}},[r,a,i]),_b(function(){return Zg(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])},[])}];function vy({contextId:e,store:t,registry:n,customSensors:r,enableDefaultSensors:i}){const o=[...i?Oy:[],...r||[]],a=(0,c.useState)(()=>function(){let e=null;function t(){e||Vg(),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Vg();const n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}())[0],s=rO(function(e,t){Wb(e)&&!Wb(t)&&a.tryAbandon()},[a]);_b(function(){let e=t.getState();return t.subscribe(()=>{const n=t.getState();s(e,n),e=n})},[a,t,s]),_b(()=>a.tryAbandon,[a.tryAbandon]);const l=rO(e=>gy({lockAPI:a,registry:n,store:t,draggableId:e}),[a,n,t]),u=rO((r,i,o)=>function({lockAPI:e,contextId:t,store:n,registry:r,draggableId:i,forceSensorStop:o,sourceEvent:a}){if(!gy({lockAPI:e,store:n,registry:r,draggableId:i}))return null;const s=r.draggable.getById(i),l=function(e,t){const n=`[${Ab.contextId}="${e}"]`,r=Db(document,n).find(e=>e.getAttribute(Ab.id)===t);return r&&Nb(r)?r:null}(t,s.descriptor.id);if(!l)return null;if(a&&!s.options.canDragInteractiveElements&&cy(l,a))return null;const c=e.claim(o||Bg);let u="PRE_DRAG";function d(){return s.options.shouldRespectForcePress}function p(){return e.isActive(c)}const h=function(e,t){my({expected:e,phase:u,isLockActive:p,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function f(t){function r(){e.release(),u="COMPLETED"}function i(e,i={shouldBlockNextClick:!1}){if(t.cleanup(),i.shouldBlockNextClick){const e=Zg(window,[{eventName:"click",fn:fy,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(e)}r(),n.dispatch($v({reason:e}))}return"PRE_DRAG"!==u&&(r(),Vg()),n.dispatch((e=>({type:"LIFT",payload:e}))(t.liftActionArgs)),u="DRAGGING",{isActive:()=>my({expected:"DRAGGING",phase:u,isLockActive:p,shouldWarn:!1}),shouldRespectForcePress:d,drop:e=>i("DROP",e),cancel:e=>i("CANCEL",e),...t.actions}}return{isActive:()=>my({expected:"PRE_DRAG",phase:u,isLockActive:p,shouldWarn:!1}),shouldRespectForcePress:d,fluidLift:function(e){const t=zg(e=>{h(()=>Av({client:e}))});return{...f({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){const e={moveUp:()=>h(Qv),moveRight:()=>h(Mv),moveDown:()=>h(Tv),moveLeft:()=>h(_v)};return f({liftActionArgs:{id:i,clientSelection:uy(l),movementMode:"SNAP"},cleanup:Bg,actions:e})},abort:function(){my({expected:"PRE_DRAG",phase:u,isLockActive:p,shouldWarn:!0})&&e.release()}}}({lockAPI:a,registry:n,contextId:e,store:t,draggableId:r,forceSensorStop:i||null,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null}),[e,a,n,t]),d=rO(t=>function(e,t){const n=function(e,t){const n=t.target;if(!((r=n)instanceof Lb(r).Element))return null;var r;const i=function(e){return`[${Pb.contextId}="${e}"]`}(e),o=hy(n,i);return o&&Nb(o)?o:null}(e,t);return n?n.getAttribute(Pb.draggableId):null}(e,t),[e]),p=rO(e=>{const t=n.draggable.findById(e);return t?t.options:null},[n.draggable]),h=rO(function(){a.isClaimed()&&(a.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch({type:"FLUSH",payload:null}))},[a,t]),f=rO(()=>a.isClaimed(),[a]),m=nO(()=>({canGetLock:l,tryGetLock:u,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:f}),[l,u,d,p,h,f]);for(let e=0;e<o.length;e++)o[e](m)}function by(e){return e.current||Vg(),e.current}function yy(e){const{contextId:t,setCallbacks:n,sensors:r,nonce:i,dragHandleUsageInstructions:o}=e,a=(0,c.useRef)(null),s=qb(e),l=rO(()=>(e=>({onBeforeCapture:t=>{(0,xe.flushSync)(()=>{e.onBeforeCapture&&e.onBeforeCapture(t)})},onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}))(s.current),[s]),d=rO(()=>(e=>({...fb,...e.autoScrollerOptions,durationDampening:{...fb.durationDampening,...e.autoScrollerOptions}}))(s.current),[s]),p=function(e){const t=nO(()=>(e=>`rfd-announcement-${e}`)(e),[e]),n=(0,c.useRef)(null);return(0,c.useEffect)(function(){const e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),Ce(e.style,Zb),Bb().appendChild(e),function(){setTimeout(function(){const t=Bb();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)})}},[t]),rO(e=>{const t=n.current;t&&(t.textContent=e)},[])}(t),h=function({contextId:e,text:t}){const n=Vb("hidden-text",{separator:"-"}),r=nO(()=>function({contextId:e,uniqueId:t}){return`rfd-hidden-text-${e}-${t}`}({contextId:e,uniqueId:n}),[n,e]);return(0,c.useEffect)(function(){const e=document.createElement("div");return e.id=r,e.textContent=t,e.style.display="none",Bb().appendChild(e),function(){const t=Bb();t.contains(e)&&t.removeChild(e)}},[r,t]),r}({contextId:t,text:o}),f=function(e,t){const n=nO(()=>(e=>{const t=(n=e,e=>`[${e}="${n}"]`);var n;const r=(()=>{const e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:t(Pb.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}})(),i=(()=>{const e=`\n transition: ${Zv.outOfTheWay};\n `;return{selector:t(Ab.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}})(),o=[i,r,{selector:t(Qb.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Mb(o,"always"),resting:Mb(o,"resting"),dragging:Mb(o,"dragging"),dropAnimating:Mb(o,"dropAnimating"),userCancel:Mb(o,"userCancel")}})(e),[e]),r=(0,c.useRef)(null),i=(0,c.useRef)(null),o=rO(vO(e=>{const t=i.current;t||Vg(),t.textContent=e}),[]),a=rO(e=>{const t=r.current;t||Vg(),t.textContent=e},[]);_b(()=>{(r.current||i.current)&&Vg();const s=$b(t),l=$b(t);return r.current=s,i.current=l,s.setAttribute(`${Cb}-always`,e),l.setAttribute(`${Cb}-dynamic`,e),Ib().appendChild(s),Ib().appendChild(l),a(n.always),o(n.resting),()=>{const e=e=>{const t=e.current;t||Vg(),Ib().removeChild(t),e.current=null};e(r),e(i)}},[t,a,o,n.always,n.resting,e]);const s=rO(()=>o(n.dragging),[o,n.dragging]),l=rO(e=>{o("DROP"!==e?n.userCancel:n.dropAnimating)},[o,n.dropAnimating,n.userCancel]),u=rO(()=>{i.current&&o(n.resting)},[o,n.resting]);return nO(()=>({dragging:s,dropping:l,resting:u}),[s,l,u])}(t,i),m=rO(e=>{by(a).dispatch(e)},[]),g=nO(()=>Mm({publishWhileDragging:Ev,updateDroppableScroll:Rv,updateDroppableIsEnabled:Cv,updateDroppableIsCombineEnabled:Pv,collectionStarting:kv},m),[m]),O=function(){const e=nO(zb,[]);return(0,c.useEffect)(()=>function(){e.clean()},[e]),e}(),v=nO(()=>ub(O,g),[O,g]),b=nO(()=>(({scrollDroppable:e,scrollWindow:t,move:n,getAutoScrollerOptions:r})=>{const i=(({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:n=()=>fb})=>{const r=zg(e),i=zg(t);let o=null;const a=e=>{o||Vg();const{shouldUseTimeDampening:t,dragStartTime:a}=o;kb({state:e,scrollWindow:r,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:t,getAutoScrollerOptions:n})};return{start:e=>{o&&Vg();const t=Date.now();let r=!1;const i=()=>{r=!0};kb({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:i,scrollDroppable:i,getAutoScrollerOptions:n}),o={dragStartTime:t,shouldUseTimeDampening:r},r&&a(e)},stop:()=>{o&&(r.cancel(),i.cancel(),o=null)},scroll:a}})({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:r}),o=Rb({move:n,scrollWindow:t,scrollDroppable:e});return{scroll:e=>{r().disabled||"DRAGGING"!==e.phase||("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}})({scrollWindow:pb,scrollDroppable:v.scrollDroppable,getAutoScrollerOptions:d,...Mm({move:Av},m)}),[v.scrollDroppable,m,d]),y=function(e){const t=(0,c.useRef)({}),n=(0,c.useRef)(null),r=(0,c.useRef)(null),i=(0,c.useRef)(!1),o=rO(function(e,n){const r={id:e,focus:n};return t.current[e]=r,function(){const n=t.current;n[e]!==r&&delete n[e]}},[]),a=rO(function(t){const n=function(e,t){const n=`[${Pb.contextId}="${e}"]`,r=Db(document,n);if(!r.length)return null;const i=r.find(e=>e.getAttribute(Pb.draggableId)===t);return i&&Nb(i)?i:null}(e,t);n&&n!==document.activeElement&&n.focus()},[e]),s=rO(function(e,t){n.current===e&&(n.current=t)},[]),l=rO(function(){r.current||i.current&&(r.current=requestAnimationFrame(()=>{r.current=null;const e=n.current;e&&a(e)}))},[a]),u=rO(function(e){n.current=null;const t=document.activeElement;t&&t.getAttribute(Pb.draggableId)===e&&(n.current=e)},[]);return _b(()=>(i.current=!0,function(){i.current=!1;const e=r.current;e&&cancelAnimationFrame(e)}),[]),nO(()=>({register:o,tryRecordFocus:u,tryRestoreFocusRecorded:l,tryShiftRecord:s}),[o,u,l,s])}(t),w=nO(()=>ob({announce:p,autoScroller:b,dimensionMarshal:v,focusMarshal:y,getResponders:l,styleMarshal:f}),[p,b,v,y,l,f]);a.current=w;const x=rO(()=>{const e=by(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})},[]),S=rO(()=>{const e=by(a).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging},[]);n(nO(()=>({isDragging:S,tryAbort:x}),[S,x]));const E=rO(e=>db(by(a).getState(),e),[]),k=rO(()=>sv(by(a).getState()),[]),R=nO(()=>({marshal:v,focus:y,contextId:t,canLift:E,isMovementAllowed:k,dragHandleUsageInstructionsId:h,registry:O}),[t,v,h,y,E,k,O]);return vy({contextId:t,store:w,registry:O,customSensors:r||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,c.useEffect)(()=>x,[x]),u().createElement(Fb.Provider,{value:R},u().createElement(Pg,{context:jb,store:w},e.children))}function wy(e){const t=u().useId(),n=e.dragHandleUsageInstructions||Ug;return u().createElement(Fg,null,r=>u().createElement(yy,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,autoScrollerOptions:e.autoScrollerOptions},e.children))}const xy=(e,t)=>t?Zv.drop(t.duration):e?Zv.snap:Zv.fluid,Sy=(e,t)=>{if(e)return t?Lv:Nv};function Ey(e){return"DRAGGING"===e.type?function(e){const t=e.dimension.client,{offset:n,combineWith:r,dropping:i}=e,o=Boolean(r),a=(e=>null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode)(e),s=Boolean(i),l=s?((e,t)=>{const n=Xv(e);if(n)return t?`${n} scale(${zv})`:n})(n,o):Vv(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:xy(a,i),transform:l,opacity:Sy(o,s),zIndex:s?4500:5e3,pointerEvents:"none"}}(e):{transform:Vv((t=e).offset),transition:t.shouldAnimateDisplacement?void 0:"none"};var t}var ky=u().createContext(null);function Ry(e){const t=(0,c.useContext)(e);return t||Vg(),t}function Cy(e){e.preventDefault()}var Py=(e,t)=>e===t,Ay=e=>{const{combine:t,destination:n}=e;return n?n.droppableId:t?t.droppableId:null};function Qy(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}const Ty={mapped:{type:"SECONDARY",offset:iO,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Qy(null)}},My=Cg(()=>{const e=function(){const e=vO((e,t)=>({x:e,y:t})),t=vO((e,t,n=null,r=null,i=null)=>({isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null})),n=vO((e,n,r,i,o=null,a=null,s=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,i,o,a,null)}}));return(r,i)=>{if(Wb(r)){if(r.critical.draggable.id!==i.draggableId)return null;const t=r.current.client.offset,a=r.dimensions.draggables[i.draggableId],s=ov(r.impact),l=(o=r.impact).at&&"COMBINE"===o.at.type?o.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(t.x,t.y),r.movementMode,a,i.isClone,s,l,c)}var o;if("DROP_ANIMATING"===r.phase){const e=r.completed;if(e.result.draggableId!==i.draggableId)return null;const n=i.isClone,o=r.dimensions.draggables[i.draggableId],a=e.result,s=a.mode,l=Ay(a),c=(e=>e.combine?e.combine.draggableId:null)(a),u={duration:r.dropDuration,curve:Dv,moveTo:r.newHomeClientOffset,opacity:c?Lv:null,scale:c?zv:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:o,dropping:u,draggingOver:l,combineWith:c,mode:s,forceShouldAnimate:null,snapshot:t(s,n,l,c,u)}}}return null}}(),t=function(){const e=vO((e,t)=>({x:e,y:t})),t=vO(Qy),n=vO((e,n=null,r)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}})),r=e=>e?n(iO,e,!0):null,i=(t,i,o,a)=>{const s=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=kO(o),u=c&&c.draggableId===t?i:null;if(!s){if(!l)return r(u);if(o.displaced.invisible[t])return null;const i=lO(a.displacedBy.point),s=e(i.x,i.y);return n(s,u,!0)}if(l)return r(u);const d=o.displacedBy.point,p=e(d.x,d.y);return n(p,u,s.shouldAnimate)};return(e,t)=>{if(Wb(e))return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){const n=e.completed;return n.result.draggableId===t.draggableId?null:i(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return(n,r)=>e(n,r)||t(n,r)||Ty},{dropAnimationFinished:()=>({type:"DROP_ANIMATION_FINISHED",payload:null})},null,{context:jb,areStatePropsEqual:Py})(e=>{const t=(0,c.useRef)(null),n=rO((e=null)=>{t.current=e},[]),r=rO(()=>t.current,[]),{contextId:i,dragHandleUsageInstructionsId:o,registry:a}=Ry(Fb),{type:s,droppableId:l}=Ry(ky),d=nO(()=>({id:e.draggableId,index:e.index,type:s,droppableId:l}),[e.draggableId,e.index,s,l]),{children:p,draggableId:h,isEnabled:f,shouldRespectForcePress:m,canDragInteractiveElements:g,isClone:O,mapped:v,dropAnimationFinished:b}=e;O||function(e){const t=Vb("draggable"),{descriptor:n,registry:r,getDraggableRef:i,canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:s}=e,l=nO(()=>({canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:s}),[o,s,a]),u=rO(e=>{const t=i();return t||Vg(),function(e,t,n=iO){const r=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=Lg(i,r),a=Dg(o,n);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(n,t,e)},[n,i]),d=nO(()=>({uniqueId:t,descriptor:n,options:l,getDimension:u}),[n,u,l,t]),p=(0,c.useRef)(d),h=(0,c.useRef)(!0);_b(()=>(r.draggable.register(p.current),()=>r.draggable.unregister(p.current)),[r.draggable]),_b(()=>{if(h.current)return void(h.current=!1);const e=p.current;p.current=d,r.draggable.update(d,e)},[d,r.draggable])}(nO(()=>({descriptor:d,registry:a,getDraggableRef:r,canDragInteractiveElements:g,shouldRespectForcePress:m,isEnabled:f}),[d,a,r,g,m,f]));const y=nO(()=>f?{tabIndex:0,role:"button","aria-describedby":o,"data-rfd-drag-handle-draggable-id":h,"data-rfd-drag-handle-context-id":i,draggable:!1,onDragStart:Cy}:null,[i,o,h,f]),w=rO(e=>{"DRAGGING"===v.type&&v.dropping&&"transform"===e.propertyName&&(0,xe.flushSync)(b)},[b,v]),x=nO(()=>{const e=Ey(v),t="DRAGGING"===v.type&&v.dropping?w:void 0;return{innerRef:n,draggableProps:{"data-rfd-draggable-context-id":i,"data-rfd-draggable-id":h,style:e,onTransitionEnd:t},dragHandleProps:y}},[i,y,h,v,w,n]),S=nO(()=>({draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}}),[d.droppableId,d.id,d.index,d.type]);return u().createElement(u().Fragment,null,p(x,v.snapshot,S))});function _y(e){return Ry(ky).isUsingCloneFor!==e.draggableId||e.isClone?u().createElement(My,e):null}function Iy(e){const t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return u().createElement(_y,Ce({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}const $y=e=>t=>e===t,Dy=$y("scroll"),Ly=$y("auto"),Ny=($y("visible"),(e,t)=>t(e.overflowX)||t(e.overflowY)),zy=e=>null==e||e===document.body||e===document.documentElement?null:(e=>{const t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Ny(n,Dy)||Ny(n,Ly)})(e)?e:zy(e.parentElement);var jy=e=>({x:e.scrollLeft,y:e.scrollTop});const By=e=>!!e&&("fixed"===window.getComputedStyle(e).position||By(e.parentElement));const Zy={passive:!1},Xy={passive:!0};var Vy=e=>e.shouldPublishImmediately?Zy:Xy;const Fy=e=>e&&e.env.closestScrollable||null;function qy(e){const t=(0,c.useRef)(null),n=Ry(Fb),r=Vb("droppable"),{registry:i,marshal:o}=n,a=qb(e),s=nO(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),l=(0,c.useRef)(s),u=nO(()=>vO((e,n)=>{t.current||Vg();const r={x:e,y:n};o.updateDroppableScroll(s.id,r)}),[s.id,o]),d=rO(()=>{const e=t.current;return e&&e.env.closestScrollable?jy(e.env.closestScrollable):iO},[]),p=rO(()=>{const e=d();u(e.x,e.y)},[d,u]),h=nO(()=>zg(p),[p]),f=rO(()=>{const e=t.current,n=Fy(e);e&&n||Vg(),e.scrollOptions.shouldPublishImmediately?p():h()},[h,p]),m=rO((e,r)=>{t.current&&Vg();const i=a.current,o=i.getDroppableRef();o||Vg();const l=(e=>({closestScrollable:zy(e),isFixedOnPage:By(e)}))(o),c={ref:o,descriptor:s,env:l,scrollOptions:r};t.current=c;const u=(({ref:e,descriptor:t,env:n,windowScroll:r,direction:i,isDropDisabled:o,isCombineEnabled:a,shouldClipSubject:s})=>{const l=n.closestScrollable,c=((e,t)=>{const n=Ng(e);if(!t)return n;if(e!==t)return n;const r=n.paddingBox.top-t.scrollTop,i=n.paddingBox.left-t.scrollLeft,o=r+t.scrollHeight,a=i+t.scrollWidth,s=Qg({top:r,right:a,bottom:o,left:i},n.border);return _g({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})})(e,l),u=Dg(c,r),d=(()=>{if(!l)return null;const e=Ng(l),t={scrollHeight:l.scrollHeight,scrollWidth:l.scrollWidth};return{client:e,page:Dg(e,r),scroll:jy(l),scrollSize:t,shouldClipSubject:s}})(),p=(({descriptor:e,isEnabled:t,isCombineEnabled:n,isFixedOnPage:r,direction:i,client:o,page:a,closest:s})=>{const l=(()=>{if(!s)return null;const{scrollSize:e,client:t}=s,n=ab({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:n,diff:{value:iO,displacement:iO}}}})(),c="vertical"===i?IO:$O;return{descriptor:e,isCombineEnabled:n,isFixedOnPage:r,axis:c,isEnabled:t,client:o,page:a,frame:l,subject:gO({page:a,withPlaceholder:null,axis:c,frame:l})}})({descriptor:t,isEnabled:!o,isCombineEnabled:a,isFixedOnPage:n.isFixedOnPage,direction:i,client:c,page:u,closest:d});return p})({ref:o,descriptor:s,env:l,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=l.closestScrollable;return d&&(d.setAttribute(Tb.contextId,n.contextId),d.addEventListener("scroll",f,Vy(c.scrollOptions))),u},[n.contextId,s,f,a]),g=rO(()=>{const e=t.current,n=Fy(e);return e&&n||Vg(),jy(n)},[]),O=rO(()=>{const e=t.current;e||Vg();const n=Fy(e);t.current=null,n&&(h.cancel(),n.removeAttribute(Tb.contextId),n.removeEventListener("scroll",f,Vy(e.scrollOptions)))},[f,h]),v=rO(e=>{const n=t.current;n||Vg();const r=Fy(n);r||Vg(),r.scrollTop+=e.y,r.scrollLeft+=e.x},[]),b=nO(()=>({getDimensionAndWatchScroll:m,getScrollWhileDragging:g,dragStopped:O,scroll:v}),[O,m,g,v]),y=nO(()=>({uniqueId:r,descriptor:s,callbacks:b}),[b,s,r]);_b(()=>(l.current=y.descriptor,i.droppable.register(y),()=>{t.current&&O(),i.droppable.unregister(y)}),[b,s,O,y,o,i.droppable]),_b(()=>{t.current&&o.updateDroppableIsEnabled(l.current.id,!e.isDropDisabled)},[e.isDropDisabled,o]),_b(()=>{t.current&&o.updateDroppableIsCombineEnabled(l.current.id,e.isCombineEnabled)},[e.isCombineEnabled,o])}function Wy(){}const Gy={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}};var Hy=u().memo(e=>{const t=(0,c.useRef)(null),n=rO(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:r,onTransitionEnd:i,onClose:o,contextId:a}=e,[s,l]=(0,c.useState)("open"===e.animate);(0,c.useEffect)(()=>s?"open"!==r?(n(),l(!1),Wy):t.current?Wy:(t.current=setTimeout(()=>{t.current=null,l(!1)}),n):Wy,[r,s,n]);const d=rO(e=>{"height"===e.propertyName&&(i(),"close"===r&&o())},[r,o,i]),p=(({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>{const r=(({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>e||"close"===n?Gy:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin})({isAnimatingOpenOnMount:e,placeholder:t,animate:n});return{display:t.display,boxSizing:"border-box",width:r.width,height:r.height,marginTop:r.margin.top,marginRight:r.margin.right,marginBottom:r.margin.bottom,marginLeft:r.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Zv.placeholder:null}})({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return u().createElement(e.placeholder.tagName,{style:p,"data-rfd-placeholder-context-id":a,onTransitionEnd:d,ref:e.innerRef})});class Uy extends u().PureComponent{constructor(...e){super(...e),this.state={isVisible:Boolean(this.props.on),data:this.props.on,animate:this.props.shouldAnimate&&this.props.on?"open":"none"},this.onClose=()=>{"close"===this.state.animate&&this.setState({isVisible:!1})}}static getDerivedStateFromProps(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}}render(){if(!this.state.isVisible)return null;const e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)}}const Yy={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Vg(),document.body}},Ky=e=>{let t,n={...e};for(t in Yy)void 0===e[t]&&(n={...n,[t]:Yy[t]});return n},Jy=(e,t)=>e===t.droppable.type,ew=(e,t)=>t.draggables[e.draggable.id],tw=Cg(()=>{const e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},n=vO(e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}})),r=vO((r,i,o,a,s,l)=>{const c=s.descriptor.id;if(s.descriptor.droppableId===r){const e=l?{render:l,dragging:n(s.descriptor)}:null,t={isDraggingOver:o,draggingOverWith:o?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:t,useClone:e}}if(!i)return t;if(!a)return e;const u={isDraggingOver:o,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:u,useClone:null}});return(n,i)=>{const o=Ky(i),a=o.droppableId,s=o.type,l=!o.isDropDisabled,c=o.renderClone;if(Wb(n)){const e=n.critical;if(!Jy(s,e))return t;const i=ew(e,n.dimensions),o=ov(n.impact)===a;return r(a,l,o,o,i,c)}if("DROP_ANIMATING"===n.phase){const e=n.completed;if(!Jy(s,e.critical))return t;const i=ew(e.critical,n.dimensions);return r(a,l,Ay(e.result)===a,ov(e.impact)===a,i,c)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){const r=n.completed;if(!Jy(s,r.critical))return t;const i=ov(r.impact)===a,o=Boolean(r.impact.at&&"COMBINE"===r.impact.at.type),l=r.critical.droppable.id===a;return i?o?e:t:l?e:t}return t}},{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},(e,t,n)=>({...Ky(n),...e,...t}),{context:jb,areStatePropsEqual:Py})(e=>{const t=(0,c.useContext)(Fb);t||Vg();const{contextId:n,isMovementAllowed:r}=t,i=(0,c.useRef)(null),o=(0,c.useRef)(null),{children:a,droppableId:s,type:l,mode:d,direction:p,ignoreContainerClipping:h,isDropDisabled:f,isCombineEnabled:m,snapshot:g,useClone:O,updateViewportMaxScroll:v,getContainerForClone:b}=e,y=rO(()=>i.current,[]),w=rO((e=null)=>{i.current=e},[]),x=(rO(()=>o.current,[]),rO((e=null)=>{o.current=e},[])),S=rO(()=>{r()&&v({maxScroll:lb()})},[r,v]);qy({droppableId:s,type:l,mode:d,direction:p,isDropDisabled:f,isCombineEnabled:m,ignoreContainerClipping:h,getDroppableRef:y});const E=nO(()=>u().createElement(Uy,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:e,data:t,animate:r})=>u().createElement(Hy,{placeholder:t,onClose:e,innerRef:x,animate:r,contextId:n,onTransitionEnd:S})),[n,S,e.placeholder,e.shouldAnimatePlaceholder,x]),k=nO(()=>({innerRef:w,placeholder:E,droppableProps:{"data-rfd-droppable-id":s,"data-rfd-droppable-context-id":n}}),[n,s,E,w]),R=O?O.dragging.draggableId:null,C=nO(()=>({droppableId:s,type:l,isUsingCloneFor:R}),[s,R,l]);return u().createElement(ky.Provider,{value:C},a(k,g),function(){if(!O)return null;const{dragging:e,render:t}=O,n=u().createElement(_y,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(n,r)=>t(n,r,e));return Se().createPortal(n,b())}())});function nw(){return nw=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},nw.apply(null,arguments)}function rw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||iw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iw(e,t){if(e){if("string"==typeof e)return ow(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)?ow(e,t):void 0}}function ow(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}const aw=function(e){var t=e.label,n=void 0===t?"":t,r=e.items,i=e.values,o=e.onChange,s=e.onInputChange,l=void 0!==s&&s,c=e.searchable,u=void 0!==c&&c,d=e.uniqueId,p=void 0===d?"":d,h=rw((0,a.useState)([]),2),f=h[0],m=h[1],g=rw((0,a.useState)(""),2),O=g[0],v=g[1],b=rw((0,a.useState)(!1),2),y=b[0],w=b[1],x=null==i?void 0:i.map(function(e){return e.value}),S=(0,a.useRef)(null),E=function(e){return null==e?void 0:e.filter(function(e){return!x.includes(e.value)})};(0,a.useEffect)(function(){var e;e=y?E(r):[],m(e)},[r,i,y]);var k=32*(null==i?void 0:i.length)+2+"px";return React.createElement("div",{className:"shaped-plugin-multiple-select sp-eab-component-mb"},React.createElement("div",{className:"sp-multiple-select-dnd-label"},React.createElement("p",null," ",n)),React.createElement("div",{className:"sp-multiple-select-dnd-container",ref:S},React.createElement("div",{onClick:function(){w(function(e){return!e})},className:"sp-select-header"},React.createElement("div",{className:"sp-selected-options",style:{height:k}},React.createElement(wy,{onDragEnd:function(e){var t=e.source,n=e.destination;if(n){var r=t.index,a=n.index,s=km(i,r,a);o(s)}}},React.createElement(tw,{droppableId:"select-field-dnd-".concat(p),direction:"vertical"},function(e){return React.createElement("div",nw({ref:e.innerRef},e.droppableProps),null==i?void 0:i.map(function(e,t){var n;return React.createElement(Iy,{key:null==e?void 0:e.id,draggableId:null==e||null===(n=e.id)||void 0===n?void 0:n.toString(),index:t},function(t){return React.createElement("div",nw({ref:t.innerRef},t.draggableProps,t.dragHandleProps),React.createElement("div",{className:"sp-selected-option"},React.createElement("span",{className:"sp-select-label"},null==e?void 0:e.label),React.createElement("span",{className:"sp-select-remove-button",onClick:function(){return function(e){var t=null==i?void 0:i.filter(function(t){return t.id!==e});o(t)}(e.id)}},React.createElement(vm,null))))})}))}))),React.createElement("span",{className:"custom-select-arrow"},y?React.createElement(ym,null):React.createElement(bm,null))),y&&React.createElement("div",{className:"sp-select-options"},u&&React.createElement("input",{placeholder:"Search here for more...",value:O,onChange:function(e){return function(e){var t=e.target.value.toLowerCase();v(t);var n=E(r).filter(function(e){return e.label.toLowerCase().includes(t)});l?l(t):m(n)}(e)},className:"sp-select-search-field"}),(null==f?void 0:f.length)>0&&(null==f?void 0:f.map(function(e,t){return React.createElement("div",{key:t},e.label&&e.value&&React.createElement("div",{onClick:function(){return function(e){var t,n=e.id,r=e.value,a=e.label,s=[].concat(function(e){if(Array.isArray(e))return ow(e)}(t=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||iw(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[{id:n,value:r,label:a}]);v(""),o(s)}(e)},className:"sp-select-option ".concat(i===e.value?"selected":"")},e.label))})))))};var sw=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},React.createElement("path",{fill:"#757575",d:"M12.25 17c3.3 0 6-2.7 6-6V3h-2.5v8c0 1.95-1.55 3.5-3.5 3.5s-3.5-1.55-3.5-3.5V3h-2.5v8c0 3.3 2.7 6 6 6Zm-7 2v2h14v-2h-14Z"}))},lw=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},React.createElement("path",{fill:"#757575",fillRule:"evenodd",d:"M12.154 19c-.795 0-1.603-.09-2.423-.27-.82-.166-1.481-.365-1.981-.595L8 16.192c.641.308 1.365.577 2.173.808.808.23 1.61.346 2.404.346.897 0 1.59-.16 2.077-.48.5-.334.75-.828.75-1.481 0-.488-.128-.891-.385-1.212-.243-.333-.609-.609-1.096-.827a9.075 9.075 0 0 0-.83-.346H4.75v-1h16v1h-4.094c.499.587.748 1.337.748 2.25 0 1.18-.442 2.103-1.327 2.77-.885.653-2.192.98-3.923.98ZM7.84 9a4.884 4.884 0 0 1-.013-.365c0-1.09.417-1.968 1.25-2.635.846-.667 2.032-1 3.558-1 .82 0 1.596.09 2.326.27.744.179 1.392.397 1.943.653l-.192 1.942c-.718-.423-1.41-.73-2.077-.923a7.456 7.456 0 0 0-2.077-.288c-.834 0-1.5.154-2 .461-.488.308-.731.782-.731 1.423 0 .165.016.32.047.462H7.84Z",clipRule:"evenodd"}))},cw=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},React.createElement("path",{fill:"#757575",d:"M12.358 17.5h-1.911l2.248-10.569h1.912L12.358 17.5Z"}))},uw=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},React.createElement("rect",{x:.8,y:.8,width:22.4,height:22.4,rx:3.2,stroke:"#2F2F2F",strokeWidth:1.6}),React.createElement("path",{d:"M13.0315 16.75L11.0684 11.1504C10.1567 8.55012 9.70094 7.25 8.9601 7.25C8.21926 7.25 7.76345 8.55012 6.85184 11.1504L4.88867 16.75M6.5851 12H11.3351",stroke:"#2F2F2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M19.0884 13.3159V16.3695M19.0884 13.3159C19.1204 12.7574 19.1217 12.3319 19.0546 11.9846C18.8965 11.166 18.0411 10.6727 17.2134 10.5723C16.4212 10.4763 15.7853 10.6802 15.142 11.6175M19.0884 13.3159H17.1588C16.8624 13.3159 16.5634 13.3302 16.2778 13.4096C14.532 13.8949 14.66 16.3431 16.4108 16.6449C16.6053 16.6784 16.8039 16.6928 17.0008 16.6839C17.4606 16.6634 17.8848 16.4413 18.249 16.1597C18.6754 15.8299 19.0884 15.3695 19.0884 14.6731V13.3159Z",stroke:"#2F2F2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};function dw(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return pw(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(pw(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,pw(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,pw(d,"constructor",c),pw(c,"constructor",l),l.displayName="GeneratorFunction",pw(c,i,"GeneratorFunction"),pw(d),pw(d,i,"Generator"),pw(d,r,function(){return this}),pw(d,"toString",function(){return"[object Generator]"}),(dw=function(){return{w:o,m:p}})()}function pw(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}pw=function(e,t,n,r){function o(t,n){pw(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},pw(e,t,n,r)}function hw(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}var fw=function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){hw(o,r,i,a,s,"next",e)}function s(e){hw(o,r,i,a,s,"throw",e)}a(void 0)})}}(dw().m(function e(){var t,n;return dw().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyCJIzfKoHlACqsmK1zDzl-OAsgtJPk8BtI");case 1:if(200!==(t=e.v).status){e.n=2;break}return e.a(2,t.json());case 2:e.n=4;break;case 3:e.p=3,n=e.v,console.error("Error fetching Google Fonts:",n);case 4:return e.a(2)}},e,null,[[0,3]])}));return function(){return e.apply(this,arguments)}}(),mw={100:"Thin 100",200:"Extra Light 200",300:"Light 300",400:"Regular 400",500:"Medium 500",600:"Semi Bold 600",700:"Bold 700",800:"Extra Bold 800",900:"Black 900","100italic":"italic 100","200italic":"italic 200","300italic":"italic 300",italic:"italic 400","400italic":"italic 400","500italic":"italic 500","600italic":"italic 600","700italic":"italic 700","800italic":"italic 800","900italic":"italic 900"},gw=[{label:React.createElement(cw,null),key:"style",value:"italic"},{label:React.createElement(sw,null),key:"decoration",value:"underline"},{label:React.createElement(lw,null),key:"decoration",value:"line-through"},{label:"AB",key:"transform",value:"uppercase"},{label:"ab",key:"transform",value:"lowercase"},{label:"Ab",key:"transform",value:"capitalize"}],Ow=function(e){return(0,a.useMemo)(function(){var t;return null==e||null===(t=e.font)||void 0===t||null===(t=t.variants)||void 0===t?void 0:t.map(function(e){if("regular"===e&&(e="400"),mw[e])return{label:mw[e],value:e}})},[e])};function vw(e){return vw="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},vw(e)}function bw(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 yw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bw(Object(n),!0).forEach(function(t){ww(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ww(e,t,n){return(t=function(e){var t=function(e){if("object"!=vw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=vw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xw(e){return function(e){if(Array.isArray(e))return kw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ew(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Ew(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ew(e,t){if(e){if("string"==typeof e)return kw(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)?kw(e,t):void 0}}function kw(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}(0,a.memo)(function(e){var t,n,r,i=e.attributes,o=e.setAttributes,s=e.label,c=void 0===s?(0,l.__)("Typography","easy-accordion-free"):s,u=e.fontSizeDefault,d=void 0===u?{unit:"px",value:16}:u,p=Sw((0,a.useState)([]),2),h=p[0],f=p[1],m=Sw((0,a.useState)([]),2),g=m[0],O=m[1],v=i.typography,b=i.typographyKey,y=i.fontSize,w=i.fontSizeKey,x=i.letterSpacing,S=i.letterSpacingKey,E=i.lineHeight,k=i.lineHeightKey,R=qc();(0,a.useEffect)(function(){0===h.length&&fw().then(function(e){var t=e.items.map(function(e){return{label:e.family,value:e.family,font:{family:e.family,variants:e.variants}}});f(t),O(t.filter(function(e,t){return t<50&&e}))})},[]);var C=v.family,P=v.fontWeight,A=v.style,Q={label:"Default",value:"Default",font:{family:"Default",variants:["300","400","500","600","700","800"]}},T=""===C?Q:null==h?void 0:h.find(function(e){return e.value===C}),M=[Q].concat(xw(g)),_=(null==M?void 0:M.find(function(e){return e.value===(null==T?void 0:T.value)}))?M:[Q,T].concat(xw(g)),I=function(e){o(ww({},w,yw(yw({},y),{},{device:yw(yw({},null==y?void 0:y.device),{},ww({},R,e))})))};return React.createElement(ax,{label:c,toggleIcon:React.createElement("span",{className:"sp-eab-typography-icon"},React.createElement(uw,null))},React.createElement("div",{className:"sp-eab-typography"},React.createElement("div",{className:"sp-eab-typography-header sp-eab-component-mb sp-d-flex sp-align-center"},React.createElement("span",null,"Typography")),React.createElement("div",{className:"sp-eab-typography-select-fields sp-d-flex sp-justify-between sp-align-center"},React.createElement("div",{className:"sp-eab-typography-family sp-eab-select-field sp-eab-component-mb"},React.createElement("div",{className:"sp-eab-font-family-header sp-mb-8px"},React.createElement("span",{className:"sp-eab-component-title"},"Font family")),React.createElement(lf,{classNamePrefix:"sp-eab-font-family-select",options:_,value:T,placeholder:null==T?void 0:T.label,onChange:function(e){var t,n,r,i;o(ww({},b,yw(yw({},v),{},{family:"Default"!==(null==e||null===(t=e.font)||void 0===t?void 0:t.family)?null==e||null===(n=e.font)||void 0===n?void 0:n.family:"",fontWeight:"regular"===(null==e||null===(r=e.font)||void 0===r?void 0:r.variants[0])?"400":null==e||null===(i=e.font)||void 0===i?void 0:i.variants[0]})))},onInputChange:function(e){return function(e){var t=h.filter(function(t){return t.label.toLowerCase().includes(e.toLowerCase())}).filter(function(e,t){return t<30&&e});O(t)}(e)}})),React.createElement(pm,{label:(0,l.__)("Font Style","easy-accordion-free"),attributes:null!=T&&null!==(t=T.font)&&void 0!==t&&t.variants.includes("".concat(P).concat(A))?"".concat(P).concat(A):P,items:Ow(T),onChange:function(e){return function(e){var t,n=null===(t=mw[e])||void 0===t?void 0:t.split(" "),r=mw[e].includes("italic")?"italic":"",i=n[(null==n?void 0:n.length)-1];o(ww({},b,yw(yw({},v),{},{fontWeight:i,style:r})))}(e)},__nextHasNoMarginBottom:!0})),React.createElement("div",{className:"sp-eab-typography-font-size-picker sp-eab-component-mb"},React.createElement(Gf,{label:(0,l.__)("Font Size","easy-accordion-free"),attributes:y,attributesKey:w,setAttributes:o,units:["px","%","em"],onReset:function(){o(ww({},w,yw(yw({},y),{},{unit:yw(yw({},y.unit),{},ww({},R,null==d?void 0:d.unit))}))),I(null==d?void 0:d.value)}}),React.createElement(Fc.RangeControl,{color:"#f26c0d",value:null==y?void 0:y.device[R],onChange:function(e){return I(e)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})),React.createElement("div",{className:"sp-eab-typography-select-fields sp-d-flex sp-justify-between sp-align-center"},React.createElement("div",{className:"sp-eab-typography-line-height-picker"},React.createElement(Gf,{label:(0,l.__)("Line Height","easy-accordion-free"),attributes:E,attributesKey:k,setAttributes:o,units:!1}),React.createElement(Om,{attributes:null==E?void 0:E.device[R],mb:!1,step:.1,min:0,inputType:"number",onChange:function(e){return t=e,void o(ww({},k,yw(yw({},E),{},{device:yw(yw({},null==E?void 0:E.device),{},ww({},R,t))})));var t},__next40pxDefaultSize:!0})),React.createElement("div",{className:"sp-eab-typography-letter-spacing-picker"},React.createElement(Gf,{label:(0,l.__)("Letter Spacing","easy-accordion-free"),attributes:x,attributesKey:S,setAttributes:o,units:["px","%","em"]}),React.createElement(Om,{attributes:null!==(n=null==x||null===(r=x.device)||void 0===r?void 0:r[R])&&void 0!==n?n:0,mb:!1,inputType:"number",onChange:function(e){o(ww({},S,yw(yw({},x||{}),{},{device:yw(yw({},(null==x?void 0:x.device)||{}),{},ww({},R,null!=e?e:0))})))},__next40pxDefaultSize:!0}))),React.createElement("div",{className:"sp-eab-button-group sp-eab-component-mb"},React.createElement("span",{className:"sp-eab-component-title sp-mb-8px"},(0,l.__)("Text Format","easy-accordion-free")),React.createElement("div",{className:"sp-eab-button-group-items sp-d-flex sp-align-center",style:{"--total-buttons":null==gw?void 0:gw.length}},null==gw?void 0:gw.map(function(e,t){var n=e.label,r=e.key,i=e.value;return React.createElement(Sf,{key:t,className:"".concat(v[r]===i?" active":""),onClick:function(){return function(e,t){var n=v[e]===t?"":t;o(ww({},b,yw(yw({},v),{},ww({},e,n))))}(r,i)}},React.createElement("span",{title:i},n))})))))});"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;function Rw(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function Cw(e){return"nodeType"in e}function Pw(e){var t,n;return e?Rw(e)?e:Cw(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function Aw(e){const{Document:t}=Pw(e);return e instanceof t}function Qw(e){return!Rw(e)&&e instanceof Pw(e).HTMLElement}function Tw(e){return e instanceof Pw(e).SVGElement}function Mw(e){return e?Rw(e)?e.document:Cw(e)?Aw(e)?e:Qw(e)||Tw(e)?e.ownerDocument:document:document:document}function _w(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{const r=Object.entries(n);for(const[n,i]of r){const r=t[n];null!=r&&(t[n]=r+e*i)}return t},{...t})}}const Iw=_w(-1);function $w(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=Pw(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}var Dw;!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(Dw||(Dw={}));const Lw=Object.freeze({x:0,y:0});var Nw,zw,jw;!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Nw||(Nw={}));class Bw{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function Zw(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function Xw(e){e.preventDefault()}function Vw(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(zw||(zw={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"}(jw||(jw={}));jw.Space,jw.Enter,jw.Esc,jw.Space,jw.Enter,jw.Tab;function Fw(e){return Boolean(e&&"distance"in e)}function qw(e){return Boolean(e&&"delay"in e)}class Ww{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=Pw(e);return e instanceof t?e:Mw(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=Mw(o),this.documentListeners=new Bw(this.document),this.listeners=new Bw(n),this.windowListeners=new Bw(Pw(o)),this.initialCoordinates=null!=(r=$w(i))?r:Lw,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(zw.Resize,this.handleCancel),this.windowListeners.add(zw.DragStart,Xw),this.windowListeners.add(zw.VisibilityChange,this.handleCancel),this.windowListeners.add(zw.ContextMenu,Xw),this.documentListeners.add(zw.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(qw(t))return this.timeoutId=setTimeout(this.handleStart,t.delay),void this.handlePending(t);if(Fw(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(zw.Click,Vw,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(zw.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:a}}=i;if(!r)return;const s=null!=(t=$w(e))?t:Lw,l=Iw(r,s);if(!n&&a){if(Fw(a)){if(null!=a.tolerance&&Zw(l,a.tolerance))return this.handleCancel();if(Zw(l,a.distance))return this.handleStart()}return qw(a)&&Zw(l,a.tolerance)?this.handleCancel():void this.handlePending(a,l)}e.cancelable&&e.preventDefault(),o(s)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===jw.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const Gw={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};(class extends Ww{constructor(e){const{event:t}=e,n=Mw(t.target);super(e,Gw,n)}}).activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const Hw={move:{name:"mousemove"},end:{name:"mouseup"}};var Uw;!function(e){e[e.RightClick=2]="RightClick"}(Uw||(Uw={})),class extends Ww{constructor(e){super(e,Hw,Mw(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==Uw.RightClick&&(null==r||r({event:n}),!0)}}];const Yw={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};var Kw,Jw,ex,tx,nx;(class extends Ww{constructor(e){super(e,Yw)}static setup(){return window.addEventListener(Yw.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Yw.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return!(i.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(Kw||(Kw={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Jw||(Jw={})),Nw.Backward,Nw.Forward,Nw.Backward,Nw.Forward,function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ex||(ex={})),function(e){e.Optimized="optimized"}(tx||(tx={})),ex.WhileDragging,tx.Optimized,Map,function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(nx||(nx={})),jw.Down,jw.Right,jw.Up,jw.Left;var rx=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},React.createElement("rect",{width:22.4,height:22.4,x:.8,y:.8,fill:"#fff",rx:3.2}),React.createElement("rect",{width:22.4,height:22.4,x:.8,y:.8,stroke:"#2F2F2F",strokeWidth:1.6,rx:3.2}),React.createElement("path",{fill:"#2F2F2F",d:"M19.584 7.938a.813.813 0 0 0-.813-.813H11.32a2.439 2.439 0 0 0-4.598 0H5.23a.813.813 0 0 0 0 1.625h1.493a2.439 2.439 0 0 0 4.598 0h7.451a.813.813 0 0 0 .813-.813ZM19.584 16.063a.813.813 0 0 0-.813-.813h-1.493a2.439 2.439 0 0 0-4.597 0H5.229a.813.813 0 0 0 0 1.625h7.452a2.439 2.439 0 0 0 4.597 0h1.493a.813.813 0 0 0 .813-.813Z"}))};function ix(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}var ox=function(e){var t=e.children,n=e.label,r=void 0===n?"popover":n,i=e.toggleIcon,o=void 0!==i&&i,s=e.className,l=void 0===s?"":s,c=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ix(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)?ix(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)(!1),2),u=c[0],d=c[1],p="".concat(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=Math.floor(1e7+9e7*Math.random());return"".concat(e).concat(t)}("sp-eab"),"popover");return(0,a.useEffect)(function(){var e=function(e){var t=e.target.closest(".sp-eab-popover__content-visible"),n=e.target.closest(".sp-eab-color-picker-renderer"),r=e.target.closest(".sp-eab-popover-toggle-button.".concat(p)),i=e.target.closest(".css-1nmdiq5-menu");!u||t||r||i||n||d(!1)};return window.addEventListener("click",e),function(){return window.removeEventListener("click",e)}}),React.createElement("div",{className:"sp-eab-popover-component sp-eab-component-mb".concat(l?" ".concat(l):"")},r&&React.createElement("div",{className:"sp-eab-popover-toggle-wrapper sp-d-flex sp-justify-between"},React.createElement("span",{className:"sp-eab-component-title"},r),React.createElement("button",{onClick:function(){return d(function(e){return!e})},className:"sp-eab-popover-toggle-button ".concat(p," sp-cursor-pointer").concat(u?" active":"")},o||React.createElement(rx,null))),u&&React.createElement(Fc.Popover,{shift:!0},React.createElement("div",{className:"sp-eab-popover__content-visible sp-easy-accordion-tabs-panel"},React.createElement("div",{className:"sp-eab-popover__content-visible-content"},t))))};ox.Header=function(e){var t=e.children;return React.createElement("div",{className:"sp-eab-popover__content-visible-label"},t)},ox.Content=function(e){var t=e.children;return React.createElement("div",{className:"sp-eab-popover__content"},t)};const ax=ox;function sx(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function lx(e={},t={}){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:sx(t[n])&&sx(e[n])&&Object.keys(t[n]).length>0&&lx(e[n],t[n])})}const cx={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ux(){const e="undefined"!=typeof document?document:{};return lx(e,cx),e}const dx={document:cx,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function px(){const e="undefined"!=typeof window?window:{};return lx(e,dx),e}function hx(e,t=0){return setTimeout(e,t)}function fx(){return Date.now()}function mx(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function gx(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function Ox(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const r=e[n];if(null!=r&&!gx(r)){const e=Object.keys(Object(r)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let n=0,i=e.length;n<i;n+=1){const i=e[n],o=Object.getOwnPropertyDescriptor(r,i);void 0!==o&&o.enumerable&&(mx(t[i])&&mx(r[i])?r[i].__swiper__?t[i]=r[i]:Ox(t[i],r[i]):!mx(t[i])&&mx(r[i])?(t[i]={},r[i].__swiper__?t[i]=r[i]:Ox(t[i],r[i])):t[i]=r[i])}}}return t}function vx(e,t,n){e.style.setProperty(t,n)}function bx({swiper:e,targetPosition:t,side:n}){const r=px(),i=-e.translate;let o,a=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const l=t>i?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const l=Math.max(Math.min((o-a)/s,1),0),d=.5-Math.cos(l*Math.PI)/2;let p=i+d*(t-i);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),c(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})}),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(u)};u()}function yx(e,t=""){const n=px(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(e=>e.matches(t)):r}function wx(e){try{return void console.warn(e)}catch(e){}}function xx(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}(t)),n}function Sx(e,t){return px().getComputedStyle(e,null).getPropertyValue(t)}function Ex(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function kx(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Rx(e,t,n){const r=px();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function Cx(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function Px(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let Ax,Qx,Tx;function Mx(){return Ax||(Ax=function(){const e=px(),t=ux();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),Ax}function Ix(e={}){return Qx||(Qx=function({userAgent:e}={}){const t=Mx(),n=px(),r=n.navigator.platform,i=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===r;let h="MacIntel"===r;return!c&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${s}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),l&&!p&&(o.os="android",o.android=!0),(c||d||u)&&(o.os="ios",o.ios=!0),o}(e)),Qx}function $x(){return Tx||(Tx=function(){const e=px(),t=Ix();let n=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&r<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r();return{isSafari:n||o,needPerspectiveFix:n,need3dFix:o||i&&t.ios,isWebView:i}}()),Tx}var Dx={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function i(...n){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(r,n)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,r,i;return"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t),r.unshift(i),(Array.isArray(n)?n:n.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(i,[e,...r])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(i,r)})}),t}};const Lx=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},Nx=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},zx=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&!t.lazyPreloaderManaged&&t.remove())})),t&&!t.lazyPreloaderManaged&&t.remove()}},jx=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Bx=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=i,o=[n-t];return o.push(...Array.from({length:t}).map((e,t)=>n+r+t)),void e.slides.forEach((t,n)=>{o.includes(t.column)&&jx(e,n)})}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=o+t;r+=1){const t=(r%n+n)%n;(t<i||t>o)&&jx(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(o+t,n-1);r+=1)r!==i&&(r>o||r<i)&&jx(e,r)};var Zx={updateSize:function(){const e=this;let t,n;const r=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(Sx(r,"padding-left")||0,10)-parseInt(Sx(r,"padding-right")||0,10),n=n-parseInt(Sx(r,"padding-top")||0,10)-parseInt(Sx(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,rtlTranslate:o,wrongRTL:a}=e,s=e.virtual&&n.virtual.enabled,l=s?e.virtual.slides.length:e.slides.length,c=yx(i,`.${e.params.slideClass}, swiper-slide`),u=s?e.virtual.slides.length:c.length;let d=[];const p=[],h=[];let f=n.slidesOffsetBefore;"function"==typeof f&&(f=n.slidesOffsetBefore.call(e));let m=n.slidesOffsetAfter;"function"==typeof m&&(m=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,O=e.slidesGrid.length,v=e.size-f-m;let b=n.spaceBetween,y=-f,w=0,x=0;if(void 0===v)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*v:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b-f-m,c.forEach(e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(vx(r,"--swiper-centered-offset-before",""),vx(r,"--swiper-centered-offset-after","")),n.cssMode&&(vx(r,"--swiper-slides-offset-before",`${f}px`),vx(r,"--swiper-slides-offset-after",`${m}px`));const S=n.grid&&n.grid.rows>1&&e.grid;let E;S?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const k="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let r=0;r<u;r+=1){E=0;const i=c[r];if(!i||(S&&e.grid.updateSlide(r,i,c),"none"!==Sx(i,"display"))){if(s&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(E=n.virtual.slidesPerViewAutoSlideSize),E&&i&&(n.roundLengths&&(E=Math.floor(E)),i.style[e.getDirectionLabel("width")]=`${E}px`);else if("auto"===n.slidesPerView){k&&(i.style[e.getDirectionLabel("width")]="");const r=getComputedStyle(i),o=i.style.transform,a=i.style.webkitTransform;if(o&&(i.style.transform="none"),a&&(i.style.webkitTransform="none"),n.roundLengths)E=e.isHorizontal()?Rx(i,"width",!0):Rx(i,"height",!0);else{const e=t(r,"width"),n=t(r,"padding-left"),o=t(r,"padding-right"),a=t(r,"margin-left"),s=t(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=e+a+s;else{const{clientWidth:t,offsetWidth:r}=i;E=e+n+o+a+s+(r-t)}}o&&(i.style.transform=o),a&&(i.style.webkitTransform=a),n.roundLengths&&(E=Math.floor(E))}else E=(v-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(E=Math.floor(E)),i&&(i.style[e.getDirectionLabel("width")]=`${E}px`);i&&(i.swiperSlideSize=E),h.push(E),n.centeredSlides?(y=y+E/2+w/2+b,0===w&&0!==r&&(y=y-v/2-b),0===r&&(y=y-v/2-b),Math.abs(y)<.001&&(y=0),n.roundLengths&&(y=Math.floor(y)),x%n.slidesPerGroup===0&&d.push(y),p.push(y)):(n.roundLengths&&(y=Math.floor(y)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&d.push(y),p.push(y),y=y+E+b),e.virtualSize+=E+b,w=E,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,v)+m,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),S&&e.grid.updateWrapperSize(E,d),!n.centeredSlides){const t="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,r=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||t);let i=d.length;if(r){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let n=h.length-1;n>=0&&(t+=h[n]+(n<h.length-1?b:0),t<=v);n-=1)e=h.length-n}else e=Math.floor(n.slidesPerView);i=Math.max(u-e,0)}const o=[];for(let t=0;t<d.length;t+=1){let a=d[t];n.roundLengths&&(a=Math.floor(a)),r?t<=i&&o.push(a):d[t]<=e.virtualSize-v&&o.push(a)}d=o,Math.floor(e.virtualSize-v)-Math.floor(d[d.length-1])>1&&(r||d.push(e.virtualSize-v))}if(s&&n.loop){const t=h[0]+b;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)d.push(d[d.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&d.push(d[d.length-1]+t),p.push(p[p.length-1]+t),e.virtualSize+=t}if(0===d.length&&(d=[0]),0!==b){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");c.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==c.length-1).forEach(e=>{e.style[t]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(b||0)}),e-=b;const t=e>v?e-v:0;d=d.map(e=>e<=0?-f:e>t?t+m:e)}if(n.centerInsufficientSlides){let e=0;if(h.forEach(t=>{e+=t+(b||0)}),e-=b,e<v){const t=(v-e)/2;d.forEach((e,n)=>{d[n]=e-t}),p.forEach((e,n)=>{p[n]=e+t})}}if(Object.assign(e,{slides:c,snapGrid:d,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){vx(r,"--swiper-centered-offset-before",-d[0]+"px"),vx(r,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(u!==l&&e.emit("slidesLengthChange"),d.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==O&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(s||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);u<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<r.length;e+=1){const l=r[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const u=(a+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),d=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),p=-(a-c),h=p+t.slidesSizesGrid[e],f=p>=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),Lx(l,m,n.slideVisibleClass),Lx(l,f,n.slideFullyVisibleClass),l.progress=i?-u:u,l.originalProgress=i?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a,progressLoop:s}=t;const l=o,c=a;if(0===r)i=0,o=!0,a=!0;else{i=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;o=n||i<=0,a=s||i>=1,n&&(i=0),s&&(i=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],o=t.slidesGrid[r],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=i?(l-i)/a:(l+a-o)/a,s>1&&(s-=1)}Object.assign(t,{progress:i,progressLoop:s,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,s=e=>yx(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,u;if(o)if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=s(`[data-swiper-slide-index="${t}"]`)}else l=s(`[data-swiper-slide-index="${i}"]`);else a?(l=t.find(e=>e.column===i),u=t.find(e=>e.column===i+1),c=t.find(e=>e.column===i-1)):l=t[i];l&&(a||(u=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{Nx(e,e===l,n.slideActiveClass),Nx(e,e===u,n.slideNextClass),Nx(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:a,snapIndex:s}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?r>=t[e]&&r<t[e+1]-(t[e+1]-t[e])/2?i=e:r>=t[e]&&r<t[e+1]&&(i=e+1):r>=t[e]&&(i=e);return n.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/i.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===o&&!t.params.loop)return void(l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&i.grid&&i.grid.rows>1;let p;if(t.virtual&&i.virtual.enabled)p=i.loop?u(c):c;else if(d){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/i.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:o,activeIndex:c}),t.initialized&&Bx(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)});let o,a=!1;if(i)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===i){a=!0,o=e;break}if(!i||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},Xx={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=function(e,t="x"){const n=px();let r,i,o;const a=function(e){const t=px();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}(i,e);return o+=this.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:o,progress:a}=n;let s,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,i.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,i.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:i.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();s=0===u?0:(e-n.minTranslate())/u,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,r=!0,i){const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return bx({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}};function Vx({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:i,previousIndex:o}=e;let a=n;a||(a=i>o?"next":i<o?"prev":"reset"),e.emit(`transition${r}`),t&&"reset"===a?e.emit(`slideResetTransition${r}`):t&&i!==o&&(e.emit(`slideChangeTransition${r}`),"next"===a?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}var Fx={setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),Vx({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),Vx({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},qx={slideTo:function(e=0,t,n=!0,r,i){"string"==typeof e&&(e=parseInt(e,10));const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:h,enabled:f}=o;if(!f&&!r&&!i||o.destroyed||o.animating&&s.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/o.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const O=-l[g];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*O),n=Math.floor(100*c[e]),r=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<r-(r-n)/2?a=e:t>=n&&t<r&&(a=e+1):t>=n&&(a=e)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&(p?O>o.translate&&O>o.minTranslate():O<o.translate&&O<o.minTranslate()))return!1;if(!o.allowSlidePrev&&O>o.translate&&O>o.maxTranslate()&&(d||0)!==a)return!1}let v;a!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(O),v=a>d?"next":a<d?"prev":"reset";const b=o.virtual&&o.params.virtual.enabled;if((!b||!i)&&(p&&-O===o.translate||!p&&O===o.translate))return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(O),"reset"!==v&&(o.transitionStart(n,v),o.transitionEnd(n,v)),!1;if(s.cssMode){const e=o.isHorizontal(),n=p?O:-O;if(0===t)b&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),b&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=n})):h[e?"scrollLeft":"scrollTop"]=n,b&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return bx({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const y=$x().isSafari;return b&&!i&&y&&o.isElement&&o.virtual.update(!1,!1,a),o.setTransition(t),o.setTranslate(O),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,v),0===t?o.transitionEnd(n,v):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,v))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,n=!0,r){"string"==typeof e&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(o){const t=a*i.params.grid.rows;e=i.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=i.getSlideIndexByData(a);const t=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n,slidesOffsetBefore:s,slidesOffsetAfter:l}=i.params,c=n||!!s||!!l;let u=i.params.slidesPerView;"auto"===u?u=i.slidesPerViewDynamic():(u=Math.ceil(parseFloat(i.params.slidesPerView,10)),c&&u%2==0&&(u+=1));let d=t-e<u;if(c&&(d=d||e<Math.ceil(u/2)),r&&c&&"auto"!==i.params.slidesPerView&&!o&&(d=!1),d){const n=c?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?i.realIndex:void 0})}if(o){const e=a*i.params.grid.rows;a=i.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame(()=>{i.slideTo(a,t,n,r)}),i},slideNext:function(e,t=!0,n){const r=this,{enabled:i,params:o,animating:a}=r;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<o.slidesPerGroupSkip?1:s,c=r.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t=!0,n){const r=this,{params:i,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:l,animating:c}=r;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);const u=r.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(s?r.translate:-r.translate),h=o.map(e=>d(e)),f=i.freeMode&&i.freeMode.enabled;let m=o[h.indexOf(p)-1];if(void 0===m&&(i.cssMode||f)){let e;o.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(m=f?o[e]:o[e>0?e-1:e])}let g=0;if(void 0!==m&&(g=a.indexOf(m),g<0&&(g=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=g-r.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(g,e,t,n)}),!0):r.slideTo(g,e,t,n)},slideReset:function(e,t=!0,n){const r=this;if(!r.destroyed)return void 0===e&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(e,t=!0,n,r=.5){const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.getSlideIndexWhenGrid(e.clickedIndex);const a=e.isElement?"swiper-slide":`.${t.slideClass}`,s=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):o>(s?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),o=e.getSlideIndex(yx(n,`${a}[data-swiper-slide-index="${i}"]`)[0]),hx(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}},Wx={loopCreate:function(e,t){const n=this,{params:r,slidesEl:i}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const o=()=>{yx(i,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},a=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||a)&&(()=>{const e=yx(i,`.${r.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const s=r.slidesPerGroup*(a?r.grid.rows:1),l=n.slides.length%s!==0,c=a&&n.slides.length%r.grid.rows!==0,u=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?xx("swiper-slide",[r.slideBlankClass]):xx("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};l?(r.loopAddBlankSlides?(u(s-n.slides.length%s),n.recalcSlides(),n.updateSlides()):wx("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),o()):c?(r.loopAddBlankSlides?(u(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()):wx("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),o()):o();const d=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:d?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:i,initial:o,byController:a,byMousewheel:s}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:p,params:h}=l,{centeredSlides:f,slidesOffsetBefore:m,slidesOffsetAfter:g,initialSlide:O}=h,v=f||!!m||!!g;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled)return t&&(v||0!==l.snapIndex?v&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,void l.emit("loopFix");let b=h.slidesPerView;"auto"===b?b=l.slidesPerViewDynamic():(b=Math.ceil(parseFloat(h.slidesPerView,10)),v&&b%2==0&&(b+=1));const y=h.slidesPerGroupAuto?b:h.slidesPerGroup;let w=v?Math.max(y,Math.ceil(b/2)):y;w%y!==0&&(w+=y-w%y),w+=h.loopAdditionalSlides,l.loopedSlides=w;const x=l.grid&&h.grid&&h.grid.rows>1;c.length<b+w||"cards"===l.params.effect&&c.length<b+2*w?wx("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&"row"===h.grid.fill&&wx("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],E=[],k=x?Math.ceil(c.length/h.grid.rows):c.length,R=o&&k-O<b&&!v;let C=R?O:l.activeIndex;void 0===i?i=l.getSlideIndex(c.find(e=>e.classList.contains(h.slideActiveClass))):C=i;const P="next"===n||!n,A="prev"===n||!n;let Q=0,T=0;const M=(x?c[i].column:i)+(v&&void 0===r?-b/2+.5:0);if(M<w){Q=Math.max(w-M,y);for(let e=0;e<w-M;e+=1){const t=e-Math.floor(e/k)*k;if(x){const e=k-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&S.push(t)}else S.push(k-t-1)}}else if(M+b>k-w){T=Math.max(M-(k-2*w),y),R&&(T=Math.max(T,b-k+O+1));for(let e=0;e<T;e+=1){const t=e-Math.floor(e/k)*k;x?c.forEach((e,n)=>{e.column===t&&E.push(n)}):E.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),"cards"===l.params.effect&&c.length<b+2*w&&(E.includes(i)&&E.splice(E.indexOf(i),1),S.includes(i)&&S.splice(S.indexOf(i),1)),A&&S.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),P&&E.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():x&&(S.length>0&&A||E.length>0&&P)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),h.watchSlidesProgress&&l.updateSlidesOffset(),t)if(S.length>0&&A){if(void 0===e){const e=l.slidesGrid[C],t=l.slidesGrid[C+Q]-e;s?l.setTranslate(l.translate-t):(l.slideTo(C+Math.ceil(Q),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=x?S.length/h.grid.rows:S.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(E.length>0&&P)if(void 0===e){const e=l.slidesGrid[C],t=l.slidesGrid[C-T]-e;s?l.setTranslate(l.translate-t):(l.slideTo(C-T,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=x?E.length/h.grid.rows:E.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!a){const o={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...o,slideTo:e.params.slidesPerView===h.slidesPerView&&t})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...o,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&t})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function Gx(e,t,n){const r=px(),{params:i}=e,o=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return!o||!(n<=a||n>=r.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function Hx(e){const t=this,n=ux();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if("pointerdown"===r.type){if(null!==i.pointerId&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(i.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void Gx(t,r,r.targetTouches[0].pageX);const{params:o,touches:a,enabled:s}=t;if(!s)return;if(!o.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=r.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const n=px();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),r}(l,t.wrapperEl))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(i.isTouched&&i.isMoved)return;const c=!!o.noSwipingClass&&""!==o.noSwipingClass,u=r.composedPath?r.composedPath():r.path;c&&r.target&&r.target.shadowRoot&&u&&(l=u[0]);const d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,p=!(!r.target||!r.target.shadowRoot);if(o.noSwiping&&(p?function(e,t=this){return function t(n){if(!n||n===ux()||n===px())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(d,l):l.closest(d)))return void(t.allowClick=!0);if(o.swipeHandler&&!l.closest(o.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const h=a.currentX,f=a.currentY;if(!Gx(t,r,h))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=f,i.touchStartTime=fx(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!l.matches(i.focusableElements))&&n.activeElement.blur();const g=m&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!g||l.isContentEditable||r.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function Ux(e){const t=ux(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:a,enabled:s}=n;if(!s)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==r.touchId)return;if(c.pointerId!==r.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===r.touchId),!l||l.identifier!==r.touchId)return}else l=c;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));const u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!n.allowTouchMove)return c.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),r.touchStartTime=fx()));if(i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(d<o.startY&&n.translate<=n.maxTranslate()||d>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else{if(a&&(u>o.startX&&-n.translate<=n.maxTranslate()||u<o.startX&&-n.translate>=n.minTranslate()))return;if(!a&&(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",c),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=u,o.currentY=d;const p=o.currentX-o.startX,h=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===c.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation();let f=n.isHorizontal()?p:h,m=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(f=Math.abs(f)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=f,f*=i.touchRatio,a&&(f=-f,m=-m);const g=n.touchesDirection;n.swipeDirection=f>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const O=n.params.loop&&!i.cssMode,v="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(O&&v&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==i._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&g!==n.touchesDirection&&O&&v&&Math.abs(f)>=1)return Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=f+r.startTranslate;let b=!0,y=i.resistanceRatio;if(i.touchReleaseOnEdges&&(y=0),f>0?(O&&v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==i.slidesPerView&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(b=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+f)**y))):f<0&&(O&&v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==i.slidesPerView&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===i.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(b=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-f)**y))),b&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(f)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Yx(e){const t=this,n=t.touchEventsData;let r,i=e;if(i.originalEvent&&(i=i.originalEvent),"touchend"===i.type||"touchcancel"===i.type){if(r=[...i.changedTouches].find(e=>e.identifier===n.touchId),!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&(!["pointercancel","contextmenu"].includes(i.type)||!t.browser.isSafari&&!t.browser.isWebView))return;n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:s,slidesGrid:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);o.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=fx(),d=u-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),d<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=fx(),hx(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=o.followFinger?s?t.translate:-t.translate:-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let f=0,m=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==l[e+t]?(h||p>=l[e]&&p<l[e+t])&&(f=e,m=l[e+t]-l[e]):(h||p>=l[e])&&(f=e,m=l[l.length-1]-l[l.length-2])}let g=null,O=null;o.rewind&&(t.isBeginning?O=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-l[f])/m,b=f<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(d>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:f+b):t.slideTo(f)),"prev"===t.swipeDirection&&(v>1-o.longSwipesRatio?t.slideTo(f+b):null!==O&&v<0&&Math.abs(v)>o.longSwipesRatio?t.slideTo(O):t.slideTo(f))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||i.target!==t.navigation.nextEl&&i.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+b),"prev"===t.swipeDirection&&t.slideTo(null!==O?O:f)):i.target===t.navigation.nextEl?t.slideTo(f+b):t.slideTo(f)}}function Kx(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;if(!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s)e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{const t=a?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function Jx(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function eS(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function tS(e){const t=this;zx(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function nS(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const rS=(e,t)=>{const n=ux(),{params:r,el:i,wrapperEl:o,device:a}=e,s=!!r.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;i&&"string"!=typeof i&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&o[l]("scroll",e.onScroll),r.updateOnWindowResize?e[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Kx,!0):e[c]("observerUpdate",Kx,!0),i[l]("load",e.onLoad,{capture:!0}))},iS=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var oS={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=ux(),s="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:a.querySelector(r.breakpointsBase),c=e.getBreakpoint(o,s,l);if(!c||e.currentBreakpoint===c)return;const u=(c in o?o[c]:void 0)||e.originalParams,d=iS(e,r),p=iS(e,u),h=e.params.grabCursor,f=u.grabCursor,m=r.enabled;d&&!p?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&p&&(i.classList.add(`${r.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!f?e.unsetGrabCursor():!h&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===u[t])return;const n=r[t]&&r[t].enabled,i=u[t]&&u[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});const g=u.direction&&u.direction!==r.direction,O=r.loop&&(u.slidesPerView!==r.slidesPerView||g),v=r.loop;g&&n&&e.changeDirection(),Ox(e.params,u);const b=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!b?e.disable():!m&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),n&&(O?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!v&&y?(e.loopCreate(t),e.updateSlides()):v&&!y&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let r=!1;const i=px(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){const{point:o,value:s}=a[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(r=o):s<=n.clientWidth&&(r=o)}return r||"max"}},aS={addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,a=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}},sS={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function lS(e,t){return function(n={}){const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i?("object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),Ox(t,n)):Ox(t,n)):Ox(t,n)}}const cS={eventsEmitter:Dx,update:Zx,translate:Xx,transition:Fx,slide:qx,loop:Wx,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=Hx.bind(e),e.onTouchMove=Ux.bind(e),e.onTouchEnd=Yx.bind(e),e.onDocumentTouchStart=nS.bind(e),t.cssMode&&(e.onScroll=eS.bind(e)),e.onClick=Jx.bind(e),e.onLoad=tS.bind(e),rS(e,"on")},detachEvents:function(){rS(this,"off")}},breakpoints:oS,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:aS},uS={};class dS{constructor(...e){let t,n;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=Ox({},n),t&&!n.el&&(n.el=t);const r=ux();if(n.el&&"string"==typeof n.el&&r.querySelectorAll(n.el).length>1){const e=[];return r.querySelectorAll(n.el).forEach(t=>{const r=Ox({},n,{el:t});e.push(new dS(r))}),e}const i=this;i.__swiper__=!0,i.support=Mx(),i.device=Ix({userAgent:n.userAgent}),i.browser=$x(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEach(e=>{"function"==typeof e&&i.modules.indexOf(e)<0&&i.modules.push(e)});const o={};i.modules.forEach(e=>{e({params:n,swiper:i,extendParams:lS(n,o),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const a=Ox({},sS,o);return i.params=Ox({},a,uS,n),i.originalParams=Ox({},i.params),i.passedParams=Ox({},n),i.params&&i.params.on&&Object.keys(i.params.on).forEach(e=>{i.on(e,i.params.on[e])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=Ex(yx(t,`.${n.slideClass}, swiper-slide`)[0]);return Ex(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=yx(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[s]?Math.ceil(r[s].swiperSlideSize):0;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<r.length;e+=1)(t?i[e]+o[e]-i[s]<a:i[e]-i[s]<a)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<a&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&zx(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):yx(n,r())[0];return!i&&t.params.createElements&&(i=xx("div",t.params.wrapperClass),n.append(i),yx(n,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===Sx(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===Sx(n,"direction")),wrongRTL:"-webkit-box"===Sx(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?zx(t,e):e.addEventListener("load",e=>{zx(t,e.target)})}),Bx(t),t.initialized=!0,Bx(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const n=this,{params:r,el:i,wrapperEl:o,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){Ox(uS,e)}static get extendedDefaults(){return uS}static get defaults(){return sS}static installModule(e){dS.prototype.__modules__||(dS.prototype.__modules__=[]);const t=dS.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>dS.installModule(e)),dS):(dS.installModule(e),dS)}}Object.keys(cS).forEach(e=>{Object.keys(cS[e]).forEach(t=>{dS.prototype[t]=cS[e][t]})}),dS.use([function({swiper:e,on:t,emit:n}){const r=px();let i=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{o=r.requestAnimationFrame(()=>{const{width:n,height:r}=e;let i=n,o=r;t.forEach(({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(i=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)}),i===n&&o===r||a()})}),i.observe(e.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",s))}),t("destroy",()=>{o&&r.cancelAnimationFrame(o),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",s)})},function({swiper:e,extendParams:t,on:n,emit:r}){const i=[],o=px(),a=(t,n={})=>{const a=new(o.MutationObserver||o.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void r("observerUpdate",t[0]);const n=function(){r("observerUpdate",t[0])};o.requestAnimationFrame?o.requestAnimationFrame(n):o.setTimeout(n,0)});a.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),i.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=kx(e.hostEl);for(let e=0;e<t.length;e+=1)a(t[e])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}]);const pS=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function hS(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function fS(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:hS(t[n])&&hS(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:fS(e[n],t[n]):e[n]=t[n]})}function mS(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function gS(e={}){return e.pagination&&void 0===e.pagination.el}function OS(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function vS(e=""){const t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];return t.forEach(e=>{n.indexOf(e)<0&&n.push(e)}),n.join(" ")}function bS(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function yS(){return yS=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},yS.apply(this,arguments)}function wS(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function xS(e){const t=[];return c.Children.toArray(e).forEach(e=>{wS(e)?t.push(e):e.props&&e.props.children&&xS(e.props.children).forEach(e=>t.push(e))}),t}function SS(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return c.Children.toArray(e).forEach(e=>{if(wS(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=xS(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}function ES(e,t){return"undefined"==typeof window?(0,c.useEffect)(e,t):(0,c.useLayoutEffect)(e,t)}const kS=(0,c.createContext)(null),RS=(0,c.createContext)(null),CS=(0,c.forwardRef)(({className:e,tag:t="div",wrapperTag:n="div",children:r,onSwiper:i,...o}={},a)=>{let s=!1;const[l,u]=(0,c.useState)("swiper"),[d,p]=(0,c.useState)(null),[h,f]=(0,c.useState)(!1),m=(0,c.useRef)(!1),g=(0,c.useRef)(null),O=(0,c.useRef)(null),v=(0,c.useRef)(null),b=(0,c.useRef)(null),y=(0,c.useRef)(null),w=(0,c.useRef)(null),x=(0,c.useRef)(null),S=(0,c.useRef)(null),{params:E,passedParams:k,rest:R,events:C}=function(e={},t=!0){const n={on:{}},r={},i={};fS(n,sS),n._emitClasses=!0,n.init=!1;const o={},a=pS.map(e=>e.replace(/_/,"")),s=Object.assign({},e);return Object.keys(s).forEach(s=>{void 0!==e[s]&&(a.indexOf(s)>=0?hS(e[s])?(n[s]={},i[s]={},fS(n[s],e[s]),fS(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"==typeof e[s]?t?r[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:n.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:o[s]=e[s])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:i,rest:o,events:r}}(o),{slides:P,slots:A}=SS(r),Q=()=>{f(!h)};Object.assign(E.on,{_containerClasses(e,t){u(t)}});const T=()=>{Object.assign(E.on,C),s=!0;const e={...E};if(delete e.wrapperClass,O.current=new dS(e),O.current.virtual&&O.current.params.virtual.enabled){O.current.virtual.slides=P;const e={cache:!1,slides:P,renderExternal:p,renderExternalUpdate:!1};fS(O.current.params.virtual,e),fS(O.current.originalParams.virtual,e)}};return g.current||T(),O.current&&O.current.on("_beforeBreakpoint",Q),(0,c.useEffect)(()=>()=>{O.current&&O.current.off("_beforeBreakpoint",Q)}),(0,c.useEffect)(()=>{!m.current&&O.current&&(O.current.emitSlidesClasses(),m.current=!0)}),ES(()=>{if(a&&(a.current=g.current),g.current)return O.current.destroyed&&T(),function({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:i,swiper:o},a){mS(a)&&t&&n&&(o.params.navigation.nextEl=t,o.originalParams.navigation.nextEl=t,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),gS(a)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),OS(a)&&i&&(o.params.scrollbar.el=i,o.originalParams.scrollbar.el=i),o.init(e)}({el:g.current,nextEl:y.current,prevEl:w.current,paginationEl:x.current,scrollbarEl:S.current,swiper:O.current},E),i&&!O.current.destroyed&&i(O.current),()=>{O.current&&!O.current.destroyed&&O.current.destroy(!0,!1)}},[]),ES(()=>{!s&&C&&O.current&&Object.keys(C).forEach(e=>{O.current.on(e,C[e])});const e=function(e,t,n,r,i){const o=[];if(!t)return o;const a=e=>{o.indexOf(e)<0&&o.push(e)};if(n&&r){const e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&a("children"),r.length!==n.length&&a("children")}return pS.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t)if(hS(e[n])&&hS(t[n])){const r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?a(n):(r.forEach(r=>{e[n][r]!==t[n][r]&&a(n)}),i.forEach(r=>{e[n][r]!==t[n][r]&&a(n)}))}else e[n]!==t[n]&&a(n)}),o}(k,v.current,P,b.current,e=>e.key);return v.current=k,b.current=P,e.length&&O.current&&!O.current.destroyed&&function({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:i,prevEl:o,scrollbarEl:a,paginationEl:s}){const l=r.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:c,pagination:u,navigation:d,scrollbar:p,virtual:h,thumbs:f}=e;let m,g,O,v,b,y,w,x;r.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&c.thumbs&&(!c.thumbs.swiper||c.thumbs.swiper.destroyed)&&(m=!0),r.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(g=!0),r.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(c.pagination||!1===c.pagination)&&u&&!u.el&&(O=!0),r.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||!1===c.scrollbar)&&p&&!p.el&&(v=!0),r.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||i)&&(c.navigation||!1===c.navigation)&&d&&!d.prevEl&&!d.nextEl&&(b=!0);const S=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),c[t].prevEl=void 0,c[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),c[t].el=void 0,e[t].el=void 0))};r.includes("loop")&&e.isElement&&(c.loop&&!n.loop?y=!0:!c.loop&&n.loop?w=!0:x=!0),l.forEach(e=>{if(hS(c[e])&&hS(n[e]))Object.assign(c[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||S(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?c[e]=n[e]:!1===t&&S(e)}}),l.includes("controller")&&!g&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),r.includes("children")&&t&&h&&c.virtual.enabled?(h.slides=t,h.update(!0)):r.includes("virtual")&&h&&c.virtual.enabled&&(t&&(h.slides=t),h.update(!0)),r.includes("children")&&t&&c.loop&&(x=!0),m&&f.init()&&f.update(!0),g&&(e.controller.control=c.controller.control),O&&(!e.isElement||s&&"string"!=typeof s||((s=document.createElement("div")).classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(c.pagination.el=s),u.init(),u.render(),u.update()),v&&(!e.isElement||a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),b&&(e.isElement&&(i&&"string"!=typeof i||((i=document.createElement("div")).classList.add("swiper-button-next"),Px(i,e.navigation.arrowSvg),i.part.add("button-next"),e.el.appendChild(i)),o&&"string"!=typeof o||((o=document.createElement("div")).classList.add("swiper-button-prev"),Px(o,e.navigation.arrowSvg),o.part.add("button-prev"),e.el.appendChild(o))),i&&(c.navigation.nextEl=i),o&&(c.navigation.prevEl=o),d.init(),d.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),r.includes("direction")&&e.changeDirection(n.direction,!1),(y||x)&&e.loopDestroy(),(w||x)&&e.loopCreate(),e.update()}({swiper:O.current,slides:P,passedParams:k,changedParams:e,nextEl:y.current,prevEl:w.current,scrollbarEl:S.current,paginationEl:x.current}),()=>{C&&O.current&&Object.keys(C).forEach(e=>{O.current.off(e,C[e])})}}),ES(()=>{var e;!(e=O.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[d]),c.createElement(t,yS({ref:g,className:vS(`${l}${e?` ${e}`:""}`)},R),c.createElement(RS.Provider,{value:O.current},A["container-start"],c.createElement(n,{className:bS(E.wrapperClass)},A["wrapper-start"],E.virtual?function(e,t,n){if(!n)return null;const r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:a}=n,s=e.params.loop?-t.length:0,l=e.params.loop?2*t.length:t.length,u=[];for(let e=s;e<l;e+=1)e>=o&&e<=a&&u.push(t[r(e)]);return u.map((t,n)=>c.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${n}`}))}(O.current,P,d):P.map((e,t)=>c.cloneElement(e,{swiper:O.current,swiperSlideIndex:t})),A["wrapper-end"]),mS(E)&&c.createElement(c.Fragment,null,c.createElement("div",{ref:w,className:"swiper-button-prev"}),c.createElement("div",{ref:y,className:"swiper-button-next"})),OS(E)&&c.createElement("div",{ref:S,className:"swiper-scrollbar"}),gS(E)&&c.createElement("div",{ref:x,className:"swiper-pagination"}),A["container-end"]))});CS.displayName="Swiper";const PS=(0,c.forwardRef)(({tag:e="div",children:t,className:n="",swiper:r,zoom:i,lazy:o,virtualIndex:a,swiperSlideIndex:s,...l}={},u)=>{const d=(0,c.useRef)(null),[p,h]=(0,c.useState)("swiper-slide"),[f,m]=(0,c.useState)(!1);function g(e,t,n){t===d.current&&h(n)}ES(()=>{if(void 0!==s&&(d.current.swiperSlideIndex=s),u&&(u.current=d.current),d.current&&r){if(!r.destroyed)return r.on("_slideClass",g),()=>{r&&r.off("_slideClass",g)};"swiper-slide"!==p&&h("swiper-slide")}}),ES(()=>{r&&d.current&&!r.destroyed&&h(r.getSlideClasses(d.current))},[r]);const O={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},v=()=>"function"==typeof t?t(O):t;return c.createElement(e,yS({ref:d,className:vS(`${p}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:()=>{m(!0)}},l),i&&c.createElement(kS.Provider,{value:O},c.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof i?i:void 0},v(),o&&!f&&c.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!i&&c.createElement(kS.Provider,{value:O},v(),o&&!f&&c.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))});function AS(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(i=>{if(!n[i]&&!0===n.auto){let o=yx(e.el,`.${r[i]}`)[0];o||(o=xx("div",r[i]),o.className=r[i],e.el.append(o)),n[i]=o,t[i]=o}}),n}PS.displayName="SwiperSlide";const QS='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function TS({swiper:e,extendParams:t,on:n,emit:r}){function i(t){let n;return t&&"string"==typeof t&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&("string"==typeof t&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&n&&n.length>1&&1===e.el.querySelectorAll(t).length?n=e.el.querySelector(t):n&&1===n.length&&(n=n[0])),t&&!n?t:n)}function o(t,n){const r=e.params.navigation;(t=Cx(t)).forEach(t=>{t&&(t.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](r.lockClass))})}function a(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return o(n,!1),void o(t,!1);o(n,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=AS(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let n=i(t.nextEl),r=i(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:r}),n=Cx(n),r=Cx(r);const o=(n,r)=>{if(n){if(t.addIcons&&n.matches(".swiper-button-next,.swiper-button-prev")&&!n.querySelector("svg")){const e=document.createElement("div");Px(e,QS),n.appendChild(e.querySelector("svg")),e.remove()}n.addEventListener("click","next"===r?l:s)}!e.enabled&&n&&n.classList.add(...t.lockClass.split(" "))};n.forEach(e=>o(e,"next")),r.forEach(e=>o(e,"prev"))}function u(){let{nextEl:t,prevEl:n}=e.navigation;t=Cx(t),n=Cx(n);const r=(t,n)=>{t.removeEventListener("click","next"===n?l:s),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>r(e,"next")),n.forEach(e=>r(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:QS},n("init",()=>{!1===e.params.navigation.enabled?d():(c(),a())}),n("toEdge fromEdge lock unlock",()=>{a()}),n("destroy",()=>{u()}),n("enable disable",()=>{let{nextEl:t,prevEl:n}=e.navigation;t=Cx(t),n=Cx(n),e.enabled?a():[...t,...n].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n("click",(t,n)=>{let{nextEl:i,prevEl:o}=e.navigation;i=Cx(i),o=Cx(o);const a=n.target;let s=o.includes(a)||i.includes(a);if(e.isElement&&!s){const e=n.path||n.composedPath&&n.composedPath();e&&(s=e.find(e=>i.includes(e)||o.includes(e)))}if(e.params.navigation.hideOnClick&&!s){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;i.length?t=i[0].classList.contains(e.params.navigation.hiddenClass):o.length&&(t=o[0].classList.contains(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),[...i,...o].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const d=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},disable:d,update:a,init:c,destroy:u})}function MS(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function _S({swiper:e,extendParams:t,on:n,emit:r}){const i="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,bullets:[]};let a=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function l(t,n){const{bulletActiveClass:r}=e.params.pagination;t&&(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${r}-${n}`),(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&t.classList.add(`${r}-${n}-${n}`))}function c(t){const n=t.target.closest(MS(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();const r=Ex(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===r)return;const t=(i=e.realIndex,o=r,(o%=a=e.slides.length)===1+(i%=a)?"next":o===i-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(r)}else e.slideTo(r);var i,o,a}function u(){const t=e.rtl,n=e.params.pagination;if(s())return;let i,c,u=e.pagination.el;u=Cx(u);const d=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,p=e.params.loop?Math.ceil(d/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,i=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(i=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,i=e.activeIndex||0),"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let s,d,p;if(n.dynamicBullets&&(o=Rx(r[0],e.isHorizontal()?"width":"height",!0),u.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=o*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==c&&(a+=i-(c||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),s=Math.max(i-a,0),d=s+(Math.min(r.length,n.dynamicMainBullets)-1),p=(d+s)/2),r.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),u.length>1)r.forEach(t=>{const r=Ex(t);r===i?t.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),n.dynamicBullets&&(r>=s&&r<=d&&t.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===s&&l(t,"prev"),r===d&&l(t,"next"))});else{const t=r[i];if(t&&t.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&r.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),n.dynamicBullets){const e=r[s],t=r[d];for(let e=s;e<=d;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));l(e,"prev"),l(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),a=(o*i-o)/2-p*o,s=t?"right":"left";r.forEach(t=>{t.style[e.isHorizontal()?s:"top"]=`${a}px`})}}u.forEach((t,o)=>{if("fraction"===n.type&&(t.querySelectorAll(MS(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(i+1)}),t.querySelectorAll(MS(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(p)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const o=(i+1)/p;let a=1,s=1;"horizontal"===r?a=o:s=o,t.querySelectorAll(MS(n.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${s})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(Px(t,n.renderCustom(e,i+1,p)),0===o&&r("paginationRender",t)):(0===o&&r("paginationRender",t),r("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass)})}function d(){const t=e.params.pagination;if(s())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=Cx(i);let o="";if("bullets"===t.type){let r=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)t.renderBullet?o+=t.renderBullet.call(e,n,t.bulletClass):o+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(n=>{"custom"!==t.type&&Px(n,o||""),"bullets"===t.type&&e.pagination.bullets.push(...n.querySelectorAll(MS(t.bulletClass)))}),"custom"!==t.type&&r("paginationRender",i[0])}function p(){e.params.pagination=AS(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n;"string"==typeof t.el&&e.isElement&&(n=e.el.querySelector(t.el)),n||"string"!=typeof t.el||(n=[...document.querySelectorAll(t.el)]),n||(n=t.el),n&&0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1&&(n=n.find(t=>kx(t,".swiper")[0]===e.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}),n=Cx(n),n.forEach(n=>{"bullets"===t.type&&t.clickable&&n.classList.add(...(t.clickableClass||"").split(" ")),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener("click",c),e.enabled||n.classList.add(t.lockClass)}))}function h(){const t=e.params.pagination;if(s())return;let n=e.pagination.el;n&&(n=Cx(n),n.forEach(n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||"").split(" ")),n.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:n}=e.pagination;n=Cx(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.pagination.enabled?f():(p(),d(),u())}),n("activeIndexChange",()=>{void 0===e.snapIndex&&u()}),n("snapIndexChange",()=>{u()}),n("snapGridLengthChange",()=>{d(),u()}),n("destroy",()=>{h()}),n("enable disable",()=>{let{el:t}=e.pagination;t&&(t=Cx(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{u()}),n("click",(t,n)=>{const i=n.target,o=Cx(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=o[0].classList.contains(e.params.pagination.hiddenClass);r(!0===t?"paginationShow":"paginationHide"),o.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const f=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=Cx(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=Cx(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),p(),d(),u()},disable:f,render:d,update:u,init:p,destroy:h})}function IS(e){return IS="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},IS(e)}(0,a.memo)(function(e){var t=e.items,n=e.label,r=void 0===n?"":n,i=e.attributes,o=e.setAttributes,a=e.attributesKey,s=null==t?void 0:t.findIndex(function(e){return(null==e?void 0:e.value)===i});return React.createElement("div",{className:"sp-eab-layout-preset-slider-component sp-eab-component-mb"},React.createElement("div",{className:"sp-eab-component-title-wrapper sp-mb-8px"},React.createElement("span",{className:"sp-eab-component-title"},r)),React.createElement(CS,{pagination:{clickable:!0},navigation:!0,modules:[_S,TS],className:"mySwiper sp-eab-layout-picker-swiper",initialSlide:s,onSlideChange:function(e){return n=e.activeIndex,"vertical-six"===(i=null===(r=t[n])||void 0===r?void 0:r.value)&&o({toggleIconPosition:"start"}),void o(function(e,t,n){return(t=function(e){var t=function(e){if("object"!=IS(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=IS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IS(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},a,i));var n,r,i},key:s},null==t?void 0:t.map(function(e,t){var n=e.Icon;return React.createElement(PS,{key:t},React.createElement("div",{className:"sp-eab-preset-image sp-d-flex sp-justify-center"},React.createElement(n,null)))})))}),(0,a.memo)(function(e){var t,n,r=e.videoType,i=e.bgVideo,o=e.youtubeVideo,a="";return"youtube"===r&&(a=(n=null==(t=o)?void 0:t.match(/(?:youtube\.com\/(?:.*[?&]v=|v\/|embed\/)|youtu\.be\/)([^"&?\/ ]{11})/))?n[1]:null),React.createElement("div",{className:"sp-eab-video-player sp-w-full"},"html5"===r&&React.createElement("video",{autoPlay:!0,muted:!0,loop:!0,key:null==i?void 0:i.url},React.createElement("source",{src:null==i?void 0:i.url,type:"video/mp4"})),"youtube"===r&&React.createElement("iframe",{key:a,width:"100%",height:"500px",src:"https://www.youtube.com/embed/".concat(a,"?autoplay=1&mute=1"),title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}))});let $S=[],DS=[];function LS(e){if(e<768)return!1;for(let t=0,n=$S.length;;){let r=t+n>>1;if(e<$S[r])n=r;else{if(!(e>=DS[r]))return!0;t=r+1}if(t==n)return!1}}function NS(e){return e>=127462&&e<=127487}function zS(e,t,n=!0,r=!0){return(n?jS:BS)(e,t,r)}function jS(e,t,n){if(t==e.length)return t;t&&XS(e.charCodeAt(t))&&VS(e.charCodeAt(t-1))&&t--;let r=ZS(e,t);for(t+=FS(r);t<e.length;){let i=ZS(e,t);if(8205==r||8205==i||n&&LS(i))t+=FS(i),r=i;else{if(!NS(i))break;{let n=0,r=t-2;for(;r>=0&&NS(ZS(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}function BS(e,t,n){for(;t>1;){let r=jS(e,t-2,n);if(r<t)return r;t--}return 0}function ZS(e,t){let n=e.charCodeAt(t);if(!VS(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return XS(r)?r-56320+(n-55296<<10)+65536:n}function XS(e){return e>=56320&&e<57344}function VS(e){return e>=55296&&e<56320}function FS(e){return e<65536?1:2}(()=>{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?DS:$S).push(n+=e[t])})();class qS{lineAt(e){if(e<0||e>this.length)throw new 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 new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=tE(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),GS.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]=tE(this,e,t);let n=[];return this.decompose(e,t,n,0),GS.from(n,t-e)}eq(e){if(e==this)return!0;if(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 YS(this),i=new YS(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 YS(this,e)}iterRange(e,t=this.length){return new KS(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 JS(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new WS(e):GS.from(WS.split(e,[])):qS.empty}}class WS extends qS{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 eE(r,a,n,o);r=a+1,n++}}decompose(e,t,n,r){let i=e<=0&&t>=this.length?this:new WS(US(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=HS(i.text,e.text.slice(),0,i.length);if(t.length<=32)n.push(new WS(t,e.length+i.length));else{let e=t.length>>1;n.push(new WS(t.slice(0,e)),new WS(t.slice(e)))}}else n.push(i)}replace(e,t,n){if(!(n instanceof WS))return super.replace(e,t,n);[e,t]=tE(this,e,t);let r=HS(this.text,HS(n.text,US(this.text,0,e)),t),i=this.length+n.length-(t-e);return r.length<=32?new WS(r,i):GS.from(WS.split(r,[]),i)}sliceString(e,t=this.length,n="\n"){[e,t]=tE(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 WS(n,r)),n=[],r=-1);return r>-1&&t.push(new WS(n,r)),t}}class GS extends qS{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.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]=tE(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 GS(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]=tE(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 GS))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 WS(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,a=[],s=0,l=-1,c=[];function u(e){let t;if(e.lines>i&&e instanceof GS)for(let t of e.children)u(t);else e.lines>o&&(s>o||!s)?(d(),a.push(e)):e instanceof WS&&s&&(t=c[c.length-1])instanceof WS&&e.lines+t.lines<=32?(s+=e.lines,l+=e.length+1,c[c.length-1]=new WS(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>r&&d(),s+=e.lines,l+=e.length+1,c.push(e))}function d(){0!=s&&(a.push(1==c.length?c[0]:GS.from(c,l)),l=-1,s=c.length=0)}for(let t of e)u(t);return d(),1==a.length?a[0]:new GS(a,t)}}function HS(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 US(e,t,n){return HS(e,[""],t,n)}qS.empty=new WS([""],0);class YS{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 WS?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 WS?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>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof WS){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 WS?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 KS{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new YS(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 JS{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&&(qS.prototype[Symbol.iterator]=function(){return this.iter()},YS.prototype[Symbol.iterator]=KS.prototype[Symbol.iterator]=JS.prototype[Symbol.iterator]=function(){return this});class eE{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 tE(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function nE(e,t,n=!0,r=!0){return zS(e,t,n,r)}function rE(e,t){let n=e.charCodeAt(t);if(!((r=n)>=55296&&r<56320&&t+1!=e.length))return n;var r;let i=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(i)?i-56320+(n-55296<<10)+65536:n}function iE(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function oE(e){return e<65536?1:2}const aE=/\r\n?|\n/;var sE=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(sE||(sE={}));class lE{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){pE(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 lE(e)}composeDesc(e){return this.empty?e:e.empty?this:fE(this,e)}mapDesc(e,t=!1){return e.empty?this:hE(this,e,t)}mapPos(e,t=-1,n=sE.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!=sE.Simple&&l>=e&&(n==sE.TrackDel&&r<e&&l>e||n==sE.TrackBefore&&r<e||n==sE.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 new 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=r+this.sections[n++];if(this.sections[n++]>=0&&r<=t&&i>=e)return!(r<e&&i>t)||"cover";r=i}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 new RangeError("Invalid JSON representation of ChangeDesc");return new lE(e)}static create(e){return new lE(e)}}class cE extends lE{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return pE(this,(t,n,r,i,o)=>e=e.replace(r,r+(n-t),o),!1),e}mapDesc(e,t=!1){return hE(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 s=r>>1;for(;n.length<s;)n.push(qS.empty);n.push(o?e.slice(i,i+o):qS.empty)}i+=o}return new cE(t,n)}compose(e){return this.empty?e:e.empty?this:fE(this,e,!0)}map(e,t=!1){return e.empty?this:hE(this,e,t,!0)}iterChanges(e,t=!1){pE(this,e,t)}get desc(){return lE.create(this.sections)}filter(e){let t=[],n=[],r=[],i=new mE(this);e: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 e;let e=Math.min(i.len,s-a);uE(r,e,-1);let o=-1==i.ins?-1:0==i.off?i.ins:0;uE(t,e,o),o>0&&dE(n,t,i.text),i.forward(e),a+=e}let l=e[o++];for(;a<l;){if(i.done)break e;let e=Math.min(i.len,l-a);uE(t,e,-1),uE(r,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),a+=e}}return{changes:new cE(t,n),filtered:lE.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 s(e=!1){if(!e&&!r.length)return;o<t&&uE(r,t-o,-1);let n=new cE(r,i);a=a?a.compose(n.map(a)):n,r=[],i=[],o=0}return function e(l){if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof cE){if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`);s(),a=a?a.compose(l.map(a)):l}else{let{from:e,to:a=e,insert:c}=l;if(e>a||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let u=c?"string"==typeof c?qS.of(c.split(n||aE)):c:qS.empty,d=u.length;if(e==a&&0==d)return;e<o&&s(),e>o&&uE(r,e-o,-1),uE(r,a-e,d),dE(i,r,u),o=a}}(e),s(!a),a}static empty(e){return new cE(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new 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 new RangeError("Invalid JSON representation of ChangeSet");if(1==i.length)t.push(i[0],0);else{for(;n.length<r;)n.push(qS.empty);n[r]=qS.of(i.slice(1)),t.push(i[0],n[r].length)}}}return new cE(t,n)}static createSet(e,t){return new cE(e,t)}}function uE(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 dE(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(qS.empty);e.push(n)}}function pE(e,t,n){let r=e.inserted;for(let i=0,o=0,a=0;a<e.sections.length;){let s=e.sections[a++],l=e.sections[a++];if(l<0)i+=s,o+=s;else{let c=i,u=o,d=qS.empty;for(;c+=s,u+=l,l&&r&&(d=d.append(r[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],l=e.sections[a++];t(i,c,o,u,d),i=c,o=u}}}function hE(e,t,n,r=!1){let i=[],o=r?[]:null,a=new mE(e),s=new mE(t);for(let e=-1;;){if(a.done&&s.len||s.done&&a.len)throw new Error("Mismatched change set lengths");if(-1==a.ins&&-1==s.ins){let e=Math.min(a.len,s.len);uE(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(uE(i,s.ins,-1);t;){let n=Math.min(a.len,t);a.ins>=0&&e<a.i&&a.len<=n&&(uE(i,0,a.ins),o&&dE(o,i,a.text),e=a.i),a.forward(n),t-=n}s.next()}else{if(!(a.ins>=0)){if(a.done&&s.done)return o?cE.createSet(i,o):lE.create(i);throw new Error("Mismatched change set lengths")}{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))break;n-=s.len,s.next()}uE(i,t,e<a.i?a.ins:0),o&&e<a.i&&dE(o,i,a.text),e=a.i,a.forward(a.len-n)}}}}function fE(e,t,n=!1){let r=[],i=n?[]:null,o=new mE(e),a=new mE(t);for(let e=!1;;){if(o.done&&a.done)return i?cE.createSet(r,i):lE.create(r);if(0==o.ins)uE(r,o.len,0,e),o.next();else if(0!=a.len||a.done){if(o.done||a.done)throw new Error("Mismatched change set lengths");{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;uE(r,t,n,e),i&&n&&dE(i,r,a.text)}else-1==a.ins?(uE(r,o.off?0:o.len,t,e),i&&dE(i,r,o.textBit(t))):(uE(r,o.off?0:o.len,a.off?0:a.ins,e),i&&!a.off&&dE(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 uE(r,0,a.ins,e),i&&dE(i,r,a.text),a.next()}}class mE{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?qS.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?qS.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)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class gE{constructor(e,t,n,r){this.from=e,this.to=t,this.flags=n,this.goalColumn=r}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 undirectional(){return(64&this.flags)>0}get bidiLevel(){let e=7&this.flags;return 7==e?null: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 gE(n,r,this.flags,this.goalColumn)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return OE.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return OE.range(this.anchor,r,void 0,void 0,n)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||this.goalColumn!=e.goalColumn||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 new RangeError("Invalid JSON representation for SelectionRange");return OE.range(e.anchor,e.head)}static create(e,t,n,r){return new gE(e,t,n,r)}}class OE{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:OE.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 OE([this.main],0)}addRange(e,t=!0){return OE.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,OE.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 new RangeError("Invalid JSON representation for EditorSelection");return new OE(e.ranges.map(e=>gE.fromJSON(e)),e.main)}static single(e,t=e){return new OE([OE.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new 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 OE.normalized(e.slice(),t);n=i.to}return new OE(e,t)}static cursor(e,t=0,n,r){return gE.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n)),r)}static range(e,t,n,r,i){let o=null==r?7:Math.min(6,r);return i||e==t||(i=t<e?1:-1),i&&(o|=i<0?8:16),t<e?gE.create(t,e,32|o,n):gE.create(e,t,o,n)}static undirectionalRange(e,t){return gE.create(e,t,64,void 0)}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?OE.range(a,o):OE.range(o,a))}}return new OE(e,t)}}function vE(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let bE=0;class yE{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=bE++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new yE(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:wE),!!e.static,e.enables)}of(e){return new xE([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new xE(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new xE(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function wE(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class xE{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=bE++}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:1&(null!==(t=e[n.id])&&void 0!==t?t:1)||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)||EE(e,c)){let t=n(e);if(a?!SE(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>{let s,l=t.config.address[i];if(null!=l){let i=$E(t,l);if(this.dependencies.every(n=>n instanceof yE?t.facet(n)===e.facet(n):!(n instanceof CE)||t.field(n,!1)==e.field(n,!1))||(a?SE(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}}}get extension(){return this}}function SE(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 EE(e,t){let n=!1;for(let r of t)1&IE(e,r)&&(n=!0);return n}function kE(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=$E(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)IE(e,t);return e.values[a]=s(e),1},update(e,n){if(!EE(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=EE(e,r),l=i.config.facets[t.id],c=i.facet(t);if(l&&!o&&wE(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)}}}const RE=yE.define({static:!0});class CE{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 CE(bE++,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(RE).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)=>{let r,i=e.facet(RE),o=n.facet(RE);return(r=i.find(e=>e.field==this))&&r!=o.find(e=>e.field==this)?(e.values[t]=r.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,RE.of({field:this,create:e})]}get extension(){return this}}function PE(e){return t=>new QE(t,e)}const AE={highest:PE(0),high:PE(1),default:PE(2),low:PE(3),lowest:PE(4)};class QE{constructor(e,t){this.inner=e,this.prec=t}get extension(){return this}}class TE{of(e){return new ME(this,e)}reconfigure(e){return TE.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class ME{constructor(e,t){this.compartment=e,this.inner=t}get extension(){return this}}class _E{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 ME&&n.delete(o.compartment)}if(i.set(o,a),Array.isArray(o))for(let t of o)e(t,a);else if(o instanceof ME){if(n.has(o.compartment))throw new 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 QE)e(o.inner,o.prec);else if(o instanceof CE)r[a].push(o),o.provides&&e(o.provides,a);else if(o instanceof xE)r[a].push(o),o.facet.extensions&&e(o.facet.extensions,2);else{let t=o.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${o}).`);if(t==o)throw new 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,2),r.reduce((e,t)=>e.concat(t))}(e,t,o))n instanceof CE?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,wE(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=>kE(e,r,t))}}let u=l.map(e=>e(a));return new _E(e,o,u,a,s,i)}}function IE(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw new 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 $E(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const DE=yE.define(),LE=yE.define({combine:e=>e.some(e=>e),static:!0}),NE=yE.define({combine:e=>e.length?e[0]:void 0,static:!0}),zE=yE.define(),jE=yE.define(),BE=yE.define(),ZE=yE.define({combine:e=>!!e.length&&e[0]});class XE{constructor(e,t){this.type=e,this.value=t}static define(){return new VE}}class VE{of(e){return new XE(this,e)}}class FE{constructor(e){this.map=e}of(e){return new qE(this,e)}}class qE{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new qE(this.type,t)}is(e){return this.type==e}static define(e={}){return new FE(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}}qE.reconfigure=qE.define(),qE.appendConfig=qE.define();class WE{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&&vE(n,t.newLength),i.some(e=>e.type==WE.time)||(this.annotations=i.concat(WE.time.of(Date.now())))}static create(e,t,n,r,i,o){return new WE(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(WE.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function GE(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)}}function HE(e,t,n){var r;let i,o,a;return n?(i=t.changes,o=cE.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:qE.mapEffects(e.effects,i).concat(qE.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function UE(e,t,n){let r=t.selection,i=JE(t.annotations);return t.userEvent&&(i=i.concat(WE.userEvent.of(t.userEvent))),{changes:t.changes instanceof cE?t.changes:cE.of(t.changes||[],n,e.facet(NE)),selection:r&&(r instanceof OE?r:OE.single(r.anchor,r.head)),effects:JE(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function YE(e,t,n){let r=UE(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=HE(r,UE(e,t[i],o?r.changes.newLength:e.doc.length),o)}let i=WE.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,n=t.facet(BE),r=e;for(let i=n.length-1;i>=0;i--){let o=n[i](e);o&&Object.keys(o).length&&(r=HE(r,UE(t,o,e.changes.newLength),!0))}return r==e?e:WE.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(zE)){let t=r(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:GE(n,t))}if(!0!==n){let r,i;if(!1===n)i=e.changes.invertedDesc,r=cE.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=WE.create(t,r,e.selection&&e.selection.map(i),qE.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(jE);for(let n=r.length-1;n>=0;n--){let i=r[n](e);e=i instanceof WE?i:Array.isArray(i)&&1==i.length&&i[0]instanceof WE?i[0]:YE(t,JE(i),!1)}return e}(i):i)}WE.time=XE.define(),WE.userEvent=XE.define(),WE.addToHistory=XE.define(),WE.remote=XE.define();const KE=[];function JE(e){return null==e?KE:Array.isArray(e)?e:[e]}var ek=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(ek||(ek={}));const tk=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let nk;try{nk=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch($){}class rk{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++)IE(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null!=n)return IE(this,n),$E(this,n);if(t)throw new RangeError("Field is not present in this state")}update(...e){return YE(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let t of e.effects)t.is(TE.reconfigure)?(n&&(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(qE.reconfigure)?(n=null,r=t.value):t.is(qE.appendConfig)&&(n=null,r=JE(r).concat(t.value));n?t=e.startState.values.slice():(n=_E.resolve(r,i,this),t=new rk(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values);let o=e.startState.facet(LE)?e.newSelection:e.newSelection.asSingle();new rk(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:OE.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=JE(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=qE.mapEffects(o,l).concat(qE.mapEffects(JE(a.effects),c))}return{changes:r,selection:OE.create(i,t.mainIndex),effects:o}}changes(e=[]){return e instanceof cE?e:cE.of(e,this.doc.length,this.facet(rk.lineSeparator))}toText(e){return qS.of(e.split(this.facet(rk.lineSeparator)||aE))}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:(IE(this,t),$E(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 CE&&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 new 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 rk.create({doc:e.doc,selection:OE.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=_E.resolve(e.extensions||[],new Map),n=e.doc instanceof qS?e.doc:qS.of((e.doc||"").split(t.staticFacet(rk.lineSeparator)||aE)),r=e.selection?e.selection instanceof OE?e.selection:OE.single(e.selection.anchor,e.selection.head):OE.single(0);return vE(r,n.length),t.staticFacet(LE)||(r=r.asSingle()),new rk(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(rk.tabSize)}get lineBreak(){return this.facet(rk.lineSeparator)||"\n"}get readOnly(){return this.facet(ZE)}phrase(e,...t){for(let t of this.facet(rk.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(DE))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){let t=this.languageDataAt("wordChars",e);return n=t.length?t[0]:"",e=>{if(!/\S/.test(e))return ek.Space;if(function(e){if(nk)return nk.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>""&&(n.toUpperCase()!=n.toLowerCase()||tk.test(n)))return!0}return!1}(e))return ek.Word;for(let t=0;t<n.length;t++)if(e.indexOf(n[t])>-1)return ek.Word;return ek.Other};var n}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=nE(t,o,!1);if(i(t.slice(e,o))!=ek.Word)break;o=e}for(;a<r;){let e=nE(t,a);if(i(t.slice(a,e))!=ek.Word)break;a=e}return o==a?null:OE.range(o+n,a+n)}}function ik(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))throw new Error("Config merge conflict for field "+e);r[e]=n[e](o,i)}}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}rk.allowMultipleSelections=LE,rk.tabSize=yE.define({combine:e=>e.length?e[0]:4}),rk.lineSeparator=NE,rk.readOnly=ZE,rk.phrases=yE.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])}}),rk.languageData=DE,rk.changeFilter=zE,rk.transactionFilter=jE,rk.transactionExtender=BE,TE.reconfigure=qE.define();class ok{eq(e){return this==e}range(e,t=e){return sk.create(e,t,this)}}function ak(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}ok.prototype.startSide=ok.prototype.endSide=0,ok.prototype.point=!1,ok.prototype.mapMode=sE.TrackDel;class sk{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new sk(e,t,n)}}function lk(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class ck{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,c,u=this.value[s],d=this.from[s]+e,p=this.to[s]+e;if(d==p){let e=t.mapPos(d,u.startSide,u.mapMode);if(null==e)continue;if(l=c=e,u.startSide!=u.endSide&&(c=t.mapPos(d,u.endSide),c<l))continue}else if(l=t.mapPos(d,u.startSide),c=t.mapPos(p,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue;(c-l||u.endSide-u.startSide)<0||(o<0&&(o=l),u.point&&(a=Math.max(a,c-l)),n.push(u),r.push(l-o),i.push(c-o))}return{mapped:n.length?new ck(r,i,n,a):null,pos:o}}}class uk{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 uk(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(lk)),this.isEmpty)return t.length?uk.of(t):this;let a=new hk(this,null,-1).goto(0),s=0,l=[],c=new dk;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(sk.create(a.from,a.to,a.value))),a.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?uk.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 uk(n,t,i||uk.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 fk.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return fk.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=pk(o,a,n),l=new gk(o,s,i),c=new gk(a,s,i);n.iterGaps((e,t,n)=>Ok(l,e,c,t,n,r)),n.empty&&0==n.length&&Ok(l,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=999999999);let i=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),o=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(i.length!=o.length)return!1;if(!i.length)return!0;let a=pk(i,o),s=new gk(i,a,0).goto(n),l=new gk(o,a,0).goto(n);for(;;){if(s.to!=l.to||!vk(s.active,l.active)||s.point&&(!l.point||!ak(s.point,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 gk(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);r.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 dk;for(let r of e instanceof sk?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(lk(t,r)>0)return e.slice().sort(lk);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return uk.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=uk.empty;r=r.nextLayer)t=new uk(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}uk.empty=new uk([],[],null,-1),uk.empty.nextLayer=uk.empty;class dk{finishChunk(e){this.chunks.push(new ck(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 dk)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new 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((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)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(uk.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=uk.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function pk(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 hk{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){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{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 fk{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 hk(o,t,n,i));return 1==r.length?r[0]:new fk(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--)mk(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--)mk(this.heap,e);(this.to-e||this.value.endSide-t)<0&&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(),mk(this.heap,0)}}}function mk(e,t){for(let n=e[t];;){let r=1+(t<<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++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}class gk{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=fk.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&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){bk(this.active,e),bk(this.activeTo,e),bk(this.activeRank,e),this.minActive=wk(this.active,this.activeTo)}addActive(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++;yk(this.active,t,n),yk(this.activeTo,t,r),yk(this.activeRank,t,i),e&&yk(e,t,this.cursor.from),this.minActive=wk(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&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&bk(n,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){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}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}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 Ok(e,t,n,r,i,o){e.goto(t),n.goto(r);let a=r+i,s=r,l=r-t,c=!!o.boundChange;for(let t=!1;;){let r=e.to+l-n.to,i=r||e.endSide-n.endSide,u=i<0?e.to+l:n.to,d=Math.min(u,a);if(e.point||n.point?(e.point&&n.point&&ak(e.point,n.point)&&vk(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(s,d,e.point,n.point),t=!1):(t&&o.boundChange(s),d>s&&!vk(e.active,n.active)&&o.compareRange(s,d,e.active,n.active),c&&d<a&&(r||e.openEnd(u)!=n.openEnd(u))&&(t=!0)),u>a)break;s=u,i<=0&&e.next(),i>=0&&n.next()}}function vk(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!ak(e[n],t[n]))return!1;return!0}function bk(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function yk(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function wk(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function xk(e,t,n=e.length){let r=0;for(let i=0;i<n&&i<e.length;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=nE(e,i));return r}function Sk(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=nE(e,r)}return!0===r?-1:e.length}const Ek="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),kk="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),Rk="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class Ck{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,o,a){let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return o.push(e[0]+";");for(let n in t){let a=t[n];if(/&/.test(n))i(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),a,o);else if(a&&"object"==typeof a){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");i(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?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}for(let t in e)i(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=Rk[Ek]||1;return Rk[Ek]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[kk],i=n&&n.nonce;r?i&&r.setNonce(i):r=new Ak(e,i),r.mount(Array.isArray(t)?t:[t],e)}}let Pk=new Map;class Ak{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=Pk.get(n);if(t)return e[kk]=t;this.sheet=new r.CSSStyleSheet,Pk.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[kk]=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)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(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)}}for(var Qk={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:"'"},Tk={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Mk="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),_k="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Ik=0;Ik<10;Ik++)Qk[48+Ik]=Qk[96+Ik]=String(Ik);for(Ik=1;Ik<=24;Ik++)Qk[Ik+111]="F"+Ik;for(Ik=65;Ik<=90;Ik++)Qk[Ik]=String.fromCharCode(Ik+32),Tk[Ik]=String.fromCharCode(Ik);for(var $k in Qk)Tk.hasOwnProperty($k)||(Tk[$k]=Qk[$k]);function Dk(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;t<arguments.length;t++)Lk(e,arguments[t]);return e}function Lk(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)Lk(e,t[n])}}let Nk="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},zk="undefined"!=typeof document?document:{documentElement:{style:{}}};const jk=/Edge\/(\d+)/.exec(Nk.userAgent),Bk=/MSIE \d/.test(Nk.userAgent),Zk=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Nk.userAgent),Xk=!!(Bk||Zk||jk),Vk=!Xk&&/gecko\/(\d+)/i.test(Nk.userAgent),Fk=!Xk&&/Chrome\/(\d+)/.exec(Nk.userAgent),qk="webkitFontSmoothing"in zk.documentElement.style,Wk=!Xk&&/Apple Computer/.test(Nk.vendor),Gk=Wk&&(/Mobile\/\w+/.test(Nk.userAgent)||Nk.maxTouchPoints>2);var Hk={mac:Gk||/Mac/.test(Nk.platform),windows:/Win/.test(Nk.platform),linux:/Linux|X11/.test(Nk.platform),ie:Xk,ie_version:Bk?zk.documentMode||6:Zk?+Zk[1]:jk?+jk[1]:0,gecko:Vk,gecko_version:Vk?+(/Firefox\/(\d+)/.exec(Nk.userAgent)||[0,0])[1]:0,chrome:!!Fk,chrome_version:Fk?+Fk[1]:0,ios:Gk,android:/Android\b/.test(Nk.userAgent),webkit:qk,webkit_version:qk?+(/\bAppleWebKit\/(\d+)/.exec(Nk.userAgent)||[0,0])[1]:0,safari:Wk,safari_version:Wk?+(/\bVersion\/(\d+(\.\d+)?)/.exec(Nk.userAgent)||[0,0])[1]:0,tabSize:null!=zk.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};function Uk(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}const Yk=Object.create(null);function Kk(e,t,n){if(e==t)return!0;e||(e=Yk),t||(t=Yk);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 Jk(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}function eR(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}class tR{eq(e){return!1}updateDOM(e,t,n){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 nR=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(nR||(nR={}));class rR extends ok{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 iR(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 aR(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,r=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:i,end:o}=sR(e,r);t=(i?r?-3e8:-1:5e8)-1,n=1+(o?r?2e8:1:-6e8)}return new aR(e,t,n,r,e.widget||null,!0)}static line(e){return new oR(e)}static set(e,t=!1){return uk.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}rR.none=uk.empty;class iR extends rR{constructor(e){let{start:t,end:n}=sR(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?Uk(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||Yk}eq(e){return this==e||e instanceof iR&&this.tagName==e.tagName&&Kk(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}iR.prototype.point=!1;class oR extends rR{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof oR&&this.spec.class==e.spec.class&&Kk(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}oR.prototype.mapMode=sE.TrackBefore,oR.prototype.point=!0;class aR extends rR{constructor(e,t,n,r,i,o){super(t,n,i,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?sE.TrackBefore:sE.TrackAfter:sE.TrackDel}get type(){return this.startSide!=this.endSide?nR.WidgetRange:this.startSide<=0?nR.WidgetBefore:nR.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof aR&&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 new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function sR(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}}function lR(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)}aR.prototype.point=!0;class cR extends ok{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.rank=n}eq(e){return e==this||e instanceof cR&&this.tagName==e.tagName&&Kk(this.attributes,e.attributes)}static create(e){return new cR(e.tagName,e.attributes||Yk,null==e.rank?50:Math.max(0,Math.min(e.rank,100)))}static set(e,t=!1){return uk.of(e,t)}}function uR(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function dR(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function pR(e,t){if(!t.anchorNode)return!1;try{return dR(e,t.anchorNode)}catch(e){return!1}}function hR(e){return 3==e.nodeType?CR(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function fR(e,t,n,r){return!!n&&(OR(e,t,n,r,-1)||OR(e,t,n,r,1))}function mR(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function gR(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function OR(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:vR(e))){if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1;t=mR(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?vR(e):0}}}function vR(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function bR(e,t){let{left:n,right:r}=e;if(n==r)return e;let i=t?n:r;return{left:i,right:i,top:e.top,bottom:e.bottom}}function yR(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}}function wR(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function xR(e,t=!0){let n=e.ownerDocument,r=null,i=null;for(let o=e.parentNode;o&&o!=n.body&&(t&&!r||!i);)if(1==o.nodeType)!i&&o.scrollHeight>o.clientHeight&&(i=o),t&&!r&&o.scrollWidth>o.clientWidth&&(r=o),o=o.assignedSlot||o.parentNode;else{if(11!=o.nodeType)break;o=o.host}return{x:r,y:i}}cR.prototype.startSide=cR.prototype.endSide=-1;class SR{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?vR(t):0),n,Math.min(e.focusOffset,n?vR(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}let ER,kR=null;function RR(e){if(e.setActive)return e.setActive();if(kR)return e.focus(kR);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==kR?{get preventScroll(){return kR={preventScroll:!0},!0}}:void 0),!kR){kR=!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 CR(e,t,n=t){let r=ER||(ER=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function PR(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 AR(e){return e instanceof Window?e.pageYOffset>Math.max(0,e.document.documentElement.scrollHeight-e.innerHeight-4):e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function QR(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;n=n.childNodes[r-1],r=vR(n)}else{if(!n.parentNode||gR(n))return null;r=mR(n),n=n.parentNode}}}function TR(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||gR(n))return null;r=mR(n)+1,n=n.parentNode}}}Hk.safari&&Hk.safari_version>=26&&(kR=!1);class MR{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new MR(e.parentNode,mR(e),t)}static after(e,t){return new MR(e.parentNode,mR(e)+1,t)}}var _R=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(_R||(_R={}));const IR=_R.LTR,$R=_R.RTL;function DR(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}const LR=DR("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),NR=DR("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),zR=Object.create(null),jR=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),n=e.charCodeAt(1);zR[t]=n,zR[n]=-t}function BR(e){return e<=247?LR[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?NR[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const ZR=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class XR{get dir(){return this.level%2?$R:IR}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 new RangeError("Index out of range");return i}}function VR(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.direction!=i.direction||!VR(r.inner,i.inner))return!1}return!0}const FR=[];function qR(e,t,n,r,i,o,a){let s=r%2?2:1;if(r%2==i%2)for(let l=t,c=0;l<n;){let t=!0,u=!1;if(c==o.length||l<o[c].from){let e=FR[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],p=t?r:r+1,h=l;e:for(;;)if(c<o.length&&h==o[c].from){if(u)break e;let f=o[c];if(!t)for(let e=f.to,t=c+1;;){if(e==n)break e;if(!(t<o.length&&o[t].from==e)){if(FR[e]==s)break e;break}e=o[t++].to}c++,d?d.push(f):(f.from>l&&a.push(new XR(l,f.from,p)),WR(e,f.direction==IR!=!(p%2)?r+1:r,i,f.inner,f.from,f.to,a),l=f.to),h=f.to}else{if(h==n||(t?FR[h]!=s:FR[h]==s))break;h++}d?qR(e,l,h,r+1,i,d,a):l<h&&a.push(new XR(l,h,p)),l=h}else for(let l=n,c=o.length;l>t;){let n=!0,u=!1;if(!c||l>o[c-1].to){let e=FR[l-1];e!=s&&(n=!1,u=16==e)}let d=n||1!=s?null:[],p=n?r:r+1,h=l;e:for(;;)if(c&&h==o[c-1].to){if(u)break e;let f=o[--c];if(!n)for(let e=f.from,n=c;;){if(e==t)break e;if(!n||o[n-1].to!=e){if(FR[e-1]==s)break e;break}e=o[--n].from}d?d.push(f):(f.to<l&&a.push(new XR(f.to,l,p)),WR(e,f.direction==IR!=!(p%2)?r+1:r,i,f.inner,f.from,f.to,a),l=f.from),h=f.from}else{if(h==t||(n?FR[h-1]!=s:FR[h-1]==s))break;h--}d?qR(e,h,l,r+1,i,d,a):h<l&&a.push(new XR(h,l,p)),l=h}}function WR(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=BR(e.charCodeAt(t));512==i?i=n:8==i&&4==r&&(i=16),FR[t]=4==i?2:i,7&i&&(r=i),n=i}for(let e=a,t=l,r=l;e<s;e++){let i=FR[e];if(128==i)e<s-1&&t==FR[e+1]&&24&t?i=FR[e]=t:FR[e]=256;else if(64==i){let i=e+1;for(;i<s&&64==FR[i];)i++;let o=e&&8==t||i<n&&8==FR[i]?1==r?1:8:256;for(let t=e;t<i;t++)FR[t]=o;e=i-1}else 8==i&&1==r&&(FR[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,n,r,a=c;a<u;a++)if(n=zR[t=e.charCodeAt(a)])if(n<0){for(let e=s-3;e>=0;e-=3)if(jR[e+1]==-n){let t=jR[e+2],n=2&t?i:4&t?1&t?o:i:0;n&&(FR[a]=FR[jR[e]]=n),s=e;break}}else{if(189==jR.length)break;jR[s++]=a,jR[s++]=t,jR[s++]=l}else if(2==(r=FR[a])||1==r){let e=r==i;l=e?0:1;for(let t=s-3;t>=0;t-=3){let n=jR[t+2];if(2&n)break;if(e)jR[t+2]|=2;else{if(4&n)break;jR[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=FR[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!=FR[a])break;a++}let c=1==o,u=c==(1==(a<t?FR[a]:r))?c?1:2:r;for(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),FR[--t]=u;l=a}else o=a,l++}}}(i,o,r,s),qR(e,i,o,t,n,r,a)}function GR(e){return[new XR(0,e,0)]}let HR="";function UR(e,t,n,r,i){var o;let a=r.head-e.from,s=XR.find(t,a,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc),l=t[s],c=l.side(i,n);if(a==c){let e=s+=i?1:-1;if(e<0||e>=t.length)return null;l=t[s=e],a=l.side(!i,n),c=l.side(i,n)}let u=nE(e.text,a,l.forward(i,n));(u<l.from||u>l.to)&&(u=c),HR=e.text.slice(Math.min(a,u),Math.max(a,u));let d=s==(i?t.length-1:0)?null:t[s+(i?1:-1)];return d&&u==c&&d.level+(i?0:1)<l.level?OE.cursor(d.side(!i,n)+e.from,d.forward(i,n)?1:-1,d.level):OE.cursor(u+e.from,l.forward(i,n)?-1:1,l.level)}function YR(e,t,n){for(let r=t;r<n;r++){let t=BR(e.charCodeAt(r));if(1==t)return IR;if(2==t||4==t)return $R}return IR}const KR=yE.define(),JR=yE.define(),eC=yE.define(),tC=yE.define(),nC=yE.define(),rC=yE.define(),iC=yE.define(),oC=yE.define(),aC=yE.define(),sC=yE.define({combine:e=>e.some(e=>e)}),lC=yE.define({combine:e=>e.some(e=>e)}),cC=yE.define();class uC{constructor(e,t,n,r,i,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 uC(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 uC(OE.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const dC=qE.define({map:(e,t)=>e.map(t)}),pC=qE.define();function hC(e,t,n){let r=e.facet(tC);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))}const fC=yE.define({combine:e=>!e.length||e[0]});let mC=0;const gC=yE.define({combine:e=>e.filter((t,n)=>{for(let r=0;r<n;r++)if(e[r].plugin==t.plugin)return!1;return!0})});class OC{constructor(e,t,n,r,i){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=r,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat(gC.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(gC.of({plugin:this,arg:e}))}static define(e,t){const{eventHandlers:n,eventObservers:r,provide:i,decorations:o}=t||{};return new OC(mC++,e,n,r,e=>{let t=[];return o&&t.push(wC.of(t=>{let n=t.plugin(e);return n?o(n):rR.none})),i&&t.push(i(e)),t})}static fromClass(e,t){return OC.define((t,n)=>new e(t,n),t)}}class vC{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}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(hC(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.plugin.create(e,this.spec.arg)}catch(t){hC(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){hC(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const bC=yE.define(),yC=yE.define(),wC=yE.define(),xC=yE.define(),SC=yE.define(),EC=yE.define(),kC=yE.define();function RC(e,t){let n=e.state.facet(kC);if(!n.length)return n;let r=n.map(t=>t instanceof Function?t(e):t),i=[];return uk.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,i=r[e].spec.bidiIsolate;if(null==i&&(i=YR(t.text,a,s)),o>0&&l.length&&(n=l[l.length-1]).to==a&&n.direction==i)n.to=s,l=n.inner;else{let e={from:a,to:s,direction:i,inner:[]};l.push(e),l=e.inner}}}}),i}const CC=yE.define();function PC(e){let t=0,n=0,r=0,i=0;for(let o of e.state.facet(CC)){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}}const AC=yE.define();class QC{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){return new QC(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;;){let a=r<e.length?e[r].fromB:1e9,s=i<t.length?t[i]:1e9,l=Math.min(a,s);if(1e9==l)break;let c=l+o,u=l,d=c;for(;;)if(i<t.length&&t[i]<=u){let n=t[i+1];i+=2,u=Math.max(u,n);for(let t=r;t<e.length&&e[t].fromB<=u;t++)o=e[t].toA-e[t].toB;d=Math.max(d,n+o)}else{if(!(r<e.length&&e[r].fromB<=u))break;{let t=e[r++];u=Math.max(u,t.toB),d=Math.max(d,t.toA),o=t.toA-t.toB}}n.push(new QC(c,d,l,u))}return n}}class TC{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=cE.empty(this.startState.doc.length);for(let e of n)this.changes=this.changes.compose(e.changes);let r=[];this.changes.iterChangedRanges((e,t,n,i)=>r.push(new QC(e,t,n,i))),this.changedRanges=r}static create(e,t,n){return new TC(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}}const MC=[];class _C{constructor(e,t,n=0){this.dom=e,this.length=t,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return 1&this.flags}get children(){return MC}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,4&this.flags){this.flags&=-5;let e=this.domAttrs;e&&function(e,t){for(let n=e.attributes.length-1;n>=0;n--){let r=e.attributes[n].name;null==t[r]&&e.removeAttribute(r)}for(let n in t){let r=t[n];"style"==n?e.style.cssText=r:e.getAttribute(n)!=r&&e.setAttribute(n,r)}}(this.dom,e)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,t=this.posAtStart){let n=t;for(let t of this.children){if(t==e)return n;n+=t.length+t.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,t,n){return null}domPosFor(e,t){let n=mR(this.dom),r=this.length?e>0:t>0;return new MR(this.parent.dom,n+(r?1:0),0==e||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&2&this.parent.flags&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof DC)return e;return null}static get(e){return e.cmTile}}class IC extends _C{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(2&this.flags)return;super.sync(e);let t,n=this.dom,r=null,i=(null==e?void 0:e.node)==n?e:null,o=0;for(let a of this.children){if(a.sync(e),o+=a.length+a.breakAfter,t=r?r.nextSibling:n.firstChild,i&&t!=a.dom&&(i.written=!0),a.dom.parentNode==n)for(;t&&t!=a.dom;)t=$C(t);else n.insertBefore(a.dom,t);r=a.dom}for(t=r?r.nextSibling:n.firstChild,i&&t&&(i.written=!0);t;)t=$C(t);this.length=o}}function $C(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class DC extends IC{constructor(e,t){super(t),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let t=_C.get(e);if(t&&this.owns(t))return t;e=e.parentNode}}blockTiles(e){for(let t=[],n=this,r=0,i=0;;)if(r==n.children.length){if(!t.length)return;n=n.parent,n.breakAfter&&i++,r=t.pop()}else{let o=n.children[r++];if(o instanceof LC)t.push(r),n=o,r=0;else{let t=i+o.length,n=e(o,i);if(void 0!==n)return n;i=t+o.breakAfter}}}resolveBlock(e,t){let n,r,i=-1,o=-1;if(this.blockTiles((a,s)=>{let l=s+a.length;if(e>=s&&e<=l){if(a.isWidget()&&t>=-1&&t<=1){if(32&a.flags)return!0;16&a.flags&&(n=void 0)}(s<e||e==l&&(t<-1?a.length:a.covers(1)))&&(!n||!a.isWidget()&&n.isWidget())&&(n=a,i=e-s),(l>e||e==s&&(t>1?a.length:a.covers(-1)))&&(!r||!a.isWidget()&&r.isWidget())&&(r=a,o=e-s)}}),!n&&!r)throw new Error("No tile at position "+e);return n&&t<0||!r?{tile:n,offset:i}:{tile:r,offset:o}}}class LC extends IC{constructor(e,t){super(e),this.wrapper=t}isBlock(){return!0}covers(e){return!!this.children.length&&(e<0?this.children[0].covers(-1):this.lastChild.covers(1))}get domAttrs(){return this.wrapper.attributes}static of(e,t){let n=new LC(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class NC extends IC{constructor(e,t){super(e),this.attrs=t}isLine(){return!0}static start(e,t,n){let r=new NC(t||document.createElement("div"),e);return t&&n||(r.flags|=4),r}get domAttrs(){return this.attrs}resolveInline(e,t,n){let r=null,i=-1,o=null,a=-1;!function e(s,l){for(let c=0,u=0;c<s.children.length&&u<=l;c++){let d=s.children[c],p=u+d.length;p>=l&&(d.isComposite()?e(d,l-u):(!o||o.isHidden&&(t>0&&!(32&o.flags)||n&&zC(o,d)))&&(p>l||32&d.flags)?(o=d,a=l-u):(u<l||16&d.flags&&!d.isHidden)&&(r=d,i=l-u)),u=p}}(this,e);let s=(t<0?r:o)||r||o;return s?{tile:s,offset:s==r?i:a}:null}coordsIn(e,t,n){let r=this.resolveInline(e,t,!0);return r?r.tile.coordsIn(Math.max(0,r.offset),t,n):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=hR(t);return n[n.length-1]||null}(this)}domIn(e,t){let n=this.resolveInline(e,t);if(n){let{tile:e,offset:r}=n;if(this.dom.contains(e.dom))return e.isText()?new MR(e.dom,Math.min(e.dom.nodeValue.length,r)):e.domPosFor(r,16&e.flags?1:32&e.flags?-1:t);let i=n.tile.parent,o=!1;for(let e of i.children){if(o)return new MR(e.dom,0);e==n.tile&&(o=!0)}}return new MR(this.dom,0)}}function zC(e,t){let n=e.coordsIn(0,1),r=t.coordsIn(0,1);return n&&r&&r.top<n.bottom}class jC extends IC{constructor(e,t){super(e),this.mark=t}get domAttrs(){return this.mark.attrs}static of(e,t){let n=new jC(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class BC extends _C{constructor(e,t){super(e,t.length),this.text=t}sync(e){2&this.flags||(super.sync(e),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(e,t,n){let r=this.dom.nodeValue.length;e>r&&(e=r);let i=e,o=e,a=0;0==e&&t<0||e==r&&t>=0?Hk.chrome||Hk.gecko||(e?(i--,a=1):o<r&&(o++,a=-1)):t<0?i--:o<r&&o++;let s=CR(this.dom,i,o).getClientRects();if(!s.length)return null;let l=s[(a?a<0:t>=0)?0:s.length-1];return Hk.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,e=>e.width)||l),null==n?l:bR(l,(a?a>0:t<0)==n)}static of(e,t){let n=new BC(t||document.createTextNode(e),e);return t||(n.flags|=2),n}}class ZC extends _C{constructor(e,t,n,r){super(e,t,r),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return!(48&this.flags)&&(this.flags&(e<0?64:128))>0}coordsIn(e,t){return this.coordsInWidget(e,t,!1)}coordsInWidget(e,t,n){let r=this.widget.coordsAt(this.dom,e,t);if(r)return r;if(n)return bR(this.dom.getBoundingClientRect(),this.length?0==e:t<=0);{let t=this.dom.getClientRects(),n=null;if(!t.length)return null;let r=!!(16&this.flags)||!(32&this.flags)&&e>0;for(let i=r?t.length-1:0;n=t[i],!(e>0?0==i:i==t.length-1||n.top<n.bottom);i+=r?-1:1);return bR(n,!r)}}get overrideDOMText(){if(!this.length)return qS.empty;let{root:e}=this;if(!e)return qS.empty;let t=this.posAtStart;return e.view.state.doc.slice(t,t+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(e,t,n,r,i){return i||(i=e.toDOM(t),e.editable||(i.contentEditable="false")),new ZC(i,n,e,r)}}class XC extends _C{constructor(e){let t=document.createElement("img");t.className="cm-widgetBuffer",t.setAttribute("aria-hidden","true"),super(t,0,e)}get isHidden(){return!0}get overrideDOMText(){return qS.empty}coordsIn(e,t,n){let r=this.dom.getBoundingClientRect();return null==n?r:bR(r,t>0==n)}}class VC{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,t,n){let{tile:r,index:i,beforeBreak:o,parents:a}=this;for(;e||t>0;)if(r.isComposite())if(o){if(!e)break;n&&n.break(),e--,o=!1}else if(i==r.children.length){if(!e&&!a.length)break;n&&n.leave(r),o=!!r.breakAfter,({tile:r,index:i}=a.pop()),i++}else{let s=r.children[i],l=s.breakAfter;!(t>0?s.length<=e:s.length<e)||n&&!1===n.skip(s,0,s.length)&&s.isComposite?(a.push({tile:r,index:i}),r=s,i=0,n&&s.isComposite()&&n.enter(s)):(o=!!l,i++,e-=s.length)}else if(i==r.length)o=!!r.breakAfter,({tile:r,index:i}=a.pop()),i++;else{if(!e)break;{let t=Math.min(e,r.length-i);n&&n.skip(r,i,i+t),e-=t,i+=t}}return this.tile=r,this.index=i,this.beforeBreak=o,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class FC{constructor(e,t,n,r){this.from=e,this.to=t,this.wrapper=n,this.rank=r}}class qC{constructor(e,t,n){this.cache=e,this.root=t,this.blockWrappers=n,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(e,t,n,r){var i;this.flushBuffer();let o=this.ensureMarks(t,n),a=o.lastChild;a&&a.isText()&&!(8&a.flags)&&a.length+e.length<512?(this.cache.reused.set(a,2),(o.children[o.children.length-1]=new BC(a.dom,a.text+e)).parent=o):o.append(r||BC.of(e,null===(i=this.cache.find(BC))||void 0===i?void 0:i.dom)),this.pos+=e.length,this.afterWidget=null}addComposition(e,t){let n=this.curLine;n.dom!=t.line.dom&&(n.setDOM(this.cache.reused.has(t.line)?JC(t.line.dom):t.line.dom),this.cache.reused.set(t.line,2));let r=n;for(let e=t.marks.length-1;e>=0;e--){let n=t.marks[e],i=r.lastChild;if(i instanceof jC&&i.mark.eq(n.mark))i.dom!=n.dom&&i.setDOM(JC(n.dom)),r=i;else{if(this.cache.reused.get(n)){let e=_C.get(n.dom);e&&e.setDOM(JC(n.dom))}let e=jC.of(n.mark,n.dom);r.append(e),r=e}this.cache.reused.set(n,2)}let i=_C.get(e.text);i&&this.cache.reused.set(i,2);let o=new BC(e.text,e.text.nodeValue);o.flags|=8,this.pos=e.range.toB,r.append(o)}addInlineWidget(e,t,n){let r=this.afterWidget&&48&e.flags&&(48&this.afterWidget.flags)==(48&e.flags);r||this.flushBuffer();let i=this.ensureMarks(t,n);r||16&e.flags||i.append(this.getBuffer(1)),i.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,t,n){this.flushBuffer(),this.ensureMarks(t,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){(this.afterWidget||this.lastBlock).length+=e,this.pos+=e}addLineStart(e,t){var n;e||(e=KC);let r=NC.start(e,t||(null===(n=this.cache.find(NC))||void 0===n?void 0:n.dom),!!t);this.getBlockPos().append(this.lastBlock=this.curLine=r)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,t){var n;let r=this.curLine;for(let i=e.length-1;i>=0;i--){let o,a=e[i];if(t>0&&(o=r.lastChild)&&o instanceof jC&&o.mark.eq(a))r=o,t--;else{let e=jC.of(a,null===(n=this.cache.find(jC,e=>e.mark.eq(a)))||void 0===n?void 0:n.dom);r.append(e),r=e,t=0}}return r}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;e&&YC(this.curLine,!1)&&("BR"==e.dom.nodeName||!e.isWidget()||Hk.ios&&YC(this.curLine,!0))||this.curLine.append(this.cache.findWidget(tP,0,32)||new ZC(tP.toDOM(),0,tP,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to<this.pos&&this.wrappers.splice(e,1);for(let e=this.blockWrappers;e.value&&e.from<=this.pos;e.next())if(e.to>=this.pos){let t=102*e.rank+e.value.rank,n=new FC(e.from,e.to,e.value,t),r=this.wrappers.length;for(;r>0&&(this.wrappers[r-1].rank-n.rank||this.wrappers[r-1].to-n.to)<0;)r--;this.wrappers.splice(r,0,n)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let t=this.root;for(let n of this.wrappers){let r=t.lastChild;if(n.from<this.pos&&r instanceof LC&&r.wrapper.eq(n.wrapper))t=r;else{let r=LC.of(n.wrapper,null===(e=this.cache.find(LC,e=>e.wrapper.eq(n.wrapper)))||void 0===e?void 0:e.dom);t.append(r),t=r}}return t}blockPosCovered(){let e=this.lastBlock;return null!=e&&!e.breakAfter&&(!e.isWidget()||(160&e.flags)>0)}getBuffer(e){let t=2|(e<0?16:32),n=this.cache.find(XC,void 0,1);return n&&(n.flags=t),n||new XC(t)}flushBuffer(){!this.afterWidget||32&this.afterWidget.flags||(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class WC{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skipCount);if(this.skipCount=0,r)throw new Error("Ran out of text content when drawing inline views");this.text=t;let i=this.textOff=Math.min(e,t.length);return n?null:t.slice(0,i)}let t=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,t);return this.textOff=t,n}}const GC=[ZC,NC,BC,jC,XC,LC,DC];for(let e=0;e<GC.length;e++)GC[e].bucket=e;class HC{constructor(e){this.view=e,this.buckets=GC.map(()=>[]),this.index=GC.map(()=>0),this.reused=new Map}add(e){let t=e.constructor.bucket,n=this.buckets[t];n.length<6?n.push(e):n[this.index[t]=(this.index[t]+1)%6]=e}find(e,t,n=2){let r=e.bucket,i=this.buckets[r],o=this.index[r];for(let e=0;e<i.length;e++){let a=(e+o)%i.length,s=i[a];if((!t||t(s))&&!this.reused.has(s))return i.splice(a,1),a<o&&this.index[r]--,this.reused.set(s,n),s}return null}findWidget(e,t,n){let r=this.buckets[0];if(r.length)for(let i=0,o=0;;i++){if(i==r.length){if(o)return null;o=1,i=0}let a=r[i];if(!this.reused.has(a)&&(0==o?a.widget.compare(e):a.widget.constructor==e.constructor&&e.updateDOM(a.dom,this.view,a.widget)))return r.splice(i,1),i<this.index[0]&&this.index[0]--,a.widget==e&&a.length==t&&(497&a.flags)==n?(this.reused.set(a,1),a):(this.reused.set(a,2),new ZC(a.dom,t,e,-498&a.flags|n))}}reuse(e){return this.reused.set(e,1),e}maybeReuse(e,t=2){if(!this.reused.has(e))return this.reused.set(e,t),e.dom}clear(){for(let e=0;e<this.buckets.length;e++)this.buckets[e].length=this.index[e]=0}}class UC{constructor(e,t,n,r,i){this.view=e,this.decorations=r,this.disallowBlockEffectsFor=i,this.openWidget=!1,this.openMarks=0,this.cache=new HC(e),this.text=new WC(e.state.doc),this.builder=new qC(this.cache,new DC(e,e.contentDOM),uk.iter(n)),this.cache.reused.set(t,2),this.old=new VC(t),this.reuseWalker={skip:(e,t,n)=>{if(this.cache.add(e),e.isComposite())return!1},enter:e=>this.cache.add(e),leave:()=>{},break:()=>{}}}run(e,t){let n=t&&this.getCompositionContext(t.text);for(let r=0,i=0,o=0;;){let a=o<e.length?e[o++]:null,s=a?a.fromA:this.old.root.length;if(s>r){let e=s-r;this.preserve(e,!o,!a),r=s,i+=e}if(!a)break;t&&a.fromA<=t.range.fromA&&a.toA>=t.range.toA?(this.forward(a.fromA,t.range.fromA,t.range.fromA<t.range.toA?1:-1),this.emit(i,t.range.fromB),this.builder.flushBuffer(),this.cache.clear(),this.builder.addComposition(t,n),this.text.skip(t.range.toB-t.range.fromB),this.forward(t.range.fromA,a.toA),this.emit(t.range.toB,a.toB)):(this.forward(a.fromA,a.toA),this.emit(i,a.toB)),i=a.toB,r=a.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(e,t,n){let r=function(e){let t=[];for(let n=e.parents.length;n>1;n--){let r=n==e.parents.length?e.tile:e.parents[n].tile;r instanceof jC&&t.push(r.mark)}return t}(this.old),i=this.openMarks;this.old.advance(e,n?1:-1,{skip:(e,t,n)=>{if(e.isWidget())if(this.openWidget)this.builder.continueWidget(n-t);else{let o=n>0||t<e.length?ZC.of(e.widget,this.view,n-t,496&e.flags,this.cache.maybeReuse(e)):this.cache.reuse(e);256&o.flags?(o.flags&=-2,this.builder.addBlockWidget(o)):(this.builder.ensureLine(null),this.builder.addInlineWidget(o,r,i),i=r.length)}else if(e.isText())this.builder.ensureLine(null),t||n!=e.length||this.cache.reused.has(e)?(this.cache.add(e),this.builder.addText(e.text.slice(t,n),r,i)):this.builder.addText(e.text,r,i,this.cache.reuse(e)),i=r.length;else if(e.isLine())e.flags&=-2,this.cache.reused.set(e,1),this.builder.addLine(e);else if(e instanceof XC)this.cache.add(e);else{if(!(e instanceof jC))return!1;this.builder.ensureLine(null),this.builder.addMark(e,r,i),this.cache.reused.set(e,1),i=r.length}this.openWidget=!1},enter:e=>{e.isLine()?this.builder.addLineStart(e.attrs,this.cache.maybeReuse(e)):(this.cache.add(e),e instanceof jC&&r.unshift(e.mark)),this.openWidget=!1},leave:e=>{e.isLine()?r.length&&(r.length=i=0):e instanceof jC&&(r.shift(),i=Math.min(i,r.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,t){let n=null,r=this.builder,i=-1,o=uk.spans(this.decorations,e,t,{point:(e,t,o,a,s,l)=>{if(o instanceof aR){if(this.disallowBlockEffectsFor[l]){if(o.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.view.state.doc.lineAt(e).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(i=a.length,s>a.length)r.continueWidget(t-e);else{let i=o.widget||(o.block?eP.block:eP.inline),l=function(e){let t=e.isReplace?(e.startSide<0?64:0)|(e.endSide>0?128:0):e.startSide>0?32:16;return e.block&&(t|=256),t}(o),c=this.cache.findWidget(i,t-e,l)||ZC.of(i,this.view,t-e,l);o.block?(o.startSide>0&&r.addLineStartIfNotCovered(n),r.addBlockWidget(c)):(r.ensureLine(n),r.addInlineWidget(c,a,s))}n=null}else n=function(e,t){let n=t.spec.attributes,r=t.spec.class;return n||r?(e||(e={class:"cm-line"}),n&&Uk(n,e),r&&(e.class+=" "+r),e):e}(n,o);t>e&&this.text.skip(t-e)},span:(e,t,o,a)=>{for(let i=e;i<t;){let s=this.text.next(Math.min(512,t-i));null==s?(r.addLineStartIfNotCovered(n),r.addBreak(),i++):(r.ensureLine(n),r.addText(s,o,i==e?a:o.length),i+=s.length),n=null}i=o.length}});i>-1&&(this.openWidget=o>i),this.openWidget||r.addLineStartIfNotCovered(n),this.openMarks=o}forward(e,t,n=1){t-e<=10?this.old.advance(t-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(t-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let t=[],n=null;for(let r=e.parentNode;;r=r.parentNode){let e=_C.get(r);if(r==this.view.contentDOM)break;e instanceof jC?t.push(e):(null==e?void 0:e.isLine())?n=e:e instanceof LC||("DIV"!=r.nodeName||n||r==this.view.contentDOM?n||t.push(jC.of(new iR({tagName:r.nodeName.toLowerCase(),attributes:eR(r)}),r)):n=new NC(r,KC))}return{line:n,marks:t}}}function YC(e,t){let n=e=>{for(let r of e.children)if((t?r.isText():r.length)||n(r))return!0;return!1};return n(e)}const KC={class:"cm-line"};function JC(e){let t=_C.get(e);return t&&t.setDOM(e.cloneNode()),e}class eP extends tR{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}}eP.inline=new eP("span"),eP.block=new eP("div");const tP=new class extends tR{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class nP{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=rR.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.updateDeco(),this.tile=new DC(e,e.contentDOM),this.updateInner([new QC(0,0,0,e.state.doc.length)],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=iP(e,n);if(!r)return null;let{node:i,from:o,to:a}=r,s=i.nodeValue;if(/[\n\r]/.test(s))return null;if(e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc;return{range:new QC(l.mapPos(o),l.mapPos(a),o,a),text:i}}(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){let{from:t,to:r}=this.hasComposition;n=new QC(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,(Hk.ie||Hk.chrome)&&!i&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,a=this.blockWrappers;this.updateDeco();let s=function(e,t,n){let r=new oP;return uk.compare(e,t,n,r),r.changes}(o,this.decorations,e.changes);s.length&&(n=QC.extendWithRanges(n,s));let l=function(e,t,n){let r=new aP;return uk.compare(e,t,n,r),r.changes}(a,this.blockWrappers,e.changes);return l.length&&(n=QC.extendWithRanges(n,l)),i&&!n.some(e=>e.fromA<=i.range.fromA&&e.toA>=i.range.toA)&&(n=i.range.addToSet(n.slice())),!(2&this.tile.flags&&0==n.length||(this.updateInner(n,i),e.transactions.length&&(this.lastUpdate=Date.now()),0))}updateInner(e,t){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(t||e.length){let n=this.tile,r=new UC(this.view,n,this.blockWrappers,this.decorations,this.dynamicDecorationMap);t&&_C.get(t.text)&&r.cache.reused.set(_C.get(t.text),2),this.tile=r.run(e,t),rP(n,r.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let r=Hk.chrome||Hk.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(r),!r||!r.written&&n.selectionRange.focusNode==r.node&&this.tile.dom.contains(r.node)||(this.forceSelection=!0),this.tile.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.tile.children)e.isWidget()&&e.widget instanceof sP&&r.push(e.dom);n.updateGaps(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(pC)&&(this.editContextFormatting=e.value)}updateSelection(e=!1,t=!1){!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let{dom:n}=this.tile,r=this.view.root.activeElement,i=r==n,o=!i&&!(this.view.state.facet(fC)||n.tabIndex>-1)&&pR(n,this.view.observer.selectionRange)&&!(r&&n.contains(r));if(!(i||t||o))return;let a=this.forceSelection;this.forceSelection=!1;let s,l,c=this.view.state.selection.main;if(c.empty?l=s=this.inlineDOMNearPos(c.anchor,c.assoc||1):(l=this.inlineDOMNearPos(c.head,c.head==c.from?1:-1),s=this.inlineDOMNearPos(c.anchor,c.anchor==c.from?1:-1)),Hk.gecko&&c.empty&&!this.hasComposition&&1==(u=s).node.nodeType&&u.node.firstChild&&(0==u.offset||"false"==u.node.childNodes[u.offset-1].contentEditable)&&(u.offset==u.node.childNodes.length||"false"==u.node.childNodes[u.offset].contentEditable)){let e=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null)),s=l=new MR(e,0),a=!0}var u;let d=this.view.observer.selectionRange;!a&&d.focusNode&&(fR(s.node,s.offset,d.anchorNode,d.anchorOffset)&&fR(l.node,l.offset,d.focusNode,d.focusOffset)||this.suppressWidgetCursorChange(d,c))||(this.view.observer.ignore(()=>{Hk.android&&Hk.chrome&&n.contains(d.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}(d.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let e=uR(this.view.root);if(e)if(c.empty){if(Hk.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?QR:TR)(s.node,s.offset);t&&(s=new MR(t.node,t.offset))}}e.collapse(s.node,s.offset),null!=c.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=c.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();c.anchor>c.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}o&&this.view.root.activeElement==n&&(n.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new MR(d.anchorNode,d.anchorOffset),this.impreciseHead=l.precise?null:new MR(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&fR(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=uR(e.root),{anchorNode:r,anchorOffset:i}=e.observer.selectionRange;if(!(n&&t.empty&&t.assoc&&n.modify))return;let o=this.lineAt(t.head,t.assoc);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,t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,i)}posFromDOM(e,t){let n=this.tile.nearest(e);if(!n)return 2&this.tile.dom.compareDocumentPosition(e)?0:this.view.state.doc.length;let r=n.posAtStart;if(!n.isComposite())return n.isText()?e==n.dom?r+t:r+(t?n.length:0):r;{let i;if(e==n.dom)i=n.dom.childNodes[t];else{let r=0==vR(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==n.dom)break;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}i=r<0?e:e.nextSibling}if(i==n.dom.firstChild)return r;for(;i&&!_C.get(i);)i=i.nextSibling;if(!i)return r+n.length;for(let e=0,t=r;;e++){let r=n.children[e];if(r.dom==i)return t;t+=r.length+r.breakAfter}}}domAtPos(e,t){let{tile:n,offset:r}=this.tile.resolveBlock(e,t);return n.isWidget()?n.domPosFor(r,t):n.domIn(r,t)}inlineDOMNearPos(e,t){let n,r,i=-1,o=!1,a=-1,s=!1;return this.tile.blockTiles((t,l)=>{if(t.isWidget()){if(32&t.flags&&l>=e)return!0;16&t.flags&&(o=!0)}else{let c=l+t.length;if(l<=e&&(n=t,i=e-l,o=c<e),c>=e&&!r&&(r=t,a=e-l,s=l>e),l>e&&r)return!0}}),n||r?(o&&r?n=null:s&&n&&(r=null),n&&t<0||!r?n.domIn(i,t):r.domIn(a,t)):this.domAtPos(e,t)}coordsAt(e,t,n){let{tile:r,offset:i}=this.tile.resolveBlock(e,t);return r.isWidget()?r.widget instanceof sP?null:r.coordsInWidget(i,t,!0):r.coordsIn(i,t,n)}lineAt(e,t){let{tile:n}=this.tile.resolveBlock(e,t);return n.isLine()?n:null}coordsForChar(e){let{tile:t,offset:n}=this.tile.resolveBlock(e,1);return t.isLine()?function e(t,n){if(t.isComposite())for(let r of t.children){if(r.length>=n){let t=e(r,n);if(t)return t}if((n-=r.length)<0)break}else if(t.isText()&&n<t.length){let e=nE(t.text,n);if(e==n)return null;let r=CR(t.dom,n,e).getClientRects();for(let e=0;e<r.length;e++){let t=r[e];if(e==r.length-1||t.top<t.bottom&&t.left<t.right)return t}}return null}(t,n):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==_R.LTR,l=0,c=(e,u,d)=>{for(let p=0;p<e.children.length&&!(u>r);p++){let r=e.children[p],h=u+r.length,f=r.dom.getBoundingClientRect(),{height:m}=f;if(d&&!p&&(l+=f.top-d.top),r instanceof LC)h>n&&c(r,u,f);else if(u>=n&&(l>0&&t.push(-l),t.push(m+l),l=0,o)){let e=r.dom.lastChild,t=e?hR(e):[];if(t.length){let e=t[t.length-1],n=s?e.right-f.left:f.right-e.left;n>a&&(a=n,this.minWidth=i,this.minWidthFrom=u,this.minWidthTo=h)}}d&&p==e.children.length-1&&(l+=d.bottom-f.bottom),u=h+r.breakAfter}};return c(this.tile,0,null),t}textDirectionAt(e){let{tile:t}=this.tile.resolveBlock(e,1);return"rtl"==getComputedStyle(t.dom).direction?_R.RTL:_R.LTR}measureTextSize(){let e=this.tile.blockTiles(e=>{if(e.isLine()&&e.children.length&&e.length<=20){let t,n=0;for(let r of e.children){if(!r.isText()||/[^ -~]/.test(r.text))return;let e=hR(r.dom);if(1!=e.length)return;n+=e[0].width,t=e[0].height}if(n)return{lineHeight:e.dom.getBoundingClientRect().height,charWidth:n/e.length,textHeight:t}}});if(e)return e;let t,n,r,i=document.createElement("div");return i.className="cm-line",i.style.width="99999px",i.style.position="absolute",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(i);let e=hR(i.firstChild)[0];t=i.getBoundingClientRect().height,n=e&&e.width?e.width/27:7,r=e&&e.height?e.height:t,i.remove()}),{lineHeight:t,charWidth:n,textHeight:r}}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.view.state.doc.length;if(o>n){let r=(t.lineBlockAt(o).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(rR.replace({widget:new sP(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return rR.set(e)}updateDeco(){let e=1,t=this.view.state.facet(wC).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),n=!1,r=this.view.state.facet(SC).map((e,t)=>{let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e});for(r.length&&(this.dynamicDecorationMap[e++]=n,t.push(uk.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;this.blockWrappers=this.view.state.facet(xC).map(e=>"function"==typeof e?e(this.view):e)}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let t of this.view.state.facet(cC))try{if(t(this.view,e.range,e))return!0}catch(e){hC(this.view.state,e,"scroll handler")}let t,{range:n}=e,r=this.coordsAt(n.head,n.assoc||(n.head>n.anchor?-1:1));if(!r)return;!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)});let i=PC(this.view),o={left:r.left-i.left,top:r.top-i.top,right:r.right+i.right,bottom:r.bottom+i.bottom},{offsetWidth:a,offsetHeight:s}=this.view.scrollDOM;if(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,p=u==l.body,h=1,f=1;if(p)e=yR(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:f}=wR(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*f}}let m=0,g=0;if("nearest"==i)t.top<e.top+a?(g=t.top-(e.top+a),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+a)):t.bottom>e.bottom-a&&(g=t.bottom-e.bottom+a,n<0&&t.top-g<e.top&&(g=t.top-(e.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+o?(m=t.left-(e.left+o),n>0&&t.right>e.right+m&&(m=t.right-e.right+o)):t.right>e.right-o&&(m=t.right-e.right+o,n<0&&t.left<e.left+m&&(m=t.left-(e.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(p)c.scrollBy(m,g);else{let e=0,n=0;if(g){let e=u.scrollTop;u.scrollTop+=g/f,n=(u.scrollTop-e)*f}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&&Math.abs(e-m)<1&&(r="nearest"),n&&Math.abs(n-g)<1&&(i="nearest")}if(p)break;(t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}}(this.view.scrollDOM,o,n.head<n.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==_R.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(r.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||r.bottom<window.pageYOffset+window.visualViewport.offsetTop)){let e=this.view.docView.lineAt(n.head,1);e&&e.dom.scrollIntoView({block:"nearest"})}}lineHasWidget(e){let t=e=>e.isWidget()||e.children.some(t);return t(this.tile.resolveBlock(e,1).tile)}destroy(){rP(this.tile)}}function rP(e,t){let n=null==t?void 0:t.get(e);if(1!=n){null==n&&e.destroy();for(let n of e.children)rP(n,t)}}function iP(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=QR(n.focusNode,n.focusOffset),i=TR(n.focusNode,n.focusOffset),o=r||i;if(i&&r&&i.node!=r.node){let t=_C.get(i.node);if(!t||t.isText()&&t.text!=i.node.nodeValue)o=i;else if(e.docView.lastCompositionAfterCursor){let e=_C.get(r.node);!e||e.isText()&&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 oP=class{constructor(){this.changes=[]}compareRange(e,t){lR(e,t,this.changes)}comparePoint(e,t){lR(e,t,this.changes)}boundChange(e){lR(e,e,this.changes)}};class aP{constructor(){this.changes=[]}compareRange(e,t){lR(e,t,this.changes)}comparePoint(){}boundChange(e){lR(e,e,this.changes)}}class sP extends tR{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}}function lP(e,t,n){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){let e;for(let i of r.type){if(i.from>t)break;if(!(i.to<t)){if(i.from<t&&i.to>t)return i;e&&(i.type!=nR.Text||e.type==i.type&&!(n<0?i.from<t:i.to>t))||(e=i)}}return e||r}return r}function cP(e,t,n,r){let i=e.state.doc.lineAt(t.head),o=e.bidiSpans(i),a=e.textDirectionAt(i.from);for(let s=t,l=null;;){let t=UR(i,o,a,s,n),c=HR;if(!t){if(i.number==(n?e.state.doc.lines:1))return s;c="\n",i=e.state.doc.line(i.number+(n?1:-1)),o=e.bidiSpans(i),t=e.visualLineSide(i,!n)}if(l){if(!l(c))return s}else{if(!r)return t;l=r(c)}s=t}}function uP(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 dP(e,t){let n=null;for(let r=0;r<t.ranges.length;r++){let i=t.ranges[r],o=null;if(i.empty){let t=uP(e,i.from,0);t!=i.from&&(o=OE.cursor(t,-1))}else{let t=uP(e,i.from,-1),n=uP(e,i.to,1);t==i.from&&n==i.to||(o=i.undirectional?OE.undirectionalRange(i.from,i.to):OE.range(i.from==i.anchor?t:n,i.from==i.head?t:n))}o&&(n||(n=t.ranges.slice()),n[r]=o)}return n?OE.create(n,t.mainIndex):t}function pP(e,t,n){let r=uP(e.state.facet(EC).map(t=>t(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:OE.cursor(r,r<n.from?1:-1)}class hP{constructor(e,t){this.pos=e,this.assoc=t}}function fP(e,t,n,r){let i,o=e.contentDOM.getBoundingClientRect(),a=o.top+e.viewState.paddingTop,{x:s,y:l}=t,c=l-a;for(;;){if(c<0)return new hP(0,1);if(c>e.viewState.docHeight)return new hP(e.state.doc.length,-1);if(i=e.elementAtHeight(c),null==r)break;if(i.type==nR.Text){if(r<0?i.to<e.viewport.from:i.from>e.viewport.to)break;let t=e.docView.coordsAt(r<0?i.from:i.to,r>0?-1:1);if(t&&(r<0?t.top<=c+a:t.bottom>=c+a))break}let t=e.viewState.heightOracle.textHeight/2;c=r>0?i.bottom+t:i.top-t}if(e.viewport.from>=i.to||e.viewport.to<=i.from){if(n)return null;if(i.type==nR.Text){let t=function(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-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let a=e.state.sliceDoc(n.from,n.to);return n.from+Sk(a,o,e.state.tabSize)}(e,o,i,s,l);return new hP(t,t==i.from?1:-1)}}if(i.type!=nR.Text)return c<(i.top+i.bottom)/2?new hP(i.from,1):new hP(i.to,-1);let u=e.docView.lineAt(i.from,2);return u&&u.length==i.length||(u=e.docView.lineAt(i.from,-2)),new mP(e,s,l,e.textDirectionAt(i.from)).scanTile(u,i.from)}class mP{constructor(e,t,n,r){this.view=e,this.x=t,this.y=n,this.baseDir=r,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to<e)&&(this.line=this.view.state.doc.lineAt(e),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(e,t){let{line:n,spans:r}=this.bidiSpansAt(e);return r[XR.find(r,e-n.from,-1,t)].level==this.baseDir}dirAt(e,t){let{line:n,spans:r}=this.bidiSpansAt(e);return r[XR.find(r,e-n.from,-1,t)].dir}bidiIn(e,t){let{spans:n,line:r}=this.bidiSpansAt(e);return n.length>1||n.length&&(n[0].level!=this.baseDir||n[0].to+r.from<t)}scan(e,t,n=!1){let r,i,o,a=0,s=e.length-1,l=new Set,c=this.bidiIn(e[0],e[s]),u=-1,d=1e9;e:for(;a<s;){let n=s-a,p=a+s>>1;t:if(l.has(p)){let e=a+Math.floor(Math.random()*n);for(let t=0;t<n;t++){if(!l.has(e)){p=e;break t}e++,e==s&&(e=a)}break e}l.add(p);let h=t(p);if(h)for(let t=0;t<h.length;t++){let n=h[t],l=0;if(!(0==n.width&&h.length>1)){if(n.bottom<this.y)(!r||r.bottom<n.bottom)&&(r=n),l=1;else if(n.top>this.y)(!i||i.top>n.top)&&(i=n),l=-1;else{let e=n.left>this.x?this.x-n.left:n.right<this.x?this.x-n.right:0,t=Math.abs(e);t<d&&(u=p,d=t,o=n),e&&(l=e<0==(this.baseDir==_R.LTR)?-1:1)}-1!=l||c&&!this.baseDirAt(e[p],1)?1!=l||c&&!this.baseDirAt(e[p+1],-1)||(a=p+1):s=p}}}if(!o){if(!i&&!r)return{i:e[0],after:!1};let n=r&&(!i||this.y-r.bottom<i.top-this.y)?r:i;return this.y=(n.top+n.bottom)/2,this.scan(e,t,!0)}if(d&&!n){let{top:n,bottom:a}=o;if(r&&r.bottom>(n+n+a)/3)return this.y=r.bottom-1,this.scan(e,t,!0);if(i&&i.top<(n+a+a)/3)return this.y=i.top+1,this.scan(e,t,!0)}let p=(c?this.dirAt(e[u],1):this.baseDir)==_R.LTR;return{i:u,after:this.x>(o.left+o.right)/2==p}}scanText(e,t){let n=[];for(let r=0;r<e.length;r=nE(e.text,r))n.push(t+r);n.push(t+e.length);let r=this.scan(n,r=>{let i=n[r]-t,o=n[r+1]-t;return CR(e.dom,i,o).getClientRects()});return r.after?new hP(n[r.i+1],-1):new hP(n[r.i],1)}scanTile(e,t){if(!e.length)return new hP(t,1);if(1==e.children.length){let n=e.children[0];if(n.isText())return this.scanText(n,t);if(n.isComposite())return this.scanTile(n,t)}let n=[t];for(let r=0,i=t;r<e.children.length;r++)n.push(i+=e.children[r].length);let r=this.scan(n,t=>{let n=e.children[t];return 48&n.flags?null:(1==n.dom.nodeType?n.dom:CR(n.dom,0,n.length)).getClientRects()}),i=e.children[r.i],o=n[r.i];return i.isText()?this.scanText(i,o):i.isComposite()?this.scanTile(i,o):r.after?new hP(n[r.i+1],-1):new hP(o,1)}}const gP="";class OP{constructor(e,t){this.points=e,this.view=t,this.text="",this.lineSeparator=t.state.facet(rk.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=gP}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=_C.get(r),o=r.nextSibling;if(o==t){(null==i?void 0:i.breakAfter)&&!o&&n!=this.view.contentDOM&&this.lineBreak();break}let a=_C.get(o);(i&&a?i.breakAfter:(i?i.breakAfter:gR(r))||gR(o)&&("BR"!=r.nodeName||(null==i?void 0:i.isWidget()))&&this.text.length>e)&&!bP(o,t)&&this.lineBreak(),r=o}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,o=-1,a=1;if(this.lineSeparator?(o=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(i=r.exec(t))&&(o=i.index,a=i[0].length),this.append(t.slice(n,o<0?t.length:o)),o<0)break;if(this.lineBreak(),a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1);n=o+a}}readNode(e){let t=_C.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+(vP(e,n.node,n.offset)?t:0))}}function vP(e,t,n){for(;;){if(!t||n<vR(t))return!1;if(t==e)return!0;n=mR(t)+1,t=t.parentNode}}function bP(e,t){let n;for(;e!=t&&e;e=e.nextSibling){let t=_C.get(e);if(!(null==t?void 0:t.isWidget()))return!1;t&&(n||(n=[])).push(t)}if(n)for(let e of n){let t=e.overrideDOMText;if(null==t?void 0:t.length)return!1}return!0}class yP{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class wP{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:i,impreciseAnchor:o}=e.docView,a=e.state.selection;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=xP(e.docView.tile,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 yP(n,r)),i==n&&o==r||t.push(new yP(i,o))),t}(e),n=new OP(t,e);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?OE.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||!dR(e.contentDOM,t.focusNode)?a.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!dR(e.contentDOM,t.anchorNode)?a.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),s=e.viewport;if((Hk.ios||Hk.chrome)&&n!=r&&Math.min(n,r)<=a.main.from&&Math.max(n,r)>=a.main.to&&(s.from>0||s.to<e.state.doc.length)){let t=Math.min(n,r),i=Math.max(n,r),o=s.from-t,a=s.to-i;0!=o&&1!=o&&0!=t||0!=a&&-1!=a&&i!=e.state.doc.length||(n=0,r=e.state.doc.length)}if(e.inputState.composing>-1&&a.ranges.length>1)this.newSel=a.replaceRange(OE.range(r,n));else if(e.lineWrapping&&r==n&&(!a.main.empty||a.main.head!=n)&&e.inputState.lastTouchTime>Date.now()-100){let t=e.coordsAtPos(n,-1),r=0;t&&(r=e.inputState.lastTouchY<=t.bottom?-1:1),this.newSel=OE.create([OE.cursor(n,r)])}else this.newSel=OE.single(r,n)}}}function xP(e,t,n,r){if(e.isComposite()){let i=-1,o=-1,a=-1,s=-1;for(let l=0,c=r,u=r;l<e.children.length;l++){let r=e.children[l],d=c+r.length;if(c<t&&d>n)return xP(r,t,n,c);if(d>=t&&-1==i&&(i=l,o=c),c>n&&r.dom.parentNode==e.dom){a=l,s=u;break}u=d,c=d+r.breakAfter}return{from:o,to:s<0?r+e.length:s,startDOM:(i?e.children[i-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:a<e.children.length&&a>=0?e.children[a].dom:null}}return e.isText()?{from:r,to:r+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null}function SP(e,t){let n,{newSel:r}=t,{state:i}=e,o=i.selection.main,a=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:e,to:r}=t.bounds,s=o.from,l=null;(8===a||Hk.android&&t.text.length<r-e)&&(s=o.to,l="end");let c,u,d=i.doc.sliceString(e,r,gP);!o.empty&&o.from>=e&&o.to<=r&&(t.typeOver||d!=t.text)&&d.slice(0,o.from-e)==t.text.slice(0,o.from-e)&&d.slice(o.to-e)==t.text.slice(c=t.text.length-(d.length-(o.to-e)))?n={from:o.from,to:o.to,insert:qS.of(t.text.slice(o.from-e,c).split(gP))}:(u=kP(d,t.text,s-e,l))&&(Hk.chrome&&13==a&&u.toB==u.from+2&&t.text.slice(u.from,u.toB)==gP+gP&&u.toB--,n={from:e+u.from,to:e+u.toA,insert:qS.of(t.text.slice(u.from,u.toB).split(gP))})}else r&&(!e.hasFocus&&i.facet(fC)||RP(r,o))&&(r=null);if(!n&&!r)return!1;if((Hk.mac||Hk.android)&&n&&n.from==n.to&&n.from==o.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=OE.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:qS.of([n.insert.toString().replace("."," ")])}):i.doc.lineAt(o.from).to<o.to&&e.docView.lineHasWidget(o.to)&&e.inputState.insertingTextAt>Date.now()-50?n={from:o.from,to:o.to,insert:i.toText(e.inputState.insertingText)}:Hk.chrome&&n&&n.from==n.to&&n.from==o.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=OE.single(r.main.anchor-1,r.main.head-1)),n={from:o.from,to:o.to,insert:qS.of([" "])}),n)return EP(e,n,r,a);if(r&&!RP(r,o)){let t=!1,n="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),n=e.inputState.lastSelectionOrigin,"select.pointer"==n&&(r=dP(i.facet(EC).map(t=>t(e)),r))),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}return!1}function EP(e,t,n,r=-1){if(Hk.ios&&e.inputState.flushIOSKey(t))return!0;let i=e.state.selection.main;if(Hk.android&&(t.to==i.to&&(t.from==i.from||t.from==i.from-1&&" "==e.state.sliceDoc(t.from,i.from))&&1==t.insert.length&&2==t.insert.lines&&PR(e.contentDOM,"Enter",13)||(t.from==i.from-1&&t.to==i.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>i.head)&&PR(e.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&0==t.insert.length&&PR(e.contentDOM,"Delete",46)))return!0;let o,a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let s=()=>o||(o=function(e,t,n){let r,i=e.state,o=i.selection.main,a=-1;if(t.from==t.to&&t.from<o.from||t.from>o.to){let n=t.from<o.from?-1:1,r=n<0?o.from:o.to,s=uP(i.facet(EC).map(t=>t(e)),r,n);t.from==s&&(a=s)}if(a>-1)r={changes:t,selection:OE.cursor(t.from+t.insert.length,-1)};else 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),s=n&&n.main.to<=a.newLength?n.main:void 0;if(i.selection.ranges.length>1&&(e.inputState.composing>=0||e.inputState.compositionPendingChange)&&t.to<=o.to+10&&t.to>=o.to-10){let l,c=e.state.sliceDoc(t.from,t.to),u=n&&iP(e,n.main.head);if(u){let e=t.insert.length-(t.to-t.from);l={from:u.from,to:u.to-e}}else l=e.state.doc.lineAt(o.head);let d=o.to-t.to;r=i.changeByRange(n=>{if(n.from==o.from&&n.to==o.to)return{changes:a,range:s||n.map(a)};let r=n.to-d,u=r-c.length;if(e.state.sliceDoc(u,r)!=c||r>=l.from&&u<=l.to)return{range:n};let p=i.changes({from:u,to:r,insert:t.insert}),h=n.to-o.to;return{changes:p,range:s?OE.range(Math.max(0,s.anchor+h),Math.max(0,s.head+h)):n.map(p)}})}else r={changes:a,selection:s&&i.selection.replaceRange(s)}}let s="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=".compose",e.inputState.compositionFirstChange&&(s+=".start",e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:s,scrollIntoView:!0})}(e,t,n));return e.state.facet(rC).some(n=>n(e,t.from,t.to,a,s))||e.dispatch(s()),!0}function kP(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--;return"end"==r&&(n-=a+Math.max(0,o-Math.min(a,s))-o),a<o&&e.length<t.length?(o-=n<=o&&n>=a?o-n:0,s=o+(s-a),a=o):s<o&&(o-=n<=o&&n>=s?o-n:0,a=o+(a-s),s=o),{from:o,toA:a,toB:s}}function RP(e,t){return t.head==e.main.head&&t.anchor==e.main.anchor}class CP{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.touchActive=!1,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.lastIOSMomentumScroll=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.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Hk.safari&&e.contentDOM.addEventListener("input",()=>null),Hk.gecko&&function(e){YP.has(e)||(YP.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}(e.contentDOM.ownerDocument)}handleEvent(e){(function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=_C.get(r))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(t))return!1;return!0})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||(0!=this.view.updateState?Promise.resolve().then(()=>this.runHandlers(e.type,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=AP(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&&i!=!o.handlers.length&&(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){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&MP.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Hk.android&&Hk.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;if(Hk.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&(QP.some(t=>t.keyCode==e.keyCode)&&!e.ctrlKey||TP.indexOf(e.key)>-1&&e.ctrlKey)){let n={ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,shiftKey:e.shiftKey};return n.shiftKey&&Hk.ios&&!/^(off|none)$/.test(this.view.contentDOM.autocapitalize)&&(t=this.view.win).visualViewport&&t.visualViewport.height*t.visualViewport.scale/t.document.documentElement.clientHeight<.85&&(n.shiftKey=!1),this.pendingIOSKey={key:e.key,keyCode:e.keyCode,mods:n},setTimeout(()=>this.flushIOSKey(),250),!0}var t;return 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,PR(this.view.contentDOM,t.key,t.keyCode,t.mods))}ignoreDuringComposition(e){return!(!/^key/.test(e.type)||e.synthetic)&&(this.composing>0||!!(Hk.safari&&!Hk.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 PP(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(e){hC(n.state,e)}}}function AP(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,r=e&&e.plugin.domEventHandlers,i=e&&e.plugin.domEventObservers;if(r)for(let e in r){let i=r[e];i&&n(e).handlers.push(PP(t.value,i))}if(i)for(let e in i){let r=i[e];r&&n(e).observers.push(PP(t.value,r))}}for(let e in $P)n(e).handlers.push($P[e]);for(let e in DP)n(e).observers.push(DP[e]);return t}const QP=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],TP="dthko",MP=[16,17,18,20,91,92,224,225];function _P(e){return.7*Math.max(0,e)+8}class IP{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=xR(e.contentDOM),this.atoms=e.state.facet(EC).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(rk.allowMultipleSelections)&&function(e,t){let n=e.state.facet(KR);return n.length?n[0](t):Hk.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=uR(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!=FP(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&function(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,r=0,i=0,o=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:a}=this.scrollParents.y.getBoundingClientRect());let s=PC(this.view);e.clientX-s.left<=r+6?t=-_P(r-e.clientX):e.clientX+s.right>=o-6&&(t=_P(e.clientX-o)),e.clientY-s.top<=i+6?n=-_P(i-e.clientY):e.clientY+s.bottom>=a-6&&(n=_P(e.clientY-a)),this.setScrollSpeed(t,n)}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)}select(e){let{view:t}=this,n=dP(this.atoms,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)}}const $P=Object.create(null),DP=Object.create(null),LP=Hk.ie&&Hk.ie_version<15||Hk.ios&&Hk.webkit_version<604;function NP(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function zP(e,t){t=NP(e.state,oC,t);let n,{state:r}=e,i=1,o=r.toText(t),a=o.lines==r.selection.ranges.length;if(null!=WP&&r.selection.ranges.every(e=>e.empty)&&WP==o.toString()){let e=-1;n=r.changeByRange(n=>{let s=r.doc.lineAt(n.from);if(s.from==e)return{range:n};e=s.from;let l=r.toText((a?o.line(i++).text:t)+r.lineBreak);return{changes:{from:s.from,insert:l},range:OE.cursor(n.from+l.length)}})}else n=a?r.changeByRange(e=>{let t=o.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:OE.cursor(e.from+t.length)}}):r.replaceSelection(o);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function jP(e,t,n,r){if(1==r)return OE.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 OE.cursor(t);0==o?n=1:o==i.length&&(n=-1);let a=o,s=o;n<0?a=nE(i.text,o,!1):s=nE(i.text,o);let l=r(i.text.slice(a,s));for(;a>0;){let e=nE(i.text,a,!1);if(r(i.text.slice(e,a))!=l)break;a=e}for(;s<i.length;){let e=nE(i.text,s);if(r(i.text.slice(s,e))!=l)break;s=e}return OE.undirectionalRange(a+i.from,s+i.from)}(e.state,t,n);{let r=e.docView.lineAt(t,n),i=e.state.doc.lineAt(r?r.posAtEnd:t),o=r?r.posAtStart:i.from,a=r?r.posAtEnd:i.to;return a<e.state.doc.length&&a==i.to&&a++,OE.undirectionalRange(o,a)}}DP.scroll=e=>{let t=e.inputState;t.lastScrollTop=e.scrollDOM.scrollTop,t.lastScrollLeft=e.scrollDOM.scrollLeft,Hk.ios&&!t.touchActive&&(t.lastIOSMomentumScroll=Date.now())},DP.wheel=DP.mousewheel=e=>{e.inputState.lastWheelEvent=Date.now()},$P.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),DP.touchstart=(e,t)=>{let n=e.inputState,r=t.targetTouches[0];n.touchActive=!0,n.lastTouchTime=Date.now(),r&&(n.lastTouchX=r.clientX,n.lastTouchY=r.clientY),n.setSelectionOrigin("select.pointer")},DP.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},DP.touchend=(e,t)=>{e.inputState.touchActive=!1},$P.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(eC))if(n=r(e,t),n)break;if(n||0!=t.button||(n=function(e,t){let n=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),r=FP(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 s,l=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),c=jP(e,l.pos,l.assoc,r);if(n.pos!=l.pos&&!o){let t=jP(e,n.pos,n.assoc,r),i=Math.min(t.from,c.from),o=Math.max(t.to,c.to);c=i<c.from?OE.range(i,o,c.assoc):OE.range(o,i,c.assoc)}return o?i.replaceRange(i.main.extend(c.from,c.to,c.assoc)):a&&1==r&&i.ranges.length>1&&(s=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 OE.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))?s:a?i.addRange(c):OE.create([c])}}}(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new IP(e,t,n,r)),r&&e.observer.ignore(()=>{RR(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}else e.inputState.setSelectionOrigin("select.pointer");return!1};const BP=Hk.ie&&Hk.ie_version<=11;let ZP=null,XP=0,VP=0;function FP(e){if(!BP)return e.detail;let t=ZP,n=VP;return ZP=e,VP=Date.now(),XP=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(XP+1)%3:1}function qP(e,t,n,r){if(!(n=NP(e.state,oC,n)))return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:o}=e.inputState,a=r&&o&&function(e,t){let n=e.state.facet(JR);return n.length?n[0](t):Hk.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:o.from,to:o.to}:null,s={from:i,insert:n},l=e.state.changes(a?[a,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),e.inputState.draggedContent=null}$P.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let r=e.docView.tile.nearest(t.target);if(r&&r.isWidget()){let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=OE.undirectionalRange(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",NP(e.state,aC,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1},$P.dragend=e=>(e.inputState.draggedContent=null,!1),$P.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&&qP(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 qP(e,t,n,!0),!0}return!1},$P.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=LP?null:t.clipboardData;return n?(zP(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(),zP(e,n.value)},50)}(e),!1)};let WP=null;$P.copy=$P.cut=(e,t)=>{if(!pR(e.contentDOM,e.observer.selectionRange))return!1;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:NP(e,aC,t.join(e.lineBreak)),ranges:n,linewise:r}}(e.state);if(!n&&!i)return!1;WP=i?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=LP?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)};const GP=XE.define();function HP(e,t){let n=[];for(let r of e.facet(iC)){let i=r(e,t);i&&n.push(i)}return n.length?e.update({effects:n,annotations:GP.of(!0)}):null}function UP(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=HP(e.state,t);n?e.dispatch(n):e.update([])}},10)}DP.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),UP(e)},DP.blur=e=>{e.observer.clearSelectionRange(),UP(e)},DP.compositionstart=DP.compositionupdate=e=>{e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},DP.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,Hk.chrome&&Hk.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},DP.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},$P.beforeinput=(e,t)=>{var n,r;if("insertText"!=t.inputType&&"insertCompositionText"!=t.inputType||(e.inputState.insertingText=t.data,e.inputState.insertingTextAt=Date.now()),"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 EP(e,{from:n,to:o,insert:e.state.toText(r)},null),!0}}let i;if(Hk.chrome&&Hk.android&&(i=QP.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 Hk.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),Hk.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>DP.compositionend(e,t),20),!1};const YP=new Set,KP=["pre-wrap","normal","pre-line","break-spaces"];let JP=!1;function eA(){JP=!1}class tA{constructor(e){this.lineWrapping=e,this.doc=qS.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)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return KP.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=KP.indexOf(e)>-1,s=Math.abs(t-this.lineHeight)>.3||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;e++){let t=o[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class nA{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class rA{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?nR.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 aR?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 rA(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var iA=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(iA||(iA={}));const oA=.001;class aA{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)>oA&&(JP=!0),this.height=e)}replace(e,t,n){return aA.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,iA.ByPosNoHeight,n.setDoc(t),0,0),p=d.to>=l?d:i.lineAt(l,iA.ByPosNoHeight,n,0,0);for(u+=p.to-l,l=p.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,iA.ByPosNoHeight,n,0,0));c+=d.from-s,s=d.from;let h=fA.build(n.setDoc(o),e,c,u);i=sA(i,i.replace(s,l,h))}return i.updateHeight(n,0)}static empty(){return new uA(0,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))break;{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 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 pA(aA.of(e.slice(0,t)),o,aA.of(e.slice(n)))}}function sA(e,t){return e==t?e:(e.constructor!=t.constructor&&(JP=!0),t)}aA.prototype.size=1;const lA=rR.replace({});class cA extends aA{constructor(e,t,n){super(e,t),this.deco=n,this.spaceAbove=0}mainBlock(e,t){return new rA(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(e,t,n,r){return this.spaceAbove&&e<n+this.spaceAbove?new rA(r,0,n,this.spaceAbove,lA):this.mainBlock(n,r)}lineAt(e,t,n,r,i){let o=this.mainBlock(r,i);return this.spaceAbove?this.blockAt(0,n,r,i).join(o):o}forEachLine(e,t,n,r,i,o){e<=i+this.length&&t>=i&&o(this.lineAt(0,iA.ByPos,n,r,i))}setMeasuredHeight(e){let t=e.heights[e.index++];t<0?(this.spaceAbove=-t,t=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(t)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setMeasuredHeight(r),this.outdated=!1,this}toString(){return`block(${this.length})`}}class uA extends cA{constructor(e,t,n){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,t){return new rA(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,t,n){let r=n[0];return 1==n.length&&(r instanceof uA||r instanceof dA&&4&r.flags)&&Math.abs(this.length-r.length)<10?(r instanceof dA?r=new uA(r.length,this.height,this.spaceAbove):r.height=this.height,this.outdated||(r.outdated=!1),r):aA.of(n)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setMeasuredHeight(r):(n||this.outdated)&&(this.spaceAbove=0,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 dA extends aA{constructor(e){super(e,0)}heightMetrics(e,t){let n,r=e.doc.lineAt(t).number,i=e.doc.lineAt(t+this.length).number,o=i-r+1,a=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*o);n=t/o,this.length>o+1&&(a=(this.height-t)/(this.length-o-1))}else n=this.height/o;return{firstLine:r,lastLine:i,perLine:n,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,c=Math.max(n,e-l/2);return new rA(o.from,o.length,c,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 rA(s,l,n+a*r,a,0)}}lineAt(e,t,n,r,i){if(t==iA.ByHeight)return this.blockAt(e,n,r,i);if(t==iA.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new rA(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 rA(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 rA(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 dA?n[n.length-1]=new dA(e.length+r):n.push(null,new dA(r-1))}if(e>0){let t=n[0];t instanceof dA?n[0]=new dA(e+t.length):n.unshift(new dA(e-1),null)}return aA.of(n)}decomposeLeft(e,t){t.push(new dA(e-1),null)}decomposeRight(e,t){t.push(null,new dA(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 dA(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++],s=0;i<0&&(s=-i,i=r.heights[r.index++]),-1==a?a=i:Math.abs(i-a)>=oA&&(a=-2);let l=new uA(t,i,s);l.outdated=!1,n.push(l),o+=t+1}o<=i&&n.push(null,new dA(i-o).updateHeight(e,o));let s=aA.of(n);return(a<0||Math.abs(s.height-this.height)>=oA||Math.abs(a-this.heightMetrics(e,t).perLine)>=oA)&&(JP=!0),sA(this,s)}return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class pA extends aA{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==iA.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==iA.ByPosNoHeight?iA.ByPosNoHeight:iA.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,iA.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&&hA(i,o-1),t<this.length){let e=i.length;this.decomposeRight(t,i),hA(i,e)}return aA.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&&(n++,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?aA.of(this.break?[e,null,t]:[e,t]):(this.left=sA(this.left,e),this.right=sA(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 hA(e,t){let n,r;null==e[t]&&(n=e[t-1])instanceof dA&&(r=e[t+1])instanceof dA&&e.splice(t-1,3,new dA(n.length+1+r.length))}class fA{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 uA?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new uA(e-this.pos,-1,0)),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 cA(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 uA(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,t){let n=new dA(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 uA)return e;let t=new uA(0,-1,0);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 uA||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new uA(0,-1,0));let n=e;for(let e of this.nodes)e instanceof uA&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(e,t,n,r){let i=new fA(n,e);return uk.spans(t,n,r,i,0),i.finish(n)}}class mA{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&lR(e,t,this.changes,5)}}function gA(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)break;t=t.host}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)}}function OA(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class vA{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 rR.replace({widget:new bA(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class bA extends tR{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 yA{constructor(e,t){this.view=e,this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=EA,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=_R.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let n=t.facet(yC).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new tA(n),this.stateDeco=kA(t),this.heightMap=aA.empty().applyChanges(this.stateDeco,qS.empty,this.heightOracle.setDoc(t.doc),[new QC(0,0,0,t.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=rR.set(this.lineGaps.map(e=>e.draw(this,!1))),this.scrollParent=e.scrollDOM,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 wA(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?EA:new RA(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(CA(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=kA(this.state);let r=e.changedRanges,i=QC.extendWithRanges(r,function(e,t,n){let r=new mA;return uk.compare(e,t,n,r,0),r.changes}(n,this.stateDeco,e?e.changes:cE.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);eA(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=o||JP)&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let s=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));let l=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(l||!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.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(lC)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?_R.RTL:_R.LTR;let o=this.heightOracle.mustRefreshForWrapping(i)||"refresh"===this.mustMeasureContent,a=t.getBoundingClientRect(),s=o||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let l=0,c=0;if(a.width&&a.height){let{scaleX:e,scaleY:n}=wR(t,a);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,l|=16,o=s=!0)}let u=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;this.paddingTop==u&&this.paddingBottom==d||(this.paddingTop=u,this.paddingBottom=d,l|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=16);let p=xR(this.view.contentDOM,!1).y;p!=this.scrollParent&&(this.scrollParent=p,this.scrollAnchorHeight=-1,this.scrollOffset=0);let h=this.getScrollOffset();this.scrollOffset!=h&&(this.scrollAnchorHeight=-1,this.scrollOffset=h),this.scrolledToBottom=AR(this.scrollParent||e.win);let f=(this.printing?OA:gA)(t,this.paddingTop),m=f.top-this.pixelViewport.top,g=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(O!=this.inView&&(this.inView=O,O&&(s=!0)),!this.inView&&!this.scrollTarget&&!function(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}(e.dom))return 0;let v=a.width;if(this.contentDOMWidth==v&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,l|=16),s){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,Math.max(5,v/a),t),o&&(e.docView.minWidth=0,l|=16)}m>0&&g>0?c=Math.max(m,g):m<0&&g<0&&(c=Math.min(m,g)),eA();for(let n of this.viewports){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(o?aA.empty().applyChanges(this.stateDeco,qS.empty,this.heightOracle,[new QC(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new nA(n.from,i))}JP&&(l|=2)}let b=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return b&&(2&l&&(l|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),l|=this.updateForViewport()),(2&l||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}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 wA(r.lineAt(o-1e3*n,iA.ByHeight,i,0,0).from,r.lineAt(a+1e3*(1-n),iA.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n,o=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,iA.ByPos,i,0,0);n="center"==t.y?(a.top+a.bottom)/2-o/2:"start"==t.y||"nearest"==t.y&&e<s.from?a.top:a.bottom-o,s=new wA(r.lineAt(n-500,iA.ByHeight,i,0,0).from,r.lineAt(n+o+500,iA.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 wA(this.heightMap.lineAt(n,iA.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,iA.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,iA.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,iA.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 vA(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!=_R.LTR&&!n)return[];let a=[],s=(r,o,l,c)=>{if(o-r<i)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to);for(let e of d)if(e>r&&e<o)return s(r,e-10,l,c),void s(e+10,o,l,c);let p=function(e,t){for(let n of e)if(t(n))return n}(e,e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-r)<i&&Math.abs(e.to-o)<i&&!d.some(t=>e.from<t&&e.to>t));if(!p){if(o<l.to&&t&&n&&t.visibleRanges.some(e=>e.from<=o&&e.to>=o)){let e=t.moveToLineBoundary(OE.cursor(o),!1,!0).head;e>r&&(o=e)}let e=this.gapSize(l,r,o,c);p=new vA(r,o,e,n||e<2e6?e:2e6)}a.push(p)},l=t=>{if(t.length<o||t.type!=nR.Text)return;let i=function(e,t,n){let r=[],i=e,o=0;return uk.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(i.total<o)return;let a,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(n){let e,n,o=r/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=c){let r=SA(i,c),a=((this.visibleBottom-this.visibleTop)/2+o)/t.height;e=r-a,n=r+a}else e=(this.visibleTop-t.top-o)/t.height,n=(this.visibleBottom-t.top+o)/t.height;a=xA(i,e),l=xA(i,n)}else{let n=i.total*this.heightOracle.charWidth,o=r*this.heightOracle.charWidth,s=0;if(n>2e6)for(let n of e)n.from>=t.from&&n.from<t.to&&n.size!=n.displaySize&&n.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=n.size-n.displaySize);let u,d,p=this.pixelViewport.left+s,h=this.pixelViewport.right+s;if(null!=c){let e=SA(i,c),t=((h-p)/2+o)/n;u=e-t,d=e+t}else u=(p-o)/n,d=(h+o)/n;a=xA(i,u),l=xA(i,d)}a>t.from&&s(t.from,a,t,i),l<t.to&&s(l,t.to,t,i)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(l):l(e);return a}gapSize(e,t,n,r){let i=SA(r,n)-SA(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}updateLineGaps(e){vA.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=rR.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=[];uk.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)||CA(this.heightMap.lineAt(e,iA.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)||CA(this.heightMap.lineAt(this.scaler.fromDOM(e),iA.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}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 CA(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 wA{constructor(e,t){this.from=e,this.to=t}}function xA({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 SA(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}const EA={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};function kA(e){let t=e.facet(wC).filter(e=>"function"!=typeof e),n=e.facet(SC).filter(e=>"function"!=typeof e);return n.length&&t.push(uk.join(n)),t}class RA{constructor(e,t,n){let r=0,i=0,o=0;this.viewports=n.map(({from:n,to:i})=>{let o=t.lineAt(n,iA.ByPos,e,0,0).top,a=t.lineAt(i,iA.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);for(let e of this.viewports)e.domTop=o+(e.top-i)*this.scale,o=e.domBottom=e.domTop+(e.bottom-e.top),i=e.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 RA&&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 CA(e,t){if(1==t.scale)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new rA(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>CA(e,t)):e._content)}const PA=yE.define({combine:e=>e.join(" ")}),AA=yE.define({combine:e=>e.indexOf(!0)>-1}),QA=Ck.newName(),TA=Ck.newName(),MA=Ck.newName(),_A={"&light":"."+TA,"&dark":"."+MA};function IA(e,t,n){return new Ck(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]}):e+" "+t})}const $A=IA("."+QA,{"&":{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":{userSelect:"none",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-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".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",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},_A),DA={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},LA=Hk.ie&&Hk.ie_version<=11;class NA{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new SR,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);(Hk.ie&&Hk.ie_version<=11||Hk.ios&&e.composing)&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),!window.EditContext||!Hk.android||!1===e.constructor.EDIT_CONTEXT||Hk.chrome&&Hk.chrome_version<126||(this.editContext=new BA(e),e.state.facet(fC)&&(e.contentDOM.editContext=this.editContext.editContext)),LA&&(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]))){this.gapIntersection.disconnect();for(let t of 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(fC)?n.root.activeElement!=this.dom:!pR(this.dom,r))return;let i=r.anchorNode&&n.docView.tile.nearest(r.anchorNode);i&&i.isWidget()&&i.widget.ignoreEvent(e)?t||(this.selectionChanged=!1):(Hk.ie&&Hk.ie_version<=11||Hk.android&&Hk.chrome)&&!n.state.selection.main.empty&&r.focusNode&&fR(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=uR(e.root);if(!t)return!1;let n=Hk.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 jA(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?jA(e,n):null}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=pR(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,vR(n));;)if(r){if(1!=n.nodeType)return!1;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:(n=e,r=vR(n))}else{if(n==e)return!0;r=mR(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)break;n=n.host}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,DA),LA&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),LA&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&PR(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}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&&pR(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new wP(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=SP(this.view,t);return this.view.state==n&&(t.domChanged||t.newSel&&!RP(this.view.state.selection,t.newSel.main))&&this.view.update([]),r}readMutation(e){let t=this.view.docView.tile.nearest(e.target);if(!t||t.isWidget())return null;if(t.markDirty("attributes"==e.type),"childList"==e.type){let n=zA(t,e.previousSibling||e.target.previousSibling,-1),r=zA(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}: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(fC)!=e.state.facet(fC)&&(e.view.contentDOM.editContext=e.state.facet(fC)?this.editContext.editContext:null))}destroy(){var e,t,n;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();for(let e of this.scrollTargets)e.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 zA(e,t,n){for(;t;){let r=_C.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 jA(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,a=e.docView.domAtPos(e.state.selection.main.anchor,1);return fR(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}class BA{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)});this.handlers.textupdate=n=>{let r=e.state.selection.main,{anchor:i,head:o}=r,a=this.toEditorPos(n.updateRangeStart),s=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:a,drifted:!1});let l=s-a>n.text.length;a==this.from&&i<this.from?a=i:s==this.to&&i>this.to&&(s=i);let c=kP(e.state.sliceDoc(a,s),n.text,(l?r.from:r.to)-a,l?"end":null);if(!c){let t=OE.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));return void(RP(t,r)||e.dispatch({selection:t,userEvent:"select"}))}let u={from:c.from+a,to:c.toA+a,insert:qS.of(n.text.slice(c.from,c.toB).split("\n"))};if((Hk.mac||Hk.android)&&u.from==o-1&&/^\. ?$/.test(n.text)&&"off"==e.contentDOM.getAttribute("autocorrect")&&(u={from:a,to:s,insert:qS.of([n.text.replace("."," ")])}),this.pendingContextChange=u,!e.state.readOnly){let t=this.to-this.from+(u.to-u.from+u.insert.length);EP(e,u,OE.single(this.toEditorPos(n.selectionStart,t),this.toEditorPos(n.selectionEnd,t)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),u.from<u.to&&!u.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(t.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},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/i.test(t)&&!/none/i.test(r)){let i=this.toEditorPos(e.rangeStart),o=this.toEditorPos(e.rangeEnd);if(i<o){let e=`text-decoration: underline ${/^[a-z]/.test(t)?t+" ":"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${/thin/i.test(r)?1:2}px`;n.push(rR.mark({attributes:{style:e}}).range(i,o))}}}e.dispatch({effects:pC.of(rR.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)}};for(let e in this.handlers)t.addEventListener(e,this.handlers[e]);this.measureReq={read:e=>{let t=uR(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))return r=this.pendingContextChange=null,t+=c,void(this.to+=c);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)return void(n=!0);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,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&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 ZA{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(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="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;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 yA(this,e.state||rk.create(e)),e.scrollTo&&e.scrollTo.is(dC)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(gC).map(e=>new vC(e));for(let e of this.plugins)e.update(this);this.observer=new NA(this),this.inputState=new CP(this),this.inputState.ensureHandlers(this.plugins),this.docView=new nP(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.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let t=1==e.length&&e[0]instanceof WE?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 new Error("Calls to EditorView.update are not allowed while an update is in progress");let t,n=!1,r=!1,i=this.state;for(let t of e){if(t.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=t.state}if(this.destroyed)return void(this.viewState.state=i);let o=this.hasFocus,a=0,s=null;e.some(e=>e.annotation(GP))?(this.inputState.notifiedFocused=o,a=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,s=HP(i,o),s||(a=1));let l=this.observer.delayedAndroidKey,c=null;if(l?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(c=null)):this.observer.clear(),i.facet(rk.phrases)!=this.state.facet(rk.phrases))return this.setState(i);t=TC.create(this,i,e),t.flags|=a;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(u&&(u=u.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection,{x:n,y:r}=this.state.facet(ZA.cursorScrollMargin);u=new uC(e.empty?e:OE.cursor(e.head,e.head>e.anchor?-1:1),"nearest","nearest",r,n)}for(let e of t.effects)e.is(dC)&&(u=e.value.clip(this.state))}this.viewState.update(t,u),this.bidiCache=FA.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),n=this.docView.update(t),this.state.facet(AC)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(t.startState.facet(PA)!=t.state.facet(PA)&&(this.viewState.mustMeasureContent=!0),(n||r||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!t.empty)for(let e of this.state.facet(nC))try{e(t)}catch(e){hC(this.state,e,"update listener")}(s||c)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),c&&!SP(this,c)&&l.force&&PR(this.contentDOM,l.key,l.keyCode)})}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new yA(this,e),this.plugins=e.facet(gC).map(e=>new vC(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new nP(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(gC),n=e.state.facet(gC);if(t!=n){let r=[];for(let i of n){let n=t.indexOf(i);if(n<0)r.push(new vC(i));else{let t=this.plugins[n];t.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){hC(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)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.viewState.scrollParent,r=this.viewState.getScrollOffset(),{scrollAnchorPos:i,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(o<0)if(AR(n||this.win))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();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 hC(this.state,e),VA}}),c=TC.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),u&&this.docViewUpdate());for(let e=0;e<s.length;e++)if(l[e]!=VA)try{let t=s[e];t.write&&t.write(l[e],this)}catch(e){hC(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)/this.scaleY;if((e>1||e<-1)&&!(Hk.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){r+=e,n?n.scrollTop+=e:this.win.scrollBy(0,e),o=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(nC))e(t)}get themeClasses(){return QA+" "+(this.state.facet(AA)?MA:TA)+" "+this.state.facet(PA)}updateAttrs(){let e=qA(this,bC,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(fC)?"true":"false",class:"cm-content",style:`${Hk.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),qA(this,yC,t);let n=this.observer.ignore(()=>{let n=Jk(this.contentDOM,this.contentAttrs,t),r=Jk(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(ZA.announce)&&(t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules=this.state.facet(AC);let e=this.state.facet(ZA.cspNonce);Ck.mount(this.root,this.styleModules.concat($A).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.plugin!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.plugin==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 pP(this,e,cP(this,e,t,n))}moveByGroup(e,t){return pP(this,e,cP(this,e,t,t=>function(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return e=>{let t=r(e);return i==ek.Space&&(i=t),i==t}}(this,e.head,t)))}visualLineSide(e,t){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),i=n[t?n.length-1:0];return OE.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=lP(e,t.head,t.assoc||-1),o=r&&i.type==nR.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==_R.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2});if(null!=a)return OE.cursor(a,n?-1:1)}return OE.cursor(n?i.to:i.from,n?-1:1)}(this,e,t,n)}moveVertically(e,t,n){return pP(this,e,function(e,t,n,r){let i=t.head,o=n?1:-1;if(i==(n?e.state.doc.length:0))return OE.cursor(i,t.assoc);let a,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(i,t.assoc||((t.empty?n:t.head==t.from)?1:-1)),u=e.documentTop;if(c)null==s&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let t=e.viewState.lineBlockAt(i);null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(i-t.from))),a=(o<0?t.top:t.bottom)+u}let d=l.left+s,p=e.viewState.heightOracle.textHeight>>1,h=null!=r?r:p;for(let t=0;;t+=p){let r=a+(h+t)*o,i=fP(e,{x:d,y:r},!1,o);if(n?r>l.bottom:r<l.top)return OE.cursor(i.pos,i.assoc);let c=e.coordsAtPos(i.pos,i.assoc),u=c?(c.top+c.bottom)/2:0;if(!c||(n?u>a:u<a))return OE.cursor(i.pos,i.assoc,void 0,s)}}(this,e,t,n))}domAtPos(e,t=1){return this.docView.domAtPos(e,t)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){this.readMeasured();let n=fP(this,e,t);return n&&n.pos}posAndSideAtCoords(e,t=!0){return this.readMeasured(),fP(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.state.doc.lineAt(e),r=this.bidiSpans(n),i=r[XR.find(r,e-n.from,-1,t)];return this.docView.coordsAt(e,t,i.dir==_R.RTL)}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(sC)||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>XA)return GR(e.length);let t,n=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==n&&(r.fresh||VR(r.isolates,t=RC(this,e))))return r.order;t||(t=RC(this,e));let r=function(e,t,n){if(!e)return[new XR(0,0,t==$R?1:0)];if(t==IR&&!n.length&&!ZR.test(e))return GR(e.length);if(n.length)for(;e.length>FR.length;)FR[FR.length]=256;let r=[],i=t==IR?0:1;return WR(e,i,i,n,0,e.length,r),r}(e.text,n,t);return this.bidiCache.push(new FA(e.from,e.to,n,t,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Hk.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{RR(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(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of 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={}){var n,r,i,o;return dC.of(new uC("number"==typeof e?OE.cursor(e):e,null!==(n=t.y)&&void 0!==n?n:"nearest",null!==(r=t.x)&&void 0!==r?r:"nearest",null!==(i=t.yMargin)&&void 0!==i?i:5,null!==(o=t.xMargin)&&void 0!==o?o:5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return dC.of(new uC(OE.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 OC.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return OC.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=Ck.newName(),r=[PA.of(n),AC.of(IA(`.${n}`,e))];return t&&t.dark&&r.push(AA.of(!0)),r}static baseTheme(e){return AE.lowest(AC.of(IA("."+QA,e,_A)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),r=n&&_C.get(n)||_C.get(e);return(null===(t=null==r?void 0:r.root)||void 0===t?void 0:t.view)||null}}ZA.styleModule=AC,ZA.inputHandler=rC,ZA.clipboardInputFilter=oC,ZA.clipboardOutputFilter=aC,ZA.scrollHandler=cC,ZA.focusChangeEffect=iC,ZA.perLineTextDirection=sC,ZA.exceptionSink=tC,ZA.updateListener=nC,ZA.editable=fC,ZA.mouseSelectionStyle=eC,ZA.dragMovesSelection=JR,ZA.clickAddsSelectionRange=KR,ZA.decorations=wC,ZA.blockWrappers=xC,ZA.outerDecorations=SC,ZA.atomicRanges=EC,ZA.bidiIsolatedRanges=kC,ZA.cursorScrollMargin=yE.define({combine:e=>{let t=5,n=5;for(let r of e)"number"==typeof r?t=n=r:({x:t,y:n}=r);return{x:t,y:n}}}),ZA.scrollMargins=CC,ZA.darkTheme=AA,ZA.cspNonce=yE.define({combine:e=>e.length?e[0]:""}),ZA.contentAttributes=yC,ZA.editorAttributes=bC,ZA.lineWrapping=ZA.contentAttributes.of({class:"cm-lineWrapping"}),ZA.announce=qE.define();const XA=4096,VA={};class FA{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:_R.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 FA(t.mapPos(o.from,1),t.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return n}}function qA(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&&Uk(o,n)}return n}const WA=Hk.mac?"mac":Hk.windows?"win":Hk.linux?"linux":"key";function GA(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}const HA=AE.default(ZA.domEventHandlers({keydown:(e,t)=>tQ(KA(t.state),e,t,"editor")})),UA=yE.define({enables:HA}),YA=new WeakMap;function KA(e){let t=e.facet(UA),n=YA.get(t);return n||YA.set(t,n=function(e,t=WA){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 new 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){const n=e.split(/-(?!$)/);let r,i,o,a,s=n[n.length-1];"Space"==s&&(s=" ");for(let e=0;e<n.length-1;++e){const s=n[e];if(/^(cmd|meta|m)$/i.test(s))a=!0;else if(/^a(lt)?$/i.test(s))r=!0;else if(/^(c|ctrl|control)$/i.test(s))i=!0;else if(/^s(hift)?$/i.test(s))o=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);"mac"==t?a=!0:i=!0}}return r&&(s="Alt-"+s),i&&(s="Ctrl-"+s),a&&(s="Meta-"+s),o&&(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=JA={view:t,prefix:n,scope:e};return setTimeout(()=>{JA==r&&(JA=null)},4e3),!0}]})}let p=d.join(" ");i(p,!1);let h=u[p]||(u[p]={preventDefault:!1,stopPropagation:!1,run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]});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,eQ))}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}let JA=null,eQ=null;function tQ(e,t,n,r){eQ=t;let i=function(e){var t=!(Mk&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||_k&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Tk:Qk)[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}(t),o=oE(rE(i,0))==i.length&&" "!=i,a="",s=!1,l=!1,c=!1;JA&&JA.view==n&&JA.scope==r&&(a=JA.prefix+" ",MP.indexOf(t.keyCode)<0&&(l=!0,JA=null));let u,d,p=new Set,h=e=>{if(e){for(let t of e.run)if(!p.has(t)&&(p.add(t),t(n)))return e.stopPropagation&&(c=!0),!0;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},f=e[r];return f&&(h(f[a+GA(i,t,!o)])?s=!0:!o||!(t.altKey||t.metaKey||t.ctrlKey)||Hk.windows&&t.ctrlKey&&t.altKey||Hk.mac&&t.altKey&&!t.ctrlKey&&!t.metaKey||!(u=Qk[t.keyCode])||u==i?o&&t.shiftKey&&h(f[a+GA(i,t,!0)])&&(s=!0):(h(f[a+GA(u,t,!0)])||t.shiftKey&&(d=Tk[t.keyCode])!=i&&d!=u&&h(f[a+GA(d,t,!1)]))&&(s=!0),!s&&h(f._any)&&(s=!0)),l&&(s=!0),s&&c&&t.stopPropagation(),eQ=null,s}class nQ{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){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let i=rQ(e);return[new nQ(t,r.left-i.left,r.top-i.top,null,r.bottom-r.top)]}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==_R.LTR,a=e.contentDOM,s=a.getBoundingClientRect(),l=rQ(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),p=s.right-(u?parseInt(u.paddingRight):0),h=lP(e,r,1),f=lP(e,i,-1),m=h.type==nR.Text?h:null,g=f.type==nR.Text?f:null;if(m&&(e.lineWrapping||h.widgetLineBreaks)&&(m=iQ(e,r,1,m)),g&&(e.lineWrapping||f.widgetLineBreaks)&&(g=iQ(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(f,!0),i=[];return(m||h).to<(g||f).from-(m&&g?1:0)||h.widgetLineBreaks>1&&t.bottom+e.defaultLineHeight/2<r.top?i.push(O(d,t.bottom,p,r.top)):t.bottom<r.top&&e.elementAtHeight((t.bottom+r.top)/2).type==nR.Text&&(t.bottom=r.top=(t.bottom+r.top)/2),v(t).concat(i).concat(v(r))}function O(e,n,r,i){return new nQ(t,e-l.left,n-l.top,Math.max(0,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),f=e.coordsAtPos(l,l==r.from?2:-2);h&&f&&(i=Math.min(h.top,f.top,i),a=Math.max(h.bottom,f.bottom,a),u==_R.LTR?s.push(o&&n?d:h.left,o&&c?p:f.right):s.push(!o&&c?d:f.left,!o&&n?p: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,i>=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)}}function rQ(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==_R.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function iQ(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 oQ{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(aQ)!=e.state.facet(aQ)&&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(aQ);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)=>!function(e,t){return e.constructor==t.constructor&&e.eq(t)}(e,this.drawn[t]))){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,Hk.webkit&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const aQ=yE.define();function sQ(e){return[OC.define(t=>new oQ(t,e)),aQ.of(e)]}const lQ=yE.define({combine:e=>ik(e,{cursorBlinkRate:1200,drawRangeCursor:!0,iosSelectionHandles:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})});function cQ(e){return e.startState.facet(lQ)!=e.state.facet(lQ)}const uQ=sQ({above:!0,markers(e){let{state:t}=e,n=t.facet(lQ),r=[];for(let i of t.selection.ranges){let o=i==t.selection.main;if(i.empty||n.drawRangeCursor&&!(o&&Hk.ios&&n.iosSelectionHandles)){let t=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",n=i.empty?i:OE.cursor(i.head,i.assoc);for(let i of nQ.forRange(e,t,n))r.push(i)}}return r},update(e,t){e.transactions.some(e=>e.selection)&&(t.style.animationName="cm-blink"==t.style.animationName?"cm-blink2":"cm-blink");let n=cQ(e);return n&&dQ(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){dQ(t.state,e)},class:"cm-cursorLayer"});function dQ(e,t){t.style.animationDuration=e.facet(lQ).cursorBlinkRate+"ms"}const pQ=sQ({above:!1,markers(e){let t=[],{main:n,ranges:r}=e.state.selection;for(let n of r)if(!n.empty)for(let r of nQ.forRange(e,"cm-selectionBackground",n))t.push(r);if(Hk.ios&&!n.empty&&e.state.facet(lQ).iosSelectionHandles){for(let r of nQ.forRange(e,"cm-selectionHandle cm-selectionHandle-start",OE.cursor(n.from,1)))t.push(r);for(let r of nQ.forRange(e,"cm-selectionHandle cm-selectionHandle-end",OE.cursor(n.to,1)))t.push(r)}return t},update:(e,t)=>e.docChanged||e.selectionSet||e.viewportChanged||cQ(e),class:"cm-selectionLayer"}),hQ=AE.highest(ZA.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),fQ=qE.define({map:(e,t)=>null==e?null:t.mapPos(e)}),mQ=CE.define({create:()=>null,update:(e,t)=>(null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce((e,t)=>t.is(fQ)?t.value:e,e))}),gQ=OC.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(mQ);null==n?null!=this.cursor&&(null===(t=this.cursor)||void 0===t||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(mQ)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(mQ),n=null!=t&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/n+"px",this.cursor.style.height=e.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(mQ)!=e&&this.view.dispatch({effects:fQ.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function OQ(e,t,n,r,i){t.lastIndex=0;for(let o,a=e.iterRange(n,r),s=n;!a.next().done;s+=a.value.length)if(!a.lineBreak)for(;o=t.exec(a.value);)i(s+o.index,o)}class vQ{constructor(e){const{regexp:t,decoration:n,decorate:r,boundary:i,maxLength:o=1e3}=e;if(!t.global)throw new 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)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(e,t,r,i)=>i(r,r+e[0].length,n)}this.boundary=i,this.maxLength=o}createDeco(e){let t=new dk,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))OQ(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)=>u.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(c=this.regexp.exec(n.text))&&c.index<l-n.from;)this.addMatch(c,e,c.index+n.from,d);else OQ(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:u})}}return t}}const bQ=null!=/x/.unicode?"gu":"g",yQ=new RegExp("[\0-\b\n--\u2028\u2029\ufeff-]",bQ),wQ={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let xQ=null;const SQ=yE.define({combine(e){let t=ik(e,{render:null,specialChars:yQ,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==xQ&&"undefined"!=typeof document&&document.body){let t=document.body.style;xQ=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return xQ||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,bQ)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,bQ)),t}});let EQ=null;class kQ extends tR{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=function(e){return e>=32?"•":10==e?"":String.fromCharCode(9216+e)}(this.code),n=e.state.phrase("Control character")+" "+(wQ[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let i=document.createElement("span");return i.textContent=t,i.title=n,i.setAttribute("aria-label",n),i.className="cm-specialChar",i}ignoreEvent(){return!1}}class RQ extends tR{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}const CQ=rR.line({class:"cm-activeLine"}),PQ=OC.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(CQ.range(i.from)),t=i.from)}return rR.set(n)}},{decorations:e=>e.decorations});class AQ extends tR{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),t.setAttribute("aria-hidden","true"),t}coordsAt(e){let t=e.firstChild?hR(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),r=bR(t[0],"rtl"!=n.direction),i=parseInt(n.lineHeight);return r.bottom-r.top>1.5*i?{left:r.left,right:r.right,top:r.top,bottom:r.top+i}:r}ignoreEvent(){return!1}}const QQ=2e3;function TQ(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,o=i>QQ?-1:i==r.length?function(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}(e,t.clientX):xk(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}const MQ={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},_Q={style:"cursor: crosshair"},IQ="-10000px";class $Q{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)o.indexOf(e)<0&&(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 DQ(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const LQ=yE.define({combine:e=>{var t,n,r;return{position:Hk.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)||DQ}}}),NQ=new WeakMap,zQ=OC.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(LQ);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 $Q(e,XQ,(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){this.intersectionObserver.disconnect();for(let e of 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(LQ);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0}else 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=IQ,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;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of 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(Hk.safari){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}else n=!!e.offsetParent&&e.offsetParent!=this.container.ownerDocument.body}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=PC(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(LQ).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of 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],p=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=IQ;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,m=p.right-p.left,g=null!==(t=NQ.get(c))&&void 0!==t?t:p.bottom-p.top,O=c.offset||ZQ,v=this.view.textDirection==_R.LTR,b=p.width>r.right-r.left?v?r.left:r.right-p.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-f-O.y<r.top:d.bottom+g+f+O.y>r.bottom)&&y==r.bottom-d.bottom>d.top-r.top&&(y=this.above[s]=!y);let w=(y?d.top-r.top:r.bottom-d.bottom)-f;if(w<g&&!1!==c.resize){if(w<this.view.defaultLineHeight){u.style.top=IQ;continue}NQ.set(c,g),u.style.height=(g=w)/o+"px"}else u.style.height&&(u.style.height="");let x=y?d.top-g-f-O.y:d.bottom+f+O.y,S=b+m;if(!0!==c.overlap)for(let e of a)e.left<S&&e.right>b&&e.top<x+g&&e.bottom>x&&(x=y?e.top-g-2-f:e.bottom+f+2);if("absolute"==this.position?(u.style.top=(x-e.parent.top)/o+"px",jQ(u,(b-e.parent.left)/i)):(u.style.top=x/o+"px",jQ(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:x,right:S,bottom:x+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=IQ}},{eventObservers:{scroll(){this.maybeMeasure()}}});function jQ(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const BQ=ZA.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"}}}),ZQ={x:0,y:0},XQ=yE.define({enables:[zQ,BQ]}),VQ=yE.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])});class FQ{static create(e){return new FQ(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new $Q(e,VQ,(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")}}const qQ=XQ.compute([VQ],e=>{let t=e.facet(VQ);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos})),create:FQ.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),WQ=yE.define();class GQ{constructor(e,t,n,r,i,o){this.view=e,this.source=t,this.field=n,this.locked=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(e){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.tile.nearest(t.target);if(!n)return;let r,i=1;if(n.isWidget())r=n.posAtStart;else{if(r=e.posAtCoords(t),null==r)return;let n=e.coordsAtPos(r);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let o=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),a=o&&o.dir==_R.RTL?-1:1;i=t.x<n.left?-a:a}this.activateHover(e,r,i)}activateHover(e,t,n,r){let i=this.source(e,t,n),o=t=>{if(t&&(!Array.isArray(t)||t.length)){let n=Array.isArray(t)?t:[t];r&&this.locked.set(n,r),e.dispatch({effects:this.setHover.of(n)})}};if(i&&"then"in i){let n=this.pending={pos:t};i.then(e=>{this.pending==n&&(this.pending=null,o(e))},t=>hC(e.state,t,"hover tooltip"))}else o(i)}get tooltip(){let e=this.view.plugin(zQ),t=e?e.manager.tooltips.findIndex(e=>e.create==FQ.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:r,tooltip:i}=this;if(r.length&&!this.locked.has(r)&&i&&!function(e,t){let n,{left:r,right:i,top:o,bottom:a}=e.getBoundingClientRect();if(n=e.querySelector(".cm-tooltip-arrow")){let e=n.getBoundingClientRect();o=Math.min(e.top,o),a=Math.max(e.bottom,a)}return t.clientX>=r-4&&t.clientX<=i+4&&t.clientY>=o-4&&t.clientY<=a+4}(i.dom,e)||this.pending){let{pos:i}=r[0]||this.pending,o=null!==(n=null===(t=r[0])||void 0===t?void 0:t.end)&&void 0!==n?n:i;(i==o?this.view.posAtCoords(this.lastMove)==i:function(e,t,n,r,i){let o=e.scrollDOM.getBoundingClientRect(),a=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>i||Math.min(o.bottom,a)<i)return!1;let s=e.posAtCoords({x:r,y:i},!1);return s>=t&&s<=n}(this.view,i,o,e.clientX,e.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length&&!this.locked.has(t)){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{e.removeEventListener("mouseleave",t);let{active:r}=this;!r.length||this.locked.has(r)||this.view.dom.contains(n.relatedTarget)||this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function HQ(e,t={}){let n=qE.define(),r=new WeakMap,i=CE.define({create:()=>[],update(e,o){let a=r.get(e);if(e.length&&(t.hideOnChange&&(o.docChanged||o.selection)||a&&a(o)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(o,e)))),o.docChanged&&e.length){let t=[];for(let n of e){let e=o.changes.mapPos(n.pos,-1,sE.TrackDel);if(null!=e){let r=Object.assign(Object.create(null),n);r.pos=e,null!=r.end&&(r.end=o.changes.mapPos(r.end)),t.push(r)}}e=t}for(let t of o.effects)t.is(n)&&(e=t.value,a=void 0),(t.is(YQ)&&!t.value||t.value==i)&&(e=[]);return e.length&&a&&r.set(e,a),e},provide:e=>VQ.from(e)});const o=OC.define(o=>new GQ(o,e,i,r,n,t.hoverTime||300));return{active:i,extension:[i,o,WQ.of(o),qQ]}}function UQ(e,t){let n=e.plugin(zQ);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const YQ=qE.define(),KQ=yE.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function JQ(e,t){let n=e.plugin(eT),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}const eT=OC.fromClass(class{constructor(e){this.input=e.state.facet(rT),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(KQ);this.top=new tT(e,!0,t.topContainer),this.bottom=new tT(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let e of this.panels)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}update(e){let t=e.state.facet(KQ);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new tT(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new tT(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(rT);if(n!=this.input){let t=n.filter(e=>e),r=[],i=[],o=[],a=[];for(let n of t){let t,s=this.specs.indexOf(n);s<0?(t=n(e.view),a.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),(t.top?i:o).push(t)}this.specs=t,this.panels=r,this.top.sync(i),this.bottom.sync(o);for(let e of 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=>ZA.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class tT{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&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let 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=nT(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=nT(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 nT(e){let t=e.nextSibling;return e.remove(),t}const rT=yE.define({enables:eT});const iT=CE.define({create:()=>[],update(e,t){for(let n of t.effects)n.is(oT)?e=[n.value].concat(e):n.is(aT)&&(e=e.filter(e=>e!=n.value));return e},provide:e=>rT.computeN([e],t=>t.field(e))}),oT=qE.define(),aT=qE.define();class sT extends ok{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}sT.prototype.elementClass="",sT.prototype.toDOM=void 0,sT.prototype.mapMode=sE.TrackBefore,sT.prototype.startSide=sT.prototype.endSide=-1,sT.prototype.point=!0;const lT=yE.define(),cT=yE.define(),uT={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>uk.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},dT=yE.define();function pT(e){return[fT(),dT.of({...uT,...e})]}const hT=yE.define({combine:e=>e.some(e=>e)});function fT(e){let t=[mT];return e&&!1===e.fixed&&t.push(hT.of(!0)),t}const mT=OC.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(dT).map(t=>new bT(e,t)),this.fixed=!e.state.facet(hT);for(let e of this.gutters)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}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<.8*(n.to-n.from))}if(e.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(hT)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=uk.iter(this.view.state.facet(lT),this.view.viewport.from),r=[],i=this.gutters.map(e=>new vT(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==nR.Text&&t){OT(n,r,o.from);for(let e of 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==nR.Text){OT(n,r,e.from);for(let t of 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),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(dT),n=e.state.facet(dT),r=e.docChanged||e.heightChanged||e.viewportChanged||!uk.eq(e.startState.facet(lT),e.state.facet(lT),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 bT(this.view,r)):(this.gutters[n].update(e),i.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),i.indexOf(e)<0&&e.destroy();for(let e of i)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>ZA.scrollMargins.of(t=>{let n=t.plugin(e);if(!n||0==n.gutters.length||!n.fixed)return null;let r=n.dom.offsetWidth*t.scaleX,i=n.domAfter?n.domAfter.offsetWidth*t.scaleX:0;return t.textDirection==_R.LTR?{left:r,right:i}:{right:r,left:i}})});function gT(e){return Array.isArray(e)?e:[e]}function OT(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class vT{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=uk.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 yT(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=[];OT(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(cT)){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 bT{constructor(e,t){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:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,r=>{let i,o=r.target;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let e=o.getBoundingClientRect();i=(e.top+e.bottom)/2}else i=r.clientY;let a=e.lineBlockAtHeight(i-e.documentTop);t.domEventHandlers[n](e,a,r)&&r.preventDefault()});this.markers=gT(t.markers(e)),t.initialSpacer&&(this.spacer=new yT(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=gT(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;return!uk.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 yT{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,[])}}const wT=yE.define(),xT=yE.define(),ST=yE.define({combine:e=>ik(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 ET extends sT{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function kT(e,t){return e.state.facet(ST).formatNumber(t,e.state)}const RT=dT.compute([ST],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(wT),lineMarker:(e,t,n)=>n.some(e=>e.toDOM)?null:new ET(kT(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,n)=>{for(let r of e.state.facet(xT)){let i=r(e,t,n);if(i)return i}return null},lineMarkerChange:e=>e.startState.facet(ST)!=e.state.facet(ST),initialSpacer:e=>new ET(kT(e,CT(e.state.doc.lines))),updateSpacer(e,t){let n=kT(t.view,CT(t.view.state.doc.lines));return n==e.number?e:new ET(n)},domEventHandlers:e.facet(ST).domEventHandlers,side:"before"}));function CT(e){let t=9;for(;t<e;)t=10*t+9;return t}const PT=new class extends sT{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},AT=lT.compute(["selection"],e=>{let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.head).from;i>n&&(n=i,t.push(PT.range(i)))}return uk.of(t)}),QT=1024;let TT=0;class MT{constructor(e,t){this.from=e,this.to=t}}class _T{constructor(e={}){this.id=TT++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=DT.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}_T.closedBy=new _T({deserialize:e=>e.split(" ")}),_T.openedBy=new _T({deserialize:e=>e.split(" ")}),_T.group=new _T({deserialize:e=>e.split(" ")}),_T.isolate=new _T({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),_T.contextHash=new _T({perNode:!0}),_T.lookAhead=new _T({perNode:!0}),_T.mounted=new _T({perNode:!0});class IT{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[_T.mounted.id]}}const $T=Object.create(null);class DT{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):$T,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new DT(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 new 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(_T.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(_T.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}DT.none=new DT("",Object.create(null),0,8);class LT{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new 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);if(e){r||(r=Object.assign({},n.props));let t=e[1],i=e[0];i.combine&&i.id in r&&(t=i.combine(r[i.id],t)),r[i.id]=t}}t.push(r?new DT(n.name,r,n.id,n.flags):n)}return new LT(t)}}const NT=new WeakMap,zT=new WeakMap;var jT;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays",e[e.EnterBracketed=16]="EnterBracketed"}(jT||(jT={}));class BT{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){this.props=Object.create(null);for(let[e,t]of i)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=IT.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 eM(this.topNode,e)}cursorAt(e,t=0,n=0){let r=NT.get(this)||this.topNode,i=new eM(r);return i.moveTo(e,t),NT.set(this,i._tree),i}get topNode(){return new WT(this,0,0,null)}resolve(e,t=0){let n=FT(NT.get(this)||this.topNode,e,t,!1);return NT.set(this,n),n}resolveInner(e,t=0){let n=FT(zT.get(this)||this.topNode,e,t,!0);return zT.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 WT?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=IT.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let a=new WT(o.tree,o.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(FT(a,t,n,!1))}}return i?KT(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:i=this.length}=e,o=e.mode||0,a=(o&jT.IncludeAnonymous)>0;for(let e=this.cursor(o|jT.IncludeAnonymous);;){let o=!1;if(e.from<=i&&e.to>=r&&(!a&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;o=!0}for(;o&&n&&(a||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;o=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:iM(DT.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new BT(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new BT(DT.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=QT,reused:o=[],minRepeatType:a=r.types.length}=e,s=Array.isArray(n)?new ZT(n,n.length):n,l=r.types,c=0,u=0;function d(e,t,n,g,O,v){let{id:b,start:y,end:w,size:x}=s,S=u,E=c;if(x<0){if(s.next(),-1==x){let t=o[b];return n.push(t),void g.push(y-e)}if(-3==x)return void(c=b);if(-4==x)return void(u=b);throw new RangeError(`Unrecognized record size: ${x}`)}let k,R,C=l[b],P=y-e;if(w-y<=i&&(R=function(e,t){let n=s.fork(),r=0,o=0,l=0,c=n.end-i,u={size:0,start:0,skip:0};e: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=l,l+=4,r+=4,n.next();continue}let s=n.pos-e;if(e<0||s<i||n.start<c)break;let d=n.id>=a?4:0,p=n.start;for(n.next();n.pos>s;){if(n.size<0){if(-3!=n.size&&-4!=n.size)break e;d+=4}else n.id>=a&&(d+=4);n.next()}o=p,r+=e,l+=d}return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=l),u.size>4?u:void 0}(s.pos-t,O))){let t=new Uint16Array(R.size-R.skip),n=s.pos-R.size,i=t.length;for(;s.pos>n;)i=m(R.start,t,i);k=new XT(t,w-R.start,r),P=R.start-e}else{let e=s.pos-x;s.next();let t=[],n=[],r=b>=a?b:-1,o=0,l=w;for(;s.pos>e;)r>=0&&s.id==r&&s.size>=0?(s.end<=l-i&&(h(t,n,y,o,s.end,l,r,S,E),o=t.length,l=s.end),s.next()):v>2500?p(y,e,t,n):d(y,e,t,n,r,v+1);if(r>=0&&o>0&&o<t.length&&h(t,n,y,o,y,l,r,S,E),t.reverse(),n.reverse(),r>-1&&o>0){let e=function(e,t){return(n,r,i)=>{let o,a,s=0,l=n.length-1;if(l>=0&&(o=n[l])instanceof BT){if(!l&&o.type==e&&o.length==i)return o;(a=o.prop(_T.lookAhead))&&(s=r[l]+o.length+a)}return f(e,n,r,i,s,t)}}(C,E);k=iM(C,t,n,0,t.length,0,w-y,e,e)}else k=f(C,t,n,w-y,S-w,E)}n.push(k),g.push(P)}function p(e,t,n,o){let a=[],l=0,c=-1;for(;s.pos>t;){let{id:e,start:t,end:n,size:r}=s;if(r>4)s.next();else{if(c>-1&&t<c)break;c<0&&(c=n-i),a.push(e,t,n),l++,s.next()}}if(l){let t=new Uint16Array(4*l),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 XT(t,a[2]-i,r)),o.push(i-e)}}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(f(r.types[s],u,d,a-o,l-a,c)),t.push(o-n)}function f(e,t,n,r,i,o,a){if(o){let e=[_T.contextHash,o];a=a?[e].concat(a):[e]}if(i>25){let e=[_T.lookAhead,i];a=a?[e].concat(a):[e]}return new BT(e,t,n,r,a)}function m(e,t,n){let{id:r,start:i,end:o,size:l}=s;if(s.next(),l>=0&&r<a){let a=n;if(l>4){let r=s.pos-(l-4);for(;s.pos>r;)n=m(e,t,n)}t[--n]=a,t[--n]=o-e,t[--n]=i-e,t[--n]=r}else-3==l?c=r:-4==l&&(u=r);return n}let g=[],O=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,g,O,-1,0);let v=null!==(t=e.length)&&void 0!==t?t:g.length?O[0]+g[0].length:0;return new BT(l[e.topID],g.reverse(),O.reverse(),v)}(e)}}BT.empty=new BT(DT.none,[],[],0);class ZT{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 ZT(this.buffer,this.index)}}class XT{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return DT.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&&!(VT(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 XT(i,o,this.set)}}function VT(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 FT(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof WT&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=r?0:jT.IgnoreOverlays;if(r)for(let r=e,a=r.parent;a;r=a,a=r.parent)r instanceof WT&&r.index<0&&(null===(i=a.enter(t,n,o))||void 0===i?void 0:i.from)!=r.from&&(e=a);for(;;){let r=e.enter(t,n,o);if(!r)return e;e=r}}class qT{cursor(e=0){return new eM(this,e)}getChild(e,t=null,n=null){let r=GT(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return GT(this,e,t,n)}resolve(e,t=0){return FT(this,e,t,!1)}resolveInner(e,t=0){return FT(this,e,t,!0)}matchContext(e){return HT(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 WT extends qT{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,r,i=0){for(let o=this;;){for(let{children:a,positions:s}=o._tree,l=t>0?a.length:-1;e!=l;e+=t){let l,c=a[e],u=s[e]+o.from;if(i&jT.EnterBracketed&&c instanceof BT&&(l=IT.get(c))&&!l.overlay&&l.bracketed&&n>=u&&n<=u+c.length||VT(r,n,u,u+c.length))if(c instanceof XT){if(i&jT.ExcludeBuffers)continue;let a=c.findChild(0,c.buffer.length,t,n-u,r);if(a>-1)return new YT(new UT(o,c,e,u),null,a)}else if(i&jT.IncludeAnonymous||!c.type.isAnonymous||tM(c)){let a;if(!(i&jT.IgnoreMounts)&&(a=IT.get(c))&&!a.overlay)return new WT(a.tree,u,e,o);let s=new WT(c,u,e,o);return i&jT.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?c.children.length-1:0,t,n,r,i)}}if(i&jT.IncludeAnonymous||!o.type.isAnonymous)return null;if(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,o=o._parent,!o)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)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let r;if(!(n&jT.IgnoreOverlays)&&(r=IT.get(this._tree))&&r.overlay){let i=e-this.from,o=n&jT.EnterBracketed&&r.bracketed;for(let{from:e,to:n}of r.overlay)if((t>0||o?e<=i:e<i)&&(t<0||o?n>=i:n>i))return new WT(r.tree,r.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 GT(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 HT(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 UT{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class YT extends qT{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 YT(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)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&jT.ExcludeBuffers)return null;let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new YT(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+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 YT(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 YT(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 BT(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function KT(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 WT&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new JT(i,n)}class JT{constructor(e,t){this.heads=e,this.node=t}get next(){return KT(this.heads)}}class eM{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~jT.EnterBracketed,e instanceof WT)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(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 WT?(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&jT.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&jT.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&jT.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:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;({index:t,_parent:n}=n))if(t>-1)for(let r=t+e,i=e<0?-1:n._tree.children.length;r!=i;r+=e){let e=n._tree.children[r];if(this.mode&jT.IncludeAnonymous||e instanceof XT||!e.type.isAnonymous||tM(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)e: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 e}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new YT(this.buffer,t,this.stack[e]);return this.bufferNode=new YT(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 HT(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 HT(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 tM(e){return e.children.some(e=>e instanceof XT||!e.type.isAnonymous||tM(e))}const nM=new WeakMap;function rM(e,t){if(!e.isAnonymous||t instanceof XT||t.type!=e)return 1;let n=nM.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof BT)){n=1;break}n+=rM(e,r)}nM.set(t,n)}return n}function iM(e,t,n,r,i,o,a,s,l){let c=0;for(let n=r;n<i;n++)c+=rM(e,t[n]);let u=Math.ceil(1.5*c/8),d=[],p=[];return function t(n,r,i,a,s){for(let c=i;c<a;){let i=c,h=r[c],f=rM(e,n[c]);for(c++;c<a;c++){let t=rM(e,n[c]);if(f+t>=u)break;f+=t}if(c==i+1){if(f>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(iM(e,n,r,i,c,h,t,null,l))}p.push(h+s-o)}}(t,n,r,i,0),(s||l)(d,p,a)}class oM{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 YT?this.setBuffer(e.context.buffer,e.index,t):e instanceof WT&&this.map.set(e.tree,t)}get(e){return e instanceof YT?this.getBuffer(e.context.buffer,e.index):e instanceof WT?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 aM{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 aM(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 aM(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 sM{startParse(e,t,n){return"string"==typeof e&&(e=new lM(e)),n=n?n.length?n.map(e=>new MT(e.from,e.to)):[new MT(0,0)]:[new MT(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 lM{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)}}new _T({perNode:!0});let cM=0;class uM{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=cM++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let n="string"==typeof e?e:"?";if(e instanceof uM&&(t=e),null==t?void 0:t.base)throw new Error("Can not derive from a modified tag");let r=new uM(n,[],null,[]);if(r.set.push(r),t)for(let e of t.set)r.set.push(e);return r}static defineModifier(e){let t=new pM(e);return e=>e.modified.indexOf(t)>-1?e:pM.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let dM=0;class pM{constructor(e){this.name=e,this.instances=[],this.id=dM++}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 uM(e.name,r,e,t);for(let e of t)e.instances.push(i);let o=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 o)r.push(pM.get(t,e));return i}}function hM(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let e of 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 new RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){i=0;break}if("/"!=a)throw new RangeError("Invalid path: "+e);o=e.slice(t)}let a=n.length-1,s=n[a];if(!s)throw new RangeError("Invalid path: "+e);let l=new mM(r,i,a>0?n.slice(0,a):null);t[s]=l.sort(t[s])}}return fM.add(t)}const fM=new _T({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth>=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let o=new mM(i.tags,i.mode,i.context);n?n.next=o:r=o,n=o}return r}});class mM{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 gM(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}}function OM(e,t,n,r=0,i=e.length){let o=new vM(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}mM.empty=new mM([],2,null);class vM{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,r,i){let{type:o,from:a,to:s}=e;if(a>=n||s<=t)return;o.isTop&&(i=this.highlighters.filter(e=>!e.scope||e.scope(o)));let l=r,c=function(e){let t=e.type.prop(fM);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||mM.empty,u=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(i,c.tags);if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(r+=(r?" ":"")+u)),this.startSpan(Math.max(t,a),l),c.opaque)return;let d=e.tree&&e.tree.prop(_T.mounted);if(d&&d.overlay){let o=e.node.enter(d.overlay[0].from+a,1),c=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),u=e.firstChild();for(let p=0,h=a;;p++){let f=p<d.overlay.length?d.overlay[p]:null,m=f?f.from+a:s,g=Math.max(t,h),O=Math.min(n,m);if(g<O&&u)for(;e.from<O&&(this.highlightRange(e,g,O,r,i),this.startSpan(Math.min(O,e.to),l),!(e.to>=m)&&e.nextSibling()););if(!f||m>n)break;h=f.to+a,h>t&&(this.highlightRange(o.cursor(),Math.max(t,f.from+a),Math.min(n,h),"",c),this.startSpan(Math.min(n,h),l))}u&&e.parent()}else if(e.firstChild()){d&&(r="");do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,r,i),this.startSpan(Math.min(n,e.to),l)}}while(e.nextSibling());e.parent()}}}const bM=uM.define,yM=bM(),wM=bM(),xM=bM(wM),SM=bM(wM),EM=bM(),kM=bM(EM),RM=bM(EM),CM=bM(),PM=bM(CM),AM=bM(),QM=bM(),TM=bM(),MM=bM(TM),_M=bM(),IM={comment:yM,lineComment:bM(yM),blockComment:bM(yM),docComment:bM(yM),name:wM,variableName:bM(wM),typeName:xM,tagName:bM(xM),propertyName:SM,attributeName:bM(SM),className:bM(wM),labelName:bM(wM),namespace:bM(wM),macroName:bM(wM),literal:EM,string:kM,docString:bM(kM),character:bM(kM),attributeValue:bM(kM),number:RM,integer:bM(RM),float:bM(RM),bool:bM(EM),regexp:bM(EM),escape:bM(EM),color:bM(EM),url:bM(EM),keyword:AM,self:bM(AM),null:bM(AM),atom:bM(AM),unit:bM(AM),modifier:bM(AM),operatorKeyword:bM(AM),controlKeyword:bM(AM),definitionKeyword:bM(AM),moduleKeyword:bM(AM),operator:QM,derefOperator:bM(QM),arithmeticOperator:bM(QM),logicOperator:bM(QM),bitwiseOperator:bM(QM),compareOperator:bM(QM),updateOperator:bM(QM),definitionOperator:bM(QM),typeOperator:bM(QM),controlOperator:bM(QM),punctuation:TM,separator:bM(TM),bracket:MM,angleBracket:bM(MM),squareBracket:bM(MM),paren:bM(MM),brace:bM(MM),content:CM,heading:PM,heading1:bM(PM),heading2:bM(PM),heading3:bM(PM),heading4:bM(PM),heading5:bM(PM),heading6:bM(PM),contentSeparator:bM(CM),list:bM(CM),quote:bM(CM),emphasis:bM(CM),strong:bM(CM),link:bM(CM),monospace:bM(CM),strikethrough:bM(CM),inserted:bM(),deleted:bM(),changed:bM(),invalid:bM(),meta:_M,documentMeta:bM(_M),annotation:bM(_M),processingInstruction:bM(_M),definition:uM.defineModifier("definition"),constant:uM.defineModifier("constant"),function:uM.defineModifier("function"),standard:uM.defineModifier("standard"),local:uM.defineModifier("local"),special:uM.defineModifier("special")};for(let e in IM){let t=IM[e];t instanceof uM&&(t.name=e)}var $M;gM([{tag:IM.link,class:"tok-link"},{tag:IM.heading,class:"tok-heading"},{tag:IM.emphasis,class:"tok-emphasis"},{tag:IM.strong,class:"tok-strong"},{tag:IM.keyword,class:"tok-keyword"},{tag:IM.atom,class:"tok-atom"},{tag:IM.bool,class:"tok-bool"},{tag:IM.url,class:"tok-url"},{tag:IM.labelName,class:"tok-labelName"},{tag:IM.inserted,class:"tok-inserted"},{tag:IM.deleted,class:"tok-deleted"},{tag:IM.literal,class:"tok-literal"},{tag:IM.string,class:"tok-string"},{tag:IM.number,class:"tok-number"},{tag:[IM.regexp,IM.escape,IM.special(IM.string)],class:"tok-string2"},{tag:IM.variableName,class:"tok-variableName"},{tag:IM.local(IM.variableName),class:"tok-variableName tok-local"},{tag:IM.definition(IM.variableName),class:"tok-variableName tok-definition"},{tag:IM.special(IM.variableName),class:"tok-variableName2"},{tag:IM.definition(IM.propertyName),class:"tok-propertyName tok-definition"},{tag:IM.typeName,class:"tok-typeName"},{tag:IM.namespace,class:"tok-namespace"},{tag:IM.className,class:"tok-className"},{tag:IM.macroName,class:"tok-macroName"},{tag:IM.propertyName,class:"tok-propertyName"},{tag:IM.operator,class:"tok-operator"},{tag:IM.comment,class:"tok-comment"},{tag:IM.meta,class:"tok-meta"},{tag:IM.invalid,class:"tok-invalid"},{tag:IM.punctuation,class:"tok-punctuation"}]);const DM=new _T;function LM(e){return yE.define({combine:e?t=>t.concat(e):void 0})}const NM=new _T;class zM{constructor(e,t,n=[],r=""){this.data=e,this.name=r,rk.prototype.hasOwnProperty("tree")||Object.defineProperty(rk.prototype,"tree",{get(){return ZM(this)}}),this.parser=t,this.extension=[YM.of(this),rk.languageData.of((e,t,n)=>{let r=jM(e,t,n),i=r.type.prop(DM);if(!i)return[];let o=e.facet(i),a=r.type.prop(NM);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 jM(e,t,n).type.prop(DM)==this.data}findRegions(e){let t=e.facet(YM);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(DM)==this.data)return void n.push({from:t,to:t+e.length});let i=e.prop(_T.mounted);if(i){if(i.tree.prop(DM)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let i=e.children[n];i instanceof BT&&r(i,e.positions[n]+t)}};return r(ZM(e),0),n}get allowsNesting(){return!0}}function jM(e,t,n){let r=e.facet(YM),i=ZM(e).topNode;if(!r||r.allowsNesting)for(let e=i;e;e=e.enter(t,n,jT.ExcludeBuffers|jT.EnterBracketed))e.type.isTop&&(i=e);return i}zM.setState=qE.define();class BM extends zM{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=LM(e.languageData);return new BM(t,e.parser.configure({props:[DM.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new BM(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ZM(e){let t=e.field(zM.state,!1);return t?t.tree:BT.empty}class XM{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 VM=null;class FM{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 FM(e,t,[],BT.empty,0,n,[],null)}startParse(){return this.parser.startParse(new XM(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=BT.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(aM.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(aM.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=VM;VM=this;try{return e()}finally{VM=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=qM(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:i,viewport:o,skipped:a}=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=aM.applyChanges(n,t),r=BT.empty,i=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let t of this.skipped){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&a.push({from:n,to:r})}}}return new FM(this.parser,t,n,r,i,o,a,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=qM(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 sM{createParse(t,n,r){let i=r[0].from,o=r[r.length-1].to;return{parsedPos:i,advance(){let t=VM;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=o,new BT(DT.none,[],[],o-i)},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 VM}}function qM(e,t,n){return aM.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class WM{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 WM(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=FM.create(e.facet(YM).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new WM(n)}}zM.state=CE.define({create:WM.init,update(e,t){for(let e of t.effects)if(e.is(zM.setState))return e.value;return t.startState.facet(YM)!=t.state.facet(YM)?WM.init(t.state):e.apply(t)}});let GM=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(GM=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const HM="undefined"!=typeof navigator&&(null===($M=navigator.scheduling)||void 0===$M?void 0:$M.isInputPending)?()=>navigator.scheduling.isInputPending():null,UM=OC.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(zM.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(zM.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=GM(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(zM.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!HM?Math.max(25,e.timeRemaining()-5):1e9),a=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>HM&&HM()||Date.now()>o,r+(a?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:zM.setState.of(new WM(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=>hC(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()}}}),YM=yE.define({combine:e=>e.length?e[0]:null,enables:e=>[zM.state,UM,ZA.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class KM{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const JM=yE.define(),e_=yE.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 new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function t_(e){let t=e.facet(e_);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function n_(e,t){let n="",r=e.tabSize,i=e.facet(e_)[0];if("\t"==i){for(;t>=r;)n+="\t",t-=r;i=" "}for(let e=0;e<t;e++)n+=i;return n}function r_(e,t){e instanceof rk&&(e=new i_(e));for(let n of e.state.facet(JM)){let r=n(e,t);if(void 0!==r)return r}let n=ZM(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&&!(t.from<r.node.from||t.to>r.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return a_(r,e,n)}(e,n,t):null}class i_{constructor(e,t={}){this.state=e,this.options=t,this.unit=t_(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;return null!=r&&r>=n.from&&r<=n.to?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}: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 xk(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}}const o_=new _T;function a_(e,t,n){for(let r=e;r;r=r.next){let e=s_(r.node);if(e)return e(c_.create(t,n,r))}return 0}function s_(e){let t=e.type.prop(o_);if(t)return t;let n,r=e.firstChild;if(r&&(n=r.type.prop(_T.closedBy))){let t=e.lastChild,r=t&&n.indexOf(t.name)>-1;return e=>p_(e,!0,1,void 0,r&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?l_:null}function l_(){return 0}class c_ extends i_{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 c_(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(u_(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return a_(this.context.next,this.base,this.pos)}}function u_(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function d_({closing:e,align:t=!0,units:n=1}){return r=>p_(r,t,n,e)}function p_(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)}function h_({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const f_=yE.define(),m_=new _T;function g_(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 O_(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function v_(e,t,n){for(let r of e.facet(f_)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=ZM(e);if(r.length<n)return null;let i=null;for(let o=r.resolveStack(n,1);o;o=o.next){let a=o.node;if(a.to<=n||a.from>n)continue;if(i&&a.from<t)break;let s=a.type.prop(m_);if(s&&(a.to<r.length-50||r.length==e.doc.length||!O_(a))){let r=s(a,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(i=r)}}return i}(e,t,n)}function b_(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const y_=qE.define({map:b_}),w_=qE.define({map:b_});function x_(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}const S_=CE.define({create:()=>rR.none,update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=E_(e,t,n)),e=e.map(t.changes);let n=[];for(let r of t.effects)r.is(y_)&&!R_(e,r.value.from,r.value.to)?n.push(r.value):r.is(w_)&&(e=e.update({filter:(e,t)=>r.value.from!=e||r.value.to!=t,filterFrom:r.value.from,filterTo:r.value.to}));if(n.length){let{preparePlaceholder:r}=t.state.facet(T_),i=n.map(e=>(r?rR.replace({widget:new D_(r(t.state,e))}):$_).range(e.from,e.to));e=e.update({add:i})}return t.selection&&(e=E_(e,t.selection.main.head)),e},provide:e=>ZA.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 new 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 new RangeError("Invalid JSON for fold state");t.push($_.range(r,i))}return rR.set(t,!0)}});function E_(e,t,n=t){let r=!1;return e.between(t,n,(e,i)=>{e<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function k_(e,t,n){var r;let i=null;return null===(r=e.field(S_,!1))||void 0===r||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function R_(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}function C_(e,t){return e.field(S_,!1)?t:t.concat(qE.appendConfig.of(M_()))}function P_(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return ZA.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}const A_=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of x_(e)){let n=v_(e.state,t.from,t.to);if(n)return e.dispatch({effects:C_(e.state,[y_.of(n),P_(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(S_,!1))return!1;let t=[];for(let n of x_(e)){let r=k_(e.state,n.from,n.to);r&&t.push(w_.of(r),P_(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r<t.doc.length;){let i=e.lineBlockAt(r),o=v_(t,i.from,i.to);o&&n.push(y_.of(o)),r=(o?e.lineBlockAt(o.to):i).to+1}return n.length&&e.dispatch({effects:C_(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(S_,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(w_.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],Q_={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},T_=yE.define({combine:e=>ik(e,Q_)});function M_(e){let t=[S_,z_];return e&&t.push(T_.of(e)),t}function I_(e,t){let{state:n}=e,r=n.facet(T_),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=k_(e.state,n.from,n.to);r&&e.dispatch({effects:w_.of(r)}),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}const $_=rR.replace({widget:new class extends tR{toDOM(e){return I_(e,null)}}});class D_ extends tR{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return I_(e,this.value)}}const L_={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class N_ extends sT{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}const z_=ZA.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class j_{constructor(e,t){let n;function r(e){let t=Ck.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;const i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof zM?e=>e.prop(DM)==o.data:o?e=>e==o:void 0,this.style=gM(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new Ck(n):null,this.themeType=t.themeType}static define(e,t){return new j_(e,t||{})}}const B_=yE.define(),Z_=yE.define({combine:e=>e.length?[e[0]]:null});function X_(e){let t=e.facet(B_);return t.length?t:e.facet(Z_)}function V_(e,t){let n,r=[q_];return e instanceof j_&&(e.module&&r.push(ZA.styleModule.of(e.module)),n=e.themeType),(null==t?void 0:t.fallback)?r.push(Z_.of(e)):n?r.push(B_.computeN([ZA.darkTheme],t=>t.facet(ZA.darkTheme)==("dark"==n)?[e]:[])):r.push(B_.of(e)),r}class F_{constructor(e){this.markCache=Object.create(null),this.tree=ZM(e.state),this.decorations=this.buildDeco(e,X_(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=ZM(e.state),n=X_(e.state),r=n!=X_(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 rR.none;let n=new dk;for(let{from:r,to:i}of e.visibleRanges)OM(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=rR.mark({class:r})))},r,i);return n.finish()}}const q_=AE.high(OC.fromClass(F_,{decorations:e=>e.decorations})),W_=j_.define([{tag:IM.meta,color:"#404740"},{tag:IM.link,textDecoration:"underline"},{tag:IM.heading,textDecoration:"underline",fontWeight:"bold"},{tag:IM.emphasis,fontStyle:"italic"},{tag:IM.strong,fontWeight:"bold"},{tag:IM.strikethrough,textDecoration:"line-through"},{tag:IM.keyword,color:"#708"},{tag:[IM.atom,IM.bool,IM.url,IM.contentSeparator,IM.labelName],color:"#219"},{tag:[IM.literal,IM.inserted],color:"#164"},{tag:[IM.string,IM.deleted],color:"#a11"},{tag:[IM.regexp,IM.escape,IM.special(IM.string)],color:"#e40"},{tag:IM.definition(IM.variableName),color:"#00f"},{tag:IM.local(IM.variableName),color:"#30a"},{tag:[IM.typeName,IM.namespace],color:"#085"},{tag:IM.className,color:"#167"},{tag:[IM.special(IM.variableName),IM.macroName],color:"#256"},{tag:IM.definition(IM.propertyName),color:"#00c"},{tag:IM.comment,color:"#940"},{tag:IM.invalid,color:"#f00"}]),G_=ZA.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),H_="()[]{}",U_=yE.define({combine:e=>ik(e,{afterCursor:!0,brackets:H_,maxScanDistance:1e4,renderMatch:J_})}),Y_=rR.mark({class:"cm-matchingBracket"}),K_=rR.mark({class:"cm-nonmatchingBracket"});function J_(e){let t=[],n=e.matched?Y_:K_;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function eI(e){let t=[],n=e.facet(U_);for(let r of e.selection.ranges){if(!r.empty)continue;let i=aI(e,r.head,-1,n)||r.head>0&&aI(e,r.head-1,1,n)||n.afterCursor&&(aI(e,r.head,1,n)||r.head<e.doc.length&&aI(e,r.head+1,-1,n));i&&(t=t.concat(n.renderMatch(i,e)))}return rR.set(t,!0)}const tI=OC.fromClass(class{constructor(e){this.paused=!1,this.decorations=eI(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=eI(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),nI=[tI,G_],rI=new _T;function iI(e,t,n){let r=e.prop(t<0?_T.openedBy:_T.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 oI(e){let t=e.type.prop(rI);return t?t(e.node):e}function aI(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||H_,a=ZM(e),s=a.resolveInner(t,n);for(let e=s;e;e=e.parent){let r=iI(e.type,n,o);if(r&&e.from<e.to){let i=oI(e);if(i&&(n>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return sI(0,0,n,e,i,r,o)}}return function(e,t,n,r,i,o,a){if(n<0?!t:t==e.doc.length)return null;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)}function sI(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=oI(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(iI(u.type,n,a))c++;else if(iI(u.type,-n,a)){if(0==c){let e=oI(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}}const lI=Object.create(null),cI=[DT.none],uI=[],dI=Object.create(null),pI=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"]])pI[e]=fI(lI,t);function hI(e,t){uI.indexOf(e)>-1||(uI.push(e),console.warn(t))}function fI(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||IM[n];r?"function"==typeof r?t.length?t=t.map(r):hI(n,`Modifier ${n} used at start of tag`):t.length?hI(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:hI(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),i=r+" "+n.map(e=>e.id),o=dI[i];if(o)return o.id;let a=dI[i]=DT.define({id:cI.length,name:r,props:[hM({[r]:n})]});return cI.push(a),a.id}function mI(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}_R.RTL,_R.LTR;const gI=mI(wI,0),OI=mI(yI,0),vI=mI((e,t)=>yI(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 bI(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}function yI(e,t,n=t.selection.ranges){let r=n.map(e=>bI(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 p=/^\s*/.exec(o)[0].length,h=/\s*$/.exec(a)[0].length,f=a.length-h-n.length;return o.slice(p,p+t.length)==t&&a.slice(f,f+n.length)==n?{open:{pos:r+p+t.length,margin:/\s/.test(o.charAt(p+t.length))?1:0},close:{pos:i-h-n.length,margin:/\s/.test(a.charAt(f-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,n=0;n<i.length;n++)if(t=i[n]){let i=r[n],{open:o,close:a}=t;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}function wI(e,t,n=t.selection.ranges){let r=[],i=-1;e:for(let{from:e,to:o}of n){let n,a=r.length,s=1e9;for(let a=e;a<=o;){let l=t.doc.lineAt(a);if(null==n&&(n=bI(t,l.from).line,!n))continue e;if(l.from>i&&(e==o||o>l.from)){i=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,o=l.text.slice(e,e+n.length)==n?e:-1;e<l.text.length&&e<s&&(s=e),r.push({line:l,comment:o,token:n,indent:e,empty:t,single:!1})}a=l.to+1}if(s<1e9)for(let e=a;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=s);r.length==a+1&&(r[a].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}const xI=XE.define(),SI=XE.define(),EI=yE.define(),kI=yE.define({combine:e=>ik(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)})}),RI=CE.define({create:()=>BI.empty,update(e,t){let n=t.state.facet(kI),r=t.annotation(xI);if(r){let i=MI.fromTransaction(t,r.selection),o=r.side,a=0==o?e.undone:e.done;return a=i?_I(a,a.length,n.minDepth,i):DI(a,t.startState.selection),new BI(0==o?r.rest:a,0==o?a:r.rest)}let i=t.annotation(SI);if("full"!=i&&"before"!=i||(e=e.isolate()),!1===t.annotation(WE.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=MI.fromTransaction(t),a=t.annotation(WE.time),s=t.annotation(WE.userEvent);return o?e=e.addChanges(o,a,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,a,s,n.newGroupDelay)),"full"!=i&&"after"!=i||(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new BI(e.done.map(MI.fromJSON),e.undone.map(MI.fromJSON))});function CI(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(RI,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}const PI=CI(0,!1),AI=CI(1,!1),QI=CI(0,!0),TI=CI(1,!0);class MI{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 MI(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 MI(e.changes&&cE.fromJSON(e.changes),[],e.mapped&&lE.fromJSON(e.mapped),e.startSelection&&OE.fromJSON(e.startSelection),e.selectionsAfter.map(OE.fromJSON))}static fromTransaction(e,t){let n=$I;for(let t of e.startState.facet(EI)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new MI(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,$I)}static selection(e){return new MI(void 0,$I,void 0,void 0,e)}}function _I(e,t,n,r){let i=t+1>n+20?t-n-1:0,o=e.slice(i,t);return o.push(r),o}function II(e,t){return e.length?t.length?e.concat(t):e:t}const $I=[];function DI(e,t){if(e.length){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),_I(e,e.length-1,1e9,n.setSelAfter(r)))}return[MI.selection([t])]}function LI(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function NI(e,t){if(!e.length)return e;let n=e.length,r=$I;for(;n;){let i=zI(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[MI.selection(r)]:$I}function zI(e,t,n){let r=II(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):$I,n);if(!e.changes)return MI.selection(r);let i=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new MI(i,qE.mapEffects(e.effects,t),a,e.startSelection.map(o),r)}const jI=/^(input\.type|delete)($|\.)/;class BI{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new BI(this.done,this.undone):this}addChanges(e,t,n,r,i){let o=this.done,a=o[o.length-1];return o=a&&a.changes&&!a.changes.empty&&e.changes&&(!n||jI.test(n))&&(!a.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(i,function(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,o)=>{for(let e=0;e<n.length;){let t=n[e++],a=n[e++];o>=t&&i<=a&&(r=!0)}}),r}(a.changes,e.changes))||"input.type.compose"==n)?_I(o,o.length-1,r.minDepth,new MI(e.changes.compose(a.changes),II(qE.mapEffects(e.effects,a.changes),a.effects),a.mapped,a.startSelection,$I)):_I(o,o.length,r.minDepth,e),new BI(o,$I,t,n)}addSelection(e,t,n,r){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:$I;return i.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&function(e,t){return e.ranges.length==t.ranges.length&&0===e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length}(i[i.length-1],e)?this:new BI(DI(this.done,e),this.undone,t,n)}addMapping(e){return new BI(NI(this.done,e),NI(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]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:xI.of({side:e,rest:LI(r),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let n=1==r.length?$I:r.slice(0,r.length-1);return i.mapped&&(n=NI(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:xI.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}BI.empty=new BI($I,$I);const ZI=[{key:"Mod-z",run:PI,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:AI,preventDefault:!0},{linux:"Ctrl-Shift-z",run:AI,preventDefault:!0},{key:"Mod-u",run:QI,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:TI,preventDefault:!0}];function XI(e,t){return OE.create(e.ranges.map(t),e.mainIndex)}function VI(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function FI({state:e,dispatch:t},n){let r=XI(e.selection,n);return!r.eq(e.selection,!0)&&(t(VI(e,r)),!0)}function qI(e,t){return OE.cursor(t?e.to:e.from)}function WI(e,t){return FI(e,n=>n.empty?e.moveByChar(n,t):qI(n,t))}function GI(e){return e.textDirectionAt(e.state.selection.main.head)==_R.LTR}const HI=e=>WI(e,!GI(e)),UI=e=>WI(e,GI(e));function YI(e,t){return FI(e,n=>n.empty?e.moveByGroup(n,t):qI(n,t))}function KI(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}function JI(e,t,n){let r,i,o=ZM(e).resolveInner(t.head),a=n?_T.closedBy:_T.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;KI(e,t,a)?o=t:r=n?t.to:t.from}return i=o.type.prop(a)&&(r=n?aI(e,o.from,1):aI(e,o.to,-1))&&r.matched?n?r.end.to:r.end.from:n?o.to:o.from,OE.cursor(i,n?-1:1)}function e$(e,t){return FI(e,n=>{if(!n.empty)return qI(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}"undefined"!=typeof Intl&&Intl.Segmenter;const t$=e=>e$(e,!1),n$=e=>e$(e,!0);function r$(e){let t,n=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,r=0,i=0;if(n){for(let t of e.state.facet(ZA.scrollMargins)){let n=t(e);(null==n?void 0:n.top)&&(r=Math.max(null==n?void 0:n.top,r)),(null==n?void 0:n.bottom)&&(i=Math.max(null==n?void 0:n.bottom,i))}t=e.scrollDOM.clientHeight-r-i}else t=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:i,selfScroll:n,height:Math.max(e.defaultLineHeight,t-5)}}function i$(e,t){let n,r=r$(e),{state:i}=e,o=XI(i.selection,n=>n.empty?e.moveVertically(n,t,r.height):qI(n,t));if(o.eq(i.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(i.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),s=a.top+r.marginTop,l=a.bottom-r.marginBottom;t&&t.top>s&&t.bottom<l&&(n=ZA.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-s}))}return e.dispatch(VI(i,o),{effects:n}),!0}const o$=e=>i$(e,!1),a$=e=>i$(e,!0);function s$(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=OE.cursor(r.from+n))}return i}function l$(e,t,n){let r=XI(e.state.selection,e=>{e.undirectional&&e.head>=e.anchor!=t&&(e=OE.range(e.head,e.anchor));let r=n(e);return OE.range(e.anchor,r.head,r.goalColumn,r.bidiLevel||void 0,r.assoc)});return!r.eq(e.state.selection)&&(e.dispatch(VI(e.state,r)),!0)}function c$(e,t){return l$(e,t,n=>e.moveByChar(n,t))}const u$=e=>c$(e,!GI(e)),d$=e=>c$(e,GI(e));function p$(e,t){return l$(e,t,n=>e.moveByGroup(n,t))}function h$(e,t){return l$(e,t,n=>e.moveVertically(n,t))}const f$=e=>h$(e,!1),m$=e=>h$(e,!0);function g$(e,t){return l$(e,t,n=>e.moveVertically(n,t,r$(e).height))}const O$=e=>g$(e,!1),v$=e=>g$(e,!0),b$=({state:e,dispatch:t})=>(t(VI(e,{anchor:0})),!0),y$=({state:e,dispatch:t})=>(t(VI(e,{anchor:e.doc.length})),!0),w$=({state:e,dispatch:t})=>(t(VI(e,{anchor:e.selection.main.anchor,head:0})),!0),x$=({state:e,dispatch:t})=>(t(VI(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function S$(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let o=n.doc.lineAt(r.head);if(t?o.to<e.state.doc.length:o.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<o.from||r.head>o.to){i.some(e=>e.head==r.head)||i.push(r);break}if(r.head==n.head)break;n=r}}return i.length!=r.ranges.length&&(e.dispatch(VI(n,OE.create(i,i.length-1))),!0)}function E$(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:o}=r;if(i==o){let a=t(r);a<i?(n="delete.backward",a=k$(e,a,!1)):a>i&&(n="delete.forward",a=k$(e,a,!0)),i=Math.min(i,a),o=Math.max(o,a)}else i=k$(e,i,!1),o=k$(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:OE.cursor(i,i<r.head?-1:1)}});return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?ZA.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function k$(e,t,n){if(e instanceof ZA)for(let r of e.state.facet(ZA.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}const R$=(e,t,n)=>E$(e,r=>{let i,o,a=r.from,{state:s}=e,l=s.doc.lineAt(a);if(n&&!t&&a>l.from&&a<l.from+200&&!/[^ \t]/.test(i=l.text.slice(0,a-l.from))){if("\t"==i[i.length-1])return a-1;let e=xk(i,s.tabSize)%t_(s)||t_(s);for(let t=0;t<e&&" "==i[i.length-1-t];t++)a--;o=a}else o=nE(l.text,a-l.from,t,t)+l.from,o==a&&l.number!=(t?s.doc.lines:1)?o+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(l.text.slice(o-l.from,a-l.from))&&(o=nE(l.text,o-l.from,!1,!1)+l.from);return o}),C$=e=>R$(e,!1,!0),P$=e=>R$(e,!0,!1),A$=(e,t)=>E$(e,n=>{let r=n.head,{state:i}=e,o=i.doc.lineAt(r),a=i.charCategorizer(r);for(let e=null;;){if(r==(t?o.to:o.from)){r==n.head&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let s=nE(o.text,r-o.from,t)+o.from,l=o.text.slice(Math.min(r,s)-o.from,Math.max(r,s)-o.from),c=a(l);if(null!=e&&c!=e)break;" "==l&&r==n.head||(e=c),r=s}return r}),Q$=e=>A$(e,!1);function T$(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 M$(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of T$(e)){if(n?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(n?t.to+1:t.from-1),a=o.length+1;if(n){r.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak});for(let n of t.ranges)i.push(OE.range(Math.min(e.doc.length,n.anchor+a),Math.min(e.doc.length,n.head+a)))}else{r.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text});for(let e of t.ranges)i.push(OE.range(e.anchor-a,e.head-a))}}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:OE.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function _$(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of T$(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)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const I$=$$(!1);function $$(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,o=t.doc.lineAt(r),a=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n,r=ZM(e).resolveInner(t),i=r.childBefore(t),o=r.childAfter(t);return i&&o&&i.to<=t&&o.from>=t&&(n=i.type.prop(_T.closedBy))&&n.indexOf(o.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(i.to,o.from))?{from:i.to,to:o.from}:null}(t,r);e&&(r=i=(i<=o.to?o:t.doc.lineAt(i)).to);let s=new i_(t,{simulateBreak:r,simulateDoubleBreak:!!a}),l=r_(s,r);for(null==l&&(l=xk(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize));i<o.to&&/\s/.test(o.text[i-o.from]);)i++;a?({from:r,to:i}=a):r>o.from&&r<o.from+100&&!/\S/.test(o.text.slice(0,r))&&(r=o.from);let c=["",n_(t,l)];return a&&c.push(n_(t,s.lineIndent(o.from,-1))),{changes:{from:r,to:i,insert:qS.of(c)},range:OE.cursor(r+1+c[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function D$(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let o=r.from;o<=r.to;){let a=e.doc.lineAt(o);a.number>n&&(r.empty||r.to>a.from)&&(t(a,i,r),n=a.number),o=a.to+1}let o=e.changes(i);return{changes:i,range:OE.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}const L$=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(D$(e,(t,n)=>{n.push({from:t.from,insert:e.facet(e_)})}),{userEvent:"input.indent"})),!0),N$=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(D$(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=xk(r,e.tabSize),o=0,a=n_(e,Math.max(0,i-t_(e)));for(;o<r.length&&o<a.length&&r.charCodeAt(o)==a.charCodeAt(o);)o++;n.push({from:t.from+o,to:t.from+r.length,insert:a.slice(o)})}),{userEvent:"delete.dedent"})),!0),z$=[{key:"Ctrl-b",run:HI,shift:u$,preventDefault:!0},{key:"Ctrl-f",run:UI,shift:d$},{key:"Ctrl-p",run:t$,shift:f$},{key:"Ctrl-n",run:n$,shift:m$},{key:"Ctrl-a",run:e=>FI(e,t=>OE.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>l$(e,!1,t=>OE.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>FI(e,t=>OE.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>l$(e,!0,t=>OE.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:P$},{key:"Ctrl-h",run:C$},{key:"Ctrl-k",run:e=>E$(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:Q$},{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:qS.of(["",""])},range:OE.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,r=e.doc.lineAt(n),i=n==r.from?n-1:nE(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:nE(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(i,n))},range:OE.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:a$}],j$=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>FI(e,t=>JI(e.state,t,!GI(e))),shift:e=>{let t=!GI(e);return l$(e,t,n=>JI(e.state,n,t))}},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>FI(e,t=>JI(e.state,t,GI(e))),shift:e=>{let t=GI(e);return l$(e,t,n=>JI(e.state,n,t))}},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>M$(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>_$(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>M$(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>_$(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>S$(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>S$(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=OE.create([n.main]):n.main.empty||(r=OE.create([OE.cursor(n.main.head)])),!!r&&(t(VI(e,r)),!0)}},{key:"Mod-Enter",run:$$(!0)},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=T$(e).map(({from:t,to:n})=>OE.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:OE.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=XI(e.selection,t=>{let n=ZM(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;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 OE.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(VI(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:N$},{key:"Mod-]",run:L$},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new i_(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=D$(e,(t,i,o)=>{let a=r_(r,t.from);if(null==a)return;/\S/.test(t.text)||(a=0);let s=/^\s*/.exec(t.text)[0],l=n_(e,a);(s!=l||o.from<t.from+s.length)&&(n[t.from]=a,i.push({from:t.from,to:t.from+s.length,insert:l}))});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(T$(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=XI(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})=>function(e,t,n){let r=!1,i=XI(e.selection,t=>{let i=aI(e,t.head,-1)||aI(e,t.head,1)||t.head>0&&aI(e,t.head-1,1)||t.head<e.doc.length&&aI(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;let o=i.start.from==t.head?i.end.to:i.end.from;return n?OE.range(t.anchor,o):OE.cursor(o)});return!!r&&(t(VI(e,i)),!0)}(e,t,!1)},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=bI(e.state,n.from);return r.line?gI(e):!!r.block&&vI(e)}},{key:"Alt-A",run:OI},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:HI,shift:u$,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>YI(e,!GI(e)),shift:e=>p$(e,!GI(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>FI(e,t=>s$(e,t,!GI(e))),shift:e=>{let t=!GI(e);return l$(e,t,n=>s$(e,n,t))},preventDefault:!0},{key:"ArrowRight",run:UI,shift:d$,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>YI(e,GI(e)),shift:e=>p$(e,GI(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>FI(e,t=>s$(e,t,GI(e))),shift:e=>{let t=GI(e);return l$(e,t,n=>s$(e,n,t))},preventDefault:!0},{key:"ArrowUp",run:t$,shift:f$,preventDefault:!0},{mac:"Cmd-ArrowUp",run:b$,shift:w$},{mac:"Ctrl-ArrowUp",run:o$,shift:O$},{key:"ArrowDown",run:n$,shift:m$,preventDefault:!0},{mac:"Cmd-ArrowDown",run:y$,shift:x$},{mac:"Ctrl-ArrowDown",run:a$,shift:v$},{key:"PageUp",run:o$,shift:O$},{key:"PageDown",run:a$,shift:v$},{key:"Home",run:e=>FI(e,t=>s$(e,t,!1)),shift:e=>l$(e,!1,t=>s$(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:b$,shift:w$},{key:"End",run:e=>FI(e,t=>s$(e,t,!0)),shift:e=>l$(e,!0,t=>s$(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:y$,shift:x$},{key:"Enter",run:I$,shift:I$},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:C$,shift:C$,preventDefault:!0},{key:"Delete",run:P$,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Q$,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>A$(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>E$(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>E$(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),preventDefault:!0}].concat(z$.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),B$={key:"Tab",run:L$,shift:N$},Z$="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class X${constructor(e,t,n=0,r=e.length,i,o){this.test=o,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(Z$(e)):Z$,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return rE(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=iE(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=oE(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n,o=!0;;e++){let n=r.charCodeAt(e),a=this.match(n,i,o,this.bufferPos+this.bufferStart,e==r.length-1);if(a)return this.value=a,this;if(e==r.length-1)break;o&&e<t.length&&t.charCodeAt(e)==n?i++:o=!1}}}match(e,t,n,r,i){let o=null;for(let t=0;t<this.matches.length;){let n=this.matches[t],a=!1;this.query.charCodeAt(n.index)==e&&(n.index==this.query.length-1?o={from:n.from,to:r,precise:i&&n.precise}:(n.index++,a=!0)),a?t++:this.matches.splice(t,1)}return this.query.charCodeAt(0)==e&&(1==this.query.length?o={from:t,to:r,precise:n&&i}:this.matches.push({from:t,index:1,precise:n})),o&&this.test&&!this.test(o.from,o.to,this.buffer,this.bufferStart)&&(o=null),o}}"undefined"!=typeof Symbol&&(X$.prototype[Symbol.iterator]=function(){return this});const V$={from:-1,to:-1,match:/.*/.exec(""),precise:!0},F$="gm"+(null==/x/.unicode?"":"u");class q${constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine="",this.done=!1,this.value=V$,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new H$(e,t,n,r,i);this.re=new RegExp(t,F$+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let o=e.lineAt(r);this.curLineStart=o.from,this.matchPos=U$(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=U$(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,precise:!0,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}const W$=new WeakMap;class G${constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let r=W$.get(e);if(!r||r.from>=n||r.to<=t){let r=new G$(t,e.sliceString(t,n));return W$.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:o}=r;return o>t&&(i=e.sliceString(t,o)+i,o=t),r.to<n&&(i+=e.sliceString(r.to,n)),W$.set(e,new G$(o,i)),new G$(t,i.slice(t-o,n-o))}}class H${constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=V$,this.matchPos=U$(e,r),this.re=new RegExp(t,F$+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=G$.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,precise:!0,match:t},this.matchPos=U$(this.text,n+(e==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=G$.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function U$(e,t){if(t>=e.length)return t;let n,r=e.lineAt(t);for(;t<r.to&&(n=r.text.charCodeAt(t-r.from))>=56320&&n<57344;)t++;return t}"undefined"!=typeof Symbol&&(q$.prototype[Symbol.iterator]=H$.prototype[Symbol.iterator]=function(){return this});const Y$={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},K$=yE.define({combine:e=>ik(e,Y$,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),J$=rR.mark({class:"cm-selectionMatch"}),eD=rR.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tD(e,t,n,r){return!(0!=n&&e(t.sliceDoc(n-1,n))==ek.Word||r!=t.doc.length&&e(t.sliceDoc(r,r+1))==ek.Word)}const nD=OC.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(K$),{state:n}=e,r=n.selection;if(r.ranges.length>1)return rR.none;let i,o=r.main,a=null;if(o.empty){if(!t.highlightWordAroundCursor)return rR.none;let e=n.wordAt(o.head);if(!e)return rR.none;a=n.charCategorizer(o.head),i=n.sliceDoc(e.from,e.to)}else{let e=o.to-o.from;if(e<t.minSelectionLength||e>200)return rR.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),a=n.charCategorizer(o.head),!tD(a,n,o.from,o.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==ek.Word&&e(t.sliceDoc(r-1,r))==ek.Word}(a,n,o.from,o.to))return rR.none}else if(i=n.sliceDoc(o.from,o.to),!i)return rR.none}let s=[];for(let r of e.visibleRanges){let e=new X$(n.doc,i,r.from,r.to);for(;!e.next().done;){let{from:r,to:i}=e.value;if((!a||tD(a,n,r,i))&&(o.empty&&r<=o.from&&i>=o.to?s.push(eD.range(r,i)):(r>=o.to||i<=o.from)&&s.push(J$.range(r,i)),s.length>t.maxMatches))return rR.none}}return rR.set(s)}},{decorations:e=>e.decorations}),rD=ZA.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),iD=yE.define({combine:e=>ik(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new _D(e),scrollToMatch:e=>ZA.scrollIntoView(e)})});class oD{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,F$),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new pD(this):new lD(this)}getCursor(e,t=0,n){let r=e.doc?e:rk.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?cD(this,r,t,n):sD(this,r,t,n)}}class aD{constructor(e){this.spec=e}}function sD(e,t,n,r){let i;return e.wholeWord&&(i=function(e,t){return(n,r,i,o)=>((o>n||o+i.length<r)&&(o=Math.max(0,n-2),i=e.sliceString(o,Math.min(e.length,r+2))),!(t(uD(i,n-o))==ek.Word&&t(dD(i,n-o))==ek.Word||t(dD(i,r-o))==ek.Word&&t(uD(i,r-o))==ek.Word))}(t.doc,t.charCategorizer(t.selection.main.head))),e.test&&(i=function(e,t,n){return(r,i,o,a)=>{if(n&&!n(r,i,o,a))return!1;let s=r>=a&&i<=a+o.length?o.slice(r-a,i-a):t.doc.sliceString(r,i);return e(s,t,r,i)}}(e.test,t,i)),new X$(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),i)}class lD extends aD{constructor(e){super(e)}nextMatch(e,t,n){let r=sD(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=sD(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=sD(this.spec,e,n,r),o=null;for(;!i.nextOverlapping().done;)o=i.value;if(o)return o;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),!r||r.from==t&&r.to==n?null:r}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=sD(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=sD(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function cD(e,t,n,r){let i;var o;return e.wholeWord&&(o=t.charCategorizer(t.selection.main.head),i=(e,t,n)=>!n[0].length||(o(uD(n.input,n.index))!=ek.Word||o(dD(n.input,n.index))!=ek.Word)&&(o(dD(n.input,n.index+n[0].length))!=ek.Word||o(uD(n.input,n.index+n[0].length))!=ek.Word)),e.test&&(i=function(e,t,n){return(r,i,o)=>(!n||n(r,i,o))&&e(o[0],t,r,i)}(e.test,t,i)),new q$(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:i},n,r)}function uD(e,t){return e.slice(nE(e,t,!1),t)}function dD(e,t){return e.slice(t,nE(e,t))}class pD extends aD{nextMatch(e,t,n){let r=cD(this.spec,e,n,e.doc.length).next();return r.done&&(r=cD(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),o=cD(this.spec,e,i,n),a=null;for(;!o.next().done;)a=o.value;if(a&&(i==t||a.from>i+10))return a;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r<e.match.length)return e.match[r]+n.slice(t)}return t})}matchAll(e,t){let n=cD(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=cD(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}const hD=qE.define(),fD=qE.define(),mD=CE.define({create:e=>new gD(CD(e).create(),null),update(e,t){for(let n of t.effects)n.is(hD)?e=new gD(n.value.create(),e.panel):n.is(fD)&&(e=new gD(e.query,n.value?RD:null));return e},provide:e=>rT.from(e,e=>e.panel)});class gD{constructor(e,t){this.query=e,this.panel=t}}const OD=rR.mark({class:"cm-searchMatch"}),vD=rR.mark({class:"cm-searchMatch cm-searchMatch-selected"}),bD=OC.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(mD))}update(e){let t=e.state.field(mD);(t!=e.startState.field(mD)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return rR.none;let{view:n}=this,r=new dk;for(let t=0,i=n.visibleRanges,o=i.length;t<o;t++){let{from:a,to:s}=i[t];for(;t<o-1&&s>i[t+1].from-500;)s=i[++t].to;e.highlight(n.state,a,s,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?vD:OD)})}return r.finish()}},{decorations:e=>e.decorations});function yD(e){return t=>{let n=t.state.field(mD,!1);return n&&n.query.spec.valid?e(t,n):QD(t)}}const wD=yD((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=OE.single(r.from,r.to),o=e.state.facet(iD);return e.dispatch({selection:i,effects:[DD(e,r),o.scrollToMatch(i.main,e)],userEvent:"select.search"}),AD(e),!0}),xD=yD((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let o=OE.single(i.from,i.to),a=e.state.facet(iD);return e.dispatch({selection:o,effects:[DD(e,i),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),AD(e),!0}),SD=yD((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!(!n||!n.length||(e.dispatch({selection:OE.create(n.map(e=>OE.range(e.from,e.to))),userEvent:"select.search.matches"}),0))}),ED=yD((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=t.nextMatch(n,r,r);if(!o)return!1;let a,s,l=o,c=[],u=[];l.precise?l.from==r&&l.to==i&&(s=n.toText(t.getReplacement(l)),c.push({from:l.from,to:l.to,insert:s}),l=t.nextMatch(n,l.from,l.to),u.push(ZA.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))):l=t.nextMatch(n,l.from,l.to);let d=e.state.changes(c);return l&&(a=OE.single(l.from,l.to).map(d),u.push(DD(e,l)),u.push(n.facet(iD).scrollToMatch(a.main,e))),e.dispatch({changes:d,selection:a,effects:u,userEvent:"input.replace"}),!0}),kD=yD((e,{query:t})=>{if(e.state.readOnly)return!1;let n=[];for(let r of t.matchAll(e.state,1e9)){let{from:e,to:i,precise:o}=r;o&&n.push({from:e,to:i,insert:t.getReplacement(r)})}if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:ZA.announce.of(r),userEvent:"input.replace.all"}),!0});function RD(e){return e.state.facet(iD).createPanel(e)}function CD(e,t){var n,r,i,o,a;let s=e.selection.main,l=s.empty||s.to>s.from+100?"":e.sliceDoc(s.from,s.to);if(t&&!l)return t;let c=e.facet(iD);return new oD({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null==t?void 0:t.caseSensitive)&&void 0!==r?r:c.caseSensitive,literal:null!==(i=null==t?void 0:t.literal)&&void 0!==i?i:c.literal,regexp:null!==(o=null==t?void 0:t.regexp)&&void 0!==o?o:c.regexp,wholeWord:null!==(a=null==t?void 0:t.wholeWord)&&void 0!==a?a:c.wholeWord})}function PD(e){let t=JQ(e,RD);return t&&t.dom.querySelector("[main-field]")}function AD(e){let t=PD(e);t&&t==e.root.activeElement&&t.select()}const QD=e=>{let t=e.state.field(mD,!1);if(t&&t.panel){let n=PD(e);if(n&&n!=e.root.activeElement){let r=CD(e.state,t.query.spec);r.valid&&e.dispatch({effects:hD.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[fD.of(!0),t?hD.of(CD(e.state,t.query.spec)):qE.appendConfig.of(ND)]});return!0},TD=e=>{let t=e.state.field(mD,!1);if(!t||!t.panel)return!1;let n=JQ(e,RD);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:fD.of(!1)}),!0},MD=[{key:"Mod-f",run:QD,scope:"editor search-panel"},{key:"F3",run:wD,shift:xD,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:wD,shift:xD,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:TD,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],a=0;for(let t=new X$(e.doc,e.sliceDoc(r,i));!t.next().done;){if(o.length>1e3)return!1;t.value.from==r&&(a=o.length),o.push(OE.range(t.value.from,t.value.to))}return t(e.update({selection:OE.create(o,a),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:r,result:i}=function(e,t){let n,r=new Promise(e=>n=e),i=e=>function(e,t,n){let r=t.content?t.content(e,()=>a(null)):null;if(!r){if(r=Dk("form"),t.input){let e=Dk("input",t.input);/^(text|password|number|email|tel|url)$/.test(e.type)&&e.classList.add("cm-textfield"),e.name||(e.name="input"),r.appendChild(Dk("label",(t.label||"")+": ",e))}else r.appendChild(document.createTextNode(t.label||""));r.appendChild(document.createTextNode(" ")),r.appendChild(Dk("button",{class:"cm-button",type:"submit"},t.submitLabel||"OK"))}let i="FORM"==r.nodeName?[r]:r.querySelectorAll("form");for(let e=0;e<i.length;e++){let t=i[e];t.addEventListener("keydown",e=>{27==e.keyCode?(e.preventDefault(),a(null)):13==e.keyCode&&(e.preventDefault(),a(t))}),t.addEventListener("submit",e=>{e.preventDefault(),a(t)})}let o=Dk("div",r,Dk("button",{onclick:()=>a(null),"aria-label":e.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));function a(t){o.contains(o.ownerDocument.activeElement)&&e.focus(),n(t)}return t.class&&(o.className=t.class),o.classList.add("cm-dialog"),{dom:o,top:t.top,mount:()=>{if(t.focus){let e;e="string"==typeof t.focus?r.querySelector(t.focus):r.querySelector("input")||r.querySelector("button"),e&&"select"in e?e.select():e&&"focus"in e&&e.focus()}}}}(e,t,n);e.state.field(iT,!1)?e.dispatch({effects:oT.of(i)}):e.dispatch({effects:qE.appendConfig.of(iT.init(()=>[i]))});let o=aT.of(i);return{close:o,result:r.then(t=>{let n=e.win.queueMicrotask||(t=>e.win.setTimeout(t,10));return n(()=>{e.state.field(iT).indexOf(i)>-1&&e.dispatch({effects:o})}),t})}}(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return i.then(n=>{let i=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!i)return void e.dispatch({effects:r});let o=t.doc.lineAt(t.selection.main.head),[,a,s,l,c]=i,u=l?+l.slice(1):0,d=s?+s:o.number;if(s&&c){let e=d/100;a&&(e=e*("-"==a?-1:1)+o.number/t.doc.lines),d=Math.round(t.doc.lines*e)}else s&&a&&(d=d*("-"==a?-1:1)+o.number);let p=t.doc.line(Math.max(1,Math.min(t.doc.lines,d))),h=OE.cursor(p.from+Math.max(0,Math.min(u,p.length)));e.dispatch({effects:[r,ZA.scrollIntoView(h.from,{y:"center"})],selection:h})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=OE.create(n.ranges.map(t=>e.wordAt(t.head)||OE.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new X$(e.doc,t,r[r.length-1].to);;){if(i.next(),!i.done){if(n&&r.some(e=>e.from==i.value.from))continue;if(o){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}if(n)return null;i=new X$(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}}(e,r);return!!i&&(t(e.update({selection:e.selection.addRange(OE.range(i.from,i.to),!1),effects:ZA.scrollIntoView(i.to)})),!0)},preventDefault:!0}];class _D{constructor(e){this.view=e;let t=this.query=e.state.field(mD).query.spec;function n(e,t,n){return Dk("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=Dk("input",{value:t.search,placeholder:ID(e,"Find"),"aria-label":ID(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Dk("input",{value:t.replace,placeholder:ID(e,"Replace"),"aria-label":ID(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Dk("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Dk("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Dk("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=Dk("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>wD(e),[ID(e,"next")]),n("prev",()=>xD(e),[ID(e,"previous")]),n("select",()=>SD(e),[ID(e,"all")]),Dk("label",null,[this.caseField,ID(e,"match case")]),Dk("label",null,[this.reField,ID(e,"regexp")]),Dk("label",null,[this.wordField,ID(e,"by word")]),...e.state.readOnly?[]:[Dk("br"),this.replaceField,n("replace",()=>ED(e),[ID(e,"replace")]),n("replaceAll",()=>kD(e),[ID(e,"replace all")])],Dk("button",{name:"close",onclick:()=>TD(e),"aria-label":ID(e,"close"),type:"button"},["×"])])}commit(){let e=new oD({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:hD.of(e)}))}keydown(e){var t,n;t=this.view,n=e,tQ(KA(t.state),n,t,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?xD:wD)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),ED(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(hD)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(iD).top}}function ID(e,t){return e.state.phrase(t)}const $D=/[\s\.,:;?!]/;function DD(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,o=Math.max(r.from,t-30),a=Math.min(i,n+30),s=e.state.sliceDoc(o,a);if(o!=r.from)for(let e=0;e<30;e++)if(!$D.test(s[e+1])&&$D.test(s[e])){s=s.slice(e);break}if(a!=i)for(let e=s.length-1;e>s.length-30;e--)if(!$D.test(s[e-1])&&$D.test(s[e])){s=s.slice(0,e);break}return ZA.announce.of(`${e.state.phrase("current match")}. ${s} ${e.state.phrase("on line")} ${r.number}.`)}const LD=ZA.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),ND=[mD,AE.low(bD),LD];class zD{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=ZM(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)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(VD(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 jD(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 BD(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=jD(t)+jD(n)+"*$";return[new 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}}class ZD{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function XD(e){return e.selection.main.from}function VD(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?new RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}const FD=XE.define();function qD(e,t,n,r){let{main:i}=e.selection,o=n-i.from,a=r-i.from;return{...e.changeByRange(s=>{if(s!=i&&n!=r&&e.sliceDoc(s.from+o,s.from+a)!=e.sliceDoc(n,r))return{range:s};let l=e.toText(t);return{changes:{from:s.from+o,to:r==i.from?s.to:s.from+a,insert:l},range:OE.cursor(s.from+o+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const WD=new WeakMap;function GD(e){if(!Array.isArray(e))return e;let t=WD.get(e);return t||WD.set(e,t=BD(e)),t}const HD=qE.define(),UD=qE.define();class YD{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=rE(e,t),r=oE(n);this.chars.push(n);let i=e.slice(t,t+r),o=i.toUpperCase();this.folded.push(rE(o==i?i.toLowerCase():o,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:o}=this;if(1==t.length){let r=rE(e,0),i=oE(r),o=i==e.length?0:-100;if(r==t[0]);else{if(r!=n[0])return null;o+=-200}return this.ret(o,[0,i])}let a=e.indexOf(this.pattern);if(0==a)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,l=0;if(a<0){for(let i=0,o=Math.min(e.length,200);i<o&&l<s;){let o=rE(e,i);o!=t[l]&&o!=n[l]||(r[l++]=i),i+=oE(o)}if(l<s)return null}let c=0,u=0,d=!1,p=0,h=-1,f=-1,m=/[a-z]/.test(e),g=!0;for(let r=0,l=Math.min(e.length,200),O=0;r<l&&u<s;){let l=rE(e,r);a<0&&(c<s&&l==t[c]&&(i[c++]=r),p<s&&(l==t[p]||l==n[p]?(0==p&&(h=r),f=r+1,p++):p=0));let v,b=l<255?l>=48&&l<=57||l>=97&&l<=122?2:l>=65&&l<=90?1:0:(v=iE(l))!=v.toLowerCase()?1:v!=v.toUpperCase()?2:0;(!r||1==b&&m||0==O&&0!=b)&&(t[u]==l||n[u]==l&&(d=!0)?o[u++]=r:o.length&&(g=!1)),O=b,r+=oE(l)}return u==s&&0==o[0]&&g?this.result((d?-200:0)-100,o,e):p==s&&0==h?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):p==s?this.ret(-900-e.length,[h,f]):u==s?this.result((d?-200:0)-100-700+(g?0:-1100),o,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?oE(rE(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 KD{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)}}const JD=yE.define({combine:e=>ik(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:tL,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||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=>eL(e(n),t(n)),optionClass:(e,t)=>n=>eL(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function eL(e,t){return e?t?e+" "+t:e:t}function tL(e,t,n,r,i,o){let a,s,l=e.textDirection==_R.RTL,c=l,u=!1,d="top",p=t.left-i.left,h=i.right-t.right,f=r.right-r.left,m=r.bottom-r.top;if(c&&p<Math.min(f,h)?c=!1:!c&&h<Math.min(f,p)&&(c=!0),f<=(c?p:h))a=Math.max(i.top,Math.min(n.top,i.bottom-m))-t.top,s=Math.min(400,c?p:h);else{u=!0,s=Math.min(400,(l?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=m||e>t.top?a=n.bottom-t.top:(d="bottom",a=t.bottom-n.top)}return{style:`${d}: ${a/((t.bottom-t.top)/o.offsetHeight)}px; max-width: ${s/((t.right-t.left)/o.offsetWidth)}px`,class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}const nL=qE.define();function rL(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.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}class iL{constructor(e,t,n){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 r=e.state.field(t),{options:i,selected:o}=r.open,a=e.state.facet(JD);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.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}),t.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}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=rL(i.length,o,a.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,i=n.target;i&&i!=this.dom;i=i.parentNode)if("LI"==i.nodeName&&(t=/-(\d+)$/.exec(i.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),void n.preventDefault();if(n.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;null!=t&&(e.dispatch({effects:nL.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(JD).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:UD.of(null)})}),this.showOptions(i,r.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=rL(i.length,o,e.state.facet(JD).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;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=rL(t.options.length,t.selected,this.view.state.facet(JD).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:i}=r;if(!i)return;let o="string"==typeof i?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>hC(this.view.state,e,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),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"),n.removeAttribute("aria-describedby")):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.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(JD).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){const 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")),r.addEventListener("mousedown",e=>{e.target==r&&e.preventDefault()});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)}const c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(a);u&&(c.className=u);for(let e of 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 oL(e,t){return n=>new iL(n,e,t)}function aL(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class sL{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 sL(this.options,dL(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=null,o=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)}},a=t.facet(JD);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)o(new ZD(t,r.source,e?e(t):[],1e9-n.length));else{let n,s=t.sliceDoc(r.from,r.to),l=a.filterStrict?new KD(s):new YD(s);for(let t of r.result.options)if(n=l.match(t.label)){let a=t.displayLabel?e?e(t,n.matched):[]:n.matched,s=n.score+(t.boost||0);if(o(new ZD(t,r.source,a,s)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(s,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0,o=(e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1);for(let n of r.sort(o))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 s=[],l=null,c=a.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let t=e.completion;!l||l.label!=t.label||l.detail!=t.detail||null!=l.type&&null!=t.type&&l.type!=t.type||l.apply!=t.apply||l.boost!=t.boost?s.push(e):aL(e.completion)>aL(l)&&(s[s.length-1]=e),l=e.completion}return s}(e,t);if(!a.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(JD).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 sL(a,dL(n,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:bL,above:i.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new sL(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new sL(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class lL{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new lL(pL,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(JD),r=(n.override||t.languageDataAt("autocomplete",XD(t)).map(GD)).map(t=>{let r=this.active.find(e=>e.source==t)||new fL(t,this.active.some(e=>0!=e.state)?1:0);return r.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(gL));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=sL.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 fL(e.source,0):e));for(let t of e.effects)t.is(nL)&&(i=i&&i.setSelected(t.value,this.id));return r==this.active&&i==this.open?this:new lL(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?cL:uL}}const cL={"aria-autocomplete":"list"},uL={};function dL(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const pL=[];function hL(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(FD);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}class fL{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=hL(e,t),r=this;(8&n||16&n&&this.touches(e))&&(r=new fL(r.source,0)),4&n&&0==r.state&&(r=new fL(this.source,1)),r=r.updateFor(e,n);for(let t of e.effects)if(t.is(HD))r=new fL(r.source,1,t.value);else if(t.is(UD))r=new fL(r.source,0);else if(t.is(gL))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(XD(e.state))}}class mL extends fL{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=XD(e.state);if(a>o||!r||2&t&&(XD(e.startState)==this.from||a<this.limit))return new fL(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):VD(e,!0).test(i)}(r.validFor,e.state,i,o)?new mL(this.source,this.explicit,s,r,i,o):r.update&&(r=r.update(r,i,o,new zD(e.state,a,!1)))?new mL(this.source,this.explicit,s,r,r.from,null!==(n=r.to)&&void 0!==n?n:XD(e.state)):new fL(this.source,1,this.explicit)}map(e){if(e.empty)return this;let t=this.result.map?this.result.map(this.result,e):this.result;return t?new mL(this.source,this.explicit,e.mapPos(this.limit),t,e.mapPos(this.from),e.mapPos(this.to,1)):new fL(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}const gL=qE.define({map:(e,t)=>e.map(e=>e.map(t))}),OL=CE.define({create:()=>lL.start(),update:(e,t)=>e.update(t),provide:e=>[XQ.from(e,e=>e.tooltip),ZA.contentAttributes.from(e,e=>e.attrs)]});function vL(e,t){const n=t.completion.apply||t.completion.label;let r=e.state.field(OL).active.find(e=>e.source==t.source);return r instanceof mL&&("string"==typeof n?e.dispatch({...qD(e.state,n,r.from,r.to),annotations:FD.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}const bL=oL(OL,vL);function yL(e,t="option"){return n=>{let r=n.state.field(OL,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(JD).interactionDelay)return!1;let i,o=1;"page"==t&&(i=UQ(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));let{length:a}=r.open.options,s=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:a-1;return s<0?s="page"==t?0:a-1:s>=a&&(s="page"==t?a-1:0),n.dispatch({effects:nL.of(s)}),!0}}const wL=e=>!!e.state.field(OL,!1)&&(e.dispatch({effects:HD.of(!0)}),!0);class xL{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const SL=OC.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(OL).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(OL),n=e.state.facet(JD);if(!e.selectionSet&&!e.docChanged&&e.startState.field(OL)==t)return;let r=e.transactions.some(e=>{let t=hL(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){hC(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(HD)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(OL);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(JD).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=XD(t),r=new zD(t,n,e.explicit,this.view),i=new xL(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:UD.of(null)}),hC(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(JD).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(JD),r=this.view.state.field(OL);for(let i=0;i<this.running.length;i++){let o=this.running[i];if(void 0===o.done)continue;if(this.running.splice(i--,1),o.done){let r=XD(o.updates.length?o.updates[0].startState:this.view.state),i=Math.min(r,o.done.from+(o.active.explicit?0:1)),a=new mL(o.active.source,o.active.explicit,i,o.done,o.done.from,null!==(e=o.done.to)&&void 0!==e?e:r);for(let e of o.updates)a=a.update(e,n);if(a.hasResult()){t.push(a);continue}}let a=r.active.find(e=>e.source==o.active.source);if(a&&a.isPending)if(null==o.done){let e=new fL(o.active.source,0);for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(a)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:gL.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(OL,!1);if(t&&t.tooltip&&this.view.state.facet(JD).closeOnBlur){let n=t.open&&UQ(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:UD.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:HD.of(!1)}),20),this.composing=0}}}),EL="object"==typeof navigator&&/Win/.test(navigator.platform),kL=AE.highest(ZA.domEventHandlers({keydown(e,t){let n=t.state.field(OL,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&(!EL||!e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&vL(t,r),!1}})),RL=ZA.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class CL{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class PL{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,sE.TrackDel),n=e.mapPos(this.to,1,sE.TrackDel);return null==t||null==n?null:new PL(this.field,t,n)}}class AL{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(e_);r.push(t+n.length-a),i=n+i.slice(a)}n.push(i),t+=i.length+1}let a=this.fieldPositions.map(e=>new PL(e.field,r[e.line]+e.from,r[e.line]+e.to));return{text:n,ranges:a}}static parse(e){let t,n=[],r=[],i=[];for(let o of e.split(/\r\n?|\n/)){for(;t=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let e=t[1]?+t[1]:null,a=t[2]||t[3]||"",s=-1;0===e&&(e=1e9);let l=a.replace(/\\[{}]/g,e=>e[1]);for(let t=0;t<n.length;t++)(null!=e?n[t].seq==e:l&&n[t].name==l)&&(s=t);if(s<0){let t=0;for(;t<n.length&&(null==e||null!=n[t].seq&&n[t].seq<e);)t++;n.splice(t,0,{seq:e,name:l}),s=t;for(let e of i)e.field>=s&&e.field++}for(let e of i)if(e.line==r.length&&e.from>t.index){let n=t[2]?3+(t[1]||"").length:2;e.from-=n,e.to-=n}i.push(new CL(s,r.length,t.index,t.index+l.length)),o=o.slice(0,t.index)+a+o.slice(t.index+t[0].length)}o=o.replace(/\\([{}])/g,(e,t,n)=>{for(let e of i)e.line==r.length&&e.from>n&&(e.from--,e.to--);return t}),r.push(o)}return new AL(r,i)}}let QL=rR.widget({widget:new class extends tR{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),TL=rR.mark({class:"cm-snippetField"});class ML{constructor(e,t){this.ranges=e,this.active=t,this.deco=rR.set(e.map(e=>(e.from==e.to?QL:TL).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new ML(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))}}const _L=qE.define({map:(e,t)=>e&&e.map(t)}),IL=qE.define(),$L=CE.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(_L))return n.value;if(n.is(IL)&&e)return new ML(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=>ZA.decorations.from(e,e=>e?e.deco:rR.none)});function DL(e,t){return OE.create(e.filter(e=>e.field==t).map(e=>OE.range(e.from,e.to)))}function LL(e){let t=AL.parse(e);return(e,n,r,i)=>{let{text:o,ranges:a}=t.instantiate(e.state,r),{main:s}=e.state.selection,l={changes:{from:r,to:i==s.from?s.to:i,insert:qS.of(o)},scrollIntoView:!0,annotations:n?[FD.of(n),WE.userEvent.of("input.complete")]:void 0};if(a.length&&(l.selection=DL(a,0)),a.some(e=>e.field>0)){let t=new ML(a,0),n=l.effects=[_L.of(t)];void 0===e.state.field($L,!1)&&n.push(qE.appendConfig.of([$L,BL,XL,RL]))}e.dispatch(e.state.update(l))}}function NL(e){return({state:t,dispatch:n})=>{let r=t.field($L,!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:DL(r.ranges,i),effects:_L.of(o?null:new ML(r.ranges,i)),scrollIntoView:!0})),!0}}const zL=[{key:"Tab",run:NL(1),shift:NL(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field($L,!1)&&(t(e.update({effects:_L.of(null)})),!0)}],jL=yE.define({combine:e=>e.length?e[0]:zL}),BL=AE.highest(UA.compute([jL],e=>e.facet(jL)));function ZL(e,t){return{...t,apply:LL(e)}}const XL=ZA.domEventHandlers({mousedown(e,t){let n,r=t.state.field($L,!1);if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let i=r.ranges.find(e=>e.from<=n&&e.to>=n);return!(!i||i.field==r.active||(t.dispatch({selection:DL(r.ranges,i.field),effects:_L.of(r.ranges.some(e=>e.field>i.field)?new ML(r.ranges,i.field):null),scrollIntoView:!0}),0))}}),VL={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},FL=qE.define({map(e,t){let n=t.mapPos(e,-1,sE.TrackAfter);return null==n?void 0:n}}),qL=new class extends ok{};qL.startSide=1,qL.endSide=-1;const WL=CE.define({create:()=>uk.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(FL)&&(e=e.update({add:[qL.range(n.value,n.value+1)]}));return e}}),GL="()[]{}<>«»»«[]{}";function HL(e){for(let t=0;t<16;t+=2)if(GL.charCodeAt(t)==e)return GL.charAt(t+1);return iE(e<128?e:e+1)}function UL(e,t){return e.languageDataAt("closeBrackets",t)[0]||VL}const YL="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),KL=ZA.inputHandler.of((e,t,n,r)=>{if((YL?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||2==r.length&&1==oE(rE(r,0))||t!=i.from||n!=i.to)return!1;let o=function(e,t){let n=UL(e,e.selection.main.head),r=n.brackets||VL.brackets;for(let i of r){let o=HL(rE(i,0));if(t==i)return o==i?iN(e,i,r.indexOf(i+i+i)>-1,n):nN(e,i,o,n.before||VL.before);if(t==o&&eN(e,e.selection.main.from))return rN(e,0,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),JL=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=UL(e,e.selection.main.head).brackets||VL.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return oE(rE(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==r&&tN(e.doc,t.head)==HL(rE(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:OE.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function eN(e,t){let n=!1;return e.field(WL).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function tN(e,t){let n=e.sliceString(t,t+2);return n.slice(0,oE(rE(n,0)))}function nN(e,t,n,r){let i=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:FL.of(o.to+t.length),range:OE.range(o.anchor+t.length,o.head+t.length)};let a=tN(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:FL.of(o.head+t.length),range:OE.cursor(o.head+t.length)}:{range:i=o}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function rN(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&tN(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:OE.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function iN(e,t,n,r){let i=r.stringPrefixes||VL.stringPrefixes,o=null,a=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:FL.of(r.to+t.length),range:OE.range(r.anchor+t.length,r.head+t.length)};let a,s=r.head,l=tN(e.doc,s);if(l==t){if(oN(e,s))return{changes:{insert:t+t,from:s},effects:FL.of(s+t.length),range:OE.cursor(s+t.length)};if(eN(e,s)){let r=n&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,to:s+r.length,insert:r},range:OE.cursor(s+r.length)}}}else{if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(a=aN(e,s-2*t.length,i))>-1&&oN(e,a))return{changes:{insert:t+t+t+t,from:s},effects:FL.of(s+t.length),range:OE.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=ek.Word&&aN(e,s,i)>-1&&!function(e,t,n,r){let i=ZM(e).resolveInner(t,-1),o=r.reduce((e,t)=>Math.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,s,t,i))return{changes:{insert:t+t,from:s},effects:FL.of(s+t.length),range:OE.cursor(s+t.length)}}return{range:o=r}});return o?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function oN(e,t){let n=ZM(e).resolveInner(t+1);return n.parent&&n.from==t}function aN(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=ek.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))!=ek.Word)return n}return-1}function sN(e={}){return[kL,OL,JD.of(e),SL,cN,RL]}const lN=[{key:"Ctrl-Space",run:wL},{mac:"Alt-`",run:wL},{mac:"Alt-i",run:wL},{key:"Escape",run:e=>{let t=e.state.field(OL,!1);return!(!t||!t.active.some(e=>0!=e.state)||(e.dispatch({effects:UD.of(null)}),0))}},{key:"ArrowDown",run:yL(!0)},{key:"ArrowUp",run:yL(!1)},{key:"PageDown",run:yL(!0,"page")},{key:"PageUp",run:yL(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(OL,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(JD).interactionDelay)&&vL(e,t.open.options[t.open.selected])}}],cN=AE.highest(UA.computeN([JD],e=>e.facet(JD).defaultKeymap?[lN]:[]));class uN{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class dN{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(xN).markerFilter;r&&(e=r(e,n));let i=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),o=new dk,a=[],s=0,l=n.doc.iter(),c=0,u=n.doc.length;for(let e=0;;){let t,n,r=e==i.length?null:i[e];if(!r&&!a.length)break;if(a.length)t=s,n=a.reduce((e,t)=>Math.min(e,t.to),r&&r.from>t?r.from:1e8);else{if(t=r.from,t>u)break;n=r.to,a.push(r),e++}for(;e<i.length;){let r=i[e];if(r.from!=t||!(r.to>r.from||r.to==t)){n=Math.min(r.from,n);break}a.push(r),e++,n=Math.min(r.to,n)}n=Math.min(n,u);let d=!1;if(a.some(e=>e.from==t&&(e.to==n||n==u))&&(d=t==n,!d&&n-t<10)){let e=t-(c+l.value.length);e>0&&(l.next(e),c=t);for(let e=t;;){if(e>=n){d=!0;break}if(!l.lineBreak&&c+l.value.length>e)break;e=c+l.value.length,c+=l.value.length,l.next()}}let p=MN(a);if(d)o.add(t,t,rR.widget({widget:new RN(p),diagnostics:a.slice()}));else{let e=a.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");o.add(t,n,rR.mark({class:"cm-lintRange cm-lintRange-"+p+e,diagnostics:a.slice(),inclusiveEnd:a.some(e=>e.to>n)}))}if(s=n,s==u)break;for(let e=0;e<a.length;e++)a[e].to<=s&&a.splice(e--,1)}let d=o.finish();return new dN(d,t,pN(d))}}function pN(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&i.diagnostics.indexOf(t)<0))if(r){if(i.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new uN(r.from,n,r.diagnostic)}else r=new uN(e,n,t||i.diagnostics[0])}),r}const hN=qE.define(),fN=qE.define(),mN=qE.define(),gN=CE.define({create:()=>new dN(rR.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=pN(n,e.selected.diagnostic,i)||pN(n,null,i)}!n.size&&i&&t.state.facet(xN).autoPanel&&(i=null),e=new dN(n,i,r)}for(let n of t.effects)if(n.is(hN)){let r=t.state.facet(xN).autoPanel?n.value.length?PN.open:null:e.panel;e=dN.init(n.value,r,t.state)}else n.is(fN)?e=new dN(e.diagnostics,n.value?PN.open:null,e.selected):n.is(mN)&&(e=new dN(e.diagnostics,e.panel,n.value));return e},provide:e=>[rT.from(e,e=>e.panel),ZA.decorations.from(e,e=>e.diagnostics)]}),ON=rR.mark({class:"cm-lintRange cm-lintRange-active"});function vN(e,t,n){let r,{diagnostics:i}=e.state.field(gN),o=-1,a=-1;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:s})=>{if(t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t<i||n<0)))return r=s.diagnostics,o=e,a=i,!1});let s=e.state.facet(xN).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{pos:o,end:a,above:!0,create:()=>({dom:bN(e,r)})}:null}function bN(e,t){return Dk("ul",{class:"cm-tooltip-lint"},t.map(t=>kN(e,t,!1)))}const yN=e=>{let t=e.state.field(gN,!1);return!(!t||!t.panel||(e.dispatch({effects:fN.of(!1)}),0))},wN=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(gN,!1);var n,r;t&&t.panel||e.dispatch({effects:(n=e.state,r=[fN.of(!0)],n.field(gN,!1)?r:r.concat(qE.appendConfig.of(IN)))});let i=JQ(e,PN.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(gN,!1);if(!t)return!1;let n=e.state.selection.main,r=pN(t.diagnostics,null,n.to+1);return!(!r&&(r=pN(t.diagnostics,null,0),!r||r.from==n.from&&r.to==n.to)||(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),function(e,t,n,r={}){var i;let o=e.state.facet(WQ).map(t=>e.plugin(t)).filter(e=>!!e);if(r.tooltip&&r.tooltip.active){let e=o.find(e=>e.field==r.tooltip.active);e&&(o=[e])}for(let a of o)a.activateHover(e,t,n,null!==(i=r.until)&&void 0!==i?i:()=>!1)}(e,r.from,1,{tooltip:_N,until:e=>e.docChanged||e.newSelection.main.head<r.from||e.newSelection.main.head>r.to}),0))}}],xN=yE.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...ik(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:SN,tooltipFilter:SN,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})})});function SN(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function EN(e){let t=[];if(e)e:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function kN(e,t,n){var r;let i=n?EN(t.actions):[];return Dk("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Dk("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map((n,r)=>{let o=!1,a=r=>{if(r.preventDefault(),o)return;o=!0;let i=pN(e.state.field(gN).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:s}=n,l=i[r]?s.indexOf(i[r]):-1,c=l<0?s:[s.slice(0,l),Dk("u",s.slice(l,l+1)),s.slice(l+1)];return Dk("button",{type:"button",class:"cm-diagnosticAction"+(n.markClass?" "+n.markClass:""),onclick:a,onmousedown:a,"aria-label":` Action: ${s}${l<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&Dk("div",{class:"cm-diagnosticSource"},t.source))}class RN extends tR{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return Dk("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class CN{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=kN(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class PN{constructor(e){this.view=e,this.items=[],this.list=Dk("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(!(t.ctrlKey||t.altKey||t.metaKey)){if(27==t.keyCode)yN(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:n}=this.items[this.selectedIndex],r=EN(n.actions);for(let i=0;i<r.length;i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=pN(this.view.state.field(gN).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}}t.preventDefault()}},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=Dk("div",{class:"cm-panel-lint"},this.list,Dk("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>yN(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(gN).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(gN),n=0,r=!1,i=null,o=new Set;for(e.between(0,this.view.state.doc.length,(e,a,{spec:s})=>{for(let e of s.diagnostics){if(o.has(e))continue;o.add(e);let a,s=-1;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){s=t;break}s<0?(a=new CN(this.view,e),this.items.splice(n,0,a),r=!0):(a=this.items[s],s>n&&(this.items.splice(n,s-n),r=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),i=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new CN(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=pN(this.view.state.field(gN).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:mN.of(t)})}static open(e){return new PN(e)}}function AN(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const QN=ZA.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:AN("#f11")},".cm-lintRange-warning":{backgroundImage:AN("orange")},".cm-lintRange-info":{backgroundImage:AN("#999")},".cm-lintRange-hint":{backgroundImage:AN("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function TN(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function MN(e){let t="hint",n=1;for(let r of e){let e=TN(r.severity);e>n&&(n=e,t=r.severity)}return t}const _N=HQ(vN,{hideOn:function(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(xN).hideOn(e,n,r);if(null!=i)return i;let o=e.startState.doc.lineAt(t.pos);return!(!e.effects.some(e=>e.is(hN))&&!e.changes.touchesRange(o.from,Math.max(o.to,r)))}}),IN=[gN,ZA.decorations.compute([gN],e=>{let{selected:t,panel:n}=e.field(gN);return t&&n&&t.from!=t.to?rR.set([ON.range(t.from,t.to)]):rR.none}),_N,QN];var $N=function(e){void 0===e&&(e={});var t=e.crosshairCursor,n=void 0!==t&&t,r=[];!1!==e.closeBracketsKeymap&&(r=r.concat(JL)),!1!==e.defaultKeymap&&(r=r.concat(j$)),!1!==e.searchKeymap&&(r=r.concat(MD)),!1!==e.historyKeymap&&(r=r.concat(ZI)),!1!==e.foldKeymap&&(r=r.concat(A_)),!1!==e.completionKeymap&&(r=r.concat(lN)),!1!==e.lintKeymap&&(r=r.concat(wN));var i=[];return!1!==e.lineNumbers&&i.push(function(e={}){return[ST.of(e),fT(),RT]}()),!1!==e.highlightActiveLineGutter&&i.push(AT),!1!==e.highlightSpecialChars&&i.push(function(e={}){return[SQ.of(e),EQ||(EQ=OC.fromClass(class{constructor(e){this.view=e,this.decorations=rR.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(SQ)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new vQ({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,o=rE(t[0],0);if(9==o){let e=i.lineAt(r),t=n.state.tabSize,o=xk(e.text,t,r-e.from);return rR.replace({widget:new RQ((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=rR.replace({widget:new kQ(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(SQ);e.startState.facet(SQ)!=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}))]}()),!1!==e.history&&i.push(function(e={}){return[RI,kI.of(e),ZA.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?PI:"historyRedo"==e.inputType?AI:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push(function(e={}){let t={...L_,...e},n=new N_(t,!0),r=new N_(t,!1),i=OC.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(YM)!=e.state.facet(YM)||e.startState.field(S_,!1)!=e.state.field(S_,!1)||ZM(e.startState)!=ZM(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new dk;for(let i of e.viewportLineBlocks){let o=k_(e.state,i.from,i.to)?r:v_(e.state,i.from,i.to)?n:null;o&&t.add(i.from,i.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[i,pT({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||uk.empty},initialSpacer:()=>new N_(t,!1),domEventHandlers:{...o,click:(e,t,n)=>{if(o.click&&o.click(e,t,n))return!0;let r=k_(e.state,t.from,t.to);if(r)return e.dispatch({effects:w_.of(r)}),!0;let i=v_(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:y_.of(i)}),!0)}}}),M_()]}()),!1!==e.drawSelection&&i.push(function(e={}){return[lQ.of(e),uQ,pQ,hQ,lC.of(!0)]}()),!1!==e.dropCursor&&i.push([mQ,gQ]),!1!==e.allowMultipleSelections&&i.push(rk.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push(rk.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let o=n.sliceString(i.from,r);if(!t.some(e=>e.test(o)))return e;let{state:a}=e,s=-1,l=[];for(let{head:e}of a.selection.ranges){let t=a.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=r_(a,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],i=n_(a,n);r!=i&&l.push({from:t.from,to:t.from+r.length,insert:i})}return l.length?[e,{changes:l,sequential:!0}]:e})),!1!==e.syntaxHighlighting&&i.push(V_(W_,{fallback:!0})),!1!==e.bracketMatching&&i.push(function(e={}){return[U_.of(e),nI]}()),!1!==e.closeBrackets&&i.push([KL,WL]),!1!==e.autocompletion&&i.push(sN()),!1!==e.rectangularSelection&&i.push(function(){let e=e=>e.altKey&&0==e.button;return ZA.mouseSelectionStyle.of((t,n)=>e(n)?function(e,t){let n=TQ(e,t),r=e.state.selection;return n?{update(e){if(e.docChanged){let t=e.changes.mapPos(e.startState.doc.line(n.line).from),i=e.state.doc.lineAt(t);n={line:i.number,col:n.col,off:Math.min(n.off,i.length)},r=r.map(e.changes)}},get(t,i,o){let a=TQ(e,t);if(!a)return r;let s=function(e,t,n){let r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),o=[];if(t.off>QQ||n.off>QQ||t.col<0||n.col<0){let a=Math.min(t.off,n.off),s=Math.max(t.off,n.off);for(let t=r;t<=i;t++){let n=e.doc.line(t);n.length<=s&&o.push(OE.range(n.from+a,n.to+s))}}else{let a=Math.min(t.col,n.col),s=Math.max(t.col,n.col);for(let t=r;t<=i;t++){let n=e.doc.line(t),r=Sk(n.text,a,e.tabSize,!0);if(r<0)o.push(OE.cursor(n.to));else{let t=Sk(n.text,s,e.tabSize);o.push(OE.range(n.from+r,n.from+t))}}}return o}(e.state,n,a);return s.length?o?OE.create(s.concat(r.ranges)):OE.create(s):r}}:null}(t,n):null)}()),!1!==n&&i.push(function(e={}){let[t,n]=MQ[e.key||"Alt"],r=OC.fromClass(class{constructor(e){this.view=e,this.isDown=!1}set(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}},{eventObservers:{keydown(e){this.set(e.keyCode==t||n(e))},keyup(e){e.keyCode!=t&&n(e)||this.set(!1)},mousemove(e){this.set(n(e))}}});return[r,ZA.contentAttributes.of(e=>{var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.isDown)?_Q:null})]}()),!1!==e.highlightActiveLine&&i.push(PQ),!1!==e.highlightSelectionMatches&&i.push(function(){let e=[rD,nD];return e}()),e.tabSize&&"number"==typeof e.tabSize&&i.push(e_.of(" ".repeat(e.tabSize))),i.concat([UA.of(r.flat())]).filter(Boolean)};const DN="#e06c75",LN="#abb2bf",NN="#7d8799",zN="#d19a66",jN="#2c313a",BN="#282c34",ZN="#353a42",XN="#528bff",VN=[ZA.theme({"&":{color:LN,backgroundColor:BN},".cm-content":{caretColor:XN},".cm-cursor, .cm-dropCursor":{borderLeftColor:XN},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:LN},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:BN,color:NN,border:"none"},".cm-activeLineGutter":{backgroundColor:jN},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:ZN},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ZN,borderBottomColor:ZN},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:jN,color:LN}}},{dark:!0}),V_(j_.define([{tag:IM.keyword,color:"#c678dd"},{tag:[IM.name,IM.deleted,IM.character,IM.propertyName,IM.macroName],color:DN},{tag:[IM.function(IM.variableName),IM.labelName],color:"#61afef"},{tag:[IM.color,IM.constant(IM.name),IM.standard(IM.name)],color:zN},{tag:[IM.definition(IM.name),IM.separator],color:LN},{tag:[IM.typeName,IM.className,IM.number,IM.changed,IM.annotation,IM.modifier,IM.self,IM.namespace],color:"#e5c07b"},{tag:[IM.operator,IM.operatorKeyword,IM.url,IM.escape,IM.regexp,IM.link,IM.special(IM.string)],color:"#56b6c2"},{tag:[IM.meta,IM.comment],color:NN},{tag:IM.strong,fontWeight:"bold"},{tag:IM.emphasis,fontStyle:"italic"},{tag:IM.strikethrough,textDecoration:"line-through"},{tag:IM.link,color:NN,textDecoration:"underline"},{tag:IM.heading,fontWeight:"bold",color:DN},{tag:[IM.atom,IM.bool,IM.special(IM.variableName)],color:zN},{tag:[IM.processingInstruction,IM.string,IM.inserted],color:"#98c379"},{tag:IM.invalid,color:"#ffffff"}]))];var FN=ZA.theme({"&":{backgroundColor:"#fff"}},{dark:!1});class qN{constructor(e,t){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=t,this.timeoutMS=t,this.callbacks.push(e)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var e=this.callbacks.slice();this.callbacks.length=0,e.forEach(e=>{try{e()}catch(e){console.error("TimeoutLatch callback error:",e)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class WN{constructor(){this.interval=null,this.latches=new Set}add(e){this.latches.add(e),this.start()}remove(e){this.latches.delete(e),0===this.latches.size&&this.stop()}start(){null===this.interval&&(this.interval=setInterval(()=>{this.latches.forEach(e=>{e.tick(),e.isDone&&this.remove(e)})},1))}stop(){null!==this.interval&&(clearInterval(this.interval),this.interval=null)}}var GN=null,HN=ZA.theme({"& .cm-scroller":{height:"100% !important"}}),UN=null,YN=null,KN=XE.define(),JN=[];function ez(e){var t=e.value,n=e.selection,r=e.onChange,i=e.onStatistics,o=e.onCreateEditor,a=e.onUpdate,s=e.extensions,l=void 0===s?JN:s,u=e.autoFocus,d=e.theme,p=void 0===d?"light":d,h=e.height,f=void 0===h?null:h,m=e.minHeight,g=void 0===m?null:m,O=e.maxHeight,v=void 0===O?null:O,b=e.width,y=void 0===b?null:b,w=e.minWidth,x=void 0===w?null:w,S=e.maxWidth,E=void 0===S?null:S,k=e.placeholder,R=void 0===k?"":k,C=e.editable,P=void 0===C||C,A=e.readOnly,Q=void 0!==A&&A,T=e.indentWithTab,M=void 0===T||T,_=e.basicSetup,I=void 0===_||_,$=e.root,D=e.initialState,L=(0,c.useState)(),N=L[0],z=L[1],j=(0,c.useState)(),B=j[0],Z=j[1],X=(0,c.useState)(),V=X[0],F=X[1],q=(0,c.useState)(()=>({current:null}))[0],W=(0,c.useState)(()=>({current:null}))[0],G=function(e,t,n,r,i,o){if(!(e||t||n||r||i||o))return null;var a=JSON.stringify({height:e,minHeight:t,maxHeight:n,width:r,minWidth:i,maxWidth:o});return a===UN?YN:(UN=a,YN=ZA.theme({"&":{height:e,minHeight:t,maxHeight:n,width:r,minWidth:i,maxWidth:o}}))}(f,g,v,y,x,E),H=ZA.updateListener.of(e=>{if(e.docChanged&&"function"==typeof r&&!e.transactions.some(e=>e.annotation(KN))){q.current?q.current.reset():(q.current=new qN(()=>{if(W.current){var e=W.current;W.current=null,e()}q.current=null},200),("undefined"==typeof window?new WN:(GN||(GN=new WN),GN)).add(q.current));var t=e.state.doc.toString();r(t,e)}i&&i((e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}))(e))}),U=function(e){void 0===e&&(e={});var t=e,n=t.indentWithTab,r=void 0===n||n,i=t.editable,o=void 0===i||i,a=t.readOnly,s=void 0!==a&&a,l=t.theme,c=void 0===l?"light":l,u=t.placeholder,d=void 0===u?"":u,p=t.basicSetup,h=void 0===p||p,f=[];switch(r&&f.unshift(UA.of([B$])),h&&("boolean"==typeof h?f.unshift($N()):f.unshift($N(h))),d&&f.unshift(function(e){let t=OC.fromClass(class{constructor(t){this.view=t,this.placeholder=e?rR.set([rR.widget({widget:new AQ(e),side:1}).range(0)]):rR.none}get decorations(){return this.view.state.doc.length?rR.none:this.placeholder}},{decorations:e=>e.decorations});return"string"==typeof e?[t,ZA.contentAttributes.of({"aria-placeholder":e})]:t}(d)),c){case"light":f.push(FN);break;case"dark":f.push(VN);break;case"none":break;default:f.push(c)}return!1===o&&f.push(ZA.editable.of(!1)),s&&f.push(rk.readOnly.of(!0)),[...f]}({theme:p,editable:P,readOnly:Q,placeholder:R,indentWithTab:M,basicSetup:I}),Y=[H,...G?[G]:[],HN,...U];return a&&"function"==typeof a&&Y.push(ZA.updateListener.of(a)),Y=Y.concat(l),(0,c.useLayoutEffect)(()=>{if(N&&!V){var e={doc:t,selection:n,extensions:Y},r=D?rk.fromJSON(D.json,e,D.fields):rk.create(e);if(F(r),!B){var i=new ZA({state:r,parent:N,root:$});Z(i),o&&o(i,r)}}return()=>{B&&(F(void 0),Z(void 0))}},[N,V]),(0,c.useEffect)(()=>{e.container&&z(e.container)},[e.container]),(0,c.useEffect)(()=>()=>{B&&(B.destroy(),Z(void 0)),q.current&&(q.current.cancel(),q.current=null)},[B]),(0,c.useEffect)(()=>{u&&B&&B.focus()},[u,B]),(0,c.useEffect)(()=>{B&&B.dispatch({effects:qE.reconfigure.of(Y)})},[p,l,f,g,v,y,x,E,R,P,Q,M,I,r,a]),(0,c.useEffect)(()=>{if(void 0!==t){var e=B?B.state.doc.toString():"";if(B&&t!==e){var n=()=>{B&&t!==B.state.doc.toString()&&B.dispatch({changes:{from:0,to:B.state.doc.toString().length,insert:t||""},annotations:[KN.of(!0)]})};q.current&&!q.current.isDone?W.current=n:n()}}},[t,B]),{state:V,setState:F,view:B,setView:Z,container:N,setContainer:z}}var tz=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nz=(0,c.forwardRef)((e,t)=>{var n=e.className,r=e.value,i=void 0===r?"":r,o=e.selection,a=e.extensions,s=void 0===a?[]:a,l=e.onChange,u=e.onStatistics,d=e.onCreateEditor,p=e.onUpdate,h=e.autoFocus,f=e.theme,m=void 0===f?"light":f,g=e.height,O=e.minHeight,v=e.maxHeight,b=e.width,y=e.minWidth,w=e.maxWidth,x=e.basicSetup,S=e.placeholder,E=e.indentWithTab,k=e.editable,R=e.readOnly,C=e.root,P=e.initialState,A=Eo(e,tz),Q=(0,c.useRef)(null),T=ez({root:C,value:i,autoFocus:h,theme:m,height:g,minHeight:O,maxHeight:v,width:b,minWidth:y,maxWidth:w,basicSetup:x,placeholder:S,indentWithTab:E,editable:k,readOnly:R,selection:o,onChange:l,onStatistics:u,onCreateEditor:d,onUpdate:p,extensions:s,initialState:P}),M=T.state,_=T.view,I=T.container,$=T.setContainer;(0,c.useImperativeHandle)(t,()=>({editor:Q.current,state:M,view:_}),[Q,I,M,_]);var D=(0,c.useCallback)(e=>{Q.current=e,$(e)},[$]);if("string"!=typeof i)throw new Error("value must be typeof string but got "+typeof i);var L="string"==typeof m?"cm-theme-"+m:"cm-theme";return(0,pe.jsx)("div",Ce({ref:D,className:L+(n?" "+n:"")},A))});nz.displayName="CodeMirror";const rz=nz;class iz{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 iz(e,[],t,n,n,0,[],0,r?new oz(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&&this.setLookAhead(this.pos),a=i.dynamicPrecedence(r);if(a&&(this.score+=a),0==n)return r<i.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?8:4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from;r<i.minRepeatTerm&&l==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let 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.buffer.length;if(e>0&&0==this.buffer[e-4]&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t)return void(this.buffer[e-2]=n)}}if(i&&this.pos!=n){let i=this.buffer.length;if(i>0&&(0!=this.buffer[i-4]||this.buffer[i-1]<0)){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)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:o}=this.p;this.pos=r;let a=o.stateFlag(i,1);!a&&(r>n||t<=o.maxNode)&&(this.reducePos=r),this.pushState(i,a?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=o.maxNode&&this.buffer.push(t,n,r,4)}}apply(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-4]&&(t-=4);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 iz(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 az(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))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,i=0;i<t.length;i+=2)(r=t[i+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[i],r);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))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,i=this.stack.length-3*n;if(i<0||e.getGoto(this.stack[i],r,!1)<0){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 oz(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead||(this.emitLookAhead(),this.lookAhead=e,0))}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class oz{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class az{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class sz{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 sz(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 sz(this.stack,this.pos,this.index)}}function lz(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 cz{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const uz=new cz;class dz{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=uz,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,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new 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=uz,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 pz{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;mz(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}pz.prototype.contextual=pz.prototype.fallback=pz.prototype.extend=!1;class hz{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?lz(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(mz(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))}}hz.prototype.contextual=pz.prototype.fallback=pz.prototype.extend=!1;class fz{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function mz(e,t,n,r,i,o){let a=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;0!=(s&e[a]);){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||Oz(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])){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)){a=e[o+2],t.advance();continue e}c=i+1}}break}a=e[n+3*u-1]}}function gz(e,t,n){for(let r,i=t;65535!=(r=e[i]);i++)if(r==n)return i-t;return-1}function Oz(e,t,n,r){let i=gz(n,r,t);return i<0||gz(n,r,e)<i}const vz="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let bz=null;function yz(e,t,n){let r=e.cursor(jT.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class wz{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?yz(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?yz(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],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],o=this.start[t]+n.positions[r];if(o>e)return this.nextStart=o,null;if(i instanceof BT){if(o==e){if(o<this.safeFrom)return null;let e=o+i.length;if(e<=this.safeTo){let t=i.prop(_T.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,o+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+i.length}}}class xz{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new cz)}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))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 cz,n.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 cz,{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?e.extended=i>>1:e.value=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]){0==r&&2==a[s+1]&&(r=this.putAction(Pz(a,s+2),t,n,r));break}s=Pz(a,s+2)}a[s]==t&&(r=this.putAction(Pz(a,s+1),t,n,r))}return r}}class Sz{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 dz(t,r),this.tokens=new xz(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[iz.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new wz(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 n=this.tokens.getMainToken(a);t.push(n.value,n.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 vz&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw vz&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new 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 vz&&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--}else if(i.length>1){e: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(e--,1);continue e}i.splice(n--,1)}}}i.length>12&&(i.sort((e,t)=>t.score-e.score),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 new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let r=e.pos,{parser:i}=this,o=vz?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&r>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 a=this.fragments.nodeAt(r);a;){let r=this.parser.nodeSet.types[a.type.id]==a.type?i.getGoto(e.state,a.type.id):-1;if(r>-1&&a.length&&(!t||(a.prop(_T.contextHash)||0)==n))return e.useNode(a,r),vz&&console.log(o+this.stackID(e)+` (via reuse of ${i.getName(a.type.id)})`),!0;if(!(a instanceof BT)||0==a.children.length||a.positions[0]>0)break;let s=a.children[0];if(!(s instanceof BT&&0==a.positions[0]))break;a=s}}let a=i.stateSlot(e.state,4);if(a>0)return e.reduce(a),vz&&console.log(o+this.stackID(e)+` (via always-reduce ${i.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],d=a==s.length||!n,p=d?e:e.split(),h=this.tokens.mainToken;if(p.apply(l,c,h?h.start:p.pos,u),vz&&console.log(o+this.stackID(p)+` (via ${65536&l?`reduce of ${i.getName(65535&l)}`:"shift"} for ${i.getName(c)} @ ${r}${p==e?"":", split"})`),d)return!0;p.pos>r?t.push(p):n.push(p)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Ez(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[1+(o<<1)],c=vz?this.stackID(a)+" -> ":"";if(a.deadEnd){if(i)continue;if(i=!0,a.restart(),vz&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))continue}let u=a.split(),d=c;for(let e=0;e<10&&u.forceReduce()&&(vz&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,n));e++)vz&&(d=this.stackID(u)+" -> ");for(let e of a.recoverByInsert(s))vz&&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),vz&&console.log(c+this.stackID(a)+` (via recover-delete ${this.parser.getName(s)})`),Ez(a,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),BT.build({buffer:sz.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=(bz||(bz=new WeakMap)).get(e);return t||bz.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function Ez(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class kz{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const Rz=e=>e;class Cz extends sM{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new 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]),r=[];for(let e=0;e<t.length;e++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=_T[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let o=t[n+-r];for(let a=-r;a>0;a--)i(t[n++],e,o);n++}}}this.nodeSet=new LT(t.map((t,i)=>DT.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=QT;let o=lz(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(Az),this.states=lz(e.states,Uint32Array),this.data=lz(e.stateData),this.goto=lz(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new pz(o,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 Sz(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;if(o)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i,o=this.stateSlot(e,r?2:1);;o+=3){if(65535==(i=n[o])){if(1!=n[o+1]){if(2==n[o+1])return Pz(n,o+2);break}i=n[o=Pz(n,o+2)]}if(i==t||0==i)return Pz(n,o+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])break;n=Pz(this.data,n+2)}r=t(Pz(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])break;n=Pz(this.data,n+2)}if(!(1&this.data[n+2])){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(Cz.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new 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]=Az(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,i=this.dialects[t[e]];65535!=(n=this.data[i++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[n]=1;return new kz(e,n,r)}static deserialize(e){return new Cz(e)}}function Pz(e,t){return e[t]|e[t+1]<<16}function Az(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}const Qz=[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 Tz(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Mz(e){return e>=48&&e<=57}function _z(e){return Mz(e)||e>=97&&e<=102||e>=65&&e<=70}const Iz=(e,t,n)=>(r,i)=>{for(let o=!1,a=0,s=0;;s++){let{next:l}=r;if(Tz(l)||45==l||95==l||o&&Mz(l))!o&&(45!=l||s>0)&&(o=!0),a===s&&45==l&&a++,r.advance();else{if(92!=l||10==r.peek(1)){o&&r.acceptToken(2==a&&i.canShift(2)?t:40==l?n:e);break}if(r.advance(),_z(r.next)){do{r.advance()}while(_z(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();o=!0}}},$z=new fz(Iz(146,2,147),{contextual:!0}),Dz=new fz(Iz(148,3,4),{contextual:!0}),Lz=new fz(e=>{if(Qz.includes(e.peek(-1))){let{next:t}=e;(Tz(t)||95==t||35==t||46==t||42==t||91==t||58==t&&Tz(e.peek(1))||45==t||38==t)&&e.acceptToken(145)}}),Nz=new fz(e=>{if(!Qz.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),Tz(t)){do{e.advance()}while(Tz(e.next)||Mz(e.next));e.acceptToken(1)}}}),zz=hM({"AtKeyword import charset namespace keyframes media supports font-feature-values":IM.definitionKeyword,"from to selector scope MatchFlag":IM.keyword,NamespaceName:IM.namespace,KeyframeName:IM.labelName,KeyframeRangeName:IM.operatorKeyword,TagName:IM.tagName,ClassName:IM.className,PseudoClassName:IM.constant(IM.className),IdName:IM.labelName,"FeatureName PropertyName":IM.propertyName,AttributeName:IM.attributeName,NumberLiteral:IM.number,KeywordQuery:IM.keyword,UnaryQueryOp:IM.operatorKeyword,"CallTag ValueName FontName":IM.atom,VariableName:IM.variableName,Callee:IM.operatorKeyword,Unit:IM.unit,"UniversalSelector NestingSelector":IM.definitionOperator,"MatchOp CompareOp":IM.compareOperator,"ChildOp SiblingOp, LogicOp":IM.logicOperator,BinOp:IM.arithmeticOperator,Important:IM.modifier,Comment:IM.blockComment,ColorLiteral:IM.color,"ParenthesizedContent StringLiteral":IM.string,":":IM.punctuation,"PseudoOp #":IM.derefOperator,"; , |":IM.separator,"( )":IM.paren,"[ ]":IM.squareBracket,"{ }":IM.brace}),jz={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:152,"url-prefix":152,domain:152,regexp:152},Bz={__proto__:null,or:104,and:104,not:112,only:112,layer:206},Zz={__proto__:null,selector:118,style:124,layer:202},Xz={__proto__:null,"@import":198,"@media":210,"@charset":214,"@namespace":218,"@keyframes":224,"@supports":236,"@scope":240,"@font-feature-values":246},Vz={__proto__:null,to:243},Fz=Cz.deserialize({version:14,states:"MlQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FnO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#EOO'dQdO'#EQO'oQdO'#EXO'oQdO'#E[OOQP'#Fn'#FnO)RQhO'#E}OOQS'#Fm'#FmOOQS'#FQ'#FQQYQdOOO)YQdO'#EbO*iQhO'#EhO)YQdO'#EjO*pQdO'#ElO*{QdO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S'p&v(VR(V'qQ&n%]R'j&nQ&j%YR'h&jQ!QXR#m!QQ&d${R'c&dQ#]nS%Q#]%RR%R#^Q'y'RR(['yQ$m!yR&U$mQ&]$rR'_&]Q']&[R(Q']Q#XkR$y#XQ$P!dR%f$P_bOPco!R#[%P^XOPco!R#[%PQ!`]Q!a^Q#i|Q#j}Q#k!OQ#l!PQ$u#SQ%Y#pR'g&iR%^#qQ!rdQ!{f[$X!n!o!p$[$^$`Q${#Zh%[#q%]%a&m&r&w&y'i'q'r(U(aQ%`#vQ%z$cS&b${&dQ&h%WQ'b&cR'{'T]$Z!n!o!p$[$^$`Q!d`U!ye!r$gQ#RiQ#y!cS#|!d$PQ$R!eQ%d#}Q%e$OQ%i$SS&O$i&QQ&T$lR'n&uQ#{!cW%r$W%m&{'uQ&t%bQ'w'OQ(T'mR(c(YQ%u$WQ&z%mQ't&{R(X'uX%t$W%m&{'uR%k$SR%Z#pQpPR#o!RQ!zeQ$f!rR%}$g",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList , UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:172,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[zz],skippedNodes:[0,5,127],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!o`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$[~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$[~!o`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$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styles:[1,126]},dynamicPrecedences:{94:1},specialized:[{term:147,get:e=>jz[e]||-1},{term:148,get:e=>Bz[e]||-1},{term:4,get:e=>Zz[e]||-1},{term:28,get:e=>Xz[e]||-1},{term:146,get:e=>Vz[e]||-1}],tokenPrec:2405});let qz=null;function Wz(){if(!qz&&"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)));qz=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return qz||[]}const Gz=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),Hz=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(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}))),Uz=["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})),Yz=["@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})),Kz=/^(\w[\w-]*|-\w[\w-]*|)$/,Jz=/^-(-[\w-]*)?$/,ej=new oM,tj=["Declaration"];function nj(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function rj(e,t,n){if(t.to-t.from>4096){let r=ej.get(t);if(r)return r;let i=[],o=new Set,a=t.cursor(jT.IncludeAnonymous);if(a.firstChild())do{for(let t of rj(e,a.node,n))o.has(t.label)||(o.add(t.label),i.push(t))}while(a.nextSibling());return ej.set(t,i),i}{let r=[],i=new Set;return t.cursor().iterate(t=>{var o;if(n(t)&&t.matchContext(tj)&&":"==(null===(o=t.node.nextSibling)||void 0===o?void 0:o.name)){let n=e.sliceString(t.from,t.to);i.has(n)||(i.add(n),r.push({label:n,type:"variable"}))}}),r}}const ij=e=>t=>{let{state:n,pos:r}=t,i=ZM(n).resolveInner(r,-1),o=i.type.isError&&i.from==i.to-1&&"-"==n.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(o||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:Wz(),validFor:Kz};if("ValueName"==i.name)return{from:i.from,options:Hz,validFor:Kz};if("PseudoClassName"==i.name)return{from:i.from,options:Gz,validFor:Kz};if(e(i)||(t.explicit||o)&&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"Callee"==(null==r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)}(i,n.doc))return{from:e(i)||o?i.from:r,options:rj(n.doc,nj(i),e),validFor:Jz};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:Wz(),validFor:Kz};return{from:i.from,options:Uz,validFor:Kz}}if("AtKeyword"==i.name)return{from:i.from,options:Yz,validFor:Kz};if(!t.explicit)return null;let a=i.resolve(r),s=a.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==a.name?{from:r,options:Gz,validFor:Kz}:s&&":"==s.name&&"Declaration"==a.name||"ArgList"==a.name?{from:r,options:Hz,validFor:Kz}:"Block"==a.name||"Styles"==a.name?{from:r,options:Wz(),validFor:Kz}:null},oj=ij(e=>"VariableName"==e.name),aj=BM.define({name:"css",parser:Fz.configure({props:[o_.add({Declaration:h_()}),m_.add({"Block KeyframeList":g_})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),sj=[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],lj=new class{constructor(e){this.start=e.start,this.shift=e.shift||Rz,this.reduce=e.reduce||Rz,this.reuse=e.reuse||Rz,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),cj=new fz((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),uj=new fz((e,t)=>{let n,{next:r}=e;sj.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(316))},{contextual:!0}),dj=new fz((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),pj=new fz((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 hj(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}const fj=new fz((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return;if(e.advance(),47==e.next)return;let n=0;for(;sj.indexOf(e.next)>-1;)e.advance(),n++;if(hj(e.next,!0)){for(e.advance(),n++;hj(e.next,!1);)e.advance(),n++;for(;sj.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!hj(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),mj=hM({"get set async static":IM.modifier,"for while do if else switch try catch finally return throw break continue default case defer":IM.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":IM.operatorKeyword,"let var const using function class extends":IM.definitionKeyword,"import export from":IM.moduleKeyword,"with debugger new":IM.keyword,TemplateString:IM.special(IM.string),super:IM.atom,BooleanLiteral:IM.bool,this:IM.self,null:IM.null,Star:IM.modifier,VariableName:IM.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":IM.function(IM.variableName),VariableDefinition:IM.definition(IM.variableName),Label:IM.labelName,PropertyName:IM.propertyName,PrivatePropertyName:IM.special(IM.propertyName),"CallExpression/MemberExpression/PropertyName":IM.function(IM.propertyName),"FunctionDeclaration/VariableDefinition":IM.function(IM.definition(IM.variableName)),"ClassDeclaration/VariableDefinition":IM.definition(IM.className),"NewExpression/VariableName":IM.className,PropertyDefinition:IM.definition(IM.propertyName),PrivatePropertyDefinition:IM.definition(IM.special(IM.propertyName)),UpdateOp:IM.updateOperator,"LineComment Hashbang":IM.lineComment,BlockComment:IM.blockComment,Number:IM.number,String:IM.string,Escape:IM.escape,ArithOp:IM.arithmeticOperator,LogicOp:IM.logicOperator,BitOp:IM.bitwiseOperator,CompareOp:IM.compareOperator,RegExp:IM.regexp,Equals:IM.definitionOperator,Arrow:IM.function(IM.punctuation),": Spread":IM.punctuation,"( )":IM.paren,"[ ]":IM.squareBracket,"{ }":IM.brace,"InterpolationStart InterpolationEnd":IM.special(IM.brace),".":IM.derefOperator,", ;":IM.separator,"@":IM.meta,TypeName:IM.typeName,TypeDefinition:IM.definition(IM.typeName),"type enum interface implements namespace module declare":IM.definitionKeyword,"abstract global Privacy readonly override":IM.modifier,"is keyof unique infer asserts":IM.operatorKeyword,JSXAttributeValue:IM.attributeValue,JSXText:IM.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":IM.angleBracket,"JSXIdentifier JSXNameSpacedName":IM.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":IM.attributeName,"JSXBuiltin/JSXIdentifier":IM.standard(IM.tagName)}),gj={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},Oj={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},vj={__proto__:null,"<":193},bj=Cz.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0LsO'#IUO9uQ!0LrO'#IWO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jv'#JvO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T%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer 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:380,context:lj,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[mj],skippedNodes:[0,5,6,278],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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!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$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:[uj,dj,pj,fj,2,3,4,5,6,7,8,9,10,11,12,13,14,cj,new hz("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new hz("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>gj[e]||-1},{term:343,get:e=>Oj[e]||-1},{term:95,get:e=>vj[e]||-1}],tokenPrec:15201}),yj=[ZL("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),ZL("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),ZL("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),ZL("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),ZL("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),ZL("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),ZL("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),ZL("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),ZL("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),ZL('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),ZL('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],wj=yj.concat([ZL("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),ZL("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),ZL("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),xj=new oM,Sj=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Ej(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const kj=["FunctionDeclaration"],Rj={FunctionDeclaration:Ej("function"),ClassDeclaration:Ej("class"),ClassExpression:()=>!0,EnumDeclaration:Ej("constant"),TypeAliasDeclaration:Ej("type"),NamespaceDeclaration:Ej("namespace"),VariableDefinition(e,t){e.matchContext(kj)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function Cj(e,t){let n=xj.get(t);if(n)return n;let r=[],i=!0;function o(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(jT.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=Rj[t.name];if(e&&e(t,o)||Sj.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of Cj(e,t.node))r.push(n);return!1}}),xj.set(t,r),r}const Pj=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Aj=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function Qj(e){let t=ZM(e.state).resolveInner(e.pos,-1);if(Aj.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&Pj.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)Sj.has(n.name)&&(r=r.concat(Cj(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:Pj}}const Tj=BM.define({name:"javascript",parser:bj.configure({props:[o_.add({IfStatement:h_({except:/^\s*({|else\b)/}),TryStatement:h_({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:e=>e.baseIndent,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:d_({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":h_({except:/^\s*{/}),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=>e.column(e.node.from)+e.unit}),m_.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":g_,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=null===(t=e.firstChild)||void 0===t?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Mj={test:e=>/^JSX/.test(e.name),facet:LM({commentTokens:{block:{open:"{/*",close:"*/}"}}})},_j=Tj.configure({dialect:"ts"},"typescript"),Ij=Tj.configure({dialect:"jsx",props:[NM.add(e=>e.isTop?[Mj]:void 0)]}),$j=Tj.configure({dialect:"jsx ts",props:[NM.add(e=>e.isTop?[Mj]:void 0)]},"typescript");let Dj=e=>({label:e,type:"keyword"});const Lj="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(Dj),Nj=Lj.concat(["declare","implements","private","protected","public"].map(Dj));function zj(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""}const jj="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Bj=ZA.inputHandler.of((e,t,n,r,i)=>{if((jj?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Tj.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(e=>{var t;let n,{head:i}=e,o=ZM(a).resolveInner(i-1,-1);if("JSXStartTag"==o.name&&(o=o.parent),a.doc.sliceString(i-1,i)!=r||"JSXAttributeValue"==o.name&&o.to>i);else{if(">"==r&&"JSXFragmentTag"==o.name)return{range:e,changes:{from:i,insert:"</>"}};if("/"==r&&"JSXStartCloseTag"==o.name){let e=o.parent,r=e.parent;if(r&&e.from==i-2&&((n=zj(a.doc,r.firstChild,i))||"JSXFragmentTag"==(null===(t=r.firstChild)||void 0===t?void 0:t.name))){let e=`${n}>`;return{range:OE.cursor(i+e.length,-1),changes:{from:i,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}}(o);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(a.doc.sliceString(i,i+2))&&(n=zj(a.doc,t,i)))return{range:e,changes:{from:i,insert:`</${n}>`}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function Zj(e){return Zj="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},Zj(e)}const Xj=function(e){var t,n,r=e.label,i=void 0===r?"":r,o=e.attributes,a=void 0===o?"":o,s=e.setAttributes,l=e.attributesKey,c=void 0===l?"":l,u=e.onChange,d=void 0!==u&&u,p=e.height,h=void 0===p?"180px":p,f=e.defaultLanguage,m=void 0===f?"css":f;return React.createElement("div",{className:"sp-eab-code-editor-component sp-eab-component-mb"},React.createElement("div",{className:"sp-eab-code-editor-label"},React.createElement("p",{className:"sp-eab-component-title"},i)),React.createElement("div",{className:"sp-eab-code-editor",style:{height:h}},React.createElement("div",{className:"sp-eab-codemirror-wrapper",style:{backgroundColor:"#1e1e1e"}},React.createElement(rz,{value:a||"",height:h||"180px",extensions:(t=m||"css",n=[],"javascript"===t?n.push(function(e={}){let t=e.jsx?e.typescript?$j:Ij:e.typescript?_j:Tj,n=e.typescript?wj.concat(Nj):yj.concat(Lj);return new KM(t,[Tj.data.of({autocomplete:(r=Aj,i=BD(n),e=>{for(let t=ZM(e.state).resolveInner(e.pos,-1);t;t=t.parent){if(r.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return i(e)})}),Tj.data.of({autocomplete:Qj}),e.jsx?Bj:[]]);var r,i}({jsx:!0})):n.push(new KM(aj,aj.data.of({autocomplete:oj}))),n.push(sN()),n),theme:VN,onChange:function(e){d?d(e):s&&c&&s(function(e,t,n){return(t=function(e){var t=function(e){if("object"!=Zj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Zj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},c,e))},basicSetup:{lineNumbers:!0,highlightActiveLineGutter:!0,highlightSpecialChars:!0,foldGutter:!0,drawSelection:!0,dropCursor:!0,allowMultipleSelections:!0,indentOnInput:!0,syntaxHighlighting:!0,bracketMatching:!0,closeBrackets:!0,autocompletion:!0,rectangularSelection:!0,crosshairCursor:!0,highlightActiveLine:!0,highlightSelectionMatches:!0,closeBracketsKeymap:!0,searchKeymap:!0,foldKeymap:!0,tabSize:4}}))))};var Vj=[{option_name:"eap_data_remove",label:(0,l.__)("Clean-up Data on Deletion","easy-accordion-free"),infoText:(0,l.__)("Check this if you would like Easy Accordion to completely remove all of its data when the plugin is deleted.","easy-accordion-free"),inputType:"checkbox"},{option_name:"eap_focus_style",label:(0,l.__)("Focus Style for Accessibility","easy-accordion-free"),infoText:(0,l.__)("Check this to enable focus style to improve accessibility.","easy-accordion-free"),inputType:"checkbox"}],Fj={advanced:{eap_data_remove:"0",eap_focus_style:"0",eap_editor_preference:""},additional:{ea_custom_css:"",custom_js:""},"woocommerce-faqs":{eap_woo_faq:"0",eap_woo_faq_label:"FAQs",eap_woo_faq_label_priority:"50",eap_woo_set_tab:[]},integrations:{},tools:{}},qj=[{label:(0,l.__)("Advanced Controls","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M7.83398 13.3335H14.5007",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M9.16602 3.3335L14.4993 3.3335",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M2.5 3.3335H5.16667",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M2.5 8.3335H9.16667",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M2.5 13.3335H3.83333",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M13.166 8.3335H14.4993",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M6.83398 14.6665C6.52336 14.6665 6.36804 14.6665 6.24553 14.6158C6.08218 14.5481 5.95239 14.4183 5.88473 14.255C5.83398 14.1324 5.83398 13.9771 5.83398 13.6665V12.9998C5.83398 12.6892 5.83398 12.5339 5.88473 12.4114C5.95239 12.248 6.08218 12.1182 6.24553 12.0506C6.36804 11.9998 6.52336 11.9998 6.83398 11.9998C7.14461 11.9998 7.29992 11.9998 7.42245 12.0506C7.58578 12.1182 7.71558 12.248 7.78325 12.4114C7.83398 12.5339 7.83398 12.6892 7.83398 12.9998V13.6665C7.83398 13.9771 7.83398 14.1324 7.78325 14.255C7.71558 14.4183 7.58578 14.5481 7.42245 14.6158C7.29992 14.6665 7.14461 14.6665 6.83398 14.6665Z",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M8.16602 4.6665C7.85542 4.6665 7.70008 4.6665 7.57755 4.61577C7.41422 4.5481 7.28442 4.4183 7.21675 4.25497C7.16602 4.13244 7.16602 3.9771 7.16602 3.6665V2.99984C7.16602 2.68924 7.16602 2.5339 7.21675 2.41137C7.28442 2.24804 7.41422 2.11824 7.57755 2.05057C7.70008 1.99984 7.85542 1.99984 8.16602 1.99984C8.47662 1.99984 8.63195 1.99984 8.75448 2.05057C8.91782 2.11824 9.04762 2.24804 9.11528 2.41137C9.16602 2.5339 9.16602 2.68924 9.16602 2.99984V3.6665C9.16602 3.9771 9.16602 4.13244 9.11528 4.25497C9.04762 4.4183 8.91782 4.5481 8.75448 4.61577C8.63195 4.6665 8.47662 4.6665 8.16602 4.6665Z",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M10.166 9.6665C9.85542 9.6665 9.70008 9.6665 9.57755 9.61576C9.41422 9.5481 9.28442 9.41831 9.21675 9.25497C9.16602 9.13244 9.16602 8.9771 9.16602 8.6665V7.99984C9.16602 7.68924 9.16602 7.5339 9.21675 7.41137C9.28442 7.24804 9.41422 7.11824 9.57755 7.05057C9.70008 6.99984 9.85542 6.99984 10.166 6.99984C10.4766 6.99984 10.6319 6.99984 10.7545 7.05057C10.9178 7.11824 11.0476 7.24804 11.1153 7.41137C11.166 7.5339 11.166 7.68924 11.166 7.99984V8.6665C11.166 8.9771 11.166 9.13244 11.1153 9.25497C11.0476 9.41831 10.9178 9.5481 10.7545 9.61576C10.6319 9.6665 10.4766 9.6665 10.166 9.6665Z",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}))},value:"advanced"},{label:(0,l.__)("WooCommerce FAQs","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#WooCommerceFAQsTabIcon)",stroke:"#2F2F2F"},React.createElement("path",{d:"m5.334 10.667 5.813-.485c1.82-.151 2.228-.549 2.43-2.363L14 4M4 4h10.667",strokeLinecap:"round"}),React.createElement("path",{d:"M4.001 14.667a1.333 1.333 0 1 0 0-2.667 1.333 1.333 0 0 0 0 2.667Zm7.332 0a1.333 1.333 0 1 0 0-2.667 1.333 1.333 0 0 0 0 2.667Z"}),React.createElement("path",{d:"M5.334 13.334h4.667m-8.667-12h.644c.63 0 1.179.416 1.331 1.01l1.984 7.707c.1.39.014.802-.234 1.124L4.422 12",strokeLinecap:"round"})),React.createElement("defs",null,React.createElement("clipPath",{id:"WooCommerceFAQsTabIcon"},React.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"}))))},value:"woocommerce-faqs"},{label:(0,l.__)("Integrations","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#a)"},React.createElement("path",{d:"M11.142 1.357a1.202 1.202 0 0 1 .945 1.944l-.208.265.169.293 1.562 2.707.168.292.334-.046c.069-.01.123-.015.17-.015a1.202 1.202 0 1 1-.17 2.391l-.334-.046-.168.292-1.563 2.708-.17.293.209.265c.162.206.258.462.258.74a1.203 1.203 0 0 1-2.319.449l-.126-.314H6.101l-.126.314a1.2 1.2 0 0 1-1.116.755l-.123-.006a1.204 1.204 0 0 1-1.08-1.198l.005-.103c.02-.239.112-.458.253-.638l.209-.265-.17-.293-1.562-2.707-.168-.292-.334.046a1.203 1.203 0 0 1-1.373-1.19l.005-.122a1.204 1.204 0 0 1 1.198-1.08c.047 0 .1.006.169.016l.334.046.168-.292L3.953 3.86l.17-.293-.209-.265a1.2 1.2 0 0 1-.258-.742l.006-.123a1.204 1.204 0 0 1 1.074-1.074l.123-.006c.505 0 .937.311 1.116.754l.126.314h3.798l.126-.314a1.2 1.2 0 0 1 1.117-.754Zm-6.283 11.15a.934.934 0 0 0-.928.838l-.005.095c0 .484.367.881.838.93l.095.004a.933.933 0 0 0 .934-.934l-.005-.095a.934.934 0 0 0-.929-.838Zm6.283 0a.934.934 0 0 0-.93.838l-.004.095a.933.933 0 1 0 1.867 0l-.005-.095a.934.934 0 0 0-.928-.838Zm-5.167-9.5a1.2 1.2 0 0 1-1.116.756l-.17-.014-.335-.047-.167.292-1.563 2.707-.169.293.208.266a1.19 1.19 0 0 1 0 1.481l-.209.266.17.293 1.564 2.707.167.292.334-.047.17-.014c.505 0 .937.311 1.116.754l.126.314h3.798l.126-.314a1.2 1.2 0 0 1 1.285-.74l.335.047.168-.292L13.376 9.3l.17-.293-.21-.266A1.2 1.2 0 0 1 13.079 8l.005-.103c.02-.24.111-.458.252-.637l.21-.267-.17-.293-1.562-2.705-.168-.292-.336.047a1.204 1.204 0 0 1-1.285-.741L9.9 2.694H6.101zM8 5.85A2.151 2.151 0 1 1 5.85 8l.01-.22a2.15 2.15 0 0 1 1.92-1.92zm0 .3a1.85 1.85 0 0 0-.19 3.69l.19.01A1.85 1.85 0 0 0 9.85 8l-.01-.19A1.85 1.85 0 0 0 8 6.15ZM4.86 1.626a.934.934 0 0 0-.93.838l-.004.096c0 .483.367.88.838.928l.095.005a.934.934 0 0 0 .934-.933l-.005-.096a.934.934 0 0 0-.929-.838Zm6.282 0a.933.933 0 0 0-.93.838l-.004.096a.933.933 0 1 0 1.867 0l-.005-.096a.934.934 0 0 0-.928-.838Zm-8.49 6.372a.934.934 0 0 0-1.867 0V8a.933.933 0 1 0 1.867 0Zm12.564 0a.934.934 0 0 0-1.867 0V8a.933.933 0 1 0 1.867 0Z",stroke:"#2f2f2f"})),React.createElement("defs",null,React.createElement("clipPath",{id:"a"},React.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"}))))},value:"integrations"},{label:(0,l.__)("Additional CSS & JS","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M10.5 6.6665L11.3177 7.3713C11.6615 7.66757 11.8333 7.81577 11.8333 7.99984C11.8333 8.1839 11.6615 8.3321 11.3177 8.62837L10.5 9.33317",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M5.16634 6.6665L4.34865 7.3713C4.00489 7.66757 3.83301 7.81577 3.83301 7.99984C3.83301 8.1839 4.00489 8.3321 4.34865 8.62837L5.16634 9.33317",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M8.50033 6L7.16699 10",stroke:"#2F2F2F",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M1.5 7.99984C1.5 5.01428 1.5 3.5215 2.42749 2.594C3.35499 1.6665 4.84777 1.6665 7.83333 1.6665C10.8189 1.6665 12.3117 1.6665 13.2392 2.594C14.1667 3.5215 14.1667 5.01428 14.1667 7.99984C14.1667 10.9854 14.1667 12.4782 13.2392 13.4057C12.3117 14.3332 10.8189 14.3332 7.83333 14.3332C4.84777 14.3332 3.35499 14.3332 2.42749 13.4057C1.5 12.4782 1.5 10.9854 1.5 7.99984Z",stroke:"#2F2F2F"}))},value:"additional"},{label:(0,l.__)("Tools","easy-accordion-free"),Icon:function(){return React.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M5.41 9.866h6M9.91 8.25l1.67 1.616-1.67 1.884m.67-5.884h-6m1.5-1.616L4.41 5.866 6.08 7.75",stroke:"#2f2f2f",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M1.5 8c0-2.986 0-4.478.927-5.406.928-.927 2.42-.927 5.406-.927s4.479 0 5.406.927c.928.928.928 2.42.928 5.406s0 4.478-.928 5.406c-.927.927-2.42.927-5.406.927s-4.478 0-5.406-.927C1.5 12.478 1.5 10.986 1.5 8Z",stroke:"#2f2f2f"}))},value:"tools"}],Wj=[{id:1,label:(0,l.__)("All Products","easy-accordion-free"),value:"all"},{id:2,label:(0,l.__)("Category (Pro)","easy-accordion-free"),value:"taxonomy",pro:!0},{id:3,label:(0,l.__)("Specific Products (Pro)","easy-accordion-free"),value:"Specific_Products",pro:!0}];function Gj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hj(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)?Hj(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hj(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}var Uj=function(e){var t=e.pluginSettings,n=e.updateSettingsOption,r=e.editorPreference,i=e.setEditorPreference,o=Gj((0,a.useState)(!1),2),s=o[0],l=o[1];return React.createElement("div",{className:"sp-eap-dashboard-advanced-settings sp-d-flex sp-flex-col"},null==Vj?void 0:Vj.map(function(e){var o=e.option_name,a=e.label,s=e.infoText,l=e.inputType,c=e.items,u=sd(null==t?void 0:t[o]);return React.createElement("div",{key:o,className:"sp-eap-settings-option sp-d-flex sp-align-center sp-justify-between"},React.createElement("div",{className:"sp-eap-option-label-wrapper sp-d-flex sp-flex-col"},React.createElement("span",{className:"sp-eap-component-title"},a),s&&React.createElement("span",{className:"sp-eap-option-help-text"},s)),"toggle"===l&&React.createElement(Sc.A,{icons:!1,key:u,defaultChecked:u,onChange:function(){return n(o,ad(!u))}}),"checkbox"===l&&React.createElement(Fc.CheckboxControl,{checked:u,__nextHasNoMarginBottom:!0,onChange:function(){return n(o,ad(!u))}}),"select"===l&&React.createElement(pm,{attributes:"eap_editor_preference"===o?r:(null==t?void 0:t[o])||"",onChange:function(e){"eap_editor_preference"===o&&i(e),n(o,e)},items:c,showHeading:!1}))}),s&&React.createElement(Uc,{closeModal:function(){return l(!1)}}))},Yj=function(e){var t=e.pluginSettings,n=e.updateSettingsOption;return React.createElement("div",{className:"sp-eap-settings-custom-assets sp-d-flex sp-flex-col"},React.createElement(Xj,{label:(0,l.__)("Custom CSS","easy-accordion-free"),attributes:null==t?void 0:t.ea_custom_css,onChange:function(e){return n("ea_custom_css",e)},height:"200px"}),React.createElement(Xj,{label:(0,l.__)("Custom JS","easy-accordion-free"),attributes:null==t?void 0:t.custom_js,onChange:function(e){return n("custom_js",e)},defaultLanguage:"javascript",height:"200px"}))},Kj=function(){var e=Gj((0,a.useState)("all-faqs"),2),t=e[0],n=e[1],r=Gj((0,a.useState)(null),2),i=r[0],o=r[1],s=Gj((0,a.useState)((0,l.__)("No File Chosen","easy-accordion-free")),2),c=s[0],u=s[1],d=Gj((0,a.useState)([]),2),p=d[0],h=d[1],f=Gj((0,a.useState)([]),2),m=f[0],g=f[1],O=Gj((0,a.useState)(!1),2),v=O[0],b=O[1],y=Gj((0,a.useState)(!1),2),w=y[0],x=y[1],S=Gj((0,a.useState)(!1),2),E=S[0],k=S[1];return(0,a.useEffect)(function(){var e,t=new FormData;t.append("action","eap_get_shortcode_list_for_export"),t.append("nonce",null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.nonce),fetch(ajaxurl,{method:"POST",body:t}).then(function(e){return e.json()}).then(function(e){if(e.success&&Array.isArray(e.data)){var t=e.data.map(function(e){return{label:e.title||"#".concat(e.id),value:e.id}});h(t)}else h([])}).catch(function(e){console.error("Error fetching shortcode list:",e),h([])})},[]),React.createElement("div",{className:"sp-eap-settings-tools-controls"},React.createElement("div",{className:"sp-eap-settings-tools-section"},React.createElement("div",{className:"sp-eap-settings-tools-section-header"},React.createElement("h3",{className:"sp-eap-settings-tools-section-title"},(0,l.__)("Export","easy-accordion-free"))),React.createElement("div",{className:"sp-eap-settings-tools-section-content"},React.createElement("p",{className:"sp-eap-settings-tools-subtitle"},(0,l.__)("Choose What to Export","easy-accordion-free")),React.createElement("div",{className:"sp-eap-settings-tools-radio-group"},React.createElement("label",{className:"sp-eap-settings-tools-radio ".concat("all-faqs"===t?"active":"")},React.createElement("input",{type:"radio",name:"export-type",value:"all-faqs",checked:"all-faqs"===t,onChange:function(){return n("all-faqs")}}),React.createElement("span",{className:"sp-eap-settings-tools-radio-label"},(0,l.__)("All FAQs","easy-accordion-free"))),React.createElement("label",{className:"sp-eap-settings-tools-radio ".concat("all-shortcodes"===t?"active":"")},React.createElement("input",{type:"radio",name:"export-type",value:"all-shortcodes",checked:"all-shortcodes"===t,onChange:function(){return n("all-shortcodes")}}),React.createElement("span",{className:"sp-eap-settings-tools-radio-label"},(0,l.__)("All Accordion Groups","easy-accordion-free"))),React.createElement("label",{className:"sp-eap-settings-tools-radio ".concat("selected-shortcodes"===t?"active":"")},React.createElement("input",{type:"radio",name:"export-type",value:"selected-shortcodes",checked:"selected-shortcodes"===t,onChange:function(){return n("selected-shortcodes")}}),React.createElement("span",{className:"sp-eap-settings-tools-radio-label"},(0,l.__)("Selected Accordion Group(s)","easy-accordion-free")))),"selected-shortcodes"===t&&React.createElement("div",{className:"sp-eap-settings-tools-multiselect"},React.createElement(lf,{isMulti:!0,value:p.filter(function(e){return m.includes(e.value)}),onChange:function(e){var t=e?e.map(function(e){return e.value}):[];g(t)},options:p,placeholder:(0,l.__)("Choose group(s)","easy-accordion-free"),className:"sp-eap-tools-multi-select",classNamePrefix:"sp-eap-tools",noOptionsMessage:function(){return(0,l.__)("No groups available","easy-accordion-free")}})),React.createElement("button",{className:"sp-eap-settings-tools-btn sp-eap-settings-tools-btn-primary",onClick:function(){var e="all-faqs"===t?"all_faqs":"all-shortcodes"===t?"all_shortcodes":"selected_shortcodes",n="selected_shortcodes"===e?m.join(","):e;if("all_faqs"===e||"all_shortcodes"===e||"selected_shortcodes"===e&&m.length>0){var r,i=new FormData;i.append("action","eap_export_accordions"),i.append("nonce",null===(r=sp_eab_admin_dashboard_localize)||void 0===r?void 0:r.nonce),i.append("eap_ids",n),fetch(ajaxurl,{method:"POST",body:i}).then(function(e){return e.text()}).then(function(e){if(e){var t;try{var n=JSON.parse(e);t=JSON.stringify(n)}catch(n){t=JSON.stringify(e)}var r=new Blob([t],{type:"application/json"}),i=document.createElement("a"),o=Date.now();i.href=window.URL.createObjectURL(r),i.download="easy-accordion-"+o+".json",i.click()}})}}},(0,l.__)("Export File","easy-accordion-free")))),React.createElement("div",{className:"sp-eap-settings-tools-divider"}),React.createElement("div",{className:"sp-eap-settings-tools-section"},React.createElement("div",{className:"sp-eap-settings-tools-section-header"},React.createElement("h3",{className:"sp-eap-settings-tools-section-title"},(0,l.__)("Import","easy-accordion-free"))),React.createElement("div",{className:"sp-eap-settings-tools-section-content"},React.createElement("p",{className:"sp-eap-settings-tools-subtitle"},(0,l.__)("Import JSON File to Upload","easy-accordion-free")),React.createElement("label",{className:"sp-eap-settings-tools-checkbox"},React.createElement("input",{type:"checkbox",checked:w,onChange:function(e){return x(e.target.checked)},style:{marginRight:"8px"}}),React.createElement("span",{className:"sp-eap-settings-tools-checkbox-label"},(0,l.__)("Allow Iframe/Script Tags","easy-accordion-free"))),React.createElement("p",{className:"sp-eap-settings-tools-checkbox-help"},(0,l.__)("Enabling this option, you are allowing to import accordions which contain iframe, script or embed tags.","easy-accordion-free")),React.createElement("div",{className:"sp-eap-settings-tools-file-input".concat(E?" dragging":""),onDragOver:function(e){e.preventDefault(),e.stopPropagation(),k(!0)},onDragLeave:function(e){e.preventDefault(),e.stopPropagation(),k(!1)},onDrop:function(e){e.preventDefault(),e.stopPropagation(),k(!1);var t=e.dataTransfer.files[0];t&&t.name.endsWith(".json")&&(o(t),u(t.name))}},React.createElement("label",{className:"sp-eap-settings-tools-file-btn"},(0,l.__)("Choose File","easy-accordion-free"),React.createElement("input",{type:"file",accept:".json",onChange:function(e){var t=e.target.files[0];t&&(o(t),u(t.name))},style:{display:"none"}})),React.createElement("span",{className:"sp-eap-settings-tools-file-name"},c)),React.createElement("button",{className:"sp-eap-settings-tools-btn sp-eap-settings-tools-btn-secondary".concat(i?" has-file":""),onClick:function(){if(i){b(!0);var e=new FileReader;e.onload=function(e){var t,n=e.target.result,r=new FormData;r.append("action","eap_import_accordions"),r.append("nonce",null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.nonce),r.append("accordion",n),r.append("unSanitize",w?"1":"0"),fetch(ajaxurl,{method:"POST",body:r}).then(function(e){return e.json()}).then(function(e){var t;b(!1),e.success?(alert((0,l.__)("Import successful!","easy-accordion-free")),o(null),u((0,l.__)("No File Chosen","easy-accordion-free"))):alert((null===(t=e.data)||void 0===t?void 0:t.message)||(0,l.__)("Import failed.","easy-accordion-free"))}).catch(function(e){b(!1),console.error("Import error:",e),alert((0,l.__)("Import failed.","easy-accordion-free"))})},e.readAsText(i)}},disabled:!i||v},v?(0,l.__)("Importing...","easy-accordion-free"):(0,l.__)("Import File","easy-accordion-free")))))};function Jj(e){return Jj="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},Jj(e)}function eB(){return eB=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},eB.apply(null,arguments)}function tB(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 nB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tB(Object(n),!0).forEach(function(t){rB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rB(e,t,n){return(t=function(e){var t=function(e){if("object"!=Jj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Jj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||oB(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oB(e,t){if(e){if("string"==typeof e)return aB(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)?aB(e,t):void 0}}function aB(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}var sB=function(e){var t=e.id,n=e.item,r=e.shortCodeOptions,i=void 0===r?[]:r,o=e.onUpdateValue,a=e.duplicateItem,s=e.deleteItem,c=e.activeTabId,u=e.setActiveTabId,d=Math.random(),p=n.eap_display_tab_for,h=null==Wj?void 0:Wj.find(function(e){return e.value===p});return React.createElement("div",{className:"sp-eap-woo-faq-tab-item"},React.createElement("div",{className:"sp-eap-woo-faq-tab-header sp-d-flex sp-algin-center sp-justify-between"},React.createElement("span",{className:"sp-eap-woo-faq-tab-label",onClick:function(){return u(function(e){return e===t?null:t})}},null==h?void 0:h.label),React.createElement("div",{className:"sp-eap-cloneable-helper sp-d-flex sp-align-center sp-gap-8px"},React.createElement("span",{className:"eap-cloneable-clone sp-cursor-pointer",onClick:function(){return a(t)}},React.createElement(cd,null)),React.createElement("span",{className:"eap-cloneable-remove sp-cursor-pointer",onClick:function(){window.confirm("Are you sure you want to delete this item?")&&s(t)}},React.createElement(ud,null)))),c===t&&React.createElement("div",{className:"sp-eap-woo-faq-tab-content sp-d-flex sp-flex-col sp-gap-10px"},React.createElement("div",{className:"sp-eap-woo-faq-type eap-draggable-content sp-d-flex sp-align-center sp-justify-between"},React.createElement("span",{className:"sp-eap-woo-faq-tab-label"},(0,l.__)("Display FAQs on","easy-accordion-free")),React.createElement("select",{name:"eap_woo_set_tab",onChange:function(e){return o(t,"eap_display_tab_for",e.target.value)},value:p},null==Wj?void 0:Wj.map(function(e){var t=e.label,n=e.value,r=e.pro;return React.createElement("option",{key:n,value:n,disabled:r},t)}))),React.createElement("div",{className:"sp-eap-woo-faq-posts eap-draggable-content sp-d-flex sp-align-center sp-justify-between"},React.createElement("span",{className:"sp-eap-woo-faq-tab-label"},(0,l.__)("Select FAQs Group(s)","easy-accordion-free")),React.createElement(aw,{label:!1,uniqueId:d,items:i,values:function(e,t){return e.filter(function(e){var n;return null==t?void 0:t.includes(null==e||null===(n=e.value)||void 0===n?void 0:n.toString())})}(i,null==n?void 0:n.eap_woo_tab_shortcode),searchable:!0,onChange:function(e){return o(t,"eap_woo_tab_shortcode",null==(n=e)?void 0:n.map(function(e){var t;return null==e||null===(t=e.value)||void 0===t?void 0:t.toString()}));var n}}))))};const lB=(0,a.memo)(function(e){var t,n=e.pluginSettings,r=e.eapShortcodes,i=e.updateSettingsOption,o=sd(null==n?void 0:n.eap_woo_faq),s=sd(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.isActiveWooCommerce),c=!!s&&o,u=iB((0,a.useState)((null==n?void 0:n.eap_woo_set_tab)||[]),2),d=u[0],p=u[1],h=iB((0,a.useState)(),2),f=h[0],m=h[1],g=function(e){p(e),i("eap_woo_set_tab",e)},O=function(e,t,n){var r=null==d?void 0:d.map(function(r,i){return e===i?nB(nB({},r),{},rB({},t,n)):r});g(r)},v=function(e){var t=null==d?void 0:d.flatMap(function(t,n){return n===e?[t,t]:t});g(t)},b=function(e){g(null==d?void 0:d.filter(function(t,n){return n!==e}))};return React.createElement(React.Fragment,null,!s&&React.createElement("div",{className:"sp-eab-dashboard-woo-notice woo-inactive sp-d-flex sp-align-center sp-gap-4px"},React.createElement("i",{className:"dashicons dashicons-info-outline"}),React.createElement("a",{href:"https://wordpress.org/plugins/woocommerce/",target:"_blank",rel:"noreferrer"}," ","WooCommerce"," "),React.createElement("span",null,(0,l.__)("is required to use this feature.","easy-accordion-free"))),React.createElement("div",{className:"sp-eap-dashboard-advanced-settings eap-woocommerce-settings-tab sp-d-flex sp-flex-col"},React.createElement("div",{className:"sp-eap-settings-option sp-d-flex sp-align-center eap-woo-".concat(s?"active":"inactive")},React.createElement("div",{className:"sp-eap-option-label-wrapper sp-d-flex sp-flex-col"},React.createElement("span",{className:"sp-eap-component-title"},(0,l.__)("WooCommerce FAQs Tab","easy-accordion-free")),React.createElement("span",{className:"sp-eap-option-help-text"},(0,l.__)("WooCommerce's FAQs tab gives quick answers to common customer queries about products and services.","easy-accordion-free"))),React.createElement(Sc.A,{icons:!1,defaultChecked:c,onChange:function(){return i("eap_woo_faq",ad(!c))}})),c&&React.createElement(React.Fragment,null,React.createElement("div",{className:"sp-eap-settings-option sp-d-flex sp-align-center"},React.createElement("div",{className:"sp-eap-option-label-wrapper sp-d-flex sp-flex-col"},React.createElement("span",{className:"sp-eap-component-title"},(0,l.__)("FAQs Tab Label","easy-accordion-free")),React.createElement("span",{className:"sp-eap-option-help-text"},(0,l.__)("Set custom text for faq tab.","easy-accordion-free"))),React.createElement(Om,{attributes:null==n?void 0:n.eap_woo_faq_label,onChange:function(e){return i("eap_woo_faq_label",e)}})),React.createElement("div",{className:"sp-eap-settings-option sp-d-flex sp-align-center"},React.createElement("div",{className:"sp-eap-option-label-wrapper sp-d-flex sp-flex-col"},React.createElement("span",{className:"sp-eap-component-title"},(0,l.__)("FAQs Tab Priority","easy-accordion-free")),React.createElement("span",{className:"sp-eap-option-help-text"},(0,l.__)("Set WooCommerce FAQs tab priority position. Default value is 50.","easy-accordion-free"))),React.createElement(Om,{inputType:"number",attributes:null==n?void 0:n.eap_woo_faq_label_priority,onChange:function(e){return i("eap_woo_faq_label_priority",e)}})),React.createElement("div",{className:"sp-eap-settings-option sp-d-flex sp-align-start"},React.createElement("span",{className:"sp-eap-component-title sp-d-flex sp-align-center sp-gap-6px"},(0,l.__)("FAQs Tabs","easy-accordion-free")),React.createElement("div",{className:"sp-eap-woo-faq-tab-items"},React.createElement(wy,{onDragEnd:function(e){var t=e.source,n=e.destination;if(n){var r=t.index,i=n.index,o=km(d,r,i);g(o)}}},React.createElement(tw,{droppableId:"sp-eap-woo-faq-tab-dnd",direction:"vertical"},function(e){return React.createElement("div",eB({ref:e.innerRef},e.droppableProps),null==d?void 0:d.map(function(e,t){return React.createElement(Iy,{key:t+2,draggableId:String(t+2),index:t},function(n){return React.createElement("div",eB({ref:n.innerRef},n.draggableProps,n.dragHandleProps),React.createElement(sB,{id:t,item:e,shortCodeOptions:r,onUpdateValue:O,duplicateItem:v,deleteItem:b,activeTabId:f,setActiveTabId:m}))})}))})),React.createElement("div",{className:"sp-eap-woo-faq-tab-inserter"},React.createElement("button",{className:"sp-eap-woo-faq-tab-inserter-button sp-d-flex sp-align-center sp-gap-4px sp-cursor-pointer",onClick:function(){var e;g([].concat(function(e){if(Array.isArray(e))return aB(e)}(e=d)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oB(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[{eap_display_tab_for:"all",eap_woo_tab_shortcode:[]}]))}},React.createElement("i",{className:"dashicons dashicons-plus-alt2"}),(0,l.__)("Add New Tabs","easy-accordion-free"))))))))});var cB=[{id:1,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"#fff"}),React.createElement("rect",{x:.5,y:.5,width:43,height:43,rx:5.5,stroke:"#1e1e1e",strokeOpacity:.15}),React.createElement("g",{clipPath:"url(#GeminiIcona)"},React.createElement("mask",{id:"c",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:8,y:8,width:28,height:28},React.createElement("path",{d:"M21.977 8.5c.293 0 .549.193.62.467.219.839.506 1.66.861 2.453a17.3 17.3 0 0 0 3.814 5.452q2.424 2.337 5.654 3.678 1.237.514 2.544.83a.62.62 0 0 1 .484.598c0 .282-.2.529-.484.598q-1.306.316-2.544.83-3.23 1.341-5.654 3.678a17.3 17.3 0 0 0-3.814 5.452 16 16 0 0 0-.861 2.453.6.6 0 0 1-.227.336.66.66 0 0 1-.393.131.635.635 0 0 1-.62-.467 16 16 0 0 0-.86-2.453 17.3 17.3 0 0 0-3.815-5.452q-2.423-2.336-5.654-3.678a17 17 0 0 0-2.543-.83.64.64 0 0 1-.349-.219.6.6 0 0 1-.136-.379c0-.282.2-.528.485-.597q1.307-.317 2.543-.83 3.232-1.341 5.654-3.678a17.3 17.3 0 0 0 3.815-5.452q.532-1.194.86-2.453a.6.6 0 0 1 .227-.337.66.66 0 0 1 .393-.131",fill:"#000"}),React.createElement("path",{d:"M21.977 8.5c.293 0 .549.193.62.467.219.839.506 1.66.861 2.453a17.3 17.3 0 0 0 3.814 5.452q2.424 2.337 5.654 3.678 1.237.514 2.544.83a.62.62 0 0 1 .484.598c0 .282-.2.529-.484.598q-1.306.316-2.544.83-3.23 1.341-5.654 3.678a17.3 17.3 0 0 0-3.814 5.452 16 16 0 0 0-.861 2.453.6.6 0 0 1-.227.336.66.66 0 0 1-.393.131.635.635 0 0 1-.62-.467 16 16 0 0 0-.86-2.453 17.3 17.3 0 0 0-3.815-5.452q-2.423-2.336-5.654-3.678a17 17 0 0 0-2.543-.83.64.64 0 0 1-.349-.219.6.6 0 0 1-.136-.379c0-.282.2-.528.485-.597q1.307-.317 2.543-.83 3.232-1.341 5.654-3.678a17.3 17.3 0 0 0 3.815-5.452q.532-1.194.86-2.453a.6.6 0 0 1 .227-.337.66.66 0 0 1 .393-.131",fill:"url(#b)"})),React.createElement("g",{mask:"url(#c)"},React.createElement("g",{filter:"url(#d)"},React.createElement("path",{d:"M5.476 29.574c3.23 1.106 6.942-.968 8.292-4.632s-.175-7.532-3.405-8.638-6.942.968-8.293 4.632c-1.349 3.665.176 7.532 3.406 8.638",fill:"#ffe432"})),React.createElement("g",{filter:"url(#e)"},React.createElement("path",{d:"M19.817 17.493c4.437 0 8.034-3.546 8.034-7.918 0-4.374-3.597-7.919-8.034-7.919s-8.035 3.546-8.035 7.919 3.597 7.918 8.035 7.918",fill:"#fc413d"})),React.createElement("g",{filter:"url(#f)"},React.createElement("path",{d:"M16.695 42.814c4.632-.218 8.149-5.086 7.855-10.872-.292-5.787-4.286-10.3-8.918-10.082s-8.149 5.086-7.856 10.872c.294 5.787 4.287 10.3 8.919 10.082",fill:"#00b95c"})),React.createElement("g",{filter:"url(#g)"},React.createElement("path",{d:"M16.695 42.814c4.632-.218 8.149-5.086 7.855-10.872-.292-5.787-4.286-10.3-8.918-10.082s-8.149 5.086-7.856 10.872c.294 5.787 4.287 10.3 8.919 10.082",fill:"#00b95c"})),React.createElement("g",{filter:"url(#h)"},React.createElement("path",{d:"M21.334 39.314c3.883-2.279 4.922-7.467 2.321-11.59-2.6-4.122-7.857-5.617-11.74-3.34-3.884 2.28-4.923 7.468-2.322 11.59 2.601 4.123 7.858 5.618 11.741 3.34",fill:"#00b95c"})),React.createElement("g",{filter:"url(#i)"},React.createElement("path",{d:"M37.03 26.359c4.364 0 7.903-3.286 7.903-7.339 0-4.052-3.539-7.338-7.903-7.338-4.365 0-7.903 3.286-7.903 7.338 0 4.053 3.538 7.339 7.903 7.339",fill:"#3186ff"})),React.createElement("g",{filter:"url(#j)"},React.createElement("path",{d:"M2.372 25.508c4.019 2.946 9.89 2.022 13.113-2.066 3.224-4.087 2.58-9.79-1.44-12.737S4.155 8.682.932 12.77c-3.224 4.088-2.579 9.79 1.44 12.738",fill:"#fbbc04"})),React.createElement("g",{filter:"url(#k)"},React.createElement("path",{d:"M22.965 29.863c4.796 3.18 11.155 2.295 14.201-1.979 3.047-4.273 1.628-10.314-3.17-13.495-4.796-3.18-11.154-2.294-14.201 1.979s-1.628 10.315 3.17 13.495",fill:"#3186ff"})),React.createElement("g",{filter:"url(#l)"},React.createElement("path",{d:"M31.685 7.53c1.22 1.6-.348 4.71-3.502 6.948-3.155 2.237-6.702 2.754-7.922 1.155-1.22-1.6.348-4.712 3.502-6.949s6.702-2.754 7.922-1.155",fill:"#749bff"})),React.createElement("g",{filter:"url(#m)"},React.createElement("path",{d:"M21.667 15.19c4.879-4.365 6.553-10.273 3.74-13.197C22.594-.932 16.358.235 11.48 4.599 6.6 8.963 4.926 14.87 7.74 17.796c2.812 2.924 9.048 1.757 13.927-2.607",fill:"#fc413d"})),React.createElement("g",{filter:"url(#n)"},React.createElement("path",{d:"M11.666 30.863c2.9 2.002 6.229 2.306 7.436.68s-.166-4.567-3.066-6.568-6.229-2.306-7.435-.68c-1.207 1.627.165 4.567 3.065 6.568",fill:"#ffee48"})))),React.createElement("defs",null,React.createElement("filter",{id:"d",x:-3.341,y:11.087,width:22.52,height:23.705,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:2.46,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"e",x:-12,y:-22.125,width:63.633,height:63.4,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:11.891,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"f",x:-12.459,y:1.634,width:57.244,height:61.405,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:10.109,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"g",x:-12.459,y:1.634,width:57.244,height:61.405,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:10.109,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"h",x:-12.058,y:3.101,width:57.364,height:57.496,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:10.109,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"i",x:9.915,y:-7.53,width:54.23,height:53.101,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:9.606,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"j",x:-18.532,y:-8.431,width:53.481,height:53.074,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:8.706,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"k",x:2.64,y:-3.069,width:51.681,height:50.391,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:7.775,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"l",x:5.933,y:-7.314,width:40.081,height:37.79,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:6.957,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"m",x:-5.378,y:-11.371,width:43.902,height:42.529,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:5.876,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("filter",{id:"n",x:-6.383,y:8.704,width:40.469,height:38.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),React.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),React.createElement("feGaussianBlur",{stdDeviation:7.273,result:"effect1_foregroundBlur_12983_8187"})),React.createElement("linearGradient",{id:"b",x1:15.946,y1:26.536,x2:30.025,y2:14.228,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#4893fc"}),React.createElement("stop",{offset:.27,stopColor:"#4893fc"}),React.createElement("stop",{offset:.777,stopColor:"#969dff"}),React.createElement("stop",{offset:1,stopColor:"#bd99fe"})),React.createElement("clipPath",{id:"GeminiIcona"},React.createElement("path",{fill:"#fff",d:"M8 8.5h28v27H8z"}))))},key:"gemini",label:"Google Gemini",desc:(0,l.__)("Configure API key and token to enable AI-powered FAQ generation from your content, keywords, or custom prompts.","easy-accordion-free"),videoLink:"https://www.youtube.com/watch?v=bRVTr1kki1w",docLink:"https://easyaccordion.io/docs/google-gemini/"},{upcoming:!0,id:2,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"#fff"}),React.createElement("rect",{x:.5,y:.5,width:43,height:43,rx:5.5,stroke:"#1e1e1e",strokeOpacity:.15}),React.createElement("g",{clipPath:"url(#GoogleRecaptchaIcona)"},React.createElement("path",{d:"M37.999 21.977q0-.344-.017-.686V8.304l-3.58 3.59C31.475 8.297 27.017 6 22.025 6c-5.195 0-9.81 2.487-12.728 6.339l5.867 5.947a7.8 7.8 0 0 1 2.377-2.675c1.025-.802 2.476-1.457 4.484-1.457q.362 0 .567.082a7.73 7.73 0 0 1 5.914 3.572l-4.153 4.166c5.26-.02 11.203-.033 13.647.003",fill:"#1c3aa9"}),React.createElement("path",{d:"M21.931 6.001q-.344.001-.684.017H8.297l3.581 3.59a16.01 16.01 0 0 0-5.877 12.415c0 5.21 2.48 9.84 6.32 12.766l5.93-5.885a7.8 7.8 0 0 1-2.667-2.383c-.8-1.028-1.453-2.483-1.453-4.497q0-.364.081-.57a7.76 7.76 0 0 1 3.562-5.93l4.154 4.165c-.021-5.276-.033-11.237.002-13.687",fill:"#4285f4"}),React.createElement("path",{d:"M6.001 22.023q.002.345.017.686v12.987l3.58-3.59C12.528 35.703 16.984 38 21.977 38c5.195 0 9.81-2.487 12.728-6.338l-5.868-5.948a7.8 7.8 0 0 1-2.377 2.675c-1.024.802-2.475 1.458-4.483 1.458q-.363-.002-.568-.083a7.73 7.73 0 0 1-5.913-3.572l4.153-4.166c-5.26.021-11.203.033-13.647-.003",fill:"#ababab"})),React.createElement("defs",null,React.createElement("clipPath",{id:"GoogleRecaptchaIcona"},React.createElement("path",{fill:"#fff",d:"M6 6h32v32H6z"}))))},hideSettings:!0,key:"google_recaptcha",label:"Google reCAPTCHA",desc:(0,l.__)("Add site key and secret key to protect forms from spam and ensure secure, verified user submissions.","easy-accordion-free"),videoLink:"https://www.youtube.com/watch?v=O_-HQWS3SnI",docLink:"https://easyaccordion.io/docs/google-recaptcha/"},{upcoming:!0,id:3,Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#ChatGPTIcon)"},React.createElement("rect",{width:44,height:44,rx:6,fill:"#10a37f"}),React.createElement("path",{d:"M35.046 0H8.954C4.009 0 0 4.042 0 9.027v25.946C0 39.959 4.009 44 8.954 44h26.092C39.991 44 44 39.959 44 34.973V9.027C44 4.042 39.991 0 35.046 0",fill:"#10a37f"}),React.createElement("path",{d:"M32.543 19.766a6.14 6.14 0 0 0-.527-5.036 6.205 6.205 0 0 0-6.68-2.976 6.13 6.13 0 0 0-4.587-2.062h-.053a6.2 6.2 0 0 0-5.902 4.294 6.13 6.13 0 0 0-4.1 2.975 6.21 6.21 0 0 0 .763 7.272 6.13 6.13 0 0 0 .526 5.037 6.2 6.2 0 0 0 6.68 2.976 6.13 6.13 0 0 0 4.587 2.062h.055a6.2 6.2 0 0 0 5.902-4.297 6.14 6.14 0 0 0 4.1-2.975 6.2 6.2 0 0 0-.764-7.27M23.29 32.698h-.007a4.6 4.6 0 0 1-2.946-1.067l.145-.083 4.901-2.83a.8.8 0 0 0 .403-.693V21.11l2.072 1.196a.07.07 0 0 1 .04.057v5.722a4.62 4.62 0 0 1-4.608 4.613m-9.912-4.233a4.6 4.6 0 0 1-.55-3.09l.146.086 4.9 2.831a.8.8 0 0 0 .806 0l5.984-3.455v2.397a.08.08 0 0 1-.03.059l-4.954 2.86a4.62 4.62 0 0 1-4.612 0 4.6 4.6 0 0 1-1.69-1.688m-1.289-10.7a4.6 4.6 0 0 1 2.401-2.022l-.002.169v5.667a.8.8 0 0 0 .402.692l5.984 3.454-2.072 1.197a.08.08 0 0 1-.07.006l-4.955-2.863a4.62 4.62 0 0 1-1.688-6.3m17.02 3.961-5.983-3.455 2.071-1.195a.08.08 0 0 1 .07-.007l4.955 2.861a4.616 4.616 0 0 1-.713 8.325v-5.838a.8.8 0 0 0-.4-.69m2.062-3.103-.145-.087-4.902-2.83a.8.8 0 0 0-.805 0l-5.983 3.454v-2.396q0-.038.03-.06l4.954-2.858a4.615 4.615 0 0 1 6.918 3.997q0 .392-.067.78M18.21 22.887l-2.072-1.196a.07.07 0 0 1-.04-.057v-5.722a4.614 4.614 0 0 1 7.565-3.543l-.145.083-4.902 2.83a.8.8 0 0 0-.402.693v.005zm1.126-2.426L22 18.92l2.665 1.539v3.077L22 25.076l-2.665-1.539z",fill:"#fff"})),React.createElement("defs",null,React.createElement("clipPath",{id:"ChatGPTIcon"},React.createElement("rect",{width:44,height:44,rx:6,fill:"#fff"}))))},hideSettings:!0,key:"chatgpt",label:"ChatGPT",desc:(0,l.__)("Easy Accordion integrates ChatGPT into the WordPress Dashboard, allowing you to generate content effortlessly.","easy-accordion-free"),videoLink:"#",docLink:"#"},{id:4,key:"elementor",hideSettings:!0,label:"Elementor",Icon:function(){return React.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M2 8a6 6 0 0 1 6-6h32a6 6 0 0 1 6 6v32a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6z",fill:"#EF00ED"}),React.createElement("g",{clipPath:"url(#ElementorIntegrationIcona)"},React.createElement("mask",{id:"ElementorIntegrationIconb",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:48,height:48},React.createElement("path",{d:"M48 0H0v48h48z",fill:"#fff"})),React.createElement("g",{mask:"url(#ElementorIntegrationIconb)",fill:"#fff"},React.createElement("path",{d:"M18.001 33.997h-3.998V13.999h3.998zm15.996-16H21.999v-3.998h11.998zm0 8H21.999v-3.998h11.998zm0 8H21.999v-3.998h11.998z"}))),React.createElement("defs",null,React.createElement("clipPath",{id:"ElementorIntegrationIcona"},React.createElement("path",{fill:"#fff",d:"M0 0h48v48H0z"}))))},desc:(0,l.__)("This addon lets you use Easy Accordion Gutenberg blocks in Elementor by generating reusable shortcodes from saved templates.","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/page-builder-integrations/easy-accordion-pro-with-elementor-elementor-pro/"},{id:5,key:"divi",hideSettings:!0,label:"Divi",Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"url(#DiviIntegrationIcona)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.002 9.547H23.27c5.804 0 11.728 4.11 11.728 12.453S29.073 34.453 23.27 34.453H12.751v-13.42h6.166v7.375h4.11c2.66 0 5.804-3.023 5.804-6.408s-3.023-6.408-5.803-6.408h-6.771c-3.023 0-5.441-2.055-7.255-6.045",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"DiviIntegrationIcona",x1:44.061,y1:44.06,x2:.001,y2:-.001,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#4b81eb"}),React.createElement("stop",{offset:1,stopColor:"#6752f4"}))))},desc:(0,l.__)("This addon lets you use Easy Accordion Gutenberg blocks in Divi by generating reusable shortcodes from saved templates.","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/page-builder-integrations/integrate-with-divi/"},{id:6,key:"wpbakery",hideSettings:!0,label:"WPBakery",Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"url(#WPBakeryIntegrationIcona)"}),React.createElement("path",{d:"M21.434 27.626c-.925.462-1.85.925-2.929 1.079-.925.154-2.004.308-2.929 0-1.079-.154-2.158-.462-3.083-1.079-2.312-1.233-3.853-3.083-4.47-5.55-.462-1.54-.308-3.236.309-4.778.154-.77.616-1.695 1.233-2.312.925-1.233 2.158-2.312 3.545-2.928a9.4 9.4 0 0 1 7.707.308c.617.308 1.233.925 1.85 1.541l1.387 1.388c.77.77 1.85 1.233 3.083 1.387.925.154 1.85.154 2.774-.154-1.233 0-2.466-.154-3.545-.771h.154l.617-.154 1.541-.308a7.55 7.55 0 0 1 3.7.462c1.387.617 2.466 1.696 3.237 2.929l.616 2.158q.231 3.93-3.237 6.011-1.387.925-3.237.925c-.308 0-.308 0-.462.308l-1.233 4.316c0 .155-.154.309-.309.155l-3.236-.925h-2.93l-2.157.462c-.925.154-1.542-.308-2.004-.925l-.617-1.079.154-.308c.925-.154 1.85-.617 2.775-1.079.617-.308 1.08-.462 1.541-.925z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"WPBakeryIntegrationIcona",x1:38.822,y1:38.818,x2:5.264,y2:5.287,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#0074af"}),React.createElement("stop",{offset:.2,stopColor:"#0375b1"}),React.createElement("stop",{offset:.4,stopColor:"#0c79b7"}),React.createElement("stop",{offset:.6,stopColor:"#1c80c1"}),React.createElement("stop",{offset:.7,stopColor:"#328acf"}),React.createElement("stop",{offset:.8,stopColor:"#4f96e1"}),React.createElement("stop",{offset:1,stopColor:"#7fabff"}))))},desc:(0,l.__)("This addon lets you use Easy Accordion Gutenberg blocks in WPBakery by generating reusable shortcodes from saved templates.","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/page-builder-integrations/integrate-with-wpbakery/"},{id:7,key:"beaver",hideSettings:!0,label:"Beaver Builder",Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"url(#BeaverIntegrationIcona)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m7.662 24.08.462-.461-.77-.617zm1.85-2.465a70 70 0 0 1-1.08-.925l-.77 1.233.925.925zm-1.234 3.39 1.08 1.08.77-.925-1.233-1.08zm1.696-4.161 1.079-1.387-1.08-.771-.924 1.079zm-.617 2.466 1.234 1.08.77-1.388-1.233-.925zm2.93-5.24-1.08-.617-.77.616.924.925zm.461 2.774-1.233-.925-.925 1.387 1.234 1.08z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m12.902 17.607-.154.308.925.925-1.079-.616-.77 1.079 1.232.924 1.388-2.003-1.08 2.466.309.154.308.462h-.462l-.309-.154-.924 1.542.462.462.77.617.31-.463-.155.617.617.462a13.6 13.6 0 0 1 .616-4.47l.77-2.004c-1.232-.462-2.311-.616-3.699-.77h-.154l.617.462z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.305 35.488h.77l3.084.462 1.233.154h2.62v.154l1.85-.77c.308-.463 1.079-1.388.77-1.696-.307-.308-3.082.616-3.39.154-.155-.308 4.778-4.008 5.086-9.248l-.925.154c-1.078 2.774-4.161 5.857-5.086 6.32l-.463.154c-.924.154-2.466 0-3.082-.463-.617-.462-2.467-4.162-2.93-5.703-1.695-.462-3.699-1.387-4.007-2.312-.308-1.233 2.929-4.779 3.391-4.47.154.154-1.079 2.466-.77 3.082.308.617 2.157 1.85 4.007 1.696 1.542 0 3.083-1.079 4.008-1.85l.308-.77c.154-.463-.154-.463-.462-.463-.308.154 0 .617 0 .77.154.155 0 .31-.154 0l-.309-.307H27.7l-.308-.463-.154-.154v-.154l.154-.154v-.154l.308-.155c1.08-.308 3.546-.154 3.083.617l-.617.925c-.462.462 0-.308 0-.463 0-.308-.154-.308-.308-.154l-.154 1.08c.617.616 2.004 1.54 3.237 1.695 1.541 0 3.391-1.08 3.7-1.85.154-.616-2.775-7.09-4.625-8.015-2.004-.925-10.173.616-10.481.462-.463 0-1.08-1.387-1.388-1.541-.462-.154-1.695 1.079-1.695 1.541 0 .154.924.925.924 1.387.155.309-.77.617-3.082 6.474-1.08 2.775-.771 6.937.77 7.554.771.462.617-2.004.925-2.004 1.387 0 1.85 2.928-.154 2.928-1.387 0-2.466-1.079-2.929-2.466l-.616-2.62-.617-.463-.77 1.85c1.079.925 2.003 1.695 1.85 1.85 0 .154-.926-.309-2.159-1.233l-.616 1.54v.155l1.079.77c.308-.616.462-1.387.616-1.232l-.308 1.541c1.541 1.233 3.083 2.312 4.316 2.929.462.154 1.233.462 1.233.925.154.308-.308 1.233-.154 1.541s2.466 1.079 2.62.617l.155-.309-.309-.616h.309l.154.154.616.462zm3.083-17.419v.155h-.154l-.463.154a.924.924 0 1 1 .463-1.542h.154l.154.77c.154.155 0 .31-.154.463m7.861-.154v.154c-.154.309-.462.309-.77.309a.924.924 0 1 1 .308-1.542h.154l.154.154.309.463v.154zm-21.426 8.478-1.078-.77-.617 1.232 1.079 1.08a9.6 9.6 0 0 0 .77-1.388zm.463-.462.925-1.696-.77-.462-.463-.463-.771 1.542.616.616z",fill:"#fff"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m28.163 30.71 1.233-1.234c1.233-1.387 2.62-3.545 2.928-4.778l-.924-.617-1.696-1.85-1.08 4.624-.153.463-1.233 3.545zm.308-8.325c-1.233 1.233-3.7 2.775-4.933 2.93.308 1.232.925 2.774 1.542 4.007l1.079 1.233.616.154v-.154l.617-2.158.308-1.08zm-6.628-10.79a3.64 3.64 0 0 1 1.387-1.233l2.158-.308c-.617-1.387-1.08-1.85-1.696-2.312-2.158.308-4.624 1.233-4.932 2.929l1.233-.617c.462 0 1.387 1.079 1.85 1.541m4.624-1.541h2.004l-1.233-1.541c-.463-.463-1.388-.771-2.467-.771.617.616 1.233 1.233 1.696 2.312m-2.929 1.85 3.083-.155h3.545c-.462-1.54-4.778-1.387-6.628.155",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"BeaverIntegrationIcona",x1:5.772,y1:5.742,x2:39.103,y2:39.06,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#aa7a55"}),React.createElement("stop",{offset:1,stopColor:"#8c5934"}))))},desc:(0,l.__)("This addon lets you use Easy Accordion Gutenberg blocks in Beaver by generating reusable shortcodes from saved templates.","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/page-builder-integrations/integrate-with-beaver-builder/"},{id:8,key:"bricks",hideSettings:!0,label:"Bricks",Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"#ffd53e"}),React.createElement("path",{d:"M17.267 8.167c.294.31.257.566.248.978v.234q0 .382-.006.766l-.002.532q-.003.699-.01 1.398-.007.713-.009 1.427-.006 1.4-.02 2.8l.256-.138.34-.181.168-.091c1.194-.637 2.57-1.043 3.932-1.091l.273-.01c2.808-.05 5.327.743 7.377 2.7 1.942 1.908 3.14 4.437 3.181 7.177l.002.52q0 .263.003.527c.012 2.892-1.113 5.444-3.122 7.516-1.491 1.447-3.36 2.292-5.4 2.617-.297.043-.297.043-.553.135-2.013.105-3.943-.264-5.703-1.251q-.132-.074-.27-.148c-.415-.238-.415-.238-.568-.353v-.166l-.136-.058c-.265-.145-.472-.332-.703-.526l-.006.175-.03.779-.01.275-.011.261-.01.242c-.017.186-.017.186-.1.27q-.248.011-.494.01H14.12a304 304 0 0 0-1.687 0h-1.127c-.21-.01-.21-.01-.294-.094a8 8 0 0 1-.01-.428L11 34.688v-.647l.001-.915v-.985l.001-1.708.001-2.47a7645 7645 0 0 1 .003-7.9v-1.446l.005-9.987 1.458-.17q.247-.027.493-.057 1.247-.145 2.495-.285l.182-.021c1.25-.14 1.25-.14 1.628.07m1.036 13.614c-1.017 1.186-1.343 2.68-1.226 4.213.144 1.507.761 2.661 1.926 3.635 1.111.816 2.463.98 3.802.811 1.224-.227 2.197-.785 2.97-1.765.916-1.35 1.11-2.957.892-4.55-.174-.883-.6-1.756-1.233-2.403h-.168l-.06-.148c-.343-.59-1.22-.97-1.862-1.147-1.83-.449-3.735-.04-5.041 1.354",fill:"#212121"}))},desc:(0,l.__)("This addon lets you use Easy Accordion Gutenberg blocks in Bricks by generating reusable shortcodes from saved templates.","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/page-builder-integrations/integrate-with-bricks/"},{id:9,key:"oxygen",hideSettings:!0,label:"Oxygen",Icon:function(){return React.createElement("svg",{width:44,height:44,viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:44,height:44,rx:6,fill:"url(#OxygenIntegrationIcona)"}),React.createElement("path",{d:"M35.718 22.078a13.718 13.718 0 1 0-7.553 12.177 4.778 4.778 0 0 0 7.4-4.008q0-1.618-.926-2.774c.771-1.696 1.08-3.545 1.08-5.395m-24.817 0a11.251 11.251 0 0 1 20.93-5.715 11.25 11.25 0 0 1 .959 9.414 4.778 4.778 0 0 0-6.32 6.628 11.252 11.252 0 0 1-15.568-10.327M30.787 33.33a3.238 3.238 0 1 1-1.404-6.321 3.238 3.238 0 0 1 1.404 6.321",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"OxygenIntegrationIcona",x1:37.28,y1:40.574,x2:6.96,y2:3.741,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#2c1870"}),React.createElement("stop",{offset:1,stopColor:"#783fff"}))))},desc:(0,l.__)("This addon lets you use Easy Accordion Gutenberg blocks in Oxygen by generating reusable shortcodes from saved templates.","easy-accordion-free"),docLink:"https://easyaccordion.io/docs/page-builder-integrations/integrate-with-oxygen/"}];const uB=function(){return React.createElement("div",{className:"sp-eap-integrations-page"},React.createElement("div",{className:"eap-dashboard-page-header sp-d-flex sp-flex-col sp-gap-10px"},React.createElement("span",{className:"eap-dashboard-page-header__label"},(0,l.__)("Manage Integrations","easy-accordion-free")),React.createElement("span",{className:"eap-dashboard-page-header__desc"},"Enable only what you need. Keep your site lean, fast, and clutter-free.")),React.createElement(Iu,{items:cB,optionKey:"integrations",gridCols:"sp-grid-cols-2"}))};function dB(e){return dB="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},dB(e)}var pB,hB;function fB(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 mB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fB(Object(n),!0).forEach(function(t){gB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gB(e,t,n){return(t=function(e){var t=function(e){if("object"!=dB(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=dB(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dB(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return vB(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)?vB(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vB(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}var bB=function(e,t){return(Object.keys(Fj[t])||[]).reduce(function(t,n){return t[n]=e[n],t},{})},yB=(null===(pB=window.location)||void 0===pB||null===(pB=pB.hash)||void 0===pB||null===(pB=pB.replace("#",""))||void 0===pB?void 0:pB.split("=")[1])||"advanced",wB=(null===(hB=sp_eab_admin_dashboard_localize)||void 0===hB?void 0:hB.eap_editor_preference)||"";const xB=(0,a.memo)(function(){var e=(0,s.useSelect)(function(e){return{pluginSettings:e(Vc).getPluginSettings(),eapShortcodes:e(Vc).getEapShortcodes()}}),t=e.pluginSettings,n=e.eapShortcodes,r=(0,s.useDispatch)(Vc).saveSettings,i=OB((0,a.useState)(yB),2),o=i[0],l=i[1],c=OB((0,a.useState)(t),2),u=c[0],d=c[1],p=OB((0,a.useState)(bB(t,o)),2),h=p[0],f=p[1],m=OB((0,a.useState)(!1),2),g=m[0],O=m[1],v=OB((0,a.useState)(wB),2),b=v[0],y=v[1],w=function(e,n){var r=mB(mB({},h),{},gB({},e,n));O(!Wc(r,t)),f(r),d(function(e){return mB(mB({},e),r)})};return React.createElement("div",{className:"sp-eap-settings-page-container sp-d-flex"},React.createElement("div",{className:"sp-eap-setting-tabs-wrapper sp-d-block"},React.createElement("ul",{className:"sp-eap-setting-tabs"},null==qj?void 0:qj.map(function(e){var n=e.label,r=e.value,i=e.Icon;return React.createElement("li",{key:r,className:"sp-eap-setting-tab sp-d-flex sp-cursor-pointer sp-gap-8px".concat(o===r?" active":""),onClick:function(){return function(e){l(e),window.location.hash="#settings=".concat(e);var n=bB(u,e);O(!Wc(n,t)),f(n)}(r)}},React.createElement("span",{className:"sp-eap-setting-icon"},React.createElement(i,null))," ",React.createElement("span",null,n))})),React.createElement("div",{className:"sp-eap-setting-tabs-bottom"})),React.createElement("div",{className:"sp-eap-setting-tab-content"},"advanced"===o&&React.createElement(Uj,{pluginSettings:h,updateSettingsOption:w,editorPreference:b,setEditorPreference:y}),"woocommerce-faqs"===o&&React.createElement(lB,{pluginSettings:h,eapShortcodes:n,updateSettingsOption:w}),"integrations"===o&&React.createElement(uB,null),"additional"===o&&React.createElement(Yj,{pluginSettings:h,updateSettingsOption:w}),"tools"===o&&React.createElement(Kj,null),"license-key"!==o&&"tools"!==o&&"integrations"!==o&&React.createElement(Gc,{onSave:function(){var e=mB(mB({},t),h);r({pluginSettings:e},b),O(!1)},onReset:function(){var e=Fj[o]||{},n=mB(mB({},t),e);r({pluginSettings:n})},isChanged:g})))});var SB=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:13,viewBox:"0 0 5 9",fill:"none"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.15403 0.865234L4.74524 4.81555L1.15403 8.76588L0.423828 8.10206L3.41156 4.81555L0.423829 1.52906L1.15403 0.865234Z",fill:"#757575"}))},EB=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:13,viewBox:"0 0 5 9",fill:"none"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.26589 0.865234L0.674678 4.81555L4.26589 8.76588L4.99609 8.10206L2.00836 4.81555L4.99609 1.52906L4.26589 0.865234Z",fill:"#757575"}))},kB=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:35,height:12,viewBox:"0 0 35 12",fill:"none"},React.createElement("path",{d:"M1.5 5.25a.75.75 0 0 0 0 1.5zm32.53 1.28a.75.75 0 0 0 0-1.06L29.257.697a.75.75 0 0 0-1.06 1.06L32.439 6l-4.242 4.243a.75.75 0 0 0 1.06 1.06zM1.5 6v.75h32v-1.5h-32z",fill:"#838487"}))},RB=function(){return React.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 7.733 4.968 15h2.129L16 1.533 13.935 0l-8 9.467L2 5.733z",fill:"#fff"}))};function CB(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}var PB=function(){return React.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11.376 6.139a.62.62 0 0 0-.622.622v4.5a.474.474 0 0 1-.474.473H2.156a.474.474 0 0 1-.474-.473V3.136c0-.261.213-.473.474-.473H8.82a.622.622 0 0 0 0-1.245H2.156A1.72 1.72 0 0 0 .437 3.136v8.125a1.72 1.72 0 0 0 1.719 1.718h8.124A1.72 1.72 0 0 0 12 11.26v-4.5a.62.62 0 0 0-.623-.622",fill:"#ff5b2e"}),React.createElement("path",{d:"M12.5 1.204 5.576 8.153l-1.78-1.786a.622.622 0 0 0-.881.88L4.893 9.23a.96.96 0 0 0 .684.285.96.96 0 0 0 .684-.285l7.12-7.147a.622.622 0 1 0-.882-.879",fill:"#ff5b2e"}))};const AB=function(){var e,t,n,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return CB(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)?CB(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)(!1),2),i=r[0],o=r[1],s=[{title:(0,l.__)("Vertical & Horizontal Accordion","easy-accordion-free")},{title:(0,l.__)("FAQ Search & Pagination","easy-accordion-free"),hot:!0},{title:(0,l.__)("Image and Accordion Slider","easy-accordion-free"),hot:!0},{title:(0,l.__)("FAQ Analytics & FAQ Form","easy-accordion-free")},{title:(0,l.__)("Post and Product Accordion","easy-accordion-free")},{title:(0,l.__)("Generate FAQs with AI","easy-accordion-free"),hot:!0},{title:(0,l.__)("Menu and Category Accordion","easy-accordion-free")},{title:(0,l.__)("Easy Customization Options","easy-accordion-free")}],c=(new Date).getHours(),u="Good Night";c>=5&&c<12?u="Good Morning":c>=12&&c<17?u="Good Afternoon":c>=17&&c<21&&(u="Good Evening");var d=null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.userName;return React.createElement("div",{className:"sp-eap-setup-welcome-page sp-d-flex sp-align-center"},React.createElement("div",{className:"sp-eap-setup-welcome-page-left sp-d-flex sp-flex-col"},React.createElement("div",{className:"sp-eap-setup-welcome-page-greeting"},u,", ",d),React.createElement("h3",{className:"sp-eap-setup-page-title sp-welcome-title"},"Welcome to ",React.createElement("span",null,"Easy Accordion!")),React.createElement("p",{className:"sp-eap-setup-page-desc"},"Thanks for installing Easy Accordion — This plugin gives you everything you need to create clean and interactive accordion sections, without touching a line of code."),React.createElement("p",{className:"sp-eap-setup-page-desc"},"Get set up in minutes and start showcasing accordions using",React.createElement("b",null," 15+ flexible blocks and 100+ ready-made patterns.")," Packed with features, including:"),React.createElement("div",{className:"sp-eap-setup-feature-lists sp-d-grid sp-grid-cols-2 sp-gap-10px"},null==s?void 0:s.map(function(e,t){return React.createElement("div",{key:t,className:"sp-eap-setup-feature-list sp-d-flex sp-align-center sp-gap-8px"},React.createElement("span",{className:"sp-eap-setup-feature-check-icon"},React.createElement(PB,null)),React.createElement("span",{className:"sp-eap-feature-list-title"},e.title,e.hot&&React.createElement("span",{className:"sp-eap-badge-hot"},"HOT"),e.upcoming&&React.createElement("span",{className:"sp-eap-badge-upcoming"},"Upcoming")))}))),React.createElement("div",{className:"sp-eap-setup-welcome-page-right sp-d-flex",style:{backgroundImage:"url(".concat(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.pluginUrl,"admin/img/setup-wizard/video-thumbnail.png)")}},i?React.createElement("iframe",{width:"510",height:"410",src:"https://www.youtube.com/embed/videoseries?list=PLoUb-7uG-5jPNXkpGII8cTTfB-L4TCaqv&autoplay=1",title:"YouTube video player",allow:"autoplay; encrypted-media"}):React.createElement("div",{className:"sp-eap-setup-video-overlay sp-d-flex sp-align-center sp-justify-center"},React.createElement("button",{id:"sp-eap-play-btn",className:"sp-eap-play-btn-sonar sp-d-flex sp-align-center sp-justify-center sp-cursor-pointer",onClick:function(){return o(!0)}},React.createElement("img",{src:"".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.pluginUrl,"admin/img/setup-wizard/video-play.svg"),alt:"video-play"})))))},QB=function(){return React.createElement("div",{className:"sp-eap-setup-blocks-page"},React.createElement("div",{className:"sp-eap-setup-blocks-page-header sp-d-flex sp-align-center sp-justify-between sp-gap-10px sp-flex-col"},React.createElement("h3",{className:"sp-eap-setup-page-title"},(0,l.__)("Enable the Blocks You Need","easy-accordion-free")),React.createElement("p",{className:"sp-eap-setup-page-desc"},(0,l.__)("Turn on the blocks that match your workflow. You can update your selection anytime.","easy-accordion-free"))),React.createElement(Ju,{showHeading:!1}))};var TB=function(e){var t=e.closeModal;return React.createElement(Fc.Modal,{title:(0,l.__)("What We Collect?","easy-accordion-free"),onRequestClose:t,className:"splw-setup-page-modal"},React.createElement("hr",null),React.createElement("p",{className:"modal-description"},(0,l.__)("We collect only non-sensitive diagnostic data and basic plugin usage information. This may include:","easy-accordion-free")),React.createElement("ul",null,React.createElement("li",{className:"modal-description"},(0,l.__)("WordPress & PHP version","easy-accordion-free")),React.createElement("li",{className:"modal-description"},(0,l.__)("Active theme and plugins","easy-accordion-free")),React.createElement("li",{className:"modal-description"},(0,l.__)("General system details","easy-accordion-free")),React.createElement("li",{className:"modal-description"},(0,l.__)("Email address only for sending helpful updates or optional offers.","easy-accordion-free"))),React.createElement("p",{className:"modal-description"},(0,l.__)("This information helps us improve performance, fix issues faster, and ensure Easy Accordion stays compatible with the popular plugins and themes.","easy-accordion-free")),React.createElement("p",{className:"modal-description sp-d-flex sp-align-center sp-gap-4px"},(0,l.__)("We","easy-accordion-free"),React.createElement("b",null,(0,l.__)("do not collect sensitive personal data,","easy-accordion-free")),(0,l.__)("and","easy-accordion-free"),React.createElement("b",null,(0,l.__)("never send spam","easy-accordion-free")),(0,l.__)("promise.","easy-accordion-free")),React.createElement("p",{className:"modal-description"},React.createElement("b",null,(0,l.__)("Your privacy comes first.","easy-accordion-free"))),React.createElement("a",{href:"https://easyaccordion.io/information-we-collect/",target:"_blank",className:"modal-description sp-d-flex sp-align-center sp-gap-4px",rel:"noreferrer"},(0,l.__)("Learn More","easy-accordion-free"),React.createElement(lc,null)))};function MB(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return _B(c,"_invoke",function(n,r,i){var o,s,l,c=0,u=i||[],d=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=p.p,f=o[2];n>3?(i=f===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,p.v=r,p.n=o[1]):h<f&&(i=n<3||o[0]>r||r>f)&&(o[4]=n,o[5]=r,p.n=f,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),s=u,l=f;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),h(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(r,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(_B(t={},r,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,_B(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,_B(d,"constructor",c),_B(c,"constructor",l),l.displayName="GeneratorFunction",_B(c,i,"GeneratorFunction"),_B(d),_B(d,i,"Generator"),_B(d,r,function(){return this}),_B(d,"toString",function(){return"[object Generator]"}),(MB=function(){return{w:o,m:p}})()}function _B(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_B=function(e,t,n,r){function o(t,n){_B(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},_B(e,t,n,r)}function IB(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function $B(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){IB(o,r,i,a,s,"next",e)}function s(e){IB(o,r,i,a,s,"throw",e)}a(void 0)})}}function DB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return LB(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)?LB(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LB(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}const NB=function(){var e,t,n,r,i="undefined"===(null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.eab_user_consent)||{0:!1,1:!0}[null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.eab_user_consent],o=DB((0,a.useState)(i),2),s=o[0],c=o[1],u=DB((0,a.useState)(!1),2),d=u[0],p=u[1],h=DB((0,a.useState)(!1),2),f=h[0],m=h[1],g=function(){var e=$B(MB().m(function e(){var t,n,r;return MB().w(function(e){for(;;)switch(e.p=e.n){case 0:return m(!0),e.p=1,t={shareData:s},(n=new FormData).append("action","sp_eap_get_user_consent"),n.append("nonce",sp_eab_admin_dashboard_localize.nonce),n.append("queryData",JSON.stringify(t)),e.n=2,Gl.post(ajaxurl,n);case 2:return e.a(2,{success:!0});case 3:return e.p=3,r=e.v,id((0,l.__)("Something Went Wrong","easy-accordion-free")),e.a(2,{success:!1,error:r});case 4:return e.p=4,m(!1),e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}));return function(){return e.apply(this,arguments)}}(),O=function(){var e=$B(MB().m(function e(){var t,n;return MB().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,g();case 1:(t=e.v)&&t.success&&(window.location.href="".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.homeUrl,"wp-admin/admin.php?page=eap_dashboard"));case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return React.createElement("div",{className:"sp-eap-setup-finish-page sp-d-flex sp-flex-col sp-align-center sp-justify-center"},React.createElement("img",{src:"".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.pluginUrl,"/admin/img/setup-wizard/congratulations.svg"),alt:"Congratulations"}),React.createElement("h3",{className:"sp-eap-setup-page-title"},(0,l.__)("You’re Ready to Create FAQs & Accordions!","easy-accordion-free")),React.createElement("p",{className:"sp-eap-setup-page-desc",style:{width:"636px",textAlign:"center"}},(0,l.__)("Start building beautiful FAQs and dynamic accordions with Easy Accordion—no coding, just a smooth and efficient experience.","easy-accordion-free")),React.createElement("button",{className:"sp-eap-setup-wizard-nav-btn next-btn eap-setup-wizard-finish",onClick:O,disabled:f,"aria-busy":f},f?React.createElement(React.Fragment,null,React.createElement(Fc.Spinner,null)," ",(0,l.__)("Finishing…","easy-accordion-free")):(0,l.__)("Finish & Let’s Get Started","easy-accordion-free")),React.createElement("div",{className:"sp-eap-setup-finish-page-banner sp-d-flex sp-align-center sp-justify-between"},React.createElement("div",{className:"sp-eap-setup-finish-page-banner-left sp-d-flex sp-flex-col"},React.createElement("h3",{className:"sp-eap-setup-page-title"},(0,l.__)("Easily Create Beautiful FAQs and Accordions for Your Website","easy-accordion-free")),React.createElement("p",{className:"sp-eap-setup-page-desc"},React.createElement("span",{className:"sp-d-flex sp-align-center sp-gap-4px"},(0,l.__)("Trusted by","easy-accordion-free"),React.createElement("b",null,"100,000+"),(0,l.__)("users — Easy Accordion helps you","easy-accordion-free")),React.createElement("span",{className:"sp-d-block"},(0,l.__)("create clean, flexible layouts effortlessly.","easy-accordion-free"))),React.createElement("div",{className:"sp-eap-setup-wizard-button sp-d-flex sp-align-center sp-gap-8px"},React.createElement("a",{className:"sp-eap-setup-wizard-nav-btn prev-btn eab-pro-btn",href:"https://easyaccordion.io/pricing/?ref=1",target:"_blank",rel:"noreferrer"},React.createElement(mc,null),(0,l.__)("Upgrade to Pro!","easy-accordion-free")),React.createElement("a",{className:"sp-eap-setup-wizard-nav-btn prev-btn explore-button",href:"https://easyaccordion.io/patterns/",target:"_blank",rel:"noreferrer"},(0,l.__)("Explore All Patterns","easy-accordion-free"),React.createElement(dd,null)))),React.createElement("img",{src:"".concat(null===(r=sp_eab_admin_dashboard_localize)||void 0===r?void 0:r.pluginUrl,"/admin/img/setup-wizard/finish-page-banner.png"),alt:"finish-page-banner"})),React.createElement("div",{className:"spl-weather-checkbox-component-wrapper sp-d-flex sp-align-center"},React.createElement("p",{className:"sp-eap-setup-page-desc sp-d-flex sp-align-center sp-gap-4px"},(0,l.__)("Help us improve Easy Accordion and get useful tips by sharing non-sensitive diagnostic data. See","easy-accordion-free"),React.createElement("span",{className:"sp-eap-modal-btn",style:{fontWeight:"600",textDecoration:"underline"},onClick:function(){return p(!0)}},(0,l.__)("what we collect.","easy-accordion-free"))),React.createElement(Fc.CheckboxControl,{checked:s,onChange:function(){return c(!s)},__nextHasNoMarginBottom:!0})),d&&React.createElement(TB,{closeModal:function(){return p(!1)}}))};function zB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jB(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)?jB(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jB(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}const BB=function(){var e,t,n=document.querySelector("#wpfooter");n&&(n.style.display="none");var r=(0,a.useRef)(null),i=zB((0,a.useState)(0),2),o=i[0],s=i[1],c=zB((0,a.useState)(!1),2),u=c[0],d=c[1],p=zB((0,a.useState)("left"),2),h=p[0],f=p[1],m=zB((0,a.useState)(""),2),g=m[0],O=m[1],v=["Welcome","Blocks","Finish"];return React.createElement("div",{className:"sp-eab-admin-dashboard-container"},React.createElement("div",{className:"sp-eap-setup-wizard-wrapper sp-d-flex sp-flex-col sp-align-center sp-justify-center"},React.createElement("div",{className:"sp-eap-setup-wizard-content sp-d-flex sp-flex-col sp-align-center sp-justify-center"},React.createElement("div",{className:"sp-eap-setup-steps"},null==v?void 0:v.map(function(e,t){return React.createElement("div",{key:t,className:"sp-eap-setup-step sp-d-flex sp-align-center"},React.createElement("span",{className:"sp-eap-setup-step-number sp-d-flex sp-align-center sp-justify-center".concat("".concat(t===o?" active":""),"".concat(t<o?" previous":""))},t<o?React.createElement(RB,null):"0"+(t+1)),React.createElement("span",{className:"sp-eap-setup-step-title"},e),t!==v.length-1&&React.createElement(kB,null))})),React.createElement("div",{className:"sp-eap-setup-step-page ".concat(g),onAnimationEnd:function(){u&&(s("left"===h?function(e){return e+1}:function(e){return e-1}),O("is-entering"),d(!1))}},"Welcome"===v[o]&&React.createElement(AB,null),"Blocks"===v[o]&&React.createElement(QB,null),"Finish"===v[o]&&React.createElement(NB,null)),React.createElement("div",{className:"sp-eap-setup-wizard-btn-wrapper sp-d-flex"},0!==o&&o!==v.length-1&&React.createElement("button",{className:"sp-eap-setup-wizard-nav-btn prev-btn",onClick:function(){f("right"),d(!0),O("is-exiting")}},React.createElement(EB,null),(0,l.__)("Previous","easy-accordion-free")),0===o&&React.createElement("a",{className:"sp-eap-setup-wizard-nav-btn prev-btn",href:"".concat(null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.homeUrl,"wp-admin/admin.php?page=eap_dashboard")},"Skip it"),o!==v.length-1&&React.createElement("button",{className:"sp-eap-setup-wizard-nav-btn next-btn",onClick:function(){f("left"),d(!0),O("is-exiting")},ref:r},(0,l.__)("Next Step","easy-accordion-free"),React.createElement(SB,null)))),React.createElement("img",{className:"setup-wizard-bg",src:"".concat(null===(t=sp_eab_admin_dashboard_localize)||void 0===t?void 0:t.pluginUrl,"admin/img/setup-wizard/setup-wizard-bg.svg"),alt:"setup wizard"}),React.createElement(se,{position:"top-right",toastOptions:{style:{padding:"16px 24px",fontSize:"18px",borderRadius:"10px",maxWidth:"400px"}}})))};var ZB=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none"},React.createElement("path",{fill:"#6E6A69",d:"M16.5 8c0-4.408-3.592-8-8-8-4.416 0-8 3.592-8 8 0 4.416 3.584 8 8 8 4.408 0 8-3.584 8-8Zm-9.776 4.296-2.728-7.32c.44-.016.936-.064.936-.064.4-.048.352-.904-.048-.888 0 0-1.16.088-1.896.088-.144 0-.296 0-.464-.008A7.097 7.097 0 0 1 8.5.888c1.864 0 3.56.696 4.84 1.872-.544-.088-1.32.312-1.32 1.264 0 .592.36 1.088.72 1.68.28.488.44 1.088.44 1.968 0 1.192-1.12 4-1.12 4L9.636 4.976c.432-.016.656-.136.656-.136.4-.04.352-1-.048-.976 0 0-1.152.096-1.904.096-.696 0-1.864-.096-1.864-.096-.4-.024-.448.96-.048.976l.736.064 1.008 2.728-1.448 4.664ZM14.428 8c.192-.512.592-1.496.344-3.4.56 1.032.84 2.168.84 3.4 0 2.632-1.384 4.992-3.52 6.224.776-2.072 1.552-4.16 2.336-6.224ZM5.38 14.472C2.996 13.32 1.388 10.824 1.388 8c0-1.04.184-1.984.576-2.872C3.1 8.24 4.236 11.36 5.38 14.472Zm3.224-5.304 2.064 5.584a6.734 6.734 0 0 1-2.168.36 6.301 6.301 0 0 1-1.832-.264c.648-1.904 1.296-3.792 1.936-5.68Z"}))},XB=function(e){var t=e.color,n=void 0===t?"#F4674D":t;return React.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M7.70547 0L9.84795 5.15113L15.409 5.59696L11.1721 9.22637L12.4665 14.653L7.70547 11.745L2.94441 14.653L4.23887 9.22637L0.00191116 5.59696L5.56299 5.15113L7.70547 0Z",fill:n}))},VB=function(){return React.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m8.1 0 2.143 5.151 5.56.446-4.236 3.63 1.294 5.426L8.1 11.745l-4.761 2.908 1.294-5.427L.396 5.597l5.562-.446z",fill:"#e0e0e0"}),React.createElement("path",{d:"m8.1 0-2.142 5.151-5.562.446 4.236 3.63-1.294 5.426L8.1 11.745V0z",fill:"#f4674d"}))},FB=function(){return React.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m10.5 15.252 4.563-1.164L16.969 20zM21 7.61h-8.031L10.5 0 8.031 7.61H0l6.5 4.717-2.469 7.61 6.5-4.717 4-2.893z",fill:"#00b57a"}))},qB=[{title:(0,l.__)("All Core Plugin Features","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Gutenberg Accordion Blocks","easy-accordion-free"),free:7,pro:15,new:!0,hot:!0},{title:(0,l.__)("Pre-Made Templates (Vertical, Horizontal, Slider, etc.)","easy-accordion-free"),free:7,pro:25},{title:(0,l.__)("Accordion Patterns Library","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Reusable Saved Templates","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("WooCommerce Custom FAQ Tab (Per Product & Category)","easy-accordion-free"),free:"no",pro:"yes"},{title:(0,l.__)("Stunning Vertical Q & A, Timeline, Numbered Templates","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("Horizontal & Vertical Image Accordion","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Accordion Slider with Image Hover Effects","easy-accordion-free"),free:"no",pro:"yes",new:!0,hot:!0},{title:(0,l.__)("Display Posts & Products in FAQ Accordions","easy-accordion-free"),free:"yes",pro:"yes",hot:!0},{title:(0,l.__)("Sidebar Tab Accordion","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Taxonomy or WordPress Menu Accordion","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("FAQ Submission Forms","easy-accordion-free"),free:"no",pro:"yes",new:!0},{title:(0,l.__)("Create Unlimited Multi-level / Nested Accordion","easy-accordion-free"),free:"yes",pro:"yes",hot:!0},{title:(0,l.__)("FAQ Schema Markup (Google rich results)","easy-accordion-free"),free:"yes",pro:"yes",hot:!0},{title:(0,l.__)("FAQ Analytics (Impressions & Clicks)","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("Add FAQ Subtitle & Featured Icon","easy-accordion-free"),free:"no",pro:"yes",new:!0},{title:(0,l.__)("Add Prefix & Suffix to Accordion Title","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("Custom Title Linking","easy-accordion-free"),free:"no",pro:"yes"},{title:(0,l.__)("Accordion Expand/Collapse All Button","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("Image Flip & Custom Focal Point","easy-accordion-free"),free:"no",pro:"yes",new:!0},{title:(0,l.__)("Activator Events (On Click, Hover, AutoPlay)","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Initial Accordion Display (Single, Multiple, Selected)","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Accordion Item Anchor Links (Title / ID)","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("FAQ Close Button (Reduces Long Scrolling)","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("Live Taxonomy Filter for Posts & Products Accordion","easy-accordion-free"),free:"no",pro:"yes",new:!0},{title:(0,l.__)("Live AJAX FAQs Search","easy-accordion-free"),free:"no",pro:"yes",hot:!0},{title:(0,l.__)("AJAX FAQ Pagination (Load More, Infinite Scroll & Numbered)","easy-accordion-free"),free:"no",pro:"yes"},{title:(0,l.__)("Image Lightbox for FAQ Images","easy-accordion-free"),free:"no",pro:"yes"},{title:(0,l.__)("Control Accordion Items Expanded Area Width","easy-accordion-free"),free:"no",pro:"yes",new:!0},{title:(0,l.__)("45+ Entrance & Content Animations, Scrolling Effects","easy-accordion-free"),free:"no",pro:"yes"},{title:(0,l.__)("Accordion Expand & Collapse Toggle Icon Styles","easy-accordion-free"),free:8,pro:16},{title:(0,l.__)("Import / Export Accordion FAQs","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Security Enhancements & Compatibility","easy-accordion-free"),free:"no",pro:"yes"},{title:(0,l.__)("Multisite Compatible","easy-accordion-free"),free:"yes",pro:"yes"},{title:(0,l.__)("Priority Top-Notch Support","easy-accordion-free"),free:"no",pro:"yes"}],WB=[{text:(0,l.__)("Just wanted to drop a quick note to confirm that not only does the plugin operate as well as – if not better then – you’d expect from the description and other reviews here, but also they have o...","easy-accordion-free"),user:"wordpress",name:"Michael Kastler",role:"Managing Director, Newbe Marketing",img:"/admin/img/michael.png"},{text:(0,l.__)("My colleagues are very impressed with the result of the multiple accordion. Just what we needed:-) Very useful having the video tutorial, many alternatives don’t. However there is a piece missing from...","easy-accordion-free"),user:"wordpress",name:"Joel Roberts",role:"Web Developer",img:"/admin/img/joel.png"},{text:(0,l.__)("Nice, simple plugin with a few useful extra options in the Pro version. However, it is the service/support that needs a special mention. I got prompt and helpful replies within a few hours (allowing for...","easy-accordion-free"),user:"trustpilot",name:"Richard Joss",role:"Freelancer, Upwork",img:"/admin/img/richard.png"}],GB=function(e){return"number"==typeof e?React.createElement("b",null,e):"yes"===e?React.createElement("i",{className:"dashicons dashicons-saved"}):"no"===e?React.createElement("i",{className:"dashicons dashicons-no-alt"}):e};const HB=function(){return React.createElement("section",{className:"sp-eab-pro-page",id:"lite-pro-tab"},React.createElement("div",{className:"sp-eab-pro-table"},React.createElement("div",{className:"sp-eab-pro-header"},React.createElement("div",null,React.createElement("h2",{className:"sp-eab-section-title"},(0,l.__)("Lite vs Pro Comparison","easy-accordion-free")),React.createElement("span",{className:"sp-eab-pro-subtitle"},(0,l.__)("Get Easy Accordion Pro Today and Unlock all the Powerful Features","easy-accordion-free"))),React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://easyaccordion.io/pricing/?ref=1",className:"sp-eab-upgrade-to-pro-btn"},(0,l.__)("Upgrade to Pro Now!","easy-accordion-free"))),React.createElement("div",{className:"sp-eab-pro-table-list"},React.createElement("ul",null,React.createElement("li",{className:"sp-eab-pro-table-row sp-eab-header"},React.createElement("span",{className:"sp-eab-title"},(0,l.__)("FEATURES","easy-accordion-free")),React.createElement("span",{className:"sp-eab-free"},(0,l.__)("LITE","easy-accordion-free")),React.createElement("span",{className:"sp-eab-pro sp-eab-pro-icon"},React.createElement(mc,null),(0,l.__)("PRO","easy-accordion-free"))),qB.map(function(e,t){return React.createElement("li",{className:"sp-eab-pro-table-row",key:t},React.createElement("span",{className:"sp-eab-title"},null==e?void 0:e.title,(null==e?void 0:e.info)&&React.createElement(Hc,{text:null==e?void 0:e.info}),(null==e?void 0:e.video)&&React.createElement("span",{className:"sp-eab-settings-info"},React.createElement("span",{className:"sp-eab-settings-info-text"})),(null==e?void 0:e.new)&&React.createElement("span",{className:"sp-eab-new"},(0,l.__)("new","easy-accordion-free")),(null==e?void 0:e.hot)&&React.createElement("span",{className:"sp-eab-hot"},(0,l.__)("hot","easy-accordion-free"))),React.createElement("span",{className:"sp-eab-free"},GB(null==e?void 0:e.free)),React.createElement("span",{className:"sp-eab-pro"},GB(null==e?void 0:e.pro)))})))),React.createElement("div",{className:"sp-eab-upgrade-to-pro-promotion"},React.createElement("h2",{className:"sp-eab-section-title"},(0,l.__)("Upgrade To PRO & Enjoy Advanced Features!","easy-accordion-free")),React.createElement("span",{className:"sp-eab-section-subtitle"},(0,l.__)("Already, ","easy-accordion-free"),React.createElement("b",null,(0,l.__)("100,000+","easy-accordion-free")),(0,l.__)(" people are using Easy Accordion on their websites to create beautiful showcase, why won't you!","easy-accordion-free")),React.createElement("div",{className:"sp-eab-upgrade-to-pro-btn-wrapper"},React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://easyaccordion.io/pricing/?ref=1",className:"sp-eab-upgrade-to-pro-btn"},(0,l.__)("Upgrade to Pro Now!","easy-accordion-free")),React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://easyaccordion.io/",className:"sp-eab-upgrade-to-pro-btn"},(0,l.__)("See All Features","easy-accordion-free")))),React.createElement("div",{className:"sp-eab-testimonial"},React.createElement("div",{className:"sp-eab-testimonial-header"},React.createElement("div",{className:"sp-eab-testimonial-ratings"},React.createElement("a",{href:"https://wordpress.org/support/plugin/easy-accordion-free/reviews/",target:"_blank",rel:"noreferrer",className:"sp-eab-testimonial-rating-item",title:"Reviews on WordPress"},React.createElement("div",{className:"sp-eab-testimonial-rating-wordpress"},React.createElement("div",{className:"sp-eab-wp-mark"},React.createElement(ZB,null)),React.createElement("div",{className:"sp-eab-wp-text"},React.createElement(XB,null),React.createElement(XB,null),React.createElement(XB,null),React.createElement(XB,null),React.createElement(VB,null))),React.createElement("span",{className:"sp-eab-testimonial-rating-score"},"4.5/5"),React.createElement("span",{className:"sp-eab-testimonial-review-count"},"350+ Reviews")),React.createElement("a",{href:"https://www.trustpilot.com/review/shapedplugin.com",target:"_blank",rel:"noreferrer",className:"sp-eab-testimonial-rating-item",title:"Reviews on Trustpilot"},React.createElement("div",{className:"sp-eab-testimonial-rating-trustpilot"},React.createElement("div",{className:"sp-eab-trustpilot-mark"},React.createElement(FB,null))),React.createElement("div",{className:"sp-eab-trustpilot-stars"},React.createElement(XB,{color:"#fff"}),React.createElement(XB,{color:"#fff"}),React.createElement(XB,{color:"#fff"}),React.createElement(XB,{color:"#fff"}),React.createElement(XB,{color:"#fff"})),React.createElement("span",{className:"sp-eab-testimonial-rating-score"},"4.9/5"),React.createElement("span",{className:"sp-eab-testimonial-review-count"},"140+ Reviews"))),React.createElement("h2",{className:"sp-eab-testimonial-title"},(0,l.__)("Don't Just Take Our Word for It — See What Users Say!","easy-accordion-free"))),React.createElement("div",{className:"sp-eab-testimonial-wrap"},null==WB?void 0:WB.map(function(e,t){var n;return React.createElement("div",{className:"sp-eab-testimonial-card ".concat("trustpilot"===(null==e?void 0:e.user)?"sp-eab-testimonial-card-trustpilot":""),key:t},React.createElement("div",{className:"sp-eab-testimonial-card-header"},React.createElement("div",{className:"sp-eab-testimonial-reviewer"},React.createElement("div",{className:"sp-eab-testimonial-avatar"},"trustpilot"===(null==e?void 0:e.user)?React.createElement("div",{className:"sp-eab-testimonial-avatar-initials"},React.createElement("span",null,e.name.slice(0,2).toUpperCase())):React.createElement("img",{src:"".concat(null===(n=sp_eab_admin_dashboard_localize)||void 0===n?void 0:n.pluginUrl).concat(null==e?void 0:e.img),alt:null==e?void 0:e.name}),React.createElement("div",{className:"sp-eab-testimonial-source-badge"},"trustpilot"===(null==e?void 0:e.user)?React.createElement(FB,null):React.createElement(ZB,null))),React.createElement("div",{className:"sp-eab-testimonial-reviewer-info"},React.createElement("h3",null,e.name),React.createElement("p",null,e.role)))),React.createElement("div",{className:"sp-eab-testimonial-rating-stars"},"trustpilot"===(null==e?void 0:e.user)?React.createElement("div",{className:"sp-eab-testimonial-rating-trustpilot-stars"},React.createElement("span",{className:"sp-eab-trustpilot-star-item"},React.createElement(XB,{color:"#fff"})),React.createElement("span",{className:"sp-eab-trustpilot-star-item"},React.createElement(XB,{color:"#fff"})),React.createElement("span",{className:"sp-eab-trustpilot-star-item"},React.createElement(XB,{color:"#fff"})),React.createElement("span",{className:"sp-eab-trustpilot-star-item"},React.createElement(XB,{color:"#fff"})),React.createElement("span",{className:"sp-eab-trustpilot-star-item"},React.createElement(XB,{color:"#fff"}))):React.createElement("span",null,"★★★★★")),React.createElement("div",{className:"sp-eab-testimonial-card-content"},React.createElement("p",null,null==e?void 0:e.text)))}))))};var UB=function(){return React.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fill:"#641dd7",d:"M0 0h48v48H0z"}),React.createElement("path",{d:"M8.4 27.997a2.44 2.44 0 0 1 2.438-2.437h9.165a2.437 2.437 0 0 1 2.437 2.437v9.165a2.437 2.437 0 0 1-2.437 2.438h-9.165A2.44 2.44 0 0 1 8.4 37.162zM25.56 15.42a7.02 7.02 0 1 1 14.04 0 7.02 7.02 0 0 1-14.04 0M8.4 10.837A2.44 2.44 0 0 1 10.838 8.4h9.165a2.437 2.437 0 0 1 2.437 2.437v9.165a2.437 2.437 0 0 1-2.437 2.438h-9.165A2.44 2.44 0 0 1 8.4 20.002z",fill:"#fff"}),React.createElement("rect",{x:25.561,y:36.48,width:14.04,height:2.08,rx:1.04,fill:"#fff"}),React.createElement("rect",{x:25.561,y:26.6,width:14.04,height:2.08,rx:1.04,fill:"#fff"}),React.createElement("rect",{x:25.561,y:31.28,width:14.04,height:2.08,rx:1.04,fill:"#fff"}))},YB=function(){return React.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fill:"url(#tabsLogoIcon)",d:"M0 0h48v48H0z"}),React.createElement("path",{d:"M40.077 10.5H7.875c-.498 0-.9.402-.9.9v25.194c0 .504.402.9.9.9h32.202c.504 0 .9-.402.9-.9V11.4c0-.504-.402-.9-.9-.9m-3.198 8.19H31.28v-4.098h5.598zm-14.508 0v-4.098h4.902v4.098zM11.079 33.396V14.598h7.302v7.194c0 .504.402.9.9.9h17.604v10.71H11.079z",fill:"#fff"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"tabsLogoIcon",x1:-1.225,y1:0,x2:51.903,y2:9.999,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#1a689c"}),React.createElement("stop",{offset:.837,stopColor:"#2eba90"}))))},KB=function(){return React.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M44.97 0H3.03A3.03 3.03 0 0 0 0 3.03v41.94A3.03 3.03 0 0 0 3.03 48h41.94A3.03 3.03 0 0 0 48 44.97V3.03A3.03 3.03 0 0 0 44.97 0",fill:"url(#wp-carousel)"}),React.createElement("g",{opacity:.9,fill:"#fff"},React.createElement("path",{opacity:.9,d:"m32.178 25.533-3.898-4.865 2.385-1.867 3.898 4.824z"}),React.createElement("path",{opacity:.9,d:"m30.665 28.463-2.344-1.88 3.898-4.866 2.344 1.908zm-14.527-2.93-2.385-1.908L17.65 18.8l2.37 1.867z"}),React.createElement("path",{opacity:.9,d:"m17.65 28.463-3.897-4.838 2.344-1.908 3.884 4.865z"}),React.createElement("path",{opacity:.9,d:"M41.568 37.171H6.748V10.065h34.82zm-30.895-3.925h26.97V14.004h-26.97z"})),React.createElement("defs",null,React.createElement("linearGradient",{id:"wp-carousel",x1:.891,y1:47.108,x2:47.122,y2:.878,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#197893"}),React.createElement("stop",{offset:1,stopColor:"#1fa8b5"}))))},JB=function(){return React.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},React.createElement("path",{fill:"url(#woo-gallery-logo-icon)",d:"M0 0h48v48H0z"}),React.createElement("defs",null,React.createElement("pattern",{id:"woo-gallery-logo-icon",patternContentUnits:"objectBoundingBox",width:1,height:1},React.createElement("use",{xlinkHref:"#woo-gallery",transform:"scale(.0039)"})),React.createElement("image",{id:"woo-gallery",width:256,height:256,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAQAElEQVR4Aey9B7htSVUuWuM0HegGSRIEr4qIShYaCYqikoPXBOq9iuJ7opKD6Pfe9/nU+0z3KY1IEBVUVCRKEBCVIMhHphMd6NxA0znRTec+3X3eCFU1qmqMqjnX2nPvsw+u9dUY9df//2PMWrX3nL3P2fvs3hOa15Ne/PIfffovveqYX/jxP7/hWY//i32/+pi/bOKvcC3xa4/5q32T8Vj0DON1+37tsf14NmrT8fp9z37savGcx71+n8Rf47xO/A3WSTz3cX+zb3787b7nPt7G85Dz4w37nvf46Xg+eiT+bt/zH9/EE3Ddjb/f9/wn/P2+F8yKf0CfjRc+4R/2vfCJbbwRuXG86Ilv3CfxjzjPiCeh50lv2vfiWfFm9NXxkie9eZ+NtyCH8eR+/Dpqv/7kt+6bF29D39v2vfTJMZ6Csxtv3/fSp9TxG7i28U/7fuMpTjwVOYzfzPGOfb/5VBsv/e//tO+5P/vm63/xV99wzE+99PU/2tzuIT8Afug5r7nN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5FoowyhM3Nr+cDCh00Vp2CwBWaPMuKHDfjGkW8XCM1HXB53l0uP+mNf/Q/383fBrz27lc98qt3uu5y0xmNQd5aKF9MlwRjn2UJk6qIcCA1McC5slcCNYlLHDXHK59lCZOqipDWYWghJKvNIt9hWCY42RYFow5FhdyBEDY3vx4NKHTQWHUKAldo8iwrctyMaxTxco3UdMDlpbe/6vJL7nTjI6kZPwDe/rvPvfqr97ziWy+6+9Un7kMDCcW74mVKSU5rmX1WtCCtAr3Qh4PQOKCoGTmhFnGJo+Z45bMsYVJVEdI6DC2EZLVZ5DsMywQn26Jg1KGokDsQwubm16MBhQ4aq05B4ApNnmVFjptxjSJerpHqDvvwbj/vrpd/4St3v/reb//dn76aGiJFUwj0EHjDX/3CA8/+rst+/MJ7XHX8NbfZe2P7LcK6ndQFOYLQe2kNIhw9n/Iw0TE5IQGZcYlDcJV9NllUVZQ0ng0thGR2dJLvMCwTnDp9hFaHIlFGGcLm5tfzAYUZKRir6lPEFZpUWBtxM65WxMs1knTAb/WFr93muhu+8k2XHX/Kt3/lJ17zqh+7H978+av9/x8AAP//ROmgrQAAAAZJREFUAwBqwgedsS1HGQAAAABJRU5ErkJggg=="})))},eZ=function(){return React.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},React.createElement("path",{fill:"url(#logo-carousel)",d:"M0 0h48v48H0z"}),React.createElement("defs",null,React.createElement("pattern",{id:"logo-carousel",patternContentUnits:"objectBoundingBox",width:1,height:1},React.createElement("use",{xlinkHref:"#logo-carousel-b",transform:"scale(.0039)"})),React.createElement("image",{id:"logo-carousel-b",width:256,height:256,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAgAElEQVR4Ae3de3AcxZ0HcP2Xf6CuCJZl6x1H2JAqqqirIkXOubuq+8P8kfsnd8VRdVdcXZH8cUc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f0qub1p7Tp/v583U/f3BXX/lU36HET/XpkJva+cVCnYOFtaoQIPyEX9z605Y/gS3/aGFtYhf5mHBH6e8seZe3D3onIQgIP+En/Grw4pN+4KAeVgcH/Ma9kxeOebVd2x8FdJxl+V2EnSVvTWupMGUKADiHH6aGc/lYTef56Tx/nZ7nn+K39Ma+qy8O5FrX6ei/7qLWUmFcFwJh0MMyGHroI/yEvz7x++ORH+ZRK94k128ZKlzWOljYJQYBwA5TA3CsJvyEv+7wP+7vCv0MvyTBpvVarUPXX9xaKgy2D3mfh4HPl8HQQx/hJ/x1hP9z/tx+46O700Jq43WXDC4/t2OocHX7kLe7fcib0oUBAMdqwk/46wD/FP+tvq6xwtXaX+yxATOL92gfWXleW6lwZcewV2of8o5DGGDooY/wE36H8R/vGvVK/Ce6q36lNwuIeXnPBaVrG78xXFzWsblQ6Bz2+jqHvYnOYe9Y57B3qmPYmyT80+jhoh/dhT1iO13k4zP5tl4Lt/ROLh71Tl045h1bPOZNLH7c6+saLRS6RovLunZe25gXb/zv+H8ehN+M/WICCgAAAABJRU5ErkJggg=="})))},tZ=function(){return React.createElement("img",{src:"https://shapedplugin.com/wp-content/uploads/edd/2022/08/real-testimonials.png"})},nZ=function(){return React.createElement("img",{src:"https://shapedplugin.com/wp-content/uploads/edd/2022/08/woo-product-slider.png"})},rZ=function(){return React.createElement("img",{src:"https://shapedplugin.com/wp-content/uploads/edd/2022/08/woo-category-slider.png"})},iZ=function(){return React.createElement("img",{src:"https://shapedplugin.com/wp-content/uploads/edd/2024/07/Smart-Swatch-Icon.png"})},oZ=function(){return React.createElement("img",{src:"https://shapedplugin.com/wp-content/uploads/edd/2022/08/wp-team.png"})},aZ=function(){return React.createElement("img",{src:"https://shapedplugin.com/wp-content/uploads/edd/2023/05/smart-brands.png"})},sZ=function(){return React.createElement("img",{alt:"Location Weather",src:"https://shapedplugin.com/wp-content/uploads/edd/2022/08/Location-Weather.png"})},lZ=[{name:"WP Carousel",description:"The most powerful and user-friendly multi-purpose carousel, slider, & gallery plugin for WordPress.",url:"https://wpcarousel.io/",icon:React.createElement(KB,null)},{name:"Real Testimonial",description:"Simply collect, manage, and display Testimonials on your website and boost conversions.",url:"https://realtestimonials.io/",icon:React.createElement(tZ,null)},{name:"Smart Tabs",description:"Best WooCommerce Custom Product Tabs & WordPress Tabs Builder Plugin to create responsive tabs.",url:"https://wptabs.com/",icon:React.createElement(YB,null)},{name:"Smart Post",description:"Filter and display posts (any post types), pages, taxonomy, custom taxonomy, and custom field, in beautiful layouts.",url:"https://wpsmartpost.com/",icon:React.createElement(UB,null)},{name:"Smart Team",description:"Simply collect, manage, and display Testimonials on your website and boost conversions.",url:"https://getwpteam.com/",icon:React.createElement(oZ,null)},{name:"Logo Carousel",description:"Showcase a group of logo images with Title, Description, Tooltips, Links, and Popup as a grid or in a carousel.",url:"https://logocarousel.com/",icon:React.createElement(eZ,null)},{name:"Location Weather",description:"Display beautiful weather update widgets to your WordPress site in a minute without coding skills!",url:"https://locationweather.io/",icon:React.createElement(sZ,null)},{name:"WooGallery",description:"Product gallery slider and additional variation images gallery for WooCommerce and boost your sales.",url:"https://woogallery.io/",icon:React.createElement(JB,null)},{name:"Product Slider for WooCommerce",description:"Boost sales by interactive product Slider, Grid, and Table in your WooCommerce website or store.",url:"https://wooproductslider.io/",icon:React.createElement(nZ,null)},{name:"WooCategory",description:"Display by filtering the list of categories aesthetically and boosting sales.",url:"https://shapedplugin.com/woocategory/",icon:React.createElement(rZ,null)},{name:"Smart Swatches",description:"Smart Swatches is a Best Product Variation Swatches for WooCommerce to Boost Your Store Sales.",url:"https://shapedplugin.com/smart-swatches-for-woocommerce",icon:React.createElement(iZ,null)},{name:"Smart Brands",description:"Smart Brands for WooCommerce Pro helps you display product brands in an attractive way on your online store.",url:"https://shapedplugin.com/smart-brands/",icon:React.createElement(aZ,null)}];const cZ=function(){var e;return React.createElement("section",{id:"about-us-tab",className:"sp-eab-about-page"},React.createElement("div",{className:"sp-eab-about-box"},React.createElement("div",{className:"sp-eab-about-info"},React.createElement("h3",null,(0,l.__)("The Most Powerful Accordion and FAQs Builder plugin for WordPress from ","easy-accordion-free"),React.createElement("span",{className:"sp-eab-highlight-text"},(0,l.__)("Easy Accordion Team","easy-accordion-free"))),React.createElement("p",null,(0,l.__)("At","easy-accordion-free")," ",React.createElement("b",null,(0,l.__)("ShapedPlugin LLC,","easy-accordion-free"))," ",(0,l.__)("we have been looking for the best way to create FAQ pages or sections on WordPress sites. Unfortunately, we couldn't find any suitable plugin that met our needs. Hence, we set a simple goal: to develop a highly customizable and full-featured Accordion and FAQs builder plugin to minimize customer support costs.","easy-accordion-free")," ",(0,l.__)("The Easy Accordion plugin provides a convenient way to create visually appealing FAQ pages to reduce customer costs. Check it out now and experience the difference!","easy-accordion-free")),React.createElement("div",{className:"sp-eab-video-section-btn"},React.createElement("ul",null,React.createElement("li",null,React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://easyaccordion.io/",className:"sp-eab-medium-btn"},(0,l.__)("Explore Easy Accordion","easy-accordion-free"))),React.createElement("li",null,React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://shapedplugin.com/about-us/",className:"sp-eab-medium-btn sp-eab-arrow-btn"},(0,l.__)("More About Us ","easy-accordion-free")," ",React.createElement(lc,null)))))),React.createElement("div",{className:"sp-eab-about-img"},React.createElement("img",{src:"".concat(null===(e=sp_eab_admin_dashboard_localize)||void 0===e?void 0:e.pluginUrl,"admin/img/shapedplugin-team.jpg"),alt:"Team",height:"402",width:"610"}),React.createElement("span",null,(0,l.__)("The Creative Minds Behind the Easy Accordion Plugin","easy-accordion-free")))),React.createElement("div",{className:"sp-eab-more-plugins-section"},React.createElement("div",{className:"sp-eab-more-plugins-header"},React.createElement("h2",{className:"sp-eab-more-plugins-title"},(0,l.__)("Your Website Deserves More Than Typical — Go Premium Today!","easy-accordion-free")),React.createElement("p",{className:"sp-eab-more-plugins-subtitle"},(0,l.__)("Unlock powerful plugins built to boost performance, elevate design, and grow your business.","easy-accordion-free"))),React.createElement("div",{className:"sp-eab-more-plugins-grid"},lZ.map(function(e){return React.createElement("a",{key:e.name,href:e.url,target:"_blank",rel:"noopener noreferrer",className:"sp-eab-plugin-card"},React.createElement("div",{className:"sp-eab-plugin-card-icon"},e.icon),React.createElement("div",{className:"sp-eab-plugin-card-content"},React.createElement("h3",{className:"sp-eab-plugin-card-title"},e.name),React.createElement("p",{className:"sp-eab-plugin-card-desc"},e.description)),React.createElement("span",{className:"sp-eab-plugin-card-arrow"},React.createElement(cc,null)))}))))};function uZ(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}const dZ=function(){var e,t=null===(e=window.location)||void 0===e||null===(e=e.hash)||void 0===e||null===(e=e.replace("#",""))||void 0===e?void 0:e.split("=")[0],n=document.querySelector(".eab-recommended-plugins-wrapper");!function(e){var t,n=document.getElementById("menu-posts-sp_easy_accordion");if(n){n.querySelectorAll("li").forEach(function(e){return e.classList.remove("current")});var r="getting-start"===e||""===e?'li a[href="edit.php?post_type=sp_easy_accordion&page=eap_dashboard"]':'li a[href*="#'.concat(e,'"]');null===(t=n.querySelector(r))||void 0===t||null===(t=t.closest("li"))||void 0===t||t.classList.add("current")}}(t);var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return uZ(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)?uZ(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)(t||"getting-start"),2),i=r[0],o=r[1];(0,a.useEffect)(function(){"our_plugins"===t&&n&&(n.style.display="block");var e=document.getElementById("menu-posts-sp_easy_accordion"),r=e.querySelectorAll("li"),i=function(e){var t=e.target.closest("li");r.forEach(function(e){e.classList.remove("current")}),t.classList.add("current"),setTimeout(function(){o(window.location.hash.replace("#",""))},0)};return e.addEventListener("click",i),function(){return e.removeEventListener("click",i)}},[]);var l=function(e){o(e),"our_plugins"===e&&n?n.style.display="block":n&&(n.style.display="none"),window.location.hash=e},c=(0,s.useSelect)(function(e){return{pluginSettings:e(Vc).getPluginSettings(),blockVisibility:e(Vc).getBlockVisibility(),dashboardSettings:e(Vc).getDashboardSettings()}}),u=c.pluginSettings,d=c.blockVisibility,p=c.dashboardSettings,h=(0,s.useDispatch)(Vc).fetchApiData;(0,a.useEffect)(function(){h()},[h]),(0,a.useEffect)(function(){window.$crisp||(window.$crisp=[],window.CRISP_WEBSITE_ID="3770a55e-947f-424d-87b8-d93a86f2cd7b",function(){var e=document,t=e.createElement("script");t.src="https://client.crisp.chat/l.js",t.async=1,e.getElementsByTagName("head")[0].appendChild(t)}())},[]);var f=(0,a.useMemo)(function(){var e,t;if(!p)return[];var n,r=[{label:"Dashboard",value:"getting-start",hash:"#"},{label:"Saved Templates",value:"saved_templates",hash:"#saved_templates"},{label:"Blocks",value:"blocks",hash:"#blocks",badge:"new"},{label:"Modules",value:"modules",hash:"#modules"},{label:"Settings",value:"settings",hash:"#settings"},{label:"Lite vs Pro",value:"lite_vs_pro",hash:"#lite_vs_pro"},{label:"Our Plugins",value:"our_plugins",hash:"#our_plugins",icon:React.createElement(uc,null)}];return null==p||null===(e=p.modules)||void 0===e||!e.saved_templates||(null==p||null===(t=p.modules)||void 0===t||null===(t=t.saved_templates)||void 0===t?void 0:t.is_active)||(r=null===(n=r)||void 0===n?void 0:n.filter(function(e){return"saved_templates"!==e.value})),r},[p]);return u?"setupwizard"===i?React.createElement(BB,null):React.createElement(React.Fragment,null,React.createElement("div",{className:"sp-eab-admin-dashboard-container"},React.createElement(yc,{menuItems:f,currentPage:i,setPageAndHash:l}),React.createElement("div",{className:"sp-eab-admin-dashboard-body"},React.createElement("div",{className:"sp-eab-admin-dashboard-content"},"getting-start"===i&&React.createElement(Wu,{setPageAndHash:l}),"blocks"===i&&d&&React.createElement(Ju,null),"modules"===i&&React.createElement(Lu,null)," ","saved_templates"===i&&React.createElement(Ed,null),"settings"===i&&React.createElement(xB,null),"about_us"===i&&React.createElement(cZ,null),"lite_vs_pro"===i&&React.createElement(HB,null)))),React.createElement(se,{position:"top-right",toastOptions:{style:{padding:"16px 24px",fontSize:"18px",borderRadius:"10px",maxWidth:"400px"}}})):null};window.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("sp-eab-admin-dashboard-wrapper");if(e){var t=document.querySelector(".sp-eab-admin-dashboard-container");t||((t=document.createElement("div")).className="sp-eab-admin-dashboard-container",e.insertBefore(t,e.firstChild)),"function"==typeof a.createRoot?a.createRoot(t).render(React.createElement(dZ,null)):"function"==typeof a.render&&a.render(React.createElement(dZ,null),t)}})},146(e,t,n){"use strict";var r=n(404),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,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=h(n);i&&i!==f&&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=p(n,O);try{c(t,O,v)}catch(e){}}}}return t}},72(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,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=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 w(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 p:case g:case m:case l:return e;default:return t}}case i:return t}}}function x(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,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 x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===y||e.$$typeof===O)},t.typeOf=w},404(e,t,n){"use strict";e.exports=n(72)},694(e,t,n){"use strict";var r=n(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},556(e,t,n){e.exports=n(694)()},925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},405(e,t){"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===a||e.$$typeof===o||e.$$typeof===s||e.$$typeof===p||void 0!==e.getModuleId)}},212(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(609))&&r.__esModule?r:{default:r};t.default=function(){return i.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},i.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},384(e,t,n){"use strict";var r=Object.assign||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},i=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}}(),o=n(609),a=p(o),s=p(n(942)),l=p(n(556)),c=p(n(212)),u=p(n(28)),d=n(394);function p(e){return e&&e.__esModule?e:{default:e}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!e.checked&&!e.defaultChecked),n.state={checked:!(!e.checked&&!e.defaultChecked),hasFocus:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidUpdate",value:function(e){e.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(e){if(!this.props.disabled){var t=this.input;if(e.target!==t&&!this.moved)return this.previouslyChecked=t.checked,e.preventDefault(),t.focus(),void t.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:t.checked;this.setState({checked:n})}}},{key:"handleTouchStart",value:function(e){this.props.disabled||(this.startX=(0,d.pointerCoord)(e).x,this.activated=!0)}},{key:"handleTouchMove",value:function(e){if(this.activated&&(this.moved=!0,this.startX)){var t=(0,d.pointerCoord)(e).x;this.state.checked&&t+15<this.startX?(this.setState({checked:!1}),this.startX=t,this.activated=!0):t-15>this.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=t<this.startX+5)}}},{key:"handleTouchEnd",value:function(e){if(this.moved){var t=this.input;if(e.preventDefault(),this.startX){var n=(0,d.pointerCoord)(e).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,t.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(e){var t=this.props.onFocus;t&&t(e),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(e){var t=this.props.onBlur;t&&t(e),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(e){var n=this.props.icons;return n?void 0===n[e]?t.defaultProps.icons[e]:n[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,i=(t.icons,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","icons"])),o=(0,s.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return a.default.createElement("div",{className:o,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},a.default.createElement("div",{className:"react-toggle-track"},a.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),a.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),a.default.createElement("div",{className:"react-toggle-thumb"}),a.default.createElement("input",r({},i,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(o.PureComponent);t.A=h,h.displayName="Toggle",h.defaultProps={icons:{checked:a.default.createElement(c.default,null),unchecked:a.default.createElement(u.default,null)}},h.propTypes={checked:l.default.bool,disabled:l.default.bool,defaultChecked:l.default.bool,onChange:l.default.func,onFocus:l.default.func,onBlur:l.default.func,className:l.default.string,name:l.default.string,value:l.default.string,id:l.default.string,"aria-labelledby":l.default.string,"aria-label":l.default.string,icons:l.default.oneOfType([l.default.bool,l.default.shape({checked:l.default.node,unchecked:l.default.node})])}},394(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}var r=e.pageX;if(void 0!==r)return{x:r,y:e.pageY}}return{x:0,y:0}}},28(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(609))&&r.__esModule?r:{default:r};t.default=function(){return i.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},i.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},160(e,t,n){"use strict";var r=n(609);"function"==typeof Object.is&&Object.is,r.useSyncExternalStore,r.useRef,r.useEffect,r.useMemo,r.useDebugValue},418(e,t,n){"use strict";n(160)},609(e){"use strict";e.exports=window.React},942(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,i,o)=>{if(!n){var a=1/0;for(u=0;u<e.length;u++){for(var[n,i,o]=e[u],s=!0,l=0;l<n.length;l++)(!1&o||a>=o)&&Object.keys(r.O).every(e=>r.O[e](n[l]))?n.splice(l--,1):(s=!1,o<a&&(a=o));if(s){e.splice(u--,1);var c=i();void 0!==c&&(t=c)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,i,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={422:0,283:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var i,o,[a,s,l]=n,c=0;if(a.some(t=>0!==e[t])){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(l)var u=l(r)}for(t&&t(n);c<a.length;c++)o=a[c],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(u)},n=globalThis.webpackChunkeasy_accordion_free=globalThis.webpackChunkeasy_accordion_free||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=r.O(void 0,[283],()=>r(104));i=r.O(i)})();
💾 Save Changes
❌ Cancel