hasting-swatchcart-module 1.0.33 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.cjs CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const D=require("react"),qt=require("react-dom"),m=require("react/jsx-runtime"),Je=require("@reduxjs/toolkit"),An=require("react-redux");function Iu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const x=Iu(D),Nu=Iu(qt);function Lu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $t={},wi;function vf(){if(wi)return $t;wi=1;var e=qt;if(process.env.NODE_ENV==="production")$t.createRoot=e.createRoot,$t.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$t.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},$t.hydrateRoot=function(n,r,a){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,a)}finally{t.usingClientEntryPoint=!1}}}return $t}var Of=vf();const tt={UI:"UI",FETCH_DATA_PRODUCT:"FETCH_DATA_PRODUCT",FETCH_DATA_ALL:"FETCH_DATA_ALL"},Mf={Finish:"Material",Color:"Color",Look:"Look"},Pf=(e,t)=>e.toLowerCase()===t.toLowerCase();class Ur{static getMaterialsValuesFromOptions(t){if(t?.length)return t.reduce((n,r)=>{const a=Array.isArray(r.values)&&r.values.length?r.values:Array.isArray(r.valuesArray)&&r.valuesArray.length?r.valuesArray:void 0;if(!a)return n;const s=r.metadata?.Name??r.metadata?.Label??r.value??r.label??"without_name",i=a.map(o=>({...o,parentName:s}));return n.push(...i),n},[]).sort((n,r)=>(n.name?.toLowerCase()??"").localeCompare(r.name?.toLowerCase()??""))}static getUniqueByAssetId(t){const n=new Set;return t.filter(r=>n.has(r.assetId)?!1:(n.add(r.assetId),!0))}static normalizeToArray(t,n=!0){return t?Array.isArray(t)?t.map(r=>r.trim()).filter(Boolean):(n?t.split(","):[t]).map(r=>r.trim()).filter(Boolean):[]}static mapFiltersFromValues(t,n){return Object.keys(n).map(r=>{const a=Mf[r],i=n[r].map(o=>{let l=0;for(const c of t){const d=Array.isArray(c.values)?c.values:[];for(const f of d){const p=this.normalizeToArray(f.metadata?.[a]);l+=p.filter(h=>Pf(h,o)).length}}return{filterKey:o,filterCount:l}});return{filterType:r,filters:i}})}static getPositiveSelectedFilers(t){return t.map(n=>({filterName:n.filterType,filterKeys:n.filters.filter(r=>r.filterCount!==0).map(r=>r.filterKey)})).filter(n=>n.filterKeys.length>0)}}const Ru=e=>Array.from(new Set(e)),ku={GET_PRODUCT_LIST:()=>"products",GET_PRODUCT_DETAILS:e=>`products/${e}`},Df={VITE_SWATH_CART_PRODUCTION_URL:"https://hbswatchcart.vivid3d.tech"},{VITE_SWATH_CART_PRODUCTION_URL:wu}=Df,_f=async()=>{try{const e=`${wu}/${ku.GET_PRODUCT_LIST()}?pageSize=500`,t=await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error(`Request failed with status ${t.status}`);const n=await t.json();if(Array.isArray(n))throw new Error("API returned an array, expected IProductListResponse object");return n}catch(e){throw console.error("❌ Fetch error:",e),e}},Ff=async({assetId:e})=>{try{const t=`${wu}/${ku.GET_PRODUCT_DETAILS(e)}`,n=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!n.ok)throw new Error(`Request failed with status ${n.status}`);return await n.json()}catch(t){throw console.error("❌ Fetch error:",t),t}};function vu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=vu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ft(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=vu(e))&&(r&&(r+=" "),r+=t);return r}function Uf(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Uf(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
2
- `);var or=e=>typeof e=="number"&&!isNaN(e),jt=e=>typeof e=="string",yt=e=>typeof e=="function",Bf=e=>jt(e)||or(e),$a=e=>jt(e)||yt(e)?e:null,Hf=(e,t)=>e===!1||or(e)&&e>0?e:t,es=e=>D.isValidElement(e)||jt(e)||yt(e)||or(e);function jf(e,t,n=300){let{scrollHeight:r,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=r+"px",a.transition=`all ${n}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,n)})})}function Vf({enter:e,exit:t,appendPosition:n=!1,collapse:r=!0,collapseDuration:a=300}){return function({children:s,position:i,preventExitTransition:o,done:l,nodeRef:c,isIn:d,playToast:f}){let p=n?`${e}--${i}`:e,h=n?`${t}--${i}`:t,T=D.useRef(0);return D.useLayoutEffect(()=>{let g=c.current,C=p.split(" "),b=S=>{S.target===c.current&&(f(),g.removeEventListener("animationend",b),g.removeEventListener("animationcancel",b),T.current===0&&S.type!=="animationcancel"&&g.classList.remove(...C))};g.classList.add(...C),g.addEventListener("animationend",b),g.addEventListener("animationcancel",b)},[]),D.useEffect(()=>{let g=c.current,C=()=>{g.removeEventListener("animationend",C),r?jf(g,l,a):l()};d||(o?C():(T.current=1,g.className+=` ${h}`,g.addEventListener("animationend",C)))},[d]),D.createElement(D.Fragment,null,s)}}function vi(e,t){return{content:Ou(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function Ou(e,t,n=!1){return D.isValidElement(e)&&!jt(e.type)?D.cloneElement(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):yt(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function zf({closeToast:e,theme:t,ariaLabel:n="close"}){return D.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:r=>{r.stopPropagation(),e(!0)},"aria-label":n},D.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},D.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function Yf({delay:e,isRunning:t,closeToast:n,type:r="default",hide:a,className:s,controlledProgress:i,progress:o,rtl:l,isIn:c,theme:d}){let f=a||i&&o===0,p={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};i&&(p.transform=`scaleX(${o})`);let h=ft("Toastify__progress-bar",i?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${d}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":l}),T=yt(s)?s({rtl:l,type:r,defaultClassName:h}):ft(h,s),g={[i&&o>=1?"onTransitionEnd":"onAnimationEnd"]:i&&o<1?null:()=>{c&&n()}};return D.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":f},D.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${d} Toastify__progress-bar--${r}`}),D.createElement("div",{role:"progressbar","aria-hidden":f?"true":"false","aria-label":"notification timer",className:T,style:p,...g}))}var qf=1,Mu=()=>`${qf++}`;function Kf(e,t,n){let r=1,a=0,s=[],i=[],o=t,l=new Map,c=new Set,d=S=>(c.add(S),()=>c.delete(S)),f=()=>{i=Array.from(l.values()),c.forEach(S=>S())},p=({containerId:S,toastId:L,updateId:R})=>{let v=S?S!==e:e!==1,k=l.has(L)&&R==null;return v||k},h=(S,L)=>{l.forEach(R=>{var v;(L==null||L===R.props.toastId)&&((v=R.toggle)==null||v.call(R,S))})},T=S=>{var L,R;(R=(L=S.props)==null?void 0:L.onClose)==null||R.call(L,S.removalReason),S.isActive=!1},g=S=>{if(S==null)l.forEach(T);else{let L=l.get(S);L&&T(L)}f()},C=()=>{a-=s.length,s=[]},b=S=>{var L,R;let{toastId:v,updateId:k}=S.props,M=k==null;S.staleId&&l.delete(S.staleId),S.isActive=!0,l.set(v,S),f(),n(vi(S,M?"added":"updated")),M&&((R=(L=S.props).onOpen)==null||R.call(L))};return{id:e,props:o,observe:d,toggle:h,removeToast:g,toasts:l,clearQueue:C,buildToast:(S,L)=>{if(p(L))return;let{toastId:R,updateId:v,data:k,staleId:M,delay:P}=L,W=v==null;W&&a++;let X={...o,style:o.toastStyle,key:r++,...Object.fromEntries(Object.entries(L).filter(([V,K])=>K!=null)),toastId:R,updateId:v,data:k,isIn:!1,className:$a(L.className||o.toastClassName),progressClassName:$a(L.progressClassName||o.progressClassName),autoClose:L.isLoading?!1:Hf(L.autoClose,o.autoClose),closeToast(V){l.get(R).removalReason=V,g(R)},deleteToast(){let V=l.get(R);if(V!=null){if(n(vi(V,"removed")),l.delete(R),a--,a<0&&(a=0),s.length>0){b(s.shift());return}f()}}};X.closeButton=o.closeButton,L.closeButton===!1||es(L.closeButton)?X.closeButton=L.closeButton:L.closeButton===!0&&(X.closeButton=es(o.closeButton)?o.closeButton:!0);let H={content:S,props:X,staleId:M};o.limit&&o.limit>0&&a>o.limit&&W?s.push(H):or(P)?setTimeout(()=>{b(H)},P):b(H)},setProps(S){o=S},setToggle:(S,L)=>{let R=l.get(S);R&&(R.toggle=L)},isToastActive:S=>{var L;return(L=l.get(S))==null?void 0:L.isActive},getSnapshot:()=>i}}var Oe=new Map,tr=[],ts=new Set,Wf=e=>ts.forEach(t=>t(e)),Pu=()=>Oe.size>0;function Qf(){tr.forEach(e=>_u(e.content,e.options)),tr=[]}var Zf=(e,{containerId:t})=>{var n;return(n=Oe.get(t||1))==null?void 0:n.toasts.get(e)};function Du(e,t){var n;if(t)return!!((n=Oe.get(t))!=null&&n.isToastActive(e));let r=!1;return Oe.forEach(a=>{a.isToastActive(e)&&(r=!0)}),r}function Xf(e){if(!Pu()){tr=tr.filter(t=>e!=null&&t.options.toastId!==e);return}if(e==null||Bf(e))Oe.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=Oe.get(e.containerId);t?t.removeToast(e.id):Oe.forEach(n=>{n.removeToast(e.id)})}}var Gf=(e={})=>{Oe.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})};function _u(e,t){es(e)&&(Pu()||tr.push({content:e,options:t}),Oe.forEach(n=>{n.buildToast(e,t)}))}function Jf(e){var t;(t=Oe.get(e.containerId||1))==null||t.setToggle(e.id,e.fn)}function Fu(e,t){Oe.forEach(n=>{(t==null||!(t!=null&&t.containerId)||t?.containerId===n.id)&&n.toggle(e,t?.id)})}function $f(e){let t=e.containerId||1;return{subscribe(n){let r=Kf(t,e,Wf);Oe.set(t,r);let a=r.observe(n);return Qf(),()=>{a(),Oe.delete(t)}},setProps(n){var r;(r=Oe.get(t))==null||r.setProps(n)},getSnapshot(){var n;return(n=Oe.get(t))==null?void 0:n.getSnapshot()}}}function eh(e){return ts.add(e),()=>{ts.delete(e)}}function th(e){return e&&(jt(e.toastId)||or(e.toastId))?e.toastId:Mu()}function ur(e,t){return _u(e,t),t.toastId}function Gr(e,t){return{...t,type:t&&t.type||e,toastId:th(t)}}function Jr(e){return(t,n)=>ur(t,Gr(e,n))}function de(e,t){return ur(e,Gr("default",t))}de.loading=(e,t)=>ur(e,Gr("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t}));function nh(e,{pending:t,error:n,success:r},a){let s;t&&(s=jt(t)?de.loading(t,a):de.loading(t.render,{...a,...t}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},o=(c,d,f)=>{if(d==null){de.dismiss(s);return}let p={type:c,...i,...a,data:f},h=jt(d)?{render:d}:d;return s?de.update(s,{...p,...h}):de(h.render,{...p,...h}),f},l=yt(e)?e():e;return l.then(c=>o("success",r,c)).catch(c=>o("error",n,c)),l}de.promise=nh;de.success=Jr("success");de.info=Jr("info");de.error=Jr("error");de.warning=Jr("warning");de.warn=de.warning;de.dark=(e,t)=>ur(e,Gr("default",{theme:"dark",...t}));function rh(e){Xf(e)}de.dismiss=rh;de.clearWaitingQueue=Gf;de.isActive=Du;de.update=(e,t={})=>{let n=Zf(e,t);if(n){let{props:r,content:a}=n,s={delay:100,...r,...t,toastId:t.toastId||e,updateId:Mu()};s.toastId!==e&&(s.staleId=e);let i=s.render||a;delete s.render,ur(i,s)}};de.done=e=>{de.update(e,{progress:1})};de.onChange=eh;de.play=e=>Fu(!0,e);de.pause=e=>Fu(!1,e);function ah(e){var t;let{subscribe:n,getSnapshot:r,setProps:a}=D.useRef($f(e)).current;a(e);let s=(t=D.useSyncExternalStore(n,r,r))==null?void 0:t.slice();function i(o){if(!s)return[];let l=new Map;return e.newestOnTop&&s.reverse(),s.forEach(c=>{let{position:d}=c.props;l.has(d)||l.set(d,[]),l.get(d).push(c)}),Array.from(l,c=>o(c[0],c[1]))}return{getToastToRender:i,isToastActive:Du,count:s?.length}}function sh(e){let[t,n]=D.useState(!1),[r,a]=D.useState(!1),s=D.useRef(null),i=D.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:o,pauseOnHover:l,closeToast:c,onClick:d,closeOnClick:f}=e;Jf({id:e.toastId,containerId:e.containerId,fn:n}),D.useEffect(()=>{if(e.pauseOnFocusLoss)return p(),()=>{h()}},[e.pauseOnFocusLoss]);function p(){document.hasFocus()||b(),window.addEventListener("focus",C),window.addEventListener("blur",b)}function h(){window.removeEventListener("focus",C),window.removeEventListener("blur",b)}function T(M){if(e.draggable===!0||e.draggable===M.pointerType){S();let P=s.current;i.canCloseOnClick=!0,i.canDrag=!0,P.style.transition="none",e.draggableDirection==="x"?(i.start=M.clientX,i.removalDistance=P.offsetWidth*(e.draggablePercent/100)):(i.start=M.clientY,i.removalDistance=P.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function g(M){let{top:P,bottom:W,left:X,right:H}=s.current.getBoundingClientRect();M.nativeEvent.type!=="touchend"&&e.pauseOnHover&&M.clientX>=X&&M.clientX<=H&&M.clientY>=P&&M.clientY<=W?b():C()}function C(){n(!0)}function b(){n(!1)}function S(){i.didMove=!1,document.addEventListener("pointermove",R),document.addEventListener("pointerup",v)}function L(){document.removeEventListener("pointermove",R),document.removeEventListener("pointerup",v)}function R(M){let P=s.current;if(i.canDrag&&P){i.didMove=!0,t&&b(),e.draggableDirection==="x"?i.delta=M.clientX-i.start:i.delta=M.clientY-i.start,i.start!==M.clientX&&(i.canCloseOnClick=!1);let W=e.draggableDirection==="x"?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`;P.style.transform=`translate3d(${W},0)`,P.style.opacity=`${1-Math.abs(i.delta/i.removalDistance)}`}}function v(){L();let M=s.current;if(i.canDrag&&i.didMove&&M){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance){a(!0),e.closeToast(!0),e.collapseAll();return}M.style.transition="transform 0.2s, opacity 0.2s",M.style.removeProperty("transform"),M.style.removeProperty("opacity")}}let k={onPointerDown:T,onPointerUp:g};return o&&l&&(k.onMouseEnter=b,e.stacked||(k.onMouseLeave=C)),f&&(k.onClick=M=>{d&&d(M),i.canCloseOnClick&&c(!0)}),{playToast:C,pauseToast:b,isRunning:t,preventExitTransition:r,toastRef:s,eventHandlers:k}}var ih=typeof window<"u"?D.useLayoutEffect:D.useEffect,$r=({theme:e,type:t,isLoading:n,...r})=>D.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`,...r});function oh(e){return D.createElement($r,{...e},D.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function uh(e){return D.createElement($r,{...e},D.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function lh(e){return D.createElement($r,{...e},D.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function ch(e){return D.createElement($r,{...e},D.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function dh(){return D.createElement("div",{className:"Toastify__spinner"})}var ns={info:uh,warning:oh,success:lh,error:ch,spinner:dh},fh=e=>e in ns;function hh({theme:e,type:t,isLoading:n,icon:r}){let a=null,s={theme:e,type:t};return r===!1||(yt(r)?a=r({...s,isLoading:n}):D.isValidElement(r)?a=D.cloneElement(r,s):n?a=ns.spinner():fh(t)&&(a=ns[t](s))),a}var mh=e=>{let{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:a,playToast:s}=sh(e),{closeButton:i,children:o,autoClose:l,onClick:c,type:d,hideProgressBar:f,closeToast:p,transition:h,position:T,className:g,style:C,progressClassName:b,updateId:S,role:L,progress:R,rtl:v,toastId:k,deleteToast:M,isIn:P,isLoading:W,closeOnClick:X,theme:H,ariaLabel:V}=e,K=ft("Toastify__toast",`Toastify__toast-theme--${H}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":v},{"Toastify__toast--close-on-click":X}),z=yt(g)?g({rtl:v,position:T,type:d,defaultClassName:K}):ft(K,g),U=hh(e),Z=!!R||!l,G={closeToast:p,type:d,theme:H},F=null;return i===!1||(yt(i)?F=i(G):D.isValidElement(i)?F=D.cloneElement(i,G):F=zf(G)),D.createElement(h,{isIn:P,done:M,position:T,preventExitTransition:n,nodeRef:r,playToast:s},D.createElement("div",{id:k,tabIndex:0,onClick:c,"data-in":P,className:z,...a,style:C,ref:r,...P&&{role:L,"aria-label":V}},U!=null&&D.createElement("div",{className:ft("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!W})},U),Ou(o,e,!t),F,!e.customProgressBar&&D.createElement(Yf,{...S&&!Z?{key:`p-${S}`}:{},rtl:v,theme:H,delay:l,isRunning:t,isIn:P,closeToast:p,hide:f,type:d,className:b,controlledProgress:Z,progress:R||0})))},ph=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),Uu=Vf(ph("bounce",!0)),gh={position:"top-right",transition:Uu,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function Eh(e){let t={...gh,...e},n=e.stacked,[r,a]=D.useState(!0),s=D.useRef(null),{getToastToRender:i,isToastActive:o,count:l}=ah(t),{className:c,style:d,rtl:f,containerId:p,hotKeys:h}=t;function T(C){let b=ft("Toastify__toast-container",`Toastify__toast-container--${C}`,{"Toastify__toast-container--rtl":f});return yt(c)?c({position:C,rtl:f,defaultClassName:b}):ft(b,$a(c))}function g(){n&&(a(!0),de.play())}return ih(()=>{var C;if(n){let b=s.current.querySelectorAll('[data-in="true"]'),S=12,L=(C=t.position)==null?void 0:C.includes("top"),R=0,v=0;Array.from(b).reverse().forEach((k,M)=>{let P=k;P.classList.add("Toastify__toast--stacked"),M>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=L?"top":"bot");let W=R*(r?.2:1)+(r?0:S*M);P.style.setProperty("--y",`${L?W:W*-1}px`),P.style.setProperty("--g",`${S}`),P.style.setProperty("--s",`${1-(r?v:0)}`),R+=P.offsetHeight,v+=.025})}},[r,l,n]),D.useEffect(()=>{function C(b){var S;let L=s.current;h(b)&&((S=L.querySelector('[tabIndex="0"]'))==null||S.focus(),a(!1),de.pause()),b.key==="Escape"&&(document.activeElement===L||L!=null&&L.contains(document.activeElement))&&(a(!0),de.play())}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[h]),D.createElement("section",{ref:s,className:"Toastify",id:p,onMouseEnter:()=>{n&&(a(!1),de.pause())},onMouseLeave:g,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},i((C,b)=>{let S=b.length?{...d}:{...d,pointerEvents:"none"};return D.createElement("div",{tabIndex:-1,className:T(C),"data-stacked":n,style:S,key:`c-${C}`},b.map(({content:L,props:R})=>D.createElement(mh,{...R,stacked:n,collapseAll:g,isIn:o(R.toastId,R.containerId),key:`t-${R.key}`},L)))}))}const qn=Je.createAsyncThunk("swatches/getSelectedProductThunk",async({assetId:e},{rejectWithValue:t})=>{try{return await Ff({assetId:e})}catch(n){return console.error(n.message),de("Failed to load product"),t(n.message)}}),Me=5,bh={listAttributes:[],productElementOptions:[],materialSelectState:{Finish:[],Color:[],Look:[]},allMaterialsValues:[],selectedMaterials:[],selectedProduct:null,isLoadingSelectedProduct:!1,isOpenMultiProductCart:!1},Ah=e=>e.reduce((t,n)=>t+n.count,0),Bu=Je.createSlice({name:"swatches",initialState:bh,reducers:{setMaterialSelect(e,t){const{filterName:n,values:r}=t.payload;if(r.length===0){e.materialSelectState[n]=[];return}e.materialSelectState[n]=Ru(r)},setPanelFilter(e,t){const n=t.payload.attributes;if(n.length){const r=Ur.getMaterialsValuesFromOptions(n);r?.length&&(e.allMaterialsValues=r)}},clearMaterialFilter:(e,t)=>{e.materialSelectState[t.payload]=[]},clearAllMaterialFilters:e=>{e.materialSelectState={Finish:[],Color:[],Look:[]}},setAllMaterialsOptions:(e,t)=>{const{allMaterialValues:n,productElementOptions:r}=t.payload;n?.length&&(e.allMaterialsValues=n),r?.length&&(e.productElementOptions=r)},setSelectedMaterial(e,t){const{materialCount:n,selectedMaterial:r,selectedMaterials:a,limitCb:s}=t.payload;if(!r)return;const i=l=>l.metadata?.label===r.metadata?.label&&l.parentName===r.parentName,o=a?.some(i);!o&&n>=5&&s&&s(),o?e.selectedMaterials=a.filter(l=>!i(l)):n<5&&(e.selectedMaterials=[...a,r])},resetSelectedMaterials(e){e.selectedMaterials=[]},setSelectedProduct(e,t){e.selectedProduct=t.payload},deleteSelectedProduct(e){e.selectedProduct=null},setIsOpenMultiProductCart(e,t){e.isOpenMultiProductCart=t.payload},removeItem(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial;e.selectedMaterials=e.selectedMaterials.filter(a=>!(a.metadata?.label===n?.label&&a.parentName===r))},increment(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial,a=e.selectedMaterials.find(s=>s.metadata?.label===n?.label&&s.parentName===r);a&&Ah(e.selectedMaterials)<Me&&(a.count+=1)},decrement(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial,a=e.selectedMaterials.find(s=>s.metadata?.label===n?.label&&s.parentName===r);a&&a.count>1&&(a.count-=1)},setCount(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial,{next:a}=t.payload,s=e.selectedMaterials.find(c=>c.metadata?.label===n?.label&&c.parentName===r);if(!s)return;const i=Math.max(1,Math.floor(a)),o=e.selectedMaterials.filter(c=>!(c.metadata?.label===n?.label&&c.parentName===r)).reduce((c,d)=>c+d.count,0),l=Math.max(1,Me-o);s.count=Math.min(i,l)}},extraReducers:e=>{e.addCase(qn.pending,t=>{t.isLoadingSelectedProduct=!0}).addCase(qn.fulfilled,t=>{t.isLoadingSelectedProduct=!1}).addCase(qn.rejected,t=>{t.isLoadingSelectedProduct=!1})}}),Hu=Bu.reducer,{setMaterialSelect:ea,setAllMaterialsOptions:rs,setPanelFilter:Ca,setSelectedMaterial:ta,clearMaterialFilter:lS,clearAllMaterialFilters:Th,setSelectedProduct:xh,deleteSelectedProduct:ju,setIsOpenMultiProductCart:Vu,resetSelectedMaterials:yh,removeItem:Ch,increment:Sh,decrement:Ih,setCount:cS}=Bu.actions,Nh={items:[]},zu=Je.createSlice({name:"cart",initialState:Nh,reducers:{setCartItems(e,t){e.items=t.payload},clear(e){e.items=[]}}}),{setCartItems:Lh,clear:dS}=zu.actions,Yu=zu.reducer,Kn=Je.createAsyncThunk("multiProducts/getProductListThunk",async(e,{rejectWithValue:t})=>{try{return await _f()}catch(n){return console.error(n?.message??n),t(n?.message??"Unknown error")}}),Rh={items:[],productList:[],isLoadingProductList:!1,selectedProduct:null,activeMultiCartProduct:null,totalCount:0};function kh(e,t,n){let r=e.items.find(a=>a.assetId===t);return r?n&&!r.name&&(r.name=n):(r={assetId:t,name:n??"",items:[]},e.items.push(r)),r}const Sa=(e,t)=>e.items.findIndex(n=>n.assetId===t),Oi=(e,t,n,r)=>t===-1?-1:e.items[t].items.findIndex(a=>a.metadata?.label===n&&a.parentName===r),qu=Je.createSlice({name:"multiProduct",initialState:Rh,reducers:{setCartForProduct(e,t){const{assetId:n}=t.payload,r=e.items.findIndex(a=>a.assetId===n);r>=0?e.items[r]=t.payload:e.items.push(t.payload)},setActiveMultiCartProduct(e,t){e.activeMultiCartProduct=t.payload},setMultiCartItems(e,t){const{assetId:n,items:r,name:a}=t.payload;if(!r||r.length===0){const i=e.items.findIndex(o=>o.assetId===n);i!==-1&&e.items.splice(i,1);return}const s=kh(e,n,a);s.items=r},incrementMultiProductItem(e,t){const{assetId:n,label:r,parentName:a}=t.payload,s=Sa(e,n),i=Oi(e,s,r,a);i!==-1&&(e.items[s].items[i].count+=1)},decrementMultiProductItem(e,t){const{assetId:n,label:r,parentName:a}=t.payload,s=Sa(e,n),i=Oi(e,s,r,a);if(i!==-1){const o=e.items[s].items[i];o.count>1&&(o.count-=1)}},removeMultiProductItem(e,t){const{assetId:n,label:r,parentName:a}=t.payload,s=Sa(e,n);if(s===-1)return;const i=e.items[s].items.filter(o=>!(o.metadata?.label===r&&o.parentName===a));e.items[s].items=i},clear(e){e.items=[]}},extraReducers:e=>{e.addCase(Kn.pending,t=>{t.isLoadingProductList=!0}).addCase(Kn.fulfilled,(t,n)=>{t.productList=n.payload.rows,t.isLoadingProductList=!1}).addCase(Kn.rejected,t=>{t.isLoadingProductList=!1})}}),{setCartForProduct:fS,setMultiCartItems:as,incrementMultiProductItem:wh,decrementMultiProductItem:vh,removeMultiProductItem:Oh,clear:Ku,setActiveMultiCartProduct:ss}=qu.actions,Wu=qu.reducer,Mh=Je.combineReducers({swatches:Hu,cart:Yu,multiProductCart:Wu}),Ph={},{NODE_ENV:Dh}=Ph;Je.configureStore({reducer:Mh,middleware:e=>e({thunk:!0,serializableCheck:{ignoredActionPaths:["meta.limitCb","payload.limitCb"],ignoredPaths:[]}}),devTools:Dh!=="production"});const Ne=An.useDispatch.withTypes(),oe=An.useSelector.withTypes(),lr=e=>e.swatches.allMaterialsValues,Tn=e=>e.swatches.materialSelectState,_h=e=>e.swatches.productElementOptions,Kt=e=>e.swatches.selectedMaterials,Qu=e=>e.swatches.isLoadingSelectedProduct,Fh=e=>e.swatches.isOpenMultiProductCart,na=e=>e.swatches.selectedProduct,Zu=6.5,Xu=({materials:e,containerStyles:t="flex flex-col gap-[8px] text-xs/snug p-[var(--sm-padding)] border-t border-solid border-[var(--border)] sm:gap-[12px] shadow-[0_-2px_10px_rgba(40,40,40,0.10)]"})=>{const n="flex flex-row text-xs justify-between items-center",r=D.useMemo(()=>e.reduce((a,s)=>a+(s.count??0),0)*Zu,[e]);return m.jsxs("div",{className:t,children:[m.jsxs("div",{className:n,children:[m.jsx("span",{children:"Subtotal"}),m.jsxs("span",{children:["$",r]})]}),m.jsxs("div",{className:`${n} text-[var(--main-accent-color)]`,children:[m.jsx("span",{children:"Savings"}),m.jsxs("span",{children:["-$",r]})]}),m.jsxs("div",{className:`${n} text-sm font-medium`,children:[m.jsx("span",{children:"Total"}),m.jsx("span",{children:"$0"})]})]})},Gu=({children:e,disabled:t,...n})=>m.jsx("button",{className:`w-full bg-[var(--main-accent-color)] text-white py-3 rounded-full font-bold transition-colors duration-300 ${t?"bg-gray-400 text-gray-200 cursor-not-allowed opacity-70":"cursor-pointer hover:opacity-90"}`,...n,children:e}),xn=e=>e.multiProductCart.items,Uh=e=>e.multiProductCart.productList,Bh=e=>e.multiProductCart.isLoadingProductList;class Vt{static getImage(t){const n=t?.metadata?.Image||t?.metadata?.image;return n?`https://preview.threekit.com${n}`:void 0}static getValueLabel(t){return t?.metadata?.label||t?.metadata?.Label||t?.name||"Unnamed"}static getZoomIconColor(t){return t?.metadata?.zoomIconColor||t?.metadata?.zoomIconColor||null}static getHexColor(t){return t?.metadata?.hex||t?.metadata?.Hex||null}static getAttributeLabel(t){return t?.metadata?.label||t?.metadata?.Label||t?.name||"Unnamed"}}function Pe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function Mi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ra(...e){return t=>{let n=!1;const r=e.map(a=>{const s=Mi(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():Mi(e[a],null)}}}}function Ze(...e){return x.useCallback(ra(...e),e)}function Hh(e,t){const n=x.createContext(t),r=s=>{const{children:i,...o}=s,l=x.useMemo(()=>o,Object.values(o));return m.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function a(s){const i=x.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,a]}function aa(e,t=[]){let n=[];function r(s,i){const o=x.createContext(i),l=n.length;n=[...n,i];const c=f=>{const{scope:p,children:h,...T}=f,g=p?.[e]?.[l]||o,C=x.useMemo(()=>T,Object.values(T));return m.jsx(g.Provider,{value:C,children:h})};c.displayName=s+"Provider";function d(f,p){const h=p?.[e]?.[l]||o,T=x.useContext(h);if(T)return T;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[c,d]}const a=()=>{const s=n.map(i=>x.createContext(i));return function(o){const l=o?.[e]||s;return x.useMemo(()=>({[`__scope${e}`]:{...o,[e]:l}}),[o,l])}};return a.scopeName=e,[r,jh(a,...t)]}function jh(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const i=r.reduce((o,{useScope:l,scopeName:c})=>{const f=l(s)[`__scope${c}`];return{...o,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Mt=globalThis?.document?x.useLayoutEffect:()=>{},Vh=x[" useId ".trim().toString()]||(()=>{}),zh=0;function vr(e){const[t,n]=x.useState(Vh());return Mt(()=>{n(r=>r??String(zh++))},[e]),e||(t?`radix-${t}`:"")}var Yh=x[" useInsertionEffect ".trim().toString()]||Mt;function ws({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,s,i]=qh({defaultProp:t,onChange:n}),o=e!==void 0,l=o?e:a;{const d=x.useRef(e!==void 0);x.useEffect(()=>{const f=d.current;f!==o&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=o},[o,r])}const c=x.useCallback(d=>{if(o){const f=Kh(d)?d(e):d;f!==e&&i.current?.(f)}else s(d)},[o,e,s,i]);return[l,c]}function qh({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),a=x.useRef(n),s=x.useRef(t);return Yh(()=>{s.current=t},[t]),x.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}function Kh(e){return typeof e=="function"}function Wh(e){const t=Qh(e),n=x.forwardRef((r,a)=>{const{children:s,...i}=r,o=x.Children.toArray(s),l=o.find(Xh);if(l){const c=l.props.children,d=o.map(f=>f===l?x.Children.count(c)>1?x.Children.only(null):x.isValidElement(c)?c.props.children:null:f);return m.jsx(t,{...i,ref:a,children:x.isValidElement(c)?x.cloneElement(c,void 0,d):null})}return m.jsx(t,{...i,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function Qh(e){const t=x.forwardRef((n,r)=>{const{children:a,...s}=n;if(x.isValidElement(a)){const i=Jh(a),o=Gh(s,a.props);return a.type!==x.Fragment&&(o.ref=r?ra(r,i):i),x.cloneElement(a,o)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Zh=Symbol("radix.slottable");function Xh(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Zh}function Gh(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...o)=>{const l=s(...o);return a(...o),l}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function Jh(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Le=$h.reduce((e,t)=>{const n=Wh(`Primitive.${t}`),r=x.forwardRef((a,s)=>{const{asChild:i,...o}=a,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(l,{...o,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function em(e,t){e&&Nu.flushSync(()=>e.dispatchEvent(t))}function mn(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>t.current?.(...n),[])}function tm(e,t=globalThis?.document){const n=mn(e);x.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var nm="DismissableLayer",is="dismissableLayer.update",rm="dismissableLayer.pointerDownOutside",am="dismissableLayer.focusOutside",Pi,Ju=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vs=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:i,onDismiss:o,...l}=e,c=x.useContext(Ju),[d,f]=x.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=x.useState({}),T=Ze(t,M=>f(M)),g=Array.from(c.layers),[C]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(C),S=d?g.indexOf(d):-1,L=c.layersWithOutsidePointerEventsDisabled.size>0,R=S>=b,v=om(M=>{const P=M.target,W=[...c.branches].some(X=>X.contains(P));!R||W||(a?.(M),i?.(M),M.defaultPrevented||o?.())},p),k=um(M=>{const P=M.target;[...c.branches].some(X=>X.contains(P))||(s?.(M),i?.(M),M.defaultPrevented||o?.())},p);return tm(M=>{S===c.layers.size-1&&(r?.(M),!M.defaultPrevented&&o&&(M.preventDefault(),o()))},p),x.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Pi=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Di(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Pi)}},[d,p,n,c]),x.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Di())},[d,c]),x.useEffect(()=>{const M=()=>h({});return document.addEventListener(is,M),()=>document.removeEventListener(is,M)},[]),m.jsx(Le.div,{...l,ref:T,style:{pointerEvents:L?R?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,v.onPointerDownCapture)})});vs.displayName=nm;var sm="DismissableLayerBranch",im=x.forwardRef((e,t)=>{const n=x.useContext(Ju),r=x.useRef(null),a=Ze(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),m.jsx(Le.div,{...e,ref:a})});im.displayName=sm;function om(e,t=globalThis?.document){const n=mn(e),r=x.useRef(!1),a=x.useRef(()=>{});return x.useEffect(()=>{const s=o=>{if(o.target&&!r.current){let l=function(){$u(rm,n,c,{discrete:!0})};const c={originalEvent:o};o.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=l,t.addEventListener("click",a.current,{once:!0})):l()}else t.removeEventListener("click",a.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function um(e,t=globalThis?.document){const n=mn(e),r=x.useRef(!1);return x.useEffect(()=>{const a=s=>{s.target&&!r.current&&$u(am,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Di(){const e=new CustomEvent(is);document.dispatchEvent(e)}function $u(e,t,n,{discrete:r}){const a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?em(a,s):a.dispatchEvent(s)}var Ia="focusScope.autoFocusOnMount",Na="focusScope.autoFocusOnUnmount",_i={bubbles:!1,cancelable:!0},lm="FocusScope",Os=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...i}=e,[o,l]=x.useState(null),c=mn(a),d=mn(s),f=x.useRef(null),p=Ze(t,g=>l(g)),h=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let g=function(L){if(h.paused||!o)return;const R=L.target;o.contains(R)?f.current=R:Rt(f.current,{select:!0})},C=function(L){if(h.paused||!o)return;const R=L.relatedTarget;R!==null&&(o.contains(R)||Rt(f.current,{select:!0}))},b=function(L){if(document.activeElement===document.body)for(const v of L)v.removedNodes.length>0&&Rt(o)};document.addEventListener("focusin",g),document.addEventListener("focusout",C);const S=new MutationObserver(b);return o&&S.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),S.disconnect()}}},[r,o,h.paused]),x.useEffect(()=>{if(o){Ui.add(h);const g=document.activeElement;if(!o.contains(g)){const b=new CustomEvent(Ia,_i);o.addEventListener(Ia,c),o.dispatchEvent(b),b.defaultPrevented||(cm(pm(el(o)),{select:!0}),document.activeElement===g&&Rt(o))}return()=>{o.removeEventListener(Ia,c),setTimeout(()=>{const b=new CustomEvent(Na,_i);o.addEventListener(Na,d),o.dispatchEvent(b),b.defaultPrevented||Rt(g??document.body,{select:!0}),o.removeEventListener(Na,d),Ui.remove(h)},0)}}},[o,c,d,h]);const T=x.useCallback(g=>{if(!n&&!r||h.paused)return;const C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(C&&b){const S=g.currentTarget,[L,R]=dm(S);L&&R?!g.shiftKey&&b===R?(g.preventDefault(),n&&Rt(L,{select:!0})):g.shiftKey&&b===L&&(g.preventDefault(),n&&Rt(R,{select:!0})):b===S&&g.preventDefault()}},[n,r,h.paused]);return m.jsx(Le.div,{tabIndex:-1,...i,ref:p,onKeyDown:T})});Os.displayName=lm;function cm(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Rt(r,{select:t}),document.activeElement!==n)return}function dm(e){const t=el(e),n=Fi(t,e),r=Fi(t.reverse(),e);return[n,r]}function el(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Fi(e,t){for(const n of e)if(!fm(n,{upTo:t}))return n}function fm(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hm(e){return e instanceof HTMLInputElement&&"select"in e}function Rt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&hm(e)&&t&&e.select()}}var Ui=mm();function mm(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Bi(e,t),e.unshift(t)},remove(t){e=Bi(e,t),e[0]?.resume()}}}function Bi(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function pm(e){return e.filter(t=>t.tagName!=="A")}var gm="Portal",tl=x.forwardRef((e,t)=>{const{container:n,...r}=e,[a,s]=x.useState(!1);Mt(()=>s(!0),[]);const i=n||a&&globalThis?.document?.body;return i?qt.createPortal(m.jsx(Le.div,{...r,ref:t}),i):null});tl.displayName=gm;function Em(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var yn=e=>{const{present:t,children:n}=e,r=bm(t),a=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=Ze(r.ref,Am(a));return typeof n=="function"||r.isPresent?x.cloneElement(a,{ref:s}):null};yn.displayName="Presence";function bm(e){const[t,n]=x.useState(),r=x.useRef(null),a=x.useRef(e),s=x.useRef("none"),i=e?"mounted":"unmounted",[o,l]=Em(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const c=Ar(r.current);s.current=o==="mounted"?c:"none"},[o]),Mt(()=>{const c=r.current,d=a.current;if(d!==e){const p=s.current,h=Ar(c);e?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(d&&p!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),Mt(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,f=h=>{const g=Ar(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(l("ANIMATION_END"),!a.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},p=h=>{h.target===t&&(s.current=Ar(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:x.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Ar(e){return e?.animationName||"none"}function Am(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var La=0;function nl(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Hi()),document.body.insertAdjacentElement("beforeend",e[1]??Hi()),La++,()=>{La===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),La--}},[])}function Hi(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var lt=function(){return lt=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},lt.apply(this,arguments)};function rl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function Tm(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,s;r<a;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Or="right-scroll-bar-position",Mr="width-before-scroll-bar",xm="with-scroll-bars-hidden",ym="--removed-body-scroll-bar-size";function Ra(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Cm(e,t){var n=D.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var Sm=typeof window<"u"?x.useLayoutEffect:x.useEffect,ji=new WeakMap;function Im(e,t){var n=Cm(null,function(r){return e.forEach(function(a){return Ra(a,r)})});return Sm(function(){var r=ji.get(n);if(r){var a=new Set(r),s=new Set(e),i=n.current;a.forEach(function(o){s.has(o)||Ra(o,null)}),s.forEach(function(o){a.has(o)||Ra(o,i)})}ji.set(n,e)},[e]),n}function Nm(e){return e}function Lm(e,t){t===void 0&&(t=Nm);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(o){return o!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(o){return s(o)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var o=n;n=[],o.forEach(s),i=n}var l=function(){var d=i;i=[],d.forEach(s)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(d){i.push(d),c()},filter:function(d){return i=i.filter(d),n}}}};return a}function Rm(e){e===void 0&&(e={});var t=Lm(null);return t.options=lt({async:!0,ssr:!1},e),t}var al=function(e){var t=e.sideCar,n=rl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x.createElement(r,lt({},n))};al.isSideCarExport=!0;function km(e,t){return e.useMedium(t),al}var sl=Rm(),ka=function(){},sa=x.forwardRef(function(e,t){var n=x.useRef(null),r=x.useState({onScrollCapture:ka,onWheelCapture:ka,onTouchMoveCapture:ka}),a=r[0],s=r[1],i=e.forwardProps,o=e.children,l=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,T=e.noIsolation,g=e.inert,C=e.allowPinchZoom,b=e.as,S=b===void 0?"div":b,L=e.gapMode,R=rl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),v=p,k=Im([n,t]),M=lt(lt({},R),a);return x.createElement(x.Fragment,null,d&&x.createElement(v,{sideCar:sl,removeScrollBar:c,shards:f,noRelative:h,noIsolation:T,inert:g,setCallbacks:s,allowPinchZoom:!!C,lockRef:n,gapMode:L}),i?x.cloneElement(x.Children.only(o),lt(lt({},M),{ref:k})):x.createElement(S,lt({},M,{className:l,ref:k}),o))});sa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};sa.classNames={fullWidth:Mr,zeroRight:Or};var wm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function vm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=wm();return t&&e.setAttribute("nonce",t),e}function Om(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Mm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Pm=function(){var e=0,t=null;return{add:function(n){e==0&&(t=vm())&&(Om(t,n),Mm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Dm=function(){var e=Pm();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},il=function(){var e=Dm(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},_m={left:0,top:0,right:0,gap:0},wa=function(e){return parseInt(e||"",10)||0},Fm=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[wa(n),wa(r),wa(a)]},Um=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _m;var t=Fm(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Bm=il(),ln="data-scroll-locked",Hm=function(e,t,n,r){var a=e.left,s=e.top,i=e.right,o=e.gap;return n===void 0&&(n="margin"),`
3
- .`.concat(xm,` {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const D=require("react"),Vt=require("react-dom"),m=require("react/jsx-runtime"),Ze=require("@reduxjs/toolkit"),Tn=require("react-redux");function Su(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const y=Su(D),Nu=Su(Vt);function Iu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jt={},ki;function Of(){if(ki)return Jt;ki=1;var e=Vt;if(process.env.NODE_ENV==="production")Jt.createRoot=e.createRoot,Jt.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Jt.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},Jt.hydrateRoot=function(n,r,a){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,a)}finally{t.usingClientEntryPoint=!1}}}return Jt}var Rf=Of();const tt={UI:"UI",FETCH_DATA_PRODUCT:"FETCH_DATA_PRODUCT",FETCH_DATA_ALL:"FETCH_DATA_ALL"},Lf={Finish:"Material",Color:"Color",Look:"Look"},Pf=(e,t)=>e.toLowerCase()===t.toLowerCase();class Fr{static getMaterialsValuesFromOptions(t){if(t?.length)return t.reduce((n,r)=>{const a=Array.isArray(r.values)&&r.values.length?r.values:Array.isArray(r.valuesArray)&&r.valuesArray.length?r.valuesArray:void 0;if(!a)return n;const s=r.metadata?.Name??r.metadata?.Label??r.value??r.label??"without_name",i=a.map(o=>({...o,parentName:s}));return n.push(...i),n},[]).sort((n,r)=>(n.name?.toLowerCase()??"").localeCompare(r.name?.toLowerCase()??""))}static getUniqueByAssetId(t){const n=new Set;return t.filter(r=>n.has(r.assetId)?!1:(n.add(r.assetId),!0))}static normalizeToArray(t,n=!0){return t?Array.isArray(t)?t.map(r=>r.trim()).filter(Boolean):(n?t.split(","):[t]).map(r=>r.trim()).filter(Boolean):[]}static mapFiltersFromValues(t,n){return Object.keys(n).map(r=>{const a=Lf[r],i=n[r].map(o=>{let l=0;for(const c of t){const d=Array.isArray(c.values)?c.values:[];for(const f of d){const p=this.normalizeToArray(f.metadata?.[a]);l+=p.filter(h=>Pf(h,o)).length}}return{filterKey:o,filterCount:l}});return{filterType:r,filters:i}})}static getPositiveSelectedFilers(t){return t.map(n=>({filterName:n.filterType,filterKeys:n.filters.filter(r=>r.filterCount!==0).map(r=>r.filterKey)})).filter(n=>n.filterKeys.length>0)}}const vu=e=>Array.from(new Set(e)),wu={GET_PRODUCT_LIST:()=>"products",GET_PRODUCT_DETAILS:e=>`products/${e}`},Df={VITE_SWATH_CART_PRODUCTION_URL:"https://hbswatchcart.vivid3d.tech"},{VITE_SWATH_CART_PRODUCTION_URL:ku}=Df,Mf=async()=>{try{const e=`${ku}/${wu.GET_PRODUCT_LIST()}?pageSize=500`,t=await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error(`Request failed with status ${t.status}`);const n=await t.json();if(Array.isArray(n))throw new Error("API returned an array, expected IProductListResponse object");return n}catch(e){throw console.error("❌ Fetch error:",e),e}},Bf=async({assetId:e})=>{try{const t=`${ku}/${wu.GET_PRODUCT_DETAILS(e)}`,n=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!n.ok)throw new Error(`Request failed with status ${n.status}`);return await n.json()}catch(t){throw console.error("❌ Fetch error:",t),t}};function Ou(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ou(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ft(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ou(e))&&(r&&(r+=" "),r+=t);return r}function Ff(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Ff(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
2
+ `);var or=e=>typeof e=="number"&&!isNaN(e),jt=e=>typeof e=="string",_t=e=>typeof e=="function",Hf=e=>jt(e)||or(e),Ja=e=>jt(e)||_t(e)?e:null,Uf=(e,t)=>e===!1||or(e)&&e>0?e:t,es=e=>D.isValidElement(e)||jt(e)||_t(e)||or(e);function jf(e,t,n=300){let{scrollHeight:r,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=r+"px",a.transition=`all ${n}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,n)})})}function zf({enter:e,exit:t,appendPosition:n=!1,collapse:r=!0,collapseDuration:a=300}){return function({children:s,position:i,preventExitTransition:o,done:l,nodeRef:c,isIn:d,playToast:f}){let p=n?`${e}--${i}`:e,h=n?`${t}--${i}`:t,x=D.useRef(0);return D.useLayoutEffect(()=>{let g=c.current,C=p.split(" "),E=A=>{A.target===c.current&&(f(),g.removeEventListener("animationend",E),g.removeEventListener("animationcancel",E),x.current===0&&A.type!=="animationcancel"&&g.classList.remove(...C))};g.classList.add(...C),g.addEventListener("animationend",E),g.addEventListener("animationcancel",E)},[]),D.useEffect(()=>{let g=c.current,C=()=>{g.removeEventListener("animationend",C),r?jf(g,l,a):l()};d||(o?C():(x.current=1,g.className+=` ${h}`,g.addEventListener("animationend",C)))},[d]),D.createElement(D.Fragment,null,s)}}function Oi(e,t){return{content:Ru(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function Ru(e,t,n=!1){return D.isValidElement(e)&&!jt(e.type)?D.cloneElement(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):_t(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function Yf({closeToast:e,theme:t,ariaLabel:n="close"}){return D.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:r=>{r.stopPropagation(),e(!0)},"aria-label":n},D.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},D.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function Wf({delay:e,isRunning:t,closeToast:n,type:r="default",hide:a,className:s,controlledProgress:i,progress:o,rtl:l,isIn:c,theme:d}){let f=a||i&&o===0,p={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};i&&(p.transform=`scaleX(${o})`);let h=ft("Toastify__progress-bar",i?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${d}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":l}),x=_t(s)?s({rtl:l,type:r,defaultClassName:h}):ft(h,s),g={[i&&o>=1?"onTransitionEnd":"onAnimationEnd"]:i&&o<1?null:()=>{c&&n()}};return D.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":f},D.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${d} Toastify__progress-bar--${r}`}),D.createElement("div",{role:"progressbar","aria-hidden":f?"true":"false","aria-label":"notification timer",className:x,style:p,...g}))}var Vf=1,Lu=()=>`${Vf++}`;function $f(e,t,n){let r=1,a=0,s=[],i=[],o=t,l=new Map,c=new Set,d=A=>(c.add(A),()=>c.delete(A)),f=()=>{i=Array.from(l.values()),c.forEach(A=>A())},p=({containerId:A,toastId:I,updateId:v})=>{let O=A?A!==e:e!==1,w=l.has(I)&&v==null;return O||w},h=(A,I)=>{l.forEach(v=>{var O;(I==null||I===v.props.toastId)&&((O=v.toggle)==null||O.call(v,A))})},x=A=>{var I,v;(v=(I=A.props)==null?void 0:I.onClose)==null||v.call(I,A.removalReason),A.isActive=!1},g=A=>{if(A==null)l.forEach(x);else{let I=l.get(A);I&&x(I)}f()},C=()=>{a-=s.length,s=[]},E=A=>{var I,v;let{toastId:O,updateId:w}=A.props,L=w==null;A.staleId&&l.delete(A.staleId),A.isActive=!0,l.set(O,A),f(),n(Oi(A,L?"added":"updated")),L&&((v=(I=A.props).onOpen)==null||v.call(I))};return{id:e,props:o,observe:d,toggle:h,removeToast:g,toasts:l,clearQueue:C,buildToast:(A,I)=>{if(p(I))return;let{toastId:v,updateId:O,data:w,staleId:L,delay:P}=I,q=O==null;q&&a++;let K={...o,style:o.toastStyle,key:r++,...Object.fromEntries(Object.entries(I).filter(([z,$])=>$!=null)),toastId:v,updateId:O,data:w,isIn:!1,className:Ja(I.className||o.toastClassName),progressClassName:Ja(I.progressClassName||o.progressClassName),autoClose:I.isLoading?!1:Uf(I.autoClose,o.autoClose),closeToast(z){l.get(v).removalReason=z,g(v)},deleteToast(){let z=l.get(v);if(z!=null){if(n(Oi(z,"removed")),l.delete(v),a--,a<0&&(a=0),s.length>0){E(s.shift());return}f()}}};K.closeButton=o.closeButton,I.closeButton===!1||es(I.closeButton)?K.closeButton=I.closeButton:I.closeButton===!0&&(K.closeButton=es(o.closeButton)?o.closeButton:!0);let U={content:A,props:K,staleId:L};o.limit&&o.limit>0&&a>o.limit&&q?s.push(U):or(P)?setTimeout(()=>{E(U)},P):E(U)},setProps(A){o=A},setToggle:(A,I)=>{let v=l.get(A);v&&(v.toggle=I)},isToastActive:A=>{var I;return(I=l.get(A))==null?void 0:I.isActive},getSnapshot:()=>i}}var Re=new Map,tr=[],ts=new Set,qf=e=>ts.forEach(t=>t(e)),Pu=()=>Re.size>0;function Gf(){tr.forEach(e=>Mu(e.content,e.options)),tr=[]}var Xf=(e,{containerId:t})=>{var n;return(n=Re.get(t||1))==null?void 0:n.toasts.get(e)};function Du(e,t){var n;if(t)return!!((n=Re.get(t))!=null&&n.isToastActive(e));let r=!1;return Re.forEach(a=>{a.isToastActive(e)&&(r=!0)}),r}function Kf(e){if(!Pu()){tr=tr.filter(t=>e!=null&&t.options.toastId!==e);return}if(e==null||Hf(e))Re.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=Re.get(e.containerId);t?t.removeToast(e.id):Re.forEach(n=>{n.removeToast(e.id)})}}var Qf=(e={})=>{Re.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})};function Mu(e,t){es(e)&&(Pu()||tr.push({content:e,options:t}),Re.forEach(n=>{n.buildToast(e,t)}))}function Zf(e){var t;(t=Re.get(e.containerId||1))==null||t.setToggle(e.id,e.fn)}function Bu(e,t){Re.forEach(n=>{(t==null||!(t!=null&&t.containerId)||t?.containerId===n.id)&&n.toggle(e,t?.id)})}function Jf(e){let t=e.containerId||1;return{subscribe(n){let r=$f(t,e,qf);Re.set(t,r);let a=r.observe(n);return Gf(),()=>{a(),Re.delete(t)}},setProps(n){var r;(r=Re.get(t))==null||r.setProps(n)},getSnapshot(){var n;return(n=Re.get(t))==null?void 0:n.getSnapshot()}}}function eh(e){return ts.add(e),()=>{ts.delete(e)}}function th(e){return e&&(jt(e.toastId)||or(e.toastId))?e.toastId:Lu()}function ur(e,t){return Mu(e,t),t.toastId}function Qr(e,t){return{...t,type:t&&t.type||e,toastId:th(t)}}function Zr(e){return(t,n)=>ur(t,Qr(e,n))}function de(e,t){return ur(e,Qr("default",t))}de.loading=(e,t)=>ur(e,Qr("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t}));function nh(e,{pending:t,error:n,success:r},a){let s;t&&(s=jt(t)?de.loading(t,a):de.loading(t.render,{...a,...t}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},o=(c,d,f)=>{if(d==null){de.dismiss(s);return}let p={type:c,...i,...a,data:f},h=jt(d)?{render:d}:d;return s?de.update(s,{...p,...h}):de(h.render,{...p,...h}),f},l=_t(e)?e():e;return l.then(c=>o("success",r,c)).catch(c=>o("error",n,c)),l}de.promise=nh;de.success=Zr("success");de.info=Zr("info");de.error=Zr("error");de.warning=Zr("warning");de.warn=de.warning;de.dark=(e,t)=>ur(e,Qr("default",{theme:"dark",...t}));function rh(e){Kf(e)}de.dismiss=rh;de.clearWaitingQueue=Qf;de.isActive=Du;de.update=(e,t={})=>{let n=Xf(e,t);if(n){let{props:r,content:a}=n,s={delay:100,...r,...t,toastId:t.toastId||e,updateId:Lu()};s.toastId!==e&&(s.staleId=e);let i=s.render||a;delete s.render,ur(i,s)}};de.done=e=>{de.update(e,{progress:1})};de.onChange=eh;de.play=e=>Bu(!0,e);de.pause=e=>Bu(!1,e);function ah(e){var t;let{subscribe:n,getSnapshot:r,setProps:a}=D.useRef(Jf(e)).current;a(e);let s=(t=D.useSyncExternalStore(n,r,r))==null?void 0:t.slice();function i(o){if(!s)return[];let l=new Map;return e.newestOnTop&&s.reverse(),s.forEach(c=>{let{position:d}=c.props;l.has(d)||l.set(d,[]),l.get(d).push(c)}),Array.from(l,c=>o(c[0],c[1]))}return{getToastToRender:i,isToastActive:Du,count:s?.length}}function sh(e){let[t,n]=D.useState(!1),[r,a]=D.useState(!1),s=D.useRef(null),i=D.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:o,pauseOnHover:l,closeToast:c,onClick:d,closeOnClick:f}=e;Zf({id:e.toastId,containerId:e.containerId,fn:n}),D.useEffect(()=>{if(e.pauseOnFocusLoss)return p(),()=>{h()}},[e.pauseOnFocusLoss]);function p(){document.hasFocus()||E(),window.addEventListener("focus",C),window.addEventListener("blur",E)}function h(){window.removeEventListener("focus",C),window.removeEventListener("blur",E)}function x(L){if(e.draggable===!0||e.draggable===L.pointerType){A();let P=s.current;i.canCloseOnClick=!0,i.canDrag=!0,P.style.transition="none",e.draggableDirection==="x"?(i.start=L.clientX,i.removalDistance=P.offsetWidth*(e.draggablePercent/100)):(i.start=L.clientY,i.removalDistance=P.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function g(L){let{top:P,bottom:q,left:K,right:U}=s.current.getBoundingClientRect();L.nativeEvent.type!=="touchend"&&e.pauseOnHover&&L.clientX>=K&&L.clientX<=U&&L.clientY>=P&&L.clientY<=q?E():C()}function C(){n(!0)}function E(){n(!1)}function A(){i.didMove=!1,document.addEventListener("pointermove",v),document.addEventListener("pointerup",O)}function I(){document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",O)}function v(L){let P=s.current;if(i.canDrag&&P){i.didMove=!0,t&&E(),e.draggableDirection==="x"?i.delta=L.clientX-i.start:i.delta=L.clientY-i.start,i.start!==L.clientX&&(i.canCloseOnClick=!1);let q=e.draggableDirection==="x"?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`;P.style.transform=`translate3d(${q},0)`,P.style.opacity=`${1-Math.abs(i.delta/i.removalDistance)}`}}function O(){I();let L=s.current;if(i.canDrag&&i.didMove&&L){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance){a(!0),e.closeToast(!0),e.collapseAll();return}L.style.transition="transform 0.2s, opacity 0.2s",L.style.removeProperty("transform"),L.style.removeProperty("opacity")}}let w={onPointerDown:x,onPointerUp:g};return o&&l&&(w.onMouseEnter=E,e.stacked||(w.onMouseLeave=C)),f&&(w.onClick=L=>{d&&d(L),i.canCloseOnClick&&c(!0)}),{playToast:C,pauseToast:E,isRunning:t,preventExitTransition:r,toastRef:s,eventHandlers:w}}var ih=typeof window<"u"?D.useLayoutEffect:D.useEffect,Jr=({theme:e,type:t,isLoading:n,...r})=>D.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`,...r});function oh(e){return D.createElement(Jr,{...e},D.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function uh(e){return D.createElement(Jr,{...e},D.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function lh(e){return D.createElement(Jr,{...e},D.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function ch(e){return D.createElement(Jr,{...e},D.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function dh(){return D.createElement("div",{className:"Toastify__spinner"})}var ns={info:uh,warning:oh,success:lh,error:ch,spinner:dh},fh=e=>e in ns;function hh({theme:e,type:t,isLoading:n,icon:r}){let a=null,s={theme:e,type:t};return r===!1||(_t(r)?a=r({...s,isLoading:n}):D.isValidElement(r)?a=D.cloneElement(r,s):n?a=ns.spinner():fh(t)&&(a=ns[t](s))),a}var mh=e=>{let{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:a,playToast:s}=sh(e),{closeButton:i,children:o,autoClose:l,onClick:c,type:d,hideProgressBar:f,closeToast:p,transition:h,position:x,className:g,style:C,progressClassName:E,updateId:A,role:I,progress:v,rtl:O,toastId:w,deleteToast:L,isIn:P,isLoading:q,closeOnClick:K,theme:U,ariaLabel:z}=e,$=ft("Toastify__toast",`Toastify__toast-theme--${U}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":O},{"Toastify__toast--close-on-click":K}),Y=_t(g)?g({rtl:O,position:x,type:d,defaultClassName:$}):ft($,g),F=hh(e),X=!!v||!l,Q={closeToast:p,type:d,theme:U},B=null;return i===!1||(_t(i)?B=i(Q):D.isValidElement(i)?B=D.cloneElement(i,Q):B=Yf(Q)),D.createElement(h,{isIn:P,done:L,position:x,preventExitTransition:n,nodeRef:r,playToast:s},D.createElement("div",{id:w,tabIndex:0,onClick:c,"data-in":P,className:Y,...a,style:C,ref:r,...P&&{role:I,"aria-label":z}},F!=null&&D.createElement("div",{className:ft("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!q})},F),Ru(o,e,!t),B,!e.customProgressBar&&D.createElement(Wf,{...A&&!X?{key:`p-${A}`}:{},rtl:O,theme:U,delay:l,isRunning:t,isIn:P,closeToast:p,hide:f,type:d,className:E,controlledProgress:X,progress:v||0})))},ph=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),Fu=zf(ph("bounce",!0)),gh={position:"top-right",transition:Fu,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function bh(e){let t={...gh,...e},n=e.stacked,[r,a]=D.useState(!0),s=D.useRef(null),{getToastToRender:i,isToastActive:o,count:l}=ah(t),{className:c,style:d,rtl:f,containerId:p,hotKeys:h}=t;function x(C){let E=ft("Toastify__toast-container",`Toastify__toast-container--${C}`,{"Toastify__toast-container--rtl":f});return _t(c)?c({position:C,rtl:f,defaultClassName:E}):ft(E,Ja(c))}function g(){n&&(a(!0),de.play())}return ih(()=>{var C;if(n){let E=s.current.querySelectorAll('[data-in="true"]'),A=12,I=(C=t.position)==null?void 0:C.includes("top"),v=0,O=0;Array.from(E).reverse().forEach((w,L)=>{let P=w;P.classList.add("Toastify__toast--stacked"),L>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=I?"top":"bot");let q=v*(r?.2:1)+(r?0:A*L);P.style.setProperty("--y",`${I?q:q*-1}px`),P.style.setProperty("--g",`${A}`),P.style.setProperty("--s",`${1-(r?O:0)}`),v+=P.offsetHeight,O+=.025})}},[r,l,n]),D.useEffect(()=>{function C(E){var A;let I=s.current;h(E)&&((A=I.querySelector('[tabIndex="0"]'))==null||A.focus(),a(!1),de.pause()),E.key==="Escape"&&(document.activeElement===I||I!=null&&I.contains(document.activeElement))&&(a(!0),de.play())}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[h]),D.createElement("section",{ref:s,className:"Toastify",id:p,onMouseEnter:()=>{n&&(a(!1),de.pause())},onMouseLeave:g,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},i((C,E)=>{let A=E.length?{...d}:{...d,pointerEvents:"none"};return D.createElement("div",{tabIndex:-1,className:x(C),"data-stacked":n,style:A,key:`c-${C}`},E.map(({content:I,props:v})=>D.createElement(mh,{...v,stacked:n,collapseAll:g,isIn:o(v.toastId,v.containerId),key:`t-${v.key}`},I)))}))}const Vn=Ze.createAsyncThunk("swatches/getSelectedProductThunk",async({assetId:e},{rejectWithValue:t})=>{try{return await Bf({assetId:e})}catch(n){return console.error(n.message),de("Failed to load product"),t(n.message)}}),Le=5,Eh={listAttributes:[],productElementOptions:[],materialSelectState:{Finish:[],Color:[],Look:[]},allMaterialsValues:[],selectedMaterials:[],selectedProduct:null,isLoadingSelectedProduct:!1,isOpenMultiProductCart:!1},Th=e=>e.reduce((t,n)=>t+n.count,0),Hu=Ze.createSlice({name:"swatches",initialState:Eh,reducers:{setMaterialSelect(e,t){const{filterName:n,values:r}=t.payload;if(r.length===0){e.materialSelectState[n]=[];return}e.materialSelectState[n]=vu(r)},setPanelFilter(e,t){const n=t.payload.attributes;if(n.length){const r=Fr.getMaterialsValuesFromOptions(n);r?.length&&(e.allMaterialsValues=r)}},clearMaterialFilter:(e,t)=>{e.materialSelectState[t.payload]=[]},clearAllMaterialFilters:e=>{e.materialSelectState={Finish:[],Color:[],Look:[]}},setAllMaterialsOptions:(e,t)=>{const{allMaterialValues:n,productElementOptions:r}=t.payload;n?.length&&(e.allMaterialsValues=n),r?.length&&(e.productElementOptions=r)},setSelectedMaterial(e,t){const{materialCount:n,selectedMaterial:r,selectedMaterials:a}=t.payload;if(!r)return;const s=o=>o.metadata?.label===r.metadata?.label&&o.parentName===r.parentName;a?.some(s)?e.selectedMaterials=a.filter(o=>!s(o)):n<5&&(e.selectedMaterials=[...a,r])},resetSelectedMaterials(e){e.selectedMaterials=[]},setSelectedProduct(e,t){e.selectedProduct=t.payload},deleteSelectedProduct(e){e.selectedProduct=null},setIsOpenMultiProductCart(e,t){e.isOpenMultiProductCart=t.payload},removeItem(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial;e.selectedMaterials=e.selectedMaterials.filter(a=>!(a.metadata?.label===n?.label&&a.parentName===r))},increment(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial,a=e.selectedMaterials.find(s=>s.metadata?.label===n?.label&&s.parentName===r);a&&Th(e.selectedMaterials)<Le&&(a.count+=1)},decrement(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial,a=e.selectedMaterials.find(s=>s.metadata?.label===n?.label&&s.parentName===r);a&&a.count>1&&(a.count-=1)},setCount(e,t){const{metadata:n,parentName:r}=t.payload.selectedMaterial,{next:a}=t.payload,s=e.selectedMaterials.find(c=>c.metadata?.label===n?.label&&c.parentName===r);if(!s)return;const i=Math.max(1,Math.floor(a)),o=e.selectedMaterials.filter(c=>!(c.metadata?.label===n?.label&&c.parentName===r)).reduce((c,d)=>c+d.count,0),l=Math.max(1,Le-o);s.count=Math.min(i,l)}},extraReducers:e=>{e.addCase(Vn.pending,t=>{t.isLoadingSelectedProduct=!0}).addCase(Vn.fulfilled,t=>{t.isLoadingSelectedProduct=!1}).addCase(Vn.rejected,t=>{t.isLoadingSelectedProduct=!1})}}),Uu=Hu.reducer,{setMaterialSelect:ea,setAllMaterialsOptions:rs,setPanelFilter:Ca,setSelectedMaterial:ta,clearMaterialFilter:uA,clearAllMaterialFilters:xh,setSelectedProduct:yh,deleteSelectedProduct:ju,setIsOpenMultiProductCart:zu,resetSelectedMaterials:_h,removeItem:Ch,increment:Ah,decrement:Sh,setCount:lA}=Hu.actions,Nh={items:[]},Yu=Ze.createSlice({name:"cart",initialState:Nh,reducers:{setCartItems(e,t){e.items=t.payload},clear(e){e.items=[]}}}),{setCartItems:Ih,clear:cA}=Yu.actions,Wu=Yu.reducer,$n=Ze.createAsyncThunk("multiProducts/getProductListThunk",async(e,{rejectWithValue:t})=>{try{return await Mf()}catch(n){return console.error(n?.message??n),t(n?.message??"Unknown error")}}),vh={items:[],productList:[],isLoadingProductList:!1,selectedProduct:null,activeMultiCartProduct:null,totalCount:0};function wh(e,t,n){let r=e.items.find(a=>a.assetId===t);return r?n&&!r.name&&(r.name=n):(r={assetId:t,name:n??"",items:[]},e.items.push(r)),r}const Aa=(e,t)=>e.items.findIndex(n=>n.assetId===t),Ri=(e,t,n,r)=>t===-1?-1:e.items[t].items.findIndex(a=>a.metadata?.label===n&&a.parentName===r),Vu=Ze.createSlice({name:"multiProduct",initialState:vh,reducers:{setCartForProduct(e,t){const{assetId:n}=t.payload,r=e.items.findIndex(a=>a.assetId===n);r>=0?e.items[r]=t.payload:e.items.push(t.payload)},setActiveMultiCartProduct(e,t){e.activeMultiCartProduct=t.payload},setMultiCartItems(e,t){const{assetId:n,items:r,name:a}=t.payload;if(!r||r.length===0){const i=e.items.findIndex(o=>o.assetId===n);i!==-1&&e.items.splice(i,1);return}const s=wh(e,n,a);s.items=r},incrementMultiProductItem(e,t){const{assetId:n,label:r,parentName:a}=t.payload,s=Aa(e,n),i=Ri(e,s,r,a);i!==-1&&(e.items[s].items[i].count+=1)},decrementMultiProductItem(e,t){const{assetId:n,label:r,parentName:a}=t.payload,s=Aa(e,n),i=Ri(e,s,r,a);if(i!==-1){const o=e.items[s].items[i];o.count>1&&(o.count-=1)}},removeMultiProductItem(e,t){const{assetId:n,label:r,parentName:a}=t.payload,s=Aa(e,n);if(s===-1)return;const i=e.items[s].items.filter(o=>!(o.metadata?.label===r&&o.parentName===a));e.items[s].items=i},clear(e){e.items=[]}},extraReducers:e=>{e.addCase($n.pending,t=>{t.isLoadingProductList=!0}).addCase($n.fulfilled,(t,n)=>{t.productList=n.payload.rows,t.isLoadingProductList=!1}).addCase($n.rejected,t=>{t.isLoadingProductList=!1})}}),{setCartForProduct:dA,setMultiCartItems:as,incrementMultiProductItem:kh,decrementMultiProductItem:Oh,removeMultiProductItem:Rh,clear:$u,setActiveMultiCartProduct:ss}=Vu.actions,qu=Vu.reducer,Lh=Ze.combineReducers({swatches:Uu,cart:Wu,multiProductCart:qu}),Ph={},{NODE_ENV:Dh}=Ph;Ze.configureStore({reducer:Lh,middleware:e=>e({thunk:!0,serializableCheck:{ignoredActionPaths:["meta.limitCb","payload.limitCb"],ignoredPaths:[]}}),devTools:Dh!=="production"});const Ne=Tn.useDispatch.withTypes(),oe=Tn.useSelector.withTypes(),lr=e=>e.swatches.allMaterialsValues,xn=e=>e.swatches.materialSelectState,Mh=e=>e.swatches.productElementOptions,$t=e=>e.swatches.selectedMaterials,Gu=e=>e.swatches.isLoadingSelectedProduct,Bh=e=>e.swatches.isOpenMultiProductCart,na=e=>e.swatches.selectedProduct,Xu=6.5,Ku=({materials:e,containerStyles:t="flex flex-col gap-[8px] text-xs/snug p-[var(--sm-padding)] border-t border-solid border-[var(--border)] sm:gap-[12px] shadow-[0_-2px_10px_rgba(40,40,40,0.10)]"})=>{const n="flex flex-row text-xs justify-between items-center",r=D.useMemo(()=>e.reduce((a,s)=>a+(s.count??0),0)*Xu,[e]);return m.jsxs("div",{className:t,children:[m.jsxs("div",{className:n,children:[m.jsx("span",{children:"Subtotal"}),m.jsxs("span",{children:["$",r]})]}),m.jsxs("div",{className:`${n} text-[var(--main-accent-color)]`,children:[m.jsx("span",{children:"Savings"}),m.jsxs("span",{children:["-$",r]})]}),m.jsxs("div",{className:`${n} text-sm font-medium`,children:[m.jsx("span",{children:"Total"}),m.jsx("span",{children:"$0"})]})]})},Qu=({children:e,disabled:t,...n})=>m.jsx("button",{className:`w-full bg-[var(--main-accent-color)] text-white py-3 rounded-full font-bold transition-colors duration-300 ${t?"bg-gray-400 text-gray-200 cursor-not-allowed opacity-70":"cursor-pointer hover:opacity-90"}`,...n,children:e}),yn=e=>e.multiProductCart.items,Fh=e=>e.multiProductCart.productList,Hh=e=>e.multiProductCart.isLoadingProductList;class zt{static getImage(t){const n=t?.metadata?.Image||t?.metadata?.image;return n?`https://preview.threekit.com${n}`:void 0}static getValueLabel(t){return t?.metadata?.label||t?.metadata?.Label||t?.name||"Unnamed"}static getZoomIconColor(t){return t?.metadata?.zoomIconColor||t?.metadata?.zoomIconColor||null}static getHexColor(t){return t?.metadata?.hex||t?.metadata?.Hex||null}static getAttributeLabel(t){return t?.metadata?.label||t?.metadata?.Label||t?.name||"Unnamed"}}function Pe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function Li(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ra(...e){return t=>{let n=!1;const r=e.map(a=>{const s=Li(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():Li(e[a],null)}}}}function Xe(...e){return y.useCallback(ra(...e),e)}function Uh(e,t){const n=y.createContext(t),r=s=>{const{children:i,...o}=s,l=y.useMemo(()=>o,Object.values(o));return m.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function a(s){const i=y.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,a]}function aa(e,t=[]){let n=[];function r(s,i){const o=y.createContext(i),l=n.length;n=[...n,i];const c=f=>{const{scope:p,children:h,...x}=f,g=p?.[e]?.[l]||o,C=y.useMemo(()=>x,Object.values(x));return m.jsx(g.Provider,{value:C,children:h})};c.displayName=s+"Provider";function d(f,p){const h=p?.[e]?.[l]||o,x=y.useContext(h);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[c,d]}const a=()=>{const s=n.map(i=>y.createContext(i));return function(o){const l=o?.[e]||s;return y.useMemo(()=>({[`__scope${e}`]:{...o,[e]:l}}),[o,l])}};return a.scopeName=e,[r,jh(a,...t)]}function jh(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const i=r.reduce((o,{useScope:l,scopeName:c})=>{const f=l(s)[`__scope${c}`];return{...o,...f}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Lt=globalThis?.document?y.useLayoutEffect:()=>{},zh=y[" useId ".trim().toString()]||(()=>{}),Yh=0;function Or(e){const[t,n]=y.useState(zh());return Lt(()=>{n(r=>r??String(Yh++))},[e]),e||(t?`radix-${t}`:"")}var Wh=y[" useInsertionEffect ".trim().toString()]||Lt;function ks({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,s,i]=Vh({defaultProp:t,onChange:n}),o=e!==void 0,l=o?e:a;{const d=y.useRef(e!==void 0);y.useEffect(()=>{const f=d.current;f!==o&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=o},[o,r])}const c=y.useCallback(d=>{if(o){const f=$h(d)?d(e):d;f!==e&&i.current?.(f)}else s(d)},[o,e,s,i]);return[l,c]}function Vh({defaultProp:e,onChange:t}){const[n,r]=y.useState(e),a=y.useRef(n),s=y.useRef(t);return Wh(()=>{s.current=t},[t]),y.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}function $h(e){return typeof e=="function"}function qh(e){const t=Gh(e),n=y.forwardRef((r,a)=>{const{children:s,...i}=r,o=y.Children.toArray(s),l=o.find(Kh);if(l){const c=l.props.children,d=o.map(f=>f===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:f);return m.jsx(t,{...i,ref:a,children:y.isValidElement(c)?y.cloneElement(c,void 0,d):null})}return m.jsx(t,{...i,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function Gh(e){const t=y.forwardRef((n,r)=>{const{children:a,...s}=n;if(y.isValidElement(a)){const i=Zh(a),o=Qh(s,a.props);return a.type!==y.Fragment&&(o.ref=r?ra(r,i):i),y.cloneElement(a,o)}return y.Children.count(a)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Xh=Symbol("radix.slottable");function Kh(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Xh}function Qh(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...o)=>{const l=s(...o);return a(...o),l}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function Zh(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Jh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ie=Jh.reduce((e,t)=>{const n=qh(`Primitive.${t}`),r=y.forwardRef((a,s)=>{const{asChild:i,...o}=a,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(l,{...o,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function e0(e,t){e&&Nu.flushSync(()=>e.dispatchEvent(t))}function mn(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>t.current?.(...n),[])}function t0(e,t=globalThis?.document){const n=mn(e);y.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var n0="DismissableLayer",is="dismissableLayer.update",r0="dismissableLayer.pointerDownOutside",a0="dismissableLayer.focusOutside",Pi,Zu=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Os=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:i,onDismiss:o,...l}=e,c=y.useContext(Zu),[d,f]=y.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=y.useState({}),x=Xe(t,L=>f(L)),g=Array.from(c.layers),[C]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),E=g.indexOf(C),A=d?g.indexOf(d):-1,I=c.layersWithOutsidePointerEventsDisabled.size>0,v=A>=E,O=o0(L=>{const P=L.target,q=[...c.branches].some(K=>K.contains(P));!v||q||(a?.(L),i?.(L),L.defaultPrevented||o?.())},p),w=u0(L=>{const P=L.target;[...c.branches].some(K=>K.contains(P))||(s?.(L),i?.(L),L.defaultPrevented||o?.())},p);return t0(L=>{A===c.layers.size-1&&(r?.(L),!L.defaultPrevented&&o&&(L.preventDefault(),o()))},p),y.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Pi=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Di(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Pi)}},[d,p,n,c]),y.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Di())},[d,c]),y.useEffect(()=>{const L=()=>h({});return document.addEventListener(is,L),()=>document.removeEventListener(is,L)},[]),m.jsx(Ie.div,{...l,ref:x,style:{pointerEvents:I?v?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,w.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,O.onPointerDownCapture)})});Os.displayName=n0;var s0="DismissableLayerBranch",i0=y.forwardRef((e,t)=>{const n=y.useContext(Zu),r=y.useRef(null),a=Xe(t,r);return y.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),m.jsx(Ie.div,{...e,ref:a})});i0.displayName=s0;function o0(e,t=globalThis?.document){const n=mn(e),r=y.useRef(!1),a=y.useRef(()=>{});return y.useEffect(()=>{const s=o=>{if(o.target&&!r.current){let l=function(){Ju(r0,n,c,{discrete:!0})};const c={originalEvent:o};o.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=l,t.addEventListener("click",a.current,{once:!0})):l()}else t.removeEventListener("click",a.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function u0(e,t=globalThis?.document){const n=mn(e),r=y.useRef(!1);return y.useEffect(()=>{const a=s=>{s.target&&!r.current&&Ju(a0,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Di(){const e=new CustomEvent(is);document.dispatchEvent(e)}function Ju(e,t,n,{discrete:r}){const a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?e0(a,s):a.dispatchEvent(s)}var Sa="focusScope.autoFocusOnMount",Na="focusScope.autoFocusOnUnmount",Mi={bubbles:!1,cancelable:!0},l0="FocusScope",Rs=y.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...i}=e,[o,l]=y.useState(null),c=mn(a),d=mn(s),f=y.useRef(null),p=Xe(t,g=>l(g)),h=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(r){let g=function(I){if(h.paused||!o)return;const v=I.target;o.contains(v)?f.current=v:vt(f.current,{select:!0})},C=function(I){if(h.paused||!o)return;const v=I.relatedTarget;v!==null&&(o.contains(v)||vt(f.current,{select:!0}))},E=function(I){if(document.activeElement===document.body)for(const O of I)O.removedNodes.length>0&&vt(o)};document.addEventListener("focusin",g),document.addEventListener("focusout",C);const A=new MutationObserver(E);return o&&A.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),A.disconnect()}}},[r,o,h.paused]),y.useEffect(()=>{if(o){Fi.add(h);const g=document.activeElement;if(!o.contains(g)){const E=new CustomEvent(Sa,Mi);o.addEventListener(Sa,c),o.dispatchEvent(E),E.defaultPrevented||(c0(p0(el(o)),{select:!0}),document.activeElement===g&&vt(o))}return()=>{o.removeEventListener(Sa,c),setTimeout(()=>{const E=new CustomEvent(Na,Mi);o.addEventListener(Na,d),o.dispatchEvent(E),E.defaultPrevented||vt(g??document.body,{select:!0}),o.removeEventListener(Na,d),Fi.remove(h)},0)}}},[o,c,d,h]);const x=y.useCallback(g=>{if(!n&&!r||h.paused)return;const C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,E=document.activeElement;if(C&&E){const A=g.currentTarget,[I,v]=d0(A);I&&v?!g.shiftKey&&E===v?(g.preventDefault(),n&&vt(I,{select:!0})):g.shiftKey&&E===I&&(g.preventDefault(),n&&vt(v,{select:!0})):E===A&&g.preventDefault()}},[n,r,h.paused]);return m.jsx(Ie.div,{tabIndex:-1,...i,ref:p,onKeyDown:x})});Rs.displayName=l0;function c0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(vt(r,{select:t}),document.activeElement!==n)return}function d0(e){const t=el(e),n=Bi(t,e),r=Bi(t.reverse(),e);return[n,r]}function el(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Bi(e,t){for(const n of e)if(!f0(n,{upTo:t}))return n}function f0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function h0(e){return e instanceof HTMLInputElement&&"select"in e}function vt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&h0(e)&&t&&e.select()}}var Fi=m0();function m0(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Hi(e,t),e.unshift(t)},remove(t){e=Hi(e,t),e[0]?.resume()}}}function Hi(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function p0(e){return e.filter(t=>t.tagName!=="A")}var g0="Portal",tl=y.forwardRef((e,t)=>{const{container:n,...r}=e,[a,s]=y.useState(!1);Lt(()=>s(!0),[]);const i=n||a&&globalThis?.document?.body;return i?Vt.createPortal(m.jsx(Ie.div,{...r,ref:t}),i):null});tl.displayName=g0;function b0(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var _n=e=>{const{present:t,children:n}=e,r=E0(t),a=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),s=Xe(r.ref,T0(a));return typeof n=="function"||r.isPresent?y.cloneElement(a,{ref:s}):null};_n.displayName="Presence";function E0(e){const[t,n]=y.useState(),r=y.useRef(null),a=y.useRef(e),s=y.useRef("none"),i=e?"mounted":"unmounted",[o,l]=b0(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const c=Tr(r.current);s.current=o==="mounted"?c:"none"},[o]),Lt(()=>{const c=r.current,d=a.current;if(d!==e){const p=s.current,h=Tr(c);e?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(d&&p!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),Lt(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,f=h=>{const g=Tr(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(l("ANIMATION_END"),!a.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},p=h=>{h.target===t&&(s.current=Tr(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:y.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Tr(e){return e?.animationName||"none"}function T0(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ia=0;function nl(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ui()),document.body.insertAdjacentElement("beforeend",e[1]??Ui()),Ia++,()=>{Ia===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ia--}},[])}function Ui(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var lt=function(){return lt=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},lt.apply(this,arguments)};function rl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function x0(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,s;r<a;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Rr="right-scroll-bar-position",Lr="width-before-scroll-bar",y0="with-scroll-bars-hidden",_0="--removed-body-scroll-bar-size";function va(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function C0(e,t){var n=D.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var A0=typeof window<"u"?y.useLayoutEffect:y.useEffect,ji=new WeakMap;function S0(e,t){var n=C0(null,function(r){return e.forEach(function(a){return va(a,r)})});return A0(function(){var r=ji.get(n);if(r){var a=new Set(r),s=new Set(e),i=n.current;a.forEach(function(o){s.has(o)||va(o,null)}),s.forEach(function(o){a.has(o)||va(o,i)})}ji.set(n,e)},[e]),n}function N0(e){return e}function I0(e,t){t===void 0&&(t=N0);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(o){return o!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(o){return s(o)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var o=n;n=[],o.forEach(s),i=n}var l=function(){var d=i;i=[],d.forEach(s)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(d){i.push(d),c()},filter:function(d){return i=i.filter(d),n}}}};return a}function v0(e){e===void 0&&(e={});var t=I0(null);return t.options=lt({async:!0,ssr:!1},e),t}var al=function(e){var t=e.sideCar,n=rl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return y.createElement(r,lt({},n))};al.isSideCarExport=!0;function w0(e,t){return e.useMedium(t),al}var sl=v0(),wa=function(){},sa=y.forwardRef(function(e,t){var n=y.useRef(null),r=y.useState({onScrollCapture:wa,onWheelCapture:wa,onTouchMoveCapture:wa}),a=r[0],s=r[1],i=e.forwardProps,o=e.children,l=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,x=e.noIsolation,g=e.inert,C=e.allowPinchZoom,E=e.as,A=E===void 0?"div":E,I=e.gapMode,v=rl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=p,w=S0([n,t]),L=lt(lt({},v),a);return y.createElement(y.Fragment,null,d&&y.createElement(O,{sideCar:sl,removeScrollBar:c,shards:f,noRelative:h,noIsolation:x,inert:g,setCallbacks:s,allowPinchZoom:!!C,lockRef:n,gapMode:I}),i?y.cloneElement(y.Children.only(o),lt(lt({},L),{ref:w})):y.createElement(A,lt({},L,{className:l,ref:w}),o))});sa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};sa.classNames={fullWidth:Lr,zeroRight:Rr};var k0=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function O0(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=k0();return t&&e.setAttribute("nonce",t),e}function R0(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function L0(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var P0=function(){var e=0,t=null;return{add:function(n){e==0&&(t=O0())&&(R0(t,n),L0(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},D0=function(){var e=P0();return function(t,n){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},il=function(){var e=D0(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},M0={left:0,top:0,right:0,gap:0},ka=function(e){return parseInt(e||"",10)||0},B0=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[ka(n),ka(r),ka(a)]},F0=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return M0;var t=B0(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},H0=il(),ln="data-scroll-locked",U0=function(e,t,n,r){var a=e.left,s=e.top,i=e.right,o=e.gap;return n===void 0&&(n="margin"),`
3
+ .`.concat(y0,` {
4
4
  overflow: hidden `).concat(r,`;
5
5
  padding-right: `).concat(o,"px ").concat(r,`;
6
6
  }
@@ -17,68 +17,68 @@
17
17
  `),n==="padding"&&"padding-right: ".concat(o,"px ").concat(r,";")].filter(Boolean).join(""),`
18
18
  }
19
19
 
20
- .`).concat(Or,` {
20
+ .`).concat(Rr,` {
21
21
  right: `).concat(o,"px ").concat(r,`;
22
22
  }
23
23
 
24
- .`).concat(Mr,` {
24
+ .`).concat(Lr,` {
25
25
  margin-right: `).concat(o,"px ").concat(r,`;
26
26
  }
27
27
 
28
- .`).concat(Or," .").concat(Or,` {
28
+ .`).concat(Rr," .").concat(Rr,` {
29
29
  right: 0 `).concat(r,`;
30
30
  }
31
31
 
32
- .`).concat(Mr," .").concat(Mr,` {
32
+ .`).concat(Lr," .").concat(Lr,` {
33
33
  margin-right: 0 `).concat(r,`;
34
34
  }
35
35
 
36
36
  body[`).concat(ln,`] {
37
- `).concat(ym,": ").concat(o,`px;
37
+ `).concat(_0,": ").concat(o,`px;
38
38
  }
39
- `)},Vi=function(){var e=parseInt(document.body.getAttribute(ln)||"0",10);return isFinite(e)?e:0},jm=function(){x.useEffect(function(){return document.body.setAttribute(ln,(Vi()+1).toString()),function(){var e=Vi()-1;e<=0?document.body.removeAttribute(ln):document.body.setAttribute(ln,e.toString())}},[])},Vm=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;jm();var s=x.useMemo(function(){return Um(a)},[a]);return x.createElement(Bm,{styles:Hm(s,!t,a,n?"":"!important")})},os=!1;if(typeof window<"u")try{var Tr=Object.defineProperty({},"passive",{get:function(){return os=!0,!0}});window.addEventListener("test",Tr,Tr),window.removeEventListener("test",Tr,Tr)}catch{os=!1}var en=os?{passive:!1}:!1,zm=function(e){return e.tagName==="TEXTAREA"},ol=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!zm(e)&&n[t]==="visible")},Ym=function(e){return ol(e,"overflowY")},qm=function(e){return ol(e,"overflowX")},zi=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=ul(e,r);if(a){var s=ll(e,r),i=s[1],o=s[2];if(i>o)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Km=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Wm=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ul=function(e,t){return e==="v"?Ym(t):qm(t)},ll=function(e,t){return e==="v"?Km(t):Wm(t)},Qm=function(e,t){return e==="h"&&t==="rtl"?-1:1},Zm=function(e,t,n,r,a){var s=Qm(e,window.getComputedStyle(t).direction),i=s*r,o=n.target,l=t.contains(o),c=!1,d=i>0,f=0,p=0;do{if(!o)break;var h=ll(e,o),T=h[0],g=h[1],C=h[2],b=g-C-s*T;(T||b)&&ul(e,o)&&(f+=b,p+=T);var S=o.parentNode;o=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(c=!0),c},xr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Yi=function(e){return[e.deltaX,e.deltaY]},qi=function(e){return e&&"current"in e?e.current:e},Xm=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Gm=function(e){return`
39
+ `)},zi=function(){var e=parseInt(document.body.getAttribute(ln)||"0",10);return isFinite(e)?e:0},j0=function(){y.useEffect(function(){return document.body.setAttribute(ln,(zi()+1).toString()),function(){var e=zi()-1;e<=0?document.body.removeAttribute(ln):document.body.setAttribute(ln,e.toString())}},[])},z0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;j0();var s=y.useMemo(function(){return F0(a)},[a]);return y.createElement(H0,{styles:U0(s,!t,a,n?"":"!important")})},os=!1;if(typeof window<"u")try{var xr=Object.defineProperty({},"passive",{get:function(){return os=!0,!0}});window.addEventListener("test",xr,xr),window.removeEventListener("test",xr,xr)}catch{os=!1}var en=os?{passive:!1}:!1,Y0=function(e){return e.tagName==="TEXTAREA"},ol=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Y0(e)&&n[t]==="visible")},W0=function(e){return ol(e,"overflowY")},V0=function(e){return ol(e,"overflowX")},Yi=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=ul(e,r);if(a){var s=ll(e,r),i=s[1],o=s[2];if(i>o)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},$0=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},q0=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ul=function(e,t){return e==="v"?W0(t):V0(t)},ll=function(e,t){return e==="v"?$0(t):q0(t)},G0=function(e,t){return e==="h"&&t==="rtl"?-1:1},X0=function(e,t,n,r,a){var s=G0(e,window.getComputedStyle(t).direction),i=s*r,o=n.target,l=t.contains(o),c=!1,d=i>0,f=0,p=0;do{if(!o)break;var h=ll(e,o),x=h[0],g=h[1],C=h[2],E=g-C-s*x;(x||E)&&ul(e,o)&&(f+=E,p+=x);var A=o.parentNode;o=A&&A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?A.host:A}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(c=!0),c},yr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Wi=function(e){return[e.deltaX,e.deltaY]},Vi=function(e){return e&&"current"in e?e.current:e},K0=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Q0=function(e){return`
40
40
  .block-interactivity-`.concat(e,` {pointer-events: none;}
41
41
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
42
- `)},Jm=0,tn=[];function $m(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),a=x.useState(Jm++)[0],s=x.useState(il)[0],i=x.useRef(e);x.useEffect(function(){i.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=Tm([e.lockRef.current],(e.shards||[]).map(qi),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var o=x.useCallback(function(g,C){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var b=xr(g),S=n.current,L="deltaX"in g?g.deltaX:S[0]-b[0],R="deltaY"in g?g.deltaY:S[1]-b[1],v,k=g.target,M=Math.abs(L)>Math.abs(R)?"h":"v";if("touches"in g&&M==="h"&&k.type==="range")return!1;var P=zi(M,k);if(!P)return!0;if(P?v=M:(v=M==="v"?"h":"v",P=zi(M,k)),!P)return!1;if(!r.current&&"changedTouches"in g&&(L||R)&&(r.current=v),!v)return!0;var W=r.current||v;return Zm(W,C,g,W==="h"?L:R)},[]),l=x.useCallback(function(g){var C=g;if(!(!tn.length||tn[tn.length-1]!==s)){var b="deltaY"in C?Yi(C):xr(C),S=t.current.filter(function(v){return v.name===C.type&&(v.target===C.target||C.target===v.shadowParent)&&Xm(v.delta,b)})[0];if(S&&S.should){C.cancelable&&C.preventDefault();return}if(!S){var L=(i.current.shards||[]).map(qi).filter(Boolean).filter(function(v){return v.contains(C.target)}),R=L.length>0?o(C,L[0]):!i.current.noIsolation;R&&C.cancelable&&C.preventDefault()}}},[]),c=x.useCallback(function(g,C,b,S){var L={name:g,delta:C,target:b,should:S,shadowParent:e0(b)};t.current.push(L),setTimeout(function(){t.current=t.current.filter(function(R){return R!==L})},1)},[]),d=x.useCallback(function(g){n.current=xr(g),r.current=void 0},[]),f=x.useCallback(function(g){c(g.type,Yi(g),g.target,o(g,e.lockRef.current))},[]),p=x.useCallback(function(g){c(g.type,xr(g),g.target,o(g,e.lockRef.current))},[]);x.useEffect(function(){return tn.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,en),document.addEventListener("touchmove",l,en),document.addEventListener("touchstart",d,en),function(){tn=tn.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,en),document.removeEventListener("touchmove",l,en),document.removeEventListener("touchstart",d,en)}},[]);var h=e.removeScrollBar,T=e.inert;return x.createElement(x.Fragment,null,T?x.createElement(s,{styles:Gm(a)}):null,h?x.createElement(Vm,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function e0(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const t0=km(sl,$m);var Ms=x.forwardRef(function(e,t){return x.createElement(sa,lt({},e,{ref:t,sideCar:t0}))});Ms.classNames=sa.classNames;var n0=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},nn=new WeakMap,yr=new WeakMap,Cr={},va=0,cl=function(e){return e&&(e.host||cl(e.parentNode))},r0=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=cl(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},a0=function(e,t,n,r){var a=r0(t,Array.isArray(e)?e:[e]);Cr[n]||(Cr[n]=new WeakMap);var s=Cr[n],i=[],o=new Set,l=new Set(a),c=function(f){!f||o.has(f)||(o.add(f),c(f.parentNode))};a.forEach(c);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(o.has(p))d(p);else try{var h=p.getAttribute(r),T=h!==null&&h!=="false",g=(nn.get(p)||0)+1,C=(s.get(p)||0)+1;nn.set(p,g),s.set(p,C),i.push(p),g===1&&T&&yr.set(p,!0),C===1&&p.setAttribute(n,"true"),T||p.setAttribute(r,"true")}catch(b){console.error("aria-hidden: cannot operate on ",p,b)}})};return d(t),o.clear(),va++,function(){i.forEach(function(f){var p=nn.get(f)-1,h=s.get(f)-1;nn.set(f,p),s.set(f,h),p||(yr.has(f)||f.removeAttribute(r),yr.delete(f)),h||f.removeAttribute(n)}),va--,va||(nn=new WeakMap,nn=new WeakMap,yr=new WeakMap,Cr={})}},dl=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=n0(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),a0(r,a,n,"aria-hidden")):function(){return null}};function s0(e){const t=i0(e),n=x.forwardRef((r,a)=>{const{children:s,...i}=r,o=x.Children.toArray(s),l=o.find(u0);if(l){const c=l.props.children,d=o.map(f=>f===l?x.Children.count(c)>1?x.Children.only(null):x.isValidElement(c)?c.props.children:null:f);return m.jsx(t,{...i,ref:a,children:x.isValidElement(c)?x.cloneElement(c,void 0,d):null})}return m.jsx(t,{...i,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function i0(e){const t=x.forwardRef((n,r)=>{const{children:a,...s}=n;if(x.isValidElement(a)){const i=c0(a),o=l0(s,a.props);return a.type!==x.Fragment&&(o.ref=r?ra(r,i):i),x.cloneElement(a,o)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var o0=Symbol("radix.slottable");function u0(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===o0}function l0(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...o)=>{const l=s(...o);return a(...o),l}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function c0(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ia="Dialog",[fl]=aa(ia),[d0,at]=fl(ia),hl=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:s,modal:i=!0}=e,o=x.useRef(null),l=x.useRef(null),[c,d]=ws({prop:r,defaultProp:a??!1,onChange:s,caller:ia});return m.jsx(d0,{scope:t,triggerRef:o,contentRef:l,contentId:vr(),titleId:vr(),descriptionId:vr(),open:c,onOpenChange:d,onOpenToggle:x.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};hl.displayName=ia;var ml="DialogTrigger",f0=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(ml,n),s=Ze(t,a.triggerRef);return m.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":_s(a.open),...r,ref:s,onClick:Pe(e.onClick,a.onOpenToggle)})});f0.displayName=ml;var Ps="DialogPortal",[h0,pl]=fl(Ps,{forceMount:void 0}),gl=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,s=at(Ps,t);return m.jsx(h0,{scope:t,forceMount:n,children:x.Children.map(r,i=>m.jsx(yn,{present:n||s.open,children:m.jsx(tl,{asChild:!0,container:a,children:i})}))})};gl.displayName=Ps;var Br="DialogOverlay",El=x.forwardRef((e,t)=>{const n=pl(Br,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=at(Br,e.__scopeDialog);return s.modal?m.jsx(yn,{present:r||s.open,children:m.jsx(p0,{...a,ref:t})}):null});El.displayName=Br;var m0=s0("DialogOverlay.RemoveScroll"),p0=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(Br,n);return m.jsx(Ms,{as:m0,allowPinchZoom:!0,shards:[a.contentRef],children:m.jsx(Le.div,{"data-state":_s(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),zt="DialogContent",bl=x.forwardRef((e,t)=>{const n=pl(zt,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=at(zt,e.__scopeDialog);return m.jsx(yn,{present:r||s.open,children:s.modal?m.jsx(g0,{...a,ref:t}):m.jsx(E0,{...a,ref:t})})});bl.displayName=zt;var g0=x.forwardRef((e,t)=>{const n=at(zt,e.__scopeDialog),r=x.useRef(null),a=Ze(t,n.contentRef,r);return x.useEffect(()=>{const s=r.current;if(s)return dl(s)},[]),m.jsx(Al,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pe(e.onCloseAutoFocus,s=>{s.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Pe(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,o=i.button===0&&i.ctrlKey===!0;(i.button===2||o)&&s.preventDefault()}),onFocusOutside:Pe(e.onFocusOutside,s=>s.preventDefault())})}),E0=x.forwardRef((e,t)=>{const n=at(zt,e.__scopeDialog),r=x.useRef(!1),a=x.useRef(!1);return m.jsx(Al,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const i=s.target;n.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&a.current&&s.preventDefault()}})}),Al=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:s,...i}=e,o=at(zt,n),l=x.useRef(null),c=Ze(t,l);return nl(),m.jsxs(m.Fragment,{children:[m.jsx(Os,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:s,children:m.jsx(vs,{role:"dialog",id:o.contentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":_s(o.open),...i,ref:c,onDismiss:()=>o.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(b0,{titleId:o.titleId}),m.jsx(T0,{contentRef:l,descriptionId:o.descriptionId})]})]})}),Ds="DialogTitle",Tl=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(Ds,n);return m.jsx(Le.h2,{id:a.titleId,...r,ref:t})});Tl.displayName=Ds;var xl="DialogDescription",yl=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(xl,n);return m.jsx(Le.p,{id:a.descriptionId,...r,ref:t})});yl.displayName=xl;var Cl="DialogClose",Sl=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(Cl,n);return m.jsx(Le.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,()=>a.onOpenChange(!1))})});Sl.displayName=Cl;function _s(e){return e?"open":"closed"}var Il="DialogTitleWarning",[hS,Nl]=Hh(Il,{contentName:zt,titleName:Ds,docsSlug:"dialog"}),b0=({titleId:e})=>{const t=Nl(Il),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
42
+ `)},Z0=0,tn=[];function J0(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),a=y.useState(Z0++)[0],s=y.useState(il)[0],i=y.useRef(e);y.useEffect(function(){i.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=x0([e.lockRef.current],(e.shards||[]).map(Vi),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var o=y.useCallback(function(g,C){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var E=yr(g),A=n.current,I="deltaX"in g?g.deltaX:A[0]-E[0],v="deltaY"in g?g.deltaY:A[1]-E[1],O,w=g.target,L=Math.abs(I)>Math.abs(v)?"h":"v";if("touches"in g&&L==="h"&&w.type==="range")return!1;var P=Yi(L,w);if(!P)return!0;if(P?O=L:(O=L==="v"?"h":"v",P=Yi(L,w)),!P)return!1;if(!r.current&&"changedTouches"in g&&(I||v)&&(r.current=O),!O)return!0;var q=r.current||O;return X0(q,C,g,q==="h"?I:v)},[]),l=y.useCallback(function(g){var C=g;if(!(!tn.length||tn[tn.length-1]!==s)){var E="deltaY"in C?Wi(C):yr(C),A=t.current.filter(function(O){return O.name===C.type&&(O.target===C.target||C.target===O.shadowParent)&&K0(O.delta,E)})[0];if(A&&A.should){C.cancelable&&C.preventDefault();return}if(!A){var I=(i.current.shards||[]).map(Vi).filter(Boolean).filter(function(O){return O.contains(C.target)}),v=I.length>0?o(C,I[0]):!i.current.noIsolation;v&&C.cancelable&&C.preventDefault()}}},[]),c=y.useCallback(function(g,C,E,A){var I={name:g,delta:C,target:E,should:A,shadowParent:em(E)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(v){return v!==I})},1)},[]),d=y.useCallback(function(g){n.current=yr(g),r.current=void 0},[]),f=y.useCallback(function(g){c(g.type,Wi(g),g.target,o(g,e.lockRef.current))},[]),p=y.useCallback(function(g){c(g.type,yr(g),g.target,o(g,e.lockRef.current))},[]);y.useEffect(function(){return tn.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,en),document.addEventListener("touchmove",l,en),document.addEventListener("touchstart",d,en),function(){tn=tn.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,en),document.removeEventListener("touchmove",l,en),document.removeEventListener("touchstart",d,en)}},[]);var h=e.removeScrollBar,x=e.inert;return y.createElement(y.Fragment,null,x?y.createElement(s,{styles:Q0(a)}):null,h?y.createElement(z0,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function em(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const tm=w0(sl,J0);var Ls=y.forwardRef(function(e,t){return y.createElement(sa,lt({},e,{ref:t,sideCar:tm}))});Ls.classNames=sa.classNames;var nm=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},nn=new WeakMap,_r=new WeakMap,Cr={},Oa=0,cl=function(e){return e&&(e.host||cl(e.parentNode))},rm=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=cl(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},am=function(e,t,n,r){var a=rm(t,Array.isArray(e)?e:[e]);Cr[n]||(Cr[n]=new WeakMap);var s=Cr[n],i=[],o=new Set,l=new Set(a),c=function(f){!f||o.has(f)||(o.add(f),c(f.parentNode))};a.forEach(c);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(o.has(p))d(p);else try{var h=p.getAttribute(r),x=h!==null&&h!=="false",g=(nn.get(p)||0)+1,C=(s.get(p)||0)+1;nn.set(p,g),s.set(p,C),i.push(p),g===1&&x&&_r.set(p,!0),C===1&&p.setAttribute(n,"true"),x||p.setAttribute(r,"true")}catch(E){console.error("aria-hidden: cannot operate on ",p,E)}})};return d(t),o.clear(),Oa++,function(){i.forEach(function(f){var p=nn.get(f)-1,h=s.get(f)-1;nn.set(f,p),s.set(f,h),p||(_r.has(f)||f.removeAttribute(r),_r.delete(f)),h||f.removeAttribute(n)}),Oa--,Oa||(nn=new WeakMap,nn=new WeakMap,_r=new WeakMap,Cr={})}},dl=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=nm(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),am(r,a,n,"aria-hidden")):function(){return null}};function sm(e){const t=im(e),n=y.forwardRef((r,a)=>{const{children:s,...i}=r,o=y.Children.toArray(s),l=o.find(um);if(l){const c=l.props.children,d=o.map(f=>f===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:f);return m.jsx(t,{...i,ref:a,children:y.isValidElement(c)?y.cloneElement(c,void 0,d):null})}return m.jsx(t,{...i,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function im(e){const t=y.forwardRef((n,r)=>{const{children:a,...s}=n;if(y.isValidElement(a)){const i=cm(a),o=lm(s,a.props);return a.type!==y.Fragment&&(o.ref=r?ra(r,i):i),y.cloneElement(a,o)}return y.Children.count(a)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var om=Symbol("radix.slottable");function um(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===om}function lm(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...o)=>{const l=s(...o);return a(...o),l}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function cm(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ia="Dialog",[fl]=aa(ia),[dm,at]=fl(ia),hl=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:s,modal:i=!0}=e,o=y.useRef(null),l=y.useRef(null),[c,d]=ks({prop:r,defaultProp:a??!1,onChange:s,caller:ia});return m.jsx(dm,{scope:t,triggerRef:o,contentRef:l,contentId:Or(),titleId:Or(),descriptionId:Or(),open:c,onOpenChange:d,onOpenToggle:y.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};hl.displayName=ia;var ml="DialogTrigger",fm=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(ml,n),s=Xe(t,a.triggerRef);return m.jsx(Ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Ms(a.open),...r,ref:s,onClick:Pe(e.onClick,a.onOpenToggle)})});fm.displayName=ml;var Ps="DialogPortal",[hm,pl]=fl(Ps,{forceMount:void 0}),gl=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,s=at(Ps,t);return m.jsx(hm,{scope:t,forceMount:n,children:y.Children.map(r,i=>m.jsx(_n,{present:n||s.open,children:m.jsx(tl,{asChild:!0,container:a,children:i})}))})};gl.displayName=Ps;var Hr="DialogOverlay",bl=y.forwardRef((e,t)=>{const n=pl(Hr,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=at(Hr,e.__scopeDialog);return s.modal?m.jsx(_n,{present:r||s.open,children:m.jsx(pm,{...a,ref:t})}):null});bl.displayName=Hr;var mm=sm("DialogOverlay.RemoveScroll"),pm=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(Hr,n);return m.jsx(Ls,{as:mm,allowPinchZoom:!0,shards:[a.contentRef],children:m.jsx(Ie.div,{"data-state":Ms(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Yt="DialogContent",El=y.forwardRef((e,t)=>{const n=pl(Yt,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=at(Yt,e.__scopeDialog);return m.jsx(_n,{present:r||s.open,children:s.modal?m.jsx(gm,{...a,ref:t}):m.jsx(bm,{...a,ref:t})})});El.displayName=Yt;var gm=y.forwardRef((e,t)=>{const n=at(Yt,e.__scopeDialog),r=y.useRef(null),a=Xe(t,n.contentRef,r);return y.useEffect(()=>{const s=r.current;if(s)return dl(s)},[]),m.jsx(Tl,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pe(e.onCloseAutoFocus,s=>{s.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Pe(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,o=i.button===0&&i.ctrlKey===!0;(i.button===2||o)&&s.preventDefault()}),onFocusOutside:Pe(e.onFocusOutside,s=>s.preventDefault())})}),bm=y.forwardRef((e,t)=>{const n=at(Yt,e.__scopeDialog),r=y.useRef(!1),a=y.useRef(!1);return m.jsx(Tl,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const i=s.target;n.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&a.current&&s.preventDefault()}})}),Tl=y.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:s,...i}=e,o=at(Yt,n),l=y.useRef(null),c=Xe(t,l);return nl(),m.jsxs(m.Fragment,{children:[m.jsx(Rs,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:s,children:m.jsx(Os,{role:"dialog",id:o.contentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":Ms(o.open),...i,ref:c,onDismiss:()=>o.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(Em,{titleId:o.titleId}),m.jsx(xm,{contentRef:l,descriptionId:o.descriptionId})]})]})}),Ds="DialogTitle",xl=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(Ds,n);return m.jsx(Ie.h2,{id:a.titleId,...r,ref:t})});xl.displayName=Ds;var yl="DialogDescription",_l=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(yl,n);return m.jsx(Ie.p,{id:a.descriptionId,...r,ref:t})});_l.displayName=yl;var Cl="DialogClose",Al=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=at(Cl,n);return m.jsx(Ie.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,()=>a.onOpenChange(!1))})});Al.displayName=Cl;function Ms(e){return e?"open":"closed"}var Sl="DialogTitleWarning",[fA,Nl]=Uh(Sl,{contentName:Yt,titleName:Ds,docsSlug:"dialog"}),Em=({titleId:e})=>{const t=Nl(Sl),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
43
43
 
44
44
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
45
45
 
46
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},A0="DialogDescriptionWarning",T0=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Nl(A0).contentName}}.`;return x.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},x0=hl,y0=gl,Ll=El,Rl=bl,kl=Tl,wl=yl,C0=Sl;const S0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),I0=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Ki=e=>{const t=I0(e);return t.charAt(0).toUpperCase()+t.slice(1)},vl=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();var N0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const L0=D.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:i,...o},l)=>D.createElement("svg",{ref:l,...N0,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:vl("lucide",a),...o},[...i.map(([c,d])=>D.createElement(c,d)),...Array.isArray(s)?s:[s]]));const Fs=(e,t)=>{const n=D.forwardRef(({className:r,...a},s)=>D.createElement(L0,{ref:s,iconNode:t,className:vl(`lucide-${S0(Ki(e))}`,`lucide-${e}`,r),...a}));return n.displayName=Ki(e),n};const R0=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ol=Fs("check",R0);const k0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ml=Fs("chevron-down",k0);const w0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Us=Fs("x",w0),v0=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},O0=(e,t)=>({classGroupId:e,validator:t}),Pl=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Hr="-",Wi=[],M0="arbitrary..",P0=e=>{const t=_0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return D0(i);const o=i.split(Hr),l=o[0]===""&&o.length>1?1:0;return Dl(o,l,t)},getConflictingClassGroupIds:(i,o)=>{if(o){const l=r[i],c=n[i];return l?c?v0(c,l):l:c||Wi}return n[i]||Wi}}},Dl=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const a=e[t],s=n.nextPart.get(a);if(s){const c=Dl(e,t+1,s);if(c)return c}const i=n.validators;if(i===null)return;const o=t===0?e.join(Hr):e.slice(t).join(Hr),l=i.length;for(let c=0;c<l;c++){const d=i[c];if(d.validator(o))return d.classGroupId}},D0=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?M0+r:void 0})(),_0=e=>{const{theme:t,classGroups:n}=e;return F0(n,t)},F0=(e,t)=>{const n=Pl();for(const r in e){const a=e[r];Bs(a,n,r,t)}return n},Bs=(e,t,n,r)=>{const a=e.length;for(let s=0;s<a;s++){const i=e[s];U0(i,t,n,r)}},U0=(e,t,n,r)=>{if(typeof e=="string"){B0(e,t,n);return}if(typeof e=="function"){H0(e,t,n,r);return}j0(e,t,n,r)},B0=(e,t,n)=>{const r=e===""?t:_l(t,e);r.classGroupId=n},H0=(e,t,n,r)=>{if(V0(e)){Bs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(O0(n,e))},j0=(e,t,n,r)=>{const a=Object.entries(e),s=a.length;for(let i=0;i<s;i++){const[o,l]=a[i];Bs(l,_l(t,o),n,r)}},_l=(e,t)=>{let n=e;const r=t.split(Hr),a=r.length;for(let s=0;s<a;s++){const i=r[s];let o=n.nextPart.get(i);o||(o=Pl(),n.nextPart.set(i,o)),n=o}return n},V0=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,z0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const a=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return a(s,i),i},set(s,i){s in n?n[s]=i:a(s,i)}}},us="!",Qi=":",Y0=[],Zi=(e,t,n,r,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),q0=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const s=[];let i=0,o=0,l=0,c;const d=a.length;for(let g=0;g<d;g++){const C=a[g];if(i===0&&o===0){if(C===Qi){s.push(a.slice(l,g)),l=g+1;continue}if(C==="/"){c=g;continue}}C==="["?i++:C==="]"?i--:C==="("?o++:C===")"&&o--}const f=s.length===0?a:a.slice(l);let p=f,h=!1;f.endsWith(us)?(p=f.slice(0,-1),h=!0):f.startsWith(us)&&(p=f.slice(1),h=!0);const T=c&&c>l?c-l:void 0;return Zi(s,h,p,T)};if(t){const a=t+Qi,s=r;r=i=>i.startsWith(a)?s(i.slice(a.length)):Zi(Y0,!1,i,void 0,!0)}if(n){const a=r;r=s=>n({className:s,parseClassName:a})}return r},K0=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let s=0;s<n.length;s++){const i=n[s],o=i[0]==="[",l=t.has(i);o||l?(a.length>0&&(a.sort(),r.push(...a),a=[]),r.push(i)):a.push(i)}return a.length>0&&(a.sort(),r.push(...a)),r}},W0=e=>({cache:z0(e.cacheSize),parseClassName:q0(e),sortModifiers:K0(e),...P0(e)}),Q0=/\s+/,Z0=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:s}=t,i=[],o=e.trim().split(Q0);let l="";for(let c=o.length-1;c>=0;c-=1){const d=o[c],{isExternal:f,modifiers:p,hasImportantModifier:h,baseClassName:T,maybePostfixModifierPosition:g}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let C=!!g,b=r(C?T.substring(0,g):T);if(!b){if(!C){l=d+(l.length>0?" "+l:l);continue}if(b=r(T),!b){l=d+(l.length>0?" "+l:l);continue}C=!1}const S=p.length===0?"":p.length===1?p[0]:s(p).join(":"),L=h?S+us:S,R=L+b;if(i.indexOf(R)>-1)continue;i.push(R);const v=a(b,C);for(let k=0;k<v.length;++k){const M=v[k];i.push(L+M)}l=d+(l.length>0?" "+l:l)}return l},X0=(...e)=>{let t=0,n,r,a="";for(;t<e.length;)(n=e[t++])&&(r=Fl(n))&&(a&&(a+=" "),a+=r);return a},Fl=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Fl(e[r]))&&(n&&(n+=" "),n+=t);return n},G0=(e,...t)=>{let n,r,a,s;const i=l=>{const c=t.reduce((d,f)=>f(d),e());return n=W0(c),r=n.cache.get,a=n.cache.set,s=o,o(l)},o=l=>{const c=r(l);if(c)return c;const d=Z0(l,n);return a(l,d),d};return s=i,(...l)=>s(X0(...l))},J0=[],Ce=e=>{const t=n=>n[e]||J0;return t.isThemeGetter=!0,t},Ul=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Bl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$0=/^\d+\/\d+$/,ep=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tp=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,np=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ap=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>$0.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),Nt=e=>!!e&&Number.isInteger(Number(e)),Oa=e=>e.endsWith("%")&&ae(e.slice(0,-1)),Tt=e=>ep.test(e),sp=()=>!0,ip=e=>tp.test(e)&&!np.test(e),Hl=()=>!1,op=e=>rp.test(e),up=e=>ap.test(e),lp=e=>!J(e)&&!$(e),cp=e=>Cn(e,zl,Hl),J=e=>Ul.test(e),Ut=e=>Cn(e,Yl,ip),Ma=e=>Cn(e,pp,ae),Xi=e=>Cn(e,jl,Hl),dp=e=>Cn(e,Vl,up),Sr=e=>Cn(e,ql,op),$=e=>Bl.test(e),_n=e=>Sn(e,Yl),fp=e=>Sn(e,gp),Gi=e=>Sn(e,jl),hp=e=>Sn(e,zl),mp=e=>Sn(e,Vl),Ir=e=>Sn(e,ql,!0),Cn=(e,t,n)=>{const r=Ul.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Sn=(e,t,n=!1)=>{const r=Bl.exec(e);return r?r[1]?t(r[1]):n:!1},jl=e=>e==="position"||e==="percentage",Vl=e=>e==="image"||e==="url",zl=e=>e==="length"||e==="size"||e==="bg-size",Yl=e=>e==="length",pp=e=>e==="number",gp=e=>e==="family-name",ql=e=>e==="shadow",Ep=()=>{const e=Ce("color"),t=Ce("font"),n=Ce("text"),r=Ce("font-weight"),a=Ce("tracking"),s=Ce("leading"),i=Ce("breakpoint"),o=Ce("container"),l=Ce("spacing"),c=Ce("radius"),d=Ce("shadow"),f=Ce("inset-shadow"),p=Ce("text-shadow"),h=Ce("drop-shadow"),T=Ce("blur"),g=Ce("perspective"),C=Ce("aspect"),b=Ce("ease"),S=Ce("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...R(),$,J],k=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],P=()=>[$,J,l],W=()=>[rn,"full","auto",...P()],X=()=>[Nt,"none","subgrid",$,J],H=()=>["auto",{span:["full",Nt,$,J]},Nt,$,J],V=()=>[Nt,"auto",$,J],K=()=>["auto","min","max","fr",$,J],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],Z=()=>["auto",...P()],G=()=>[rn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],F=()=>[e,$,J],ie=()=>[...R(),Gi,Xi,{position:[$,J]}],I=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Te=()=>["auto","cover","contain",hp,cp,{size:[$,J]}],we=()=>[Oa,_n,Ut],N=()=>["","none","full",c,$,J],fe=()=>["",ae,_n,Ut],De=()=>["solid","dashed","dotted","double"],be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[ae,Oa,Gi,Xi],_e=()=>["","none",T,$,J],je=()=>["none",ae,$,J],Ve=()=>["none",ae,$,J],it=()=>[ae,$,J],It=()=>[rn,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Tt],breakpoint:[Tt],color:[sp],container:[Tt],"drop-shadow":[Tt],ease:["in","out","in-out"],font:[lp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Tt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Tt],shadow:[Tt],spacing:["px",ae],text:[Tt],"text-shadow":[Tt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rn,J,$,C]}],container:["container"],columns:[{columns:[ae,J,$,o]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[Nt,"auto",$,J]}],basis:[{basis:[rn,"full","auto",o,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,rn,"auto","initial","none",J]}],grow:[{grow:["",ae,$,J]}],shrink:[{shrink:["",ae,$,J]}],order:[{order:[Nt,"first","last","none",$,J]}],"grid-cols":[{"grid-cols":X()}],"col-start-end":[{col:H()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":X()}],"row-start-end":[{row:H()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":K()}],"auto-rows":[{"auto-rows":K()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:Z()}],mx:[{mx:Z()}],my:[{my:Z()}],ms:[{ms:Z()}],me:[{me:Z()}],mt:[{mt:Z()}],mr:[{mr:Z()}],mb:[{mb:Z()}],ml:[{ml:Z()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[o,"screen",...G()]}],"min-w":[{"min-w":[o,"screen","none",...G()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[i]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,_n,Ut]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,$,Ma]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Oa,J]}],"font-family":[{font:[fp,J,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,$,J]}],"line-clamp":[{"line-clamp":[ae,"none",$,Ma]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",$,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...De(),"wavy"]}],"text-decoration-thickness":[{decoration:[ae,"from-font","auto",$,Ut]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[ae,"auto",$,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$,J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ie()}],"bg-repeat":[{bg:I()}],"bg-size":[{bg:Te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Nt,$,J],radial:["",$,J],conic:[Nt,$,J]},mp,dp]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:we()}],"gradient-via-pos":[{via:we()}],"gradient-to-pos":[{to:we()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...De(),"hidden","none"]}],"divide-style":[{divide:[...De(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...De(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ae,$,J]}],"outline-w":[{outline:["",ae,_n,Ut]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",d,Ir,Sr]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",f,Ir,Sr]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[ae,Ut]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",p,Ir,Sr]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[ae,$,J]}],"mix-blend":[{"mix-blend":[...be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":be()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[$,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":R()}],"mask-image-conic-pos":[{"mask-conic":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ie()}],"mask-repeat":[{mask:I()}],"mask-size":[{mask:Te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$,J]}],filter:[{filter:["","none",$,J]}],blur:[{blur:_e()}],brightness:[{brightness:[ae,$,J]}],contrast:[{contrast:[ae,$,J]}],"drop-shadow":[{"drop-shadow":["","none",h,Ir,Sr]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",ae,$,J]}],"hue-rotate":[{"hue-rotate":[ae,$,J]}],invert:[{invert:["",ae,$,J]}],saturate:[{saturate:[ae,$,J]}],sepia:[{sepia:["",ae,$,J]}],"backdrop-filter":[{"backdrop-filter":["","none",$,J]}],"backdrop-blur":[{"backdrop-blur":_e()}],"backdrop-brightness":[{"backdrop-brightness":[ae,$,J]}],"backdrop-contrast":[{"backdrop-contrast":[ae,$,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,$,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,$,J]}],"backdrop-invert":[{"backdrop-invert":["",ae,$,J]}],"backdrop-opacity":[{"backdrop-opacity":[ae,$,J]}],"backdrop-saturate":[{"backdrop-saturate":[ae,$,J]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,$,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",$,J]}],ease:[{ease:["linear","initial",b,$,J]}],delay:[{delay:[ae,$,J]}],animate:[{animate:["none",S,$,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,$,J]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:je()}],"rotate-x":[{"rotate-x":je()}],"rotate-y":[{"rotate-y":je()}],"rotate-z":[{"rotate-z":je()}],scale:[{scale:Ve()}],"scale-x":[{"scale-x":Ve()}],"scale-y":[{"scale-y":Ve()}],"scale-z":[{"scale-z":Ve()}],"scale-3d":["scale-3d"],skew:[{skew:it()}],"skew-x":[{"skew-x":it()}],"skew-y":[{"skew-y":it()}],transform:[{transform:[$,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:It()}],"translate-x":[{"translate-x":It()}],"translate-y":[{"translate-y":It()}],"translate-z":[{"translate-z":It()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$,J]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$,J]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[ae,_n,Ut,Ma]}],stroke:[{stroke:["none",...F()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},bp=G0(Ep);function ve(...e){return bp(ft(e))}const Kl=x0,Ap=y0,Wl=x.forwardRef(({className:e,...t},n)=>m.jsx(Ll,{ref:n,className:ve("fixed inset-0 z-10000 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,onClick:r=>r.stopPropagation()}));Wl.displayName=Ll.displayName;const Hs=x.forwardRef(({className:e,children:t,...n},r)=>m.jsxs(Ap,{container:document.querySelector(".root-app"),children:[m.jsx(Wl,{}),m.jsxs(Rl,{ref:r,className:ve("z-10001 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] w-full max-w-[calc(100%-2rem)] max-h-[80vh] translate-x-[-50%] translate-y-[-50%] duration-200 overflow-y-auto",e),...n,children:[t,m.jsxs(C0,{className:"absolute right-4 top-4 cursor-pointer rounded-full bg-gray-200 transition-background hover:bg-gray-300 disabled:pointer-events-none duration-200 p-2",children:[m.jsx(Us,{className:"h-8 w-8"}),m.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Hs.displayName=Rl.displayName;const js=({className:e,...t})=>m.jsx("div",{className:ve("flex flex-col space-y-1.5 text-left",e),...t});js.displayName="DialogHeader";const Vs=x.forwardRef(({className:e,...t},n)=>m.jsx(kl,{ref:n,className:ve("text-3xl font-semibold leading-none tracking-tight",e),...t}));Vs.displayName=kl.displayName;const Tp=x.forwardRef(({className:e,...t},n)=>m.jsx(wl,{ref:n,className:ve("text-muted-foreground",e),...t}));Tp.displayName=wl.displayName;const zs=({item:e})=>{const[t,n]=D.useState(""),[r,a]=D.useState(!1),s=Vt.getImage(e),i=Vt.getValueLabel(e);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"group relative w-full h-full! aspect-video overflow-hidden shadow-sm group cursor-pointer rounded-sm",children:s&&m.jsx("img",{src:s,alt:i,className:"w-full h-full! object-cover",loading:"lazy"})}),m.jsx(Kl,{open:!!r,onOpenChange:()=>{a(!1)},children:m.jsxs(Hs,{className:"sm:max-w-5xl",onClick:o=>o.stopPropagation(),children:[m.jsx(js,{children:m.jsx(Vs,{className:"sr-only",children:"Image Zoom"})}),m.jsx("img",{src:t,alt:"Zoomed",className:"w-full h-auto"}),m.jsxs("span",{className:"text-white mt-2 block",children:[(e?.metadata?.Finish||e?.metadata?.Material)&&`${e.metadata?.Finish||e.metadata?.Material} | `,i]})]})})]})},cr=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M11 1L1 11M1 1L11 11",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Ys=({item:e})=>{const[t,n]=D.useState(null),[r,a]=D.useState(!1),s="#f2f1f1",i=Vt.getHexColor(e);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"group relative w-full h-full! aspect-video overflow-hidden shadow-sm group cursor-pointer rounded-sm",style:{backgroundColor:i||s}}),m.jsx(Kl,{open:!!r,onOpenChange:()=>{a(!1)},children:m.jsxs(Hs,{className:"sm:max-w-5xl",onClick:o=>o.stopPropagation(),children:[m.jsx(js,{children:m.jsx(Vs,{className:"sr-only",children:"Hex Color"})}),m.jsx("div",{className:"w-full aspect-video rounded",style:{backgroundColor:t||"transparent"}}),i&&m.jsxs("span",{className:"text-white mt-2 block",children:[" ",(e?.metadata?.Material||e?.metadata?.Material)&&`${e.metadata?.Material} | `,Vt.getAttributeLabel(e)]})]})})]})},xp="w-[64px] h-[64px] bg-[var(--sidebar-b)] border border-solid border-[var(--border)] rounded-sm aspect-square overflow-hidden transition",yp=({val:e,className:t,isShowDeleteIcon:n=!1,handleSelect:r})=>m.jsxs("button",{onClick:()=>{r&&r(e)},className:`relative ${t||xp}`,"aria-label":`Selected swatch ${e.name??e.assetId}`,title:"Click to remove",children:[Vt.getImage(e)?m.jsx(zs,{item:e}):m.jsx(Ys,{item:e}),n?m.jsx("div",{className:`absolute top-0 right-0 m-2 w-[16px] h-[16px] flex flex-row justify-center items-center
47
- bg-[var(--background-grey)] rounded-2xl border-none pointer-events-none`,children:m.jsx(cr,{className:"w-[8px] h-2 stroke-[var(--svg-dark)]"})}):null]},e.assetId),Cp=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M2.5 6H9.5",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round"})}),Sp=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M2.5 6H9.5M6 2.5V9.5",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round"})}),Ip=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M5 5.5V8.5M7 5.5V8.5M9.5 3V10C9.5 10.2652 9.39464 10.5196 9.20711 10.7071C9.01957 10.8946 8.76522 11 8.5 11H3.5C3.23478 11 2.98043 10.8946 2.79289 10.7071C2.60536 10.5196 2.5 10.2652 2.5 10V3M1.5 3H10.5M4 3V2C4 1.73478 4.10536 1.48043 4.29289 1.29289C4.48043 1.10536 4.73478 1 5 1H7C7.26522 1 7.51957 1.10536 7.70711 1.29289C7.89464 1.48043 8 1.73478 8 2V3",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round"})}),Np=({value:e,canIncrement:t,onIncrement:n,onDecrement:r,onDelete:a})=>{const s=e<=1;return m.jsxs("div",{className:"flex flex-row items-center gap-[8px] text-sm",children:[s?m.jsx("button",{"aria-label":"Remove item",onClick:a,className:"[&_svg_path]:stroke-[var(--main-accent-color)]",children:m.jsx(Ip,{})}):m.jsx("button",{"aria-label":"Decrease",onClick:r,className:"[&_svg_path]:stroke-[var(--svg-dark)]",children:m.jsx(Cp,{})}),m.jsx("span",{className:"min-w-[16px] text-center select-none",children:e}),m.jsx("button",{"aria-label":"Increase",onClick:n,disabled:!t,className:"[&_svg_path]:stroke-[var(--svg-dark)] disabled:opacity-40",children:m.jsx(Sp,{})})]})},Ql=({item:e,canInc:t,onDelete:n,onIncrement:r,onDecrement:a})=>m.jsx("li",{className:`
46
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return y.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Tm="DialogDescriptionWarning",xm=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Nl(Tm).contentName}}.`;return y.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},ym=hl,_m=gl,Il=bl,vl=El,wl=xl,kl=_l,Cm=Al;const Am=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Sm=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),$i=e=>{const t=Sm(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ol=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();var Nm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Im=D.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:i,...o},l)=>D.createElement("svg",{ref:l,...Nm,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ol("lucide",a),...o},[...i.map(([c,d])=>D.createElement(c,d)),...Array.isArray(s)?s:[s]]));const Bs=(e,t)=>{const n=D.forwardRef(({className:r,...a},s)=>D.createElement(Im,{ref:s,iconNode:t,className:Ol(`lucide-${Am($i(e))}`,`lucide-${e}`,r),...a}));return n.displayName=$i(e),n};const vm=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Rl=Bs("check",vm);const wm=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ll=Bs("chevron-down",wm);const km=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Fs=Bs("x",km),Om=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Rm=(e,t)=>({classGroupId:e,validator:t}),Pl=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ur="-",qi=[],Lm="arbitrary..",Pm=e=>{const t=Mm(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Dm(i);const o=i.split(Ur),l=o[0]===""&&o.length>1?1:0;return Dl(o,l,t)},getConflictingClassGroupIds:(i,o)=>{if(o){const l=r[i],c=n[i];return l?c?Om(c,l):l:c||qi}return n[i]||qi}}},Dl=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const a=e[t],s=n.nextPart.get(a);if(s){const c=Dl(e,t+1,s);if(c)return c}const i=n.validators;if(i===null)return;const o=t===0?e.join(Ur):e.slice(t).join(Ur),l=i.length;for(let c=0;c<l;c++){const d=i[c];if(d.validator(o))return d.classGroupId}},Dm=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Lm+r:void 0})(),Mm=e=>{const{theme:t,classGroups:n}=e;return Bm(n,t)},Bm=(e,t)=>{const n=Pl();for(const r in e){const a=e[r];Hs(a,n,r,t)}return n},Hs=(e,t,n,r)=>{const a=e.length;for(let s=0;s<a;s++){const i=e[s];Fm(i,t,n,r)}},Fm=(e,t,n,r)=>{if(typeof e=="string"){Hm(e,t,n);return}if(typeof e=="function"){Um(e,t,n,r);return}jm(e,t,n,r)},Hm=(e,t,n)=>{const r=e===""?t:Ml(t,e);r.classGroupId=n},Um=(e,t,n,r)=>{if(zm(e)){Hs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Rm(n,e))},jm=(e,t,n,r)=>{const a=Object.entries(e),s=a.length;for(let i=0;i<s;i++){const[o,l]=a[i];Hs(l,Ml(t,o),n,r)}},Ml=(e,t)=>{let n=e;const r=t.split(Ur),a=r.length;for(let s=0;s<a;s++){const i=r[s];let o=n.nextPart.get(i);o||(o=Pl(),n.nextPart.set(i,o)),n=o}return n},zm=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Ym=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const a=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return a(s,i),i},set(s,i){s in n?n[s]=i:a(s,i)}}},us="!",Gi=":",Wm=[],Xi=(e,t,n,r,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),Vm=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const s=[];let i=0,o=0,l=0,c;const d=a.length;for(let g=0;g<d;g++){const C=a[g];if(i===0&&o===0){if(C===Gi){s.push(a.slice(l,g)),l=g+1;continue}if(C==="/"){c=g;continue}}C==="["?i++:C==="]"?i--:C==="("?o++:C===")"&&o--}const f=s.length===0?a:a.slice(l);let p=f,h=!1;f.endsWith(us)?(p=f.slice(0,-1),h=!0):f.startsWith(us)&&(p=f.slice(1),h=!0);const x=c&&c>l?c-l:void 0;return Xi(s,h,p,x)};if(t){const a=t+Gi,s=r;r=i=>i.startsWith(a)?s(i.slice(a.length)):Xi(Wm,!1,i,void 0,!0)}if(n){const a=r;r=s=>n({className:s,parseClassName:a})}return r},$m=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let s=0;s<n.length;s++){const i=n[s],o=i[0]==="[",l=t.has(i);o||l?(a.length>0&&(a.sort(),r.push(...a),a=[]),r.push(i)):a.push(i)}return a.length>0&&(a.sort(),r.push(...a)),r}},qm=e=>({cache:Ym(e.cacheSize),parseClassName:Vm(e),sortModifiers:$m(e),...Pm(e)}),Gm=/\s+/,Xm=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:s}=t,i=[],o=e.trim().split(Gm);let l="";for(let c=o.length-1;c>=0;c-=1){const d=o[c],{isExternal:f,modifiers:p,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:g}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let C=!!g,E=r(C?x.substring(0,g):x);if(!E){if(!C){l=d+(l.length>0?" "+l:l);continue}if(E=r(x),!E){l=d+(l.length>0?" "+l:l);continue}C=!1}const A=p.length===0?"":p.length===1?p[0]:s(p).join(":"),I=h?A+us:A,v=I+E;if(i.indexOf(v)>-1)continue;i.push(v);const O=a(E,C);for(let w=0;w<O.length;++w){const L=O[w];i.push(I+L)}l=d+(l.length>0?" "+l:l)}return l},Km=(...e)=>{let t=0,n,r,a="";for(;t<e.length;)(n=e[t++])&&(r=Bl(n))&&(a&&(a+=" "),a+=r);return a},Bl=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Bl(e[r]))&&(n&&(n+=" "),n+=t);return n},Qm=(e,...t)=>{let n,r,a,s;const i=l=>{const c=t.reduce((d,f)=>f(d),e());return n=qm(c),r=n.cache.get,a=n.cache.set,s=o,o(l)},o=l=>{const c=r(l);if(c)return c;const d=Xm(l,n);return a(l,d),d};return s=i,(...l)=>s(Km(...l))},Zm=[],Ce=e=>{const t=n=>n[e]||Zm;return t.isThemeGetter=!0,t},Fl=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jm=/^\d+\/\d+$/,ep=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tp=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,np=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ap=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>Jm.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),Nt=e=>!!e&&Number.isInteger(Number(e)),Ra=e=>e.endsWith("%")&&ae(e.slice(0,-1)),xt=e=>ep.test(e),sp=()=>!0,ip=e=>tp.test(e)&&!np.test(e),Ul=()=>!1,op=e=>rp.test(e),up=e=>ap.test(e),lp=e=>!Z(e)&&!J(e),cp=e=>Cn(e,Yl,Ul),Z=e=>Fl.test(e),Ft=e=>Cn(e,Wl,ip),La=e=>Cn(e,pp,ae),Ki=e=>Cn(e,jl,Ul),dp=e=>Cn(e,zl,up),Ar=e=>Cn(e,Vl,op),J=e=>Hl.test(e),Mn=e=>An(e,Wl),fp=e=>An(e,gp),Qi=e=>An(e,jl),hp=e=>An(e,Yl),mp=e=>An(e,zl),Sr=e=>An(e,Vl,!0),Cn=(e,t,n)=>{const r=Fl.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},An=(e,t,n=!1)=>{const r=Hl.exec(e);return r?r[1]?t(r[1]):n:!1},jl=e=>e==="position"||e==="percentage",zl=e=>e==="image"||e==="url",Yl=e=>e==="length"||e==="size"||e==="bg-size",Wl=e=>e==="length",pp=e=>e==="number",gp=e=>e==="family-name",Vl=e=>e==="shadow",bp=()=>{const e=Ce("color"),t=Ce("font"),n=Ce("text"),r=Ce("font-weight"),a=Ce("tracking"),s=Ce("leading"),i=Ce("breakpoint"),o=Ce("container"),l=Ce("spacing"),c=Ce("radius"),d=Ce("shadow"),f=Ce("inset-shadow"),p=Ce("text-shadow"),h=Ce("drop-shadow"),x=Ce("blur"),g=Ce("perspective"),C=Ce("aspect"),E=Ce("ease"),A=Ce("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...v(),J,Z],w=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto","contain","none"],P=()=>[J,Z,l],q=()=>[rn,"full","auto",...P()],K=()=>[Nt,"none","subgrid",J,Z],U=()=>["auto",{span:["full",Nt,J,Z]},Nt,J,Z],z=()=>[Nt,"auto",J,Z],$=()=>["auto","min","max","fr",J,Z],Y=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",...P()],Q=()=>[rn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],B=()=>[e,J,Z],ie=()=>[...v(),Qi,Ki,{position:[J,Z]}],S=()=>["no-repeat",{repeat:["","x","y","space","round"]}],xe=()=>["auto","cover","contain",hp,cp,{size:[J,Z]}],ke=()=>[Ra,Mn,Ft],N=()=>["","none","full",c,J,Z],fe=()=>["",ae,Mn,Ft],De=()=>["solid","dashed","dotted","double"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[ae,Ra,Qi,Ki],Me=()=>["","none",x,J,Z],je=()=>["none",ae,J,Z],ze=()=>["none",ae,J,Z],it=()=>[ae,J,Z],St=()=>[rn,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xt],breakpoint:[xt],color:[sp],container:[xt],"drop-shadow":[xt],ease:["in","out","in-out"],font:[lp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xt],shadow:[xt],spacing:["px",ae],text:[xt],"text-shadow":[xt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rn,Z,J,C]}],container:["container"],columns:[{columns:[ae,Z,J,o]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{start:q()}],end:[{end:q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[Nt,"auto",J,Z]}],basis:[{basis:[rn,"full","auto",o,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,rn,"auto","initial","none",Z]}],grow:[{grow:["",ae,J,Z]}],shrink:[{shrink:["",ae,J,Z]}],order:[{order:[Nt,"first","last","none",J,Z]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:U()}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:U()}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...Y(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...Y()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":Y()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:X()}],mx:[{mx:X()}],my:[{my:X()}],ms:[{ms:X()}],me:[{me:X()}],mt:[{mt:X()}],mr:[{mr:X()}],mb:[{mb:X()}],ml:[{ml:X()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],w:[{w:[o,"screen",...Q()]}],"min-w":[{"min-w":[o,"screen","none",...Q()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[i]},...Q()]}],h:[{h:["screen","lh",...Q()]}],"min-h":[{"min-h":["screen","lh","none",...Q()]}],"max-h":[{"max-h":["screen","lh",...Q()]}],"font-size":[{text:["base",n,Mn,Ft]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,J,La]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ra,Z]}],"font-family":[{font:[fp,Z,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,J,Z]}],"line-clamp":[{"line-clamp":[ae,"none",J,La]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",J,Z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",J,Z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...De(),"wavy"]}],"text-decoration-thickness":[{decoration:[ae,"from-font","auto",J,Ft]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[ae,"auto",J,Z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J,Z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J,Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ie()}],"bg-repeat":[{bg:S()}],"bg-size":[{bg:xe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Nt,J,Z],radial:["",J,Z],conic:[Nt,J,Z]},mp,dp]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:ke()}],"gradient-via-pos":[{via:ke()}],"gradient-to-pos":[{to:ke()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...De(),"hidden","none"]}],"divide-style":[{divide:[...De(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...De(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ae,J,Z]}],"outline-w":[{outline:["",ae,Mn,Ft]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",d,Sr,Ar]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",f,Sr,Ar]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[ae,Ft]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",p,Sr,Ar]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[ae,J,Z]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ee()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[J,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ie()}],"mask-repeat":[{mask:S()}],"mask-size":[{mask:xe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",J,Z]}],filter:[{filter:["","none",J,Z]}],blur:[{blur:Me()}],brightness:[{brightness:[ae,J,Z]}],contrast:[{contrast:[ae,J,Z]}],"drop-shadow":[{"drop-shadow":["","none",h,Sr,Ar]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",ae,J,Z]}],"hue-rotate":[{"hue-rotate":[ae,J,Z]}],invert:[{invert:["",ae,J,Z]}],saturate:[{saturate:[ae,J,Z]}],sepia:[{sepia:["",ae,J,Z]}],"backdrop-filter":[{"backdrop-filter":["","none",J,Z]}],"backdrop-blur":[{"backdrop-blur":Me()}],"backdrop-brightness":[{"backdrop-brightness":[ae,J,Z]}],"backdrop-contrast":[{"backdrop-contrast":[ae,J,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,J,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,J,Z]}],"backdrop-invert":[{"backdrop-invert":["",ae,J,Z]}],"backdrop-opacity":[{"backdrop-opacity":[ae,J,Z]}],"backdrop-saturate":[{"backdrop-saturate":[ae,J,Z]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,J,Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",J,Z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",J,Z]}],ease:[{ease:["linear","initial",E,J,Z]}],delay:[{delay:[ae,J,Z]}],animate:[{animate:["none",A,J,Z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,J,Z]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:je()}],"rotate-x":[{"rotate-x":je()}],"rotate-y":[{"rotate-y":je()}],"rotate-z":[{"rotate-z":je()}],scale:[{scale:ze()}],"scale-x":[{"scale-x":ze()}],"scale-y":[{"scale-y":ze()}],"scale-z":[{"scale-z":ze()}],"scale-3d":["scale-3d"],skew:[{skew:it()}],"skew-x":[{"skew-x":it()}],"skew-y":[{"skew-y":it()}],transform:[{transform:[J,Z,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:St()}],"translate-x":[{"translate-x":St()}],"translate-y":[{"translate-y":St()}],"translate-z":[{"translate-z":St()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J,Z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J,Z]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[ae,Mn,Ft,La]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ep=Qm(bp);function Oe(...e){return Ep(ft(e))}const $l=ym,Tp=_m,ql=y.forwardRef(({className:e,...t},n)=>m.jsx(Il,{ref:n,className:Oe("fixed inset-0 z-10000 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,onClick:r=>r.stopPropagation()}));ql.displayName=Il.displayName;const Us=y.forwardRef(({className:e,children:t,...n},r)=>m.jsxs(Tp,{container:document.querySelector(".root-app"),children:[m.jsx(ql,{}),m.jsxs(vl,{ref:r,className:Oe("z-10001 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] w-full max-w-[calc(100%-2rem)] max-h-[80vh] translate-x-[-50%] translate-y-[-50%] duration-200 overflow-y-auto",e),...n,children:[t,m.jsxs(Cm,{className:"absolute right-4 top-4 cursor-pointer rounded-full bg-gray-200 transition-background hover:bg-gray-300 disabled:pointer-events-none duration-200 p-2",children:[m.jsx(Fs,{className:"h-8 w-8"}),m.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Us.displayName=vl.displayName;const js=({className:e,...t})=>m.jsx("div",{className:Oe("flex flex-col space-y-1.5 text-left",e),...t});js.displayName="DialogHeader";const zs=y.forwardRef(({className:e,...t},n)=>m.jsx(wl,{ref:n,className:Oe("text-3xl font-semibold leading-none tracking-tight",e),...t}));zs.displayName=wl.displayName;const xp=y.forwardRef(({className:e,...t},n)=>m.jsx(kl,{ref:n,className:Oe("text-muted-foreground",e),...t}));xp.displayName=kl.displayName;const Ys=({item:e})=>{const[t,n]=D.useState(""),[r,a]=D.useState(!1),s=zt.getImage(e),i=zt.getValueLabel(e);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"group relative w-full h-full! aspect-video overflow-hidden shadow-sm group cursor-pointer rounded-sm",children:s&&m.jsx("img",{src:s,alt:i,className:"w-full h-full! object-cover",loading:"lazy"})}),m.jsx($l,{open:!!r,onOpenChange:()=>{a(!1)},children:m.jsxs(Us,{className:"sm:max-w-5xl",onClick:o=>o.stopPropagation(),children:[m.jsx(js,{children:m.jsx(zs,{className:"sr-only",children:"Image Zoom"})}),m.jsx("img",{src:t,alt:"Zoomed",className:"w-full h-auto"}),m.jsxs("span",{className:"text-white mt-2 block",children:[(e?.metadata?.Finish||e?.metadata?.Material)&&`${e.metadata?.Finish||e.metadata?.Material} | `,i]})]})})]})},cr=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M11 1L1 11M1 1L11 11",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Ws=({item:e})=>{const[t,n]=D.useState(null),[r,a]=D.useState(!1),s="#f2f1f1",i=zt.getHexColor(e);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"group relative w-full h-full! aspect-video overflow-hidden shadow-sm group cursor-pointer rounded-sm",style:{backgroundColor:i||s}}),m.jsx($l,{open:!!r,onOpenChange:()=>{a(!1)},children:m.jsxs(Us,{className:"sm:max-w-5xl",onClick:o=>o.stopPropagation(),children:[m.jsx(js,{children:m.jsx(zs,{className:"sr-only",children:"Hex Color"})}),m.jsx("div",{className:"w-full aspect-video rounded",style:{backgroundColor:t||"transparent"}}),i&&m.jsxs("span",{className:"text-white mt-2 block",children:[" ",(e?.metadata?.Material||e?.metadata?.Material)&&`${e.metadata?.Material} | `,zt.getAttributeLabel(e)]})]})})]})},yp="w-[64px] h-[64px] bg-[var(--sidebar-b)] border border-solid border-[var(--border)] rounded-sm aspect-square overflow-hidden transition",_p=({val:e,className:t,isShowDeleteIcon:n=!1,handleSelect:r})=>m.jsxs("button",{onClick:()=>{r&&r(e)},className:`relative ${t||yp}`,"aria-label":`Selected swatch ${e.name??e.assetId}`,title:"Click to remove",children:[zt.getImage(e)?m.jsx(Ys,{item:e}):m.jsx(Ws,{item:e}),n?m.jsx("div",{className:`absolute top-0 right-0 m-2 w-[16px] h-[16px] flex flex-row justify-center items-center
47
+ bg-[var(--background-grey)] rounded-2xl border-none pointer-events-none`,children:m.jsx(cr,{className:"w-[8px] h-2 stroke-[var(--svg-dark)]"})}):null]},e.assetId),Cp=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M2.5 6H9.5",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round"})}),Ap=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M2.5 6H9.5M6 2.5V9.5",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round"})}),Sp=e=>m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M5 5.5V8.5M7 5.5V8.5M9.5 3V10C9.5 10.2652 9.39464 10.5196 9.20711 10.7071C9.01957 10.8946 8.76522 11 8.5 11H3.5C3.23478 11 2.98043 10.8946 2.79289 10.7071C2.60536 10.5196 2.5 10.2652 2.5 10V3M1.5 3H10.5M4 3V2C4 1.73478 4.10536 1.48043 4.29289 1.29289C4.48043 1.10536 4.73478 1 5 1H7C7.26522 1 7.51957 1.10536 7.70711 1.29289C7.89464 1.48043 8 1.73478 8 2V3",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round"})}),Np=({value:e,canIncrement:t,onIncrement:n,onDecrement:r,onDelete:a})=>{const s=e<=1;return m.jsxs("div",{className:"flex flex-row items-center gap-[8px] text-sm",children:[s?m.jsx("button",{"aria-label":"Remove item",onClick:a,className:"[&_svg_path]:stroke-[var(--main-accent-color)]",children:m.jsx(Sp,{})}):m.jsx("button",{"aria-label":"Decrease",onClick:r,className:"[&_svg_path]:stroke-[var(--svg-dark)]",children:m.jsx(Cp,{})}),m.jsx("span",{className:"min-w-[16px] text-center select-none",children:e}),m.jsx("button",{"aria-label":"Increase",onClick:n,disabled:!t,className:"[&_svg_path]:stroke-[var(--svg-dark)] disabled:opacity-40",children:m.jsx(Ap,{})})]})},Gl=({item:e,canInc:t,onDelete:n,onIncrement:r,onDecrement:a})=>m.jsx("li",{className:`
48
48
  border-b border-[var(--border)]
49
49
  px-[var(--sm-padding)] p-[var(--sm-padding)]
50
- last:border-b-0`,children:m.jsxs("div",{className:"relative flex flex-row gap-[16px]",children:[m.jsx("div",{children:m.jsx(yp,{val:e})}),m.jsxs("div",{className:"flex flex-col justify-between",children:[m.jsxs("div",{className:"flex flex-col",children:[m.jsx("span",{className:"mb-[4px] font-semibold text-xs",children:e.metadata?.label}),m.jsx("span",{className:"mb-[4px] font-bold text-[1rem]",children:e.parentName})]}),m.jsx(Np,{value:e.count,canIncrement:t,onIncrement:r,onDecrement:a,onDelete:n})]}),m.jsxs("div",{className:" absolute text-xs top-0 right-0 font-bold",children:["$",e.count*Zu]})]})},e.assetId),qs=e=>m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M9.99984 15.8333L4.1665 9.99996M4.1665 9.99996L9.99984 4.16663M4.1665 9.99996H15.8332",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Lp=({totalCount:e})=>{const t=Ne(),n=()=>{t(Vu(!1))};return m.jsx("header",{className:"flex flex-row p-[var(--sm-padding)] justify-between items-center border-b border-solid border-[var(--border)]",children:m.jsxs("div",{className:"flex items-center flex-row gap-[4px]",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("button",{className:"[&_svg_path]:stroke-[var(--main-accent-color)] cursor-pointer",onClick:n,children:m.jsx(qs,{})}),m.jsx("h2",{className:"m-0! text-base leading-[1.6] font-medium ",children:"Your cart"})]}),e>=Me?m.jsxs(m.Fragment,{children:[m.jsxs("span",{className:"text-[var(--main-accent-color)] hidden text-xs sm:block",children:["(",Me,") You reached maximum amount of swatches"]}),m.jsxs("span",{className:"text-[var(--main-accent-color)] block sm:hidden",children:["(",Me,") Max"]})]}):null]})})};function oa(e){return D.useMemo(()=>e.reduce((t,n)=>t+(n.count??0),0),[e])}const Rp=({onSendData:e})=>{const t=Ne(),n=oe(xn),r=oe(Kt),a=D.useMemo(()=>n.flatMap(c=>c.items),[n]),s=({item:c,assetId:d})=>{const{parentName:f,metadata:p}=c,h=p?.label;d&&h&&f&&(t(Oh({assetId:d,label:h,parentName:f})),t(ta({selectedMaterial:c,materialCount:1,selectedMaterials:r})))},i=({item:c,assetId:d})=>{const{parentName:f,metadata:p}=c,h=p?.label;d&&h&&f&&t(wh({assetId:d,label:h,parentName:f}))},o=({item:c,assetId:d})=>{const{parentName:f,metadata:p}=c,h=p?.label;d&&h&&f&&t(vh({assetId:d,label:h,parentName:f}))},l=oa(a);return m.jsxs("div",{className:"flex flex-col h-full",children:[m.jsx(Lp,{totalCount:l}),m.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[m.jsx("ul",{className:"flex flex-col flex-1 min-h-0 overflow-y-auto",children:n.map(c=>{const{items:d,name:f,assetId:p}=c;return d.length?m.jsxs(m.Fragment,{children:[m.jsx("div",{className:` p-[var(--sm-padding)] border-y border-[var(--border)]
51
- sm:px-[var(--sm-padding)] text-sm font-medium`,children:f},c.value),m.jsx("ul",{children:d?.map(h=>m.jsx(Ql,{item:h,canInc:l<Me,onDelete:()=>{p&&s({item:h,assetId:p})},onIncrement:()=>{p&&i({item:h,assetId:p})},onDecrement:()=>{p&&o({item:h,assetId:p})}},`${h.value}/${h.parentName}`))})]}):null})}),m.jsxs("div",{className:`flex flex-col
50
+ last:border-b-0`,children:m.jsxs("div",{className:"relative flex flex-row gap-[16px]",children:[m.jsx("div",{children:m.jsx(_p,{val:e})}),m.jsxs("div",{className:"flex flex-col justify-between",children:[m.jsxs("div",{className:"flex flex-col",children:[m.jsx("span",{className:"mb-[4px] font-semibold text-xs",children:e.metadata?.label}),m.jsx("span",{className:"mb-[4px] font-bold text-[1rem]",children:e.parentName})]}),m.jsx(Np,{value:e.count,canIncrement:t,onIncrement:r,onDecrement:a,onDelete:n})]}),m.jsxs("div",{className:" absolute text-xs top-0 right-0 font-bold",children:["$",e.count*Xu]})]})},e.assetId),Vs=e=>m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M9.99984 15.8333L4.1665 9.99996M4.1665 9.99996L9.99984 4.16663M4.1665 9.99996H15.8332",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Ip=({totalCount:e})=>{const t=Ne(),n=()=>{t(zu(!1))};return m.jsx("header",{className:"flex flex-row p-[var(--sm-padding)] justify-between items-center border-b border-solid border-[var(--border)]",children:m.jsxs("div",{className:"flex items-center flex-row gap-[4px]",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("button",{className:"[&_svg_path]:stroke-[var(--main-accent-color)] cursor-pointer",onClick:n,children:m.jsx(Vs,{})}),m.jsx("h2",{className:"m-0! text-base leading-[1.6] font-medium ",children:"Your cart"})]}),e>=Le?m.jsxs(m.Fragment,{children:[m.jsxs("span",{className:"text-[var(--main-accent-color)] hidden text-xs sm:block",children:["(",Le,") You reached maximum amount of swatches"]}),m.jsxs("span",{className:"text-[var(--main-accent-color)] block sm:hidden",children:["(",Le,") Max"]})]}):null]})})};function oa(e){return D.useMemo(()=>e.reduce((t,n)=>t+(n.count??0),0),[e])}const vp=({onSendData:e})=>{const t=Ne(),n=oe(yn),r=oe($t),a=D.useMemo(()=>n.flatMap(c=>c.items),[n]),s=({item:c,assetId:d})=>{const{parentName:f,metadata:p}=c,h=p?.label;d&&h&&f&&(t(Rh({assetId:d,label:h,parentName:f})),t(ta({selectedMaterial:c,materialCount:1,selectedMaterials:r})))},i=({item:c,assetId:d})=>{const{parentName:f,metadata:p}=c,h=p?.label;d&&h&&f&&t(kh({assetId:d,label:h,parentName:f}))},o=({item:c,assetId:d})=>{const{parentName:f,metadata:p}=c,h=p?.label;d&&h&&f&&t(Oh({assetId:d,label:h,parentName:f}))},l=oa(a);return m.jsxs("div",{className:"flex flex-col h-full",children:[m.jsx(Ip,{totalCount:l}),m.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[m.jsx("ul",{className:"flex flex-col flex-1 min-h-0 overflow-y-auto",children:n.map(c=>{const{items:d,name:f,assetId:p}=c;return d.length?m.jsxs(m.Fragment,{children:[m.jsx("div",{className:` p-[var(--sm-padding)] border-y border-[var(--border)]
51
+ sm:px-[var(--sm-padding)] text-sm font-medium`,children:f},c.assetId),m.jsx("ul",{children:d?.map(h=>m.jsx(Gl,{item:h,canInc:l<Le,onDelete:()=>{p&&s({item:h,assetId:p})},onIncrement:()=>{p&&i({item:h,assetId:p})},onDecrement:()=>{p&&o({item:h,assetId:p})}},`${h.value}/${h.parentName}`))})]}):null})}),m.jsxs("div",{className:`flex flex-col
52
52
  sm:flex-row sm:w-full sm:justify-between sm:items-center
53
53
  sm:border-t sm:border-[var(--border)] shadow-[0_-2px_10px_rgba(40,40,40,0.10)]
54
- `,children:[m.jsx("div",{className:"sm:w-[50%] sm:border-r sm:border-solid sm:border-[var(--border)]",children:m.jsx(Xu,{materials:a,containerStyles:"flex flex-col gap-[8px] text-xs/snug p-[var(--sm-padding)] border-t border-solid border-[var(--border)] sm:gap-[12px] sm:border-none s"})}),m.jsx("div",{className:"p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0 sm:w-[50%] sm:border-none sm:flex flex-row sm:justify-end sm:items-end sm:h-full",children:m.jsx("div",{className:"sm:w-[50%] text-sm",children:m.jsx(Gu,{onClick:()=>e&&e(n),disabled:a.length>Me+1,children:"GO TO SHIPPING"})})})]})]})]})},kp=e=>m.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[m.jsx("path",{d:"M17.5 17.5L13.8833 13.8834",stroke:"current",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.jsx("path",{d:"M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ji={MATERIAL:"material"},wp="UIGrouping";class ls{static getTransformedData({dataType:t,data:n}){switch(t){case tt.UI:return this.getMapUIData(n);case tt.FETCH_DATA_PRODUCT:return this.getTransformedFetchProductData(n);default:throw new Error("Unsupported format")}}static getGroupingValue(t){if(t)return t.find(n=>n.name===wp)}static getAllMaterialValuesKeys(t){if(t)return t.flatMap(n=>n.groups.flatMap(r=>r.options.filter(a=>a.typeComponent===Ji.MATERIAL)).map(r=>r.optionName))}static getAllMaterialOptions(t){const n=JSON.parse(this.getGroupingValue(t).value);if(n){const r=this.getAllMaterialValuesKeys(n);if(r?.length){const a=t.filter(s=>r.includes(s.name));if(a?.length){const s=Ur.getMaterialsValuesFromOptions(a);if(s?.length)return{allMaterialValues:s,productElementOptions:a}}}}}static getMapUIData(t){return this.getAllMaterialOptions(t)}static getTransformedFetchProductData(t){const{materials:n=[],structure:r=[]}=t,a=new Map;for(const d of r)for(const f of d.groups??[])for(const p of f.options??[])p?.typeComponent===Ji.MATERIAL&&p?.optionName&&a.set(p.optionName,f.groupName);const i=n.filter(d=>d.optionName&&a.has(d.optionName)).map(d=>({...d,groupName:d.optionName?a.get(d.optionName):void 0})),o=i.flatMap(d=>{const{label:f,groupName:p}=d,h=(f.toLocaleLowerCase()==="color"?p:f)||"without_name";return(d.valuesArray??[]).map(T=>({...T,parentName:h}))}),l=new Set,c=i.map(({label:d,groupName:f,valuesArray:p})=>{const h=d?.toLowerCase()==="color"?f??d:d;return{id:h,value:h,label:h,valuesArray:p}}).filter(d=>d.label&&(l.has(d.label)?!1:(l.add(d.label),!0))).sort((d,f)=>d.label.localeCompare(f.label));return{allMaterialValues:o,productElementOptions:c}}}const vp=({productListItem:e})=>{const t=Ne(),{name:n,img:r}=e,a=r?`https://admin-fts.threekit.com${r}`:"https://clownfish-app-cvxrz.ondigitalocean.app/assets/product_thumb-Bn1S8z9K.png",s=async()=>{const{assetId:i,name:o}=e;if(i&&o){const l=await t(qn({assetId:i})).unwrap();if(l){t(xh(e));const c=ls.getTransformedData({dataType:tt.FETCH_DATA_PRODUCT,data:l});t(rs(c))}}};return m.jsxs("li",{className:"min-w-0 cursor-pointer text-xs",tabIndex:0,onClick:s,children:[m.jsx("div",{className:"mb-[12px] w-full aspect-square relative overflow-hidden rounded-sm",children:m.jsx("img",{src:a,alt:"product-list-item",className:"absolute inset-0 w-full h-full! object-cover"})}),n]})},Zl={name:"All",value:"",productId:0,items:[]};class Op{static getCartTotalCount({cartItems:t}){return t.reduce((n,r)=>n+r.count,0)}static getUniqueCategories(t){const n=["All","Vanities","Storage & Shelving","Countertops","Basins","Vessels","Pedestals & Consoles","Tubs","Mirrors","Toilets","Bathroom Accessories"],a=Array.from(new Set(t.map(o=>o.collection).filter(Boolean))).map(o=>({name:o,value:o,productId:0,items:[]}));return[Zl,...a].sort((o,l)=>{const c=n.indexOf(o.name),d=n.indexOf(l.name),f=c===-1?Number.MAX_SAFE_INTEGER:c,p=d===-1?Number.MAX_SAFE_INTEGER:d;return f!==p?f-p:o.name.localeCompare(l.name)}).map((o,l)=>({...o,productId:l}))}static getCartPreparedOption(t,n){if(!t?.length)return[];const r=n.flatMap(a=>a.items||[]);return t.map(a=>{const s=r.find(i=>i.parentName===a.parentName&&i.metadata?.label===a.metadata?.label);return{...a,count:s?s.count:1}})}}const Mp=({text:e,isActive:t=!1,onClick:n})=>{const r=()=>{n&&n()},a=s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),r())};return m.jsx("div",{role:"button",tabIndex:0,onClick:r,onKeyDown:a,className:`
54
+ `,children:[m.jsx("div",{className:"sm:w-[50%] sm:border-r sm:border-solid sm:border-[var(--border)]",children:m.jsx(Ku,{materials:a,containerStyles:"flex flex-col gap-[8px] text-xs/snug p-[var(--sm-padding)] border-t border-solid border-[var(--border)] sm:gap-[12px] sm:border-none s"})}),m.jsx("div",{className:"p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0 sm:w-[50%] sm:border-none sm:flex flex-row sm:justify-end sm:items-end sm:h-full",children:m.jsx("div",{className:"sm:w-[50%] text-sm",children:m.jsx(Qu,{onClick:()=>e&&e(n),disabled:a.length>Le+1,children:"GO TO SHIPPING"})})})]})]})]})},wp=e=>m.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[m.jsx("path",{d:"M17.5 17.5L13.8833 13.8834",stroke:"current",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.jsx("path",{d:"M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Zi={MATERIAL:"material"},kp="UIGrouping";class ls{static getTransformedData({dataType:t,data:n}){switch(t){case tt.UI:return this.getMapUIData(n);case tt.FETCH_DATA_PRODUCT:return this.getTransformedFetchProductData(n);default:throw new Error("Unsupported format")}}static getGroupingValue(t){if(t)return t.find(n=>n.name===kp)}static getAllMaterialValuesKeys(t){if(t)return t.flatMap(n=>n.groups.flatMap(r=>r.options.filter(a=>a.typeComponent===Zi.MATERIAL)).map(r=>r.optionName))}static getAllMaterialOptions(t){const n=JSON.parse(this.getGroupingValue(t).value);if(n){const r=this.getAllMaterialValuesKeys(n);if(r?.length){const a=t.filter(s=>r.includes(s.name));if(a?.length){const s=Fr.getMaterialsValuesFromOptions(a);if(s?.length)return{allMaterialValues:s,productElementOptions:a}}}}}static getMapUIData(t){return this.getAllMaterialOptions(t)}static getTransformedFetchProductData(t){const{materials:n=[],structure:r=[]}=t,a=new Map;for(const d of r)for(const f of d.groups??[])for(const p of f.options??[])p?.typeComponent===Zi.MATERIAL&&p?.optionName&&a.set(p.optionName,f.groupName);const i=n.filter(d=>d.optionName&&a.has(d.optionName)).map(d=>({...d,groupName:d.optionName?a.get(d.optionName):void 0})),o=i.flatMap(d=>{const{label:f,groupName:p}=d,h=(f.toLocaleLowerCase()==="color"?p:f)||"without_name";return(d.valuesArray??[]).map(x=>({...x,parentName:h}))}),l=new Set,c=i.map(({label:d,groupName:f,valuesArray:p})=>{const h=d?.toLowerCase()==="color"?f??d:d;return{id:h,value:h,label:h,valuesArray:p}}).filter(d=>d.label&&(l.has(d.label)?!1:(l.add(d.label),!0))).sort((d,f)=>d.label.localeCompare(f.label));return{allMaterialValues:o,productElementOptions:c}}}const Op=({productListItem:e})=>{const t=Ne(),{name:n,img:r}=e,a=r?`https://admin-fts.threekit.com${r}`:"https://clownfish-app-cvxrz.ondigitalocean.app/assets/product_thumb-Bn1S8z9K.png",s=async()=>{const{assetId:i,name:o}=e;if(i&&o){const l=await t(Vn({assetId:i})).unwrap();if(l){t(yh(e));const c=ls.getTransformedData({dataType:tt.FETCH_DATA_PRODUCT,data:l});t(rs(c))}}};return m.jsxs("li",{className:"min-w-0 cursor-pointer text-xs",tabIndex:0,onClick:s,children:[m.jsx("div",{className:"mb-[12px] w-full aspect-square relative overflow-hidden rounded-sm",children:m.jsx("img",{src:a||"https://hastings-questionnaie-storage.fra1.digitaloceanspaces.com/static/Image%20(8)%20(1).png",alt:"product-list-item",className:"absolute inset-0 w-full h-full! object-cover"})}),n]})},Xl={name:"All",value:"",productId:0,items:[]};class Rp{static getCartTotalCount({cartItems:t}){return t.reduce((n,r)=>n+r.count,0)}static getUniqueCategories(t){const n=["All","Vanities","Storage & Shelving","Countertops","Basins","Vessels","Pedestals & Consoles","Tubs","Mirrors","Toilets","Bathroom Accessories"],a=Array.from(new Set(t.map(o=>o.collection).filter(Boolean))).map(o=>({name:o,value:o,productId:0,items:[]}));return[Xl,...a].sort((o,l)=>{const c=n.indexOf(o.name),d=n.indexOf(l.name),f=c===-1?Number.MAX_SAFE_INTEGER:c,p=d===-1?Number.MAX_SAFE_INTEGER:d;return f!==p?f-p:o.name.localeCompare(l.name)}).map((o,l)=>({...o,productId:l}))}static getCartPreparedOption(t,n){if(!t?.length)return[];const r=n.flatMap(a=>a.items||[]);return t.map(a=>{const s=r.find(i=>i.parentName===a.parentName&&i.metadata?.label===a.metadata?.label);return{...a,count:s?s.count:1}})}}const Lp=({text:e,isActive:t=!1,onClick:n})=>{const r=()=>{n&&n()},a=s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),r())};return m.jsx("div",{role:"button",tabIndex:0,onClick:r,onKeyDown:a,className:`
55
55
  flex flex-row justify-center items-center max-w-max px-4 py-2 capitalize rounded-full
56
56
  font-medium text-sm cursor-pointer transition-all duration-[400ms] ease-in-out
57
57
  outline-none focus:ring-2 focus:ring-[var(--main-accent-color)] focus:ring-offset-2
58
58
  ${t?"bg-[var(--main-accent-color)] text-white hover:brightness-90":"bg-[var(--label-bg)] hover:brightness-95"}
59
- `,children:e})},$i=e=>m.jsx("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:m.jsx("path",{d:"M5.75 0.75L0.75 5.75L5.75 10.75",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),eo=({items:e,activeId:t,onSelect:n,className:r="",stepRatio:a=.8})=>{const s=D.useRef(null),i=D.useRef(null),o=D.useRef(null),[l,c]=D.useState(!1),[d,f]=D.useState(!1),p=D.useCallback(()=>{const T=s.current;if(!T)return;const g=T.scrollWidth-T.clientWidth-T.scrollLeft,C=.5;c(T.scrollLeft>C),f(g>C)},[]);D.useLayoutEffect(()=>(o.current=requestAnimationFrame(p),()=>{o.current&&cancelAnimationFrame(o.current)}),[e.length,p]),D.useEffect(()=>{const T=s.current,g=i.current;if(!T||!g)return;p();const C=new ResizeObserver(()=>p()),b=new ResizeObserver(()=>p());C.observe(T),b.observe(g);const S=()=>p();return T.addEventListener("scroll",S,{passive:!0}),"fonts"in document&&document.fonts?.ready?.then(()=>p()),()=>{C.disconnect(),b.disconnect(),T.removeEventListener("scroll",S)}},[p]);const h=T=>{const g=s.current;if(!g)return;const C=g.clientWidth*a*(T==="left"?-1:1);g.scrollBy({left:C,behavior:"smooth"})};return m.jsxs("div",{className:`flex flex-row items-center gap-[8px] lg:w-[50%] xl:max-w-[68%] xl:w-full ${r}`,role:"region","aria-label":"Category slider",children:[m.jsxs("button",{type:"button","aria-label":"Scroll left",disabled:!l,onClick:()=>h("left"),className:`flex-shrink-0 h-8 w-8 rounded-full flex flex-row items-center justify-center shadow
60
- ${l?"bg-black text-white hover:brightness-110":"bg-gray-200 text-gray-500 opacity-60 cursor-not-allowed"}`,children:[m.jsx($i,{className:"w-[16px] h-4 rotate-360"})," "]}),m.jsx("div",{ref:s,className:"no-scrollbar flex-1 overflow-hidden scroll-smooth",style:{WebkitOverflowScrolling:"touch"},children:m.jsx("div",{ref:i,className:"flex flex-row gap-[12px] sm:gap-[16px] py-2 px-3",children:e.map(T=>{const g=T.productId,C=t===g;return m.jsx("div",{className:"shrink-0",children:m.jsx(Mp,{text:T.name,isActive:C,onClick:()=>n(T)})},g)})})}),m.jsxs("button",{type:"button","aria-label":"Scroll right",disabled:!d,onClick:()=>h("right"),className:`flex-shrink-0 h-8 w-8 rounded-full flex flex-row items-center justify-center shadow
61
- ${d?"bg-black text-white hover:brightness-110":"bg-gray-200 text-gray-400 opacity-60 cursor-not-allowed"}`,children:[m.jsx($i,{className:"w-[16px] h-4 rotate-180"})," "]})]})},Pp=["top","right","bottom","left"],Pt=Math.min,Ke=Math.max,jr=Math.round,Nr=Math.floor,ht=e=>({x:e,y:e}),Dp={left:"right",right:"left",bottom:"top",top:"bottom"},_p={start:"end",end:"start"};function cs(e,t,n){return Ke(e,Pt(t,n))}function Ct(e,t){return typeof e=="function"?e(t):e}function St(e){return e.split("-")[0]}function In(e){return e.split("-")[1]}function Ks(e){return e==="x"?"y":"x"}function Ws(e){return e==="y"?"height":"width"}const Fp=new Set(["top","bottom"]);function dt(e){return Fp.has(St(e))?"y":"x"}function Qs(e){return Ks(dt(e))}function Up(e,t,n){n===void 0&&(n=!1);const r=In(e),a=Qs(e),s=Ws(a);let i=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Vr(i)),[i,Vr(i)]}function Bp(e){const t=Vr(e);return[ds(e),t,ds(t)]}function ds(e){return e.replace(/start|end/g,t=>_p[t])}const to=["left","right"],no=["right","left"],Hp=["top","bottom"],jp=["bottom","top"];function Vp(e,t,n){switch(e){case"top":case"bottom":return n?t?no:to:t?to:no;case"left":case"right":return t?Hp:jp;default:return[]}}function zp(e,t,n,r){const a=In(e);let s=Vp(St(e),n==="start",r);return a&&(s=s.map(i=>i+"-"+a),t&&(s=s.concat(s.map(ds)))),s}function Vr(e){return e.replace(/left|right|bottom|top/g,t=>Dp[t])}function Yp(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xl(e){return typeof e!="number"?Yp(e):{top:e,right:e,bottom:e,left:e}}function zr(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function ro(e,t,n){let{reference:r,floating:a}=e;const s=dt(t),i=Qs(t),o=Ws(i),l=St(t),c=s==="y",d=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,p=r[o]/2-a[o]/2;let h;switch(l){case"top":h={x:d,y:r.y-a.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-a.width,y:f};break;default:h={x:r.x,y:r.y}}switch(In(t)){case"start":h[i]-=p*(n&&c?-1:1);break;case"end":h[i]+=p*(n&&c?-1:1);break}return h}const qp=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:i}=n,o=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:f}=ro(c,r,l),p=r,h={},T=0;for(let g=0;g<o.length;g++){const{name:C,fn:b}=o[g],{x:S,y:L,data:R,reset:v}=await b({x:d,y:f,initialPlacement:r,placement:p,strategy:a,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});d=S??d,f=L??f,h={...h,[C]:{...h[C],...R}},v&&T<=50&&(T++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:a}):v.rects),{x:d,y:f}=ro(c,p,l)),g=-1)}return{x:d,y:f,placement:p,strategy:a,middlewareData:h}};async function nr(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:s,rects:i,elements:o,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=Ct(t,e),T=Xl(h),C=o[p?f==="floating"?"reference":"floating":f],b=zr(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:l})),S=f==="floating"?{x:r,y:a,width:i.floating.width,height:i.floating.height}:i.reference,L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating)),R=await(s.isElement==null?void 0:s.isElement(L))?await(s.getScale==null?void 0:s.getScale(L))||{x:1,y:1}:{x:1,y:1},v=zr(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:S,offsetParent:L,strategy:l}):S);return{top:(b.top-v.top+T.top)/R.y,bottom:(v.bottom-b.bottom+T.bottom)/R.y,left:(b.left-v.left+T.left)/R.x,right:(v.right-b.right+T.right)/R.x}}const Kp=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:s,platform:i,elements:o,middlewareData:l}=t,{element:c,padding:d=0}=Ct(e,t)||{};if(c==null)return{};const f=Xl(d),p={x:n,y:r},h=Qs(a),T=Ws(h),g=await i.getDimensions(c),C=h==="y",b=C?"top":"left",S=C?"bottom":"right",L=C?"clientHeight":"clientWidth",R=s.reference[T]+s.reference[h]-p[h]-s.floating[T],v=p[h]-s.reference[h],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let M=k?k[L]:0;(!M||!await(i.isElement==null?void 0:i.isElement(k)))&&(M=o.floating[L]||s.floating[T]);const P=R/2-v/2,W=M/2-g[T]/2-1,X=Pt(f[b],W),H=Pt(f[S],W),V=X,K=M-g[T]-H,z=M/2-g[T]/2+P,U=cs(V,z,K),Z=!l.arrow&&In(a)!=null&&z!==U&&s.reference[T]/2-(z<V?X:H)-g[T]/2<0,G=Z?z<V?z-V:z-K:0;return{[h]:p[h]+G,data:{[h]:U,centerOffset:z-U-G,...Z&&{alignmentOffset:G}},reset:Z}}}),Wp=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:s,rects:i,initialPlacement:o,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:g=!0,...C}=Ct(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const b=St(a),S=dt(o),L=St(o)===o,R=await(l.isRTL==null?void 0:l.isRTL(c.floating)),v=p||(L||!g?[Vr(o)]:Bp(o)),k=T!=="none";!p&&k&&v.push(...zp(o,g,T,R));const M=[o,...v],P=await nr(t,C),W=[];let X=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&W.push(P[b]),f){const z=Up(a,i,R);W.push(P[z[0]],P[z[1]])}if(X=[...X,{placement:a,overflows:W}],!W.every(z=>z<=0)){var H,V;const z=(((H=s.flip)==null?void 0:H.index)||0)+1,U=M[z];if(U&&(!(f==="alignment"?S!==dt(U):!1)||X.every(F=>dt(F.placement)===S?F.overflows[0]>0:!0)))return{data:{index:z,overflows:X},reset:{placement:U}};let Z=(V=X.filter(G=>G.overflows[0]<=0).sort((G,F)=>G.overflows[1]-F.overflows[1])[0])==null?void 0:V.placement;if(!Z)switch(h){case"bestFit":{var K;const G=(K=X.filter(F=>{if(k){const ie=dt(F.placement);return ie===S||ie==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(ie=>ie>0).reduce((ie,I)=>ie+I,0)]).sort((F,ie)=>F[1]-ie[1])[0])==null?void 0:K[0];G&&(Z=G);break}case"initialPlacement":Z=o;break}if(a!==Z)return{reset:{placement:Z}}}return{}}}};function ao(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function so(e){return Pp.some(t=>e[t]>=0)}const Qp=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Ct(e,t);switch(r){case"referenceHidden":{const s=await nr(t,{...a,elementContext:"reference"}),i=ao(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:so(i)}}}case"escaped":{const s=await nr(t,{...a,altBoundary:!0}),i=ao(s,n.floating);return{data:{escapedOffsets:i,escaped:so(i)}}}default:return{}}}}},Gl=new Set(["left","top"]);async function Zp(e,t){const{placement:n,platform:r,elements:a}=e,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),i=St(n),o=In(n),l=dt(n)==="y",c=Gl.has(i)?-1:1,d=s&&l?-1:1,f=Ct(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:T}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return o&&typeof T=="number"&&(h=o==="end"?T*-1:T),l?{x:h*d,y:p*c}:{x:p*c,y:h*d}}const Xp=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:i,middlewareData:o}=t,l=await Zp(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:a+l.x,y:s+l.y,data:{...l,placement:i}}}}},Gp=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:o={fn:C=>{let{x:b,y:S}=C;return{x:b,y:S}}},...l}=Ct(e,t),c={x:n,y:r},d=await nr(t,l),f=dt(St(a)),p=Ks(f);let h=c[p],T=c[f];if(s){const C=p==="y"?"top":"left",b=p==="y"?"bottom":"right",S=h+d[C],L=h-d[b];h=cs(S,h,L)}if(i){const C=f==="y"?"top":"left",b=f==="y"?"bottom":"right",S=T+d[C],L=T-d[b];T=cs(S,T,L)}const g=o.fn({...t,[p]:h,[f]:T});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:s,[f]:i}}}}}},Jp=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:s,middlewareData:i}=t,{offset:o=0,mainAxis:l=!0,crossAxis:c=!0}=Ct(e,t),d={x:n,y:r},f=dt(a),p=Ks(f);let h=d[p],T=d[f];const g=Ct(o,t),C=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const L=p==="y"?"height":"width",R=s.reference[p]-s.floating[L]+C.mainAxis,v=s.reference[p]+s.reference[L]-C.mainAxis;h<R?h=R:h>v&&(h=v)}if(c){var b,S;const L=p==="y"?"width":"height",R=Gl.has(St(a)),v=s.reference[f]-s.floating[L]+(R&&((b=i.offset)==null?void 0:b[f])||0)+(R?0:C.crossAxis),k=s.reference[f]+s.reference[L]+(R?0:((S=i.offset)==null?void 0:S[f])||0)-(R?C.crossAxis:0);T<v?T=v:T>k&&(T=k)}return{[p]:h,[f]:T}}}},$p=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:s,platform:i,elements:o}=t,{apply:l=()=>{},...c}=Ct(e,t),d=await nr(t,c),f=St(a),p=In(a),h=dt(a)==="y",{width:T,height:g}=s.floating;let C,b;f==="top"||f==="bottom"?(C=f,b=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(b=f,C=p==="end"?"top":"bottom");const S=g-d.top-d.bottom,L=T-d.left-d.right,R=Pt(g-d[C],S),v=Pt(T-d[b],L),k=!t.middlewareData.shift;let M=R,P=v;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=L),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(M=S),k&&!p){const X=Ke(d.left,0),H=Ke(d.right,0),V=Ke(d.top,0),K=Ke(d.bottom,0);h?P=T-2*(X!==0||H!==0?X+H:Ke(d.left,d.right)):M=g-2*(V!==0||K!==0?V+K:Ke(d.top,d.bottom))}await l({...t,availableWidth:P,availableHeight:M});const W=await i.getDimensions(o.floating);return T!==W.width||g!==W.height?{reset:{rects:!0}}:{}}}};function ua(){return typeof window<"u"}function Nn(e){return Jl(e)?(e.nodeName||"").toLowerCase():"#document"}function Qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){var t;return(t=(Jl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Jl(e){return ua()?e instanceof Node||e instanceof Qe(e).Node:!1}function nt(e){return ua()?e instanceof Element||e instanceof Qe(e).Element:!1}function mt(e){return ua()?e instanceof HTMLElement||e instanceof Qe(e).HTMLElement:!1}function io(e){return!ua()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Qe(e).ShadowRoot}const eg=new Set(["inline","contents"]);function dr(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=rt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!eg.has(a)}const tg=new Set(["table","td","th"]);function ng(e){return tg.has(Nn(e))}const rg=[":popover-open",":modal"];function la(e){return rg.some(t=>{try{return e.matches(t)}catch{return!1}})}const ag=["transform","translate","scale","rotate","perspective"],sg=["transform","translate","scale","rotate","perspective","filter"],ig=["paint","layout","strict","content"];function Zs(e){const t=Xs(),n=nt(e)?rt(e):e;return ag.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||sg.some(r=>(n.willChange||"").includes(r))||ig.some(r=>(n.contain||"").includes(r))}function og(e){let t=Dt(e);for(;mt(t)&&!pn(t);){if(Zs(t))return t;if(la(t))return null;t=Dt(t)}return null}function Xs(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ug=new Set(["html","body","#document"]);function pn(e){return ug.has(Nn(e))}function rt(e){return Qe(e).getComputedStyle(e)}function ca(e){return nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dt(e){if(Nn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||io(e)&&e.host||gt(e);return io(t)?t.host:t}function $l(e){const t=Dt(e);return pn(t)?e.ownerDocument?e.ownerDocument.body:e.body:mt(t)&&dr(t)?t:$l(t)}function rr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=$l(e),s=a===((r=e.ownerDocument)==null?void 0:r.body),i=Qe(a);if(s){const o=fs(i);return t.concat(i,i.visualViewport||[],dr(a)?a:[],o&&n?rr(o):[])}return t.concat(a,rr(a,[],n))}function fs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){const t=rt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=mt(e),s=a?e.offsetWidth:n,i=a?e.offsetHeight:r,o=jr(n)!==s||jr(r)!==i;return o&&(n=s,r=i),{width:n,height:r,$:o}}function Gs(e){return nt(e)?e:e.contextElement}function cn(e){const t=Gs(e);if(!mt(t))return ht(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:s}=ec(t);let i=(s?jr(n.width):n.width)/r,o=(s?jr(n.height):n.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const lg=ht(0);function tc(e){const t=Qe(e);return!Xs()||!t.visualViewport?lg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Qe(e)?!1:t}function Yt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),s=Gs(e);let i=ht(1);t&&(r?nt(r)&&(i=cn(r)):i=cn(e));const o=cg(s,n,r)?tc(s):ht(0);let l=(a.left+o.x)/i.x,c=(a.top+o.y)/i.y,d=a.width/i.x,f=a.height/i.y;if(s){const p=Qe(s),h=r&&nt(r)?Qe(r):r;let T=p,g=fs(T);for(;g&&r&&h!==T;){const C=cn(g),b=g.getBoundingClientRect(),S=rt(g),L=b.left+(g.clientLeft+parseFloat(S.paddingLeft))*C.x,R=b.top+(g.clientTop+parseFloat(S.paddingTop))*C.y;l*=C.x,c*=C.y,d*=C.x,f*=C.y,l+=L,c+=R,T=Qe(g),g=fs(T)}}return zr({width:d,height:f,x:l,y:c})}function da(e,t){const n=ca(e).scrollLeft;return t?t.left+n:Yt(gt(e)).left+n}function nc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-da(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function dg(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const s=a==="fixed",i=gt(r),o=t?la(t.floating):!1;if(r===i||o&&s)return n;let l={scrollLeft:0,scrollTop:0},c=ht(1);const d=ht(0),f=mt(r);if((f||!f&&!s)&&((Nn(r)!=="body"||dr(i))&&(l=ca(r)),mt(r))){const h=Yt(r);c=cn(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const p=i&&!f&&!s?nc(i,l):ht(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-l.scrollTop*c.y+d.y+p.y}}function fg(e){return Array.from(e.getClientRects())}function hg(e){const t=gt(e),n=ca(e),r=e.ownerDocument.body,a=Ke(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Ke(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+da(e);const o=-n.scrollTop;return rt(r).direction==="rtl"&&(i+=Ke(t.clientWidth,r.clientWidth)-a),{width:a,height:s,x:i,y:o}}const oo=25;function mg(e,t){const n=Qe(e),r=gt(e),a=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,o=0,l=0;if(a){s=a.width,i=a.height;const d=Xs();(!d||d&&t==="fixed")&&(o=a.offsetLeft,l=a.offsetTop)}const c=da(r);if(c<=0){const d=r.ownerDocument,f=d.body,p=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,T=Math.abs(r.clientWidth-f.clientWidth-h);T<=oo&&(s-=T)}else c<=oo&&(s+=c);return{width:s,height:i,x:o,y:l}}const pg=new Set(["absolute","fixed"]);function gg(e,t){const n=Yt(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,s=mt(e)?cn(e):ht(1),i=e.clientWidth*s.x,o=e.clientHeight*s.y,l=a*s.x,c=r*s.y;return{width:i,height:o,x:l,y:c}}function uo(e,t,n){let r;if(t==="viewport")r=mg(e,n);else if(t==="document")r=hg(gt(e));else if(nt(t))r=gg(t,n);else{const a=tc(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return zr(r)}function rc(e,t){const n=Dt(e);return n===t||!nt(n)||pn(n)?!1:rt(n).position==="fixed"||rc(n,t)}function Eg(e,t){const n=t.get(e);if(n)return n;let r=rr(e,[],!1).filter(o=>nt(o)&&Nn(o)!=="body"),a=null;const s=rt(e).position==="fixed";let i=s?Dt(e):e;for(;nt(i)&&!pn(i);){const o=rt(i),l=Zs(i);!l&&o.position==="fixed"&&(a=null),(s?!l&&!a:!l&&o.position==="static"&&!!a&&pg.has(a.position)||dr(i)&&!l&&rc(e,i))?r=r.filter(d=>d!==i):a=o,i=Dt(i)}return t.set(e,r),r}function bg(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[...n==="clippingAncestors"?la(t)?[]:Eg(t,this._c):[].concat(n),r],o=i[0],l=i.reduce((c,d)=>{const f=uo(t,d,a);return c.top=Ke(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=Ke(f.left,c.left),c},uo(t,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ag(e){const{width:t,height:n}=ec(e);return{width:t,height:n}}function Tg(e,t,n){const r=mt(t),a=gt(t),s=n==="fixed",i=Yt(e,!0,s,t);let o={scrollLeft:0,scrollTop:0};const l=ht(0);function c(){l.x=da(a)}if(r||!r&&!s)if((Nn(t)!=="body"||dr(a))&&(o=ca(t)),r){const h=Yt(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else a&&c();s&&!r&&a&&c();const d=a&&!r&&!s?nc(a,o):ht(0),f=i.left+o.scrollLeft-l.x-d.x,p=i.top+o.scrollTop-l.y-d.y;return{x:f,y:p,width:i.width,height:i.height}}function Pa(e){return rt(e).position==="static"}function lo(e,t){if(!mt(e)||rt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return gt(e)===n&&(n=n.ownerDocument.body),n}function ac(e,t){const n=Qe(e);if(la(e))return n;if(!mt(e)){let a=Dt(e);for(;a&&!pn(a);){if(nt(a)&&!Pa(a))return a;a=Dt(a)}return n}let r=lo(e,t);for(;r&&ng(r)&&Pa(r);)r=lo(r,t);return r&&pn(r)&&Pa(r)&&!Zs(r)?n:r||og(e)||n}const xg=async function(e){const t=this.getOffsetParent||ac,n=this.getDimensions,r=await n(e.floating);return{reference:Tg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yg(e){return rt(e).direction==="rtl"}const Cg={convertOffsetParentRelativeRectToViewportRelativeRect:dg,getDocumentElement:gt,getClippingRect:bg,getOffsetParent:ac,getElementRects:xg,getClientRects:fg,getDimensions:Ag,getScale:cn,isElement:nt,isRTL:yg};function sc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Sg(e,t){let n=null,r;const a=gt(e);function s(){var o;clearTimeout(r),(o=n)==null||o.disconnect(),n=null}function i(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(o||t(),!p||!h)return;const T=Nr(f),g=Nr(a.clientWidth-(d+p)),C=Nr(a.clientHeight-(f+h)),b=Nr(d),L={rootMargin:-T+"px "+-g+"px "+-C+"px "+-b+"px",threshold:Ke(0,Pt(1,l))||1};let R=!0;function v(k){const M=k[0].intersectionRatio;if(M!==l){if(!R)return i();M?i(!1,M):r=setTimeout(()=>{i(!1,1e-7)},1e3)}M===1&&!sc(c,e.getBoundingClientRect())&&i(),R=!1}try{n=new IntersectionObserver(v,{...L,root:a.ownerDocument})}catch{n=new IntersectionObserver(v,L)}n.observe(e)}return i(!0),s}function Ig(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Gs(e),d=a||s?[...c?rr(c):[],...rr(t)]:[];d.forEach(b=>{a&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const f=c&&o?Sg(c,n):null;let p=-1,h=null;i&&(h=new ResizeObserver(b=>{let[S]=b;S&&S.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var L;(L=h)==null||L.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let T,g=l?Yt(e):null;l&&C();function C(){const b=Yt(e);g&&!sc(g,b)&&n(),g=b,T=requestAnimationFrame(C)}return n(),()=>{var b;d.forEach(S=>{a&&S.removeEventListener("scroll",n),s&&S.removeEventListener("resize",n)}),f?.(),(b=h)==null||b.disconnect(),h=null,l&&cancelAnimationFrame(T)}}const Ng=Xp,Lg=Gp,Rg=Wp,kg=$p,wg=Qp,co=Kp,vg=Jp,Og=(e,t,n)=>{const r=new Map,a={platform:Cg,...n},s={...a.platform,_c:r};return qp(e,t,{...a,platform:s})};var Mg=typeof document<"u",Pg=function(){},Pr=Mg?D.useLayoutEffect:Pg;function Yr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Yr(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const s=a[r];if(!(s==="_owner"&&e.$$typeof)&&!Yr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ic(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fo(e,t){const n=ic(e);return Math.round(t*n)/n}function Da(e){const t=x.useRef(e);return Pr(()=>{t.current=e}),t}function Dg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:s,floating:i}={},transform:o=!0,whileElementsMounted:l,open:c}=e,[d,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=x.useState(r);Yr(p,r)||h(r);const[T,g]=x.useState(null),[C,b]=x.useState(null),S=x.useCallback(F=>{F!==k.current&&(k.current=F,g(F))},[]),L=x.useCallback(F=>{F!==M.current&&(M.current=F,b(F))},[]),R=s||T,v=i||C,k=x.useRef(null),M=x.useRef(null),P=x.useRef(d),W=l!=null,X=Da(l),H=Da(a),V=Da(c),K=x.useCallback(()=>{if(!k.current||!M.current)return;const F={placement:t,strategy:n,middleware:p};H.current&&(F.platform=H.current),Og(k.current,M.current,F).then(ie=>{const I={...ie,isPositioned:V.current!==!1};z.current&&!Yr(P.current,I)&&(P.current=I,Nu.flushSync(()=>{f(I)}))})},[p,t,n,H,V]);Pr(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(F=>({...F,isPositioned:!1})))},[c]);const z=x.useRef(!1);Pr(()=>(z.current=!0,()=>{z.current=!1}),[]),Pr(()=>{if(R&&(k.current=R),v&&(M.current=v),R&&v){if(X.current)return X.current(R,v,K);K()}},[R,v,K,X,W]);const U=x.useMemo(()=>({reference:k,floating:M,setReference:S,setFloating:L}),[S,L]),Z=x.useMemo(()=>({reference:R,floating:v}),[R,v]),G=x.useMemo(()=>{const F={position:n,left:0,top:0};if(!Z.floating)return F;const ie=fo(Z.floating,d.x),I=fo(Z.floating,d.y);return o?{...F,transform:"translate("+ie+"px, "+I+"px)",...ic(Z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ie,top:I}},[n,o,Z.floating,d.x,d.y]);return x.useMemo(()=>({...d,update:K,refs:U,elements:Z,floatingStyles:G}),[d,K,U,Z,G])}const _g=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?co({element:r.current,padding:a}).fn(n):{}:r?co({element:r,padding:a}).fn(n):{}}}},Fg=(e,t)=>({...Ng(e),options:[e,t]}),Ug=(e,t)=>({...Lg(e),options:[e,t]}),Bg=(e,t)=>({...vg(e),options:[e,t]}),Hg=(e,t)=>({...Rg(e),options:[e,t]}),jg=(e,t)=>({...kg(e),options:[e,t]}),Vg=(e,t)=>({...wg(e),options:[e,t]}),zg=(e,t)=>({..._g(e),options:[e,t]});var Yg="Arrow",oc=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...s}=e;return m.jsx(Le.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});oc.displayName=Yg;var qg=oc;function uc(e){const[t,n]=x.useState(void 0);return Mt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let i,o;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,o=c.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Js="Popper",[lc,cc]=aa(Js),[Kg,dc]=lc(Js),fc=e=>{const{__scopePopper:t,children:n}=e,[r,a]=x.useState(null);return m.jsx(Kg,{scope:t,anchor:r,onAnchorChange:a,children:n})};fc.displayName=Js;var hc="PopperAnchor",mc=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,s=dc(hc,n),i=x.useRef(null),o=Ze(t,i),l=x.useRef(null);return x.useEffect(()=>{const c=l.current;l.current=r?.current||i.current,c!==l.current&&s.onAnchorChange(l.current)}),r?null:m.jsx(Le.div,{...a,ref:o})});mc.displayName=hc;var $s="PopperContent",[Wg,Qg]=lc($s),pc=x.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:s="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:T,...g}=e,C=dc($s,n),[b,S]=x.useState(null),L=Ze(t,ce=>S(ce)),[R,v]=x.useState(null),k=uc(R),M=k?.width??0,P=k?.height??0,W=r+(s!=="center"?"-"+s:""),X=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},H=Array.isArray(c)?c:[c],V=H.length>0,K={padding:X,boundary:H.filter(Xg),altBoundary:V},{refs:z,floatingStyles:U,placement:Z,isPositioned:G,middlewareData:F}=Dg({strategy:"fixed",placement:W,whileElementsMounted:(...ce)=>Ig(...ce,{animationFrame:h==="always"}),elements:{reference:C.anchor},middleware:[Fg({mainAxis:a+P,alignmentAxis:i}),l&&Ug({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Bg():void 0,...K}),l&&Hg({...K}),jg({...K,apply:({elements:ce,rects:_e,availableWidth:je,availableHeight:Ve})=>{const{width:it,height:It}=_e.reference,Gt=ce.floating.style;Gt.setProperty("--radix-popper-available-width",`${je}px`),Gt.setProperty("--radix-popper-available-height",`${Ve}px`),Gt.setProperty("--radix-popper-anchor-width",`${it}px`),Gt.setProperty("--radix-popper-anchor-height",`${It}px`)}}),R&&zg({element:R,padding:o}),Gg({arrowWidth:M,arrowHeight:P}),p&&Vg({strategy:"referenceHidden",...K})]}),[ie,I]=bc(Z),Te=mn(T);Mt(()=>{G&&Te?.()},[G,Te]);const we=F.arrow?.x,N=F.arrow?.y,fe=F.arrow?.centerOffset!==0,[De,be]=x.useState();return Mt(()=>{b&&be(window.getComputedStyle(b).zIndex)},[b]),m.jsx("div",{ref:z.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:G?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:De,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:m.jsx(Wg,{scope:n,placedSide:ie,onArrowChange:v,arrowX:we,arrowY:N,shouldHideArrow:fe,children:m.jsx(Le.div,{"data-side":ie,"data-align":I,...g,ref:L,style:{...g.style,animation:G?void 0:"none"}})})})});pc.displayName=$s;var gc="PopperArrow",Zg={top:"bottom",right:"left",bottom:"top",left:"right"},Ec=x.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,s=Qg(gc,r),i=Zg[s.placedSide];return m.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:m.jsx(qg,{...a,ref:n,style:{...a.style,display:"block"}})})});Ec.displayName=gc;function Xg(e){return e!==null}var Gg=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,i=a.arrow?.centerOffset!==0,o=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,d]=bc(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(a.arrow?.x??0)+o/2,h=(a.arrow?.y??0)+l/2;let T="",g="";return c==="bottom"?(T=i?f:`${p}px`,g=`${-l}px`):c==="top"?(T=i?f:`${p}px`,g=`${r.floating.height+l}px`):c==="right"?(T=`${-l}px`,g=i?f:`${h}px`):c==="left"&&(T=`${r.floating.width+l}px`,g=i?f:`${h}px`),{data:{x:T,y:g}}}});function bc(e){const[t,n="center"]=e.split("-");return[t,n]}var Jg=fc,Ac=mc,$g=pc,e1=Ec;function t1(e){const t=n1(e),n=x.forwardRef((r,a)=>{const{children:s,...i}=r,o=x.Children.toArray(s),l=o.find(a1);if(l){const c=l.props.children,d=o.map(f=>f===l?x.Children.count(c)>1?x.Children.only(null):x.isValidElement(c)?c.props.children:null:f);return m.jsx(t,{...i,ref:a,children:x.isValidElement(c)?x.cloneElement(c,void 0,d):null})}return m.jsx(t,{...i,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function n1(e){const t=x.forwardRef((n,r)=>{const{children:a,...s}=n;if(x.isValidElement(a)){const i=i1(a),o=s1(s,a.props);return a.type!==x.Fragment&&(o.ref=r?ra(r,i):i),x.cloneElement(a,o)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var r1=Symbol("radix.slottable");function a1(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===r1}function s1(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...o)=>{const l=s(...o);return a(...o),l}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function i1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fa="Popover",[Tc]=aa(fa,[cc]),fr=cc(),[o1,Wt]=Tc(fa),ei=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:s,modal:i=!1}=e,o=fr(t),l=x.useRef(null),[c,d]=x.useState(!1),[f,p]=ws({prop:r,defaultProp:a??!1,onChange:s,caller:fa});return m.jsx(Jg,{...o,children:m.jsx(o1,{scope:t,contentId:vr(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:x.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:c,onCustomAnchorAdd:x.useCallback(()=>d(!0),[]),onCustomAnchorRemove:x.useCallback(()=>d(!1),[]),modal:i,children:n})})};ei.displayName=fa;var xc="PopoverAnchor",u1=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Wt(xc,n),s=fr(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:o}=a;return x.useEffect(()=>(i(),()=>o()),[i,o]),m.jsx(Ac,{...s,...r,ref:t})});u1.displayName=xc;var yc="PopoverTrigger",ti=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Wt(yc,n),s=fr(n),i=Ze(t,a.triggerRef),o=m.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Ic(a.open),...r,ref:i,onClick:Pe(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?o:m.jsx(Ac,{asChild:!0,...s,children:o})});ti.displayName=yc;var l1="PopoverPortal",[mS,c1]=Tc(l1,{forceMount:void 0}),gn="PopoverContent",ni=x.forwardRef((e,t)=>{const n=c1(gn,e.__scopePopover),{forceMount:r=n.forceMount,...a}=e,s=Wt(gn,e.__scopePopover);return m.jsx(yn,{present:r||s.open,children:s.modal?m.jsx(f1,{...a,ref:t}):m.jsx(h1,{...a,ref:t})})});ni.displayName=gn;var d1=t1("PopoverContent.RemoveScroll"),f1=x.forwardRef((e,t)=>{const n=Wt(gn,e.__scopePopover),r=x.useRef(null),a=Ze(t,r),s=x.useRef(!1);return x.useEffect(()=>{const i=r.current;if(i)return dl(i)},[]),m.jsx(Ms,{as:d1,allowPinchZoom:!0,children:m.jsx(Cc,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pe(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Pe(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0,c=o.button===2||l;s.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:Pe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),h1=x.forwardRef((e,t)=>{const n=Wt(gn,e.__scopePopover),r=x.useRef(!1),a=x.useRef(!1);return m.jsx(Cc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const i=s.target;n.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&a.current&&s.preventDefault()}})}),Cc=x.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:d,...f}=e,p=Wt(gn,n),h=fr(n);return nl(),m.jsx(Os,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:s,children:m.jsx(vs,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1),children:m.jsx($g,{"data-state":Ic(p.open),role:"dialog",id:p.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Sc="PopoverClose",m1=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=Wt(Sc,n);return m.jsx(Le.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,()=>a.onOpenChange(!1))})});m1.displayName=Sc;var p1="PopoverArrow",g1=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=fr(n);return m.jsx(e1,{...a,...r,ref:t})});g1.displayName=p1;function Ic(e){return e?"open":"closed"}var Nc=ei,Lc=ti,Rc=ni;function ho(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const i=n.slice(a,r).trim();(i||!s)&&t.push(i),a=r+1,r=n.indexOf(",",a)}return t}function kc(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const E1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,b1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,A1={};function mo(e,t){return(A1.jsx?b1:E1).test(e)}const T1=/[ \t\n\f\r]/g;function x1(e){return typeof e=="object"?e.type==="text"?po(e.value):!1:po(e)}function po(e){return e.replace(T1,"")===""}let hr=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};hr.prototype.normal={};hr.prototype.property={};hr.prototype.space=void 0;function wc(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new hr(n,r,t)}function ar(e){return e.toLowerCase()}let He=class{constructor(t,n){this.attribute=n,this.property=t}};He.prototype.attribute="";He.prototype.booleanish=!1;He.prototype.boolean=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.commaSeparated=!1;He.prototype.defined=!1;He.prototype.mustUseProperty=!1;He.prototype.number=!1;He.prototype.overloadedBoolean=!1;He.prototype.property="";He.prototype.spaceSeparated=!1;He.prototype.space=void 0;let y1=0;const re=Qt(),xe=Qt(),hs=Qt(),Y=Qt(),me=Qt(),dn=Qt(),Ye=Qt();function Qt(){return 2**++y1}const ms=Object.freeze(Object.defineProperty({__proto__:null,boolean:re,booleanish:xe,commaOrSpaceSeparated:Ye,commaSeparated:dn,number:Y,overloadedBoolean:hs,spaceSeparated:me},Symbol.toStringTag,{value:"Module"})),_a=Object.keys(ms);let ri=class extends He{constructor(t,n,r,a){let s=-1;if(super(t,n),go(this,"space",a),typeof r=="number")for(;++s<_a.length;){const i=_a[s];go(this,_a[s],(r&ms[i])===ms[i])}}};ri.prototype.defined=!0;function go(e,t,n){n&&(e[t]=n)}function Ln(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new ri(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ar(r)]=r,n[ar(s.attribute)]=r}return new hr(t,n,e.space)}const vc=Ln({properties:{ariaActiveDescendant:null,ariaAtomic:xe,ariaAutoComplete:null,ariaBusy:xe,ariaChecked:xe,ariaColCount:Y,ariaColIndex:Y,ariaColSpan:Y,ariaControls:me,ariaCurrent:null,ariaDescribedBy:me,ariaDetails:null,ariaDisabled:xe,ariaDropEffect:me,ariaErrorMessage:null,ariaExpanded:xe,ariaFlowTo:me,ariaGrabbed:xe,ariaHasPopup:null,ariaHidden:xe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:me,ariaLevel:Y,ariaLive:null,ariaModal:xe,ariaMultiLine:xe,ariaMultiSelectable:xe,ariaOrientation:null,ariaOwns:me,ariaPlaceholder:null,ariaPosInSet:Y,ariaPressed:xe,ariaReadOnly:xe,ariaRelevant:null,ariaRequired:xe,ariaRoleDescription:me,ariaRowCount:Y,ariaRowIndex:Y,ariaRowSpan:Y,ariaSelected:xe,ariaSetSize:Y,ariaSort:null,ariaValueMax:Y,ariaValueMin:Y,ariaValueNow:Y,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Oc(e,t){return t in e?e[t]:t}function Mc(e,t){return Oc(e,t.toLowerCase())}const C1=Ln({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:dn,acceptCharset:me,accessKey:me,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:me,autoFocus:re,autoPlay:re,blocking:me,capture:null,charSet:null,checked:re,cite:null,className:me,cols:Y,colSpan:null,content:null,contentEditable:xe,controls:re,controlsList:me,coords:Y|dn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:hs,draggable:xe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:me,height:Y,hidden:hs,high:Y,href:null,hrefLang:null,htmlFor:me,httpEquiv:me,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:me,itemRef:me,itemScope:re,itemType:me,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:Y,manifest:null,max:null,maxLength:Y,media:null,method:null,min:null,minLength:Y,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:re,optimum:Y,pattern:null,ping:me,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:me,required:re,reversed:re,rows:Y,rowSpan:Y,sandbox:me,scope:null,scoped:re,seamless:re,selected:re,shadowRootClonable:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:Y,sizes:null,slot:null,span:Y,spellCheck:xe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Y,step:null,style:null,tabIndex:Y,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:xe,width:Y,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:me,axis:null,background:null,bgColor:null,border:Y,borderColor:null,bottomMargin:Y,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:Y,leftMargin:Y,link:null,longDesc:null,lowSrc:null,marginHeight:Y,marginWidth:Y,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:Y,rules:null,scheme:null,scrolling:xe,standby:null,summary:null,text:null,topMargin:Y,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Y,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:Y,security:null,unselectable:null},space:"html",transform:Mc}),S1=Ln({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ye,accentHeight:Y,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Y,amplitude:Y,arabicForm:null,ascent:Y,attributeName:null,attributeType:null,azimuth:Y,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Y,by:null,calcMode:null,capHeight:Y,className:me,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Y,diffuseConstant:Y,direction:null,display:null,dur:null,divisor:Y,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:Y,enableBackground:null,end:null,event:null,exponent:Y,externalResourcesRequired:null,fill:null,fillOpacity:Y,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:dn,g2:dn,glyphName:dn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Y,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Y,horizOriginX:Y,horizOriginY:Y,id:null,ideographic:Y,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Y,k:Y,k1:Y,k2:Y,k3:Y,k4:Y,kernelMatrix:Ye,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Y,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Y,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Y,overlineThickness:Y,paintOrder:null,panose1:null,path:null,pathLength:Y,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:me,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Y,pointsAtY:Y,pointsAtZ:Y,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ye,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ye,rev:Ye,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ye,requiredFeatures:Ye,requiredFonts:Ye,requiredFormats:Ye,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Y,specularExponent:Y,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Y,strikethroughThickness:Y,string:null,stroke:null,strokeDashArray:Ye,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Y,strokeOpacity:Y,strokeWidth:null,style:null,surfaceScale:Y,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ye,tabIndex:Y,tableValues:null,target:null,targetX:Y,targetY:Y,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ye,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Y,underlineThickness:Y,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Y,values:null,vAlphabetic:Y,vMathematical:Y,vectorEffect:null,vHanging:Y,vIdeographic:Y,version:null,vertAdvY:Y,vertOriginX:Y,vertOriginY:Y,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Y,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Oc}),Pc=Ln({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Dc=Ln({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Mc}),_c=Ln({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),I1={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},N1=/[A-Z]/g,Eo=/-[a-z]/g,L1=/^data[-\w.:]+$/i;function ai(e,t){const n=ar(t);let r=t,a=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&L1.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Eo,k1);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Eo.test(s)){let i=s.replace(N1,R1);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=ri}return new a(r,t)}function R1(e){return"-"+e.toLowerCase()}function k1(e){return e.charAt(1).toUpperCase()}const ha=wc([vc,C1,Pc,Dc,_c],"html"),Rn=wc([vc,S1,Pc,Dc,_c],"svg");function bo(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Fc(e){return e.join(" ").trim()}var an={},Fa,Ao;function w1(){if(Ao)return Fa;Ao=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
62
- `,c="/",d="*",f="",p="comment",h="declaration";function T(C,b){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];b=b||{};var S=1,L=1;function R(z){var U=z.match(t);U&&(S+=U.length);var Z=z.lastIndexOf(l);L=~Z?z.length-Z:L+z.length}function v(){var z={line:S,column:L};return function(U){return U.position=new k(z),W(),U}}function k(z){this.start=z,this.end={line:S,column:L},this.source=b.source}k.prototype.content=C;function M(z){var U=new Error(b.source+":"+S+":"+L+": "+z);if(U.reason=z,U.filename=b.source,U.line=S,U.column=L,U.source=C,!b.silent)throw U}function P(z){var U=z.exec(C);if(U){var Z=U[0];return R(Z),C=C.slice(Z.length),U}}function W(){P(n)}function X(z){var U;for(z=z||[];U=H();)U!==!1&&z.push(U);return z}function H(){var z=v();if(!(c!=C.charAt(0)||d!=C.charAt(1))){for(var U=2;f!=C.charAt(U)&&(d!=C.charAt(U)||c!=C.charAt(U+1));)++U;if(U+=2,f===C.charAt(U-1))return M("End of comment missing");var Z=C.slice(2,U-2);return L+=2,R(Z),C=C.slice(U),L+=2,z({type:p,comment:Z})}}function V(){var z=v(),U=P(r);if(U){if(H(),!P(a))return M("property missing ':'");var Z=P(s),G=z({type:h,property:g(U[0].replace(e,f)),value:Z?g(Z[0].replace(e,f)):f});return P(i),G}}function K(){var z=[];X(z);for(var U;U=V();)U!==!1&&(z.push(U),X(z));return z}return W(),K()}function g(C){return C?C.replace(o,f):f}return Fa=T,Fa}var To;function v1(){if(To)return an;To=1;var e=an&&an.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(an,"__esModule",{value:!0}),an.default=n;const t=e(w1());function n(r,a){let s=null;if(!r||typeof r!="string")return s;const i=(0,t.default)(r),o=typeof a=="function";return i.forEach(l=>{if(l.type!=="declaration")return;const{property:c,value:d}=l;o?a(c,d,l):d&&(s=s||{},s[c]=d)}),s}return an}var Fn={},xo;function O1(){if(xo)return Fn;xo=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(c){return!c||n.test(c)||e.test(c)},i=function(c,d){return d.toUpperCase()},o=function(c,d){return"".concat(d,"-")},l=function(c,d){return d===void 0&&(d={}),s(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(a,o):c=c.replace(r,o),c.replace(t,i))};return Fn.camelCase=l,Fn}var Un,yo;function M1(){if(yo)return Un;yo=1;var e=Un&&Un.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(v1()),n=O1();function r(a,s){var i={};return!a||typeof a!="string"||(0,t.default)(a,function(o,l){o&&l&&(i[(0,n.camelCase)(o,s)]=l)}),i}return r.default=r,Un=r,Un}var P1=M1();const D1=Lu(P1),ma=Uc("end"),Et=Uc("start");function Uc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function _1(e){const t=Et(e),n=ma(e);if(t&&n)return{start:t,end:n}}function Wn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Co(e.position):"start"in e||"end"in e?Co(e):"line"in e||"column"in e?ps(e):""}function ps(e){return So(e&&e.line)+":"+So(e&&e.column)}function Co(e){return ps(e&&e.start)+"-"+ps(e&&e.end)}function So(e){return e&&typeof e=="number"?e:1}class Re extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",s={},i=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?a=t:!s.cause&&t&&(i=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=o?o.line:void 0,this.name=Wn(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Re.prototype.file="";Re.prototype.name="";Re.prototype.reason="";Re.prototype.message="";Re.prototype.stack="";Re.prototype.column=void 0;Re.prototype.line=void 0;Re.prototype.ancestors=void 0;Re.prototype.cause=void 0;Re.prototype.fatal=void 0;Re.prototype.place=void 0;Re.prototype.ruleId=void 0;Re.prototype.source=void 0;const si={}.hasOwnProperty,F1=new Map,U1=/[A-Z]/g,B1=new Set(["table","tbody","thead","tfoot","tr"]),H1=new Set(["td","th"]),Bc="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function j1(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Z1(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Q1(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Rn:ha,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=Hc(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function Hc(e,t,n){if(t.type==="element")return V1(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return z1(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return q1(e,t,n);if(t.type==="mdxjsEsm")return Y1(e,t);if(t.type==="root")return K1(e,t,n);if(t.type==="text")return W1(e,t)}function V1(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Rn,e.schema=a),e.ancestors.push(t);const s=Vc(e,t.tagName,!1),i=X1(e,t);let o=oi(e,t);return B1.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!x1(l):!0})),jc(e,i,s,t),ii(i,o),e.ancestors.pop(),e.schema=r,e.create(t,s,i,n)}function z1(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}sr(e,t.position)}function Y1(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sr(e,t.position)}function q1(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=Rn,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:Vc(e,t.name,!0),i=G1(e,t),o=oi(e,t);return jc(e,i,s,t),ii(i,o),e.ancestors.pop(),e.schema=r,e.create(t,s,i,n)}function K1(e,t,n){const r={};return ii(r,oi(e,t)),e.create(t,e.Fragment,r,n)}function W1(e,t){return t.value}function jc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ii(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Q1(e,t,n){return r;function r(a,s,i,o){const c=Array.isArray(i.children)?n:t;return o?c(s,i,o):c(s,i)}}function Z1(e,t){return n;function n(r,a,s,i){const o=Array.isArray(s.children),l=Et(r);return t(a,s,i,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function X1(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&si.call(t.properties,a)){const s=J1(e,a,t.properties[a]);if(s){const[i,o]=s;e.tableCellAlignToStyle&&i==="align"&&typeof o=="string"&&H1.has(t.tagName)?r=o:n[i]=o}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function G1(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const i=s.expression;i.type;const o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else sr(e,t.position);else{const a=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,s=e.evaluater.evaluateExpression(o.expression)}else sr(e,t.position);else s=r.value===null?!0:r.value;n[a]=s}return n}function oi(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:F1;for(;++r<t.children.length;){const s=t.children[r];let i;if(e.passKeys){const l=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(l){const c=a.get(l)||0;i=l+"-"+c,a.set(l,c+1)}}const o=Hc(e,s,i);o!==void 0&&n.push(o)}return n}function J1(e,t,n){const r=ai(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?kc(n):Fc(n)),r.property==="style"){let a=typeof n=="object"?n:$1(e,String(n));return e.stylePropertyNameCase==="css"&&(a=eE(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?I1[r.property]||r.property:r.attribute,n]}}function $1(e,t){try{return D1(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new Re("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Bc+"#cannot-parse-style-attribute",a}}function Vc(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,i;for(;++s<a.length;){const o=mo(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};i=i?{type:"MemberExpression",object:i,property:o,computed:!!(s&&o.type==="Literal"),optional:!1}:o}r=i}else r=mo(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return si.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);sr(e)}function sr(e,t){const n=new Re("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Bc+"#cannot-handle-mdx-estrees-without-createevaluater",n}function eE(e){const t={};let n;for(n in e)si.call(e,n)&&(t[tE(n)]=e[n]);return t}function tE(e){let t=e.replace(U1,nE);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function nE(e){return"-"+e.toLowerCase()}const Ua={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},rE={};function aE(e,t){const n=rE,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return zc(e,r,a)}function zc(e,t,n){if(sE(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Io(e.children,t,n)}return Array.isArray(e)?Io(e,t,n):""}function Io(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=zc(e[a],t,n);return r.join("")}function sE(e){return!!(e&&typeof e=="object")}const No=document.createElement("i");function ui(e){const t="&"+e+";";No.innerHTML=t;const n=No.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function pt(e,t,n,r){const a=e.length;let s=0,i;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Xe(e,t){return e.length>0?(pt(e,e.length,0,t),e):t}const Lo={}.hasOwnProperty;function iE(e){const t={};let n=-1;for(;++n<e.length;)oE(t,e[n]);return t}function oE(e,t){let n;for(n in t){const a=(Lo.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let i;if(s)for(i in s){Lo.call(a,i)||(a[i]=[]);const o=s[i];uE(a[i],Array.isArray(o)?o:o?[o]:[])}}}function uE(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);pt(e,0,0,r)}function Yc(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function fn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ct=_t(/[A-Za-z]/),We=_t(/[\dA-Za-z]/),lE=_t(/[#-'*+\--9=?A-Z^-~]/);function gs(e){return e!==null&&(e<32||e===127)}const Es=_t(/\d/),cE=_t(/[\dA-Fa-f]/),dE=_t(/[!-/:-@[-`{-~]/);function ee(e){return e!==null&&e<-2}function Be(e){return e!==null&&(e<0||e===32)}function le(e){return e===-2||e===-1||e===32}const fE=_t(new RegExp("\\p{P}|\\p{S}","u")),hE=_t(/\s/);function _t(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function kn(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let i="";if(s===37&&We(e.charCodeAt(n+1))&&We(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(i=String.fromCharCode(s));else if(s>55295&&s<57344){const o=e.charCodeAt(n+1);s<56320&&o>56319&&o<57344?(i=String.fromCharCode(s,o),a=1):i="�"}else i=String.fromCharCode(s);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function ge(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return i;function i(l){return le(l)?(e.enter(n),o(l)):t(l)}function o(l){return le(l)&&s++<a?(e.consume(l),o):(e.exit(n),t(l))}}const mE={tokenize:pE};function pE(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ge(e,t,"linePrefix")}function a(o){return e.enter("paragraph"),s(o)}function s(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,i(o)}function i(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ee(o)?(e.consume(o),e.exit("chunkText"),s):(e.consume(o),i)}}const gE={tokenize:EE},Ro={tokenize:bE};function EE(e){const t=this,n=[];let r=0,a,s,i;return o;function o(L){if(r<n.length){const R=n[r];return t.containerState=R[1],e.attempt(R[0].continuation,l,c)(L)}return c(L)}function l(L){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&S();const R=t.events.length;let v=R,k;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){k=t.events[v][1].end;break}b(r);let M=R;for(;M<t.events.length;)t.events[M][1].end={...k},M++;return pt(t.events,v+1,0,t.events.slice(R)),t.events.length=M,c(L)}return o(L)}function c(L){if(r===n.length){if(!a)return p(L);if(a.currentConstruct&&a.currentConstruct.concrete)return T(L);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ro,d,f)(L)}function d(L){return a&&S(),b(r),p(L)}function f(L){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,T(L)}function p(L){return t.containerState={},e.attempt(Ro,h,T)(L)}function h(L){return r++,n.push([t.currentConstruct,t.containerState]),p(L)}function T(L){if(L===null){a&&S(),b(0),e.consume(L);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),g(L)}function g(L){if(L===null){C(e.exit("chunkFlow"),!0),b(0),e.consume(L);return}return ee(L)?(e.consume(L),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(L),g)}function C(L,R){const v=t.sliceStream(L);if(R&&v.push(null),L.previous=s,s&&(s.next=L),s=L,a.defineSkip(L.start),a.write(v),t.parser.lazy[L.start.line]){let k=a.events.length;for(;k--;)if(a.events[k][1].start.offset<i&&(!a.events[k][1].end||a.events[k][1].end.offset>i))return;const M=t.events.length;let P=M,W,X;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(W){X=t.events[P][1].end;break}W=!0}for(b(r),k=M;k<t.events.length;)t.events[k][1].end={...X},k++;pt(t.events,P+1,0,t.events.slice(M)),t.events.length=k}}function b(L){let R=n.length;for(;R-- >L;){const v=n[R];t.containerState=v[1],v[0].exit.call(t,e)}n.length=L}function S(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function bE(e,t,n){return ge(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ko(e){if(e===null||Be(e)||hE(e))return 1;if(fE(e))return 2}function li(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const bs={name:"attention",resolveAll:AE,tokenize:TE};function AE(e,t){let n=-1,r,a,s,i,o,l,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};wo(f,-l),wo(p,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},s={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:l>1?"strong":"emphasis",start:{...i.start},end:{...o.end}},e[r][1].end={...i.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Xe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Xe(c,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",s,t]]),c=Xe(c,li(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Xe(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Xe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,pt(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function TE(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=ko(r);let s;return i;function i(l){return s=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===s)return e.consume(l),o;const c=e.exit("attentionSequence"),d=ko(l),f=!d||d===2&&a||n.includes(l),p=!a||a===2&&d||n.includes(r);return c._open=!!(s===42?f:f&&(a||!p)),c._close=!!(s===42?p:p&&(d||!f)),t(l)}}function wo(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const xE={name:"autolink",tokenize:yE};function yE(e,t,n){let r=0;return a;function a(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(h){return ct(h)?(e.consume(h),i):h===64?n(h):c(h)}function i(h){return h===43||h===45||h===46||We(h)?(r=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),r=0,l):(h===43||h===45||h===46||We(h))&&r++<32?(e.consume(h),o):(r=0,c(h))}function l(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||gs(h)?n(h):(e.consume(h),l)}function c(h){return h===64?(e.consume(h),d):lE(h)?(e.consume(h),c):n(h)}function d(h){return We(h)?f(h):n(h)}function f(h){return h===46?(e.consume(h),r=0,d):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||We(h))&&r++<63){const T=h===45?p:f;return e.consume(h),T}return n(h)}}const pa={partial:!0,tokenize:CE};function CE(e,t,n){return r;function r(s){return le(s)?ge(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||ee(s)?t(s):n(s)}}const qc={continuation:{tokenize:IE},exit:NE,name:"blockQuote",tokenize:SE};function SE(e,t,n){const r=this;return a;function a(i){if(i===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),s}return n(i)}function s(i){return le(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}function IE(e,t,n){const r=this;return a;function a(i){return le(i)?ge(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):s(i)}function s(i){return e.attempt(qc,t,n)(i)}}function NE(e){e.exit("blockQuote")}const Kc={name:"characterEscape",tokenize:LE};function LE(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return dE(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const Wc={name:"characterReference",tokenize:RE};function RE(e,t,n){const r=this;let a=0,s,i;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),s=31,i=We,d(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,i=cE,d):(e.enter("characterReferenceValue"),s=7,i=Es,d(f))}function d(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return i===We&&!ui(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(f)&&a++<s?(e.consume(f),d):n(f)}}const vo={partial:!0,tokenize:wE},Oo={concrete:!0,name:"codeFenced",tokenize:kE};function kE(e,t,n){const r=this,a={partial:!0,tokenize:v};let s=0,i=0,o;return l;function l(k){return c(k)}function c(k){const M=r.events[r.events.length-1];return s=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,o=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(k)}function d(k){return k===o?(i++,e.consume(k),d):i<3?n(k):(e.exit("codeFencedFenceSequence"),le(k)?ge(e,f,"whitespace")(k):f(k))}function f(k){return k===null||ee(k)?(e.exit("codeFencedFence"),r.interrupt?t(k):e.check(vo,g,R)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===null||ee(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(k)):le(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ge(e,h,"whitespace")(k)):k===96&&k===o?n(k):(e.consume(k),p)}function h(k){return k===null||ee(k)?f(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),T(k))}function T(k){return k===null||ee(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(k)):k===96&&k===o?n(k):(e.consume(k),T)}function g(k){return e.attempt(a,R,C)(k)}function C(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),b}function b(k){return s>0&&le(k)?ge(e,S,"linePrefix",s+1)(k):S(k)}function S(k){return k===null||ee(k)?e.check(vo,g,R)(k):(e.enter("codeFlowValue"),L(k))}function L(k){return k===null||ee(k)?(e.exit("codeFlowValue"),S(k)):(e.consume(k),L)}function R(k){return e.exit("codeFenced"),t(k)}function v(k,M,P){let W=0;return X;function X(U){return k.enter("lineEnding"),k.consume(U),k.exit("lineEnding"),H}function H(U){return k.enter("codeFencedFence"),le(U)?ge(k,V,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):V(U)}function V(U){return U===o?(k.enter("codeFencedFenceSequence"),K(U)):P(U)}function K(U){return U===o?(W++,k.consume(U),K):W>=i?(k.exit("codeFencedFenceSequence"),le(U)?ge(k,z,"whitespace")(U):z(U)):P(U)}function z(U){return U===null||ee(U)?(k.exit("codeFencedFence"),M(U)):P(U)}}}function wE(e,t,n){const r=this;return a;function a(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}const Ba={name:"codeIndented",tokenize:OE},vE={partial:!0,tokenize:ME};function OE(e,t,n){const r=this;return a;function a(c){return e.enter("codeIndented"),ge(e,s,"linePrefix",5)(c)}function s(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?i(c):n(c)}function i(c){return c===null?l(c):ee(c)?e.attempt(vE,i,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||ee(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function ME(e,t,n){const r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):ee(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):ge(e,s,"linePrefix",5)(i)}function s(i){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):ee(i)?a(i):n(i)}}const PE={name:"codeText",previous:_E,resolve:DE,tokenize:FE};function DE(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function _E(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function FE(e,t,n){let r=0,a,s;return i;function i(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(s=e.enter("codeTextSequence"),a=0,d(f)):ee(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||ee(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function d(f){return f===96?(e.consume(f),a++,d):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",c(f))}}class UE{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&Bn(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Bn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Bn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Bn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Bn(this.left,n.reverse())}}}function Bn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Qc(e){const t={};let n=-1,r,a,s,i,o,l,c;const d=new UE(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,s=0,s<l.length&&l[s][1].type==="lineEndingBlank"&&(s+=2),s<l.length&&l[s][1].type==="content"))for(;++s<l.length&&l[s][1].type!=="content";)l[s][1].type==="chunkText"&&(l[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,BE(d,n)),n=t[n],c=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(i=d.get(s),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(a&&(d.get(a)[1].type="lineEndingBlank"),i[1].type="lineEnding",a=s);else if(!(i[1].type==="linePrefix"||i[1].type==="listItemIndent"))break;a&&(r[1].end={...d.get(a)[1].start},o=d.slice(a,n),o.unshift(r),d.splice(a,n-a+1,o))}}return pt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function BE(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const o=i.events,l=[],c={};let d,f,p=-1,h=n,T=0,g=0;const C=[g];for(;h;){for(;e.get(++a)[1]!==h;);s.push(a),h._tokenizer||(d=r.sliceStream(h),h.next||d.push(null),f&&i.defineSkip(h.start),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(d),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(g=p+1,C.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(i.events=[],h?(h._tokenizer=void 0,h.previous=void 0):C.pop(),p=C.length;p--;){const b=o.slice(C[p],C[p+1]),S=s.pop();l.push([S,S+b.length-1]),e.splice(S,2,b)}for(l.reverse(),p=-1;++p<l.length;)c[T+l[p][0]]=T+l[p][1],T+=l[p][1]-l[p][0]-1;return c}const HE={resolve:VE,tokenize:zE},jE={partial:!0,tokenize:YE};function VE(e){return Qc(e),e}function zE(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?s(o):ee(o)?e.check(jE,i,s)(o):(e.consume(o),a)}function s(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function i(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function YE(e,t,n){const r=this;return a;function a(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),ge(e,s,"linePrefix")}function s(i){if(i===null||ee(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Zc(e,t,n,r,a,s,i,o,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return f;function f(b){return b===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(b),e.exit(s),p):b===null||b===32||b===41||gs(b)?n(b):(e.enter(r),e.enter(i),e.enter(o),e.enter("chunkString",{contentType:"string"}),g(b))}function p(b){return b===62?(e.enter(s),e.consume(b),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(b))}function h(b){return b===62?(e.exit("chunkString"),e.exit(o),p(b)):b===null||b===60||ee(b)?n(b):(e.consume(b),b===92?T:h)}function T(b){return b===60||b===62||b===92?(e.consume(b),h):h(b)}function g(b){return!d&&(b===null||b===41||Be(b))?(e.exit("chunkString"),e.exit(o),e.exit(i),e.exit(r),t(b)):d<c&&b===40?(e.consume(b),d++,g):b===41?(e.consume(b),d--,g):b===null||b===32||b===40||gs(b)?n(b):(e.consume(b),b===92?C:g)}function C(b){return b===40||b===41||b===92?(e.consume(b),g):g(b)}}function Xc(e,t,n,r,a,s){const i=this;let o=0,l;return c;function c(h){return e.enter(r),e.enter(a),e.consume(h),e.exit(a),e.enter(s),d}function d(h){return o>999||h===null||h===91||h===93&&!l||h===94&&!o&&"_hiddenFootnoteSupport"in i.parser.constructs?n(h):h===93?(e.exit(s),e.enter(a),e.consume(h),e.exit(a),e.exit(r),t):ee(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||ee(h)||o++>999?(e.exit("chunkString"),d(h)):(e.consume(h),l||(l=!le(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function Gc(e,t,n,r,a,s){let i;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(a),e.consume(p),e.exit(a),i=p===40?41:p,l):n(p)}function l(p){return p===i?(e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):(e.enter(s),c(p))}function c(p){return p===i?(e.exit(s),l(i)):p===null?n(p):ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),ge(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===i||p===null||ee(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:d)}function f(p){return p===i||p===92?(e.consume(p),d):d(p)}}function Qn(e,t){let n;return r;function r(a){return ee(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):le(a)?ge(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const qE={name:"definition",tokenize:WE},KE={partial:!0,tokenize:QE};function WE(e,t,n){const r=this;let a;return s;function s(h){return e.enter("definition"),i(h)}function i(h){return Xc.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return a=fn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):n(h)}function l(h){return Be(h)?Qn(e,c)(h):c(h)}function c(h){return Zc(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function d(h){return e.attempt(KE,f,f)(h)}function f(h){return le(h)?ge(e,p,"whitespace")(h):p(h)}function p(h){return h===null||ee(h)?(e.exit("definition"),r.parser.defined.push(a),t(h)):n(h)}}function QE(e,t,n){return r;function r(o){return Be(o)?Qn(e,a)(o):n(o)}function a(o){return Gc(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return le(o)?ge(e,i,"whitespace")(o):i(o)}function i(o){return o===null||ee(o)?t(o):n(o)}}const ZE={name:"hardBreakEscape",tokenize:XE};function XE(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return ee(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const GE={name:"headingAtx",resolve:JE,tokenize:$E};function JE(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},pt(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function $E(e,t,n){let r=0;return a;function a(d){return e.enter("atxHeading"),s(d)}function s(d){return e.enter("atxHeadingSequence"),i(d)}function i(d){return d===35&&r++<6?(e.consume(d),i):d===null||Be(d)?(e.exit("atxHeadingSequence"),o(d)):n(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||ee(d)?(e.exit("atxHeading"),t(d)):le(d)?ge(e,o,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function c(d){return d===null||d===35||Be(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),c)}}const eb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Mo=["pre","script","style","textarea"],tb={concrete:!0,name:"htmlFlow",resolveTo:ab,tokenize:sb},nb={partial:!0,tokenize:ob},rb={partial:!0,tokenize:ib};function ab(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function sb(e,t,n){const r=this;let a,s,i,o,l;return c;function c(N){return d(N)}function d(N){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(N),f}function f(N){return N===33?(e.consume(N),p):N===47?(e.consume(N),s=!0,g):N===63?(e.consume(N),a=3,r.interrupt?t:I):ct(N)?(e.consume(N),i=String.fromCharCode(N),C):n(N)}function p(N){return N===45?(e.consume(N),a=2,h):N===91?(e.consume(N),a=5,o=0,T):ct(N)?(e.consume(N),a=4,r.interrupt?t:I):n(N)}function h(N){return N===45?(e.consume(N),r.interrupt?t:I):n(N)}function T(N){const fe="CDATA[";return N===fe.charCodeAt(o++)?(e.consume(N),o===fe.length?r.interrupt?t:V:T):n(N)}function g(N){return ct(N)?(e.consume(N),i=String.fromCharCode(N),C):n(N)}function C(N){if(N===null||N===47||N===62||Be(N)){const fe=N===47,De=i.toLowerCase();return!fe&&!s&&Mo.includes(De)?(a=1,r.interrupt?t(N):V(N)):eb.includes(i.toLowerCase())?(a=6,fe?(e.consume(N),b):r.interrupt?t(N):V(N)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(N):s?S(N):L(N))}return N===45||We(N)?(e.consume(N),i+=String.fromCharCode(N),C):n(N)}function b(N){return N===62?(e.consume(N),r.interrupt?t:V):n(N)}function S(N){return le(N)?(e.consume(N),S):X(N)}function L(N){return N===47?(e.consume(N),X):N===58||N===95||ct(N)?(e.consume(N),R):le(N)?(e.consume(N),L):X(N)}function R(N){return N===45||N===46||N===58||N===95||We(N)?(e.consume(N),R):v(N)}function v(N){return N===61?(e.consume(N),k):le(N)?(e.consume(N),v):L(N)}function k(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),l=N,M):le(N)?(e.consume(N),k):P(N)}function M(N){return N===l?(e.consume(N),l=null,W):N===null||ee(N)?n(N):(e.consume(N),M)}function P(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||Be(N)?v(N):(e.consume(N),P)}function W(N){return N===47||N===62||le(N)?L(N):n(N)}function X(N){return N===62?(e.consume(N),H):n(N)}function H(N){return N===null||ee(N)?V(N):le(N)?(e.consume(N),H):n(N)}function V(N){return N===45&&a===2?(e.consume(N),Z):N===60&&a===1?(e.consume(N),G):N===62&&a===4?(e.consume(N),Te):N===63&&a===3?(e.consume(N),I):N===93&&a===5?(e.consume(N),ie):ee(N)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(nb,we,K)(N)):N===null||ee(N)?(e.exit("htmlFlowData"),K(N)):(e.consume(N),V)}function K(N){return e.check(rb,z,we)(N)}function z(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),U}function U(N){return N===null||ee(N)?K(N):(e.enter("htmlFlowData"),V(N))}function Z(N){return N===45?(e.consume(N),I):V(N)}function G(N){return N===47?(e.consume(N),i="",F):V(N)}function F(N){if(N===62){const fe=i.toLowerCase();return Mo.includes(fe)?(e.consume(N),Te):V(N)}return ct(N)&&i.length<8?(e.consume(N),i+=String.fromCharCode(N),F):V(N)}function ie(N){return N===93?(e.consume(N),I):V(N)}function I(N){return N===62?(e.consume(N),Te):N===45&&a===2?(e.consume(N),I):V(N)}function Te(N){return N===null||ee(N)?(e.exit("htmlFlowData"),we(N)):(e.consume(N),Te)}function we(N){return e.exit("htmlFlow"),t(N)}}function ib(e,t,n){const r=this;return a;function a(i){return ee(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s):n(i)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}function ob(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(pa,t,n)}}const ub={name:"htmlText",tokenize:lb};function lb(e,t,n){const r=this;let a,s,i;return o;function o(I){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(I),l}function l(I){return I===33?(e.consume(I),c):I===47?(e.consume(I),v):I===63?(e.consume(I),L):ct(I)?(e.consume(I),P):n(I)}function c(I){return I===45?(e.consume(I),d):I===91?(e.consume(I),s=0,T):ct(I)?(e.consume(I),S):n(I)}function d(I){return I===45?(e.consume(I),h):n(I)}function f(I){return I===null?n(I):I===45?(e.consume(I),p):ee(I)?(i=f,G(I)):(e.consume(I),f)}function p(I){return I===45?(e.consume(I),h):f(I)}function h(I){return I===62?Z(I):I===45?p(I):f(I)}function T(I){const Te="CDATA[";return I===Te.charCodeAt(s++)?(e.consume(I),s===Te.length?g:T):n(I)}function g(I){return I===null?n(I):I===93?(e.consume(I),C):ee(I)?(i=g,G(I)):(e.consume(I),g)}function C(I){return I===93?(e.consume(I),b):g(I)}function b(I){return I===62?Z(I):I===93?(e.consume(I),b):g(I)}function S(I){return I===null||I===62?Z(I):ee(I)?(i=S,G(I)):(e.consume(I),S)}function L(I){return I===null?n(I):I===63?(e.consume(I),R):ee(I)?(i=L,G(I)):(e.consume(I),L)}function R(I){return I===62?Z(I):L(I)}function v(I){return ct(I)?(e.consume(I),k):n(I)}function k(I){return I===45||We(I)?(e.consume(I),k):M(I)}function M(I){return ee(I)?(i=M,G(I)):le(I)?(e.consume(I),M):Z(I)}function P(I){return I===45||We(I)?(e.consume(I),P):I===47||I===62||Be(I)?W(I):n(I)}function W(I){return I===47?(e.consume(I),Z):I===58||I===95||ct(I)?(e.consume(I),X):ee(I)?(i=W,G(I)):le(I)?(e.consume(I),W):Z(I)}function X(I){return I===45||I===46||I===58||I===95||We(I)?(e.consume(I),X):H(I)}function H(I){return I===61?(e.consume(I),V):ee(I)?(i=H,G(I)):le(I)?(e.consume(I),H):W(I)}function V(I){return I===null||I===60||I===61||I===62||I===96?n(I):I===34||I===39?(e.consume(I),a=I,K):ee(I)?(i=V,G(I)):le(I)?(e.consume(I),V):(e.consume(I),z)}function K(I){return I===a?(e.consume(I),a=void 0,U):I===null?n(I):ee(I)?(i=K,G(I)):(e.consume(I),K)}function z(I){return I===null||I===34||I===39||I===60||I===61||I===96?n(I):I===47||I===62||Be(I)?W(I):(e.consume(I),z)}function U(I){return I===47||I===62||Be(I)?W(I):n(I)}function Z(I){return I===62?(e.consume(I),e.exit("htmlTextData"),e.exit("htmlText"),t):n(I)}function G(I){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),F}function F(I){return le(I)?ge(e,ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):ie(I)}function ie(I){return e.enter("htmlTextData"),i(I)}}const ci={name:"labelEnd",resolveAll:hb,resolveTo:mb,tokenize:pb},cb={tokenize:gb},db={tokenize:Eb},fb={tokenize:bb};function hb(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&pt(e,0,e.length,n),e}function mb(e,t){let n=e.length,r=0,a,s,i,o;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(i=n);const l={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[s][1].start},end:{...e[i][1].end}},d={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=Xe(o,e.slice(s+1,s+r+3)),o=Xe(o,[["enter",d,t]]),o=Xe(o,li(t.parser.constructs.insideSpan.null,e.slice(s+r+4,i-3),t)),o=Xe(o,[["exit",d,t],e[i-2],e[i-1],["exit",c,t]]),o=Xe(o,e.slice(i+1)),o=Xe(o,[["exit",l,t]]),pt(e,s,e.length,o),e}function pb(e,t,n){const r=this;let a=r.events.length,s,i;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return o;function o(p){return s?s._inactive?f(p):(i=r.parser.defined.includes(fn(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(cb,d,i?d:f)(p):p===91?e.attempt(db,d,i?c:f)(p):i?d(p):f(p)}function c(p){return e.attempt(fb,d,f)(p)}function d(p){return t(p)}function f(p){return s._balanced=!0,n(p)}}function gb(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),a}function a(f){return Be(f)?Qn(e,s)(f):s(f)}function s(f){return f===41?d(f):Zc(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function i(f){return Be(f)?Qn(e,l)(f):d(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Gc(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return Be(f)?Qn(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Eb(e,t,n){const r=this;return a;function a(o){return Xc.call(r,e,s,i,"reference","referenceMarker","referenceString")(o)}function s(o){return r.parser.defined.includes(fn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function i(o){return n(o)}}function bb(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const Ab={name:"labelStartImage",resolveAll:ci.resolveAll,tokenize:Tb};function Tb(e,t,n){const r=this;return a;function a(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),s}function s(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),i):n(o)}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const xb={name:"labelStartLink",resolveAll:ci.resolveAll,tokenize:yb};function yb(e,t,n){const r=this;return a;function a(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),s}function s(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}const Ha={name:"lineEnding",tokenize:Cb};function Cb(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ge(e,t,"linePrefix")}}const Dr={name:"thematicBreak",tokenize:Sb};function Sb(e,t,n){let r=0,a;return s;function s(c){return e.enter("thematicBreak"),i(c)}function i(c){return a=c,o(c)}function o(c){return c===a?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ee(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===a?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),le(c)?ge(e,o,"whitespace")(c):o(c))}}const Ue={continuation:{tokenize:Rb},exit:wb,name:"list",tokenize:Lb},Ib={partial:!0,tokenize:vb},Nb={partial:!0,tokenize:kb};function Lb(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,i=0;return o;function o(h){const T=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:Es(h)){if(r.containerState.type||(r.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Dr,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return n(h)}function l(h){return Es(h)&&++i<10?(e.consume(h),l):(!r.interrupt||i<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(pa,r.interrupt?n:d,e.attempt(Ib,p,f))}function d(h){return r.containerState.initialBlankLine=!0,s++,p(h)}function f(h){return le(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):n(h)}function p(h){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Rb(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(pa,a,s);function a(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ge(e,t,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!le(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Nb,t,i)(o))}function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ge(e,e.attempt(Ue,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function kb(e,t,n){const r=this;return ge(e,a,"listItemIndent",r.containerState.size+1);function a(s){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(s):n(s)}}function wb(e){e.exit(this.containerState.type)}function vb(e,t,n){const r=this;return ge(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const i=r.events[r.events.length-1];return!le(s)&&i&&i[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Po={name:"setextUnderline",resolveTo:Ob,tokenize:Mb};function Ob(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",i,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=i,e.push(["exit",i,t]),e}function Mb(e,t,n){const r=this;let a;return s;function s(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),a=c,i(c)):n(c)}function i(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===a?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),le(c)?ge(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ee(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Pb={tokenize:Db};function Db(e){const t=this,n=e.attempt(pa,r,e.attempt(this.parser.constructs.flowInitial,a,ge(e,e.attempt(this.parser.constructs.flow,a,e.attempt(HE,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const _b={resolveAll:$c()},Fb=Jc("string"),Ub=Jc("text");function Jc(e){return{resolveAll:$c(e==="text"?Bb:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,i,o);return i;function i(d){return c(d)?s(d):o(d)}function o(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),s(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const f=a[d];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function $c(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}function Bb(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let s=a.length,i=-1,o=0,l;for(;s--;){const c=a[s];if(typeof c=="string"){for(i=c.length;c.charCodeAt(i-1)===32;)o++,i--;if(i)break;i=-1}else if(c===-2)l=!0,o++;else if(c!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?i:r.start._bufferIndex+i,_index:r.start._index+s,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const Hb={42:Ue,43:Ue,45:Ue,48:Ue,49:Ue,50:Ue,51:Ue,52:Ue,53:Ue,54:Ue,55:Ue,56:Ue,57:Ue,62:qc},jb={91:qE},Vb={[-2]:Ba,[-1]:Ba,32:Ba},zb={35:GE,42:Dr,45:[Po,Dr],60:tb,61:Po,95:Dr,96:Oo,126:Oo},Yb={38:Wc,92:Kc},qb={[-5]:Ha,[-4]:Ha,[-3]:Ha,33:Ab,38:Wc,42:bs,60:[xE,ub],91:xb,92:[ZE,Kc],93:ci,95:bs,96:PE},Kb={null:[bs,_b]},Wb={null:[42,95]},Qb={null:[]},Zb=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Wb,contentInitial:jb,disable:Qb,document:Hb,flow:zb,flowInitial:Vb,insideSpan:Kb,string:Yb,text:qb},Symbol.toStringTag,{value:"Module"}));function Xb(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let i=[],o=[];const l={attempt:M(v),check:M(k),consume:S,enter:L,exit:R,interrupt:M(k,{interrupt:!0})},c={code:null,containerState:{},defineSkip:g,events:[],now:T,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let d=t.tokenize.call(c,l);return t.resolveAll&&s.push(t),c;function f(H){return i=Xe(i,H),C(),i[i.length-1]!==null?[]:(P(t,0),c.events=li(s,c.events,c),c.events)}function p(H,V){return Jb(h(H),V)}function h(H){return Gb(i,H)}function T(){const{_bufferIndex:H,_index:V,line:K,column:z,offset:U}=r;return{_bufferIndex:H,_index:V,line:K,column:z,offset:U}}function g(H){a[H.line]=H.column,X()}function C(){let H;for(;r._index<i.length;){const V=i[r._index];if(typeof V=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<V.length;)b(V.charCodeAt(r._bufferIndex));else b(V)}}function b(H){d=d(H)}function S(H){ee(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,X()):H!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=H}function L(H,V){const K=V||{};return K.type=H,K.start=T(),c.events.push(["enter",K,c]),o.push(K),K}function R(H){const V=o.pop();return V.end=T(),c.events.push(["exit",V,c]),V}function v(H,V){P(H,V.from)}function k(H,V){V.restore()}function M(H,V){return K;function K(z,U,Z){let G,F,ie,I;return Array.isArray(z)?we(z):"tokenize"in z?we([z]):Te(z);function Te(be){return ce;function ce(_e){const je=_e!==null&&be[_e],Ve=_e!==null&&be.null,it=[...Array.isArray(je)?je:je?[je]:[],...Array.isArray(Ve)?Ve:Ve?[Ve]:[]];return we(it)(_e)}}function we(be){return G=be,F=0,be.length===0?Z:N(be[F])}function N(be){return ce;function ce(_e){return I=W(),ie=be,be.partial||(c.currentConstruct=be),be.name&&c.parser.constructs.disable.null.includes(be.name)?De():be.tokenize.call(V?Object.assign(Object.create(c),V):c,l,fe,De)(_e)}}function fe(be){return H(ie,I),U}function De(be){return I.restore(),++F<G.length?N(G[F]):Z}}}function P(H,V){H.resolveAll&&!s.includes(H)&&s.push(H),H.resolve&&pt(c.events,V,c.events.length-V,H.resolve(c.events.slice(V),c)),H.resolveTo&&(c.events=H.resolveTo(c.events,c))}function W(){const H=T(),V=c.previous,K=c.currentConstruct,z=c.events.length,U=Array.from(o);return{from:z,restore:Z};function Z(){r=H,c.previous=V,c.currentConstruct=K,c.events.length=z,o=U,X()}}function X(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function Gb(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let i;if(n===a)i=[e[n].slice(r,s)];else{if(i=e.slice(n,a),r>-1){const o=i[0];typeof o=="string"?i[0]=o.slice(r):i.shift()}s>0&&i.push(e[a].slice(0,s))}return i}function Jb(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let i;if(typeof s=="string")i=s;else switch(s){case-5:{i="\r";break}case-4:{i=`
59
+ `,children:e})},Ji=e=>m.jsx("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:m.jsx("path",{d:"M5.75 0.75L0.75 5.75L5.75 10.75",stroke:"current",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),eo=({items:e,activeId:t,onSelect:n,className:r="",stepRatio:a=.8})=>{const s=D.useRef(null),i=D.useRef(null),o=D.useRef(null),[l,c]=D.useState(!1),[d,f]=D.useState(!1),p=D.useCallback(()=>{const x=s.current;if(!x)return;const g=x.scrollWidth-x.clientWidth-x.scrollLeft,C=.5;c(x.scrollLeft>C),f(g>C)},[]);D.useLayoutEffect(()=>(o.current=requestAnimationFrame(p),()=>{o.current&&cancelAnimationFrame(o.current)}),[e.length,p]),D.useEffect(()=>{const x=s.current,g=i.current;if(!x||!g)return;p();const C=new ResizeObserver(()=>p()),E=new ResizeObserver(()=>p());C.observe(x),E.observe(g);const A=()=>p();return x.addEventListener("scroll",A,{passive:!0}),"fonts"in document&&document.fonts?.ready?.then(()=>p()),()=>{C.disconnect(),E.disconnect(),x.removeEventListener("scroll",A)}},[p]);const h=x=>{const g=s.current;if(!g)return;const C=g.clientWidth*a*(x==="left"?-1:1);g.scrollBy({left:C,behavior:"smooth"})};return m.jsxs("div",{className:`flex flex-row items-center gap-[8px] lg:w-[50%] xl:max-w-[68%] xl:w-full ${r}`,role:"region","aria-label":"Category slider",children:[m.jsxs("button",{type:"button","aria-label":"Scroll left",disabled:!l,onClick:()=>h("left"),className:`flex-shrink-0 h-8 w-8 rounded-full flex flex-row items-center justify-center shadow
60
+ ${l?"bg-black text-white hover:brightness-110":"bg-gray-200 text-gray-500 opacity-60 cursor-not-allowed"}`,children:[m.jsx(Ji,{className:"w-[16px] h-4 rotate-360"})," "]}),m.jsx("div",{ref:s,className:"no-scrollbar flex-1 overflow-hidden scroll-smooth",style:{WebkitOverflowScrolling:"touch"},children:m.jsx("div",{ref:i,className:"flex flex-row gap-[12px] sm:gap-[16px] py-2 px-3",children:e.map(x=>{const g=x.productId,C=t===g;return m.jsx("div",{className:"shrink-0",children:m.jsx(Lp,{text:x.name,isActive:C,onClick:()=>n(x)})},g)})})}),m.jsxs("button",{type:"button","aria-label":"Scroll right",disabled:!d,onClick:()=>h("right"),className:`flex-shrink-0 h-8 w-8 rounded-full flex flex-row items-center justify-center shadow
61
+ ${d?"bg-black text-white hover:brightness-110":"bg-gray-200 text-gray-400 opacity-60 cursor-not-allowed"}`,children:[m.jsx(Ji,{className:"w-[16px] h-4 rotate-180"})," "]})]})},Pp=["top","right","bottom","left"],Pt=Math.min,$e=Math.max,jr=Math.round,Nr=Math.floor,ht=e=>({x:e,y:e}),Dp={left:"right",right:"left",bottom:"top",top:"bottom"},Mp={start:"end",end:"start"};function cs(e,t,n){return $e(e,Pt(t,n))}function Ct(e,t){return typeof e=="function"?e(t):e}function At(e){return e.split("-")[0]}function Sn(e){return e.split("-")[1]}function $s(e){return e==="x"?"y":"x"}function qs(e){return e==="y"?"height":"width"}const Bp=new Set(["top","bottom"]);function dt(e){return Bp.has(At(e))?"y":"x"}function Gs(e){return $s(dt(e))}function Fp(e,t,n){n===void 0&&(n=!1);const r=Sn(e),a=Gs(e),s=qs(a);let i=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=zr(i)),[i,zr(i)]}function Hp(e){const t=zr(e);return[ds(e),t,ds(t)]}function ds(e){return e.replace(/start|end/g,t=>Mp[t])}const to=["left","right"],no=["right","left"],Up=["top","bottom"],jp=["bottom","top"];function zp(e,t,n){switch(e){case"top":case"bottom":return n?t?no:to:t?to:no;case"left":case"right":return t?Up:jp;default:return[]}}function Yp(e,t,n,r){const a=Sn(e);let s=zp(At(e),n==="start",r);return a&&(s=s.map(i=>i+"-"+a),t&&(s=s.concat(s.map(ds)))),s}function zr(e){return e.replace(/left|right|bottom|top/g,t=>Dp[t])}function Wp(e){return{top:0,right:0,bottom:0,left:0,...e}}function Kl(e){return typeof e!="number"?Wp(e):{top:e,right:e,bottom:e,left:e}}function Yr(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function ro(e,t,n){let{reference:r,floating:a}=e;const s=dt(t),i=Gs(t),o=qs(i),l=At(t),c=s==="y",d=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,p=r[o]/2-a[o]/2;let h;switch(l){case"top":h={x:d,y:r.y-a.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-a.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Sn(t)){case"start":h[i]-=p*(n&&c?-1:1);break;case"end":h[i]+=p*(n&&c?-1:1);break}return h}const Vp=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:i}=n,o=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:f}=ro(c,r,l),p=r,h={},x=0;for(let g=0;g<o.length;g++){const{name:C,fn:E}=o[g],{x:A,y:I,data:v,reset:O}=await E({x:d,y:f,initialPlacement:r,placement:p,strategy:a,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});d=A??d,f=I??f,h={...h,[C]:{...h[C],...v}},O&&x<=50&&(x++,typeof O=="object"&&(O.placement&&(p=O.placement),O.rects&&(c=O.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:a}):O.rects),{x:d,y:f}=ro(c,p,l)),g=-1)}return{x:d,y:f,placement:p,strategy:a,middlewareData:h}};async function nr(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:s,rects:i,elements:o,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=Ct(t,e),x=Kl(h),C=o[p?f==="floating"?"reference":"floating":f],E=Yr(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:l})),A=f==="floating"?{x:r,y:a,width:i.floating.width,height:i.floating.height}:i.reference,I=await(s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating)),v=await(s.isElement==null?void 0:s.isElement(I))?await(s.getScale==null?void 0:s.getScale(I))||{x:1,y:1}:{x:1,y:1},O=Yr(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:A,offsetParent:I,strategy:l}):A);return{top:(E.top-O.top+x.top)/v.y,bottom:(O.bottom-E.bottom+x.bottom)/v.y,left:(E.left-O.left+x.left)/v.x,right:(O.right-E.right+x.right)/v.x}}const $p=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:s,platform:i,elements:o,middlewareData:l}=t,{element:c,padding:d=0}=Ct(e,t)||{};if(c==null)return{};const f=Kl(d),p={x:n,y:r},h=Gs(a),x=qs(h),g=await i.getDimensions(c),C=h==="y",E=C?"top":"left",A=C?"bottom":"right",I=C?"clientHeight":"clientWidth",v=s.reference[x]+s.reference[h]-p[h]-s.floating[x],O=p[h]-s.reference[h],w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let L=w?w[I]:0;(!L||!await(i.isElement==null?void 0:i.isElement(w)))&&(L=o.floating[I]||s.floating[x]);const P=v/2-O/2,q=L/2-g[x]/2-1,K=Pt(f[E],q),U=Pt(f[A],q),z=K,$=L-g[x]-U,Y=L/2-g[x]/2+P,F=cs(z,Y,$),X=!l.arrow&&Sn(a)!=null&&Y!==F&&s.reference[x]/2-(Y<z?K:U)-g[x]/2<0,Q=X?Y<z?Y-z:Y-$:0;return{[h]:p[h]+Q,data:{[h]:F,centerOffset:Y-F-Q,...X&&{alignmentOffset:Q}},reset:X}}}),qp=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:s,rects:i,initialPlacement:o,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:g=!0,...C}=Ct(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const E=At(a),A=dt(o),I=At(o)===o,v=await(l.isRTL==null?void 0:l.isRTL(c.floating)),O=p||(I||!g?[zr(o)]:Hp(o)),w=x!=="none";!p&&w&&O.push(...Yp(o,g,x,v));const L=[o,...O],P=await nr(t,C),q=[];let K=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&q.push(P[E]),f){const Y=Fp(a,i,v);q.push(P[Y[0]],P[Y[1]])}if(K=[...K,{placement:a,overflows:q}],!q.every(Y=>Y<=0)){var U,z;const Y=(((U=s.flip)==null?void 0:U.index)||0)+1,F=L[Y];if(F&&(!(f==="alignment"?A!==dt(F):!1)||K.every(B=>dt(B.placement)===A?B.overflows[0]>0:!0)))return{data:{index:Y,overflows:K},reset:{placement:F}};let X=(z=K.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:z.placement;if(!X)switch(h){case"bestFit":{var $;const Q=($=K.filter(B=>{if(w){const ie=dt(B.placement);return ie===A||ie==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(ie=>ie>0).reduce((ie,S)=>ie+S,0)]).sort((B,ie)=>B[1]-ie[1])[0])==null?void 0:$[0];Q&&(X=Q);break}case"initialPlacement":X=o;break}if(a!==X)return{reset:{placement:X}}}return{}}}};function ao(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function so(e){return Pp.some(t=>e[t]>=0)}const Gp=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Ct(e,t);switch(r){case"referenceHidden":{const s=await nr(t,{...a,elementContext:"reference"}),i=ao(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:so(i)}}}case"escaped":{const s=await nr(t,{...a,altBoundary:!0}),i=ao(s,n.floating);return{data:{escapedOffsets:i,escaped:so(i)}}}default:return{}}}}},Ql=new Set(["left","top"]);async function Xp(e,t){const{placement:n,platform:r,elements:a}=e,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),i=At(n),o=Sn(n),l=dt(n)==="y",c=Ql.has(i)?-1:1,d=s&&l?-1:1,f=Ct(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return o&&typeof x=="number"&&(h=o==="end"?x*-1:x),l?{x:h*d,y:p*c}:{x:p*c,y:h*d}}const Kp=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:i,middlewareData:o}=t,l=await Xp(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:a+l.x,y:s+l.y,data:{...l,placement:i}}}}},Qp=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:o={fn:C=>{let{x:E,y:A}=C;return{x:E,y:A}}},...l}=Ct(e,t),c={x:n,y:r},d=await nr(t,l),f=dt(At(a)),p=$s(f);let h=c[p],x=c[f];if(s){const C=p==="y"?"top":"left",E=p==="y"?"bottom":"right",A=h+d[C],I=h-d[E];h=cs(A,h,I)}if(i){const C=f==="y"?"top":"left",E=f==="y"?"bottom":"right",A=x+d[C],I=x-d[E];x=cs(A,x,I)}const g=o.fn({...t,[p]:h,[f]:x});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:s,[f]:i}}}}}},Zp=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:s,middlewareData:i}=t,{offset:o=0,mainAxis:l=!0,crossAxis:c=!0}=Ct(e,t),d={x:n,y:r},f=dt(a),p=$s(f);let h=d[p],x=d[f];const g=Ct(o,t),C=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const I=p==="y"?"height":"width",v=s.reference[p]-s.floating[I]+C.mainAxis,O=s.reference[p]+s.reference[I]-C.mainAxis;h<v?h=v:h>O&&(h=O)}if(c){var E,A;const I=p==="y"?"width":"height",v=Ql.has(At(a)),O=s.reference[f]-s.floating[I]+(v&&((E=i.offset)==null?void 0:E[f])||0)+(v?0:C.crossAxis),w=s.reference[f]+s.reference[I]+(v?0:((A=i.offset)==null?void 0:A[f])||0)-(v?C.crossAxis:0);x<O?x=O:x>w&&(x=w)}return{[p]:h,[f]:x}}}},Jp=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:s,platform:i,elements:o}=t,{apply:l=()=>{},...c}=Ct(e,t),d=await nr(t,c),f=At(a),p=Sn(a),h=dt(a)==="y",{width:x,height:g}=s.floating;let C,E;f==="top"||f==="bottom"?(C=f,E=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(E=f,C=p==="end"?"top":"bottom");const A=g-d.top-d.bottom,I=x-d.left-d.right,v=Pt(g-d[C],A),O=Pt(x-d[E],I),w=!t.middlewareData.shift;let L=v,P=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=I),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(L=A),w&&!p){const K=$e(d.left,0),U=$e(d.right,0),z=$e(d.top,0),$=$e(d.bottom,0);h?P=x-2*(K!==0||U!==0?K+U:$e(d.left,d.right)):L=g-2*(z!==0||$!==0?z+$:$e(d.top,d.bottom))}await l({...t,availableWidth:P,availableHeight:L});const q=await i.getDimensions(o.floating);return x!==q.width||g!==q.height?{reset:{rects:!0}}:{}}}};function ua(){return typeof window<"u"}function Nn(e){return Zl(e)?(e.nodeName||"").toLowerCase():"#document"}function Ge(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){var t;return(t=(Zl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zl(e){return ua()?e instanceof Node||e instanceof Ge(e).Node:!1}function nt(e){return ua()?e instanceof Element||e instanceof Ge(e).Element:!1}function mt(e){return ua()?e instanceof HTMLElement||e instanceof Ge(e).HTMLElement:!1}function io(e){return!ua()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ge(e).ShadowRoot}const eg=new Set(["inline","contents"]);function dr(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=rt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!eg.has(a)}const tg=new Set(["table","td","th"]);function ng(e){return tg.has(Nn(e))}const rg=[":popover-open",":modal"];function la(e){return rg.some(t=>{try{return e.matches(t)}catch{return!1}})}const ag=["transform","translate","scale","rotate","perspective"],sg=["transform","translate","scale","rotate","perspective","filter"],ig=["paint","layout","strict","content"];function Xs(e){const t=Ks(),n=nt(e)?rt(e):e;return ag.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||sg.some(r=>(n.willChange||"").includes(r))||ig.some(r=>(n.contain||"").includes(r))}function og(e){let t=Dt(e);for(;mt(t)&&!pn(t);){if(Xs(t))return t;if(la(t))return null;t=Dt(t)}return null}function Ks(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ug=new Set(["html","body","#document"]);function pn(e){return ug.has(Nn(e))}function rt(e){return Ge(e).getComputedStyle(e)}function ca(e){return nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dt(e){if(Nn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||io(e)&&e.host||gt(e);return io(t)?t.host:t}function Jl(e){const t=Dt(e);return pn(t)?e.ownerDocument?e.ownerDocument.body:e.body:mt(t)&&dr(t)?t:Jl(t)}function rr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=Jl(e),s=a===((r=e.ownerDocument)==null?void 0:r.body),i=Ge(a);if(s){const o=fs(i);return t.concat(i,i.visualViewport||[],dr(a)?a:[],o&&n?rr(o):[])}return t.concat(a,rr(a,[],n))}function fs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){const t=rt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=mt(e),s=a?e.offsetWidth:n,i=a?e.offsetHeight:r,o=jr(n)!==s||jr(r)!==i;return o&&(n=s,r=i),{width:n,height:r,$:o}}function Qs(e){return nt(e)?e:e.contextElement}function cn(e){const t=Qs(e);if(!mt(t))return ht(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:s}=ec(t);let i=(s?jr(n.width):n.width)/r,o=(s?jr(n.height):n.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const lg=ht(0);function tc(e){const t=Ge(e);return!Ks()||!t.visualViewport?lg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ge(e)?!1:t}function Wt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),s=Qs(e);let i=ht(1);t&&(r?nt(r)&&(i=cn(r)):i=cn(e));const o=cg(s,n,r)?tc(s):ht(0);let l=(a.left+o.x)/i.x,c=(a.top+o.y)/i.y,d=a.width/i.x,f=a.height/i.y;if(s){const p=Ge(s),h=r&&nt(r)?Ge(r):r;let x=p,g=fs(x);for(;g&&r&&h!==x;){const C=cn(g),E=g.getBoundingClientRect(),A=rt(g),I=E.left+(g.clientLeft+parseFloat(A.paddingLeft))*C.x,v=E.top+(g.clientTop+parseFloat(A.paddingTop))*C.y;l*=C.x,c*=C.y,d*=C.x,f*=C.y,l+=I,c+=v,x=Ge(g),g=fs(x)}}return Yr({width:d,height:f,x:l,y:c})}function da(e,t){const n=ca(e).scrollLeft;return t?t.left+n:Wt(gt(e)).left+n}function nc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-da(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function dg(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const s=a==="fixed",i=gt(r),o=t?la(t.floating):!1;if(r===i||o&&s)return n;let l={scrollLeft:0,scrollTop:0},c=ht(1);const d=ht(0),f=mt(r);if((f||!f&&!s)&&((Nn(r)!=="body"||dr(i))&&(l=ca(r)),mt(r))){const h=Wt(r);c=cn(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const p=i&&!f&&!s?nc(i,l):ht(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-l.scrollTop*c.y+d.y+p.y}}function fg(e){return Array.from(e.getClientRects())}function hg(e){const t=gt(e),n=ca(e),r=e.ownerDocument.body,a=$e(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=$e(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+da(e);const o=-n.scrollTop;return rt(r).direction==="rtl"&&(i+=$e(t.clientWidth,r.clientWidth)-a),{width:a,height:s,x:i,y:o}}const oo=25;function mg(e,t){const n=Ge(e),r=gt(e),a=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,o=0,l=0;if(a){s=a.width,i=a.height;const d=Ks();(!d||d&&t==="fixed")&&(o=a.offsetLeft,l=a.offsetTop)}const c=da(r);if(c<=0){const d=r.ownerDocument,f=d.body,p=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,x=Math.abs(r.clientWidth-f.clientWidth-h);x<=oo&&(s-=x)}else c<=oo&&(s+=c);return{width:s,height:i,x:o,y:l}}const pg=new Set(["absolute","fixed"]);function gg(e,t){const n=Wt(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,s=mt(e)?cn(e):ht(1),i=e.clientWidth*s.x,o=e.clientHeight*s.y,l=a*s.x,c=r*s.y;return{width:i,height:o,x:l,y:c}}function uo(e,t,n){let r;if(t==="viewport")r=mg(e,n);else if(t==="document")r=hg(gt(e));else if(nt(t))r=gg(t,n);else{const a=tc(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Yr(r)}function rc(e,t){const n=Dt(e);return n===t||!nt(n)||pn(n)?!1:rt(n).position==="fixed"||rc(n,t)}function bg(e,t){const n=t.get(e);if(n)return n;let r=rr(e,[],!1).filter(o=>nt(o)&&Nn(o)!=="body"),a=null;const s=rt(e).position==="fixed";let i=s?Dt(e):e;for(;nt(i)&&!pn(i);){const o=rt(i),l=Xs(i);!l&&o.position==="fixed"&&(a=null),(s?!l&&!a:!l&&o.position==="static"&&!!a&&pg.has(a.position)||dr(i)&&!l&&rc(e,i))?r=r.filter(d=>d!==i):a=o,i=Dt(i)}return t.set(e,r),r}function Eg(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[...n==="clippingAncestors"?la(t)?[]:bg(t,this._c):[].concat(n),r],o=i[0],l=i.reduce((c,d)=>{const f=uo(t,d,a);return c.top=$e(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=$e(f.left,c.left),c},uo(t,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Tg(e){const{width:t,height:n}=ec(e);return{width:t,height:n}}function xg(e,t,n){const r=mt(t),a=gt(t),s=n==="fixed",i=Wt(e,!0,s,t);let o={scrollLeft:0,scrollTop:0};const l=ht(0);function c(){l.x=da(a)}if(r||!r&&!s)if((Nn(t)!=="body"||dr(a))&&(o=ca(t)),r){const h=Wt(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else a&&c();s&&!r&&a&&c();const d=a&&!r&&!s?nc(a,o):ht(0),f=i.left+o.scrollLeft-l.x-d.x,p=i.top+o.scrollTop-l.y-d.y;return{x:f,y:p,width:i.width,height:i.height}}function Pa(e){return rt(e).position==="static"}function lo(e,t){if(!mt(e)||rt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return gt(e)===n&&(n=n.ownerDocument.body),n}function ac(e,t){const n=Ge(e);if(la(e))return n;if(!mt(e)){let a=Dt(e);for(;a&&!pn(a);){if(nt(a)&&!Pa(a))return a;a=Dt(a)}return n}let r=lo(e,t);for(;r&&ng(r)&&Pa(r);)r=lo(r,t);return r&&pn(r)&&Pa(r)&&!Xs(r)?n:r||og(e)||n}const yg=async function(e){const t=this.getOffsetParent||ac,n=this.getDimensions,r=await n(e.floating);return{reference:xg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _g(e){return rt(e).direction==="rtl"}const Cg={convertOffsetParentRelativeRectToViewportRelativeRect:dg,getDocumentElement:gt,getClippingRect:Eg,getOffsetParent:ac,getElementRects:yg,getClientRects:fg,getDimensions:Tg,getScale:cn,isElement:nt,isRTL:_g};function sc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ag(e,t){let n=null,r;const a=gt(e);function s(){var o;clearTimeout(r),(o=n)==null||o.disconnect(),n=null}function i(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(o||t(),!p||!h)return;const x=Nr(f),g=Nr(a.clientWidth-(d+p)),C=Nr(a.clientHeight-(f+h)),E=Nr(d),I={rootMargin:-x+"px "+-g+"px "+-C+"px "+-E+"px",threshold:$e(0,Pt(1,l))||1};let v=!0;function O(w){const L=w[0].intersectionRatio;if(L!==l){if(!v)return i();L?i(!1,L):r=setTimeout(()=>{i(!1,1e-7)},1e3)}L===1&&!sc(c,e.getBoundingClientRect())&&i(),v=!1}try{n=new IntersectionObserver(O,{...I,root:a.ownerDocument})}catch{n=new IntersectionObserver(O,I)}n.observe(e)}return i(!0),s}function Sg(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Qs(e),d=a||s?[...c?rr(c):[],...rr(t)]:[];d.forEach(E=>{a&&E.addEventListener("scroll",n,{passive:!0}),s&&E.addEventListener("resize",n)});const f=c&&o?Ag(c,n):null;let p=-1,h=null;i&&(h=new ResizeObserver(E=>{let[A]=E;A&&A.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var I;(I=h)==null||I.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let x,g=l?Wt(e):null;l&&C();function C(){const E=Wt(e);g&&!sc(g,E)&&n(),g=E,x=requestAnimationFrame(C)}return n(),()=>{var E;d.forEach(A=>{a&&A.removeEventListener("scroll",n),s&&A.removeEventListener("resize",n)}),f?.(),(E=h)==null||E.disconnect(),h=null,l&&cancelAnimationFrame(x)}}const Ng=Kp,Ig=Qp,vg=qp,wg=Jp,kg=Gp,co=$p,Og=Zp,Rg=(e,t,n)=>{const r=new Map,a={platform:Cg,...n},s={...a.platform,_c:r};return Vp(e,t,{...a,platform:s})};var Lg=typeof document<"u",Pg=function(){},Pr=Lg?D.useLayoutEffect:Pg;function Wr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Wr(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const s=a[r];if(!(s==="_owner"&&e.$$typeof)&&!Wr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ic(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fo(e,t){const n=ic(e);return Math.round(t*n)/n}function Da(e){const t=y.useRef(e);return Pr(()=>{t.current=e}),t}function Dg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:s,floating:i}={},transform:o=!0,whileElementsMounted:l,open:c}=e,[d,f]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=y.useState(r);Wr(p,r)||h(r);const[x,g]=y.useState(null),[C,E]=y.useState(null),A=y.useCallback(B=>{B!==w.current&&(w.current=B,g(B))},[]),I=y.useCallback(B=>{B!==L.current&&(L.current=B,E(B))},[]),v=s||x,O=i||C,w=y.useRef(null),L=y.useRef(null),P=y.useRef(d),q=l!=null,K=Da(l),U=Da(a),z=Da(c),$=y.useCallback(()=>{if(!w.current||!L.current)return;const B={placement:t,strategy:n,middleware:p};U.current&&(B.platform=U.current),Rg(w.current,L.current,B).then(ie=>{const S={...ie,isPositioned:z.current!==!1};Y.current&&!Wr(P.current,S)&&(P.current=S,Nu.flushSync(()=>{f(S)}))})},[p,t,n,U,z]);Pr(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(B=>({...B,isPositioned:!1})))},[c]);const Y=y.useRef(!1);Pr(()=>(Y.current=!0,()=>{Y.current=!1}),[]),Pr(()=>{if(v&&(w.current=v),O&&(L.current=O),v&&O){if(K.current)return K.current(v,O,$);$()}},[v,O,$,K,q]);const F=y.useMemo(()=>({reference:w,floating:L,setReference:A,setFloating:I}),[A,I]),X=y.useMemo(()=>({reference:v,floating:O}),[v,O]),Q=y.useMemo(()=>{const B={position:n,left:0,top:0};if(!X.floating)return B;const ie=fo(X.floating,d.x),S=fo(X.floating,d.y);return o?{...B,transform:"translate("+ie+"px, "+S+"px)",...ic(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ie,top:S}},[n,o,X.floating,d.x,d.y]);return y.useMemo(()=>({...d,update:$,refs:F,elements:X,floatingStyles:Q}),[d,$,F,X,Q])}const Mg=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?co({element:r.current,padding:a}).fn(n):{}:r?co({element:r,padding:a}).fn(n):{}}}},Bg=(e,t)=>({...Ng(e),options:[e,t]}),Fg=(e,t)=>({...Ig(e),options:[e,t]}),Hg=(e,t)=>({...Og(e),options:[e,t]}),Ug=(e,t)=>({...vg(e),options:[e,t]}),jg=(e,t)=>({...wg(e),options:[e,t]}),zg=(e,t)=>({...kg(e),options:[e,t]}),Yg=(e,t)=>({...Mg(e),options:[e,t]});var Wg="Arrow",oc=y.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...s}=e;return m.jsx(Ie.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});oc.displayName=Wg;var Vg=oc;function uc(e){const[t,n]=y.useState(void 0);return Lt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let i,o;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,o=c.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Zs="Popper",[lc,cc]=aa(Zs),[$g,dc]=lc(Zs),fc=e=>{const{__scopePopper:t,children:n}=e,[r,a]=y.useState(null);return m.jsx($g,{scope:t,anchor:r,onAnchorChange:a,children:n})};fc.displayName=Zs;var hc="PopperAnchor",mc=y.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,s=dc(hc,n),i=y.useRef(null),o=Xe(t,i),l=y.useRef(null);return y.useEffect(()=>{const c=l.current;l.current=r?.current||i.current,c!==l.current&&s.onAnchorChange(l.current)}),r?null:m.jsx(Ie.div,{...a,ref:o})});mc.displayName=hc;var Js="PopperContent",[qg,Gg]=lc(Js),pc=y.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:s="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:x,...g}=e,C=dc(Js,n),[E,A]=y.useState(null),I=Xe(t,ce=>A(ce)),[v,O]=y.useState(null),w=uc(v),L=w?.width??0,P=w?.height??0,q=r+(s!=="center"?"-"+s:""),K=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},U=Array.isArray(c)?c:[c],z=U.length>0,$={padding:K,boundary:U.filter(Kg),altBoundary:z},{refs:Y,floatingStyles:F,placement:X,isPositioned:Q,middlewareData:B}=Dg({strategy:"fixed",placement:q,whileElementsMounted:(...ce)=>Sg(...ce,{animationFrame:h==="always"}),elements:{reference:C.anchor},middleware:[Bg({mainAxis:a+P,alignmentAxis:i}),l&&Fg({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Hg():void 0,...$}),l&&Ug({...$}),jg({...$,apply:({elements:ce,rects:Me,availableWidth:je,availableHeight:ze})=>{const{width:it,height:St}=Me.reference,Qt=ce.floating.style;Qt.setProperty("--radix-popper-available-width",`${je}px`),Qt.setProperty("--radix-popper-available-height",`${ze}px`),Qt.setProperty("--radix-popper-anchor-width",`${it}px`),Qt.setProperty("--radix-popper-anchor-height",`${St}px`)}}),v&&Yg({element:v,padding:o}),Qg({arrowWidth:L,arrowHeight:P}),p&&zg({strategy:"referenceHidden",...$})]}),[ie,S]=Ec(X),xe=mn(x);Lt(()=>{Q&&xe?.()},[Q,xe]);const ke=B.arrow?.x,N=B.arrow?.y,fe=B.arrow?.centerOffset!==0,[De,Ee]=y.useState();return Lt(()=>{E&&Ee(window.getComputedStyle(E).zIndex)},[E]),m.jsx("div",{ref:Y.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:Q?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:De,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:m.jsx(qg,{scope:n,placedSide:ie,onArrowChange:O,arrowX:ke,arrowY:N,shouldHideArrow:fe,children:m.jsx(Ie.div,{"data-side":ie,"data-align":S,...g,ref:I,style:{...g.style,animation:Q?void 0:"none"}})})})});pc.displayName=Js;var gc="PopperArrow",Xg={top:"bottom",right:"left",bottom:"top",left:"right"},bc=y.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,s=Gg(gc,r),i=Xg[s.placedSide];return m.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:m.jsx(Vg,{...a,ref:n,style:{...a.style,display:"block"}})})});bc.displayName=gc;function Kg(e){return e!==null}var Qg=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,i=a.arrow?.centerOffset!==0,o=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,d]=Ec(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(a.arrow?.x??0)+o/2,h=(a.arrow?.y??0)+l/2;let x="",g="";return c==="bottom"?(x=i?f:`${p}px`,g=`${-l}px`):c==="top"?(x=i?f:`${p}px`,g=`${r.floating.height+l}px`):c==="right"?(x=`${-l}px`,g=i?f:`${h}px`):c==="left"&&(x=`${r.floating.width+l}px`,g=i?f:`${h}px`),{data:{x,y:g}}}});function Ec(e){const[t,n="center"]=e.split("-");return[t,n]}var Zg=fc,Tc=mc,Jg=pc,e1=bc;function t1(e){const t=n1(e),n=y.forwardRef((r,a)=>{const{children:s,...i}=r,o=y.Children.toArray(s),l=o.find(a1);if(l){const c=l.props.children,d=o.map(f=>f===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:f);return m.jsx(t,{...i,ref:a,children:y.isValidElement(c)?y.cloneElement(c,void 0,d):null})}return m.jsx(t,{...i,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function n1(e){const t=y.forwardRef((n,r)=>{const{children:a,...s}=n;if(y.isValidElement(a)){const i=i1(a),o=s1(s,a.props);return a.type!==y.Fragment&&(o.ref=r?ra(r,i):i),y.cloneElement(a,o)}return y.Children.count(a)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var r1=Symbol("radix.slottable");function a1(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===r1}function s1(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...o)=>{const l=s(...o);return a(...o),l}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function i1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fa="Popover",[xc]=aa(fa,[cc]),fr=cc(),[o1,qt]=xc(fa),ei=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:s,modal:i=!1}=e,o=fr(t),l=y.useRef(null),[c,d]=y.useState(!1),[f,p]=ks({prop:r,defaultProp:a??!1,onChange:s,caller:fa});return m.jsx(Zg,{...o,children:m.jsx(o1,{scope:t,contentId:Or(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:y.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:c,onCustomAnchorAdd:y.useCallback(()=>d(!0),[]),onCustomAnchorRemove:y.useCallback(()=>d(!1),[]),modal:i,children:n})})};ei.displayName=fa;var yc="PopoverAnchor",u1=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=qt(yc,n),s=fr(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:o}=a;return y.useEffect(()=>(i(),()=>o()),[i,o]),m.jsx(Tc,{...s,...r,ref:t})});u1.displayName=yc;var _c="PopoverTrigger",ti=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=qt(_c,n),s=fr(n),i=Xe(t,a.triggerRef),o=m.jsx(Ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Sc(a.open),...r,ref:i,onClick:Pe(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?o:m.jsx(Tc,{asChild:!0,...s,children:o})});ti.displayName=_c;var l1="PopoverPortal",[hA,c1]=xc(l1,{forceMount:void 0}),gn="PopoverContent",ni=y.forwardRef((e,t)=>{const n=c1(gn,e.__scopePopover),{forceMount:r=n.forceMount,...a}=e,s=qt(gn,e.__scopePopover);return m.jsx(_n,{present:r||s.open,children:s.modal?m.jsx(f1,{...a,ref:t}):m.jsx(h1,{...a,ref:t})})});ni.displayName=gn;var d1=t1("PopoverContent.RemoveScroll"),f1=y.forwardRef((e,t)=>{const n=qt(gn,e.__scopePopover),r=y.useRef(null),a=Xe(t,r),s=y.useRef(!1);return y.useEffect(()=>{const i=r.current;if(i)return dl(i)},[]),m.jsx(Ls,{as:d1,allowPinchZoom:!0,children:m.jsx(Cc,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pe(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Pe(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0,c=o.button===2||l;s.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:Pe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),h1=y.forwardRef((e,t)=>{const n=qt(gn,e.__scopePopover),r=y.useRef(!1),a=y.useRef(!1);return m.jsx(Cc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const i=s.target;n.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&a.current&&s.preventDefault()}})}),Cc=y.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:d,...f}=e,p=qt(gn,n),h=fr(n);return nl(),m.jsx(Rs,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:s,children:m.jsx(Os,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1),children:m.jsx(Jg,{"data-state":Sc(p.open),role:"dialog",id:p.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Ac="PopoverClose",m1=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=qt(Ac,n);return m.jsx(Ie.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,()=>a.onOpenChange(!1))})});m1.displayName=Ac;var p1="PopoverArrow",g1=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=fr(n);return m.jsx(e1,{...a,...r,ref:t})});g1.displayName=p1;function Sc(e){return e?"open":"closed"}var Nc=ei,Ic=ti,vc=ni;function ho(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const i=n.slice(a,r).trim();(i||!s)&&t.push(i),a=r+1,r=n.indexOf(",",a)}return t}function wc(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const b1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,E1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,T1={};function mo(e,t){return(T1.jsx?E1:b1).test(e)}const x1=/[ \t\n\f\r]/g;function y1(e){return typeof e=="object"?e.type==="text"?po(e.value):!1:po(e)}function po(e){return e.replace(x1,"")===""}let hr=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};hr.prototype.normal={};hr.prototype.property={};hr.prototype.space=void 0;function kc(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new hr(n,r,t)}function ar(e){return e.toLowerCase()}let Ue=class{constructor(t,n){this.attribute=n,this.property=t}};Ue.prototype.attribute="";Ue.prototype.booleanish=!1;Ue.prototype.boolean=!1;Ue.prototype.commaOrSpaceSeparated=!1;Ue.prototype.commaSeparated=!1;Ue.prototype.defined=!1;Ue.prototype.mustUseProperty=!1;Ue.prototype.number=!1;Ue.prototype.overloadedBoolean=!1;Ue.prototype.property="";Ue.prototype.spaceSeparated=!1;Ue.prototype.space=void 0;let _1=0;const re=Gt(),ye=Gt(),hs=Gt(),W=Gt(),me=Gt(),dn=Gt(),We=Gt();function Gt(){return 2**++_1}const ms=Object.freeze(Object.defineProperty({__proto__:null,boolean:re,booleanish:ye,commaOrSpaceSeparated:We,commaSeparated:dn,number:W,overloadedBoolean:hs,spaceSeparated:me},Symbol.toStringTag,{value:"Module"})),Ma=Object.keys(ms);let ri=class extends Ue{constructor(t,n,r,a){let s=-1;if(super(t,n),go(this,"space",a),typeof r=="number")for(;++s<Ma.length;){const i=Ma[s];go(this,Ma[s],(r&ms[i])===ms[i])}}};ri.prototype.defined=!0;function go(e,t,n){n&&(e[t]=n)}function In(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new ri(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ar(r)]=r,n[ar(s.attribute)]=r}return new hr(t,n,e.space)}const Oc=In({properties:{ariaActiveDescendant:null,ariaAtomic:ye,ariaAutoComplete:null,ariaBusy:ye,ariaChecked:ye,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:me,ariaCurrent:null,ariaDescribedBy:me,ariaDetails:null,ariaDisabled:ye,ariaDropEffect:me,ariaErrorMessage:null,ariaExpanded:ye,ariaFlowTo:me,ariaGrabbed:ye,ariaHasPopup:null,ariaHidden:ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:me,ariaLevel:W,ariaLive:null,ariaModal:ye,ariaMultiLine:ye,ariaMultiSelectable:ye,ariaOrientation:null,ariaOwns:me,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:ye,ariaReadOnly:ye,ariaRelevant:null,ariaRequired:ye,ariaRoleDescription:me,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:ye,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Rc(e,t){return t in e?e[t]:t}function Lc(e,t){return Rc(e,t.toLowerCase())}const C1=In({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:dn,acceptCharset:me,accessKey:me,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:me,autoFocus:re,autoPlay:re,blocking:me,capture:null,charSet:null,checked:re,cite:null,className:me,cols:W,colSpan:null,content:null,contentEditable:ye,controls:re,controlsList:me,coords:W|dn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:hs,draggable:ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:me,height:W,hidden:hs,high:W,href:null,hrefLang:null,htmlFor:me,httpEquiv:me,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:me,itemRef:me,itemScope:re,itemType:me,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:re,optimum:W,pattern:null,ping:me,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:me,required:re,reversed:re,rows:W,rowSpan:W,sandbox:me,scope:null,scoped:re,seamless:re,selected:re,shadowRootClonable:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:ye,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:me,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:ye,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:W,security:null,unselectable:null},space:"html",transform:Lc}),A1=In({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:We,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:me,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:dn,g2:dn,glyphName:dn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:We,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:me,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:We,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:We,rev:We,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:We,requiredFeatures:We,requiredFonts:We,requiredFormats:We,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:We,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:We,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:We,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Rc}),Pc=In({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Dc=In({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Lc}),Mc=In({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),S1={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},N1=/[A-Z]/g,bo=/-[a-z]/g,I1=/^data[-\w.:]+$/i;function ai(e,t){const n=ar(t);let r=t,a=Ue;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&I1.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(bo,w1);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!bo.test(s)){let i=s.replace(N1,v1);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=ri}return new a(r,t)}function v1(e){return"-"+e.toLowerCase()}function w1(e){return e.charAt(1).toUpperCase()}const ha=kc([Oc,C1,Pc,Dc,Mc],"html"),vn=kc([Oc,A1,Pc,Dc,Mc],"svg");function Eo(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Bc(e){return e.join(" ").trim()}var an={},Ba,To;function k1(){if(To)return Ba;To=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
62
+ `,c="/",d="*",f="",p="comment",h="declaration";function x(C,E){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];E=E||{};var A=1,I=1;function v(Y){var F=Y.match(t);F&&(A+=F.length);var X=Y.lastIndexOf(l);I=~X?Y.length-X:I+Y.length}function O(){var Y={line:A,column:I};return function(F){return F.position=new w(Y),q(),F}}function w(Y){this.start=Y,this.end={line:A,column:I},this.source=E.source}w.prototype.content=C;function L(Y){var F=new Error(E.source+":"+A+":"+I+": "+Y);if(F.reason=Y,F.filename=E.source,F.line=A,F.column=I,F.source=C,!E.silent)throw F}function P(Y){var F=Y.exec(C);if(F){var X=F[0];return v(X),C=C.slice(X.length),F}}function q(){P(n)}function K(Y){var F;for(Y=Y||[];F=U();)F!==!1&&Y.push(F);return Y}function U(){var Y=O();if(!(c!=C.charAt(0)||d!=C.charAt(1))){for(var F=2;f!=C.charAt(F)&&(d!=C.charAt(F)||c!=C.charAt(F+1));)++F;if(F+=2,f===C.charAt(F-1))return L("End of comment missing");var X=C.slice(2,F-2);return I+=2,v(X),C=C.slice(F),I+=2,Y({type:p,comment:X})}}function z(){var Y=O(),F=P(r);if(F){if(U(),!P(a))return L("property missing ':'");var X=P(s),Q=Y({type:h,property:g(F[0].replace(e,f)),value:X?g(X[0].replace(e,f)):f});return P(i),Q}}function $(){var Y=[];K(Y);for(var F;F=z();)F!==!1&&(Y.push(F),K(Y));return Y}return q(),$()}function g(C){return C?C.replace(o,f):f}return Ba=x,Ba}var xo;function O1(){if(xo)return an;xo=1;var e=an&&an.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(an,"__esModule",{value:!0}),an.default=n;const t=e(k1());function n(r,a){let s=null;if(!r||typeof r!="string")return s;const i=(0,t.default)(r),o=typeof a=="function";return i.forEach(l=>{if(l.type!=="declaration")return;const{property:c,value:d}=l;o?a(c,d,l):d&&(s=s||{},s[c]=d)}),s}return an}var Bn={},yo;function R1(){if(yo)return Bn;yo=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(c){return!c||n.test(c)||e.test(c)},i=function(c,d){return d.toUpperCase()},o=function(c,d){return"".concat(d,"-")},l=function(c,d){return d===void 0&&(d={}),s(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(a,o):c=c.replace(r,o),c.replace(t,i))};return Bn.camelCase=l,Bn}var Fn,_o;function L1(){if(_o)return Fn;_o=1;var e=Fn&&Fn.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(O1()),n=R1();function r(a,s){var i={};return!a||typeof a!="string"||(0,t.default)(a,function(o,l){o&&l&&(i[(0,n.camelCase)(o,s)]=l)}),i}return r.default=r,Fn=r,Fn}var P1=L1();const D1=Iu(P1),ma=Fc("end"),bt=Fc("start");function Fc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function M1(e){const t=bt(e),n=ma(e);if(t&&n)return{start:t,end:n}}function qn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Co(e.position):"start"in e||"end"in e?Co(e):"line"in e||"column"in e?ps(e):""}function ps(e){return Ao(e&&e.line)+":"+Ao(e&&e.column)}function Co(e){return ps(e&&e.start)+"-"+ps(e&&e.end)}function Ao(e){return e&&typeof e=="number"?e:1}class ve extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",s={},i=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?a=t:!s.cause&&t&&(i=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=o?o.line:void 0,this.name=qn(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ve.prototype.file="";ve.prototype.name="";ve.prototype.reason="";ve.prototype.message="";ve.prototype.stack="";ve.prototype.column=void 0;ve.prototype.line=void 0;ve.prototype.ancestors=void 0;ve.prototype.cause=void 0;ve.prototype.fatal=void 0;ve.prototype.place=void 0;ve.prototype.ruleId=void 0;ve.prototype.source=void 0;const si={}.hasOwnProperty,B1=new Map,F1=/[A-Z]/g,H1=new Set(["table","tbody","thead","tfoot","tr"]),U1=new Set(["td","th"]),Hc="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function j1(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=X1(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=G1(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?vn:ha,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=Uc(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function Uc(e,t,n){if(t.type==="element")return z1(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Y1(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return V1(e,t,n);if(t.type==="mdxjsEsm")return W1(e,t);if(t.type==="root")return $1(e,t,n);if(t.type==="text")return q1(e,t)}function z1(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=vn,e.schema=a),e.ancestors.push(t);const s=zc(e,t.tagName,!1),i=K1(e,t);let o=oi(e,t);return H1.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!y1(l):!0})),jc(e,i,s,t),ii(i,o),e.ancestors.pop(),e.schema=r,e.create(t,s,i,n)}function Y1(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}sr(e,t.position)}function W1(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sr(e,t.position)}function V1(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=vn,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:zc(e,t.name,!0),i=Q1(e,t),o=oi(e,t);return jc(e,i,s,t),ii(i,o),e.ancestors.pop(),e.schema=r,e.create(t,s,i,n)}function $1(e,t,n){const r={};return ii(r,oi(e,t)),e.create(t,e.Fragment,r,n)}function q1(e,t){return t.value}function jc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ii(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function G1(e,t,n){return r;function r(a,s,i,o){const c=Array.isArray(i.children)?n:t;return o?c(s,i,o):c(s,i)}}function X1(e,t){return n;function n(r,a,s,i){const o=Array.isArray(s.children),l=bt(r);return t(a,s,i,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function K1(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&si.call(t.properties,a)){const s=Z1(e,a,t.properties[a]);if(s){const[i,o]=s;e.tableCellAlignToStyle&&i==="align"&&typeof o=="string"&&U1.has(t.tagName)?r=o:n[i]=o}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Q1(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const i=s.expression;i.type;const o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else sr(e,t.position);else{const a=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,s=e.evaluater.evaluateExpression(o.expression)}else sr(e,t.position);else s=r.value===null?!0:r.value;n[a]=s}return n}function oi(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:B1;for(;++r<t.children.length;){const s=t.children[r];let i;if(e.passKeys){const l=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(l){const c=a.get(l)||0;i=l+"-"+c,a.set(l,c+1)}}const o=Uc(e,s,i);o!==void 0&&n.push(o)}return n}function Z1(e,t,n){const r=ai(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?wc(n):Bc(n)),r.property==="style"){let a=typeof n=="object"?n:J1(e,String(n));return e.stylePropertyNameCase==="css"&&(a=eb(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?S1[r.property]||r.property:r.attribute,n]}}function J1(e,t){try{return D1(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new ve("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Hc+"#cannot-parse-style-attribute",a}}function zc(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,i;for(;++s<a.length;){const o=mo(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};i=i?{type:"MemberExpression",object:i,property:o,computed:!!(s&&o.type==="Literal"),optional:!1}:o}r=i}else r=mo(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return si.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);sr(e)}function sr(e,t){const n=new ve("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Hc+"#cannot-handle-mdx-estrees-without-createevaluater",n}function eb(e){const t={};let n;for(n in e)si.call(e,n)&&(t[tb(n)]=e[n]);return t}function tb(e){let t=e.replace(F1,nb);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function nb(e){return"-"+e.toLowerCase()}const Fa={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},rb={};function ab(e,t){const n=rb,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Yc(e,r,a)}function Yc(e,t,n){if(sb(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return So(e.children,t,n)}return Array.isArray(e)?So(e,t,n):""}function So(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=Yc(e[a],t,n);return r.join("")}function sb(e){return!!(e&&typeof e=="object")}const No=document.createElement("i");function ui(e){const t="&"+e+";";No.innerHTML=t;const n=No.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function pt(e,t,n,r){const a=e.length;let s=0,i;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Ke(e,t){return e.length>0?(pt(e,e.length,0,t),e):t}const Io={}.hasOwnProperty;function ib(e){const t={};let n=-1;for(;++n<e.length;)ob(t,e[n]);return t}function ob(e,t){let n;for(n in t){const a=(Io.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let i;if(s)for(i in s){Io.call(a,i)||(a[i]=[]);const o=s[i];ub(a[i],Array.isArray(o)?o:o?[o]:[])}}}function ub(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);pt(e,0,0,r)}function Wc(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function fn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ct=Mt(/[A-Za-z]/),qe=Mt(/[\dA-Za-z]/),lb=Mt(/[#-'*+\--9=?A-Z^-~]/);function gs(e){return e!==null&&(e<32||e===127)}const bs=Mt(/\d/),cb=Mt(/[\dA-Fa-f]/),db=Mt(/[!-/:-@[-`{-~]/);function ee(e){return e!==null&&e<-2}function He(e){return e!==null&&(e<0||e===32)}function le(e){return e===-2||e===-1||e===32}const fb=Mt(new RegExp("\\p{P}|\\p{S}","u")),hb=Mt(/\s/);function Mt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function wn(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let i="";if(s===37&&qe(e.charCodeAt(n+1))&&qe(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(i=String.fromCharCode(s));else if(s>55295&&s<57344){const o=e.charCodeAt(n+1);s<56320&&o>56319&&o<57344?(i=String.fromCharCode(s,o),a=1):i="�"}else i=String.fromCharCode(s);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function ge(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return i;function i(l){return le(l)?(e.enter(n),o(l)):t(l)}function o(l){return le(l)&&s++<a?(e.consume(l),o):(e.exit(n),t(l))}}const mb={tokenize:pb};function pb(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ge(e,t,"linePrefix")}function a(o){return e.enter("paragraph"),s(o)}function s(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,i(o)}function i(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ee(o)?(e.consume(o),e.exit("chunkText"),s):(e.consume(o),i)}}const gb={tokenize:bb},vo={tokenize:Eb};function bb(e){const t=this,n=[];let r=0,a,s,i;return o;function o(I){if(r<n.length){const v=n[r];return t.containerState=v[1],e.attempt(v[0].continuation,l,c)(I)}return c(I)}function l(I){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&A();const v=t.events.length;let O=v,w;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){w=t.events[O][1].end;break}E(r);let L=v;for(;L<t.events.length;)t.events[L][1].end={...w},L++;return pt(t.events,O+1,0,t.events.slice(v)),t.events.length=L,c(I)}return o(I)}function c(I){if(r===n.length){if(!a)return p(I);if(a.currentConstruct&&a.currentConstruct.concrete)return x(I);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(vo,d,f)(I)}function d(I){return a&&A(),E(r),p(I)}function f(I){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,x(I)}function p(I){return t.containerState={},e.attempt(vo,h,x)(I)}function h(I){return r++,n.push([t.currentConstruct,t.containerState]),p(I)}function x(I){if(I===null){a&&A(),E(0),e.consume(I);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),g(I)}function g(I){if(I===null){C(e.exit("chunkFlow"),!0),E(0),e.consume(I);return}return ee(I)?(e.consume(I),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(I),g)}function C(I,v){const O=t.sliceStream(I);if(v&&O.push(null),I.previous=s,s&&(s.next=I),s=I,a.defineSkip(I.start),a.write(O),t.parser.lazy[I.start.line]){let w=a.events.length;for(;w--;)if(a.events[w][1].start.offset<i&&(!a.events[w][1].end||a.events[w][1].end.offset>i))return;const L=t.events.length;let P=L,q,K;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(q){K=t.events[P][1].end;break}q=!0}for(E(r),w=L;w<t.events.length;)t.events[w][1].end={...K},w++;pt(t.events,P+1,0,t.events.slice(L)),t.events.length=w}}function E(I){let v=n.length;for(;v-- >I;){const O=n[v];t.containerState=O[1],O[0].exit.call(t,e)}n.length=I}function A(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Eb(e,t,n){return ge(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wo(e){if(e===null||He(e)||hb(e))return 1;if(fb(e))return 2}function li(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Es={name:"attention",resolveAll:Tb,tokenize:xb};function Tb(e,t){let n=-1,r,a,s,i,o,l,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};ko(f,-l),ko(p,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},s={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:l>1?"strong":"emphasis",start:{...i.start},end:{...o.end}},e[r][1].end={...i.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ke(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ke(c,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",s,t]]),c=Ke(c,li(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ke(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Ke(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,pt(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function xb(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=wo(r);let s;return i;function i(l){return s=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===s)return e.consume(l),o;const c=e.exit("attentionSequence"),d=wo(l),f=!d||d===2&&a||n.includes(l),p=!a||a===2&&d||n.includes(r);return c._open=!!(s===42?f:f&&(a||!p)),c._close=!!(s===42?p:p&&(d||!f)),t(l)}}function ko(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const yb={name:"autolink",tokenize:_b};function _b(e,t,n){let r=0;return a;function a(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(h){return ct(h)?(e.consume(h),i):h===64?n(h):c(h)}function i(h){return h===43||h===45||h===46||qe(h)?(r=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),r=0,l):(h===43||h===45||h===46||qe(h))&&r++<32?(e.consume(h),o):(r=0,c(h))}function l(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||gs(h)?n(h):(e.consume(h),l)}function c(h){return h===64?(e.consume(h),d):lb(h)?(e.consume(h),c):n(h)}function d(h){return qe(h)?f(h):n(h)}function f(h){return h===46?(e.consume(h),r=0,d):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||qe(h))&&r++<63){const x=h===45?p:f;return e.consume(h),x}return n(h)}}const pa={partial:!0,tokenize:Cb};function Cb(e,t,n){return r;function r(s){return le(s)?ge(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||ee(s)?t(s):n(s)}}const Vc={continuation:{tokenize:Sb},exit:Nb,name:"blockQuote",tokenize:Ab};function Ab(e,t,n){const r=this;return a;function a(i){if(i===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),s}return n(i)}function s(i){return le(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}function Sb(e,t,n){const r=this;return a;function a(i){return le(i)?ge(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):s(i)}function s(i){return e.attempt(Vc,t,n)(i)}}function Nb(e){e.exit("blockQuote")}const $c={name:"characterEscape",tokenize:Ib};function Ib(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return db(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const qc={name:"characterReference",tokenize:vb};function vb(e,t,n){const r=this;let a=0,s,i;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),s=31,i=qe,d(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,i=cb,d):(e.enter("characterReferenceValue"),s=7,i=bs,d(f))}function d(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return i===qe&&!ui(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(f)&&a++<s?(e.consume(f),d):n(f)}}const Oo={partial:!0,tokenize:kb},Ro={concrete:!0,name:"codeFenced",tokenize:wb};function wb(e,t,n){const r=this,a={partial:!0,tokenize:O};let s=0,i=0,o;return l;function l(w){return c(w)}function c(w){const L=r.events[r.events.length-1];return s=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,o=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(w)}function d(w){return w===o?(i++,e.consume(w),d):i<3?n(w):(e.exit("codeFencedFenceSequence"),le(w)?ge(e,f,"whitespace")(w):f(w))}function f(w){return w===null||ee(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(Oo,g,v)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||ee(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(w)):le(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ge(e,h,"whitespace")(w)):w===96&&w===o?n(w):(e.consume(w),p)}function h(w){return w===null||ee(w)?f(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(w))}function x(w){return w===null||ee(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(w)):w===96&&w===o?n(w):(e.consume(w),x)}function g(w){return e.attempt(a,v,C)(w)}function C(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),E}function E(w){return s>0&&le(w)?ge(e,A,"linePrefix",s+1)(w):A(w)}function A(w){return w===null||ee(w)?e.check(Oo,g,v)(w):(e.enter("codeFlowValue"),I(w))}function I(w){return w===null||ee(w)?(e.exit("codeFlowValue"),A(w)):(e.consume(w),I)}function v(w){return e.exit("codeFenced"),t(w)}function O(w,L,P){let q=0;return K;function K(F){return w.enter("lineEnding"),w.consume(F),w.exit("lineEnding"),U}function U(F){return w.enter("codeFencedFence"),le(F)?ge(w,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):z(F)}function z(F){return F===o?(w.enter("codeFencedFenceSequence"),$(F)):P(F)}function $(F){return F===o?(q++,w.consume(F),$):q>=i?(w.exit("codeFencedFenceSequence"),le(F)?ge(w,Y,"whitespace")(F):Y(F)):P(F)}function Y(F){return F===null||ee(F)?(w.exit("codeFencedFence"),L(F)):P(F)}}}function kb(e,t,n){const r=this;return a;function a(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}const Ha={name:"codeIndented",tokenize:Rb},Ob={partial:!0,tokenize:Lb};function Rb(e,t,n){const r=this;return a;function a(c){return e.enter("codeIndented"),ge(e,s,"linePrefix",5)(c)}function s(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?i(c):n(c)}function i(c){return c===null?l(c):ee(c)?e.attempt(Ob,i,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||ee(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Lb(e,t,n){const r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):ee(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):ge(e,s,"linePrefix",5)(i)}function s(i){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):ee(i)?a(i):n(i)}}const Pb={name:"codeText",previous:Mb,resolve:Db,tokenize:Bb};function Db(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function Mb(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Bb(e,t,n){let r=0,a,s;return i;function i(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(s=e.enter("codeTextSequence"),a=0,d(f)):ee(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||ee(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function d(f){return f===96?(e.consume(f),a++,d):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",c(f))}}class Fb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&Hn(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Hn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Hn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Hn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Hn(this.left,n.reverse())}}}function Hn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Gc(e){const t={};let n=-1,r,a,s,i,o,l,c;const d=new Fb(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,s=0,s<l.length&&l[s][1].type==="lineEndingBlank"&&(s+=2),s<l.length&&l[s][1].type==="content"))for(;++s<l.length&&l[s][1].type!=="content";)l[s][1].type==="chunkText"&&(l[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Hb(d,n)),n=t[n],c=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(i=d.get(s),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(a&&(d.get(a)[1].type="lineEndingBlank"),i[1].type="lineEnding",a=s);else if(!(i[1].type==="linePrefix"||i[1].type==="listItemIndent"))break;a&&(r[1].end={...d.get(a)[1].start},o=d.slice(a,n),o.unshift(r),d.splice(a,n-a+1,o))}}return pt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function Hb(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const o=i.events,l=[],c={};let d,f,p=-1,h=n,x=0,g=0;const C=[g];for(;h;){for(;e.get(++a)[1]!==h;);s.push(a),h._tokenizer||(d=r.sliceStream(h),h.next||d.push(null),f&&i.defineSkip(h.start),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(d),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(g=p+1,C.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(i.events=[],h?(h._tokenizer=void 0,h.previous=void 0):C.pop(),p=C.length;p--;){const E=o.slice(C[p],C[p+1]),A=s.pop();l.push([A,A+E.length-1]),e.splice(A,2,E)}for(l.reverse(),p=-1;++p<l.length;)c[x+l[p][0]]=x+l[p][1],x+=l[p][1]-l[p][0]-1;return c}const Ub={resolve:zb,tokenize:Yb},jb={partial:!0,tokenize:Wb};function zb(e){return Gc(e),e}function Yb(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?s(o):ee(o)?e.check(jb,i,s)(o):(e.consume(o),a)}function s(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function i(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function Wb(e,t,n){const r=this;return a;function a(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),ge(e,s,"linePrefix")}function s(i){if(i===null||ee(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Xc(e,t,n,r,a,s,i,o,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return f;function f(E){return E===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(E),e.exit(s),p):E===null||E===32||E===41||gs(E)?n(E):(e.enter(r),e.enter(i),e.enter(o),e.enter("chunkString",{contentType:"string"}),g(E))}function p(E){return E===62?(e.enter(s),e.consume(E),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(E))}function h(E){return E===62?(e.exit("chunkString"),e.exit(o),p(E)):E===null||E===60||ee(E)?n(E):(e.consume(E),E===92?x:h)}function x(E){return E===60||E===62||E===92?(e.consume(E),h):h(E)}function g(E){return!d&&(E===null||E===41||He(E))?(e.exit("chunkString"),e.exit(o),e.exit(i),e.exit(r),t(E)):d<c&&E===40?(e.consume(E),d++,g):E===41?(e.consume(E),d--,g):E===null||E===32||E===40||gs(E)?n(E):(e.consume(E),E===92?C:g)}function C(E){return E===40||E===41||E===92?(e.consume(E),g):g(E)}}function Kc(e,t,n,r,a,s){const i=this;let o=0,l;return c;function c(h){return e.enter(r),e.enter(a),e.consume(h),e.exit(a),e.enter(s),d}function d(h){return o>999||h===null||h===91||h===93&&!l||h===94&&!o&&"_hiddenFootnoteSupport"in i.parser.constructs?n(h):h===93?(e.exit(s),e.enter(a),e.consume(h),e.exit(a),e.exit(r),t):ee(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||ee(h)||o++>999?(e.exit("chunkString"),d(h)):(e.consume(h),l||(l=!le(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function Qc(e,t,n,r,a,s){let i;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(a),e.consume(p),e.exit(a),i=p===40?41:p,l):n(p)}function l(p){return p===i?(e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):(e.enter(s),c(p))}function c(p){return p===i?(e.exit(s),l(i)):p===null?n(p):ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),ge(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===i||p===null||ee(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:d)}function f(p){return p===i||p===92?(e.consume(p),d):d(p)}}function Gn(e,t){let n;return r;function r(a){return ee(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):le(a)?ge(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const Vb={name:"definition",tokenize:qb},$b={partial:!0,tokenize:Gb};function qb(e,t,n){const r=this;let a;return s;function s(h){return e.enter("definition"),i(h)}function i(h){return Kc.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return a=fn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):n(h)}function l(h){return He(h)?Gn(e,c)(h):c(h)}function c(h){return Xc(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function d(h){return e.attempt($b,f,f)(h)}function f(h){return le(h)?ge(e,p,"whitespace")(h):p(h)}function p(h){return h===null||ee(h)?(e.exit("definition"),r.parser.defined.push(a),t(h)):n(h)}}function Gb(e,t,n){return r;function r(o){return He(o)?Gn(e,a)(o):n(o)}function a(o){return Qc(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return le(o)?ge(e,i,"whitespace")(o):i(o)}function i(o){return o===null||ee(o)?t(o):n(o)}}const Xb={name:"hardBreakEscape",tokenize:Kb};function Kb(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return ee(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const Qb={name:"headingAtx",resolve:Zb,tokenize:Jb};function Zb(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},pt(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function Jb(e,t,n){let r=0;return a;function a(d){return e.enter("atxHeading"),s(d)}function s(d){return e.enter("atxHeadingSequence"),i(d)}function i(d){return d===35&&r++<6?(e.consume(d),i):d===null||He(d)?(e.exit("atxHeadingSequence"),o(d)):n(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||ee(d)?(e.exit("atxHeading"),t(d)):le(d)?ge(e,o,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function c(d){return d===null||d===35||He(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),c)}}const eE=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Lo=["pre","script","style","textarea"],tE={concrete:!0,name:"htmlFlow",resolveTo:aE,tokenize:sE},nE={partial:!0,tokenize:oE},rE={partial:!0,tokenize:iE};function aE(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function sE(e,t,n){const r=this;let a,s,i,o,l;return c;function c(N){return d(N)}function d(N){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(N),f}function f(N){return N===33?(e.consume(N),p):N===47?(e.consume(N),s=!0,g):N===63?(e.consume(N),a=3,r.interrupt?t:S):ct(N)?(e.consume(N),i=String.fromCharCode(N),C):n(N)}function p(N){return N===45?(e.consume(N),a=2,h):N===91?(e.consume(N),a=5,o=0,x):ct(N)?(e.consume(N),a=4,r.interrupt?t:S):n(N)}function h(N){return N===45?(e.consume(N),r.interrupt?t:S):n(N)}function x(N){const fe="CDATA[";return N===fe.charCodeAt(o++)?(e.consume(N),o===fe.length?r.interrupt?t:z:x):n(N)}function g(N){return ct(N)?(e.consume(N),i=String.fromCharCode(N),C):n(N)}function C(N){if(N===null||N===47||N===62||He(N)){const fe=N===47,De=i.toLowerCase();return!fe&&!s&&Lo.includes(De)?(a=1,r.interrupt?t(N):z(N)):eE.includes(i.toLowerCase())?(a=6,fe?(e.consume(N),E):r.interrupt?t(N):z(N)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(N):s?A(N):I(N))}return N===45||qe(N)?(e.consume(N),i+=String.fromCharCode(N),C):n(N)}function E(N){return N===62?(e.consume(N),r.interrupt?t:z):n(N)}function A(N){return le(N)?(e.consume(N),A):K(N)}function I(N){return N===47?(e.consume(N),K):N===58||N===95||ct(N)?(e.consume(N),v):le(N)?(e.consume(N),I):K(N)}function v(N){return N===45||N===46||N===58||N===95||qe(N)?(e.consume(N),v):O(N)}function O(N){return N===61?(e.consume(N),w):le(N)?(e.consume(N),O):I(N)}function w(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),l=N,L):le(N)?(e.consume(N),w):P(N)}function L(N){return N===l?(e.consume(N),l=null,q):N===null||ee(N)?n(N):(e.consume(N),L)}function P(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||He(N)?O(N):(e.consume(N),P)}function q(N){return N===47||N===62||le(N)?I(N):n(N)}function K(N){return N===62?(e.consume(N),U):n(N)}function U(N){return N===null||ee(N)?z(N):le(N)?(e.consume(N),U):n(N)}function z(N){return N===45&&a===2?(e.consume(N),X):N===60&&a===1?(e.consume(N),Q):N===62&&a===4?(e.consume(N),xe):N===63&&a===3?(e.consume(N),S):N===93&&a===5?(e.consume(N),ie):ee(N)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(nE,ke,$)(N)):N===null||ee(N)?(e.exit("htmlFlowData"),$(N)):(e.consume(N),z)}function $(N){return e.check(rE,Y,ke)(N)}function Y(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),F}function F(N){return N===null||ee(N)?$(N):(e.enter("htmlFlowData"),z(N))}function X(N){return N===45?(e.consume(N),S):z(N)}function Q(N){return N===47?(e.consume(N),i="",B):z(N)}function B(N){if(N===62){const fe=i.toLowerCase();return Lo.includes(fe)?(e.consume(N),xe):z(N)}return ct(N)&&i.length<8?(e.consume(N),i+=String.fromCharCode(N),B):z(N)}function ie(N){return N===93?(e.consume(N),S):z(N)}function S(N){return N===62?(e.consume(N),xe):N===45&&a===2?(e.consume(N),S):z(N)}function xe(N){return N===null||ee(N)?(e.exit("htmlFlowData"),ke(N)):(e.consume(N),xe)}function ke(N){return e.exit("htmlFlow"),t(N)}}function iE(e,t,n){const r=this;return a;function a(i){return ee(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s):n(i)}function s(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}function oE(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(pa,t,n)}}const uE={name:"htmlText",tokenize:lE};function lE(e,t,n){const r=this;let a,s,i;return o;function o(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),l}function l(S){return S===33?(e.consume(S),c):S===47?(e.consume(S),O):S===63?(e.consume(S),I):ct(S)?(e.consume(S),P):n(S)}function c(S){return S===45?(e.consume(S),d):S===91?(e.consume(S),s=0,x):ct(S)?(e.consume(S),A):n(S)}function d(S){return S===45?(e.consume(S),h):n(S)}function f(S){return S===null?n(S):S===45?(e.consume(S),p):ee(S)?(i=f,Q(S)):(e.consume(S),f)}function p(S){return S===45?(e.consume(S),h):f(S)}function h(S){return S===62?X(S):S===45?p(S):f(S)}function x(S){const xe="CDATA[";return S===xe.charCodeAt(s++)?(e.consume(S),s===xe.length?g:x):n(S)}function g(S){return S===null?n(S):S===93?(e.consume(S),C):ee(S)?(i=g,Q(S)):(e.consume(S),g)}function C(S){return S===93?(e.consume(S),E):g(S)}function E(S){return S===62?X(S):S===93?(e.consume(S),E):g(S)}function A(S){return S===null||S===62?X(S):ee(S)?(i=A,Q(S)):(e.consume(S),A)}function I(S){return S===null?n(S):S===63?(e.consume(S),v):ee(S)?(i=I,Q(S)):(e.consume(S),I)}function v(S){return S===62?X(S):I(S)}function O(S){return ct(S)?(e.consume(S),w):n(S)}function w(S){return S===45||qe(S)?(e.consume(S),w):L(S)}function L(S){return ee(S)?(i=L,Q(S)):le(S)?(e.consume(S),L):X(S)}function P(S){return S===45||qe(S)?(e.consume(S),P):S===47||S===62||He(S)?q(S):n(S)}function q(S){return S===47?(e.consume(S),X):S===58||S===95||ct(S)?(e.consume(S),K):ee(S)?(i=q,Q(S)):le(S)?(e.consume(S),q):X(S)}function K(S){return S===45||S===46||S===58||S===95||qe(S)?(e.consume(S),K):U(S)}function U(S){return S===61?(e.consume(S),z):ee(S)?(i=U,Q(S)):le(S)?(e.consume(S),U):q(S)}function z(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),a=S,$):ee(S)?(i=z,Q(S)):le(S)?(e.consume(S),z):(e.consume(S),Y)}function $(S){return S===a?(e.consume(S),a=void 0,F):S===null?n(S):ee(S)?(i=$,Q(S)):(e.consume(S),$)}function Y(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||He(S)?q(S):(e.consume(S),Y)}function F(S){return S===47||S===62||He(S)?q(S):n(S)}function X(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function Q(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),B}function B(S){return le(S)?ge(e,ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):ie(S)}function ie(S){return e.enter("htmlTextData"),i(S)}}const ci={name:"labelEnd",resolveAll:hE,resolveTo:mE,tokenize:pE},cE={tokenize:gE},dE={tokenize:bE},fE={tokenize:EE};function hE(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&pt(e,0,e.length,n),e}function mE(e,t){let n=e.length,r=0,a,s,i,o;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(i=n);const l={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[s][1].start},end:{...e[i][1].end}},d={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=Ke(o,e.slice(s+1,s+r+3)),o=Ke(o,[["enter",d,t]]),o=Ke(o,li(t.parser.constructs.insideSpan.null,e.slice(s+r+4,i-3),t)),o=Ke(o,[["exit",d,t],e[i-2],e[i-1],["exit",c,t]]),o=Ke(o,e.slice(i+1)),o=Ke(o,[["exit",l,t]]),pt(e,s,e.length,o),e}function pE(e,t,n){const r=this;let a=r.events.length,s,i;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return o;function o(p){return s?s._inactive?f(p):(i=r.parser.defined.includes(fn(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(cE,d,i?d:f)(p):p===91?e.attempt(dE,d,i?c:f)(p):i?d(p):f(p)}function c(p){return e.attempt(fE,d,f)(p)}function d(p){return t(p)}function f(p){return s._balanced=!0,n(p)}}function gE(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),a}function a(f){return He(f)?Gn(e,s)(f):s(f)}function s(f){return f===41?d(f):Xc(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function i(f){return He(f)?Gn(e,l)(f):d(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Qc(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return He(f)?Gn(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function bE(e,t,n){const r=this;return a;function a(o){return Kc.call(r,e,s,i,"reference","referenceMarker","referenceString")(o)}function s(o){return r.parser.defined.includes(fn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function i(o){return n(o)}}function EE(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const TE={name:"labelStartImage",resolveAll:ci.resolveAll,tokenize:xE};function xE(e,t,n){const r=this;return a;function a(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),s}function s(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),i):n(o)}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const yE={name:"labelStartLink",resolveAll:ci.resolveAll,tokenize:_E};function _E(e,t,n){const r=this;return a;function a(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),s}function s(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}const Ua={name:"lineEnding",tokenize:CE};function CE(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ge(e,t,"linePrefix")}}const Dr={name:"thematicBreak",tokenize:AE};function AE(e,t,n){let r=0,a;return s;function s(c){return e.enter("thematicBreak"),i(c)}function i(c){return a=c,o(c)}function o(c){return c===a?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ee(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===a?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),le(c)?ge(e,o,"whitespace")(c):o(c))}}const Fe={continuation:{tokenize:vE},exit:kE,name:"list",tokenize:IE},SE={partial:!0,tokenize:OE},NE={partial:!0,tokenize:wE};function IE(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,i=0;return o;function o(h){const x=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:bs(h)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Dr,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return n(h)}function l(h){return bs(h)&&++i<10?(e.consume(h),l):(!r.interrupt||i<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(pa,r.interrupt?n:d,e.attempt(SE,p,f))}function d(h){return r.containerState.initialBlankLine=!0,s++,p(h)}function f(h){return le(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):n(h)}function p(h){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function vE(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(pa,a,s);function a(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ge(e,t,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!le(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(NE,t,i)(o))}function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ge(e,e.attempt(Fe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function wE(e,t,n){const r=this;return ge(e,a,"listItemIndent",r.containerState.size+1);function a(s){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(s):n(s)}}function kE(e){e.exit(this.containerState.type)}function OE(e,t,n){const r=this;return ge(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const i=r.events[r.events.length-1];return!le(s)&&i&&i[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Po={name:"setextUnderline",resolveTo:RE,tokenize:LE};function RE(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",i,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=i,e.push(["exit",i,t]),e}function LE(e,t,n){const r=this;let a;return s;function s(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),a=c,i(c)):n(c)}function i(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===a?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),le(c)?ge(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ee(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const PE={tokenize:DE};function DE(e){const t=this,n=e.attempt(pa,r,e.attempt(this.parser.constructs.flowInitial,a,ge(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Ub,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const ME={resolveAll:Jc()},BE=Zc("string"),FE=Zc("text");function Zc(e){return{resolveAll:Jc(e==="text"?HE:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,i,o);return i;function i(d){return c(d)?s(d):o(d)}function o(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),s(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const f=a[d];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function Jc(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}function HE(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let s=a.length,i=-1,o=0,l;for(;s--;){const c=a[s];if(typeof c=="string"){for(i=c.length;c.charCodeAt(i-1)===32;)o++,i--;if(i)break;i=-1}else if(c===-2)l=!0,o++;else if(c!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?i:r.start._bufferIndex+i,_index:r.start._index+s,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const UE={42:Fe,43:Fe,45:Fe,48:Fe,49:Fe,50:Fe,51:Fe,52:Fe,53:Fe,54:Fe,55:Fe,56:Fe,57:Fe,62:Vc},jE={91:Vb},zE={[-2]:Ha,[-1]:Ha,32:Ha},YE={35:Qb,42:Dr,45:[Po,Dr],60:tE,61:Po,95:Dr,96:Ro,126:Ro},WE={38:qc,92:$c},VE={[-5]:Ua,[-4]:Ua,[-3]:Ua,33:TE,38:qc,42:Es,60:[yb,uE],91:yE,92:[Xb,$c],93:ci,95:Es,96:Pb},$E={null:[Es,ME]},qE={null:[42,95]},GE={null:[]},XE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:qE,contentInitial:jE,disable:GE,document:UE,flow:YE,flowInitial:zE,insideSpan:$E,string:WE,text:VE},Symbol.toStringTag,{value:"Module"}));function KE(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let i=[],o=[];const l={attempt:L(O),check:L(w),consume:A,enter:I,exit:v,interrupt:L(w,{interrupt:!0})},c={code:null,containerState:{},defineSkip:g,events:[],now:x,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let d=t.tokenize.call(c,l);return t.resolveAll&&s.push(t),c;function f(U){return i=Ke(i,U),C(),i[i.length-1]!==null?[]:(P(t,0),c.events=li(s,c.events,c),c.events)}function p(U,z){return ZE(h(U),z)}function h(U){return QE(i,U)}function x(){const{_bufferIndex:U,_index:z,line:$,column:Y,offset:F}=r;return{_bufferIndex:U,_index:z,line:$,column:Y,offset:F}}function g(U){a[U.line]=U.column,K()}function C(){let U;for(;r._index<i.length;){const z=i[r._index];if(typeof z=="string")for(U=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===U&&r._bufferIndex<z.length;)E(z.charCodeAt(r._bufferIndex));else E(z)}}function E(U){d=d(U)}function A(U){ee(U)?(r.line++,r.column=1,r.offset+=U===-3?2:1,K()):U!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=U}function I(U,z){const $=z||{};return $.type=U,$.start=x(),c.events.push(["enter",$,c]),o.push($),$}function v(U){const z=o.pop();return z.end=x(),c.events.push(["exit",z,c]),z}function O(U,z){P(U,z.from)}function w(U,z){z.restore()}function L(U,z){return $;function $(Y,F,X){let Q,B,ie,S;return Array.isArray(Y)?ke(Y):"tokenize"in Y?ke([Y]):xe(Y);function xe(Ee){return ce;function ce(Me){const je=Me!==null&&Ee[Me],ze=Me!==null&&Ee.null,it=[...Array.isArray(je)?je:je?[je]:[],...Array.isArray(ze)?ze:ze?[ze]:[]];return ke(it)(Me)}}function ke(Ee){return Q=Ee,B=0,Ee.length===0?X:N(Ee[B])}function N(Ee){return ce;function ce(Me){return S=q(),ie=Ee,Ee.partial||(c.currentConstruct=Ee),Ee.name&&c.parser.constructs.disable.null.includes(Ee.name)?De():Ee.tokenize.call(z?Object.assign(Object.create(c),z):c,l,fe,De)(Me)}}function fe(Ee){return U(ie,S),F}function De(Ee){return S.restore(),++B<Q.length?N(Q[B]):X}}}function P(U,z){U.resolveAll&&!s.includes(U)&&s.push(U),U.resolve&&pt(c.events,z,c.events.length-z,U.resolve(c.events.slice(z),c)),U.resolveTo&&(c.events=U.resolveTo(c.events,c))}function q(){const U=x(),z=c.previous,$=c.currentConstruct,Y=c.events.length,F=Array.from(o);return{from:Y,restore:X};function X(){r=U,c.previous=z,c.currentConstruct=$,c.events.length=Y,o=F,K()}}function K(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function QE(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let i;if(n===a)i=[e[n].slice(r,s)];else{if(i=e.slice(n,a),r>-1){const o=i[0];typeof o=="string"?i[0]=o.slice(r):i.shift()}s>0&&i.push(e[a].slice(0,s))}return i}function ZE(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let i;if(typeof s=="string")i=s;else switch(s){case-5:{i="\r";break}case-4:{i=`
63
63
  `;break}case-3:{i=`\r
64
- `;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&a)continue;i=" ";break}default:i=String.fromCharCode(s)}a=s===-2,r.push(i)}return r.join("")}function $b(e){const r={constructs:iE([Zb,...(e||{}).extensions||[]]),content:a(mE),defined:[],document:a(gE),flow:a(Pb),lazy:{},string:a(Fb),text:a(Ub)};return r;function a(s){return i;function i(o){return Xb(r,s,o)}}}function eA(e){for(;!Qc(e););return e}const Do=/[\0\t\n\r]/g;function tA(){let e=1,t="",n=!0,r;return a;function a(s,i,o){const l=[];let c,d,f,p,h;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(i||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(Do.lastIndex=f,c=Do.exec(s),p=c&&c.index!==void 0?c.index:s.length,h=s.charCodeAt(p),!c){t=s.slice(f);break}if(h===10&&f===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<p&&(l.push(s.slice(f,p)),e+=p-f),h){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const nA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rA(e){return e.replace(nA,aA)}function aA(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return Yc(n.slice(s?2:1),s?16:10)}return ui(n)||e}const ed={}.hasOwnProperty;function sA(e,t,n){return typeof t!="string"&&(n=t,t=void 0),iA(n)(eA($b(n).document().write(tA()(e,t,!0))))}function iA(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Ri),autolinkProtocol:W,autolinkEmail:W,atxHeading:s(Ii),blockQuote:s(Ve),characterEscape:W,characterReference:W,codeFenced:s(it),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:s(it,i),codeText:s(It,i),codeTextData:W,data:W,codeFlowValue:W,definition:s(Gt),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:s(Sf),hardBreakEscape:s(Ni),hardBreakTrailing:s(Ni),htmlFlow:s(Li,i),htmlFlowData:W,htmlText:s(Li,i),htmlTextData:W,image:s(If),label:i,link:s(Ri),listItem:s(Nf),listItemValue:p,listOrdered:s(ki,f),listUnordered:s(ki),paragraph:s(Lf),reference:N,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:s(Ii),strong:s(Rf),thematicBreak:s(wf)},exit:{atxHeading:l(),atxHeadingSequence:v,autolink:l(),autolinkEmail:je,autolinkProtocol:_e,blockQuote:l(),characterEscapeValue:X,characterReferenceMarkerHexadecimal:De,characterReferenceMarkerNumeric:De,characterReferenceValue:be,characterReference:ce,codeFenced:l(C),codeFencedFence:g,codeFencedFenceInfo:h,codeFencedFenceMeta:T,codeFlowValue:X,codeIndented:l(b),codeText:l(U),codeTextData:X,data:X,definition:l(),definitionDestinationString:R,definitionLabelString:S,definitionTitleString:L,emphasis:l(),hardBreakEscape:l(V),hardBreakTrailing:l(V),htmlFlow:l(K),htmlFlowData:X,htmlText:l(z),htmlTextData:X,image:l(G),label:ie,labelText:F,lineEnding:H,link:l(Z),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:fe,resourceDestinationString:I,resourceTitleString:Te,resource:we,setextHeading:l(P),setextHeadingLineSequence:M,setextHeadingText:k,strong:l(),thematicBreak:l()}};td(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(_){let Q={type:"root",children:[]};const te={stack:[Q],tokenStack:[],config:t,enter:o,exit:c,buffer:i,resume:d,data:n},ue=[];let he=-1;for(;++he<_.length;)if(_[he][1].type==="listOrdered"||_[he][1].type==="listUnordered")if(_[he][0]==="enter")ue.push(he);else{const et=ue.pop();he=a(_,et,he)}for(he=-1;++he<_.length;){const et=t[_[he][0]];ed.call(et,_[he][1].type)&&et[_[he][1].type].call(Object.assign({sliceSerialize:_[he][2].sliceSerialize},te),_[he][1])}if(te.tokenStack.length>0){const et=te.tokenStack[te.tokenStack.length-1];(et[1]||_o).call(te,void 0,et[0])}for(Q.position={start:Lt(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:Lt(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he<t.transforms.length;)Q=t.transforms[he](Q)||Q;return Q}function a(_,Q,te){let ue=Q-1,he=-1,et=!1,Ft,bt,Pn,Dn;for(;++ue<=te;){const ze=_[ue];switch(ze[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ze[0]==="enter"?he++:he--,Dn=void 0;break}case"lineEndingBlank":{ze[0]==="enter"&&(Ft&&!Dn&&!he&&!Pn&&(Pn=ue),Dn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Dn=void 0}if(!he&&ze[0]==="enter"&&ze[1].type==="listItemPrefix"||he===-1&&ze[0]==="exit"&&(ze[1].type==="listUnordered"||ze[1].type==="listOrdered")){if(Ft){let Jt=ue;for(bt=void 0;Jt--;){const At=_[Jt];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;bt&&(_[bt][1].type="lineEndingBlank",et=!0),At[1].type="lineEnding",bt=Jt}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}Pn&&(!bt||Pn<bt)&&(Ft._spread=!0),Ft.end=Object.assign({},bt?_[bt][1].start:ze[1].end),_.splice(bt||ue,0,["exit",Ft,ze[2]]),ue++,te++}if(ze[1].type==="listItemPrefix"){const Jt={type:"listItem",_spread:!1,start:Object.assign({},ze[1].start),end:void 0};Ft=Jt,_.splice(ue,0,["enter",Jt,ze[2]]),ue++,te++,Pn=void 0,Dn=!0}}}return _[Q][1]._spread=et,te}function s(_,Q){return te;function te(ue){o.call(this,_(ue),ue),Q&&Q.call(this,ue)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(_,Q,te){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([Q,te||void 0]),_.position={start:Lt(Q.start),end:void 0}}function l(_){return Q;function Q(te){_&&_.call(this,te),c.call(this,te)}}function c(_,Q){const te=this.stack.pop(),ue=this.tokenStack.pop();if(ue)ue[0].type!==_.type&&(Q?Q.call(this,_,ue[0]):(ue[1]||_o).call(this,_,ue[0]));else throw new Error("Cannot close `"+_.type+"` ("+Wn({start:_.start,end:_.end})+"): it’s not open");te.position.end=Lt(_.end)}function d(){return aE(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(_){if(this.data.expectingFirstListItemValue){const Q=this.stack[this.stack.length-2];Q.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function h(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.lang=_}function T(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.meta=_}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.value=_.replace(/(\r?\n|\r)$/g,"")}function S(_){const Q=this.resume(),te=this.stack[this.stack.length-1];te.label=Q,te.identifier=fn(this.sliceSerialize(_)).toLowerCase()}function L(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.title=_}function R(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.url=_}function v(_){const Q=this.stack[this.stack.length-1];if(!Q.depth){const te=this.sliceSerialize(_).length;Q.depth=te}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function M(_){const Q=this.stack[this.stack.length-1];Q.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function W(_){const te=this.stack[this.stack.length-1].children;let ue=te[te.length-1];(!ue||ue.type!=="text")&&(ue=kf(),ue.position={start:Lt(_.start),end:void 0},te.push(ue)),this.stack.push(ue)}function X(_){const Q=this.stack.pop();Q.value+=this.sliceSerialize(_),Q.position.end=Lt(_.end)}function H(_){const Q=this.stack[this.stack.length-1];if(this.data.atHardBreak){const te=Q.children[Q.children.length-1];te.position.end=Lt(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Q.type)&&(W.call(this,_),X.call(this,_))}function V(){this.data.atHardBreak=!0}function K(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.value=_}function z(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.value=_}function U(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.value=_}function Z(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const Q=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=Q,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function G(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const Q=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=Q,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function F(_){const Q=this.sliceSerialize(_),te=this.stack[this.stack.length-2];te.label=rA(Q),te.identifier=fn(Q).toLowerCase()}function ie(){const _=this.stack[this.stack.length-1],Q=this.resume(),te=this.stack[this.stack.length-1];if(this.data.inReference=!0,te.type==="link"){const ue=_.children;te.children=ue}else te.alt=Q}function I(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.url=_}function Te(){const _=this.resume(),Q=this.stack[this.stack.length-1];Q.title=_}function we(){this.data.inReference=void 0}function N(){this.data.referenceType="collapsed"}function fe(_){const Q=this.resume(),te=this.stack[this.stack.length-1];te.label=Q,te.identifier=fn(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function De(_){this.data.characterReferenceType=_.type}function be(_){const Q=this.sliceSerialize(_),te=this.data.characterReferenceType;let ue;te?(ue=Yc(Q,te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ue=ui(Q);const he=this.stack[this.stack.length-1];he.value+=ue}function ce(_){const Q=this.stack.pop();Q.position.end=Lt(_.end)}function _e(_){X.call(this,_);const Q=this.stack[this.stack.length-1];Q.url=this.sliceSerialize(_)}function je(_){X.call(this,_);const Q=this.stack[this.stack.length-1];Q.url="mailto:"+this.sliceSerialize(_)}function Ve(){return{type:"blockquote",children:[]}}function it(){return{type:"code",lang:null,meta:null,value:""}}function It(){return{type:"inlineCode",value:""}}function Gt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Sf(){return{type:"emphasis",children:[]}}function Ii(){return{type:"heading",depth:0,children:[]}}function Ni(){return{type:"break"}}function Li(){return{type:"html",value:""}}function If(){return{type:"image",title:null,url:"",alt:null}}function Ri(){return{type:"link",title:null,url:"",children:[]}}function ki(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function Nf(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function Lf(){return{type:"paragraph",children:[]}}function Rf(){return{type:"strong",children:[]}}function kf(){return{type:"text",value:""}}function wf(){return{type:"thematicBreak"}}}function Lt(e){return{line:e.line,column:e.column,offset:e.offset}}function td(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?td(e,r):oA(e,r)}}function oA(e,t){let n;for(n in t)if(ed.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function _o(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Wn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Wn({start:t.start,end:t.end})+") is still open")}function uA(e){const t=this;t.parser=n;function n(r){return sA(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function lA(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function cA(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
65
- `}]}function dA(e,t){const n=t.value?t.value+`
66
- `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function fA(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hA(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mA(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=kn(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let i,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=s+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function pA(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gA(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function nd(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const i=a[a.length-1];return i&&i.type==="text"?i.value+=r:a.push({type:"text",value:r}),a}function EA(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nd(e,t);const a={src:kn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function bA(e,t){const n={src:kn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function AA(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function TA(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nd(e,t);const a={href:kn(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function xA(e,t){const n={href:kn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function yA(e,t,n){const r=e.all(t),a=n?CA(n):rd(t),s={},i=[];if(typeof t.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const d=r[o];(a||o!==0||d.type!=="element"||d.tagName!=="p")&&i.push({type:"text",value:`
64
+ `;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&a)continue;i=" ";break}default:i=String.fromCharCode(s)}a=s===-2,r.push(i)}return r.join("")}function JE(e){const r={constructs:ib([XE,...(e||{}).extensions||[]]),content:a(mb),defined:[],document:a(gb),flow:a(PE),lazy:{},string:a(BE),text:a(FE)};return r;function a(s){return i;function i(o){return KE(r,s,o)}}}function eT(e){for(;!Gc(e););return e}const Do=/[\0\t\n\r]/g;function tT(){let e=1,t="",n=!0,r;return a;function a(s,i,o){const l=[];let c,d,f,p,h;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(i||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(Do.lastIndex=f,c=Do.exec(s),p=c&&c.index!==void 0?c.index:s.length,h=s.charCodeAt(p),!c){t=s.slice(f);break}if(h===10&&f===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<p&&(l.push(s.slice(f,p)),e+=p-f),h){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const nT=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rT(e){return e.replace(nT,aT)}function aT(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return Wc(n.slice(s?2:1),s?16:10)}return ui(n)||e}const ed={}.hasOwnProperty;function sT(e,t,n){return typeof t!="string"&&(n=t,t=void 0),iT(n)(eT(JE(n).document().write(tT()(e,t,!0))))}function iT(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(vi),autolinkProtocol:q,autolinkEmail:q,atxHeading:s(Si),blockQuote:s(ze),characterEscape:q,characterReference:q,codeFenced:s(it),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:s(it,i),codeText:s(St,i),codeTextData:q,data:q,codeFlowValue:q,definition:s(Qt),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:s(Af),hardBreakEscape:s(Ni),hardBreakTrailing:s(Ni),htmlFlow:s(Ii,i),htmlFlowData:q,htmlText:s(Ii,i),htmlTextData:q,image:s(Sf),label:i,link:s(vi),listItem:s(Nf),listItemValue:p,listOrdered:s(wi,f),listUnordered:s(wi),paragraph:s(If),reference:N,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:s(Si),strong:s(vf),thematicBreak:s(kf)},exit:{atxHeading:l(),atxHeadingSequence:O,autolink:l(),autolinkEmail:je,autolinkProtocol:Me,blockQuote:l(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:De,characterReferenceMarkerNumeric:De,characterReferenceValue:Ee,characterReference:ce,codeFenced:l(C),codeFencedFence:g,codeFencedFenceInfo:h,codeFencedFenceMeta:x,codeFlowValue:K,codeIndented:l(E),codeText:l(F),codeTextData:K,data:K,definition:l(),definitionDestinationString:v,definitionLabelString:A,definitionTitleString:I,emphasis:l(),hardBreakEscape:l(z),hardBreakTrailing:l(z),htmlFlow:l($),htmlFlowData:K,htmlText:l(Y),htmlTextData:K,image:l(Q),label:ie,labelText:B,lineEnding:U,link:l(X),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:fe,resourceDestinationString:S,resourceTitleString:xe,resource:ke,setextHeading:l(P),setextHeadingLineSequence:L,setextHeadingText:w,strong:l(),thematicBreak:l()}};td(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(M){let G={type:"root",children:[]};const te={stack:[G],tokenStack:[],config:t,enter:o,exit:c,buffer:i,resume:d,data:n},ue=[];let he=-1;for(;++he<M.length;)if(M[he][1].type==="listOrdered"||M[he][1].type==="listUnordered")if(M[he][0]==="enter")ue.push(he);else{const et=ue.pop();he=a(M,et,he)}for(he=-1;++he<M.length;){const et=t[M[he][0]];ed.call(et,M[he][1].type)&&et[M[he][1].type].call(Object.assign({sliceSerialize:M[he][2].sliceSerialize},te),M[he][1])}if(te.tokenStack.length>0){const et=te.tokenStack[te.tokenStack.length-1];(et[1]||Mo).call(te,void 0,et[0])}for(G.position={start:It(M.length>0?M[0][1].start:{line:1,column:1,offset:0}),end:It(M.length>0?M[M.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he<t.transforms.length;)G=t.transforms[he](G)||G;return G}function a(M,G,te){let ue=G-1,he=-1,et=!1,Bt,Et,Pn,Dn;for(;++ue<=te;){const Ye=M[ue];switch(Ye[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ye[0]==="enter"?he++:he--,Dn=void 0;break}case"lineEndingBlank":{Ye[0]==="enter"&&(Bt&&!Dn&&!he&&!Pn&&(Pn=ue),Dn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Dn=void 0}if(!he&&Ye[0]==="enter"&&Ye[1].type==="listItemPrefix"||he===-1&&Ye[0]==="exit"&&(Ye[1].type==="listUnordered"||Ye[1].type==="listOrdered")){if(Bt){let Zt=ue;for(Et=void 0;Zt--;){const Tt=M[Zt];if(Tt[1].type==="lineEnding"||Tt[1].type==="lineEndingBlank"){if(Tt[0]==="exit")continue;Et&&(M[Et][1].type="lineEndingBlank",et=!0),Tt[1].type="lineEnding",Et=Zt}else if(!(Tt[1].type==="linePrefix"||Tt[1].type==="blockQuotePrefix"||Tt[1].type==="blockQuotePrefixWhitespace"||Tt[1].type==="blockQuoteMarker"||Tt[1].type==="listItemIndent"))break}Pn&&(!Et||Pn<Et)&&(Bt._spread=!0),Bt.end=Object.assign({},Et?M[Et][1].start:Ye[1].end),M.splice(Et||ue,0,["exit",Bt,Ye[2]]),ue++,te++}if(Ye[1].type==="listItemPrefix"){const Zt={type:"listItem",_spread:!1,start:Object.assign({},Ye[1].start),end:void 0};Bt=Zt,M.splice(ue,0,["enter",Zt,Ye[2]]),ue++,te++,Pn=void 0,Dn=!0}}}return M[G][1]._spread=et,te}function s(M,G){return te;function te(ue){o.call(this,M(ue),ue),G&&G.call(this,ue)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(M,G,te){this.stack[this.stack.length-1].children.push(M),this.stack.push(M),this.tokenStack.push([G,te||void 0]),M.position={start:It(G.start),end:void 0}}function l(M){return G;function G(te){M&&M.call(this,te),c.call(this,te)}}function c(M,G){const te=this.stack.pop(),ue=this.tokenStack.pop();if(ue)ue[0].type!==M.type&&(G?G.call(this,M,ue[0]):(ue[1]||Mo).call(this,M,ue[0]));else throw new Error("Cannot close `"+M.type+"` ("+qn({start:M.start,end:M.end})+"): it’s not open");te.position.end=It(M.end)}function d(){return ab(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(M){if(this.data.expectingFirstListItemValue){const G=this.stack[this.stack.length-2];G.start=Number.parseInt(this.sliceSerialize(M),10),this.data.expectingFirstListItemValue=void 0}}function h(){const M=this.resume(),G=this.stack[this.stack.length-1];G.lang=M}function x(){const M=this.resume(),G=this.stack[this.stack.length-1];G.meta=M}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M.replace(/(\r?\n|\r)$/g,"")}function A(M){const G=this.resume(),te=this.stack[this.stack.length-1];te.label=G,te.identifier=fn(this.sliceSerialize(M)).toLowerCase()}function I(){const M=this.resume(),G=this.stack[this.stack.length-1];G.title=M}function v(){const M=this.resume(),G=this.stack[this.stack.length-1];G.url=M}function O(M){const G=this.stack[this.stack.length-1];if(!G.depth){const te=this.sliceSerialize(M).length;G.depth=te}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function L(M){const G=this.stack[this.stack.length-1];G.depth=this.sliceSerialize(M).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function q(M){const te=this.stack[this.stack.length-1].children;let ue=te[te.length-1];(!ue||ue.type!=="text")&&(ue=wf(),ue.position={start:It(M.start),end:void 0},te.push(ue)),this.stack.push(ue)}function K(M){const G=this.stack.pop();G.value+=this.sliceSerialize(M),G.position.end=It(M.end)}function U(M){const G=this.stack[this.stack.length-1];if(this.data.atHardBreak){const te=G.children[G.children.length-1];te.position.end=It(M.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(G.type)&&(q.call(this,M),K.call(this,M))}function z(){this.data.atHardBreak=!0}function $(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M}function Y(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M}function F(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M}function X(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const G=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=G,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function Q(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const G=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=G,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function B(M){const G=this.sliceSerialize(M),te=this.stack[this.stack.length-2];te.label=rT(G),te.identifier=fn(G).toLowerCase()}function ie(){const M=this.stack[this.stack.length-1],G=this.resume(),te=this.stack[this.stack.length-1];if(this.data.inReference=!0,te.type==="link"){const ue=M.children;te.children=ue}else te.alt=G}function S(){const M=this.resume(),G=this.stack[this.stack.length-1];G.url=M}function xe(){const M=this.resume(),G=this.stack[this.stack.length-1];G.title=M}function ke(){this.data.inReference=void 0}function N(){this.data.referenceType="collapsed"}function fe(M){const G=this.resume(),te=this.stack[this.stack.length-1];te.label=G,te.identifier=fn(this.sliceSerialize(M)).toLowerCase(),this.data.referenceType="full"}function De(M){this.data.characterReferenceType=M.type}function Ee(M){const G=this.sliceSerialize(M),te=this.data.characterReferenceType;let ue;te?(ue=Wc(G,te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ue=ui(G);const he=this.stack[this.stack.length-1];he.value+=ue}function ce(M){const G=this.stack.pop();G.position.end=It(M.end)}function Me(M){K.call(this,M);const G=this.stack[this.stack.length-1];G.url=this.sliceSerialize(M)}function je(M){K.call(this,M);const G=this.stack[this.stack.length-1];G.url="mailto:"+this.sliceSerialize(M)}function ze(){return{type:"blockquote",children:[]}}function it(){return{type:"code",lang:null,meta:null,value:""}}function St(){return{type:"inlineCode",value:""}}function Qt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Af(){return{type:"emphasis",children:[]}}function Si(){return{type:"heading",depth:0,children:[]}}function Ni(){return{type:"break"}}function Ii(){return{type:"html",value:""}}function Sf(){return{type:"image",title:null,url:"",alt:null}}function vi(){return{type:"link",title:null,url:"",children:[]}}function wi(M){return{type:"list",ordered:M.type==="listOrdered",start:null,spread:M._spread,children:[]}}function Nf(M){return{type:"listItem",spread:M._spread,checked:null,children:[]}}function If(){return{type:"paragraph",children:[]}}function vf(){return{type:"strong",children:[]}}function wf(){return{type:"text",value:""}}function kf(){return{type:"thematicBreak"}}}function It(e){return{line:e.line,column:e.column,offset:e.offset}}function td(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?td(e,r):oT(e,r)}}function oT(e,t){let n;for(n in t)if(ed.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Mo(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+qn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+qn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+qn({start:t.start,end:t.end})+") is still open")}function uT(e){const t=this;t.parser=n;function n(r){return sT(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function lT(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function cT(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
65
+ `}]}function dT(e,t){const n=t.value?t.value+`
66
+ `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function fT(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hT(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mT(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=wn(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let i,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=s+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function pT(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gT(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function nd(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const i=a[a.length-1];return i&&i.type==="text"?i.value+=r:a.push({type:"text",value:r}),a}function bT(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nd(e,t);const a={src:wn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function ET(e,t){const n={src:wn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function TT(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function xT(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nd(e,t);const a={href:wn(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function yT(e,t){const n={href:wn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _T(e,t,n){const r=e.all(t),a=n?CT(n):rd(t),s={},i=[];if(typeof t.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const d=r[o];(a||o!==0||d.type!=="element"||d.tagName!=="p")&&i.push({type:"text",value:`
67
67
  `}),d.type==="element"&&d.tagName==="p"&&!a?i.push(...d.children):i.push(d)}const l=r[r.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&i.push({type:"text",value:`
68
- `});const c={type:"element",tagName:"li",properties:s,children:i};return e.patch(t,c),e.applyData(t,c)}function CA(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=rd(n[r])}return t}function rd(e){const t=e.spread;return t??e.children.length>1}function SA(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const i=r[a];if(i.type==="element"&&i.tagName==="li"&&i.properties&&Array.isArray(i.properties.className)&&i.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function IA(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function NA(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function LA(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function RA(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const i={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],i),a.push(i)}if(n.length>0){const i={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Et(t.children[1]),l=ma(t.children[t.children.length-1]);o&&l&&(i.position={start:o,end:l}),a.push(i)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function kA(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,o=i?i.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],p={},h=i?i[l]:void 0;h&&(p.align=h);let T={type:"element",tagName:s,properties:p,children:[]};f&&(T.children=e.all(f),e.patch(f,T),T=e.applyData(f,T)),c.push(T)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,d),e.applyData(t,d)}function wA(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Fo=9,Uo=32;function vA(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const s=[];for(;r;)s.push(Bo(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return s.push(Bo(t.slice(a),a>0,!1)),s.join("")}function Bo(e,t,n){let r=0,a=e.length;if(t){let s=e.codePointAt(r);for(;s===Fo||s===Uo;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(a-1);for(;s===Fo||s===Uo;)a--,s=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function OA(e,t){const n={type:"text",value:vA(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function MA(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const PA={blockquote:lA,break:cA,code:dA,delete:fA,emphasis:hA,footnoteReference:mA,heading:pA,html:gA,imageReference:EA,image:bA,inlineCode:AA,linkReference:TA,link:xA,listItem:yA,list:SA,paragraph:IA,root:NA,strong:LA,table:RA,tableCell:wA,tableRow:kA,text:OA,thematicBreak:MA,toml:Lr,yaml:Lr,definition:Lr,footnoteDefinition:Lr};function Lr(){}const ad=-1,ga=0,Zn=1,qr=2,di=3,fi=4,hi=5,mi=6,sd=7,id=8,Ho=typeof self=="object"?self:globalThis,DA=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),r=a=>{if(e.has(a))return e.get(a);const[s,i]=t[a];switch(s){case ga:case ad:return n(i,a);case Zn:{const o=n([],a);for(const l of i)o.push(r(l));return o}case qr:{const o=n({},a);for(const[l,c]of i)o[r(l)]=r(c);return o}case di:return n(new Date(i),a);case fi:{const{source:o,flags:l}=i;return n(new RegExp(o,l),a)}case hi:{const o=n(new Map,a);for(const[l,c]of i)o.set(r(l),r(c));return o}case mi:{const o=n(new Set,a);for(const l of i)o.add(r(l));return o}case sd:{const{name:o,message:l}=i;return n(new Ho[o](l),a)}case id:return n(BigInt(i),a);case"BigInt":return n(Object(BigInt(i)),a);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:o}=new Uint8Array(i);return n(new DataView(o),i)}}return n(new Ho[s](i),a)};return r},jo=e=>DA(new Map,e)(0),sn="",{toString:_A}={},{keys:FA}=Object,Hn=e=>{const t=typeof e;if(t!=="object"||!e)return[ga,t];const n=_A.call(e).slice(8,-1);switch(n){case"Array":return[Zn,sn];case"Object":return[qr,sn];case"Date":return[di,sn];case"RegExp":return[fi,sn];case"Map":return[hi,sn];case"Set":return[mi,sn];case"DataView":return[Zn,n]}return n.includes("Array")?[Zn,n]:n.includes("Error")?[sd,n]:[qr,n]},Rr=([e,t])=>e===ga&&(t==="function"||t==="symbol"),UA=(e,t,n,r)=>{const a=(i,o)=>{const l=r.push(i)-1;return n.set(o,l),l},s=i=>{if(n.has(i))return n.get(i);let[o,l]=Hn(i);switch(o){case ga:{let d=i;switch(l){case"bigint":o=id,d=i.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([ad],i)}return a([o,d],i)}case Zn:{if(l){let p=i;return l==="DataView"?p=new Uint8Array(i.buffer):l==="ArrayBuffer"&&(p=new Uint8Array(i)),a([l,[...p]],i)}const d=[],f=a([o,d],i);for(const p of i)d.push(s(p));return f}case qr:{if(l)switch(l){case"BigInt":return a([l,i.toString()],i);case"Boolean":case"Number":case"String":return a([l,i.valueOf()],i)}if(t&&"toJSON"in i)return s(i.toJSON());const d=[],f=a([o,d],i);for(const p of FA(i))(e||!Rr(Hn(i[p])))&&d.push([s(p),s(i[p])]);return f}case di:return a([o,i.toISOString()],i);case fi:{const{source:d,flags:f}=i;return a([o,{source:d,flags:f}],i)}case hi:{const d=[],f=a([o,d],i);for(const[p,h]of i)(e||!(Rr(Hn(p))||Rr(Hn(h))))&&d.push([s(p),s(h)]);return f}case mi:{const d=[],f=a([o,d],i);for(const p of i)(e||!Rr(Hn(p)))&&d.push(s(p));return f}}const{message:c}=i;return a([o,{name:l,message:c}],i)};return s},Vo=(e,{json:t,lossy:n}={})=>{const r=[];return UA(!(t||n),!!t,new Map,r)(e),r},En=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?jo(Vo(e,t)):structuredClone(e):(e,t)=>jo(Vo(e,t));function BA(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function HA(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function jA(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||BA,r=e.options.footnoteBackLabel||HA,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const d=e.all(c),f=String(c.identifier).toUpperCase(),p=kn(f.toLowerCase());let h=0;const T=[],g=e.footnoteCounts.get(f);for(;g!==void 0&&++h<=g;){T.length>0&&T.push({type:"text",value:" "});let S=typeof n=="string"?n:n(l,h);typeof S=="string"&&(S={type:"text",value:S}),T.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,h),className:["data-footnote-backref"]},children:Array.isArray(S)?S:[S]})}const C=d[d.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const S=C.children[C.children.length-1];S&&S.type==="text"?S.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...T)}else d.push(...T);const b={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(d,!0)};e.patch(c,b),o.push(b)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...En(i),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
68
+ `});const c={type:"element",tagName:"li",properties:s,children:i};return e.patch(t,c),e.applyData(t,c)}function CT(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=rd(n[r])}return t}function rd(e){const t=e.spread;return t??e.children.length>1}function AT(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const i=r[a];if(i.type==="element"&&i.tagName==="li"&&i.properties&&Array.isArray(i.properties.className)&&i.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function ST(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function NT(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function IT(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function vT(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const i={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],i),a.push(i)}if(n.length>0){const i={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=bt(t.children[1]),l=ma(t.children[t.children.length-1]);o&&l&&(i.position={start:o,end:l}),a.push(i)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function wT(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,o=i?i.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],p={},h=i?i[l]:void 0;h&&(p.align=h);let x={type:"element",tagName:s,properties:p,children:[]};f&&(x.children=e.all(f),e.patch(f,x),x=e.applyData(f,x)),c.push(x)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,d),e.applyData(t,d)}function kT(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Bo=9,Fo=32;function OT(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const s=[];for(;r;)s.push(Ho(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return s.push(Ho(t.slice(a),a>0,!1)),s.join("")}function Ho(e,t,n){let r=0,a=e.length;if(t){let s=e.codePointAt(r);for(;s===Bo||s===Fo;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(a-1);for(;s===Bo||s===Fo;)a--,s=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function RT(e,t){const n={type:"text",value:OT(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function LT(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const PT={blockquote:lT,break:cT,code:dT,delete:fT,emphasis:hT,footnoteReference:mT,heading:pT,html:gT,imageReference:bT,image:ET,inlineCode:TT,linkReference:xT,link:yT,listItem:_T,list:AT,paragraph:ST,root:NT,strong:IT,table:vT,tableCell:kT,tableRow:wT,text:RT,thematicBreak:LT,toml:Ir,yaml:Ir,definition:Ir,footnoteDefinition:Ir};function Ir(){}const ad=-1,ga=0,Xn=1,Vr=2,di=3,fi=4,hi=5,mi=6,sd=7,id=8,Uo=typeof self=="object"?self:globalThis,DT=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),r=a=>{if(e.has(a))return e.get(a);const[s,i]=t[a];switch(s){case ga:case ad:return n(i,a);case Xn:{const o=n([],a);for(const l of i)o.push(r(l));return o}case Vr:{const o=n({},a);for(const[l,c]of i)o[r(l)]=r(c);return o}case di:return n(new Date(i),a);case fi:{const{source:o,flags:l}=i;return n(new RegExp(o,l),a)}case hi:{const o=n(new Map,a);for(const[l,c]of i)o.set(r(l),r(c));return o}case mi:{const o=n(new Set,a);for(const l of i)o.add(r(l));return o}case sd:{const{name:o,message:l}=i;return n(new Uo[o](l),a)}case id:return n(BigInt(i),a);case"BigInt":return n(Object(BigInt(i)),a);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:o}=new Uint8Array(i);return n(new DataView(o),i)}}return n(new Uo[s](i),a)};return r},jo=e=>DT(new Map,e)(0),sn="",{toString:MT}={},{keys:BT}=Object,Un=e=>{const t=typeof e;if(t!=="object"||!e)return[ga,t];const n=MT.call(e).slice(8,-1);switch(n){case"Array":return[Xn,sn];case"Object":return[Vr,sn];case"Date":return[di,sn];case"RegExp":return[fi,sn];case"Map":return[hi,sn];case"Set":return[mi,sn];case"DataView":return[Xn,n]}return n.includes("Array")?[Xn,n]:n.includes("Error")?[sd,n]:[Vr,n]},vr=([e,t])=>e===ga&&(t==="function"||t==="symbol"),FT=(e,t,n,r)=>{const a=(i,o)=>{const l=r.push(i)-1;return n.set(o,l),l},s=i=>{if(n.has(i))return n.get(i);let[o,l]=Un(i);switch(o){case ga:{let d=i;switch(l){case"bigint":o=id,d=i.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([ad],i)}return a([o,d],i)}case Xn:{if(l){let p=i;return l==="DataView"?p=new Uint8Array(i.buffer):l==="ArrayBuffer"&&(p=new Uint8Array(i)),a([l,[...p]],i)}const d=[],f=a([o,d],i);for(const p of i)d.push(s(p));return f}case Vr:{if(l)switch(l){case"BigInt":return a([l,i.toString()],i);case"Boolean":case"Number":case"String":return a([l,i.valueOf()],i)}if(t&&"toJSON"in i)return s(i.toJSON());const d=[],f=a([o,d],i);for(const p of BT(i))(e||!vr(Un(i[p])))&&d.push([s(p),s(i[p])]);return f}case di:return a([o,i.toISOString()],i);case fi:{const{source:d,flags:f}=i;return a([o,{source:d,flags:f}],i)}case hi:{const d=[],f=a([o,d],i);for(const[p,h]of i)(e||!(vr(Un(p))||vr(Un(h))))&&d.push([s(p),s(h)]);return f}case mi:{const d=[],f=a([o,d],i);for(const p of i)(e||!vr(Un(p)))&&d.push(s(p));return f}}const{message:c}=i;return a([o,{name:l,message:c}],i)};return s},zo=(e,{json:t,lossy:n}={})=>{const r=[];return FT(!(t||n),!!t,new Map,r)(e),r},bn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?jo(zo(e,t)):structuredClone(e):(e,t)=>jo(zo(e,t));function HT(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function UT(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function jT(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||HT,r=e.options.footnoteBackLabel||UT,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const d=e.all(c),f=String(c.identifier).toUpperCase(),p=wn(f.toLowerCase());let h=0;const x=[],g=e.footnoteCounts.get(f);for(;g!==void 0&&++h<=g;){x.length>0&&x.push({type:"text",value:" "});let A=typeof n=="string"?n:n(l,h);typeof A=="string"&&(A={type:"text",value:A}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,h),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const C=d[d.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const A=C.children[C.children.length-1];A&&A.type==="text"?A.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...x)}else d.push(...x);const E={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(d,!0)};e.patch(c,E),o.push(E)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...bn(i),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
69
69
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
70
- `}]}}const od=(function(e){if(e==null)return qA;if(typeof e=="function")return Ea(e);if(typeof e=="object")return Array.isArray(e)?VA(e):zA(e);if(typeof e=="string")return YA(e);throw new Error("Expected function, string, or object as test")});function VA(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=od(e[n]);return Ea(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function zA(e){const t=e;return Ea(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function YA(e){return Ea(t);function t(n){return n&&n.type===e}}function Ea(e){return t;function t(n,r,a){return!!(KA(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function qA(){return!0}function KA(e){return e!==null&&typeof e=="object"&&"type"in e}const ud=[],WA=!0,zo=!1,QA="skip";function ZA(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const s=od(a),i=r?-1:1;o(e,void 0,[])();function o(l,c,d){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=ud,T,g,C;if((!t||s(l,c,d[d.length-1]||void 0))&&(h=XA(n(l,d)),h[0]===zo))return h;if("children"in l&&l.children){const b=l;if(b.children&&h[0]!==QA)for(g=(r?b.children.length:-1)+i,C=d.concat(b);g>-1&&g<b.children.length;){const S=b.children[g];if(T=o(S,g,C)(),T[0]===zo)return T;g=typeof T[1]=="number"?T[1]:g+i}}return h}}}function XA(e){return Array.isArray(e)?e:typeof e=="number"?[WA,e]:e==null?ud:[e]}function pi(e,t,n,r){let a,s,i;typeof t=="function"&&typeof n!="function"?(s=void 0,i=t,a=n):(s=t,i=n,a=r),ZA(e,s,o,a);function o(l,c){const d=c[c.length-1],f=d?d.children.indexOf(l):void 0;return i(l,f,d)}}const As={}.hasOwnProperty,GA={};function JA(e,t){const n=t||GA,r=new Map,a=new Map,s=new Map,i={...PA,...n.handlers},o={all:c,applyData:eT,definitionById:r,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:i,one:l,options:n,patch:$A,wrap:nT};return pi(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const f=d.type==="definition"?r:a,p=String(d.identifier).toUpperCase();f.has(p)||f.set(p,d)}}),o;function l(d,f){const p=d.type,h=o.handlers[p];if(As.call(o.handlers,p)&&h)return h(o,d,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in d){const{children:g,...C}=d,b=En(C);return b.children=o.all(d),b}return En(d)}return(o.options.unknownHandler||tT)(o,d,f)}function c(d){const f=[];if("children"in d){const p=d.children;let h=-1;for(;++h<p.length;){const T=o.one(p[h],d);if(T){if(h&&p[h-1].type==="break"&&(!Array.isArray(T)&&T.type==="text"&&(T.value=Yo(T.value)),!Array.isArray(T)&&T.type==="element")){const g=T.children[0];g&&g.type==="text"&&(g.value=Yo(g.value))}Array.isArray(T)?f.push(...T):f.push(T)}}}return f}}function $A(e,t){e.position&&(t.position=_1(e))}function eT(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const i="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:i}}n.type==="element"&&s&&Object.assign(n.properties,En(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function tT(e,t){const n=t.data||{},r="value"in t&&!(As.call(n,"hProperties")||As.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function nT(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
70
+ `}]}}const od=(function(e){if(e==null)return VT;if(typeof e=="function")return ba(e);if(typeof e=="object")return Array.isArray(e)?zT(e):YT(e);if(typeof e=="string")return WT(e);throw new Error("Expected function, string, or object as test")});function zT(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=od(e[n]);return ba(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function YT(e){const t=e;return ba(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function WT(e){return ba(t);function t(n){return n&&n.type===e}}function ba(e){return t;function t(n,r,a){return!!($T(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function VT(){return!0}function $T(e){return e!==null&&typeof e=="object"&&"type"in e}const ud=[],qT=!0,Yo=!1,GT="skip";function XT(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const s=od(a),i=r?-1:1;o(e,void 0,[])();function o(l,c,d){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=ud,x,g,C;if((!t||s(l,c,d[d.length-1]||void 0))&&(h=KT(n(l,d)),h[0]===Yo))return h;if("children"in l&&l.children){const E=l;if(E.children&&h[0]!==GT)for(g=(r?E.children.length:-1)+i,C=d.concat(E);g>-1&&g<E.children.length;){const A=E.children[g];if(x=o(A,g,C)(),x[0]===Yo)return x;g=typeof x[1]=="number"?x[1]:g+i}}return h}}}function KT(e){return Array.isArray(e)?e:typeof e=="number"?[qT,e]:e==null?ud:[e]}function pi(e,t,n,r){let a,s,i;typeof t=="function"&&typeof n!="function"?(s=void 0,i=t,a=n):(s=t,i=n,a=r),XT(e,s,o,a);function o(l,c){const d=c[c.length-1],f=d?d.children.indexOf(l):void 0;return i(l,f,d)}}const Ts={}.hasOwnProperty,QT={};function ZT(e,t){const n=t||QT,r=new Map,a=new Map,s=new Map,i={...PT,...n.handlers},o={all:c,applyData:ex,definitionById:r,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:i,one:l,options:n,patch:JT,wrap:nx};return pi(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const f=d.type==="definition"?r:a,p=String(d.identifier).toUpperCase();f.has(p)||f.set(p,d)}}),o;function l(d,f){const p=d.type,h=o.handlers[p];if(Ts.call(o.handlers,p)&&h)return h(o,d,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in d){const{children:g,...C}=d,E=bn(C);return E.children=o.all(d),E}return bn(d)}return(o.options.unknownHandler||tx)(o,d,f)}function c(d){const f=[];if("children"in d){const p=d.children;let h=-1;for(;++h<p.length;){const x=o.one(p[h],d);if(x){if(h&&p[h-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=Wo(x.value)),!Array.isArray(x)&&x.type==="element")){const g=x.children[0];g&&g.type==="text"&&(g.value=Wo(g.value))}Array.isArray(x)?f.push(...x):f.push(x)}}}return f}}function JT(e,t){e.position&&(t.position=M1(e))}function ex(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const i="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:i}}n.type==="element"&&s&&Object.assign(n.properties,bn(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function tx(e,t){const n=t.data||{},r="value"in t&&!(Ts.call(n,"hProperties")||Ts.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function nx(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
71
71
  `});++r<e.length;)r&&n.push({type:"text",value:`
72
72
  `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
73
- `}),n}function Yo(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function qo(e,t){const n=JA(e,t),r=n.one(e,void 0),a=jA(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
74
- `},a),s}function rT(e,t){return e&&"run"in e?async function(n,r){const a=qo(n,{file:r,...t});await e.run(a,r)}:function(n,r){return qo(n,{file:r,...e||t})}}function Ko(e){if(e)throw e}var ja,Wo;function aT(){if(Wo)return ja;Wo=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},s=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var d=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!d&&!f)return!1;var p;for(p in c);return typeof p>"u"||e.call(c,p)},i=function(c,d){n&&d.name==="__proto__"?n(c,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):c[d.name]=d.newValue},o=function(c,d){if(d==="__proto__")if(e.call(c,d)){if(r)return r(c,d).value}else return;return c[d]};return ja=function l(){var c,d,f,p,h,T,g=arguments[0],C=1,b=arguments.length,S=!1;for(typeof g=="boolean"&&(S=g,g=arguments[1]||{},C=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});C<b;++C)if(c=arguments[C],c!=null)for(d in c)f=o(g,d),p=o(c,d),g!==p&&(S&&p&&(s(p)||(h=a(p)))?(h?(h=!1,T=f&&a(f)?f:[]):T=f&&s(f)?f:{},i(g,{name:d,newValue:l(S,T,p)})):typeof p<"u"&&i(g,{name:d,newValue:p}));return g},ja}var sT=aT();const Va=Lu(sT);function Ts(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function iT(){const e=[],t={run:n,use:r};return t;function n(...a){let s=-1;const i=a.pop();if(typeof i!="function")throw new TypeError("Expected function as last argument, not "+i);o(null,...a);function o(l,...c){const d=e[++s];let f=-1;if(l){i(l);return}for(;++f<a.length;)(c[f]===null||c[f]===void 0)&&(c[f]=a[f]);a=c,d?oT(d,o)(...c):i(null,...c)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function oT(e,t){let n;return r;function r(...i){const o=e.length>i.length;let l;o&&i.push(a);try{l=e.apply(this,i)}catch(c){const d=c;if(o&&n)throw d;return a(d)}o||(l&&l.then&&typeof l.then=="function"?l.then(s,a):l instanceof Error?a(l):s(l))}function a(i,...o){n||(n=!0,t(i,...o))}function s(i){a(null,i)}}const ot={basename:uT,dirname:lT,extname:cT,join:dT,sep:"/"};function uT(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');mr(e);let n=0,r=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else r<0&&(s=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let i=-1,o=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else i<0&&(s=!0,i=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(r=a):(o=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function lT(e){if(mr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function cT(e){mr(e);let t=e.length,n=-1,r=0,a=-1,s=0,i;for(;t--;){const o=e.codePointAt(t);if(o===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),o===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||n<0||s===0||s===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function dT(...e){let t=-1,n;for(;++t<e.length;)mr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":fT(n)}function fT(e){mr(e);const t=e.codePointAt(0)===47;let n=hT(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function hT(e,t){let n="",r=0,a=-1,s=0,i=-1,o,l;for(;++i<=e.length;){if(i<e.length)o=e.codePointAt(i);else{if(o===47)break;o=47}if(o===47){if(!(a===i-1||s===1))if(a!==i-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=i,s=0;continue}}else if(n.length>0){n="",r=0,a=i,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,i):n=e.slice(a+1,i),r=i-a-1;a=i,s=0}else o===46&&s>-1?s++:s=-1}return n}function mr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const mT={cwd:pT};function pT(){return"/"}function xs(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function gT(e){if(typeof e=="string")e=new URL(e);else if(!xs(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return ET(e)}function ET(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const za=["history","path","basename","stem","extname","dirname"];class ld{constructor(t){let n;t?xs(t)?n={path:t}:typeof t=="string"||bT(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":mT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<za.length;){const s=za[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let a;for(a in n)za.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?ot.basename(this.path):void 0}set basename(t){qa(t,"basename"),Ya(t,"basename"),this.path=ot.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ot.dirname(this.path):void 0}set dirname(t){Qo(this.basename,"dirname"),this.path=ot.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ot.extname(this.path):void 0}set extname(t){if(Ya(t,"extname"),Qo(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ot.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){xs(t)&&(t=gT(t)),qa(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ot.basename(this.path,this.extname):void 0}set stem(t){qa(t,"stem"),Ya(t,"stem"),this.path=ot.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new Re(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ya(e,t){if(e&&e.includes(ot.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ot.sep+"`")}function qa(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Qo(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function bT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const AT=(function(e){const r=this.constructor.prototype,a=r[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),TT={}.hasOwnProperty;class gi extends AT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=iT()}copy(){const t=new gi;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Va(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Qa("data",this.frozen),this.namespace[t]=n,this):TT.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Qa("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=kr(t),r=this.parser||this.Parser;return Ka("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ka("process",this.parser||this.Parser),Wa("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,i){const o=kr(t),l=r.parse(o);r.run(l,o,function(d,f,p){if(d||!f||!p)return c(d);const h=f,T=r.stringify(h,p);CT(T)?p.value=T:p.result=T,c(d,p)});function c(d,f){d||!f?i(d):s?s(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Ka("processSync",this.parser||this.Parser),Wa("processSync",this.compiler||this.Compiler),this.process(t,a),Xo("processSync","process",n),r;function a(s,i){n=!0,Ko(s),r=i}}run(t,n,r){Zo(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(i,o){const l=kr(n);a.run(t,l,c);function c(d,f,p){const h=f||t;d?o(d):i?i(h):r(void 0,h,p)}}}runSync(t,n){let r=!1,a;return this.run(t,n,s),Xo("runSync","run",r),a;function s(i,o){Ko(i),a=o,r=!0}}stringify(t,n){this.freeze();const r=kr(n),a=this.compiler||this.Compiler;return Wa("stringify",a),Zo(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(Qa("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):i(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[d,...f]=c;l(d,f)}else i(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function i(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(a.settings=Va(!0,a.settings,c.settings))}function o(c){let d=-1;if(c!=null)if(Array.isArray(c))for(;++d<c.length;){const f=c[d];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,d){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...d]);else if(d.length>0){let[h,...T]=d;const g=r[p][1];Ts(g)&&Ts(h)&&(h=Va(!0,g,h)),r[p]=[c,h,...T]}}}}const xT=new gi().freeze();function Ka(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Wa(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Qa(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Zo(e){if(!Ts(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Xo(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function kr(e){return yT(e)?e:new ld(e)}function yT(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function CT(e){return typeof e=="string"||ST(e)}function ST(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const IT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Go=[],Jo={allowDangerousHtml:!0},NT=/^(https?|ircs?|mailto|xmpp)$/i,LT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function RT(e){const t=kT(e),n=wT(e);return vT(t.runSync(t.parse(n),n),e)}function kT(e){const t=e.rehypePlugins||Go,n=e.remarkPlugins||Go,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Jo}:Jo;return xT().use(uA).use(n).use(rT,r).use(t)}function wT(e){const t=e.children||"",n=new ld;return typeof t=="string"&&(n.value=t),n}function vT(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,i=t.skipHtml,o=t.unwrapDisallowed,l=t.urlTransform||OT;for(const d of LT)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+IT+d.id,void 0);return pi(e,c),j1(e,{Fragment:m.Fragment,components:a,ignoreInvalidStyle:!0,jsx:m.jsx,jsxs:m.jsxs,passKeys:!0,passNode:!0});function c(d,f,p){if(d.type==="raw"&&p&&typeof f=="number")return i?p.children.splice(f,1):p.children[f]={type:"text",value:d.value},f;if(d.type==="element"){let h;for(h in Ua)if(Object.hasOwn(Ua,h)&&Object.hasOwn(d.properties,h)){const T=d.properties[h],g=Ua[h];(g===null||g.includes(d.tagName))&&(d.properties[h]=l(String(T||""),h,d))}}if(d.type==="element"){let h=n?!n.includes(d.tagName):s?s.includes(d.tagName):!1;if(!h&&r&&typeof f=="number"&&(h=!r(d,f,p)),h&&p&&typeof f=="number")return o&&d.children?p.children.splice(f,1,...d.children):p.children.splice(f,1),f}}}function OT(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||r!==-1&&t>r||NT.test(e.slice(0,t))?e:""}const $o=/[#.]/g;function MT(e,t){const n=e||"",r={};let a=0,s,i;for(;a<n.length;){$o.lastIndex=a;const o=$o.exec(n),l=n.slice(a,o?o.index:n.length);l&&(s?s==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:i=l,a+=l.length),o&&(s=o[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}function cd(e,t,n){const r=n?FT(n):void 0;function a(s,i,...o){let l;if(s==null){l={type:"root",children:[]};const c=i;o.unshift(c)}else{l=MT(s,t);const c=l.tagName.toLowerCase(),d=r?r.get(c):void 0;if(l.tagName=d||c,PT(i))o.unshift(i);else for(const[f,p]of Object.entries(i))DT(e,l.properties,f,p)}for(const c of o)ys(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function PT(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const s=a;for(const i of s)if(typeof i!="number"&&typeof i!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function DT(e,t,n,r){const a=ai(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?a.spaceSeparated?s=bo(r):a.commaSeparated?s=ho(r):a.commaOrSpaceSeparated?s=bo(ho(r).join(" ")):s=eu(a,a.property,r):Array.isArray(r)?s=[...r]:s=a.property==="style"?_T(r):String(r);if(Array.isArray(s)){const i=[];for(const o of s)i.push(eu(a,a.property,o));s=i}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function ys(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)ys(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?ys(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function eu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||ar(n)===ar(t)))return!0}return n}function _T(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function FT(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const UT=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],BT=cd(ha,"div"),HT=cd(Rn,"g",UT);function jT(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(s){if(typeof s=="number"&&s>-1&&s<=t.length){let i=0;for(;;){let o=n[i];if(o===void 0){const l=tu(t,n[i-1]);o=l===-1?t.length+1:l+1,n[i]=o}if(o>s)return{line:i+1,column:s-(i>0?n[i-1]:0)+1,offset:s};i++}}}function a(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length<s.line;){const o=n[n.length-1],l=tu(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const i=(s.line>1?n[s.line-2]:0)+s.column-1;if(i<n[s.line-1])return i}}}function tu(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
75
- `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Bt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},dd={}.hasOwnProperty,VT=Object.prototype;function zT(e,t){const n=t||{};return Ei({file:n.file||void 0,location:!1,schema:n.space==="svg"?Rn:ha,verbose:n.verbose||!1},e)}function Ei(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},_r(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:fd(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const s=String(e.file),i=jT(s),o=i.toPoint(0),l=i.toPoint(s.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},_r(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},_r(e,r,n),n}default:return n=YT(e,t),n}}function fd(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Ei(e,t[n]);r.push(a)}return r}function YT(e,t){const n=e.schema;e.schema=t.namespaceURI===Bt.svg?Rn:ha;let r=-1;const a={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;dd.call(VT,l)||(a[l]=o.value)}const i=(e.schema.space==="svg"?HT:BT)(t.tagName,a,fd(e,t.childNodes));if(_r(e,t,i),i.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&un(l.startTag),d=l&&l.endTag&&un(l.endTag),f=Ei(e,o.content);c&&d&&e.file&&(f.position={start:c.end,end:d.start}),i.content=f}return e.schema=n,i}function _r(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=qT(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function qT(e,t,n){const r=un(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const s={};let i;if(n.attrs)for(i in n.attrs)dd.call(n.attrs,i)&&(s[ai(e.schema,i).property]=un(n.attrs[i]));n.startTag;const o=un(n.startTag),l=n.endTag?un(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=s,t.data={position:c}}}return r}function un(e){const t=nu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=nu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function nu(e){return e.line&&e.column?e:void 0}class pr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}pr.prototype.property={};pr.prototype.normal={};pr.prototype.space=null;function hd(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new pr(n,r,t)}function Cs(e){return e.toLowerCase()}class $e{constructor(t,n){this.property=t,this.attribute=n}}$e.prototype.space=null;$e.prototype.boolean=!1;$e.prototype.booleanish=!1;$e.prototype.overloadedBoolean=!1;$e.prototype.number=!1;$e.prototype.commaSeparated=!1;$e.prototype.spaceSeparated=!1;$e.prototype.commaOrSpaceSeparated=!1;$e.prototype.mustUseProperty=!1;$e.prototype.defined=!1;let KT=0;const ne=Zt(),ye=Zt(),md=Zt(),q=Zt(),pe=Zt(),hn=Zt(),qe=Zt();function Zt(){return 2**++KT}const Ss=Object.freeze(Object.defineProperty({__proto__:null,boolean:ne,booleanish:ye,commaOrSpaceSeparated:qe,commaSeparated:hn,number:q,overloadedBoolean:md,spaceSeparated:pe},Symbol.toStringTag,{value:"Module"})),Za=Object.keys(Ss);class bi extends $e{constructor(t,n,r,a){let s=-1;if(super(t,n),ru(this,"space",a),typeof r=="number")for(;++s<Za.length;){const i=Za[s];ru(this,Za[s],(r&Ss[i])===Ss[i])}}}bi.prototype.defined=!0;function ru(e,t,n){n&&(e[t]=n)}const WT={}.hasOwnProperty;function wn(e){const t={},n={};let r;for(r in e.properties)if(WT.call(e.properties,r)){const a=e.properties[r],s=new bi(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Cs(r)]=r,n[Cs(s.attribute)]=r}return new pr(t,n,e.space)}const pd=wn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gd=wn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ed(e,t){return t in e?e[t]:t}function bd(e,t){return Ed(e,t.toLowerCase())}const Ad=wn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bd,properties:{xmlns:null,xmlnsXLink:null}}),Td=wn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ye,ariaAutoComplete:null,ariaBusy:ye,ariaChecked:ye,ariaColCount:q,ariaColIndex:q,ariaColSpan:q,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:ye,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:ye,ariaFlowTo:pe,ariaGrabbed:ye,ariaHasPopup:null,ariaHidden:ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:q,ariaLive:null,ariaModal:ye,ariaMultiLine:ye,ariaMultiSelectable:ye,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:q,ariaPressed:ye,ariaReadOnly:ye,ariaRelevant:null,ariaRequired:ye,ariaRoleDescription:pe,ariaRowCount:q,ariaRowIndex:q,ariaRowSpan:q,ariaSelected:ye,ariaSetSize:q,ariaSort:null,ariaValueMax:q,ariaValueMin:q,ariaValueNow:q,ariaValueText:null,role:null}}),QT=wn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bd,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hn,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:pe,autoFocus:ne,autoPlay:ne,blocking:pe,capture:null,charSet:null,checked:ne,cite:null,className:pe,cols:q,colSpan:null,content:null,contentEditable:ye,controls:ne,controlsList:pe,coords:q|hn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:md,draggable:ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:pe,height:q,hidden:ne,high:q,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:pe,itemRef:pe,itemScope:ne,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:q,manifest:null,max:null,maxLength:q,media:null,method:null,min:null,minLength:q,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ne,optimum:q,pattern:null,ping:pe,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:pe,required:ne,reversed:ne,rows:q,rowSpan:q,sandbox:pe,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:q,sizes:null,slot:null,span:q,spellCheck:ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:q,step:null,style:null,tabIndex:q,target:null,title:null,translate:null,type:null,typeMustMatch:ne,useMap:null,value:ye,width:q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:q,borderColor:null,bottomMargin:q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:q,leftMargin:q,link:null,longDesc:null,lowSrc:null,marginHeight:q,marginWidth:q,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:q,rules:null,scheme:null,scrolling:ye,standby:null,summary:null,text:null,topMargin:q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:q,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ne,disableRemotePlayback:ne,prefix:null,property:null,results:q,security:null,unselectable:null}}),ZT=wn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ed,properties:{about:qe,accentHeight:q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:q,amplitude:q,arabicForm:null,ascent:q,attributeName:null,attributeType:null,azimuth:q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:q,by:null,calcMode:null,capHeight:q,className:pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:q,diffuseConstant:q,direction:null,display:null,dur:null,divisor:q,dominantBaseline:null,download:ne,dx:null,dy:null,edgeMode:null,editable:null,elevation:q,enableBackground:null,end:null,event:null,exponent:q,externalResourcesRequired:null,fill:null,fillOpacity:q,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hn,g2:hn,glyphName:hn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:q,horizOriginX:q,horizOriginY:q,id:null,ideographic:q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:q,k:q,k1:q,k2:q,k3:q,k4:q,kernelMatrix:qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:q,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:q,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:q,overlineThickness:q,paintOrder:null,panose1:null,path:null,pathLength:q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:q,pointsAtY:q,pointsAtZ:q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:q,specularExponent:q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:q,strikethroughThickness:q,string:null,stroke:null,strokeDashArray:qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:q,strokeOpacity:q,strokeWidth:null,style:null,surfaceScale:q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qe,tabIndex:q,tableValues:null,target:null,targetX:q,targetY:q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:q,underlineThickness:q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:q,values:null,vAlphabetic:q,vMathematical:q,vectorEffect:null,vHanging:q,vIdeographic:q,version:null,vertAdvY:q,vertOriginX:q,vertOriginY:q,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),XT=/^data[-\w.:]+$/i,au=/-[a-z]/g,GT=/[A-Z]/g;function JT(e,t){const n=Cs(t);let r=t,a=$e;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&XT.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(au,ex);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!au.test(s)){let i=s.replace(GT,$T);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=bi}return new a(r,t)}function $T(e){return"-"+e.toLowerCase()}function ex(e){return e.charAt(1).toUpperCase()}const tx=hd([gd,pd,Ad,Td,QT],"html"),xd=hd([gd,pd,Ad,Td,ZT],"svg"),su={}.hasOwnProperty;function yd(e,t){const n=t||{};function r(a,...s){let i=r.invalid;const o=r.handlers;if(a&&su.call(a,e)){const l=String(a[e]);i=su.call(o,l)?o[l]:r.unknown}if(i)return i.call(this,a,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const nx={},rx={}.hasOwnProperty,Cd=yd("type",{handlers:{root:sx,element:cx,text:ux,comment:lx,doctype:ox}});function ax(e,t){const r=(t||nx).space;return Cd(e,r==="svg"?xd:tx)}function sx(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ai(e.children,n,t),vn(e,n),n}function ix(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ai(e.children,n,t),vn(e,n),n}function ox(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return vn(e,t),t}function ux(e){const t={nodeName:"#text",value:e.value,parentNode:null};return vn(e,t),t}function lx(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return vn(e,t),t}function cx(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=xd);const a=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&rx.call(e.properties,s)){const l=dx(r,s,e.properties[s]);l&&a.push(l)}}const i=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:Bt[i],childNodes:[],parentNode:null};return o.childNodes=Ai(e.children,o,r),vn(e,o),e.tagName==="template"&&e.content&&(o.content=ix(e.content,r)),o}function dx(e,t,n){const r=JT(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?kc(n):Fc(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=a.name.indexOf(":");s<0?a.prefix="":(a.name=a.name.slice(s+1),a.prefix=r.attribute.slice(0,s)),a.namespace=Bt[r.space]}return a}function Ai(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const s=Cd(e[r],n);s.parentNode=t,a.push(s)}return a}function vn(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const fx=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],hx=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Ee="�";var E;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(E||(E={}));const Fe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Sd(e){return e>=55296&&e<=57343}function mx(e){return e>=56320&&e<=57343}function px(e,t){return(e-55296)*1024+9216+t}function Id(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Nd(e){return e>=64976&&e<=65007||hx.has(e)}var O;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(O||(O={}));const gx=65536;class Ex{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=gx,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:s}=this,i=a+n,o=s+n;return{code:t,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(mx(n))return this.pos++,this._addGap(),px(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,E.EOF;return this._err(O.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;const r=this.html.charCodeAt(n);return r===E.CARRIAGE_RETURN?E.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;let t=this.html.charCodeAt(this.pos);return t===E.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,E.LINE_FEED):t===E.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Sd(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===E.LINE_FEED||t===E.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Id(t)?this._err(O.controlCharacterInInputStream):Nd(t)&&this._err(O.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var se;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(se||(se={}));function Ld(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const bx=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Ax=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Tx(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Ax.get(e))!==null&&t!==void 0?t:e}var Ie;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ie||(Ie={}));const xx=32;var vt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(vt||(vt={}));function Is(e){return e>=Ie.ZERO&&e<=Ie.NINE}function yx(e){return e>=Ie.UPPER_A&&e<=Ie.UPPER_F||e>=Ie.LOWER_A&&e<=Ie.LOWER_F}function Cx(e){return e>=Ie.UPPER_A&&e<=Ie.UPPER_Z||e>=Ie.LOWER_A&&e<=Ie.LOWER_Z||Is(e)}function Sx(e){return e===Ie.EQUALS||Cx(e)}var Se;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Se||(Se={}));var xt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(xt||(xt={}));class Ix{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Se.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xt.Strict}startEntity(t){this.decodeMode=t,this.state=Se.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Se.EntityStart:return t.charCodeAt(n)===Ie.NUM?(this.state=Se.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Se.NamedEntity,this.stateNamedEntity(t,n));case Se.NumericStart:return this.stateNumericStart(t,n);case Se.NumericDecimal:return this.stateNumericDecimal(t,n);case Se.NumericHex:return this.stateNumericHex(t,n);case Se.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|xx)===Ie.LOWER_X?(this.state=Se.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Se.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const s=r-n;this.result=this.result*Math.pow(a,s)+Number.parseInt(t.substr(n,s),a),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Is(a)||yx(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Is(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ie.SEMI)this.consumed+=1;else if(this.decodeMode===xt.Strict)return 0;return this.emitCodePoint(Tx(this.result),this.consumed),this.errors&&(t!==Ie.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],s=(a&vt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const i=t.charCodeAt(n);if(this.treeIndex=Nx(r,a,this.treeIndex+Math.max(1,s),i),this.treeIndex<0)return this.result===0||this.decodeMode===xt.Attribute&&(s===0||Sx(i))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],s=(a&vt.VALUE_LENGTH)>>14,s!==0){if(i===Ie.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==xt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&vt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~vt.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case Se.NamedEntity:return this.result!==0&&(this.decodeMode!==xt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Se.NumericDecimal:return this.emitNumericEntity(0,2);case Se.NumericHex:return this.emitNumericEntity(0,3);case Se.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Se.EntityStart:return 0}}}function Nx(e,t,n,r){const a=(t&vt.BRANCH_LENGTH)>>7,s=t&vt.JUMP_TABLE;if(a===0)return s!==0&&r===s?n:-1;if(s){const l=r-s;return l<0||l>=a?-1:e[n+l]-1}let i=n,o=i+a-1;for(;i<=o;){const l=i+o>>>1,c=e[l];if(c<r)i=l+1;else if(c>r)o=l-1;else return e[l+a]}return-1}var B;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(B||(B={}));var Ht;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ht||(Ht={}));var Ge;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ge||(Ge={}));var w;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(w||(w={}));var u;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(u||(u={}));const Lx=new Map([[w.A,u.A],[w.ADDRESS,u.ADDRESS],[w.ANNOTATION_XML,u.ANNOTATION_XML],[w.APPLET,u.APPLET],[w.AREA,u.AREA],[w.ARTICLE,u.ARTICLE],[w.ASIDE,u.ASIDE],[w.B,u.B],[w.BASE,u.BASE],[w.BASEFONT,u.BASEFONT],[w.BGSOUND,u.BGSOUND],[w.BIG,u.BIG],[w.BLOCKQUOTE,u.BLOCKQUOTE],[w.BODY,u.BODY],[w.BR,u.BR],[w.BUTTON,u.BUTTON],[w.CAPTION,u.CAPTION],[w.CENTER,u.CENTER],[w.CODE,u.CODE],[w.COL,u.COL],[w.COLGROUP,u.COLGROUP],[w.DD,u.DD],[w.DESC,u.DESC],[w.DETAILS,u.DETAILS],[w.DIALOG,u.DIALOG],[w.DIR,u.DIR],[w.DIV,u.DIV],[w.DL,u.DL],[w.DT,u.DT],[w.EM,u.EM],[w.EMBED,u.EMBED],[w.FIELDSET,u.FIELDSET],[w.FIGCAPTION,u.FIGCAPTION],[w.FIGURE,u.FIGURE],[w.FONT,u.FONT],[w.FOOTER,u.FOOTER],[w.FOREIGN_OBJECT,u.FOREIGN_OBJECT],[w.FORM,u.FORM],[w.FRAME,u.FRAME],[w.FRAMESET,u.FRAMESET],[w.H1,u.H1],[w.H2,u.H2],[w.H3,u.H3],[w.H4,u.H4],[w.H5,u.H5],[w.H6,u.H6],[w.HEAD,u.HEAD],[w.HEADER,u.HEADER],[w.HGROUP,u.HGROUP],[w.HR,u.HR],[w.HTML,u.HTML],[w.I,u.I],[w.IMG,u.IMG],[w.IMAGE,u.IMAGE],[w.INPUT,u.INPUT],[w.IFRAME,u.IFRAME],[w.KEYGEN,u.KEYGEN],[w.LABEL,u.LABEL],[w.LI,u.LI],[w.LINK,u.LINK],[w.LISTING,u.LISTING],[w.MAIN,u.MAIN],[w.MALIGNMARK,u.MALIGNMARK],[w.MARQUEE,u.MARQUEE],[w.MATH,u.MATH],[w.MENU,u.MENU],[w.META,u.META],[w.MGLYPH,u.MGLYPH],[w.MI,u.MI],[w.MO,u.MO],[w.MN,u.MN],[w.MS,u.MS],[w.MTEXT,u.MTEXT],[w.NAV,u.NAV],[w.NOBR,u.NOBR],[w.NOFRAMES,u.NOFRAMES],[w.NOEMBED,u.NOEMBED],[w.NOSCRIPT,u.NOSCRIPT],[w.OBJECT,u.OBJECT],[w.OL,u.OL],[w.OPTGROUP,u.OPTGROUP],[w.OPTION,u.OPTION],[w.P,u.P],[w.PARAM,u.PARAM],[w.PLAINTEXT,u.PLAINTEXT],[w.PRE,u.PRE],[w.RB,u.RB],[w.RP,u.RP],[w.RT,u.RT],[w.RTC,u.RTC],[w.RUBY,u.RUBY],[w.S,u.S],[w.SCRIPT,u.SCRIPT],[w.SEARCH,u.SEARCH],[w.SECTION,u.SECTION],[w.SELECT,u.SELECT],[w.SOURCE,u.SOURCE],[w.SMALL,u.SMALL],[w.SPAN,u.SPAN],[w.STRIKE,u.STRIKE],[w.STRONG,u.STRONG],[w.STYLE,u.STYLE],[w.SUB,u.SUB],[w.SUMMARY,u.SUMMARY],[w.SUP,u.SUP],[w.TABLE,u.TABLE],[w.TBODY,u.TBODY],[w.TEMPLATE,u.TEMPLATE],[w.TEXTAREA,u.TEXTAREA],[w.TFOOT,u.TFOOT],[w.TD,u.TD],[w.TH,u.TH],[w.THEAD,u.THEAD],[w.TITLE,u.TITLE],[w.TR,u.TR],[w.TRACK,u.TRACK],[w.TT,u.TT],[w.U,u.U],[w.UL,u.UL],[w.SVG,u.SVG],[w.VAR,u.VAR],[w.WBR,u.WBR],[w.XMP,u.XMP]]);function On(e){var t;return(t=Lx.get(e))!==null&&t!==void 0?t:u.UNKNOWN}const j=u,Rx={[B.HTML]:new Set([j.ADDRESS,j.APPLET,j.AREA,j.ARTICLE,j.ASIDE,j.BASE,j.BASEFONT,j.BGSOUND,j.BLOCKQUOTE,j.BODY,j.BR,j.BUTTON,j.CAPTION,j.CENTER,j.COL,j.COLGROUP,j.DD,j.DETAILS,j.DIR,j.DIV,j.DL,j.DT,j.EMBED,j.FIELDSET,j.FIGCAPTION,j.FIGURE,j.FOOTER,j.FORM,j.FRAME,j.FRAMESET,j.H1,j.H2,j.H3,j.H4,j.H5,j.H6,j.HEAD,j.HEADER,j.HGROUP,j.HR,j.HTML,j.IFRAME,j.IMG,j.INPUT,j.LI,j.LINK,j.LISTING,j.MAIN,j.MARQUEE,j.MENU,j.META,j.NAV,j.NOEMBED,j.NOFRAMES,j.NOSCRIPT,j.OBJECT,j.OL,j.P,j.PARAM,j.PLAINTEXT,j.PRE,j.SCRIPT,j.SECTION,j.SELECT,j.SOURCE,j.STYLE,j.SUMMARY,j.TABLE,j.TBODY,j.TD,j.TEMPLATE,j.TEXTAREA,j.TFOOT,j.TH,j.THEAD,j.TITLE,j.TR,j.TRACK,j.UL,j.WBR,j.XMP]),[B.MATHML]:new Set([j.MI,j.MO,j.MN,j.MS,j.MTEXT,j.ANNOTATION_XML]),[B.SVG]:new Set([j.TITLE,j.FOREIGN_OBJECT,j.DESC]),[B.XLINK]:new Set,[B.XML]:new Set,[B.XMLNS]:new Set},Ns=new Set([j.H1,j.H2,j.H3,j.H4,j.H5,j.H6]);w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT;var A;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(A||(A={}));const Ae={DATA:A.DATA,RCDATA:A.RCDATA,RAWTEXT:A.RAWTEXT,SCRIPT_DATA:A.SCRIPT_DATA,PLAINTEXT:A.PLAINTEXT,CDATA_SECTION:A.CDATA_SECTION};function kx(e){return e>=E.DIGIT_0&&e<=E.DIGIT_9}function Yn(e){return e>=E.LATIN_CAPITAL_A&&e<=E.LATIN_CAPITAL_Z}function wx(e){return e>=E.LATIN_SMALL_A&&e<=E.LATIN_SMALL_Z}function kt(e){return wx(e)||Yn(e)}function iu(e){return kt(e)||kx(e)}function wr(e){return e+32}function Rd(e){return e===E.SPACE||e===E.LINE_FEED||e===E.TABULATION||e===E.FORM_FEED}function ou(e){return Rd(e)||e===E.SOLIDUS||e===E.GREATER_THAN_SIGN}function vx(e){return e===E.NULL?O.nullCharacterReference:e>1114111?O.characterReferenceOutsideUnicodeRange:Sd(e)?O.surrogateCharacterReference:Nd(e)?O.noncharacterCharacterReference:Id(e)||e===E.CARRIAGE_RETURN?O.controlCharacterReference:null}class Ox{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=A.DATA,this.returnState=A.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ex(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ix(bx,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(O.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(O.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=vx(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:se.START_TAG,tagName:"",tagID:u.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:se.END_TAG,tagName:"",tagID:u.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:se.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:se.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Ld(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(O.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=On(t.tagName),t.type===se.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(O.endTagWithAttributes),t.selfClosing&&this._err(O.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case se.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case se.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case se.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:se.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Rd(t)?se.WHITESPACE_CHARACTER:t===E.NULL?se.NULL_CHARACTER:se.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(se.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=A.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?xt.Attribute:xt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===A.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case A.DATA:{this._stateData(t);break}case A.RCDATA:{this._stateRcdata(t);break}case A.RAWTEXT:{this._stateRawtext(t);break}case A.SCRIPT_DATA:{this._stateScriptData(t);break}case A.PLAINTEXT:{this._statePlaintext(t);break}case A.TAG_OPEN:{this._stateTagOpen(t);break}case A.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case A.TAG_NAME:{this._stateTagName(t);break}case A.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case A.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case A.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case A.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case A.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case A.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case A.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case A.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case A.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case A.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case A.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case A.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case A.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case A.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case A.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case A.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case A.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case A.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case A.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case A.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case A.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case A.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case A.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case A.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case A.BOGUS_COMMENT:{this._stateBogusComment(t);break}case A.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case A.COMMENT_START:{this._stateCommentStart(t);break}case A.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case A.COMMENT:{this._stateComment(t);break}case A.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case A.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case A.COMMENT_END:{this._stateCommentEnd(t);break}case A.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case A.DOCTYPE:{this._stateDoctype(t);break}case A.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case A.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case A.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case A.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case A.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case A.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case A.CDATA_SECTION:{this._stateCdataSection(t);break}case A.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case A.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case A.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case A.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=A.TAG_OPEN;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitCodePoint(t);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case E.AMPERSAND:{this._startCharacterReference();break}case E.LESS_THAN_SIGN:{this.state=A.RCDATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(Ee);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case E.LESS_THAN_SIGN:{this.state=A.RAWTEXT_LESS_THAN_SIGN;break}case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(Ee);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(Ee);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(Ee);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(kt(t))this._createStartTagToken(),this.state=A.TAG_NAME,this._stateTagName(t);else switch(t){case E.EXCLAMATION_MARK:{this.state=A.MARKUP_DECLARATION_OPEN;break}case E.SOLIDUS:{this.state=A.END_TAG_OPEN;break}case E.QUESTION_MARK:{this._err(O.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t);break}case E.EOF:{this._err(O.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(O.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=A.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(kt(t))this._createEndTagToken(),this.state=A.TAG_NAME,this._stateTagName(t);else switch(t){case E.GREATER_THAN_SIGN:{this._err(O.missingEndTagName),this.state=A.DATA;break}case E.EOF:{this._err(O.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(O.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=A.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this.state=A.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.tagName+=Ee;break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Yn(t)?wr(t):t)}}_stateRcdataLessThanSign(t){t===E.SOLIDUS?this.state=A.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){kt(t)?(this.state=A.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=A.BEFORE_ATTRIBUTE_NAME,!1;case E.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=A.SELF_CLOSING_START_TAG,!1;case E.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=A.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===E.SOLIDUS?this.state=A.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){kt(t)?(this.state=A.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case E.SOLIDUS:{this.state=A.SCRIPT_DATA_END_TAG_OPEN;break}case E.EXCLAMATION_MARK:{this.state=A.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=A.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){kt(t)?(this.state=A.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===E.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===E.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(Ee);break}case E.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars(Ee);break}case E.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.GREATER_THAN_SIGN:{this.state=A.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars(Ee);break}case E.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===E.SOLIDUS?this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:kt(t)?(this._emitChars("<"),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){kt(t)?(this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Fe.SCRIPT,!1)&&ou(this.preprocessor.peek(Fe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Fe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(Ee);break}case E.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ee);break}case E.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.GREATER_THAN_SIGN:{this.state=A.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ee);break}case E.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===E.SOLIDUS?(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Fe.SCRIPT,!1)&&ou(this.preprocessor.peek(Fe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Fe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._err(O.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=A.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this._leaveAttrName(),this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._leaveAttrName(),this.state=A.BEFORE_ATTRIBUTE_VALUE;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:{this._err(O.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.name+=Ee;break}default:this.currentAttr.name+=String.fromCodePoint(Yn(t)?wr(t):t)}}_stateAfterAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:{this.state=A.SELF_CLOSING_START_TAG;break}case E.EQUALS_SIGN:{this.state=A.BEFORE_ATTRIBUTE_VALUE;break}case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{this.state=A.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this.state=A.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(O.missingAttributeValue),this.state=A.DATA,this.emitCurrentTagToken();break}default:this.state=A.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case E.QUOTATION_MARK:{this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=Ee;break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case E.APOSTROPHE:{this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=Ee;break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=Ee;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:case E.EQUALS_SIGN:case E.GRAVE_ACCENT:{this._err(O.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this._leaveAttrValue(),this.state=A.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._err(O.missingWhitespaceBetweenAttributes),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case E.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=A.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._err(O.unexpectedSolidusInTag),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentComment(n);break}case E.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.data+=Ee;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Fe.DASH_DASH,!0)?(this._createCommentToken(Fe.DASH_DASH.length+1),this.state=A.COMMENT_START):this._consumeSequenceIfMatch(Fe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Fe.DOCTYPE.length+1),this.state=A.DOCTYPE):this._consumeSequenceIfMatch(Fe.CDATA_START,!0)?this.inForeignNode?this.state=A.CDATA_SECTION:(this._err(O.cdataInHtmlContent),this._createCommentToken(Fe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=A.BOGUS_COMMENT):this._ensureHibernation()||(this._err(O.incorrectlyOpenedComment),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case E.HYPHEN_MINUS:{this.state=A.COMMENT_START_DASH;break}case E.GREATER_THAN_SIGN:{this._err(O.abruptClosingOfEmptyComment),this.state=A.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=A.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=A.COMMENT_END;break}case E.GREATER_THAN_SIGN:{this._err(O.abruptClosingOfEmptyComment),this.state=A.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=A.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=A.COMMENT_END_DASH;break}case E.LESS_THAN_SIGN:{n.data+="<",this.state=A.COMMENT_LESS_THAN_SIGN;break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.data+=Ee;break}case E.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case E.EXCLAMATION_MARK:{n.data+="!",this.state=A.COMMENT_LESS_THAN_SIGN_BANG;break}case E.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=A.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===E.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=A.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===E.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=A.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==E.GREATER_THAN_SIGN&&t!==E.EOF&&this._err(O.nestedComment),this.state=A.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=A.COMMENT_END;break}case E.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=A.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentComment(n);break}case E.EXCLAMATION_MARK:{this.state=A.COMMENT_END_BANG;break}case E.HYPHEN_MINUS:{n.data+="-";break}case E.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=A.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{n.data+="--!",this.state=A.COMMENT_END_DASH;break}case E.GREATER_THAN_SIGN:{this._err(O.incorrectlyClosedComment),this.state=A.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=A.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case E.EOF:{this._err(O.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingWhitespaceBeforeDoctypeName),this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Yn(t))this._createDoctypeToken(String.fromCharCode(wr(t))),this.state=A.DOCTYPE_NAME;else switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.NULL:{this._err(O.unexpectedNullCharacter),this._createDoctypeToken(Ee),this.state=A.DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this._err(O.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.EOF:{this._err(O.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=A.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=A.AFTER_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.name+=Ee;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Yn(t)?wr(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Fe.PUBLIC,!1)?this.state=A.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Fe.SYSTEM,!1)?this.state=A.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(O.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(O.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(O.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(O.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(O.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.publicId+=Ee;break}case E.GREATER_THAN_SIGN:{this._err(O.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.publicId+=Ee;break}case E.GREATER_THAN_SIGN:{this._err(O.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case E.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.QUOTATION_MARK:{this._err(O.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(O.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.QUOTATION_MARK:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(O.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(O.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(O.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(O.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.systemId+=Ee;break}case E.GREATER_THAN_SIGN:{this._err(O.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(O.unexpectedNullCharacter),n.systemId+=Ee;break}case E.GREATER_THAN_SIGN:{this._err(O.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=A.DATA;break}case E.NULL:{this._err(O.unexpectedNullCharacter);break}case E.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case E.RIGHT_SQUARE_BRACKET:{this.state=A.CDATA_SECTION_BRACKET;break}case E.EOF:{this._err(O.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===E.RIGHT_SQUARE_BRACKET?this.state=A.CDATA_SECTION_END:(this._emitChars("]"),this.state=A.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case E.GREATER_THAN_SIGN:{this.state=A.DATA;break}case E.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=A.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&iu(this.preprocessor.peek(1))?A.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){iu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===E.SEMICOLON&&this._err(O.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const kd=new Set([u.DD,u.DT,u.LI,u.OPTGROUP,u.OPTION,u.P,u.RB,u.RP,u.RT,u.RTC]),uu=new Set([...kd,u.CAPTION,u.COLGROUP,u.TBODY,u.TD,u.TFOOT,u.TH,u.THEAD,u.TR]),Kr=new Set([u.APPLET,u.CAPTION,u.HTML,u.MARQUEE,u.OBJECT,u.TABLE,u.TD,u.TEMPLATE,u.TH]),Mx=new Set([...Kr,u.OL,u.UL]),Px=new Set([...Kr,u.BUTTON]),lu=new Set([u.ANNOTATION_XML,u.MI,u.MN,u.MO,u.MS,u.MTEXT]),cu=new Set([u.DESC,u.FOREIGN_OBJECT,u.TITLE]),Dx=new Set([u.TR,u.TEMPLATE,u.HTML]),_x=new Set([u.TBODY,u.TFOOT,u.THEAD,u.TEMPLATE,u.HTML]),Fx=new Set([u.TABLE,u.TEMPLATE,u.HTML]),Ux=new Set([u.TD,u.TH]);class Bx{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=u.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===u.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===B.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==B.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Ns,B.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ux,B.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Fx,B.HTML)}clearBackToTableBodyContext(){this.clearBackTo(_x,B.HTML)}clearBackToTableRowContext(){this.clearBackTo(Dx,B.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===u.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===u.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case B.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case B.SVG:{if(cu.has(a))return!1;break}case B.MATHML:{if(lu.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Kr)}hasInListItemScope(t){return this.hasInDynamicScope(t,Mx)}hasInButtonScope(t){return this.hasInDynamicScope(t,Px)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case B.HTML:{if(Ns.has(n))return!0;if(Kr.has(n))return!1;break}case B.SVG:{if(cu.has(n))return!1;break}case B.MATHML:{if(lu.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===B.HTML)switch(this.tagIDs[n]){case t:return!0;case u.TABLE:case u.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===B.HTML)switch(this.tagIDs[t]){case u.TBODY:case u.THEAD:case u.TFOOT:return!0;case u.TABLE:case u.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===B.HTML)switch(this.tagIDs[n]){case t:return!0;case u.OPTION:case u.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&kd.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&uu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&uu.has(this.currentTagId);)this.pop()}}const Xa=3;var ut;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ut||(ut={}));const du={type:ut.Marker};class Hx{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,s=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===ut.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===s&&this.treeAdapter.getNamespaceURI(c)===i){const d=this.treeAdapter.getAttrList(c);d.length===a&&r.push({idx:o,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Xa)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Xa)return;const a=new Map(n.map(i=>[i.name,i.value]));let s=0;for(let i=0;i<r.length;i++){const o=r[i];o.attrs.every(l=>a.get(l.name)===l.value)&&(s+=1,s>=Xa&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(du)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:ut.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ut.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(du);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===ut.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===ut.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===ut.Element&&n.element===t)}}const wt={createDocument(){return{nodeName:"#document",mode:Ge.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(s=>s.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};wt.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(wt.isTextNode(n)){n.value+=t;return}}wt.appendChild(e,wt.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&wt.isTextNode(r)?r.value+=t:wt.insertBefore(e,wt.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},wd="html",jx="about:legacy-compat",Vx="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",vd=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],zx=[...vd,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Yx=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Od=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],qx=[...Od,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function fu(e,t){return t.some(n=>e.startsWith(n))}function Kx(e){return e.name===wd&&e.publicId===null&&(e.systemId===null||e.systemId===jx)}function Wx(e){if(e.name!==wd)return Ge.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Vx)return Ge.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Yx.has(n))return Ge.QUIRKS;let r=t===null?zx:vd;if(fu(n,r))return Ge.QUIRKS;if(r=t===null?Od:qx,fu(n,r))return Ge.LIMITED_QUIRKS}return Ge.NO_QUIRKS}const hu={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Qx="definitionurl",Zx="definitionURL",Xx=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Gx=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:B.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:B.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:B.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:B.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:B.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:B.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:B.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:B.XML}],["xml:space",{prefix:"xml",name:"space",namespace:B.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:B.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:B.XMLNS}]]),Jx=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),$x=new Set([u.B,u.BIG,u.BLOCKQUOTE,u.BODY,u.BR,u.CENTER,u.CODE,u.DD,u.DIV,u.DL,u.DT,u.EM,u.EMBED,u.H1,u.H2,u.H3,u.H4,u.H5,u.H6,u.HEAD,u.HR,u.I,u.IMG,u.LI,u.LISTING,u.MENU,u.META,u.NOBR,u.OL,u.P,u.PRE,u.RUBY,u.S,u.SMALL,u.SPAN,u.STRONG,u.STRIKE,u.SUB,u.SUP,u.TABLE,u.TT,u.U,u.UL,u.VAR]);function ey(e){const t=e.tagID;return t===u.FONT&&e.attrs.some(({name:r})=>r===Ht.COLOR||r===Ht.SIZE||r===Ht.FACE)||$x.has(t)}function Md(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Qx){e.attrs[t].name=Zx;break}}function Pd(e){for(let t=0;t<e.attrs.length;t++){const n=Xx.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Ti(e){for(let t=0;t<e.attrs.length;t++){const n=Gx.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function ty(e){const t=Jx.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=On(e.tagName))}function ny(e,t){return t===B.MATHML&&(e===u.MI||e===u.MO||e===u.MN||e===u.MS||e===u.MTEXT)}function ry(e,t,n){if(t===B.MATHML&&e===u.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Ht.ENCODING){const a=n[r].value.toLowerCase();return a===hu.TEXT_HTML||a===hu.APPLICATION_XML}}return t===B.SVG&&(e===u.FOREIGN_OBJECT||e===u.DESC||e===u.TITLE)}function ay(e,t,n,r){return(!r||r===B.HTML)&&ry(e,t,n)||(!r||r===B.MATHML)&&ny(e,t)}const sy="hidden",iy=8,oy=3;var y;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(y||(y={}));const uy={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Dd=new Set([u.TABLE,u.TBODY,u.TFOOT,u.THEAD,u.TR]),mu={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:wt,onParseError:null};class pu{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=y.INITIAL,this.originalInsertionMode=y.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...mu,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new Ox(this.options,this),this.activeFormattingElements=new Hx(this.treeAdapter),this.fragmentContextID=r?On(this.treeAdapter.getTagName(r)):u.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Bx(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...mu,...n};t??(t=r.treeAdapter.createElement(w.TEMPLATE,B.HTML,[]));const a=r.treeAdapter.createElement("documentmock",B.HTML,[]),s=new this(r,a,t);return s.fragmentContextID===u.TEMPLATE&&s.tmplInsertionModeStack.unshift(y.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const s=(a=t.location)!==null&&a!==void 0?a:uy,i={code:n,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:r?s.startLine:s.endLine,endCol:r?s.startCol:s.endCol,endOffset:r?s.startOffset:s.endOffset};this.onParseError(i)}onItemPush(t,n,r){var a,s;(s=(a=this.treeAdapter).onItemPush)===null||s===void 0||s.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let s,i;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,i=this.fragmentContextID):{current:s,currentTagId:i}=this.openElements,this._setContextModes(s,i)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===B.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,B.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=y.TEXT}switchToPlaintextParsing(){this.insertionMode=y.TEXT,this.originalInsertionMode=y.IN_BODY,this.tokenizer.state=Ae.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===w.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==B.HTML))switch(this.fragmentContextID){case u.TITLE:case u.TEXTAREA:{this.tokenizer.state=Ae.RCDATA;break}case u.STYLE:case u.XMP:case u.IFRAME:case u.NOEMBED:case u.NOFRAMES:case u.NOSCRIPT:{this.tokenizer.state=Ae.RAWTEXT;break}case u.SCRIPT:{this.tokenizer.state=Ae.SCRIPT_DATA;break}case u.PLAINTEXT:{this.tokenizer.state=Ae.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,B.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,B.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(w.HTML,B.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,u.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),s=r?a.lastIndexOf(r):a.length,i=a[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:l,endCol:c,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:l,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),s=n.type===se.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===u.SVG&&this.treeAdapter.getTagName(n)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===B.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===u.MGLYPH||t.tagID===u.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,B.HTML)}_processToken(t){switch(t.type){case se.CHARACTER:{this.onCharacter(t);break}case se.NULL_CHARACTER:{this.onNullCharacter(t);break}case se.COMMENT:{this.onComment(t);break}case se.DOCTYPE:{this.onDoctype(t);break}case se.START_TAG:{this._processStartTag(t);break}case se.END_TAG:{this.onEndTag(t);break}case se.EOF:{this.onEof(t);break}case se.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return ay(t,a,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===ut.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const s=this.activeFormattingElements.entries[a];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=y.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(u.P),this.openElements.popUntilTagNamePopped(u.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case u.TR:{this.insertionMode=y.IN_ROW;return}case u.TBODY:case u.THEAD:case u.TFOOT:{this.insertionMode=y.IN_TABLE_BODY;return}case u.CAPTION:{this.insertionMode=y.IN_CAPTION;return}case u.COLGROUP:{this.insertionMode=y.IN_COLUMN_GROUP;return}case u.TABLE:{this.insertionMode=y.IN_TABLE;return}case u.BODY:{this.insertionMode=y.IN_BODY;return}case u.FRAMESET:{this.insertionMode=y.IN_FRAMESET;return}case u.SELECT:{this._resetInsertionModeForSelect(t);return}case u.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case u.HTML:{this.insertionMode=this.headElement?y.AFTER_HEAD:y.BEFORE_HEAD;return}case u.TD:case u.TH:{if(t>0){this.insertionMode=y.IN_CELL;return}break}case u.HEAD:{if(t>0){this.insertionMode=y.IN_HEAD;return}break}}this.insertionMode=y.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===u.TEMPLATE)break;if(r===u.TABLE){this.insertionMode=y.IN_SELECT_IN_TABLE;return}}this.insertionMode=y.IN_SELECT}_isElementCausesFosterParenting(t){return Dd.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case u.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===B.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case u.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return Rx[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){UC(this,t);return}switch(this.insertionMode){case y.INITIAL:{jn(this,t);break}case y.BEFORE_HTML:{Xn(this,t);break}case y.BEFORE_HEAD:{Gn(this,t);break}case y.IN_HEAD:{Jn(this,t);break}case y.IN_HEAD_NO_SCRIPT:{$n(this,t);break}case y.AFTER_HEAD:{er(this,t);break}case y.IN_BODY:case y.IN_CAPTION:case y.IN_CELL:case y.IN_TEMPLATE:{Fd(this,t);break}case y.TEXT:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case y.IN_TABLE:case y.IN_TABLE_BODY:case y.IN_ROW:{Ga(this,t);break}case y.IN_TABLE_TEXT:{zd(this,t);break}case y.IN_COLUMN_GROUP:{Wr(this,t);break}case y.AFTER_BODY:{Qr(this,t);break}case y.AFTER_AFTER_BODY:{Fr(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){FC(this,t);return}switch(this.insertionMode){case y.INITIAL:{jn(this,t);break}case y.BEFORE_HTML:{Xn(this,t);break}case y.BEFORE_HEAD:{Gn(this,t);break}case y.IN_HEAD:{Jn(this,t);break}case y.IN_HEAD_NO_SCRIPT:{$n(this,t);break}case y.AFTER_HEAD:{er(this,t);break}case y.TEXT:{this._insertCharacters(t);break}case y.IN_TABLE:case y.IN_TABLE_BODY:case y.IN_ROW:{Ga(this,t);break}case y.IN_COLUMN_GROUP:{Wr(this,t);break}case y.AFTER_BODY:{Qr(this,t);break}case y.AFTER_AFTER_BODY:{Fr(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ls(this,t);return}switch(this.insertionMode){case y.INITIAL:case y.BEFORE_HTML:case y.BEFORE_HEAD:case y.IN_HEAD:case y.IN_HEAD_NO_SCRIPT:case y.AFTER_HEAD:case y.IN_BODY:case y.IN_TABLE:case y.IN_CAPTION:case y.IN_COLUMN_GROUP:case y.IN_TABLE_BODY:case y.IN_ROW:case y.IN_CELL:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:case y.IN_TEMPLATE:case y.IN_FRAMESET:case y.AFTER_FRAMESET:{Ls(this,t);break}case y.IN_TABLE_TEXT:{Vn(this,t);break}case y.AFTER_BODY:{py(this,t);break}case y.AFTER_AFTER_BODY:case y.AFTER_AFTER_FRAMESET:{gy(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case y.INITIAL:{Ey(this,t);break}case y.BEFORE_HEAD:case y.IN_HEAD:case y.IN_HEAD_NO_SCRIPT:case y.AFTER_HEAD:{this._err(t,O.misplacedDoctype);break}case y.IN_TABLE_TEXT:{Vn(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,O.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?BC(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case y.INITIAL:{jn(this,t);break}case y.BEFORE_HTML:{by(this,t);break}case y.BEFORE_HEAD:{Ty(this,t);break}case y.IN_HEAD:{st(this,t);break}case y.IN_HEAD_NO_SCRIPT:{Cy(this,t);break}case y.AFTER_HEAD:{Iy(this,t);break}case y.IN_BODY:{ke(this,t);break}case y.IN_TABLE:{bn(this,t);break}case y.IN_TABLE_TEXT:{Vn(this,t);break}case y.IN_CAPTION:{xC(this,t);break}case y.IN_COLUMN_GROUP:{Ci(this,t);break}case y.IN_TABLE_BODY:{Ta(this,t);break}case y.IN_ROW:{xa(this,t);break}case y.IN_CELL:{SC(this,t);break}case y.IN_SELECT:{Kd(this,t);break}case y.IN_SELECT_IN_TABLE:{NC(this,t);break}case y.IN_TEMPLATE:{RC(this,t);break}case y.AFTER_BODY:{wC(this,t);break}case y.IN_FRAMESET:{vC(this,t);break}case y.AFTER_FRAMESET:{MC(this,t);break}case y.AFTER_AFTER_BODY:{DC(this,t);break}case y.AFTER_AFTER_FRAMESET:{_C(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?HC(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case y.INITIAL:{jn(this,t);break}case y.BEFORE_HTML:{Ay(this,t);break}case y.BEFORE_HEAD:{xy(this,t);break}case y.IN_HEAD:{yy(this,t);break}case y.IN_HEAD_NO_SCRIPT:{Sy(this,t);break}case y.AFTER_HEAD:{Ny(this,t);break}case y.IN_BODY:{Aa(this,t);break}case y.TEXT:{dC(this,t);break}case y.IN_TABLE:{ir(this,t);break}case y.IN_TABLE_TEXT:{Vn(this,t);break}case y.IN_CAPTION:{yC(this,t);break}case y.IN_COLUMN_GROUP:{CC(this,t);break}case y.IN_TABLE_BODY:{Rs(this,t);break}case y.IN_ROW:{qd(this,t);break}case y.IN_CELL:{IC(this,t);break}case y.IN_SELECT:{Wd(this,t);break}case y.IN_SELECT_IN_TABLE:{LC(this,t);break}case y.IN_TEMPLATE:{kC(this,t);break}case y.AFTER_BODY:{Zd(this,t);break}case y.IN_FRAMESET:{OC(this,t);break}case y.AFTER_FRAMESET:{PC(this,t);break}case y.AFTER_AFTER_BODY:{Fr(this,t);break}}}onEof(t){switch(this.insertionMode){case y.INITIAL:{jn(this,t);break}case y.BEFORE_HTML:{Xn(this,t);break}case y.BEFORE_HEAD:{Gn(this,t);break}case y.IN_HEAD:{Jn(this,t);break}case y.IN_HEAD_NO_SCRIPT:{$n(this,t);break}case y.AFTER_HEAD:{er(this,t);break}case y.IN_BODY:case y.IN_TABLE:case y.IN_CAPTION:case y.IN_COLUMN_GROUP:case y.IN_TABLE_BODY:case y.IN_ROW:case y.IN_CELL:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:{jd(this,t);break}case y.TEXT:{fC(this,t);break}case y.IN_TABLE_TEXT:{Vn(this,t);break}case y.IN_TEMPLATE:{Qd(this,t);break}case y.AFTER_BODY:case y.IN_FRAMESET:case y.AFTER_FRAMESET:case y.AFTER_AFTER_BODY:case y.AFTER_AFTER_FRAMESET:{yi(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===E.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case y.IN_HEAD:case y.IN_HEAD_NO_SCRIPT:case y.AFTER_HEAD:case y.TEXT:case y.IN_COLUMN_GROUP:case y.IN_SELECT:case y.IN_SELECT_IN_TABLE:case y.IN_FRAMESET:case y.AFTER_FRAMESET:{this._insertCharacters(t);break}case y.IN_BODY:case y.IN_CAPTION:case y.IN_CELL:case y.IN_TEMPLATE:case y.AFTER_BODY:case y.AFTER_AFTER_BODY:case y.AFTER_AFTER_FRAMESET:{_d(this,t);break}case y.IN_TABLE:case y.IN_TABLE_BODY:case y.IN_ROW:{Ga(this,t);break}case y.IN_TABLE_TEXT:{Vd(this,t);break}}}}function ly(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Hd(e,t),n}function cy(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function dy(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let s=0,i=a;i!==n;s++,i=a){a=e.openElements.getCommonAncestor(i);const o=e.activeFormattingElements.getElementEntry(i),l=o&&s>=oy;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(i)):(i=fy(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function fy(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function hy(e,t,n){const r=e.treeAdapter.getTagName(t),a=On(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);a===u.TEMPLATE&&s===B.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function my(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,s=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,a.tagID)}function xi(e,t){for(let n=0;n<iy;n++){const r=ly(e,t);if(!r)break;const a=cy(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const s=dy(e,a,r.element),i=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),i&&hy(e,i,s),my(e,a,r)}}function Ls(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function py(e,t){e._appendCommentNode(t,e.openElements.items[0])}function gy(e,t){e._appendCommentNode(t,e.document)}function yi(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(s);i&&!i.endTag&&e._setEndLocation(s,t)}}}}function Ey(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ge.QUIRKS:Wx(t);Kx(t)||e._err(t,O.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=y.BEFORE_HTML}function jn(e,t){e._err(t,O.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ge.QUIRKS),e.insertionMode=y.BEFORE_HTML,e._processToken(t)}function by(e,t){t.tagID===u.HTML?(e._insertElement(t,B.HTML),e.insertionMode=y.BEFORE_HEAD):Xn(e,t)}function Ay(e,t){const n=t.tagID;(n===u.HTML||n===u.HEAD||n===u.BODY||n===u.BR)&&Xn(e,t)}function Xn(e,t){e._insertFakeRootElement(),e.insertionMode=y.BEFORE_HEAD,e._processToken(t)}function Ty(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.HEAD:{e._insertElement(t,B.HTML),e.headElement=e.openElements.current,e.insertionMode=y.IN_HEAD;break}default:Gn(e,t)}}function xy(e,t){const n=t.tagID;n===u.HEAD||n===u.BODY||n===u.HTML||n===u.BR?Gn(e,t):e._err(t,O.endTagWithoutMatchingOpenElement)}function Gn(e,t){e._insertFakeElement(w.HEAD,u.HEAD),e.headElement=e.openElements.current,e.insertionMode=y.IN_HEAD,e._processToken(t)}function st(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.BASE:case u.BASEFONT:case u.BGSOUND:case u.LINK:case u.META:{e._appendElement(t,B.HTML),t.ackSelfClosing=!0;break}case u.TITLE:{e._switchToTextParsing(t,Ae.RCDATA);break}case u.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ae.RAWTEXT):(e._insertElement(t,B.HTML),e.insertionMode=y.IN_HEAD_NO_SCRIPT);break}case u.NOFRAMES:case u.STYLE:{e._switchToTextParsing(t,Ae.RAWTEXT);break}case u.SCRIPT:{e._switchToTextParsing(t,Ae.SCRIPT_DATA);break}case u.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=y.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(y.IN_TEMPLATE);break}case u.HEAD:{e._err(t,O.misplacedStartTagForHeadElement);break}default:Jn(e,t)}}function yy(e,t){switch(t.tagID){case u.HEAD:{e.openElements.pop(),e.insertionMode=y.AFTER_HEAD;break}case u.BODY:case u.BR:case u.HTML:{Jn(e,t);break}case u.TEMPLATE:{Xt(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}function Xt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==u.TEMPLATE&&e._err(t,O.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(u.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,O.endTagWithoutMatchingOpenElement)}function Jn(e,t){e.openElements.pop(),e.insertionMode=y.AFTER_HEAD,e._processToken(t)}function Cy(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.BASEFONT:case u.BGSOUND:case u.HEAD:case u.LINK:case u.META:case u.NOFRAMES:case u.STYLE:{st(e,t);break}case u.NOSCRIPT:{e._err(t,O.nestedNoscriptInHead);break}default:$n(e,t)}}function Sy(e,t){switch(t.tagID){case u.NOSCRIPT:{e.openElements.pop(),e.insertionMode=y.IN_HEAD;break}case u.BR:{$n(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}function $n(e,t){const n=t.type===se.EOF?O.openElementsLeftAfterEof:O.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=y.IN_HEAD,e._processToken(t)}function Iy(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.BODY:{e._insertElement(t,B.HTML),e.framesetOk=!1,e.insertionMode=y.IN_BODY;break}case u.FRAMESET:{e._insertElement(t,B.HTML),e.insertionMode=y.IN_FRAMESET;break}case u.BASE:case u.BASEFONT:case u.BGSOUND:case u.LINK:case u.META:case u.NOFRAMES:case u.SCRIPT:case u.STYLE:case u.TEMPLATE:case u.TITLE:{e._err(t,O.abandonedHeadElementChild),e.openElements.push(e.headElement,u.HEAD),st(e,t),e.openElements.remove(e.headElement);break}case u.HEAD:{e._err(t,O.misplacedStartTagForHeadElement);break}default:er(e,t)}}function Ny(e,t){switch(t.tagID){case u.BODY:case u.HTML:case u.BR:{er(e,t);break}case u.TEMPLATE:{Xt(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}function er(e,t){e._insertFakeElement(w.BODY,u.BODY),e.insertionMode=y.IN_BODY,ba(e,t)}function ba(e,t){switch(t.type){case se.CHARACTER:{Fd(e,t);break}case se.WHITESPACE_CHARACTER:{_d(e,t);break}case se.COMMENT:{Ls(e,t);break}case se.START_TAG:{ke(e,t);break}case se.END_TAG:{Aa(e,t);break}case se.EOF:{jd(e,t);break}}}function _d(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Fd(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ly(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Ry(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function ky(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,B.HTML),e.insertionMode=y.IN_FRAMESET)}function wy(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,B.HTML)}function vy(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Ns.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,B.HTML)}function Oy(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,B.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function My(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,B.HTML),n||(e.formElement=e.openElements.current))}function Py(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===u.LI&&a===u.LI||(n===u.DD||n===u.DT)&&(a===u.DD||a===u.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==u.ADDRESS&&a!==u.DIV&&a!==u.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,B.HTML)}function Dy(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,B.HTML),e.tokenizer.state=Ae.PLAINTEXT}function _y(e,t){e.openElements.hasInScope(u.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(u.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML),e.framesetOk=!1}function Fy(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);n&&(xi(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Uy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function By(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(u.NOBR)&&(xi(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,B.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Hy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function jy(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ge.QUIRKS&&e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,B.HTML),e.framesetOk=!1,e.insertionMode=y.IN_TABLE}function Ud(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,B.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Bd(e){const t=Ld(e,Ht.TYPE);return t!=null&&t.toLowerCase()===sy}function Vy(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,B.HTML),Bd(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function zy(e,t){e._appendElement(t,B.HTML),t.ackSelfClosing=!0}function Yy(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._appendElement(t,B.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function qy(e,t){t.tagName=w.IMG,t.tagID=u.IMG,Ud(e,t)}function Ky(e,t){e._insertElement(t,B.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ae.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=y.TEXT}function Wy(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ae.RAWTEXT)}function Qy(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ae.RAWTEXT)}function gu(e,t){e._switchToTextParsing(t,Ae.RAWTEXT)}function Zy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===y.IN_TABLE||e.insertionMode===y.IN_CAPTION||e.insertionMode===y.IN_TABLE_BODY||e.insertionMode===y.IN_ROW||e.insertionMode===y.IN_CELL?y.IN_SELECT_IN_TABLE:y.IN_SELECT}function Xy(e,t){e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML)}function Gy(e,t){e.openElements.hasInScope(u.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,B.HTML)}function Jy(e,t){e.openElements.hasInScope(u.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(u.RTC),e._insertElement(t,B.HTML)}function $y(e,t){e._reconstructActiveFormattingElements(),Md(t),Ti(t),t.selfClosing?e._appendElement(t,B.MATHML):e._insertElement(t,B.MATHML),t.ackSelfClosing=!0}function eC(e,t){e._reconstructActiveFormattingElements(),Pd(t),Ti(t),t.selfClosing?e._appendElement(t,B.SVG):e._insertElement(t,B.SVG),t.ackSelfClosing=!0}function Eu(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,B.HTML)}function ke(e,t){switch(t.tagID){case u.I:case u.S:case u.B:case u.U:case u.EM:case u.TT:case u.BIG:case u.CODE:case u.FONT:case u.SMALL:case u.STRIKE:case u.STRONG:{Uy(e,t);break}case u.A:{Fy(e,t);break}case u.H1:case u.H2:case u.H3:case u.H4:case u.H5:case u.H6:{vy(e,t);break}case u.P:case u.DL:case u.OL:case u.UL:case u.DIV:case u.DIR:case u.NAV:case u.MAIN:case u.MENU:case u.ASIDE:case u.CENTER:case u.FIGURE:case u.FOOTER:case u.HEADER:case u.HGROUP:case u.DIALOG:case u.DETAILS:case u.ADDRESS:case u.ARTICLE:case u.SEARCH:case u.SECTION:case u.SUMMARY:case u.FIELDSET:case u.BLOCKQUOTE:case u.FIGCAPTION:{wy(e,t);break}case u.LI:case u.DD:case u.DT:{Py(e,t);break}case u.BR:case u.IMG:case u.WBR:case u.AREA:case u.EMBED:case u.KEYGEN:{Ud(e,t);break}case u.HR:{Yy(e,t);break}case u.RB:case u.RTC:{Gy(e,t);break}case u.RT:case u.RP:{Jy(e,t);break}case u.PRE:case u.LISTING:{Oy(e,t);break}case u.XMP:{Wy(e,t);break}case u.SVG:{eC(e,t);break}case u.HTML:{Ly(e,t);break}case u.BASE:case u.LINK:case u.META:case u.STYLE:case u.TITLE:case u.SCRIPT:case u.BGSOUND:case u.BASEFONT:case u.TEMPLATE:{st(e,t);break}case u.BODY:{Ry(e,t);break}case u.FORM:{My(e,t);break}case u.NOBR:{By(e,t);break}case u.MATH:{$y(e,t);break}case u.TABLE:{jy(e,t);break}case u.INPUT:{Vy(e,t);break}case u.PARAM:case u.TRACK:case u.SOURCE:{zy(e,t);break}case u.IMAGE:{qy(e,t);break}case u.BUTTON:{_y(e,t);break}case u.APPLET:case u.OBJECT:case u.MARQUEE:{Hy(e,t);break}case u.IFRAME:{Qy(e,t);break}case u.SELECT:{Zy(e,t);break}case u.OPTION:case u.OPTGROUP:{Xy(e,t);break}case u.NOEMBED:case u.NOFRAMES:{gu(e,t);break}case u.FRAMESET:{ky(e,t);break}case u.TEXTAREA:{Ky(e,t);break}case u.NOSCRIPT:{e.options.scriptingEnabled?gu(e,t):Eu(e,t);break}case u.PLAINTEXT:{Dy(e,t);break}case u.COL:case u.TH:case u.TD:case u.TR:case u.HEAD:case u.FRAME:case u.TBODY:case u.TFOOT:case u.THEAD:case u.CAPTION:case u.COLGROUP:break;default:Eu(e,t)}}function tC(e,t){if(e.openElements.hasInScope(u.BODY)&&(e.insertionMode=y.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function nC(e,t){e.openElements.hasInScope(u.BODY)&&(e.insertionMode=y.AFTER_BODY,Zd(e,t))}function rC(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function aC(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(u.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(u.FORM):n&&e.openElements.remove(n))}function sC(e){e.openElements.hasInButtonScope(u.P)||e._insertFakeElement(w.P,u.P),e._closePElement()}function iC(e){e.openElements.hasInListItemScope(u.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(u.LI),e.openElements.popUntilTagNamePopped(u.LI))}function oC(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function uC(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function lC(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function cC(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(w.BR,u.BR),e.openElements.pop(),e.framesetOk=!1}function Hd(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const s=e.openElements.items[a],i=e.openElements.tagIDs[a];if(r===i&&(r!==u.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(s,i))break}}function Aa(e,t){switch(t.tagID){case u.A:case u.B:case u.I:case u.S:case u.U:case u.EM:case u.TT:case u.BIG:case u.CODE:case u.FONT:case u.NOBR:case u.SMALL:case u.STRIKE:case u.STRONG:{xi(e,t);break}case u.P:{sC(e);break}case u.DL:case u.UL:case u.OL:case u.DIR:case u.DIV:case u.NAV:case u.PRE:case u.MAIN:case u.MENU:case u.ASIDE:case u.BUTTON:case u.CENTER:case u.FIGURE:case u.FOOTER:case u.HEADER:case u.HGROUP:case u.DIALOG:case u.ADDRESS:case u.ARTICLE:case u.DETAILS:case u.SEARCH:case u.SECTION:case u.SUMMARY:case u.LISTING:case u.FIELDSET:case u.BLOCKQUOTE:case u.FIGCAPTION:{rC(e,t);break}case u.LI:{iC(e);break}case u.DD:case u.DT:{oC(e,t);break}case u.H1:case u.H2:case u.H3:case u.H4:case u.H5:case u.H6:{uC(e);break}case u.BR:{cC(e);break}case u.BODY:{tC(e,t);break}case u.HTML:{nC(e,t);break}case u.FORM:{aC(e);break}case u.APPLET:case u.OBJECT:case u.MARQUEE:{lC(e,t);break}case u.TEMPLATE:{Xt(e,t);break}default:Hd(e,t)}}function jd(e,t){e.tmplInsertionModeStack.length>0?Qd(e,t):yi(e,t)}function dC(e,t){var n;t.tagID===u.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function fC(e,t){e._err(t,O.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Ga(e,t){if(e.openElements.currentTagId!==void 0&&Dd.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=y.IN_TABLE_TEXT,t.type){case se.CHARACTER:{zd(e,t);break}case se.WHITESPACE_CHARACTER:{Vd(e,t);break}}else gr(e,t)}function hC(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,B.HTML),e.insertionMode=y.IN_CAPTION}function mC(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,B.HTML),e.insertionMode=y.IN_COLUMN_GROUP}function pC(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(w.COLGROUP,u.COLGROUP),e.insertionMode=y.IN_COLUMN_GROUP,Ci(e,t)}function gC(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,B.HTML),e.insertionMode=y.IN_TABLE_BODY}function EC(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(w.TBODY,u.TBODY),e.insertionMode=y.IN_TABLE_BODY,Ta(e,t)}function bC(e,t){e.openElements.hasInTableScope(u.TABLE)&&(e.openElements.popUntilTagNamePopped(u.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function AC(e,t){Bd(t)?e._appendElement(t,B.HTML):gr(e,t),t.ackSelfClosing=!0}function TC(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,B.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function bn(e,t){switch(t.tagID){case u.TD:case u.TH:case u.TR:{EC(e,t);break}case u.STYLE:case u.SCRIPT:case u.TEMPLATE:{st(e,t);break}case u.COL:{pC(e,t);break}case u.FORM:{TC(e,t);break}case u.TABLE:{bC(e,t);break}case u.TBODY:case u.TFOOT:case u.THEAD:{gC(e,t);break}case u.INPUT:{AC(e,t);break}case u.CAPTION:{hC(e,t);break}case u.COLGROUP:{mC(e,t);break}default:gr(e,t)}}function ir(e,t){switch(t.tagID){case u.TABLE:{e.openElements.hasInTableScope(u.TABLE)&&(e.openElements.popUntilTagNamePopped(u.TABLE),e._resetInsertionMode());break}case u.TEMPLATE:{Xt(e,t);break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:case u.TBODY:case u.TD:case u.TFOOT:case u.TH:case u.THEAD:case u.TR:break;default:gr(e,t)}}function gr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ba(e,t),e.fosterParentingEnabled=n}function Vd(e,t){e.pendingCharacterTokens.push(t)}function zd(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Vn(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)gr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Yd=new Set([u.CAPTION,u.COL,u.COLGROUP,u.TBODY,u.TD,u.TFOOT,u.TH,u.THEAD,u.TR]);function xC(e,t){const n=t.tagID;Yd.has(n)?e.openElements.hasInTableScope(u.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(u.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=y.IN_TABLE,bn(e,t)):ke(e,t)}function yC(e,t){const n=t.tagID;switch(n){case u.CAPTION:case u.TABLE:{e.openElements.hasInTableScope(u.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(u.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=y.IN_TABLE,n===u.TABLE&&ir(e,t));break}case u.BODY:case u.COL:case u.COLGROUP:case u.HTML:case u.TBODY:case u.TD:case u.TFOOT:case u.TH:case u.THEAD:case u.TR:break;default:Aa(e,t)}}function Ci(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.COL:{e._appendElement(t,B.HTML),t.ackSelfClosing=!0;break}case u.TEMPLATE:{st(e,t);break}default:Wr(e,t)}}function CC(e,t){switch(t.tagID){case u.COLGROUP:{e.openElements.currentTagId===u.COLGROUP&&(e.openElements.pop(),e.insertionMode=y.IN_TABLE);break}case u.TEMPLATE:{Xt(e,t);break}case u.COL:break;default:Wr(e,t)}}function Wr(e,t){e.openElements.currentTagId===u.COLGROUP&&(e.openElements.pop(),e.insertionMode=y.IN_TABLE,e._processToken(t))}function Ta(e,t){switch(t.tagID){case u.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,B.HTML),e.insertionMode=y.IN_ROW;break}case u.TH:case u.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(w.TR,u.TR),e.insertionMode=y.IN_ROW,xa(e,t);break}case u.CAPTION:case u.COL:case u.COLGROUP:case u.TBODY:case u.TFOOT:case u.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE,bn(e,t));break}default:bn(e,t)}}function Rs(e,t){const n=t.tagID;switch(t.tagID){case u.TBODY:case u.TFOOT:case u.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE);break}case u.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE,ir(e,t));break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:case u.TD:case u.TH:case u.TR:break;default:ir(e,t)}}function xa(e,t){switch(t.tagID){case u.TH:case u.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,B.HTML),e.insertionMode=y.IN_CELL,e.activeFormattingElements.insertMarker();break}case u.CAPTION:case u.COL:case u.COLGROUP:case u.TBODY:case u.TFOOT:case u.THEAD:case u.TR:{e.openElements.hasInTableScope(u.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY,Ta(e,t));break}default:bn(e,t)}}function qd(e,t){switch(t.tagID){case u.TR:{e.openElements.hasInTableScope(u.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY);break}case u.TABLE:{e.openElements.hasInTableScope(u.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY,Rs(e,t));break}case u.TBODY:case u.TFOOT:case u.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(u.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=y.IN_TABLE_BODY,Rs(e,t));break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:case u.TD:case u.TH:break;default:ir(e,t)}}function SC(e,t){const n=t.tagID;Yd.has(n)?(e.openElements.hasInTableScope(u.TD)||e.openElements.hasInTableScope(u.TH))&&(e._closeTableCell(),xa(e,t)):ke(e,t)}function IC(e,t){const n=t.tagID;switch(n){case u.TD:case u.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=y.IN_ROW);break}case u.TABLE:case u.TBODY:case u.TFOOT:case u.THEAD:case u.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),qd(e,t));break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:break;default:Aa(e,t)}}function Kd(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.OPTION:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e._insertElement(t,B.HTML);break}case u.OPTGROUP:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e.openElements.currentTagId===u.OPTGROUP&&e.openElements.pop(),e._insertElement(t,B.HTML);break}case u.HR:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e.openElements.currentTagId===u.OPTGROUP&&e.openElements.pop(),e._appendElement(t,B.HTML),t.ackSelfClosing=!0;break}case u.INPUT:case u.KEYGEN:case u.TEXTAREA:case u.SELECT:{e.openElements.hasInSelectScope(u.SELECT)&&(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode(),t.tagID!==u.SELECT&&e._processStartTag(t));break}case u.SCRIPT:case u.TEMPLATE:{st(e,t);break}}}function Wd(e,t){switch(t.tagID){case u.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===u.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===u.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===u.OPTGROUP&&e.openElements.pop();break}case u.OPTION:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop();break}case u.SELECT:{e.openElements.hasInSelectScope(u.SELECT)&&(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode());break}case u.TEMPLATE:{Xt(e,t);break}}}function NC(e,t){const n=t.tagID;n===u.CAPTION||n===u.TABLE||n===u.TBODY||n===u.TFOOT||n===u.THEAD||n===u.TR||n===u.TD||n===u.TH?(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Kd(e,t)}function LC(e,t){const n=t.tagID;n===u.CAPTION||n===u.TABLE||n===u.TBODY||n===u.TFOOT||n===u.THEAD||n===u.TR||n===u.TD||n===u.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Wd(e,t)}function RC(e,t){switch(t.tagID){case u.BASE:case u.BASEFONT:case u.BGSOUND:case u.LINK:case u.META:case u.NOFRAMES:case u.SCRIPT:case u.STYLE:case u.TEMPLATE:case u.TITLE:{st(e,t);break}case u.CAPTION:case u.COLGROUP:case u.TBODY:case u.TFOOT:case u.THEAD:{e.tmplInsertionModeStack[0]=y.IN_TABLE,e.insertionMode=y.IN_TABLE,bn(e,t);break}case u.COL:{e.tmplInsertionModeStack[0]=y.IN_COLUMN_GROUP,e.insertionMode=y.IN_COLUMN_GROUP,Ci(e,t);break}case u.TR:{e.tmplInsertionModeStack[0]=y.IN_TABLE_BODY,e.insertionMode=y.IN_TABLE_BODY,Ta(e,t);break}case u.TD:case u.TH:{e.tmplInsertionModeStack[0]=y.IN_ROW,e.insertionMode=y.IN_ROW,xa(e,t);break}default:e.tmplInsertionModeStack[0]=y.IN_BODY,e.insertionMode=y.IN_BODY,ke(e,t)}}function kC(e,t){t.tagID===u.TEMPLATE&&Xt(e,t)}function Qd(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(u.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):yi(e,t)}function wC(e,t){t.tagID===u.HTML?ke(e,t):Qr(e,t)}function Zd(e,t){var n;if(t.tagID===u.HTML){if(e.fragmentContext||(e.insertionMode=y.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===u.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Qr(e,t)}function Qr(e,t){e.insertionMode=y.IN_BODY,ba(e,t)}function vC(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.FRAMESET:{e._insertElement(t,B.HTML);break}case u.FRAME:{e._appendElement(t,B.HTML),t.ackSelfClosing=!0;break}case u.NOFRAMES:{st(e,t);break}}}function OC(e,t){t.tagID===u.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==u.FRAMESET&&(e.insertionMode=y.AFTER_FRAMESET))}function MC(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.NOFRAMES:{st(e,t);break}}}function PC(e,t){t.tagID===u.HTML&&(e.insertionMode=y.AFTER_AFTER_FRAMESET)}function DC(e,t){t.tagID===u.HTML?ke(e,t):Fr(e,t)}function Fr(e,t){e.insertionMode=y.IN_BODY,ba(e,t)}function _C(e,t){switch(t.tagID){case u.HTML:{ke(e,t);break}case u.NOFRAMES:{st(e,t);break}}}function FC(e,t){t.chars=Ee,e._insertCharacters(t)}function UC(e,t){e._insertCharacters(t),e.framesetOk=!1}function Xd(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==B.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function BC(e,t){if(ey(t))Xd(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===B.MATHML?Md(t):r===B.SVG&&(ty(t),Pd(t)),Ti(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function HC(e,t){if(t.tagID===u.P||t.tagID===u.BR){Xd(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===B.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR;const jC=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,VC=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),bu={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Gd(e,t){const n=JC(e),r=yd("type",{handlers:{root:zC,element:YC,text:qC,comment:$d,doctype:KC,raw:QC},unknown:ZC}),a={parser:n?new pu(bu):pu.getFragmentParser(void 0,bu),handle(o){r(o,a)},stitches:!1,options:t||{}};r(e,a),Mn(a,Et());const s=n?a.parser.document:a.parser.getFragment(),i=zT(s,{file:a.options.file});return a.stitches&&pi(i,"comment",function(o,l,c){const d=o;if(d.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=d.value.stitch,l}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function Jd(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function zC(e,t){Jd(e.children,t)}function YC(e,t){XC(e,t),Jd(e.children,t),GC(e,t)}function qC(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:se.CHARACTER,chars:e.value,location:Er(e)};Mn(t,Et(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function KC(e,t){const n={type:se.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Er(e)};Mn(t,Et(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function WC(e,t){t.stitches=!0;const n=$C(e);if("children"in e&&"children"in n){const r=Gd({type:"root",children:e.children},t.options);n.children=r.children}$d({type:"comment",value:{stitch:n}},t)}function $d(e,t){const n=e.value,r={type:se.COMMENT,data:n,location:Er(e)};Mn(t,Et(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function QC(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,ef(t,Et(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(jC,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function ZC(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))WC(n,t);else{let r="";throw VC.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Mn(e,t){ef(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ae.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function ef(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function XC(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ae.PLAINTEXT)return;Mn(t,Et(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:Bt.html;a===Bt.html&&n==="svg"&&(a=Bt.svg);const s=ax({...e,children:[]},{space:a===Bt.svg?"svg":"html"}),i={type:se.START_TAG,tagName:n,tagID:On(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:Er(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function GC(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&fx.includes(n)||t.parser.tokenizer.state===Ae.PLAINTEXT)return;Mn(t,ma(e));const r={type:se.END_TAG,tagName:n,tagID:On(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Er(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ae.RCDATA||t.parser.tokenizer.state===Ae.RAWTEXT||t.parser.tokenizer.state===Ae.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ae.DATA)}function JC(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Er(e){const t=Et(e)||{line:void 0,column:void 0,offset:void 0},n=ma(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function $C(e){return"children"in e?En({...e,children:[]}):En(e)}function e2(e){return function(t,n){return Gd(t,{...e,file:n})}}const t2="_prose_1l8lv_1",n2="_mdAccordion_1l8lv_16",tf={prose:t2,mdAccordion:n2};function r2(e,{openFirst:t=!1}={}){if(!e)return"";const n=/~H~~([\s\S]*?)~~\s*~M~~([\s\S]*?)~~/g;let r=0;return e.replace(n,(a,s,i)=>{const o=t&&r===0?" open":"";return r+=1,`
73
+ `}),n}function Wo(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Vo(e,t){const n=ZT(e,t),r=n.one(e,void 0),a=jT(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
74
+ `},a),s}function rx(e,t){return e&&"run"in e?async function(n,r){const a=Vo(n,{file:r,...t});await e.run(a,r)}:function(n,r){return Vo(n,{file:r,...e||t})}}function $o(e){if(e)throw e}var ja,qo;function ax(){if(qo)return ja;qo=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},s=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var d=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!d&&!f)return!1;var p;for(p in c);return typeof p>"u"||e.call(c,p)},i=function(c,d){n&&d.name==="__proto__"?n(c,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):c[d.name]=d.newValue},o=function(c,d){if(d==="__proto__")if(e.call(c,d)){if(r)return r(c,d).value}else return;return c[d]};return ja=function l(){var c,d,f,p,h,x,g=arguments[0],C=1,E=arguments.length,A=!1;for(typeof g=="boolean"&&(A=g,g=arguments[1]||{},C=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});C<E;++C)if(c=arguments[C],c!=null)for(d in c)f=o(g,d),p=o(c,d),g!==p&&(A&&p&&(s(p)||(h=a(p)))?(h?(h=!1,x=f&&a(f)?f:[]):x=f&&s(f)?f:{},i(g,{name:d,newValue:l(A,x,p)})):typeof p<"u"&&i(g,{name:d,newValue:p}));return g},ja}var sx=ax();const za=Iu(sx);function xs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ix(){const e=[],t={run:n,use:r};return t;function n(...a){let s=-1;const i=a.pop();if(typeof i!="function")throw new TypeError("Expected function as last argument, not "+i);o(null,...a);function o(l,...c){const d=e[++s];let f=-1;if(l){i(l);return}for(;++f<a.length;)(c[f]===null||c[f]===void 0)&&(c[f]=a[f]);a=c,d?ox(d,o)(...c):i(null,...c)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function ox(e,t){let n;return r;function r(...i){const o=e.length>i.length;let l;o&&i.push(a);try{l=e.apply(this,i)}catch(c){const d=c;if(o&&n)throw d;return a(d)}o||(l&&l.then&&typeof l.then=="function"?l.then(s,a):l instanceof Error?a(l):s(l))}function a(i,...o){n||(n=!0,t(i,...o))}function s(i){a(null,i)}}const ot={basename:ux,dirname:lx,extname:cx,join:dx,sep:"/"};function ux(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');mr(e);let n=0,r=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else r<0&&(s=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let i=-1,o=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else i<0&&(s=!0,i=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(r=a):(o=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function lx(e){if(mr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function cx(e){mr(e);let t=e.length,n=-1,r=0,a=-1,s=0,i;for(;t--;){const o=e.codePointAt(t);if(o===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),o===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||n<0||s===0||s===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function dx(...e){let t=-1,n;for(;++t<e.length;)mr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":fx(n)}function fx(e){mr(e);const t=e.codePointAt(0)===47;let n=hx(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function hx(e,t){let n="",r=0,a=-1,s=0,i=-1,o,l;for(;++i<=e.length;){if(i<e.length)o=e.codePointAt(i);else{if(o===47)break;o=47}if(o===47){if(!(a===i-1||s===1))if(a!==i-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=i,s=0;continue}}else if(n.length>0){n="",r=0,a=i,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,i):n=e.slice(a+1,i),r=i-a-1;a=i,s=0}else o===46&&s>-1?s++:s=-1}return n}function mr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const mx={cwd:px};function px(){return"/"}function ys(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function gx(e){if(typeof e=="string")e=new URL(e);else if(!ys(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return bx(e)}function bx(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const Ya=["history","path","basename","stem","extname","dirname"];class ld{constructor(t){let n;t?ys(t)?n={path:t}:typeof t=="string"||Ex(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":mx.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Ya.length;){const s=Ya[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let a;for(a in n)Ya.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?ot.basename(this.path):void 0}set basename(t){Va(t,"basename"),Wa(t,"basename"),this.path=ot.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ot.dirname(this.path):void 0}set dirname(t){Go(this.basename,"dirname"),this.path=ot.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ot.extname(this.path):void 0}set extname(t){if(Wa(t,"extname"),Go(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ot.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ys(t)&&(t=gx(t)),Va(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ot.basename(this.path,this.extname):void 0}set stem(t){Va(t,"stem"),Wa(t,"stem"),this.path=ot.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new ve(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Wa(e,t){if(e&&e.includes(ot.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ot.sep+"`")}function Va(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Go(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Ex(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Tx=(function(e){const r=this.constructor.prototype,a=r[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),xx={}.hasOwnProperty;class gi extends Tx{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ix()}copy(){const t=new gi;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(za(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ga("data",this.frozen),this.namespace[t]=n,this):xx.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ga("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=wr(t),r=this.parser||this.Parser;return $a("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),$a("process",this.parser||this.Parser),qa("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,i){const o=wr(t),l=r.parse(o);r.run(l,o,function(d,f,p){if(d||!f||!p)return c(d);const h=f,x=r.stringify(h,p);Cx(x)?p.value=x:p.result=x,c(d,p)});function c(d,f){d||!f?i(d):s?s(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),$a("processSync",this.parser||this.Parser),qa("processSync",this.compiler||this.Compiler),this.process(t,a),Ko("processSync","process",n),r;function a(s,i){n=!0,$o(s),r=i}}run(t,n,r){Xo(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(i,o){const l=wr(n);a.run(t,l,c);function c(d,f,p){const h=f||t;d?o(d):i?i(h):r(void 0,h,p)}}}runSync(t,n){let r=!1,a;return this.run(t,n,s),Ko("runSync","run",r),a;function s(i,o){$o(i),a=o,r=!0}}stringify(t,n){this.freeze();const r=wr(n),a=this.compiler||this.Compiler;return qa("stringify",a),Xo(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(Ga("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):i(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[d,...f]=c;l(d,f)}else i(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function i(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(a.settings=za(!0,a.settings,c.settings))}function o(c){let d=-1;if(c!=null)if(Array.isArray(c))for(;++d<c.length;){const f=c[d];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,d){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...d]);else if(d.length>0){let[h,...x]=d;const g=r[p][1];xs(g)&&xs(h)&&(h=za(!0,g,h)),r[p]=[c,h,...x]}}}}const yx=new gi().freeze();function $a(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function qa(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ga(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Xo(e){if(!xs(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ko(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function wr(e){return _x(e)?e:new ld(e)}function _x(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Cx(e){return typeof e=="string"||Ax(e)}function Ax(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Sx="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Qo=[],Zo={allowDangerousHtml:!0},Nx=/^(https?|ircs?|mailto|xmpp)$/i,Ix=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function vx(e){const t=wx(e),n=kx(e);return Ox(t.runSync(t.parse(n),n),e)}function wx(e){const t=e.rehypePlugins||Qo,n=e.remarkPlugins||Qo,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Zo}:Zo;return yx().use(uT).use(n).use(rx,r).use(t)}function kx(e){const t=e.children||"",n=new ld;return typeof t=="string"&&(n.value=t),n}function Ox(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,i=t.skipHtml,o=t.unwrapDisallowed,l=t.urlTransform||Rx;for(const d of Ix)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+Sx+d.id,void 0);return pi(e,c),j1(e,{Fragment:m.Fragment,components:a,ignoreInvalidStyle:!0,jsx:m.jsx,jsxs:m.jsxs,passKeys:!0,passNode:!0});function c(d,f,p){if(d.type==="raw"&&p&&typeof f=="number")return i?p.children.splice(f,1):p.children[f]={type:"text",value:d.value},f;if(d.type==="element"){let h;for(h in Fa)if(Object.hasOwn(Fa,h)&&Object.hasOwn(d.properties,h)){const x=d.properties[h],g=Fa[h];(g===null||g.includes(d.tagName))&&(d.properties[h]=l(String(x||""),h,d))}}if(d.type==="element"){let h=n?!n.includes(d.tagName):s?s.includes(d.tagName):!1;if(!h&&r&&typeof f=="number"&&(h=!r(d,f,p)),h&&p&&typeof f=="number")return o&&d.children?p.children.splice(f,1,...d.children):p.children.splice(f,1),f}}}function Rx(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||r!==-1&&t>r||Nx.test(e.slice(0,t))?e:""}const Jo=/[#.]/g;function Lx(e,t){const n=e||"",r={};let a=0,s,i;for(;a<n.length;){Jo.lastIndex=a;const o=Jo.exec(n),l=n.slice(a,o?o.index:n.length);l&&(s?s==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:i=l,a+=l.length),o&&(s=o[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}function cd(e,t,n){const r=n?Bx(n):void 0;function a(s,i,...o){let l;if(s==null){l={type:"root",children:[]};const c=i;o.unshift(c)}else{l=Lx(s,t);const c=l.tagName.toLowerCase(),d=r?r.get(c):void 0;if(l.tagName=d||c,Px(i))o.unshift(i);else for(const[f,p]of Object.entries(i))Dx(e,l.properties,f,p)}for(const c of o)_s(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function Px(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const s=a;for(const i of s)if(typeof i!="number"&&typeof i!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Dx(e,t,n,r){const a=ai(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?a.spaceSeparated?s=Eo(r):a.commaSeparated?s=ho(r):a.commaOrSpaceSeparated?s=Eo(ho(r).join(" ")):s=eu(a,a.property,r):Array.isArray(r)?s=[...r]:s=a.property==="style"?Mx(r):String(r);if(Array.isArray(s)){const i=[];for(const o of s)i.push(eu(a,a.property,o));s=i}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function _s(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)_s(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?_s(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function eu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||ar(n)===ar(t)))return!0}return n}function Mx(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Bx(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Fx=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Hx=cd(ha,"div"),Ux=cd(vn,"g",Fx);function jx(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(s){if(typeof s=="number"&&s>-1&&s<=t.length){let i=0;for(;;){let o=n[i];if(o===void 0){const l=tu(t,n[i-1]);o=l===-1?t.length+1:l+1,n[i]=o}if(o>s)return{line:i+1,column:s-(i>0?n[i-1]:0)+1,offset:s};i++}}}function a(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length<s.line;){const o=n[n.length-1],l=tu(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const i=(s.line>1?n[s.line-2]:0)+s.column-1;if(i<n[s.line-1])return i}}}function tu(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
75
+ `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Ht={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},dd={}.hasOwnProperty,zx=Object.prototype;function Yx(e,t){const n=t||{};return bi({file:n.file||void 0,location:!1,schema:n.space==="svg"?vn:ha,verbose:n.verbose||!1},e)}function bi(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Mr(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:fd(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const s=String(e.file),i=jx(s),o=i.toPoint(0),l=i.toPoint(s.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Mr(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Mr(e,r,n),n}default:return n=Wx(e,t),n}}function fd(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=bi(e,t[n]);r.push(a)}return r}function Wx(e,t){const n=e.schema;e.schema=t.namespaceURI===Ht.svg?vn:ha;let r=-1;const a={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;dd.call(zx,l)||(a[l]=o.value)}const i=(e.schema.space==="svg"?Ux:Hx)(t.tagName,a,fd(e,t.childNodes));if(Mr(e,t,i),i.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&un(l.startTag),d=l&&l.endTag&&un(l.endTag),f=bi(e,o.content);c&&d&&e.file&&(f.position={start:c.end,end:d.start}),i.content=f}return e.schema=n,i}function Mr(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Vx(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Vx(e,t,n){const r=un(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const s={};let i;if(n.attrs)for(i in n.attrs)dd.call(n.attrs,i)&&(s[ai(e.schema,i).property]=un(n.attrs[i]));n.startTag;const o=un(n.startTag),l=n.endTag?un(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=s,t.data={position:c}}}return r}function un(e){const t=nu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=nu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function nu(e){return e.line&&e.column?e:void 0}class pr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}pr.prototype.property={};pr.prototype.normal={};pr.prototype.space=null;function hd(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new pr(n,r,t)}function Cs(e){return e.toLowerCase()}class Je{constructor(t,n){this.property=t,this.attribute=n}}Je.prototype.space=null;Je.prototype.boolean=!1;Je.prototype.booleanish=!1;Je.prototype.overloadedBoolean=!1;Je.prototype.number=!1;Je.prototype.commaSeparated=!1;Je.prototype.spaceSeparated=!1;Je.prototype.commaOrSpaceSeparated=!1;Je.prototype.mustUseProperty=!1;Je.prototype.defined=!1;let $x=0;const ne=Xt(),_e=Xt(),md=Xt(),V=Xt(),pe=Xt(),hn=Xt(),Ve=Xt();function Xt(){return 2**++$x}const As=Object.freeze(Object.defineProperty({__proto__:null,boolean:ne,booleanish:_e,commaOrSpaceSeparated:Ve,commaSeparated:hn,number:V,overloadedBoolean:md,spaceSeparated:pe},Symbol.toStringTag,{value:"Module"})),Xa=Object.keys(As);class Ei extends Je{constructor(t,n,r,a){let s=-1;if(super(t,n),ru(this,"space",a),typeof r=="number")for(;++s<Xa.length;){const i=Xa[s];ru(this,Xa[s],(r&As[i])===As[i])}}}Ei.prototype.defined=!0;function ru(e,t,n){n&&(e[t]=n)}const qx={}.hasOwnProperty;function kn(e){const t={},n={};let r;for(r in e.properties)if(qx.call(e.properties,r)){const a=e.properties[r],s=new Ei(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Cs(r)]=r,n[Cs(s.attribute)]=r}return new pr(t,n,e.space)}const pd=kn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gd=kn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function bd(e,t){return t in e?e[t]:t}function Ed(e,t){return bd(e,t.toLowerCase())}const Td=kn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ed,properties:{xmlns:null,xmlnsXLink:null}}),xd=kn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:_e,ariaAutoComplete:null,ariaBusy:_e,ariaChecked:_e,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:_e,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:_e,ariaFlowTo:pe,ariaGrabbed:_e,ariaHasPopup:null,ariaHidden:_e,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:V,ariaLive:null,ariaModal:_e,ariaMultiLine:_e,ariaMultiSelectable:_e,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:_e,ariaReadOnly:_e,ariaRelevant:null,ariaRequired:_e,ariaRoleDescription:pe,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:_e,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null}}),Gx=kn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ed,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hn,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:pe,autoFocus:ne,autoPlay:ne,blocking:pe,capture:null,charSet:null,checked:ne,cite:null,className:pe,cols:V,colSpan:null,content:null,contentEditable:_e,controls:ne,controlsList:pe,coords:V|hn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:md,draggable:_e,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:pe,height:V,hidden:ne,high:V,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:pe,itemRef:pe,itemScope:ne,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ne,optimum:V,pattern:null,ping:pe,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:pe,required:ne,reversed:ne,rows:V,rowSpan:V,sandbox:pe,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:_e,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:ne,useMap:null,value:_e,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:_e,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ne,disableRemotePlayback:ne,prefix:null,property:null,results:V,security:null,unselectable:null}}),Xx=kn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:bd,properties:{about:Ve,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:ne,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hn,g2:hn,glyphName:hn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:Ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ve,rev:Ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ve,requiredFeatures:Ve,requiredFonts:Ve,requiredFormats:Ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:Ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ve,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Kx=/^data[-\w.:]+$/i,au=/-[a-z]/g,Qx=/[A-Z]/g;function Zx(e,t){const n=Cs(t);let r=t,a=Je;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Kx.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(au,ey);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!au.test(s)){let i=s.replace(Qx,Jx);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=Ei}return new a(r,t)}function Jx(e){return"-"+e.toLowerCase()}function ey(e){return e.charAt(1).toUpperCase()}const ty=hd([gd,pd,Td,xd,Gx],"html"),yd=hd([gd,pd,Td,xd,Xx],"svg"),su={}.hasOwnProperty;function _d(e,t){const n=t||{};function r(a,...s){let i=r.invalid;const o=r.handlers;if(a&&su.call(a,e)){const l=String(a[e]);i=su.call(o,l)?o[l]:r.unknown}if(i)return i.call(this,a,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const ny={},ry={}.hasOwnProperty,Cd=_d("type",{handlers:{root:sy,element:cy,text:uy,comment:ly,doctype:oy}});function ay(e,t){const r=(t||ny).space;return Cd(e,r==="svg"?yd:ty)}function sy(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ti(e.children,n,t),On(e,n),n}function iy(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ti(e.children,n,t),On(e,n),n}function oy(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return On(e,t),t}function uy(e){const t={nodeName:"#text",value:e.value,parentNode:null};return On(e,t),t}function ly(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return On(e,t),t}function cy(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=yd);const a=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&ry.call(e.properties,s)){const l=dy(r,s,e.properties[s]);l&&a.push(l)}}const i=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:Ht[i],childNodes:[],parentNode:null};return o.childNodes=Ti(e.children,o,r),On(e,o),e.tagName==="template"&&e.content&&(o.content=iy(e.content,r)),o}function dy(e,t,n){const r=Zx(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?wc(n):Bc(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=a.name.indexOf(":");s<0?a.prefix="":(a.name=a.name.slice(s+1),a.prefix=r.attribute.slice(0,s)),a.namespace=Ht[r.space]}return a}function Ti(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const s=Cd(e[r],n);s.parentNode=t,a.push(s)}return a}function On(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const fy=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],hy=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),be="�";var b;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(b||(b={}));const Be={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Ad(e){return e>=55296&&e<=57343}function my(e){return e>=56320&&e<=57343}function py(e,t){return(e-55296)*1024+9216+t}function Sd(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Nd(e){return e>=64976&&e<=65007||hy.has(e)}var R;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(R||(R={}));const gy=65536;class by{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=gy,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:s}=this,i=a+n,o=s+n;return{code:t,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(my(n))return this.pos++,this._addGap(),py(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,b.EOF;return this._err(R.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,b.EOF;const r=this.html.charCodeAt(n);return r===b.CARRIAGE_RETURN?b.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,b.EOF;let t=this.html.charCodeAt(this.pos);return t===b.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,b.LINE_FEED):t===b.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Ad(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===b.LINE_FEED||t===b.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Sd(t)?this._err(R.controlCharacterInInputStream):Nd(t)&&this._err(R.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var se;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(se||(se={}));function Id(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Ey=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Ty=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function xy(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Ty.get(e))!==null&&t!==void 0?t:e}var Se;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Se||(Se={}));const yy=32;var Ot;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ot||(Ot={}));function Ss(e){return e>=Se.ZERO&&e<=Se.NINE}function _y(e){return e>=Se.UPPER_A&&e<=Se.UPPER_F||e>=Se.LOWER_A&&e<=Se.LOWER_F}function Cy(e){return e>=Se.UPPER_A&&e<=Se.UPPER_Z||e>=Se.LOWER_A&&e<=Se.LOWER_Z||Ss(e)}function Ay(e){return e===Se.EQUALS||Cy(e)}var Ae;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ae||(Ae={}));var yt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(yt||(yt={}));class Sy{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Ae.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yt.Strict}startEntity(t){this.decodeMode=t,this.state=Ae.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Ae.EntityStart:return t.charCodeAt(n)===Se.NUM?(this.state=Ae.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Ae.NamedEntity,this.stateNamedEntity(t,n));case Ae.NumericStart:return this.stateNumericStart(t,n);case Ae.NumericDecimal:return this.stateNumericDecimal(t,n);case Ae.NumericHex:return this.stateNumericHex(t,n);case Ae.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|yy)===Se.LOWER_X?(this.state=Ae.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Ae.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const s=r-n;this.result=this.result*Math.pow(a,s)+Number.parseInt(t.substr(n,s),a),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Ss(a)||_y(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Ss(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Se.SEMI)this.consumed+=1;else if(this.decodeMode===yt.Strict)return 0;return this.emitCodePoint(xy(this.result),this.consumed),this.errors&&(t!==Se.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],s=(a&Ot.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const i=t.charCodeAt(n);if(this.treeIndex=Ny(r,a,this.treeIndex+Math.max(1,s),i),this.treeIndex<0)return this.result===0||this.decodeMode===yt.Attribute&&(s===0||Ay(i))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],s=(a&Ot.VALUE_LENGTH)>>14,s!==0){if(i===Se.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==yt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&Ot.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~Ot.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case Ae.NamedEntity:return this.result!==0&&(this.decodeMode!==yt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ae.NumericDecimal:return this.emitNumericEntity(0,2);case Ae.NumericHex:return this.emitNumericEntity(0,3);case Ae.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ae.EntityStart:return 0}}}function Ny(e,t,n,r){const a=(t&Ot.BRANCH_LENGTH)>>7,s=t&Ot.JUMP_TABLE;if(a===0)return s!==0&&r===s?n:-1;if(s){const l=r-s;return l<0||l>=a?-1:e[n+l]-1}let i=n,o=i+a-1;for(;i<=o;){const l=i+o>>>1,c=e[l];if(c<r)i=l+1;else if(c>r)o=l-1;else return e[l+a]}return-1}var H;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(H||(H={}));var Ut;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ut||(Ut={}));var Qe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Qe||(Qe={}));var k;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(k||(k={}));var u;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(u||(u={}));const Iy=new Map([[k.A,u.A],[k.ADDRESS,u.ADDRESS],[k.ANNOTATION_XML,u.ANNOTATION_XML],[k.APPLET,u.APPLET],[k.AREA,u.AREA],[k.ARTICLE,u.ARTICLE],[k.ASIDE,u.ASIDE],[k.B,u.B],[k.BASE,u.BASE],[k.BASEFONT,u.BASEFONT],[k.BGSOUND,u.BGSOUND],[k.BIG,u.BIG],[k.BLOCKQUOTE,u.BLOCKQUOTE],[k.BODY,u.BODY],[k.BR,u.BR],[k.BUTTON,u.BUTTON],[k.CAPTION,u.CAPTION],[k.CENTER,u.CENTER],[k.CODE,u.CODE],[k.COL,u.COL],[k.COLGROUP,u.COLGROUP],[k.DD,u.DD],[k.DESC,u.DESC],[k.DETAILS,u.DETAILS],[k.DIALOG,u.DIALOG],[k.DIR,u.DIR],[k.DIV,u.DIV],[k.DL,u.DL],[k.DT,u.DT],[k.EM,u.EM],[k.EMBED,u.EMBED],[k.FIELDSET,u.FIELDSET],[k.FIGCAPTION,u.FIGCAPTION],[k.FIGURE,u.FIGURE],[k.FONT,u.FONT],[k.FOOTER,u.FOOTER],[k.FOREIGN_OBJECT,u.FOREIGN_OBJECT],[k.FORM,u.FORM],[k.FRAME,u.FRAME],[k.FRAMESET,u.FRAMESET],[k.H1,u.H1],[k.H2,u.H2],[k.H3,u.H3],[k.H4,u.H4],[k.H5,u.H5],[k.H6,u.H6],[k.HEAD,u.HEAD],[k.HEADER,u.HEADER],[k.HGROUP,u.HGROUP],[k.HR,u.HR],[k.HTML,u.HTML],[k.I,u.I],[k.IMG,u.IMG],[k.IMAGE,u.IMAGE],[k.INPUT,u.INPUT],[k.IFRAME,u.IFRAME],[k.KEYGEN,u.KEYGEN],[k.LABEL,u.LABEL],[k.LI,u.LI],[k.LINK,u.LINK],[k.LISTING,u.LISTING],[k.MAIN,u.MAIN],[k.MALIGNMARK,u.MALIGNMARK],[k.MARQUEE,u.MARQUEE],[k.MATH,u.MATH],[k.MENU,u.MENU],[k.META,u.META],[k.MGLYPH,u.MGLYPH],[k.MI,u.MI],[k.MO,u.MO],[k.MN,u.MN],[k.MS,u.MS],[k.MTEXT,u.MTEXT],[k.NAV,u.NAV],[k.NOBR,u.NOBR],[k.NOFRAMES,u.NOFRAMES],[k.NOEMBED,u.NOEMBED],[k.NOSCRIPT,u.NOSCRIPT],[k.OBJECT,u.OBJECT],[k.OL,u.OL],[k.OPTGROUP,u.OPTGROUP],[k.OPTION,u.OPTION],[k.P,u.P],[k.PARAM,u.PARAM],[k.PLAINTEXT,u.PLAINTEXT],[k.PRE,u.PRE],[k.RB,u.RB],[k.RP,u.RP],[k.RT,u.RT],[k.RTC,u.RTC],[k.RUBY,u.RUBY],[k.S,u.S],[k.SCRIPT,u.SCRIPT],[k.SEARCH,u.SEARCH],[k.SECTION,u.SECTION],[k.SELECT,u.SELECT],[k.SOURCE,u.SOURCE],[k.SMALL,u.SMALL],[k.SPAN,u.SPAN],[k.STRIKE,u.STRIKE],[k.STRONG,u.STRONG],[k.STYLE,u.STYLE],[k.SUB,u.SUB],[k.SUMMARY,u.SUMMARY],[k.SUP,u.SUP],[k.TABLE,u.TABLE],[k.TBODY,u.TBODY],[k.TEMPLATE,u.TEMPLATE],[k.TEXTAREA,u.TEXTAREA],[k.TFOOT,u.TFOOT],[k.TD,u.TD],[k.TH,u.TH],[k.THEAD,u.THEAD],[k.TITLE,u.TITLE],[k.TR,u.TR],[k.TRACK,u.TRACK],[k.TT,u.TT],[k.U,u.U],[k.UL,u.UL],[k.SVG,u.SVG],[k.VAR,u.VAR],[k.WBR,u.WBR],[k.XMP,u.XMP]]);function Rn(e){var t;return(t=Iy.get(e))!==null&&t!==void 0?t:u.UNKNOWN}const j=u,vy={[H.HTML]:new Set([j.ADDRESS,j.APPLET,j.AREA,j.ARTICLE,j.ASIDE,j.BASE,j.BASEFONT,j.BGSOUND,j.BLOCKQUOTE,j.BODY,j.BR,j.BUTTON,j.CAPTION,j.CENTER,j.COL,j.COLGROUP,j.DD,j.DETAILS,j.DIR,j.DIV,j.DL,j.DT,j.EMBED,j.FIELDSET,j.FIGCAPTION,j.FIGURE,j.FOOTER,j.FORM,j.FRAME,j.FRAMESET,j.H1,j.H2,j.H3,j.H4,j.H5,j.H6,j.HEAD,j.HEADER,j.HGROUP,j.HR,j.HTML,j.IFRAME,j.IMG,j.INPUT,j.LI,j.LINK,j.LISTING,j.MAIN,j.MARQUEE,j.MENU,j.META,j.NAV,j.NOEMBED,j.NOFRAMES,j.NOSCRIPT,j.OBJECT,j.OL,j.P,j.PARAM,j.PLAINTEXT,j.PRE,j.SCRIPT,j.SECTION,j.SELECT,j.SOURCE,j.STYLE,j.SUMMARY,j.TABLE,j.TBODY,j.TD,j.TEMPLATE,j.TEXTAREA,j.TFOOT,j.TH,j.THEAD,j.TITLE,j.TR,j.TRACK,j.UL,j.WBR,j.XMP]),[H.MATHML]:new Set([j.MI,j.MO,j.MN,j.MS,j.MTEXT,j.ANNOTATION_XML]),[H.SVG]:new Set([j.TITLE,j.FOREIGN_OBJECT,j.DESC]),[H.XLINK]:new Set,[H.XML]:new Set,[H.XMLNS]:new Set},Ns=new Set([j.H1,j.H2,j.H3,j.H4,j.H5,j.H6]);k.STYLE,k.SCRIPT,k.XMP,k.IFRAME,k.NOEMBED,k.NOFRAMES,k.PLAINTEXT;var T;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(T||(T={}));const Te={DATA:T.DATA,RCDATA:T.RCDATA,RAWTEXT:T.RAWTEXT,SCRIPT_DATA:T.SCRIPT_DATA,PLAINTEXT:T.PLAINTEXT,CDATA_SECTION:T.CDATA_SECTION};function wy(e){return e>=b.DIGIT_0&&e<=b.DIGIT_9}function Wn(e){return e>=b.LATIN_CAPITAL_A&&e<=b.LATIN_CAPITAL_Z}function ky(e){return e>=b.LATIN_SMALL_A&&e<=b.LATIN_SMALL_Z}function wt(e){return ky(e)||Wn(e)}function iu(e){return wt(e)||wy(e)}function kr(e){return e+32}function vd(e){return e===b.SPACE||e===b.LINE_FEED||e===b.TABULATION||e===b.FORM_FEED}function ou(e){return vd(e)||e===b.SOLIDUS||e===b.GREATER_THAN_SIGN}function Oy(e){return e===b.NULL?R.nullCharacterReference:e>1114111?R.characterReferenceOutsideUnicodeRange:Ad(e)?R.surrogateCharacterReference:Nd(e)?R.noncharacterCharacterReference:Sd(e)||e===b.CARRIAGE_RETURN?R.controlCharacterReference:null}class Ry{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=T.DATA,this.returnState=T.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new by(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Sy(Ey,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(R.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(R.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=Oy(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:se.START_TAG,tagName:"",tagID:u.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:se.END_TAG,tagName:"",tagID:u.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:se.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:se.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Id(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(R.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Rn(t.tagName),t.type===se.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(R.endTagWithAttributes),t.selfClosing&&this._err(R.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case se.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case se.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case se.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:se.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=vd(t)?se.WHITESPACE_CHARACTER:t===b.NULL?se.NULL_CHARACTER:se.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(se.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=T.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?yt.Attribute:yt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===T.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===T.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===T.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case T.DATA:{this._stateData(t);break}case T.RCDATA:{this._stateRcdata(t);break}case T.RAWTEXT:{this._stateRawtext(t);break}case T.SCRIPT_DATA:{this._stateScriptData(t);break}case T.PLAINTEXT:{this._statePlaintext(t);break}case T.TAG_OPEN:{this._stateTagOpen(t);break}case T.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case T.TAG_NAME:{this._stateTagName(t);break}case T.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case T.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case T.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case T.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case T.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case T.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case T.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case T.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case T.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case T.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case T.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case T.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case T.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case T.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case T.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case T.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case T.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case T.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case T.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case T.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case T.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case T.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case T.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case T.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case T.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case T.BOGUS_COMMENT:{this._stateBogusComment(t);break}case T.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case T.COMMENT_START:{this._stateCommentStart(t);break}case T.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case T.COMMENT:{this._stateComment(t);break}case T.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case T.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case T.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case T.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case T.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case T.COMMENT_END:{this._stateCommentEnd(t);break}case T.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case T.DOCTYPE:{this._stateDoctype(t);break}case T.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case T.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case T.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case T.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case T.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case T.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case T.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case T.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case T.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case T.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case T.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case T.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case T.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case T.CDATA_SECTION:{this._stateCdataSection(t);break}case T.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case T.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case T.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case T.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case b.LESS_THAN_SIGN:{this.state=T.TAG_OPEN;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitCodePoint(t);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case b.AMPERSAND:{this._startCharacterReference();break}case b.LESS_THAN_SIGN:{this.state=T.RCDATA_LESS_THAN_SIGN;break}case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(be);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case b.LESS_THAN_SIGN:{this.state=T.RAWTEXT_LESS_THAN_SIGN;break}case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(be);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_LESS_THAN_SIGN;break}case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(be);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(be);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(wt(t))this._createStartTagToken(),this.state=T.TAG_NAME,this._stateTagName(t);else switch(t){case b.EXCLAMATION_MARK:{this.state=T.MARKUP_DECLARATION_OPEN;break}case b.SOLIDUS:{this.state=T.END_TAG_OPEN;break}case b.QUESTION_MARK:{this._err(R.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=T.BOGUS_COMMENT,this._stateBogusComment(t);break}case b.EOF:{this._err(R.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(R.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=T.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(wt(t))this._createEndTagToken(),this.state=T.TAG_NAME,this._stateTagName(t);else switch(t){case b.GREATER_THAN_SIGN:{this._err(R.missingEndTagName),this.state=T.DATA;break}case b.EOF:{this._err(R.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(R.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=T.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=T.BEFORE_ATTRIBUTE_NAME;break}case b.SOLIDUS:{this.state=T.SELF_CLOSING_START_TAG;break}case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentTagToken();break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.tagName+=be;break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Wn(t)?kr(t):t)}}_stateRcdataLessThanSign(t){t===b.SOLIDUS?this.state=T.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=T.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){wt(t)?(this.state=T.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=T.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=T.BEFORE_ATTRIBUTE_NAME,!1;case b.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=T.SELF_CLOSING_START_TAG,!1;case b.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=T.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===b.SOLIDUS?this.state=T.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=T.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){wt(t)?(this.state=T.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=T.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case b.SOLIDUS:{this.state=T.SCRIPT_DATA_END_TAG_OPEN;break}case b.EXCLAMATION_MARK:{this.state=T.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=T.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){wt(t)?(this.state=T.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===b.HYPHEN_MINUS?(this.state=T.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===b.HYPHEN_MINUS?(this.state=T.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case b.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(be);break}case b.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case b.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_ESCAPED,this._emitChars(be);break}case b.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case b.HYPHEN_MINUS:{this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.GREATER_THAN_SIGN:{this.state=T.SCRIPT_DATA,this._emitChars(">");break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_ESCAPED,this._emitChars(be);break}case b.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===b.SOLIDUS?this.state=T.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:wt(t)?(this._emitChars("<"),this.state=T.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){wt(t)?(this.state=T.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Be.SCRIPT,!1)&&ou(this.preprocessor.peek(Be.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Be.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case b.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(be);break}case b.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case b.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(be);break}case b.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case b.HYPHEN_MINUS:{this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.GREATER_THAN_SIGN:{this.state=T.SCRIPT_DATA,this._emitChars(">");break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(be);break}case b.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===b.SOLIDUS?(this.state=T.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Be.SCRIPT,!1)&&ou(this.preprocessor.peek(Be.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Be.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=T.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.SOLIDUS:case b.GREATER_THAN_SIGN:case b.EOF:{this.state=T.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case b.EQUALS_SIGN:{this._err(R.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=T.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=T.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:case b.SOLIDUS:case b.GREATER_THAN_SIGN:case b.EOF:{this._leaveAttrName(),this.state=T.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case b.EQUALS_SIGN:{this._leaveAttrName(),this.state=T.BEFORE_ATTRIBUTE_VALUE;break}case b.QUOTATION_MARK:case b.APOSTROPHE:case b.LESS_THAN_SIGN:{this._err(R.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.name+=be;break}default:this.currentAttr.name+=String.fromCodePoint(Wn(t)?kr(t):t)}}_stateAfterAttributeName(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.SOLIDUS:{this.state=T.SELF_CLOSING_START_TAG;break}case b.EQUALS_SIGN:{this.state=T.BEFORE_ATTRIBUTE_VALUE;break}case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=T.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{this.state=T.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this.state=T.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(R.missingAttributeValue),this.state=T.DATA,this.emitCurrentTagToken();break}default:this.state=T.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case b.QUOTATION_MARK:{this.state=T.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=be;break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case b.APOSTROPHE:{this.state=T.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=be;break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this._leaveAttrValue(),this.state=T.BEFORE_ATTRIBUTE_NAME;break}case b.AMPERSAND:{this._startCharacterReference();break}case b.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=T.DATA,this.emitCurrentTagToken();break}case b.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=be;break}case b.QUOTATION_MARK:case b.APOSTROPHE:case b.LESS_THAN_SIGN:case b.EQUALS_SIGN:case b.GRAVE_ACCENT:{this._err(R.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this._leaveAttrValue(),this.state=T.BEFORE_ATTRIBUTE_NAME;break}case b.SOLIDUS:{this._leaveAttrValue(),this.state=T.SELF_CLOSING_START_TAG;break}case b.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=T.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._err(R.missingWhitespaceBetweenAttributes),this.state=T.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case b.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=T.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._err(R.unexpectedSolidusInTag),this.state=T.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentComment(n);break}case b.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.data+=be;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Be.DASH_DASH,!0)?(this._createCommentToken(Be.DASH_DASH.length+1),this.state=T.COMMENT_START):this._consumeSequenceIfMatch(Be.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Be.DOCTYPE.length+1),this.state=T.DOCTYPE):this._consumeSequenceIfMatch(Be.CDATA_START,!0)?this.inForeignNode?this.state=T.CDATA_SECTION:(this._err(R.cdataInHtmlContent),this._createCommentToken(Be.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=T.BOGUS_COMMENT):this._ensureHibernation()||(this._err(R.incorrectlyOpenedComment),this._createCommentToken(2),this.state=T.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case b.HYPHEN_MINUS:{this.state=T.COMMENT_START_DASH;break}case b.GREATER_THAN_SIGN:{this._err(R.abruptClosingOfEmptyComment),this.state=T.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=T.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{this.state=T.COMMENT_END;break}case b.GREATER_THAN_SIGN:{this._err(R.abruptClosingOfEmptyComment),this.state=T.DATA,this.emitCurrentComment(n);break}case b.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=T.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{this.state=T.COMMENT_END_DASH;break}case b.LESS_THAN_SIGN:{n.data+="<",this.state=T.COMMENT_LESS_THAN_SIGN;break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.data+=be;break}case b.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case b.EXCLAMATION_MARK:{n.data+="!",this.state=T.COMMENT_LESS_THAN_SIGN_BANG;break}case b.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=T.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===b.HYPHEN_MINUS?this.state=T.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=T.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===b.HYPHEN_MINUS?this.state=T.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=T.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==b.GREATER_THAN_SIGN&&t!==b.EOF&&this._err(R.nestedComment),this.state=T.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{this.state=T.COMMENT_END;break}case b.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=T.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentComment(n);break}case b.EXCLAMATION_MARK:{this.state=T.COMMENT_END_BANG;break}case b.HYPHEN_MINUS:{n.data+="-";break}case b.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=T.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{n.data+="--!",this.state=T.COMMENT_END_DASH;break}case b.GREATER_THAN_SIGN:{this._err(R.incorrectlyClosedComment),this.state=T.DATA,this.emitCurrentComment(n);break}case b.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=T.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=T.BEFORE_DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this.state=T.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case b.EOF:{this._err(R.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingWhitespaceBeforeDoctypeName),this.state=T.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Wn(t))this._createDoctypeToken(String.fromCharCode(kr(t))),this.state=T.DOCTYPE_NAME;else switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.NULL:{this._err(R.unexpectedNullCharacter),this._createDoctypeToken(be),this.state=T.DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this._err(R.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.EOF:{this._err(R.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=T.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=T.AFTER_DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.name+=be;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Wn(t)?kr(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Be.PUBLIC,!1)?this.state=T.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Be.SYSTEM,!1)?this.state=T.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(R.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=T.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.QUOTATION_MARK:{this._err(R.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(R.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(R.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(R.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case b.QUOTATION_MARK:{this.state=T.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.publicId+=be;break}case b.GREATER_THAN_SIGN:{this._err(R.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case b.APOSTROPHE:{this.state=T.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.publicId+=be;break}case b.GREATER_THAN_SIGN:{this._err(R.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=T.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case b.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.QUOTATION_MARK:{this._err(R.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(R.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.QUOTATION_MARK:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=T.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.QUOTATION_MARK:{this._err(R.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(R.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(R.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(R.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case b.QUOTATION_MARK:{this.state=T.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.systemId+=be;break}case b.GREATER_THAN_SIGN:{this._err(R.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case b.APOSTROPHE:{this.state=T.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.NULL:{this._err(R.unexpectedNullCharacter),n.systemId+=be;break}case b.GREATER_THAN_SIGN:{this._err(R.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=T.DATA;break}case b.NULL:{this._err(R.unexpectedNullCharacter);break}case b.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case b.RIGHT_SQUARE_BRACKET:{this.state=T.CDATA_SECTION_BRACKET;break}case b.EOF:{this._err(R.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===b.RIGHT_SQUARE_BRACKET?this.state=T.CDATA_SECTION_END:(this._emitChars("]"),this.state=T.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case b.GREATER_THAN_SIGN:{this.state=T.DATA;break}case b.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=T.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(b.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&iu(this.preprocessor.peek(1))?T.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){iu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===b.SEMICOLON&&this._err(R.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const wd=new Set([u.DD,u.DT,u.LI,u.OPTGROUP,u.OPTION,u.P,u.RB,u.RP,u.RT,u.RTC]),uu=new Set([...wd,u.CAPTION,u.COLGROUP,u.TBODY,u.TD,u.TFOOT,u.TH,u.THEAD,u.TR]),$r=new Set([u.APPLET,u.CAPTION,u.HTML,u.MARQUEE,u.OBJECT,u.TABLE,u.TD,u.TEMPLATE,u.TH]),Ly=new Set([...$r,u.OL,u.UL]),Py=new Set([...$r,u.BUTTON]),lu=new Set([u.ANNOTATION_XML,u.MI,u.MN,u.MO,u.MS,u.MTEXT]),cu=new Set([u.DESC,u.FOREIGN_OBJECT,u.TITLE]),Dy=new Set([u.TR,u.TEMPLATE,u.HTML]),My=new Set([u.TBODY,u.TFOOT,u.THEAD,u.TEMPLATE,u.HTML]),By=new Set([u.TABLE,u.TEMPLATE,u.HTML]),Fy=new Set([u.TD,u.TH]);class Hy{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=u.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===u.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===H.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==H.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Ns,H.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Fy,H.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(By,H.HTML)}clearBackToTableBodyContext(){this.clearBackTo(My,H.HTML)}clearBackToTableRowContext(){this.clearBackTo(Dy,H.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===u.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===u.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case H.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case H.SVG:{if(cu.has(a))return!1;break}case H.MATHML:{if(lu.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,$r)}hasInListItemScope(t){return this.hasInDynamicScope(t,Ly)}hasInButtonScope(t){return this.hasInDynamicScope(t,Py)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case H.HTML:{if(Ns.has(n))return!0;if($r.has(n))return!1;break}case H.SVG:{if(cu.has(n))return!1;break}case H.MATHML:{if(lu.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===H.HTML)switch(this.tagIDs[n]){case t:return!0;case u.TABLE:case u.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===H.HTML)switch(this.tagIDs[t]){case u.TBODY:case u.THEAD:case u.TFOOT:return!0;case u.TABLE:case u.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===H.HTML)switch(this.tagIDs[n]){case t:return!0;case u.OPTION:case u.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&wd.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&uu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&uu.has(this.currentTagId);)this.pop()}}const Ka=3;var ut;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ut||(ut={}));const du={type:ut.Marker};class Uy{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,s=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===ut.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===s&&this.treeAdapter.getNamespaceURI(c)===i){const d=this.treeAdapter.getAttrList(c);d.length===a&&r.push({idx:o,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Ka)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Ka)return;const a=new Map(n.map(i=>[i.name,i.value]));let s=0;for(let i=0;i<r.length;i++){const o=r[i];o.attrs.every(l=>a.get(l.name)===l.value)&&(s+=1,s>=Ka&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(du)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:ut.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ut.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(du);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===ut.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===ut.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===ut.Element&&n.element===t)}}const kt={createDocument(){return{nodeName:"#document",mode:Qe.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(s=>s.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};kt.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(kt.isTextNode(n)){n.value+=t;return}}kt.appendChild(e,kt.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&kt.isTextNode(r)?r.value+=t:kt.insertBefore(e,kt.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},kd="html",jy="about:legacy-compat",zy="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Od=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Yy=[...Od,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Wy=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Rd=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Vy=[...Rd,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function fu(e,t){return t.some(n=>e.startsWith(n))}function $y(e){return e.name===kd&&e.publicId===null&&(e.systemId===null||e.systemId===jy)}function qy(e){if(e.name!==kd)return Qe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===zy)return Qe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Wy.has(n))return Qe.QUIRKS;let r=t===null?Yy:Od;if(fu(n,r))return Qe.QUIRKS;if(r=t===null?Rd:Vy,fu(n,r))return Qe.LIMITED_QUIRKS}return Qe.NO_QUIRKS}const hu={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Gy="definitionurl",Xy="definitionURL",Ky=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Qy=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:H.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:H.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:H.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:H.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:H.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:H.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:H.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:H.XML}],["xml:space",{prefix:"xml",name:"space",namespace:H.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:H.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:H.XMLNS}]]),Zy=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Jy=new Set([u.B,u.BIG,u.BLOCKQUOTE,u.BODY,u.BR,u.CENTER,u.CODE,u.DD,u.DIV,u.DL,u.DT,u.EM,u.EMBED,u.H1,u.H2,u.H3,u.H4,u.H5,u.H6,u.HEAD,u.HR,u.I,u.IMG,u.LI,u.LISTING,u.MENU,u.META,u.NOBR,u.OL,u.P,u.PRE,u.RUBY,u.S,u.SMALL,u.SPAN,u.STRONG,u.STRIKE,u.SUB,u.SUP,u.TABLE,u.TT,u.U,u.UL,u.VAR]);function e2(e){const t=e.tagID;return t===u.FONT&&e.attrs.some(({name:r})=>r===Ut.COLOR||r===Ut.SIZE||r===Ut.FACE)||Jy.has(t)}function Ld(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Gy){e.attrs[t].name=Xy;break}}function Pd(e){for(let t=0;t<e.attrs.length;t++){const n=Ky.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function xi(e){for(let t=0;t<e.attrs.length;t++){const n=Qy.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function t2(e){const t=Zy.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Rn(e.tagName))}function n2(e,t){return t===H.MATHML&&(e===u.MI||e===u.MO||e===u.MN||e===u.MS||e===u.MTEXT)}function r2(e,t,n){if(t===H.MATHML&&e===u.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Ut.ENCODING){const a=n[r].value.toLowerCase();return a===hu.TEXT_HTML||a===hu.APPLICATION_XML}}return t===H.SVG&&(e===u.FOREIGN_OBJECT||e===u.DESC||e===u.TITLE)}function a2(e,t,n,r){return(!r||r===H.HTML)&&r2(e,t,n)||(!r||r===H.MATHML)&&n2(e,t)}const s2="hidden",i2=8,o2=3;var _;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(_||(_={}));const u2={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Dd=new Set([u.TABLE,u.TBODY,u.TFOOT,u.THEAD,u.TR]),mu={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:kt,onParseError:null};class pu{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=_.INITIAL,this.originalInsertionMode=_.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...mu,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new Ry(this.options,this),this.activeFormattingElements=new Uy(this.treeAdapter),this.fragmentContextID=r?Rn(this.treeAdapter.getTagName(r)):u.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Hy(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...mu,...n};t??(t=r.treeAdapter.createElement(k.TEMPLATE,H.HTML,[]));const a=r.treeAdapter.createElement("documentmock",H.HTML,[]),s=new this(r,a,t);return s.fragmentContextID===u.TEMPLATE&&s.tmplInsertionModeStack.unshift(_.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const s=(a=t.location)!==null&&a!==void 0?a:u2,i={code:n,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:r?s.startLine:s.endLine,endCol:r?s.startCol:s.endCol,endOffset:r?s.startOffset:s.endOffset};this.onParseError(i)}onItemPush(t,n,r){var a,s;(s=(a=this.treeAdapter).onItemPush)===null||s===void 0||s.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let s,i;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,i=this.fragmentContextID):{current:s,currentTagId:i}=this.openElements,this._setContextModes(s,i)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===H.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,H.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=_.TEXT}switchToPlaintextParsing(){this.insertionMode=_.TEXT,this.originalInsertionMode=_.IN_BODY,this.tokenizer.state=Te.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===k.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==H.HTML))switch(this.fragmentContextID){case u.TITLE:case u.TEXTAREA:{this.tokenizer.state=Te.RCDATA;break}case u.STYLE:case u.XMP:case u.IFRAME:case u.NOEMBED:case u.NOFRAMES:case u.NOSCRIPT:{this.tokenizer.state=Te.RAWTEXT;break}case u.SCRIPT:{this.tokenizer.state=Te.SCRIPT_DATA;break}case u.PLAINTEXT:{this.tokenizer.state=Te.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,H.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,H.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(k.HTML,H.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,u.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),s=r?a.lastIndexOf(r):a.length,i=a[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:l,endCol:c,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:l,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),s=n.type===se.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===u.SVG&&this.treeAdapter.getTagName(n)===k.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===H.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===u.MGLYPH||t.tagID===u.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,H.HTML)}_processToken(t){switch(t.type){case se.CHARACTER:{this.onCharacter(t);break}case se.NULL_CHARACTER:{this.onNullCharacter(t);break}case se.COMMENT:{this.onComment(t);break}case se.DOCTYPE:{this.onDoctype(t);break}case se.START_TAG:{this._processStartTag(t);break}case se.END_TAG:{this.onEndTag(t);break}case se.EOF:{this.onEof(t);break}case se.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return a2(t,a,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===ut.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const s=this.activeFormattingElements.entries[a];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=_.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(u.P),this.openElements.popUntilTagNamePopped(u.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case u.TR:{this.insertionMode=_.IN_ROW;return}case u.TBODY:case u.THEAD:case u.TFOOT:{this.insertionMode=_.IN_TABLE_BODY;return}case u.CAPTION:{this.insertionMode=_.IN_CAPTION;return}case u.COLGROUP:{this.insertionMode=_.IN_COLUMN_GROUP;return}case u.TABLE:{this.insertionMode=_.IN_TABLE;return}case u.BODY:{this.insertionMode=_.IN_BODY;return}case u.FRAMESET:{this.insertionMode=_.IN_FRAMESET;return}case u.SELECT:{this._resetInsertionModeForSelect(t);return}case u.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case u.HTML:{this.insertionMode=this.headElement?_.AFTER_HEAD:_.BEFORE_HEAD;return}case u.TD:case u.TH:{if(t>0){this.insertionMode=_.IN_CELL;return}break}case u.HEAD:{if(t>0){this.insertionMode=_.IN_HEAD;return}break}}this.insertionMode=_.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===u.TEMPLATE)break;if(r===u.TABLE){this.insertionMode=_.IN_SELECT_IN_TABLE;return}}this.insertionMode=_.IN_SELECT}_isElementCausesFosterParenting(t){return Dd.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case u.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===H.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case u.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return vy[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){F_(this,t);return}switch(this.insertionMode){case _.INITIAL:{jn(this,t);break}case _.BEFORE_HTML:{Kn(this,t);break}case _.BEFORE_HEAD:{Qn(this,t);break}case _.IN_HEAD:{Zn(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Jn(this,t);break}case _.AFTER_HEAD:{er(this,t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:{Bd(this,t);break}case _.TEXT:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{Qa(this,t);break}case _.IN_TABLE_TEXT:{Yd(this,t);break}case _.IN_COLUMN_GROUP:{qr(this,t);break}case _.AFTER_BODY:{Gr(this,t);break}case _.AFTER_AFTER_BODY:{Br(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){B_(this,t);return}switch(this.insertionMode){case _.INITIAL:{jn(this,t);break}case _.BEFORE_HTML:{Kn(this,t);break}case _.BEFORE_HEAD:{Qn(this,t);break}case _.IN_HEAD:{Zn(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Jn(this,t);break}case _.AFTER_HEAD:{er(this,t);break}case _.TEXT:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{Qa(this,t);break}case _.IN_COLUMN_GROUP:{qr(this,t);break}case _.AFTER_BODY:{Gr(this,t);break}case _.AFTER_AFTER_BODY:{Br(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Is(this,t);return}switch(this.insertionMode){case _.INITIAL:case _.BEFORE_HTML:case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_TEMPLATE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{Is(this,t);break}case _.IN_TABLE_TEXT:{zn(this,t);break}case _.AFTER_BODY:{p2(this,t);break}case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{g2(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case _.INITIAL:{b2(this,t);break}case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:{this._err(t,R.misplacedDoctype);break}case _.IN_TABLE_TEXT:{zn(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,R.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?H_(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{jn(this,t);break}case _.BEFORE_HTML:{E2(this,t);break}case _.BEFORE_HEAD:{x2(this,t);break}case _.IN_HEAD:{st(this,t);break}case _.IN_HEAD_NO_SCRIPT:{C2(this,t);break}case _.AFTER_HEAD:{S2(this,t);break}case _.IN_BODY:{we(this,t);break}case _.IN_TABLE:{En(this,t);break}case _.IN_TABLE_TEXT:{zn(this,t);break}case _.IN_CAPTION:{y_(this,t);break}case _.IN_COLUMN_GROUP:{Ci(this,t);break}case _.IN_TABLE_BODY:{xa(this,t);break}case _.IN_ROW:{ya(this,t);break}case _.IN_CELL:{A_(this,t);break}case _.IN_SELECT:{$d(this,t);break}case _.IN_SELECT_IN_TABLE:{N_(this,t);break}case _.IN_TEMPLATE:{v_(this,t);break}case _.AFTER_BODY:{k_(this,t);break}case _.IN_FRAMESET:{O_(this,t);break}case _.AFTER_FRAMESET:{L_(this,t);break}case _.AFTER_AFTER_BODY:{D_(this,t);break}case _.AFTER_AFTER_FRAMESET:{M_(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?U_(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{jn(this,t);break}case _.BEFORE_HTML:{T2(this,t);break}case _.BEFORE_HEAD:{y2(this,t);break}case _.IN_HEAD:{_2(this,t);break}case _.IN_HEAD_NO_SCRIPT:{A2(this,t);break}case _.AFTER_HEAD:{N2(this,t);break}case _.IN_BODY:{Ta(this,t);break}case _.TEXT:{d_(this,t);break}case _.IN_TABLE:{ir(this,t);break}case _.IN_TABLE_TEXT:{zn(this,t);break}case _.IN_CAPTION:{__(this,t);break}case _.IN_COLUMN_GROUP:{C_(this,t);break}case _.IN_TABLE_BODY:{vs(this,t);break}case _.IN_ROW:{Vd(this,t);break}case _.IN_CELL:{S_(this,t);break}case _.IN_SELECT:{qd(this,t);break}case _.IN_SELECT_IN_TABLE:{I_(this,t);break}case _.IN_TEMPLATE:{w_(this,t);break}case _.AFTER_BODY:{Xd(this,t);break}case _.IN_FRAMESET:{R_(this,t);break}case _.AFTER_FRAMESET:{P_(this,t);break}case _.AFTER_AFTER_BODY:{Br(this,t);break}}}onEof(t){switch(this.insertionMode){case _.INITIAL:{jn(this,t);break}case _.BEFORE_HTML:{Kn(this,t);break}case _.BEFORE_HEAD:{Qn(this,t);break}case _.IN_HEAD:{Zn(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Jn(this,t);break}case _.AFTER_HEAD:{er(this,t);break}case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{jd(this,t);break}case _.TEXT:{f_(this,t);break}case _.IN_TABLE_TEXT:{zn(this,t);break}case _.IN_TEMPLATE:{Gd(this,t);break}case _.AFTER_BODY:case _.IN_FRAMESET:case _.AFTER_FRAMESET:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{_i(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===b.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.TEXT:case _.IN_COLUMN_GROUP:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{this._insertCharacters(t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:case _.AFTER_BODY:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Md(this,t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{Qa(this,t);break}case _.IN_TABLE_TEXT:{zd(this,t);break}}}}function l2(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ud(e,t),n}function c2(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function d2(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let s=0,i=a;i!==n;s++,i=a){a=e.openElements.getCommonAncestor(i);const o=e.activeFormattingElements.getElementEntry(i),l=o&&s>=o2;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(i)):(i=f2(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function f2(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function h2(e,t,n){const r=e.treeAdapter.getTagName(t),a=Rn(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);a===u.TEMPLATE&&s===H.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function m2(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,s=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,a.tagID)}function yi(e,t){for(let n=0;n<i2;n++){const r=l2(e,t);if(!r)break;const a=c2(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const s=d2(e,a,r.element),i=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),i&&h2(e,i,s),m2(e,a,r)}}function Is(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function p2(e,t){e._appendCommentNode(t,e.openElements.items[0])}function g2(e,t){e._appendCommentNode(t,e.document)}function _i(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(s);i&&!i.endTag&&e._setEndLocation(s,t)}}}}function b2(e,t){e._setDocumentType(t);const n=t.forceQuirks?Qe.QUIRKS:qy(t);$y(t)||e._err(t,R.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=_.BEFORE_HTML}function jn(e,t){e._err(t,R.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Qe.QUIRKS),e.insertionMode=_.BEFORE_HTML,e._processToken(t)}function E2(e,t){t.tagID===u.HTML?(e._insertElement(t,H.HTML),e.insertionMode=_.BEFORE_HEAD):Kn(e,t)}function T2(e,t){const n=t.tagID;(n===u.HTML||n===u.HEAD||n===u.BODY||n===u.BR)&&Kn(e,t)}function Kn(e,t){e._insertFakeRootElement(),e.insertionMode=_.BEFORE_HEAD,e._processToken(t)}function x2(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.HEAD:{e._insertElement(t,H.HTML),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD;break}default:Qn(e,t)}}function y2(e,t){const n=t.tagID;n===u.HEAD||n===u.BODY||n===u.HTML||n===u.BR?Qn(e,t):e._err(t,R.endTagWithoutMatchingOpenElement)}function Qn(e,t){e._insertFakeElement(k.HEAD,u.HEAD),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD,e._processToken(t)}function st(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.BASE:case u.BASEFONT:case u.BGSOUND:case u.LINK:case u.META:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case u.TITLE:{e._switchToTextParsing(t,Te.RCDATA);break}case u.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Te.RAWTEXT):(e._insertElement(t,H.HTML),e.insertionMode=_.IN_HEAD_NO_SCRIPT);break}case u.NOFRAMES:case u.STYLE:{e._switchToTextParsing(t,Te.RAWTEXT);break}case u.SCRIPT:{e._switchToTextParsing(t,Te.SCRIPT_DATA);break}case u.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=_.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(_.IN_TEMPLATE);break}case u.HEAD:{e._err(t,R.misplacedStartTagForHeadElement);break}default:Zn(e,t)}}function _2(e,t){switch(t.tagID){case u.HEAD:{e.openElements.pop(),e.insertionMode=_.AFTER_HEAD;break}case u.BODY:case u.BR:case u.HTML:{Zn(e,t);break}case u.TEMPLATE:{Kt(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Kt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==u.TEMPLATE&&e._err(t,R.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(u.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,R.endTagWithoutMatchingOpenElement)}function Zn(e,t){e.openElements.pop(),e.insertionMode=_.AFTER_HEAD,e._processToken(t)}function C2(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.BASEFONT:case u.BGSOUND:case u.HEAD:case u.LINK:case u.META:case u.NOFRAMES:case u.STYLE:{st(e,t);break}case u.NOSCRIPT:{e._err(t,R.nestedNoscriptInHead);break}default:Jn(e,t)}}function A2(e,t){switch(t.tagID){case u.NOSCRIPT:{e.openElements.pop(),e.insertionMode=_.IN_HEAD;break}case u.BR:{Jn(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Jn(e,t){const n=t.type===se.EOF?R.openElementsLeftAfterEof:R.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=_.IN_HEAD,e._processToken(t)}function S2(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.BODY:{e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=_.IN_BODY;break}case u.FRAMESET:{e._insertElement(t,H.HTML),e.insertionMode=_.IN_FRAMESET;break}case u.BASE:case u.BASEFONT:case u.BGSOUND:case u.LINK:case u.META:case u.NOFRAMES:case u.SCRIPT:case u.STYLE:case u.TEMPLATE:case u.TITLE:{e._err(t,R.abandonedHeadElementChild),e.openElements.push(e.headElement,u.HEAD),st(e,t),e.openElements.remove(e.headElement);break}case u.HEAD:{e._err(t,R.misplacedStartTagForHeadElement);break}default:er(e,t)}}function N2(e,t){switch(t.tagID){case u.BODY:case u.HTML:case u.BR:{er(e,t);break}case u.TEMPLATE:{Kt(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function er(e,t){e._insertFakeElement(k.BODY,u.BODY),e.insertionMode=_.IN_BODY,Ea(e,t)}function Ea(e,t){switch(t.type){case se.CHARACTER:{Bd(e,t);break}case se.WHITESPACE_CHARACTER:{Md(e,t);break}case se.COMMENT:{Is(e,t);break}case se.START_TAG:{we(e,t);break}case se.END_TAG:{Ta(e,t);break}case se.EOF:{jd(e,t);break}}}function Md(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Bd(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function I2(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function v2(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function w2(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,H.HTML),e.insertionMode=_.IN_FRAMESET)}function k2(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function O2(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Ns.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,H.HTML)}function R2(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function L2(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,H.HTML),n||(e.formElement=e.openElements.current))}function P2(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===u.LI&&a===u.LI||(n===u.DD||n===u.DT)&&(a===u.DD||a===u.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==u.ADDRESS&&a!==u.DIV&&a!==u.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function D2(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.tokenizer.state=Te.PLAINTEXT}function M2(e,t){e.openElements.hasInScope(u.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(u.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1}function B2(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(k.A);n&&(yi(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function F2(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function H2(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(u.NOBR)&&(yi(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function U2(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function j2(e,t){e.treeAdapter.getDocumentMode(e.document)!==Qe.QUIRKS&&e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=_.IN_TABLE}function Fd(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Hd(e){const t=Id(e,Ut.TYPE);return t!=null&&t.toLowerCase()===s2}function z2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),Hd(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Y2(e,t){e._appendElement(t,H.HTML),t.ackSelfClosing=!0}function W2(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function V2(e,t){t.tagName=k.IMG,t.tagID=u.IMG,Fd(e,t)}function $2(e,t){e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Te.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=_.TEXT}function q2(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Te.RAWTEXT)}function G2(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Te.RAWTEXT)}function gu(e,t){e._switchToTextParsing(t,Te.RAWTEXT)}function X2(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===_.IN_TABLE||e.insertionMode===_.IN_CAPTION||e.insertionMode===_.IN_TABLE_BODY||e.insertionMode===_.IN_ROW||e.insertionMode===_.IN_CELL?_.IN_SELECT_IN_TABLE:_.IN_SELECT}function K2(e,t){e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function Q2(e,t){e.openElements.hasInScope(u.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,H.HTML)}function Z2(e,t){e.openElements.hasInScope(u.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(u.RTC),e._insertElement(t,H.HTML)}function J2(e,t){e._reconstructActiveFormattingElements(),Ld(t),xi(t),t.selfClosing?e._appendElement(t,H.MATHML):e._insertElement(t,H.MATHML),t.ackSelfClosing=!0}function e_(e,t){e._reconstructActiveFormattingElements(),Pd(t),xi(t),t.selfClosing?e._appendElement(t,H.SVG):e._insertElement(t,H.SVG),t.ackSelfClosing=!0}function bu(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function we(e,t){switch(t.tagID){case u.I:case u.S:case u.B:case u.U:case u.EM:case u.TT:case u.BIG:case u.CODE:case u.FONT:case u.SMALL:case u.STRIKE:case u.STRONG:{F2(e,t);break}case u.A:{B2(e,t);break}case u.H1:case u.H2:case u.H3:case u.H4:case u.H5:case u.H6:{O2(e,t);break}case u.P:case u.DL:case u.OL:case u.UL:case u.DIV:case u.DIR:case u.NAV:case u.MAIN:case u.MENU:case u.ASIDE:case u.CENTER:case u.FIGURE:case u.FOOTER:case u.HEADER:case u.HGROUP:case u.DIALOG:case u.DETAILS:case u.ADDRESS:case u.ARTICLE:case u.SEARCH:case u.SECTION:case u.SUMMARY:case u.FIELDSET:case u.BLOCKQUOTE:case u.FIGCAPTION:{k2(e,t);break}case u.LI:case u.DD:case u.DT:{P2(e,t);break}case u.BR:case u.IMG:case u.WBR:case u.AREA:case u.EMBED:case u.KEYGEN:{Fd(e,t);break}case u.HR:{W2(e,t);break}case u.RB:case u.RTC:{Q2(e,t);break}case u.RT:case u.RP:{Z2(e,t);break}case u.PRE:case u.LISTING:{R2(e,t);break}case u.XMP:{q2(e,t);break}case u.SVG:{e_(e,t);break}case u.HTML:{I2(e,t);break}case u.BASE:case u.LINK:case u.META:case u.STYLE:case u.TITLE:case u.SCRIPT:case u.BGSOUND:case u.BASEFONT:case u.TEMPLATE:{st(e,t);break}case u.BODY:{v2(e,t);break}case u.FORM:{L2(e,t);break}case u.NOBR:{H2(e,t);break}case u.MATH:{J2(e,t);break}case u.TABLE:{j2(e,t);break}case u.INPUT:{z2(e,t);break}case u.PARAM:case u.TRACK:case u.SOURCE:{Y2(e,t);break}case u.IMAGE:{V2(e,t);break}case u.BUTTON:{M2(e,t);break}case u.APPLET:case u.OBJECT:case u.MARQUEE:{U2(e,t);break}case u.IFRAME:{G2(e,t);break}case u.SELECT:{X2(e,t);break}case u.OPTION:case u.OPTGROUP:{K2(e,t);break}case u.NOEMBED:case u.NOFRAMES:{gu(e,t);break}case u.FRAMESET:{w2(e,t);break}case u.TEXTAREA:{$2(e,t);break}case u.NOSCRIPT:{e.options.scriptingEnabled?gu(e,t):bu(e,t);break}case u.PLAINTEXT:{D2(e,t);break}case u.COL:case u.TH:case u.TD:case u.TR:case u.HEAD:case u.FRAME:case u.TBODY:case u.TFOOT:case u.THEAD:case u.CAPTION:case u.COLGROUP:break;default:bu(e,t)}}function t_(e,t){if(e.openElements.hasInScope(u.BODY)&&(e.insertionMode=_.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function n_(e,t){e.openElements.hasInScope(u.BODY)&&(e.insertionMode=_.AFTER_BODY,Xd(e,t))}function r_(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function a_(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(u.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(u.FORM):n&&e.openElements.remove(n))}function s_(e){e.openElements.hasInButtonScope(u.P)||e._insertFakeElement(k.P,u.P),e._closePElement()}function i_(e){e.openElements.hasInListItemScope(u.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(u.LI),e.openElements.popUntilTagNamePopped(u.LI))}function o_(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function u_(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function l_(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function c_(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(k.BR,u.BR),e.openElements.pop(),e.framesetOk=!1}function Ud(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const s=e.openElements.items[a],i=e.openElements.tagIDs[a];if(r===i&&(r!==u.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(s,i))break}}function Ta(e,t){switch(t.tagID){case u.A:case u.B:case u.I:case u.S:case u.U:case u.EM:case u.TT:case u.BIG:case u.CODE:case u.FONT:case u.NOBR:case u.SMALL:case u.STRIKE:case u.STRONG:{yi(e,t);break}case u.P:{s_(e);break}case u.DL:case u.UL:case u.OL:case u.DIR:case u.DIV:case u.NAV:case u.PRE:case u.MAIN:case u.MENU:case u.ASIDE:case u.BUTTON:case u.CENTER:case u.FIGURE:case u.FOOTER:case u.HEADER:case u.HGROUP:case u.DIALOG:case u.ADDRESS:case u.ARTICLE:case u.DETAILS:case u.SEARCH:case u.SECTION:case u.SUMMARY:case u.LISTING:case u.FIELDSET:case u.BLOCKQUOTE:case u.FIGCAPTION:{r_(e,t);break}case u.LI:{i_(e);break}case u.DD:case u.DT:{o_(e,t);break}case u.H1:case u.H2:case u.H3:case u.H4:case u.H5:case u.H6:{u_(e);break}case u.BR:{c_(e);break}case u.BODY:{t_(e,t);break}case u.HTML:{n_(e,t);break}case u.FORM:{a_(e);break}case u.APPLET:case u.OBJECT:case u.MARQUEE:{l_(e,t);break}case u.TEMPLATE:{Kt(e,t);break}default:Ud(e,t)}}function jd(e,t){e.tmplInsertionModeStack.length>0?Gd(e,t):_i(e,t)}function d_(e,t){var n;t.tagID===u.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function f_(e,t){e._err(t,R.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Qa(e,t){if(e.openElements.currentTagId!==void 0&&Dd.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=_.IN_TABLE_TEXT,t.type){case se.CHARACTER:{Yd(e,t);break}case se.WHITESPACE_CHARACTER:{zd(e,t);break}}else gr(e,t)}function h_(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,H.HTML),e.insertionMode=_.IN_CAPTION}function m_(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=_.IN_COLUMN_GROUP}function p_(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(k.COLGROUP,u.COLGROUP),e.insertionMode=_.IN_COLUMN_GROUP,Ci(e,t)}function g_(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=_.IN_TABLE_BODY}function b_(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(k.TBODY,u.TBODY),e.insertionMode=_.IN_TABLE_BODY,xa(e,t)}function E_(e,t){e.openElements.hasInTableScope(u.TABLE)&&(e.openElements.popUntilTagNamePopped(u.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function T_(e,t){Hd(t)?e._appendElement(t,H.HTML):gr(e,t),t.ackSelfClosing=!0}function x_(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,H.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function En(e,t){switch(t.tagID){case u.TD:case u.TH:case u.TR:{b_(e,t);break}case u.STYLE:case u.SCRIPT:case u.TEMPLATE:{st(e,t);break}case u.COL:{p_(e,t);break}case u.FORM:{x_(e,t);break}case u.TABLE:{E_(e,t);break}case u.TBODY:case u.TFOOT:case u.THEAD:{g_(e,t);break}case u.INPUT:{T_(e,t);break}case u.CAPTION:{h_(e,t);break}case u.COLGROUP:{m_(e,t);break}default:gr(e,t)}}function ir(e,t){switch(t.tagID){case u.TABLE:{e.openElements.hasInTableScope(u.TABLE)&&(e.openElements.popUntilTagNamePopped(u.TABLE),e._resetInsertionMode());break}case u.TEMPLATE:{Kt(e,t);break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:case u.TBODY:case u.TD:case u.TFOOT:case u.TH:case u.THEAD:case u.TR:break;default:gr(e,t)}}function gr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Ea(e,t),e.fosterParentingEnabled=n}function zd(e,t){e.pendingCharacterTokens.push(t)}function Yd(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function zn(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)gr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Wd=new Set([u.CAPTION,u.COL,u.COLGROUP,u.TBODY,u.TD,u.TFOOT,u.TH,u.THEAD,u.TR]);function y_(e,t){const n=t.tagID;Wd.has(n)?e.openElements.hasInTableScope(u.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(u.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,En(e,t)):we(e,t)}function __(e,t){const n=t.tagID;switch(n){case u.CAPTION:case u.TABLE:{e.openElements.hasInTableScope(u.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(u.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,n===u.TABLE&&ir(e,t));break}case u.BODY:case u.COL:case u.COLGROUP:case u.HTML:case u.TBODY:case u.TD:case u.TFOOT:case u.TH:case u.THEAD:case u.TR:break;default:Ta(e,t)}}function Ci(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.COL:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case u.TEMPLATE:{st(e,t);break}default:qr(e,t)}}function C_(e,t){switch(t.tagID){case u.COLGROUP:{e.openElements.currentTagId===u.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case u.TEMPLATE:{Kt(e,t);break}case u.COL:break;default:qr(e,t)}}function qr(e,t){e.openElements.currentTagId===u.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE,e._processToken(t))}function xa(e,t){switch(t.tagID){case u.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,H.HTML),e.insertionMode=_.IN_ROW;break}case u.TH:case u.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(k.TR,u.TR),e.insertionMode=_.IN_ROW,ya(e,t);break}case u.CAPTION:case u.COL:case u.COLGROUP:case u.TBODY:case u.TFOOT:case u.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,En(e,t));break}default:En(e,t)}}function vs(e,t){const n=t.tagID;switch(t.tagID){case u.TBODY:case u.TFOOT:case u.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case u.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,ir(e,t));break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:case u.TD:case u.TH:case u.TR:break;default:ir(e,t)}}function ya(e,t){switch(t.tagID){case u.TH:case u.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,H.HTML),e.insertionMode=_.IN_CELL,e.activeFormattingElements.insertMarker();break}case u.CAPTION:case u.COL:case u.COLGROUP:case u.TBODY:case u.TFOOT:case u.THEAD:case u.TR:{e.openElements.hasInTableScope(u.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,xa(e,t));break}default:En(e,t)}}function Vd(e,t){switch(t.tagID){case u.TR:{e.openElements.hasInTableScope(u.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY);break}case u.TABLE:{e.openElements.hasInTableScope(u.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,vs(e,t));break}case u.TBODY:case u.TFOOT:case u.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(u.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,vs(e,t));break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:case u.TD:case u.TH:break;default:ir(e,t)}}function A_(e,t){const n=t.tagID;Wd.has(n)?(e.openElements.hasInTableScope(u.TD)||e.openElements.hasInTableScope(u.TH))&&(e._closeTableCell(),ya(e,t)):we(e,t)}function S_(e,t){const n=t.tagID;switch(n){case u.TD:case u.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_ROW);break}case u.TABLE:case u.TBODY:case u.TFOOT:case u.THEAD:case u.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Vd(e,t));break}case u.BODY:case u.CAPTION:case u.COL:case u.COLGROUP:case u.HTML:break;default:Ta(e,t)}}function $d(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.OPTION:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e._insertElement(t,H.HTML);break}case u.OPTGROUP:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e.openElements.currentTagId===u.OPTGROUP&&e.openElements.pop(),e._insertElement(t,H.HTML);break}case u.HR:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop(),e.openElements.currentTagId===u.OPTGROUP&&e.openElements.pop(),e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case u.INPUT:case u.KEYGEN:case u.TEXTAREA:case u.SELECT:{e.openElements.hasInSelectScope(u.SELECT)&&(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode(),t.tagID!==u.SELECT&&e._processStartTag(t));break}case u.SCRIPT:case u.TEMPLATE:{st(e,t);break}}}function qd(e,t){switch(t.tagID){case u.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===u.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===u.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===u.OPTGROUP&&e.openElements.pop();break}case u.OPTION:{e.openElements.currentTagId===u.OPTION&&e.openElements.pop();break}case u.SELECT:{e.openElements.hasInSelectScope(u.SELECT)&&(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode());break}case u.TEMPLATE:{Kt(e,t);break}}}function N_(e,t){const n=t.tagID;n===u.CAPTION||n===u.TABLE||n===u.TBODY||n===u.TFOOT||n===u.THEAD||n===u.TR||n===u.TD||n===u.TH?(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode(),e._processStartTag(t)):$d(e,t)}function I_(e,t){const n=t.tagID;n===u.CAPTION||n===u.TABLE||n===u.TBODY||n===u.TFOOT||n===u.THEAD||n===u.TR||n===u.TD||n===u.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(u.SELECT),e._resetInsertionMode(),e.onEndTag(t)):qd(e,t)}function v_(e,t){switch(t.tagID){case u.BASE:case u.BASEFONT:case u.BGSOUND:case u.LINK:case u.META:case u.NOFRAMES:case u.SCRIPT:case u.STYLE:case u.TEMPLATE:case u.TITLE:{st(e,t);break}case u.CAPTION:case u.COLGROUP:case u.TBODY:case u.TFOOT:case u.THEAD:{e.tmplInsertionModeStack[0]=_.IN_TABLE,e.insertionMode=_.IN_TABLE,En(e,t);break}case u.COL:{e.tmplInsertionModeStack[0]=_.IN_COLUMN_GROUP,e.insertionMode=_.IN_COLUMN_GROUP,Ci(e,t);break}case u.TR:{e.tmplInsertionModeStack[0]=_.IN_TABLE_BODY,e.insertionMode=_.IN_TABLE_BODY,xa(e,t);break}case u.TD:case u.TH:{e.tmplInsertionModeStack[0]=_.IN_ROW,e.insertionMode=_.IN_ROW,ya(e,t);break}default:e.tmplInsertionModeStack[0]=_.IN_BODY,e.insertionMode=_.IN_BODY,we(e,t)}}function w_(e,t){t.tagID===u.TEMPLATE&&Kt(e,t)}function Gd(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(u.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):_i(e,t)}function k_(e,t){t.tagID===u.HTML?we(e,t):Gr(e,t)}function Xd(e,t){var n;if(t.tagID===u.HTML){if(e.fragmentContext||(e.insertionMode=_.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===u.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Gr(e,t)}function Gr(e,t){e.insertionMode=_.IN_BODY,Ea(e,t)}function O_(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.FRAMESET:{e._insertElement(t,H.HTML);break}case u.FRAME:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case u.NOFRAMES:{st(e,t);break}}}function R_(e,t){t.tagID===u.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==u.FRAMESET&&(e.insertionMode=_.AFTER_FRAMESET))}function L_(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.NOFRAMES:{st(e,t);break}}}function P_(e,t){t.tagID===u.HTML&&(e.insertionMode=_.AFTER_AFTER_FRAMESET)}function D_(e,t){t.tagID===u.HTML?we(e,t):Br(e,t)}function Br(e,t){e.insertionMode=_.IN_BODY,Ea(e,t)}function M_(e,t){switch(t.tagID){case u.HTML:{we(e,t);break}case u.NOFRAMES:{st(e,t);break}}}function B_(e,t){t.chars=be,e._insertCharacters(t)}function F_(e,t){e._insertCharacters(t),e.framesetOk=!1}function Kd(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==H.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function H_(e,t){if(e2(t))Kd(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===H.MATHML?Ld(t):r===H.SVG&&(t2(t),Pd(t)),xi(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function U_(e,t){if(t.tagID===u.P||t.tagID===u.BR){Kd(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===H.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}k.AREA,k.BASE,k.BASEFONT,k.BGSOUND,k.BR,k.COL,k.EMBED,k.FRAME,k.HR,k.IMG,k.INPUT,k.KEYGEN,k.LINK,k.META,k.PARAM,k.SOURCE,k.TRACK,k.WBR;const j_=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,z_=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Eu={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Qd(e,t){const n=Z_(e),r=_d("type",{handlers:{root:Y_,element:W_,text:V_,comment:Jd,doctype:$_,raw:G_},unknown:X_}),a={parser:n?new pu(Eu):pu.getFragmentParser(void 0,Eu),handle(o){r(o,a)},stitches:!1,options:t||{}};r(e,a),Ln(a,bt());const s=n?a.parser.document:a.parser.getFragment(),i=Yx(s,{file:a.options.file});return a.stitches&&pi(i,"comment",function(o,l,c){const d=o;if(d.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=d.value.stitch,l}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function Zd(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Y_(e,t){Zd(e.children,t)}function W_(e,t){K_(e,t),Zd(e.children,t),Q_(e,t)}function V_(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:se.CHARACTER,chars:e.value,location:br(e)};Ln(t,bt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function $_(e,t){const n={type:se.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:br(e)};Ln(t,bt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function q_(e,t){t.stitches=!0;const n=J_(e);if("children"in e&&"children"in n){const r=Qd({type:"root",children:e.children},t.options);n.children=r.children}Jd({type:"comment",value:{stitch:n}},t)}function Jd(e,t){const n=e.value,r={type:se.COMMENT,data:n,location:br(e)};Ln(t,bt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function G_(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,ef(t,bt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(j_,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function X_(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))q_(n,t);else{let r="";throw z_.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Ln(e,t){ef(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Te.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function ef(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function K_(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Te.PLAINTEXT)return;Ln(t,bt(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:Ht.html;a===Ht.html&&n==="svg"&&(a=Ht.svg);const s=ay({...e,children:[]},{space:a===Ht.svg?"svg":"html"}),i={type:se.START_TAG,tagName:n,tagID:Rn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:br(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Q_(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&fy.includes(n)||t.parser.tokenizer.state===Te.PLAINTEXT)return;Ln(t,ma(e));const r={type:se.END_TAG,tagName:n,tagID:Rn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:br(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Te.RCDATA||t.parser.tokenizer.state===Te.RAWTEXT||t.parser.tokenizer.state===Te.SCRIPT_DATA)&&(t.parser.tokenizer.state=Te.DATA)}function Z_(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function br(e){const t=bt(e)||{line:void 0,column:void 0,offset:void 0},n=ma(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function J_(e){return"children"in e?bn({...e,children:[]}):bn(e)}function eC(e){return function(t,n){return Qd(t,{...e,file:n})}}const tC="_prose_1l8lv_1",nC="_mdAccordion_1l8lv_16",tf={prose:tC,mdAccordion:nC};function rC(e,{openFirst:t=!1}={}){if(!e)return"";const n=/~H~~([\s\S]*?)~~\s*~M~~([\s\S]*?)~~/g;let r=0;return e.replace(n,(a,s,i)=>{const o=t&&r===0?" open":"";return r+=1,`
76
76
  <details class="${tf.mdAccordion}"${o}>
77
77
  <summary>${String(s).trim()}</summary>
78
78
  <div class="p-4">
79
79
  ${String(i).trim()}
80
80
  </div>
81
- </details>`})}function a2({children:e,className:t="",openFirst:n=!1}){const a=r2(typeof e=="string"?e:"",{openFirst:n});return m.jsx("div",{className:["prose",tf.prose,t].filter(Boolean).join(" "),children:m.jsx(RT,{rehypePlugins:[e2],children:a})})}function s2(e){return m.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:"size-5",...e,children:[m.jsx("rect",{x:"0.666667",y:"0.666667",width:"10.6667",height:"10.6667",rx:"5.33333",stroke:"#B1B1B1",strokeWidth:"1.33333"}),m.jsx("circle",{cx:"6.00065",cy:"3.33268",r:"0.666667",fill:"#B1B1B1"}),m.jsx("rect",{x:"5.33398",y:"5.33398",width:"1.33333",height:"4",fill:"#B1B1B1"})]})}const Au={},nf=({tooltipData:e,openFirst:t=!1,trigger:n})=>{if(!e?.trim())return null;const r=a=>{a.stopPropagation()};return m.jsxs(ei,{children:[m.jsx(ti,{asChild:!0,children:n??m.jsx("button",{className:Au.iconBtn,"aria-label":"Open tooltip",onClick:r,children:m.jsx(s2,{className:Au.iconSvg})})}),m.jsx(ni,{className:"bg-[#000] text-white text-[1.1rem] leading-[1.45] w-auto max-w-[300px]",side:"top",children:m.jsx(a2,{openFirst:t,children:e})})]})},rf=x.forwardRef(({values:e,value:t,onValueChange:n,placeholder:r="Sort by",title:a,className:s,dropdownWidth:i,align:o="start",showClear:l=!1,getTooltipByMaterialAndSection:c,sectionName:d},f)=>{const[p,h]=x.useState(!1),T=x.useRef(null);x.useEffect(()=>{if(!p)return;const S=R=>{const v=R.target,k=T.current;k&&(k.contains(v)||v===k)||h(!1)},L=R=>R.key==="Escape"&&h(!1);return window.addEventListener("scroll",S,!0),window.addEventListener("resize",S),document.addEventListener("keydown",L),()=>{window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S),document.removeEventListener("keydown",L)}},[p]);const g=t?e.find(S=>S.value===t):void 0,C=S=>{n(S),h(!1)},b=()=>n(null);return m.jsxs(Nc,{open:p,onOpenChange:h,children:[m.jsxs(Lc,{ref:f,"aria-haspopup":"listbox","aria-expanded":p,className:ve("inline-flex flex-row items-center justify-between gap-[8px] rounded-full bg-[var(--label-bg, #f5f5f5)] px-[8px] py-[8px] text-xs font-medium h-[36px] text-blackborder border-transparent hover:bg-gray-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--main-accent-color)]sm:w-[102px]",s),children:[m.jsx("span",{className:ve(!g&&"text-xs text-gray-700 ms:text-sm"),children:g?.label??r}),m.jsx(Ml,{className:ve("h-4 w-[16px] transition-transform",p&&"rotate-180")})]}),m.jsxs(Rc,{ref:T,align:o,sideOffset:6,className:ve("bg-white border border-gray-200 rounded-xl shadow-lg z-50 max-h-80 overflow-y-auto p-0",i||"w-[var(--radix-popover-trigger-width)]"),style:{WebkitOverflowScrolling:"touch",overscrollBehavior:"contain"},onTouchStart:S=>S.stopPropagation(),onTouchMove:S=>S.stopPropagation(),onWheel:S=>S.stopPropagation(),children:[(a??r)&&m.jsx("div",{className:"px-4 pt-3 pb-2 text-[1rem] font-regular",children:a??r}),l&&t!==null&&m.jsx("div",{className:"px-4 py-2 border-b",children:m.jsxs("button",{onClick:b,className:"inline-flex flex-row items-center gap-[4px] text-[0.95rem] text-black hover:text-[var(--main-accent-color)] transition-colors",children:[m.jsx(Us,{className:"h-3.5 w-[12px].5"}),"Clear"]})}),m.jsx("div",{role:"listbox","aria-activedescendant":g?`option-${g.value}`:void 0,className:"py-1",children:e.map(S=>{const L=t===S.value;return m.jsxs("div",{id:`option-${S.value}`,role:"option","aria-selected":L,tabIndex:0,className:ve("flex flex-row items-start justify-between gap-[8px] px-4 py-2 cursor-pointer","hover:bg-gray-50 focus:bg-gray-50 focus:outline-none"),onClick:()=>C(S.value),onKeyDown:R=>{(R.key==="Enter"||R.key===" ")&&(R.preventDefault(),C(S.value))},children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("span",{className:"text-[1.05rem]",children:S.label}),(()=>{if(!c||!d)return null;const R=c(S.value,d);return R?.Description?m.jsx(nf,{tooltipData:R.Description}):null})()]}),L?m.jsx(Ol,{className:"h-4 w-[16px]"}):null]},S.value)})})]})]})});rf.displayName="SingleSelect";const af=({size:e=80,trackClassName:t="text-white",accentClassName:n="text-amber-700",className:r="",isOverlay:a=!0})=>m.jsx("div",{className:a?"absolute inset-0 flex flex-row items-center justify-center backdrop-blur bg-black/30 z-150":"inline-flex flex-row items-center justify-center",children:m.jsxs("span",{role:"status","aria-label":"Loading",className:r,style:{width:e,height:e},children:[m.jsxs("svg",{viewBox:"0 0 80 80",className:"animate-spin",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[m.jsx("path",{d:"M40.0003 6.66675V20.0001M54.0003 26.0001L63.667 16.3334M60.0003 40.0001H73.3337M54.0003 54.0001L63.667 63.6667M40.0003 60.0001V73.3334M16.3337 63.6667L26.0003 54.0001M6.66699 40.0001H20.0003M16.3337 16.3334L26.0003 26.0001",stroke:"currentColor",className:t,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round"}),m.jsx("path",{d:"M54 25.9999L63.6667 16.3333",stroke:"currentColor",className:n,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round"})]}),m.jsx("span",{className:"sr-only",children:"Loading…"})]})}),i2=({open:e,target:t,children:n,offset:r=12,maxWidthPx:a=420,forceOverflowVisible:s=!0})=>{const i=D.useRef(null),[o,l]=D.useState({top:0,left:0,arrowLeft:16});return D.useEffect(()=>{if(!e||!t||!s)return;const c=t.style.position;getComputedStyle(t).position==="static"&&(t.style.position="relative");const f=t.style.overflow;return t.style.overflow="visible",()=>{t.style.position=c,t.style.overflow=f}},[e,t,s]),D.useLayoutEffect(()=>{if(!e||!t)return;const c=10,d=8,f=()=>{const g=i.current;if(!g)return;const C={vis:g.style.visibility,top:g.style.top,left:g.style.left,maxW:g.style.maxWidth,transform:g.style.transform};g.style.visibility="hidden",g.style.top="0px",g.style.left="0px",g.style.transform="none",g.style.maxWidth=`min(${a}px, calc(100vw - ${d*2}px))`;const b=g.getBoundingClientRect(),S=b.width,L=b.height,R=t.getBoundingClientRect(),v=R.left,k=Math.max(d,Math.min(v,window.innerWidth-d-S)),M=Math.max(d,R.top-(L+r+c)),P=v-k+16,W=Math.max(8,Math.min(P,S-8));g.style.visibility=C.vis,g.style.top=C.top,g.style.left=C.left,g.style.maxWidth=C.maxW,g.style.transform=C.transform,l({top:M,left:k,arrowLeft:W})};f();const p=()=>f(),h=()=>f();window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",h);const T=new ResizeObserver(()=>f());return T.observe(t),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",h),T.disconnect()}},[e,t,r,a]),!e||!t?null:qt.createPortal(m.jsx("div",{className:"fixed inset-0 z-[60000] pointer-events-none",children:m.jsxs("div",{ref:i,role:"tooltip",className:`
81
+ </details>`})}function aC({children:e,className:t="",openFirst:n=!1}){const a=rC(typeof e=="string"?e:"",{openFirst:n});return m.jsx("div",{className:["prose",tf.prose,t].filter(Boolean).join(" "),children:m.jsx(vx,{rehypePlugins:[eC],children:a})})}function sC(e){return m.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:"size-5",...e,children:[m.jsx("rect",{x:"0.666667",y:"0.666667",width:"10.6667",height:"10.6667",rx:"5.33333",stroke:"#B1B1B1",strokeWidth:"1.33333"}),m.jsx("circle",{cx:"6.00065",cy:"3.33268",r:"0.666667",fill:"#B1B1B1"}),m.jsx("rect",{x:"5.33398",y:"5.33398",width:"1.33333",height:"4",fill:"#B1B1B1"})]})}const Tu={},nf=({tooltipData:e,openFirst:t=!1,trigger:n})=>{if(!e?.trim())return null;const r=a=>{a.stopPropagation()};return m.jsxs(ei,{children:[m.jsx(ti,{asChild:!0,children:n??m.jsx("button",{className:Tu.iconBtn,"aria-label":"Open tooltip",onClick:r,children:m.jsx(sC,{className:Tu.iconSvg})})}),m.jsx(ni,{className:"bg-[#000] text-white text-[1.1rem] leading-[1.45] w-auto max-w-[300px]",side:"top",children:m.jsx(aC,{openFirst:t,children:e})})]})},rf=y.forwardRef(({values:e,value:t,onValueChange:n,placeholder:r="Sort by",title:a,className:s,dropdownWidth:i,align:o="start",showClear:l=!1,getTooltipByMaterialAndSection:c,sectionName:d},f)=>{const[p,h]=y.useState(!1),x=y.useRef(null);y.useEffect(()=>{if(!p)return;const A=v=>{const O=v.target,w=x.current;w&&(w.contains(O)||O===w)||h(!1)},I=v=>v.key==="Escape"&&h(!1);return window.addEventListener("scroll",A,!0),window.addEventListener("resize",A),document.addEventListener("keydown",I),()=>{window.removeEventListener("scroll",A,!0),window.removeEventListener("resize",A),document.removeEventListener("keydown",I)}},[p]);const g=t?e.find(A=>A.value===t):void 0,C=A=>{n(A),h(!1)},E=()=>n(null);return m.jsxs(Nc,{open:p,onOpenChange:h,children:[m.jsxs(Ic,{ref:f,"aria-haspopup":"listbox","aria-expanded":p,className:Oe("inline-flex flex-row items-center justify-between gap-[8px] rounded-full bg-[var(--label-bg, #f5f5f5)] px-[8px] py-[8px] text-xs font-medium h-[36px] text-blackborder border-transparent hover:bg-gray-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--main-accent-color)]sm:w-[102px]",s),children:[m.jsx("span",{className:Oe(!g&&"text-xs text-gray-700 ms:text-sm"),children:g?.label??r}),m.jsx(Ll,{className:Oe("h-4 w-[16px] transition-transform",p&&"rotate-180")})]}),m.jsxs(vc,{ref:x,align:o,sideOffset:6,className:Oe("bg-white border border-gray-200 rounded-xl shadow-lg z-50 max-h-80 overflow-y-auto p-0",i||"w-[var(--radix-popover-trigger-width)]"),style:{WebkitOverflowScrolling:"touch",overscrollBehavior:"contain"},onTouchStart:A=>A.stopPropagation(),onTouchMove:A=>A.stopPropagation(),onWheel:A=>A.stopPropagation(),children:[(a??r)&&m.jsx("div",{className:"px-4 pt-3 pb-2 text-[1rem] font-regular",children:a??r}),l&&t!==null&&m.jsx("div",{className:"px-4 py-2 border-b",children:m.jsxs("button",{onClick:E,className:"inline-flex flex-row items-center gap-[4px] text-[0.95rem] text-black hover:text-[var(--main-accent-color)] transition-colors",children:[m.jsx(Fs,{className:"h-3.5 w-[12px].5"}),"Clear"]})}),m.jsx("div",{role:"listbox","aria-activedescendant":g?`option-${g.value}`:void 0,className:"py-1",children:e.map(A=>{const I=t===A.value;return m.jsxs("div",{id:`option-${A.value}`,role:"option","aria-selected":I,tabIndex:0,className:Oe("flex flex-row items-start justify-between gap-[8px] px-4 py-2 cursor-pointer","hover:bg-gray-50 focus:bg-gray-50 focus:outline-none"),onClick:()=>C(A.value),onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),C(A.value))},children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("span",{className:"text-[1.05rem]",children:A.label}),(()=>{if(!c||!d)return null;const v=c(A.value,d);return v?.Description?m.jsx(nf,{tooltipData:v.Description}):null})()]}),I?m.jsx(Rl,{className:"h-4 w-[16px]"}):null]},A.value)})})]})]})});rf.displayName="SingleSelect";const af=({size:e=80,trackClassName:t="text-white",accentClassName:n="text-amber-700",className:r="",isOverlay:a=!0})=>m.jsx("div",{className:a?"absolute inset-0 flex flex-row items-center justify-center backdrop-blur bg-black/30 z-150":"inline-flex flex-row items-center justify-center",children:m.jsxs("span",{role:"status","aria-label":"Loading",className:r,style:{width:e,height:e},children:[m.jsxs("svg",{viewBox:"0 0 80 80",className:"animate-spin",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[m.jsx("path",{d:"M40.0003 6.66675V20.0001M54.0003 26.0001L63.667 16.3334M60.0003 40.0001H73.3337M54.0003 54.0001L63.667 63.6667M40.0003 60.0001V73.3334M16.3337 63.6667L26.0003 54.0001M6.66699 40.0001H20.0003M16.3337 16.3334L26.0003 26.0001",stroke:"currentColor",className:t,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round"}),m.jsx("path",{d:"M54 25.9999L63.6667 16.3333",stroke:"currentColor",className:n,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round"})]}),m.jsx("span",{className:"sr-only",children:"Loading…"})]})}),iC=({open:e,target:t,children:n,offset:r=12,maxWidthPx:a=420,forceOverflowVisible:s=!0})=>{const i=D.useRef(null),[o,l]=D.useState({top:0,left:0,arrowLeft:16});return D.useEffect(()=>{if(!e||!t||!s)return;const c=t.style.position;getComputedStyle(t).position==="static"&&(t.style.position="relative");const f=t.style.overflow;return t.style.overflow="visible",()=>{t.style.position=c,t.style.overflow=f}},[e,t,s]),D.useLayoutEffect(()=>{if(!e||!t)return;const c=10,d=8,f=()=>{const g=i.current;if(!g)return;const C={vis:g.style.visibility,top:g.style.top,left:g.style.left,maxW:g.style.maxWidth,transform:g.style.transform};g.style.visibility="hidden",g.style.top="0px",g.style.left="0px",g.style.transform="none",g.style.maxWidth=`min(${a}px, calc(100vw - ${d*2}px))`;const E=g.getBoundingClientRect(),A=E.width,I=E.height,v=t.getBoundingClientRect(),O=v.left,w=Math.max(d,Math.min(O,window.innerWidth-d-A)),L=Math.max(d,v.top-(I+r+c)),P=O-w+16,q=Math.max(8,Math.min(P,A-8));g.style.visibility=C.vis,g.style.top=C.top,g.style.left=C.left,g.style.maxWidth=C.maxW,g.style.transform=C.transform,l({top:L,left:w,arrowLeft:q})};f();const p=()=>f(),h=()=>f();window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",h);const x=new ResizeObserver(()=>f());return x.observe(t),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",h),x.disconnect()}},[e,t,r,a]),!e||!t?null:Vt.createPortal(m.jsx("div",{className:"fixed inset-0 z-[60000] pointer-events-none",children:m.jsxs("div",{ref:i,role:"tooltip",className:`
82
82
  absolute
83
83
  rounded-2xl
84
84
  text-white text-sm leading-6 font-medium
@@ -92,7 +92,7 @@ ${String(i).trim()}
92
92
  bg-[var(--background-grey)] relative w-[40px] h-[40px] border border-solid border-[var(--border)]
93
93
  rounded-md aspect-square overflow-hidden transition sm:w-[64px] sm:h-[64px]
94
94
  select-none
95
- `,"aria-label":`Selected swatch ${e.name??e.assetId}`,title:"Click to remove",onMouseEnter:d=>{r(d.currentTarget),o({materialName:l?.label||e?.name||"empty_materialName",parentName:e.parentName,productName:e.productName||"empty_product_name"}),s(!0)},onMouseLeave:()=>s(!1),children:[Vt.getImage(e)?m.jsx(zs,{item:e}):m.jsx(Ys,{item:e}),m.jsx("div",{onClick:c,className:`absolute top-0 right-0 m-[2px] w-[12px] h-[12px] flex flex-row justify-center items-center text-white
95
+ `,"aria-label":`Selected swatch ${e.name??e.assetId}`,title:"Click to remove",onMouseEnter:d=>{r(d.currentTarget),o({materialName:l?.label||e?.name||"empty_materialName",parentName:e.parentName,productName:e.productName||"empty_product_name"}),s(!0)},onMouseLeave:()=>s(!1),children:[zt.getImage(e)?m.jsx(Ys,{item:e}):m.jsx(Ws,{item:e}),m.jsx("div",{onClick:c,className:`absolute top-0 right-0 m-[2px] w-[12px] h-[12px] flex flex-row justify-center items-center text-white
96
96
  bg-[var(--main-accent-color)] rounded-2xl border-none z-[99] cursor-pointer sm:w-[16px] sm:h-[16px]`,children:e.count}),m.jsx("div",{onClick:c,className:`
97
97
  absolute inset-0 m-auto
98
98
  w-[12px] h-[12px]
@@ -101,16 +101,16 @@ ${String(i).trim()}
101
101
  rounded-full
102
102
  z-[100] cursor-pointer
103
103
  sm:w-[32px] sm:h-[32px]
104
- `,children:m.jsx(cr,{className:"w-[8px] h-[8px] stroke-[var(--svg-dark)]"})})]}),m.jsx(i2,{open:a,target:n,offset:8,children:m.jsxs(m.Fragment,{children:[i.materialName," | ",i.parentName]})})]})},o2=()=>m.jsx("div",{className:["relative w-[40px] h-[40px] rounded-md aspect-square overflow-hidden","border border-solid border-[var(--border)] bg-[var(--sidebar-b)] sm:w-[64px] sm:h-[64px]"].join(" "),"aria-hidden":!0}),u2=({selectedMaterials:e,containerStyles:t="p-[var(--padding)] border-t border-solid border-[var(--border)] shrink-0 sm:p-[var(--sm-padding)]"})=>{const n=Ne(),r=oe(na),a=oe(xn),s=l=>{if(!r)return;const c=p=>p.metadata?.label===l.metadata?.label&&p.parentName===l.parentName,d=a.find(p=>p.items.some(c)),f=d?.items.filter(p=>!c(p));if(d){const p={assetId:d.assetId||"empty_assetId",name:d.name,items:f||[]};n(as(p)),n(ss(p))}},i=Math.max(0,Me-e.length),o=oa(e);return m.jsxs("div",{className:t,children:[m.jsxs("div",{className:"flex flex-row justify-between items-center mb-[12px]",children:[m.jsxs("div",{className:"relative",children:[m.jsx("div",{className:"text-xs",children:"Swatches list"}),m.jsx("span",{className:"absolute top-0 right-[-20px] font-medium text-[var(--main-accent-color)] text-[8px] leading-none",children:"Free"})]}),m.jsxs("div",{className:"text-xs",children:[o,"/",Me," Selected"]})]}),m.jsxs("div",{className:"flex flex-row flex-wrap gap-[8px]",children:[e.map((l,c)=>{const d=l.metadata;return m.jsx(sf,{val:l,onDelete:s},`${d?.label||c}/${l.parentName}`)}),Array.from({length:i}).map((l,c)=>m.jsx(o2,{},`mock-${c}`))]})]})},of=()=>{const e=Ne(),t=oe(xn),n=D.useMemo(()=>t.flatMap(a=>a.items.map(s=>({...s,productName:a.name}))),[t]),r=()=>{n.length&&e(Vu(!0))};return m.jsxs("div",{className:`flex flex-col border-t border-[var(--border)] shrink-0 shadow-[0_-2px_10px_rgba(40,40,40,0.10)]
104
+ `,children:m.jsx(cr,{className:"w-[8px] h-[8px] stroke-[var(--svg-dark)]"})})]}),m.jsx(iC,{open:a,target:n,offset:8,children:m.jsxs(m.Fragment,{children:[i.materialName," | ",i.parentName]})})]})},oC=()=>m.jsx("div",{className:["relative w-[40px] h-[40px] rounded-md aspect-square overflow-hidden","border border-solid border-[var(--border)] bg-[var(--sidebar-b)] sm:w-[64px] sm:h-[64px]"].join(" "),"aria-hidden":!0}),uC=({selectedMaterials:e,containerStyles:t="p-[var(--padding)] border-t border-solid border-[var(--border)] shrink-0 sm:p-[var(--sm-padding)]"})=>{const n=Ne(),r=oe(na),a=oe(yn),s=l=>{if(!r)return;const c=p=>p.metadata?.label===l.metadata?.label&&p.parentName===l.parentName,d=a.find(p=>p.items.some(c)),f=d?.items.filter(p=>!c(p));if(d){const p={assetId:d.assetId||"empty_assetId",name:d.name,items:f||[]};n(as(p)),n(ss(p))}},i=Math.max(0,Le-e.length),o=oa(e);return m.jsxs("div",{className:t,children:[m.jsxs("div",{className:"flex flex-row justify-between items-center mb-[12px]",children:[m.jsxs("div",{className:"relative",children:[m.jsx("div",{className:"text-xs",children:"Swatches list"}),m.jsx("span",{className:"absolute top-0 right-[-20px] font-medium text-[var(--main-accent-color)] text-[8px] leading-none",children:"Free"})]}),m.jsxs("div",{className:"text-xs",children:[o,"/",Le," Selected"]})]}),m.jsxs("div",{className:"flex flex-row flex-wrap gap-[8px]",children:[e.map((l,c)=>{const d=l.metadata;return m.jsx(sf,{val:l,onDelete:s},`${d?.label||c}/${l.parentName}`)}),Array.from({length:i}).map((l,c)=>m.jsx(oC,{},`mock-${c}`))]})]})},of=()=>{const e=Ne(),t=oe(yn),n=D.useMemo(()=>t.flatMap(a=>a.items.map(s=>({...s,productName:a.name}))),[t]),r=()=>{n.length&&e(zu(!0))};return m.jsxs("div",{className:`flex flex-col border-t border-[var(--border)] shrink-0 shadow-[0_-2px_10px_rgba(40,40,40,0.10)]
105
105
  sm:flex-row
106
- `,children:[m.jsx(u2,{selectedMaterials:n,containerStyles:"flex flex-col p-[var(--sm-padding)] shrink-0 sm:w-[50%] sm:border-r sm:border-[var(--border)]"}),m.jsx("div",{className:"flex flex-row w-full p-[var(--sm-padding)] border-t border-[var(--border)] sm:border-none lg:w-[50%] sm:justify-center sm:items-center lg:justify-end lg:items-end",children:m.jsx("div",{className:"w-full lg:w-[50%] text-sm",children:m.jsx(Gu,{onClick:r,children:"ADD SWATCHES TO CART"})})})]})},l2="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAYGBgYGBgYHBwYJCgkKCQ0MCwsMDRQODw4PDhQfExYTExYTHxshGxkbIRsxJiIiJjE4Ly0vOEQ9PURWUVZwcJYBBgYGBgYGBgcHBgkKCQoJD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md6HwiyIZdbU2hk9PtWy4X6iwlL1JU/pmcUvIwTI5JebJ4WkTF9lmzLU9kYDSeTaKRQ3yRi9DDOhVlZCbKsqVKu6vkNrkVwyKjY8nvv7Jlm96OSH1k8luIe6u9n9K70PhFkQy3V1GyUNktFSn2jhuWSwfqSzqhlB5oyJ/qxHriVfMSKM0HGKEomynkUpdQouRR+ZRmJj5CRQSpqexgVG8Hvv7Jlm96OSH1KvluvdX2ciXCxZEMt1dQshIZbafajLHh9x6DyOQ9DUn+rE5iotERm6tUQ1dsRegoR8KHRVSSK430qUKURru0ENDiqPfeX2TLidyvZHJdbLql9lu9EuFkSOT3lvrhuZbad4/wD/2Q==",c2=[{label:"Clear All",value:""},{label:"A-Z",value:"asc"},{label:"Z-A",value:"dsc"}],d2=()=>{const e=Ne(),t=D.useRef(null),n=oe(Bh),r=oe(Qu),a=oe(Uh),s=oe(xn),[i,o]=D.useState(Zl),[l,c]=D.useState(""),[d,f]=D.useState(""),[p,h]=D.useState(null),[T,g]=D.useState(!1);D.useEffect(()=>{const R=t.current;if(!R)return;const v=()=>{const k=R.scrollTop;!T&&k>0&&g(!0),k===0&&T&&g(!1)};return R.addEventListener("scroll",v),()=>R.removeEventListener("scroll",v)},[T]),D.useEffect(()=>{const R=setTimeout(()=>{f(l.trim().toLowerCase())},300);return()=>clearTimeout(R)},[l]),D.useEffect(()=>{e(Kn())},[e]);const C=D.useMemo(()=>Op.getUniqueCategories(a),[a]),b=R=>R.toLowerCase(),S=D.useMemo(()=>new Intl.Collator(void 0,{sensitivity:"base",numeric:!1}),[]),L=D.useMemo(()=>{let R=a;if(i?.value){const v=b(i.value);R=R.filter(k=>b(k.collection??"")===v)}return d&&(R=R.filter(v=>b(v.name).includes(d))),p==="asc"?R=[...R].sort((v,k)=>S.compare(v.name,k.name)):p==="dsc"?R=[...R].sort((v,k)=>S.compare(k.name,v.name)):R=[...R],R},[a,i,d,p,S]);return m.jsxs("div",{className:"relative flex flex-col h-full min-h-0 w-full",children:[m.jsxs("div",{className:"flex-shrink-0",children:[m.jsx("div",{className:ft("overflow-hidden transform-gpu transition-[max-height,opacity,transform] duration-500 ease-in-out",T?"max-h-0 opacity-0 -translate-y-4 pointer-events-none":"max-h-40 opacity-100 translate-y-0"),children:m.jsx("div",{className:"h-40",children:m.jsx("img",{src:l2,className:"object-cover w-full h-full"})})}),m.jsxs("header",{className:"flex flex-col border-b border-[var(--border)] lg:flex-row lg:justify-between",children:[m.jsx("h1",{className:"m-0! p-[var(--sm-padding)] text-base font-medium",children:"Swatches store"}),m.jsx("div",{className:"flex flex-row justify-center items-center border-t border-[var(--border)] p-[var(--sm-padding)] text-xs font-medium leading-[24px] lg:border-none",children:m.jsxs("span",{children:["Choose 5 free swatches to curate your perfect design. Plus get"," ",m.jsx("span",{className:"text-[var(--main-accent-color)] underline",children:"free design advice"})," ","from our experts"]})})]})]}),m.jsxs("div",{className:"flex flex-col flex-1 min-h-0",children:[(n||r)&&m.jsx(af,{}),m.jsxs("div",{className:"flex flex-row w-full items-center justify-between gap-[16px] border-b border-[var(--border)] p-[var(--sm-padding)]",children:[m.jsxs("div",{className:"flex flex-row h-[36px] w-full items-center justify-between gap-[16px] shrink-0 lg:max-w-[382px]",children:[m.jsxs("div",{className:"relative h-[36px] flex-1 min-w-0 lg:max-w-[240px]",children:[m.jsx("input",{type:"text",placeholder:"Search",value:l,onChange:R=>c(R.target.value),className:`
106
+ `,children:[m.jsx(uC,{selectedMaterials:n,containerStyles:"flex flex-col p-[var(--sm-padding)] shrink-0 sm:w-[50%] sm:border-r sm:border-[var(--border)]"}),m.jsx("div",{className:"flex flex-row w-full p-[var(--sm-padding)] border-t border-[var(--border)] sm:border-none lg:w-[50%] sm:justify-center sm:items-center lg:justify-end lg:items-end",children:m.jsx("div",{className:"w-full lg:w-[50%] text-sm",children:m.jsx(Qu,{onClick:r,children:"ADD SWATCHES TO CART"})})})]})},lC=[{label:"Clear All",value:""},{label:"A-Z",value:"asc"},{label:"Z-A",value:"dsc"}],cC=()=>{const e=Ne(),t=D.useRef(null),n=oe(Hh),r=oe(Gu),a=oe(Fh),s=oe(yn),[i,o]=D.useState(Xl),[l,c]=D.useState(""),[d,f]=D.useState(""),[p,h]=D.useState(null),[x,g]=D.useState(!1);D.useEffect(()=>{const v=t.current;if(!v)return;const O=()=>{const w=v.scrollTop;!x&&w>0&&g(!0),w===0&&x&&g(!1)};return v.addEventListener("scroll",O),()=>v.removeEventListener("scroll",O)},[x]),D.useEffect(()=>{const v=setTimeout(()=>{f(l.trim().toLowerCase())},300);return()=>clearTimeout(v)},[l]),D.useEffect(()=>{e($n())},[e]);const C=D.useMemo(()=>Rp.getUniqueCategories(a),[a]),E=v=>v.toLowerCase(),A=D.useMemo(()=>new Intl.Collator(void 0,{sensitivity:"base",numeric:!1}),[]),I=D.useMemo(()=>{let v=a;if(i?.value){const O=E(i.value);v=v.filter(w=>E(w.collection??"")===O)}return d&&(v=v.filter(O=>E(O.name).includes(d))),p==="asc"?v=[...v].sort((O,w)=>A.compare(O.name,w.name)):p==="dsc"?v=[...v].sort((O,w)=>A.compare(w.name,O.name)):v=[...v],v},[a,i,d,p,A]);return m.jsxs("div",{className:"relative flex flex-col h-full min-h-0 w-full",children:[m.jsxs("div",{className:"flex-shrink-0",children:[m.jsx("div",{className:ft("overflow-hidden transform-gpu transition-[max-height,opacity,transform] duration-500 ease-in-out",x?"max-h-0 opacity-0 -translate-y-4 pointer-events-none":"max-h-40 opacity-100 translate-y-0"),children:m.jsx("div",{className:"h-40",children:m.jsx("img",{src:"https://hastings-questionnaie-storage.fra1.digitaloceanspaces.com/static/pic%20big%201%20(1).jpg",className:"object-cover w-full h-full"})})}),m.jsxs("header",{className:"flex flex-col border-b border-[var(--border)] lg:flex-row lg:justify-between",children:[m.jsx("h1",{className:"m-0! p-[var(--sm-padding)] text-base font-medium",children:"Swatches store"}),m.jsx("div",{className:"flex flex-row justify-center items-center border-t border-[var(--border)] p-[var(--sm-padding)] text-xs font-medium leading-[24px] lg:border-none",children:m.jsxs("span",{children:["Choose 5 free swatches to curate your perfect design. Plus get"," ",m.jsx("span",{className:"text-[var(--main-accent-color)] underline",children:"free design advice"})," ","from our experts"]})})]})]}),m.jsxs("div",{className:"flex flex-col flex-1 min-h-0",children:[(n||r)&&m.jsx(af,{}),m.jsxs("div",{className:"flex flex-row w-full items-center justify-between gap-[16px] border-b border-[var(--border)] p-[var(--sm-padding)]",children:[m.jsxs("div",{className:"flex flex-row h-[36px] w-full items-center justify-between gap-[16px] shrink-0 lg:max-w-[382px]",children:[m.jsxs("div",{className:"relative h-[36px] flex-1 min-w-0 lg:max-w-[240px]",children:[m.jsx("input",{type:"text",placeholder:"Search",value:l,onChange:v=>c(v.target.value),className:`
107
107
  h-full w-full rounded-2xl border border-[var(--border)] bg-[var(--background)]
108
108
  px-4 pr-8 text-sm text-black placeholder-[var(--text-muted)]
109
109
  transition focus:border-[var(--main-accent-color)] focus:outline-none
110
110
  `}),m.jsx("div",{className:`
111
111
  pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 sm:right-4
112
112
  [&_svg_path]:stroke-[var(--svg-dark)]
113
- `,children:m.jsx(kp,{width:20,height:20})})]}),m.jsx(rf,{title:"Sort by",placeholder:"Sort by",values:c2,value:p,onValueChange:h,className:"shrink-0 w-[90px] xxs:w-[100px] bg-[var(--label-bg)] sm:py-8px sm:px-16px sm:w-[102px]",dropdownWidth:"w-64"})]}),m.jsx(eo,{items:C,activeId:i.productId,onSelect:R=>o(R),className:"hidden lg:flex flex-row shrink-0 overflow-x-auto"})]}),m.jsx(eo,{items:C,activeId:i.productId,onSelect:R=>o(R),className:"h-[64px] p-[var(--sm-padding)] border-b border-[var(--border)] lg:hidden"}),m.jsxs("div",{ref:t,className:"flex-1 min-h-0 overflow-y-auto overscroll-contain p-[var(--sm-padding)]",children:[m.jsx("div",{className:"mb-4",children:"Select Product"}),L.length?m.jsx("ul",{className:"grid grid-cols-2 gap-[16px] sm:grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 2xl:grid-cols-9",children:L.map(R=>m.jsx(vp,{productListItem:R},R.name))}):m.jsx("div",{className:"flex flex-row h-full items-center justify-center",children:"No products were found"})]}),s.length?m.jsx(of,{}):null]})]})};function f2(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var ya="Checkbox",[h2]=aa(ya),[m2,Si]=h2(ya);function p2(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:a,disabled:s,form:i,name:o,onCheckedChange:l,required:c,value:d="on",internal_do_not_use_render:f}=e,[p,h]=ws({prop:n,defaultProp:a??!1,onChange:l,caller:ya}),[T,g]=x.useState(null),[C,b]=x.useState(null),S=x.useRef(!1),L=T?!!i||!!T.closest("form"):!0,R={checked:p,disabled:s,setChecked:h,control:T,setControl:g,name:o,form:i,value:d,hasConsumerStoppedPropagationRef:S,required:c,defaultChecked:Ot(a)?!1:a,isFormControl:L,bubbleInput:C,setBubbleInput:b};return m.jsx(m2,{scope:t,...R,children:g2(f)?f(R):r})}var uf="CheckboxTrigger",lf=x.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},a)=>{const{control:s,value:i,disabled:o,checked:l,required:c,setControl:d,setChecked:f,hasConsumerStoppedPropagationRef:p,isFormControl:h,bubbleInput:T}=Si(uf,e),g=Ze(a,d),C=x.useRef(l);return x.useEffect(()=>{const b=s?.form;if(b){const S=()=>f(C.current);return b.addEventListener("reset",S),()=>b.removeEventListener("reset",S)}},[s,f]),m.jsx(Le.button,{type:"button",role:"checkbox","aria-checked":Ot(l)?"mixed":l,"aria-required":c,"data-state":pf(l),"data-disabled":o?"":void 0,disabled:o,value:i,...r,ref:g,onKeyDown:Pe(t,b=>{b.key==="Enter"&&b.preventDefault()}),onClick:Pe(n,b=>{f(S=>Ot(S)?!0:!S),T&&h&&(p.current=b.isPropagationStopped(),p.current||b.stopPropagation())})})});lf.displayName=uf;var cf=x.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:a,defaultChecked:s,required:i,disabled:o,value:l,onCheckedChange:c,form:d,...f}=e;return m.jsx(p2,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:o,required:i,onCheckedChange:c,name:r,form:d,value:l,internal_do_not_use_render:({isFormControl:p})=>m.jsxs(m.Fragment,{children:[m.jsx(lf,{...f,ref:t,__scopeCheckbox:n}),p&&m.jsx(mf,{__scopeCheckbox:n})]})})});cf.displayName=ya;var df="CheckboxIndicator",ff=x.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...a}=e,s=Si(df,n);return m.jsx(yn,{present:r||Ot(s.checked)||s.checked===!0,children:m.jsx(Le.span,{"data-state":pf(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});ff.displayName=df;var hf="CheckboxBubbleInput",mf=x.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:i,required:o,disabled:l,name:c,value:d,form:f,bubbleInput:p,setBubbleInput:h}=Si(hf,e),T=Ze(n,h),g=f2(s),C=uc(r);x.useEffect(()=>{const S=p;if(!S)return;const L=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(L,"checked").set,k=!a.current;if(g!==s&&v){const M=new Event("click",{bubbles:k});S.indeterminate=Ot(s),v.call(S,Ot(s)?!1:s),S.dispatchEvent(M)}},[p,g,s,a]);const b=x.useRef(Ot(s)?!1:s);return m.jsx(Le.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??b.current,required:o,disabled:l,name:c,value:d,form:f,...t,tabIndex:-1,ref:T,style:{...t.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});mf.displayName=hf;function g2(e){return typeof e=="function"}function Ot(e){return e==="indeterminate"}function pf(e){return Ot(e)?"indeterminate":e?"checked":"unchecked"}function E2({className:e,...t}){return m.jsx(cf,{"data-slot":"checkbox",className:ve(`
113
+ `,children:m.jsx(wp,{width:20,height:20})})]}),m.jsx(rf,{title:"Sort by",placeholder:"Sort by",values:lC,value:p,onValueChange:h,className:"shrink-0 w-[90px] xxs:w-[100px] bg-[var(--label-bg)] sm:py-8px sm:px-16px sm:w-[102px]",dropdownWidth:"w-64"})]}),m.jsx(eo,{items:C,activeId:i.productId,onSelect:v=>o(v),className:"hidden lg:flex flex-row shrink-0 overflow-x-auto"})]}),m.jsx(eo,{items:C,activeId:i.productId,onSelect:v=>o(v),className:"h-[64px] p-[var(--sm-padding)] border-b border-[var(--border)] lg:hidden"}),m.jsxs("div",{ref:t,className:"flex-1 min-h-0 overflow-y-auto overscroll-contain p-[var(--sm-padding)]",children:[m.jsx("div",{className:"mb-4",children:"Select Product"}),I.length?m.jsx("ul",{className:"grid grid-cols-2 gap-[16px] sm:grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 2xl:grid-cols-9",children:I.map(v=>m.jsx(Op,{productListItem:v},v.name))}):m.jsx("div",{className:"flex flex-row h-full items-center justify-center",children:"No products were found"})]}),s.length?m.jsx(of,{}):null]})]})};function dC(e){const t=y.useRef({value:e,previous:e});return y.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var _a="Checkbox",[fC]=aa(_a),[hC,Ai]=fC(_a);function mC(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:a,disabled:s,form:i,name:o,onCheckedChange:l,required:c,value:d="on",internal_do_not_use_render:f}=e,[p,h]=ks({prop:n,defaultProp:a??!1,onChange:l,caller:_a}),[x,g]=y.useState(null),[C,E]=y.useState(null),A=y.useRef(!1),I=x?!!i||!!x.closest("form"):!0,v={checked:p,disabled:s,setChecked:h,control:x,setControl:g,name:o,form:i,value:d,hasConsumerStoppedPropagationRef:A,required:c,defaultChecked:Rt(a)?!1:a,isFormControl:I,bubbleInput:C,setBubbleInput:E};return m.jsx(hC,{scope:t,...v,children:pC(f)?f(v):r})}var uf="CheckboxTrigger",lf=y.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},a)=>{const{control:s,value:i,disabled:o,checked:l,required:c,setControl:d,setChecked:f,hasConsumerStoppedPropagationRef:p,isFormControl:h,bubbleInput:x}=Ai(uf,e),g=Xe(a,d),C=y.useRef(l);return y.useEffect(()=>{const E=s?.form;if(E){const A=()=>f(C.current);return E.addEventListener("reset",A),()=>E.removeEventListener("reset",A)}},[s,f]),m.jsx(Ie.button,{type:"button",role:"checkbox","aria-checked":Rt(l)?"mixed":l,"aria-required":c,"data-state":pf(l),"data-disabled":o?"":void 0,disabled:o,value:i,...r,ref:g,onKeyDown:Pe(t,E=>{E.key==="Enter"&&E.preventDefault()}),onClick:Pe(n,E=>{f(A=>Rt(A)?!0:!A),x&&h&&(p.current=E.isPropagationStopped(),p.current||E.stopPropagation())})})});lf.displayName=uf;var cf=y.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:a,defaultChecked:s,required:i,disabled:o,value:l,onCheckedChange:c,form:d,...f}=e;return m.jsx(mC,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:o,required:i,onCheckedChange:c,name:r,form:d,value:l,internal_do_not_use_render:({isFormControl:p})=>m.jsxs(m.Fragment,{children:[m.jsx(lf,{...f,ref:t,__scopeCheckbox:n}),p&&m.jsx(mf,{__scopeCheckbox:n})]})})});cf.displayName=_a;var df="CheckboxIndicator",ff=y.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...a}=e,s=Ai(df,n);return m.jsx(_n,{present:r||Rt(s.checked)||s.checked===!0,children:m.jsx(Ie.span,{"data-state":pf(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});ff.displayName=df;var hf="CheckboxBubbleInput",mf=y.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:i,required:o,disabled:l,name:c,value:d,form:f,bubbleInput:p,setBubbleInput:h}=Ai(hf,e),x=Xe(n,h),g=dC(s),C=uc(r);y.useEffect(()=>{const A=p;if(!A)return;const I=window.HTMLInputElement.prototype,O=Object.getOwnPropertyDescriptor(I,"checked").set,w=!a.current;if(g!==s&&O){const L=new Event("click",{bubbles:w});A.indeterminate=Rt(s),O.call(A,Rt(s)?!1:s),A.dispatchEvent(L)}},[p,g,s,a]);const E=y.useRef(Rt(s)?!1:s);return m.jsx(Ie.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??E.current,required:o,disabled:l,name:c,value:d,form:f,...t,tabIndex:-1,ref:x,style:{...t.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});mf.displayName=hf;function pC(e){return typeof e=="function"}function Rt(e){return e==="indeterminate"}function pf(e){return Rt(e)?"indeterminate":e?"checked":"unchecked"}function gC({className:e,...t}){return m.jsx(cf,{"data-slot":"checkbox",className:Oe(`
114
114
  bg-white peer border-input dark:bg-input/30
115
115
  data-[state=checked]:bg-transparent
116
116
  data-[state=checked]:text-black
@@ -120,39 +120,39 @@ ${String(i).trim()}
120
120
  size-4 shrink-0 rounded-[4px] border shadow-xs
121
121
  transition-shadow outline-none focus-visible:ring-[3px]
122
122
  disabled:cursor-not-allowed disabled:opacity-50
123
- `,e),...t,children:m.jsx(ff,{"data-slot":"checkbox-indicator",className:"flex flex-row items-center justify-center text-current transition-none",children:m.jsx(Ol,{className:"size-3"})})})}const br=x.forwardRef(({options:e,values:t,onValueChange:n,placeholder:r="Select options...",className:a="w-full min-w-[80px] 2xs:min-w-[100px] xs:min-w-[110px] sm:max-w-[auto] sm:min-w-[130px] lg:min-w-[160px]",dropdownWidth:s,align:i="start",getTooltipByMaterialAndSection:o,sectionName:l},c)=>{const[d,f]=x.useState(!1),p=x.useRef(null);x.useEffect(()=>{if(!d)return;const b=L=>{const R=L.target,v=p.current;v&&(v.contains(R)||R===v)||f(!1)},S=L=>{L.key==="Escape"&&f(!1)};return window.addEventListener("scroll",b,!0),window.addEventListener("resize",b),document.addEventListener("keydown",S),()=>{window.removeEventListener("scroll",b,!0),window.removeEventListener("resize",b),document.removeEventListener("keydown",S)}},[d]);const h=(b,S)=>{n(S?[...t,b]:t.filter(L=>L!==b))},T=()=>{n([])},g=t.length,C=g===0?r:g===1?e.find(b=>b.value===t[0])?.label||`${r} selected`:m.jsxs("div",{className:"flex flex-row items-center w-full",children:[m.jsx("span",{className:"truncate mr-1",children:r}),m.jsx("span",{className:`
123
+ `,e),...t,children:m.jsx(ff,{"data-slot":"checkbox-indicator",className:"flex flex-row items-center justify-center text-current transition-none",children:m.jsx(Rl,{className:"size-3"})})})}const Er=y.forwardRef(({options:e,values:t,onValueChange:n,placeholder:r="Select options...",className:a="w-full min-w-[80px] 2xs:min-w-[100px] xs:min-w-[110px] sm:max-w-[auto] sm:min-w-[130px] lg:min-w-[160px]",dropdownWidth:s,align:i="start",getTooltipByMaterialAndSection:o,sectionName:l},c)=>{const[d,f]=y.useState(!1),p=y.useRef(null);y.useEffect(()=>{if(!d)return;const E=I=>{const v=I.target,O=p.current;O&&(O.contains(v)||v===O)||f(!1)},A=I=>{I.key==="Escape"&&f(!1)};return window.addEventListener("scroll",E,!0),window.addEventListener("resize",E),document.addEventListener("keydown",A),()=>{window.removeEventListener("scroll",E,!0),window.removeEventListener("resize",E),document.removeEventListener("keydown",A)}},[d]);const h=(E,A)=>{n(A?[...t,E]:t.filter(I=>I!==E))},x=()=>{n([])},g=t.length,C=g===0?r:g===1?e.find(E=>E.value===t[0])?.label||`${r} selected`:m.jsxs("div",{className:"flex flex-row items-center w-full",children:[m.jsx("span",{className:"truncate mr-1",children:r}),m.jsx("span",{className:`
124
124
  flex-none flex flex-row justify-center items-center
125
125
  w-[20px] h-5 rounded-full
126
126
  bg-[var(--main-accent-color)] text-white
127
127
  text-[1rem] leading-none
128
128
  select-none pointer-events-none
129
129
  overflow-hidden
130
- `,children:g})]});if(e.length)return m.jsxs(Nc,{open:d,onOpenChange:f,children:[m.jsxs(Lc,{ref:c,className:ve("flex flex-row items-center justify-between rounded-full border border-[var(--main-accent-color)] px-2 sm:px-4 py-2 bg-white cursor-pointer hover:bg-gray-50 data-[state=open]:border-primary hover:border-primary focus:border-primary min-h-9",a),children:[m.jsx("div",{className:"w-full text-xs truncate text-left leading-[20px] sm:text-sm",children:C}),m.jsx(Ml,{className:ve("h-4 w-[16px] transition-transform",d&&"rotate-180")})]}),m.jsxs(Rc,{ref:p,className:ve("bg-white border rounded-lg shadow-lg z-50 max-h-75 text-sm overflow-y-auto overscroll-behavior-y-contain touch-pan-y p-2",s||"w-[var(--radix-popover-trigger-width)]"),align:i,sideOffset:4,style:{WebkitOverflowScrolling:"touch",overscrollBehavior:"contain"},onTouchStart:b=>{b.stopPropagation()},onTouchMove:b=>{b.stopPropagation()},onWheel:b=>{b.stopPropagation()},children:[g>0&&m.jsx("div",{className:"flex flex-row gap-[8px] items-center justify-between px-2 py-1 mb-2 border-b",children:m.jsxs("button",{onClick:T,className:"text-sm text-black hover:text-primary transition-color cursor-pointer duration-200 flex flex-row items-center gap-[4px]",children:[m.jsx(Us,{className:"h-3 w-[12px]"}),"Clear all"]})}),m.jsx("div",{className:"flex flex-col gap-[4px]",children:e.map(b=>{const S=t.includes(b.value);return m.jsxs("div",{className:"flex flex-row items-start gap-[8px] px-2 py-1 hover:bg-gray-50 rounded transition-background duration-300 cursor-pointer",onClick:()=>h(b.value,!S),children:[m.jsx(E2,{checked:S,className:"size-6",onCheckedChange:L=>h(b.value,L)}),m.jsxs("div",{className:"flex-1 flex flex-row items-center justify-between",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("span",{className:"text-sm",children:b.label}),(()=>{if(!o||!l)return null;const L=o(b.value,l);return L&&L.Description?m.jsx(nf,{tooltipData:L?.Description}):null})()]}),b.count!==void 0&&m.jsx("span",{className:"text-sm text-gray-800 bg-gray-100 px-2 py-0.5 ml-2 rounded-full whitespace-nowrap",children:b.count})]})]},b.value)})})]})]})});br.displayName="MultiSelect";const gf=({containerStyles:e,selectStyles:t})=>{const n=Ne(),r=oe(_h),a=oe(Tn),[s,i]=D.useState([]),[o,l]=D.useState([]);D.useEffect(()=>{if(!r?.length)return;const d=r.map(f=>{if(f.metadata){const{Name:T,Label:g}=f.metadata||{};return{value:T,label:g,id:T}}const{label:p,value:h}=f||{};return{value:h,label:p,id:h}});i(d)},[r]);const c=(d,f)=>{if(f.length){const p=Ru(f);if(p.length){const h=r.filter(C=>C.metadata?p.includes(C.metadata?.Label):p.includes(C.value));l(p);const T=Ur.mapFiltersFromValues(h,a),g=Ur.getPositiveSelectedFilers(T);g.length&&g.forEach(C=>{const{filterName:b,filterKeys:S}=C;n(ea({filterName:b,values:S}))}),n(Ca({attributes:h}))}else n(Ca({attributes:r}))}else l([]),n(Ca({attributes:r}))};return m.jsxs("div",{className:e,children:[m.jsx("span",{className:"text-sm",children:"Product element"}),m.jsx(br,{options:s,values:o,onValueChange:d=>c("PanelElement",d),placeholder:"All product elements",className:t,dropdownWidth:"w-80"})]})},b2=()=>{const e=Ne(),t=oe(Tn),n=oe(lr),[r,a]=D.useState([]);D.useEffect(()=>{if(n?.length){const i=[...new Set(n.map(o=>o.metadata?.Finish||o.metadata?.Material))].filter(Boolean).map(o=>{const l=n.filter(c=>c.metadata?.Finish===o||c.metadata?.Material===o).length;return{value:o,label:o,count:l}});i?.length&&a(i)}},[n]);const s=(i,o)=>{e(ea({filterName:i,values:o}))};return m.jsx(br,{options:r,values:t.Finish,onValueChange:i=>s("Finish",i),placeholder:"Material",dropdownWidth:"w-80"})},A2=()=>{const e=Ne(),t=oe(Tn),n=oe(lr),[r,a]=D.useState([]);D.useEffect(()=>{if(n?.length){const i=[...new Set(n.map(o=>o?.metadata?.Color).filter(Boolean).map(o=>o.split(",").map(l=>l.trim())).flat())].map(o=>{const l=n.filter(c=>c.metadata?.Color&&c.metadata?.Color.split(",").map(d=>d.trim()).includes(o)).length;return{value:o,label:o,count:l}});i?.length&&a(i)}},[n]);const s=(i,o)=>{e(ea({filterName:i,values:o}))};return m.jsx(br,{options:r,values:t.Color,onValueChange:i=>s("Color",i),placeholder:"Color",dropdownWidth:"w-80"})},T2=()=>{const e=Ne(),t=oe(Tn),n=oe(lr),[r,a]=D.useState([]);D.useEffect(()=>{if(n?.length){const i=[...new Set(n.map(o=>o?.metadata?.Look).filter(Boolean).map(o=>o.split(",").map(l=>l.trim())).flat())].map(o=>{const l=n.filter(c=>c.metadata?.Look&&c.metadata?.Look.split(",").map(d=>d.trim()).includes(o)).length;return{value:o,label:o,count:l}});i?.length&&a(i)}},[n]);const s=(i,o)=>{e(ea({filterName:i,values:o}))};return m.jsx(br,{options:r,values:t.Look,onValueChange:i=>s("Look",i),placeholder:"Look",dropdownWidth:"w-80"})},Ef=()=>m.jsxs("div",{className:"flex flex-row items-center gap-[16px] p-[var(--sm-padding)]",children:[m.jsx(b2,{}),m.jsx(A2,{}),m.jsx(T2,{})]}),x2=()=>m.jsxs("div",{className:`flex flex-col justify-between border-b border-[var(--border)]
130
+ `,children:g})]});if(e.length)return m.jsxs(Nc,{open:d,onOpenChange:f,children:[m.jsxs(Ic,{ref:c,className:Oe("flex flex-row items-center justify-between rounded-full border border-[var(--main-accent-color)] px-2 sm:px-4 py-2 bg-white cursor-pointer hover:bg-gray-50 data-[state=open]:border-primary hover:border-primary focus:border-primary min-h-9",a),children:[m.jsx("div",{className:"w-full text-xs truncate text-left leading-[20px] sm:text-sm",children:C}),m.jsx(Ll,{className:Oe("h-4 w-[16px] transition-transform",d&&"rotate-180")})]}),m.jsxs(vc,{ref:p,className:Oe("bg-white border rounded-lg shadow-lg z-50 max-h-75 text-sm overflow-y-auto overscroll-behavior-y-contain touch-pan-y p-2",s||"w-[var(--radix-popover-trigger-width)]"),align:i,sideOffset:4,style:{WebkitOverflowScrolling:"touch",overscrollBehavior:"contain"},onTouchStart:E=>{E.stopPropagation()},onTouchMove:E=>{E.stopPropagation()},onWheel:E=>{E.stopPropagation()},children:[g>0&&m.jsx("div",{className:"flex flex-row gap-[8px] items-center justify-between px-2 py-1 mb-2 border-b",children:m.jsxs("button",{onClick:x,className:"text-sm text-black hover:text-primary transition-color cursor-pointer duration-200 flex flex-row items-center gap-[4px]",children:[m.jsx(Fs,{className:"h-3 w-[12px]"}),"Clear all"]})}),m.jsx("div",{className:"flex flex-col gap-[4px]",children:e.map(E=>{const A=t.includes(E.value);return m.jsxs("div",{className:"flex flex-row items-start gap-[8px] px-2 py-1 hover:bg-gray-50 rounded transition-background duration-300 cursor-pointer",onClick:()=>h(E.value,!A),children:[m.jsx(gC,{checked:A,className:"size-6",onCheckedChange:I=>h(E.value,I)}),m.jsxs("div",{className:"flex-1 flex flex-row items-center justify-between",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("span",{className:"text-sm",children:E.label}),(()=>{if(!o||!l)return null;const I=o(E.value,l);return I&&I.Description?m.jsx(nf,{tooltipData:I?.Description}):null})()]}),E.count!==void 0&&m.jsx("span",{className:"text-sm text-gray-800 bg-gray-100 px-2 py-0.5 ml-2 rounded-full whitespace-nowrap",children:E.count})]})]},E.value)})})]})]})});Er.displayName="MultiSelect";const gf=({containerStyles:e,selectStyles:t})=>{const n=Ne(),r=oe(Mh),a=oe(xn),[s,i]=D.useState([]),[o,l]=D.useState([]);D.useEffect(()=>{if(!r?.length)return;const d=r.map(f=>{if(f.metadata){const{Name:x,Label:g}=f.metadata||{};return{value:x,label:g,id:x}}const{label:p,value:h}=f||{};return{value:h,label:p,id:h}});i(d)},[r]);const c=(d,f)=>{if(f.length){const p=vu(f);if(p.length){const h=r.filter(C=>C.metadata?p.includes(C.metadata?.Label):p.includes(C.value));l(p);const x=Fr.mapFiltersFromValues(h,a),g=Fr.getPositiveSelectedFilers(x);g.length&&g.forEach(C=>{const{filterName:E,filterKeys:A}=C;n(ea({filterName:E,values:A}))}),n(Ca({attributes:h}))}else n(Ca({attributes:r}))}else l([]),n(Ca({attributes:r}))};return m.jsxs("div",{className:e,children:[m.jsx("span",{className:"text-sm",children:"Product element"}),m.jsx(Er,{options:s,values:o,onValueChange:d=>c("PanelElement",d),placeholder:"All product elements",className:t,dropdownWidth:"w-80"})]})},bC=()=>{const e=Ne(),t=oe(xn),n=oe(lr),[r,a]=D.useState([]);D.useEffect(()=>{if(n?.length){const i=[...new Set(n.map(o=>o.metadata?.Finish||o.metadata?.Material))].filter(Boolean).map(o=>{const l=n.filter(c=>c.metadata?.Finish===o||c.metadata?.Material===o).length;return{value:o,label:o,count:l}});i?.length&&a(i)}},[n]);const s=(i,o)=>{e(ea({filterName:i,values:o}))};return m.jsx(Er,{options:r,values:t.Finish,onValueChange:i=>s("Finish",i),placeholder:"Material",dropdownWidth:"w-80"})},EC=()=>{const e=Ne(),t=oe(xn),n=oe(lr),[r,a]=D.useState([]);D.useEffect(()=>{if(n?.length){const i=[...new Set(n.map(o=>o?.metadata?.Color).filter(Boolean).map(o=>o.split(",").map(l=>l.trim())).flat())].map(o=>{const l=n.filter(c=>c.metadata?.Color&&c.metadata?.Color.split(",").map(d=>d.trim()).includes(o)).length;return{value:o,label:o,count:l}});i?.length&&a(i)}},[n]);const s=(i,o)=>{e(ea({filterName:i,values:o}))};return m.jsx(Er,{options:r,values:t.Color,onValueChange:i=>s("Color",i),placeholder:"Color",dropdownWidth:"w-80"})},TC=()=>{const e=Ne(),t=oe(xn),n=oe(lr),[r,a]=D.useState([]);D.useEffect(()=>{if(n?.length){const i=[...new Set(n.map(o=>o?.metadata?.Look).filter(Boolean).map(o=>o.split(",").map(l=>l.trim())).flat())].map(o=>{const l=n.filter(c=>c.metadata?.Look&&c.metadata?.Look.split(",").map(d=>d.trim()).includes(o)).length;return{value:o,label:o,count:l}});i?.length&&a(i)}},[n]);const s=(i,o)=>{e(ea({filterName:i,values:o}))};return m.jsx(Er,{options:r,values:t.Look,onValueChange:i=>s("Look",i),placeholder:"Look",dropdownWidth:"w-80"})},bf=()=>m.jsxs("div",{className:"flex flex-row items-center gap-[16px] p-[var(--sm-padding)]",children:[m.jsx(bC,{}),m.jsx(EC,{}),m.jsx(TC,{})]}),xC=()=>m.jsxs("div",{className:`flex flex-col justify-between border-b border-[var(--border)]
131
131
  sm:flex-row
132
132
  `,children:[m.jsx(gf,{containerStyles:`flex flex-row justify-between items-center gap-[8px] p-[var(--sm-padding)] w-full text-xs
133
133
  border-b border-[var(--border)]
134
134
  sm:max-w-[360px] sm:text-sm sm:border-none
135
- `,selectStyles:"min-w-[auto] max-w-[154px] sm:max-w-[auto] sm:min-w-[180px] font-normal"}),m.jsx(Ef,{})]});function on(e,t,n){let r=n.initialDeps??[],a;function s(){var i,o,l,c;let d;n.key&&((i=n.debug)!=null&&i.call(n))&&(d=Date.now());const f=e();if(!(f.length!==r.length||f.some((T,g)=>r[g]!==T)))return a;r=f;let h;if(n.key&&((o=n.debug)!=null&&o.call(n))&&(h=Date.now()),a=t(...f),n.key&&((l=n.debug)!=null&&l.call(n))){const T=Math.round((Date.now()-d)*100)/100,g=Math.round((Date.now()-h)*100)/100,C=g/16,b=(S,L)=>{for(S=String(S);S.length<L;)S=" "+S;return S};console.info(`%c⏱ ${b(g,5)} /${b(T,5)} ms`,`
135
+ `,selectStyles:"min-w-[auto] max-w-[154px] sm:max-w-[auto] sm:min-w-[180px] font-normal"}),m.jsx(bf,{})]});function on(e,t,n){let r=n.initialDeps??[],a;function s(){var i,o,l,c;let d;n.key&&((i=n.debug)!=null&&i.call(n))&&(d=Date.now());const f=e();if(!(f.length!==r.length||f.some((x,g)=>r[g]!==x)))return a;r=f;let h;if(n.key&&((o=n.debug)!=null&&o.call(n))&&(h=Date.now()),a=t(...f),n.key&&((l=n.debug)!=null&&l.call(n))){const x=Math.round((Date.now()-d)*100)/100,g=Math.round((Date.now()-h)*100)/100,C=g/16,E=(A,I)=>{for(A=String(A);A.length<I;)A=" "+A;return A};console.info(`%c⏱ ${E(g,5)} /${E(x,5)} ms`,`
136
136
  font-size: .6rem;
137
137
  font-weight: bold;
138
- color: hsl(${Math.max(0,Math.min(120-120*C,120))}deg 100% 31%);`,n?.key)}return(c=n?.onChange)==null||c.call(n,a),a}return s.updateDeps=i=>{r=i},s}function Tu(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const y2=(e,t)=>Math.abs(e-t)<1.01,C2=(e,t,n)=>{let r;return function(...a){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,a),n)}},xu=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},S2=e=>e,I2=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let a=t;a<=n;a++)r.push(a);return r},N2=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const a=i=>{const{width:o,height:l}=i;t({width:Math.round(o),height:Math.round(l)})};if(a(xu(n)),!r.ResizeObserver)return()=>{};const s=new r.ResizeObserver(i=>{const o=()=>{const l=i[0];if(l?.borderBoxSize){const c=l.borderBoxSize[0];if(c){a({width:c.inlineSize,height:c.blockSize});return}}a(xu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return s.observe(n,{box:"border-box"}),()=>{s.unobserve(n)}},yu={passive:!0},Cu=typeof window>"u"?!0:"onscrollend"in window,L2=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let a=0;const s=e.options.useScrollendEvent&&Cu?()=>{}:C2(r,()=>{t(a,!1)},e.options.isScrollingResetDelay),i=d=>()=>{const{horizontal:f,isRtl:p}=e.options;a=f?n.scrollLeft*(p&&-1||1):n.scrollTop,s(),t(a,d)},o=i(!0),l=i(!1);l(),n.addEventListener("scroll",o,yu);const c=e.options.useScrollendEvent&&Cu;return c&&n.addEventListener("scrollend",l,yu),()=>{n.removeEventListener("scroll",o),c&&n.removeEventListener("scrollend",l)}},R2=(e,t,n)=>{if(t?.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},k2=(e,{adjustments:t=0,behavior:n},r)=>{var a,s;const i=e+t;(s=(a=r.scrollElement)==null?void 0:a.scrollTo)==null||s.call(a,{[r.options.horizontal?"left":"top"]:i,behavior:n})};class w2{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(a=>{a.forEach(s=>{const i=()=>{this._measureElement(s.target,s)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(i):i()})}));return{disconnect:()=>{var a;(a=r())==null||a.disconnect(),n=null},observe:a=>{var s;return(s=r())==null?void 0:s.observe(a,{box:"border-box"})},unobserve:a=>{var s;return(s=r())==null?void 0:s.unobserve(a)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,a])=>{typeof a>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:S2,rangeExtractor:I2,onChange:()=>{},measureElement:R2,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,a;(a=(r=this.options).onChange)==null||a.call(r,this,n)},this.maybeNotify=on(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(a=>{this.observer.observe(a)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,a=>{this.scrollRect=a,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(a,s)=>{this.scrollAdjustments=0,this.scrollDirection=s?this.getScrollOffset()<a?"forward":"backward":null,this.scrollOffset=a,this.isScrolling=s,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const a=new Map,s=new Map;for(let i=r-1;i>=0;i--){const o=n[i];if(a.has(o.lane))continue;const l=s.get(o.lane);if(l==null||o.end>l.end?s.set(o.lane,o):o.end<l.end&&a.set(o.lane,!0),a.size===this.options.lanes)break}return s.size===this.options.lanes?Array.from(s.values()).sort((i,o)=>i.end===o.end?i.index-o.index:i.end-o.end)[0]:void 0},this.getMeasurementOptions=on(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,a,s,i)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:a,getItemKey:s,enabled:i}),{key:!1}),this.getMeasurements=on(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:a,getItemKey:s,enabled:i},o)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(d=>{this.itemSizeCache.set(d.key,d.size)}));const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,l);for(let d=l;d<n;d++){const f=s(d),p=this.options.lanes===1?c[d-1]:this.getFurthestMeasurement(c,d),h=p?p.end+this.options.gap:r+a,T=o.get(f),g=typeof T=="number"?T:this.options.estimateSize(d),C=h+g,b=p?p.lane:d%this.options.lanes;c[d]={index:d,start:h,size:g,end:C,key:f,lane:b}}return this.measurementsCache=c,c},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=on(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,a,s)=>this.range=n.length>0&&r>0?v2({measurements:n,outerSize:r,scrollOffset:a,lanes:s}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=on(()=>{let n=null,r=null;const a=this.calculateRange();return a&&(n=a.startIndex,r=a.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,a,s,i)=>s===null||i===null?[]:n({startIndex:s,endIndex:i,overscan:r,count:a}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,a=n.getAttribute(r);return a?parseInt(a,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const a=this.indexFromElement(n),s=this.measurementsCache[a];if(!s)return;const i=s.key,o=this.elementsCache.get(i);o!==n&&(o&&this.observer.unobserve(o),this.observer.observe(n),this.elementsCache.set(i,n)),n.isConnected&&this.resizeItem(a,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const a=this.measurementsCache[n];if(!a)return;const s=this.itemSizeCache.get(a.key)??a.size,i=r-s;i!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,i,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",i),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,r)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((r,a)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(a))});return}this._measureElement(n,void 0)},this.getVirtualItems=on(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const a=[];for(let s=0,i=n.length;s<i;s++){const o=n[s],l=r[o];a.push(l)}return a},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return Tu(r[bf(0,r.length-1,a=>Tu(r[a]).start,n)])},this.getOffsetForAlignment=(n,r,a=0)=>{const s=this.getSize(),i=this.getScrollOffset();r==="auto"&&(r=n>=i+s?"end":"start"),r==="center"?n+=(a-s)/2:r==="end"&&(n-=s);const o=this.getTotalSize()+this.options.scrollMargin-s;return Math.max(Math.min(o,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const a=this.measurementsCache[n];if(!a)return;const s=this.getSize(),i=this.getScrollOffset();if(r==="auto")if(a.end>=i+s-this.options.scrollPaddingEnd)r="end";else if(a.start<=i+this.options.scrollPaddingStart)r="start";else return[i,r];const o=r==="end"?a.end+this.options.scrollPaddingEnd:a.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,r,a.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(n,{align:r="start",behavior:a}={})=>{a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:a})},this.scrollToIndex=(n,{align:r="auto",behavior:a}={})=>{a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),n=Math.max(0,Math.min(n,this.options.count-1));let s=0;const i=10,o=c=>{if(!this.targetWindow)return;const d=this.getOffsetForIndex(n,c);if(!d){console.warn("Failed to get offset for index:",n);return}const[f,p]=d;this._scrollToOffset(f,{adjustments:void 0,behavior:a}),this.targetWindow.requestAnimationFrame(()=>{const h=this.getScrollOffset(),T=this.getOffsetForIndex(n,p);if(!T){console.warn("Failed to get offset for index:",n);return}y2(T[0],h)||l(p)})},l=c=>{this.targetWindow&&(s++,s<i?(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("Schedule retry",s,i),this.targetWindow.requestAnimationFrame(()=>o(c))):console.warn(`Failed to scroll to index ${n} after ${i} attempts.`))};o(r)},this.scrollBy=(n,{behavior:r}={})=>{r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let a;if(r.length===0)a=this.options.paddingStart;else if(this.options.lanes===1)a=((n=r[r.length-1])==null?void 0:n.end)??0;else{const s=Array(this.options.lanes).fill(null);let i=r.length-1;for(;i>=0&&s.some(o=>o===null);){const o=r[i];s[o.lane]===null&&(s[o.lane]=o.end),i--}a=Math.max(...s.filter(o=>o!==null))}return Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:a})=>{this.options.scrollToFn(n,{behavior:a,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const bf=(e,t,n,r)=>{for(;e<=t;){const a=(e+t)/2|0,s=n(a);if(s<r)e=a+1;else if(s>r)t=a-1;else return a}return e>0?e-1:0};function v2({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const a=e.length-1,s=l=>e[l].start;if(e.length<=r)return{startIndex:0,endIndex:a};let i=bf(0,a,s,n),o=i;if(r===1)for(;o<a&&e[o].end<n+t;)o++;else if(r>1){const l=Array(r).fill(0);for(;o<a&&l.some(d=>d<n+t);){const d=e[o];l[d.lane]=d.end,o++}const c=Array(r).fill(n+t);for(;i>=0&&c.some(d=>d>=n);){const d=e[i];c[d.lane]=d.start,i--}i=Math.max(0,i-i%r),o=Math.min(a,o+(r-1-o%r))}return{startIndex:i,endIndex:o}}const Su=typeof document<"u"?x.useLayoutEffect:x.useEffect;function O2(e){const t=x.useReducer(()=>({}),{})[1],n={...e,onChange:(a,s)=>{var i;s?qt.flushSync(t):t(),(i=e.onChange)==null||i.call(e,a,s)}},[r]=x.useState(()=>new w2(n));return r.setOptions(n),Su(()=>r._didMount(),[]),Su(()=>r._willUpdate()),r}function Af(e){return O2({observeElementRect:N2,observeElementOffset:L2,scrollToFn:k2,...e})}const M2=e=>m.jsx("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M14.6668 1L5.50016 10.1667L1.3335 6",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Zr=({val:e,onClick:t})=>{const n=oe(Kt),r=oe(xn),a=D.useMemo(()=>r.flatMap(c=>c.items),[r]),s=a.length?a:n,i=c=>{t(c)},o=e&&e.metadata?.value,l=s.find(c=>c.metadata?.value===o&&c.parentName===e.parentName);return m.jsxs("div",{className:"flex flex-col gap-[8px]",children:[m.jsxs("button",{onClick:()=>i(e),className:`
138
+ color: hsl(${Math.max(0,Math.min(120-120*C,120))}deg 100% 31%);`,n?.key)}return(c=n?.onChange)==null||c.call(n,a),a}return s.updateDeps=i=>{r=i},s}function xu(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const yC=(e,t)=>Math.abs(e-t)<1.01,_C=(e,t,n)=>{let r;return function(...a){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,a),n)}},yu=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},CC=e=>e,AC=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let a=t;a<=n;a++)r.push(a);return r},SC=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const a=i=>{const{width:o,height:l}=i;t({width:Math.round(o),height:Math.round(l)})};if(a(yu(n)),!r.ResizeObserver)return()=>{};const s=new r.ResizeObserver(i=>{const o=()=>{const l=i[0];if(l?.borderBoxSize){const c=l.borderBoxSize[0];if(c){a({width:c.inlineSize,height:c.blockSize});return}}a(yu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return s.observe(n,{box:"border-box"}),()=>{s.unobserve(n)}},_u={passive:!0},Cu=typeof window>"u"?!0:"onscrollend"in window,NC=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let a=0;const s=e.options.useScrollendEvent&&Cu?()=>{}:_C(r,()=>{t(a,!1)},e.options.isScrollingResetDelay),i=d=>()=>{const{horizontal:f,isRtl:p}=e.options;a=f?n.scrollLeft*(p&&-1||1):n.scrollTop,s(),t(a,d)},o=i(!0),l=i(!1);l(),n.addEventListener("scroll",o,_u);const c=e.options.useScrollendEvent&&Cu;return c&&n.addEventListener("scrollend",l,_u),()=>{n.removeEventListener("scroll",o),c&&n.removeEventListener("scrollend",l)}},IC=(e,t,n)=>{if(t?.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},vC=(e,{adjustments:t=0,behavior:n},r)=>{var a,s;const i=e+t;(s=(a=r.scrollElement)==null?void 0:a.scrollTo)==null||s.call(a,{[r.options.horizontal?"left":"top"]:i,behavior:n})};class wC{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(a=>{a.forEach(s=>{const i=()=>{this._measureElement(s.target,s)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(i):i()})}));return{disconnect:()=>{var a;(a=r())==null||a.disconnect(),n=null},observe:a=>{var s;return(s=r())==null?void 0:s.observe(a,{box:"border-box"})},unobserve:a=>{var s;return(s=r())==null?void 0:s.unobserve(a)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,a])=>{typeof a>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:CC,rangeExtractor:AC,onChange:()=>{},measureElement:IC,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,a;(a=(r=this.options).onChange)==null||a.call(r,this,n)},this.maybeNotify=on(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(a=>{this.observer.observe(a)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,a=>{this.scrollRect=a,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(a,s)=>{this.scrollAdjustments=0,this.scrollDirection=s?this.getScrollOffset()<a?"forward":"backward":null,this.scrollOffset=a,this.isScrolling=s,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const a=new Map,s=new Map;for(let i=r-1;i>=0;i--){const o=n[i];if(a.has(o.lane))continue;const l=s.get(o.lane);if(l==null||o.end>l.end?s.set(o.lane,o):o.end<l.end&&a.set(o.lane,!0),a.size===this.options.lanes)break}return s.size===this.options.lanes?Array.from(s.values()).sort((i,o)=>i.end===o.end?i.index-o.index:i.end-o.end)[0]:void 0},this.getMeasurementOptions=on(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,a,s,i)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:a,getItemKey:s,enabled:i}),{key:!1}),this.getMeasurements=on(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:a,getItemKey:s,enabled:i},o)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(d=>{this.itemSizeCache.set(d.key,d.size)}));const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,l);for(let d=l;d<n;d++){const f=s(d),p=this.options.lanes===1?c[d-1]:this.getFurthestMeasurement(c,d),h=p?p.end+this.options.gap:r+a,x=o.get(f),g=typeof x=="number"?x:this.options.estimateSize(d),C=h+g,E=p?p.lane:d%this.options.lanes;c[d]={index:d,start:h,size:g,end:C,key:f,lane:E}}return this.measurementsCache=c,c},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=on(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,a,s)=>this.range=n.length>0&&r>0?kC({measurements:n,outerSize:r,scrollOffset:a,lanes:s}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=on(()=>{let n=null,r=null;const a=this.calculateRange();return a&&(n=a.startIndex,r=a.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,a,s,i)=>s===null||i===null?[]:n({startIndex:s,endIndex:i,overscan:r,count:a}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,a=n.getAttribute(r);return a?parseInt(a,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const a=this.indexFromElement(n),s=this.measurementsCache[a];if(!s)return;const i=s.key,o=this.elementsCache.get(i);o!==n&&(o&&this.observer.unobserve(o),this.observer.observe(n),this.elementsCache.set(i,n)),n.isConnected&&this.resizeItem(a,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const a=this.measurementsCache[n];if(!a)return;const s=this.itemSizeCache.get(a.key)??a.size,i=r-s;i!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,i,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",i),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,r)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((r,a)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(a))});return}this._measureElement(n,void 0)},this.getVirtualItems=on(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const a=[];for(let s=0,i=n.length;s<i;s++){const o=n[s],l=r[o];a.push(l)}return a},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return xu(r[Ef(0,r.length-1,a=>xu(r[a]).start,n)])},this.getOffsetForAlignment=(n,r,a=0)=>{const s=this.getSize(),i=this.getScrollOffset();r==="auto"&&(r=n>=i+s?"end":"start"),r==="center"?n+=(a-s)/2:r==="end"&&(n-=s);const o=this.getTotalSize()+this.options.scrollMargin-s;return Math.max(Math.min(o,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const a=this.measurementsCache[n];if(!a)return;const s=this.getSize(),i=this.getScrollOffset();if(r==="auto")if(a.end>=i+s-this.options.scrollPaddingEnd)r="end";else if(a.start<=i+this.options.scrollPaddingStart)r="start";else return[i,r];const o=r==="end"?a.end+this.options.scrollPaddingEnd:a.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,r,a.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(n,{align:r="start",behavior:a}={})=>{a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:a})},this.scrollToIndex=(n,{align:r="auto",behavior:a}={})=>{a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),n=Math.max(0,Math.min(n,this.options.count-1));let s=0;const i=10,o=c=>{if(!this.targetWindow)return;const d=this.getOffsetForIndex(n,c);if(!d){console.warn("Failed to get offset for index:",n);return}const[f,p]=d;this._scrollToOffset(f,{adjustments:void 0,behavior:a}),this.targetWindow.requestAnimationFrame(()=>{const h=this.getScrollOffset(),x=this.getOffsetForIndex(n,p);if(!x){console.warn("Failed to get offset for index:",n);return}yC(x[0],h)||l(p)})},l=c=>{this.targetWindow&&(s++,s<i?(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("Schedule retry",s,i),this.targetWindow.requestAnimationFrame(()=>o(c))):console.warn(`Failed to scroll to index ${n} after ${i} attempts.`))};o(r)},this.scrollBy=(n,{behavior:r}={})=>{r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let a;if(r.length===0)a=this.options.paddingStart;else if(this.options.lanes===1)a=((n=r[r.length-1])==null?void 0:n.end)??0;else{const s=Array(this.options.lanes).fill(null);let i=r.length-1;for(;i>=0&&s.some(o=>o===null);){const o=r[i];s[o.lane]===null&&(s[o.lane]=o.end),i--}a=Math.max(...s.filter(o=>o!==null))}return Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:a})=>{this.options.scrollToFn(n,{behavior:a,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const Ef=(e,t,n,r)=>{for(;e<=t;){const a=(e+t)/2|0,s=n(a);if(s<r)e=a+1;else if(s>r)t=a-1;else return a}return e>0?e-1:0};function kC({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const a=e.length-1,s=l=>e[l].start;if(e.length<=r)return{startIndex:0,endIndex:a};let i=Ef(0,a,s,n),o=i;if(r===1)for(;o<a&&e[o].end<n+t;)o++;else if(r>1){const l=Array(r).fill(0);for(;o<a&&l.some(d=>d<n+t);){const d=e[o];l[d.lane]=d.end,o++}const c=Array(r).fill(n+t);for(;i>=0&&c.some(d=>d>=n);){const d=e[i];c[d.lane]=d.start,i--}i=Math.max(0,i-i%r),o=Math.min(a,o+(r-1-o%r))}return{startIndex:i,endIndex:o}}const Au=typeof document<"u"?y.useLayoutEffect:y.useEffect;function OC(e){const t=y.useReducer(()=>({}),{})[1],n={...e,onChange:(a,s)=>{var i;s?Vt.flushSync(t):t(),(i=e.onChange)==null||i.call(e,a,s)}},[r]=y.useState(()=>new wC(n));return r.setOptions(n),Au(()=>r._didMount(),[]),Au(()=>r._willUpdate()),r}function Tf(e){return OC({observeElementRect:SC,observeElementOffset:NC,scrollToFn:vC,...e})}const RC=e=>m.jsx("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M14.6668 1L5.50016 10.1667L1.3335 6",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Xr=({val:e,onClick:t})=>{const n=oe($t),r=oe(yn),a=D.useMemo(()=>r.flatMap(c=>c.items),[r]),s=a.length?a:n,i=c=>{t(c)},o=e&&e.metadata?.value,l=s.find(c=>c.metadata?.value===o&&c.parentName===e.parentName);return m.jsxs("div",{className:"flex flex-col gap-[8px]",children:[m.jsxs("button",{onClick:()=>i(e),className:`
139
139
  relative w-full aspect-square overflow-hidden rounded
140
140
  border transition
141
141
  ${l?"border-amber-700":"border-transparent"}
142
- `,children:[m.jsx("div",{className:"absolute inset-0",children:Vt.getImage(e)?m.jsx(zs,{item:e}):m.jsx(Ys,{item:e})}),m.jsx("div",{className:`
142
+ `,children:[m.jsx("div",{className:"absolute inset-0",children:zt.getImage(e)?m.jsx(Ys,{item:e}):m.jsx(Ws,{item:e})}),m.jsx("div",{className:`
143
143
  absolute top-0 right-0 m-2 h-[30px] w-[30px]
144
144
  flex flex-row items-center justify-center rounded-2xl border-none
145
145
  bg-[var(--background-grey)] pointer-events-none
146
146
  ${l?"bg-[var(--main-accent-color)]":""}
147
- `,children:m.jsx(M2,{})})]},e.assetId),m.jsxs("div",{className:"mb-[12px] flex flex-col",children:[m.jsxs("span",{className:"mb-[4px] text-sm font-semibold leading-[16px]",children:[e.metadata?.label||e.label," "]}),m.jsxs("span",{className:"text-xs font-medium leading-[14px]",children:[e.parentName," "]})]})]})},P2=({isOpen:e,onClose:t,title:n="Message",width:r,height:a,children:s})=>{const i=D.useRef(null);return D.useEffect(()=>{const o=l=>{i.current&&!i.current.contains(l.target)&&t()};return e&&document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[e,t]),e?qt.createPortal(m.jsx("div",{className:"fixed inset-0 z-99999999999999 flex flex-row items-center justify-center bg-black/40 p-4",children:m.jsxs("div",{ref:i,className:`
147
+ `,children:m.jsx(RC,{})})]},e.assetId),m.jsxs("div",{className:"mb-[12px] flex flex-col",children:[m.jsxs("span",{className:"mb-[4px] text-sm font-semibold leading-[16px]",children:[e.metadata?.label||e.label," "]}),m.jsxs("span",{className:"text-xs font-medium leading-[14px]",children:[e.parentName," "]})]})]})},LC=({isOpen:e,onClose:t,title:n="Message",width:r,height:a,children:s})=>{const i=D.useRef(null);return D.useEffect(()=>{const o=l=>{i.current&&!i.current.contains(l.target)&&t()};return e&&document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[e,t]),e?Vt.createPortal(m.jsx("div",{className:"fixed inset-0 z-99999999999999 flex flex-row items-center justify-center bg-black/40 p-4",children:m.jsxs("div",{ref:i,className:`
148
148
  bg-white rounded-2xl shadow-xl flex flex-col overflow-hidden
149
149
  max-w-[90vw] max-h-[90vh]
150
- `,style:{width:r||"auto",height:a||"auto"},children:[m.jsxs("div",{className:"flex flex-row items-center justify-between p-[var(--sm-padding)] border-b border-[var(--border)]",children:[m.jsx("span",{className:"text-base font-semibold text-[var(--text)]",children:n}),m.jsx("button",{onClick:t,className:"flex flex-row justify-center items-center p-1 rounded-full bg-[var(--border)] hover:bg-gray-100 transition [&_svg_path]:stroke-[var(--svg-dark)] w-[30px] h-[30px]",children:m.jsx(cr,{className:"text-[var(--text)] ",width:10,hanging:10})})]}),m.jsx("div",{className:"flex flex-col gap-[12px] text-[var(--text-muted)]",children:s})]})}),document.querySelector("#root-container")):null},Tf=({isOpen:e,onClose:t})=>m.jsx(P2,{isOpen:e,onClose:t,width:320,title:"Swatch Limit",children:m.jsxs("div",{children:[m.jsxs("div",{className:"text-sm font-medium p-[var(--sm-padding)] border-b border-[var(--border)] leading-[20px]",children:[m.jsx("p",{className:"mb-4",children:"You've reached your maximum number of swatches!"}),m.jsx("p",{children:"If you'd like to add another swatch please remove an existing swatch from your cart"})]}),m.jsx("div",{className:"p-[var(--sm-padding)] w-full",children:m.jsx("button",{className:`
150
+ `,style:{width:r||"auto",height:a||"auto"},children:[m.jsxs("div",{className:"flex flex-row items-center justify-between p-[var(--sm-padding)] border-b border-[var(--border)]",children:[m.jsx("span",{className:"text-base font-semibold text-[var(--text)]",children:n}),m.jsx("button",{onClick:t,className:"flex flex-row justify-center items-center p-1 rounded-full bg-[var(--border)] hover:bg-gray-100 transition [&_svg_path]:stroke-[var(--svg-dark)] w-[30px] h-[30px]",children:m.jsx(cr,{className:"text-[var(--text)] ",width:10,hanging:10})})]}),m.jsx("div",{className:"flex flex-col gap-[12px] text-[var(--text-muted)]",children:s})]})}),document.querySelector("#root-container")):null},xf=({isOpen:e,onClose:t})=>m.jsx(LC,{isOpen:e,onClose:t,width:320,title:"Swatch Limit",children:m.jsxs("div",{children:[m.jsxs("div",{className:"text-sm font-medium p-[var(--sm-padding)] border-b border-[var(--border)] leading-[20px]",children:[m.jsx("p",{className:"mb-4",children:"You've reached your maximum number of swatches!"}),m.jsx("p",{children:"If you'd like to add another swatch please remove an existing swatch from your cart"})]}),m.jsx("div",{className:"p-[var(--sm-padding)] w-full",children:m.jsx("button",{className:`
151
151
  w-full block py-3 rounded-full
152
152
  bg-[var(--main-accent-color)] text-white font-bold capitalize
153
- `,onClick:t,children:"OK"})})]})}),D2=({containerStyles:e="flex-1 min-h-0 overflow-y-auto p-[var(--padding)] sm:p-[var(--sm-padding)] ",gridStyles:t="grid grid-cols-1 gap-[8px] sm:grid-cols-3",desktopColumnsCount:n=3})=>{const r=Ne(),a=D.useRef(null),s=oe(lr),i=oe(Tn),o=oe(na),l=oe(xn),[c,d]=D.useState(!1),f=D.useMemo(()=>l.flatMap(K=>K.items),[l]),p=D.useMemo(()=>l.flatMap(K=>K.items).reduce((K,z)=>K+(z.count??0),0),[l]),h=D.useMemo(()=>s.filter(K=>{const z=i.Finish.length===0||i.Finish.some(F=>K.metadata?.Finish===F||K.metadata?.Material===F),U=i.Color.length===0||K.metadata?.Color&&i.Color.some(F=>K.metadata?.Color?.split(",").map(ie=>ie.trim()).includes(F)),Z=K.metadata?.Look,G=!i.Look||i.Look.length===0||i.Look.some(F=>Z&&Z.includes(F));return z&&U&&G}),[i,s]),T=typeof window<"u"?window.matchMedia("(min-width: 640px)").matches:!1,g=T?n:1,C=Math.ceil(h.length/g),b=T?300:200,S=Af({count:C,getScrollElement:()=>a.current,estimateSize:()=>b,overscan:24,measureElement:K=>K?.getBoundingClientRect().height}),L=S.getVirtualItems(),R=S.getTotalSize(),v=L[0]?.index??0,k=L[L.length-1]?.index??-1,M=v*g,P=Math.min((k+1)*g,h.length),W=h.slice(M,P),X=L[0]?.start??0,H=R-(L[L.length-1]?.end??0),V=K=>{if(!o)return;const z=l.find(G=>o.assetId===G.assetId),U=G=>G.metadata?.label===K.metadata?.label&&G.parentName===K.parentName,Z=f.some(U);if(!Z&&p>=5){d(!0);return}if(Z){const G=f.filter(I=>!U(I)),ie={assetId:l.find(I=>I.items.some(Te=>Te.metadata?.label===K.metadata?.label&&Te.parentName===K.parentName))?.assetId||o.assetId,name:o.name,items:G};r(as(ie)),r(ss(ie))}else if(f.length<5){const G={...K,count:1},F=z?[...z.items,G]:[G],ie={assetId:o.assetId,name:o.name,items:F};r(as(ie)),r(ss(ie))}};return m.jsxs("div",{ref:a,className:e,children:[m.jsx(Tf,{isOpen:c,onClose:()=>d(!1)}),m.jsx("div",{style:{height:X},"aria-hidden":!0}),m.jsx("div",{className:t,children:W.map((K,z)=>{const U=M+z,Z=`${K.metadata?.label||U}/${K.parentName}`;return(U+1)%g===0||U===h.length-1?m.jsx("div",{ref:S.measureElement,children:m.jsx(Zr,{val:K,onClick:V})},Z):m.jsx(Zr,{val:K,onClick:V},Z)})}),m.jsx("div",{style:{height:H},"aria-hidden":!0})]})},_2=()=>{const e=Ne(),t=oe(na);D.useEffect(()=>()=>{e(Th())},[]);const n=()=>{e(ju())};return m.jsxs("div",{className:"flex flex-col h-full ",children:[m.jsx("header",{className:"flex flex-row shrink-0 items-center justify-between border-b border-[var(--border)] p-[var(--sm-padding)]",children:m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("button",{className:"[&_svg_path]:stroke-[var(--main-accent-color)] cursor-pointer",onClick:n,children:m.jsx(qs,{})}),m.jsx("h2",{className:"m-0! text-base font-medium leading-[1.6]",children:t?.name})]})}),m.jsxs("div",{className:"flex flex-col min-h-0 flex-1 ",children:[m.jsx("div",{className:"shrink-0",children:m.jsx(x2,{})}),m.jsx(D2,{containerStyles:"flex-1 min-h-0 overflow-y-auto overscroll-contain p-[var(--sm-padding)]",gridStyles:"grid grid-cols-2 gap-[16px] sm:grid-cols-4 lg:grid-cols-5 xl:grid-cols-7 2xl:grid-cols-9",desktopColumnsCount:6}),m.jsx(of,{})]})]})},F2=({onSendData:e})=>{const t=Ne(),n=oe(Fh),r=oe(na);return D.useEffect(()=>()=>{t(Ku()),t(ju())},[]),m.jsx(m.Fragment,{children:n?m.jsx(Rp,{onSendData:e}):r?m.jsx(_2,{}):m.jsx(d2,{})})},Xr={SWATCH:"swatch",CART:"cart"},U2="_overlay_1aet8_1",B2="_panel_1aet8_10",H2="_enter_1aet8_38",j2="_exit_1aet8_42",zn={overlay:U2,panel:B2,enter:H2,exit:j2},xf=({children:e,isOpen:t,setIsOpen:n})=>{const r=D.useRef(null),a=D.useRef(null),s=()=>n(!1);return D.useLayoutEffect(()=>{t&&typeof document<"u"&&(a.current=document.activeElement)},[t]),D.useEffect(()=>{t?r.current?.focus():a.current?.focus?.()},[t]),D.useEffect(()=>{if(!t)return;const i=o=>{o.key==="Escape"&&s()};return window.addEventListener("keydown",i),()=>window.removeEventListener("keydown",i)},[t]),D.useEffect(()=>{if(!t)return;const i=document.documentElement,o=document.body,l=i.style.overflow,c=o.style.overflow;return i.style.overflow="hidden",o.style.overflow="hidden",()=>{i.style.overflow=l,o.style.overflow=c}},[t]),t?qt.createPortal(m.jsx("div",{className:ft(zn.overlay),onMouseDown:s,onTouchStart:s,children:m.jsx("div",{ref:r,tabIndex:-1,className:ve(zn.panel,zn.right,t?zn.enter:zn.exit,"bg-[var(--sidebar-bg)]"),onMouseDown:i=>i.stopPropagation(),onTouchStart:i=>i.stopPropagation(),children:e})}),document.querySelector("#root-container")):null};class V2{static getCartPreparedOption(t){return t?.length?t.map(n=>({...n,count:1})):[]}}const z2=()=>m.jsx("div",{className:["relative w-[40px] h-[40px] rounded-md aspect-square overflow-hidden","border border-solid border-[var(--border)] bg-[var(--sidebar-b)] sm:w-[64px] sm:h-[64px]"].join(" "),"aria-hidden":!0}),Y2=({selectedMaterials:e,containerStyles:t="p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0 shadow-[0_-2px_10px_rgba(40,40,40,0.10)]"})=>{const n=Ne(),r=i=>{n(ta({selectedMaterial:i,materialCount:1,selectedMaterials:e}))},a=Math.max(0,Me-e.length),s=oa(e);return m.jsxs("div",{className:t,children:[m.jsxs("div",{className:"flex flex-row justify-between items-center mb-[12px]",children:[m.jsxs("div",{className:"relative",children:[m.jsx("div",{className:"text-xs",children:"Swatches list"}),m.jsx("span",{className:"absolute top-0 right-[-20px] font-medium text-[var(--main-accent-color)] text-[8px] leading-none",children:"Free"})]}),m.jsxs("div",{className:"text-xs",children:[s,"/",Me," Selected"]})]}),m.jsxs("div",{className:"flex flex-row flex-wrap gap-[8px]",children:[e.map((i,o)=>{const l=i.metadata;return m.jsx(sf,{val:i,onDelete:r},`${l?.label||o}/${i.parentName}`)}),Array.from({length:a}).map((i,o)=>m.jsx(z2,{},`mock-${o}`))]})]})},q2=()=>{const e=oe(Kt)??[];return m.jsx(Y2,{selectedMaterials:e})},K2=({containerStyles:e="flex-1 min-h-0 overflow-y-auto p-[var(--sm-padding)]",gridStyles:t="grid grid-cols-2 gap-[var(--sm-padding)] sm:grid-cols-3 ",desktopColumnsCount:n=3})=>{const r=An.useDispatch(),a=D.useRef(null),s=oe(lr),i=oe(Kt),o=oe(Tn),[l,c]=D.useState(!1),d=D.useMemo(()=>i.reduce((H,V)=>H+(V.count??0),0),[i]),f=D.useMemo(()=>s.filter(H=>{const V=o.Finish.length===0||o.Finish.some(Z=>H.metadata?.Finish===Z||H.metadata?.Material===Z),K=o.Color.length===0||H.metadata?.Color&&o.Color.some(Z=>H.metadata?.Color?.split(",").map(G=>G.trim()).includes(Z)),z=H.metadata?.Look,U=!o.Look||o.Look.length===0||o.Look.some(Z=>z&&z.includes(Z));return V&&K&&U}),[o,s]),p=typeof window<"u"?window.matchMedia("(min-width: 640px)").matches:!1,h=p?n:1,T=Math.ceil(f.length/h),g=p?300:200,C=Af({count:T,getScrollElement:()=>a.current,estimateSize:()=>g,overscan:24,measureElement:H=>H?.getBoundingClientRect().height}),b=C.getVirtualItems(),S=C.getTotalSize(),L=b[0]?.index??0,R=b[b.length-1]?.index??-1,v=L*h,k=Math.min((R+1)*h,f.length),M=f.slice(v,k),P=b[0]?.start??0,W=S-(b[b.length-1]?.end??0),X=H=>{r(ta({materialCount:d,selectedMaterials:i,selectedMaterial:{...H,count:1},limitCb:()=>c(!0)}))};return m.jsxs("div",{ref:a,className:e,children:[m.jsx(Tf,{isOpen:l,onClose:()=>c(!1)}),m.jsx("div",{style:{height:P},"aria-hidden":!0}),m.jsx("div",{className:t,children:M.map((H,V)=>{const K=v+V,z=`${H.metadata?.label||K}/${H.parentName}`;return(K+1)%h===0||K===f.length-1?m.jsx("div",{ref:C.measureElement,children:m.jsx(Zr,{val:H,onClick:X})},z):m.jsx(Zr,{val:H,onClick:X},z)})}),m.jsx("div",{style:{height:W},"aria-hidden":!0})]})},W2=({isOpen:e,onToggleSidebar:t,onSetActiveTab:n})=>{const r=Ne(),a=oe(Kt)??[],s=oe(Qu),i=()=>{const o=V2.getCartPreparedOption(a);o&&r(Lh(o)),n(Xr.CART)};return m.jsxs(xf,{isOpen:e,setIsOpen:t,children:[m.jsxs("header",{className:"flex flex-row p-[var(--sm-padding)] justify-between items-center border-b border-solid border-[var(--border)]",children:[m.jsx("h2",{className:"m-0! text-sm leading-[1.6] font-medium",children:"Order free swatches"}),m.jsx("button",{className:`flex flex-row justify-center items-center w-[30px] h-[30px] bg-[var(--background-grey)]
153
+ `,onClick:t,children:"OK"})})]})}),PC=({containerStyles:e="flex-1 min-h-0 overflow-y-auto p-[var(--padding)] sm:p-[var(--sm-padding)] ",gridStyles:t="grid grid-cols-1 gap-[8px] sm:grid-cols-3",desktopColumnsCount:n=3})=>{const r=Ne(),a=D.useRef(null),s=oe(lr),i=oe(xn),o=oe(na),l=oe(yn),[c,d]=D.useState(!1),f=D.useMemo(()=>l.flatMap($=>$.items),[l]),p=D.useMemo(()=>l.flatMap($=>$.items).reduce(($,Y)=>$+(Y.count??0),0),[l]),h=D.useMemo(()=>s.filter($=>{const Y=i.Finish.length===0||i.Finish.some(B=>$.metadata?.Finish===B||$.metadata?.Material===B),F=i.Color.length===0||$.metadata?.Color&&i.Color.some(B=>$.metadata?.Color?.split(",").map(ie=>ie.trim()).includes(B)),X=$.metadata?.Look,Q=!i.Look||i.Look.length===0||i.Look.some(B=>X&&X.includes(B));return Y&&F&&Q}),[i,s]),x=typeof window<"u"?window.matchMedia("(min-width: 640px)").matches:!1,g=x?n:1,C=Math.ceil(h.length/g),E=x?300:200,A=Tf({count:C,getScrollElement:()=>a.current,estimateSize:()=>E,overscan:24,measureElement:$=>$?.getBoundingClientRect().height}),I=A.getVirtualItems(),v=A.getTotalSize(),O=I[0]?.index??0,w=I[I.length-1]?.index??-1,L=O*g,P=Math.min((w+1)*g,h.length),q=h.slice(L,P),K=I[0]?.start??0,U=v-(I[I.length-1]?.end??0),z=$=>{if(!o)return;const Y=l.find(Q=>o.assetId===Q.assetId),F=Q=>Q.metadata?.label===$.metadata?.label&&Q.parentName===$.parentName,X=f.some(F);if(!X&&p>=5){d(!0);return}if(X){const Q=f.filter(S=>!F(S)),ie={assetId:l.find(S=>S.items.some(xe=>xe.metadata?.label===$.metadata?.label&&xe.parentName===$.parentName))?.assetId||o.assetId,name:o.name,items:Q};r(as(ie)),r(ss(ie))}else if(f.length<5){const Q={...$,count:1},B=Y?[...Y.items,Q]:[Q],ie={assetId:o.assetId,name:o.name,items:B};r(as(ie)),r(ss(ie))}};return m.jsxs("div",{ref:a,className:e,children:[m.jsx(xf,{isOpen:c,onClose:()=>d(!1)}),m.jsx("div",{style:{height:K},"aria-hidden":!0}),m.jsx("div",{className:t,children:q.map(($,Y)=>{const F=L+Y,X=`${$.metadata?.label||F}/${$.parentName}`;return(F+1)%g===0||F===h.length-1?m.jsx("div",{ref:A.measureElement,children:m.jsx(Xr,{val:$,onClick:z})},X):m.jsx(Xr,{val:$,onClick:z},X)})}),m.jsx("div",{style:{height:U},"aria-hidden":!0})]})},DC=()=>{const e=Ne(),t=oe(na);D.useEffect(()=>()=>{e(xh())},[]);const n=()=>{e(ju())};return m.jsxs("div",{className:"flex flex-col h-full ",children:[m.jsx("header",{className:"flex flex-row shrink-0 items-center justify-between border-b border-[var(--border)] p-[var(--sm-padding)]",children:m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("button",{className:"[&_svg_path]:stroke-[var(--main-accent-color)] cursor-pointer",onClick:n,children:m.jsx(Vs,{})}),m.jsx("h2",{className:"m-0! text-base font-medium leading-[1.6]",children:t?.name})]})}),m.jsxs("div",{className:"flex flex-col min-h-0 flex-1 ",children:[m.jsx("div",{className:"shrink-0",children:m.jsx(xC,{})}),m.jsx(PC,{containerStyles:"flex-1 min-h-0 overflow-y-auto overscroll-contain p-[var(--sm-padding)]",gridStyles:"grid grid-cols-2 gap-[16px] sm:grid-cols-4 lg:grid-cols-5 xl:grid-cols-7 2xl:grid-cols-9",desktopColumnsCount:6}),m.jsx(of,{})]})]})},MC=({onSendData:e})=>{const t=Ne(),n=oe(Bh),r=oe(na);return D.useEffect(()=>()=>{t($u()),t(ju())},[]),m.jsx(m.Fragment,{children:n?m.jsx(vp,{onSendData:e}):r?m.jsx(DC,{}):m.jsx(cC,{})})},Kr={SWATCH:"swatch",CART:"cart"},BC="_overlay_1aet8_1",FC="_panel_1aet8_10",HC="_enter_1aet8_38",UC="_exit_1aet8_42",Yn={overlay:BC,panel:FC,enter:HC,exit:UC},yf=({children:e,isOpen:t,setIsOpen:n})=>{const r=D.useRef(null),a=D.useRef(null),s=()=>n(!1);return D.useLayoutEffect(()=>{t&&typeof document<"u"&&(a.current=document.activeElement)},[t]),D.useEffect(()=>{t?r.current?.focus():a.current?.focus?.()},[t]),D.useEffect(()=>{if(!t)return;const i=o=>{o.key==="Escape"&&s()};return window.addEventListener("keydown",i),()=>window.removeEventListener("keydown",i)},[t]),D.useEffect(()=>{if(!t)return;const i=document.documentElement,o=document.body,l=i.style.overflow,c=o.style.overflow;return i.style.overflow="hidden",o.style.overflow="hidden",()=>{i.style.overflow=l,o.style.overflow=c}},[t]),t?Vt.createPortal(m.jsx("div",{className:ft(Yn.overlay),onMouseDown:s,onTouchStart:s,children:m.jsx("div",{ref:r,tabIndex:-1,className:Oe(Yn.panel,Yn.right,t?Yn.enter:Yn.exit,"bg-[var(--sidebar-bg)]"),onMouseDown:i=>i.stopPropagation(),onTouchStart:i=>i.stopPropagation(),children:e})}),document.querySelector("#root-container")):null};class jC{static getCartPreparedOption(t){return t?.length?t.map(n=>({...n,count:1})):[]}}const zC=()=>m.jsx("div",{className:["relative w-[40px] h-[40px] rounded-md aspect-square overflow-hidden","border border-solid border-[var(--border)] bg-[var(--sidebar-b)] sm:w-[64px] sm:h-[64px]"].join(" "),"aria-hidden":!0}),YC=({selectedMaterials:e,containerStyles:t="p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0 shadow-[0_-2px_10px_rgba(40,40,40,0.10)]"})=>{const n=Ne(),r=i=>{n(ta({selectedMaterial:i,materialCount:1,selectedMaterials:e}))},a=Math.max(0,Le-e.length),s=oa(e);return m.jsxs("div",{className:t,children:[m.jsxs("div",{className:"flex flex-row justify-between items-center mb-[12px]",children:[m.jsxs("div",{className:"relative",children:[m.jsx("div",{className:"text-xs",children:"Swatches list"}),m.jsx("span",{className:"absolute top-0 right-[-20px] font-medium text-[var(--main-accent-color)] text-[8px] leading-none",children:"Free"})]}),m.jsxs("div",{className:"text-xs",children:[s,"/",Le," Selected"]})]}),m.jsxs("div",{className:"flex flex-row flex-wrap gap-[8px]",children:[e.map((i,o)=>{const l=i.metadata;return m.jsx(sf,{val:i,onDelete:r},`${l?.label||o}/${i.parentName}`)}),Array.from({length:a}).map((i,o)=>m.jsx(zC,{},`mock-${o}`))]})]})},WC=()=>{const e=oe($t)??[];return m.jsx(YC,{selectedMaterials:e})},VC=({containerStyles:e="flex-1 min-h-0 overflow-y-auto p-[var(--sm-padding)]",gridStyles:t="grid grid-cols-2 gap-[var(--sm-padding)] sm:grid-cols-3 ",desktopColumnsCount:n=3})=>{const r=Tn.useDispatch(),a=D.useRef(null),s=oe(lr),i=oe($t),o=oe(xn),[l,c]=D.useState(!1),d=D.useMemo(()=>i.reduce((U,z)=>U+(z.count??0),0),[i]),f=D.useMemo(()=>s.filter(U=>{const z=o.Finish.length===0||o.Finish.some(X=>U.metadata?.Finish===X||U.metadata?.Material===X),$=o.Color.length===0||U.metadata?.Color&&o.Color.some(X=>U.metadata?.Color?.split(",").map(Q=>Q.trim()).includes(X)),Y=U.metadata?.Look,F=!o.Look||o.Look.length===0||o.Look.some(X=>Y&&Y.includes(X));return z&&$&&F}),[o,s]),p=typeof window<"u"?window.matchMedia("(min-width: 640px)").matches:!1,h=p?n:1,x=Math.ceil(f.length/h),g=p?300:200,C=Tf({count:x,getScrollElement:()=>a.current,estimateSize:()=>g,overscan:24,measureElement:U=>U?.getBoundingClientRect().height}),E=C.getVirtualItems(),A=C.getTotalSize(),I=E[0]?.index??0,v=E[E.length-1]?.index??-1,O=I*h,w=Math.min((v+1)*h,f.length),L=f.slice(O,w),P=E[0]?.start??0,q=A-(E[E.length-1]?.end??0),K=U=>{d+1>5?c(!0):r(ta({materialCount:d,selectedMaterials:i,selectedMaterial:{...U,count:1}}))};return m.jsxs("div",{ref:a,className:e,children:[m.jsx(xf,{isOpen:l,onClose:()=>c(!1)}),m.jsx("div",{style:{height:P},"aria-hidden":!0}),m.jsx("div",{className:t,children:L.map((U,z)=>{const $=O+z,Y=`${U.metadata?.label||$}/${U.parentName}`;return($+1)%h===0||$===f.length-1?m.jsx("div",{ref:C.measureElement,children:m.jsx(Xr,{val:U,onClick:K})},Y):m.jsx(Xr,{val:U,onClick:K},Y)})}),m.jsx("div",{style:{height:q},"aria-hidden":!0})]})},$C=({isOpen:e,onToggleSidebar:t,onSetActiveTab:n})=>{const r=Ne(),a=oe($t)??[],s=oe(Gu),i=()=>{const o=jC.getCartPreparedOption(a);o&&r(Ih(o)),n(Kr.CART)};return m.jsxs(yf,{isOpen:e,setIsOpen:t,children:[m.jsxs("header",{className:"flex flex-row p-[var(--sm-padding)] justify-between items-center border-b border-solid border-[var(--border)]",children:[m.jsx("h2",{className:"m-0! text-sm leading-[1.6] font-medium",children:"Order free swatches"}),m.jsx("button",{className:`flex flex-row justify-center items-center w-[30px] h-[30px] bg-[var(--background-grey)]
154
154
  border-none cursor-pointer rounded-full
155
- [&_svg_path]:stroke-[var(--svg-dark)]`,onClick:t,children:m.jsx(cr,{width:10,height:10})})]}),m.jsxs("div",{className:"flex flex-col h-full min-h-0 relative",children:[s&&m.jsx(af,{}),m.jsx(gf,{containerStyles:"flex flex-row justify-between items-center shrink-0 p-[var(--sm-padding)] border-b border-solid border-[var(--border)]",selectStyles:"min-w-[auto] max-w-[154px] sm:max-w-[auto] sm:min-w-[250px]"}),m.jsx("div",{className:"w-full border-b border-b-border",children:m.jsx(Ef,{})}),m.jsx(K2,{}),m.jsx(q2,{}),m.jsx("div",{className:"p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0",children:m.jsx("button",{className:"w-full bg-[var(--main-accent-color)] text-white py-3 rounded-full font-bold cursor-pointer text-sm",onClick:i,children:"ADD SWATCHES TO CART"})})]})]})},Q2=({onSetActiveTab:e,onToggleSidebar:t})=>{const n=oe(Kt),r=oa(n);return m.jsxs("header",{className:"flex flex-row MaterialMultiProductList justify-between items-center border-b border-solid border-[var(--border)] p-[var(--sm-padding)]",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[4px]",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("button",{className:"[&_svg_path]:stroke-[var(--main-accent-color)] cursor-pointer",onClick:()=>e?.(Xr.SWATCH),children:m.jsx(qs,{})}),m.jsx("h2",{className:"m-0! text-base leading-[1.6] font-medium ",children:"Your cart"})]}),r>=Me?m.jsxs(m.Fragment,{children:[m.jsxs("span",{className:"text-[var(--main-accent-color)] hidden text-xs sm:block",children:["(",Me,") You reached maximum amount of swatches"]}),m.jsxs("span",{className:"text-[var(--main-accent-color)] block sm:hidden",children:["(",Me,") Max"]})]}):null]}),m.jsx("button",{className:`flex flex-row justify-center items-center w-[30px] h-[30px] bg-[var(--background-grey)]
155
+ [&_svg_path]:stroke-[var(--svg-dark)]`,onClick:t,children:m.jsx(cr,{width:10,height:10})})]}),m.jsxs("div",{className:"flex flex-col h-full min-h-0 relative",children:[s&&m.jsx(af,{}),m.jsx(gf,{containerStyles:"flex flex-row justify-between items-center shrink-0 p-[var(--sm-padding)] border-b border-solid border-[var(--border)]",selectStyles:"min-w-[auto] max-w-[154px] sm:max-w-[auto] sm:min-w-[250px]"}),m.jsx("div",{className:"w-full border-b border-b-border",children:m.jsx(bf,{})}),m.jsx(VC,{}),m.jsx(WC,{}),m.jsx("div",{className:"p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0",children:m.jsx("button",{className:"w-full bg-[var(--main-accent-color)] text-white py-3 rounded-full font-bold cursor-pointer text-sm",onClick:i,children:"ADD SWATCHES TO CART"})})]})]})},qC=({onSetActiveTab:e,onToggleSidebar:t})=>{const n=oe($t),r=oa(n);return m.jsxs("header",{className:"flex flex-row MaterialMultiProductList justify-between items-center border-b border-solid border-[var(--border)] p-[var(--sm-padding)]",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[4px]",children:[m.jsxs("div",{className:"flex flex-row items-center gap-[8px]",children:[m.jsx("button",{className:"[&_svg_path]:stroke-[var(--main-accent-color)] cursor-pointer",onClick:()=>e?.(Kr.SWATCH),children:m.jsx(Vs,{})}),m.jsx("h2",{className:"m-0! text-base leading-[1.6] font-medium ",children:"Your cart"})]}),r>=Le?m.jsxs(m.Fragment,{children:[m.jsxs("span",{className:"text-[var(--main-accent-color)] hidden text-xs sm:block",children:["(",Le,") You reached maximum amount of swatches"]}),m.jsxs("span",{className:"text-[var(--main-accent-color)] block sm:hidden",children:["(",Le,") Max"]})]}):null]}),m.jsx("button",{className:`flex flex-row justify-center items-center w-[30px] h-[30px] bg-[var(--background-grey)]
156
156
  border-none cursor-pointer rounded-full
157
- [&_svg_path]:stroke-[var(--svg-dark)]`,onClick:t,children:m.jsx(cr,{width:10,height:10})})]})},ks=e=>e.cart.items,Z2=Je.createSelector(ks,e=>e.reduce((t,n)=>t+n.count,0)),X2=Je.createSelector(Z2,e=>Math.max(0,Me-e)),G2=Je.createSelector(X2,e=>e>0),J2=()=>{const e=Ne(),t=oe(Kt)??[],n=oe(G2),r=i=>{e(Ch({selectedMaterial:i})),e(ta({selectedMaterial:i,materialCount:1,selectedMaterials:t}))},a=i=>{e(Sh({selectedMaterial:i}))},s=i=>{e(Ih({selectedMaterial:i}))};return m.jsx("ul",{className:"flex flex-col flex-1 min-h-0 overflow-y-auto",children:t?.map(i=>m.jsx(Ql,{item:i,canInc:n,onDelete:()=>r(i),onIncrement:()=>a(i),onDecrement:()=>s(i)},`${i.assetId}/${i.parentName}`))})},$2=({isOpen:e,onToggleSidebar:t,onSetActiveTab:n,onSendData:r})=>{const a=oe(ks),s=oe(ks)??[];return m.jsxs(xf,{isOpen:e,setIsOpen:t,children:[m.jsx(Q2,{onSetActiveTab:n,onToggleSidebar:t}),m.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[m.jsx(J2,{}),m.jsx(Xu,{materials:s}),m.jsx("div",{className:"p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0",children:m.jsx("button",{className:"w-full bg-[var(--main-accent-color)] text-white py-3 text-sm rounded-full font-bold cursor-pointer",onClick:()=>r(a),children:"GO TO SHIPPING"})})]})]})},eS=({isOpen:e,onToggleSidebar:t,onSendData:n})=>{const r=Ne(),[a,s]=D.useState(Xr.SWATCH);D.useEffect(()=>()=>{r(Ku()),r(yh())},[]);const i=o=>{s(o)};return m.jsx(m.Fragment,{children:a===Xr.SWATCH?m.jsx(W2,{isOpen:e,onToggleSidebar:t,onSetActiveTab:i}):m.jsx($2,{isOpen:e,onToggleSidebar:t,onSetActiveTab:i,onSendData:n})})},tS=Je.combineReducers({swatches:Hu,cart:Yu,multiProductCart:Wu});let Ja=null;function nS(){return Je.configureStore({reducer:tS,devTools:!1,middleware:e=>e({thunk:!0})})}const rS=()=>(Ja||(Ja=nS()),Ja),aS=An.useDispatch.withTypes();An.useSelector.withTypes();function yf({children:e}){return m.jsx(An.Provider,{store:rS(),children:e})}const sS=({isOpen:e,uiDataType:t,data:n,assetId:r,onToggleSidebar:a,onSendData:s})=>{const o=[tt.UI,tt.FETCH_DATA_PRODUCT].includes(t),l=aS();return D.useEffect(()=>{if(t===tt.UI){if(!n)throw new Error("SwatchCart-module: Attributes are important");const c=ls.getTransformedData({dataType:tt.UI,data:n});c&&l(rs(c))}else t===tt.FETCH_DATA_PRODUCT&&r?(async()=>{try{const d=await l(qn({assetId:r})).unwrap(),f=ls.getTransformedData({dataType:tt.FETCH_DATA_PRODUCT,data:d});l(rs(f))}catch(d){console.error("Failed to load product",d)}})():t===tt.FETCH_DATA_ALL&&(async()=>{try{l(Kn()).unwrap()}catch(d){console.error("Failed to load product",d)}})()},[t,n,r]),m.jsx("div",{id:"root-container",className:"relative flex flex-col h-full min-h-0 w-full",children:m.jsxs(yf,{children:[m.jsx(Eh,{position:"top-center",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!1,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"dark",transition:Uu}),e?m.jsxs(m.Fragment,{children:[o?null:m.jsx(F2,{onSendData:s,onToggleSidebar:a}),o?m.jsx(eS,{isOpen:e,uiDataType:t,data:n,assetId:r,onToggleSidebar:a,onSendData:s}):null]}):null]})})};function iS(e){const t=n=>m.jsx(yf,{children:m.jsx(e,{...n})});return t.displayName=`withStore(${e.displayName||e.name||"Component"})`,t}const Cf=iS(sS),oS=tt;function uS(e,t){const n=Of.createRoot(e);return n.render(D.createElement(Cf,t)),()=>n.unmount()}exports.EDataInputType=oS;exports.SwatchModule=Cf;exports.mountSwatchModule=uS;
157
+ [&_svg_path]:stroke-[var(--svg-dark)]`,onClick:t,children:m.jsx(cr,{width:10,height:10})})]})},ws=e=>e.cart.items,GC=Ze.createSelector(ws,e=>e.reduce((t,n)=>t+n.count,0)),XC=Ze.createSelector(GC,e=>Math.max(0,Le-e)),KC=Ze.createSelector(XC,e=>e>0),QC=()=>{const e=Ne(),t=oe($t)??[],n=oe(KC),r=i=>{e(Ch({selectedMaterial:i})),e(ta({selectedMaterial:i,materialCount:1,selectedMaterials:t}))},a=i=>{e(Ah({selectedMaterial:i}))},s=i=>{e(Sh({selectedMaterial:i}))};return m.jsx("ul",{className:"flex flex-col flex-1 min-h-0 overflow-y-auto",children:t?.map(i=>m.jsx(Gl,{item:i,canInc:n,onDelete:()=>r(i),onIncrement:()=>a(i),onDecrement:()=>s(i)},`${i.label}/${i.parentName}`))})},ZC=({isOpen:e,onToggleSidebar:t,onSetActiveTab:n,onSendData:r})=>{const a=oe(ws),s=oe(ws)??[];return m.jsxs(yf,{isOpen:e,setIsOpen:t,children:[m.jsx(qC,{onSetActiveTab:n,onToggleSidebar:t}),m.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[m.jsx(QC,{}),m.jsx(Ku,{materials:s}),m.jsx("div",{className:"p-[var(--sm-padding)] border-t border-solid border-[var(--border)] shrink-0",children:m.jsx("button",{className:"w-full bg-[var(--main-accent-color)] text-white py-3 text-sm rounded-full font-bold cursor-pointer",onClick:()=>r(a),children:"GO TO SHIPPING"})})]})]})},JC=({isOpen:e,onToggleSidebar:t,onSendData:n})=>{const r=Ne(),[a,s]=D.useState(Kr.SWATCH);D.useEffect(()=>()=>{r($u()),r(_h())},[]);const i=o=>{s(o)};return m.jsx(m.Fragment,{children:a===Kr.SWATCH?m.jsx($C,{isOpen:e,onToggleSidebar:t,onSetActiveTab:i}):m.jsx(ZC,{isOpen:e,onToggleSidebar:t,onSetActiveTab:i,onSendData:n})})},eA=Ze.combineReducers({swatches:Uu,cart:Wu,multiProductCart:qu});let Za=null;function tA(){return Ze.configureStore({reducer:eA,devTools:!1,middleware:e=>e({thunk:!0})})}const nA=()=>(Za||(Za=tA()),Za),rA=Tn.useDispatch.withTypes();Tn.useSelector.withTypes();function _f({children:e}){return m.jsx(Tn.Provider,{store:nA(),children:e})}const aA=({isOpen:e,uiDataType:t,data:n,assetId:r,onToggleSidebar:a,onSendData:s})=>{const o=[tt.UI,tt.FETCH_DATA_PRODUCT].includes(t),l=rA();return D.useEffect(()=>{if(t===tt.UI){if(!n)throw new Error("SwatchCart-module: Attributes are important");const c=ls.getTransformedData({dataType:tt.UI,data:n});c&&l(rs(c))}else t===tt.FETCH_DATA_PRODUCT&&r?(async()=>{try{const d=await l(Vn({assetId:r})).unwrap(),f=ls.getTransformedData({dataType:tt.FETCH_DATA_PRODUCT,data:d});l(rs(f))}catch(d){console.error("Failed to load product",d)}})():t===tt.FETCH_DATA_ALL&&(async()=>{try{l($n()).unwrap()}catch(d){console.error("Failed to load product",d)}})()},[t,n,r]),m.jsx("div",{id:"root-container",className:"relative flex flex-col h-full min-h-0 w-full",children:m.jsxs(_f,{children:[m.jsx(bh,{position:"top-center",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!1,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"dark",transition:Fu}),e?m.jsxs(m.Fragment,{children:[o?null:m.jsx(MC,{onSendData:s,onToggleSidebar:a}),o?m.jsx(JC,{isOpen:e,uiDataType:t,data:n,assetId:r,onToggleSidebar:a,onSendData:s}):null]}):null]})})};function sA(e){const t=n=>m.jsx(_f,{children:m.jsx(e,{...n})});return t.displayName=`withStore(${e.displayName||e.name||"Component"})`,t}const Cf=sA(aA),iA=tt;function oA(e,t){const n=Rf.createRoot(e);return n.render(D.createElement(Cf,t)),()=>n.unmount()}exports.EDataInputType=iA;exports.SwatchModule=Cf;exports.mountSwatchModule=oA;
158
158
  //# sourceMappingURL=main.cjs.map