| @@ -1,46 +1,92 @@ | ||
| 1 | -"use strict";var wp;(wp||={}).components=(()=>{var Ecc=Object.create;var rr=Object.defineProperty;var Mcc=Object.getOwnPropertyDescriptor;var Pcc=Object.getOwnPropertyNames;var Kcc=Object.getPrototypeOf,_cc=Object.prototype.hasOwnProperty;var J9=(c,l)=>()=>(c&&(l=c(c=0)),l);var dl=(c,l)=>()=>(l||c((l={exports:{}}).exports,l),l.exports),_G=(c,l)=>{for(var t in l)rr(c,t,{get:l[t],enumerable:!0})},Y9=(c,l,t,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let d of Pcc(l))!_cc.call(c,d)&&d!==t&&rr(c,d,{get:()=>l[d],enumerable:!(e=Mcc(l,d))||e.enumerable});return c};var u=(c,l,t)=>(t=c!=null?Ecc(Kcc(c)):{},Y9(l||!c||!c.__esModule?rr(t,"default",{value:c,enumerable:!0}):t,c)),h9=c=>Y9(rr({},"__esModule",{value:!0}),c);var kc=dl((cIc,F9)=>{F9.exports=window.wp.primitives});var bc=dl((tIc,N9)=>{N9.exports=window.wp.i18n});var ec=dl((eIc,f9)=>{f9.exports=window.wp.compose});var h=dl((dIc,S9)=>{S9.exports=window.wp.element});var E=dl((xIc,k9)=>{k9.exports=window.React});var V=dl((NIc,P9)=>{P9.exports=window.ReactJSXRuntime});var WF=dl(IF=>{"use strict";var ba=E();function Vlc(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}var Clc=typeof Object.is=="function"?Object.is:Vlc,Jlc=ba.useState,Ylc=ba.useEffect,hlc=ba.useLayoutEffect,Flc=ba.useDebugValue;function vlc(c,l){var t=l(),e=Jlc({inst:{value:t,getSnapshot:l}}),d=e[0].inst,b=e[1];return hlc(function(){d.value=t,d.getSnapshot=l,Sy(d)&&b({inst:d})},[c,t,l]),Ylc(function(){return Sy(d)&&b({inst:d}),c(function(){Sy(d)&&b({inst:d})})},[c]),Flc(t),t}function Sy(c){var l=c.getSnapshot;c=c.value;try{var t=l();return!Clc(c,t)}catch{return!0}}function Nlc(c,l){return l()}var flc=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Nlc:vlc;IF.useSyncExternalStore=ba.useSyncExternalStore!==void 0?ba.useSyncExternalStore:flc});var BF=dl((vWc,pF)=>{"use strict";pF.exports=WF()});var aa=dl((Fpc,OF)=>{OF.exports=window.ReactDOM});var Xl=dl((RNc,Ff)=>{Ff.exports=window.wp.deprecated});function cR(c){var l=Object.create(null);return function(t){return l[t]===void 0&&(l[t]=c(t)),l[t]}}var lR=J9(()=>{});var Ok={};_G(Ok,{default:()=>hV});var bnc,hV,FV=J9(()=>{lR();bnc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,hV=cR(function(c){return bnc.test(c)||c.charCodeAt(0)===111&&c.charCodeAt(1)===110&&c.charCodeAt(2)<91})});var Jz=dl(il=>{"use strict";var ut=typeof Symbol=="function"&&Symbol.for,OV=ut?Symbol.for("react.element"):60103,QV=ut?Symbol.for("react.portal"):60106,gR=ut?Symbol.for("react.fragment"):60107,rR=ut?Symbol.for("react.strict_mode"):60108,ZR=ut?Symbol.for("react.profiler"):60114,HR=ut?Symbol.for("react.provider"):60109,RR=ut?Symbol.for("react.context"):60110,wV=ut?Symbol.for("react.async_mode"):60111,IR=ut?Symbol.for("react.concurrent_mode"):60111,WR=ut?Symbol.for("react.forward_ref"):60112,pR=ut?Symbol.for("react.suspense"):60113,Bnc=ut?Symbol.for("react.suspense_list"):60120,BR=ut?Symbol.for("react.memo"):60115,yR=ut?Symbol.for("react.lazy"):60116,ync=ut?Symbol.for("react.block"):60121,Vnc=ut?Symbol.for("react.fundamental"):60117,Cnc=ut?Symbol.for("react.responder"):60118,Jnc=ut?Symbol.for("react.scope"):60119;function _e(c){if(typeof c=="object"&&c!==null){var l=c.$$typeof;switch(l){case OV:switch(c=c.type,c){case wV:case IR:case gR:case ZR:case rR:case pR:return c;default:switch(c=c&&c.$$typeof,c){case RR:case WR:case yR:case BR:case HR:return c;default:return l}}case QV:return l}}}function Cz(c){return _e(c)===IR}il.AsyncMode=wV;il.ConcurrentMode=IR;il.ContextConsumer=RR;il.ContextProvider=HR;il.Element=OV;il.ForwardRef=WR;il.Fragment=gR;il.Lazy=yR;il.Memo=BR;il.Portal=QV;il.Profiler=ZR;il.StrictMode=rR;il.Suspense=pR;il.isAsyncMode=function(c){return Cz(c)||_e(c)===wV};il.isConcurrentMode=Cz;il.isContextConsumer=function(c){return _e(c)===RR};il.isContextProvider=function(c){return _e(c)===HR};il.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===OV};il.isForwardRef=function(c){return _e(c)===WR};il.isFragment=function(c){return _e(c)===gR};il.isLazy=function(c){return _e(c)===yR};il.isMemo=function(c){return _e(c)===BR};il.isPortal=function(c){return _e(c)===QV};il.isProfiler=function(c){return _e(c)===ZR};il.isStrictMode=function(c){return _e(c)===rR};il.isSuspense=function(c){return _e(c)===pR};il.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===gR||c===IR||c===ZR||c===rR||c===pR||c===Bnc||typeof c=="object"&&c!==null&&(c.$$typeof===yR||c.$$typeof===BR||c.$$typeof===HR||c.$$typeof===RR||c.$$typeof===WR||c.$$typeof===Vnc||c.$$typeof===Cnc||c.$$typeof===Jnc||c.$$typeof===ync)};il.typeOf=_e});var hz=dl((KEc,Yz)=>{"use strict";Yz.exports=Jz()});var zz=dl((_Ec,kz)=>{"use strict";var TV=hz(),Ync={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},hnc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fnc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fz={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},DV={};DV[TV.ForwardRef]=Fnc;DV[TV.Memo]=fz;function Fz(c){return TV.isMemo(c)?fz:DV[c.$$typeof]||Ync}var vnc=Object.defineProperty,Nnc=Object.getOwnPropertyNames,vz=Object.getOwnPropertySymbols,fnc=Object.getOwnPropertyDescriptor,Snc=Object.getPrototypeOf,Nz=Object.prototype;function Sz(c,l,t){if(typeof l!="string"){if(Nz){var e=Snc(l);e&&e!==Nz&&Sz(c,e,t)}var d=Nnc(l);vz&&(d=d.concat(vz(l)));for(var b=Fz(c),o=Fz(l),n=0;n<d.length;++n){var G=d[n];if(!hnc[G]&&!(t&&t[G])&&!(o&&o[G])&&!(b&&b[G])){var X=fnc(l,G);try{vnc(c,G,X)}catch{}}}}return c}kz.exports=Sz});var YA=dl((wMc,JA)=>{"use strict";var rGc=function(l){return ZGc(l)&&!HGc(l)};function ZGc(c){return!!c&&typeof c=="object"}function HGc(c){var l=Object.prototype.toString.call(c);return l==="[object RegExp]"||l==="[object Date]"||WGc(c)}var RGc=typeof Symbol=="function"&&Symbol.for,IGc=RGc?Symbol.for("react.element"):60103;function WGc(c){return c.$$typeof===IGc}function pGc(c){return Array.isArray(c)?[]:{}}function Hs(c,l){return l.clone!==!1&&l.isMergeableObject(c)?Fu(pGc(c),c,l):c}function BGc(c,l,t){return c.concat(l).map(function(e){return Hs(e,t)})}function yGc(c,l){if(!l.customMerge)return Fu;var t=l.customMerge(c);return typeof t=="function"?t:Fu}function VGc(c){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(c).filter(function(l){return Object.propertyIsEnumerable.call(c,l)}):[]}function VA(c){return Object.keys(c).concat(VGc(c))}function CA(c,l){try{return l in c}catch{return!1}}function CGc(c,l){return CA(c,l)&&!(Object.hasOwnProperty.call(c,l)&&Object.propertyIsEnumerable.call(c,l))}function JGc(c,l,t){var e={};return t.isMergeableObject(c)&&VA(c).forEach(function(d){e[d]=Hs(c[d],t)}),VA(l).forEach(function(d){CGc(c,d)||(CA(c,d)&&t.isMergeableObject(l[d])?e[d]=yGc(d,t)(c[d],l[d],t):e[d]=Hs(l[d],t))}),e}function Fu(c,l,t){t=t||{},t.arrayMerge=t.arrayMerge||BGc,t.isMergeableObject=t.isMergeableObject||rGc,t.cloneUnlessOtherwiseSpecified=Hs;var e=Array.isArray(l),d=Array.isArray(c),b=e===d;return b?e?t.arrayMerge(c,l,t):JGc(c,l,t):Hs(l,t)}Fu.all=function(l,t){if(!Array.isArray(l))throw new Error("first argument should be an array");return l.reduce(function(e,d){return Fu(e,d,t)},{})};var YGc=Fu;JA.exports=YGc});var vR=dl((TMc,hA)=>{"use strict";hA.exports=function c(l,t){if(l===t)return!0;if(l&&t&&typeof l=="object"&&typeof t=="object"){if(l.constructor!==t.constructor)return!1;var e,d,b;if(Array.isArray(l)){if(e=l.length,e!=t.length)return!1;for(d=e;d--!==0;)if(!c(l[d],t[d]))return!1;return!0}if(l instanceof Map&&t instanceof Map){if(l.size!==t.size)return!1;for(d of l.entries())if(!t.has(d[0]))return!1;for(d of l.entries())if(!c(d[1],t.get(d[0])))return!1;return!0}if(l instanceof Set&&t instanceof Set){if(l.size!==t.size)return!1;for(d of l.entries())if(!t.has(d[0]))return!1;return!0}if(ArrayBuffer.isView(l)&&ArrayBuffer.isView(t)){if(e=l.length,e!=t.length)return!1;for(d=e;d--!==0;)if(l[d]!==t[d])return!1;return!0}if(l.constructor===RegExp)return l.source===t.source&&l.flags===t.flags;if(l.valueOf!==Object.prototype.valueOf)return l.valueOf()===t.valueOf();if(l.toString!==Object.prototype.toString)return l.toString()===t.toString();if(b=Object.keys(l),e=b.length,e!==Object.keys(t).length)return!1;for(d=e;d--!==0;)if(!Object.prototype.hasOwnProperty.call(t,b[d]))return!1;for(d=e;d--!==0;){var o=b[d];if(!c(l[o],t[o]))return!1}return!0}return l!==l&&t!==t}});var ne=dl((UMc,NA)=>{NA.exports=window.wp.warning});var FO=dl((zKc,hO)=>{hO.exports=(function(c){var l={};function t(e){if(l[e])return l[e].exports;var d=l[e]={exports:{},id:e,loaded:!1};return c[e].call(d.exports,d,d.exports,t),d.loaded=!0,d.exports}return t.m=c,t.c=l,t.p="",t(0)})([(function(c,l,t){c.exports=t(1)}),(function(c,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=t(2);Object.defineProperty(l,"combineChunks",{enumerable:!0,get:function(){return e.combineChunks}}),Object.defineProperty(l,"fillInChunks",{enumerable:!0,get:function(){return e.fillInChunks}}),Object.defineProperty(l,"findAll",{enumerable:!0,get:function(){return e.findAll}}),Object.defineProperty(l,"findChunks",{enumerable:!0,get:function(){return e.findChunks}})}),(function(c,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=l.findAll=function(X){var i=X.autoEscape,a=X.caseSensitive,m=a===void 0?!1:a,x=X.findChunks,s=x===void 0?d:x,g=X.sanitize,r=X.searchWords,H=X.textToHighlight;return b({chunksToHighlight:e({chunks:s({autoEscape:i,caseSensitive:m,sanitize:g,searchWords:r,textToHighlight:H})}),totalLength:H?H.length:0})},e=l.combineChunks=function(X){var i=X.chunks;return i=i.sort(function(a,m){return a.start-m.start}).reduce(function(a,m){if(a.length===0)return[m];var x=a.pop();if(m.start<=x.end){var s=Math.max(x.end,m.end);a.push({highlight:!1,start:x.start,end:s})}else a.push(x,m);return a},[]),i},d=function(X){var i=X.autoEscape,a=X.caseSensitive,m=X.sanitize,x=m===void 0?o:m,s=X.searchWords,g=X.textToHighlight;return g=x(g),s.filter(function(r){return r}).reduce(function(r,H){H=x(H),i&&(H=n(H));for(var Z=new RegExp(H,a?"g":"gi"),R=void 0;R=Z.exec(g);){var W=R.index,I=Z.lastIndex;I>W&&r.push({highlight:!1,start:W,end:I}),R.index===Z.lastIndex&&Z.lastIndex++}return r},[])};l.findChunks=d;var b=l.fillInChunks=function(X){var i=X.chunksToHighlight,a=X.totalLength,m=[],x=function(r,H,Z){H-r>0&&m.push({start:r,end:H,highlight:Z})};if(i.length===0)x(0,a,!1);else{var s=0;i.forEach(function(g){x(s,g.start,!1),x(g.start,g.end,!0),s=g.end}),x(s,a,!1)}return m};function o(G){return G}function n(G){return G.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}})])});var NC=dl((Yqc,cw)=>{cw.exports=window.wp.richText});var co=dl((hqc,lw)=>{lw.exports=window.wp.a11y});var UI=dl((Fqc,tw)=>{tw.exports=window.wp.keycodes});var Ks=dl((vqc,LI)=>{var ew={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},dw=Object.keys(ew).join("|"),lac=new RegExp(dw,"g"),tac=new RegExp(dw,"");function eac(c){return ew[c]}var bw=function(c){return c.replace(lac,eac)},dac=function(c){return!!c.match(tac)};LI.exports=bw;LI.exports.has=dac;LI.exports.remove=bw});var cW=dl((a$c,fw)=>{fw.exports=window.wp.isShallowEqual});var GE=dl(qJ=>{var Ri=Ri||{};Ri.stringify=(function(){var c={"visit_linear-gradient":function(l){return c.visit_gradient(l)},"visit_repeating-linear-gradient":function(l){return c.visit_gradient(l)},"visit_radial-gradient":function(l){return c.visit_gradient(l)},"visit_repeating-radial-gradient":function(l){return c.visit_gradient(l)},visit_gradient:function(l){var t=c.visit(l.orientation);return t&&(t+=", "),l.type+"("+t+c.visit(l.colorStops)+")"},visit_shape:function(l){var t=l.value,e=c.visit(l.at),d=c.visit(l.style);return d&&(t+=" "+d),e&&(t+=" at "+e),t},"visit_default-radial":function(l){var t="",e=c.visit(l.at);return e&&(t+=e),t},"visit_extent-keyword":function(l){var t=l.value,e=c.visit(l.at);return e&&(t+=" at "+e),t},"visit_position-keyword":function(l){return l.value},visit_position:function(l){return c.visit(l.value.x)+" "+c.visit(l.value.y)},"visit_%":function(l){return l.value+"%"},visit_em:function(l){return l.value+"em"},visit_px:function(l){return l.value+"px"},visit_calc:function(l){return"calc("+l.value+")"},visit_literal:function(l){return c.visit_color(l.value,l)},visit_hex:function(l){return c.visit_color("#"+l.value,l)},visit_rgb:function(l){return c.visit_color("rgb("+l.value.join(", ")+")",l)},visit_rgba:function(l){return c.visit_color("rgba("+l.value.join(", ")+")",l)},visit_hsl:function(l){return c.visit_color("hsl("+l.value[0]+", "+l.value[1]+"%, "+l.value[2]+"%)",l)},visit_hsla:function(l){return c.visit_color("hsla("+l.value[0]+", "+l.value[1]+"%, "+l.value[2]+"%, "+l.value[3]+")",l)},visit_var:function(l){return c.visit_color("var("+l.value+")",l)},visit_color:function(l,t){var e=l,d=c.visit(t.length);return d&&(e+=" "+d),e},visit_angular:function(l){return l.value+"deg"},visit_directional:function(l){return"to "+l.value},visit_array:function(l){var t="",e=l.length;return l.forEach(function(d,b){t+=c.visit(d),b<e-1&&(t+=", ")}),t},visit_object:function(l){return l.width&&l.height?c.visit(l.width)+" "+c.visit(l.height):""},visit:function(l){if(!l)return"";var t="";if(l instanceof Array)return c.visit_array(l);if(typeof l=="object"&&!l.type)return c.visit_object(l);if(l.type){var e=c["visit_"+l.type];if(e)return e(l);throw Error("Missing visitor visit_"+l.type)}else throw Error("Invalid node.")}};return function(l){return c.visit(l)}})();var Ri=Ri||{};Ri.parse=(function(){var c={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,radianValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))rad/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,varColor:/^var/i,calcValue:/^calc/i,variableName:/^(--[a-zA-Z0-9-,\s\#]+)/,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,hslColor:/^hsl/i,hslaColor:/^hsla/i},l="";function t(U){var dc=new Error(l+": "+U);throw dc.source=l,dc}function e(){var U=d();return l.length>0&&t("Invalid input not EOF"),U}function d(){return R(b)}function b(){return o("linear-gradient",c.linearGradient,G)||o("repeating-linear-gradient",c.repeatingLinearGradient,G)||o("radial-gradient",c.radialGradient,a)||o("repeating-radial-gradient",c.repeatingRadialGradient,a)}function o(U,dc,j){return n(dc,function(oc){var Rc=j();return Rc&&(P(c.comma)||t("Missing comma before color stops")),{type:U,orientation:Rc,colorStops:R(W)}})}function n(U,dc){var j=P(U);if(j){P(c.startCall)||t("Missing (");var oc=dc(j);return P(c.endCall)||t("Missing )"),oc}}function G(){var U=X();if(U)return U;var dc=M("position-keyword",c.positionKeywords,1);return dc?{type:"directional",value:dc.value}:i()}function X(){return M("directional",c.sideOrCorner,1)}function i(){return M("angular",c.angleValue,1)||M("angular",c.radianValue,1)}function a(){var U,dc=m(),j;return dc&&(U=[],U.push(dc),j=l,P(c.comma)&&(dc=m(),dc?U.push(dc):l=j)),U}function m(){var U=x()||s();if(U)U.at=r();else{var dc=g();if(dc){U=dc;var j=r();j&&(U.at=j)}else{var oc=r();if(oc)U={type:"default-radial",at:oc};else{var Rc=H();Rc&&(U={type:"default-radial",at:Rc})}}}return U}function x(){var U=M("shape",/^(circle)/i,0);return U&&(U.style=k()||g()),U}function s(){var U=M("shape",/^(ellipse)/i,0);return U&&(U.style=H()||L()||g()),U}function g(){return M("extent-keyword",c.extentKeywords,1)}function r(){if(M("position",/^at/,0)){var U=H();return U||t("Missing positioning value"),U}}function H(){var U=Z();if(U.x||U.y)return{type:"position",value:U}}function Z(){return{x:L(),y:L()}}function R(U){var dc=U(),j=[];if(dc)for(j.push(dc);P(c.comma);)dc=U(),dc?j.push(dc):t("One extra comma");return j}function W(){var U=I();return U||t("Expected color definition"),U.length=L(),U}function I(){return p()||N()||J()||Y()||y()||C()||B()}function B(){return M("literal",c.literalColor,0)}function p(){return M("hex",c.hexColor,1)}function y(){return n(c.rgbColor,function(){return{type:"rgb",value:R(D)}})}function Y(){return n(c.rgbaColor,function(){return{type:"rgba",value:R(D)}})}function C(){return n(c.varColor,function(){return{type:"var",value:F()}})}function J(){return n(c.hslColor,function(){var U=P(c.percentageValue);U&&t("HSL hue value must be a number in degrees (0-360) or normalized (-360 to 360), not a percentage");var dc=D();P(c.comma);var j=P(c.percentageValue),oc=j?j[1]:null;P(c.comma),j=P(c.percentageValue);var Rc=j?j[1]:null;return(!oc||!Rc)&&t("Expected percentage value for saturation and lightness in HSL"),{type:"hsl",value:[dc,oc,Rc]}})}function N(){return n(c.hslaColor,function(){var U=D();P(c.comma);var dc=P(c.percentageValue),j=dc?dc[1]:null;P(c.comma),dc=P(c.percentageValue);var oc=dc?dc[1]:null;P(c.comma);var Rc=D();return(!j||!oc)&&t("Expected percentage value for saturation and lightness in HSLA"),{type:"hsla",value:[U,j,oc,Rc]}})}function S(){var U=P(c.percentageValue);return U?U[1]:null}function F(){return P(c.variableName)[1]}function D(){return P(c.number)[1]}function L(){return M("%",c.percentageValue,1)||v()||T()||k()}function v(){return M("position-keyword",c.positionKeywords,1)}function T(){return n(c.calcValue,function(){for(var U=1,dc=0;U>0&&dc<l.length;){var j=l.charAt(dc);j==="("?U++:j===")"&&U--,dc++}U>0&&t("Missing closing parenthesis in calc() expression");var oc=l.substring(0,dc-1);return Gc(dc-1),{type:"calc",value:oc}})}function k(){return M("px",c.pixelValue,1)||M("em",c.emValue,1)}function M(U,dc,j){var oc=P(dc);if(oc)return{type:U,value:oc[j]}}function P(U){var dc,j;return j=/^[\n\r\t\s]+/.exec(l),j&&Gc(j[0].length),dc=U.exec(l),dc&&Gc(dc[0].length),dc}function Gc(U){l=l.substr(U)}return function(U){return l=U.toString().trim(),l.endsWith(";")&&(l=l.slice(0,-1)),e()}})();qJ.parse=Ri.parse;qJ.stringify=Ri.stringify});var r0=dl((pal,pE)=>{pE.exports=window.wp.dom});var Cg=dl((mgl,xM)=>{xM.exports=window.wp.date});var $Y=dl((yWl,AP)=>{AP.exports=window.wp.escapeHtml});var kK=dl((Tpl,SK)=>{SK.exports=window.wp.htmlEntities});var n_=dl((IBl,eh)=>{function jrc(c,l){var t=l&&l.cache?l.cache:qrc,e=l&&l.serializer?l.serializer:_rc,d=l&&l.strategy?l.strategy:Mrc;return d(c,{cache:t,serializer:e})}function Erc(c){return c==null||typeof c=="number"||typeof c=="boolean"}function b_(c,l,t,e){var d=Erc(e)?e:t(e),b=l.get(d);return typeof b>"u"&&(b=c.call(this,e),l.set(d,b)),b}function o_(c,l,t){var e=Array.prototype.slice.call(arguments,3),d=t(e),b=l.get(d);return typeof b>"u"&&(b=c.apply(this,e),l.set(d,b)),b}function th(c,l,t,e,d){return t.bind(l,c,e,d)}function Mrc(c,l){var t=c.length===1?b_:o_;return th(c,this,t,l.cache.create(),l.serializer)}function Prc(c,l){var t=o_;return th(c,this,t,l.cache.create(),l.serializer)}function Krc(c,l){var t=b_;return th(c,this,t,l.cache.create(),l.serializer)}function _rc(){return JSON.stringify(arguments)}function TB(){this.cache=Object.create(null)}TB.prototype.has=function(c){return c in this.cache};TB.prototype.get=function(c){return this.cache[c]};TB.prototype.set=function(c,l){this.cache[c]=l};var qrc={create:function(){return new TB}};eh.exports=jrc;eh.exports.strategies={variadic:Prc,monadic:Krc}});var bq=dl((z1l,dq)=>{dq.exports=window.wp.hooks});var r$=dl((h2l,g$)=>{g$.exports=window.wp.privateApis});var qRc={};_G(qRc,{AlignmentMatrixControl:()=>i2,AnglePickerControl:()=>DI,Animate:()=>uO,Autocomplete:()=>oT,BaseControl:()=>Lc,BlockQuotation:()=>pt.BlockQuotation,BorderBoxControl:()=>OW,BorderControl:()=>Xb,BoxControl:()=>vJ,Button:()=>lc,ButtonGroup:()=>jW,Card:()=>KW,CardBody:()=>qW,CardDivider:()=>$W,CardFooter:()=>cp,CardHeader:()=>lp,CardMedia:()=>tp,CheckboxControl:()=>dp,Circle:()=>pt.Circle,ClipboardButton:()=>Qj,ColorIndicator:()=>to,ColorPalette:()=>BG,ColorPicker:()=>no,ComboboxControl:()=>yp,Composite:()=>zt,CustomGradientPicker:()=>g0,CustomSelectControl:()=>Yp,Dashicon:()=>Ms,DatePicker:()=>hg,DateTimePicker:()=>DM,Disabled:()=>EM,Draggable:()=>qM,DropZone:()=>l4,DropZoneProvider:()=>e4,Dropdown:()=>eo,DropdownMenu:()=>ub,DuotonePicker:()=>SY,DuotoneSwatch:()=>zY,ExternalLink:()=>Ep,Fill:()=>Lu,Flex:()=>Hl,FlexBlock:()=>Ge,FlexItem:()=>Tt,FocalPointPicker:()=>S4,FocusReturnProvider:()=>uq,FocusableIframe:()=>A4,FontSizePicker:()=>l6,FormFileUpload:()=>e6,FormToggle:()=>qp,FormTokenField:()=>lB,G:()=>pt.G,GradientPicker:()=>gp,Guide:()=>m6,GuidePage:()=>r6,HorizontalRule:()=>pt.HorizontalRule,Icon:()=>tl,IconButton:()=>I6,IsolatedEventContainer:()=>P8,KeyboardShortcuts:()=>p6,Line:()=>pt.Line,MenuGroup:()=>wg,MenuItem:()=>pn,MenuItemsChoice:()=>J6,Modal:()=>I0,NavigableMenu:()=>sn,Navigator:()=>XK,Notice:()=>JB,NoticeList:()=>YB,Panel:()=>gK,PanelBody:()=>ZK,PanelHeader:()=>FB,PanelRow:()=>WK,Path:()=>pt.Path,Placeholder:()=>VK,Polygon:()=>pt.Polygon,Popover:()=>rG,ProgressBar:()=>fK,QueryControls:()=>jK,RadioControl:()=>OB,RangeControl:()=>Fd,Rect:()=>pt.Rect,ResizableBox:()=>y_,ResponsiveWrapper:()=>V_,SVG:()=>pt.SVG,SandBox:()=>Y_,ScrollLock:()=>qI,SearchControl:()=>IB,SelectControl:()=>hd,Slot:()=>ju,SlotFillProvider:()=>TC,Snackbar:()=>qB,SnackbarList:()=>f_,Spinner:()=>H0,TabPanel:()=>z_,TabbableContainer:()=>tY,TextControl:()=>c5,TextHighlight:()=>L_,TextareaControl:()=>l5,TimePicker:()=>vg,Tip:()=>j_,ToggleControl:()=>t5,Toolbar:()=>gh,ToolbarButton:()=>lr,ToolbarDropdownMenu:()=>rh,ToolbarGroup:()=>er,ToolbarItem:()=>Cn,Tooltip:()=>ve,TreeSelect:()=>E0,VisuallyHidden:()=>Qc,__experimentalAlignmentMatrixControl:()=>i2,__experimentalApplyValueToSides:()=>CJ,__experimentalBorderBoxControl:()=>OW,__experimentalBorderControl:()=>Xb,__experimentalBoxControl:()=>vJ,__experimentalConfirmDialog:()=>rY,__experimentalDivider:()=>rg,__experimentalDropdownContentWrapper:()=>Gn,__experimentalElevation:()=>G0,__experimentalGrid:()=>an,__experimentalHStack:()=>jc,__experimentalHasSplitBorders:()=>gi,__experimentalHeading:()=>td,__experimentalInputControl:()=>qb,__experimentalInputControlPrefixWrapper:()=>sG,__experimentalInputControlSuffixWrapper:()=>wu,__experimentalIsDefinedBorder:()=>yJ,__experimentalIsEmptyBorder:()=>ao,__experimentalItem:()=>m0,__experimentalItemGroup:()=>x0,__experimentalNavigation:()=>U6,__experimentalNavigationBackButton:()=>xB,__experimentalNavigationGroup:()=>P6,__experimentalNavigationItem:()=>oP,__experimentalNavigationMenu:()=>ZP,__experimentalNavigatorBackButton:()=>nK,__experimentalNavigatorButton:()=>oK,__experimentalNavigatorProvider:()=>dK,__experimentalNavigatorScreen:()=>bK,__experimentalNavigatorToParentButton:()=>GK,__experimentalNumberControl:()=>Yt,__experimentalPaletteEdit:()=>DE,__experimentalParseQuantityAndUnitFromRawValue:()=>Kl,__experimentalRadio:()=>PK,__experimentalRadioGroup:()=>$K,__experimentalScrollable:()=>gg,__experimentalSpacer:()=>xt,__experimentalStyleProvider:()=>Uu,__experimentalSurface:()=>NJ,__experimentalText:()=>Ct,__experimentalToggleGroupControl:()=>Jd,__experimentalToggleGroupControlOption:()=>dn,__experimentalToggleGroupControlOptionIcon:()=>$u,__experimentalToolbarContext:()=>re,__experimentalToolsPanel:()=>u5,__experimentalToolsPanelContext:()=>Ui,__experimentalToolsPanelItem:()=>m5,__experimentalTreeGrid:()=>L8,__experimentalTreeGridCell:()=>Vh,__experimentalTreeGridItem:()=>Gr,__experimentalTreeGridRow:()=>yh,__experimentalTruncate:()=>$o,__experimentalUnitControl:()=>io,__experimentalUseCustomUnits:()=>ig,__experimentalUseNavigator:()=>QG,__experimentalUseSlot:()=>qs,__experimentalUseSlotFills:()=>wC,__experimentalVStack:()=>al,__experimentalView:()=>ic,__experimentalZStack:()=>Yh,__unstableAnimatePresence:()=>gu,__unstableComposite:()=>mY,__unstableCompositeGroup:()=>b7,__unstableCompositeItem:()=>o7,__unstableDisclosureContent:()=>vY,__unstableGetAnimateClassName:()=>EX,__unstableMotion:()=>dG,__unstableUseAutocompleteProps:()=>bT,__unstableUseCompositeState:()=>n7,__unstableUseNavigateRegions:()=>vh,createSlotFill:()=>ww,navigateRegions:()=>q8,privateApis:()=>B9,useBaseControlProps:()=>js,useNavigator:()=>QG,withConstrainedTabbing:()=>$8,withFallbackStyles:()=>eq,withFilters:()=>Gq,withFocusOutside:()=>pp,withFocusReturn:()=>aq,withNotices:()=>xq,withSpokenMessages:()=>ZB});var pt=u(kc(),1);function v9(c){var l,t,e="";if(typeof c=="string"||typeof c=="number")e+=c;else if(typeof c=="object")if(Array.isArray(c)){var d=c.length;for(l=0;l<d;l++)c[l]&&(t=v9(c[l]))&&(e&&(e+=" "),e+=t)}else for(t in c)c[t]&&(e&&(e+=" "),e+=t);return e}function qcc(){for(var c,l,t=0,e="",d=arguments.length;t<d;t++)(c=arguments[t])&&(l=v9(c))&&(e&&(e+=" "),e+=l);return e}var O=qcc;var OR=u(bc(),1),GO=u(ec(),1),XO=u(h(),1);function qG(...c){}function gy(c,l){if(c===l)return!0;if(!c||!l||typeof c!="object"||typeof l!="object")return!1;let t=Object.keys(c),e=Object.keys(l),{length:d}=t;if(e.length!==d)return!1;for(let b of t)if(c[b]!==l[b])return!1;return!0}function Rm(c,l){if($cc(c)){let t=clc(l)?l():l;return c(t)}return c}function $cc(c){return typeof c=="function"}function clc(c){return typeof c=="function"}function Re(c,l){return typeof Object.hasOwn=="function"?Object.hasOwn(c,l):Object.prototype.hasOwnProperty.call(c,l)}function ul(...c){return(...l)=>{for(let t of c)typeof t=="function"&&t(...l)}}function ry(c){return c.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Zy(c,l){let t={...c};for(let e of l)Re(t,e)&&delete t[e];return t}function Hy(c,l){let t={};for(let e of l)Re(c,e)&&(t[e]=c[e]);return t}function Im(c){return c}function gc(c,l){if(!c)throw typeof l!="string"?new Error("Invariant failed"):new Error(l)}function Ry(c){return Object.keys(c)}function Vb(c,...l){let t=typeof c=="function"?c(...l):c;return t==null?!1:!t}function tt(c){return c.disabled||c["aria-disabled"]===!0||c["aria-disabled"]==="true"}function nl(c){let l={};for(let t in c)c[t]!==void 0&&(l[t]=c[t]);return l}function ac(...c){for(let l of c)if(l!==void 0)return l}var z9=u(E(),1);function Wm(c,l){typeof c=="function"?c(l):c&&(c.current=l)}function llc(c){return!c||!(0,z9.isValidElement)(c)?!1:"ref"in c.props||"ref"in c}function A9(c){return llc(c)?{...c.props}.ref||c.ref:null}function O9(c,l){let t={...c};for(let e in l){if(!Re(l,e))continue;if(e==="className"){let b="className";t[b]=c[b]?`${c[b]} ${l[b]}`:l[b];continue}if(e==="style"){let b="style";t[b]=c[b]?{...c[b],...l[b]}:l[b];continue}let d=l[e];if(typeof d=="function"&&e.startsWith("on")){let b=c[e];if(typeof b=="function"){t[e]=(...o)=>{d(...o),b(...o)};continue}}t[e]=d}return t}var vo=tlc();function tlc(){var c;return typeof window<"u"&&!!((c=window.document)!=null&&c.createElement)}function Ac(c){return c?"self"in c?c.document:c.ownerDocument||document:document}function pm(c){return c?"self"in c?c.self:Ac(c).defaultView||window:self}function Te(c,l=!1){var t;let{activeElement:e}=Ac(c);if(!e?.nodeName)return null;if(Bm(e)&&((t=e.contentDocument)!=null&&t.body))return Te(e.contentDocument.body,l);if(l){let d=e.getAttribute("aria-activedescendant");if(d){let b=Ac(e).getElementById(d);if(b)return b}}return e}function $c(c,l){return c===l||c.contains(l)}function Bm(c){return c.tagName==="IFRAME"}function Ie(c){let l=c.tagName.toLowerCase();return l==="button"?!0:l==="input"&&c.type?elc.indexOf(c.type)!==-1:!1}var elc=["button","color","file","image","reset","submit"];function ym(c){if(typeof c.checkVisibility=="function")return c.checkVisibility();let l=c;return l.offsetWidth>0||l.offsetHeight>0||c.getClientRects().length>0}function _t(c){try{let l=c instanceof HTMLInputElement&&c.selectionStart!==null,t=c.tagName==="TEXTAREA";return l||t||!1}catch{return!1}}function Vm(c){return c.isContentEditable||_t(c)}function Iy(c){if(_t(c))return c.value;if(c.isContentEditable){let l=Ac(c).createRange();return l.selectNodeContents(c),l.toString()}return""}function Wy(c){let l=0,t=0;if(_t(c))l=c.selectionStart||0,t=c.selectionEnd||0;else if(c.isContentEditable){let e=Ac(c).getSelection();if(e?.rangeCount&&e.anchorNode&&$c(c,e.anchorNode)&&e.focusNode&&$c(c,e.focusNode)){let d=e.getRangeAt(0),b=d.cloneRange();b.selectNodeContents(c),b.setEnd(d.startContainer,d.startOffset),l=b.toString().length,b.setEnd(d.endContainer,d.endOffset),t=b.toString().length}}return{start:l,end:t}}function kn(c,l){let t=["dialog","menu","listbox","tree","grid"],e=c?.getAttribute("role");return e&&t.indexOf(e)!==-1?e:l}function $G(c,l){var t;let e={menu:"menuitem",listbox:"option",tree:"treeitem"},d=kn(c);return d&&(t=e[d])!=null?t:l}function Zr(c){if(!c)return null;let l=t=>t==="auto"||t==="scroll";if(c.clientHeight&&c.scrollHeight>c.clientHeight){let{overflowY:t}=getComputedStyle(c);if(l(t))return c}else if(c.clientWidth&&c.scrollWidth>c.clientWidth){let{overflowX:t}=getComputedStyle(c);if(l(t))return c}return Zr(c.parentElement)||document.scrollingElement||document.body}function Cm(c,l){let t=c.map((d,b)=>[b,d]),e=!1;return t.sort(([d,b],[o,n])=>{let G=l(b),X=l(n);return G===X||!G||!X?0:dlc(G,X)?(d>o&&(e=!0),-1):(d<o&&(e=!0),1)}),e?t.map(([d,b])=>b):c}function dlc(c,l){return!!(l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_PRECEDING)}function Q9(){return vo&&!!navigator.maxTouchPoints}function _i(){return vo?/mac|iphone|ipad|ipod/i.test(navigator.platform):!1}function cX(){return vo&&_i()&&/apple/i.test(navigator.vendor)}function py(){return vo&&/firefox\//i.test(navigator.userAgent)}function By(){return vo&&navigator.platform.startsWith("Mac")&&!Q9()}function Hr(c){return!!(c.currentTarget&&!$c(c.currentTarget,c.target))}function Ul(c){return c.target===c.currentTarget}function Rr(c){let l=c.currentTarget;if(!l)return!1;let t=_i();if(t&&!c.metaKey||!t&&!c.ctrlKey)return!1;let e=l.tagName.toLowerCase();return e==="a"||e==="button"&&l.type==="submit"||e==="input"&&l.type==="submit"}function Ir(c){let l=c.currentTarget;if(!l)return!1;let t=l.tagName.toLowerCase();return c.altKey?t==="a"||t==="button"&&l.type==="submit"||t==="input"&&l.type==="submit":!1}function w9(c,l,t){let e=new Event(l,t);return c.dispatchEvent(e)}function lX(c,l){let t=new FocusEvent("blur",l),e=c.dispatchEvent(t),d={...l,bubbles:!0};return c.dispatchEvent(new FocusEvent("focusout",d)),e}function T9(c,l,t){let e=new KeyboardEvent(l,t);return c.dispatchEvent(e)}function yy(c,l){let t=new MouseEvent("click",l);return c.dispatchEvent(t)}function zn(c,l){let t=l||c.currentTarget,e=c.relatedTarget;return!e||!$c(t,e)}function Cb(c,l,t,e){let b=(n=>{if(e){let X=setTimeout(n,e);return()=>clearTimeout(X)}let G=requestAnimationFrame(n);return()=>cancelAnimationFrame(G)})(()=>{c.removeEventListener(l,o,!0),t()}),o=()=>{b(),t()};return c.addEventListener(l,o,{once:!0,capture:!0}),b}function Cl(c,l,t,e=window){let d=[];try{e.document.addEventListener(c,l,t);for(let o of Array.from(e.frames))d.push(Cl(c,l,t,o))}catch{}return()=>{try{e.document.removeEventListener(c,l,t)}catch{}for(let o of d)o()}}var blc=u(E(),1),sl=u(E(),1),Vy={...blc},D9=Vy.useId,FIc=Vy.useDeferredValue,U9=Vy.useInsertionEffect,Sc=vo?sl.useLayoutEffect:sl.useEffect;function Jm(c){let[l]=(0,sl.useState)(c);return l}function pr(c){let l=(0,sl.useRef)(c);return Sc(()=>{l.current=c}),l}function nc(c){let l=(0,sl.useRef)(()=>{throw new Error("Cannot call an event handler while rendering.")});return U9?U9(()=>{l.current=c}):l.current=c,(0,sl.useCallback)((...t)=>{var e;return(e=l.current)==null?void 0:e.call(l,...t)},[])}function Br(c){let[l,t]=(0,sl.useState)(null);return Sc(()=>{if(l==null||!c)return;let e=null;return c(d=>(e=d,l)),()=>{c(e)}},[l,c]),[l,t]}function pc(...c){return(0,sl.useMemo)(()=>{if(c.some(Boolean))return l=>{for(let t of c)Wm(t,l)}},c)}function bl(c){if(D9){let e=D9();return c||e}let[l,t]=(0,sl.useState)(c);return Sc(()=>{if(c||l)return;let e=Math.random().toString(36).slice(2,8);t(`id-${e}`)},[c,l]),c||l}function An(c,l){let t=b=>{if(typeof b=="string")return b},[e,d]=(0,sl.useState)(()=>t(l));return Sc(()=>{let b=c&&"current"in c?c.current:c;d(b?.tagName.toLowerCase()||t(l))},[c,l]),e}function M9(c,l,t){let e=Jm(t),[d,b]=(0,sl.useState)(e);return(0,sl.useEffect)(()=>{let o=c&&"current"in c?c.current:c;if(!o)return;let n=()=>{let X=o.getAttribute(l);b(X??e)},G=new MutationObserver(n);return G.observe(o,{attributeFilter:[l]}),n(),()=>G.disconnect()},[c,l,e]),d}function qt(c,l){let t=(0,sl.useRef)(!1);(0,sl.useEffect)(()=>{if(t.current)return c();t.current=!0},l),(0,sl.useEffect)(()=>()=>{t.current=!1},[])}function qi(){return(0,sl.useReducer)(()=>[],[])}function cl(c){return nc(typeof c=="function"?c:()=>c)}function Wc(c,l,t=[]){let e=(0,sl.useCallback)(d=>(c.wrapElement&&(d=c.wrapElement(d)),l(d)),[...t,c.wrapElement]);return{...c,wrapElement:e}}function $i(c=!1,l){let[t,e]=(0,sl.useState)(null);return{portalRef:pc(e,l),portalNode:t,domReady:!c||t}}function yr(c,l,t){let e=c.onLoadedMetadataCapture,d=(0,sl.useMemo)(()=>Object.assign(()=>{},{...e,[l]:t}),[e,l,t]);return[e?.[l],{onLoadedMetadataCapture:d}]}var L9=!1;function ca(){return(0,sl.useEffect)(()=>{L9||(Cl("mousemove",nlc,!0),Cl("mousedown",Wr,!0),Cl("mouseup",Wr,!0),Cl("keydown",Wr,!0),Cl("scroll",Wr,!0),L9=!0)},[]),nc(()=>Cy)}var Cy=!1,j9=0,E9=0;function olc(c){let l=c.movementX||c.screenX-j9,t=c.movementY||c.screenY-E9;return j9=c.screenX,E9=c.screenY,l||t||!1}function nlc(c){olc(c)&&(Cy=!0)}function Wr(){Cy=!1}var $t=u(E(),1),tX=u(V(),1);function K(c){let l=$t.forwardRef((t,e)=>c({...t,ref:e}));return l.displayName=c.displayName||c.name,l}function Ll(c,l){return $t.memo(c,l)}function _(c,l){let{wrapElement:t,render:e,...d}=l,b=pc(l.ref,A9(e)),o;if($t.isValidElement(e)){let n={...e.props,ref:b};o=$t.cloneElement(e,O9(d,n))}else e?o=e(d):o=(0,tX.jsx)(c,{...d});return t?t(o):o}function q(c){let l=(t={})=>c(t);return l.displayName=c.name,l}function ol(c=[],l=[]){let t=$t.createContext(void 0),e=$t.createContext(void 0),d=()=>$t.useContext(t),b=(X=!1)=>{let i=$t.useContext(e),a=d();return X?i:i||a},o=()=>{let X=$t.useContext(e),i=d();if(!(X&&X===i))return i},n=X=>c.reduceRight((i,a)=>(0,tX.jsx)(a,{...X,children:i}),(0,tX.jsx)(t.Provider,{...X}));return{context:t,scopedContext:e,useContext:d,useScopedContext:b,useProviderContext:o,ContextProvider:n,ScopedContextProvider:X=>(0,tX.jsx)(n,{...X,children:l.reduceRight((i,a)=>(0,tX.jsx)(a,{...X,children:i}),(0,tX.jsx)(e.Provider,{...X}))})}}var Ym=ol(),K9=Ym.useContext,AIc=Ym.useScopedContext,OIc=Ym.useProviderContext,_9=Ym.ContextProvider,q9=Ym.ScopedContextProvider;var Jy=u(E(),1),hm=ol([_9],[q9]),Ud=hm.useContext,DIc=hm.useScopedContext,$9=hm.useProviderContext,St=hm.ContextProvider,We=hm.ScopedContextProvider,cF=(0,Jy.createContext)(void 0),Vr=(0,Jy.createContext)(void 0);var Fm=ol([St],[We]),Glc=Fm.useContext,lF=Fm.useScopedContext,Cr=Fm.useProviderContext,EIc=Fm.ContextProvider,Jr=Fm.ScopedContextProvider;var Xlc={id:null};function tF(c,l,t=!1){let e=c.findIndex(d=>d.id===l);return[...c.slice(e+1),...t?[Xlc]:[],...c.slice(0,e)]}function eF(c,l){return c.find(t=>l?!t.disabled&&t.id!==l:!t.disabled)}function Jb(c,l){return l&&c.item(l)||null}function dF(c){let l=[];for(let t of c){let e=l.find(d=>{var b;return((b=d[0])==null?void 0:b.rowId)===t.rowId});e?e.push(t):l.push([t])}return l}function bF(c,l=!1){if(_t(c))c.setSelectionRange(l?c.value.length:0,c.value.length);else if(c.isContentEditable){let t=Ac(c).getSelection();t?.selectAllChildren(c),l&&t?.collapseToEnd()}}var Yy=Symbol("FOCUS_SILENTLY");function oF(c){c[Yy]=!0,c.focus({preventScroll:!0})}function nF(c){let l=c[Yy];return delete c[Yy],l}function eX(c,l,t){if(!l||l===t)return!1;let e=c.item(l.id);return!(!e||t&&e.element===t)}var Yr=u(E(),1),ilc="div",vm=q(function({store:l,shouldRegisterItem:t=!0,getItem:e=Im,element:d,...b}){let o=K9();l=l||o;let n=bl(b.id),G=(0,Yr.useRef)(d);return(0,Yr.useEffect)(()=>{let X=G.current;if(!n||!X||!t)return;let i=e({id:n,element:X});return l?.renderItem(i)},[n,t,e,l]),b={...b,ref:pc(G,b.ref)},nl(b)}),lWc=K(function(l){let t=vm(l);return _(ilc,t)});var GF=u(E(),1),hr=(0,GF.createContext)(!0);var Fr="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function alc(c){return Number.parseInt(c.getAttribute("tabindex")||"0",10)<0}function De(c){return!(!c.matches(Fr)||!ym(c)||c.closest("[inert]"))}function la(c){if(!De(c)||alc(c))return!1;if(!("form"in c)||!c.form||c.checked||c.type!=="radio")return!0;let l=c.form.elements.namedItem(c.name);if(!l||!("length"in l))return!0;let t=Te(c);return!t||t===c||!("form"in t)||t.form!==c.form||t.name!==c.name}function hy(c,l){let t=Array.from(c.querySelectorAll(Fr));l&&t.unshift(c);let e=t.filter(De);return e.forEach((d,b)=>{var o;if(!Bm(d))return;let n=(o=d.contentDocument)==null?void 0:o.body;n&&e.splice(b,1,...hy(n))}),e}function dX(c,l,t){let e=Array.from(c.querySelectorAll(Fr)),d=e.filter(la);return l&&la(c)&&d.unshift(c),d.forEach((b,o)=>{var n;if(!Bm(b))return;let G=(n=b.contentDocument)==null?void 0:n.body;if(!G)return;let X=dX(G,!1,t);d.splice(o,1,...X)}),!d.length&&t?e:d}function XF(c,l,t){let[e]=dX(c,l,t);return e||null}function ulc(c,l,t,e){let d=Te(c),b=hy(c,l),o=b.indexOf(d),n=b.slice(o+1);return n.find(la)||(t?b.find(la):null)||(e?n[0]:null)||null}function vr(c,l){return ulc(document.body,!1,c,l)}function mlc(c,l,t,e){let d=Te(c),b=hy(c,l).reverse(),o=b.indexOf(d),n=b.slice(o+1);return n.find(la)||(t?b.find(la):null)||(e?n[0]:null)||null}function Fy(c,l){return mlc(document.body,!1,c,l)}function iF(c){for(;c&&!De(c);)c=c.closest(Fr);return c||null}function bX(c){let l=Te(c);if(!l)return!1;if(l===c)return!0;let t=l.getAttribute("aria-activedescendant");return t?t===c.id:!1}function ad(c){let l=Te(c);if(!l)return!1;if($c(c,l))return!0;let t=l.getAttribute("aria-activedescendant");return!t||!("id"in c)?!1:t===c.id?!0:!!c.querySelector(`#${CSS.escape(t)}`)}function Nr(c){!ad(c)&&De(c)&&c.focus()}function xlc(c){var l;let t=(l=c.getAttribute("tabindex"))!=null?l:"";c.setAttribute("data-tabindex",t),c.setAttribute("tabindex","-1")}function aF(c,l){let t=dX(c,l);for(let e of t)xlc(e)}function uF(c){let l=c.querySelectorAll("[data-tabindex]"),t=e=>{let d=e.getAttribute("data-tabindex");e.removeAttribute("data-tabindex"),d?e.setAttribute("tabindex",d):e.removeAttribute("tabindex")};c.hasAttribute("data-tabindex")&&t(c);for(let e of l)t(e)}function mF(c,l){"scrollIntoView"in c?(c.focus({preventScroll:!0}),c.scrollIntoView({block:"nearest",inline:"nearest",...l})):c.focus()}var Ue=u(E(),1),slc="div",xF=cX(),glc=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"],ZF=Symbol("safariFocusAncestor");function HF(c){return c?!!c[ZF]:!1}function sF(c,l){c&&(c[ZF]=l)}function rlc(c){let{tagName:l,readOnly:t,type:e}=c;return l==="TEXTAREA"&&!t||l==="SELECT"&&!t?!0:l==="INPUT"&&!t?glc.includes(e):!!(c.isContentEditable||c.getAttribute("role")==="combobox"&&c.dataset.name)}function Zlc(c){return"labels"in c?c.labels:null}function gF(c){return c.tagName.toLowerCase()==="input"&&c.type?c.type==="radio"||c.type==="checkbox":!1}function Hlc(c){return c?c==="button"||c==="summary"||c==="input"||c==="select"||c==="textarea"||c==="a":!0}function Rlc(c){return c?c==="button"||c==="input"||c==="select"||c==="textarea":!0}function Ilc(c,l,t,e,d){return c?l?t&&!e?-1:void 0:t?d:d||0:d}function vy(c,l){return nc(t=>{c?.(t),!t.defaultPrevented&&l&&(t.stopPropagation(),t.preventDefault())})}var rF=!1,Ny=!0;function Wlc(c){let l=c.target;l&&"hasAttribute"in l&&(l.hasAttribute("data-focus-visible")||(Ny=!1))}function plc(c){c.metaKey||c.ctrlKey||c.altKey||(Ny=!0)}var Ld=q(function({focusable:l=!0,accessibleWhenDisabled:t,autoFocus:e,onFocusVisible:d,...b}){let o=(0,Ue.useRef)(null);(0,Ue.useEffect)(()=>{l&&(rF||(Cl("mousedown",Wlc,!0),Cl("keydown",plc,!0),rF=!0))},[l]),xF&&(0,Ue.useEffect)(()=>{if(!l)return;let F=o.current;if(!F||!gF(F))return;let D=Zlc(F);if(!D)return;let L=()=>queueMicrotask(()=>F.focus());for(let v of D)v.addEventListener("mouseup",L);return()=>{for(let v of D)v.removeEventListener("mouseup",L)}},[l]);let n=l&&tt(b),G=!!n&&!t,[X,i]=(0,Ue.useState)(!1);(0,Ue.useEffect)(()=>{l&&G&&X&&i(!1)},[l,G,X]),(0,Ue.useEffect)(()=>{if(!l||!X)return;let F=o.current;if(!F||typeof IntersectionObserver>"u")return;let D=new IntersectionObserver(()=>{De(F)||i(!1)});return D.observe(F),()=>D.disconnect()},[l,X]);let a=vy(b.onKeyPressCapture,n),m=vy(b.onMouseDownCapture,n),x=vy(b.onClickCapture,n),s=b.onMouseDown,g=nc(F=>{if(s?.(F),F.defaultPrevented||!l)return;let D=F.currentTarget;if(!xF||Hr(F)||!Ie(D)&&!gF(D))return;let L=!1,v=()=>{L=!0},T={capture:!0,once:!0};D.addEventListener("focusin",v,T);let k=iF(D.parentElement);sF(k,!0),Cb(D,"mouseup",()=>{D.removeEventListener("focusin",v,!0),sF(k,!1),!L&&Nr(D)})}),r=(F,D)=>{if(D&&(F.currentTarget=D),!l)return;let L=F.currentTarget;L&&bX(L)&&(d?.(F),!F.defaultPrevented&&(L.dataset.focusVisible="true",i(!0)))},H=b.onKeyDownCapture,Z=nc(F=>{if(H?.(F),F.defaultPrevented||!l||X||F.metaKey||F.altKey||F.ctrlKey||!Ul(F))return;let D=F.currentTarget;Cb(D,"focusout",()=>r(F,D))}),R=b.onFocusCapture,W=nc(F=>{if(R?.(F),F.defaultPrevented||!l)return;if(!Ul(F)){i(!1);return}let D=F.currentTarget,L=()=>r(F,D);Ny||rlc(F.target)?Cb(F.target,"focusout",L):i(!1)}),I=b.onBlur,B=nc(F=>{I?.(F),l&&zn(F)&&(F.currentTarget.removeAttribute("data-focus-visible"),i(!1))}),p=(0,Ue.useContext)(hr),y=nc(F=>{l&&e&&F&&p&&queueMicrotask(()=>{bX(F)||De(F)&&F.focus()})}),Y=An(o),C=l&&Hlc(Y),J=l&&Rlc(Y),N=b.style,S=(0,Ue.useMemo)(()=>G?{pointerEvents:"none",...N}:N,[G,N]);return b={"data-focus-visible":l&&X||void 0,"data-autofocus":e||void 0,"aria-disabled":n||void 0,...b,ref:pc(o,y,b.ref),style:S,tabIndex:Ilc(l,G,C,J,b.tabIndex),disabled:J&&G?!0:void 0,contentEditable:n?void 0:b.contentEditable,onKeyPressCapture:a,onClickCapture:x,onMouseDownCapture:m,onMouseDown:g,onKeyDownCapture:Z,onFocusCapture:W,onBlur:B},nl(b)}),gWc=K(function(l){let t=Ld(l);return _(slc,t)});var On=u(E(),1),Blc="button";function RF(c){if(!c.isTrusted)return!1;let l=c.currentTarget;return c.key==="Enter"?Ie(l)||l.tagName==="SUMMARY"||l.tagName==="A":c.key===" "?Ie(l)||l.tagName==="SUMMARY"||l.tagName==="INPUT"||l.tagName==="SELECT":!1}var ylc=Symbol("command"),oX=q(function({clickOnEnter:l=!0,clickOnSpace:t=!0,...e}){let d=(0,On.useRef)(null),[b,o]=(0,On.useState)(!1);(0,On.useEffect)(()=>{d.current&&o(Ie(d.current))},[]);let[n,G]=(0,On.useState)(!1),X=(0,On.useRef)(!1),i=tt(e),[a,m]=yr(e,ylc,!0),x=e.onKeyDown,s=nc(H=>{x?.(H);let Z=H.currentTarget;if(H.defaultPrevented||a||i||!Ul(H)||_t(Z)||Z.isContentEditable)return;let R=l&&H.key==="Enter",W=t&&H.key===" ",I=H.key==="Enter"&&!l,B=H.key===" "&&!t;if(I||B){H.preventDefault();return}if(R||W){let p=RF(H);if(R){if(!p){H.preventDefault();let{view:y,...Y}=H,C=()=>yy(Z,Y);py()?Cb(Z,"keyup",C):queueMicrotask(C)}}else W&&(X.current=!0,p||(H.preventDefault(),G(!0)))}}),g=e.onKeyUp,r=nc(H=>{if(g?.(H),H.defaultPrevented||a||i||H.metaKey)return;let Z=t&&H.key===" ";if(X.current&&Z&&(X.current=!1,!RF(H))){H.preventDefault(),G(!1);let R=H.currentTarget,{view:W,...I}=H;queueMicrotask(()=>yy(R,I))}});return e={"data-active":n||void 0,type:b?"button":void 0,...m,...e,ref:pc(d,e.ref),onKeyDown:s,onKeyUp:r},e=Ld(e),e}),yWc=K(function(l){let t=oX(l);return _(Blc,t)});function nX(c,l){let t=c.__unstableInternals;return gc(t,"Invalid store"),t[l]}function Gl(c,...l){let t=c,e=t,d=Symbol(),b=qG,o=new Set,n=new Set,G=new Set,X=new Set,i=new Set,a=new WeakMap,m=new WeakMap,x=y=>(G.add(y),()=>G.delete(y)),s=()=>{let y=o.size,Y=Symbol();o.add(Y);let C=()=>{o.delete(Y),!o.size&&b()};if(y)return C;let J=Ry(t).map(F=>ul(...l.map(D=>{var L;let v=(L=D?.getState)==null?void 0:L.call(D);if(v&&Re(v,F))return Kc(D,[F],T=>{B(F,T[F],!0)})}))),N=[];for(let F of G)N.push(F());let S=l.map(ta);return b=ul(...J,...N,...S),C},g=(y,Y,C=X)=>(C.add(Y),m.set(Y,y),()=>{var J;(J=a.get(Y))==null||J(),a.delete(Y),m.delete(Y),C.delete(Y)}),r=(y,Y)=>g(y,Y),H=(y,Y)=>(a.set(Y,Y(t,t)),g(y,Y)),Z=(y,Y)=>(a.set(Y,Y(t,e)),g(y,Y,i)),R=y=>Gl(Hy(t,y),p),W=y=>Gl(Zy(t,y),p),I=()=>t,B=(y,Y,C=!1)=>{var J;if(!Re(t,y))return;let N=Rm(Y,t[y]);if(N===t[y])return;if(!C)for(let L of l)(J=L?.setState)==null||J.call(L,y,N);let S=t;t={...t,[y]:N};let F=Symbol();d=F,n.add(y);let D=(L,v,T)=>{var k;let M=m.get(L),P=Gc=>T?T.has(Gc):Gc===y;(!M||M.some(P))&&((k=a.get(L))==null||k(),a.set(L,L(t,v)))};for(let L of X)D(L,S);queueMicrotask(()=>{if(d!==F)return;let L=t;for(let v of i)D(v,e,n);e=L,n.clear()})},p={getState:I,setState:B,__unstableInternals:{setup:x,init:s,subscribe:r,sync:H,batch:Z,pick:R,omit:W}};return p}function Rl(c,...l){if(c)return nX(c,"setup")(...l)}function ta(c,...l){if(c)return nX(c,"init")(...l)}function ea(c,...l){if(c)return nX(c,"subscribe")(...l)}function Kc(c,...l){if(c)return nX(c,"sync")(...l)}function Yb(c,...l){if(c)return nX(c,"batch")(...l)}function ud(c,...l){if(c)return nX(c,"omit")(...l)}function fy(c,...l){if(c)return nX(c,"pick")(...l)}function jd(...c){var l;let t={};for(let d of c){let b=(l=d?.getState)==null?void 0:l.call(d);b&&Object.assign(t,b)}let e=Gl(t,...c);return Object.assign({},...c,e)}var hb=u(E(),1),yF=u(BF(),1),{useSyncExternalStore:VF}=yF.default,CF=()=>()=>{};function xc(c,l=Im){let t=hb.useCallback(d=>c?ea(c,null,d):CF(),[c]),e=()=>{let d=typeof l=="string"?l:null,b=typeof l=="function"?l:null,o=c?.getState();if(b)return b(o);if(o&&d&&Re(o,d))return o[d]};return VF(t,e,e)}function Nm(c,l){let t=hb.useRef({}),e=hb.useCallback(b=>c?ea(c,null,b):CF(),[c]),d=()=>{let b=c?.getState(),o=!1,n=t.current;for(let G in l){let X=l[G];if(typeof X=="function"){let i=X(b);i!==n[G]&&(n[G]=i,o=!0)}if(typeof X=="string"){if(!b||!Re(b,X))continue;let i=b[X];i!==n[G]&&(n[G]=i,o=!0)}}return o&&(t.current={...n}),t.current};return VF(e,d,d)}function zc(c,l,t,e){let d=Re(l,t)?l[t]:void 0,b=e?l[e]:void 0,o=pr({value:d,setValue:b});Sc(()=>Kc(c,[t],(n,G)=>{let{value:X,setValue:i}=o.current;i&&n[t]!==G[t]&&n[t]!==X&&i(n[t])}),[c,t]),Sc(()=>{if(d!==void 0)return c.setState(t,d),Yb(c,[t],()=>{d!==void 0&&c.setState(t,d)})})}function Il(c,l){let[t,e]=hb.useState(()=>c(l));Sc(()=>ta(t),[t]);let d=hb.useCallback(n=>xc(t,n),[t]),b=hb.useMemo(()=>({...t,useState:d}),[t,d]),o=nc(()=>{e(n=>c({...l,...n.getState()}))});return[b,o]}var No=u(E(),1),YF=u(V(),1),Slc="button";function klc(c){return Vm(c)?!0:c.tagName==="INPUT"&&!Ie(c)}function zlc(c,l=!1){let t=c.clientHeight,{top:e}=c.getBoundingClientRect(),d=Math.max(t*.875,t-40)*1.5,b=l?t-d+e:d+e;return c.tagName==="HTML"?b+c.scrollTop:b}function Alc(c,l=!1){let{top:t}=c.getBoundingClientRect();return l?t+c.clientHeight:t}function JF(c,l,t,e=!1){var d;if(!l||!t)return;let{renderedItems:b}=l.getState(),o=Zr(c);if(!o)return;let n=zlc(o,e),G,X;for(let i=0;i<b.length;i+=1){let a=G;if(G=t(i),!G)break;if(G===a)continue;let m=(d=Jb(l,G))==null?void 0:d.element;if(!m)continue;let s=Alc(m,e)-n,g=Math.abs(s);if(e&&s<=0||!e&&s>=0){X!==void 0&&X<g&&(G=a);break}X=g}return G}function Olc(c,l){return Ul(c)?!1:eX(l,c.target)}var md=q(function({store:l,rowId:t,preventScrollOnKeyDown:e=!1,moveOnKeyPress:d=!0,tabbable:b=!1,getItem:o,"aria-setsize":n,"aria-posinset":G,...X}){let i=Ud();l=l||i;let a=bl(X.id),m=(0,No.useRef)(null),x=(0,No.useContext)(Vr),g=tt(X)&&!X.accessibleWhenDisabled,{rowId:r,baseElement:H,isActiveItem:Z,ariaSetSize:R,ariaPosInSet:W,isTabbable:I}=Nm(l,{rowId(v){if(t)return t;if(v&&x?.baseElement&&x.baseElement===v.baseElement)return x.id},baseElement(v){return v?.baseElement||void 0},isActiveItem(v){return!!v&&v.activeId===a},ariaSetSize(v){if(n!=null)return n;if(v&&x?.ariaSetSize&&x.baseElement===v.baseElement)return x.ariaSetSize},ariaPosInSet(v){if(G!=null)return G;if(!v||!x?.ariaPosInSet||x.baseElement!==v.baseElement)return;let T=v.renderedItems.filter(k=>k.rowId===r);return x.ariaPosInSet+T.findIndex(k=>k.id===a)},isTabbable(v){if(!v?.renderedItems.length)return!0;if(v.virtualFocus)return!1;if(b)return!0;if(v.activeId===null)return!1;let T=l?.item(v.activeId);return T?.disabled||!T?.element?!0:v.activeId===a}}),B=(0,No.useCallback)(v=>{var T;let k={...v,id:a||v.id,rowId:r,disabled:!!g,children:(T=v.element)==null?void 0:T.textContent};return o?o(k):k},[a,r,g,o]),p=X.onFocus,y=(0,No.useRef)(!1),Y=nc(v=>{if(p?.(v),v.defaultPrevented||Hr(v)||!a||!l||Olc(v,l))return;let{virtualFocus:T,baseElement:k}=l.getState();if(l.setActiveId(a),Vm(v.currentTarget)&&bF(v.currentTarget),!T||!Ul(v)||klc(v.currentTarget)||!k?.isConnected)return;cX()&&v.currentTarget.hasAttribute("data-autofocus")&&v.currentTarget.scrollIntoView({block:"nearest",inline:"nearest"}),y.current=!0,v.relatedTarget===k||eX(l,v.relatedTarget)?oF(k):k.focus()}),C=X.onBlurCapture,J=nc(v=>{if(C?.(v),v.defaultPrevented)return;let T=l?.getState();T?.virtualFocus&&y.current&&(y.current=!1,v.preventDefault(),v.stopPropagation())}),N=X.onKeyDown,S=cl(e),F=cl(d),D=nc(v=>{if(N?.(v),v.defaultPrevented||!Ul(v)||!l)return;let{currentTarget:T}=v,k=l.getState(),M=l.item(a),P=!!M?.rowId,Gc=k.orientation!=="horizontal",U=k.orientation!=="vertical",dc=()=>!!(P||U||!k.baseElement||!_t(k.baseElement)),oc={ArrowUp:(P||Gc)&&l.up,ArrowRight:(P||U)&&l.next,ArrowDown:(P||Gc)&&l.down,ArrowLeft:(P||U)&&l.previous,Home:()=>{if(dc())return!P||v.ctrlKey?l?.first():l?.previous(-1)},End:()=>{if(dc())return!P||v.ctrlKey?l?.last():l?.next(-1)},PageUp:()=>JF(T,l,l?.up,!0),PageDown:()=>JF(T,l,l?.down)}[v.key];if(oc){if(Vm(T)){let Vc=Wy(T),Mc=U&&v.key==="ArrowLeft",Dl=U&&v.key==="ArrowRight",xl=Gc&&v.key==="ArrowUp",sc=Gc&&v.key==="ArrowDown";if(Dl||sc){let{length:Pc}=Iy(T);if(Vc.end!==Pc)return}else if((Mc||xl)&&Vc.start!==0)return}let Rc=oc();if(S(v)||Rc!==void 0){if(!F(v))return;v.preventDefault(),l.move(Rc)}}}),L=(0,No.useMemo)(()=>({id:a,baseElement:H}),[a,H]);return X=Wc(X,v=>(0,YF.jsx)(cF.Provider,{value:L,children:v}),[L]),X={id:a,"data-active-item":Z||void 0,...X,ref:pc(m,X.ref),tabIndex:I?X.tabIndex:-1,onFocus:Y,onBlurCapture:J,onKeyDown:D},X=oX(X),X=vm({store:l,...X,getItem:B,shouldRegisterItem:a?X.shouldRegisterItem:!1}),nl({...X,"aria-setsize":R,"aria-posinset":W})}),Qn=Ll(K(function(l){let t=md(l);return _(Slc,t)}));var hF=u(E(),1),ky=u(V(),1),Qlc="button",wlc=q(function({store:l,getItem:t,...e}){var d;let b=lF();l=l||b,gc(l,!1);let o=bl(),n=e.id||o,G=tt(e),X=(0,hF.useCallback)(W=>{let I={...W,dimmed:G};return t?t(I):I},[G,t]),i=e.onClick,a=nc(W=>{i?.(W),!W.defaultPrevented&&l?.setSelectedId(n)}),m=l.panels.useState(W=>{var I;return(I=W.items.find(B=>B.tabId===n))==null?void 0:I.id}),x=o?e.shouldRegisterItem:!1,s=l.useState(W=>!!n&&W.activeId===n),g=l.useState(W=>!!n&&W.selectedId===n),r=l.useState(W=>!!l.item(W.activeId)),H=s||g&&!r,Z=g||((d=e.accessibleWhenDisabled)!=null?d:!0);if(xc(l.combobox||l.composite,"virtualFocus")&&(e={...e,tabIndex:-1}),e={id:n,role:"tab","aria-selected":g,"aria-controls":m||void 0,...e,onClick:a},l.composite){let W={id:n,accessibleWhenDisabled:Z,store:l.composite,shouldRegisterItem:H&&x,rowId:e.rowId,render:e.render};e={...e,render:(0,ky.jsx)(Qn,{...W,render:l.combobox&&l.composite!==l.combobox?(0,ky.jsx)(Qn,{...W,store:l.combobox}):W.render})}}return e=md({store:l,...e,accessibleWhenDisabled:Z,getItem:X,shouldRegisterItem:x}),e}),oa=Ll(K(function(l){let t=wlc(l);return _(Qlc,t)}));function fm(c){return Array.isArray(c)?c:typeof c<"u"?[c]:[]}function Sm(c){let l=[];for(let t of c)l.push(...t);return l}function na(c){return c.slice().reverse()}var Fb=u(E(),1),vF=u(V(),1),Tlc="div";function Dlc(c){return c.some(l=>!!l.rowId)}function Ulc(c){let l=c.target;return l&&!_t(l)?!1:c.key.length===1&&!c.ctrlKey&&!c.metaKey}function Llc(c){return c.key==="Shift"||c.key==="Control"||c.key==="Alt"||c.key==="Meta"}function FF(c,l,t){return nc(e=>{var d;if(l?.(e),e.defaultPrevented||e.isPropagationStopped()||!Ul(e)||Llc(e)||Ulc(e))return;let b=c.getState(),o=(d=Jb(c,b.activeId))==null?void 0:d.element;if(!o)return;let{view:n,...G}=e,X=t?.current;o!==X&&o.focus(),T9(o,e.type,G)||e.preventDefault(),e.currentTarget.contains(o)&&e.stopPropagation()})}function jlc(c){return eF(Sm(na(dF(c))))}function Elc(c){let[l,t]=(0,Fb.useState)(!1),e=(0,Fb.useCallback)(()=>t(!0),[]),d=c.useState(b=>Jb(c,b.activeId));return(0,Fb.useEffect)(()=>{let b=d?.element;l&&b&&(t(!1),b.focus({preventScroll:!0}))},[d,l]),e}var xd=q(function({store:l,composite:t=!0,focusOnMove:e=t,moveOnKeyPress:d=!0,...b}){let o=$9();l=l||o,gc(l,!1);let n=(0,Fb.useRef)(null),G=(0,Fb.useRef)(null),X=Elc(l),i=l.useState("moves"),[,a]=Br(t?l.setBaseElement:null);(0,Fb.useEffect)(()=>{var J;if(!l||!i||!t||!e)return;let{activeId:N}=l.getState(),S=(J=Jb(l,N))==null?void 0:J.element;S&&mF(S)},[l,i,t,e]),Sc(()=>{if(!l||!i||!t)return;let{baseElement:J,activeId:N}=l.getState();if(!(N===null)||!J)return;let F=G.current;G.current=null,F&&lX(F,{relatedTarget:J}),bX(J)||J.focus()},[l,i,t]);let m=l.useState("activeId"),x=l.useState("virtualFocus");Sc(()=>{var J;if(!l||!t||!x)return;let N=G.current;if(G.current=null,!N)return;let F=((J=Jb(l,m))==null?void 0:J.element)||Te(N);F!==N&&lX(N,{relatedTarget:F})},[l,m,x,t]);let s=FF(l,b.onKeyDownCapture,G),g=FF(l,b.onKeyUpCapture,G),r=b.onFocusCapture,H=nc(J=>{if(r?.(J),J.defaultPrevented||!l)return;let{virtualFocus:N}=l.getState();if(!N)return;let S=J.relatedTarget,F=nF(J.currentTarget);Ul(J)&&F&&(J.stopPropagation(),G.current=S)}),Z=b.onFocus,R=nc(J=>{if(Z?.(J),J.defaultPrevented||!t||!l)return;let{relatedTarget:N}=J,{virtualFocus:S}=l.getState();S?Ul(J)&&!eX(l,N)&&queueMicrotask(X):Ul(J)&&l.setActiveId(null)}),W=b.onBlurCapture,I=nc(J=>{var N;if(W?.(J),J.defaultPrevented||!l)return;let{virtualFocus:S,activeId:F}=l.getState();if(!S)return;let D=(N=Jb(l,F))==null?void 0:N.element,L=J.relatedTarget,v=eX(l,L),T=G.current;G.current=null,Ul(J)&&v?(L===D?T&&T!==L&&lX(T,J):D?lX(D,J):T&&lX(T,J),J.stopPropagation()):!eX(l,J.target)&&D&&lX(D,J)}),B=b.onKeyDown,p=cl(d),y=nc(J=>{var N;if(B?.(J),J.nativeEvent.isComposing||J.defaultPrevented||!l||!Ul(J))return;let{orientation:S,renderedItems:F,activeId:D}=l.getState(),L=Jb(l,D);if((N=L?.element)!=null&&N.isConnected)return;let v=S!=="horizontal",T=S!=="vertical",k=Dlc(F);if((J.key==="ArrowLeft"||J.key==="ArrowRight"||J.key==="Home"||J.key==="End")&&_t(J.currentTarget))return;let U={ArrowUp:(k||v)&&(()=>{if(k){let dc=jlc(F);return dc?.id}return l?.last()}),ArrowRight:(k||T)&&l.first,ArrowDown:(k||v)&&l.first,ArrowLeft:(k||T)&&l.last,Home:l.first,End:l.last,PageUp:l.first,PageDown:l.last}[J.key];if(U){let dc=U();if(dc!==void 0){if(!p(J))return;J.preventDefault(),l.move(dc)}}});b=Wc(b,J=>(0,vF.jsx)(St,{value:l,children:J}),[l]),b={"aria-activedescendant":l.useState(J=>{var N;if(l&&t&&J.virtualFocus)return(N=Jb(l,J.activeId))==null?void 0:N.id}),...b,ref:pc(n,a,b.ref),onKeyDownCapture:s,onKeyUpCapture:g,onFocusCapture:H,onFocus:R,onBlurCapture:I,onKeyDown:y};let C=l.useState(J=>t&&(J.virtualFocus||J.activeId===null));return b=Ld({focusable:C,...b}),b}),km=K(function(l){let t=xd(l);return _(Tlc,t)});var NF=u(V(),1),Mlc="div",Plc=q(function({store:l,...t}){let e=Cr();l=l||e,gc(l,!1);let d=l.useState(b=>b.orientation==="both"?void 0:b.orientation);return t=Wc(t,b=>(0,NF.jsx)(Jr,{value:l,children:b}),[l]),l.composite&&(t={focusable:!1,...t}),t={role:"tablist","aria-orientation":d,...t},t=xd({store:l,...t}),t}),Ga=K(function(l){let t=Plc(l);return _(Mlc,t)});var zm=ol(),Klc=zm.useContext,Bpc=zm.useScopedContext,Am=zm.useProviderContext,fF=zm.ContextProvider,SF=zm.ScopedContextProvider;var zy=u(E(),1),Om=ol([fF],[SF]),Jpc=Om.useContext,Ypc=Om.useScopedContext,Xa=Om.useProviderContext,kF=Om.ContextProvider,ia=Om.ScopedContextProvider,zF=(0,zy.createContext)(void 0),AF=(0,zy.createContext)(void 0);var ua=u(E(),1),TF=u(aa(),1),Ay=u(V(),1),_lc="div";function QF(c,l){let t=setTimeout(l,c);return()=>clearTimeout(t)}function qlc(c){let l=requestAnimationFrame(()=>{l=requestAnimationFrame(c)});return()=>cancelAnimationFrame(l)}function wF(...c){return c.join(", ").split(", ").reduce((l,t)=>{let e=t.endsWith("ms")?1:1e3,d=Number.parseFloat(t||"0s")*e;return d>l?d:l},0)}function wn(c,l,t){return!t&&l!==!1&&(!c||!!l)}var Tn=q(function({store:l,alwaysVisible:t,...e}){let d=Am();l=l||d,gc(l,!1);let b=(0,ua.useRef)(null),o=bl(e.id),[n,G]=(0,ua.useState)(null),X=l.useState("open"),i=l.useState("mounted"),a=l.useState("animated"),m=l.useState("contentElement"),x=xc(l.disclosure,"contentElement");Sc(()=>{b.current&&l?.setContentElement(b.current)},[l]),Sc(()=>{let H;return l?.setState("animated",Z=>(H=Z,!0)),()=>{H!==void 0&&l?.setState("animated",H)}},[l]),Sc(()=>{if(a){if(!m?.isConnected){G(null);return}return qlc(()=>{G(X?"enter":i?"leave":null)})}},[a,m,X,i]),Sc(()=>{if(!l||!a||!n||!m)return;let H=()=>l?.setState("animating",!1),Z=()=>(0,TF.flushSync)(H);if(n==="leave"&&X||n==="enter"&&!X)return;if(typeof a=="number")return QF(a,Z);let{transitionDuration:R,animationDuration:W,transitionDelay:I,animationDelay:B}=getComputedStyle(m),{transitionDuration:p="0",animationDuration:y="0",transitionDelay:Y="0",animationDelay:C="0"}=x?getComputedStyle(x):{},J=wF(I,B,Y,C),N=wF(R,W,p,y),S=J+N;if(!S){n==="enter"&&l.setState("animated",!1),H();return}let F=1e3/60,D=Math.max(S-F,0);return QF(D,Z)},[l,a,m,x,X,n]),e=Wc(e,H=>(0,Ay.jsx)(ia,{value:l,children:H}),[l]);let s=wn(i,e.hidden,t),g=e.style,r=(0,ua.useMemo)(()=>s?{...g,display:"none"}:g,[s,g]);return e={id:o,"data-open":X||void 0,"data-enter":n==="enter"||void 0,"data-leave":n==="leave"||void 0,hidden:s,...e,ref:pc(o?l.setContentElement:null,b,e.ref),style:r},nl(e)}),$lc=K(function(l){let t=Tn(l);return _(_lc,t)}),Qm=K(function({unmountOnHide:l,...t}){let e=Am(),d=t.store||e;return xc(d,o=>!l||o?.mounted)===!1?null:(0,Ay.jsx)($lc,{...t})});function wm(c={}){let l=jd(c.store,ud(c.disclosure,["contentElement","disclosureElement"]));let t=l?.getState(),e=ac(c.open,t?.open,c.defaultOpen,!1),d=ac(c.animated,t?.animated,!1),b={open:e,animated:d,animating:!!d&&e,mounted:e,contentElement:ac(t?.contentElement,null),disclosureElement:ac(t?.disclosureElement,null)},o=Gl(b,l);return Rl(o,()=>Kc(o,["animated","animating"],n=>{n.animated||o.setState("animating",!1)})),Rl(o,()=>ea(o,["open"],()=>{o.getState().animated&&o.setState("animating",!0)})),Rl(o,()=>Kc(o,["open","animating"],n=>{o.setState("mounted",n.open||n.animating)})),{...o,disclosure:c.disclosure,setOpen:n=>o.setState("open",n),show:()=>o.setState("open",!0),hide:()=>o.setState("open",!1),toggle:()=>o.setState("open",n=>!n),stopAnimation:()=>o.setState("animating",!1),setContentElement:n=>o.setState("contentElement",n),setDisclosureElement:n=>o.setState("disclosureElement",n)}}function fr(c,l,t){return qt(l,[t.store,t.disclosure]),zc(c,t,"open","setOpen"),zc(c,t,"mounted","setMounted"),zc(c,t,"animated"),Object.assign(c,{disclosure:t.disclosure})}function fo(c={}){let[l,t]=Il(wm,c);return fr(l,t,c)}var vb=u(E(),1),DF=u(V(),1),ltc="div",ttc=q(function({store:l,unmountOnHide:t,tabId:e,getItem:d,scrollRestoration:b,scrollElement:o,...n}){let G=Cr();l=l||G,gc(l,!1);let X=(0,vb.useRef)(null),i=bl(n.id),a=xc(l.panels,()=>{var B;return e||((B=l?.panels.item(i))==null?void 0:B.tabId)}),m=xc(l,B=>!!a&&B.selectedId===a),x=fo({open:m}),s=xc(x,"mounted"),g=(0,vb.useRef)(new Map),r=nc(()=>{let B=X.current;return B?o?typeof o=="function"?o(B):"current"in o?o.current:o:B:null});(0,vb.useEffect)(()=>{var B,p;if(!b||!s)return;let y=r();if(!y)return;if(b==="reset"){y.scroll(0,0);return}if(!a)return;let Y=g.current.get(a);y.scroll((B=Y?.x)!=null?B:0,(p=Y?.y)!=null?p:0);let C=()=>{g.current.set(a,{x:y.scrollLeft,y:y.scrollTop})};return y.addEventListener("scroll",C),()=>{y.removeEventListener("scroll",C)}},[b,s,a,r,l]);let[H,Z]=(0,vb.useState)(!1);(0,vb.useEffect)(()=>{let B=X.current;if(!B)return;let p=dX(B);Z(!!p.length)},[]);let R=(0,vb.useCallback)(B=>{let p={...B,id:i||B.id,tabId:e};return d?d(p):p},[i,e,d]),W=n.onKeyDown,I=nc(B=>{if(W?.(B),B.defaultPrevented||!l?.composite)return;let y={ArrowLeft:l.previous,ArrowRight:l.next,Home:l.first,End:l.last}[B.key];if(!y)return;let{selectedId:Y}=l.getState(),C=y({activeId:Y});C&&(B.preventDefault(),l.move(C))});return n=Wc(n,B=>(0,DF.jsx)(Jr,{value:l,children:B}),[l]),n={id:i,role:"tabpanel","aria-labelledby":a||void 0,...n,children:t&&!s?null:n.children,ref:pc(X,n.ref),onKeyDown:I},n=Ld({focusable:!l.composite&&!H,...n}),n=Tn({store:x,...n}),n=vm({store:l.panels,...n,getItem:R}),n}),ma=K(function(l){let t=ttc(l);return _(ltc,t)});var Tm=ol([kF],[ia]),UF=Tm.useContext,bBc=Tm.useScopedContext,GX=Tm.useProviderContext,xa=Tm.ContextProvider,Nb=Tm.ScopedContextProvider;var Oy=u(E(),1),Dm=ol([xa,St],[Nb,We]),XX=Dm.useContext,LF=Dm.useScopedContext,iX=Dm.useProviderContext,iBc=Dm.ContextProvider,Sr=Dm.ScopedContextProvider,kr=(0,Oy.createContext)(!1),Qy=(0,Oy.createContext)(null);function etc(c){var l;let t=c.find(b=>!!b.element),e=[...c].reverse().find(b=>!!b.element),d=(l=t?.element)==null?void 0:l.parentElement;for(;d&&e?.element;){if(e&&d.contains(e.element))return d;d=d.parentElement}return Ac(d).body}function dtc(c){return c?.__unstablePrivateStore}function zr(c={}){var l;c.store;let t=(l=c.store)==null?void 0:l.getState(),e=ac(c.items,t?.items,c.defaultItems,[]),d=new Map(e.map(m=>[m.id,m])),b={items:e,renderedItems:ac(t?.renderedItems,[])},o=dtc(c.store),n=Gl({items:e,renderedItems:b.renderedItems},o),G=Gl(b,c.store),X=m=>{let x=Cm(m,s=>s.element);n.setState("renderedItems",x),G.setState("renderedItems",x)};Rl(G,()=>ta(n)),Rl(n,()=>Yb(n,["items"],m=>{G.setState("items",m.items)})),Rl(n,()=>Yb(n,["renderedItems"],m=>{let x=!0,s=requestAnimationFrame(()=>{let{renderedItems:Z}=G.getState();m.renderedItems!==Z&&X(m.renderedItems)});if(typeof IntersectionObserver!="function")return()=>cancelAnimationFrame(s);let g=()=>{if(x){x=!1;return}cancelAnimationFrame(s),s=requestAnimationFrame(()=>X(m.renderedItems))},r=etc(m.renderedItems),H=new IntersectionObserver(g,{root:r});for(let Z of m.renderedItems)Z.element&&H.observe(Z.element);return()=>{cancelAnimationFrame(s),H.disconnect()}}));let i=(m,x,s=!1)=>{let g;return x(H=>{let Z=H.findIndex(({id:W})=>W===m.id),R=H.slice();if(Z!==-1){g=H[Z];let W={...g,...m};R[Z]=W,d.set(m.id,W)}else R.push(m),d.set(m.id,m);return R}),()=>{x(H=>{if(!g)return s&&d.delete(m.id),H.filter(({id:W})=>W!==m.id);let Z=H.findIndex(({id:W})=>W===m.id);if(Z===-1)return H;let R=H.slice();return R[Z]=g,d.set(m.id,g),R})}},a=m=>i(m,x=>n.setState("items",x),!0);return{...G,registerItem:a,renderItem:m=>ul(a(m),i(m,x=>n.setState("renderedItems",x))),item:m=>{if(!m)return null;let x=d.get(m);if(!x){let{items:s}=n.getState();x=s.find(g=>g.id===m),x&&d.set(m,x)}return x||null},__unstablePrivateStore:n}}function jF(c,l,t){return qt(l,[t.store]),zc(c,t,"items","setItems"),c}var btc={id:null};function So(c,l){return c.find(t=>l?!t.disabled&&t.id!==l:!t.disabled)}function otc(c,l){return c.filter(t=>l?!t.disabled&&t.id!==l:!t.disabled)}function EF(c,l){return c.filter(t=>t.rowId===l)}function ntc(c,l,t=!1){let e=c.findIndex(d=>d.id===l);return[...c.slice(e+1),...t?[btc]:[],...c.slice(0,e)]}function MF(c){let l=[];for(let t of c){let e=l.find(d=>{var b;return((b=d[0])==null?void 0:b.rowId)===t.rowId});e?e.push(t):l.push([t])}return l}function PF(c){let l=0;for(let{length:t}of c)t>l&&(l=t);return l}function Gtc(c){return{id:"__EMPTY_ITEM__",disabled:!0,rowId:c}}function Xtc(c,l,t){let e=PF(c);for(let d of c)for(let b=0;b<e;b+=1){let o=d[b];if(!o||t&&o.disabled){let G=b===0&&t?So(d):d[b-1];d[b]=G&&l!==G.id&&t?G:Gtc(G?.rowId)}}return c}function itc(c){let l=MF(c),t=PF(l),e=[];for(let d=0;d<t;d+=1)for(let b of l){let o=b[d];o&&e.push({...o,rowId:o.rowId?`${d}`:void 0})}return e}function Le(c={}){var l;let t=(l=c.store)==null?void 0:l.getState(),e=zr(c),d=ac(c.activeId,t?.activeId,c.defaultActiveId),b={...e.getState(),id:ac(c.id,t?.id,`id-${Math.random().toString(36).slice(2,8)}`),activeId:d,baseElement:ac(t?.baseElement,null),includesBaseElement:ac(c.includesBaseElement,t?.includesBaseElement,d===null),moves:ac(t?.moves,0),orientation:ac(c.orientation,t?.orientation,"both"),rtl:ac(c.rtl,t?.rtl,!1),virtualFocus:ac(c.virtualFocus,t?.virtualFocus,!1),focusLoop:ac(c.focusLoop,t?.focusLoop,!1),focusWrap:ac(c.focusWrap,t?.focusWrap,!1),focusShift:ac(c.focusShift,t?.focusShift,!1)},o=Gl(b,e,c.store);Rl(o,()=>Kc(o,["renderedItems","activeId"],G=>{o.setState("activeId",X=>{var i;return X!==void 0?X:(i=So(G.renderedItems))==null?void 0:i.id})}));let n=(G="next",X={})=>{var i,a;let m=o.getState(),{skip:x=0,activeId:s=m.activeId,focusShift:g=m.focusShift,focusLoop:r=m.focusLoop,focusWrap:H=m.focusWrap,includesBaseElement:Z=m.includesBaseElement,renderedItems:R=m.renderedItems,rtl:W=m.rtl}=X,I=G==="up"||G==="down",B=G==="next"||G==="down",p=B?W&&!I:!W||I,y=g&&!x,Y=I?Sm(Xtc(MF(R),s,y)):R;if(Y=p?na(Y):Y,Y=I?itc(Y):Y,s==null)return(i=So(Y))==null?void 0:i.id;let C=Y.find(k=>k.id===s);if(!C)return(a=So(Y))==null?void 0:a.id;let J=Y.some(k=>k.rowId),N=Y.indexOf(C),S=Y.slice(N+1),F=EF(S,C.rowId);if(x){let k=otc(F,s),M=k.slice(x)[0]||k[k.length-1];return M?.id}let D=r&&(I?r!=="horizontal":r!=="vertical"),L=J&&H&&(I?H!=="horizontal":H!=="vertical"),v=B?(!J||I)&&D&&Z:I?Z:!1;if(D){let k=L&&!v?Y:EF(Y,C.rowId),M=ntc(k,s,v),P=So(M,s);return P?.id}if(L){let k=So(v?F:S,s);return v?k?.id||null:k?.id}let T=So(F,s);return!T&&v?null:T?.id};return{...e,...o,setBaseElement:G=>o.setState("baseElement",G),setActiveId:G=>o.setState("activeId",G),move:G=>{G!==void 0&&(o.setState("activeId",G),o.setState("moves",X=>X+1))},first:()=>{var G;return(G=So(o.getState().renderedItems))==null?void 0:G.id},last:()=>{var G;return(G=So(na(o.getState().renderedItems)))==null?void 0:G.id},next:G=>(G!==void 0&&typeof G=="number"&&(G={skip:G}),n("next",G)),previous:G=>(G!==void 0&&typeof G=="number"&&(G={skip:G}),n("previous",G)),down:G=>(G!==void 0&&typeof G=="number"&&(G={skip:G}),n("down",G)),up:G=>(G!==void 0&&typeof G=="number"&&(G={skip:G}),n("up",G))}}function Ar(c){return{id:bl(c.id),...c}}function sd(c,l,t){return c=jF(c,l,t),zc(c,t,"activeId","setActiveId"),zc(c,t,"includesBaseElement"),zc(c,t,"virtualFocus"),zc(c,t,"orientation"),zc(c,t,"rtl"),zc(c,t,"focusLoop"),zc(c,t,"focusWrap"),zc(c,t,"focusShift"),c}function aX(c={}){c=Ar(c);let[l,t]=Il(Le,c);return sd(l,t,c)}var Or=u(E(),1),vBc=(0,Or.createContext)(void 0),Um=ol([xa,St],[Nb,We]),KF=Um.useContext,NBc=Um.useScopedContext,Qr=Um.useProviderContext,fBc=Um.ContextProvider,SBc=Um.ScopedContextProvider,kBc=(0,Or.createContext)(void 0),zBc=(0,Or.createContext)(!1);function _F({composite:c,combobox:l,...t}={}){let e=["items","renderedItems","moves","orientation","virtualFocus","includesBaseElement","baseElement","focusLoop","focusShift","focusWrap"],d=jd(t.store,ud(c,e),ud(l,e)),b=d?.getState(),o=Le({...t,store:d,includesBaseElement:ac(t.includesBaseElement,b?.includesBaseElement,!1),orientation:ac(t.orientation,b?.orientation,"horizontal"),focusLoop:ac(t.focusLoop,b?.focusLoop,!0)}),n=zr(),G={...o.getState(),selectedId:ac(t.selectedId,b?.selectedId,t.defaultSelectedId),selectOnMove:ac(t.selectOnMove,b?.selectOnMove,!0)},X=Gl(G,o,d);Rl(X,()=>Kc(X,["moves"],()=>{let{activeId:m,selectOnMove:x}=X.getState();if(!x||!m)return;let s=o.item(m);s&&(s.dimmed||s.disabled||X.setState("selectedId",s.id))}));let i=!0;Rl(X,()=>Yb(X,["selectedId"],(m,x)=>{if(!i){i=!0;return}c&&m.selectedId===x.selectedId||X.setState("activeId",m.selectedId)})),Rl(X,()=>Kc(X,["selectedId","renderedItems"],m=>{if(m.selectedId!==void 0)return;let{activeId:x,renderedItems:s}=X.getState(),g=o.item(x);if(g&&!g.disabled&&!g.dimmed)X.setState("selectedId",g.id);else{let r=s.find(H=>!H.disabled&&!H.dimmed);X.setState("selectedId",r?.id)}})),Rl(X,()=>Kc(X,["renderedItems"],m=>{let x=m.renderedItems;if(x.length)return Kc(n,["renderedItems"],s=>{let g=s.renderedItems;g.some(H=>!H.tabId)&&g.forEach((H,Z)=>{if(H.tabId)return;let R=x[Z];R&&n.renderItem({...H,tabId:R.id})})})}));let a=null;return Rl(X,()=>{let m=()=>{a=X.getState().selectedId},x=()=>{i=!1,X.setState("selectedId",a)};if(c&&"setSelectElement"in c)return ul(Kc(c,["value"],m),Kc(c,["mounted"],x));if(l)return ul(Kc(l,["selectedValue"],m),Kc(l,["mounted"],x))}),{...o,...X,panels:n,setSelectedId:m=>X.setState("selectedId",m),select:m=>{X.setState("selectedId",m),o.move(m)}}}var qF=u(E(),1);function $F(c,l,t){qt(l,[t.composite,t.combobox]),c=sd(c,l,t),zc(c,t,"selectedId","setSelectedId"),zc(c,t,"selectOnMove");let[e,d]=Il(()=>c.panels,{});return qt(d,[c,d]),Object.assign((0,qF.useMemo)(()=>({...c,panels:e}),[c,e]),{composite:t.composite,combobox:t.combobox})}function uX(c={}){let l=KF(),t=XX()||l;c={...c,composite:c.composite!==void 0?c.composite:t,combobox:c.combobox!==void 0?c.combobox:l};let[e,d]=Il(_F,c);return $F(e,d,c)}function cv(c={}){var l;let t=(l=c.store)==null?void 0:l.getState();return Le({...c,orientation:ac(c.orientation,t?.orientation,"horizontal"),focusLoop:ac(c.focusLoop,t?.focusLoop,!0)})}function lv(c,l,t){return sd(c,l,t)}function mX(c={}){let[l,t]=Il(cv,c);return lv(l,t,c)}var Lm=ol([St],[We]),wy=Lm.useContext,X5c=Lm.useScopedContext,tv=Lm.useProviderContext,i5c=Lm.ContextProvider,ev=Lm.ScopedContextProvider;var dv=u(V(),1),xtc="div",stc=q(function({store:l,orientation:t,virtualFocus:e,focusLoop:d,rtl:b,...o}){let n=tv();l=l||n;let G=mX({store:l,orientation:t,virtualFocus:e,focusLoop:d,rtl:b}),X=G.useState(i=>i.orientation==="both"?void 0:i.orientation);return o=Wc(o,i=>(0,dv.jsx)(ev,{value:G,children:i}),[G]),o={role:"toolbar","aria-orientation":X,...o},o=xd({store:G,...o}),o}),wr=K(function(l){let t=stc(l);return _(xtc,t)});var gtc="button",bv=q(function({store:l,...t}){let e=wy();return l=l||e,t=md({store:l,...t}),t}),jm=Ll(K(function(l){let t=bv(l);return _(gtc,t)}));var rtc="hr",Tr=q(function({orientation:l="horizontal",...t}){return t={role:"separator","aria-orientation":l,...t},t}),Em=K(function(l){let t=Tr(l);return _(rtc,t)});var Ztc="hr",Ty=q(function({store:l,...t}){let e=Ud();l=l||e,gc(l,!1);let d=l.useState(b=>b.orientation==="horizontal"?"vertical":"horizontal");return t=Tr({...t,orientation:d}),t}),Htc=K(function(l){let t=Ty(l);return _(Ztc,t)});var Mm=ol([xa],[Nb]),O5c=Mm.useContext,Q5c=Mm.useScopedContext,Pm=Mm.useProviderContext,Dr=Mm.ContextProvider,sa=Mm.ScopedContextProvider;var Km=ol([Dr],[sa]),Rtc=Km.useContext,U5c=Km.useScopedContext,_m=Km.useProviderContext,L5c=Km.ContextProvider,ov=Km.ScopedContextProvider;function Ur(c){return[c.clientX,c.clientY]}function Dy(c,l){let[t,e]=c,d=!1,b=l.length;for(let o=b,n=0,G=o-1;n<o;G=n++){let[X,i]=l[n],[a,m]=l[G],[,x]=l[G===0?o-1:G-1]||[0,0],s=(i-m)*(t-X)-(X-a)*(e-i);if(m<i){if(e>=m&&e<i){if(s===0)return!0;s>0&&(e===m?e>x&&(d=!d):d=!d)}}else if(i<m){if(e>i&&e<=m){if(s===0)return!0;s<0&&(e===m?e<x&&(d=!d):d=!d)}}else if(e===i&&(t>=a&&t<=X||t>=X&&t<=a))return!0}return d}function Itc(c,l){let{top:t,right:e,bottom:d,left:b}=l,[o,n]=c,G=o<b?"left":o>e?"right":null,X=n<t?"top":n>d?"bottom":null;return[G,X]}function Uy(c,l){let t=c.getBoundingClientRect(),{top:e,right:d,bottom:b,left:o}=t,[n,G]=Itc(l,t),X=[l];return n?(G!=="top"&&X.push([n==="left"?o:d,e]),X.push([n==="left"?d:o,e]),X.push([n==="left"?d:o,b]),G!=="bottom"&&X.push([n==="left"?o:d,b])):G==="top"?(X.push([o,e]),X.push([o,b]),X.push([d,b]),X.push([d,e])):(X.push([o,b]),X.push([o,e]),X.push([d,e]),X.push([d,b])),X}var nv=u(E(),1),Ly=(0,nv.createContext)(null);var Wtc="span",jy=q(function(l){return l={...l,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px",...l.style}},l}),K5c=K(function(l){let t=jy(l);return _(Wtc,t)});var ptc="span",Btc=q(function(l){return l={"data-focus-trap":"",tabIndex:0,"aria-hidden":!0,...l,style:{position:"fixed",top:0,left:0,...l.style}},l=jy(l),l}),qm=K(function(l){let t=Btc(l);return _(ptc,t)});var je=u(E(),1),Ey=u(aa(),1),kt=u(V(),1),ytc="div";function Vtc(c){return Ac(c).body}function Ctc(c,l){return l?typeof l=="function"?l(c):l:Ac(c).createElement("div")}function Jtc(c="id"){return`${c?`${c}-`:""}${Math.random().toString(36).slice(2,8)}`}function Dn(c){queueMicrotask(()=>{c?.focus()})}var My=q(function({preserveTabOrder:l,preserveTabOrderAnchor:t,portalElement:e,portalRef:d,portal:b=!0,...o}){let n=(0,je.useRef)(null),G=pc(n,o.ref),X=(0,je.useContext)(Ly),[i,a]=(0,je.useState)(null),[m,x]=(0,je.useState)(null),s=(0,je.useRef)(null),g=(0,je.useRef)(null),r=(0,je.useRef)(null),H=(0,je.useRef)(null);return Sc(()=>{let Z=n.current;if(!Z||!b){a(null);return}let R=Ctc(Z,e);if(!R){a(null);return}let W=R.isConnected;if(W||(X||Vtc(Z)).appendChild(R),R.id||(R.id=Z.id?`portal/${Z.id}`:Jtc()),a(R),Wm(d,R),!W)return()=>{R.remove(),Wm(d,null)}},[b,e,X,d]),Sc(()=>{if(!b||!l||!t)return;let R=Ac(t).createElement("span");return R.style.position="fixed",t.insertAdjacentElement("afterend",R),x(R),()=>{R.remove(),x(null)}},[b,l,t]),(0,je.useEffect)(()=>{if(!i||!l)return;let Z=0,R=W=>{if(!zn(W))return;let I=W.type==="focusin";if(cancelAnimationFrame(Z),I)return uF(i);Z=requestAnimationFrame(()=>{aF(i,!0)})};return i.addEventListener("focusin",R,!0),i.addEventListener("focusout",R,!0),()=>{cancelAnimationFrame(Z),i.removeEventListener("focusin",R,!0),i.removeEventListener("focusout",R,!0)}},[i,l]),o=Wc(o,Z=>{if(Z=(0,kt.jsx)(Ly.Provider,{value:i||X,children:Z}),!b)return Z;if(!i)return(0,kt.jsx)("span",{ref:G,id:o.id,style:{position:"fixed"},hidden:!0});Z=(0,kt.jsxs)(kt.Fragment,{children:[l&&i&&(0,kt.jsx)(qm,{ref:g,"data-focus-trap":o.id,className:"__focus-trap-inner-before",onFocus:W=>{zn(W,i)?Dn(vr()):Dn(s.current)}}),Z,l&&i&&(0,kt.jsx)(qm,{ref:r,"data-focus-trap":o.id,className:"__focus-trap-inner-after",onFocus:W=>{zn(W,i)?Dn(Fy()):Dn(H.current)}})]}),i&&(Z=(0,Ey.createPortal)(Z,i));let R=(0,kt.jsxs)(kt.Fragment,{children:[l&&i&&(0,kt.jsx)(qm,{ref:s,"data-focus-trap":o.id,className:"__focus-trap-outer-before",onFocus:W=>{!(W.relatedTarget===H.current)&&zn(W,i)?Dn(g.current):Dn(Fy())}}),l&&(0,kt.jsx)("span",{"aria-owns":i?.id,style:{position:"fixed"}}),l&&i&&(0,kt.jsx)(qm,{ref:H,"data-focus-trap":o.id,className:"__focus-trap-outer-after",onFocus:W=>{if(zn(W,i))Dn(r.current);else{let I=vr();if(I===g.current){requestAnimationFrame(()=>{var B;return(B=vr())==null?void 0:B.focus()});return}Dn(I)}}})]});return m&&l&&(R=(0,Ey.createPortal)(R,m)),(0,kt.jsxs)(kt.Fragment,{children:[R,Z]})},[i,X,b,o.id,l,m]),o={...o,ref:G},o}),Xyc=K(function(l){let t=My(l);return _(ytc,t)});var Gv=u(E(),1),Py=(0,Gv.createContext)(0);var Xv=u(E(),1),iv=u(V(),1);function av({level:c,children:l}){let t=(0,Xv.useContext)(Py),e=Math.max(Math.min(c||t+1,6),1);return(0,iv.jsx)(Py.Provider,{value:e,children:l})}var uv=u(V(),1),Ytc="div",Ky=q(function({autoFocusOnShow:l=!0,...t}){return t=Wc(t,e=>(0,uv.jsx)(hr.Provider,{value:l,children:e}),[l]),t}),ryc=K(function(l){let t=Ky(l);return _(Ytc,t)});function mv(c,l){let e=Ac(c).createElement("button");return e.type="button",e.tabIndex=-1,e.textContent="Dismiss popup",Object.assign(e.style,{border:"0px",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute",whiteSpace:"nowrap",width:"1px"}),e.addEventListener("click",l),c.prepend(e),()=>{e.removeEventListener("click",l),e.remove()}}var Lr=u(E(),1);function xv(c){let l=(0,Lr.useRef)(null);return(0,Lr.useEffect)(()=>{if(!c){l.current=null;return}return Cl("mousedown",e=>{l.current=e.target},!0)},[c]),l}var _y=new WeakMap;function ga(c,l,t){_y.has(c)||_y.set(c,new Map);let e=_y.get(c),d=e.get(l);if(!d)return e.set(l,t()),()=>{var n;(n=e.get(l))==null||n(),e.delete(l)};let b=t(),o=()=>{b(),d(),e.delete(l)};return e.set(l,o),()=>{e.get(l)===o&&(b(),e.set(l,d))}}function $m(c,l,t){return ga(c,l,()=>{let d=c.getAttribute(l);return c.setAttribute(l,t),()=>{d==null?c.removeAttribute(l):c.setAttribute(l,d)}})}function fb(c,l,t){return ga(c,l,()=>{let d=l in c,b=c[l];return c[l]=t,()=>{d?c[l]=b:delete c[l]}})}function cx(c,l){return c?ga(c,"style",()=>{let e=c.style.cssText;return Object.assign(c.style,l),()=>{c.style.cssText=e}}):()=>{}}function sv(c,l,t){return c?ga(c,l,()=>{let d=c.style.getPropertyValue(l);return c.style.setProperty(l,t),()=>{d?c.style.setProperty(l,d):c.style.removeProperty(l)}}):()=>{}}var htc=["SCRIPT","STYLE"];function qy(c){return`__ariakit-dialog-snapshot-${c}`}function Ftc(c,l){let t=Ac(l),e=qy(c);if(!t.body[e])return!0;do{if(l===t.body)return!1;if(l[e])return!0;if(!l.parentElement)return!1;l=l.parentElement}while(!0)}function vtc(c,l,t){return htc.includes(l.tagName)||!Ftc(c,l)?!1:!t.some(e=>e&&$c(l,e))}function lx(c,l,t,e){for(let d of l){if(!d?.isConnected)continue;let b=l.some(G=>!G||G===d?!1:G.contains(d)),o=Ac(d),n=d;for(;d.parentElement&&d!==o.body;){if(e?.(d.parentElement,n),!b)for(let G of d.parentElement.children)vtc(c,G,l)&&t(G,n);d=d.parentElement}}}function gv(c,l){let{body:t}=Ac(l[0]),e=[];return lx(c,l,b=>{e.push(fb(b,qy(c),!0))}),ul(fb(t,qy(c),!0),()=>{for(let b of e)b()})}function jr(c,...l){if(!c)return!1;let t=c.getAttribute("data-backdrop");return t==null?!1:t===""||t==="true"||!l.length?!0:l.some(e=>t===e)}function ra(c="",l=!1){return`__ariakit-dialog-${l?"ancestor":"outside"}${c?`-${c}`:""}`}function Ntc(c,l=""){return ul(fb(c,ra(),!0),fb(c,ra(l),!0))}function $y(c,l=""){return ul(fb(c,ra("",!0),!0),fb(c,ra(l,!0),!0))}function tx(c,l){let t=ra(l,!0);if(c[t])return!0;let e=ra(l);do{if(c[e])return!0;if(!c.parentElement)return!1;c=c.parentElement}while(!0)}function c1(c,l){let t=[],e=l.map(b=>b?.id);return lx(c,l,b=>{jr(b,...e)||t.unshift(Ntc(b,c))},(b,o)=>{o.hasAttribute("data-dialog")&&o.id!==c||t.unshift($y(b,c))}),()=>{for(let b of t)b()}}var Er=u(E(),1);function ftc(c){return c.tagName==="HTML"?!0:$c(Ac(c).body,c)}function Stc(c,l){if(!c)return!1;if($c(c,l))return!0;let t=l.getAttribute("aria-activedescendant");if(t){let e=Ac(c).getElementById(t);if(e)return $c(c,e)}return!1}function ktc(c,l){if(!("clientY"in c))return!1;let t=l.getBoundingClientRect();return t.width===0||t.height===0?!1:t.top<=c.clientY&&c.clientY<=t.top+t.height&&t.left<=c.clientX&&c.clientX<=t.left+t.width}function l1({store:c,type:l,listener:t,capture:e,domReady:d}){let b=nc(t),o=xc(c,"open"),n=(0,Er.useRef)(!1);Sc(()=>{if(!o||!d)return;let{contentElement:G}=c.getState();if(!G)return;let X=()=>{n.current=!0};return G.addEventListener("focusin",X,!0),()=>G.removeEventListener("focusin",X,!0)},[c,o,d]),(0,Er.useEffect)(()=>o?Cl(l,X=>{let{contentElement:i,disclosureElement:a}=c.getState(),m=X.target;!i||!m||!ftc(m)||$c(i,m)||Stc(a,m)||m.hasAttribute("data-focus-trap")||ktc(X,i)||n.current&&!tx(m,i.id)||HF(m)||b(X)},e):void 0,[o,e])}function t1(c,l){return typeof c=="function"?c(l):!!c}function rv(c,l,t){let e=xc(c,"open"),d=xv(e),b={store:c,domReady:t,capture:!0};l1({...b,type:"click",listener:o=>{let{contentElement:n}=c.getState(),G=d.current;G&&ym(G)&&tx(G,n?.id)&&t1(l,o)&&c.hide()}}),l1({...b,type:"focusin",listener:o=>{let{contentElement:n}=c.getState();n&&o.target!==Ac(n)&&t1(l,o)&&c.hide()}}),l1({...b,type:"contextmenu",listener:o=>{t1(l,o)&&c.hide()}})}var Ed=u(E(),1),Hv=u(V(),1),Zv=(0,Ed.createContext)({});function Rv(c){let l=(0,Ed.useContext)(Zv),[t,e]=(0,Ed.useState)([]),d=(0,Ed.useCallback)(n=>{var G;return e(X=>[...X,n]),ul((G=l.add)==null?void 0:G.call(l,n),()=>{e(X=>X.filter(i=>i!==n))})},[l]);Sc(()=>Kc(c,["open","contentElement"],n=>{var G;if(n.open&&n.contentElement)return(G=l.add)==null?void 0:G.call(l,c)}),[c,l]);let b=(0,Ed.useMemo)(()=>({store:c,add:d}),[c,d]);return{wrapElement:(0,Ed.useCallback)(n=>(0,Hv.jsx)(Zv.Provider,{value:b,children:n}),[b]),nestedDialogs:t}}var Mr=u(E(),1),Iv=u(aa(),1);function Wv({attribute:c,contentId:l,contentElement:t,enabled:e}){let[d,b]=qi(),o=(0,Mr.useCallback)(()=>{if(!e||!t)return!1;let{body:n}=Ac(t),G=n.getAttribute(c);return!G||G===l},[d,e,t,c,l]);return(0,Mr.useEffect)(()=>{if(!e||!l||!t)return;let{body:n}=Ac(t);if(o())return n.setAttribute(c,l),()=>n.removeAttribute(c);let G=new MutationObserver(()=>(0,Iv.flushSync)(b));return G.observe(n,{attributeFilter:[c]}),()=>G.disconnect()},[d,e,l,t,o,c]),o}var pv=u(E(),1);function ztc(c){let l=c.getBoundingClientRect().left;return Math.round(l)+c.scrollLeft?"paddingLeft":"paddingRight"}function Bv(c,l,t){let e=Wv({attribute:"data-dialog-prevent-body-scroll",contentElement:c,contentId:l,enabled:t});(0,pv.useEffect)(()=>{if(!e()||!c)return;let d=Ac(c),b=pm(c),{documentElement:o,body:n}=d,G=o.style.getPropertyValue("--scrollbar-width"),X=G?Number.parseInt(G,10):b.innerWidth-o.clientWidth,i=()=>sv(o,"--scrollbar-width",`${X}px`),a=ztc(o),m=()=>cx(n,{overflow:"hidden",[a]:`${X}px`}),x=()=>{var g,r;let{scrollX:H,scrollY:Z,visualViewport:R}=b,W=(g=R?.offsetLeft)!=null?g:0,I=(r=R?.offsetTop)!=null?r:0,B=cx(n,{position:"fixed",overflow:"hidden",top:`${-(Z-Math.floor(I))}px`,left:`${-(H-Math.floor(W))}px`,right:"0",[a]:`${X}px`});return()=>{B(),b.scrollTo({left:H,top:Z,behavior:"instant"})}},s=_i()&&!By();return ul(i(),s?x():m())},[e,c])}function yv(c,...l){if(!c)return!1;let t=c.getAttribute("data-focus-trap");return t==null?!1:l.length?t===""?!1:l.some(e=>t===e):!0}function Pr(){return"inert"in HTMLElement.prototype}function Vv(c){return $m(c,"aria-hidden","true")}function e1(c,l){if(!("style"in c))return qG;if(Pr())return fb(c,"inert",!0);let e=dX(c,!0).map(d=>{if(l?.some(o=>o&&$c(o,d)))return qG;let b=ga(d,"focus",()=>(d.focus=qG,()=>{delete d.focus}));return ul($m(d,"tabindex","-1"),b)});return ul(...e,Vv(c),cx(c,{pointerEvents:"none",userSelect:"none",cursor:"default"}))}function Cv(c,l){let t=[],e=l.map(b=>b?.id);return lx(c,l,b=>{jr(b,...e)||yv(b,...e)||t.unshift(e1(b,l))},b=>{b.hasAttribute("role")&&(l.some(o=>o&&$c(o,b))||t.unshift($m(b,"role","none")))}),()=>{for(let b of t)b()}}var Atc="div",Otc=["a","button","details","dialog","div","form","h1","h2","h3","h4","h5","h6","header","img","input","label","li","nav","ol","p","section","select","span","summary","textarea","ul","svg"],Qtc=q(function(l){return l}),Md=K(function(l){return _(Atc,l)});Object.assign(Md,Otc.reduce((c,l)=>(c[l]=K(function(e){return _(l,e)}),c),{}));var Za=u(E(),1),Kr=u(V(),1);function Jv({store:c,backdrop:l,alwaysVisible:t,hidden:e}){let d=(0,Za.useRef)(null),b=fo({disclosure:c}),o=xc(c,"contentElement");(0,Za.useEffect)(()=>{let X=d.current,i=o;X&&i&&(X.style.zIndex=getComputedStyle(i).zIndex)},[o]),Sc(()=>{let X=o?.id;if(!X)return;let i=d.current;if(i)return $y(i,X)},[o]);let n=Tn({ref:d,store:b,role:"presentation","data-backdrop":o?.id||"",alwaysVisible:t,hidden:e??void 0,style:{position:"fixed",top:0,right:0,bottom:0,left:0}});return l?(0,Za.isValidElement)(l)?(0,Kr.jsx)(Md,{...n,render:l}):(0,Kr.jsx)(Md,{...n,render:(0,Kr.jsx)(typeof l!="boolean"?l:"div",{})}):null}function ex(c={}){return wm(c)}function d1(c,l,t){return fr(c,l,t)}function Yv(c={}){let[l,t]=Il(ex,c);return d1(l,t,c)}var it=u(E(),1),Pd=u(V(),1),Ttc="div",hv=cX();function Dtc(c){let l=Te();return!l||c&&$c(c,l)?!1:!!De(l)}function Fv(c,l=!1){if(!c)return null;let t="current"in c?c.current:c;return t?l?De(t)?t:null:t:null}var b1=q(function({store:l,open:t,onClose:e,focusable:d=!0,modal:b=!0,portal:o=!!b,backdrop:n=!!b,hideOnEscape:G=!0,hideOnInteractOutside:X=!0,getPersistentElements:i,preventBodyScroll:a=!!b,autoFocusOnShow:m=!0,autoFocusOnHide:x=!0,initialFocus:s,finalFocus:g,unmountOnHide:r,unstable_treeSnapshotKey:H,...Z}){let R=Xa(),W=(0,it.useRef)(null),I=Yv({store:l||R,open:t,setOpen(uc){if(uc)return;let Yc=W.current;if(!Yc)return;let Vl=new Event("close",{bubbles:!1,cancelable:!0});e&&Yc.addEventListener("close",e,{once:!0}),Yc.dispatchEvent(Vl),Vl.defaultPrevented&&I.setOpen(!0)}}),{portalRef:B,domReady:p}=$i(o,Z.portalRef),y=Z.preserveTabOrder,Y=xc(I,uc=>y&&!b&&uc.mounted),C=bl(Z.id),J=xc(I,"open"),N=xc(I,"mounted"),S=xc(I,"contentElement"),F=wn(N,Z.hidden,Z.alwaysVisible);Bv(S,C,a&&!F),rv(I,X,p);let{wrapElement:D,nestedDialogs:L}=Rv(I);Z=Wc(Z,D,[D]),Sc(()=>{if(!J)return;let uc=W.current,Yc=Te(uc,!0);Yc&&Yc.tagName!=="BODY"&&(uc&&$c(uc,Yc)||I.setDisclosureElement(Yc))},[I,J]),hv&&(0,it.useEffect)(()=>{if(!N)return;let{disclosureElement:uc}=I.getState();if(!uc||!Ie(uc))return;let Yc=()=>{let Vl=!1,Fc=()=>{Vl=!0},Sl={capture:!0,once:!0};uc.addEventListener("focusin",Fc,Sl),Cb(uc,"mouseup",()=>{uc.removeEventListener("focusin",Fc,!0),!Vl&&Nr(uc)})};return uc.addEventListener("mousedown",Yc),()=>{uc.removeEventListener("mousedown",Yc)}},[I,N]),(0,it.useEffect)(()=>{if(!N||!p)return;let uc=W.current;if(!uc)return;let Yc=pm(uc),Vl=Yc.visualViewport||Yc,Fc=()=>{var Sl,nt;let Et=(nt=(Sl=Yc.visualViewport)==null?void 0:Sl.height)!=null?nt:Yc.innerHeight;uc.style.setProperty("--dialog-viewport-height",`${Et}px`)};return Fc(),Vl.addEventListener("resize",Fc),()=>{Vl.removeEventListener("resize",Fc)}},[N,p]),(0,it.useEffect)(()=>{if(!b||!N||!p)return;let uc=W.current;if(!(!uc||uc.querySelector("[data-dialog-dismiss]")))return mv(uc,I.hide)},[I,b,N,p]),Sc(()=>{if(!Pr()||J||!N||!p)return;let uc=W.current;if(uc)return e1(uc)},[J,N,p]);let v=J&&p;Sc(()=>{if(!C||!v)return;let uc=W.current;return gv(C,[uc])},[C,v,H]);let T=nc(i);Sc(()=>{if(!C||!v)return;let{disclosureElement:uc}=I.getState(),Yc=W.current,Vl=T()||[],Fc=[Yc,...Vl,...L.map(Sl=>Sl.getState().contentElement)];return b?ul(c1(C,Fc),Cv(C,Fc)):c1(C,[uc,...Fc])},[C,I,v,T,L,b,H]);let k=!!m,M=cl(m),[P,Gc]=(0,it.useState)(!1);(0,it.useEffect)(()=>{if(!J||!k||!p||!S?.isConnected)return;let uc=Fv(s,!0)||S.querySelector("[data-autofocus=true],[autofocus]")||XF(S,!0,o&&Y)||S,Yc=De(uc);M(Yc?uc:null)&&(Gc(!0),queueMicrotask(()=>{uc.focus(),hv&&Yc&&uc.scrollIntoView({block:"nearest",inline:"nearest"})}))},[J,k,p,S,s,o,Y,M]);let U=!!x,dc=cl(x),[j,oc]=(0,it.useState)(!1);(0,it.useEffect)(()=>{if(J)return oc(!0),()=>oc(!1)},[J]);let Rc=(0,it.useCallback)((uc,Yc=!0)=>{let{disclosureElement:Vl}=I.getState();if(Dtc(uc))return;let Fc=Fv(g)||Vl;if(Fc?.id){let nt=Ac(Fc),Et=`[aria-activedescendant="${Fc.id}"]`,Mt=nt.querySelector(Et);Mt&&(Fc=Mt)}if(Fc&&!De(Fc)){let nt=Fc.closest("[data-dialog]");if(nt?.id){let Et=Ac(nt),Mt=`[aria-controls~="${nt.id}"]`,id=Et.querySelector(Mt);id&&(Fc=id)}}let Sl=Fc&&De(Fc);if(!Sl&&Yc){requestAnimationFrame(()=>Rc(uc,!1));return}dc(Sl?Fc:null)&&Sl&&Fc?.focus({preventScroll:!0})},[I,g,dc]),Vc=(0,it.useRef)(!1);Sc(()=>{if(J||!j||!U)return;let uc=W.current;Vc.current=!0,Rc(uc)},[J,j,p,U,Rc]),(0,it.useEffect)(()=>{if(!j||!U)return;let uc=W.current;return()=>{if(Vc.current){Vc.current=!1;return}Rc(uc)}},[j,U,Rc]);let Mc=cl(G);(0,it.useEffect)(()=>!p||!N?void 0:Cl("keydown",Yc=>{if(Yc.key!=="Escape"||Yc.defaultPrevented)return;let Vl=W.current;if(!Vl||tx(Vl))return;let Fc=Yc.target;if(!Fc)return;let{disclosureElement:Sl}=I.getState();(Fc.tagName==="BODY"||$c(Vl,Fc)||!Sl||$c(Sl,Fc))&&Mc(Yc)&&I.hide()},!0),[I,p,N,Mc]),Z=Wc(Z,uc=>(0,Pd.jsx)(av,{level:b?1:void 0,children:uc}),[b]);let Dl=Z.hidden,xl=Z.alwaysVisible;Z=Wc(Z,uc=>n?(0,Pd.jsxs)(Pd.Fragment,{children:[(0,Pd.jsx)(Jv,{store:I,backdrop:n,hidden:Dl,alwaysVisible:xl}),uc]}):uc,[I,n,Dl,xl]);let[sc,Pc]=(0,it.useState)(),[Fl,Nt]=(0,it.useState)();return Z=Wc(Z,uc=>(0,Pd.jsx)(ia,{value:I,children:(0,Pd.jsx)(zF.Provider,{value:Pc,children:(0,Pd.jsx)(AF.Provider,{value:Nt,children:uc})})}),[I]),Z={id:C,"data-dialog":"",role:"dialog",tabIndex:d?-1:void 0,"aria-labelledby":sc,"aria-describedby":Fl,...Z,ref:pc(W,Z.ref)},Z=Ky({...Z,autoFocusOnShow:P}),Z=Tn({store:I,...Z}),Z=Ld({...Z,focusable:d}),Z=My({portal:o,...Z,portalRef:B,preserveTabOrder:Y}),Z});function Kd(c,l=Xa){return K(function(e){let d=l(),b=e.store||d;return xc(b,n=>!e.unmountOnHide||n?.mounted||!!e.open)?(0,Pd.jsx)(c,{...e}):null})}var cVc=Kd(K(function(l){let t=b1(l);return _(Ttc,t)}),Xa);var Sb=Math.min,ce=Math.max,bx=Math.round,ox=Math.floor,_d=c=>({x:c,y:c}),Utc={left:"right",right:"left",bottom:"top",top:"bottom"};function qr(c,l,t){return ce(c,Sb(l,t))}function ko(c,l){return typeof c=="function"?c(l):c}function kb(c){return c.split("-")[0]}function xX(c){return c.split("-")[1]}function $r(c){return c==="x"?"y":"x"}function cZ(c){return c==="y"?"height":"width"}function qd(c){let l=c[0];return l==="t"||l==="b"?"y":"x"}function lZ(c){return $r(qd(c))}function fv(c,l,t){t===void 0&&(t=!1);let e=xX(c),d=lZ(c),b=cZ(d),o=d==="x"?e===(t?"end":"start")?"right":"left":e==="start"?"bottom":"top";return l.reference[b]>l.floating[b]&&(o=dx(o)),[o,dx(o)]}function Sv(c){let l=dx(c);return[_r(c),l,_r(l)]}function _r(c){return c.includes("start")?c.replace("start","end"):c.replace("end","start")}var vv=["left","right"],Nv=["right","left"],Ltc=["top","bottom"],jtc=["bottom","top"];function Etc(c,l,t){switch(c){case"top":case"bottom":return t?l?Nv:vv:l?vv:Nv;case"left":case"right":return l?Ltc:jtc;default:return[]}}function kv(c,l,t,e){let d=xX(c),b=Etc(kb(c),t==="start",e);return d&&(b=b.map(o=>o+"-"+d),l&&(b=b.concat(b.map(_r)))),b}function dx(c){let l=kb(c);return Utc[l]+c.slice(l.length)}function Mtc(c){return{top:0,right:0,bottom:0,left:0,...c}}function o1(c){return typeof c!="number"?Mtc(c):{top:c,right:c,bottom:c,left:c}}function sX(c){let{x:l,y:t,width:e,height:d}=c;return{width:e,height:d,top:t,left:l,right:l+e,bottom:t+d,x:l,y:t}}function zv(c,l,t){let{reference:e,floating:d}=c,b=qd(l),o=lZ(l),n=cZ(o),G=kb(l),X=b==="y",i=e.x+e.width/2-d.width/2,a=e.y+e.height/2-d.height/2,m=e[n]/2-d[n]/2,x;switch(G){case"top":x={x:i,y:e.y-d.height};break;case"bottom":x={x:i,y:e.y+e.height};break;case"right":x={x:e.x+e.width,y:a};break;case"left":x={x:e.x-d.width,y:a};break;default:x={x:e.x,y:e.y}}switch(xX(l)){case"start":x[o]-=m*(t&&X?-1:1);break;case"end":x[o]+=m*(t&&X?-1:1);break}return x}async function Av(c,l){var t;l===void 0&&(l={});let{x:e,y:d,platform:b,rects:o,elements:n,strategy:G}=c,{boundary:X="clippingAncestors",rootBoundary:i="viewport",elementContext:a="floating",altBoundary:m=!1,padding:x=0}=ko(l,c),s=o1(x),r=n[m?a==="floating"?"reference":"floating":a],H=sX(await b.getClippingRect({element:(t=await(b.isElement==null?void 0:b.isElement(r)))==null||t?r:r.contextElement||await(b.getDocumentElement==null?void 0:b.getDocumentElement(n.floating)),boundary:X,rootBoundary:i,strategy:G})),Z=a==="floating"?{x:e,y:d,width:o.floating.width,height:o.floating.height}:o.reference,R=await(b.getOffsetParent==null?void 0:b.getOffsetParent(n.floating)),W=await(b.isElement==null?void 0:b.isElement(R))?await(b.getScale==null?void 0:b.getScale(R))||{x:1,y:1}:{x:1,y:1},I=sX(b.convertOffsetParentRelativeRectToViewportRelativeRect?await b.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:Z,offsetParent:R,strategy:G}):Z);return{top:(H.top-I.top+s.top)/W.y,bottom:(I.bottom-H.bottom+s.bottom)/W.y,left:(H.left-I.left+s.left)/W.x,right:(I.right-H.right+s.right)/W.x}}var Ptc=50,Ov=async(c,l,t)=>{let{placement:e="bottom",strategy:d="absolute",middleware:b=[],platform:o}=t,n=o.detectOverflow?o:{...o,detectOverflow:Av},G=await(o.isRTL==null?void 0:o.isRTL(l)),X=await o.getElementRects({reference:c,floating:l,strategy:d}),{x:i,y:a}=zv(X,e,G),m=e,x=0,s={};for(let g=0;g<b.length;g++){let r=b[g];if(!r)continue;let{name:H,fn:Z}=r,{x:R,y:W,data:I,reset:B}=await Z({x:i,y:a,initialPlacement:e,placement:m,strategy:d,middlewareData:s,rects:X,platform:n,elements:{reference:c,floating:l}});i=R??i,a=W??a,s[H]={...s[H],...I},B&&x<Ptc&&(x++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(X=B.rects===!0?await o.getElementRects({reference:c,floating:l,strategy:d}):B.rects),{x:i,y:a}=zv(X,m,G)),g=-1)}return{x:i,y:a,placement:m,strategy:d,middlewareData:s}},Qv=c=>({name:"arrow",options:c,async fn(l){let{x:t,y:e,placement:d,rects:b,platform:o,elements:n,middlewareData:G}=l,{element:X,padding:i=0}=ko(c,l)||{};if(X==null)return{};let a=o1(i),m={x:t,y:e},x=lZ(d),s=cZ(x),g=await o.getDimensions(X),r=x==="y",H=r?"top":"left",Z=r?"bottom":"right",R=r?"clientHeight":"clientWidth",W=b.reference[s]+b.reference[x]-m[x]-b.floating[s],I=m[x]-b.reference[x],B=await(o.getOffsetParent==null?void 0:o.getOffsetParent(X)),p=B?B[R]:0;(!p||!await(o.isElement==null?void 0:o.isElement(B)))&&(p=n.floating[R]||b.floating[s]);let y=W/2-I/2,Y=p/2-g[s]/2-1,C=Sb(a[H],Y),J=Sb(a[Z],Y),N=C,S=p-g[s]-J,F=p/2-g[s]/2+y,D=qr(N,F,S),L=!G.arrow&&xX(d)!=null&&F!==D&&b.reference[s]/2-(F<N?C:J)-g[s]/2<0,v=L?F<N?F-N:F-S:0;return{[x]:m[x]+v,data:{[x]:D,centerOffset:F-D-v,...L&&{alignmentOffset:v}},reset:L}}});var wv=function(c){return c===void 0&&(c={}),{name:"flip",options:c,async fn(l){var t,e;let{placement:d,middlewareData:b,rects:o,initialPlacement:n,platform:G,elements:X}=l,{mainAxis:i=!0,crossAxis:a=!0,fallbackPlacements:m,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:s="none",flipAlignment:g=!0,...r}=ko(c,l);if((t=b.arrow)!=null&&t.alignmentOffset)return{};let H=kb(d),Z=qd(n),R=kb(n)===n,W=await(G.isRTL==null?void 0:G.isRTL(X.floating)),I=m||(R||!g?[dx(n)]:Sv(n)),B=s!=="none";!m&&B&&I.push(...kv(n,g,s,W));let p=[n,...I],y=await G.detectOverflow(l,r),Y=[],C=((e=b.flip)==null?void 0:e.overflows)||[];if(i&&Y.push(y[H]),a){let F=fv(d,o,W);Y.push(y[F[0]],y[F[1]])}if(C=[...C,{placement:d,overflows:Y}],!Y.every(F=>F<=0)){var J,N;let F=(((J=b.flip)==null?void 0:J.index)||0)+1,D=p[F];if(D&&(!(a==="alignment"?Z!==qd(D):!1)||C.every(T=>qd(T.placement)===Z?T.overflows[0]>0:!0)))return{data:{index:F,overflows:C},reset:{placement:D}};let L=(N=C.filter(v=>v.overflows[0]<=0).sort((v,T)=>v.overflows[1]-T.overflows[1])[0])==null?void 0:N.placement;if(!L)switch(x){case"bestFit":{var S;let v=(S=C.filter(T=>{if(B){let k=qd(T.placement);return k===Z||k==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(k=>k>0).reduce((k,M)=>k+M,0)]).sort((T,k)=>T[1]-k[1])[0])==null?void 0:S[0];v&&(L=v);break}case"initialPlacement":L=n;break}if(d!==L)return{reset:{placement:L}}}return{}}}};var Tv=new Set(["left","top"]);async function Ktc(c,l){let{placement:t,platform:e,elements:d}=c,b=await(e.isRTL==null?void 0:e.isRTL(d.floating)),o=kb(t),n=xX(t),G=qd(t)==="y",X=Tv.has(o)?-1:1,i=b&&G?-1:1,a=ko(l,c),{mainAxis:m,crossAxis:x,alignmentAxis:s}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return n&&typeof s=="number"&&(x=n==="end"?s*-1:s),G?{x:x*i,y:m*X}:{x:m*X,y:x*i}}var Dv=function(c){return c===void 0&&(c=0),{name:"offset",options:c,async fn(l){var t,e;let{x:d,y:b,placement:o,middlewareData:n}=l,G=await Ktc(l,c);return o===((t=n.offset)==null?void 0:t.placement)&&(e=n.arrow)!=null&&e.alignmentOffset?{}:{x:d+G.x,y:b+G.y,data:{...G,placement:o}}}}},Uv=function(c){return c===void 0&&(c={}),{name:"shift",options:c,async fn(l){let{x:t,y:e,placement:d,platform:b}=l,{mainAxis:o=!0,crossAxis:n=!1,limiter:G={fn:H=>{let{x:Z,y:R}=H;return{x:Z,y:R}}},...X}=ko(c,l),i={x:t,y:e},a=await b.detectOverflow(l,X),m=qd(kb(d)),x=$r(m),s=i[x],g=i[m];if(o){let H=x==="y"?"top":"left",Z=x==="y"?"bottom":"right",R=s+a[H],W=s-a[Z];s=qr(R,s,W)}if(n){let H=m==="y"?"top":"left",Z=m==="y"?"bottom":"right",R=g+a[H],W=g-a[Z];g=qr(R,g,W)}let r=G.fn({...l,[x]:s,[m]:g});return{...r,data:{x:r.x-t,y:r.y-e,enabled:{[x]:o,[m]:n}}}}}},Lv=function(c){return c===void 0&&(c={}),{options:c,fn(l){let{x:t,y:e,placement:d,rects:b,middlewareData:o}=l,{offset:n=0,mainAxis:G=!0,crossAxis:X=!0}=ko(c,l),i={x:t,y:e},a=qd(d),m=$r(a),x=i[m],s=i[a],g=ko(n,l),r=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(G){let R=m==="y"?"height":"width",W=b.reference[m]-b.floating[R]+r.mainAxis,I=b.reference[m]+b.reference[R]-r.mainAxis;x<W?x=W:x>I&&(x=I)}if(X){var H,Z;let R=m==="y"?"width":"height",W=Tv.has(kb(d)),I=b.reference[a]-b.floating[R]+(W&&((H=o.offset)==null?void 0:H[a])||0)+(W?0:r.crossAxis),B=b.reference[a]+b.reference[R]+(W?0:((Z=o.offset)==null?void 0:Z[a])||0)-(W?r.crossAxis:0);s<I?s=I:s>B&&(s=B)}return{[m]:x,[a]:s}}}},jv=function(c){return c===void 0&&(c={}),{name:"size",options:c,async fn(l){var t,e;let{placement:d,rects:b,platform:o,elements:n}=l,{apply:G=()=>{},...X}=ko(c,l),i=await o.detectOverflow(l,X),a=kb(d),m=xX(d),x=qd(d)==="y",{width:s,height:g}=b.floating,r,H;a==="top"||a==="bottom"?(r=a,H=m===(await(o.isRTL==null?void 0:o.isRTL(n.floating))?"start":"end")?"left":"right"):(H=a,r=m==="end"?"top":"bottom");let Z=g-i.top-i.bottom,R=s-i.left-i.right,W=Sb(g-i[r],Z),I=Sb(s-i[H],R),B=!l.middlewareData.shift,p=W,y=I;if((t=l.middlewareData.shift)!=null&&t.enabled.x&&(y=R),(e=l.middlewareData.shift)!=null&&e.enabled.y&&(p=Z),B&&!m){let C=ce(i.left,0),J=ce(i.right,0),N=ce(i.top,0),S=ce(i.bottom,0);x?y=s-2*(C!==0||J!==0?C+J:ce(i.left,i.right)):p=g-2*(N!==0||S!==0?N+S:ce(i.top,i.bottom))}await G({...l,availableWidth:y,availableHeight:p});let Y=await o.getDimensions(n.floating);return s!==Y.width||g!==Y.height?{reset:{rects:!0}}:{}}}};function tZ(){return typeof window<"u"}function ZX(c){return Mv(c)?(c.nodeName||"").toLowerCase():"#document"}function pe(c){var l;return(c==null||(l=c.ownerDocument)==null?void 0:l.defaultView)||window}function $d(c){var l;return(l=(Mv(c)?c.ownerDocument:c.document)||window.document)==null?void 0:l.documentElement}function Mv(c){return tZ()?c instanceof Node||c instanceof pe(c).Node:!1}function gd(c){return tZ()?c instanceof Element||c instanceof pe(c).Element:!1}function zb(c){return tZ()?c instanceof HTMLElement||c instanceof pe(c).HTMLElement:!1}function Ev(c){return!tZ()||typeof ShadowRoot>"u"?!1:c instanceof ShadowRoot||c instanceof pe(c).ShadowRoot}function Ha(c){let{overflow:l,overflowX:t,overflowY:e,display:d}=rd(c);return/auto|scroll|overlay|hidden|clip/.test(l+e+t)&&d!=="inline"&&d!=="contents"}function Pv(c){return/^(table|td|th)$/.test(ZX(c))}function nx(c){try{if(c.matches(":popover-open"))return!0}catch{}try{return c.matches(":modal")}catch{return!1}}var _tc=/transform|translate|scale|rotate|perspective|filter/,qtc=/paint|layout|strict|content/,gX=c=>!!c&&c!=="none",n1;function eZ(c){let l=gd(c)?rd(c):c;return gX(l.transform)||gX(l.translate)||gX(l.scale)||gX(l.rotate)||gX(l.perspective)||!dZ()&&(gX(l.backdropFilter)||gX(l.filter))||_tc.test(l.willChange||"")||qtc.test(l.contain||"")}function Kv(c){let l=zo(c);for(;zb(l)&&!HX(l);){if(eZ(l))return l;if(nx(l))return null;l=zo(l)}return null}function dZ(){return n1==null&&(n1=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n1}function HX(c){return/^(html|body|#document)$/.test(ZX(c))}function rd(c){return pe(c).getComputedStyle(c)}function Gx(c){return gd(c)?{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}:{scrollLeft:c.scrollX,scrollTop:c.scrollY}}function zo(c){if(ZX(c)==="html")return c;let l=c.assignedSlot||c.parentNode||Ev(c)&&c.host||$d(c);return Ev(l)?l.host:l}function _v(c){let l=zo(c);return HX(l)?c.ownerDocument?c.ownerDocument.body:c.body:zb(l)&&Ha(l)?l:_v(l)}function rX(c,l,t){var e;l===void 0&&(l=[]),t===void 0&&(t=!0);let d=_v(c),b=d===((e=c.ownerDocument)==null?void 0:e.body),o=pe(d);if(b){let n=bZ(o);return l.concat(o,o.visualViewport||[],Ha(d)?d:[],n&&t?rX(n):[])}else return l.concat(d,rX(d,[],t))}function bZ(c){return c.parent&&Object.getPrototypeOf(c.parent)?c.frameElement:null}function lN(c){let l=rd(c),t=parseFloat(l.width)||0,e=parseFloat(l.height)||0,d=zb(c),b=d?c.offsetWidth:t,o=d?c.offsetHeight:e,n=bx(t)!==b||bx(e)!==o;return n&&(t=b,e=o),{width:t,height:e,$:n}}function X1(c){return gd(c)?c:c.contextElement}function Ra(c){let l=X1(c);if(!zb(l))return _d(1);let t=l.getBoundingClientRect(),{width:e,height:d,$:b}=lN(l),o=(b?bx(t.width):t.width)/e,n=(b?bx(t.height):t.height)/d;return(!o||!Number.isFinite(o))&&(o=1),(!n||!Number.isFinite(n))&&(n=1),{x:o,y:n}}var $tc=_d(0);function tN(c){let l=pe(c);return!dZ()||!l.visualViewport?$tc:{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function cec(c,l,t){return l===void 0&&(l=!1),!t||l&&t!==pe(c)?!1:l}function RX(c,l,t,e){l===void 0&&(l=!1),t===void 0&&(t=!1);let d=c.getBoundingClientRect(),b=X1(c),o=_d(1);l&&(e?gd(e)&&(o=Ra(e)):o=Ra(c));let n=cec(b,t,e)?tN(b):_d(0),G=(d.left+n.x)/o.x,X=(d.top+n.y)/o.y,i=d.width/o.x,a=d.height/o.y;if(b){let m=pe(b),x=e&&gd(e)?pe(e):e,s=m,g=bZ(s);for(;g&&e&&x!==s;){let r=Ra(g),H=g.getBoundingClientRect(),Z=rd(g),R=H.left+(g.clientLeft+parseFloat(Z.paddingLeft))*r.x,W=H.top+(g.clientTop+parseFloat(Z.paddingTop))*r.y;G*=r.x,X*=r.y,i*=r.x,a*=r.y,G+=R,X+=W,s=pe(g),g=bZ(s)}}return sX({width:i,height:a,x:G,y:X})}function oZ(c,l){let t=Gx(c).scrollLeft;return l?l.left+t:RX($d(c)).left+t}function eN(c,l){let t=c.getBoundingClientRect(),e=t.left+l.scrollLeft-oZ(c,t),d=t.top+l.scrollTop;return{x:e,y:d}}function lec(c){let{elements:l,rect:t,offsetParent:e,strategy:d}=c,b=d==="fixed",o=$d(e),n=l?nx(l.floating):!1;if(e===o||n&&b)return t;let G={scrollLeft:0,scrollTop:0},X=_d(1),i=_d(0),a=zb(e);if((a||!a&&!b)&&((ZX(e)!=="body"||Ha(o))&&(G=Gx(e)),a)){let x=RX(e);X=Ra(e),i.x=x.x+e.clientLeft,i.y=x.y+e.clientTop}let m=o&&!a&&!b?eN(o,G):_d(0);return{width:t.width*X.x,height:t.height*X.y,x:t.x*X.x-G.scrollLeft*X.x+i.x+m.x,y:t.y*X.y-G.scrollTop*X.y+i.y+m.y}}function tec(c){return Array.from(c.getClientRects())}function eec(c){let l=$d(c),t=Gx(c),e=c.ownerDocument.body,d=ce(l.scrollWidth,l.clientWidth,e.scrollWidth,e.clientWidth),b=ce(l.scrollHeight,l.clientHeight,e.scrollHeight,e.clientHeight),o=-t.scrollLeft+oZ(c),n=-t.scrollTop;return rd(e).direction==="rtl"&&(o+=ce(l.clientWidth,e.clientWidth)-d),{width:d,height:b,x:o,y:n}}var qv=25;function dec(c,l){let t=pe(c),e=$d(c),d=t.visualViewport,b=e.clientWidth,o=e.clientHeight,n=0,G=0;if(d){b=d.width,o=d.height;let i=dZ();(!i||i&&l==="fixed")&&(n=d.offsetLeft,G=d.offsetTop)}let X=oZ(e);if(X<=0){let i=e.ownerDocument,a=i.body,m=getComputedStyle(a),x=i.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,s=Math.abs(e.clientWidth-a.clientWidth-x);s<=qv&&(b-=s)}else X<=qv&&(b+=X);return{width:b,height:o,x:n,y:G}}function bec(c,l){let t=RX(c,!0,l==="fixed"),e=t.top+c.clientTop,d=t.left+c.clientLeft,b=zb(c)?Ra(c):_d(1),o=c.clientWidth*b.x,n=c.clientHeight*b.y,G=d*b.x,X=e*b.y;return{width:o,height:n,x:G,y:X}}function $v(c,l,t){let e;if(l==="viewport")e=dec(c,t);else if(l==="document")e=eec($d(c));else if(gd(l))e=bec(l,t);else{let d=tN(c);e={x:l.x-d.x,y:l.y-d.y,width:l.width,height:l.height}}return sX(e)}function dN(c,l){let t=zo(c);return t===l||!gd(t)||HX(t)?!1:rd(t).position==="fixed"||dN(t,l)}function oec(c,l){let t=l.get(c);if(t)return t;let e=rX(c,[],!1).filter(n=>gd(n)&&ZX(n)!=="body"),d=null,b=rd(c).position==="fixed",o=b?zo(c):c;for(;gd(o)&&!HX(o);){let n=rd(o),G=eZ(o);!G&&n.position==="fixed"&&(d=null),(b?!G&&!d:!G&&n.position==="static"&&!!d&&(d.position==="absolute"||d.position==="fixed")||Ha(o)&&!G&&dN(c,o))?e=e.filter(i=>i!==o):d=n,o=zo(o)}return l.set(c,e),e}function nec(c){let{element:l,boundary:t,rootBoundary:e,strategy:d}=c,o=[...t==="clippingAncestors"?nx(l)?[]:oec(l,this._c):[].concat(t),e],n=$v(l,o[0],d),G=n.top,X=n.right,i=n.bottom,a=n.left;for(let m=1;m<o.length;m++){let x=$v(l,o[m],d);G=ce(x.top,G),X=Sb(x.right,X),i=Sb(x.bottom,i),a=ce(x.left,a)}return{width:X-a,height:i-G,x:a,y:G}}function Gec(c){let{width:l,height:t}=lN(c);return{width:l,height:t}}function Xec(c,l,t){let e=zb(l),d=$d(l),b=t==="fixed",o=RX(c,!0,b,l),n={scrollLeft:0,scrollTop:0},G=_d(0);function X(){G.x=oZ(d)}if(e||!e&&!b)if((ZX(l)!=="body"||Ha(d))&&(n=Gx(l)),e){let x=RX(l,!0,b,l);G.x=x.x+l.clientLeft,G.y=x.y+l.clientTop}else d&&X();b&&!e&&d&&X();let i=d&&!e&&!b?eN(d,n):_d(0),a=o.left+n.scrollLeft-G.x-i.x,m=o.top+n.scrollTop-G.y-i.y;return{x:a,y:m,width:o.width,height:o.height}}function G1(c){return rd(c).position==="static"}function cN(c,l){if(!zb(c)||rd(c).position==="fixed")return null;if(l)return l(c);let t=c.offsetParent;return $d(c)===t&&(t=t.ownerDocument.body),t}function bN(c,l){let t=pe(c);if(nx(c))return t;if(!zb(c)){let d=zo(c);for(;d&&!HX(d);){if(gd(d)&&!G1(d))return d;d=zo(d)}return t}let e=cN(c,l);for(;e&&Pv(e)&&G1(e);)e=cN(e,l);return e&&HX(e)&&G1(e)&&!eZ(e)?t:e||Kv(c)||t}var iec=async function(c){let l=this.getOffsetParent||bN,t=this.getDimensions,e=await t(c.floating);return{reference:Xec(c.reference,await l(c.floating),c.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function aec(c){return rd(c).direction==="rtl"}var oN={convertOffsetParentRelativeRectToViewportRelativeRect:lec,getDocumentElement:$d,getClippingRect:nec,getOffsetParent:bN,getElementRects:iec,getClientRects:tec,getDimensions:Gec,getScale:Ra,isElement:gd,isRTL:aec};function nN(c,l){return c.x===l.x&&c.y===l.y&&c.width===l.width&&c.height===l.height}function uec(c,l){let t=null,e,d=$d(c);function b(){var n;clearTimeout(e),(n=t)==null||n.disconnect(),t=null}function o(n,G){n===void 0&&(n=!1),G===void 0&&(G=1),b();let X=c.getBoundingClientRect(),{left:i,top:a,width:m,height:x}=X;if(n||l(),!m||!x)return;let s=ox(a),g=ox(d.clientWidth-(i+m)),r=ox(d.clientHeight-(a+x)),H=ox(i),R={rootMargin:-s+"px "+-g+"px "+-r+"px "+-H+"px",threshold:ce(0,Sb(1,G))||1},W=!0;function I(B){let p=B[0].intersectionRatio;if(p!==G){if(!W)return o();p?o(!1,p):e=setTimeout(()=>{o(!1,1e-7)},1e3)}p===1&&!nN(X,c.getBoundingClientRect())&&o(),W=!1}try{t=new IntersectionObserver(I,{...R,root:d.ownerDocument})}catch{t=new IntersectionObserver(I,R)}t.observe(c)}return o(!0),b}function Xx(c,l,t,e){e===void 0&&(e={});let{ancestorScroll:d=!0,ancestorResize:b=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:G=!1}=e,X=X1(c),i=d||b?[...X?rX(X):[],...l?rX(l):[]]:[];i.forEach(H=>{d&&H.addEventListener("scroll",t,{passive:!0}),b&&H.addEventListener("resize",t)});let a=X&&n?uec(X,t):null,m=-1,x=null;o&&(x=new ResizeObserver(H=>{let[Z]=H;Z&&Z.target===X&&x&&l&&(x.unobserve(l),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var R;(R=x)==null||R.observe(l)})),t()}),X&&!G&&x.observe(X),l&&x.observe(l));let s,g=G?RX(c):null;G&&r();function r(){let H=RX(c);g&&!nN(g,H)&&t(),g=H,s=requestAnimationFrame(r)}return t(),()=>{var H;i.forEach(Z=>{d&&Z.removeEventListener("scroll",t),b&&Z.removeEventListener("resize",t)}),a?.(),(H=x)==null||H.disconnect(),x=null,G&&cancelAnimationFrame(s)}}var ix=Dv;var ax=Uv,ux=wv,IX=jv;var mx=Qv;var xx=Lv,sx=(c,l,t)=>{let e=new Map,d={platform:oN,...t},b={...d.platform,_c:e};return Ov(c,l,{...d,platform:b})};var nZ=u(E(),1),i1=u(V(),1),mec="div";function GN(c=0,l=0,t=0,e=0){if(typeof DOMRect=="function")return new DOMRect(c,l,t,e);let d={x:c,y:l,width:t,height:e,top:l,right:c+t,bottom:l+e,left:c};return{...d,toJSON:()=>d}}function xec(c){if(!c)return GN();let{x:l,y:t,width:e,height:d}=c;return GN(l,t,e,d)}function sec(c,l){return{contextElement:c||void 0,getBoundingClientRect:()=>{let e=c,d=l?.(e);return d||!e?xec(d):e.getBoundingClientRect()}}}function gec(c){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(c)}function XN(c){let l=window.devicePixelRatio||1;return Math.round(c*l)/l}function rec(c,l){return ix(({placement:t})=>{var e;let d=(c?.clientHeight||0)/2,b=typeof l.gutter=="number"?l.gutter+d:(e=l.gutter)!=null?e:d;return{crossAxis:!!t.split("-")[1]?void 0:l.shift,mainAxis:b,alignmentAxis:l.shift}})}function Zec(c){if(c.flip===!1)return;let l=typeof c.flip=="string"?c.flip.split(" "):void 0;return gc(!l||l.every(gec),!1),ux({padding:c.overflowPadding,fallbackPlacements:l})}function Hec(c){if(!(!c.slide&&!c.overlap))return ax({mainAxis:c.slide,crossAxis:c.overlap,padding:c.overflowPadding,limiter:xx()})}function Rec(c){return IX({padding:c.overflowPadding,apply({elements:l,availableWidth:t,availableHeight:e,rects:d}){let b=l.floating,o=Math.round(d.reference.width);t=Math.floor(t),e=Math.floor(e),b.style.setProperty("--popover-anchor-width",`${o}px`),b.style.setProperty("--popover-available-width",`${t}px`),b.style.setProperty("--popover-available-height",`${e}px`),c.sameWidth&&(b.style.width=`${o}px`),c.fitViewport&&(b.style.maxWidth=`${t}px`,b.style.maxHeight=`${e}px`)}})}function Iec(c,l){if(c)return mx({element:c,padding:l.arrowPadding})}var gx=q(function({store:l,modal:t=!1,portal:e=!!t,preserveTabOrder:d=!0,autoFocusOnShow:b=!0,wrapperProps:o,fixed:n=!1,flip:G=!0,shift:X=0,slide:i=!0,overlap:a=!1,sameWidth:m=!1,fitViewport:x=!1,gutter:s,arrowPadding:g=4,overflowPadding:r=8,getAnchorRect:H,updatePosition:Z,...R}){let W=GX();l=l||W,gc(l,!1);let I=l.useState("arrowElement"),B=l.useState("anchorElement"),p=l.useState("disclosureElement"),y=l.useState("popoverElement"),Y=l.useState("contentElement"),C=l.useState("placement"),J=l.useState("mounted"),N=l.useState("rendered"),S=(0,nZ.useRef)(null),[F,D]=(0,nZ.useState)(!1),{portalRef:L,domReady:v}=$i(e,R.portalRef),T=nc(H),k=nc(Z),M=!!Z;Sc(()=>{if(!y?.isConnected)return;y.style.setProperty("--popover-overflow-padding",`${r}px`);let Gc=sec(B,T),U=async()=>{if(!J)return;I||(S.current=S.current||document.createElement("div"));let oc=I||S.current,Rc=[rec(oc,{gutter:s,shift:X}),Zec({flip:G,overflowPadding:r}),Hec({slide:i,shift:X,overlap:a,overflowPadding:r}),Iec(oc,{arrowPadding:g}),Rec({sameWidth:m,fitViewport:x,overflowPadding:r})],Vc=await sx(Gc,y,{placement:C,strategy:n?"fixed":"absolute",middleware:Rc});l?.setState("currentPlacement",Vc.placement),D(!0);let Mc=XN(Vc.x),Dl=XN(Vc.y);if(Object.assign(y.style,{top:"0",left:"0",transform:`translate3d(${Mc}px,${Dl}px,0)`}),oc&&Vc.middlewareData.arrow){let{x:xl,y:sc}=Vc.middlewareData.arrow,Pc=Vc.placement.split("-")[0],Fl=oc.clientWidth/2,Nt=oc.clientHeight/2,uc=xl!=null?xl+Fl:-Fl,Yc=sc!=null?sc+Nt:-Nt;y.style.setProperty("--popover-transform-origin",{top:`${uc}px calc(100% + ${Nt}px)`,bottom:`${uc}px ${-Nt}px`,left:`calc(100% + ${Fl}px) ${Yc}px`,right:`${-Fl}px ${Yc}px`}[Pc]),Object.assign(oc.style,{left:xl!=null?`${xl}px`:"",top:sc!=null?`${sc}px`:"",[Pc]:"100%"})}},j=Xx(Gc,y,async()=>{M?(await k({updatePosition:U}),D(!0)):await U()},{elementResize:typeof ResizeObserver=="function"});return()=>{D(!1),j()}},[l,N,y,I,B,y,C,J,v,n,G,X,i,a,m,x,s,g,r,T,M,k]),Sc(()=>{if(!J||!v||!y?.isConnected||!Y?.isConnected)return;let Gc=()=>{y.style.zIndex=getComputedStyle(Y).zIndex};Gc();let U=requestAnimationFrame(()=>{U=requestAnimationFrame(Gc)});return()=>cancelAnimationFrame(U)},[J,v,y,Y]);let P=n?"fixed":"absolute";return R=Wc(R,Gc=>(0,i1.jsx)("div",{...o,style:{position:P,top:0,left:0,width:"max-content",...o?.style},ref:l?.setPopoverElement,children:Gc}),[l,P,o]),R=Wc(R,Gc=>(0,i1.jsx)(Nb,{value:l,children:Gc}),[l]),R={"data-placing":!F||void 0,...R,style:{position:"relative",...R.style}},R=b1({store:l,modal:t,portal:e,preserveTabOrder:d,preserveTabOrderAnchor:p||B,autoFocusOnShow:F&&b,...R,portalRef:L}),R}),WVc=Kd(K(function(l){let t=gx(l);return _(mec,t)}),GX);var Al=u(E(),1),a1=u(V(),1),Wec="div";function aN(c,l,t,e){return ad(l)?!0:c?!!($c(l,c)||t&&$c(t,c)||e?.some(d=>aN(c,d,t))):!1}function pec({store:c,...l}){let[t,e]=(0,Al.useState)(!1),d=c.useState("mounted");(0,Al.useEffect)(()=>{d||e(!1)},[d]);let b=l.onFocus,o=nc(G=>{b?.(G),!G.defaultPrevented&&e(!0)}),n=(0,Al.useRef)(null);return(0,Al.useEffect)(()=>Kc(c,["anchorElement"],G=>{n.current=G.anchorElement}),[]),l={autoFocusOnHide:t,finalFocus:n,...l,onFocus:o},l}var iN=(0,Al.createContext)(null),rx=q(function({store:l,modal:t=!1,portal:e=!!t,hideOnEscape:d=!0,hideOnHoverOutside:b=!0,disablePointerEventsOnApproach:o=!!b,...n}){let G=Pm();l=l||G,gc(l,!1);let X=(0,Al.useRef)(null),[i,a]=(0,Al.useState)([]),m=(0,Al.useRef)(0),x=(0,Al.useRef)(null),{portalRef:s,domReady:g}=$i(e,n.portalRef),r=ca(),H=!!b,Z=cl(b),R=!!o,W=cl(o),I=l.useState("open"),B=l.useState("mounted");(0,Al.useEffect)(()=>{if(!g||!B||!H&&!R)return;let J=X.current;return J?ul(Cl("mousemove",S=>{if(!l||!r())return;let{anchorElement:F,hideTimeout:D,timeout:L}=l.getState(),v=x.current,[T]=S.composedPath(),k=F;if(aN(T,J,k,i)){x.current=T&&k&&$c(k,T)?Ur(S):null,window.clearTimeout(m.current),m.current=0;return}if(!m.current){if(v){let M=Ur(S),P=Uy(J,v);if(Dy(M,P)){if(x.current=M,!W(S))return;S.preventDefault(),S.stopPropagation();return}}Z(S)&&(m.current=window.setTimeout(()=>{m.current=0,l?.hide()},D??L))}},!0),()=>clearTimeout(m.current)):void 0},[l,r,g,B,H,R,i,W,Z]),(0,Al.useEffect)(()=>{if(!g||!B||!R)return;let J=N=>{let S=X.current;if(!S)return;let F=x.current;if(!F)return;let D=Uy(S,F);if(Dy(Ur(N),D)){if(!W(N))return;N.preventDefault(),N.stopPropagation()}};return ul(Cl("mouseenter",J,!0),Cl("mouseover",J,!0),Cl("mouseout",J,!0),Cl("mouseleave",J,!0))},[g,B,R,W]),(0,Al.useEffect)(()=>{g&&(I||l?.setAutoFocusOnShow(!1))},[l,g,I]);let p=pr(I);(0,Al.useEffect)(()=>{if(g)return()=>{p.current||l?.setAutoFocusOnShow(!1)}},[l,g]);let y=(0,Al.useContext)(iN);Sc(()=>{if(t||!e||!B||!g)return;let J=X.current;if(J)return y?.(J)},[t,e,B,g]);let Y=(0,Al.useCallback)(J=>{a(S=>[...S,J]);let N=y?.(J);return()=>{a(S=>S.filter(F=>F!==J)),N?.()}},[y]);n=Wc(n,J=>(0,a1.jsx)(sa,{value:l,children:(0,a1.jsx)(iN.Provider,{value:Y,children:J})}),[l,Y]),n={...n,ref:pc(X,n.ref)},n=pec({store:l,...n});let C=l.useState(J=>t||J.autoFocusOnShow);return n=gx({store:l,modal:t,portal:e,autoFocusOnShow:C,...n,portalRef:s,hideOnEscape(J){return Vb(d,J)?!1:(requestAnimationFrame(()=>{requestAnimationFrame(()=>{l?.hide()})}),!0)}}),n}),SVc=Kd(K(function(l){let t=rx(l);return _(Wec,t)}),Pm);var uN=u(V(),1),Bec="div",yec=q(function({store:l,portal:t=!0,gutter:e=8,preserveTabOrder:d=!1,hideOnHoverOutside:b=!0,hideOnInteractOutside:o=!0,...n}){let G=_m();return l=l||G,gc(l,!1),n=Wc(n,i=>(0,uN.jsx)(ov,{value:l,children:i}),[l]),n={role:l.useState(i=>i.type==="description"?"tooltip":"none"),...n},n=rx({...n,store:l,portal:t,gutter:e,preserveTabOrder:d,hideOnHoverOutside(i){if(Vb(b,i))return!1;let a=l?.getState().anchorElement;return a?!("focusVisible"in a.dataset):!0},hideOnInteractOutside:i=>{if(Vb(o,i))return!1;let a=l?.getState().anchorElement;return a?!$c(a,i.target):!0}}),n}),GZ=Kd(K(function(l){let t=yec(l);return _(Bec,t)}),_m);var WX=u(E(),1),Vec="a",Zx=q(function({store:l,showOnHover:t=!0,...e}){let d=Pm();l=l||d,gc(l,!1);let b=tt(e),o=(0,WX.useRef)(0);(0,WX.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,WX.useEffect)(()=>Cl("mouseleave",g=>{if(!l)return;let{anchorElement:r}=l.getState();r&&g.target===r&&(window.clearTimeout(o.current),o.current=0)},!0),[l]);let n=e.onMouseMove,G=cl(t),X=ca(),i=nc(s=>{if(n?.(s),b||!l||s.defaultPrevented||o.current||!X()||!G(s))return;let g=s.currentTarget;l.setAnchorElement(g),l.setDisclosureElement(g);let{showTimeout:r,timeout:H}=l.getState(),Z=()=>{o.current=0,X()&&(l?.setAnchorElement(g),l?.show(),queueMicrotask(()=>{l?.setDisclosureElement(g)}))},R=r??H;R===0?Z():o.current=window.setTimeout(Z,R)}),a=e.onClick,m=nc(s=>{a?.(s),l&&(window.clearTimeout(o.current),o.current=0)}),x=(0,WX.useCallback)(s=>{if(!l)return;let{anchorElement:g}=l.getState();g?.isConnected||l.setAnchorElement(s)},[l]);return e={...e,ref:pc(x,e.ref),onMouseMove:i,onClick:m},e=Ld(e),e}),_Vc=K(function(l){let t=Zx(l);return _(Vec,t)});var Hx=u(E(),1),Cec="div",pX=Gl({activeStore:null});function mN(c){return()=>{let{activeStore:l}=pX.getState();l===c&&pX.setState("activeStore",null)}}var Jec=q(function({store:l,showOnHover:t=!0,...e}){let d=_m();l=l||d,gc(l,!1);let b=(0,Hx.useRef)(!1);(0,Hx.useEffect)(()=>Kc(l,["mounted"],s=>{s.mounted||(b.current=!1)}),[l]),(0,Hx.useEffect)(()=>{if(l)return ul(mN(l),Kc(l,["mounted","skipTimeout"],s=>{if(!l)return;if(s.mounted){let{activeStore:r}=pX.getState();return r!==l&&r?.hide(),pX.setState("activeStore",l)}let g=setTimeout(mN(l),s.skipTimeout);return()=>clearTimeout(g)}))},[l]);let o=e.onMouseEnter,n=nc(s=>{o?.(s),b.current=!0}),G=e.onFocusVisible,X=nc(s=>{G?.(s),!s.defaultPrevented&&(l?.setAnchorElement(s.currentTarget),l?.show())}),i=e.onBlur,a=nc(s=>{if(i?.(s),s.defaultPrevented)return;let{activeStore:g}=pX.getState();b.current=!1,g===l&&pX.setState("activeStore",null)}),m=l.useState("type"),x=l.useState(s=>{var g;return(g=s.contentElement)==null?void 0:g.id});return e={"aria-labelledby":m==="label"?x:void 0,...e,onMouseEnter:n,onFocusVisible:X,onBlur:a},e=Zx({store:l,showOnHover(s){if(!b.current||Vb(t,s))return!1;let{activeStore:g}=pX.getState();return g?(l?.show(),!1):!0},...e}),e}),XZ=K(function(l){let t=Jec(l);return _(Cec,t)});function iZ({popover:c,...l}={}){let t=jd(l.store,ud(c,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let e=t?.getState(),d=ex({...l,store:t}),b=ac(l.placement,e?.placement,"bottom"),o={...d.getState(),placement:b,currentPlacement:b,anchorElement:ac(e?.anchorElement,null),popoverElement:ac(e?.popoverElement,null),arrowElement:ac(e?.arrowElement,null),rendered:Symbol("rendered")},n=Gl(o,d,t);return{...d,...n,setAnchorElement:G=>n.setState("anchorElement",G),setPopoverElement:G=>n.setState("popoverElement",G),setArrowElement:G=>n.setState("arrowElement",G),render:()=>n.setState("rendered",Symbol("rendered"))}}function aZ(c,l,t){return qt(l,[t.popover]),zc(c,t,"placement"),d1(c,l,t)}function uZ(c={}){var l;let t=(l=c.store)==null?void 0:l.getState(),e=iZ({...c,placement:ac(c.placement,t?.placement,"bottom")}),d=ac(c.timeout,t?.timeout,500),b={...e.getState(),timeout:d,showTimeout:ac(c.showTimeout,t?.showTimeout),hideTimeout:ac(c.hideTimeout,t?.hideTimeout),autoFocusOnShow:ac(t?.autoFocusOnShow,!1)},o=Gl(b,e,c.store);return{...e,...o,setAutoFocusOnShow:n=>o.setState("autoFocusOnShow",n)}}function mZ(c,l,t){return zc(c,t,"timeout"),zc(c,t,"showTimeout"),zc(c,t,"hideTimeout"),aZ(c,l,t)}function xN(c={}){var l;let t=(l=c.store)==null?void 0:l.getState(),e=uZ({...c,placement:ac(c.placement,t?.placement,"top"),hideTimeout:ac(c.hideTimeout,t?.hideTimeout,0)}),d={...e.getState(),type:ac(c.type,t?.type,"description"),skipTimeout:ac(c.skipTimeout,t?.skipTimeout,300)},b=Gl(d,e,c.store);return{...e,...b}}function sN(c,l,t){return zc(c,t,"type"),zc(c,t,"skipTimeout"),mZ(c,l,t)}function Rx(c={}){let[l,t]=Il(xN,c);return sN(l,t,c)}var gN=u(E(),1),Ix=ol([St],[We]),rN=Ix.useContext,ZN=Ix.useScopedContext,S2c=Ix.useProviderContext,k2c=Ix.ContextProvider,z2c=Ix.ScopedContextProvider,A2c=(0,gN.createContext)(void 0);var hec="div",u1=q(function({store:l,...t}){let e=GX();return l=l||e,t={...t,ref:pc(l?.setAnchorElement,t.ref)},t}),D2c=K(function(l){let t=u1(l);return _(hec,t)});var Ia=u(E(),1),HN="button",m1=q(function(l){let t=(0,Ia.useRef)(null),e=An(t,HN),[d,b]=(0,Ia.useState)(()=>!!e&&Ie({tagName:e,type:l.type}));return(0,Ia.useEffect)(()=>{t.current&&b(Ie(t.current))},[]),l={role:!d&&e!=="a"?"button":void 0,...l,ref:pc(t,l.ref)},l=oX(l),l}),P2c=K(function(l){let t=m1(l);return _(HN,t)});var Wa=u(E(),1),Fec="button",vec=Symbol("disclosure"),x1=q(function({store:l,toggleOnClick:t=!0,...e}){let d=Am();l=l||d,gc(l,!1);let b=(0,Wa.useRef)(null),[o,n]=(0,Wa.useState)(!1),G=l.useState("disclosureElement"),X=l.useState("open");(0,Wa.useEffect)(()=>{let r=G===b.current;G?.isConnected||(l?.setDisclosureElement(b.current),r=!0),n(X&&r)},[G,l,X]);let i=e.onClick,a=cl(t),[m,x]=yr(e,vec,!0),s=nc(r=>{i?.(r),!r.defaultPrevented&&(m||a(r)&&(l?.setDisclosureElement(r.currentTarget),l?.toggle()))}),g=l.useState("contentElement");return e={"aria-expanded":o,"aria-controls":g?.id,...x,...e,ref:pc(b,e.ref),onClick:s},e=m1(e),e}),Nec=K(function(l){let t=x1(l);return _(Fec,t)});var fec="button",s1=q(function({store:l,...t}){let e=Xa();l=l||e,gc(l,!1);let d=l.useState("contentElement");return t={"aria-haspopup":kn(d,"dialog"),...t},t=x1({store:l,...t}),t}),GCc=K(function(l){let t=s1(l);return _(fec,t)});var RN=u(V(),1),Sec="button",Wx=q(function({store:l,...t}){let e=GX();l=l||e,gc(l,!1);let d=t.onClick,b=nc(o=>{l?.setAnchorElement(o.currentTarget),d?.(o)});return t=Wc(t,o=>(0,RN.jsx)(Nb,{value:l,children:o}),[l]),t={...t,onClick:b},t=u1({store:l,...t}),t=s1({store:l,...t}),t}),gCc=K(function(l){let t=Wx(l);return _(Sec,t)});var IN=u(E(),1),g1=u(V(),1),kec="span",zec={top:"4,10 8,6 12,10",right:"6,4 10,8 6,12",bottom:"4,6 8,10 12,6",left:"10,4 6,8 10,12"},r1=q(function({store:l,placement:t,...e}){let d=UF();l=l||d,gc(l,!1);let o=l.useState(X=>t||X.placement).split("-")[0],n=zec[o];return e={children:(0,IN.useMemo)(()=>(0,g1.jsx)("svg",{display:"block",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,viewBox:"0 0 16 16",height:"1em",width:"1em",children:(0,g1.jsx)("polyline",{points:n})}),[n]),"aria-hidden":!0,...e,style:{width:"1em",height:"1em",pointerEvents:"none",...e.style}},nl(e)}),ICc=K(function(l){let t=r1(l);return _(kec,t)});var px=ol([St],[We]),Z1=px.useContext,yCc=px.useScopedContext,WN=px.useProviderContext,VCc=px.ContextProvider,pN=px.ScopedContextProvider;var Bx=u(E(),1),BN="input";function Aec(c,l){if(l!==void 0)return c!=null&&l!=null?l===c:!!l}function Oec(c,l){return c==="input"&&(!l||l==="radio")}var xZ=q(function({store:l,name:t,value:e,checked:d,...b}){let o=Z1();l=l||o;let n=bl(b.id),G=(0,Bx.useRef)(null),X=xc(l,I=>d??Aec(e,I?.value));(0,Bx.useEffect)(()=>{!n||!X||l?.getState().activeId===n||l?.setActiveId(n)},[l,X,n]);let i=b.onChange,a=An(G,BN),m=Oec(a,b.type),x=tt(b),[s,g]=qi();(0,Bx.useEffect)(()=>{let I=G.current;I&&(m||(X!==void 0&&(I.checked=X),t!==void 0&&(I.name=t),e!==void 0&&(I.value=`${e}`)))},[s,m,X,t,e]);let r=nc(I=>{if(x){I.preventDefault(),I.stopPropagation();return}l?.getState().value!==e&&(m||(I.currentTarget.checked=!0,g()),i?.(I),!I.defaultPrevented&&l?.setValue(e))}),H=b.onClick,Z=nc(I=>{H?.(I),!I.defaultPrevented&&(m||r(I))}),R=b.onFocus,W=nc(I=>{if(R?.(I),I.defaultPrevented||!m||!l)return;let{moves:B,activeId:p}=l.getState();B&&(n&&p!==n||r(I))});return b={id:n,role:m?void 0:"radio",type:m?"radio":void 0,"aria-checked":X,...b,ref:pc(G,b.ref),onChange:r,onClick:Z,onFocus:W},b=md({store:l,clickOnEnter:!m,...b}),nl({name:m?t:void 0,value:m?e:void 0,checked:X,...b})}),BX=Ll(K(function(l){let t=xZ(l);return _(BN,t)}));var yN=u(V(),1),Qec="div",wec=q(function({store:l,...t}){let e=WN();return l=l||e,gc(l,!1),t=Wc(t,d=>(0,yN.jsx)(pN,{value:l,children:d}),[l]),t={role:"radiogroup",...t},t=xd({store:l,...t}),t}),pa=K(function(l){let t=wec(l);return _(Qec,t)});function VN({...c}={}){var l;let t=(l=c.store)==null?void 0:l.getState(),e=Le({...c,focusLoop:ac(c.focusLoop,t?.focusLoop,!0)}),d={...e.getState(),value:ac(c.value,t?.value,c.defaultValue,null)},b=Gl(d,e,c.store);return{...e,...b,setValue:o=>b.setState("value",o)}}function CN(c,l,t){return c=sd(c,l,t),zc(c,t,"value","setValue"),c}function yX(c={}){let[l,t]=Il(VN,c);return CN(l,t,c)}var Dec="span",Uec=q(function({store:l,...t}){let e=XX();return l=l||e,t=r1({store:l,...t}),t}),H1=K(function(l){let t=Uec(l);return _(Dec,t)});var JN=u(E(),1),Lec="div",Ao="";function R1(){Ao=""}function jec(c){let l=c.target;return l&&_t(l)?!1:c.key===" "&&Ao.length?!0:c.key.length===1&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&/^[\p{Letter}\p{Number}]$/u.test(c.key)}function Eec(c,l){if(Ul(c))return!0;let t=c.target;return t?l.some(d=>d.element===t):!1}function Mec(c){return c.filter(l=>!l.disabled)}function sZ(c,l){var t;let e=((t=c.element)==null?void 0:t.textContent)||c.children||"value"in c&&c.value;return e?ry(e).trim().toLowerCase().startsWith(l.toLowerCase()):!1}function Pec(c,l,t){if(!t)return c;let e=c.find(d=>d.id===t);return!e||!sZ(e,l)||Ao!==l&&sZ(e,Ao)?c:(Ao=l,tF(c.filter(d=>sZ(d,Ao)),t).filter(d=>d.id!==t))}var Ab=q(function({store:l,typeahead:t=!0,...e}){let d=Ud();l=l||d,gc(l,!1);let b=e.onKeyDownCapture,o=(0,JN.useRef)(0),n=nc(G=>{if(b?.(G),G.defaultPrevented||!t||!l)return;if(!jec(G))return R1();let{renderedItems:X,items:i,activeId:a,id:m}=l.getState(),x=Mec(i.length>X.length?i:X),s=Ac(G.currentTarget),g=`[data-offscreen-id="${m}"]`,r=s.querySelectorAll(g);for(let R of r){let W=R.ariaDisabled==="true"||"disabled"in R&&!!R.disabled;x.push({id:R.id,element:R,disabled:W})}if(r.length&&(x=Cm(x,R=>R.element)),!Eec(G,x))return R1();G.preventDefault(),window.clearTimeout(o.current),o.current=window.setTimeout(()=>{Ao=""},500);let H=G.key.toLowerCase();Ao+=H,x=Pec(x,H,a);let Z=x.find(R=>sZ(R,Ao));Z?l.move(Z.id):R1()});return e={...e,onKeyDownCapture:n},nl(e)}),yx=K(function(l){let t=Ab(l);return _(Lec,t)});var Un=u(E(),1),Zd=u(V(),1),Kec="button";function _ec(c){return Array.from(c.selectedOptions).map(l=>l.value)}function gZ(c,l){return()=>{let t=l();if(!t)return;let e=0,d=c.item(t),b=d;for(;d&&d.value==null;){let o=l(++e);if(!o)return;if(d=c.item(o),d===b)break}return d?.id}}var qec=q(function({store:l,name:t,form:e,required:d,showOnKeyDown:b=!0,moveOnKeyDown:o=!0,toggleOnPress:n=!0,toggleOnClick:G=n,...X}){let i=iX();l=l||i,gc(l,!1);let a=X.onKeyDown,m=cl(b),x=cl(o),g=l.useState("placement").split("-")[0],r=l.useState("value"),H=Array.isArray(r),Z=nc(S=>{var F;if(a?.(S),S.defaultPrevented||!l)return;let{orientation:D,items:L,activeId:v}=l.getState(),T=D!=="horizontal",k=D!=="vertical",M=!!((F=L.find(Vc=>!Vc.disabled&&Vc.value!=null))!=null&&F.rowId),Gc={ArrowUp:(M||T)&&gZ(l,l.up),ArrowRight:(M||k)&&gZ(l,l.next),ArrowDown:(M||T)&&gZ(l,l.down),ArrowLeft:(M||k)&&gZ(l,l.previous)}[S.key];Gc&&x(S)&&(S.preventDefault(),l.move(Gc()));let U=g==="top"||g==="bottom";({ArrowDown:U,ArrowUp:U,ArrowLeft:g==="left",ArrowRight:g==="right"})[S.key]&&m(S)&&(S.preventDefault(),l.move(v),Cb(S.currentTarget,"keyup",l.show))});X=Wc(X,S=>(0,Zd.jsx)(Sr,{value:l,children:S}),[l]);let[R,W]=(0,Un.useState)(!1),I=(0,Un.useRef)(!1);(0,Un.useEffect)(()=>{let S=I.current;I.current=!1,!S&&W(!1)},[r]);let B=l.useState(S=>{var F;return(F=S.labelElement)==null?void 0:F.id}),p=X["aria-label"],y=X["aria-labelledby"]||B,Y=l.useState(S=>{if(t)return S.items}),C=(0,Un.useMemo)(()=>[...new Set(Y?.map(S=>S.value).filter(S=>S!=null))],[Y]);X=Wc(X,S=>t?(0,Zd.jsxs)(Zd.Fragment,{children:[(0,Zd.jsxs)("select",{style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},tabIndex:-1,"aria-hidden":!0,"aria-label":p,"aria-labelledby":y,name:t,form:e,required:d,disabled:X.disabled,value:r,multiple:H,onFocus:()=>{var F;return(F=l?.getState().selectElement)==null?void 0:F.focus()},onChange:F=>{I.current=!0,W(!0),l?.setValue(H?_ec(F.target):F.target.value)},children:[fm(r).map(F=>F==null||C.includes(F)?null:(0,Zd.jsx)("option",{value:F,children:F},F)),C.map(F=>(0,Zd.jsx)("option",{value:F,children:F},F))]}),S]}):S,[l,p,y,t,e,d,r,H,C,X.disabled]);let J=(0,Zd.jsxs)(Zd.Fragment,{children:[r,(0,Zd.jsx)(H1,{})]}),N=l.useState("contentElement");return X={role:"combobox","aria-autocomplete":"none","aria-labelledby":B,"aria-haspopup":kn(N,"listbox"),"data-autofill":R||void 0,"data-name":t,children:J,...X,ref:pc(l.setSelectElement,X.ref),onKeyDown:Z},X=Wx({store:l,toggleOnClick:G,...X}),X=Ab({store:l,...X}),X}),rZ=K(function(l){let t=qec(l);return _(Kec,t)});var YN=u(E(),1),ZZ=(0,YN.createContext)(void 0);var hN=u(E(),1),FN=u(V(),1),$ec="div",I1=q(function(l){let[t,e]=(0,hN.useState)();return l=Wc(l,d=>(0,FN.jsx)(ZZ.Provider,{value:e,children:d}),[]),l={role:"group","aria-labelledby":t,...l},nl(l)}),NJc=K(function(l){let t=I1(l);return _($ec,t)});var cdc="div",HZ=q(function({store:l,...t}){return t=I1(t),t}),Vx=K(function(l){let t=HZ(l);return _(cdc,t)});var vN=u(E(),1),ldc="div",W1=q(function(l){let t=(0,vN.useContext)(ZZ),e=bl(l.id);return Sc(()=>(t?.(e),()=>t?.(void 0)),[t,e]),l={id:e,"aria-hidden":!0,...l},nl(l)}),TJc=K(function(l){let t=W1(l);return _(ldc,t)});var tdc="div",RZ=q(function({store:l,...t}){return t=W1(t),t}),Cx=K(function(l){let t=RZ(l);return _(tdc,t)});var NN=u(E(),1),edc="div";function fN(c){let l=c.relatedTarget;return l?.nodeType===Node.ELEMENT_NODE?l:null}function ddc(c){let l=fN(c);return l?$c(c.currentTarget,l):!1}var p1=Symbol("composite-hover");function bdc(c){let l=fN(c);if(!l)return!1;do{if(Re(l,p1)&&l[p1])return!0;l=l.parentElement}while(l);return!1}var Ba=q(function({store:l,focusOnHover:t=!0,blurOnHoverEnd:e=!!t,...d}){let b=Ud();l=l||b,gc(l,!1);let o=ca(),n=d.onMouseMove,G=cl(t),X=nc(s=>{if(n?.(s),!s.defaultPrevented&&o()&&G(s)){if(!ad(s.currentTarget)){let g=l?.getState().baseElement;g&&!bX(g)&&g.focus()}l?.setActiveId(s.currentTarget.id)}}),i=d.onMouseLeave,a=cl(e),m=nc(s=>{var g;i?.(s),!s.defaultPrevented&&o()&&(ddc(s)||bdc(s)||G(s)&&a(s)&&(l?.setActiveId(null),(g=l?.getState().baseElement)==null||g.focus()))}),x=(0,NN.useCallback)(s=>{s&&(s[p1]=!0)},[]);return d={...d,ref:pc(x,d.ref),onMouseMove:X,onMouseLeave:m},nl(d)}),Jx=Ll(K(function(l){let t=Ba(l);return _(edc,t)}));var SN=u(E(),1),kN=u(V(),1),odc="div";function ndc(c,l){if(l!=null)return c==null?!1:Array.isArray(c)?c.includes(l):c===l}var zN=q(function({store:l,value:t,getItem:e,hideOnClick:d,setValueOnClick:b=t!=null,preventScrollOnKeyDown:o=!0,focusOnHover:n=!0,...G}){var X;let i=LF();l=l||i,gc(l,!1);let a=bl(G.id),m=tt(G),{listElement:x,multiSelectable:s,selected:g,autoFocus:r}=Nm(l,{listElement:"listElement",multiSelectable(p){return Array.isArray(p.value)},selected(p){return ndc(p.value,t)},autoFocus(p){return t==null||p.value==null||p.activeId!==a&&l?.item(p.activeId)?!1:Array.isArray(p.value)?p.value[p.value.length-1]===t:p.value===t}}),H=(0,SN.useCallback)(p=>{let y={...p,value:m?void 0:t,children:t};return e?e(y):y},[m,t,e]);d=d??(t!=null&&!s);let Z=G.onClick,R=cl(b),W=cl(d),I=nc(p=>{Z?.(p),!p.defaultPrevented&&(Ir(p)||Rr(p)||(R(p)&&t!=null&&l?.setValue(y=>Array.isArray(y)?y.includes(t)?y.filter(Y=>Y!==t):[...y,t]:t),W(p)&&l?.hide()))});G=Wc(G,p=>(0,kN.jsx)(kr.Provider,{value:g??!1,children:p}),[g]),G={id:a,role:$G(x),"aria-selected":g,children:t,...G,autoFocus:(X=G.autoFocus)!=null?X:r,onClick:I},G=md({store:l,getItem:H,preventScrollOnKeyDown:o,...G});let B=cl(n);return G=Ba({store:l,...G,focusOnHover(p){if(!B(p))return!1;let y=l?.getState();return!!y?.open}}),G}),Yx=Ll(K(function(l){let t=zN(l);return _(odc,t)}));var AN=u(E(),1),IZ=(0,AN.createContext)(!1);var ON=u(E(),1),B1=u(V(),1),Gdc="span",Xdc=(0,B1.jsx)("svg",{display:"block",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,viewBox:"0 0 16 16",height:"1em",width:"1em",children:(0,B1.jsx)("polyline",{points:"4,8 7,12 12,4"})});function idc(c){return c.checked?c.children||Xdc:typeof c.children=="function"?c.children:null}var hx=q(function({store:l,checked:t,...e}){let d=(0,ON.useContext)(IZ);t=t??d;let b=idc({checked:t,children:e.children});return e={"aria-hidden":!0,...e,children:b,style:{width:"1em",height:"1em",pointerEvents:"none",...e.style}},nl(e)}),gYc=K(function(l){let t=hx(l);return _(Gdc,t)});var QN=u(E(),1),adc="span",udc=q(function({store:l,checked:t,...e}){let d=(0,QN.useContext)(kr);return t=t??d,e=hx({...e,checked:t}),e}),WZ=K(function(l){let t=udc(l);return _(adc,t)});var mdc="div",xdc=q(function({store:l,...t}){let e=iX();l=l||e,gc(l,!1);let d=bl(t.id),b=t.onClick,o=nc(n=>{b?.(n),!n.defaultPrevented&&queueMicrotask(()=>{let G=l?.getState().selectElement;G?.focus()})});return t={id:d,...t,ref:pc(l.setLabelElement,t.ref),onClick:o,style:{cursor:"default",...t.style}},nl(t)}),pZ=Ll(K(function(l){let t=xdc(l);return _(mdc,t)}));var Be=u(E(),1),BZ=u(V(),1),sdc="div",wN=(0,Be.createContext)(null),y1=q(function({store:l,resetOnEscape:t=!0,hideOnEnter:e=!0,focusOnMove:d=!0,composite:b,alwaysVisible:o,...n}){let G=XX();l=l||G,gc(l,!1);let X=bl(n.id),i=l.useState("value"),a=Array.isArray(i),[m,x]=(0,Be.useState)(i),s=l.useState("mounted");(0,Be.useEffect)(()=>{s||x(i)},[s,i]),t=t&&!a;let g=n.onKeyDown,r=cl(t),H=cl(e),Z=nc(M=>{g?.(M),!M.defaultPrevented&&(M.key==="Escape"&&r(M)&&l?.setValue(m),(M.key===" "||M.key==="Enter")&&Ul(M)&&H(M)&&(M.preventDefault(),l?.hide()))}),R=(0,Be.useContext)(Qy),W=(0,Be.useState)(),[I,B]=R||W,p=(0,Be.useMemo)(()=>[I,B],[I]),[y,Y]=(0,Be.useState)(null),C=(0,Be.useContext)(wN);(0,Be.useEffect)(()=>{if(C)return C(l),()=>C(null)},[C,l]),n=Wc(n,M=>(0,BZ.jsx)(Sr,{value:l,children:(0,BZ.jsx)(wN.Provider,{value:Y,children:(0,BZ.jsx)(Qy.Provider,{value:p,children:M})})}),[l,p]);let J=!!l.combobox;b=b??(!J&&y!==l);let[N,S]=Br(b?l.setListElement:null),F=M9(N,"role",n.role),L=(b||(F==="listbox"||F==="menu"||F==="tree"||F==="grid"))&&a||void 0,v=wn(s,n.hidden,o),T=v?{...n.style,display:"none"}:n.style;b&&(n={role:"listbox","aria-multiselectable":L,...n});let k=l.useState(M=>{var P;return I||((P=M.labelElement)==null?void 0:P.id)});return n={id:X,"aria-labelledby":k,hidden:v,...n,ref:pc(S,n.ref),style:T,onKeyDown:Z},n=xd({store:l,...n,composite:b}),n=Ab({store:l,typeahead:!J,...n}),n}),gdc=K(function(l){let t=y1(l);return _(sdc,t)});var rdc="div",Zdc=q(function({store:l,alwaysVisible:t,...e}){let d=iX();return l=l||d,e=y1({store:l,alwaysVisible:t,...e}),e=gx({store:l,alwaysVisible:t,...e}),e}),yZ=Kd(K(function(l){let t=Zdc(l);return _(rdc,t)}),iX);function TN({combobox:c,...l}={}){let t=jd(l.store,ud(c,["value","items","renderedItems","baseElement","arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let e=t.getState(),d=Le({...l,store:t,virtualFocus:ac(l.virtualFocus,e.virtualFocus,!0),includesBaseElement:ac(l.includesBaseElement,e.includesBaseElement,!1),activeId:ac(l.activeId,e.activeId,l.defaultActiveId,null),orientation:ac(l.orientation,e.orientation,"vertical")}),b=iZ({...l,store:t,placement:ac(l.placement,e.placement,"bottom-start")}),o=new String(""),n={...d.getState(),...b.getState(),value:ac(l.value,e.value,l.defaultValue,o),setValueOnMove:ac(l.setValueOnMove,e.setValueOnMove,!1),labelElement:ac(e.labelElement,null),selectElement:ac(e.selectElement,null),listElement:ac(e.listElement,null)},G=Gl(n,d,b,t);return Rl(G,()=>Kc(G,["value","items"],X=>{if(X.value!==o||!X.items.length)return;let i=X.items.find(a=>!a.disabled&&a.value!=null);i?.value!=null&&G.setState("value",i.value)})),Rl(G,()=>Kc(G,["mounted"],X=>{X.mounted||G.setState("activeId",n.activeId)})),Rl(G,()=>Kc(G,["mounted","items","value"],X=>{if(c||X.mounted)return;let i=fm(X.value),a=i[i.length-1];if(a==null)return;let m=X.items.find(x=>!x.disabled&&x.value===a);m&&G.setState("activeId",m.id)})),Rl(G,()=>Yb(G,["setValueOnMove","moves"],X=>{let{mounted:i,value:a,activeId:m}=G.getState();if(!X.setValueOnMove&&i||Array.isArray(a)||!X.moves||!m)return;let x=d.item(m);!x||x.disabled||x.value==null||G.setState("value",x.value)})),{...d,...b,...G,combobox:c,setValue:X=>G.setState("value",X),setLabelElement:X=>G.setState("labelElement",X),setSelectElement:X=>G.setState("selectElement",X),setListElement:X=>G.setState("listElement",X)}}function DN(c){let l=Qr();return c={...c,combobox:c.combobox!==void 0?c.combobox:l},Ar(c)}function UN(c,l,t){return qt(l,[t.combobox]),zc(c,t,"value","setValue"),zc(c,t,"setValueOnMove"),Object.assign(aZ(sd(c,l,t),l,t),{combobox:t.combobox})}function Fx(c={}){c=DN(c);let[l,t]=Il(TN,c);return UN(l,t,c)}var LN=u(E(),1),jN=u(V(),1),Rdc="div",EN=q(function({store:l,"aria-setsize":t,"aria-posinset":e,...d}){let b=Ud();l=l||b,gc(l,!1);let o=bl(d.id),n=l.useState(X=>X.baseElement||void 0),G=(0,LN.useMemo)(()=>({id:o,baseElement:n,ariaSetSize:t,ariaPosInSet:e}),[o,n,t,e]);return d=Wc(d,X=>(0,jN.jsx)(Vr.Provider,{value:G,children:X}),[G]),d={id:o,...d},nl(d)}),vx=K(function(l){let t=EN(l);return _(Rdc,t)});function MN(c={}){var l;c.store;let t=(l=c.store)==null?void 0:l.getState(),e={value:ac(c.value,t?.value,c.defaultValue,!1)},d=Gl(e,c.store);return{...d,setValue:b=>d.setState("value",b)}}function Wdc(c,l,t){return qt(l,[t.store]),zc(c,t,"value","setValue"),c}function PN(c={}){let[l,t]=Il(MN,c);return Wdc(l,t,c)}var Nx=ol(),KN=Nx.useContext,Chc=Nx.useScopedContext,Jhc=Nx.useProviderContext,Yhc=Nx.ContextProvider,hhc=Nx.ScopedContextProvider;var ya=u(E(),1),$N=u(V(),1),cf="input";function _N(c,l){l?c.indeterminate=!0:c.indeterminate&&(c.indeterminate=!1)}function pdc(c,l){return c==="input"&&(!l||l==="checkbox")}function qN(c){return Array.isArray(c)?c.toString():c}var V1=q(function({store:l,name:t,value:e,checked:d,defaultChecked:b,...o}){let n=KN();l=l||n;let[G,X]=(0,ya.useState)(b??!1),i=xc(l,p=>{if(d!==void 0)return d;if(p?.value===void 0)return G;if(e!=null){if(Array.isArray(p.value)){let y=qN(e);return p.value.includes(y)}return p.value===e}return Array.isArray(p.value)?!1:typeof p.value=="boolean"?p.value:!1}),a=(0,ya.useRef)(null),m=An(a,cf),x=pdc(m,o.type),s=i?i==="mixed":void 0,g=i==="mixed"?!1:i,r=tt(o),[H,Z]=qi();(0,ya.useEffect)(()=>{let p=a.current;p&&(_N(p,s),!x&&(p.checked=g,t!==void 0&&(p.name=t),e!==void 0&&(p.value=`${e}`)))},[H,s,x,g,t,e]);let R=o.onChange,W=nc(p=>{if(r){p.stopPropagation(),p.preventDefault();return}if(_N(p.currentTarget,s),x||(p.currentTarget.checked=!p.currentTarget.checked,Z()),R?.(p),p.defaultPrevented)return;let y=p.currentTarget.checked;X(y),l?.setValue(Y=>{if(e==null)return y;let C=qN(e);return Array.isArray(Y)?y?Y.includes(C)?Y:[...Y,C]:Y.filter(J=>J!==C):Y===C?!1:C})}),I=o.onClick,B=nc(p=>{I?.(p),!p.defaultPrevented&&(x||W(p))});return o=Wc(o,p=>(0,$N.jsx)(IZ.Provider,{value:g,children:p}),[g]),o={role:x?void 0:"checkbox",type:x?"checkbox":void 0,"aria-checked":i,...o,ref:pc(a,o.ref),onChange:W,onClick:B},o=oX({clickOnEnter:!x,...o}),nl({name:x?t:void 0,value:x?e:void 0,checked:g,...o})}),Ohc=K(function(l){let t=V1(l);return _(cf,t)});var lf=u(E(),1),fx=ol([St,Dr],[We,sa]),Sx=fx.useContext,Va=fx.useScopedContext,VX=fx.useProviderContext,tf=fx.ContextProvider,ef=fx.ScopedContextProvider;var VZ=(0,lf.createContext)(void 0);var CZ=u(E(),1),df=u(V(),1),Bdc="div";function ydc({store:c,...l}){let[t,e]=(0,CZ.useState)(void 0),d=l["aria-label"],b=xc(c,"disclosureElement"),o=xc(c,"contentElement");return(0,CZ.useEffect)(()=>{let n=b;if(!n)return;let G=o;if(!G)return;d||G.hasAttribute("aria-label")?e(void 0):n.id&&e(n.id)},[d,b,o]),t}var C1=q(function({store:l,alwaysVisible:t,composite:e,...d}){let b=VX();l=l||b,gc(l,!1);let o=l.parent,n=l.menubar,G=!!o,X=bl(d.id),i=d.onKeyDown,a=l.useState(I=>I.placement.split("-")[0]),m=l.useState(I=>I.orientation==="both"?void 0:I.orientation),x=m!=="vertical",s=xc(n,I=>!!I&&I.orientation!=="vertical"),g=nc(I=>{if(i?.(I),!I.defaultPrevented){if(G||n&&!x){let p={ArrowRight:()=>a==="left"&&!x,ArrowLeft:()=>a==="right"&&!x,ArrowUp:()=>a==="bottom"&&x,ArrowDown:()=>a==="top"&&x}[I.key];if(p?.())return I.stopPropagation(),I.preventDefault(),l?.hide()}if(n){let p={ArrowRight:()=>{if(s)return n.next()},ArrowLeft:()=>{if(s)return n.previous()},ArrowDown:()=>{if(!s)return n.next()},ArrowUp:()=>{if(!s)return n.previous()}}[I.key],y=p?.();y!==void 0&&(I.stopPropagation(),I.preventDefault(),n.move(y))}}});d=Wc(d,I=>(0,df.jsx)(ef,{value:l,children:I}),[l]);let r=ydc({store:l,...d}),H=l.useState("mounted"),Z=wn(H,d.hidden,t),R=Z?{...d.style,display:"none"}:d.style;d={id:X,"aria-labelledby":r,hidden:Z,...d,ref:pc(X?l.setContentElement:null,d.ref),style:R,onKeyDown:g};let W=!!l.combobox;return e=e??!W,e&&(d={role:"menu","aria-orientation":m,...d}),d=xd({store:l,composite:e,...d}),d=Ab({store:l,typeahead:!W,...d}),d}),Vdc=K(function(l){let t=C1(l);return _(Bdc,t)});var Ob=u(E(),1),Cdc="div",Jdc=q(function({store:l,modal:t=!1,portal:e=!!t,hideOnEscape:d=!0,autoFocusOnShow:b=!0,hideOnHoverOutside:o,alwaysVisible:n,...G}){let X=VX();l=l||X,gc(l,!1);let i=(0,Ob.useRef)(null),a=l.parent,m=l.menubar,x=!!a,s=!!m&&!x;G={...G,ref:pc(i,G.ref)};let{"aria-labelledby":g,...r}=C1({store:l,alwaysVisible:n,...G});G=r;let[H,Z]=(0,Ob.useState)(),R=l.useState("autoFocusOnShow"),W=l.useState("initialFocus"),I=l.useState("baseElement"),B=l.useState("renderedItems");(0,Ob.useEffect)(()=>{let S=!1;return Z(F=>{var D,L,v;if(S||!R)return;if((D=F?.current)!=null&&D.isConnected)return F;let T=(0,Ob.createRef)();switch(W){case"first":T.current=((L=B.find(k=>!k.disabled&&k.element))==null?void 0:L.element)||null;break;case"last":T.current=((v=[...B].reverse().find(k=>!k.disabled&&k.element))==null?void 0:v.element)||null;break;default:T.current=I}return T}),()=>{S=!0}},[l,R,W,B,I]);let p=x?!1:t,y=!!b,Y=!!H||!!G.initialFocus||!!p,C=xc(l.combobox||l,"contentElement"),J=xc(a?.combobox||a,"contentElement"),N=(0,Ob.useMemo)(()=>{if(!J||!C)return;let S=C.getAttribute("role"),F=J.getAttribute("role");if(!((F==="menu"||F==="menubar")&&S==="menu"))return J},[C,J]);return N!==void 0&&(G={preserveTabOrderAnchor:N,...G}),G=rx({store:l,alwaysVisible:n,initialFocus:H,autoFocusOnShow:y?Y&&b:R||!!p,...G,hideOnEscape(S){return Vb(d,S)?!1:(l?.hideAll(),!0)},hideOnHoverOutside(S){let F=l?.getState().disclosureElement;return(typeof o=="function"?o(S):o??(x?!0:s?F?!ad(F):!0:!1))?S.defaultPrevented||!x||!F||(w9(F,"mouseout",S),!ad(F))?!0:(requestAnimationFrame(()=>{ad(F)||l?.hide()}),!1):!1},modal:p,portal:e,backdrop:x?!1:G.backdrop}),G={"aria-labelledby":g,...G},G}),JZ=Kd(K(function(l){let t=Jdc(l);return _(Cdc,t)}),VX);var of=u(E(),1),J1=u(V(),1),Ydc="button";function hdc(c,l){return{ArrowDown:l==="bottom"||l==="top"?"first":!1,ArrowUp:l==="bottom"||l==="top"?"last":!1,ArrowRight:l==="right"?"first":!1,ArrowLeft:l==="left"?"first":!1}[c.key]}function bf(c,l){return!!c?.some(t=>!t.element||t.element===l?!1:t.element.getAttribute("aria-expanded")==="true")}var Fdc=q(function({store:l,focusable:t,accessibleWhenDisabled:e,showOnHover:d,...b}){let o=VX();l=l||o,gc(l,!1);let n=(0,of.useRef)(null),G=l.parent,X=l.menubar,i=!!G,a=!!X&&!i,m=tt(b),x=()=>{let Y=n.current;Y&&(l?.setDisclosureElement(Y),l?.setAnchorElement(Y),l?.show())},s=b.onFocus,g=nc(Y=>{if(s?.(Y),m||Y.defaultPrevented||(l?.setAutoFocusOnShow(!1),l?.setActiveId(null),!X)||!a)return;let{items:C}=X.getState();bf(C,Y.currentTarget)&&x()}),r=xc(l,Y=>Y.placement.split("-")[0]),H=b.onKeyDown,Z=nc(Y=>{if(H?.(Y),m||Y.defaultPrevented)return;let C=hdc(Y,r);C&&(Y.preventDefault(),x(),l?.setAutoFocusOnShow(!0),l?.setInitialFocus(C))}),R=b.onClick,W=nc(Y=>{if(R?.(Y),Y.defaultPrevented||!l)return;let C=!Y.detail,{open:J}=l.getState();(!J||C)&&((!i||C)&&l.setAutoFocusOnShow(!0),l.setInitialFocus(C?"first":"container")),i&&x()});b=Wc(b,Y=>(0,J1.jsx)(tf,{value:l,children:Y}),[l]),i&&(b={...b,render:(0,J1.jsx)(Md.div,{render:b.render})});let I=bl(b.id),B=xc(G?.combobox||G,"contentElement"),p=i||a?$G(B,"menuitem"):void 0,y=l.useState("contentElement");return b={id:I,role:p,"aria-haspopup":kn(y,"menu"),...b,ref:pc(n,b.ref),onFocus:g,onKeyDown:Z,onClick:W},b=Zx({store:l,focusable:t,accessibleWhenDisabled:e,...b,showOnHover:Y=>{if(!(()=>{if(typeof d=="function")return d(Y);if(d!=null)return d;if(i)return!0;if(!X)return!1;let{items:S}=X.getState();return a&&bf(S)})())return!1;let N=a?X:G;return N&&N.setActiveId(Y.currentTarget.id),!0}}),b=Wx({store:l,toggleOnClick:!i,focusable:t,accessibleWhenDisabled:e,...b}),b=Ab({store:l,typeahead:a,...b}),b}),Ca=K(function(l){let t=Fdc(l);return _(Ydc,t)});var vdc="div",Ndc=q(function(l){return l=HZ(l),l}),YZ=K(function(l){let t=Ndc(l);return _(vdc,t)});var fdc="div",Sdc=q(function(l){return l=RZ(l),l}),hZ=K(function(l){let t=Sdc(l);return _(fdc,t)});var kdc="div";function zdc(c,l,t){var e;if(!c)return!1;if(ad(c))return!0;let d=l?.find(G=>{var X;return G.element===t?!1:((X=G.element)==null?void 0:X.getAttribute("aria-expanded"))==="true"}),b=(e=d?.element)==null?void 0:e.getAttribute("aria-controls");if(!b)return!1;let n=Ac(c).getElementById(b);return n?ad(n)?!0:!!n.querySelector("[role=menuitem][aria-expanded=true]"):!1}var Ja=q(function({store:l,hideOnClick:t=!0,preventScrollOnKeyDown:e=!0,focusOnHover:d,blurOnHoverEnd:b,...o}){let n=Va(!0),G=ZN();l=l||n||G,gc(l,!1);let X=o.onClick,i=cl(t),a="hideAll"in l?l.hideAll:void 0,m=!!a,x=nc(r=>{X?.(r),!(r.defaultPrevented||Ir(r)||Rr(r)||!a||r.currentTarget.getAttribute("aria-haspopup")==="menu")&&i(r)&&a()}),s=xc(l,r=>"contentElement"in r?r.contentElement:null);return o={role:$G(s,"menuitem"),...o,onClick:x},o=md({store:l,preventScrollOnKeyDown:e,...o}),o=Ba({store:l,...o,focusOnHover(r){let H=()=>typeof d=="function"?d(r):d??!0;if(!l||!H())return!1;let{baseElement:Z,items:R}=l.getState();return m?(r.currentTarget.hasAttribute("aria-expanded")&&r.currentTarget.focus(),!0):zdc(Z,R,r.currentTarget)?(r.currentTarget.focus(),!0):!1},blurOnHoverEnd(r){return typeof b=="function"?b(r):b??m}}),o}),kx=Ll(K(function(l){let t=Ja(l);return _(kdc,t)}));var nf=u(E(),1),Adc="span",Odc=q(function({store:l,checked:t,...e}){let d=(0,nf.useContext)(VZ);return t=t??d,e=hx({...e,checked:t}),e}),Ya=K(function(l){let t=Odc(l);return _(Adc,t)});var h1=u(E(),1),Qdc="div";function wdc(c){return Array.isArray(c)?c.toString():c}function Y1(c,l,t){if(l===void 0)return Array.isArray(c)?c:!!t;let e=wdc(l);return Array.isArray(c)?t?c.includes(e)?c:[...c,e]:c.filter(d=>d!==e):t?e:c===e?!1:c}var Tdc=q(function({store:l,name:t,value:e,checked:d,defaultChecked:b,hideOnClick:o=!1,...n}){let G=Va();l=l||G,gc(l,!1);let X=Jm(b);(0,h1.useEffect)(()=>{l?.setValue(t,(a=[])=>X?Y1(a,e,!0):a)},[l,t,e,X]),(0,h1.useEffect)(()=>{d!==void 0&&l?.setValue(t,a=>Y1(a,e,d))},[l,t,e,d]);let i=PN({value:l.useState(a=>a.values[t]),setValue(a){l?.setValue(t,()=>{if(d===void 0)return a;let m=Y1(a,e,d);return!Array.isArray(m)||!Array.isArray(a)?m:gy(a,m)?a:m})}});return n={role:"menuitemcheckbox",...n},n=V1({store:i,name:t,value:e,checked:d,...n}),n=Ja({store:l,hideOnClick:o,...n}),n}),FZ=Ll(K(function(l){let t=Tdc(l);return _(Qdc,t)}));var v1=u(E(),1),Gf=u(V(),1),Ddc="div";function F1(c,l,t){return t===void 0?c:t?l:c===l?!1:c}var Udc=q(function({store:l,name:t,value:e,checked:d,onChange:b,hideOnClick:o=!1,...n}){let G=Va();l=l||G,gc(l,!1);let X=Jm(n.defaultChecked);(0,v1.useEffect)(()=>{l?.setValue(t,(a=!1)=>F1(a,e,X))},[l,t,e,X]),(0,v1.useEffect)(()=>{d!==void 0&&l?.setValue(t,a=>F1(a,e,d))},[l,t,e,d]);let i=l.useState(a=>a.values[t]===e);return n=Wc(n,a=>(0,Gf.jsx)(VZ.Provider,{value:!!i,children:a}),[i]),n={role:"menuitemradio",...n},n=xZ({name:t,value:e,checked:i,onChange(a){if(b?.(a),a.defaultPrevented)return;let m=a.currentTarget;l?.setValue(t,x=>F1(x,e,d??m.checked))},...n}),n=Ja({store:l,hideOnClick:o,...n}),n}),vZ=Ll(K(function(l){let t=Udc(l);return _(Ddc,t)}));function Xf({combobox:c,parent:l,menubar:t,...e}={}){let d=!!t&&!l,b=jd(e.store,fy(l,["values"]),ud(c,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let o=b.getState(),n=Le({...e,store:b,orientation:ac(e.orientation,o.orientation,"vertical")}),G=uZ({...e,store:b,placement:ac(e.placement,o.placement,"bottom-start"),timeout:ac(e.timeout,o.timeout,d?0:150),hideTimeout:ac(e.hideTimeout,o.hideTimeout,0)}),X={...n.getState(),...G.getState(),initialFocus:ac(o.initialFocus,"container"),values:ac(e.values,o.values,e.defaultValues,{})},i=Gl(X,n,G,b);return Rl(i,()=>Kc(i,["mounted"],a=>{a.mounted||i.setState("activeId",null)})),Rl(i,()=>Kc(l,["orientation"],a=>{i.setState("placement",a.orientation==="vertical"?"right-start":"bottom-start")})),{...n,...G,...i,combobox:c,parent:l,menubar:t,hideAll:()=>{G.hide(),l?.hideAll()},setInitialFocus:a=>i.setState("initialFocus",a),setValues:a=>i.setState("values",a),setValue:(a,m)=>{a!=="__proto__"&&a!=="constructor"&&(Array.isArray(a)||i.setState("values",x=>{let s=x[a],g=Rm(m,s);return g===s?x:{...x,[a]:g!==void 0&&g}}))}}}function af(c,l,t){return qt(l,[t.combobox,t.parent,t.menubar]),zc(c,t,"values","setValues"),Object.assign(mZ(sd(c,l,t),l,t),{combobox:t.combobox,parent:t.parent,menubar:t.menubar})}function zx(c={}){let l=Sx(),t=rN(),e=Qr();c={...c,parent:c.parent!==void 0?c.parent:l,menubar:c.menubar!==void 0?c.menubar:t,combobox:c.combobox!==void 0?c.combobox:e};let[d,b]=Il(Xf,c);return af(d,b,c)}var jdc="hr",Edc=q(function({store:l,...t}){let e=Sx();return l=l||e,t=Ty({store:l,...t}),t}),NZ=K(function(l){let t=Edc(l);return _(jdc,t)});var hf=u(bc(),1),SZ=u(h(),1);var fZ=u(h(),1),Ax=(0,fZ.createContext)({});Ax.displayName="CompositeContext";var Hd=()=>(0,fZ.useContext)(Ax);var uf=u(h(),1);var mf=u(V(),1),xf=(0,uf.forwardRef)(function(l,t){let e=Hd(),d=l.store??e.store;return(0,mf.jsx)(Vx,{store:d,...l,ref:t})});var sf=u(h(),1);var gf=u(V(),1),rf=(0,sf.forwardRef)(function(l,t){let e=Hd(),d=l.store??e.store;return(0,gf.jsx)(Cx,{store:d,...l,ref:t})});var Zf=u(h(),1);var Hf=u(V(),1),Rf=(0,Zf.forwardRef)(function(l,t){let e=Hd(),d=l.store??e.store;return(0,Hf.jsx)(Jx,{store:d,...l,ref:t})});var If=u(h(),1);var Wf=u(V(),1),pf=(0,If.forwardRef)(function(l,t){let e=Hd(),d=l.store??e.store;return(0,Wf.jsx)(Qn,{store:d,...l,ref:t})});var Bf=u(h(),1);var yf=u(V(),1),Vf=(0,Bf.forwardRef)(function(l,t){let e=Hd(),d=l.store??e.store;return(0,yf.jsx)(vx,{store:d,...l,ref:t})});var Cf=u(h(),1);var Jf=u(V(),1),Yf=(0,Cf.forwardRef)(function(l,t){let e=Hd(),d=l.store??e.store;return(0,Jf.jsx)(yx,{store:d,...l,ref:t})});var N1=u(V(),1),zt=Object.assign((0,SZ.forwardRef)(function({activeId:l,defaultActiveId:t,setActiveId:e,focusLoop:d=!1,focusWrap:b=!1,focusShift:o=!1,virtualFocus:n=!1,orientation:G="both",rtl:X=(0,hf.isRTL)(),children:i,disabled:a=!1,...m},x){let s=m.store,g=aX({activeId:l,defaultActiveId:t,setActiveId:e,focusLoop:d,focusWrap:b,focusShift:o,virtualFocus:n,orientation:G,rtl:X}),r=s??g,H=(0,SZ.useMemo)(()=>({store:r}),[r]);return(0,N1.jsx)(km,{disabled:a,store:r,...m,ref:x,children:(0,N1.jsx)(Ax.Provider,{value:H,children:i})})}),{Group:Object.assign(xf,{displayName:"Composite.Group"}),GroupLabel:Object.assign(rf,{displayName:"Composite.GroupLabel"}),Item:Object.assign(pf,{displayName:"Composite.Item"}),Row:Object.assign(Vf,{displayName:"Composite.Row"}),Hover:Object.assign(Rf,{displayName:"Composite.Hover"}),Typeahead:Object.assign(Yf,{displayName:"Composite.Typeahead"}),Context:Object.assign(Ax,{displayName:"Composite.Context"})});var pA=u(ec(),1),XG=u(h(),1),BA=u(Xl(),1);var vf=u(V(),1);function Mdc(c){let{shortcut:l,className:t}=c;if(!l)return null;let e,d;return typeof l=="string"&&(e=l),l!==null&&typeof l=="object"&&(e=l.display,d=l.ariaLabel),(0,vf.jsx)("span",{className:t,"aria-label":d,children:e})}var kZ=Mdc;function Nf(c){if(typeof Proxy>"u")return c;let l=new Map,t=(...e)=>c(...e);return new Proxy(t,{get:(e,d)=>d==="create"?c:(l.has(d)||l.set(d,c(d)),l.get(d))})}function Ln(c){return c!==null&&typeof c=="object"&&typeof c.start=="function"}var Ox=c=>Array.isArray(c);function f1(c,l){if(!Array.isArray(l))return!1;let t=l.length;if(t!==c.length)return!1;for(let e=0;e<t;e++)if(l[e]!==c[e])return!1;return!0}function Oo(c){return typeof c=="string"||Array.isArray(c)}function ff(c){let l=[{},{}];return c?.values.forEach((t,e)=>{l[0][e]=t.get(),l[1][e]=t.getVelocity()}),l}function ha(c,l,t,e){if(typeof l=="function"){let[d,b]=ff(e);l=l(t!==void 0?t:c.custom,d,b)}if(typeof l=="string"&&(l=c.variants&&c.variants[l]),typeof l=="function"){let[d,b]=ff(e);l=l(t!==void 0?t:c.custom,d,b)}return l}function jn(c,l,t){let e=c.getProps();return ha(e,l,t!==void 0?t:e.custom,c)}var zZ=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Qx=["initial",...zZ];var En=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ye=new Set(En);var At=c=>c*1e3,Ve=c=>c/1e3;var Pdc={type:"spring",stiffness:500,damping:25,restSpeed:10},Kdc=c=>({type:"spring",stiffness:550,damping:c===0?2*Math.sqrt(550):30,restSpeed:10}),_dc={type:"keyframes",duration:.8},qdc={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Sf=(c,{keyframes:l})=>l.length>2?_dc:ye.has(c)?c.startsWith("scale")?Kdc(l[1]):Pdc:qdc;function Fa(c,l){return c?c[l]||c.default||c:void 0}var va={skipAnimations:!1,useManualTiming:!1};var AZ={current:!1};var $dc=c=>c!==null;function Mn(c,{repeat:l,repeatType:t="loop"},e){let d=c.filter($dc),b=l&&t!=="loop"&&l%2===1?0:d.length-1;return!b||e===void 0?d[b]:e}var rl=c=>c;var Qo=rl,Ee=rl;function kf(c){let l=new Set,t=new Set,e=!1,d=!1,b=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function n(X){b.has(X)&&(G.schedule(X),c()),X(o)}let G={schedule:(X,i=!1,a=!1)=>{let x=a&&e?l:t;return i&&b.add(X),x.has(X)||x.add(X),X},cancel:X=>{t.delete(X),b.delete(X)},process:X=>{if(o=X,e){d=!0;return}e=!0,[l,t]=[t,l],l.forEach(n),l.clear(),e=!1,d&&(d=!1,G.process(X))}};return G}var OZ=["read","resolveKeyframes","update","preRender","render","postRender"],cbc=40;function QZ(c,l){let t=!1,e=!0,d={delta:0,timestamp:0,isProcessing:!1},b=()=>t=!0,o=OZ.reduce((H,Z)=>(H[Z]=kf(b),H),{}),{read:n,resolveKeyframes:G,update:X,preRender:i,render:a,postRender:m}=o,x=()=>{let H=va.useManualTiming?d.timestamp:performance.now();t=!1,d.delta=e?1e3/60:Math.max(Math.min(H-d.timestamp,cbc),1),d.timestamp=H,d.isProcessing=!0,n.process(d),G.process(d),X.process(d),i.process(d),a.process(d),m.process(d),d.isProcessing=!1,t&&l&&(e=!1,c(x))},s=()=>{t=!0,e=!0,d.isProcessing||c(x)};return{schedule:OZ.reduce((H,Z)=>{let R=o[Z];return H[Z]=(W,I=!1,B=!1)=>(t||s(),R.schedule(W,I,B)),H},{}),cancel:H=>{for(let Z=0;Z<OZ.length;Z++)o[OZ[Z]].cancel(H)},state:d,steps:o}}var{schedule:vc,cancel:Me,state:Ol,steps:wZ}=QZ(typeof requestAnimationFrame<"u"?requestAnimationFrame:rl,!0);var zf=(c,l,t)=>(((1-3*t+3*l)*c+(3*t-6*l))*c+3*l)*c,lbc=1e-7,tbc=12;function ebc(c,l,t,e,d){let b,o,n=0;do o=l+(t-l)/2,b=zf(o,e,d)-c,b>0?t=o:l=o;while(Math.abs(b)>lbc&&++n<tbc);return o}function cb(c,l,t,e){if(c===l&&t===e)return rl;let d=b=>ebc(b,0,1,c,t);return b=>b===0||b===1?b:zf(d(b),l,e)}var TZ=c=>l=>l<=.5?c(2*l)/2:(2-c(2*(1-l)))/2;var DZ=c=>l=>1-c(1-l);var S1=cb(.33,1.53,.69,.99),wx=DZ(S1),UZ=TZ(wx);var LZ=c=>(c*=2)<1?.5*wx(c):.5*(2-Math.pow(2,-10*(c-1)));var jZ=c=>1-Math.sin(Math.acos(c)),EZ=DZ(jZ),MZ=TZ(jZ);var PZ=c=>/^0[^.\s]+$/u.test(c);function Af(c){return typeof c=="number"?c===0:c!==null?c==="none"||c==="0"||PZ(c):!0}var KZ=c=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(c);var Of=c=>l=>typeof l=="string"&&l.startsWith(c),_Z=Of("--"),dbc=Of("var(--"),Na=c=>dbc(c)?bbc.test(c.split("/*")[0].trim()):!1,bbc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var obc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nbc(c){let l=obc.exec(c);if(!l)return[,];let[,t,e,d]=l;return[`--${t??e}`,d]}var Gbc=4;function k1(c,l,t=1){Ee(t<=Gbc,`Max CSS variable fallback depth detected in property "${c}". This may indicate a circular fallback dependency.`);let[e,d]=nbc(c);if(!e)return;let b=window.getComputedStyle(l).getPropertyValue(e);if(b){let o=b.trim();return KZ(o)?parseFloat(o):o}return Na(d)?k1(d,l,t+1):d}var Bt=(c,l,t)=>t>l?l:t<c?c:t;var Qb={test:c=>typeof c=="number",parse:parseFloat,transform:c=>c},wo={...Qb,transform:c=>Bt(0,1,c)},Tx={...Qb,default:1};var Dx=c=>({test:l=>typeof l=="string"&&l.endsWith(c)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${c}`}),wb=Dx("deg"),le=Dx("%"),Hc=Dx("px"),Qf=Dx("vh"),wf=Dx("vw"),z1={...le,parse:c=>le.parse(c)/100,transform:c=>le.transform(c*100)};var Uf=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),A1=c=>c===Qb||c===Hc,Tf=(c,l)=>parseFloat(c.split(", ")[l]),Df=(c,l)=>(t,{transform:e})=>{if(e==="none"||!e)return 0;let d=e.match(/^matrix3d\((.+)\)$/u);if(d)return Tf(d[1],l);{let b=e.match(/^matrix\((.+)\)$/u);return b?Tf(b[1],c):0}},Xbc=new Set(["x","y","z"]),ibc=En.filter(c=>!Xbc.has(c));function Lf(c){let l=[];return ibc.forEach(t=>{let e=c.getValue(t);e!==void 0&&(l.push([t,e.get()]),e.set(t.startsWith("scale")?1:0))}),l}var CX={width:({x:c},{paddingLeft:l="0",paddingRight:t="0"})=>c.max-c.min-parseFloat(l)-parseFloat(t),height:({y:c},{paddingTop:l="0",paddingBottom:t="0"})=>c.max-c.min-parseFloat(l)-parseFloat(t),top:(c,{top:l})=>parseFloat(l),left:(c,{left:l})=>parseFloat(l),bottom:({y:c},{top:l})=>parseFloat(l)+(c.max-c.min),right:({x:c},{left:l})=>parseFloat(l)+(c.max-c.min),x:Df(4,13),y:Df(5,14)};CX.translateX=CX.x;CX.translateY=CX.y;var qZ=c=>l=>l.test(c);var jf={test:c=>c==="auto",parse:c=>c};var O1=[Qb,Hc,le,wb,wf,Qf,jf],Q1=c=>O1.find(qZ(c));var JX=new Set,w1=!1,T1=!1;function Ef(){if(T1){let c=Array.from(JX).filter(e=>e.needsMeasurement),l=new Set(c.map(e=>e.element)),t=new Map;l.forEach(e=>{let d=Lf(e);d.length&&(t.set(e,d),e.render())}),c.forEach(e=>e.measureInitialState()),l.forEach(e=>{e.render();let d=t.get(e);d&&d.forEach(([b,o])=>{var n;(n=e.getValue(b))===null||n===void 0||n.set(o)})}),c.forEach(e=>e.measureEndState()),c.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}T1=!1,w1=!1,JX.forEach(c=>c.complete()),JX.clear()}function Mf(){JX.forEach(c=>{c.readKeyframes(),c.needsMeasurement&&(T1=!0)})}function Pf(){Mf(),Ef()}var Pn=class{constructor(l,t,e,d,b,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...l],this.onComplete=t,this.name=e,this.motionValue=d,this.element=b,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(JX.add(this),w1||(w1=!0,vc.read(Mf),vc.resolveKeyframes(Ef))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:l,name:t,element:e,motionValue:d}=this;for(let b=0;b<l.length;b++)if(l[b]===null)if(b===0){let o=d?.get(),n=l[l.length-1];if(o!==void 0)l[0]=o;else if(e&&t){let G=e.readValue(t,n);G!=null&&(l[0]=G)}l[0]===void 0&&(l[0]=n),d&&o===void 0&&d.set(l[0])}else l[b]=l[b-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),JX.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,JX.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var Kn=c=>Math.round(c*1e5)/1e5;var fa=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Kf(c){return c==null}var _f=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Sa=(c,l)=>t=>!!(typeof t=="string"&&_f.test(t)&&t.startsWith(c)||l&&!Kf(t)&&Object.prototype.hasOwnProperty.call(t,l)),$Z=(c,l,t)=>e=>{if(typeof e!="string")return e;let[d,b,o,n]=e.match(fa);return{[c]:parseFloat(d),[l]:parseFloat(b),[t]:parseFloat(o),alpha:n!==void 0?parseFloat(n):1}};var abc=c=>Bt(0,255,c),D1={...Qb,transform:c=>Math.round(abc(c))},Tb={test:Sa("rgb","red"),parse:$Z("red","green","blue"),transform:({red:c,green:l,blue:t,alpha:e=1})=>"rgba("+D1.transform(c)+", "+D1.transform(l)+", "+D1.transform(t)+", "+Kn(wo.transform(e))+")"};function ubc(c){let l="",t="",e="",d="";return c.length>5?(l=c.substring(1,3),t=c.substring(3,5),e=c.substring(5,7),d=c.substring(7,9)):(l=c.substring(1,2),t=c.substring(2,3),e=c.substring(3,4),d=c.substring(4,5),l+=l,t+=t,e+=e,d+=d),{red:parseInt(l,16),green:parseInt(t,16),blue:parseInt(e,16),alpha:d?parseInt(d,16)/255:1}}var Ux={test:Sa("#"),parse:ubc,transform:Tb.transform};var _n={test:Sa("hsl","hue"),parse:$Z("hue","saturation","lightness"),transform:({hue:c,saturation:l,lightness:t,alpha:e=1})=>"hsla("+Math.round(c)+", "+le.transform(Kn(l))+", "+le.transform(Kn(t))+", "+Kn(wo.transform(e))+")"};var jl={test:c=>Tb.test(c)||Ux.test(c)||_n.test(c),parse:c=>Tb.test(c)?Tb.parse(c):_n.test(c)?_n.parse(c):Ux.parse(c),transform:c=>typeof c=="string"?c:c.hasOwnProperty("red")?Tb.transform(c):_n.transform(c)};var qf=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function mbc(c){var l,t;return isNaN(c)&&typeof c=="string"&&(((l=c.match(fa))===null||l===void 0?void 0:l.length)||0)+(((t=c.match(qf))===null||t===void 0?void 0:t.length)||0)>0}var c3="number",l3="color",xbc="var",sbc="var(",$f="${}",gbc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function YX(c){let l=c.toString(),t=[],e={color:[],number:[],var:[]},d=[],b=0,n=l.replace(gbc,G=>(jl.test(G)?(e.color.push(b),d.push(l3),t.push(jl.parse(G))):G.startsWith(sbc)?(e.var.push(b),d.push(xbc),t.push(G)):(e.number.push(b),d.push(c3),t.push(parseFloat(G))),++b,$f)).split($f);return{values:t,split:n,indexes:e,types:d}}function t3(c){return YX(c).values}function e3(c){let{split:l,types:t}=YX(c),e=l.length;return d=>{let b="";for(let o=0;o<e;o++)if(b+=l[o],d[o]!==void 0){let n=t[o];n===c3?b+=Kn(d[o]):n===l3?b+=jl.transform(d[o]):b+=d[o]}return b}}var rbc=c=>typeof c=="number"?0:c;function Zbc(c){let l=t3(c);return e3(c)(l.map(rbc))}var te={test:mbc,parse:t3,createTransformer:e3,getAnimatableNone:Zbc};var Hbc=new Set(["brightness","contrast","saturate","opacity"]);function Rbc(c){let[l,t]=c.slice(0,-1).split("(");if(l==="drop-shadow")return c;let[e]=t.match(fa)||[];if(!e)return c;let d=t.replace(e,""),b=Hbc.has(l)?1:0;return e!==t&&(b*=100),l+"("+b+d+")"}var Ibc=/\b([a-z-]*)\(.*?\)/gu,Lx={...te,getAnimatableNone:c=>{let l=c.match(Ibc);return l?l.map(Rbc).join(" "):c}};var d3={borderWidth:Hc,borderTopWidth:Hc,borderRightWidth:Hc,borderBottomWidth:Hc,borderLeftWidth:Hc,borderRadius:Hc,radius:Hc,borderTopLeftRadius:Hc,borderTopRightRadius:Hc,borderBottomRightRadius:Hc,borderBottomLeftRadius:Hc,width:Hc,maxWidth:Hc,height:Hc,maxHeight:Hc,top:Hc,right:Hc,bottom:Hc,left:Hc,padding:Hc,paddingTop:Hc,paddingRight:Hc,paddingBottom:Hc,paddingLeft:Hc,margin:Hc,marginTop:Hc,marginRight:Hc,marginBottom:Hc,marginLeft:Hc,backgroundPositionX:Hc,backgroundPositionY:Hc};var b3={rotate:wb,rotateX:wb,rotateY:wb,rotateZ:wb,scale:Tx,scaleX:Tx,scaleY:Tx,scaleZ:Tx,skew:wb,skewX:wb,skewY:wb,distance:Hc,translateX:Hc,translateY:Hc,translateZ:Hc,x:Hc,y:Hc,z:Hc,perspective:Hc,transformPerspective:Hc,opacity:wo,originX:z1,originY:z1,originZ:Hc};var U1={...Qb,transform:Math.round};var ka={...d3,...b3,zIndex:U1,size:Hc,fillOpacity:wo,strokeOpacity:wo,numOctaves:U1};var Wbc={...ka,color:jl,backgroundColor:jl,outlineColor:jl,fill:jl,stroke:jl,borderColor:jl,borderTopColor:jl,borderRightColor:jl,borderBottomColor:jl,borderLeftColor:jl,filter:Lx,WebkitFilter:Lx},za=c=>Wbc[c];function cH(c,l){let t=za(c);return t!==Lx&&(t=te),t.getAnimatableNone?t.getAnimatableNone(l):void 0}var pbc=new Set(["auto","none","0"]);function o3(c,l,t){let e=0,d;for(;e<c.length&&!d;){let b=c[e];typeof b=="string"&&!pbc.has(b)&&YX(b).values.length&&(d=c[e]),e++}if(d&&t)for(let b of l)c[b]=cH(t,d)}var Aa=class extends Pn{constructor(l,t,e,d,b){super(l,t,e,d,b,!0)}readKeyframes(){let{unresolvedKeyframes:l,element:t,name:e}=this;if(!t||!t.current)return;super.readKeyframes();for(let G=0;G<l.length;G++){let X=l[G];if(typeof X=="string"&&(X=X.trim(),Na(X))){let i=k1(X,t.current);i!==void 0&&(l[G]=i),G===l.length-1&&(this.finalKeyframe=X)}}if(this.resolveNoneKeyframes(),!Uf.has(e)||l.length!==2)return;let[d,b]=l,o=Q1(d),n=Q1(b);if(o!==n)if(A1(o)&&A1(n))for(let G=0;G<l.length;G++){let X=l[G];typeof X=="string"&&(l[G]=parseFloat(X))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:l,name:t}=this,e=[];for(let d=0;d<l.length;d++)Af(l[d])&&e.push(d);e.length&&o3(l,e,t)}measureInitialState(){let{element:l,unresolvedKeyframes:t,name:e}=this;if(!l||!l.current)return;e==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=CX[e](l.measureViewportBox(),window.getComputedStyle(l.current)),t[0]=this.measuredOrigin;let d=t[t.length-1];d!==void 0&&l.getValue(e,d).jump(d,!1)}measureEndState(){var l;let{element:t,name:e,unresolvedKeyframes:d}=this;if(!t||!t.current)return;let b=t.getValue(e);b&&b.jump(this.measuredOrigin,!1);let o=d.length-1,n=d[o];d[o]=CX[e](t.measureViewportBox(),window.getComputedStyle(t.current)),n!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=n),!((l=this.removedTransforms)===null||l===void 0)&&l.length&&this.removedTransforms.forEach(([G,X])=>{t.getValue(G).set(X)}),this.resolveNoneKeyframes()}};function Oa(c){return typeof c=="function"}var lH;function Bbc(){lH=void 0}var Ot={now:()=>(lH===void 0&&Ot.set(Ol.isProcessing||va.useManualTiming?Ol.timestamp:performance.now()),lH),set:c=>{lH=c,queueMicrotask(Bbc)}};var L1=(c,l)=>l==="zIndex"?!1:!!(typeof c=="number"||Array.isArray(c)||typeof c=="string"&&(te.test(c)||c==="0")&&!c.startsWith("url("));function ybc(c){let l=c[0];if(c.length===1)return!0;for(let t=0;t<c.length;t++)if(c[t]!==l)return!0}function n3(c,l,t,e){let d=c[0];if(d===null)return!1;if(l==="display"||l==="visibility")return!0;let b=c[c.length-1],o=L1(d,l),n=L1(b,l);return Qo(o===n,`You are trying to animate ${l} from "${d}" to "${b}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${b} via the \`style\` property.`),!o||!n?!1:ybc(c)||(t==="spring"||Oa(t))&&e}var Vbc=40,Qa=class{constructor({autoplay:l=!0,delay:t=0,type:e="keyframes",repeat:d=0,repeatDelay:b=0,repeatType:o="loop",...n}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Ot.now(),this.options={autoplay:l,delay:t,type:e,repeat:d,repeatDelay:b,repeatType:o,...n},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Vbc?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Pf(),this._resolved}onKeyframesResolved(l,t){this.resolvedAt=Ot.now(),this.hasAttemptedResolve=!0;let{name:e,type:d,velocity:b,delay:o,onComplete:n,onUpdate:G,isGenerator:X}=this.options;if(!X&&!n3(l,e,d,b))if(AZ.current||!o){G?.(Mn(l,this.options,t)),n?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let i=this.initPlayback(l,t);i!==!1&&(this._resolved={keyframes:l,finalKeyframe:t,...i},this.onPostResolved())}onPostResolved(){}then(l,t){return this.currentFinishedPromise.then(l,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(l=>{this.resolveFinishedPromise=l})}};var lb=(c,l,t)=>{let e=l-c;return e===0?1:(t-c)/e};var tH=(c,l,t=10)=>{let e="",d=Math.max(Math.round(l/t),2);for(let b=0;b<d;b++)e+=c(lb(0,d-1,b))+", ";return`linear(${e.substring(0,e.length-2)})`};function eH(c,l){return l?c*(1e3/l):0}var Cbc=5;function dH(c,l,t){let e=Math.max(l-Cbc,0);return eH(t-c(e),l-e)}var Wl={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var j1=.001;function G3({duration:c=Wl.duration,bounce:l=Wl.bounce,velocity:t=Wl.velocity,mass:e=Wl.mass}){let d,b;Qo(c<=At(Wl.maxDuration),"Spring duration must be 10 seconds or less");let o=1-l;o=Bt(Wl.minDamping,Wl.maxDamping,o),c=Bt(Wl.minDuration,Wl.maxDuration,Ve(c)),o<1?(d=X=>{let i=X*o,a=i*c,m=i-t,x=bH(X,o),s=Math.exp(-a);return j1-m/x*s},b=X=>{let a=X*o*c,m=a*t+t,x=Math.pow(o,2)*Math.pow(X,2)*c,s=Math.exp(-a),g=bH(Math.pow(X,2),o);return(-d(X)+j1>0?-1:1)*((m-x)*s)/g}):(d=X=>{let i=Math.exp(-X*c),a=(X-t)*c+1;return-j1+i*a},b=X=>{let i=Math.exp(-X*c),a=(t-X)*(c*c);return i*a});let n=5/c,G=Ybc(d,b,n);if(c=At(c),isNaN(G))return{stiffness:Wl.stiffness,damping:Wl.damping,duration:c};{let X=Math.pow(G,2)*e;return{stiffness:X,damping:o*2*Math.sqrt(e*X),duration:c}}}var Jbc=12;function Ybc(c,l,t){let e=t;for(let d=1;d<Jbc;d++)e=e-c(e)/l(e);return e}function bH(c,l){return c*Math.sqrt(1-l*l)}function oH(c){let l=0,t=50,e=c.next(l);for(;!e.done&&l<2e4;)l+=t,e=c.next(l);return l>=2e4?1/0:l}var Fbc=["duration","bounce"],vbc=["stiffness","damping","mass"];function X3(c,l){return l.some(t=>c[t]!==void 0)}function Nbc(c){let l={velocity:Wl.velocity,stiffness:Wl.stiffness,damping:Wl.damping,mass:Wl.mass,isResolvedFromDuration:!1,...c};if(!X3(c,vbc)&&X3(c,Fbc))if(c.visualDuration){let t=c.visualDuration,e=2*Math.PI/(t*1.2),d=e*e,b=2*Bt(.05,1,1-c.bounce)*Math.sqrt(d);l={...l,mass:Wl.mass,stiffness:d,damping:b}}else{let t=G3(c);l={...l,...t,mass:Wl.mass},l.isResolvedFromDuration=!0}return l}function nH(c=Wl.visualDuration,l=Wl.bounce){let t=typeof c!="object"?{visualDuration:c,keyframes:[0,1],bounce:l}:c,{restSpeed:e,restDelta:d}=t,b=t.keyframes[0],o=t.keyframes[t.keyframes.length-1],n={done:!1,value:b},{stiffness:G,damping:X,mass:i,duration:a,velocity:m,isResolvedFromDuration:x}=Nbc({...t,velocity:-Ve(t.velocity||0)}),s=m||0,g=X/(2*Math.sqrt(G*i)),r=o-b,H=Ve(Math.sqrt(G/i)),Z=Math.abs(r)<5;e||(e=Z?Wl.restSpeed.granular:Wl.restSpeed.default),d||(d=Z?Wl.restDelta.granular:Wl.restDelta.default);let R;if(g<1){let I=bH(H,g);R=B=>{let p=Math.exp(-g*H*B);return o-p*((s+g*H*r)/I*Math.sin(I*B)+r*Math.cos(I*B))}}else if(g===1)R=I=>o-Math.exp(-H*I)*(r+(s+H*r)*I);else{let I=H*Math.sqrt(g*g-1);R=B=>{let p=Math.exp(-g*H*B),y=Math.min(I*B,300);return o-p*((s+g*H*r)*Math.sinh(y)+I*r*Math.cosh(y))/I}}let W={calculatedDuration:x&&a||null,next:I=>{let B=R(I);if(x)n.done=I>=a;else{let p=0;g<1&&(p=I===0?At(s):dH(R,I,B));let y=Math.abs(p)<=e,Y=Math.abs(o-B)<=d;n.done=y&&Y}return n.value=n.done?o:B,n},toString:()=>{let I=Math.min(oH(W),2e4),B=tH(p=>W.next(I*p).value,I,30);return I+"ms "+B}};return W}function E1({keyframes:c,velocity:l=0,power:t=.8,timeConstant:e=325,bounceDamping:d=10,bounceStiffness:b=500,modifyTarget:o,min:n,max:G,restDelta:X=.5,restSpeed:i}){let a=c[0],m={done:!1,value:a},x=y=>n!==void 0&&y<n||G!==void 0&&y>G,s=y=>n===void 0?G:G===void 0||Math.abs(n-y)<Math.abs(G-y)?n:G,g=t*l,r=a+g,H=o===void 0?r:o(r);H!==r&&(g=H-a);let Z=y=>-g*Math.exp(-y/e),R=y=>H+Z(y),W=y=>{let Y=Z(y),C=R(y);m.done=Math.abs(Y)<=X,m.value=m.done?H:C},I,B,p=y=>{x(m.value)&&(I=y,B=nH({keyframes:[m.value,s(m.value)],velocity:dH(R,y,m.value),damping:d,stiffness:b,restDelta:X,restSpeed:i}))};return p(0),{calculatedDuration:null,next:y=>{let Y=!1;return!B&&I===void 0&&(Y=!0,W(y),p(y)),I!==void 0&&y>=I?B.next(y-I):(!Y&&W(y),m)}}}var i3=cb(.42,0,1,1),a3=cb(0,0,.58,1),GH=cb(.42,0,.58,1);var u3=c=>Array.isArray(c)&&typeof c[0]!="number";var jx=c=>Array.isArray(c)&&typeof c[0]=="number";var m3={linear:rl,easeIn:i3,easeInOut:GH,easeOut:a3,circIn:jZ,circInOut:MZ,circOut:EZ,backIn:wx,backInOut:UZ,backOut:S1,anticipate:LZ},M1=c=>{if(jx(c)){Ee(c.length===4,"Cubic bezier arrays must contain four numerical values.");let[l,t,e,d]=c;return cb(l,t,e,d)}else if(typeof c=="string")return Ee(m3[c]!==void 0,`Invalid easing type '${c}'`),m3[c];return c};var fbc=(c,l)=>t=>l(c(t)),Db=(...c)=>c.reduce(fbc);var Oc=(c,l,t)=>c+(l-c)*t;function P1(c,l,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?c+(l-c)*6*t:t<1/2?l:t<2/3?c+(l-c)*(2/3-t)*6:c}function x3({hue:c,saturation:l,lightness:t,alpha:e}){c/=360,l/=100,t/=100;let d=0,b=0,o=0;if(!l)d=b=o=t;else{let n=t<.5?t*(1+l):t+l-t*l,G=2*t-n;d=P1(G,n,c+1/3),b=P1(G,n,c),o=P1(G,n,c-1/3)}return{red:Math.round(d*255),green:Math.round(b*255),blue:Math.round(o*255),alpha:e}}function wa(c,l){return t=>t>0?l:c}var K1=(c,l,t)=>{let e=c*c,d=t*(l*l-e)+e;return d<0?0:Math.sqrt(d)},Sbc=[Ux,Tb,_n],kbc=c=>Sbc.find(l=>l.test(c));function s3(c){let l=kbc(c);if(Qo(!!l,`'${c}' is not an animatable color. Use the equivalent color code instead.`),!l)return!1;let t=l.parse(c);return l===_n&&(t=x3(t)),t}var _1=(c,l)=>{let t=s3(c),e=s3(l);if(!t||!e)return wa(c,l);let d={...t};return b=>(d.red=K1(t.red,e.red,b),d.green=K1(t.green,e.green,b),d.blue=K1(t.blue,e.blue,b),d.alpha=Oc(t.alpha,e.alpha,b),Tb.transform(d))};var XH=new Set(["none","hidden"]);function g3(c,l){return XH.has(c)?t=>t<=0?c:l:t=>t>=1?l:c}function zbc(c,l){return t=>Oc(c,l,t)}function iH(c){return typeof c=="number"?zbc:typeof c=="string"?Na(c)?wa:jl.test(c)?_1:Qbc:Array.isArray(c)?r3:typeof c=="object"?jl.test(c)?_1:Abc:wa}function r3(c,l){let t=[...c],e=t.length,d=c.map((b,o)=>iH(b)(b,l[o]));return b=>{for(let o=0;o<e;o++)t[o]=d[o](b);return t}}function Abc(c,l){let t={...c,...l},e={};for(let d in t)c[d]!==void 0&&l[d]!==void 0&&(e[d]=iH(c[d])(c[d],l[d]));return d=>{for(let b in e)t[b]=e[b](d);return t}}function Obc(c,l){var t;let e=[],d={color:0,var:0,number:0};for(let b=0;b<l.values.length;b++){let o=l.types[b],n=c.indexes[o][d[o]],G=(t=c.values[n])!==null&&t!==void 0?t:0;e[b]=G,d[o]++}return e}var Qbc=(c,l)=>{let t=te.createTransformer(l),e=YX(c),d=YX(l);return e.indexes.var.length===d.indexes.var.length&&e.indexes.color.length===d.indexes.color.length&&e.indexes.number.length>=d.indexes.number.length?XH.has(c)&&!d.values.length||XH.has(l)&&!e.values.length?g3(c,l):Db(r3(Obc(e,d),d.values),t):(Qo(!0,`Complex values '${c}' and '${l}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),wa(c,l))};function aH(c,l,t){return typeof c=="number"&&typeof l=="number"&&typeof t=="number"?Oc(c,l,t):iH(c)(c,l)}function wbc(c,l,t){let e=[],d=t||aH,b=c.length-1;for(let o=0;o<b;o++){let n=d(c[o],c[o+1]);if(l){let G=Array.isArray(l)?l[o]||rl:l;n=Db(G,n)}e.push(n)}return e}function Z3(c,l,{clamp:t=!0,ease:e,mixer:d}={}){let b=c.length;if(Ee(b===l.length,"Both input and output ranges must be the same length"),b===1)return()=>l[0];if(b===2&&c[0]===c[1])return()=>l[1];c[0]>c[b-1]&&(c=[...c].reverse(),l=[...l].reverse());let o=wbc(l,e,d),n=o.length,G=X=>{let i=0;if(n>1)for(;i<c.length-2&&!(X<c[i+1]);i++);let a=lb(c[i],c[i+1],X);return o[i](a)};return t?X=>G(Bt(c[0],c[b-1],X)):G}function H3(c,l){let t=c[c.length-1];for(let e=1;e<=l;e++){let d=lb(0,l,e);c.push(Oc(t,1,d))}}function R3(c){let l=[0];return H3(l,c.length-1),l}function I3(c,l){return c.map(t=>t*l)}function Tbc(c,l){return c.map(()=>l||GH).splice(0,c.length-1)}function Ex({duration:c=300,keyframes:l,times:t,ease:e="easeInOut"}){let d=u3(e)?e.map(M1):M1(e),b={done:!1,value:l[0]},o=I3(t&&t.length===l.length?t:R3(l),c),n=Z3(o,l,{ease:Array.isArray(d)?d:Tbc(l,d)});return{calculatedDuration:c,next:G=>(b.value=n(G),b.done=G>=c,b)}}var W3=c=>{let l=({timestamp:t})=>c(t);return{start:()=>vc.update(l,!0),stop:()=>Me(l),now:()=>Ol.isProcessing?Ol.timestamp:Ot.now()}};var Dbc={decay:E1,inertia:E1,tween:Ex,keyframes:Ex,spring:nH},Ubc=c=>c/100,hX=class extends Qa{constructor(l){super(l),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:G}=this.options;G&&G()};let{name:t,motionValue:e,element:d,keyframes:b}=this.options,o=d?.KeyframeResolver||Pn,n=(G,X)=>this.onKeyframesResolved(G,X);this.resolver=new o(b,n,t,e,d),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(l){let{type:t="keyframes",repeat:e=0,repeatDelay:d=0,repeatType:b,velocity:o=0}=this.options,n=Oa(t)?t:Dbc[t]||Ex,G,X;n!==Ex&&typeof l[0]!="number"&&(G=Db(Ubc,aH(l[0],l[1])),l=[0,100]);let i=n({...this.options,keyframes:l});b==="mirror"&&(X=n({...this.options,keyframes:[...l].reverse(),velocity:-o})),i.calculatedDuration===null&&(i.calculatedDuration=oH(i));let{calculatedDuration:a}=i,m=a+d,x=m*(e+1)-d;return{generator:i,mirroredGenerator:X,mapPercentToKeyframes:G,calculatedDuration:a,resolvedDuration:m,totalDuration:x}}onPostResolved(){let{autoplay:l=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!l?this.pause():this.state=this.pendingPlayState}tick(l,t=!1){let{resolved:e}=this;if(!e){let{keyframes:y}=this.options;return{done:!0,value:y[y.length-1]}}let{finalKeyframe:d,generator:b,mirroredGenerator:o,mapPercentToKeyframes:n,keyframes:G,calculatedDuration:X,totalDuration:i,resolvedDuration:a}=e;if(this.startTime===null)return b.next(0);let{delay:m,repeat:x,repeatType:s,repeatDelay:g,onUpdate:r}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-i/this.speed,this.startTime)),t?this.currentTime=l:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(l-this.startTime)*this.speed;let H=this.currentTime-m*(this.speed>=0?1:-1),Z=this.speed>=0?H<0:H>i;this.currentTime=Math.max(H,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let R=this.currentTime,W=b;if(x){let y=Math.min(this.currentTime,i)/a,Y=Math.floor(y),C=y%1;!C&&y>=1&&(C=1),C===1&&Y--,Y=Math.min(Y,x+1),Y%2&&(s==="reverse"?(C=1-C,g&&(C-=g/a)):s==="mirror"&&(W=o)),R=Bt(0,1,C)*a}let I=Z?{done:!1,value:G[0]}:W.next(R);n&&(I.value=n(I.value));let{done:B}=I;!Z&&X!==null&&(B=this.speed>=0?this.currentTime>=i:this.currentTime<=0);let p=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&B);return p&&d!==void 0&&(I.value=Mn(G,this.options,d)),r&&r(I.value),p&&this.finish(),I}get duration(){let{resolved:l}=this;return l?Ve(l.calculatedDuration):0}get time(){return Ve(this.currentTime)}set time(l){l=At(l),this.currentTime=l,this.holdTime!==null||this.speed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.speed)}get speed(){return this.playbackSpeed}set speed(l){let t=this.playbackSpeed!==l;this.playbackSpeed=l,t&&(this.time=Ve(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:l=W3,onPlay:t,startTime:e}=this.options;this.driver||(this.driver=l(b=>this.tick(b))),t&&t();let d=this.driver.now();this.holdTime!==null?this.startTime=d-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=d):this.startTime=e??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var l;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(l=this.currentTime)!==null&&l!==void 0?l:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:l}=this.options;l&&l()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}};var p3=new Set(["opacity","clipPath","filter","transform"]);function Ta(c){let l;return()=>(l===void 0&&(l=c()),l)}var B3={linearEasing:void 0};function y3(c,l){let t=Ta(c);return()=>{var e;return(e=B3[l])!==null&&e!==void 0?e:t()}}var Da=y3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function $1(c){return!!(typeof c=="function"&&Da()||!c||typeof c=="string"&&(c in q1||Da())||jx(c)||Array.isArray(c)&&c.every($1))}var Mx=([c,l,t,e])=>`cubic-bezier(${c}, ${l}, ${t}, ${e})`,q1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mx([0,.65,.55,1]),circOut:Mx([.55,0,1,.45]),backIn:Mx([.31,.01,.66,-.59]),backOut:Mx([.33,1.53,.69,.99])};function cV(c,l){if(c)return typeof c=="function"&&Da()?tH(c,l):jx(c)?Mx(c):Array.isArray(c)?c.map(t=>cV(t,l)||q1.easeOut):q1[c]}function V3(c,l,t,{delay:e=0,duration:d=300,repeat:b=0,repeatType:o="loop",ease:n="easeInOut",times:G}={}){let X={[l]:t};G&&(X.offset=G);let i=cV(n,d);return Array.isArray(i)&&(X.easing=i),c.animate(X,{delay:e,duration:d,easing:Array.isArray(i)?"linear":i,fill:"both",iterations:b+1,direction:o==="reverse"?"alternate":"normal"})}function lV(c,l){c.timeline=l,c.onfinish=null}var C3=Ta(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var uH=10,Lbc=2e4;function jbc(c){return Oa(c.type)||c.type==="spring"||!$1(c.ease)}function Ebc(c,l){let t=new hX({...l,keyframes:c,repeat:0,delay:0,isGenerator:!0}),e={done:!1,value:c[0]},d=[],b=0;for(;!e.done&&b<Lbc;)e=t.sample(b),d.push(e.value),b+=uH;return{times:void 0,keyframes:d,duration:b-uH,ease:"linear"}}var J3={anticipate:LZ,backInOut:UZ,circInOut:MZ};function Mbc(c){return c in J3}var Px=class extends Qa{constructor(l){super(l);let{name:t,motionValue:e,element:d,keyframes:b}=this.options;this.resolver=new Aa(b,(o,n)=>this.onKeyframesResolved(o,n),t,e,d),this.resolver.scheduleResolve()}initPlayback(l,t){var e;let{duration:d=300,times:b,ease:o,type:n,motionValue:G,name:X,startTime:i}=this.options;if(!(!((e=G.owner)===null||e===void 0)&&e.current))return!1;if(typeof o=="string"&&Da()&&Mbc(o)&&(o=J3[o]),jbc(this.options)){let{onComplete:m,onUpdate:x,motionValue:s,element:g,...r}=this.options,H=Ebc(l,r);l=H.keyframes,l.length===1&&(l[1]=l[0]),d=H.duration,b=H.times,o=H.ease,n="keyframes"}let a=V3(G.owner.current,X,l,{...this.options,duration:d,times:b,ease:o});return a.startTime=i??this.calcStartTime(),this.pendingTimeline?(lV(a,this.pendingTimeline),this.pendingTimeline=void 0):a.onfinish=()=>{let{onComplete:m}=this.options;G.set(Mn(l,this.options,t)),m&&m(),this.cancel(),this.resolveFinishedPromise()},{animation:a,duration:d,times:b,type:n,ease:o,keyframes:l}}get duration(){let{resolved:l}=this;if(!l)return 0;let{duration:t}=l;return Ve(t)}get time(){let{resolved:l}=this;if(!l)return 0;let{animation:t}=l;return Ve(t.currentTime||0)}set time(l){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.currentTime=At(l)}get speed(){let{resolved:l}=this;if(!l)return 1;let{animation:t}=l;return t.playbackRate}set speed(l){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.playbackRate=l}get state(){let{resolved:l}=this;if(!l)return"idle";let{animation:t}=l;return t.playState}get startTime(){let{resolved:l}=this;if(!l)return null;let{animation:t}=l;return t.startTime}attachTimeline(l){if(!this._resolved)this.pendingTimeline=l;else{let{resolved:t}=this;if(!t)return rl;let{animation:e}=t;lV(e,l)}return rl}play(){if(this.isStopped)return;let{resolved:l}=this;if(!l)return;let{animation:t}=l;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:l}=this;if(!l)return;let{animation:t}=l;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:l}=this;if(!l)return;let{animation:t,keyframes:e,duration:d,type:b,ease:o,times:n}=l;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:X,onUpdate:i,onComplete:a,element:m,...x}=this.options,s=new hX({...x,keyframes:e,duration:d,type:b,ease:o,times:n,isGenerator:!0}),g=At(this.time);X.setWithVelocity(s.sample(g-uH).value,s.sample(g).value,uH)}let{onStop:G}=this.options;G&&G(),this.cancel()}complete(){let{resolved:l}=this;l&&l.animation.finish()}cancel(){let{resolved:l}=this;l&&l.animation.cancel()}static supports(l){let{motionValue:t,name:e,repeatDelay:d,repeatType:b,damping:o,type:n}=l;return C3()&&e&&p3.has(e)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!d&&b!=="mirror"&&o!==0&&n!=="inertia"}};var Y3=Ta(()=>window.ScrollTimeline!==void 0);var mH=class{constructor(l){this.stop=()=>this.runAll("stop"),this.animations=l.filter(Boolean)}then(l,t){return Promise.all(this.animations).then(l).catch(t)}getAll(l){return this.animations[0][l]}setAll(l,t){for(let e=0;e<this.animations.length;e++)this.animations[e][l]=t}attachTimeline(l,t){let e=this.animations.map(d=>Y3()&&d.attachTimeline?d.attachTimeline(l):t(d));return()=>{e.forEach((d,b)=>{d&&d(),this.animations[b].stop()})}}get time(){return this.getAll("time")}set time(l){this.setAll("time",l)}get speed(){return this.getAll("speed")}set speed(l){this.setAll("speed",l)}get startTime(){return this.getAll("startTime")}get duration(){let l=0;for(let t=0;t<this.animations.length;t++)l=Math.max(l,this.animations[t].duration);return l}runAll(l){this.animations.forEach(t=>t[l]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function h3({when:c,delay:l,delayChildren:t,staggerChildren:e,staggerDirection:d,repeat:b,repeatType:o,repeatDelay:n,from:G,elapsed:X,...i}){return!!Object.keys(i).length}var Ua=(c,l,t,e={},d,b)=>o=>{let n=Fa(e,c)||{},G=n.delay||e.delay||0,{elapsed:X=0}=e;X=X-At(G);let i={keyframes:Array.isArray(t)?t:[null,t],ease:"easeOut",velocity:l.getVelocity(),...n,delay:-X,onUpdate:m=>{l.set(m),n.onUpdate&&n.onUpdate(m)},onComplete:()=>{o(),n.onComplete&&n.onComplete()},name:c,motionValue:l,element:b?void 0:d};h3(n)||(i={...i,...Sf(c,i)}),i.duration&&(i.duration=At(i.duration)),i.repeatDelay&&(i.repeatDelay=At(i.repeatDelay)),i.from!==void 0&&(i.keyframes[0]=i.from);let a=!1;if((i.type===!1||i.duration===0&&!i.repeatDelay)&&(i.duration=0,i.delay===0&&(a=!0)),(AZ.current||va.skipAnimations)&&(a=!0,i.duration=0,i.delay=0),a&&!b&&l.get()!==void 0){let m=Mn(i.keyframes,n);if(m!==void 0)return vc.update(()=>{i.onUpdate(m),i.onComplete()}),new mH([])}return!b&&Px.supports(i)?new Px(i):new hX(i)};var F3=c=>!!(c&&typeof c=="object"&&c.mix&&c.toValue),v3=c=>Ox(c)?c[c.length-1]||0:c;function La(c,l){c.indexOf(l)===-1&&c.push(l)}function ja(c,l){let t=c.indexOf(l);t>-1&&c.splice(t,1)}var qn=class{constructor(){this.subscriptions=[]}add(l){return La(this.subscriptions,l),()=>ja(this.subscriptions,l)}notify(l,t,e){let d=this.subscriptions.length;if(d)if(d===1)this.subscriptions[0](l,t,e);else for(let b=0;b<d;b++){let o=this.subscriptions[b];o&&o(l,t,e)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var N3=30,Pbc=c=>!isNaN(parseFloat(c)),f3={current:void 0},tV=class{constructor(l,t={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,d=!0)=>{let b=Ot.now();this.updatedAt!==b&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),d&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(l),this.owner=t.owner}setCurrent(l){this.current=l,this.updatedAt=Ot.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=Pbc(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,t){this.events[l]||(this.events[l]=new qn);let e=this.events[l].add(t);return l==="change"?()=>{e(),vc.read(()=>{this.events.change.getSize()||this.stop()})}:e}clearListeners(){for(let l in this.events)this.events[l].clear()}attach(l,t){this.passiveEffect=l,this.stopPassiveEffect=t}set(l,t=!0){!t||!this.passiveEffect?this.updateAndNotify(l,t):this.passiveEffect(l,this.updateAndNotify)}setWithVelocity(l,t,e){this.set(t),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-e}jump(l,t=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return f3.current&&f3.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let l=Ot.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>N3)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,N3);return eH(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(l){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=l(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function To(c,l){return new tV(c,l)}function Kbc(c,l,t){c.hasValue(l)?c.getValue(l).set(t):c.addValue(l,To(t))}function S3(c,l){let t=jn(c,l),{transitionEnd:e={},transition:d={},...b}=t||{};b={...b,...e};for(let o in b){let n=v3(b[o]);Kbc(c,o,n)}}var Ea=c=>c.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var _bc="framerAppearId",xH="data-"+Ea(_bc);function sH(c){return c.props[xH]}var Zl=c=>!!(c&&c.getVelocity);function k3(c){return!!(Zl(c)&&c.add)}function Kx(c,l){let t=c.getValue("willChange");if(k3(t))return t.add(l)}function qbc({protectedKeys:c,needsAnimating:l},t){let e=c.hasOwnProperty(t)&&l[t]!==!0;return l[t]=!1,e}function gH(c,l,{delay:t=0,transitionOverride:e,type:d}={}){var b;let{transition:o=c.getDefaultTransition(),transitionEnd:n,...G}=l;e&&(o=e);let X=[],i=d&&c.animationState&&c.animationState.getState()[d];for(let a in G){let m=c.getValue(a,(b=c.latestValues[a])!==null&&b!==void 0?b:null),x=G[a];if(x===void 0||i&&qbc(i,a))continue;let s={delay:t,...Fa(o||{},a)},g=!1;if(window.MotionHandoffAnimation){let H=sH(c);if(H){let Z=window.MotionHandoffAnimation(H,a,vc);Z!==null&&(s.startTime=Z,g=!0)}}Kx(c,a),m.start(Ua(a,m,x,c.shouldReduceMotion&&ye.has(a)?{type:!1}:s,c,g));let r=m.animation;r&&X.push(r)}return n&&Promise.all(X).then(()=>{vc.update(()=>{n&&S3(c,n)})}),X}function rH(c,l,t={}){var e;let d=jn(c,l,t.type==="exit"?(e=c.presenceContext)===null||e===void 0?void 0:e.custom:void 0),{transition:b=c.getDefaultTransition()||{}}=d||{};t.transitionOverride&&(b=t.transitionOverride);let o=d?()=>Promise.all(gH(c,d,t)):()=>Promise.resolve(),n=c.variantChildren&&c.variantChildren.size?(X=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:m}=b;return $bc(c,l,i+X,a,m,t)}:()=>Promise.resolve(),{when:G}=b;if(G){let[X,i]=G==="beforeChildren"?[o,n]:[n,o];return X().then(()=>i())}else return Promise.all([o(),n(t.delay)])}function $bc(c,l,t=0,e=0,d=1,b){let o=[],n=(c.variantChildren.size-1)*e,G=d===1?(X=0)=>X*e:(X=0)=>n-X*e;return Array.from(c.variantChildren).sort(coc).forEach((X,i)=>{X.notify("AnimationStart",l),o.push(rH(X,l,{...b,delay:t+G(i)}).then(()=>X.notify("AnimationComplete",l)))}),Promise.all(o)}function coc(c,l){return c.sortNodePosition(l)}function z3(c,l,t={}){c.notify("AnimationStart",l);let e;if(Array.isArray(l)){let d=l.map(b=>rH(c,b,t));e=Promise.all(d)}else if(typeof l=="string")e=rH(c,l,t);else{let d=typeof l=="function"?jn(c,l,t.custom):l;e=Promise.all(gH(c,d,t))}return e.then(()=>{c.notify("AnimationComplete",l)})}var loc=Qx.length;function eV(c){if(!c)return;if(!c.isControllingVariants){let t=c.parent?eV(c.parent)||{}:{};return c.props.initial!==void 0&&(t.initial=c.props.initial),t}let l={};for(let t=0;t<loc;t++){let e=Qx[t],d=c.props[e];(Oo(d)||d===!1)&&(l[e]=d)}return l}var toc=[...zZ].reverse(),eoc=zZ.length;function doc(c){return l=>Promise.all(l.map(({animation:t,options:e})=>z3(c,t,e)))}function O3(c){let l=doc(c),t=A3(),e=!0,d=G=>(X,i)=>{var a;let m=jn(c,i,G==="exit"?(a=c.presenceContext)===null||a===void 0?void 0:a.custom:void 0);if(m){let{transition:x,transitionEnd:s,...g}=m;X={...X,...g,...s}}return X};function b(G){l=G(c)}function o(G){let{props:X}=c,i=eV(c.parent)||{},a=[],m=new Set,x={},s=1/0;for(let r=0;r<eoc;r++){let H=toc[r],Z=t[H],R=X[H]!==void 0?X[H]:i[H],W=Oo(R),I=H===G?Z.isActive:null;I===!1&&(s=r);let B=R===i[H]&&R!==X[H]&&W;if(B&&e&&c.manuallyAnimateOnMount&&(B=!1),Z.protectedKeys={...x},!Z.isActive&&I===null||!R&&!Z.prevProp||Ln(R)||typeof R=="boolean")continue;let p=boc(Z.prevProp,R),y=p||H===G&&Z.isActive&&!B&&W||r>s&&W,Y=!1,C=Array.isArray(R)?R:[R],J=C.reduce(d(H),{});I===!1&&(J={});let{prevResolvedValues:N={}}=Z,S={...N,...J},F=v=>{y=!0,m.has(v)&&(Y=!0,m.delete(v)),Z.needsAnimating[v]=!0;let T=c.getValue(v);T&&(T.liveStyle=!1)};for(let v in S){let T=J[v],k=N[v];if(x.hasOwnProperty(v))continue;let M=!1;Ox(T)&&Ox(k)?M=!f1(T,k):M=T!==k,M?T!=null?F(v):m.add(v):T!==void 0&&m.has(v)?F(v):Z.protectedKeys[v]=!0}Z.prevProp=R,Z.prevResolvedValues=J,Z.isActive&&(x={...x,...J}),e&&c.blockInitialAnimation&&(y=!1),y&&(!(B&&p)||Y)&&a.push(...C.map(v=>({animation:v,options:{type:H}})))}if(m.size){let r={};m.forEach(H=>{let Z=c.getBaseTarget(H),R=c.getValue(H);R&&(R.liveStyle=!0),r[H]=Z??null}),a.push({animation:r})}let g=!!a.length;return e&&(X.initial===!1||X.initial===X.animate)&&!c.manuallyAnimateOnMount&&(g=!1),e=!1,g?l(a):Promise.resolve()}function n(G,X){var i;if(t[G].isActive===X)return Promise.resolve();(i=c.variantChildren)===null||i===void 0||i.forEach(m=>{var x;return(x=m.animationState)===null||x===void 0?void 0:x.setActive(G,X)}),t[G].isActive=X;let a=o(G);for(let m in t)t[m].protectedKeys={};return a}return{animateChanges:o,setActive:n,setAnimateFunction:b,getState:()=>t,reset:()=>{t=A3(),e=!0}}}function boc(c,l){return typeof l=="string"?l!==c:Array.isArray(l)?!f1(l,c):!1}function FX(c=!1){return{isActive:c,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function A3(){return{animate:FX(!0),whileInView:FX(),whileHover:FX(),whileTap:FX(),whileDrag:FX(),whileFocus:FX(),exit:FX()}}var at=class{constructor(l){this.isMounted=!1,this.node=l}update(){}};var ZH=class extends at{constructor(l){super(l),l.animationState||(l.animationState=O3(l))}updateAnimationControlsSubscription(){let{animate:l}=this.node.getProps();Ln(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:l}=this.node.getProps(),{animate:t}=this.node.prevProps||{};l!==t&&this.updateAnimationControlsSubscription()}unmount(){var l;this.node.animationState.reset(),(l=this.unmountControls)===null||l===void 0||l.call(this)}};var ooc=0,HH=class extends at{constructor(){super(...arguments),this.id=ooc++}update(){if(!this.node.presenceContext)return;let{isPresent:l,onExitComplete:t}=this.node.presenceContext,{isPresent:e}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===e)return;let d=this.node.animationState.setActive("exit",!l);t&&!l&&d.then(()=>t(this.id))}mount(){let{register:l}=this.node.presenceContext||{};l&&(this.unmount=l(this.id))}unmount(){}};var Q3={animation:{Feature:ZH},exit:{Feature:HH}};var Pe={x:!1,y:!1};function Ma(){return Pe.x||Pe.y}function dV(c,l,t){var e;if(c instanceof Element)return[c];if(typeof c=="string"){let d=document;l&&(d=l.current);let b=(e=t?.[c])!==null&&e!==void 0?e:d.querySelectorAll(c);return b?Array.from(b):[]}return Array.from(c)}function RH(c,l){let t=dV(c),e=new AbortController,d={passive:!0,...l,signal:e.signal};return[t,d,()=>e.abort()]}function w3(c){return l=>{l.pointerType==="touch"||Ma()||c(l)}}function bV(c,l,t={}){let[e,d,b]=RH(c,t),o=w3(n=>{let{target:G}=n,X=l(n);if(!X||!G)return;let i=w3(a=>{X(a),G.removeEventListener("pointerleave",i)});G.addEventListener("pointerleave",i,d)});return e.forEach(n=>{n.addEventListener("pointerenter",o,d)}),b}var vX=c=>c.pointerType==="mouse"?typeof c.button!="number"||c.button<=0:c.isPrimary!==!1;var NX=new WeakSet;function T3(c){return l=>{l.key==="Enter"&&c(l)}}function oV(c,l){c.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}var D3=(c,l)=>{let t=c.currentTarget;if(!t)return;let e=T3(()=>{if(NX.has(t))return;oV(t,"down");let d=T3(()=>{oV(t,"up")}),b=()=>oV(t,"cancel");t.addEventListener("keyup",d,l),t.addEventListener("blur",b,l)});t.addEventListener("keydown",e,l),t.addEventListener("blur",()=>t.removeEventListener("keydown",e),l)};var noc=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function U3(c){return noc.has(c.tagName)||c.tabIndex!==-1}var IH=(c,l)=>l?c===l?!0:IH(c,l.parentElement):!1;function L3(c){return vX(c)&&!Ma()}function nV(c,l,t={}){let[e,d,b]=RH(c,t),o=n=>{let G=n.currentTarget;if(!L3(n)||NX.has(G))return;NX.add(G);let X=l(n),i=(x,s)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",m),!(!L3(x)||!NX.has(G))&&(NX.delete(G),X&&X(x,{success:s}))},a=x=>{i(x,t.useGlobalTarget||IH(G,x.target))},m=x=>{i(x,!1)};window.addEventListener("pointerup",a,d),window.addEventListener("pointercancel",m,d)};return e.forEach(n=>{U3(n)||(n.tabIndex=0),(t.useGlobalTarget?window:n).addEventListener("pointerdown",o,d),n.addEventListener("focus",X=>D3(X,d),d)}),b}function GV(c){return c==="x"||c==="y"?Pe[c]?null:(Pe[c]=!0,()=>{Pe[c]=!1}):Pe.x||Pe.y?null:(Pe.x=Pe.y=!0,()=>{Pe.x=Pe.y=!1})}function Do(c){return{point:{x:c.pageX,y:c.pageY}}}var j3=c=>l=>vX(l)&&c(l,Do(l));function Uo(c,l,t,e={passive:!0}){return c.addEventListener(l,t,e),()=>c.removeEventListener(l,t)}function $n(c,l,t,e){return Uo(c,l,j3(t),e)}var E3=(c,l)=>Math.abs(c-l);function M3(c,l){let t=E3(c.x,l.x),e=E3(c.y,l.y);return Math.sqrt(t**2+e**2)}var Pa=class{constructor(l,t,{transformPagePoint:e,contextWindow:d,dragSnapToOrigin:b=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=iV(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,x=M3(a.offset,{x:0,y:0})>=3;if(!m&&!x)return;let{point:s}=a,{timestamp:g}=Ol;this.history.push({...s,timestamp:g});let{onStart:r,onMove:H}=this.handlers;m||(r&&r(this.lastMoveEvent,a),this.startEvent=this.lastMoveEvent),H&&H(this.lastMoveEvent,a)},this.handlePointerMove=(a,m)=>{this.lastMoveEvent=a,this.lastMoveEventInfo=XV(m,this.transformPagePoint),vc.update(this.updatePoint,!0)},this.handlePointerUp=(a,m)=>{this.end();let{onEnd:x,onSessionEnd:s,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=iV(a.type==="pointercancel"?this.lastMoveEventInfo:XV(m,this.transformPagePoint),this.history);this.startEvent&&x&&x(a,r),s&&s(a,r)},!vX(l))return;this.dragSnapToOrigin=b,this.handlers=t,this.transformPagePoint=e,this.contextWindow=d||window;let o=Do(l),n=XV(o,this.transformPagePoint),{point:G}=n,{timestamp:X}=Ol;this.history=[{...G,timestamp:X}];let{onSessionStart:i}=t;i&&i(l,iV(n,this.history)),this.removeListeners=Db($n(this.contextWindow,"pointermove",this.handlePointerMove),$n(this.contextWindow,"pointerup",this.handlePointerUp),$n(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),Me(this.updatePoint)}};function XV(c,l){return l?{point:l(c.point)}:c}function P3(c,l){return{x:c.x-l.x,y:c.y-l.y}}function iV({point:c},l){return{point:c,delta:P3(c,K3(l)),offset:P3(c,Goc(l)),velocity:Xoc(l,.1)}}function Goc(c){return c[0]}function K3(c){return c[c.length-1]}function Xoc(c,l){if(c.length<2)return{x:0,y:0};let t=c.length-1,e=null,d=K3(c);for(;t>=0&&(e=c[t],!(d.timestamp-e.timestamp>At(l)));)t--;if(!e)return{x:0,y:0};let b=Ve(d.timestamp-e.timestamp);if(b===0)return{x:0,y:0};let o={x:(d.x-e.x)/b,y:(d.y-e.y)/b};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Lo(c){return c&&typeof c=="object"&&Object.prototype.hasOwnProperty.call(c,"current")}var cS=1e-4,ioc=1-cS,aoc=1+cS,lS=.01,uoc=0-lS,moc=0+lS;function yt(c){return c.max-c.min}function tS(c,l,t){return Math.abs(c-l)<=t}function _3(c,l,t,e=.5){c.origin=e,c.originPoint=Oc(l.min,l.max,c.origin),c.scale=yt(t)/yt(l),c.translate=Oc(t.min,t.max,c.origin)-c.originPoint,(c.scale>=ioc&&c.scale<=aoc||isNaN(c.scale))&&(c.scale=1),(c.translate>=uoc&&c.translate<=moc||isNaN(c.translate))&&(c.translate=0)}function Ka(c,l,t,e){_3(c.x,l.x,t.x,e?e.originX:void 0),_3(c.y,l.y,t.y,e?e.originY:void 0)}function q3(c,l,t){c.min=t.min+l.min,c.max=c.min+yt(l)}function eS(c,l,t){q3(c.x,l.x,t.x),q3(c.y,l.y,t.y)}function $3(c,l,t){c.min=l.min-t.min,c.max=c.min+yt(l)}function _a(c,l,t){$3(c.x,l.x,t.x),$3(c.y,l.y,t.y)}function GS(c,{min:l,max:t},e){return l!==void 0&&c<l?c=e?Oc(l,c,e.min):Math.max(c,l):t!==void 0&&c>t&&(c=e?Oc(t,c,e.max):Math.min(c,t)),c}function dS(c,l,t){return{min:l!==void 0?c.min+l:void 0,max:t!==void 0?c.max+t-(c.max-c.min):void 0}}function XS(c,{top:l,left:t,bottom:e,right:d}){return{x:dS(c.x,t,d),y:dS(c.y,l,e)}}function bS(c,l){let t=l.min-c.min,e=l.max-c.max;return l.max-l.min<c.max-c.min&&([t,e]=[e,t]),{min:t,max:e}}function iS(c,l){return{x:bS(c.x,l.x),y:bS(c.y,l.y)}}function aS(c,l){let t=.5,e=yt(c),d=yt(l);return d>e?t=lb(l.min,l.max-e,c.min):e>d&&(t=lb(c.min,c.max-d,l.min)),Bt(0,1,t)}function uS(c,l){let t={};return l.min!==void 0&&(t.min=l.min-c.min),l.max!==void 0&&(t.max=l.max-c.min),t}var WH=.35;function mS(c=WH){return c===!1?c=0:c===!0&&(c=WH),{x:oS(c,"left","right"),y:oS(c,"top","bottom")}}function oS(c,l,t){return{min:nS(c,l),max:nS(c,t)}}function nS(c,l){return typeof c=="number"?c:c[l]||0}var xS=()=>({translate:0,scale:1,origin:0,originPoint:0}),fX=()=>({x:xS(),y:xS()}),sS=()=>({min:0,max:0}),pl=()=>({x:sS(),y:sS()});function Ce(c){return[c("x"),c("y")]}function pH({top:c,left:l,right:t,bottom:e}){return{x:{min:l,max:t},y:{min:c,max:e}}}function gS({x:c,y:l}){return{top:l.min,right:c.max,bottom:l.max,left:c.min}}function rS(c,l){if(!l)return c;let t=l({x:c.left,y:c.top}),e=l({x:c.right,y:c.bottom});return{top:t.y,left:t.x,bottom:e.y,right:e.x}}function aV(c){return c===void 0||c===1}function BH({scale:c,scaleX:l,scaleY:t}){return!aV(c)||!aV(l)||!aV(t)}function jo(c){return BH(c)||uV(c)||c.z||c.rotate||c.rotateX||c.rotateY||c.skewX||c.skewY}function uV(c){return ZS(c.x)||ZS(c.y)}function ZS(c){return c&&c!=="0%"}function _x(c,l,t){let e=c-t,d=l*e;return t+d}function HS(c,l,t,e,d){return d!==void 0&&(c=_x(c,d,e)),_x(c,t,e)+l}function mV(c,l=0,t=1,e,d){c.min=HS(c.min,l,t,e,d),c.max=HS(c.max,l,t,e,d)}function xV(c,{x:l,y:t}){mV(c.x,l.translate,l.scale,l.originPoint),mV(c.y,t.translate,t.scale,t.originPoint)}var RS=.999999999999,IS=1.0000000000001;function pS(c,l,t,e=!1){let d=t.length;if(!d)return;l.x=l.y=1;let b,o;for(let n=0;n<d;n++){b=t[n],o=b.projectionDelta;let{visualElement:G}=b.options;G&&G.props.style&&G.props.style.display==="contents"||(e&&b.options.layoutScroll&&b.scroll&&b!==b.root&&SX(c,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),o&&(l.x*=o.x.scale,l.y*=o.y.scale,xV(c,o)),e&&jo(b.latestValues)&&SX(c,b.latestValues))}l.x<IS&&l.x>RS&&(l.x=1),l.y<IS&&l.y>RS&&(l.y=1)}function cG(c,l){c.min=c.min+l,c.max=c.max+l}function WS(c,l,t,e,d=.5){let b=Oc(c.min,c.max,d);mV(c,l,t,b,e)}function SX(c,l){WS(c.x,l.x,l.scaleX,l.scale,l.originX),WS(c.y,l.y,l.scaleY,l.scale,l.originY)}function sV(c,l){return pH(rS(c.getBoundingClientRect(),l))}function BS(c,l,t){let e=sV(c,t),{scroll:d}=l;return d&&(cG(e.x,d.offset.x),cG(e.y,d.offset.y)),e}var yH=({current:c})=>c?c.ownerDocument.defaultView:null;var xoc=new WeakMap,CH=class{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=pl(),this.visualElement=l}start(l,{snapToCursor:t=!1}={}){let{presenceContext:e}=this.visualElement;if(e&&e.isPresent===!1)return;let d=i=>{let{dragSnapToOrigin:a}=this.getProps();a?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Do(i).point)},b=(i,a)=>{let{drag:m,dragPropagation:x,onDragStart:s}=this.getProps();if(m&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=GV(m),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ce(r=>{let H=this.getAxisMotionValue(r).get()||0;if(le.test(H)){let{projection:Z}=this.visualElement;if(Z&&Z.layout){let R=Z.layout.layoutBox[r];R&&(H=yt(R)*(parseFloat(H)/100))}}this.originPoint[r]=H}),s&&vc.postRender(()=>s(i,a)),Kx(this.visualElement,"transform");let{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(i,a)=>{let{dragPropagation:m,dragDirectionLock:x,onDirectionLock:s,onDrag:g}=this.getProps();if(!m&&!this.openDragLock)return;let{offset:r}=a;if(x&&this.currentDirection===null){this.currentDirection=soc(r),this.currentDirection!==null&&s&&s(this.currentDirection);return}this.updateAxis("x",a.point,r),this.updateAxis("y",a.point,r),this.visualElement.render(),g&&g(i,a)},n=(i,a)=>this.stop(i,a),G=()=>Ce(i=>{var a;return this.getAnimationState(i)==="paused"&&((a=this.getAxisMotionValue(i).animation)===null||a===void 0?void 0:a.play())}),{dragSnapToOrigin:X}=this.getProps();this.panSession=new Pa(l,{onSessionStart:d,onStart:b,onMove:o,onSessionEnd:n,resumeAnimation:G},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:X,contextWindow:yH(this.visualElement)})}stop(l,t){let e=this.isDragging;if(this.cancel(),!e)return;let{velocity:d}=t;this.startAnimation(d);let{onDragEnd:b}=this.getProps();b&&vc.postRender(()=>b(l,t))}cancel(){this.isDragging=!1;let{projection:l,animationState:t}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:e}=this.getProps();!e&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(l,t,e){let{drag:d}=this.getProps();if(!e||!VH(l,d,this.currentDirection))return;let b=this.getAxisMotionValue(l),o=this.originPoint[l]+e[l];this.constraints&&this.constraints[l]&&(o=GS(o,this.constraints[l],this.elastic[l])),b.set(o)}resolveConstraints(){var l;let{dragConstraints:t,dragElastic:e}=this.getProps(),d=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)===null||l===void 0?void 0:l.layout,b=this.constraints;t&&Lo(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&d?this.constraints=XS(d.layoutBox,t):this.constraints=!1,this.elastic=mS(e),b!==this.constraints&&d&&this.constraints&&!this.hasMutatedConstraints&&Ce(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=uS(d.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:l,onMeasureDragConstraints:t}=this.getProps();if(!l||!Lo(l))return!1;let e=l.current;Ee(e!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:d}=this.visualElement;if(!d||!d.layout)return!1;let b=BS(e,d.root,this.visualElement.getTransformPagePoint()),o=iS(d.layout.layoutBox,b);if(t){let n=t(gS(o));this.hasMutatedConstraints=!!n,n&&(o=pH(n))}return o}startAnimation(l){let{drag:t,dragMomentum:e,dragElastic:d,dragTransition:b,dragSnapToOrigin:o,onDragTransitionEnd:n}=this.getProps(),G=this.constraints||{},X=Ce(i=>{if(!VH(i,t,this.currentDirection))return;let a=G&&G[i]||{};o&&(a={min:0,max:0});let m=d?200:1e6,x=d?40:1e7,s={type:"inertia",velocity:e?l[i]:0,bounceStiffness:m,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...b,...a};return this.startAxisValueAnimation(i,s)});return Promise.all(X).then(n)}startAxisValueAnimation(l,t){let e=this.getAxisMotionValue(l);return Kx(this.visualElement,l),e.start(Ua(l,e,0,t,this.visualElement,!1))}stopAnimation(){Ce(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Ce(l=>{var t;return(t=this.getAxisMotionValue(l).animation)===null||t===void 0?void 0:t.pause()})}getAnimationState(l){var t;return(t=this.getAxisMotionValue(l).animation)===null||t===void 0?void 0:t.state}getAxisMotionValue(l){let t=`_drag${l.toUpperCase()}`,e=this.visualElement.getProps(),d=e[t];return d||this.visualElement.getValue(l,(e.initial?e.initial[l]:void 0)||0)}snapToCursor(l){Ce(t=>{let{drag:e}=this.getProps();if(!VH(t,e,this.currentDirection))return;let{projection:d}=this.visualElement,b=this.getAxisMotionValue(t);if(d&&d.layout){let{min:o,max:n}=d.layout.layoutBox[t];b.set(l[t]-Oc(o,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:l,dragConstraints:t}=this.getProps(),{projection:e}=this.visualElement;if(!Lo(t)||!e||!this.constraints)return;this.stopAnimation();let d={x:0,y:0};Ce(o=>{let n=this.getAxisMotionValue(o);if(n&&this.constraints!==!1){let G=n.get();d[o]=aS({min:G,max:G},this.constraints[o])}});let{transformTemplate:b}=this.visualElement.getProps();this.visualElement.current.style.transform=b?b({},""):"none",e.root&&e.root.updateScroll(),e.updateLayout(),this.resolveConstraints(),Ce(o=>{if(!VH(o,l,null))return;let n=this.getAxisMotionValue(o),{min:G,max:X}=this.constraints[o];n.set(Oc(G,X,d[o]))})}addListeners(){if(!this.visualElement.current)return;xoc.set(this.visualElement,this);let l=this.visualElement.current,t=$n(l,"pointerdown",G=>{let{drag:X,dragListener:i=!0}=this.getProps();X&&i&&this.start(G)}),e=()=>{let{dragConstraints:G}=this.getProps();Lo(G)&&G.current&&(this.constraints=this.resolveRefConstraints())},{projection:d}=this.visualElement,b=d.addEventListener("measure",e);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),vc.read(e);let o=Uo(window,"resize",()=>this.scalePositionWithinConstraints()),n=d.addEventListener("didUpdate",(({delta:G,hasLayoutChanged:X})=>{this.isDragging&&X&&(Ce(i=>{let a=this.getAxisMotionValue(i);a&&(this.originPoint[i]+=G[i].translate,a.set(a.get()+G[i].translate))}),this.visualElement.render())}));return()=>{o(),t(),b(),n&&n()}}getProps(){let l=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:e=!1,dragPropagation:d=!1,dragConstraints:b=!1,dragElastic:o=WH,dragMomentum:n=!0}=l;return{...l,drag:t,dragDirectionLock:e,dragPropagation:d,dragConstraints:b,dragElastic:o,dragMomentum:n}}};function VH(c,l,t){return(l===!0||l===c)&&(t===null||t===c)}function soc(c,l=10){let t=null;return Math.abs(c.y)>l?t="y":Math.abs(c.x)>l&&(t="x"),t}var JH=class extends at{constructor(l){super(l),this.removeGroupControls=rl,this.removeListeners=rl,this.controls=new CH(l)}mount(){let{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rl}unmount(){this.removeGroupControls(),this.removeListeners()}};var yS=c=>(l,t)=>{c&&vc.postRender(()=>c(l,t))},YH=class extends at{constructor(){super(...arguments),this.removePointerDownListener=rl}onPointerDown(l){this.session=new Pa(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yH(this.node)})}createPanHandlers(){let{onPanSessionStart:l,onPanStart:t,onPan:e,onPanEnd:d}=this.node.getProps();return{onSessionStart:yS(l),onStart:yS(t),onMove:e,onEnd:(b,o)=>{delete this.session,d&&vc.postRender(()=>d(b,o))}}}mount(){this.removePointerDownListener=$n(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var NS=u(V(),1),qx=u(E(),1);var tG=u(E(),1);var VS=u(E(),1),lG=(0,VS.createContext)(null);function CS(){let c=(0,tG.useContext)(lG);if(c===null)return[!0,null];let{isPresent:l,onExitComplete:t,register:e}=c,d=(0,tG.useId)();(0,tG.useEffect)(()=>e(d),[]);let b=(0,tG.useCallback)(()=>t&&t(d),[d,t]);return!l&&t?[!1,b]:[!0]}var JS=u(E(),1),qa=(0,JS.createContext)({});var YS=u(E(),1),hH=(0,YS.createContext)({});var $a={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hS(c,l){return l.max===l.min?0:c/(l.max-l.min)*100}var cu={correct:(c,l)=>{if(!l.target)return c;if(typeof c=="string")if(Hc.test(c))c=parseFloat(c);else return c;let t=hS(c,l.target.x),e=hS(c,l.target.y);return`${t}% ${e}%`}};var FS={correct:(c,{treeScale:l,projectionDelta:t})=>{let e=c,d=te.parse(c);if(d.length>5)return e;let b=te.createTransformer(c),o=typeof d[0]!="number"?1:0,n=t.x.scale*l.x,G=t.y.scale*l.y;d[0+o]/=n,d[1+o]/=G;let X=Oc(n,G,.5);return typeof d[2+o]=="number"&&(d[2+o]/=X),typeof d[3+o]=="number"&&(d[3+o]/=X),b(d)}};var lu={};function vS(c){Object.assign(lu,c)}var{schedule:tu,cancel:Xwc}=QZ(queueMicrotask,!1);var gV=class extends qx.Component{componentDidMount(){let{visualElement:l,layoutGroup:t,switchLayoutGroup:e,layoutId:d}=this.props,{projection:b}=l;vS(goc),b&&(t.group&&t.group.add(b),e&&e.register&&d&&e.register(b),b.root.didUpdate(),b.addEventListener("animationComplete",()=>{this.safeToRemove()}),b.setOptions({...b.options,onExitComplete:()=>this.safeToRemove()})),$a.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){let{layoutDependency:t,visualElement:e,drag:d,isPresent:b}=this.props,o=e.projection;return o&&(o.isPresent=b,d||l.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),l.isPresent!==b&&(b?o.promote():o.relegate()||vc.postRender(()=>{let n=o.getStack();(!n||!n.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),tu.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:l,layoutGroup:t,switchLayoutGroup:e}=this.props,{projection:d}=l;d&&(d.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(d),e&&e.deregister&&e.deregister(d))}safeToRemove(){let{safeToRemove:l}=this.props;l&&l()}render(){return null}};function FH(c){let[l,t]=CS(),e=(0,qx.useContext)(qa);return(0,NS.jsx)(gV,{...c,layoutGroup:e,switchLayoutGroup:(0,qx.useContext)(hH),isPresent:l,safeToRemove:t})}var goc={borderRadius:{...cu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cu,borderTopRightRadius:cu,borderBottomLeftRadius:cu,borderBottomRightRadius:cu,boxShadow:FS};var zS=["TopLeft","TopRight","BottomLeft","BottomRight"],roc=zS.length,fS=c=>typeof c=="string"?parseFloat(c):c,SS=c=>typeof c=="number"||Hc.test(c);function AS(c,l,t,e,d,b){d?(c.opacity=Oc(0,t.opacity!==void 0?t.opacity:1,Zoc(e)),c.opacityExit=Oc(l.opacity!==void 0?l.opacity:1,0,Hoc(e))):b&&(c.opacity=Oc(l.opacity!==void 0?l.opacity:1,t.opacity!==void 0?t.opacity:1,e));for(let o=0;o<roc;o++){let n=`border${zS[o]}Radius`,G=kS(l,n),X=kS(t,n);if(G===void 0&&X===void 0)continue;G||(G=0),X||(X=0),G===0||X===0||SS(G)===SS(X)?(c[n]=Math.max(Oc(fS(G),fS(X),e),0),(le.test(X)||le.test(G))&&(c[n]+="%")):c[n]=X}(l.rotate||t.rotate)&&(c.rotate=Oc(l.rotate||0,t.rotate||0,e))}function kS(c,l){return c[l]!==void 0?c[l]:c.borderRadius}var Zoc=OS(0,.5,EZ),Hoc=OS(.5,.95,rl);function OS(c,l,t){return e=>e<c?0:e>l?1:t(lb(c,l,e))}function QS(c,l){c.min=l.min,c.max=l.max}function Ke(c,l){QS(c.x,l.x),QS(c.y,l.y)}function rV(c,l){c.translate=l.translate,c.scale=l.scale,c.originPoint=l.originPoint,c.origin=l.origin}function wS(c,l,t,e,d){return c-=l,c=_x(c,1/t,e),d!==void 0&&(c=_x(c,1/d,e)),c}function Roc(c,l=0,t=1,e=.5,d,b=c,o=c){if(le.test(l)&&(l=parseFloat(l),l=Oc(o.min,o.max,l/100)-o.min),typeof l!="number")return;let n=Oc(b.min,b.max,e);c===b&&(n-=l),c.min=wS(c.min,l,t,n,d),c.max=wS(c.max,l,t,n,d)}function TS(c,l,[t,e,d],b,o){Roc(c,l[t],l[e],l[d],l.scale,b,o)}var Ioc=["x","scaleX","originX"],Woc=["y","scaleY","originY"];function ZV(c,l,t,e){TS(c.x,l,Ioc,t?t.x:void 0,e?e.x:void 0),TS(c.y,l,Woc,t?t.y:void 0,e?e.y:void 0)}function DS(c){return c.translate===0&&c.scale===1}function HV(c){return DS(c.x)&&DS(c.y)}function US(c,l){return c.min===l.min&&c.max===l.max}function jS(c,l){return US(c.x,l.x)&&US(c.y,l.y)}function LS(c,l){return Math.round(c.min)===Math.round(l.min)&&Math.round(c.max)===Math.round(l.max)}function RV(c,l){return LS(c.x,l.x)&&LS(c.y,l.y)}function IV(c){return yt(c.x)/yt(c.y)}function WV(c,l){return c.translate===l.translate&&c.scale===l.scale&&c.originPoint===l.originPoint}var vH=class{constructor(){this.members=[]}add(l){La(this.members,l),l.scheduleRender()}remove(l){if(ja(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(l){let t=this.members.findIndex(d=>l===d);if(t===0)return!1;let e;for(let d=t;d>=0;d--){let b=this.members[d];if(b.isPresent!==!1){e=b;break}}return e?(this.promote(e),!0):!1}promote(l,t){let e=this.lead;if(l!==e&&(this.prevLead=e,this.lead=l,l.show(),e)){e.instance&&e.scheduleRender(),l.scheduleRender(),l.resumeFrom=e,t&&(l.resumeFrom.preserveOpacity=!0),e.snapshot&&(l.snapshot=e.snapshot,l.snapshot.latestValues=e.animationValues||e.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);let{crossfade:d}=l.options;d===!1&&e.hide()}}exitAnimationComplete(){this.members.forEach(l=>{let{options:t,resumingFrom:e}=l;t.onExitComplete&&t.onExitComplete(),e&&e.options.onExitComplete&&e.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function ES(c,l,t){let e="",d=c.x.translate/l.x,b=c.y.translate/l.y,o=t?.z||0;if((d||b||o)&&(e=`translate3d(${d}px, ${b}px, ${o}px) `),(l.x!==1||l.y!==1)&&(e+=`scale(${1/l.x}, ${1/l.y}) `),t){let{transformPerspective:X,rotate:i,rotateX:a,rotateY:m,skewX:x,skewY:s}=t;X&&(e=`perspective(${X}px) ${e}`),i&&(e+=`rotate(${i}deg) `),a&&(e+=`rotateX(${a}deg) `),m&&(e+=`rotateY(${m}deg) `),x&&(e+=`skewX(${x}deg) `),s&&(e+=`skewY(${s}deg) `)}let n=c.x.scale*l.x,G=c.y.scale*l.y;return(n!==1||G!==1)&&(e+=`scale(${n}, ${G})`),e||"none"}var MS=(c,l)=>c.depth-l.depth;var NH=class{constructor(){this.children=[],this.isDirty=!1}add(l){La(this.children,l),this.isDirty=!0}remove(l){ja(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(MS),this.isDirty=!1,this.children.forEach(l)}};function eu(c){let l=Zl(c)?c.get():c;return F3(l)?l.toValue():l}function PS(c,l){let t=Ot.now(),e=({timestamp:d})=>{let b=d-t;b>=l&&(Me(e),c(b-l))};return vc.read(e,!0),()=>Me(e)}function KS(c){return c instanceof SVGElement&&c.tagName!=="svg"}function _S(c,l,t){let e=Zl(c)?c:To(c);return e.start(Ua("",e,l,t)),e.animation}var kX={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},$x=typeof window<"u"&&window.MotionDebug!==void 0,pV=["","X","Y","Z"],poc={visibility:"hidden"},qS=1e3,Boc=0;function BV(c,l,t,e){let{latestValues:d}=l;d[c]&&(t[c]=d[c],l.setStaticValue(c,0),e&&(e[c]=0))}function ok(c){if(c.hasCheckedOptimisedAppear=!0,c.root===c)return;let{visualElement:l}=c.options;if(!l)return;let t=sH(l);if(window.MotionHasOptimisedAnimation(t,"transform")){let{layout:d,layoutId:b}=c.options;window.MotionCancelOptimisedAnimation(t,"transform",vc,!(d||b))}let{parent:e}=c;e&&!e.hasCheckedOptimisedAppear&&ok(e)}function fH({attachResizeListener:c,defaultParent:l,measureScroll:t,checkIsScrollRoot:e,resetTransform:d}){return class{constructor(o={},n=l?.()){this.id=Boc++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,$x&&(kX.totalNodes=kX.resolvedTargetDeltas=kX.recalculatedProjection=0),this.nodes.forEach(Coc),this.nodes.forEach(voc),this.nodes.forEach(Noc),this.nodes.forEach(Joc),$x&&window.MotionDebug.record(kX)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let G=0;G<this.path.length;G++)this.path[G].shouldResetTransform=!0;this.root===this&&(this.nodes=new NH)}addEventListener(o,n){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new qn),this.eventHandlers.get(o).add(n)}notifyListeners(o,...n){let G=this.eventHandlers.get(o);G&&G.notify(...n)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=KS(o),this.instance=o;let{layoutId:G,layout:X,visualElement:i}=this.options;if(i&&!i.current&&i.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(X||G)&&(this.isLayoutDirty=!0),c){let a,m=()=>this.root.updateBlockedByResize=!1;c(o,()=>{this.root.updateBlockedByResize=!0,a&&a(),a=PS(m,250),$a.hasAnimatedSinceResize&&($a.hasAnimatedSinceResize=!1,this.nodes.forEach(ck))})}G&&this.root.registerSharedNode(G,this),this.options.animate!==!1&&i&&(G||X)&&this.addEventListener("didUpdate",({delta:a,hasLayoutChanged:m,hasRelativeTargetChanged:x,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let g=this.options.transition||i.getDefaultTransition()||Aoc,{onLayoutAnimationStart:r,onLayoutAnimationComplete:H}=i.getProps(),Z=!this.targetLayout||!RV(this.targetLayout,s)||x,R=!m&&x;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||R||m&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(a,R);let W={...Fa(g,"layout"),onPlay:r,onComplete:H};(i.shouldReduceMotion||this.options.layoutRoot)&&(W.delay=0,W.type=!1),this.startAnimation(W)}else m||ck(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Me(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(foc),this.animationId++)}getTransformTemplate(){let{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ok(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i<this.path.length;i++){let a=this.path[i];a.shouldResetTransform=!0,a.updateScroll("snapshot"),a.options.layoutRoot&&a.willUpdate(!1)}let{layoutId:n,layout:G}=this.options;if(n===void 0&&!G)return;let X=this.getTransformTemplate();this.prevTransformTemplateValue=X?X(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($S);return}this.isUpdating||this.nodes.forEach(hoc),this.isUpdating=!1,this.nodes.forEach(Foc),this.nodes.forEach(yoc),this.nodes.forEach(Voc),this.clearAllSnapshots();let n=Ot.now();Ol.delta=Bt(0,1e3/60,n-Ol.timestamp),Ol.timestamp=n,Ol.isProcessing=!0,wZ.update.process(Ol),wZ.preRender.process(Ol),wZ.render.process(Ol),Ol.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Yoc),this.sharedNodes.forEach(Soc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vc.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vc.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let G=0;G<this.path.length;G++)this.path[G].updateScroll();let o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=pl(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:n}=this.options;n&&n.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let n=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(n=!1),n){let G=e(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:G,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:G}}}resetTransform(){if(!d)return;let o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,n=this.projectionDelta&&!HV(this.projectionDelta),G=this.getTransformTemplate(),X=G?G(this.latestValues,""):void 0,i=X!==this.prevTransformTemplateValue;o&&(n||jo(this.latestValues)||i)&&(d(this.instance,X),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){let n=this.measurePageBox(),G=this.removeElementScroll(n);return o&&(G=this.removeTransform(G)),Ooc(G),{animationId:this.root.animationId,measuredBox:n,layoutBox:G,latestValues:{},source:this.id}}measurePageBox(){var o;let{visualElement:n}=this.options;if(!n)return pl();let G=n.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(Qoc))){let{scroll:i}=this.root;i&&(cG(G.x,i.offset.x),cG(G.y,i.offset.y))}return G}removeElementScroll(o){var n;let G=pl();if(Ke(G,o),!((n=this.scroll)===null||n===void 0)&&n.wasRoot)return G;for(let X=0;X<this.path.length;X++){let i=this.path[X],{scroll:a,options:m}=i;i!==this.root&&a&&m.layoutScroll&&(a.wasRoot&&Ke(G,o),cG(G.x,a.offset.x),cG(G.y,a.offset.y))}return G}applyTransform(o,n=!1){let G=pl();Ke(G,o);for(let X=0;X<this.path.length;X++){let i=this.path[X];!n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&SX(G,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),jo(i.latestValues)&&SX(G,i.latestValues)}return jo(this.latestValues)&&SX(G,this.latestValues),G}removeTransform(o){let n=pl();Ke(n,o);for(let G=0;G<this.path.length;G++){let X=this.path[G];if(!X.instance||!jo(X.latestValues))continue;BH(X.latestValues)&&X.updateSnapshot();let i=pl(),a=X.measurePageBox();Ke(i,a),ZV(n,X.latestValues,X.snapshot?X.snapshot.layoutBox:void 0,i)}return jo(this.latestValues)&&ZV(n,this.latestValues),n}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ol.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var n;let G=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=G.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=G.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=G.isSharedProjectionDirty);let X=!!this.resumingFrom||this!==G;if(!(o||X&&this.isSharedProjectionDirty||this.isProjectionDirty||!((n=this.parent)===null||n===void 0)&&n.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:m}=this.options;if(!(!this.layout||!(a||m))){if(this.resolvedRelativeTargetAt=Ol.timestamp,!this.targetDelta&&!this.relativeTarget){let x=this.getClosestProjectingParent();x&&x.layout&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=pl(),this.relativeTargetOrigin=pl(),_a(this.relativeTargetOrigin,this.layout.layoutBox,x.layout.layoutBox),Ke(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=pl(),this.targetWithTransforms=pl()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),eS(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ke(this.target,this.layout.layoutBox),xV(this.target,this.targetDelta)):Ke(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let x=this.getClosestProjectingParent();x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=pl(),this.relativeTargetOrigin=pl(),_a(this.relativeTargetOrigin,this.target,x.target),Ke(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}$x&&kX.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||BH(this.parent.latestValues)||uV(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;let n=this.getLead(),G=!!this.resumingFrom||this!==n,X=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(X=!1),G&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(X=!1),this.resolvedRelativeTargetAt===Ol.timestamp&&(X=!1),X)return;let{layout:i,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||a))return;Ke(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,x=this.treeScale.y;pS(this.layoutCorrected,this.treeScale,this.path,G),n.layout&&!n.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(n.target=n.layout.layoutBox,n.targetWithTransforms=pl());let{target:s}=n;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(rV(this.prevProjectionDelta.x,this.projectionDelta.x),rV(this.prevProjectionDelta.y,this.projectionDelta.y)),Ka(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==x||!WV(this.projectionDelta.x,this.prevProjectionDelta.x)||!WV(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),$x&&kX.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var n;if((n=this.options.visualElement)===null||n===void 0||n.scheduleRender(),o){let G=this.getStack();G&&G.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fX(),this.projectionDelta=fX(),this.projectionDeltaWithTransform=fX()}setAnimationOrigin(o,n=!1){let G=this.snapshot,X=G?G.latestValues:{},i={...this.latestValues},a=fX();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let m=pl(),x=G?G.source:void 0,s=this.layout?this.layout.source:void 0,g=x!==s,r=this.getStack(),H=!r||r.members.length<=1,Z=!!(g&&!H&&this.options.crossfade===!0&&!this.path.some(zoc));this.animationProgress=0;let R;this.mixTargetDelta=W=>{let I=W/1e3;lk(a.x,o.x,I),lk(a.y,o.y,I),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(_a(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),koc(this.relativeTarget,this.relativeTargetOrigin,m,I),R&&jS(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=pl()),Ke(R,this.relativeTarget)),g&&(this.animationValues=i,AS(i,X,this.latestValues,I,Z,H)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Me(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vc.update(()=>{$a.hasAnimatedSinceResize=!0,this.currentAnimation=_S(0,qS,{...o,onUpdate:n=>{this.mixTargetDelta(n),o.onUpdate&&o.onUpdate(n)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let o=this.getLead(),{targetWithTransforms:n,target:G,layout:X,latestValues:i}=o;if(!(!n||!G||!X)){if(this!==o&&this.layout&&X&&nk(this.options.animationType,this.layout.layoutBox,X.layoutBox)){G=this.target||pl();let a=yt(this.layout.layoutBox.x);G.x.min=o.target.x.min,G.x.max=G.x.min+a;let m=yt(this.layout.layoutBox.y);G.y.min=o.target.y.min,G.y.max=G.y.min+m}Ke(n,G),SX(n,i),Ka(this.projectionDeltaWithTransform,this.layoutCorrected,n,i)}}registerSharedNode(o,n){this.sharedNodes.has(o)||this.sharedNodes.set(o,new vH),this.sharedNodes.get(o).add(n);let X=n.options.initialPromotionConfig;n.promote({transition:X?X.transition:void 0,preserveFollowOpacity:X&&X.shouldPreserveFollowOpacity?X.shouldPreserveFollowOpacity(n):void 0})}isLead(){let o=this.getStack();return o?o.lead===this:!0}getLead(){var o;let{layoutId:n}=this.options;return n?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;let{layoutId:n}=this.options;return n?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){let{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:n,preserveFollowOpacity:G}={}){let X=this.getStack();X&&X.promote(this,G),o&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}relegate(){let o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){let{visualElement:o}=this.options;if(!o)return;let n=!1,{latestValues:G}=o;if((G.z||G.rotate||G.rotateX||G.rotateY||G.rotateZ||G.skewX||G.skewY)&&(n=!0),!n)return;let X={};G.z&&BV("z",o,X,this.animationValues);for(let i=0;i<pV.length;i++)BV(`rotate${pV[i]}`,o,X,this.animationValues),BV(`skew${pV[i]}`,o,X,this.animationValues);o.render();for(let i in X)o.setStaticValue(i,X[i]),this.animationValues&&(this.animationValues[i]=X[i]);o.scheduleRender()}getProjectionStyles(o){var n,G;if(!this.instance||this.isSVG)return;if(!this.isVisible)return poc;let X={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,X.opacity="",X.pointerEvents=eu(o?.pointerEvents)||"",X.transform=i?i(this.latestValues,""):"none",X;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=eu(o?.pointerEvents)||""),this.hasProjected&&!jo(this.latestValues)&&(g.transform=i?i({},""):"none",this.hasProjected=!1),g}let m=a.animationValues||a.latestValues;this.applyTransformsToTarget(),X.transform=ES(this.projectionDeltaWithTransform,this.treeScale,m),i&&(X.transform=i(m,X.transform));let{x,y:s}=this.projectionDelta;X.transformOrigin=`${x.origin*100}% ${s.origin*100}% 0`,a.animationValues?X.opacity=a===this?(G=(n=m.opacity)!==null&&n!==void 0?n:this.latestValues.opacity)!==null&&G!==void 0?G:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:X.opacity=a===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let g in lu){if(m[g]===void 0)continue;let{correct:r,applyTo:H}=lu[g],Z=X.transform==="none"?m[g]:r(m[g],a);if(H){let R=H.length;for(let W=0;W<R;W++)X[H[W]]=Z}else X[g]=Z}return this.options.layoutId&&(X.pointerEvents=a===this?eu(o?.pointerEvents)||"":"none"),X}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var n;return(n=o.currentAnimation)===null||n===void 0?void 0:n.stop()}),this.root.nodes.forEach($S),this.root.sharedNodes.clear()}}}function yoc(c){c.updateLayout()}function Voc(c){var l;let t=((l=c.resumeFrom)===null||l===void 0?void 0:l.snapshot)||c.snapshot;if(c.isLead()&&c.layout&&t&&c.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:d}=c.layout,{animationType:b}=c.options,o=t.source!==c.layout.source;b==="size"?Ce(a=>{let m=o?t.measuredBox[a]:t.layoutBox[a],x=yt(m);m.min=e[a].min,m.max=m.min+x}):nk(b,t.layoutBox,e)&&Ce(a=>{let m=o?t.measuredBox[a]:t.layoutBox[a],x=yt(e[a]);m.max=m.min+x,c.relativeTarget&&!c.currentAnimation&&(c.isProjectionDirty=!0,c.relativeTarget[a].max=c.relativeTarget[a].min+x)});let n=fX();Ka(n,e,t.layoutBox);let G=fX();o?Ka(G,c.applyTransform(d,!0),t.measuredBox):Ka(G,e,t.layoutBox);let X=!HV(n),i=!1;if(!c.resumeFrom){let a=c.getClosestProjectingParent();if(a&&!a.resumeFrom){let{snapshot:m,layout:x}=a;if(m&&x){let s=pl();_a(s,t.layoutBox,m.layoutBox);let g=pl();_a(g,e,x.layoutBox),RV(s,g)||(i=!0),a.options.layoutRoot&&(c.relativeTarget=g,c.relativeTargetOrigin=s,c.relativeParent=a)}}}c.notifyListeners("didUpdate",{layout:e,snapshot:t,delta:G,layoutDelta:n,hasLayoutChanged:X,hasRelativeTargetChanged:i})}else if(c.isLead()){let{onExitComplete:e}=c.options;e&&e()}c.options.transition=void 0}function Coc(c){$x&&kX.totalNodes++,c.parent&&(c.isProjecting()||(c.isProjectionDirty=c.parent.isProjectionDirty),c.isSharedProjectionDirty||(c.isSharedProjectionDirty=!!(c.isProjectionDirty||c.parent.isProjectionDirty||c.parent.isSharedProjectionDirty)),c.isTransformDirty||(c.isTransformDirty=c.parent.isTransformDirty))}function Joc(c){c.isProjectionDirty=c.isSharedProjectionDirty=c.isTransformDirty=!1}function Yoc(c){c.clearSnapshot()}function $S(c){c.clearMeasurements()}function hoc(c){c.isLayoutDirty=!1}function Foc(c){let{visualElement:l}=c.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),c.resetTransform()}function ck(c){c.finishAnimation(),c.targetDelta=c.relativeTarget=c.target=void 0,c.isProjectionDirty=!0}function voc(c){c.resolveTargetDelta()}function Noc(c){c.calcProjection()}function foc(c){c.resetSkewAndRotation()}function Soc(c){c.removeLeadSnapshot()}function lk(c,l,t){c.translate=Oc(l.translate,0,t),c.scale=Oc(l.scale,1,t),c.origin=l.origin,c.originPoint=l.originPoint}function tk(c,l,t,e){c.min=Oc(l.min,t.min,e),c.max=Oc(l.max,t.max,e)}function koc(c,l,t,e){tk(c.x,l.x,t.x,e),tk(c.y,l.y,t.y,e)}function zoc(c){return c.animationValues&&c.animationValues.opacityExit!==void 0}var Aoc={duration:.45,ease:[.4,0,.1,1]},ek=c=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(c),dk=ek("applewebkit/")&&!ek("chrome/")?Math.round:rl;function bk(c){c.min=dk(c.min),c.max=dk(c.max)}function Ooc(c){bk(c.x),bk(c.y)}function nk(c,l,t){return c==="position"||c==="preserve-aspect"&&!tS(IV(l),IV(t),.2)}function Qoc(c){var l;return c!==c.root&&((l=c.scroll)===null||l===void 0?void 0:l.wasRoot)}var Gk=fH({attachResizeListener:(c,l)=>Uo(c,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var yV={current:void 0},SH=fH({measureScroll:c=>({x:c.scrollLeft,y:c.scrollTop}),defaultParent:()=>{if(!yV.current){let c=new Gk({});c.mount(window),c.setOptions({layoutScroll:!0}),yV.current=c}return yV.current},resetTransform:(c,l)=>{c.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:c=>window.getComputedStyle(c).position==="fixed"});var Xk={pan:{Feature:YH},drag:{Feature:JH,ProjectionNode:SH,MeasureLayout:FH}};function ik(c,l,t){let{props:e}=c;c.animationState&&e.whileHover&&c.animationState.setActive("whileHover",t==="Start");let d="onHover"+t,b=e[d];b&&vc.postRender(()=>b(l,Do(l)))}var kH=class extends at{mount(){let{current:l}=this.node;l&&(this.unmount=bV(l,t=>(ik(this.node,t,"Start"),e=>ik(this.node,e,"End"))))}unmount(){}};var zH=class extends at{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Db(Uo(this.node.current,"focus",()=>this.onFocus()),Uo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function ak(c,l,t){let{props:e}=c;c.animationState&&e.whileTap&&c.animationState.setActive("whileTap",t==="Start");let d="onTap"+(t==="End"?"":t),b=e[d];b&&vc.postRender(()=>b(l,Do(l)))}var AH=class extends at{mount(){let{current:l}=this.node;l&&(this.unmount=nV(l,t=>(ak(this.node,t,"Start"),(e,{success:d})=>ak(this.node,e,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var CV=new WeakMap,VV=new WeakMap,woc=c=>{let l=CV.get(c.target);l&&l(c)},Toc=c=>{c.forEach(woc)};function Doc({root:c,...l}){let t=c||document;VV.has(t)||VV.set(t,{});let e=VV.get(t),d=JSON.stringify(l);return e[d]||(e[d]=new IntersectionObserver(Toc,{root:c,...l})),e[d]}function uk(c,l,t){let e=Doc(l);return CV.set(c,t),e.observe(c),()=>{CV.delete(c),e.unobserve(c)}}var Uoc={some:0,all:1},OH=class extends at{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:l={}}=this.node.getProps(),{root:t,margin:e,amount:d="some",once:b}=l,o={root:t?t.current:void 0,rootMargin:e,threshold:typeof d=="number"?d:Uoc[d]},n=G=>{let{isIntersecting:X}=G;if(this.isInView===X||(this.isInView=X,b&&!X&&this.hasEnteredView))return;X&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",X);let{onViewportEnter:i,onViewportLeave:a}=this.node.getProps(),m=X?i:a;m&&m(G)};return uk(this.node.current,o,n)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:l,prevProps:t}=this.node;["amount","margin","root"].some(Loc(l,t))&&this.startObserver()}unmount(){}};function Loc({viewport:c={}},{viewport:l={}}={}){return t=>c[t]!==l[t]}var mk={inView:{Feature:OH},tap:{Feature:AH},focus:{Feature:zH},hover:{Feature:kH}};var xk={layout:{ProjectionNode:SH,MeasureLayout:FH}};var LH=u(V(),1),ou=u(E(),1);var sk=u(E(),1),du=(0,sk.createContext)({transformPagePoint:c=>c,isStatic:!1,reducedMotion:"never"});var gk=u(E(),1),eG=(0,gk.createContext)({});var Je=u(E(),1);var QH=u(E(),1);var bu=typeof window<"u";var wH=bu?QH.useLayoutEffect:QH.useEffect;var rk=u(E(),1),TH=(0,rk.createContext)({strict:!1});function Zk(c,l,t,e,d){var b,o;let{visualElement:n}=(0,Je.useContext)(eG),G=(0,Je.useContext)(TH),X=(0,Je.useContext)(lG),i=(0,Je.useContext)(du).reducedMotion,a=(0,Je.useRef)(null);e=e||G.renderer,!a.current&&e&&(a.current=e(c,{visualState:l,parent:n,props:t,presenceContext:X,blockInitialAnimation:X?X.initial===!1:!1,reducedMotionConfig:i}));let m=a.current,x=(0,Je.useContext)(hH);m&&!m.projection&&d&&(m.type==="html"||m.type==="svg")&&joc(a.current,t,d,x);let s=(0,Je.useRef)(!1);(0,Je.useInsertionEffect)(()=>{m&&s.current&&m.update(t,X)});let g=t[xH],r=(0,Je.useRef)(!!g&&!(!((b=window.MotionHandoffIsComplete)===null||b===void 0)&&b.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return wH(()=>{m&&(s.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),tu.render(m.render),r.current&&m.animationState&&m.animationState.animateChanges())}),(0,Je.useEffect)(()=>{m&&(!r.current&&m.animationState&&m.animationState.animateChanges(),r.current&&(queueMicrotask(()=>{var H;(H=window.MotionHandoffMarkAsComplete)===null||H===void 0||H.call(window,g)}),r.current=!1))}),m}function joc(c,l,t,e){let{layoutId:d,layout:b,drag:o,dragConstraints:n,layoutScroll:G,layoutRoot:X}=l;c.projection=new t(c.latestValues,l["data-framer-portal-id"]?void 0:Hk(c.parent)),c.projection.setOptions({layoutId:d,layout:b,alwaysMeasureLayout:!!o||n&&Lo(n),visualElement:c,animationType:typeof b=="string"?b:"both",initialPromotionConfig:e,layoutScroll:G,layoutRoot:X})}function Hk(c){if(c)return c.options.allowProjection!==!1?c.projection:Hk(c.parent)}var Rk=u(E(),1);function Ik(c,l,t){return(0,Rk.useCallback)(e=>{e&&c.mount&&c.mount(e),l&&(e?l.mount(e):l.unmount()),t&&(typeof t=="function"?t(e):Lo(t)&&(t.current=e))},[l])}var UH=u(E(),1);function zX(c){return Ln(c.animate)||Qx.some(l=>Oo(c[l]))}function DH(c){return!!(zX(c)||c.variants)}function Wk(c,l){if(zX(c)){let{initial:t,animate:e}=c;return{initial:t===!1||Oo(t)?t:void 0,animate:Oo(e)?e:void 0}}return c.inherit!==!1?l:{}}function Bk(c){let{initial:l,animate:t}=Wk(c,(0,UH.useContext)(eG));return(0,UH.useMemo)(()=>({initial:l,animate:t}),[pk(l),pk(t)])}function pk(c){return Array.isArray(c)?c.join(" "):c}var yk={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Eo={};for(let c in yk)Eo[c]={isEnabled:l=>yk[c].some(t=>!!l[t])};function Vk(c){for(let l in c)Eo[l]={...Eo[l],...c[l]}}var Ck=Symbol.for("motionComponentSymbol");function Jk({preloadedFeatures:c,createVisualElement:l,useRender:t,useVisualState:e,Component:d}){c&&Vk(c);function b(n,G){let X,i={...(0,ou.useContext)(du),...n,layoutId:Eoc(n)},{isStatic:a}=i,m=Bk(n),x=e(n,a);if(!a&&bu){Moc(i,c);let s=Poc(i);X=s.MeasureLayout,m.visualElement=Zk(d,x,i,l,s.ProjectionNode)}return(0,LH.jsxs)(eG.Provider,{value:m,children:[X&&m.visualElement?(0,LH.jsx)(X,{visualElement:m.visualElement,...i}):null,t(d,n,Ik(x,m.visualElement,G),x,a,m.visualElement)]})}let o=(0,ou.forwardRef)(b);return o[Ck]=d,o}function Eoc({layoutId:c}){let l=(0,ou.useContext)(qa).id;return l&&c!==void 0?l+"-"+c:c}function Moc(c,l){let t=(0,ou.useContext)(TH).strict}function Poc(c){let{drag:l,layout:t}=Eo;if(!l&&!t)return{};let e={...l,...t};return{MeasureLayout:l?.isEnabled(c)||t?.isEnabled(c)?e.MeasureLayout:void 0,ProjectionNode:e.ProjectionNode}}var Yk=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nu(c){return typeof c!="string"||c.includes("-")?!1:!!(Yk.indexOf(c)>-1||/[A-Z]/u.test(c))}function jH(c,{style:l,vars:t},e,d){Object.assign(c.style,l,d&&d.getProjectionStyles(e));for(let b in t)c.style.setProperty(b,t[b])}var EH=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function MH(c,l,t,e){jH(c,l,void 0,e);for(let d in l.attrs)c.setAttribute(EH.has(d)?d:Ea(d),l.attrs[d])}function PH(c,{layout:l,layoutId:t}){return ye.has(c)||c.startsWith("origin")||(l||t!==void 0)&&(!!lu[c]||c==="opacity")}function Gu(c,l,t){var e;let{style:d}=c,b={};for(let o in d)(Zl(d[o])||l.style&&Zl(l.style[o])||PH(o,c)||((e=t?.getValue(o))===null||e===void 0?void 0:e.liveStyle)!==void 0)&&(b[o]=d[o]);return b}function KH(c,l,t){let e=Gu(c,l,t);for(let d in c)if(Zl(c[d])||Zl(l[d])){let b=En.indexOf(d)!==-1?"attr"+d.charAt(0).toUpperCase()+d.substring(1):d;e[b]=c[d]}return e}var JV=u(E(),1);var hk=u(E(),1);function Xu(c){let l=(0,hk.useRef)(null);return l.current===null&&(l.current=c()),l.current}function Koc({scrapeMotionValuesFromProps:c,createRenderState:l,onMount:t},e,d,b){let o={latestValues:_oc(e,d,b,c),renderState:l()};return t&&(o.mount=n=>t(e,n,o)),o}var _H=c=>(l,t)=>{let e=(0,JV.useContext)(eG),d=(0,JV.useContext)(lG),b=()=>Koc(c,l,e,d);return t?b():Xu(b)};function _oc(c,l,t,e){let d={},b=e(c,{});for(let m in b)d[m]=eu(b[m]);let{initial:o,animate:n}=c,G=zX(c),X=DH(c);l&&X&&!G&&c.inherit!==!1&&(o===void 0&&(o=l.initial),n===void 0&&(n=l.animate));let i=t?t.initial===!1:!1;i=i||o===!1;let a=i?n:o;if(a&&typeof a!="boolean"&&!Ln(a)){let m=Array.isArray(a)?a:[a];for(let x=0;x<m.length;x++){let s=ha(c,m[x]);if(s){let{transitionEnd:g,transition:r,...H}=s;for(let Z in H){let R=H[Z];if(Array.isArray(R)){let W=i?R.length-1:0;R=R[W]}R!==null&&(d[Z]=R)}for(let Z in g)d[Z]=g[Z]}}}return d}var iu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});var qH=()=>({...iu(),attrs:{}});var $H=(c,l)=>l&&typeof c=="number"?l.transform(c):c;var qoc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},$oc=En.length;function Fk(c,l,t){let e="",d=!0;for(let b=0;b<$oc;b++){let o=En[b],n=c[o];if(n===void 0)continue;let G=!0;if(typeof n=="number"?G=n===(o.startsWith("scale")?1:0):G=parseFloat(n)===0,!G||t){let X=$H(n,ka[o]);if(!G){d=!1;let i=qoc[o]||o;e+=`${i}(${X}) `}t&&(l[o]=X)}}return e=e.trim(),t?e=t(l,d?"":e):d&&(e="none"),e}function au(c,l,t){let{style:e,vars:d,transformOrigin:b}=c,o=!1,n=!1;for(let G in l){let X=l[G];if(ye.has(G)){o=!0;continue}else if(_Z(G)){d[G]=X;continue}else{let i=$H(X,ka[G]);G.startsWith("origin")?(n=!0,b[G]=i):e[G]=i}}if(l.transform||(o||t?e.transform=Fk(l,c.transform,t):e.transform&&(e.transform="none")),n){let{originX:G="50%",originY:X="50%",originZ:i=0}=b;e.transformOrigin=`${G} ${X} ${i}`}}function vk(c,l,t){return typeof c=="string"?c:Hc.transform(l+t*c)}function Nk(c,l,t){let e=vk(l,c.x,c.width),d=vk(t,c.y,c.height);return`${e} ${d}`}var cnc={offset:"stroke-dashoffset",array:"stroke-dasharray"},lnc={offset:"strokeDashoffset",array:"strokeDasharray"};function fk(c,l,t=1,e=0,d=!0){c.pathLength=1;let b=d?cnc:lnc;c[b.offset]=Hc.transform(-e);let o=Hc.transform(l),n=Hc.transform(t);c[b.array]=`${o} ${n}`}function uu(c,{attrX:l,attrY:t,attrScale:e,originX:d,originY:b,pathLength:o,pathSpacing:n=1,pathOffset:G=0,...X},i,a){if(au(c,X,a),i){c.style.viewBox&&(c.attrs.viewBox=c.style.viewBox);return}c.attrs=c.style,c.style={};let{attrs:m,style:x,dimensions:s}=c;m.transform&&(s&&(x.transform=m.transform),delete m.transform),s&&(d!==void 0||b!==void 0||x.transform)&&(x.transformOrigin=Nk(s,d!==void 0?d:.5,b!==void 0?b:.5)),l!==void 0&&(m.x=l),t!==void 0&&(m.y=t),e!==void 0&&(m.scale=e),o!==void 0&&fk(m,o,n,G,!1)}var mu=c=>typeof c=="string"&&c.toLowerCase()==="svg";var Sk={useVisualState:_H({scrapeMotionValuesFromProps:KH,createRenderState:qH,onMount:(c,l,{renderState:t,latestValues:e})=>{vc.read(()=>{try{t.dimensions=typeof l.getBBox=="function"?l.getBBox():l.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}),vc.render(()=>{uu(t,e,mu(l.tagName),c.transformTemplate),MH(l,t)})}})};var kk={useVisualState:_H({scrapeMotionValuesFromProps:Gu,createRenderState:iu})};var xu=u(E(),1);var zk=u(E(),1);function YV(c,l,t){for(let e in l)!Zl(l[e])&&!PH(e,t)&&(c[e]=l[e])}function tnc({transformTemplate:c},l){return(0,zk.useMemo)(()=>{let t=iu();return au(t,l,c),Object.assign({},t.vars,t.style)},[l])}function enc(c,l){let t=c.style||{},e={};return YV(e,t,c),Object.assign(e,tnc(c,l)),e}function Ak(c,l){let t={},e=enc(c,l);return c.drag&&c.dragListener!==!1&&(t.draggable=!1,e.userSelect=e.WebkitUserSelect=e.WebkitTouchCallout="none",e.touchAction=c.drag===!0?"none":`pan-${c.drag==="x"?"y":"x"}`),c.tabIndex===void 0&&(c.onTap||c.onTapStart||c.whileTap)&&(t.tabIndex=0),t.style=e,t}var dnc=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function cs(c){return c.startsWith("while")||c.startsWith("drag")&&c!=="draggable"||c.startsWith("layout")||c.startsWith("onTap")||c.startsWith("onPan")||c.startsWith("onLayout")||dnc.has(c)}var Qk=c=>!cs(c);function onc(c){c&&(Qk=l=>l.startsWith("on")?!cs(l):c(l))}try{onc((FV(),h9(Ok)).default)}catch{}function wk(c,l,t){let e={};for(let d in c)d==="values"&&typeof c.values=="object"||(Qk(d)||t===!0&&cs(d)||!l&&!cs(d)||c.draggable&&d.startsWith("onDrag"))&&(e[d]=c[d]);return e}var Tk=u(E(),1);function Dk(c,l,t,e){let d=(0,Tk.useMemo)(()=>{let b=qH();return uu(b,l,mu(e),c.transformTemplate),{...b.attrs,style:{...b.style}}},[l]);if(c.style){let b={};YV(b,c.style,c),d.style={...b,...d.style}}return d}function Uk(c=!1){return(t,e,d,{latestValues:b},o)=>{let G=(nu(t)?Dk:Ak)(e,b,o,t),X=wk(e,typeof t=="string",c),i=t!==xu.Fragment?{...X,...G,ref:d}:{},{children:a}=e,m=(0,xu.useMemo)(()=>Zl(a)?a.get():a,[a]);return(0,xu.createElement)(t,{...i,children:m})}}function Lk(c,l){return function(e,{forwardMotionProps:d}={forwardMotionProps:!1}){let o={...nu(e)?Sk:kk,preloadedFeatures:c,useRender:Uk(d),createVisualElement:l,Component:e};return Jk(o)}}var Kk=u(E(),1);var ls={current:null},tR={current:!1};function jk(){if(tR.current=!0,!!bu)if(window.matchMedia){let c=window.matchMedia("(prefers-reduced-motion)"),l=()=>ls.current=c.matches;c.addListener(l),l()}else ls.current=!1}function Ek(c,l,t){for(let e in l){let d=l[e],b=t[e];if(Zl(d))c.addValue(e,d);else if(Zl(b))c.addValue(e,To(d,{owner:c}));else if(b!==d)if(c.hasValue(e)){let o=c.getValue(e);o.liveStyle===!0?o.jump(d):o.hasAnimated||o.set(d)}else{let o=c.getStaticValue(e);c.addValue(e,To(o!==void 0?o:d,{owner:c}))}}for(let e in t)l[e]===void 0&&c.removeValue(e);return l}var vV=new WeakMap;var nnc=[...O1,jl,te],Mk=c=>nnc.find(qZ(c));var Pk=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eR=class{scrapeMotionValuesFromProps(l,t,e){return{}}constructor({parent:l,props:t,presenceContext:e,reducedMotionConfig:d,blockInitialAnimation:b,visualState:o},n={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Pn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let m=Ot.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,vc.render(this.render,!1,!0))};let{latestValues:G,renderState:X}=o;this.latestValues=G,this.baseTarget={...G},this.initialValues=t.initial?{...G}:{},this.renderState=X,this.parent=l,this.props=t,this.presenceContext=e,this.depth=l?l.depth+1:0,this.reducedMotionConfig=d,this.options=n,this.blockInitialAnimation=!!b,this.isControllingVariants=zX(t),this.isVariantNode=DH(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);let{willChange:i,...a}=this.scrapeMotionValuesFromProps(t,{},this);for(let m in a){let x=a[m];G[m]!==void 0&&Zl(x)&&x.set(G[m],!1)}}mount(l){this.current=l,vV.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),tR.current||jk(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ls.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){vV.delete(this.current),this.projection&&this.projection.unmount(),Me(this.notifyUpdate),Me(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let l in this.events)this.events[l].clear();for(let l in this.features){let t=this.features[l];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(l,t){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();let e=ye.has(l),d=t.on("change",n=>{this.latestValues[l]=n,this.props.onUpdate&&vc.preRender(this.notifyUpdate),e&&this.projection&&(this.projection.isTransformDirty=!0)}),b=t.on("renderRequest",this.scheduleRender),o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,l,t)),this.valueSubscriptions.set(l,()=>{d(),b(),o&&o(),t.owner&&t.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in Eo){let t=Eo[l];if(!t)continue;let{isEnabled:e,Feature:d}=t;if(!this.features[l]&&d&&e(this.props)&&(this.features[l]=new d(this)),this.features[l]){let b=this.features[l];b.isMounted?b.update():(b.mount(),b.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pl()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,t){this.latestValues[l]=t}update(l,t){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let e=0;e<Pk.length;e++){let d=Pk[e];this.propEventSubscriptions[d]&&(this.propEventSubscriptions[d](),delete this.propEventSubscriptions[d]);let b="on"+d,o=l[b];o&&(this.propEventSubscriptions[d]=this.on(d,o))}this.prevMotionValues=Ek(this,this.scrapeMotionValuesFromProps(l,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(l){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(l),()=>t.variantChildren.delete(l)}addValue(l,t){let e=this.values.get(l);t!==e&&(e&&this.removeValue(l),this.bindToMotionValue(l,t),this.values.set(l,t),this.latestValues[l]=t.get())}removeValue(l){this.values.delete(l);let t=this.valueSubscriptions.get(l);t&&(t(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,t){if(this.props.values&&this.props.values[l])return this.props.values[l];let e=this.values.get(l);return e===void 0&&t!==void 0&&(e=To(t===null?void 0:t,{owner:this}),this.addValue(l,e)),e}readValue(l,t){var e;let d=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:(e=this.getBaseTargetFromProps(this.props,l))!==null&&e!==void 0?e:this.readValueFromInstance(this.current,l,this.options);return d!=null&&(typeof d=="string"&&(KZ(d)||PZ(d))?d=parseFloat(d):!Mk(d)&&te.test(t)&&(d=cH(l,t)),this.setBaseTarget(l,Zl(d)?d.get():d)),Zl(d)?d.get():d}setBaseTarget(l,t){this.baseTarget[l]=t}getBaseTarget(l){var t;let{initial:e}=this.props,d;if(typeof e=="string"||typeof e=="object"){let o=ha(this.props,e,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);o&&(d=o[l])}if(e&&d!==void 0)return d;let b=this.getBaseTargetFromProps(this.props,l);return b!==void 0&&!Zl(b)?b:this.initialValues[l]!==void 0&&d===void 0?void 0:this.baseTarget[l]}on(l,t){return this.events[l]||(this.events[l]=new qn),this.events[l].add(t)}notify(l,...t){this.events[l]&&this.events[l].notify(...t)}};var su=class extends eR{constructor(){super(...arguments),this.KeyframeResolver=Aa}sortInstanceNodePosition(l,t){return l.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(l,t){return l.style?l.style[t]:void 0}removeValueFromRenderState(l,{vars:t,style:e}){delete t[l],delete e[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:l}=this.props;Zl(l)&&(this.childSubscription=l.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}};function Gnc(c){return window.getComputedStyle(c)}var dR=class extends su{constructor(){super(...arguments),this.type="html",this.renderInstance=jH}readValueFromInstance(l,t){if(ye.has(t)){let e=za(t);return e&&e.default||0}else{let e=Gnc(l),d=(_Z(t)?e.getPropertyValue(t):e[t])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(l,{transformPagePoint:t}){return sV(l,t)}build(l,t,e){au(l,t,e.transformTemplate)}scrapeMotionValuesFromProps(l,t,e){return Gu(l,t,e)}};var bR=class extends su{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=pl}getBaseTargetFromProps(l,t){return l[t]}readValueFromInstance(l,t){if(ye.has(t)){let e=za(t);return e&&e.default||0}return t=EH.has(t)?t:Ea(t),l.getAttribute(t)}scrapeMotionValuesFromProps(l,t,e){return KH(l,t,e)}build(l,t,e){uu(l,t,this.isSVGTag,e.transformTemplate)}renderInstance(l,t,e,d){MH(l,t,e,d)}mount(l){this.isSVGTag=mu(l.tagName),super.mount(l)}};var _k=(c,l)=>nu(c)?new bR(l):new dR(l,{allowProjection:c!==Kk.Fragment});var qk=Lk({...Q3,...mk,...Xk,...xk},_k);var dG=Nf(qk);var es=u(V(),1),Ub=u(E(),1);var fV=u(V(),1),lz=u(E(),1),AX=u(E(),1);var $k=u(V(),1),oR=u(E(),1),Mo=u(E(),1);var NV=class extends oR.Component{getSnapshotBeforeUpdate(l){let t=this.props.childRef.current;if(t&&l.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function cz({children:c,isPresent:l}){let t=(0,Mo.useId)(),e=(0,Mo.useRef)(null),d=(0,Mo.useRef)({width:0,height:0,top:0,left:0}),{nonce:b}=(0,Mo.useContext)(du);return(0,Mo.useInsertionEffect)(()=>{let{width:o,height:n,top:G,left:X}=d.current;if(l||!e.current||!o||!n)return;e.current.dataset.motionPopId=t;let i=document.createElement("style");return b&&(i.nonce=b),document.head.appendChild(i),i.sheet&&i.sheet.insertRule(` | |
| 2 | - [data-motion-pop-id="${t}"] { | |
| 1 | +(function() { | |
| 2 | +"use strict";var wp;(wp||={}).components=(()=>{var hse=Object.create;var gR=Object.defineProperty;var Bse=Object.getOwnPropertyDescriptor;var vse=Object.getOwnPropertyNames;var Vse=Object.getPrototypeOf,Cse=Object.prototype.hasOwnProperty;var zw=(e,t)=>()=>(e&&(t=e(e=0)),t);var yt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Fl=(e,t)=>{for(var c in t)gR(e,c,{get:t[c],enumerable:!0})},Tw=(e,t,c,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of vse(t))!Cse.call(e,l)&&l!==c&&gR(e,l,{get:()=>t[l],enumerable:!(n=Bse(t,l))||n.enumerable});return e};var u=(e,t,c)=>(c=e!=null?hse(Vse(e)):{},Tw(t||!e||!e.__esModule?gR(c,"default",{value:e,enumerable:!0}):c,e)),Aw=e=>Tw(gR({},"__esModule",{value:!0}),e);var rt=yt((pJe,Ow)=>{Ow.exports=window.wp.primitives});var Ze=yt((HJe,Uw)=>{Uw.exports=window.wp.i18n});var me=yt((IJe,Ew)=>{Ew.exports=window.wp.compose});var T=yt((ZJe,Lw)=>{Lw.exports=window.wp.element});var E=yt((yJe,Dw)=>{Dw.exports=window.React});var F=yt((vJe,xk)=>{xk.exports=window.ReactJSXRuntime});var dz=yt(oz=>{"use strict";var Yu=E();function Abe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Obe=typeof Object.is=="function"?Object.is:Abe,Qbe=Yu.useState,Ube=Yu.useEffect,Ebe=Yu.useLayoutEffect,Lbe=Yu.useDebugValue;function Dbe(e,t){var c=t(),n=Qbe({inst:{value:c,getSnapshot:t}}),l=n[0].inst,o=n[1];return Ebe(function(){l.value=c,l.getSnapshot=t,ev(l)&&o({inst:l})},[e,c,t]),Ube(function(){return ev(l)&&o({inst:l}),e(function(){ev(l)&&o({inst:l})})},[e]),Lbe(c),c}function ev(e){var t=e.getSnapshot;e=e.value;try{var c=t();return!Obe(e,c)}catch{return!0}}function _be(e,t){return t()}var jbe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_be:Dbe;oz.useSyncExternalStore=Yu.useSyncExternalStore!==void 0?Yu.useSyncExternalStore:jbe});var iG=yt((XYe,iz)=>{"use strict";iz.exports=dz()});var io=yt((uNe,fz)=>{fz.exports=window.ReactDOM});var En=yt((nLe,KA)=>{KA.exports=window.wp.warning});var Xt=yt((HLe,rO)=>{rO.exports=window.wp.deprecated});function hI(e){var t=Object.create(null);return function(c){return t[c]===void 0&&(t[c]=e(c)),t[c]}}var BI=zw(()=>{});var ZO={};Fl(ZO,{default:()=>g2});var NXe,g2,x2=zw(()=>{BI();NXe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,g2=hI(function(e){return NXe.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var nL=yt(At=>{"use strict";var Mc=typeof Symbol=="function"&&Symbol.for,x9=Mc?Symbol.for("react.element"):60103,p9=Mc?Symbol.for("react.portal"):60106,KZ=Mc?Symbol.for("react.fragment"):60107,qZ=Mc?Symbol.for("react.strict_mode"):60108,$Z=Mc?Symbol.for("react.profiler"):60114,ef=Mc?Symbol.for("react.provider"):60109,tf=Mc?Symbol.for("react.context"):60110,R9=Mc?Symbol.for("react.async_mode"):60111,cf=Mc?Symbol.for("react.concurrent_mode"):60111,nf=Mc?Symbol.for("react.forward_ref"):60112,lf=Mc?Symbol.for("react.suspense"):60113,ixe=Mc?Symbol.for("react.suspense_list"):60120,of=Mc?Symbol.for("react.memo"):60115,df=Mc?Symbol.for("react.lazy"):60116,rxe=Mc?Symbol.for("react.block"):60121,axe=Mc?Symbol.for("react.fundamental"):60117,sxe=Mc?Symbol.for("react.responder"):60118,bxe=Mc?Symbol.for("react.scope"):60119;function zl(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case x9:switch(e=e.type,e){case R9:case cf:case KZ:case $Z:case qZ:case lf:return e;default:switch(e=e&&e.$$typeof,e){case tf:case nf:case df:case of:case ef:return e;default:return t}}case p9:return t}}}function cL(e){return zl(e)===cf}At.AsyncMode=R9;At.ConcurrentMode=cf;At.ContextConsumer=tf;At.ContextProvider=ef;At.Element=x9;At.ForwardRef=nf;At.Fragment=KZ;At.Lazy=df;At.Memo=of;At.Portal=p9;At.Profiler=$Z;At.StrictMode=qZ;At.Suspense=lf;At.isAsyncMode=function(e){return cL(e)||zl(e)===R9};At.isConcurrentMode=cL;At.isContextConsumer=function(e){return zl(e)===tf};At.isContextProvider=function(e){return zl(e)===ef};At.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===x9};At.isForwardRef=function(e){return zl(e)===nf};At.isFragment=function(e){return zl(e)===KZ};At.isLazy=function(e){return zl(e)===df};At.isMemo=function(e){return zl(e)===of};At.isPortal=function(e){return zl(e)===p9};At.isProfiler=function(e){return zl(e)===$Z};At.isStrictMode=function(e){return zl(e)===qZ};At.isSuspense=function(e){return zl(e)===lf};At.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===KZ||e===cf||e===$Z||e===qZ||e===lf||e===ixe||typeof e=="object"&&e!==null&&(e.$$typeof===df||e.$$typeof===of||e.$$typeof===ef||e.$$typeof===tf||e.$$typeof===nf||e.$$typeof===axe||e.$$typeof===sxe||e.$$typeof===bxe||e.$$typeof===rxe)};At.typeOf=zl});var oL=yt((olt,lL)=>{"use strict";lL.exports=nL()});var uL=yt((dlt,bL)=>{"use strict";var H9=oL(),uxe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mxe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xxe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},aL={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I9={};I9[H9.ForwardRef]=Xxe;I9[H9.Memo]=aL;function dL(e){return H9.isMemo(e)?aL:I9[e.$$typeof]||uxe}var Gxe=Object.defineProperty,gxe=Object.getOwnPropertyNames,iL=Object.getOwnPropertySymbols,xxe=Object.getOwnPropertyDescriptor,pxe=Object.getPrototypeOf,rL=Object.prototype;function sL(e,t,c){if(typeof t!="string"){if(rL){var n=pxe(t);n&&n!==rL&&sL(e,n,c)}var l=gxe(t);iL&&(l=l.concat(iL(t)));for(var o=dL(e),d=dL(t),i=0;i<l.length;++i){var r=l[i];if(!mxe[r]&&!(c&&c[r])&&!(d&&d[r])&&!(o&&o[r])){var a=xxe(t,r);try{Gxe(e,r,a)}catch{}}}}return e}bL.exports=sL});var cD=yt((_ot,tD)=>{"use strict";var epe=function(t){return tpe(t)&&!cpe(t)};function tpe(e){return!!e&&typeof e=="object"}function cpe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ope(e)}var npe=typeof Symbol=="function"&&Symbol.for,lpe=npe?Symbol.for("react.element"):60103;function ope(e){return e.$$typeof===lpe}function dpe(e){return Array.isArray(e)?[]:{}}function Ng(e,t){return t.clone!==!1&&t.isMergeableObject(e)?r0(dpe(e),e,t):e}function ipe(e,t,c){return e.concat(t).map(function(n){return Ng(n,c)})}function rpe(e,t){if(!t.customMerge)return r0;var c=t.customMerge(e);return typeof c=="function"?c:r0}function ape(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $L(e){return Object.keys(e).concat(ape(e))}function eD(e,t){try{return t in e}catch{return!1}}function spe(e,t){return eD(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function bpe(e,t,c){var n={};return c.isMergeableObject(e)&&$L(e).forEach(function(l){n[l]=Ng(e[l],c)}),$L(t).forEach(function(l){spe(e,l)||(eD(e,l)&&c.isMergeableObject(t[l])?n[l]=rpe(l,c)(e[l],t[l],c):n[l]=Ng(t[l],c))}),n}function r0(e,t,c){c=c||{},c.arrayMerge=c.arrayMerge||ipe,c.isMergeableObject=c.isMergeableObject||epe,c.cloneUnlessOtherwiseSpecified=Ng;var n=Array.isArray(t),l=Array.isArray(e),o=n===l;return o?n?c.arrayMerge(e,t,c):bpe(e,t,c):Ng(t,c)}r0.all=function(t,c){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,l){return r0(n,l,c)},{})};var upe=r0;tD.exports=upe});var Gf=yt((jot,nD)=>{"use strict";nD.exports=function e(t,c){if(t===c)return!0;if(t&&c&&typeof t=="object"&&typeof c=="object"){if(t.constructor!==c.constructor)return!1;var n,l,o;if(Array.isArray(t)){if(n=t.length,n!=c.length)return!1;for(l=n;l--!==0;)if(!e(t[l],c[l]))return!1;return!0}if(t instanceof Map&&c instanceof Map){if(t.size!==c.size)return!1;for(l of t.entries())if(!c.has(l[0]))return!1;for(l of t.entries())if(!e(l[1],c.get(l[0])))return!1;return!0}if(t instanceof Set&&c instanceof Set){if(t.size!==c.size)return!1;for(l of t.entries())if(!c.has(l[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(c)){if(n=t.length,n!=c.length)return!1;for(l=n;l--!==0;)if(t[l]!==c[l])return!1;return!0}if(t.constructor===RegExp)return t.source===c.source&&t.flags===c.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===c.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===c.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(c).length)return!1;for(l=n;l--!==0;)if(!Object.prototype.hasOwnProperty.call(c,o[l]))return!1;for(l=n;l--!==0;){var d=o[l];if(!e(t[d],c[d]))return!1}return!0}return t!==t&&c!==c}});var c7=yt((kat,t7)=>{t7.exports=(function(e){var t={};function c(n){if(t[n])return t[n].exports;var l=t[n]={exports:{},id:n,loaded:!1};return e[n].call(l.exports,l,l.exports,c),l.loaded=!0,l.exports}return c.m=e,c.c=t,c.p="",c(0)})([(function(e,t,c){e.exports=c(1)}),(function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return n.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return n.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return n.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return n.findChunks}})}),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=t.findAll=function(a){var s=a.autoEscape,b=a.caseSensitive,m=b===void 0?!1:b,X=a.findChunks,G=X===void 0?l:X,g=a.sanitize,x=a.searchWords,H=a.textToHighlight;return o({chunksToHighlight:n({chunks:G({autoEscape:s,caseSensitive:m,sanitize:g,searchWords:x,textToHighlight:H})}),totalLength:H?H.length:0})},n=t.combineChunks=function(a){var s=a.chunks;return s=s.sort(function(b,m){return b.start-m.start}).reduce(function(b,m){if(b.length===0)return[m];var X=b.pop();if(m.start<=X.end){var G=Math.max(X.end,m.end);b.push({highlight:!1,start:X.start,end:G})}else b.push(X,m);return b},[]),s},l=function(a){var s=a.autoEscape,b=a.caseSensitive,m=a.sanitize,X=m===void 0?d:m,G=a.searchWords,g=a.textToHighlight;return g=X(g),G.filter(function(x){return x}).reduce(function(x,H){H=X(H),s&&(H=i(H));for(var p=new RegExp(H,b?"g":"gi"),R=void 0;R=p.exec(g);){var I=R.index,f=p.lastIndex;f>I&&x.push({highlight:!1,start:I,end:f}),R.index===p.lastIndex&&p.lastIndex++}return x},[])};t.findChunks=l;var o=t.fillInChunks=function(a){var s=a.chunksToHighlight,b=a.totalLength,m=[],X=function(x,H,p){H-x>0&&m.push({start:x,end:H,highlight:p})};if(s.length===0)X(0,b,!1);else{var G=0;s.forEach(function(g){X(G,g.start,!1),X(g.start,g.end,!0),G=g.end}),X(G,b,!1)}return m};function d(r){return r}function i(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}})])});var Xa=yt((Qst,E7)=>{E7.exports=window.wp.keycodes});var ZC=yt((Rut,C_)=>{C_.exports=window.wp.richText});var Md=yt((Hut,F_)=>{F_.exports=window.wp.a11y});var yy=yt((Iut,fy)=>{var J_={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},Y_=Object.keys(J_).join("|"),mIe=new RegExp(Y_,"g"),XIe=new RegExp(Y_,"");function GIe(e){return J_[e]}var N_=function(e){return e.replace(mIe,GIe)},gIe=function(e){return!!e.match(XIe)};fy.exports=N_;fy.exports.has=gIe;fy.exports.remove=N_});var Jy=yt((qut,ij)=>{ij.exports=window.wp.isShallowEqual});var Vj=yt((kmt,vj)=>{vj.exports=window.wp.privateApis});var mK=yt(uK=>{"use strict";var mW=E(),fhe=iG();function yhe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Whe=typeof Object.is=="function"?Object.is:yhe,hhe=fhe.useSyncExternalStore,Bhe=mW.useRef,vhe=mW.useEffect,Vhe=mW.useMemo,Che=mW.useDebugValue;uK.useSyncExternalStoreWithSelector=function(e,t,c,n,l){var o=Bhe(null);if(o.current===null){var d={hasValue:!1,value:null};o.current=d}else d=o.current;o=Vhe(function(){function r(X){if(!a){if(a=!0,s=X,X=n(X),l!==void 0&&d.hasValue){var G=d.value;if(l(G,X))return b=G}return b=X}if(G=b,Whe(s,X))return G;var g=n(X);return l!==void 0&&l(G,g)?(s=X,G):(s=X,b=g)}var a=!1,s,b,m=c===void 0?null:c;return[function(){return r(t())},m===null?void 0:function(){return r(m())}]},[t,c,n,l]);var i=hhe(e,o[0],o[1]);return vhe(function(){d.hasValue=!0,d.value=i},[i]),Che(i),i}});var GK=yt((bWt,XK)=>{"use strict";XK.exports=mK()});var Yte=yt(a3=>{var Kb=Kb||{};Kb.stringify=(function(){var e={"visit_linear-gradient":function(t){return e.visit_gradient(t)},"visit_repeating-linear-gradient":function(t){return e.visit_gradient(t)},"visit_radial-gradient":function(t){return e.visit_gradient(t)},"visit_repeating-radial-gradient":function(t){return e.visit_gradient(t)},visit_gradient:function(t){var c=e.visit(t.orientation);return c&&(c+=", "),t.type+"("+c+e.visit(t.colorStops)+")"},visit_shape:function(t){var c=t.value,n=e.visit(t.at),l=e.visit(t.style);return l&&(c+=" "+l),n&&(c+=" at "+n),c},"visit_default-radial":function(t){var c="",n=e.visit(t.at);return n&&(c+=n),c},"visit_extent-keyword":function(t){var c=t.value,n=e.visit(t.at);return n&&(c+=" at "+n),c},"visit_position-keyword":function(t){return t.value},visit_position:function(t){return e.visit(t.value.x)+" "+e.visit(t.value.y)},"visit_%":function(t){return t.value+"%"},visit_em:function(t){return t.value+"em"},visit_px:function(t){return t.value+"px"},visit_calc:function(t){return"calc("+t.value+")"},visit_literal:function(t){return e.visit_color(t.value,t)},visit_hex:function(t){return e.visit_color("#"+t.value,t)},visit_rgb:function(t){return e.visit_color("rgb("+t.value.join(", ")+")",t)},visit_rgba:function(t){return e.visit_color("rgba("+t.value.join(", ")+")",t)},visit_hsl:function(t){return e.visit_color("hsl("+t.value[0]+", "+t.value[1]+"%, "+t.value[2]+"%)",t)},visit_hsla:function(t){return e.visit_color("hsla("+t.value[0]+", "+t.value[1]+"%, "+t.value[2]+"%, "+t.value[3]+")",t)},visit_var:function(t){return e.visit_color("var("+t.value+")",t)},visit_color:function(t,c){var n=t,l=e.visit(c.length);return l&&(n+=" "+l),n},visit_angular:function(t){return t.value+"deg"},visit_directional:function(t){return"to "+t.value},visit_array:function(t){var c="",n=t.length;return t.forEach(function(l,o){c+=e.visit(l),o<n-1&&(c+=", ")}),c},visit_object:function(t){return t.width&&t.height?e.visit(t.width)+" "+e.visit(t.height):""},visit:function(t){if(!t)return"";var c="";if(t instanceof Array)return e.visit_array(t);if(typeof t=="object"&&!t.type)return e.visit_object(t);if(t.type){var n=e["visit_"+t.type];if(n)return n(t);throw Error("Missing visitor visit_"+t.type)}else throw Error("Invalid node.")}};return function(t){return e.visit(t)}})();var Kb=Kb||{};Kb.parse=(function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,radianValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))rad/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,varColor:/^var/i,calcValue:/^calc/i,variableName:/^(--[a-zA-Z0-9-,\s\#]+)/,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,hslColor:/^hsl/i,hslaColor:/^hsla/i},t="";function c(U){var O=new Error(t+": "+U);throw O.source=t,O}function n(){var U=l();return t.length>0&&c("Invalid input not EOF"),U}function l(){return R(o)}function o(){return d("linear-gradient",e.linearGradient,r)||d("repeating-linear-gradient",e.repeatingLinearGradient,r)||d("radial-gradient",e.radialGradient,b)||d("repeating-radial-gradient",e.repeatingRadialGradient,b)}function d(U,O,L){return i(O,function(M){var _=L();return _&&(z(e.comma)||c("Missing comma before color stops")),{type:U,orientation:_,colorStops:R(I)}})}function i(U,O){var L=z(U);if(L){z(e.startCall)||c("Missing (");var M=O(L);return z(e.endCall)||c("Missing )"),M}}function r(){var U=a();if(U)return U;var O=Q("position-keyword",e.positionKeywords,1);return O?{type:"directional",value:O.value}:s()}function a(){return Q("directional",e.sideOrCorner,1)}function s(){return Q("angular",e.angleValue,1)||Q("angular",e.radianValue,1)}function b(){var U,O=m(),L;return O&&(U=[],U.push(O),L=t,z(e.comma)&&(O=m(),O?U.push(O):t=L)),U}function m(){var U=X()||G();if(U)U.at=x();else{var O=g();if(O){U=O;var L=x();L&&(U.at=L)}else{var M=x();if(M)U={type:"default-radial",at:M};else{var _=H();_&&(U={type:"default-radial",at:_})}}}return U}function X(){var U=Q("shape",/^(circle)/i,0);return U&&(U.style=A()||g()),U}function G(){var U=Q("shape",/^(ellipse)/i,0);return U&&(U.style=H()||J()||g()),U}function g(){return Q("extent-keyword",e.extentKeywords,1)}function x(){if(Q("position",/^at/,0)){var U=H();return U||c("Missing positioning value"),U}}function H(){var U=p();if(U.x||U.y)return{type:"position",value:U}}function p(){return{x:J(),y:J()}}function R(U){var O=U(),L=[];if(O)for(L.push(O);z(e.comma);)O=U(),O?L.push(O):c("One extra comma");return L}function I(){var U=f();return U||c("Expected color definition"),U.length=J(),U}function f(){return Z()||B()||C()||v()||W()||h()||y()}function y(){return Q("literal",e.literalColor,0)}function Z(){return Q("hex",e.hexColor,1)}function W(){return i(e.rgbColor,function(){return{type:"rgb",value:R(Y)}})}function v(){return i(e.rgbaColor,function(){return{type:"rgba",value:R(Y)}})}function h(){return i(e.varColor,function(){return{type:"var",value:S()}})}function C(){return i(e.hslColor,function(){var U=z(e.percentageValue);U&&c("HSL hue value must be a number in degrees (0-360) or normalized (-360 to 360), not a percentage");var O=Y();z(e.comma);var L=z(e.percentageValue),M=L?L[1]:null;z(e.comma),L=z(e.percentageValue);var _=L?L[1]:null;return(!M||!_)&&c("Expected percentage value for saturation and lightness in HSL"),{type:"hsl",value:[O,M,_]}})}function B(){return i(e.hslaColor,function(){var U=Y();z(e.comma);var O=z(e.percentageValue),L=O?O[1]:null;z(e.comma),O=z(e.percentageValue);var M=O?O[1]:null;z(e.comma);var _=Y();return(!L||!M)&&c("Expected percentage value for saturation and lightness in HSLA"),{type:"hsla",value:[U,L,M,_]}})}function V(){var U=z(e.percentageValue);return U?U[1]:null}function S(){return z(e.variableName)[1]}function Y(){return z(e.number)[1]}function J(){return Q("%",e.percentageValue,1)||k()||N()||A()}function k(){return Q("position-keyword",e.positionKeywords,1)}function N(){return i(e.calcValue,function(){for(var U=1,O=0;U>0&&O<t.length;){var L=t.charAt(O);L==="("?U++:L===")"&&U--,O++}U>0&&c("Missing closing parenthesis in calc() expression");var M=t.substring(0,O-1);return D(O-1),{type:"calc",value:M}})}function A(){return Q("px",e.pixelValue,1)||Q("em",e.emValue,1)}function Q(U,O,L){var M=z(O);if(M)return{type:U,value:M[L]}}function z(U){var O,L;return L=/^[\n\r\t\s]+/.exec(t),L&&D(L[0].length),O=U.exec(t),O&&D(O[0].length),O}function D(U){t=t.substr(U)}return function(U){return t=U.toString().trim(),t.endsWith(";")&&(t=t.slice(0,-1)),n()}})();a3.parse=Kb.parse;a3.stringify=Kb.stringify});var gX=yt((Ykt,Fce)=>{Fce.exports=window.wp.dom});var Yp=yt((Zzt,cne)=>{cne.exports=window.wp.date});var xS=yt((WQt,Ooe)=>{Ooe.exports=window.wp.escapeHtml});var wde=yt((AUt,Sde)=>{Sde.exports=window.wp.htmlEntities});var rie=yt((gEt,fS)=>{function LVe(e,t){var c=t&&t.cache?t.cache:KVe,n=t&&t.serializer?t.serializer:PVe,l=t&&t.strategy?t.strategy:_Ve;return l(e,{cache:c,serializer:n})}function DVe(e){return e==null||typeof e=="number"||typeof e=="boolean"}function die(e,t,c,n){var l=DVe(n)?n:c(n),o=t.get(l);return typeof o>"u"&&(o=e.call(this,n),t.set(l,o)),o}function iie(e,t,c){var n=Array.prototype.slice.call(arguments,3),l=c(n),o=t.get(l);return typeof o>"u"&&(o=e.apply(this,n),t.set(l,o)),o}function ZS(e,t,c,n,l){return c.bind(t,e,n,l)}function _Ve(e,t){var c=e.length===1?die:iie;return ZS(e,this,c,t.cache.create(),t.serializer)}function jVe(e,t){var c=iie;return ZS(e,this,c,t.cache.create(),t.serializer)}function MVe(e,t){var c=die;return ZS(e,this,c,t.cache.create(),t.serializer)}function PVe(){return JSON.stringify(arguments)}function B1(){this.cache=Object.create(null)}B1.prototype.has=function(e){return e in this.cache};B1.prototype.get=function(e){return this.cache[e]};B1.prototype.set=function(e,t){this.cache[e]=t};var KVe={create:function(){return new B1}};fS.exports=LVe;fS.exports.strategies={variadic:jVe,monadic:MVe}});var rae=yt((B7t,iae)=>{iae.exports=window.wp.hooks});var gJe={};Fl(gJe,{AlignmentMatrixControl:()=>L9,AnglePickerControl:()=>Zy,Animate:()=>TD,Autocomplete:()=>kj,BaseControl:()=>at,BlockQuotation:()=>on.BlockQuotation,BorderBoxControl:()=>Z5,BorderControl:()=>td,BoxControl:()=>MF,Button:()=>be,ButtonGroup:()=>v5,Card:()=>S5,CardBody:()=>w5,CardDivider:()=>k5,CardFooter:()=>z5,CardHeader:()=>T5,CardMedia:()=>A5,CheckboxControl:()=>wP,Circle:()=>on.Circle,ClipboardButton:()=>AP,ColorIndicator:()=>qd,ColorPalette:()=>Ca,ColorPicker:()=>ni,ComboboxControl:()=>Wce,Composite:()=>Bn,CustomGradientPicker:()=>GX,CustomSelectControl:()=>Eh,Dashicon:()=>bx,DatePicker:()=>wp,DateTimePicker:()=>Fne,Disabled:()=>Sne,Draggable:()=>Une,DropZone:()=>Dne,DropZoneProvider:()=>jne,Dropdown:()=>$d,DropdownMenu:()=>hr,DuotonePicker:()=>vp,DuotoneSwatch:()=>G3,ExternalLink:()=>qh,Fill:()=>W0,Flex:()=>Mt,FlexBlock:()=>Pn,FlexItem:()=>Cn,FocalPointPicker:()=>hle,FocusReturnProvider:()=>Gae,FocusableIframe:()=>Vle,FontSizePicker:()=>Dle,FormFileUpload:()=>jle,FormToggle:()=>n1,FormTokenField:()=>o1,G:()=>on.G,GradientPicker:()=>Ch,Guide:()=>doe,GuidePage:()=>soe,HorizontalRule:()=>on.HorizontalRule,Icon:()=>Ot,IconButton:()=>Xoe,IsolatedEventContainer:()=>$re,KeyboardShortcuts:()=>goe,Line:()=>on.Line,MenuGroup:()=>_p,MenuItem:()=>Vr,MenuItemsChoice:()=>Ioe,Modal:()=>pX,NavigableMenu:()=>Tp,Navigator:()=>ude,Notice:()=>m1,NoticeList:()=>X1,Panel:()=>Rde,PanelBody:()=>Ide,PanelHeader:()=>g1,PanelRow:()=>Wde,Path:()=>on.Path,Placeholder:()=>Vde,Polygon:()=>on.Polygon,Popover:()=>Za,ProgressBar:()=>Nde,QueryControls:()=>Dde,RadioControl:()=>lie,RangeControl:()=>Al,Rect:()=>on.Rect,ResizableBox:()=>yie,ResponsiveWrapper:()=>hie,SVG:()=>on.SVG,SandBox:()=>vie,ScrollLock:()=>Cy,SearchControl:()=>Jie,SelectControl:()=>ei,Slot:()=>h0,SlotFillProvider:()=>NC,Snackbar:()=>T1,SnackbarList:()=>kie,Spinner:()=>Th,TabPanel:()=>Qie,TabbableContainer:()=>cS,TextControl:()=>Lie,TextHighlight:()=>Kie,TextareaControl:()=>O1,TimePicker:()=>zp,Tip:()=>qie,ToggleControl:()=>tre,Toolbar:()=>DS,ToolbarButton:()=>cR,ToolbarDropdownMenu:()=>_S,ToolbarGroup:()=>lR,ToolbarItem:()=>Yr,Tooltip:()=>Hl,TreeSelect:()=>NX,VisuallyHidden:()=>bt,__experimentalAlignmentMatrixControl:()=>L9,__experimentalBorderBoxControl:()=>Z5,__experimentalBorderControl:()=>td,__experimentalBoxControl:()=>MF,__experimentalConfirmDialog:()=>w3,__experimentalDivider:()=>Tne,__experimentalDropdownContentWrapper:()=>ir,__experimentalElevation:()=>dle,__experimentalGrid:()=>cd,__experimentalHStack:()=>xt,__experimentalHasSplitBorders:()=>Fb,__experimentalHeading:()=>Ol,__experimentalInputControl:()=>_d,__experimentalInputControlPrefixWrapper:()=>Ha,__experimentalInputControlSuffixWrapper:()=>I0,__experimentalIsDefinedBorder:()=>SF,__experimentalIsEmptyBorder:()=>di,__experimentalItem:()=>mX,__experimentalItemGroup:()=>XX,__experimentalNavigatorBackButton:()=>sde,__experimentalNavigatorButton:()=>ade,__experimentalNavigatorProvider:()=>ide,__experimentalNavigatorScreen:()=>rde,__experimentalNavigatorToParentButton:()=>bde,__experimentalNumberControl:()=>$n,__experimentalPaletteEdit:()=>mce,__experimentalParseQuantityAndUnitFromRawValue:()=>Yc,__experimentalRadio:()=>Mde,__experimentalRadioGroup:()=>$de,__experimentalScrollable:()=>Tie,__experimentalSpacer:()=>Pc,__experimentalStyleProvider:()=>y0,__experimentalSurface:()=>tJ,__experimentalText:()=>Kn,__experimentalToggleGroupControl:()=>Kd,__experimentalToggleGroupControlOption:()=>cr,__experimentalToggleGroupControlOptionIcon:()=>N0,__experimentalToolbarContext:()=>rl,__experimentalToolsPanel:()=>q1,__experimentalToolsPanelContext:()=>Xu,__experimentalToolsPanelItem:()=>$1,__experimentalTreeGrid:()=>Mre,__experimentalTreeGridCell:()=>bw,__experimentalTreeGridItem:()=>aR,__experimentalTreeGridRow:()=>sw,__experimentalTruncate:()=>Pi,__experimentalUnitControl:()=>oi,__experimentalUseCustomUnits:()=>Vx,__experimentalUseNavigator:()=>ss,__experimentalUseSlot:()=>xx,__experimentalUseSlotFills:()=>YC,__experimentalVStack:()=>Nt,__experimentalView:()=>Ce,__experimentalZStack:()=>gw,__unstableAnimatePresence:()=>sm,__unstableComposite:()=>C3,__unstableCompositeGroup:()=>vce,__unstableCompositeItem:()=>Vce,__unstableDisclosureContent:()=>M3,__unstableGetAnimateClassName:()=>D9,__unstableMotion:()=>oa,__unstableUseAutocompleteProps:()=>wj,__unstableUseCompositeState:()=>Cce,__unstableUseNavigateRegions:()=>Rw,createSlotFill:()=>Xj,navigateRegions:()=>nae,privateApis:()=>Sw,useBaseControlProps:()=>Xb,useNavigator:()=>ss,withConstrainedTabbing:()=>lae,withFallbackStyles:()=>dae,withFilters:()=>bae,withFocusOutside:()=>zh,withFocusReturn:()=>Xae,withNotices:()=>xae,withSpokenMessages:()=>Rae});var on=u(rt(),1);function Qw(e){var t,c,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(c=Qw(e[t]))&&(n&&(n+=" "),n+=c)}else for(c in e)e[c]&&(n&&(n+=" "),n+=c);return n}function Fse(){for(var e,t,c=0,n="",l=arguments.length;c<l;c++)(e=arguments[c])&&(t=Qw(e))&&(n&&(n+=" "),n+=t);return n}var w=Fse;var Zf=u(Ze(),1),ND=u(me(),1),SD=u(T(),1);function vc(e){let{render:t,type:c}=e;return t||c!==void 0?e:{...e,type:"button"}}var _w=u(E(),1),xR=(0,_w.createContext)(!0);function pR(e){return Array.isArray(e)?e:typeof e<"u"?[e]:[]}function RR(e){let t=[];for(let c of e)t.push(...c);return t}function HR(e){return e.slice().reverse()}function xs(...e){}function qw(e,t){if(e===t)return!0;if(!e||!t||typeof e!="object"||typeof t!="object")return!1;let c=Object.keys(e),n=Object.keys(t),{length:l}=c;if(n.length!==l)return!1;for(let o of c)if(e[o]!==t[o])return!1;return!0}function fu(e,t){return Jse(e)?e(Yse(t)?t():t):e}function Jse(e){return typeof e=="function"}function Yse(e){return typeof e=="function"}function In(e,t){return typeof Object.hasOwn=="function"?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t)}function It(...e){return(...t)=>{for(let c of e)typeof c=="function"&&c(...t)}}function $w(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function ek(e,t){let c={...e};for(let n of t)In(c,n)&&delete c[n];return c}function tk(e,t){let c={};for(let n of t)In(e,n)&&(c[n]=e[n]);return c}function IR(e){return e}function ck(e=xs){let t=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>cancelAnimationFrame(t)}function ke(e,t){if(!e)throw typeof t!="string"?new Error("Invariant failed"):new Error(t)}function AB(e){return Object.keys(e)}function fi(e,...t){let c=typeof e=="function"?e(...t):e;return c==null?!1:!c}function bc(e){return e.disabled||e["aria-disabled"]===!0||e["aria-disabled"]==="true"}function ZR(e){return e.getAttribute("aria-disabled")==="true"||"disabled"in e&&e.disabled===!0}function co(e){let t={};for(let c in e)In(e,c)&&c!=="__proto__"&&e[c]!==void 0&&(t[c]=e[c]);return t}function Je(...e){for(let t of e)if(t!==void 0)return t}var yi=Nse();function Nse(){return typeof window<"u"&&!!window.document?.createElement}function nk(e,t){let c=e;for(;c;){let n=Object.getOwnPropertyDescriptor(c,t);if(n?.get)return n.get;c=Object.getPrototypeOf(c)}}var jw=yi?nk(Object.getPrototypeOf(window.document),"nodeType"):void 0,Mw=yi?nk(Object.getPrototypeOf(window.document),"activeElement"):void 0;function TB(e){return e?e.window===e:!1}function Pw(e){if(!e)return!1;if(!jw)return e.nodeType===9;try{return jw.call(e)===9}catch{return!1}}function Sse(e,t){try{return e.document===t}catch{return!1}}function nt(e){if(!e)return document;if(Pw(e))return e;if(TB(e))return e.document;let t=e.ownerDocument;return Pw(t)?t:document}function Zn(e){if(!e)return self;if(TB(e))return e;let t=nt(e),{defaultView:c}=t;return TB(c)&&Sse(c,t)?c:window}function Rc(e,{frame:t=!0,activeDescendant:c=!1}={}){let n=nt(e),l=Mw?Mw.call(n):n.activeElement;if(!l?.nodeName)return null;if(t&&KX(l)&&l.contentDocument?.body)return Rc(l.contentDocument.body,{frame:t,activeDescendant:c});if(c){let o=l.getAttribute("aria-activedescendant");if(o){let d=nt(l).getElementById(o);if(d)return d}}return l}function Ct(e,t){return e===t||e.contains(t)}function Tc(e){return e?.nodeType===1}function qX(e){return typeof e?.nodeType=="number"}function KX(e){return e.tagName==="IFRAME"}function Jo(e){let t=e.tagName.toLowerCase();return t==="button"?!0:t==="input"&&e.type?wse.indexOf(e.type)!==-1:!1}var wse=["button","color","file","image","reset","submit"];function fR(e){if(typeof e.checkVisibility=="function")return e.checkVisibility();let t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}function On(e){try{return e.tagName==="TEXTAREA"?!0:e.tagName!=="INPUT"?!1:e.selectionStart!==null}catch{return!1}}function yR(e){return e.isContentEditable||On(e)}function lk(e){if(On(e))return e.value;if(e.isContentEditable){let t=nt(e).createRange();return t.selectNodeContents(e),t.toString()}return""}function ok(e){let t=0,c=0;if(On(e))t=e.selectionStart||0,c=e.selectionEnd||0;else if(e.isContentEditable){let n=nt(e).getSelection();if(n?.rangeCount&&n.anchorNode&&Ct(e,n.anchorNode)&&n.focusNode&&Ct(e,n.focusNode)){let l=n.getRangeAt(0),o=l.cloneRange();o.selectNodeContents(e),o.setEnd(l.startContainer,l.startOffset),t=o.toString().length,o.setEnd(l.endContainer,l.endOffset),c=o.toString().length}}return{start:t,end:c}}var kse=["dialog","menu","listbox","tree","grid"],Kw={menu:"menuitem",listbox:"option",tree:"treeitem"};function ps(e,t){let c=e?.getAttribute("role");return c&&kse.indexOf(c)!==-1?c:t}function zse(e){if(e!=null&&In(Kw,e))return Kw[e]}function yu(e,t){let c=ps(e);return typeof c!="string"?t:zse(c)??t}function OB(e){if(!e)return null;let t=n=>n==="auto"||n==="scroll";if(e.clientHeight&&e.scrollHeight>e.clientHeight){let{overflowY:n}=getComputedStyle(e);if(t(n))return e}else if(e.clientWidth&&e.scrollWidth>e.clientWidth){let{overflowX:n}=getComputedStyle(e);if(t(n))return e}let c=nt(e);return OB(e.parentElement)||c.scrollingElement||c.body}function dk(e,t){let c=e.map((l,o)=>[o,l]),n=!1;return c.sort(([l,o],[d,i])=>{let r=t(o),a=t(i);return r===a||!r||!a?0:Tse(r,a)?(l>d&&(n=!0),-1):(l<d&&(n=!0),1)}),n?c.map(([l,o])=>o):e}function Tse(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Ase(){return yi&&!!navigator.maxTouchPoints}function WR(){return yi?/mac|iphone|ipad|ipod/i.test(navigator.platform):!1}function hR(){return yi&&WR()&&/apple/i.test(navigator.vendor)}function ik(){return yi&&/firefox\//i.test(navigator.userAgent)}function rk(){return yi&&navigator.platform.startsWith("Mac")&&!Ase()}function ak(e){let{currentTarget:t,target:c}=e;return t?qX(c)?!Ct(t,c):!0:!1}function uc(e){return e.target===e.currentTarget}function sk(e){if(!Tc(e))return!1;let t=e,c=t.tagName.toLowerCase();return c==="a"||c==="button"&&t.type==="submit"||c==="input"&&t.type==="submit"}function BR(e){let t=WR();return t&&!e.metaKey||!t&&!e.ctrlKey?!1:sk(e.currentTarget)}function vR(e){return e.altKey?sk(e.currentTarget):!1}function bk(e,t,c){let{Event:n}=Zn(e),l=new n(t,c);return e.dispatchEvent(l)}function Rs(e,t){let{FocusEvent:c}=Zn(e),n=new c("blur",t),l=e.dispatchEvent(n),o={...t,bubbles:!0};return e.dispatchEvent(new c("focusout",o)),l}function uk(e,t,c){let{KeyboardEvent:n}=Zn(e),l=new n(t,c);return e.dispatchEvent(l)}var Ose={width:!0,height:!0,pressure:!0,tangentialPressure:!0,tiltX:!0,tiltY:!0,twist:!0,altitudeAngle:!0,azimuthAngle:!0,isPrimary:!0,coalescedEvents:!0,predictedEvents:!0,persistentDeviceId:!0};function Qse(e,t){let c=t??{};return new Proxy({},{get(n,l){if(l==="view")return e;if(l==="composed")return!0;if(l==="pointerId")return c.pointerId??-1;if(l==="pointerType")return c.pointerType??"";if(!In(Ose,l))return Reflect.get(c,l)}})}function QB(e,t){let c=Zn(e),n=new(c.PointerEvent??c.MouseEvent)("click",Qse(c,t));return e.dispatchEvent(n)}function Id(e,t){let c=t||e.currentTarget,n=e.relatedTarget;return!qX(n)||!Ct(c,n)}function Hs(e,t,c,n){let o=(i=>{if(n){let a=setTimeout(i,n);return()=>clearTimeout(a)}let r=requestAnimationFrame(i);return()=>cancelAnimationFrame(r)})(()=>{e.removeEventListener(t,d,!0),c()}),d=()=>{o(),c()};return e.addEventListener(t,d,{once:!0,capture:!0}),()=>{o(),e.removeEventListener(t,d,!0)}}function Kt(e,t,c,n=window){let l=[];try{n.document.addEventListener(e,t,c);for(let d of Array.from(n.frames))l.push(Kt(e,t,c,d))}catch{}return()=>{try{n.document.removeEventListener(e,t,c)}catch{}for(let d of l)d()}}var VR="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function Use(e){return Number.parseInt(e.getAttribute("tabindex")||"0",10)<0}function Ac(e){return!(!e.matches(VR)||!fR(e)||e.closest("[inert]"))}function Iu(e){if(!Ac(e)||Use(e))return!1;if(!("form"in e)||!e.form||e.checked||e.type!=="radio")return!0;let t=e.form.elements.namedItem(e.name);if(!t||!("length"in t))return!0;let c=Rc(e);return!c||c===e||!("form"in c)||c.form!==e.form||!("name"in c)||c.name!==e.name}function CR(e,t){let c=Array.from(e.querySelectorAll(VR));t&&c.unshift(e);let n=c.filter(Ac);return n.forEach((l,o)=>{if(!KX(l))return;let d=l.contentDocument?.body;d&&n.splice(o,1,...CR(d))}),n}function Ese(e,t){let[c]=CR(e,t);return c||null}function FR(e,t,c){let n=Array.from(e.querySelectorAll(VR)).filter(Iu);return t&&Iu(e)&&n.unshift(e),n.forEach((l,o)=>{if(!KX(l))return;let d=l.contentDocument?.body;if(!d)return;let i=FR(d,!1,c);n.splice(o,1,...i)}),!n.length&&c?CR(e):n}function Zu(e,t,c){if(t&&Iu(e)){if(!KX(e))return e;let l=e.contentDocument?.body;if(!l)return e;let o=Zu(l,!1,c);if(o)return o}let n=e.querySelectorAll(VR);for(let l of n)if(Iu(l)){if(KX(l)){let o=l.contentDocument?.body;if(!o)return l;let d=Zu(o,!1,c);if(d)return d;continue}return l}return c?Ese(e):null}function mk({container:e,includeContainer:t,reverse:c,fallbackToEdge:n,fallbackToFocusable:l}){let o=Rc(e),d=CR(e,t);c&&d.reverse();let i=d.indexOf(o),r=d.slice(i+1);return r.find(Iu)||(n?d.find(Iu):null)||(l?r[0]:null)||null}function Lse(e,t,c,n){return mk({container:e,includeContainer:t,fallbackToEdge:c,fallbackToFocusable:n})}function JR(e,t){return Lse(document.body,!1,e,t)}function Dse(e,t,c,n){return mk({container:e,includeContainer:t,reverse:!0,fallbackToEdge:c,fallbackToFocusable:n})}function UB(e,t){return Dse(document.body,!1,e,t)}function Is(e){let t=Rc(e);if(!t)return!1;if(t===e)return!0;let c=t.getAttribute("aria-activedescendant");return c?c===e.id:!1}function no(e){let t=Rc(e);if(!t)return!1;if(Ct(e,t))return!0;let c=t.getAttribute("aria-activedescendant");return!c||!("id"in e)?!1:c===e.id?!0:!!e.querySelector(`#${CSS.escape(c)}`)}function _se(e){let t=e.getAttribute("tabindex")??"";e.setAttribute("data-tabindex",t),e.setAttribute("tabindex","-1")}function Xk(e,t){let c=FR(e,t);for(let n of c)_se(n)}function Gk(e){let t=e.querySelectorAll("[data-tabindex]"),c=n=>{let l=n.getAttribute("data-tabindex");n.removeAttribute("data-tabindex"),l?n.setAttribute("tabindex",l):n.removeAttribute("tabindex")};e.hasAttribute("data-tabindex")&&c(e);for(let n of t)c(n)}function gk(e){return async()=>{let t=await e?.();return gk(async()=>(await t?.(),e))}}var hJe=jse();function jse({limit:e=100}={}){let t=[],c=[],n=null,l=()=>t.length>0,o=()=>c.length>0;return{canUndo:l,canRedo:o,undo:async()=>{l()&&(n=null,c.push(await t.pop()?.()))},redo:async()=>{o()&&(n=null,t.push(await c.pop()?.()))},execute:async(a,s)=>{if(!a)return;let b=s===n;n=s??null;let m=b?Math.max(0,t.length-1):t.length,X=await a();if(!X)return;c=[];let G=t[m];for(t[m]=gk(async()=>{await X?.();let g=await G?.();return async()=>{await g?.(),await a?.()}});t.length>e;)t.shift()}}}var fn=u(E(),1),zt=u(E(),1),Zs=u(F(),1);function $X(e,t){if(typeof e=="function"){let c=e(t);if(typeof c=="function")return c}else e&&(e.current=t)}function Mse(e){return!e||!(0,zt.isValidElement)(e)?!1:"ref"in e.props||"ref"in e}function Pse(e){return Mse(e)?{...e.props}.ref||e.ref:null}function Kse(e,t){let c={...e};for(let n in t){if(!In(t,n)||n==="__proto__")continue;if(n==="className"){let o="className",d=e[o],i=t[o];d&&i?c[o]=`${d} ${i}`:c[o]=i||d;continue}if(n==="style"){let o="style";c[o]=e[o]?{...e[o],...t[o]}:t[o];continue}let l=t[n];if(l!==void 0){if(n.startsWith("on")){if(typeof l!="function")continue;let o=e[n];if(typeof o=="function"){c[n]=(...d)=>{l(...d),o(...d)};continue}}c[n]=l}}return c}var EB={...fn},Ik=EB.useId,CJe=EB.useDeferredValue,qse=EB.useInsertionEffect??(e=>e()),Ue=yi?zt.useLayoutEffect:zt.useEffect;function eG(e){let[t]=(0,zt.useState)(e);return t}function Wu(e){let t=(0,zt.useRef)(e);return Ue(()=>{t.current=e}),t}function ge(e){let t=(0,zt.useRef)(()=>{throw new Error("Cannot call an event handler while rendering.")});return qse(()=>{t.current=e}),(0,zt.useCallback)((...c)=>t.current?.(...c),[])}function NR(e){let[t,c]=(0,zt.useState)(null);return Ue(()=>{if(t==null||!e)return;let n=null;return e(l=>(n=l,t)),()=>{e(n)}},[t,e]),[t,c]}function Me(...e){return(0,zt.useMemo)(()=>{if(e.some(Boolean))return t=>{let c=[];for(let n of e){if(!n)continue;let l=$X(n,t);c.push({ref:n,cleanup:typeof l=="function"?l:void 0})}if(c.some(n=>n.cleanup))return()=>{for(let{ref:n,cleanup:l}of c)l?l():$X(n,null)}}},e)}function $se(e){let[t,c]=(0,zt.useState)(e);return Ue(()=>{if(e||t)return;let n=Math.random().toString(36).slice(2,8);c(`id-${n}`)},[e,t]),e||t}function ebe(e){let t=Ik();return e||t}var tbe=Ik?ebe:$se;function Ft(e){return tbe(e)}function hu(e,t){let c=o=>{if(typeof o=="string")return o},[n,l]=(0,zt.useState)(()=>c(t));return Ue(()=>{let o=e&&"current"in e?e.current:e;l(o?.tagName.toLowerCase()||c(t))},[e,t]),n}function Bu(e,t,c){let n=eG(c),[l,o]=(0,zt.useState)(n);return(0,zt.useEffect)(()=>{let d=e&&"current"in e?e.current:e;if(!d)return;let i=()=>{let a=d.getAttribute(t);o(a??n)},r=new MutationObserver(i);return r.observe(d,{attributeFilter:[t]}),i(),()=>r.disconnect()},[e,t,n]),l}function Qn(e,t){let c=(0,zt.useRef)(!1);(0,zt.useEffect)(()=>{if(c.current)return e();c.current=!0},t),(0,zt.useEffect)(()=>()=>{c.current=!1},[])}function vu(){return(0,zt.useReducer)(()=>[],[])}function Wt(e){return ge(typeof e=="function"?e:()=>e)}function Le(e,t,c=[]){let n=(0,zt.useCallback)(l=>(e.wrapElement&&(l=e.wrapElement(l)),t(l)),[...c,e.wrapElement]);return{...e,wrapElement:n}}function Vu(e=!1,t){let[c,n]=(0,zt.useState)(null);return{portalRef:Me(n,t),portalNode:c,domReady:!e||c}}function Cu(e,t,c){let n=e.onLoadedMetadataCapture,l=(0,zt.useMemo)(()=>Object.assign(()=>{},n,...c!==void 0?[{[t]:c}]:[]),[n,t,c]);return[n?.[t],{onLoadedMetadataCapture:l}]}var pk=!1;function Fu(){return(0,zt.useEffect)(()=>{pk||(Kt("mousemove",nbe,!0),Kt("mousedown",YR,!0),Kt("mouseup",YR,!0),Kt("keydown",YR,!0),Kt("scroll",YR,!0),pk=!0)},[]),ge(()=>LB)}var LB=!1,Rk=0,Hk=0;function cbe(e){let t=e.movementX||e.screenX-Rk,c=e.movementY||e.screenY-Hk;return Rk=e.screenX,Hk=e.screenY,t||c||!1}function nbe(e){cbe(e)&&(LB=!0)}function YR(){LB=!1}function te(e){let t=fn.forwardRef((c,n)=>e(co({...c,ref:n})));return t.displayName=e.displayName||e.name,t}function mc(e,t){return fn.memo(e,t)}function ne(e,t){let{wrapElement:c,render:n,...l}=t,o=Me(t.ref,Pse(n)),d;if(fn.isValidElement(n)){let i={...n.props,ref:o};d=fn.cloneElement(n,Kse(l,i))}else n?d=n(l):d=(0,Zs.jsx)(e,{...l});return c?c(d):d}function ce(e){let t=(c={})=>e(c);return t.displayName=e.name,t}function Jt(e=[],t=[]){let c=fn.createContext(void 0),n=fn.createContext(void 0),l=()=>fn.useContext(c),o=(a=!1)=>{let s=fn.useContext(n),b=l();return a?s:s||b},d=()=>{let a=fn.useContext(n),s=l();if(!(a&&a===s))return s},i=a=>e.reduceRight((s,b)=>(0,Zs.jsx)(b,{...a,children:s}),(0,Zs.jsx)(c.Provider,{...a}));return{context:c,scopedContext:n,useContext:l,useScopedContext:o,useProviderContext:d,ContextProvider:i,ScopedContextProvider:a=>(0,Zs.jsx)(i,{...a,children:t.reduceRight((s,b)=>(0,Zs.jsx)(b,{...a,children:s}),(0,Zs.jsx)(n.Provider,{...a}))})}}var _c=u(E(),1),yk=Symbol("accessibleWhenDisabled");function Wk(e){return e.accessibleWhenDisabled??e.onLoadedMetadataCapture?.[yk]}var DB="data-truly-disabled";function hk(e){return e.getAttribute(DB)==="true"}function Bk(e){let t=e.getAttribute(DB);if(t==="true")return!0;if(t==="false")return!1}function vk(e){return e==="ArrowUp"||e==="ArrowRight"||e==="ArrowDown"||e==="ArrowLeft"||e==="Home"||e==="End"||e==="PageUp"||e==="PageDown"}var lbe="div",Vk=hR(),Ck=1,Fk=2,Zk=3,obe=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"];function dbe(e){let{tagName:t,readOnly:c,type:n}=e;return t==="TEXTAREA"&&!c||t==="SELECT"&&!c?!0:t==="INPUT"&&!c?obe.includes(n):!!(e.isContentEditable||e.getAttribute("role")==="combobox"&&e.dataset.name)}function ibe(e){return e?e==="button"||e==="summary"||e==="input"||e==="select"||e==="textarea"||e==="a":!0}function rbe(e){return e?e==="button"||e==="input"||e==="select"||e==="textarea":!0}function abe(e){let t=0;return ibe(e)&&(t|=Ck),rbe(e)&&(t|=Fk),t}function sbe(e){if(e.tagName==="BUTTON"){let{type:t}=e;return t==="submit"}if(e.tagName==="INPUT"){let{type:t}=e;return t==="submit"||t==="image"}return!1}function bbe({focusable:e,trulyDisabled:t,nativeTabbable:c,supportsDisabled:n,safariTabIndex:l,tabIndexProp:o}){return e?t?c&&!n?-1:void 0:c?l&&o==null?0:o:o??0:o}function SR(e,t){return ge(c=>{e?.(c),!c.defaultPrevented&&t&&(c.stopPropagation(),c.preventDefault())})}var fk=!1,wR=!0;function ube(e){let t=e.target;Tc(t)&&!t.hasAttribute("data-focus-visible")&&(wR=!1)}function mbe(e){if(vk(e.key)){wR=!0;return}e.metaKey||e.ctrlKey||e.altKey&&(!Vk||e.key!=="Tab")||(wR=!0)}var Yo=ce(function({focusable:t=!0,accessibleWhenDisabled:c,autoFocus:n,onFocusVisible:l,...o}){let d=(0,_c.useRef)(null),[i,r]=Cu(o,yk,c);c??=i,(0,_c.useEffect)(()=>{t&&(fk||(Kt("mousedown",ube,!0),Kt("keydown",mbe,!0),fk=!0))},[t]);let a=t&&bc(o),s=a&&!c,[b,m]=(0,_c.useState)(!1),X=(0,_c.useRef)(!1),G=(0,_c.useRef)(null),g=ge(z=>{G.current?.(),G.current=null,X.current=!1,z?.removeAttribute("data-focus-visible")});(0,_c.useEffect)(()=>{t&&!s||(g(d.current),b&&m(!1))},[t,s,b,g]),(0,_c.useEffect)(()=>{if(!t||!b)return;let z=d.current;if(!z||typeof IntersectionObserver>"u")return;let D=new IntersectionObserver(()=>{Ac(z)||(X.current=!1,m(!1))});return D.observe(z),()=>D.disconnect()},[t,b]),(0,_c.useEffect)(()=>()=>G.current?.(),[]);let x=SR(o.onKeyPressCapture,a),H=SR(o.onMouseDownCapture,a),p=SR(o.onClickCapture,a),R=SR(o.onAuxClickCapture,a),I=(z,D)=>{if(D&&(z.currentTarget=D),!t)return;let U=z.currentTarget;if(U&&Is(U)&&(l?.(z),!z.defaultPrevented)){if(U.dataset.focusVisible="true",X.current=!0,sbe(U)){if(G.current?.(),G.current=null,typeof IntersectionObserver<"u"){let O=new IntersectionObserver(()=>{Ac(U)||g(U)});O.observe(U),G.current=()=>O.disconnect()}return}m(!0)}},f=o.onKeyDownCapture,y=ge(z=>{if(f?.(z),z.defaultPrevented||!t||b||X.current||(z.metaKey||z.altKey||z.ctrlKey)&&!vk(z.key)||!uc(z))return;let D=z.currentTarget;Hs(D,"focusout",()=>I(z,D))}),Z=o.onFocusCapture,W=ge(z=>{if(Z?.(z),z.defaultPrevented||!t)return;if(!uc(z)){m(!1);return}let D=z.currentTarget,U=()=>I(z,D);wR||dbe(z.target)?Hs(z.target,"focusout",U):m(!1)}),v=o.onBlur,h=ge(z=>{v?.(z),t&&Id(z)&&(g(z.currentTarget),m(!1))}),C=(0,_c.useContext)(xR),B=ge(z=>{t&&n&&z&&C&&queueMicrotask(()=>{Is(z)||Ac(z)&&z.focus()})}),[V,S]=(0,_c.useState)(Zk);Ue(()=>{let z=d.current;if(!z)return;let D=abe(z.tagName.toLowerCase());D!==Zk&&S(D)},[]);let Y=t&&!!(V&Ck),J=t&&!!(V&Fk),[k,N]=(0,_c.useState)(!1);Vk&&(0,_c.useEffect)(()=>{if(!t)return;let z=d.current;if(!z)return;let{type:D}=z,U=z.tagName==="INPUT"&&(D==="checkbox"||D==="radio");N(Jo(z)||U)},[t]);let A=o.style,Q=(0,_c.useMemo)(()=>s?{pointerEvents:"none",...A}:A,[s,A]);return o={"data-focus-visible":t&&b||void 0,"data-autofocus":n||void 0,"aria-disabled":a||void 0,...o,...r,ref:Me(d,B,o.ref),style:Q,tabIndex:bbe({focusable:t,trulyDisabled:s,nativeTabbable:Y,supportsDisabled:J,safariTabIndex:k,tabIndexProp:o.tabIndex}),disabled:J&&s?!0:void 0,[DB]:a?s:void 0,contentEditable:a?void 0:o.contentEditable,onKeyPressCapture:x,onClickCapture:p,onAuxClickCapture:R,onMouseDownCapture:H,onKeyDownCapture:y,onFocusCapture:W,onBlur:h},co(o)}),SJe=te(function(t){let c=Yo(t);return ne(lbe,c)});var zr=u(E(),1),Xbe="button";function Jk(e){if(!e.isTrusted)return!1;let t=e.currentTarget;return e.key==="Enter"?Jo(t)||t.tagName==="SUMMARY"||t.tagName==="A":e.key===" "?Jo(t)||t.tagName==="SUMMARY"||t.tagName==="INPUT"||t.tagName==="SELECT":!1}var Gbe=Symbol("command"),fs=ce(function({clickOnEnter:t=!0,clickOnSpace:c=!0,...n}){let l=(0,zr.useRef)(null),[o,d]=(0,zr.useState)(!1),i=n.type;(0,zr.useEffect)(()=>{let I=l.current;if(!I)return;let f=Jo(I);i!==void 0&&f&&I.type==="button"||d(f)},[i]);let[r,a]=(0,zr.useState)(!1),s=(0,zr.useRef)(!1),b=bc(n),[m,X]=Cu(n,Gbe,!0);Ue(()=>{b&&(s.current=!1,a(!1))},[b]);let G=n.onKeyDown,g=ge(I=>{G?.(I);let f=I.currentTarget;if(I.defaultPrevented||m||b||!uc(I)||On(f)||f.isContentEditable)return;let y=t&&I.key==="Enter",Z=c&&I.key===" ",W=I.key==="Enter"&&!t,v=I.key===" "&&!c;if(W||v){I.preventDefault();return}if(y||Z){let h=Jk(I);if(y){if(!h){I.preventDefault();let{view:C,...B}=I,V=()=>QB(f,B);ik()?Hs(f,"keyup",V):queueMicrotask(V)}}else Z&&(s.current=!0,h||(I.preventDefault(),a(!0)))}}),x=n.onKeyUp,H=ge(I=>{if(x?.(I),m)return;let f=c&&I.key===" ";if(!s.current||!f)return;let y=Jk(I);if(s.current=!1,y||a(!1),I.defaultPrevented||!uc(I)||b||I.metaKey||y)return;I.preventDefault();let Z=I.currentTarget,{view:W,...v}=I;queueMicrotask(()=>QB(Z,v))}),p=n.onBlur,R=ge(I=>{p?.(I),s.current&&(s.current=!1,a(!1))});return n={"data-active":r||void 0,type:o?"button":void 0,...X,...n,ref:Me(l,n.ref),onKeyDown:g,onKeyUp:H,onBlur:R},n=Yo(n),n}),OJe=te(function(t){let c=fs(vc(t));return ne(Xbe,c)});var tG=Jt(),Yk=tG.useContext,EJe=tG.useScopedContext,LJe=tG.useProviderContext,Nk=tG.ContextProvider,Sk=tG.ScopedContextProvider;var kR=u(E(),1),gbe="div",cG=ce(function({store:t,shouldRegisterItem:c=!0,getItem:n=IR,element:l,...o}){let d=Yk();t=t||d;let i=Ft(o.id),r=(0,kR.useRef)(l);return(0,kR.useEffect)(()=>{let a=r.current;if(!i||!a||!c)return;let s=n({id:i,element:a});return t?.renderItem(s)},[i,c,n,t]),o={...o,ref:Me(r,o.ref)},o}),PJe=te(function(t){let c=cG(t);return ne(gbe,c)});var _B=u(E(),1),nG=Jt([Nk],[Sk]),xbe=nG.useContext,Zd=nG.useScopedContext,wk=nG.useProviderContext,bl=nG.ContextProvider,yn=nG.ScopedContextProvider,kk=(0,_B.createContext)(void 0),zR=(0,_B.createContext)(void 0);var Ju=u(E(),1);function ys(e,t){let c=e.__unstableInternals;return ke(c,"Invalid store"),c[t]}function Tk(e,t){if(!e)return!0;for(let c of e)if(t instanceof Set){if(t.has(c))return!0}else if(lG(c,t))return!0;return!1}function lG(e,t){return e===t||e!==e&&t!==t}function Ak(e,t,c,n){let l;for(let o of AB(t))lG(t[o],c[o])||n!==void 0&&Tk([o],n)||(l??={...e},l[o]=t[o]);return l}var pbe=100;function Rbe(e,t,c){if(t)for(let n of t){let l=e.get(n);l||(l=new Set,e.set(n,l)),l.add(c)}}function Hbe(e,t,c){if(e&&t)for(let n of t){let l=e.get(n);l&&(l.delete(c),l.size||e.delete(n))}}function Ok(e){let t=new Set,c=e.currentListener;if(!c)return t;for(let n of e.keyedListeners)if(t.add(n),n===c)return t;return t.clear(),t.add(c),t}function TR(e){e.notifiedListeners??=Ok(e)}function MB(e,t){if(!e.currentListener)return!1;let c=!1;for(let l of e.keyedListeners){if(l===e.currentListener){c=!0;continue}if(c&&l===t)return!1}let n=!1;for(let l of e.group.listeners){if(l===e.currentListener)return n;l===t&&(n=!0)}return!1}function jB(e,t,c){for(let n of e)if(n.group===t&&!n.recovering&&!(c&&!n.keyedListeners.has(c))){TR(n);for(let l of n.group.listeners){if(l===n.currentListener)break;MB(n,l)&&n.notifiedListeners?.add(l)}}}function Ibe(e,t,c){for(let n of e)n.group===t&&(n.recovering||MB(n,c)&&(TR(n),n.notifiedListeners?.add(c)))}function Zbe({fastPathFrames:e,group:t,keys:c,listener:n}){let l=t.listeners.has(n);for(let o of e)o.group===t&&(o.recovering||c.includes(o.updatedKey)&&(MB(o,n)?(TR(o),o.notifiedListeners?.add(n)):l&&(TR(o),o.recoverToLive=!0)))}function fbe(e,t,c){for(let n of e)n.group===t&&n.notifiedListeners?.delete(c)}function ybe({fastPathFrames:e,group:t,keys:c,listener:n}){for(let l of e)l.group===t&&(l.recovering||c.includes(l.updatedKey)&&l.keyedListeners.add(n))}function Wbe(e,t){if(!e.disposables.size)return;let c=e.disposables.get(t);c&&(e.disposables.delete(t),c())}function Qk(e,t,c){let n=e.disposables.get(t);if(!n){e.disposables.set(t,c);return}e.disposables.set(t,()=>{n(),c()})}function Uk(e,t,c,n,l,o){if(e.suspendCounts?.has(t))return;let{disposables:d}=e,i=d.size?d.get(t):void 0;if(i){d.delete(t);let a=c;i(),c=l?.()??c,c!==a&&(n=Ak(n,c,a,o)??n)}let r=t(c,n);r&&Qk(e,t,r)}function zk({group:e,getState:t,prevState:c,updatedKey:n,notifiedListeners:l}){let o=e.allKeysListeners;for(let d of e.listeners)l?.has(d)||!o?.has(d)&&!Tk(e.listenerKeys.get(d),n)||(l?.add(d),Uk(e,d,t(),c,t,n))}function Tt(e,...t){let c=e,n=c,l=xs,o=!1,d=!1,i=new Set,r=new Set,a=new Set,s={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},b={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},m=C=>(a.add(C),()=>a.delete(C)),X=()=>{let C=r.size,B=Symbol();r.add(B);let V=()=>{r.delete(B)&&(r.size||l())};if(C)return V;let S=AB(c),Y=[];for(let N of t){let A=N?.getState?.();if(!A)continue;let Q=S.filter(z=>In(A,z));if(Q.length){if(t.length===1||Q.length===S.length){for(let z of Q)Y.push(lt(N,[z],D=>{v(z,D[z],!0)}));continue}Y.push(Jl(N,Q,(z,D)=>{for(let U of Q)z[U]!==D[U]&&v(U,z[U],!0)}));for(let z of Q){let D=N?.getState?.();D&&v(z,D[z],!0)}}}let J=[];for(let N of a)J.push(N());let k=t.map(oG);return l=It(...Y,...J,...k),V},G=(C,B,V)=>{V!==void 0&&(V?Hbe(C.listenersByKey,V,B):C.allKeysListeners?.delete(B))},g=[],x=(C,B,V=s)=>{let S=C?[...C]:null,Y=V.listeners.has(B);return Y||fbe(g,V,B),S?Zbe({fastPathFrames:g,group:V,keys:S,listener:B}):(Y&&jB(g,V),Ibe(g,V,B)),Y&&(jB(g,V,B),G(V,B,V.listenerKeys.get(B))),V.listeners.add(B),S?(V.listenersByKey??=new Map,Rbe(V.listenersByKey,S,B),ybe({fastPathFrames:g,group:V,keys:S,listener:B})):(V.allKeysListeners??=new Set,V.allKeysListeners.add(B)),V.listenerKeys.set(B,S),()=>{let J=V.disposables.get(B);V.disposables.delete(B),jB(g,V,B);let k=V.listenerKeys.get(B);G(V,B,S),k!==S&&G(V,B,k),V.listenerKeys.delete(B),V.listeners.delete(B),J?.()}},H=(C,B)=>x(C,B),p=(C,B,V)=>{let S=C.listeners.has(B);if(S){C.suspendCounts??=new Map;let J=C.suspendCounts.get(B)??0;C.suspendCounts.set(B,J+1)}let Y;try{let J=c;Wbe(C,B),c!==J&&(Y=Ak(V,c,J));let k=B(c,Y??V);k&&Qk(C,B,k)}finally{if(S){let J=C.suspendCounts,k=J?.get(B);k&&k>1?J?.set(B,k-1):J?.delete(B),J?.size||delete C.suspendCounts}}},R=(C,B)=>(p(s,B,c),x(C,B)),I=(C,B)=>(!b.listeners.size&&!d&&(n=c),p(b,B,n),x(C,B,b)),f=C=>Tt(tk(c,C),h),y=C=>Tt(ek(c,C),h),Z=()=>c,W=(C,B,V)=>{if(!(V instanceof Set)&&!C.allKeysListeners?.size){let S=C.listenersByKey?.get(V);if(!S)return;let Y={group:C,keyedListeners:S,updatedKey:V,currentListener:null};g.push(Y);try{for(let J of S){if(Y.notifiedListeners?.has(J)||(Y.currentListener=J,Y.notifiedListeners?.add(J),Uk(C,J,c,B,Z,V),!C.allKeysListeners?.size&&!Y.recoverToLive))continue;let k=Y.notifiedListeners??Ok(Y);Y.notifiedListeners=k,Y.recovering=!0,zk({group:C,getState:Z,prevState:B,updatedKey:V,notifiedListeners:k});return}}finally{g.pop()}return}zk({group:C,getState:Z,prevState:B,updatedKey:V})},v=(C,B,V=!1)=>{if(!In(c,C))return;let S=c[C],Y=fu(B,()=>S);if(lG(Y,S))return;let J=d;d=!0;let k=c,N={...c,[C]:Y};c=N;let A=!1;try{if(!V&&t.length){for(let Q of t)if(Q?.setState?.(C,Y),!lG(c[C],Y)){A=!0;break}if(A){let Q=0;for(;Q<pbe;Q+=1){let z=!1;for(let D of t){let U=c[C];D?.setState?.(C,U),lG(c[C],U)||(z=!0)}if(!z)break}}}if(!A){let Q=c===N?k:{...c,[C]:k[C]};W(s,Q,C)}}finally{d=J}if(!b.listeners.size){d||(n=c);return}i.add(C),!o&&(o=!0,queueMicrotask(()=>{o=!1;let Q=c,z=i;i=new Set;let D=n;W(b,D,z),n===D&&(n=Q)}))},h={getState:Z,setState:v,__unstableInternals:{setup:m,init:X,subscribe:H,sync:R,batch:I,pick:f,omit:y}};return h}function Dt(e,...t){if(e)return ys(e,"setup")(...t)}function oG(e,...t){if(e)return ys(e,"init")(...t)}function Jl(e,...t){if(e)return ys(e,"subscribe")(...t)}function lt(e,...t){if(e)return ys(e,"sync")(...t)}function Wi(e,...t){if(e)return ys(e,"batch")(...t)}function No(e,...t){if(e)return ys(e,"omit")(...t)}function Ek(e,...t){if(e)return ys(e,"pick")(...t)}function fd(...e){let t={};for(let n of e){let l=n?.getState?.();l&&Object.assign(t,l)}let c=Tt(t,...e);return Object.assign({},...e,c)}function hbe(e){let t=e.find(l=>!!l.element),c=[...e].reverse().find(l=>!!l.element)?.element,n=t?.element?.parentElement;if(!c)return nt(n).body;for(;n;){if(n.contains(c))return n;n=n.parentElement}return nt(n).body}function Bbe(e){return e?.__unstablePrivateStore}var AR=64;function Lk(e,t){if(e.length<AR){t.ids&&(t.items=void 0,t.ids=void 0);return}if(t.items===e)return t.ids;let c=new Set;for(let n of e)c.add(n.id);return t.items=e,t.ids=c,c}function PB(e,t,c){if(e.length<AR){t.ids&&(t.items=void 0,t.ids=void 0);return}if(!c){c=new Set;for(let n of e)c.add(n.id)}t.items=e,t.ids=c}function OR(e={}){e.store;let t=e.store?.getState(),c=Je(e.items,t?.items,e.defaultItems,[]),n=Bbe(e.store),l=n?.__unstableCollectionLookup??{controlledItems:new Map(c.map(p=>[p.id,p])),registeredItems:new Map,controlledItemsSource:c,propagatedItems:c},{controlledItems:o,registeredItems:d}=l,i={},r={},a={items:c,renderedItems:Je(t?.renderedItems,[])},s=Tt(a,e.store),b=Object.assign(Tt({items:c,renderedItems:a.renderedItems},n),{__unstableCollectionLookup:l}),m=p=>{let R=dk(p,I=>I.element);b.setState("renderedItems",R),s.setState("renderedItems",R)},X=p=>{if(p!==l.controlledItemsSource){l.controlledItemsSource=p,o.clear();for(let R of p)o.set(R.id,R)}},G=(p,R)=>{if(p!=="items"){s.setState(p,R);return}s.setState("items",I=>{let f=fu(R,I);return f===I?I:(l.propagatedItems=f,X(f),f)})};Dt(s,()=>oG(b)),n||(Jl(s,["items"],({items:p})=>{p!==l.propagatedItems&&(l.propagatedItems=p,X(p))}),Dt(b,()=>Wi(b,["items"],({items:p})=>{l.propagatedItems=p,s.setState("items",p)}))),Dt(b,()=>Wi(b,["renderedItems"],p=>{if(p.renderedItems!==s.getState().renderedItems&&m(p.renderedItems),typeof IntersectionObserver!="function")return;let R=!0,I=0,f=()=>{if(R){R=!1;return}cancelAnimationFrame(I),I=requestAnimationFrame(()=>m(p.renderedItems))},y=hbe(p.renderedItems),Z=new IntersectionObserver(f,{root:y});for(let W of p.renderedItems)W.element&&Z.observe(W.element);return()=>{cancelAnimationFrame(I),Z.disconnect()}}));let g=(p,R,I)=>{let f=I?.registeredItems,y=I?.controlledItems;return Z=>{let W=f?.get(Z.id),v=!!W||!!y?.has(Z.id),h;return b.setState(p,B=>{let V=R.ids||B.length>=AR&&!v?Lk(B,R):void 0,S=V&&!V.has(Z.id)?-1:B.findIndex(({id:J})=>J===Z.id),Y=B.slice();if(S!==-1){h=B[S];let J={...h,...Z};Y[S]=J,f?.set(Z.id,J)}else Y.push(Z),f?.set(Z.id,Z),V?.add(Z.id);return(R.ids||S===-1&&Y.length>=AR)&&PB(Y,R,V),Y}),()=>{f&&(W?f.set(Z.id,W):f.delete(Z.id)),b.setState(p,B=>{let V=R.ids?Lk(B,R):void 0;if(!h){let J=B.filter(({id:k})=>k!==Z.id);return V?.delete(Z.id),R.ids&&PB(J,R,V),J}let S=B.findIndex(({id:J})=>J===Z.id);if(S===-1)return B;let Y=B.slice();return Y[S]=h,R.ids&&PB(Y,R,V),Y})}}},x=g("items",i,l),H=g("renderedItems",r);return{...s,setState:G,registerItem:x,renderItem:p=>It(x(p),H(p)),item:p=>p?d.size?d.get(p)??o.get(p)??null:o.get(p)??null:null,__unstablePrivateStore:b}}var vbe={id:null};function yd(e,t){return e.find(c=>t?!c.disabled&&c.id!==t:!c.disabled)}function Vbe(e){for(let t=e.length-1;t>=0;t-=1){let c=e[t];if(c&&!c.disabled)return c}}function Cbe(e,t){return e.filter(c=>t?!c.disabled&&c.id!==t:!c.disabled)}function Dk(e,t){return e.filter(c=>c.rowId===t)}function _k({items:e,fromIndex:t,step:c,rowId:n,excludeId:l}){for(let o=t;o>=0&&o<e.length;o+=c){let d=e[o];if(!d||d.rowId!==n||d.disabled)continue;let i=d.id;if(!(l!=null&&i===l))return i}}function KB(e,t,c=!1){let n=e.findIndex(l=>l.id===t);return[...e.slice(n+1),...c?[vbe]:[],...e.slice(0,n)]}var Fbe=48,Jbe=4;function Ybe(e){let t=[],c,n;for(let l of e){let o=l.rowId;if(c&&n===o){c.push(l);continue}let d=t.find(i=>i[0]?.rowId===o);d?(d.push(l),c=d):(c=[l],t.push(c)),n=o}return t}function Nbe(e){let t=e[0];if(!t)return[];let c=1;for(;c<e.length&&e[c]?.rowId===t.rowId;)c+=1;let n=e.slice(0,c);if(c===e.length)return[n];let l=[n],o;for(;c<e.length;c+=1){let d=e[c];if(!d)continue;let i=o?o.get(d.rowId):l.find(a=>a[0]?.rowId===d.rowId);if(i){i.push(d);continue}let r=[d];l.push(r),o?o.set(d.rowId,r):l.length===Jbe&&(o=new Map(l.map(a=>[a[0]?.rowId,a])))}return l}function QR(e){return e.length>=Fbe?Nbe(e):Ybe(e)}function jk(e){let t=0;for(let{length:c}of e)c>t&&(t=c);return t}function Sbe(e){return{id:"__EMPTY_ITEM__",disabled:!0,rowId:e}}function wbe(e,t,c){let n=jk(e);for(let l of e)for(let o=0;o<n;o+=1){let d=l[o];if(!d||c&&d.disabled){let i=o===0&&c?yd(l):l[o-1];l[o]=i&&t!==i.id&&c?i:Sbe(i?.rowId)}}return e}function kbe(e){let t=QR(e),c=jk(t),n=[];for(let l=0;l<c;l+=1)for(let o of t){let d=o[l];d&&n.push({...d,rowId:d.rowId?`${l}`:void 0})}return n}function lo(e={}){let t=e.store?.getState(),c=OR(e),n=Je(e.activeId,t?.activeId,e.defaultActiveId),l=Je(t?.compositeElement,t?.baseElement,null),o=Je(e.compositeElementInFocusOrder,e.includesBaseElement,t?.compositeElementInFocusOrder,t?.includesBaseElement,n===null),d={...c.getState(),id:Je(e.id,t?.id)??`id-${Math.random().toString(36).slice(2,8)}`,activeId:n,compositeElement:l,baseElement:l,compositeElementInFocusOrder:o,includesBaseElement:o,moves:Je(t?.moves,0),orientation:Je(e.orientation,t?.orientation,"both"),rtl:Je(e.rtl,t?.rtl,!1),virtualFocus:Je(e.virtualFocus,t?.virtualFocus,!1),focusLoop:Je(e.focusLoop,t?.focusLoop,!1),focusWrap:Je(e.focusWrap,t?.focusWrap,!1),focusShift:Je(e.focusShift,t?.focusShift,!1)},i=Tt(d,c,e.store);Dt(i,()=>It(lt(i,["compositeElement"],s=>{i.setState("baseElement",s.compositeElement)}),lt(i,["baseElement"],s=>{i.setState("compositeElement",s.baseElement)}),lt(i,["compositeElementInFocusOrder"],s=>{i.setState("includesBaseElement",s.compositeElementInFocusOrder)}),lt(i,["includesBaseElement"],s=>{i.setState("compositeElementInFocusOrder",s.includesBaseElement)}))),Dt(i,()=>lt(i,["renderedItems","activeId"],s=>{i.setState("activeId",b=>b!==void 0?b:yd(s.renderedItems)?.id)}));let r=(s="next",b={})=>{let m=i.getState(),X=Je(b.compositeElementInFocusOrder,b.includesBaseElement,m.compositeElementInFocusOrder),{skip:G=0,activeId:g=m.activeId,focusShift:x=m.focusShift,focusLoop:H=m.focusLoop,focusWrap:p=m.focusWrap,renderedItems:R=m.renderedItems,rtl:I=m.rtl}=b,f=s==="up"||s==="down",y=s==="next"||s==="down",Z=y?I&&!f:!I||f,W=x&&!G;if(!G&&!p&&!X&&g!=null&&(!f||!W&&!R.some(A=>A.rowId!=null))){let A=-1;if(R===m.renderedItems){let z=R[0];if(z&&c.item(z.id)===z){let D=c.item(g);D?.id===g&&(A=R.indexOf(D))}}A===-1&&(A=R.findIndex(z=>z.id===g));let Q=R[A];if(Q){let z=Z?-1:1,D=_k({items:R,fromIndex:A+z,step:z,rowId:Q.rowId,excludeId:g});return D!==void 0?D:H&&(f?H!=="horizontal":H!=="vertical")?_k({items:R,fromIndex:z===1?0:R.length-1,step:z,rowId:Q.rowId,excludeId:g}):void 0}}let v=f?RR(wbe(QR(R),g,W)):R;if(v=Z?HR(v):v,v=f?kbe(v):v,g==null)return yd(v)?.id;let h=v.find(A=>A.id===g);if(!h)return yd(v)?.id;let C=v.some(A=>A.rowId),B=v.indexOf(h),V=v.slice(B+1),S=Dk(V,h.rowId);if(G){let A=Cbe(S,g);return(A.slice(G)[0]||A[A.length-1])?.id}let Y=H&&(f?H!=="horizontal":H!=="vertical"),J=C&&p&&(f?p!=="horizontal":p!=="vertical"),k=y?(!C||f)&&Y&&X:f?X:!1;if(Y)return yd(KB(J&&!k?v:Dk(v,h.rowId),g,k),g)?.id;if(J){let A=yd(k?S:V,g);return k?A?.id||null:A?.id}let N=yd(S,g);return!N&&k?null:N?.id},a=(s,b)=>typeof b=="number"?r(s,{skip:b}):r(s,b);return{...c,...i,setCompositeElement:s=>i.setState("compositeElement",s),setBaseElement:s=>i.setState("compositeElement",s),setActiveId:s=>i.setState("activeId",s),move:s=>{s!==void 0&&(i.setState("activeId",s),i.setState("moves",b=>b+1))},first:()=>yd(i.getState().renderedItems)?.id,last:()=>Vbe(i.getState().renderedItems)?.id,next:s=>a("next",s),previous:s=>a("previous",s),down:s=>a("down",s),up:s=>a("up",s)}}var Pk=KB,Kk=yd,qk=QR,UR=new WeakSet;function $k(e){Rc(e)===e&&(UR.add(e),queueMicrotask(()=>UR.delete(e)))}function ez(e){UR.delete(e)}function zbe(e,t){let{virtualFocus:c,compositeElement:n}=e.getState();if(!c||!n||!On(n)){t();return}let l=n.scrollLeft,o=n.scrollTop;t(),n.scrollLeft=l,n.scrollTop=o}function tz(e){let t=e.getState();return"contentElement"in t?t.contentElement:null}function $B(e){let{compositeElement:t}=e.getState(),c=Rc(t);return c?t?.contains(c)||Bi(e,c)?!0:!!tz(e)?.contains(c):!1}function Tbe({store:e,id:t,focus:c,markedOnly:n,requireFocus:l,scrollIntoView:o,onConsume:d}){let i=null,r,a=!1,s=!1,b=!1,m=!1,X=!1,G=e.getState().compositeElement,g=Rc(G),x=l?g:null,H=!!G?.contains(g),p=V=>{if(!x)return!0;let S=Rc(x);return S===x||S===V?!0:$B(e)},R=V=>{if("mounted"in V){if(V.mounted)m=!0;else if(m)return!0}if("open"in V){if(V.open)X=!0;else if(X)return!0}return t!=null&&V.activeId!=null&&V.activeId!==t},I=(V,S)=>{if(!("open"in V)||V.open)return!1;let Y=tz(e);if(!Y?.contains(S))return!1;let{compositeElement:J}=V;return!J||Y.contains(J)?!1:fR(S)},f=V=>{let S=hi(e,r??(t===void 0?V.activeId:t));return S?.element?.isConnected?(r=S.id,S.element):null},y,Z,W=()=>{b=!0,y?.(),Z?.()},v=!1,h=()=>{v||(v=!0,d?.())},C=()=>{if(!b)return h(),W()},B=()=>{if(b)return;let V=e.getState();if(R(V))return C();let S=!1;if(i){if(!i.isConnected&&(S=a&&!s&&Rc(i)===nt(i).body,i=f(V),!i))return C()}else if(i=f(V),!i)return;if(S)a=!1;else if(!p(i))return C();let Y=c&&H&&I(V,i);if(Y){let{activeId:J}=V;if(J!=null&&J!==r)return C()}if(c&&!a&&!Y){a=!0,h(),s=!1;let J=i;y?.();let k=()=>{s=!UR.has(J)},N=()=>{s=!1};if(J.addEventListener("blur",k),J.addEventListener("focus",N),y=()=>{J.removeEventListener("blur",k),J.removeEventListener("focus",N)},zbe(e,()=>{J.focus({preventScroll:!0})}),b)return}if(n&&!i.hasAttribute("data-autofocus"))return Y?void 0:C();if(fR(i)&&!("unstable_placing"in V&&V.unstable_placing)){if(Y||C(),o){o(i);return}i.scrollIntoView({block:"nearest",inline:"nearest"})}};return Z=Jl(e,["activeId","items","mounted","open","unstable_placing"],B),B(),Object.assign(W,{settle:C})}function ER(e){let t=(0,Ju.useRef)(null),c=(0,Ju.useRef)(e),n=(0,Ju.useCallback)(()=>{t.current?.(),t.current=null},[]),l=(0,Ju.useCallback)(o=>{if(!e||c.current!==e)return;t.current?.settle(),t.current=null;let d=Tbe({store:e,...o});return t.current=d,d},[e]);return Ue(()=>(c.current=e,()=>{c.current=void 0,n()}),[e,n]),l}function hi(e,t){return t&&e.item(t)||null}function cz(e,t=!1){if(On(e))e.setSelectionRange(t?e.value.length:0,e.value.length);else if(e.isContentEditable){let c=nt(e).getSelection();c?.selectAllChildren(e),t&&c?.collapseToEnd()}}var qB=Symbol("FOCUS_SILENTLY");function nz(e){e[qB]=!0,e.focus({preventScroll:!0})}function lz(e){let t=e[qB];return delete e[qB],t}function Bi(e,t,c){if(!t||t===c)return!1;let n=e.item(t.id);return!(!n||c&&n.element===c)}var oo=u(E(),1),sz=u(F(),1);var So=u(E(),1),cv=u(iG(),1),LR=()=>()=>{};function DR(e){return Array.isArray(e)}function tv(e,t){return e===t||e!==e&&t!==t}function Mbe(e,t){if(e?.length!==t.length)return!1;for(let c=0;c<e.length;c+=1){let n=e[c];if(!tv(n,t[c]))return!1}return!0}function rz(e){let[t,c]=So.useState(()=>e===null?null:[...e]);if(e===null)return t!==null&&c(null),null;if(Mbe(t,e))return t;let n=[...e];return c(n),n}function $(e,t=IR,c){let n=rz(DR(t)?t:typeof t=="function"?null:[t]),l=So.useCallback(d=>!e||n?.length===0?LR():Jl(e,n,d),[e,n]),o=()=>{let d=e?.getState();if(DR(t))return c?.(d);if(typeof t=="function")return t(d);if(d&&In(d,t))return d[t]};return(0,cv.useSyncExternalStore)(l,o,o)}function Pbe(e,t){let c=[],n=!1;for(let l in e){let o=e[l];if(o!==void 0){if(typeof o=="function"){n=!0;continue}c.includes(o)||c.push(o)}}if(!n)return c;if(!t)return null;for(let l of t)c.includes(l)||c.push(l);return c}function Ws(e,t,c){let n=DR(t)?c??{}:t,l=DR(t)?t:void 0,o=So.useRef({}),d=rz(Pbe(n,l)),i=So.useCallback(a=>!e||d?.length===0?LR():Jl(e,d,a),[e,d]),r=()=>{let a=e?.getState(),s=!1,b=o.current;for(let m in n){let X=n[m];if(X===void 0)continue;if(typeof X=="function"){let g=X(a);Object.is(g,b[m])||(b[m]=g,s=!0)}if(typeof X=="function")continue;let G=a&&In(a,X)?a[X]:void 0;Object.is(G,b[m])||(b[m]=G,s=!0)}return s&&(o.current={...b}),o.current};return(0,cv.useSyncExternalStore)(i,r,r)}function mt(e,t,c,n){let l=In(t,c)?t[c]:void 0,o=n?t[n]:void 0,d=!!o,i=Wu({value:l,setValue:o});Ue(()=>{if(d)return Jl(e,[c],(r,a)=>{let{value:s,setValue:b}=i.current;b&&(tv(r[c],a[c])||tv(r[c],s)||b(r[c]))})},[e,c,d,i]),Ue(()=>{if(l!==void 0)return e.setState(c,l),Wi(e,[c],()=>{l!==void 0&&e.setState(c,l)})})}function nc(e,t){let[c,n]=So.useState(()=>e(t));Ue(()=>oG(c),[c]);let l=So.useCallback(o=>$(c,o),[c]);return[So.useMemo(()=>({...c,useState:l}),[c,l]),ge(()=>{n(o=>e({...t,...o.getState()}))})]}var Kbe="button";function qbe(e){return yR(e)?!0:e.tagName==="INPUT"&&!Jo(e)}function $be(e,t=!1){let c=e.clientHeight,{top:n}=e.getBoundingClientRect(),l=Math.max(c*.875,c-40)*1.5,o=t?c-l+n:l+n;return e.tagName==="HTML"?o+e.scrollTop:o}function eue(e,t=!1){let{top:c}=e.getBoundingClientRect();return t?c+e.clientHeight:c}function az(e,t,c,n=!1){if(!t||!c)return;let{renderedItems:l}=t.getState(),o=OB(e);if(!o)return;let d=$be(o,n),i,r;for(let a=0;a<l.length;a+=1){let s=i;if(i=c(a),!i)break;if(i===s)continue;let b=hi(t,i)?.element;if(!b)continue;let m=eue(b,n)-d,X=Math.abs(m);if(n&&m<=0||!n&&m>=0){r!==void 0&&r<X&&(i=s);break}r=X}return i}function tue(e,t){return uc(e)?!1:Bi(t,e.target)}var wo=ce(function({store:t,rowId:c,preventScrollOnKeyDown:n=!1,moveOnKeyPress:l=!0,tabbable:o=!1,getItem:d,typeaheadText:i,"aria-setsize":r,"aria-posinset":a,unstable_scrollIntoView:s,...b}){let m=Zd();t=t||m;let X=Wk(b),G=Ft(b.id),g=(0,oo.useRef)(null),x=(0,oo.useRef)(null),H=(0,oo.useCallback)(_=>{let j=x.current;!_&&j&&$k(j),_&&ez(_),x.current=_},[]),p=(0,oo.useContext)(zR),R=bc(b),I=R&&!X,f=R&&b.focusable===!1,y=b.shouldRegisterItem,Z=_=>{if(c)return c;if(_&&p?.compositeElement&&p.compositeElement===_.compositeElement)return p.id},{rowId:W,compositeElement:v,ariaSetSize:h,ariaPosInSet:C}=Ws(t,["compositeElement","renderedItems"],{rowId:Z,compositeElement(_){return _?.compositeElement||void 0},ariaSetSize(_){if(r!=null)return r;if(_&&p?.ariaSetSize&&p.compositeElement===_.compositeElement)return p.ariaSetSize},ariaPosInSet(_){if(a!=null)return a;if(!_||!p?.ariaPosInSet||p.compositeElement!==_.compositeElement)return;let j=Z(_),ue=_.renderedItems.filter(xe=>xe.rowId===j);return p.ariaPosInSet+ue.findIndex(xe=>xe.id===G)}}),{isActiveItem:B,isTabbable:V}=Ws(t,["activeId","compositeElement","renderedItems","virtualFocus","items"],{isActiveItem(_){return!!_&&_.activeId===G},isTabbable(_){if(!_||!_.compositeElement&&!_.renderedItems.length)return!0;if(_.virtualFocus)return!1;if(!_.renderedItems.length||o)return!0;if(_.activeId===null)return!1;let j=t?.item(_.activeId);return j?.disabled||!j?.element?!0:_.activeId===G}}),S=(0,oo.useCallback)(_=>{let j=(_.element?Bk(_.element):void 0)??(f||I),ue={..._,id:G||_.id,rowId:W,disabled:j,children:_.element?.textContent,typeaheadText:i};return d?d(ue):ue},[G,W,f,I,i,d]),Y=b.onFocus,J=(0,oo.useRef)(!1),k=(0,oo.useRef)(null),N=ER(t),A=ge(_=>{if(Y?.(_),_.defaultPrevented||ak(_)||!G||!t||tue(_,t))return;let{virtualFocus:j,compositeElement:ue}=t.getState();if(t.setActiveId(G),yR(_.currentTarget)&&cz(_.currentTarget),!j){uc(_)&&t.item(G)&&N({id:G,markedOnly:!0,requireFocus:!0,scrollIntoView:s});return}if(!uc(_)||qbe(_.currentTarget))return;let xe=(Te,ze)=>{if(!Ac(ze))return;let Ne=Te===ze||Bi(t,Te);t.item(G)&&N({id:G,markedOnly:!0,requireFocus:!0,scrollIntoView:s}),J.current=!0,Ne?nz(ze):ze.focus({preventScroll:!0})};if(ue?.isConnected){xe(_.relatedTarget,ue);return}if(y===!1)return;let{currentTarget:Be,relatedTarget:P}=_,ye=()=>{k.current?.(),k.current=null};ye(),k.current=Jl(t,null,()=>{if(Rc(Be)!==Be){ye();return}let Te=t.getState(),ze=Te.compositeElement;ze?.isConnected&&(ye(),Te.virtualFocus&&xe(P,ze))})}),Q=b.onBlurCapture,z=ge(_=>{Q?.(_),!_.defaultPrevented&&t?.getState()?.virtualFocus&&J.current&&(J.current=!1,_.preventDefault(),_.stopPropagation())}),D=b.onKeyDown,U=Wt(n),O=Wt(l),L=ge(_=>{if(D?.(_),_.defaultPrevented||!uc(_)||!t)return;let{currentTarget:j}=_,ue=t.getState(),xe=!!t.item(G)?.rowId,Be=ue.orientation!=="horizontal",P=ue.orientation!=="vertical",ye=()=>!!(xe||P||!ue.compositeElement||!On(ue.compositeElement)),Te={ArrowUp:(xe||Be)&&t.up,ArrowRight:(xe||P)&&t.next,ArrowDown:(xe||Be)&&t.down,ArrowLeft:(xe||P)&&t.previous,Home:()=>{if(ye())return!xe||_.ctrlKey?t?.first():t?.previous(-1)},End:()=>{if(ye())return!xe||_.ctrlKey?t?.last():t?.next(-1)},PageUp:()=>az(j,t,t?.up,!0),PageDown:()=>az(j,t,t?.down)}[_.key];if(Te){if(yR(j)){let Ne=ok(j),He=P&&_.key==="ArrowLeft",we=P&&_.key==="ArrowRight",pe=Be&&_.key==="ArrowUp",ve=Be&&_.key==="ArrowDown";if(we||ve){let{length:Ve}=lk(j);if(Ne.end!==Ve)return}else if((He||pe)&&Ne.start!==0)return}let ze=Te();if(U(_)||ze!==void 0){if(!O(_))return;_.preventDefault(),t.move(ze)}}}),M=(0,oo.useMemo)(()=>({id:G,compositeElement:v}),[G,v]);return b=Le(b,_=>(0,sz.jsx)(kk.Provider,{value:M,children:_}),[M]),b={"data-active-item":B||void 0,...b,id:G,ref:Me(g,H,b.ref),tabIndex:V?b.tabIndex:-1,onFocus:A,onBlurCapture:z,onKeyDown:L},b=fs(b),b=cG({store:t,...b,getItem:S,shouldRegisterItem:G?y:!1}),{...b,"aria-setsize":h,"aria-posinset":C}}),hs=mc(te(function(t){let c=wo(vc(t));return ne(Kbe,c)}));var rG=Jt([bl],[yn]),cue=rG.useContext,bz=rG.useScopedContext,_R=rG.useProviderContext,YYe=rG.ContextProvider,jR=rG.ScopedContextProvider;var uz=u(E(),1),nv=u(F(),1);var nue="button",lue=ce(function({store:t,getItem:c,...n}){let l=bz();t=t||l,ke(t,!1);let o=Ft(),d=n.id||o,i=bc(n),r=(0,uz.useCallback)(x=>{let H={...x,dimmed:i};return c?c(H):H},[i,c]),a=n.onClick,s=ge(x=>{a?.(x),!x.defaultPrevented&&t?.setSelectedId(d)}),b=$(t.panels,["items"],()=>t.panel(d)?.id),m=o?n.shouldRegisterItem:!1,X=$(t,["selectedId"],x=>!!d&&x.selectedId===d),G=$(t.composite?t:void 0,["activeId","items","selectedId"],x=>!x||!d?!1:x.activeId===d?!0:x.selectedId!==d?!1:!t.item(x.activeId)),g=X||(n.accessibleWhenDisabled??!0);if($(t.combobox||t.composite,"virtualFocus")&&(n={...n,tabIndex:-1}),n={role:"tab","aria-selected":X,"aria-controls":b||void 0,...n,id:d,onClick:s},t.composite){let x={id:d,accessibleWhenDisabled:g,store:t.composite,shouldRegisterItem:G&&m,rowId:n.rowId,render:n.render};n={...n,render:(0,nv.jsx)(hs,{...x,render:t.combobox&&t.composite!==t.combobox?(0,nv.jsx)(hs,{...x,store:t.combobox}):x.render})}}return n=wo({store:t,...n,accessibleWhenDisabled:g,getItem:r,shouldRegisterItem:m}),n}),Nu=mc(te(function(t){let c=lue(vc(t));return ne(nue,c)}));var oue=Symbol("cancelled"),mz=new WeakMap;function Bs(e){let t=e.item,c=mz.get(t);if(c)return c;let n={consumedBy:null,targetId:e.getState().activeId};return mz.set(t,n),lt(e,["moves","activeId"],(l,o)=>{if(l.moves!==o.moves){n.consumedBy=null,n.targetId=l.activeId;return}l.activeId!==o.activeId&&(n.targetId=oue)}),n}var Su=u(E(),1),MR=u(F(),1);var due="div";function iue(e){return e.some(t=>!!t.rowId)}function rue(e){let t=e.target;return t&&!On(t)?!1:e.key.length===1&&!e.ctrlKey&&!e.metaKey}function aue(e){return e.key==="Shift"||e.key==="Control"||e.key==="Alt"||e.key==="Meta"}function Xz(e,t,c){return ge(n=>{if(t?.(n),n.defaultPrevented||n.isPropagationStopped()||!uc(n)||aue(n)||rue(n))return;let l=e.getState(),o=hi(e,l.activeId)?.element;if(!o)return;let{view:d,...i}=n;o!==c?.current&&o.focus({preventScroll:!0}),uk(o,n.type,i)||n.preventDefault(),n.currentTarget.contains(o)&&n.stopPropagation()})}function sue(e){return Kk(RR(HR(qk(e))))}function Gz(e,t){let{consumedBy:c}=Bs(e);return!c||c===t}function gz(e,t,c){e.getState().moves===c&&(Bs(e).consumedBy=t)}var bue=mc(function({store:t,focusOnMove:c,previousElementRef:n,present:l,scrollIntoView:o}){let d=$(t,"moves"),i=$(t,"compositeElement"),r=(0,Su.useRef)({});return(0,Su.useEffect)(()=>{let a=Bs(t);if(!d||!c)return;let s=r.current;if(!Gz(t,s))return;let{activeId:b}=t.getState();if(b!=null&&b===a.targetId)return l({id:b,requireFocus:$B(t),focus:!0,scrollIntoView:o,onConsume:()=>gz(t,s,d)})},[t,d,c,i,l,o]),Ue(()=>{let a=Bs(t);if(!d||!i)return;let s=r.current;if(!Gz(t,s))return;let{activeId:b}=t.getState();if(b!==null||b!==a.targetId)return;gz(t,s,d);let m=n.current;n.current=null,m&&Rs(m,{relatedTarget:i}),Is(i)||(Ac(i)&&i.scrollIntoView({block:"nearest",inline:"nearest"}),i.focus({preventScroll:!0}))},[t,d,i,n]),null}),ko=ce(function({store:t,composite:c=!0,focusOnMove:n=c,moveOnKeyPress:l=!0,unstable_scrollIntoView:o,...d}){let i=wk();t=t||i,ke(t,!1);let r=(0,Su.useRef)(null),a=(0,Su.useRef)(null),s=ER(t),[,b]=NR(c?t.setCompositeElement:null),m=$(t,"virtualFocus"),X=$(t,c&&m?["activeId"]:[],h=>c&&m?h.activeId:null);Ue(()=>{if(!t||!c||!m)return;let h=a.current;if(a.current=null,!h)return;let C=hi(t,X)?.element||Rc(h);C!==h&&Rs(h,{relatedTarget:C})},[t,X,m,c]);let G=Xz(t,d.onKeyDownCapture,a),g=Xz(t,d.onKeyUpCapture,a),x=d.onFocusCapture,H=ge(h=>{if(x?.(h),h.defaultPrevented||!t)return;let{virtualFocus:C}=t.getState();if(!C)return;let B=h.relatedTarget,V=lz(h.currentTarget);uc(h)&&V&&(h.stopPropagation(),a.current=B)}),p=d.onFocus,R=ge(h=>{if(p?.(h),h.defaultPrevented||!c||!t)return;let{relatedTarget:C}=h,{virtualFocus:B}=t.getState();if(B)uc(h)&&!Bi(t,C)&&queueMicrotask(()=>s({focus:!0,markedOnly:!0,requireFocus:!0,scrollIntoView:o}));else if(uc(h)){if(!Bi(t,C)){let{activeId:V}=t.getState();V!=null&&s({id:V,markedOnly:!0,requireFocus:!0,scrollIntoView:o})}t.setActiveId(null)}}),I=d.onBlurCapture,f=ge(h=>{if(I?.(h),h.defaultPrevented||!t)return;let{virtualFocus:C,activeId:B,compositeElement:V}=t.getState();if(!C||h.currentTarget!==V)return;let S=hi(t,B)?.element,Y=h.relatedTarget,J=Bi(t,Y),k=a.current;a.current=null,uc(h)&&J?(Y===S?k&&k!==Y&&Rs(k,h):S?Rs(S,h):k&&Rs(k,h),h.stopPropagation()):!Bi(t,h.target)&&S&&Rs(S,h)}),y=d.onKeyDown,Z=Wt(l),W=ge(h=>{if(y?.(h),h.nativeEvent.isComposing||h.defaultPrevented||!t||!uc(h))return;let{orientation:C,items:B,renderedItems:V,activeId:S,rtl:Y}=t.getState(),J=hi(t,S);if(J?.element?.isConnected)return;let k=J&&S!=null,N=k?B:V,A=C!=="horizontal",Q=C!=="vertical",z=iue(N);if((h.key==="ArrowLeft"||h.key==="ArrowRight"||h.key==="Home"||h.key==="End")&&On(h.currentTarget))return;let M={ArrowUp:(z||A)&&(()=>k?t.up({activeId:S,renderedItems:N}):z?sue(V)?.id:t?.last()),ArrowRight:(z||Q)&&(()=>k?t.next({activeId:S,renderedItems:N}):Y?t.last():t.first()),ArrowDown:(z||A)&&(()=>k?t.down({activeId:S,renderedItems:N}):t.first()),ArrowLeft:(z||Q)&&(()=>k?t.previous({activeId:S,renderedItems:N}):Y?t.first():t.last()),Home:t.first,End:t.last,PageUp:t.first,PageDown:t.last}[h.key];if(M){let _=M();if(_!==void 0){if(!Z(h))return;h.preventDefault(),t.move(_)}}});d=Le(d,h=>(0,MR.jsxs)(yn,{value:t,children:[h,c&&(0,MR.jsx)(bue,{store:t,focusOnMove:n,previousElementRef:a,present:s,scrollIntoView:o})]}),[t,c,n,s]),d={"aria-activedescendant":$(t,c&&m?["items"]:[],()=>{if(t&&c&&m)return hi(t,X)?.id}),...d,ref:Me(r,b,d.ref),onKeyDownCapture:G,onKeyUpCapture:g,onFocusCapture:H,onFocus:R,onBlurCapture:f,onKeyDown:W};let v=$(t,c&&!m?["activeId"]:[],h=>c&&(m||h.activeId===null));return d=Yo({focusable:v,...d}),d}),PR=te(function(t){let c=ko(t);return ne(due,c)});var xz=u(F(),1);var uue="div",mue=ce(function({store:t,...c}){let n=_R();t=t||n,ke(t,!1);let l=$(t,["orientation"],o=>o.orientation==="both"?void 0:o.orientation);return c=Le(c,o=>(0,xz.jsx)(jR,{value:t,children:o}),[t]),t.composite&&(c={focusable:!1,...c}),c={role:"tablist","aria-orientation":l,...c},c=ko({store:t,...c}),c}),wu=te(function(t){let c=mue(t);return ne(uue,c)});var aG=Jt(),Xue=aG.useContext,oNe=aG.useScopedContext,sG=aG.useProviderContext,pz=aG.ContextProvider,Rz=aG.ScopedContextProvider;var lv=u(E(),1),bG=Jt([pz],[Rz]),aNe=bG.useContext,sNe=bG.useScopedContext,vs=bG.useProviderContext,Hz=bG.ContextProvider,ku=bG.ScopedContextProvider,Iz=(0,lv.createContext)(void 0),Zz=(0,lv.createContext)(void 0);var Vs=u(E(),1),ov=u(F(),1);var Bz=u(io(),1),Gue="div";function yz(e,t){let c=setTimeout(t,e);return()=>clearTimeout(c)}function Wz(e){let t=e?.trim()||"0s",c=t.endsWith("ms")?1:1e3,n=Number.parseFloat(t)*c;return Number.isNaN(n)?0:n}function hz(e,t,c){let n=e.split(","),l=t.split(","),o=c.split(","),d=0;for(let[i,r]of n.entries()){if(r.trim()==="none")continue;let a=Wz(l[i%l.length]),s=Wz(o[i%o.length]);d=Math.max(d,a+s)}return d}function gue(e){let{transitionProperty:t,transitionDuration:c,transitionDelay:n,animationName:l,animationDuration:o,animationDelay:d}=getComputedStyle(e);return Math.max(hz(t,n,c),hz(l,d,o))}function vi(e,t,c){return!c&&t!==!1&&(!e||!!t)}var Cs=ce(function({store:t,alwaysVisible:c,unstable_otherElementRef:n,...l}){let o=sG();t=t||o,ke(t,!1);let d=(0,Vs.useRef)(null),i=Ft(l.id),[r,a]=(0,Vs.useState)(null),{open:s,mounted:b,animated:m,contentElement:X}=Ws(t,{open:"open",mounted:"mounted",animated:"animated",contentElement:"contentElement"}),G=$(t.disclosure,"contentElement"),g=(0,Vs.useRef)(!1);Ue(()=>{d.current&&t?.setContentElement(d.current)},[t]),Ue(()=>{let R;return t?.setState("animated",I=>(R=I,!0)),()=>{R!==void 0&&t?.setState("animated",R)}},[t]),Ue(()=>{if(!m){s?g.current&&(g.current=!1,a("enter")):(g.current=!0,a(null));return}if(!X?.isConnected){a(null);return}return ck(()=>{a(s?"enter":b?"leave":null)})},[m,X,s,b]),Ue(()=>{if(!t||!m||!r||!X)return;let R=()=>t?.setState("animating",!1),I=()=>(0,Bz.flushSync)(R);if(r==="leave"&&s||r==="enter"&&!s)return;if(typeof m=="number")return yz(m,I);let f=[X];G&&f.push(G);let y=n?.current;y&&f.push(y);let Z=Math.max(...f.map(gue));if(!Z){r==="enter"&&t.setState("animated",!1),R();return}return yz(Math.max(Z-1e3/60,0),I)},[t,m,X,G,n,s,r]),l=Le(l,R=>(0,ov.jsx)(ku,{value:t,children:R}),[t]);let x=vi(b,l.hidden,c),H=l.style,p=(0,Vs.useMemo)(()=>x?{...H,display:"none"}:H,[x,H]);return l={"data-open":s||void 0,"data-enter":r==="enter"||void 0,"data-leave":r==="leave"||void 0,hidden:x,...l,id:i,ref:Me(i?t.setContentElement:null,d,l.ref),style:p},co(l)}),xue=te(function(t){let c=Cs(t);return ne(Gue,c)}),KR=te(function({unmountOnHide:t,...c}){let n=sG(),l=c.store||n;return $(l,["mounted"],o=>!t||o?.mounted)===!1?null:(0,ov.jsx)(xue,{...c})});function qR(e={}){let t=e.store||e.disclosure?fd(e.store,No(e.disclosure,["contentElement","disclosureElement"])):void 0;let c=t?.getState(),n=Je(e.open,c?.open,e.defaultOpen,!1),l=Je(e.animated,c?.animated,!1),o={open:n,animated:l,animating:!!l&&n,mounted:n,contentElement:Je(c?.contentElement,null),disclosureElement:Je(c?.disclosureElement,null)},d=t?Tt(o,t):Tt(o);return Dt(d,()=>lt(d,["animated","animating"],i=>{i.animated||d.setState("animating",!1)})),Dt(d,()=>Jl(d,["open"],()=>{d.getState().animated&&d.setState("animating",!0)})),Dt(d,()=>lt(d,["open","animating"],i=>{d.setState("mounted",i.open||i.animating)})),{...d,disclosure:e.disclosure,setOpen:i=>d.setState("open",i),show:()=>d.setState("open",!0),hide:()=>d.setState("open",!1),toggle:()=>d.setState("open",i=>!i),stopAnimation:()=>d.setState("animating",!1),setContentElement:i=>d.setState("contentElement",i),setDisclosureElement:i=>d.setState("disclosureElement",i)}}function dv(e,t,c){return Qn(t,[c.store,c.disclosure,t]),mt(e,c,"open","setOpen"),mt(e,c,"mounted","setMounted"),mt(e,c,"animated"),Object.assign(e,{disclosure:c.disclosure})}function Tr(e={}){let[t,c]=nc(qR,e);return dv(t,c,e)}var Vi=u(E(),1),vz=u(F(),1);var Rue="div",Hue=ce(function({store:t,unmountOnHide:c,tabId:n,getItem:l,scrollRestoration:o,scrollElement:d,...i}){let r=_R();t=t||r,ke(t,!1);let a=(0,Vi.useRef)(null),s=Ft(i.id),b=$(n?void 0:t.panels,["items"],()=>n||t?.panels.item(s)?.tabId),m=$(t,["selectedId"],y=>!!b&&y.selectedId===b),X=Tr({open:m}),G=$(X,"mounted"),g=(0,Vi.useRef)(null),x=ge(()=>{let y=a.current;return y?d?typeof d=="function"?d(y):"current"in d?d.current:d:y:null});(0,Vi.useEffect)(()=>{if(!o||!G)return;let y=x();if(!y)return;if(o==="reset"){y.scroll(0,0);return}if(!b)return;let Z=g.current;Z||(Z=new Map,g.current=Z);let W=Z.get(b);y.scroll(W?.x??0,W?.y??0);let v=()=>{Z.set(b,{x:y.scrollLeft,y:y.scrollTop})};return y.addEventListener("scroll",v),()=>{y.removeEventListener("scroll",v)}},[o,G,b,x]);let[H,p]=(0,Vi.useState)(!1);Ue(()=>{if(!G)return;let y=a.current;y&&p(!!Zu(y))},[G,b]);let R=(0,Vi.useCallback)(y=>{let Z={...y,id:s||y.id,tabId:n};return l?l(Z):Z},[s,n,l]),I=i.onKeyDown,f=ge(y=>{if(I?.(y),y.defaultPrevented||!t?.composite)return;let Z={ArrowLeft:t.previous,ArrowRight:t.next,Home:t.first,End:t.last}[y.key];if(!Z)return;let{selectedId:W}=t.getState(),v=Z({activeId:W});v&&(y.preventDefault(),t.move(v))});return i=Le(i,y=>(0,vz.jsx)(jR,{value:t,children:y}),[t]),i={role:"tabpanel","aria-labelledby":i["aria-label"]!=null?void 0:b||void 0,...i,id:s,children:c&&!G?null:i.children,ref:Me(a,i.ref),onKeyDown:f},i=Yo({focusable:!t.composite&&!H,...i}),i=Cs({store:X,...i}),i=cG({store:t.panels,...i,getItem:R}),i}),zu=te(function(t){let c=Hue(t);return ne(Rue,c)});var uG=Jt([Hz],[ku]),Vz=uG.useContext,SNe=uG.useScopedContext,mG=uG.useProviderContext,Tu=uG.ContextProvider,Wd=uG.ScopedContextProvider;var XG=u(E(),1),ANe=(0,XG.createContext)(null),GG=Jt([Tu,bl],[Wd,yn]),Cz=GG.useContext,ONe=GG.useScopedContext,$R=GG.useProviderContext,QNe=GG.ContextProvider,UNe=GG.ScopedContextProvider,ENe=(0,XG.createContext)(void 0),LNe=(0,XG.createContext)(!1),DNe=(0,XG.createContext)(null);function Fz(e,t,c){return Qn(t,[c.store,t]),mt(e,c,"items","setItems"),e}function gG(e){return{id:Ft(e.id),...e}}function zo(e,t,c){e=Fz(e,t,c),Bs(e),mt(e,c,"activeId","setActiveId");let n={compositeElementInFocusOrder:c.compositeElementInFocusOrder??c.includesBaseElement};return mt(e,n,"compositeElementInFocusOrder"),mt(e,c,"virtualFocus"),mt(e,c,"orientation"),mt(e,c,"rtl"),mt(e,c,"focusLoop"),mt(e,c,"focusWrap"),mt(e,c,"focusShift"),e}function Au(e={}){e=gG(e);let[t,c]=nc(lo,e);return zo(t,c,e)}var iv=u(E(),1),xG=Jt([Tu,bl],[Wd,yn]),Fs=xG.useContext,Jz=xG.useScopedContext,Js=xG.useProviderContext,o3e=xG.ContextProvider,eH=xG.ScopedContextProvider,tH=(0,iv.createContext)(!1),rv=(0,iv.createContext)(null);var Nz=u(E(),1);function Iue(e){let t=e[0]?.element;if(!t)return;let c=Rc(t);if(c)return e.find(n=>n.element===c)}function Zue(e,t){if(t!=null)return e.find(c=>c.id===t)}function cH(e){return!(!e||e.disabled||e.dimmed)}function fue(){let e=OR(),t=new Map;return lt(e,["items"],c=>{t.clear();for(let n of c.items){let{tabId:l}=n;l!=null&&(t.has(l)||t.set(l,n))}}),{panels:e,panel:c=>c==null?null:t.get(c)||null}}function Yz({composite:e,combobox:t,...c}={}){let n=["items","renderedItems","moves","orientation","virtualFocus","compositeElementInFocusOrder","includesBaseElement","compositeElement","baseElement","focusLoop","focusShift","focusWrap","selectOnMove"],l=fd(c.store,No(e,n),No(t,n)),o=l?.getState(),d=lo({...c,store:l,compositeElementInFocusOrder:Je(c.compositeElementInFocusOrder,c.includesBaseElement,o?.compositeElementInFocusOrder,o?.includesBaseElement,!1),orientation:Je(c.orientation,o?.orientation,"horizontal"),focusLoop:Je(c.focusLoop,o?.focusLoop,!0)}),{panels:i,panel:r}=fue(),a={...d.getState(),selectedId:Je(c.selectedId,o?.selectedId,c.defaultSelectedId),selectOnMove:Je(c.selectOnMove,o?.selectOnMove,!0)},s=Tt(a,d,l);Dt(s,()=>lt(s,["moves"],()=>{let{activeId:G,selectOnMove:g}=s.getState();if(!g||!G)return;let x=d.item(G);cH(x)&&s.setState("selectedId",x.id)}));let b=!1,m;Dt(s,()=>(b=!1,Wi(s,["selectedId"],(G,g)=>{if(b&&(b=!1,G.selectedId===m)||e&&G.selectedId===g.selectedId)return;let{activeId:x,renderedItems:H}=s.getState();if(x===G.selectedId)return;let p=Iue(H),R=Zue(H,G.selectedId);if(p&&cH(R)){d.move(R.id);return}s.setState("activeId",G.selectedId)}))),Dt(s,()=>lt(s,["selectedId","renderedItems"],G=>{if(G.selectedId!==void 0)return;let{activeId:g,renderedItems:x}=s.getState(),H=d.item(g);if(cH(H))s.setState("selectedId",H.id);else{let p=x.find(cH);s.setState("selectedId",p?.id)}})),Dt(s,()=>lt(s,["renderedItems"],G=>{let g=G.renderedItems;if(g.length)return lt(i,["renderedItems"],x=>{let H=x.renderedItems;H.some(p=>!p.tabId)&&H.forEach((p,R)=>{if(p.tabId)return;let I=g[R];I&&i.renderItem({...p,tabId:I.id})})})}));let X=null;return Dt(s,()=>{let G=()=>{X=s.getState().selectedId},g=()=>{let{selectedId:p}=s.getState();p!==X&&(b=!0,m=X,s.setState("selectedId",X))},x=!!e&&"setSelectedValue"in e,H=x?e:t;if(e&&!x&&"setSelectElement"in e)return It(lt(e,["value"],G),lt(e,["mounted"],g));if(H)return It(lt(H,["selectedValue"],G),lt(H,["mounted"],g))}),{...d,...s,panels:i,panel:r,setSelectedId:G=>s.setState("selectedId",G),select:G=>{s.setState("selectedId",G),d.move(G)}}}function Wue(e,t,c){Qn(t,[c.composite,c.combobox,t]);let n=zo(e,t,c);mt(n,c,"selectedId","setSelectedId"),mt(n,c,"selectOnMove");let[l,o]=nc(()=>n.panels,{});return Qn(o,[n,o]),Object.assign((0,Nz.useMemo)(()=>({...n,panels:l}),[n,l]),{composite:c.composite,combobox:c.combobox})}function Ou(e={}){let t=Cz(),c=Fs()||t,n={...e,composite:e.composite!==void 0?e.composite:c,combobox:e.combobox!==void 0?e.combobox:t},[l,o]=nc(Yz,n);return Wue(l,o,n)}var pG=Jt([bl],[yn]),av=pG.useContext,y3e=pG.useScopedContext,Sz=pG.useProviderContext,W3e=pG.ContextProvider,wz=pG.ScopedContextProvider;function kz(e={}){let t=e.store?.getState();return lo({...e,orientation:Je(e.orientation,t?.orientation,"horizontal"),focusLoop:Je(e.focusLoop,t?.focusLoop,!0)})}function Bue(e,t,c){return zo(e,t,c)}function Qu(e={}){let[t,c]=nc(kz,e);return Bue(t,c,e)}var zz=u(F(),1);var vue="div",Vue=ce(function({store:t,orientation:c,virtualFocus:n,focusLoop:l,rtl:o,...d}){let i=Sz();t=t||i;let r=Qu({store:t,orientation:c,virtualFocus:n,focusLoop:l,rtl:o}),a=$(r,["orientation"],s=>s.orientation==="both"?void 0:s.orientation);return d=Le(d,s=>(0,zz.jsx)(wz,{value:r,children:s}),[r]),d={role:"toolbar","aria-orientation":a,...d},d=ko({store:r,...d}),d}),nH=te(function(t){let c=Vue(t);return ne(vue,c)});var Cue="button",Fue=ce(function({store:t,...c}){let n=av();return t=t||n,c=wo({store:t,...c}),c}),lH=mc(te(function(t){let c=Fue(vc(t));return ne(Cue,c)}));var Jue="hr",sv=ce(function({orientation:t="horizontal",...c}){return c={role:"separator","aria-orientation":t,...c},c}),oH=te(function(t){let c=sv(t);return ne(Jue,c)});var Yue="hr",bv=ce(function({store:t,orientation:c,...n}){let l=Zd();t=t||l,ke(t,!1);let o=$(t,["orientation"],d=>c??(d.orientation==="horizontal"?"vertical":"horizontal"));return n=sv({...n,orientation:o}),n}),Nue=te(function(t){let c=bv(t);return ne(Yue,c)});var Tz=u(F(),1),Sue="div",uv=ce(function({autoFocusOnShow:t=!0,...c}){return c=Le(c,n=>(0,Tz.jsx)(xR.Provider,{value:t,children:n}),[t]),c}),nSe=te(function(t){let c=uv(t);return ne(Sue,c)});var Az=u(E(),1),mv=(0,Az.createContext)(0);var Oz=u(E(),1),Qz=u(F(),1);function Uz({level:e,children:t}){let c=(0,Oz.useContext)(mv),n=Math.max(Math.min(e||c+1,6),1);return(0,Qz.jsx)(mv.Provider,{value:n,children:t})}var wue="span";function RG(e){return{borderWidth:0,clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px",...e}}var Xv=ce(function(t){return t={...t,style:RG(t.style)},t}),aSe=te(function(t){let c=Xv(t);return ne(wue,c)});var kue="span",zue=ce(function(t){return t={"data-focus-trap":"",tabIndex:0,"aria-hidden":!0,...t,style:{position:"fixed",top:0,left:0,...t.style}},t=Xv(t),t}),HG=te(function(t){let c=zue(t);return ne(kue,c)});var Ez=u(E(),1),Gv=(0,Ez.createContext)(null);var Un=u(E(),1),Wn=u(F(),1),gv=u(io(),1),Tue="div";function Lz(e){let t=nt(e),{fullscreenElement:c}=t,n=Zn(e).HTMLElement;return n&&c instanceof n?c:t.body}function Aue(e,t){return t?typeof t=="function"?t(e):t:nt(e).createElement("div")}function Oue(e="id"){return`${e?`${e}-`:""}${Math.random().toString(36).slice(2,8)}`}function Ar(e){queueMicrotask(()=>{e?.focus()})}function Dz(e,t){return{ref:e,node:t,cleanup:$X(e,t)}}function _z(e){typeof e.cleanup=="function"?e.cleanup():$X(e.ref,null)}var xv=ce(function({preserveTabOrder:t,preserveTabOrderAnchor:c,portalElement:n,portalRef:l,portal:o=!0,...d}){let i=(0,Un.useRef)(null),r=Me(i,d.ref),a=(0,Un.useContext)(Gv),[s,b]=(0,Un.useState)(null),[m,X]=(0,Un.useState)(null),G=(0,Un.useRef)(null),g=(0,Un.useRef)(null),x=(0,Un.useRef)(null),H=(0,Un.useRef)(null),p=Wu(l),R=(0,Un.useRef)(null);return Ue(()=>{let I=i.current;if(!I||!o){b(null);return}let f=Aue(I,n);if(!f){b(null);return}let y=f.isConnected;return y||(a||Lz(I)).appendChild(f),f.id||(f.id=I.id?`portal/${I.id}`:Oue()),b(f),R.current=Dz(p.current,f),()=>{let Z=R.current;Z&&(R.current=null,_z(Z)),y||f.remove()}},[o,n,a,p]),Ue(()=>{let I=R.current;I&&I.ref!==l&&(_z(I),R.current=Dz(l,I.node))},[l]),(0,Un.useEffect)(()=>{if(!s||a||n)return;let I=nt(s),f=()=>{let y=Lz(s);s.parentElement!==y&&y.appendChild(s)};return s.isConnected&&f(),I.addEventListener("fullscreenchange",f),()=>{I.removeEventListener("fullscreenchange",f)}},[s,a,n]),Ue(()=>{if(!o||!t||!c)return;let I=nt(c).createElement("span");return I.style.position="fixed",c.insertAdjacentElement("afterend",I),X(I),()=>{I.remove(),X(null)}},[o,t,c]),(0,Un.useEffect)(()=>{if(!s||!t)return;let I=0,f=y=>{if(!Id(y))return;let Z=y.type==="focusin";if(cancelAnimationFrame(I),Z)return Gk(s);I=requestAnimationFrame(()=>{Xk(s,!0)})};return s.addEventListener("focusin",f,!0),s.addEventListener("focusout",f,!0),()=>{cancelAnimationFrame(I),s.removeEventListener("focusin",f,!0),s.removeEventListener("focusout",f,!0)}},[s,t]),d=Le(d,I=>{if(I=(0,Wn.jsx)(Gv.Provider,{value:s||a,children:I}),!o)return I;if(!s)return(0,Wn.jsx)("span",{ref:r,id:d.id,style:{position:"fixed"},hidden:!0});I=(0,Wn.jsxs)(Wn.Fragment,{children:[t&&(0,Wn.jsx)(HG,{ref:g,"data-focus-trap":d.id,className:"__focus-trap-inner-before",onFocus:y=>{Id(y,s)?Ar(JR()):Ar(G.current)}}),I,t&&(0,Wn.jsx)(HG,{ref:x,"data-focus-trap":d.id,className:"__focus-trap-inner-after",onFocus:y=>{Id(y,s)?Ar(UB()):Ar(H.current)}})]}),I=(0,gv.createPortal)(I,s);let f=(0,Wn.jsxs)(Wn.Fragment,{children:[t&&(0,Wn.jsx)(HG,{ref:G,"data-focus-trap":d.id,className:"__focus-trap-outer-before",onFocus:y=>{y.relatedTarget!==H.current&&Id(y,s)?Ar(g.current):Ar(UB())}}),t&&(0,Wn.jsx)("span",{"aria-owns":s.id,style:{position:"fixed"}}),t&&(0,Wn.jsx)(HG,{ref:H,"data-focus-trap":d.id,className:"__focus-trap-outer-after",onFocus:y=>{if(Id(y,s))Ar(x.current);else{let Z=JR();if(Z===g.current){requestAnimationFrame(()=>JR()?.focus());return}Ar(Z)}}})]});return m&&t&&(f=(0,gv.createPortal)(f,m)),(0,Wn.jsxs)(Wn.Fragment,{children:[f,I]})},[s,a,o,d.id,t,m]),d={...d,ref:r},d}),RSe=te(function(t){let c=xv(t);return ne(Tue,c)});function dH(e,...t){if(!e)return!1;let c=e.getAttribute("data-backdrop");return c==null?!1:c===""||c==="true"||!t.length?!0:t.some(n=>c===n)}var jz=new WeakMap;function Que(e,t,c){for(;c.length;){let n=c[c.length-1];if(!n){e.delete(t);return}if(!n.disposed)return;c.pop(),n.cleanup()}e.delete(t)}function Uu(e,t,c){let n=jz.get(e);n||(n=new Map,jz.set(e,n));let l=n.get(t)??[],o={cleanup:c(),disposed:!1};return l.length||n.set(t,l),l.push(o),()=>{l.includes(o)&&(o.disposed=!0,Que(n,t,l))}}function IG(e,t,c){return Uu(e,t,()=>{let l=e.getAttribute(t);return e.setAttribute(t,c),()=>{l==null?e.removeAttribute(t):e.setAttribute(t,l)}})}function hd(e,t,c){return Uu(e,t,()=>{let l=t in e,o=e[t];return e[t]=c,()=>{l?e[t]=o:delete e[t]}})}function Eu(e,t){return e?Uu(e,"style",()=>{let n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}):()=>{}}function ZG(e,t,c){return e?Uu(e,t,()=>{let l=e.style.getPropertyValue(t),o=e.style.getPropertyPriority(t);return e.style.setProperty(t,c),()=>{l?e.style.setProperty(t,l,o):e.style.removeProperty(t)}}):()=>{}}var iH=new WeakMap;function Lu(e="",t="outside"){return`__ariakit-dialog-${t}${e?`-${e}`:""}`}function Mz(e,t=""){return It(hd(e,Lu(),!0),hd(e,Lu(t),!0))}function rH(e,t=""){return It(hd(e,Lu("","ancestor"),!0),hd(e,Lu(t,"ancestor"),!0))}function pv(e,t){let c=new WeakSet;iH.set(e,c);for(let n of t)n&&c.add(n);return()=>{iH.get(e)===c&&iH.delete(e)}}function fG(e,t){let c=iH.get(t);if(!c)return!1;do{if(c.has(e))return!0;if(!e.parentElement)return!1;e=e.parentElement}while(!0)}function Ys(e,t){let c=Lu(t,"ancestor");if(e[c])return!0;let n=Lu(t);do{if(e[n])return!0;if(!e.parentElement)return!1;e=e.parentElement}while(!0)}function aH({cleanups:e,element:t,id:c,ids:n}){dH(t,...n)||e.push(Mz(t,c))}function sH({cleanups:e,ancestor:t,element:c,id:n}){c.hasAttribute("data-dialog")&&c.id!==n||e.push(rH(t,n))}function bH(e){for(let t=e.length-1;t>=0;t-=1)e[t]?.()}var Uue=["SCRIPT","STYLE"];function Rv(e){return`__ariakit-dialog-snapshot-${e}`}function Eue(e,t){let c=nt(t),n=Rv(e);if(!c.body[n])return!0;do{if(t===c.body)return!1;if(t[n])return!0;if(!t.parentElement)return!1;t=t.parentElement}while(!0)}function Lue(e,t,c){return Uue.includes(t.tagName)||!Eue(e,t)?!1:!c.some(n=>n&&Ct(t,n))}function yG(e,t,c,n){for(let l of t){if(!l?.isConnected)continue;let o=t.some(r=>!r||r===l?!1:r.contains(l)),d=nt(l),i=l;for(;l.parentElement&&l!==d.body;){if(n?.(l.parentElement,i),!o)for(let r of l.parentElement.children)Lue(e,r,t)&&c(r,i);l=l.parentElement}}}function Pz(e,t){let{body:c}=nt(t[0]),n=[];return yG(e,t,o=>{n.push(hd(o,Rv(e),!0))}),It(hd(c,Rv(e),!0),()=>{for(let o of n)o()})}function Kz(e,t){let c=[],n=t.map(o=>o?.id);return yG(e,t,o=>{aH({cleanups:c,element:o,id:e,ids:n})},(o,d)=>{sH({cleanups:c,ancestor:o,element:d,id:e})}),()=>{bH(c)}}var Due="div",_ue=["a","button","details","dialog","div","form","h1","h2","h3","h4","h5","h6","header","img","input","label","li","nav","ol","p","section","select","span","summary","textarea","ul","svg"],NSe=ce(function(t){return t}),Bd=te(function(t){return ne(Due,t)});Object.assign(Bd,_ue.reduce((e,t)=>(e[t]=te(function(n){return ne(t,n)}),e),{}));var mH=u(E(),1),uH=u(F(),1);function qz({store:e,backdrop:t,backdropRef:c,alwaysVisible:n,hidden:l}){let o=(0,mH.useRef)(null),d=Tr({disclosure:e}),i=$(e,"contentElement");Ue(()=>{let s=o.current,b=i;s&&b&&(s.style.zIndex=getComputedStyle(b).zIndex)},[i]),Ue(()=>{let s=i?.id;if(!s)return;let b=o.current;if(b)return rH(b,s)},[i]);let r=Cs({ref:Me(o,c),store:d,role:"presentation","data-backdrop":i?.id||"",alwaysVisible:n,...l!=null&&{hidden:l},style:{position:"fixed",top:0,right:0,bottom:0,left:0}});return t?(0,mH.isValidElement)(t)?(0,uH.jsx)(Bd,{...r,render:t}):(0,uH.jsx)(Bd,{...r,render:(0,uH.jsx)(typeof t!="boolean"?t:"div",{})}):null}function XH(e={}){return qR(e)}function Hv(e,t,c){return dv(e,t,c)}function Iv(e={}){let[t,c]=nc(XH,e);return Hv(t,c,e)}function Ns(e,...t){if(!e)return!1;let c=e.getAttribute("data-dialog-hidden-dismiss");return c==null?!1:c===""||!t.length?!0:t.some(n=>c===n)}function GH(){return"inert"in HTMLElement.prototype}function $z(e){return IG(e,"aria-hidden","true")}function eT(e,...t){if(!e)return!1;let c=e.getAttribute("data-focus-trap");return c==null?!1:t.length?c===""?!1:t.some(n=>c===n):!0}function Zv(e,t){if(!("style"in e))return xs;if(GH())return hd(e,"inert",!0);let c=FR(e,!0).map(n=>{if(t?.some(o=>o&&Ct(o,n)))return xs;let l=Uu(n,"focus",()=>(n.focus=xs,()=>{delete n.focus}));return It(IG(n,"tabindex","-1"),l)});return It(...c,$z(e),Eu(e,{pointerEvents:"none",userSelect:"none",cursor:"default"}))}function Mue({cleanups:e,element:t,elements:c,ids:n}){dH(t,...n)||eT(t,...n)||Ns(t,...n)||e.push(Zv(t,c))}function Pue(e,t,c){t.hasAttribute("role")&&(c.some(n=>n&&Ct(n,t))||e.push(IG(t,"role","none")))}function tT(e,t){let c=[],n=t.map(o=>o?.id);return yG(e,t,o=>{aH({cleanups:c,element:o,id:e,ids:n}),Mue({cleanups:c,element:o,elements:t,ids:n})},(o,d)=>{sH({cleanups:c,ancestor:o,element:d,id:e}),Pue(c,o,t)}),()=>{bH(c)}}var gH=u(E(),1);function fv(e){let t=[e];for(;;){let c;try{c=Zn(e).frameElement}catch{return t}if(!Tc(c))return t;t.push(c),e=c}}function yv(e,t){let c=e.composedPath().filter(Tc);!c.length&&Tc(e.target)&&c.push(e.target);let n=c[0];if(n)for(let o of fv(n).slice(1))c.includes(o)||c.push(o);let l=t?.getRootNode();return{elements:c,rootTarget:l?c.find(o=>o.getRootNode()===l)||e.target:c[0]||e.target}}function cT(e,t,c){let n=(0,gH.useRef)(null);return(0,gH.useEffect)(()=>{if(!e){n.current=null;return}return Kt("mousedown",o=>{n.current=yv(o,c)},!0,t)},[e,t,c]),n}var xH=u(E(),1);function lT(e){let t=fv(e).at(-1);return Zn(t??e)}function nT(e){return e.isConnected}function Kue(e,t){if(!e)return!1;if(Ct(e,t))return!0;let c=t.getAttribute("aria-activedescendant");if(c){let n=nt(t).getElementById(c);if(n)return Ct(e,n)}return!1}function que(e,t){if(!("clientY"in e))return!1;let c=t.getBoundingClientRect();return c.width===0||c.height===0?!1:c.top<=e.clientY&&e.clientY<=c.top+c.height&&c.left<=e.clientX&&e.clientX<=c.left+c.width}function $ue(e,t,c){return Ct(t,e)||Kue(c,e)||e.hasAttribute("data-focus-trap")||Ns(e,t.id)?!0:fG(e,t)}function oT(e,t,c){return e.elements.some(n=>$ue(n,t,c))}function Wv({store:e,type:t,listener:c,capture:n,open:l,contentElement:o,focusedRef:d}){let i=ge(c);(0,xH.useEffect)(()=>{if(!l)return;let r=s=>{let{contentElement:b,disclosureElement:m}=e.getState();if(!b)return;let X=yv(s,b),G=X.elements[0],g=X.rootTarget;if(!Tc(g)||G&&!nT(G)||!nT(g)||oT(X,b,m))return;let x=nt(b);if(nt(g)!==x){i(s);return}nt(G??g)===x&&que(s,b)||d.current&&!Ys(g,b.id)||i(s)},a=o?lT(o):void 0;return Kt(t,r,n,a)},[l,n,e,t,i,o,d])}function hv(e,t){return typeof e=="function"?e(t):!!e}function dT({store:e,hideOnInteractOutside:t,domReady:c,interactedOutsideRef:n,focusedStoreRef:l}){let o=$(e,"open"),d=$(e,"contentElement"),i=d?lT(d):void 0,r=cT(o,i,d),a=(0,xH.useRef)(!1);Ue(()=>{if(!o||!c||!d)return;a.current=!1;let b=()=>{a.current=!0,l.current=e};return d.addEventListener("focusin",b,!0),()=>d.removeEventListener("focusin",b,!0)},[o,c,d,e,l]);let s={store:e,capture:!0,open:o,contentElement:d,focusedRef:a};Wv({...s,type:"click",listener:b=>{let{contentElement:m,disclosureElement:X}=e.getState(),G=r.current;if(!G||!m||oT(G,m,X))return;let g=G.rootTarget;Tc(g)&&(nt(g)===nt(m)&&!Ys(g,m.id)||hv(t,b)&&(n.current=!0,e.hide()))}}),Wv({...s,type:"focusin",listener:b=>{let{contentElement:m}=e.getState();if(!m||b.target===nt(m)||!hv(t,b))return;let X=b.target;Tc(X)&&nt(X)!==nt(m)&&(n.current=!0),e.hide()}}),Wv({...s,type:"contextmenu",listener:b=>{hv(t,b)&&(n.current=!0,e.hide())}})}var To=u(E(),1),rT=u(F(),1);var iT=(0,To.createContext)({});function aT(e){let t=(0,To.useContext)(iT),[c,n]=(0,To.useState)([]),l=(0,To.useCallback)(d=>(n(i=>[...i,d]),It(t.add?.(d),()=>{n(i=>i.filter(r=>r!==d))})),[t]);Ue(()=>lt(e,["open","contentElement"],d=>{if(d.open&&d.contentElement)return t.add?.(e)}),[e,t]);let o=(0,To.useMemo)(()=>({store:e,add:l}),[e,l]);return{wrapElement:(0,To.useCallback)(d=>(0,rT.jsx)(iT.Provider,{value:o,children:d}),[o]),nestedDialogs:c}}var sT=u(E(),1),bT=u(io(),1);function uT({attribute:e,contentId:t,contentElement:c,enabled:n}){let[l,o]=vu(),d=(0,sT.useCallback)(()=>{if(!n||!c)return!1;let{body:i}=nt(c),r=i.getAttribute(e);return!r||r===t},[l,n,c,e,t]);return Ue(()=>{if(!n||!t||!c)return;let{body:i}=nt(c);if(d())return i.setAttribute(e,t),()=>i.removeAttribute(e);let r=new MutationObserver(()=>(0,bT.flushSync)(o));return r.observe(i,{attributeFilter:[e]}),()=>r.disconnect()},[l,n,t,c,d,e,o]),d}var XT=u(E(),1),GT=WR()&&!rk(),eme=GT?XT.useEffect:Ue;function tme(e){let{CSS:t}=e;return!!t?.supports("scrollbar-gutter","stable")}function mT(e){let t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function gT(e,t,c){let n=uT({attribute:"data-dialog-prevent-body-scroll",contentElement:e,contentId:t,enabled:c});eme(()=>{if(!n()||!e)return;let l=nt(e),o=Zn(e),{documentElement:d,body:i}=l,r=d.style.getPropertyValue("--scrollbar-width"),a=r?Number.parseInt(r,10):o.innerWidth-d.clientWidth,s=()=>{let X=o.getComputedStyle(d),G=X.getPropertyValue("scrollbar-gutter"),g=G.includes("stable"),x=I=>!I||I==="visible",H=!x(X.getPropertyValue("overflow-x"))||!x(X.getPropertyValue("overflow-y")),p=()=>It(ZG(d,"overflow-x","hidden"),ZG(d,"overflow-y","hidden")),R=I=>H?It(I,p()):I;return!g&&!a?R(Eu(i,{overflow:"hidden"})):g||tme(o)?It(ZG(d,"scrollbar-gutter",g?G:"stable"),p()):R(It(ZG(d,"--scrollbar-width",`${a}px`),Eu(i,{overflow:"hidden",[mT(d)]:`${a}px`})))},b=()=>{let{scrollX:X,scrollY:G,visualViewport:g}=o,x=g?.offsetLeft??0,H=g?.offsetTop??0,p=Eu(i,{position:"fixed",overflow:"hidden",top:`${-(G-Math.floor(H))}px`,left:`${-(X-Math.floor(x))}px`,right:"0",[mT(d)]:`${a}px`});return()=>{p(),o.scrollTo({left:X,top:G,behavior:"instant"})}};if(GT)return b();let m=s();return()=>{queueMicrotask(m)}},[n,e])}var ic=u(E(),1),dn=u(F(),1);var RT=new WeakSet;function cme(e){RT.add(e)}function vv(e){return RT.has(e)}var nme="div",lme=hR(),Bv=new WeakSet;function ome(e){let t=Rc(e);return!t||e&&Ct(e,t)||Ns(t,e?.id)?!1:!!Ac(t)}function dme(e){let t=e;for(;t.shadowRoot;){let c=t.shadowRoot.activeElement;if(!Tc(c))break;t=c}return t}function xT(e,t,c){return Ct(t,e)||c&&Ct(c,e)?!0:fG(e,t)}function ime(e){let t=e.querySelectorAll("[data-dialog-dismiss]");for(let c of t)if(c.closest("[data-dialog]")===e)return!0;return!1}function pT(e,t=!1){if(!e)return null;let c="current"in e?e.current:e;return c?t?Ac(c)?c:null:c:null}function rme(e){if(!e.isConnected)return[];let t=e.getRootNode(),c=t.querySelectorAll("[data-dialog][data-dialog-portal][data-open]"),n=[],l=!1;for(let o of c){if(o===e){l=!0;continue}if(!l)continue;let d=o.getAttribute("data-dialog-portal");if(!d)continue;let i=t.getElementById(d);!i||!Ct(i,o)||Bv.has(i)||n.push(i)}return n}var Vv=ce(function({store:t,open:c,onClose:n,focusable:l=!0,modal:o=!0,portal:d=o,backdrop:i=o,hideOnEscape:r=!0,hideOnInteractOutside:a=!0,getPersistentElements:s,preventBodyScroll:b=o,autoFocusOnShow:m=!0,autoFocusOnHide:X=!0,initialFocus:G,finalFocus:g,unmountOnHide:x,unstable_treeSnapshotKey:H,...p}){let R=vs(),I=(0,ic.useRef)(null),f=(0,ic.useRef)(null),y=o&&d&&!p.portalElement,Z=Iv({store:t||R,open:c,setOpen(le){if(le)return;let Fe=I.current;if(!Fe)return;let Qe=new Event("close",{bubbles:!1,cancelable:!0});n&&Fe.addEventListener("close",n,{once:!0}),Fe.dispatchEvent(Qe),Qe.defaultPrevented&&Z.setOpen(!0)}}),{portalRef:W,portalNode:v,domReady:h}=Vu(d,p.portalRef),C=p.preserveTabOrder,B=$(Z,["mounted"],le=>C&&!o&&le.mounted),V=Ft(p.id),S=$(Z,"open"),Y=$(Z,"mounted"),J=$(Z,"contentElement"),k=vi(Y,p.hidden,p.alwaysVisible);gT(J,V,b&&!k);let N=(0,ic.useRef)(!1),A=(0,ic.useRef)(null);Ue(()=>lt(Z,["open"],le=>{if(!le.open){A.current=null;return}N.current=!1,A.current!==Z&&(A.current=null)}),[Z]),dT({store:Z,hideOnInteractOutside:a,domReady:h,interactedOutsideRef:N,focusedStoreRef:A});let{wrapElement:Q,nestedDialogs:z}=aT(Z);p=Le(p,Q,[Q]);let D=(0,ic.useRef)(null);lme&&(0,ic.useEffect)(()=>{if(!h)return;let le=I.current;if(!le)return;let Fe=nt(le),Qe=he=>{D.current=he.target};return Fe.addEventListener("mousedown",Qe,!0),()=>{Fe.removeEventListener("mousedown",Qe,!0)}},[h]),Ue(()=>{if(!S||A.current===Z)return;let le=I.current;if((()=>{let{disclosureElement:Ke}=Z.getState();return!(!Ke||vv(Ke)||!Ke.isConnected||le&&Ct(le,Ke))})())return;let Qe=Ke=>{cme(Ke),Z.setDisclosureElement(Ke)},he=Rc(le,{activeDescendant:!0});if(he){if(he.tagName==="BODY"){let Ke=D.current;if(D.current=null,!Ke?.isConnected||!Ac(Ke)||le&&Ct(le,Ke))return;Qe(Ke);return}le&&Ct(le,he)||Qe(he)}},[Z,S]),(0,ic.useEffect)(()=>{if(!Y||!h)return;let le=I.current;if(!le)return;let Fe=Zn(le),Qe=Fe.visualViewport||Fe,he=()=>{let Ke=Fe.visualViewport?.height??Fe.innerHeight;le.style.setProperty("--dialog-viewport-height",`${Ke}px`)};return he(),Qe.addEventListener("resize",he),()=>{Qe.removeEventListener("resize",he)}},[Y,h]);let[U,O]=(0,ic.useState)(!1);Ue(()=>{if(!(o&&S&&h)||!J){O(!1);return}let le=()=>{O(!ime(J))};le();let{MutationObserver:Fe}=Zn(J),Qe=new Fe(le);return Qe.observe(J,{childList:!0,subtree:!0}),()=>Qe.disconnect()},[o,S,h,J]),Ue(()=>{if(!GH()||S||!Y||!h)return;let le=I.current;if(le)return Zv(le)},[S,Y,h]);let L=S&&h,M=(0,ic.useRef)(null);Ue(()=>{if(!V||!y||!L||!v){M.current=null;return}let le=I.current;if(!le||!Ct(v,le)){M.current=null;return}return M.current?.portal!==v&&(M.current={portal:v,peers:rme(le)}),Bv.add(v),()=>{Bv.delete(v)}},[V,L,y,v]),Ue(()=>{if(!V||!L)return;let le=I.current;return Pz(V,[le])},[V,L,H]);let _=ge(s);Ue(()=>{if(!V||!L)return;let{disclosureElement:le}=Z.getState(),Fe=J??I.current;if(!Fe)return;let Qe=[Fe,..._()||[],...M.current?.peers||[],...z.map(Ke=>Ke.getState().contentElement)],he=pv(Fe,Qe);return o?It(he,tT(V,Qe)):It(he,Kz(V,[le,...Qe]))},[V,Z,L,J,o,y,_,z,H]);let j=!!m,ue=Wt(m),[xe,Be]=(0,ic.useState)(!1);(0,ic.useEffect)(()=>{if(!S||!j||!h||!J?.isConnected)return;let le=pT(G,!0)||J.querySelector("[data-autofocus=true],[autofocus]")||Zu(J,!0,d&&B)||J,Fe=Ac(le);ue(Fe?le:null)&&(Be(!0),queueMicrotask(()=>{let{open:Qe,disclosureElement:he}=Z.getState();if(!Qe)return;let Ke=Rc(J,{frame:!1}),ut=Ke&&dme(Ke);A.current===Z&&Ke&&ut&&Ac(ut)&&!xT(Ke,J,he)&&!xT(ut,J,he)||(Ac(le)&&le.scrollIntoView({block:"nearest",inline:"nearest"}),le.focus({preventScroll:!0}))}))},[S,j,h,J,G,d,B,Z,ue,A]);let P=!!X,ye=Wt(X),[Te,ze]=(0,ic.useState)(!1);Ue(()=>{if(S)return ze(!0),()=>ze(!1)},[S]);let Ne=(0,ic.useCallback)((le,Fe=!0)=>{if(N.current)return;let{disclosureElement:Qe}=Z.getState();if(ome(le))return;let he=pT(g)||Qe;if(he?.id){let ut=nt(he),kt=`[aria-activedescendant="${he.id}"]`,al=ut.querySelector(kt);al&&(he=al)}if(he&&!Ac(he)){let ut=he.closest("[data-dialog]");if(ut?.id){let kt=nt(ut),al=`[aria-controls~="${ut.id}"]`,$e=kt.querySelector(al);$e&&(he=$e)}}let Ke=he&&Ac(he);if(!Ke&&Fe){requestAnimationFrame(()=>Ne(le,!1));return}ye(Ke?he:null)&&Ke&&he?.focus()},[Z,g,ye]),He=(0,ic.useRef)(!1);Ue(()=>{if(S||!Te||!P)return;let le=I.current;He.current=!0,Ne(le)},[S,Te,h,P,Ne]),(0,ic.useEffect)(()=>{if(!Te||!P)return;let le=I.current;return()=>{if(He.current){He.current=!1;return}Ne(le)}},[Te,P,Ne]);let we=Wt(r),[pe]=(0,ic.useState)(()=>new WeakMap),ve=p.onKeyDown,Ve=p.onKeyDownCapture,qe=p.onFocusCapture,Vt=ge(le=>{if(qe?.(le),!Z.getState().open)return;let Fe=le.target;qX(Fe)&&Ct(le.currentTarget,Fe)&&(A.current=Z)}),Ge=ge(le=>{if(le.key!=="Escape"||!le.bubbles)return!1;let Fe=pe.get(le);if(Fe)return le.defaultPrevented&&!Fe.defaultPrevented?!1:Fe.accepted;if(le.defaultPrevented)return!1;let Qe=I.current;if(!Y||!Qe||Ys(Qe))return!1;let he=we(le);return pe.set(le,{accepted:he,defaultPrevented:le.defaultPrevented}),he}),We=ge(le=>{let Fe=Ge(le);return pe.delete(le),Fe?(Z.hide(),!0):!1}),se=ge(le=>{let Fe=le.nativeEvent,Qe=Fe.cancelBubble;if(ve?.(le),Qe){pe.delete(Fe);return}We(Fe)&&le.stopPropagation()}),ee=ge(le=>{let Fe=le.nativeEvent,Qe=Fe.cancelBubble;if(Ve?.(le),Qe){pe.delete(Fe);return}(le.isPropagationStopped()||Fe.cancelBubble)&&We(Fe)});(0,ic.useEffect)(()=>{if(!h||!Y)return;let le=he=>{if(he.key!=="Escape"||!he.bubbles)return;if(he.cancelBubble){pe.delete(he);return}if(pe.has(he))return;let Ke=I.current;if(!Ke)return;let ut=he.target;if(!qX(ut))return;let{disclosureElement:kt}=Z.getState();(Tc(ut)&&ut.tagName==="BODY"||Ct(Ke,ut)||!kt||Ct(kt,ut)||Tc(ut)&&Ys(ut,Ke.id)||Tc(ut)&&Ns(ut,Ke.id))&&Ge(he)&&he.cancelBubble&&We(he)},Fe=he=>{if(pe.has(he)){if(he.cancelBubble){pe.delete(he);return}We(he)&&he.stopPropagation()}},Qe=J?Zn(J):void 0;return It(Kt("keydown",le,!0,Qe),Kt("keydown",Fe,!1,Qe))},[Z,h,Y,J,We,Ge,pe]),p=Le(p,le=>(0,dn.jsx)(Uz,{level:o?1:void 0,children:le}),[o]);let Ae=p.hidden,ot=p.alwaysVisible;p=Le(p,le=>(0,dn.jsxs)(dn.Fragment,{children:[U&&(0,dn.jsx)("button",{type:"button",tabIndex:-1,"data-dialog-hidden-dismiss":V||"",style:RG(),onClick:Z.hide,children:"Dismiss popup"}),le]}),[U,V,Z]),p=Le(p,le=>(0,dn.jsxs)(dn.Fragment,{children:[!!i&&(0,dn.jsx)(qz,{store:Z,backdrop:i,backdropRef:f,hidden:Ae,alwaysVisible:ot}),le]}),[Z,i,Ae,ot]);let[ft,Lt]=(0,ic.useState)(),[kc,Ye]=(0,ic.useState)();return p=Le(p,le=>(0,dn.jsx)(ku,{value:Z,children:(0,dn.jsx)(Iz.Provider,{value:Lt,children:(0,dn.jsx)(Zz.Provider,{value:Ye,children:le})})}),[Z]),p={"data-dialog":"",role:"dialog",tabIndex:l?-1:void 0,"aria-labelledby":p["aria-label"]!=null?void 0:ft,"aria-describedby":kc,...p,"data-dialog-portal":y?v?.id:void 0,id:V,ref:Me(I,p.ref),onFocusCapture:Vt,onKeyDown:se,onKeyDownCapture:ee},p=uv({...p,autoFocusOnShow:xe}),p=Cs({store:Z,...p,unstable_otherElementRef:f}),p=Yo({...p,focusable:l}),p=xv({portal:d,...p,portalRef:W,preserveTabOrder:B}),p});function Ao(e,t=vs){return te(function(n){let l=t(),o=n.store||l;return $(o,["mounted"],d=>!n.unmountOnHide||d?.mounted||!!n.open)?(0,dn.jsx)(e,{...n}):null})}var HT=Ao(te(function(t){let c=Vv(t);return ne(nme,c)}),vs),ame=te(function(t){let c=Iv({open:t.open});return(0,dn.jsx)(HT,{...t,store:c})}),Kwe=te(function(t){let c=vs();return t.store||c||!t.unmountOnHide?(0,dn.jsx)(HT,{...t}):(0,dn.jsx)(ame,{...t})});function vd(e){return e.split("-")[0]}var jT=u(E(),1),Nv=u(F(),1);var Vd=Math.min,Oo=Math.max,Or=Math.round,hG=Math.floor,Cd=e=>({x:e,y:e}),sme={left:"right",right:"left",bottom:"top",top:"bottom"};function BG(e,t,c){return Oo(e,Vd(t,c))}function Qo(e,t){return typeof e=="function"?e(t):e}function hn(e){return e.split("-")[0]}function Yl(e){return e.split("-")[1]}function RH(e){return e==="x"?"y":"x"}function Du(e){return e==="y"?"height":"width"}function ul(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function _u(e){return RH(ul(e))}function fT(e,t,c){c===void 0&&(c=!1);let n=Yl(e),l=_u(e),o=Du(l),d=l==="x"?n===(c?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(d=WG(d)),[d,WG(d)]}function yT(e){let t=WG(e);return[pH(e),t,pH(t)]}function pH(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var IT=["left","right"],ZT=["right","left"],bme=["top","bottom"],ume=["bottom","top"];function mme(e,t,c){switch(e){case"top":case"bottom":return c?t?ZT:IT:t?IT:ZT;case"left":case"right":return t?bme:ume;default:return[]}}function WT(e,t,c,n){let l=Yl(e),o=mme(hn(e),c==="start",n);return l&&(o=o.map(d=>d+"-"+l),t&&(o=o.concat(o.map(pH)))),o}function WG(e){let t=hn(e);return sme[t]+e.slice(t.length)}function Xme(e){var t,c,n,l;return{top:(t=e.top)!=null?t:0,right:(c=e.right)!=null?c:0,bottom:(n=e.bottom)!=null?n:0,left:(l=e.left)!=null?l:0}}function vG(e){return typeof e!="number"?Xme(e):{top:e,right:e,bottom:e,left:e}}function Ss(e){let{x:t,y:c,width:n,height:l}=e;return{width:n,height:l,top:c,left:t,right:t+n,bottom:c+l,x:t,y:c}}function hT(e,t,c){let{reference:n,floating:l}=e,o=ul(t),d=_u(t),i=Du(d),r=hn(t),a=o==="y",s=n.x+n.width/2-l.width/2,b=n.y+n.height/2-l.height/2,m=n[i]/2-l[i]/2,X;switch(r){case"top":X={x:s,y:n.y-l.height};break;case"bottom":X={x:s,y:n.y+n.height};break;case"right":X={x:n.x+n.width,y:b};break;case"left":X={x:n.x-l.width,y:b};break;default:X={x:n.x,y:n.y}}let G=Yl(t);return G&&(X[d]+=m*(G==="end"?1:-1)*(c&&a?-1:1)),X}async function BT(e,t){var c;t===void 0&&(t={});let{x:n,y:l,platform:o,rects:d,elements:i,strategy:r}=e,{boundary:a="clippingAncestors",rootBoundary:s="viewport",elementContext:b="floating",altBoundary:m=!1,padding:X=0}=Qo(t,e),G=vG(X),x=i[m?b==="floating"?"reference":"floating":b],H=Ss(await o.getClippingRect({element:(c=await(o.isElement==null?void 0:o.isElement(x)))==null||c?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:a,rootBoundary:s,strategy:r})),p=b==="floating"?{x:n,y:l,width:d.floating.width,height:d.floating.height}:d.reference,R=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),I=await(o.isElement==null?void 0:o.isElement(R))&&await(o.getScale==null?void 0:o.getScale(R))||{x:1,y:1},f=Ss(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:p,offsetParent:R,strategy:r}):p);return{top:(H.top-f.top+G.top)/I.y,bottom:(f.bottom-H.bottom+G.bottom)/I.y,left:(H.left-f.left+G.left)/I.x,right:(f.right-H.right+G.right)/I.x}}var Gme=50,vT=async(e,t,c)=>{let{placement:n="bottom",strategy:l="absolute",middleware:o=[],platform:d}=c,i=d.detectOverflow?d:{...d,detectOverflow:BT},r=await(d.isRTL==null?void 0:d.isRTL(t)),a=await d.getElementRects({reference:e,floating:t,strategy:l}),{x:s,y:b}=hT(a,n,r),m=n,X=0,G={};for(let g=0;g<o.length;g++){let x=o[g];if(!x)continue;let{name:H,fn:p}=x,{x:R,y:I,data:f,reset:y}=await p({x:s,y:b,initialPlacement:n,placement:m,strategy:l,middlewareData:G,rects:a,platform:i,elements:{reference:e,floating:t}});s=R??s,b=I??b,G[H]={...G[H],...f},y&&X<Gme&&(X++,typeof y=="object"&&(y.placement&&(m=y.placement),y.rects&&(a=y.rects===!0?await d.getElementRects({reference:e,floating:t,strategy:l}):y.rects),{x:s,y:b}=hT(a,m,r)),g=-1)}return{x:s,y:b,placement:m,strategy:l,middlewareData:G}},VT=e=>({name:"arrow",options:e,async fn(t){let{x:c,y:n,placement:l,rects:o,platform:d,elements:i,middlewareData:r}=t,{element:a,padding:s=0}=Qo(e,t)||{};if(a==null)return{};let b=vG(s),m={x:c,y:n},X=_u(l),G=Du(X),g=await d.getDimensions(a),x=X==="y",H=x?"top":"left",p=x?"bottom":"right",R=x?"clientHeight":"clientWidth",I=o.reference[G]+o.reference[X]-m[X]-o.floating[G],f=m[X]-o.reference[X],y=await(d.getOffsetParent==null?void 0:d.getOffsetParent(a)),Z=y?y[R]:0;(!Z||!await(d.isElement==null?void 0:d.isElement(y)))&&(Z=i.floating[R]||o.floating[G]);let W=I/2-f/2,v=Z/2-g[G]/2-1,h=Vd(b[H],v),C=Vd(b[p],v),B=Z-g[G]-C,V=Z/2-g[G]/2+W,S=BG(h,V,B),Y=!r.arrow&&Yl(l)!=null&&V!==S&&o.reference[G]/2-(V<h?h:C)-g[G]/2<0,J=Y?V<h?V-h:V-B:0;return{[X]:m[X]+J,data:{[X]:S,centerOffset:V-S-J,...Y&&{alignmentOffset:J}},reset:Y}}});var CT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var c,n;let{placement:l,middlewareData:o,rects:d,initialPlacement:i,platform:r,elements:a}=t,{mainAxis:s=!0,crossAxis:b=!0,fallbackPlacements:m,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:G="none",flipAlignment:g=!0,...x}=Qo(e,t);if((c=o.arrow)!=null&&c.alignmentOffset)return{};let H=hn(l),p=ul(i),R=hn(i)===i,I=await(r.isRTL==null?void 0:r.isRTL(a.floating)),f=m||(R||!g?[WG(i)]:yT(i)),y=G!=="none";!m&&y&&f.push(...WT(i,g,G,I));let Z=[i,...f],W=await r.detectOverflow(t,x),v=[],h=((n=o.flip)==null?void 0:n.overflows)||[];if(s&&v.push(W[H]),b){let S=fT(l,d,I);v.push(W[S[0]],W[S[1]])}if(h=[...h,{placement:l,overflows:v}],!v.every(S=>S<=0)){var C,B;let S=(((C=o.flip)==null?void 0:C.index)||0)+1,Y=Z[S];if(Y&&(!(b==="alignment"?p!==ul(Y):!1)||h.every(N=>ul(N.placement)===p?N.overflows[0]>0:!0)))return{data:{index:S,overflows:h},reset:{placement:Y}};let J=(B=h.filter(k=>k.overflows[0]<=0).sort((k,N)=>k.overflows[1]-N.overflows[1])[0])==null?void 0:B.placement;if(!J)switch(X){case"bestFit":{var V;let k=(V=h.filter(N=>{if(y){let A=ul(N.placement);return A===p||A==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(A=>A>0).reduce((A,Q)=>A+Q,0)]).sort((N,A)=>N[1]-A[1])[0])==null?void 0:V[0];k&&(J=k);break}case"initialPlacement":J=i;break}if(l!==J)return{reset:{placement:J}}}return{}}}};var FT=new Set(["left","top"]);async function gme(e,t){let{placement:c,platform:n,elements:l}=e,o=await(n.isRTL==null?void 0:n.isRTL(l.floating)),d=hn(c),i=Yl(c),r=ul(c)==="y",a=FT.has(d)?-1:1,s=o&&r?-1:1,b=Qo(t,e),{mainAxis:m,crossAxis:X,alignmentAxis:G}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return i&&typeof G=="number"&&(X=i==="end"?G*-1:G),r?{x:X*s,y:m*a}:{x:m*a,y:X*s}}var JT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var c,n;let{x:l,y:o,placement:d,middlewareData:i}=t,r=await gme(t,e);return d===((c=i.offset)==null?void 0:c.placement)&&(n=i.arrow)!=null&&n.alignmentOffset?{}:{x:l+r.x,y:o+r.y,data:{...r,placement:d}}}}},YT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:c,y:n,placement:l,platform:o}=t,{mainAxis:d=!0,crossAxis:i=!1,limiter:r={fn:p=>{let{x:R,y:I}=p;return{x:R,y:I}}},...a}=Qo(e,t),s={x:c,y:n},b=await o.detectOverflow(t,a),m=ul(l),X=RH(m),G=s[X],g=s[m],x=(p,R)=>BG(R+b[p==="y"?"top":"left"],R,R-b[p==="y"?"bottom":"right"]);d&&(G=x(X,G)),i&&(g=x(m,g));let H=r.fn({...t,[X]:G,[m]:g});return{...H,data:{x:H.x-c,y:H.y-n,enabled:{[X]:d,[m]:i}}}}}},NT=function(e){return e===void 0&&(e={}),{options:e,fn(t){var c,n;let{x:l,y:o,placement:d,rects:i,middlewareData:r}=t,{offset:a=0,mainAxis:s=!0,crossAxis:b=!0}=Qo(e,t),m={x:l,y:o},X=ul(d),G=RH(X),g=m[G],x=m[X],H=Qo(a,t),p=typeof H=="number"?{mainAxis:H,crossAxis:0}:{mainAxis:(c=H.mainAxis)!=null?c:0,crossAxis:(n=H.crossAxis)!=null?n:0};if(s){let f=G==="y"?"height":"width",y=i.reference[G]-i.floating[f]+p.mainAxis,Z=i.reference[G]+i.reference[f]-p.mainAxis;g<y?g=y:g>Z&&(g=Z)}if(b){var R,I;let f=G==="y"?"width":"height",y=FT.has(hn(d)),Z=i.reference[X]-i.floating[f]+(y&&((R=r.offset)==null?void 0:R[X])||0)+(y?0:p.crossAxis),W=i.reference[X]+i.reference[f]+(y?0:((I=r.offset)==null?void 0:I[X])||0)-(y?p.crossAxis:0);x<Z?x=Z:x>W&&(x=W)}return{[G]:g,[X]:x}}}},ST=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:c,rects:n,platform:l,elements:o}=t,{apply:d=()=>{},...i}=Qo(e,t),r=await l.detectOverflow(t,i),a=hn(c),s=Yl(c),b=ul(c)==="y",{width:m,height:X}=n.floating,G,g;a==="top"||a==="bottom"?(G=a,g=s===(await(l.isRTL==null?void 0:l.isRTL(o.floating))?"start":"end")?"left":"right"):(g=a,G=s==="end"?"top":"bottom");let x=X-r.top-r.bottom,H=m-r.left-r.right,p=Vd(X-r[G],x),R=Vd(m-r[g],H),I=t.middlewareData.shift,f=!I,y=p,Z=R;I!=null&&I.enabled.x&&(Z=H),I!=null&&I.enabled.y&&(y=x),f&&!s&&(b?Z=m-2*Oo(r.left,r.right):y=X-2*Oo(r.top,r.bottom)),await d({...t,availableWidth:Z,availableHeight:y});let W=await l.getDimensions(o.floating);return m!==W.width||X!==W.height?{reset:{rects:!0}}:{}}}};function HH(){return typeof window<"u"}function Hc(e){return IH(e)?(e.nodeName||"").toLowerCase():"#document"}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Jd(e){var t;return(t=(IH(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function IH(e){return HH()?e instanceof Node||e instanceof ht(e).Node:!1}function ct(e){return HH()?e instanceof Element||e instanceof ht(e).Element:!1}function st(e){return HH()?e instanceof HTMLElement||e instanceof ht(e).HTMLElement:!1}function Fd(e){return!HH()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function ks(e){let{overflow:t,overflowX:c,overflowY:n,display:l}=Oc(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+c)&&l!=="inline"&&l!=="contents"}function wT(e){return/^(table|td|th)$/.test(Hc(e))}function VG(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var xme=/transform|translate|scale|rotate|perspective|filter/,pme=/paint|layout|strict|content/,ws=e=>!!e&&e!=="none",Cv;function ZH(e){let t=ct(e)?Oc(e):e;return ws(t.transform)||ws(t.translate)||ws(t.scale)||ws(t.rotate)||ws(t.perspective)||!fH()&&(ws(t.backdropFilter)||ws(t.filter))||xme.test(t.willChange||"")||pme.test(t.contain||"")}function kT(e){let t=ro(e);for(;st(t)&&!ao(t);){if(ZH(t))return t;if(VG(t))return null;t=ro(t)}return null}function fH(){return Cv==null&&(Cv=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Cv}function ao(e){return/^(html|body|#document)$/.test(Hc(e))}function Oc(e){return ht(e).getComputedStyle(e)}function CG(e){return ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ro(e){if(Hc(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Fd(e)&&e.host||Jd(e);return Fd(t)?t.host:t}function zT(e){let t=ro(e);return ao(t)?(e.ownerDocument||e).body:st(t)&&ks(t)?t:zT(t)}function Qr(e,t,c){var n;t===void 0&&(t=[]),c===void 0&&(c=!0);let l=zT(e),o=l===((n=e.ownerDocument)==null?void 0:n.body),d=ht(l);if(o){let i=yH(d);return t.concat(d,d.visualViewport||[],ks(l)?l:[],i&&c?Qr(i):[])}else return t.concat(l,Qr(l,[],c))}function yH(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function OT(e){let t=Oc(e),c=parseFloat(t.width)||0,n=parseFloat(t.height)||0,l=st(e),o=l?e.offsetWidth:c,d=l?e.offsetHeight:n,i=Or(c)!==o||Or(n)!==d;return i&&(c=o,n=d),{width:c,height:n,$:i}}function Jv(e){return ct(e)?e:e.contextElement}function ju(e){let t=Jv(e);if(!st(t))return Cd(1);let c=t.getBoundingClientRect(),{width:n,height:l,$:o}=OT(t),d=(o?Or(c.width):c.width)/n,i=(o?Or(c.height):c.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!i||!Number.isFinite(i))&&(i=1),{x:d,y:i}}var Rme=Cd(0);function QT(e){let t=ht(e);return!fH()||!t.visualViewport?Rme:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hme(e,t,c){return t===void 0&&(t=!1),!!c&&t&&c===ht(e)}function zs(e,t,c,n){t===void 0&&(t=!1),c===void 0&&(c=!1);let l=e.getBoundingClientRect(),o=Jv(e),d=Cd(1);t&&(n?ct(n)&&(d=ju(n)):d=ju(e));let i=Hme(o,c,n)?QT(o):Cd(0),r=(l.left+i.x)/d.x,a=(l.top+i.y)/d.y,s=l.width/d.x,b=l.height/d.y;if(o&&n){let m=ht(o),X=ct(n)?ht(n):n,G=m,g=yH(G);for(;g&&X!==G;){let x=ju(g),H=g.getBoundingClientRect(),p=Oc(g),R=H.left+(g.clientLeft+parseFloat(p.paddingLeft))*x.x,I=H.top+(g.clientTop+parseFloat(p.paddingTop))*x.y;r*=x.x,a*=x.y,s*=x.x,b*=x.y,r+=R,a+=I,G=ht(g),g=yH(G)}}return Ss({width:s,height:b,x:r,y:a})}function WH(e,t){let c=CG(e).scrollLeft;return t?t.left+c:zs(Jd(e)).left+c}function UT(e,t){let c=e.getBoundingClientRect(),n=c.left+t.scrollLeft-WH(e,c),l=c.top+t.scrollTop;return{x:n,y:l}}function Ime(e){let{elements:t,rect:c,offsetParent:n,strategy:l}=e,o=l==="fixed",d=Jd(n),i=t?VG(t.floating):!1;if(n===d||i&&o)return c;let r={scrollLeft:0,scrollTop:0},a=Cd(1),s=Cd(0),b=st(n);if((b||!o)&&((Hc(n)!=="body"||ks(d))&&(r=CG(n)),b)){let X=zs(n);a=ju(n),s.x=X.x+n.clientLeft,s.y=X.y+n.clientTop}let m=d&&!b&&!o?UT(d,r):Cd(0);return{width:c.width*a.x,height:c.height*a.y,x:c.x*a.x-r.scrollLeft*a.x+s.x+m.x,y:c.y*a.y-r.scrollTop*a.y+s.y+m.y}}function Zme(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function fme(e){let t=CG(e),c=e.ownerDocument.body,n=Oo(e.scrollWidth,e.clientWidth,c.scrollWidth,c.clientWidth),l=Oo(e.scrollHeight,e.clientHeight,c.scrollHeight,c.clientHeight),o=-t.scrollLeft+WH(e),d=-t.scrollTop;return Oc(c).direction==="rtl"&&(o+=Oo(e.clientWidth,c.clientWidth)-n),{width:n,height:l,x:o,y:d}}var yme=25;function Wme(e,t,c){c===void 0&&(c="viewport");let n=c==="layoutViewport",l=ht(e),o=Jd(e),d=l.visualViewport,i=o.clientWidth,r=o.clientHeight,a=0,s=0;if(d){let m=!fH()||t==="fixed";n?m||(a=-d.offsetLeft,s=-d.offsetTop):(i=d.width,r=d.height,m&&(a=d.offsetLeft,s=d.offsetTop))}if(WH(o)<=0){let m=o.ownerDocument,X=m.body,G=getComputedStyle(X),g=m.compatMode==="CSS1Compat"&&parseFloat(G.marginLeft)+parseFloat(G.marginRight)||0,x=Math.abs(o.clientWidth-X.clientWidth-g),H=getComputedStyle(o).scrollbarGutter==="stable both-edges"?x/2:x;H<=yme&&(i-=H)}return{width:i,height:r,x:a,y:s}}function hme(e,t){let c=zs(e,!0,t==="fixed"),n=c.top+e.clientTop,l=c.left+e.clientLeft,o=ju(e),d=e.clientWidth*o.x,i=e.clientHeight*o.y,r=l*o.x,a=n*o.y;return{width:d,height:i,x:r,y:a}}function TT(e,t,c){let n;if(t==="viewport"||t==="layoutViewport")n=Wme(e,c,t);else if(t==="document")n=fme(Jd(e));else if(ct(t))n=hme(t,c);else{let l=QT(e);n={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return Ss(n)}function Bme(e,t){let c=t.get(e);if(c)return c;let n=Qr(e,[],!1).filter(i=>ct(i)&&Hc(i)!=="body"),l=null,o=Oc(e).position==="fixed",d=o?ro(e):e;for(;ct(d)&&!ao(d);){let i=Oc(d),r=ZH(d),a=l?l.position:o?"fixed":"";!r&&(a==="fixed"||a==="absolute"&&i.position==="static")?n=n.filter(b=>b!==d):l=i,d=ro(d)}return t.set(e,n),n}function vme(e){let{element:t,boundary:c,rootBoundary:n,strategy:l}=e,d=[...c==="clippingAncestors"?VG(t)?[]:Bme(t,this._c):[].concat(c),n],i=TT(t,d[0],l),r=i.top,a=i.right,s=i.bottom,b=i.left;for(let m=1;m<d.length;m++){let X=TT(t,d[m],l);r=Oo(X.top,r),a=Vd(X.right,a),s=Vd(X.bottom,s),b=Oo(X.left,b)}return{width:a-b,height:s-r,x:b,y:r}}function Vme(e){let{width:t,height:c}=OT(e);return{width:t,height:c}}function Cme(e,t,c){let n=st(t),l=Jd(t),o=c==="fixed",d=zs(e,!0,o,t),i={scrollLeft:0,scrollTop:0},r=Cd(0);if((n||!o)&&((Hc(t)!=="body"||ks(l))&&(i=CG(t)),n)){let m=zs(t,!0,o,t);r.x=m.x+t.clientLeft,r.y=m.y+t.clientTop}!n&&l&&(r.x=WH(l));let a=l&&!n&&!o?UT(l,i):Cd(0),s=d.left+i.scrollLeft-r.x-a.x,b=d.top+i.scrollTop-r.y-a.y;return{x:s,y:b,width:d.width,height:d.height}}function Fv(e){return Oc(e).position==="static"}function AT(e,t){if(!st(e)||Oc(e).position==="fixed")return null;if(t)return t(e);let c=e.offsetParent;return Jd(e)===c&&(c=c.ownerDocument.body),c}function ET(e,t){let c=ht(e);if(VG(e))return c;if(!st(e)){let l=ro(e);for(;l&&!ao(l);){if(ct(l)&&!Fv(l))return l;l=ro(l)}return c}let n=AT(e,t);for(;n&&wT(n)&&Fv(n);)n=AT(n,t);return n&&ao(n)&&Fv(n)&&!ZH(n)?c:n||kT(e)||c}var Fme=async function(e){let t=this.getOffsetParent||ET,c=this.getDimensions,n=await c(e.floating);return{reference:Cme(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Jme(e){return Oc(e).direction==="rtl"}var Yv={convertOffsetParentRelativeRectToViewportRelativeRect:Ime,getDocumentElement:Jd,getClippingRect:vme,getOffsetParent:ET,getElementRects:Fme,getClientRects:Zme,getDimensions:Vme,getScale:ju,isElement:ct,isRTL:Jme};function LT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Yme(e,t,c){let n=null,l,o=Jd(e);function d(){var s;clearTimeout(l),(s=n)==null||s.disconnect(),n=null}function i(s,b){s===void 0&&(s=!1),b===void 0&&(b=1),d();let m=e.getBoundingClientRect(),{left:X,top:G,width:g,height:x}=m;if(s||t(),!g||!x)return;let H=hG(G),p=hG(o.clientWidth-(X+g)),R=hG(o.clientHeight-(G+x)),I=hG(X),y={rootMargin:-H+"px "+-p+"px "+-R+"px "+-I+"px",threshold:Oo(0,Vd(1,b))||1},Z=!0;function W(v){let h=v[0].intersectionRatio;if(!LT(m,e.getBoundingClientRect()))return i();if(h!==b){if(!Z)return i();h?i(!1,h):l=setTimeout(()=>{i(!1,1e-7)},1e3)}Z=!1}try{n=new IntersectionObserver(W,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(W,y)}n.observe(e)}let r=ht(e),a=()=>i(c);return r.addEventListener("resize",a),i(!0),()=>{r.removeEventListener("resize",a),d()}}function Ci(e,t,c,n){n===void 0&&(n={});let{ancestorScroll:l=!0,ancestorResize:o=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:r=!1}=n,a=Jv(e),s=l||o?[...a?Qr(a):[],...t?Qr(t):[]]:[];s.forEach(H=>{l&&H.addEventListener("scroll",c),o&&H.addEventListener("resize",c)});let b=a&&i?Yme(a,c,o):null,m=-1,X=null;d&&(X=new ResizeObserver(H=>{let[p]=H;p&&p.target===a&&X&&t&&(X.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var R;(R=X)==null||R.observe(t)})),c()}),a&&!r&&X.observe(a),t&&X.observe(t));let G,g=r?zs(e):null;r&&x();function x(){let H=zs(e);g&&!LT(g,H)&&c(),g=H,G=requestAnimationFrame(x)}return c(),()=>{var H;s.forEach(p=>{l&&p.removeEventListener("scroll",c),o&&p.removeEventListener("resize",c)}),b?.(),(H=X)==null||H.disconnect(),X=null,r&&cancelAnimationFrame(G)}}var hH=JT;var BH=YT,vH=CT,VH=ST;var FG=VT;var CH=NT,Mu=(e,t,c)=>{let n=new Map,l=c??{},o={...Yv,...l.platform,_c:n};return vT(e,t,{...l,platform:o})};var Nme="div",JG=new WeakMap;function DT(e=0,t=0,c=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,c,n);let l={x:e,y:t,width:c,height:n,top:t,right:e+c,bottom:t+n,left:e};return{...l,toJSON:()=>l}}function Sme(e){if(!e)return DT();let{x:t,y:c,width:n,height:l}=e;return DT(t,c,n,l)}function wme(e,t){return{contextElement:e||void 0,getBoundingClientRect:()=>{let c=e,n=t?.(c);return n||!c?Sme(n):c.getBoundingClientRect()}}}function kme(e){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function _T(e){let t=window.devicePixelRatio||1;return Math.round(e*t)/t}function zme(e){return typeof e=="number"?e:Math.max(e.left??0,e.right??0)}function Tme(e,t){return hH(({placement:c})=>{let n=(e?.clientHeight||0)/2,l=typeof t.gutter=="number"?t.gutter+n:t.gutter??n;return{crossAxis:c.split("-")[1]?void 0:t.shift,mainAxis:l,alignmentAxis:t.shift}})}function Ame(e){if(e.flip===!1)return;let t=typeof e.flip=="string"?e.flip.split(" "):void 0;return ke(!t||t.every(kme),!1),vH({padding:e.overflowPadding,fallbackPlacements:t})}function Ome(e){if(!(!e.slide&&!e.overlap))return BH({mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:CH()})}function Qme(e,t){return VH({padding:e.overflowPadding,apply({elements:c,availableWidth:n,availableHeight:l,rects:o}){if(t?.())return;let d=c.floating,i=Math.round(o.reference.width);n=Math.floor(n),l=Math.floor(l),d.style.setProperty("--popover-anchor-width",`${i}px`),d.style.setProperty("--popover-available-width",`${n}px`),d.style.setProperty("--popover-available-height",`${l}px`),e.sameWidth&&(d.style.width=`${i}px`),e.fitViewport&&(d.style.maxWidth=`${n}px`,d.style.maxHeight=`${l}px`)}})}function Ume(e,t){if(e)return FG({element:e,padding:t.arrowPadding})}var YG=ce(function({store:t,modal:c=!1,portal:n=c,preserveTabOrder:l=!0,autoFocusOnShow:o=!0,wrapperProps:d,fixed:i=!1,flip:r=!0,shift:a=0,slide:s=!0,overlap:b=!1,sameWidth:m=!1,fitViewport:X=!1,gutter:G,arrowPadding:g=4,overflowPadding:x=8,getAnchorRect:H,updatePosition:p,...R}){let I=mG();t=t||I,ke(t,!1);let f=$(t,"arrowElement"),y=$(t,"anchorElement"),Z=l&&n&&!c,W=$(t,Z?["disclosureElement"]:[],j=>Z?j.disclosureElement:null),v=$(t,"popoverElement"),h=$(t,"unstable_placing"),C=$(t,"contentElement"),B=$(t,"placement"),V=$(t,"mounted"),S=$(t,"rendered"),Y=(0,jT.useRef)(null),J=!h,{portalRef:k,domReady:N}=Vu(n,R.portalRef),A=ge(H),Q=ge(p),z=!!p,D=typeof x=="number"?x:x.top??0,U=typeof x=="number"?x:x.right??0,O=typeof x=="number"?x:x.bottom??0,L=typeof x=="number"?x:x.left??0,M=!V&&vi(V,R.hidden,R.alwaysVisible);Ue(()=>{if(V&&t?.setState("unstable_placing",!0),!v?.isConnected)return;let j={top:D,right:U,bottom:O,left:L};if(v.style.setProperty("--popover-overflow-padding",`${zme(j)}px`),M&&!z)return;let ue=wme(y,A),xe=!1,Be=!1,P=()=>!!(xe||!v.isConnected),ye=async()=>{if(P()||!V)return;f||(Y.current=Y.current||document.createElement("div"));let Ne=f||Y.current,He=[Tme(Ne,{gutter:G,shift:a}),Ame({flip:r,overflowPadding:j}),Ome({slide:s,shift:a,overlap:b,overflowPadding:j}),Ume(Ne,{arrowPadding:g}),Qme({sameWidth:m,fitViewport:X,overflowPadding:j},P)],we=await Mu(ue,v,{placement:B,strategy:i?"fixed":"absolute",middleware:He});if(P())return;t?.setState("currentPlacement",we.placement);let pe=_T(we.x),ve=_T(we.y);if(Object.assign(v.style,{top:"0",left:"0",transform:`translate3d(${pe}px,${ve}px,0)`}),Be=!0,Ne&&we.middlewareData.arrow){let{x:Ve,y:qe}=we.middlewareData.arrow,Vt=vd(we.placement),Ge=Ne.clientWidth/2,We=Ne.clientHeight/2,se=Ve!=null?Ve+Ge:-Ge,ee=qe!=null?qe+We:-We;v.style.setProperty("--popover-transform-origin",{top:`${se}px calc(100% + ${We}px)`,bottom:`${se}px ${-We}px`,left:`calc(100% + ${Ge}px) ${ee}px`,right:`${-Ge}px ${ee}px`}[Vt]),Object.assign(Ne.style,{left:Ve!=null?`${Ve}px`:"",top:qe!=null?`${qe}px`:"",right:"",bottom:"",[Vt]:"100%"})}},ze=Ci(ue,v,async()=>{if(!P()){try{z?await Q({updatePosition:ye}):await ye()}catch(Ne){throw Be&&!P()&&t?.setState("unstable_placing",!1),Ne}P()||t?.setState("unstable_placing",!1)}},{elementResize:typeof ResizeObserver=="function"});return()=>{xe=!0,ze()}},[t,S,v,f,y,B,V,M,N,i,r,a,s,b,m,X,G,g,D,U,O,L,A,z,Q]),Ue(()=>{if(!V||!N||!v?.isConnected||!C?.isConnected)return;let j=()=>{v.style.zIndex=getComputedStyle(C).zIndex};j();let ue=requestAnimationFrame(()=>{ue=requestAnimationFrame(j)});return()=>cancelAnimationFrame(ue)},[V,N,v,C]),Ue(()=>{if(!t)return;let j=t;JG.set(j,(JG.get(j)??0)+1);let ue=lt(j,["mounted"],xe=>{j.setState("unstable_placing",xe.mounted)});return()=>{ue(),JG.set(j,(JG.get(j)??1)-1),queueMicrotask(()=>{JG.get(j)||j.setState("unstable_placing",!1)})}},[t]);let _=i?"fixed":"absolute";return R=Le(R,j=>(0,Nv.jsx)("div",{...d,style:{position:_,top:0,left:0,width:"max-content",...d?.style},ref:t?.setPopoverElement,children:j}),[t,_,d]),R=Le(R,j=>(0,Nv.jsx)(Wd,{value:t,children:j}),[t]),R={"data-placing":h||void 0,...R,style:{position:"relative",...R.style}},R=Vv({store:t,modal:c,portal:n,preserveTabOrder:l,preserveTabOrderAnchor:W||y,autoFocusOnShow:J&&o,...R,portalRef:k}),R}),fke=Ao(te(function(t){let c=YG(t);return ne(Nme,c)}),mG);var NG=Jt([Tu],[Wd]),Bke=NG.useContext,vke=NG.useScopedContext,SG=NG.useProviderContext,FH=NG.ContextProvider,Pu=NG.ScopedContextProvider;function Sv(e){return[e.clientX,e.clientY]}function MT(e,t){let[c,n]=e,l=!1,o=t.length;for(let d=o,i=0,r=d-1;i<d;r=i++){let a=t[i],s=t[r],b=t[r===0?d-1:r-1];if(a==null||s==null||b==null)return!1;let[m,X]=a,[G,g]=s,[,x]=b,H=(X-g)*(c-m)-(m-G)*(n-X);if(g<X){if(n>=g&&n<X){if(H===0)return!0;H>0&&(n===g?n>x&&(l=!l):l=!l)}}else if(X<g){if(n>X&&n<=g){if(H===0)return!0;H<0&&(n===g?n<x&&(l=!l):l=!l)}}else if(n===X&&(c>=G&&c<=m||c>=m&&c<=G))return!0}return l}function Eme(e,t){let{top:c,right:n,bottom:l,left:o}=t,[d,i]=e;return[d<o?"left":d>n?"right":null,i<c?"top":i>l?"bottom":null]}function PT(e,t){let c=e.getBoundingClientRect(),{top:n,right:l,bottom:o,left:d}=c,[i,r]=Eme(t,c),a=[t];return i?(r!=="top"&&a.push([i==="left"?d:l,n]),a.push([i==="left"?l:d,n]),a.push([i==="left"?l:d,o]),r!=="bottom"&&a.push([i==="left"?d:l,o])):r==="top"?(a.push([d,n]),a.push([d,o]),a.push([l,o]),a.push([l,n])):(a.push([d,o]),a.push([d,n]),a.push([l,n]),a.push([l,o])),a}var Xc=u(E(),1),wv=u(F(),1);var Lme="div";function Dme(e,t,c,n){return!!(no(t)||e.includes(t)||c.some(l=>l&&e.includes(l))||n?.some(l=>no(l)||e.includes(l)))}function KT({event:e,element:t,enterPointRef:c,disablePointerEvents:n,refreshEnterPoint:l=!1}){let o=c.current;if(!o)return!1;let d=Sv(e),i=PT(t,o);return MT(d,i)?(l&&(c.current=d),n(e)&&(e.preventDefault(),e.stopPropagation()),!0):!1}function _me({store:e,...t}){let[c,n]=(0,Xc.useState)(!1),l=$(e,"mounted");(0,Xc.useEffect)(()=>{l||n(!1)},[l]);let o=t.onFocus,d=ge(r=>{o?.(r),!r.defaultPrevented&&n(!0)}),i=(0,Xc.useRef)(null);return(0,Xc.useEffect)(()=>lt(e,["anchorElement"],r=>{i.current=r.anchorElement}),[e]),t={autoFocusOnHide:c,finalFocus:i,...t,onFocus:d},t}var qT=(0,Xc.createContext)(null),wG=ce(function({store:t,modal:c=!1,portal:n=c,hideOnEscape:l=!0,hideOnHoverOutside:o=!0,disablePointerEventsOnApproach:d=!!o,...i}){let r=SG();t=t||r,ke(t,!1);let a=(0,Xc.useRef)(null),s=(0,Xc.useRef)([]),b=(0,Xc.useRef)(0),m=(0,Xc.useRef)(null),{portalRef:X,domReady:G}=Vu(n,i.portalRef),g=Fu(),x=!!o,H=Wt(o),p=!!d,R=Wt(d),I=$(t,"open"),f=$(t,"mounted"),y=(0,Xc.useCallback)(()=>{window.clearTimeout(b.current),b.current=0},[]);(0,Xc.useEffect)(()=>{if(!G||!f||!x&&!p)return;let C=a.current;return C?It(Kt("mousemove",V=>{if(!t||!g())return;let{anchorElement:S,disclosureElement:Y,hideTimeout:J,timeout:k}=t.getState(),N=V.composedPath(),A=[S,Y],Q=A.find(z=>z&&N.includes(z));if(Dme(N,C,A,s.current)){m.current=Q?Sv(V):null,y();return}b.current||KT({event:V,element:C,enterPointRef:m,disablePointerEvents:R,refreshEnterPoint:!0})||H(V)&&(b.current=window.setTimeout(()=>{b.current=0,t?.hide()},J??k))},!0),y):void 0},[t,g,G,f,x,p,s,y,R,H]),(0,Xc.useEffect)(()=>{if(!G||!f||!p)return;let C=B=>{let V=a.current;V&&KT({event:B,element:V,enterPointRef:m,disablePointerEvents:R})};return It(Kt("mouseenter",C,!0),Kt("mouseover",C,!0),Kt("mouseout",C,!0),Kt("mouseleave",C,!0))},[G,f,p,R]),(0,Xc.useEffect)(()=>{G&&(I||t?.setAutoFocusOnShow(!1))},[t,G,I]);let Z=Wu(I);(0,Xc.useEffect)(()=>{if(G)return()=>{Z.current||t?.setAutoFocusOnShow(!1)}},[t,G]);let W=(0,Xc.useContext)(qT);Ue(()=>{if(c||!n||!f||!G)return;let C=a.current;if(C)return W?.(C)},[c,n,f,G,W]);let v=(0,Xc.useCallback)(C=>{y(),s.current=[...s.current,C];let B=W?.(C);return()=>{y(),s.current=s.current.filter(V=>V!==C),B?.()}},[y,W]);i=Le(i,C=>(0,wv.jsx)(Pu,{value:t,children:(0,wv.jsx)(qT.Provider,{value:v,children:C})}),[t,v]),i={...i,ref:Me(a,i.ref)},i=_me({store:t,...i});let h=$(t,["autoFocusOnShow"],C=>c||C.autoFocusOnShow);return i=YG({store:t,modal:c,portal:n,autoFocusOnShow:h,...i,portalRef:X,hideOnEscape(C){return fi(l,C)?!1:(requestAnimationFrame(()=>{requestAnimationFrame(()=>{t?.hide()})}),!0)}}),i}),Tke=Ao(te(function(t){let c=wG(t);return ne(Lme,c)}),SG);var kG=Jt([FH],[Pu]),jme=kG.useContext,Uke=kG.useScopedContext,zG=kG.useProviderContext,Eke=kG.ContextProvider,$T=kG.ScopedContextProvider;var eA=u(F(),1);var Mme="div",Pme=ce(function({store:t,portal:c=!0,gutter:n=8,preserveTabOrder:l=!1,hideOnHoverOutside:o=!0,hideOnInteractOutside:d=!0,...i}){let r=zG();return t=t||r,ke(t,!1),i=Le(i,a=>(0,eA.jsx)($T,{value:t,children:a}),[t]),i={role:$(t,["type"],a=>a.type==="description"?"tooltip":"none"),...i},i=wG({...i,store:t,portal:c,gutter:n,preserveTabOrder:l,hideOnHoverOutside(a){if(fi(o,a))return!1;let s=t?.getState().anchorElement;return s?!("focusVisible"in s.dataset):!0},hideOnInteractOutside:a=>{if(fi(d,a))return!1;let s=t?.getState().anchorElement;return s?!Ct(s,a.target):!0}}),i}),JH=Ao(te(function(t){let c=Pme(t);return ne(Mme,c)}),zG);var Ur=u(E(),1),YH=ce(function({store:t,showOnHover:c=!0,unstable_showOnHoverWhenDisabled:n=!0,setAnchorElement:l=!1,...o}){let d=bc(o),i=o.focusable!==!1,r=(0,Ur.useRef)(null),a=(0,Ur.useRef)(0),s=ge(R=>d&&!i?!0:hk(R));(0,Ur.useEffect)(()=>()=>window.clearTimeout(a.current),[]),(0,Ur.useEffect)(()=>Kt("mouseleave",I=>{let f=r.current;f&&I.target===f&&(window.clearTimeout(a.current),a.current=0)},!0),[]);let b=o.onMouseMove,m=Wt(c),X=Wt(n),G=Fu(),g=ge(R=>{if(b?.(R),R.defaultPrevented||a.current||!G())return;let I=R.currentTarget;if(s(I)||(d||ZR(I))&&!X(R)||!m(R))return;l&&t.setAnchorElement(I),t.setDisclosureElement(I);let{showTimeout:f,timeout:y}=t.getState(),Z=()=>{a.current=0,G()&&(s(I)||(l&&t.setAnchorElement(I),t.show(),queueMicrotask(()=>{t.setDisclosureElement(I)})))},W=f??y;W===0?Z():a.current=window.setTimeout(Z,W)}),x=o.onClick,H=ge(R=>{x?.(R),window.clearTimeout(a.current),a.current=0}),p=(0,Ur.useCallback)(R=>{if(r.current=R,!l)return;let{anchorElement:I}=t.getState();I?.isConnected||t.setAnchorElement(R)},[t,l]);return o={...o,ref:Me(p,o.ref),onMouseMove:g,onClick:H},o=Yo(o),o});var Kme="a",kv=ce(function({store:t,showOnHover:c=!0,...n}){let l=SG();return t=t||l,ke(t,!1),YH({store:t,showOnHover:c,setAnchorElement:!0,...n})}),ize=te(function(t){let c=kv(t);return ne(Kme,c)});var TG=u(E(),1);var qme="div",Ts=Tt({activeStore:null}),zv=new WeakSet;function $me(e){return()=>{let{activeStore:t}=Ts.getState();t===e&&Ts.setState("activeStore",null)}}function e0e(e){e&&(zv.add(e),e.hide(),queueMicrotask(()=>zv.delete(e)))}var t0e=ce(function({store:t,showOnHover:c=!0,...n}){let l=zG();t=t||l,ke(t,!1);let o=(0,TG.useRef)(!1);(0,TG.useEffect)(()=>lt(t,["mounted"],G=>{G.mounted||(o.current=!1)}),[t]),(0,TG.useEffect)(()=>{if(!t)return;let G=$me(t);return It(G,lt(t,["mounted"],g=>{if(!t)return;if(g.mounted){let{activeStore:H}=Ts.getState();if(H!==t){if(zv.has(t))return;e0e(H)}return Ts.setState("activeStore",t)}let x=setTimeout(G,t.getState().skipTimeout);return()=>clearTimeout(x)}))},[t]);let d=n.onMouseEnter,i=ge(G=>{d?.(G),o.current=!0}),r=n.onFocusVisible,a=ge(G=>{r?.(G),!G.defaultPrevented&&(t?.setAnchorElement(G.currentTarget),t?.show())}),s=n.onBlur,b=ge(G=>{if(s?.(G),G.defaultPrevented)return;let{activeStore:g}=Ts.getState();o.current=!1,g===t&&Ts.setState("activeStore",null)}),m=$(t,["type","contentElement"],G=>G.type==="label"?G.contentElement:null);Bu(m,"id");let X=m?.id;return n={"aria-labelledby":n["aria-label"]==null?X:void 0,...n,onMouseEnter:i,onFocusVisible:a,onBlur:b},n=kv({store:t,showOnHover(G){if(!o.current||fi(c,G))return!1;let{activeStore:g}=Ts.getState();return g?(t?.show(),!1):!0},...n}),n}),NH=te(function(t){let c=t0e(t);return ne(qme,c)});function SH({popover:e,...t}={}){let c=fd(t.store,No(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement","unstable_placing"]));let n=c?.getState(),l=XH({...t,store:c}),o=Je(t.placement,n?.placement,"bottom"),d={...l.getState(),placement:o,currentPlacement:o,anchorElement:Je(n?.anchorElement,null),popoverElement:Je(n?.popoverElement,null),arrowElement:Je(n?.arrowElement,null),rendered:Symbol("rendered"),unstable_placing:!1},i=Tt(d,l,c),r=d.anchorElement===d.disclosureElement?d.anchorElement:null;return Dt(i,()=>lt(i,["anchorElement","disclosureElement"],a=>{if(a.anchorElement&&a.anchorElement!==r){r=null;return}r=a.disclosureElement,i.setState("anchorElement",r)})),{...l,...i,setAnchorElement:a=>i.setState("anchorElement",a),setPopoverElement:a=>i.setState("popoverElement",a),setArrowElement:a=>i.setState("arrowElement",a),render:()=>i.setState("rendered",Symbol("rendered"))}}function wH(e,t,c){return Qn(t,[c.popover,t]),mt(e,c,"placement"),Hv(e,t,c)}function kH(e={}){let t=e.store?.getState(),c=SH({...e,placement:Je(e.placement,t?.placement,"bottom")}),n=Je(e.timeout,t?.timeout,500),l={...c.getState(),timeout:n,showTimeout:Je(e.showTimeout,t?.showTimeout),hideTimeout:Je(e.hideTimeout,t?.hideTimeout),autoFocusOnShow:Je(t?.autoFocusOnShow,!1)},o=Tt(l,c,e.store);return{...c,...o,setAutoFocusOnShow:d=>o.setState("autoFocusOnShow",d)}}function zH(e,t,c){return mt(e,c,"timeout"),mt(e,c,"showTimeout"),mt(e,c,"hideTimeout"),wH(e,t,c)}function tA(e={}){let t=e.store?.getState(),c=kH({...e,placement:Je(e.placement,t?.placement,"top"),hideTimeout:Je(e.hideTimeout,t?.hideTimeout,0)}),n={...c.getState(),type:Je(e.type,t?.type,"description"),skipTimeout:Je(e.skipTimeout,t?.skipTimeout,300)},l=Tt(n,c,e.store);return{...c,...l}}function n0e(e,t,c){return mt(e,c,"type"),mt(e,c,"skipTimeout"),zH(e,t,c)}function TH(e={}){let[t,c]=nc(tA,e);return n0e(t,c,e)}var AG=Jt([bl],[yn]),cA=AG.useContext,nA=AG.useScopedContext,Uze=AG.useProviderContext,Eze=AG.ContextProvider,Lze=AG.ScopedContextProvider;var Ku=u(E(),1),lA="button",Tv=ce(function(t){let c=(0,Ku.useRef)(null),n=hu(c,lA),[l,o]=(0,Ku.useState)(()=>!!n&&Jo({tagName:n,type:t.type}));return(0,Ku.useEffect)(()=>{c.current&&o(Jo(c.current))},[]),t={role:!l&&n!=="a"?"button":void 0,...t,ref:Me(c,t.ref)},t=fs(t),t}),Kze=te(function(t){let c=Tv(vc(t));return ne(lA,c)});var Er=u(E(),1);var l0e="button",o0e=Symbol("disclosure"),Av=ce(function({store:t,toggleOnClick:c=!0,...n}){let l=sG();t=t||l,ke(t,!1);let o=(0,Er.useRef)(null),[d,i]=(0,Er.useState)(!1),r=$(t,"disclosureElement"),a=$(t,"open"),s=(0,Er.useCallback)(x=>{let H=o.current;if(o.current=x,x){t?.getState().disclosureElement?.isConnected||t.setDisclosureElement(x);return}t?.getState().disclosureElement===H&&t.setDisclosureElement(null)},[t]);(0,Er.useEffect)(()=>{let x=r===o.current;r?.isConnected||(t?.setDisclosureElement(o.current),x=!0),i(a&&x)},[r,t,a]);let b=n.onClick,m=Wt(c),[X,G]=Cu(n,o0e,!0),g=ge(x=>{b?.(x),!x.defaultPrevented&&(X||m(x)&&(t?.setDisclosureElement(x.currentTarget),t?.toggle()))});return n={"aria-expanded":d,"aria-controls":$(t,"contentElement")?.id,...G,...n,ref:Me(s,n.ref),onClick:g},n=Tv(n),n}),d0e=te(function(t){let c=Av(vc(t));return ne(l0e,c)});var i0e="button",Ov=ce(function({store:t,...c}){let n=vs();t=t||n,ke(t,!1);let l=$(t,"contentElement");return c={"aria-haspopup":ps(l,"dialog"),...c},c=Av({store:t,...c}),c}),uTe=te(function(t){let c=Ov(vc(t));return ne(i0e,c)});var oA=u(F(),1),r0e="button",OG=ce(function({store:t,...c}){let n=mG();return t=t||n,ke(t,!1),c=Le(c,l=>(0,oA.jsx)(Wd,{value:t,children:l}),[t]),c=Ov({store:t,...c}),c}),RTe=te(function(t){let c=OG(vc(t));return ne(r0e,c)});var dA=u(E(),1),Qv=u(F(),1);var a0e="span",s0e={top:"4,10 8,6 12,10",right:"6,4 10,8 6,12",bottom:"4,6 8,10 12,6",left:"10,4 6,8 10,12"},Uv=ce(function({store:t,placement:c,...n}){let l=Vz();t=t||l,ke(t,!1);let o=$(t,["placement"],r=>c||r.placement),d=vd(o),i=s0e[d];return n={children:(0,dA.useMemo)(()=>(0,Qv.jsx)("svg",{display:"block",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,viewBox:"0 0 16 16",height:"1em",width:"1em",children:(0,Qv.jsx)("polyline",{points:i})}),[i]),"aria-hidden":!0,...n,style:{width:"1em",height:"1em",pointerEvents:"none",...n.style}},n}),hTe=te(function(t){let c=Uv(t);return ne(a0e,c)});var iA=u(E(),1),QG=Jt([bl],[yn]),Ev=QG.useContext,CTe=QG.useScopedContext,rA=QG.useProviderContext,FTe=QG.ContextProvider,aA=QG.ScopedContextProvider,UG=(0,iA.createContext)(!1);var As=u(E(),1);var sA="input";function b0e(e,t){if(t!==void 0)return e!=null&&t!=null?t===e:!!t}function u0e(e,t){return e==="input"&&(!t||t==="radio")}var Lv=ce(function({store:t,name:c,value:n,checked:l,...o}){let d=Ev();t=t||d;let i=(0,As.useContext)(UG),r=Ft(o.id),a=(0,As.useRef)(null),s=$(t,["value"],Z=>l??b0e(n,Z?.value)),b=$(t,"id"),m=c??b;(0,As.useEffect)(()=>{r&&s&&t?.getState().activeId!==r&&t?.setActiveId(r)},[t,s,r]);let X=o.onChange,G=u0e(hu(a,sA),o.type),g=i||bc(o),[x,H]=vu();(0,As.useEffect)(()=>{let Z=a.current;Z&&(G||(s!==void 0&&(Z.checked=s),m!==void 0&&(Z.name=m),n!==void 0&&(Z.value=`${n}`)))},[x,G,s,m,n]);let p=ge(Z=>{if(g){Z.preventDefault(),Z.stopPropagation();return}t?.getState().value!==n&&(G||(Z.currentTarget.checked=!0,H()),X?.(Z),!Z.defaultPrevented&&t?.setValue(n))}),R=o.onClick,I=ge(Z=>{R?.(Z),!Z.defaultPrevented&&(G||p(Z))}),f=o.onFocus,y=ge(Z=>{if(f?.(Z),Z.defaultPrevented||!G||g||!t)return;let{moves:W,activeId:v}=t.getState();W&&(r&&v!==r||Z.currentTarget.checked||Z.currentTarget.click())});return o={role:G?void 0:"radio",type:G?"radio":void 0,"aria-checked":s,...o,disabled:g||void 0,id:r,ref:Me(a,o.ref),onChange:p,onClick:I,onFocus:y},o=wo({store:t,clickOnEnter:!G,...o}),co({name:G?m:void 0,value:G?n:void 0,checked:s,...o})}),qu=mc(te(function(t){let c=Lv(t);return ne(sA,c)}));var bA=u(E(),1),Dv=u(F(),1),m0e="div";function X0e(e){if(!e)return!1;if(e.tagName==="INPUT"){let{type:t,checked:c}=e;if(t==="radio")return c}return e.getAttribute("role")!=="radio"?!1:e.getAttribute("aria-checked")==="true"}function G0e(e){let{renderedItems:t}=e.getState();return t.find(c=>X0e(c.element))?.id}var g0e=ce(function({store:t,...c}){let n=rA();t=t||n;let l=(0,bA.useContext)(UG)||bc(c);ke(t,!1),c=Le(c,i=>(0,Dv.jsx)(aA,{value:t,children:(0,Dv.jsx)(UG.Provider,{value:l,children:i})}),[t,l]);let o=c.onBlurCapture,d=ge(i=>{if(o?.(i),i.defaultPrevented||!Id(i))return;let r=G0e(t);r&&t.setActiveId(r)});return c={role:"radiogroup",...c,"aria-disabled":l||void 0,onBlurCapture:d},c=ko({store:t,...c}),c}),$u=te(function(t){let c=g0e(t);return ne(m0e,c)});function uA(e={}){let t=e.store?.getState(),c=lo({...e,focusLoop:Je(e.focusLoop,t?.focusLoop,!0)}),n={...c.getState(),value:Je(e.value,t?.value,e.defaultValue,null)},l=Tt(n,c,e.store);return{...c,...l,setValue:o=>l.setState("value",o)}}function p0e(e,t,c){return e=zo(e,t,c),mt(e,c,"value","setValue"),e}function em(e={}){e=gG(e);let[t,c]=nc(uA,e);return p0e(t,c,e)}var R0e="div",mA=new WeakMap;function H0e(e){let t=mA.get(e);return t||(t={chars:"",cleanupTimeout:0},mA.set(e,t)),t}function AH(e){e.chars=""}function I0e(e,t){let c=e.target;return c&&On(c)?!1:e.key===" "&&t.chars.length?!0:e.key.length===1&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&/^[\p{Letter}\p{Number}]$/u.test(e.key)}function Z0e(e,t){if(uc(e))return!0;let c=e.target;return c?t.some(n=>n.element===c):!1}function f0e(e){return e.filter(t=>!t.disabled)}function OH(e,t){let c=e.typeaheadText??(e.element?.textContent||e.children||"value"in e&&e.value);return c?$w(c).trim().toLowerCase().startsWith(t.toLowerCase()):!1}function y0e({activeId:e,char:t,items:c,typeaheadState:n}){if(!e)return c;let l=c.find(d=>d.id===e);if(!l||!OH(l,t))return c;let{chars:o}=n;return o!==t&&OH(l,o)?c:(n.chars=t,Pk(c.filter(d=>OH(d,t)),e).filter(d=>d.id!==e))}var Fi=ce(function({store:t,typeahead:c=!0,...n}){let l=Zd();t=t||l,ke(t,!1);let o=n.onKeyDownCapture,d=ge(i=>{if(o?.(i),i.defaultPrevented||!c||!t)return;let r=H0e(t);if(!I0e(i,r))return AH(r);let{renderedItems:a,items:s,activeId:b}=t.getState(),m=f0e(s.length>a.length?s:a);if(!Z0e(i,m))return AH(r);i.preventDefault(),window.clearTimeout(r.cleanupTimeout),r.cleanupTimeout=window.setTimeout(()=>{AH(r)},500);let X=i.key.toLowerCase();r.chars+=X,m=y0e({activeId:b,char:X,items:m,typeaheadState:r});let G=m.find(g=>OH(g,r.chars));G?t.move(G.id):AH(r)});return n={...n,onKeyDownCapture:d},co(n)}),QH=te(function(t){let c=Fi(t);return ne(R0e,c)});var W0e="span",h0e=ce(function({store:t,...c}){let n=Fs();return t=t||n,c=Uv({store:t,...c}),c}),_v=te(function(t){let c=h0e(t);return ne(W0e,c)});var Lr=u(E(),1),so=u(F(),1);var B0e="button";function v0e(e){return Array.from(e.selectedOptions).map(t=>t.value)}function UH(e,t){return()=>{let c=new Set,n=t();for(;n;){let l=e.item(n);if(!l)return;if(l.value!=null)return l.id;if(c.has(n))return;c.add(n),n=t({activeId:n})}}}var V0e=ce(function({store:t,name:c,form:n,required:l,showOnKeyDown:o=!0,moveOnKeyDown:d=!0,toggleOnPress:i=!0,toggleOnClick:r=i,...a}){let s=Js();t=t||s,ke(t,!1);let b=a.onKeyDown,m=bc(a),X=Wt(o),G=Wt(d),g=$(t,"placement"),x=vd(g),H=$(t,"value"),p=Array.isArray(H),R=ge(Y=>{if(b?.(Y),Y.defaultPrevented||!t)return;let{orientation:J,items:k,activeId:N}=t.getState(),A=J!=="horizontal",Q=J!=="vertical",z=!!k.find(O=>!O.disabled&&O.value!=null)?.rowId,D={ArrowUp:(z||A)&&UH(t,t.up),ArrowRight:(z||Q)&&UH(t,t.next),ArrowDown:(z||A)&&UH(t,t.down),ArrowLeft:(z||Q)&&UH(t,t.previous)}[Y.key];D&&G(Y)&&(Y.preventDefault(),t.move(D()));let U=x==="top"||x==="bottom";({ArrowDown:U,ArrowUp:U,ArrowLeft:x==="left",ArrowRight:x==="right"})[Y.key]&&X(Y)&&(Y.preventDefault(),t.move(N),Hs(Y.currentTarget,"keyup",t.show))});a=Le(a,Y=>(0,so.jsx)(eH,{value:t,children:Y}),[t]);let[I,f]=(0,Lr.useState)(!1),y=(0,Lr.useRef)(!1);(0,Lr.useEffect)(()=>{let Y=y.current;y.current=!1,!Y&&f(!1)},[H]);let Z=$(t,"labelElement");Bu(Z,"id");let W=Z?.id,v=a["aria-label"],h=a["aria-labelledby"]||W,C=$(t,["items"],Y=>{if(c)return Y.items}),B=(0,Lr.useMemo)(()=>{let Y=C?.flatMap(J=>J.value??[]);return[...new Set(Y)]},[C]);a=Le(a,Y=>(0,so.jsxs)(so.Fragment,{children:[!!c&&(0,so.jsxs)("select",{style:RG(),tabIndex:-1,"aria-hidden":!0,"aria-label":v,"aria-labelledby":v!=null?void 0:h,name:c,form:n,required:l,disabled:m,value:H,multiple:p,onFocus:()=>t?.getState().selectElement?.focus(),onChange:J=>{y.current=!0,f(!0),t?.setValue(p?v0e(J.target):J.target.value)},children:[pR(H).map(J=>J==null||B.includes(J)?null:(0,so.jsx)("option",{value:J,children:J},J)),B.map(J=>(0,so.jsx)("option",{value:J,children:J},J))]}),Y]}),[t,v,h,c,n,l,H,p,B,m]);let V=(0,so.jsxs)(so.Fragment,{children:[H,(0,so.jsx)(_v,{})]}),S=$(t,"contentElement");return a={role:"combobox","aria-autocomplete":"none","aria-labelledby":a["aria-label"]!=null?void 0:W,"aria-haspopup":ps(S,"listbox"),"data-autofill":I||void 0,"data-name":c,children:V,...a,ref:Me(t.setSelectElement,a.ref),onKeyDown:R},a=OG({store:t,toggleOnClick:r,...a}),a=Fi({store:t,...a}),a}),EH=te(function(t){let c=V0e(vc(t));return ne(B0e,c)});var XA=u(E(),1),LH=(0,XA.createContext)(void 0);var GA=u(E(),1),gA=u(F(),1),C0e="div",jv=ce(function(t){let[c,n]=(0,GA.useState)();return t=Le(t,l=>(0,gA.jsx)(LH.Provider,{value:n,children:l}),[]),t={role:"group","aria-labelledby":t["aria-label"]!=null?void 0:c,...t},t}),WAe=te(function(t){let c=jv(t);return ne(C0e,c)});var F0e="div",Mv=ce(function({store:t,...c}){return c=jv(c),c}),DH=te(function(t){let c=Mv(t);return ne(F0e,c)});var xA=u(E(),1),J0e="div",Pv=ce(function(t){let c=(0,xA.useContext)(LH),n=Ft(t.id);return Ue(()=>(c?.(n),()=>c?.(void 0)),[c,n]),t={"aria-hidden":!0,...t,id:n},t}),JAe=te(function(t){let c=Pv(t);return ne(J0e,c)});var Y0e="div",Kv=ce(function({store:t,...c}){return c=Pv(c),c}),_H=te(function(t){let c=Kv(t);return ne(Y0e,c)});var pA=u(E(),1),N0e="div";function S0e(e){let t=e.relatedTarget;return Tc(t)?Ct(e.currentTarget,t):!1}var qv=Symbol("composite-hover");function w0e(e){let{relatedTarget:t}=e;if(!Tc(t))return!1;let c=t;do{if(In(c,qv)&&c[qv])return!0;c=c.parentElement}while(c);return!1}var EG=ce(function({store:t,focusOnHover:c=!0,blurOnHoverEnd:n=!!c,...l}){let o=Zd();t=t||o,ke(t,!1);let d=Fu(),i=l.onMouseMove,r=Wt(c),a=ge(G=>{if(i?.(G),!G.defaultPrevented&&d()&&r(G)){if(!no(G.currentTarget)){let g=t?.getState().compositeElement;g&&!Is(g)&&g.focus({preventScroll:!0})}t?.setActiveId(G.currentTarget.id)}}),s=l.onMouseLeave,b=Wt(n),m=ge(G=>{s?.(G),!G.defaultPrevented&&d()&&(S0e(G)||w0e(G)||r(G)&&b(G)&&(t?.setActiveId(null),t?.getState().compositeElement?.focus({preventScroll:!0})))}),X=(0,pA.useCallback)(G=>{G&&(G[qv]=!0)},[]);return l={...l,ref:Me(X,l.ref),onMouseMove:a,onMouseLeave:m},l}),jH=mc(te(function(t){let c=EG(t);return ne(N0e,c)}));var RA=u(E(),1),HA=u(F(),1);var k0e="div";function z0e(e,t){if(t!=null)return e==null?!1:Array.isArray(e)?e.includes(t):e===t}var T0e=ce(function({store:t,value:c,getItem:n,hideOnClick:l,setValueOnClick:o=c!=null,preventScrollOnKeyDown:d=!0,focusOnHover:i=!0,...r}){let a=Jz();t=t||a,ke(t,!1);let s=Ft(r.id),b=bc(r),{listElement:m,multiSelectable:X,selected:G,autoFocus:g}=Ws(t,["value","activeId","items"],{listElement:"listElement",multiSelectable(W){return Array.isArray(W.value)},selected(W){return z0e(W.value,c)},autoFocus(W){return c==null||W.value==null||W.activeId!==s&&t?.item(W.activeId)?!1:Array.isArray(W.value)?W.value[W.value.length-1]===c:W.value===c}}),x=$(t?.combobox,"virtualFocus"),H=(0,RA.useCallback)(W=>{let v={...W,value:b?void 0:c};return n?n(v):v},[b,c,n]);l=l??(c!=null&&!X);let p=r.onClick,R=Wt(o),I=Wt(l),f=ge(W=>{p?.(W),!W.defaultPrevented&&(vR(W)||BR(W)||(R(W)&&c!=null&&t?.setValue(v=>Array.isArray(v)?v.includes(c)?v.filter(h=>h!==c):[...v,c]:c),I(W)&&t?.hide()))});r=Le(r,W=>(0,HA.jsx)(tH.Provider,{value:G??!1,children:W}),[G]);let y=r.autoFocus??g;r={role:yu(m),"aria-selected":G,children:c,...r,id:s,autoFocus:x===!1?!1:y,"data-autofocus":y||void 0,onClick:f},r=wo({store:t,getItem:H,preventScrollOnKeyDown:d,...r});let Z=Wt(i);return r=EG({store:t,...r,focusOnHover(W){return!t.getState().open||!Z(W)?!1:t.getState().open}}),r}),MH=mc(te(function(t){let c=T0e(t);return ne(k0e,c)}));var IA=u(E(),1),PH=(0,IA.createContext)(!1);var ZA=u(E(),1),$v=u(F(),1),A0e="span",O0e=(0,$v.jsx)("svg",{display:"block",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,viewBox:"0 0 16 16",height:"1em",width:"1em",children:(0,$v.jsx)("polyline",{points:"4,8 7,12 12,4"})});function Q0e(e){return e.checked?e.children||O0e:null}var LG=ce(function({store:t,checked:c,...n}){let l=(0,ZA.useContext)(PH);c=c??l;let o=Q0e({checked:c,children:n.children});return n={"aria-hidden":!0,...n,children:o,style:{width:"1em",height:"1em",pointerEvents:"none",...n.style}},n}),KAe=te(function(t){let c=LG(t);return ne(A0e,c)});var fA=u(E(),1),U0e="span",E0e=ce(function({store:t,checked:c,...n}){let l=(0,fA.useContext)(tH);return c=c??l,n=LG({...n,checked:c}),n}),KH=te(function(t){let c=E0e(t);return ne(U0e,c)});var L0e="div",D0e=ce(function({store:t,...c}){let n=Js();t=t||n,ke(t,!1);let l=Ft(c.id),o=c.onClick,d=ge(i=>{o?.(i),!i.defaultPrevented&&queueMicrotask(()=>{t?.getState().selectElement?.focus()})});return c={...c,id:l,ref:Me(t.setLabelElement,c.ref),onClick:d,style:{cursor:"default",...c.style}},c}),qH=mc(te(function(t){let c=D0e(t);return ne(L0e,c)}));var ml=u(E(),1),$H=u(F(),1);var _0e="div",yA=(0,ml.createContext)(null),e2=ce(function({store:t,resetOnEscape:c=!0,hideOnEnter:n=!0,composite:l,alwaysVisible:o,...d}){let i=Fs();t=t||i,ke(t,!1);let r=Ft(d.id),a=$(t,"value"),s=Array.isArray(a),[b,m]=(0,ml.useState)(a),X=$(t,"mounted");(0,ml.useEffect)(()=>{X||m(a)},[X,a]),c=c&&!s;let G=d.onKeyDown,g=Wt(c),x=Wt(n),H=ge(J=>{G?.(J),!J.defaultPrevented&&(J.key==="Escape"&&g(J)&&t?.setValue(b),(J.key===" "||J.key==="Enter")&&uc(J)&&x(J)&&(J.preventDefault(),t?.hide()))}),p=(0,ml.useContext)(rv),R=(0,ml.useState)(),[I,f]=p||R,y=(0,ml.useMemo)(()=>[I,f],[I,f]),[Z,W]=(0,ml.useState)(null),v=(0,ml.useContext)(yA);(0,ml.useEffect)(()=>{if(v)return v(t),()=>v(null)},[v,t]),d=Le(d,J=>(0,$H.jsx)(eH,{value:t,children:(0,$H.jsx)(yA.Provider,{value:W,children:(0,$H.jsx)(rv.Provider,{value:y,children:J})})}),[t,y]);let h=!!t.combobox;l=l??(!h&&Z!==t);let[,C]=NR(l?t.setListElement:null),B=vi(X,d.hidden,o),V=B?{...d.style,display:"none"}:d.style;l&&(d={role:"listbox","aria-multiselectable":s||void 0,...d});let S=$(t,["labelElement"],J=>I?null:J.labelElement);Bu(S,"id");let Y=I||S?.id;return d={"aria-labelledby":d["aria-label"]!=null?void 0:Y,hidden:B,...d,id:r,ref:Me(C,d.ref),style:V,onKeyDown:H},d=ko({store:t,...d,composite:l}),d=Fi({store:t,typeahead:!h,...d}),d}),j0e=te(function(t){let c=e2(t);return ne(_0e,c)});var M0e="div",P0e=ce(function({store:t,alwaysVisible:c,...n}){let l=Js();return t=t||l,n=e2({store:t,alwaysVisible:c,...n}),n=YG({store:t,alwaysVisible:c,...n}),n}),eI=Ao(te(function(t){let c=P0e(t);return ne(M0e,c)}),Js);function WA({combobox:e,...t}={}){let c=fd(t.store,No(e,["value","items","renderedItems","compositeElement","baseElement","arrowElement","anchorElement","contentElement","popoverElement","disclosureElement","inputElement","labelElement","selectElement","selectLabelElement"]));let n=c.getState(),l=lo({...t,store:c,virtualFocus:Je(t.virtualFocus,n.virtualFocus,!0),compositeElementInFocusOrder:Je(t.compositeElementInFocusOrder,t.includesBaseElement,n.compositeElementInFocusOrder,n.includesBaseElement,!1),activeId:Je(t.activeId,n.activeId,t.defaultActiveId,null),orientation:Je(t.orientation,n.orientation,"vertical")}),o=SH({...t,store:c,placement:Je(t.placement,n.placement,"bottom-start")}),d=new String(""),i={...l.getState(),...o.getState(),value:Je(t.value,n.value,t.defaultValue,d),setValueOnMove:Je(t.setValueOnMove,n.setValueOnMove,!1),labelElement:Je(n.labelElement,null),selectElement:Je(n.selectElement,null),listElement:Je(n.listElement,null)},r=Tt(i,l,o,c);return Dt(r,()=>lt(r,["value","items"],a=>{if(a.value!==d||!a.items.length)return;let s=a.items.find(b=>!b.disabled&&b.value!=null);s?.value!=null&&r.setState("value",s.value)})),Dt(r,()=>lt(r,["mounted"],a=>{a.mounted||r.setState("activeId",i.activeId)})),Dt(r,()=>lt(r,["mounted","items","value"],a=>{if(e||a.mounted)return;let s=pR(a.value),b=s[s.length-1];if(b==null)return;let m=a.items.find(X=>!X.disabled&&X.value===b);m&&r.setState("activeId",m.id)})),Dt(r,()=>Wi(r,["setValueOnMove","moves"],a=>{let{mounted:s,value:b,activeId:m}=r.getState();if(!a.setValueOnMove&&s||Array.isArray(b)||!a.moves||!m)return;let X=l.item(m);!X||X.disabled||X.value==null||r.setState("value",X.value)})),{...l,...o,...r,combobox:e,setValue:a=>r.setState("value",a),setLabelElement:a=>{r.setState("labelElement",a),e?.setSelectLabelElement(a)},setSelectElement:a=>r.setState("selectElement",a),setListElement:a=>r.setState("listElement",a)}}function q0e(e){let t=$R();return e={...e,combobox:e.combobox!==void 0?e.combobox:t},gG(e)}function $0e(e,t,c){return Qn(t,[c.combobox,t]),mt(e,c,"value","setValue"),mt(e,c,"setValueOnMove"),Object.assign(wH(zo(e,t,c),t,c),{combobox:c.combobox})}function tI(e={}){e=q0e(e);let[t,c]=nc(WA,e);return $0e(t,c,e)}var hA=u(E(),1),BA=u(F(),1);var eXe="div",tXe=ce(function({store:t,"aria-setsize":c,"aria-posinset":n,...l}){let o=Zd();t=t||o,ke(t,!1);let d=Ft(l.id),i=$(t,"compositeElement")||void 0,r=(0,hA.useMemo)(()=>({id:d,compositeElement:i,ariaSetSize:c,ariaPosInSet:n}),[d,i,c,n]);return l=Le(l,a=>(0,BA.jsx)(zR.Provider,{value:r,children:a}),[r]),l={...l,id:d},l}),cI=te(function(t){let c=tXe(t);return ne(eXe,c)});function vA(e={}){e.store;let t=e.store?.getState(),c={value:Je(e.value,t?.value,e.defaultValue,!1)},n=Tt(c,e.store);return{...n,setValue:l=>n.setState("value",l)}}function nXe(e,t,c){return Qn(t,[c.store,t]),mt(e,c,"value","setValue"),e}function VA(e={}){let[t,c]=nc(vA,e);return nXe(t,c,e)}var DG=Jt(),CA=DG.useContext,$Oe=DG.useScopedContext,eQe=DG.useProviderContext,tQe=DG.ContextProvider,cQe=DG.ScopedContextProvider;var tm=u(E(),1),JA=u(F(),1);function nI(e){return Array.isArray(e)?e.toString():e}var YA="input";function FA(e,t){t?e.indeterminate=!0:e.indeterminate&&(e.indeterminate=!1)}function lXe(e,t){return e==="input"&&(!t||t==="checkbox")}var t2=ce(function({store:t,name:c,value:n,checked:l,defaultChecked:o,...d}){let i=CA();t=t||i;let[r,a]=(0,tm.useState)(o??!1),s=$(t,["value"],y=>{if(l!==void 0)return l;if(y?.value===void 0)return r;if(n!=null){if(Array.isArray(y.value)){let Z=nI(n);return y.value.includes(Z)}return y.value===n}return Array.isArray(y.value)?!1:typeof y.value=="boolean"?y.value:!1}),b=(0,tm.useRef)(null),m=lXe(hu(b,YA),d.type),X=s?s==="mixed":void 0,G=s==="mixed"?!1:s,g=bc(d),[x,H]=vu();(0,tm.useEffect)(()=>{let y=b.current;y&&(FA(y,X),!m&&(y.checked=G,c!==void 0&&(y.name=c),n!==void 0&&(y.value=String(n))))},[x,X,m,G,c,n]);let p=d.onChange,R=ge(y=>{if(g){y.stopPropagation(),y.preventDefault();return}if(FA(y.currentTarget,X),m||(y.currentTarget.checked=!y.currentTarget.checked,H()),p?.(y),y.defaultPrevented)return;let Z=y.currentTarget.checked;a(Z),t?.setValue(W=>{if(n==null)return Z;let v=nI(n);return Array.isArray(W)?Z?W.includes(v)?W:[...W,v]:W.filter(h=>h!==v):W===v?!1:v})}),I=d.onClick,f=ge(y=>{I?.(y),!y.defaultPrevented&&(m||R(y))});return d=Le(d,y=>(0,JA.jsx)(PH.Provider,{value:G,children:y}),[G]),d={role:m?void 0:"checkbox",type:m?"checkbox":void 0,"aria-checked":s,...d,ref:Me(b,d.ref),onChange:R,onClick:f},d=fs({clickOnEnter:!m,...d}),co({name:m?c:void 0,value:m?n:void 0,checked:G,...d})}),sQe=te(function(t){let c=t2(t);return ne(YA,c)});var c2=u(E(),1),_G=Jt([bl,FH],[yn,Pu]),jG=_G.useContext,cm=_G.useScopedContext,Os=_G.useProviderContext,NA=_G.ContextProvider,SA=_G.ScopedContextProvider;var lI=(0,c2.createContext)(void 0),oI=(0,c2.createContext)(!1);var dI=u(E(),1),n2=u(F(),1);var oXe="div";function dXe({store:e,...t}){let[c,n]=(0,dI.useState)(void 0),l=t["aria-label"],o=$(e,"disclosureElement"),d=$(e,"contentElement");return(0,dI.useEffect)(()=>{let i=d;if(!i)return;let r=l||i.hasAttribute("aria-label")?void 0:o?.id||void 0;n(r)},[l,o,d]),c}var l2=ce(function({store:t,alwaysVisible:c,composite:n,...l}){let o=Os();t=t||o,ke(t,!1);let d=t.parent,i=t.menubar,r=!!d,a=Ft(l.id),s=l.onKeyDown,b=$(t,["placement"],f=>vd(f.placement)),m=$(t,["orientation"],f=>f.orientation==="both"?void 0:f.orientation),X=m!=="vertical",G=$(i,["orientation"],f=>!!f&&f.orientation!=="vertical"),g=ge(f=>{if(s?.(f),!f.defaultPrevented){if(r||i&&!X){let y={ArrowRight:()=>b==="left"&&!X,ArrowLeft:()=>b==="right"&&!X,ArrowUp:()=>b==="bottom"&&X,ArrowDown:()=>b==="top"&&X}[f.key];if(y?.())return f.stopPropagation(),f.preventDefault(),t?.hide()}if(i){let y={ArrowRight:()=>{if(G)return i.next()},ArrowLeft:()=>{if(G)return i.previous()},ArrowDown:()=>{if(!G)return i.next()},ArrowUp:()=>{if(!G)return i.previous()}}[f.key],Z=y?.();Z!==void 0&&(f.stopPropagation(),f.preventDefault(),i.move(Z))}}});l=Le(l,f=>(0,n2.jsx)(SA,{value:t,children:f}),[t]);let x=dXe({store:t,...l}),H=$(t,"mounted"),p=vi(H,l.hidden,c),R=p?{...l.style,display:"none"}:l.style;l=Le(l,f=>(0,n2.jsx)(oI.Provider,{value:p,children:f}),[p]),l={"aria-labelledby":x,hidden:p,...l,id:a,ref:Me(a?t.setContentElement:null,l.ref),style:R,onKeyDown:g};let I=!!t.combobox;return n=n??!I,n&&(l={role:"menu","aria-orientation":m,...l}),l=ko({store:t,composite:n,...l}),l=Fi({store:t,typeahead:!I,...l}),l}),iXe=te(function(t){let c=l2(t);return ne(oXe,c)});var Uo=u(E(),1);var rXe="div",aXe=ce(function({store:t,modal:c=!1,portal:n=c,hideOnEscape:l=!0,autoFocusOnShow:o=!0,hideOnHoverOutside:d,alwaysVisible:i,getPersistentElements:r,unstable_treeSnapshotKey:a,...s}){let b=Os();t=t||b,ke(t,!1);let m=(0,Uo.useRef)(null),X=t.parent,G=t.menubar,g=!!X,x=!!G&&!g,H=g?!1:c;s={...s,ref:Me(m,s.ref)};let{"aria-labelledby":p,...R}=l2({store:t,alwaysVisible:i,...s});s=R;let[I,f]=(0,Uo.useState)(),y=$(t,["autoFocusOnShow","initialFocus","renderedItems","compositeElement"],J=>{if(!J.autoFocusOnShow)return;let k=N=>!N.disabled&&!!N.element;switch(J.initialFocus){case"first":return J.renderedItems.find(k)?.element||null;case"last":for(let N=J.renderedItems.length-1;N>=0;N-=1){let A=J.renderedItems[N];if(A&&k(A))return A.element}return null;default:return J.compositeElement}});(0,Uo.useEffect)(()=>{let J=!1;return f(k=>{if(J)return;if(H&&k?.current?.isConnected)return k;if(y===void 0)return;if(y&&y===k?.current)return k;let N=(0,Uo.createRef)();return N.current=y,N}),()=>{J=!0}},[H,y]);let Z=!!I||!!s.initialFocus||H,W=o===!1?!1:Z&&o,v=$(t,["disclosureElement","anchorElement"],J=>J.disclosureElement||J.anchorElement),h=$(t,["disclosureElement","contentElement"],J=>{let{disclosureElement:k,contentElement:N}=J;return!k?.isConnected||vv(k)||N?.contains(k)?null:k}),C=H?h:null,B=(0,Uo.useMemo)(()=>[a,C],[a,C]),V=$(t.combobox||t,"contentElement"),S=$(X?.combobox||X,"contentElement"),Y=(0,Uo.useMemo)(()=>{if(!S||!V)return;let J=V.getAttribute("role"),k=S.getAttribute("role");if(!((k==="menu"||k==="menubar")&&J==="menu"))return S},[V,S]);return Y!==void 0&&(s={preserveTabOrderAnchor:Y,...s}),s=wG({store:t,alwaysVisible:i,initialFocus:I,autoFocusOnShow:W,finalFocus:v,...s,hideOnEscape(J){return fi(l,J)?!1:(t?.hideAll(),!0)},hideOnHoverOutside(J){let k=t?.getState().disclosureElement;return(typeof d=="function"?d(J):d??(g?!0:x?k?!no(k):!0:!1))?J.defaultPrevented||!g||!k||(bk(k,"mouseout",J),!no(k))?!0:(requestAnimationFrame(()=>{no(k)||t?.hide()}),!1):!1},getPersistentElements(){let J=r?.()||[];return!H||!h?J:[...J,h]},unstable_treeSnapshotKey:B,modal:H,portal:n,backdrop:g?!1:s.backdrop}),s={"aria-labelledby":p,...s},s}),iI=Ao(te(function(t){let c=aXe(t);return ne(rXe,c)}),Os);var kA=u(E(),1),o2=u(F(),1);var sXe="button";function bXe(e,t){return{ArrowDown:t==="bottom"||t==="top"?"first":!1,ArrowUp:t==="bottom"||t==="top"?"last":!1,ArrowRight:t==="right"?"first":!1,ArrowLeft:t==="left"?"first":!1}[e.key]}function wA(e,t){return!!e?.some(c=>!c.element||c.element===t?!1:c.element.getAttribute("aria-expanded")==="true")}var uXe=ce(function({store:t,focusable:c,accessibleWhenDisabled:n,showOnHover:l,unstable_showOnHoverWhenDisabled:o=!1,...d}){let i=Os();t=t||i,ke(t,!1);let r=(0,kA.useRef)(null),a=t.parent,s=t.menubar,b=!!a,m=!!s&&!b,X=bc(d),G=B=>X||ZR(B),g=()=>{let B=r.current;B&&(t?.setDisclosureElement(B),t?.show())},x=d.onFocus,H=ge(B=>{if(x?.(B),G(B.currentTarget)||B.defaultPrevented||(t?.setAutoFocusOnShow(!1),t?.setActiveId(null),!s)||!m)return;let{items:V}=s.getState();wA(V,B.currentTarget)&&g()}),p=$(t,["placement"],B=>vd(B.placement)),R=d.onKeyDown,I=ge(B=>{if(R?.(B),G(B.currentTarget)||B.defaultPrevented)return;let V=bXe(B,p);if(V){B.preventDefault();let{open:S}=t.getState();if(S){let Y=V==="last"?t.last():t.first();t.move(Y);return}g(),t?.setAutoFocusOnShow(!0),t?.setInitialFocus(V)}}),f=d.onClick,y=ge(B=>{if(f?.(B),B.defaultPrevented||!t)return;let V=!B.detail,{open:S}=t.getState();(!S||V)&&((!b||V)&&t.setAutoFocusOnShow(!0),t.setInitialFocus(V?"first":"container")),b&&g()});d=Le(d,B=>(0,o2.jsx)(NA,{value:t,children:B}),[t]),b&&(d={...d,render:(0,o2.jsx)(Bd.div,{render:d.render})});let Z=Ft(d.id),W=$(a?.combobox||a,"contentElement"),v=b||m?yu(W,"menuitem"):void 0,h=$(t,"contentElement"),C=!!t.combobox;return d={role:v,"aria-haspopup":ps(h,C?"dialog":"menu"),...d,id:Z,ref:Me(r,d.ref),onFocus:H,onKeyDown:I,onClick:y},d=YH({store:t,focusable:c,accessibleWhenDisabled:n,...d,unstable_showOnHoverWhenDisabled:o,showOnHover:B=>{if(!(()=>{if(typeof l=="function")return l(B);if(l!=null)return l;if(b)return!0;if(!s)return!1;let{items:Y}=s.getState();return m&&wA(Y)})())return!1;let S=m?s:a;return S&&S.setActiveId(B.currentTarget.id),!0}}),d=OG({store:t,toggleOnClick:!b,focusable:c,accessibleWhenDisabled:n,...d}),d=Fi({store:t,typeahead:m,...d}),d}),nm=te(function(t){let c=uXe(t);return ne(sXe,vc(c))});var mXe="div",XXe=ce(function(t){return t=Mv(t),t}),rI=te(function(t){let c=XXe(t);return ne(mXe,c)});var GXe="div",gXe=ce(function(t){return t=Kv(t),t}),aI=te(function(t){let c=gXe(t);return ne(GXe,c)});var zA=u(E(),1);var xXe="div";function pXe(e,t,c){if(!e)return!1;if(no(e))return!0;let n=t?.find(o=>o.element===c?!1:o.element?.getAttribute("aria-expanded")==="true")?.element?.getAttribute("aria-controls");if(!n)return!1;let l=nt(e).getElementById(n);return l?no(l)?!0:!!l.querySelector("[role=menuitem][aria-expanded=true]"):!1}var MG=ce(function({store:t,hideOnClick:c=!0,preventScrollOnKeyDown:n=!0,focusOnHover:l,blurOnHoverEnd:o,...d}){let i=cm(!0),r=nA();t=t||i||r,ke(t,!1);let a=d.onClick,s=Wt(c),b="hideAll"in t?t.hideAll:void 0,m=!!b,X=ge(x=>{if(a?.(x),x.defaultPrevented||vR(x)||BR(x)||!b)return;let H=x.currentTarget.getAttribute("aria-haspopup");H&&H!=="false"||s(x)&&b()}),G=$(t,["contentElement"],x=>"contentElement"in x?x.contentElement:null),g=(0,zA.useContext)(oI);return d={role:yu(G,"menuitem"),...d,onClick:X},d=wo({store:t,preventScrollOnKeyDown:n,...d,shouldRegisterItem:g?!1:d.shouldRegisterItem}),d=EG({store:t,...d,focusOnHover(x){let H=()=>typeof l=="function"?l(x):l??!0;if(!t||!H())return!1;let{compositeElement:p,items:R}=t.getState();return m?(x.currentTarget.hasAttribute("aria-expanded")&&x.currentTarget.focus({preventScroll:!0}),!0):pXe(p,R,x.currentTarget)?(x.currentTarget.focus({preventScroll:!0}),!0):!1},blurOnHoverEnd(x){return typeof o=="function"?o(x):o??m}}),d}),sI=mc(te(function(t){let c=MG(t);return ne(xXe,c)}));var TA=u(E(),1),RXe="span",HXe=ce(function({store:t,checked:c,...n}){let l=(0,TA.useContext)(lI);return c=c??l,n=LG({...n,checked:c}),n}),lm=te(function(t){let c=HXe(t);return ne(RXe,c)});var i2=u(E(),1);var IXe="div";function d2(e,t,c){if(t===void 0)return Array.isArray(e)?e:!!c;let n=nI(t);return Array.isArray(e)?c?e.includes(n)?e:[...e,n]:e.filter(l=>l!==n):c?n:e===n?!1:e}var ZXe=ce(function({store:t,name:c,value:n,checked:l,defaultChecked:o,hideOnClick:d=!1,...i}){let r=cm();t=t||r,ke(t,!1);let a=eG(o);(0,i2.useEffect)(()=>{t?.setValue(c,(b=n!==void 0?[]:!1)=>a?d2(b,n,!0):b)},[t,c,n,a]),(0,i2.useEffect)(()=>{l!==void 0&&t?.setValue(c,b=>d2(b,n,l))},[t,c,n,l]);let s=VA({value:$(t,["values"],b=>b.values[c]),setValue(b){t?.setValue(c,()=>{if(l===void 0)return b;let m=d2(b,n,l);return!Array.isArray(m)||!Array.isArray(b)?m:qw(b,m)?b:m})}});return i={role:"menuitemcheckbox",...i},i=t2({store:s,name:c,value:n,checked:l,...i}),i=MG({store:t,hideOnClick:d,...i}),i}),bI=mc(te(function(t){let c=ZXe(t);return ne(IXe,c)}));var a2=u(E(),1),AA=u(F(),1);var fXe="div";function r2(e,t,c){return c===void 0?e:c?t:e===t?!1:e}var yXe=ce(function({store:t,name:c,value:n,checked:l,defaultChecked:o,onChange:d,hideOnClick:i=!1,...r}){let a=cm();t=t||a,ke(t,!1);let s=eG(o);(0,a2.useEffect)(()=>{t?.setValue(c,(m=!1)=>r2(m,n,s))},[t,c,n,s]),(0,a2.useEffect)(()=>{l!==void 0&&t?.setValue(c,m=>r2(m,n,l))},[t,c,n,l]);let b=$(t,["values"],m=>m.values[c]===n);return r=Le(r,m=>(0,AA.jsx)(lI.Provider,{value:b,children:m}),[b]),r={role:"menuitemradio",...r},r=Lv({name:c,value:n,checked:b,onChange(m){if(d?.(m),m.defaultPrevented)return;let X=m.currentTarget;t?.setValue(c,G=>r2(G,n,l??X.checked))},...r}),r=MG({store:t,hideOnClick:i,...r}),r}),uI=mc(te(function(t){let c=yXe(t);return ne(fXe,c)}));function OA({combobox:e,parent:t,menubar:c,...n}={}){let l=!!c&&!t,o=fd(n.store,Ek(t,["values"]),No(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let d=o.getState(),i=lo({...n,store:o,orientation:Je(n.orientation,d.orientation,"vertical")}),r=kH({...n,store:o,placement:Je(n.placement,d.placement,"bottom-start"),timeout:Je(n.timeout,d.timeout,l?0:150),hideTimeout:Je(n.hideTimeout,d.hideTimeout,0)}),a={...i.getState(),...r.getState(),initialFocus:Je(d.initialFocus,"container"),values:Je(n.values,d.values,n.defaultValues,{})},s=Tt(a,i,r,o);return Dt(s,()=>lt(s,["mounted"],b=>{b.mounted||s.setState("activeId",null)})),Dt(s,()=>lt(t,["orientation"],b=>{s.setState("placement",b.orientation==="vertical"?"right-start":"bottom-start")})),{...i,...r,...s,combobox:e,parent:t,menubar:c,hideAll:()=>{r.hide(),t?.hideAll()},setInitialFocus:b=>s.setState("initialFocus",b),setValues:b=>s.setState("values",b),setValue:(b,m)=>{b!=="__proto__"&&b!=="constructor"&&(Array.isArray(b)||s.setState("values",X=>{let G=X[b],g=fu(m,G);return g===G?X:{...X,[b]:g!==void 0&&g}}))}}}function hXe(e,t,c){return Qn(t,[c.combobox,c.parent,c.menubar,t]),mt(e,c,"values","setValues"),Object.assign(zH(zo(e,t,c),t,c),{combobox:c.combobox,parent:c.parent,menubar:c.menubar})}function mI(e={}){let t=jG(),c=cA(),n=$R();e={...e,parent:e.parent!==void 0?e.parent:t,menubar:e.menubar!==void 0?e.menubar:c,combobox:e.combobox!==void 0?e.combobox:n};let[l,o]=nc(OA,e);return hXe(l,o,e)}var BXe="hr",vXe=ce(function({store:t,...c}){let n=jG();return t=t||n,c=bv({store:t,...c}),c}),XI=te(function(t){let c=vXe(t);return ne(BXe,c)});var iO=u(Ze(),1),gI=u(T(),1);var om=u(T(),1),PG=(0,om.createContext)({});PG.displayName="CompositeContext";var bo=()=>(0,om.useContext)(PG),GI=(0,om.createContext)(!1);GI.displayName="CompositeGroupContext";var QA=()=>(0,om.useContext)(GI);var UA=u(T(),1);var s2=u(F(),1),EA=(0,UA.forwardRef)(function(t,c){let n=bo(),{children:l,...o}=t,d=t.store??n.store;return(0,s2.jsx)(DH,{store:d,...o,ref:c,children:(0,s2.jsx)(GI.Provider,{value:!0,children:l})})});var LA=u(T(),1);var DA=u(F(),1),_A=(0,LA.forwardRef)(function(t,c){let n=bo();if(!QA())throw new Error("Composite.GroupLabel can only be rendered inside Composite.Group.");let o=t.store??n.store;return(0,DA.jsx)(_H,{store:o,...t,ref:c})});var jA=u(T(),1);var MA=u(F(),1),PA=(0,jA.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,MA.jsx)(jH,{store:l,...t,ref:c})});var qA=u(T(),1),lLe=u(En(),1);var $A=u(F(),1),eO=(0,qA.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,$A.jsx)(hs,{store:l,...t,ref:c})});var tO=u(T(),1);var cO=u(F(),1),nO=(0,tO.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,cO.jsx)(cI,{store:l,...t,ref:c})});var lO=u(T(),1);var oO=u(F(),1),dO=(0,lO.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,oO.jsx)(QH,{store:l,...t,ref:c})});var b2=u(F(),1),Bn=Object.assign((0,gI.forwardRef)(function({activeId:t,defaultActiveId:c,setActiveId:n,focusLoop:l=!1,focusWrap:o=!1,focusShift:d=!1,virtualFocus:i=!1,orientation:r="both",rtl:a=(0,iO.isRTL)(),children:s,disabled:b=!1,...m},X){let G=m.store,g=Au({activeId:t,defaultActiveId:c,setActiveId:n,focusLoop:l,focusWrap:o,focusShift:d,virtualFocus:i,orientation:r,rtl:a}),x=G??g,H=(0,gI.useMemo)(()=>({store:x}),[x]);return(0,b2.jsx)(PR,{disabled:b,store:x,...m,ref:X,children:(0,b2.jsx)(PG.Provider,{value:H,children:s})})}),{Group:Object.assign(EA,{displayName:"Composite.Group"}),GroupLabel:Object.assign(_A,{displayName:"Composite.GroupLabel"}),Item:Object.assign(eO,{displayName:"Composite.Item"}),Row:Object.assign(nO,{displayName:"Composite.Row"}),Hover:Object.assign(PA,{displayName:"Composite.Hover"}),Typeahead:Object.assign(dO,{displayName:"Composite.Typeahead"}),Context:Object.assign(PG,{displayName:"Composite.Context"})});var PL=u(me(),1),ba=u(T(),1),KL=u(Xt(),1);var aO=u(F(),1);function VXe(e){let{shortcut:t,className:c}=e;if(!t)return null;let n,l;return typeof t=="string"&&(n=t),t!==null&&typeof t=="object"&&(n=t.display,l=t.ariaLabel),(0,aO.jsx)("span",{className:c,"aria-label":l,children:n})}var xI=VXe;var $G=u(F(),1),Yd=u(E(),1);var sO=u(E(),1),dm=(0,sO.createContext)({});var bO=u(E(),1);function im(e){let t=(0,bO.useRef)(null);return t.current===null&&(t.current=e()),t.current}var m2=u(F(),1),gO=u(E(),1),Qs=u(E(),1);var uO=u(E(),1),Ji=(0,uO.createContext)(null);var XO=u(F(),1),pI=u(E(),1),Yi=u(E(),1);var mO=u(E(),1),rm=(0,mO.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var u2=class extends pI.Component{getSnapshotBeforeUpdate(t){let c=this.props.childRef.current;if(c&&t.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=c.offsetHeight||0,n.width=c.offsetWidth||0,n.top=c.offsetTop,n.left=c.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function GO({children:e,isPresent:t}){let c=(0,Yi.useId)(),n=(0,Yi.useRef)(null),l=(0,Yi.useRef)({width:0,height:0,top:0,left:0}),{nonce:o}=(0,Yi.useContext)(rm);return(0,Yi.useInsertionEffect)(()=>{let{width:d,height:i,top:r,left:a}=l.current;if(t||!n.current||!d||!i)return;n.current.dataset.motionPopId=c;let s=document.createElement("style");return o&&(s.nonce=o),document.head.appendChild(s),s.sheet&&s.sheet.insertRule(` | |
| 3 | + [data-motion-pop-id="${c}"] { | |
| 3 | 4 | position: absolute !important; |
| 4 | - width: ${o}px !important; | |
| 5 | - height: ${n}px !important; | |
| 6 | - top: ${G}px !important; | |
| 7 | - left: ${X}px !important; | |
| 5 | + width: ${d}px !important; | |
| 6 | + height: ${i}px !important; | |
| 7 | + top: ${r}px !important; | |
| 8 | + left: ${a}px !important; | |
| 8 | 9 | } |
| 9 | - `),()=>{document.head.removeChild(i)}},[l]),(0,$k.jsx)(NV,{isPresent:l,childRef:e,sizeRef:d,children:oR.cloneElement(c,{ref:e})})}var tz=({children:c,initial:l,isPresent:t,onExitComplete:e,custom:d,presenceAffectsLayout:b,mode:o})=>{let n=Xu(Xnc),G=(0,AX.useId)(),X=(0,AX.useCallback)(a=>{n.set(a,!0);for(let m of n.values())if(!m)return;e&&e()},[n,e]),i=(0,AX.useMemo)(()=>({id:G,initial:l,isPresent:t,custom:d,onExitComplete:X,register:a=>(n.set(a,!1),()=>n.delete(a))}),b?[Math.random(),X]:[t,X]);return(0,AX.useMemo)(()=>{n.forEach((a,m)=>n.set(m,!1))},[t]),lz.useEffect(()=>{!t&&!n.size&&e&&e()},[t]),o==="popLayout"&&(c=(0,fV.jsx)(cz,{isPresent:t,children:c})),(0,fV.jsx)(lG.Provider,{value:i,children:c})};function Xnc(){return new Map}var nR=u(E(),1),ts=c=>c.key||"";function SV(c){let l=[];return nR.Children.forEach(c,t=>{(0,nR.isValidElement)(t)&&l.push(t)}),l}var gu=({children:c,exitBeforeEnter:l,custom:t,initial:e=!0,onExitComplete:d,presenceAffectsLayout:b=!0,mode:o="sync"})=>{Ee(!l,"Replace exitBeforeEnter with mode='wait'");let n=(0,Ub.useMemo)(()=>SV(c),[c]),G=n.map(ts),X=(0,Ub.useRef)(!0),i=(0,Ub.useRef)(n),a=Xu(()=>new Map),[m,x]=(0,Ub.useState)(n),[s,g]=(0,Ub.useState)(n);wH(()=>{X.current=!1,i.current=n;for(let Z=0;Z<s.length;Z++){let R=ts(s[Z]);G.includes(R)?a.delete(R):a.get(R)!==!0&&a.set(R,!1)}},[s,G.length,G.join("-")]);let r=[];if(n!==m){let Z=[...n];for(let R=0;R<s.length;R++){let W=s[R],I=ts(W);G.includes(I)||(Z.splice(R,0,W),r.push(W))}o==="wait"&&r.length&&(Z=r),g(SV(Z)),x(n);return}let{forceRender:H}=(0,Ub.useContext)(qa);return(0,es.jsx)(es.Fragment,{children:s.map(Z=>{let R=ts(Z),W=n===s||G.includes(R),I=()=>{if(a.has(R))a.set(R,!0);else return;let B=!0;a.forEach(p=>{p||(B=!1)}),B&&(H?.(),g(i.current),d&&d())};return(0,es.jsx)(tz,{isPresent:W,initial:!X.current||e?void 0:!1,custom:W?void 0:t,presenceAffectsLayout:b,mode:o,onExitComplete:W?void 0:I,children:Z},R)})})};var ru=u(h(),1);function Qt(c){return c!=null}function ez(c){let l=c==="";return!Qt(c)||l}function dz(c=[],l){return c.find(Qt)??l}var inc=c=>parseFloat(c),ds=c=>typeof c=="string"?inc(c):c;var bz={initial:void 0,fallback:""};function anc(c,l=bz){let{initial:t,fallback:e}={...bz,...l},[d,b]=(0,ru.useState)(c),o=Qt(c);(0,ru.useEffect)(()=>{o&&d&&b(void 0)},[o,d]);let n=dz([c,d,t],e),G=(0,ru.useCallback)(X=>{o||b(X)},[o]);return[n,G]}var Po=anc;var bs=u(h(),1);function unc(c,l){let t=(0,bs.useRef)(!1);(0,bs.useEffect)(()=>{if(t.current)return c();t.current=!0},l),(0,bs.useEffect)(()=>()=>{t.current=!1},[])}var OX=unc;var GR=u(h(),1);function ee({defaultValue:c,onChange:l,value:t}){let e=typeof t<"u",d=e?t:c,[b,o]=(0,GR.useState)(d),n=e?t:b,G=(0,GR.useCallback)((i,...a)=>{o(i),l?.(i,...a)},[l]),X;return e&&typeof l=="function"?X=l:!e&&typeof l=="function"?X=G:X=o,[n,X]}var Id=u(E()),ms=u(E());var mnc=!1;function xnc(c){if(c.sheet)return c.sheet;for(var l=0;l<document.styleSheets.length;l++)if(document.styleSheets[l].ownerNode===c)return document.styleSheets[l]}function snc(c){var l=document.createElement("style");return l.setAttribute("data-emotion",c.key),c.nonce!==void 0&&l.setAttribute("nonce",c.nonce),l.appendChild(document.createTextNode("")),l.setAttribute("data-s",""),l}var oz=(function(){function c(t){var e=this;this._insertTag=function(d){var b;e.tags.length===0?e.insertionPoint?b=e.insertionPoint.nextSibling:e.prepend?b=e.container.firstChild:b=e.before:b=e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(d,b),e.tags.push(d)},this.isSpeedy=t.speedy===void 0?!mnc:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var l=c.prototype;return l.hydrate=function(e){e.forEach(this._insertTag)},l.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(snc(this));var d=this.tags[this.tags.length-1];if(this.isSpeedy){var b=xnc(d);try{b.insertRule(e,b.cssRules.length)}catch{}}else d.appendChild(document.createTextNode(e));this.ctr++},l.flush=function(){this.tags.forEach(function(e){var d;return(d=e.parentNode)==null?void 0:d.removeChild(e)}),this.tags=[],this.ctr=0},c})();var Vt="-ms-",os="-moz-",_c="-webkit-",XR="comm",Zu="rule",Hu="decl";var nz="@import";var iR="@keyframes";var Gz="@layer";var Xz=Math.abs,QX=String.fromCharCode,iz=Object.assign;function az(c,l){return Ql(c,0)^45?(((l<<2^Ql(c,0))<<2^Ql(c,1))<<2^Ql(c,2))<<2^Ql(c,3):0}function aR(c){return c.trim()}function kV(c,l){return(c=l.exec(c))?c[0]:c}function Dc(c,l,t){return c.replace(l,t)}function ns(c,l){return c.indexOf(l)}function Ql(c,l){return c.charCodeAt(l)|0}function bG(c,l,t){return c.slice(l,t)}function de(c){return c.length}function Ru(c){return c.length}function Iu(c,l){return l.push(c),c}function zV(c,l){return c.map(l).join("")}var uR=1,Wu=1,uz=0,be=0,El=0,Bu="";function Gs(c,l,t,e,d,b,o){return{value:c,root:l,parent:t,type:e,props:d,children:b,line:uR,column:Wu,length:o,return:""}}function yu(c,l){return iz(Gs("",null,null,"",null,null,0),c,{length:-c.length},l)}function mz(){return El}function xz(){return El=be>0?Ql(Bu,--be):0,Wu--,El===10&&(Wu=1,uR--),El}function oe(){return El=be<uz?Ql(Bu,be++):0,Wu++,El===10&&(Wu=1,uR++),El}function Rd(){return Ql(Bu,be)}function Xs(){return be}function Vu(c,l){return bG(Bu,c,l)}function pu(c){switch(c){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mR(c){return uR=Wu=1,uz=de(Bu=c),be=0,[]}function xR(c){return Bu="",c}function Cu(c){return aR(Vu(be-1,AV(c===91?c+2:c===40?c+1:c)))}function sz(c){for(;(El=Rd())&&El<33;)oe();return pu(c)>2||pu(El)>3?"":" "}function gz(c,l){for(;--l&&oe()&&!(El<48||El>102||El>57&&El<65||El>70&&El<97););return Vu(c,Xs()+(l<6&&Rd()==32&&oe()==32))}function AV(c){for(;oe();)switch(El){case c:return be;case 34:case 39:c!==34&&c!==39&&AV(El);break;case 40:c===41&&AV(c);break;case 92:oe();break}return be}function rz(c,l){for(;oe()&&c+El!==57;)if(c+El===84&&Rd()===47)break;return"/*"+Vu(l,be-1)+"*"+QX(c===47?c:oe())}function Zz(c){for(;!pu(Rd());)oe();return Vu(c,be)}function Iz(c){return xR(sR("",null,null,null,[""],c=mR(c),0,[0],c))}function sR(c,l,t,e,d,b,o,n,G){for(var X=0,i=0,a=o,m=0,x=0,s=0,g=1,r=1,H=1,Z=0,R="",W=d,I=b,B=e,p=R;r;)switch(s=Z,Z=oe()){case 40:if(s!=108&&Ql(p,a-1)==58){ns(p+=Dc(Cu(Z),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:p+=Cu(Z);break;case 9:case 10:case 13:case 32:p+=sz(s);break;case 92:p+=gz(Xs()-1,7);continue;case 47:switch(Rd()){case 42:case 47:Iu(gnc(rz(oe(),Xs()),l,t),G);break;default:p+="/"}break;case 123*g:n[X++]=de(p)*H;case 125*g:case 59:case 0:switch(Z){case 0:case 125:r=0;case 59+i:H==-1&&(p=Dc(p,/\f/g,"")),x>0&&de(p)-a&&Iu(x>32?Rz(p+";",e,t,a-1):Rz(Dc(p," ","")+";",e,t,a-2),G);break;case 59:p+=";";default:if(Iu(B=Hz(p,l,t,X,i,d,n,R,W=[],I=[],a),b),Z===123)if(i===0)sR(p,l,B,B,W,b,a,n,I);else switch(m===99&&Ql(p,3)===110?100:m){case 100:case 108:case 109:case 115:sR(c,B,B,e&&Iu(Hz(c,B,B,0,0,d,n,R,d,W=[],a),I),d,I,a,n,e?W:I);break;default:sR(p,B,B,B,[""],I,0,n,I)}}X=i=x=0,g=H=1,R=p="",a=o;break;case 58:a=1+de(p),x=s;default:if(g<1){if(Z==123)--g;else if(Z==125&&g++==0&&xz()==125)continue}switch(p+=QX(Z),Z*g){case 38:H=i>0?1:(p+="\f",-1);break;case 44:n[X++]=(de(p)-1)*H,H=1;break;case 64:Rd()===45&&(p+=Cu(oe())),m=Rd(),i=a=de(R=p+=Zz(Xs())),Z++;break;case 45:s===45&&de(p)==2&&(g=0)}}return b}function Hz(c,l,t,e,d,b,o,n,G,X,i){for(var a=d-1,m=d===0?b:[""],x=Ru(m),s=0,g=0,r=0;s<e;++s)for(var H=0,Z=bG(c,a+1,a=Xz(g=o[s])),R=c;H<x;++H)(R=aR(g>0?m[H]+" "+Z:Dc(Z,/&\f/g,m[H])))&&(G[r++]=R);return Gs(c,l,t,d===0?Zu:n,G,X,i)}function gnc(c,l,t){return Gs(c,l,t,XR,QX(mz()),bG(c,2,-2),0)}function Rz(c,l,t,e){return Gs(c,l,t,Hu,bG(c,0,e),bG(c,e+1,-1),e)}function wX(c,l){for(var t="",e=Ru(c),d=0;d<e;d++)t+=l(c[d],d,c,l)||"";return t}function Wz(c,l,t,e){switch(c.type){case Gz:if(c.children.length)break;case nz:case Hu:return c.return=c.return||c.value;case XR:return"";case iR:return c.return=c.value+"{"+wX(c.children,e)+"}";case Zu:c.value=c.props.join(",")}return de(t=wX(c.children,e))?c.return=c.value+"{"+t+"}":""}function pz(c){var l=Ru(c);return function(t,e,d,b){for(var o="",n=0;n<l;n++)o+=c[n](t,e,d,b)||"";return o}}function Bz(c){return function(l){l.root||(l=l.return)&&c(l)}}lR();var rnc=function(l,t,e){for(var d=0,b=0;d=b,b=Rd(),d===38&&b===12&&(t[e]=1),!pu(b);)oe();return Vu(l,be)},Znc=function(l,t){var e=-1,d=44;do switch(pu(d)){case 0:d===38&&Rd()===12&&(t[e]=1),l[e]+=rnc(be-1,t,e);break;case 2:l[e]+=Cu(d);break;case 4:if(d===44){l[++e]=Rd()===58?"&\f":"",t[e]=l[e].length;break}default:l[e]+=QX(d)}while(d=oe());return l},Hnc=function(l,t){return xR(Znc(mR(l),t))},yz=new WeakMap,Rnc=function(l){if(!(l.type!=="rule"||!l.parent||l.length<1)){for(var t=l.value,e=l.parent,d=l.column===e.column&&l.line===e.line;e.type!=="rule";)if(e=e.parent,!e)return;if(!(l.props.length===1&&t.charCodeAt(0)!==58&&!yz.get(e))&&!d){yz.set(l,!0);for(var b=[],o=Hnc(t,b),n=e.props,G=0,X=0;G<o.length;G++)for(var i=0;i<n.length;i++,X++)l.props[X]=b[G]?o[G].replace(/&\f/g,n[i]):n[i]+" "+o[G]}}},Inc=function(l){if(l.type==="decl"){var t=l.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(l.return="",l.value="")}};function Vz(c,l){switch(az(c,l)){case 5103:return _c+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _c+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return _c+c+os+c+Vt+c+c;case 6828:case 4268:return _c+c+Vt+c+c;case 6165:return _c+c+Vt+"flex-"+c+c;case 5187:return _c+c+Dc(c,/(\w+).+(:[^]+)/,_c+"box-$1$2"+Vt+"flex-$1$2")+c;case 5443:return _c+c+Vt+"flex-item-"+Dc(c,/flex-|-self/,"")+c;case 4675:return _c+c+Vt+"flex-line-pack"+Dc(c,/align-content|flex-|-self/,"")+c;case 5548:return _c+c+Vt+Dc(c,"shrink","negative")+c;case 5292:return _c+c+Vt+Dc(c,"basis","preferred-size")+c;case 6060:return _c+"box-"+Dc(c,"-grow","")+_c+c+Vt+Dc(c,"grow","positive")+c;case 4554:return _c+Dc(c,/([^-])(transform)/g,"$1"+_c+"$2")+c;case 6187:return Dc(Dc(Dc(c,/(zoom-|grab)/,_c+"$1"),/(image-set)/,_c+"$1"),c,"")+c;case 5495:case 3959:return Dc(c,/(image-set\([^]*)/,_c+"$1$`$1");case 4968:return Dc(Dc(c,/(.+:)(flex-)?(.*)/,_c+"box-pack:$3"+Vt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_c+c+c;case 4095:case 3583:case 4068:case 2532:return Dc(c,/(.+)-inline(.+)/,_c+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(de(c)-1-l>6)switch(Ql(c,l+1)){case 109:if(Ql(c,l+4)!==45)break;case 102:return Dc(c,/(.+:)(.+)-([^]+)/,"$1"+_c+"$2-$3$1"+os+(Ql(c,l+3)==108?"$3":"$2-$3"))+c;case 115:return~ns(c,"stretch")?Vz(Dc(c,"stretch","fill-available"),l)+c:c}break;case 4949:if(Ql(c,l+1)!==115)break;case 6444:switch(Ql(c,de(c)-3-(~ns(c,"!important")&&10))){case 107:return Dc(c,":",":"+_c)+c;case 101:return Dc(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_c+(Ql(c,14)===45?"inline-":"")+"box$3$1"+_c+"$2$3$1"+Vt+"$2box$3")+c}break;case 5936:switch(Ql(c,l+11)){case 114:return _c+c+Vt+Dc(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return _c+c+Vt+Dc(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return _c+c+Vt+Dc(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return _c+c+Vt+c+c}return c}var Wnc=function(l,t,e,d){if(l.length>-1&&!l.return)switch(l.type){case Hu:l.return=Vz(l.value,l.length);break;case iR:return wX([yu(l,{value:Dc(l.value,"@","@"+_c)})],d);case Zu:if(l.length)return zV(l.props,function(b){switch(kV(b,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wX([yu(l,{props:[Dc(b,/:(read-\w+)/,":"+os+"$1")]})],d);case"::placeholder":return wX([yu(l,{props:[Dc(b,/:(plac\w+)/,":"+_c+"input-$1")]}),yu(l,{props:[Dc(b,/:(plac\w+)/,":"+os+"$1")]}),yu(l,{props:[Dc(b,/:(plac\w+)/,Vt+"input-$1")]})],d)}return""})}},pnc=[Wnc],Ju=function(l){var t=l.key;if(t==="css"){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,function(g){var r=g.getAttribute("data-emotion");r.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var d=l.stylisPlugins||pnc,b={},o,n=[];o=l.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var r=g.getAttribute("data-emotion").split(" "),H=1;H<r.length;H++)b[r[H]]=!0;n.push(g)});var G,X=[Rnc,Inc];{var i,a=[Wz,Bz(function(g){i.insert(g)})],m=pz(X.concat(d,a)),x=function(r){return wX(Iz(r),m)};G=function(r,H,Z,R){i=Z,x(r?r+"{"+H.styles+"}":H.styles),R&&(s.inserted[H.name]=!0)}}var s={key:t,sheet:new oz({key:t,container:o,nonce:l.nonce,speedy:l.speedy,prepend:l.prepend,insertionPoint:l.insertionPoint}),nonce:l.nonce,inserted:b,registered:{},insert:G};return s.sheet.hydrate(n),s};function is(){return is=Object.assign?Object.assign.bind():function(c){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var e in t)({}).hasOwnProperty.call(t,e)&&(c[e]=t[e])}return c},is.apply(null,arguments)}var knc=!0;function oG(c,l,t){var e="";return t.split(" ").forEach(function(d){c[d]!==void 0?l.push(c[d]+";"):d&&(e+=d+" ")}),e}var Yu=function(l,t,e){var d=l.key+"-"+t.name;(e===!1||knc===!1)&&l.registered[d]===void 0&&(l.registered[d]=t.styles)},Ko=function(l,t,e){Yu(l,t,e);var d=l.key+"-"+t.name;if(l.inserted[t.name]===void 0){var b=t;do l.insert(t===b?"."+d:"",b,l.sheet,!0),b=b.next;while(b!==void 0)}};function Az(c){for(var l=0,t,e=0,d=c.length;d>=4;++e,d-=4)t=c.charCodeAt(e)&255|(c.charCodeAt(++e)&255)<<8|(c.charCodeAt(++e)&255)<<16|(c.charCodeAt(++e)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,l=(t&65535)*1540483477+((t>>>16)*59797<<16)^(l&65535)*1540483477+((l>>>16)*59797<<16);switch(d){case 3:l^=(c.charCodeAt(e+2)&255)<<16;case 2:l^=(c.charCodeAt(e+1)&255)<<8;case 1:l^=c.charCodeAt(e)&255,l=(l&65535)*1540483477+((l>>>16)*59797<<16)}return l^=l>>>13,l=(l&65535)*1540483477+((l>>>16)*59797<<16),((l^l>>>15)>>>0).toString(36)}var Oz={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};lR();var znc=!1,Anc=/[A-Z]|^ms/g,Onc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Dz=function(l){return l.charCodeAt(1)===45},Qz=function(l){return l!=null&&typeof l!="boolean"},UV=cR(function(c){return Dz(c)?c:c.replace(Anc,"-$&").toLowerCase()}),wz=function(l,t){switch(l){case"animation":case"animationName":if(typeof t=="string")return t.replace(Onc,function(e,d,b){return Lb={name:d,styles:b,next:Lb},d})}return Oz[l]!==1&&!Dz(l)&&typeof t=="number"&&t!==0?t+"px":t},Qnc="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function as(c,l,t){if(t==null)return"";var e=t;if(e.__emotion_styles!==void 0)return e;switch(typeof t){case"boolean":return"";case"object":{var d=t;if(d.anim===1)return Lb={name:d.name,styles:d.styles,next:Lb},d.name;var b=t;if(b.styles!==void 0){var o=b.next;if(o!==void 0)for(;o!==void 0;)Lb={name:o.name,styles:o.styles,next:Lb},o=o.next;var n=b.styles+";";return n}return wnc(c,l,t)}case"function":{if(c!==void 0){var G=Lb,X=t(c);return Lb=G,as(c,l,X)}break}}var i=t;if(l==null)return i;var a=l[i];return a!==void 0?a:i}function wnc(c,l,t){var e="";if(Array.isArray(t))for(var d=0;d<t.length;d++)e+=as(c,l,t[d])+";";else for(var b in t){var o=t[b];if(typeof o!="object"){var n=o;l!=null&&l[n]!==void 0?e+=b+"{"+l[n]+"}":Qz(n)&&(e+=UV(b)+":"+wz(b,n)+";")}else{if(b==="NO_COMPONENT_SELECTOR"&&znc)throw new Error(Qnc);if(Array.isArray(o)&&typeof o[0]=="string"&&(l==null||l[o[0]]===void 0))for(var G=0;G<o.length;G++)Qz(o[G])&&(e+=UV(b)+":"+wz(b,o[G])+";");else{var X=as(c,l,o);switch(b){case"animation":case"animationName":{e+=UV(b)+":"+X+";";break}default:e+=b+"{"+X+"}"}}}}return e}var Tz=/label:\s*([^\s;{]+)\s*(;|$)/g,Lb;function jb(c,l,t){if(c.length===1&&typeof c[0]=="object"&&c[0]!==null&&c[0].styles!==void 0)return c[0];var e=!0,d="";Lb=void 0;var b=c[0];if(b==null||b.raw===void 0)e=!1,d+=as(t,l,b);else{var o=b;d+=o[0]}for(var n=1;n<c.length;n++)if(d+=as(t,l,c[n]),e){var G=b;d+=G[n]}Tz.lastIndex=0;for(var X="",i;(i=Tz.exec(d))!==null;)X+="-"+i[1];var a=Az(d)+X;return{name:a,styles:d,next:Lb}}var VR=u(E()),Tnc=function(l){return l()},Dnc=VR.useInsertionEffect?VR.useInsertionEffect:!1,us=Dnc||Tnc;var Uz=!1,jV=Id.createContext(typeof HTMLElement<"u"?Ju({key:"css"}):null),EV=jV.Provider,MV=function(){return(0,ms.useContext)(jV)},xs=function(l){return(0,ms.forwardRef)(function(t,e){var d=(0,ms.useContext)(jV);return l(t,d,e)})},ss=Id.createContext({});var CR={}.hasOwnProperty,LV="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Lz=function(l,t){var e={};for(var d in t)CR.call(t,d)&&(e[d]=t[d]);return e[LV]=l,e},Unc=function(l){var t=l.cache,e=l.serialized,d=l.isStringTag;return Yu(t,e,d),us(function(){return Ko(t,e,d)}),null},Lnc=xs(function(c,l,t){var e=c.css;typeof e=="string"&&l.registered[e]!==void 0&&(e=l.registered[e]);var d=c[LV],b=[e],o="";typeof c.className=="string"?o=oG(l.registered,b,c.className):c.className!=null&&(o=c.className+" ");var n=jb(b,void 0,Id.useContext(ss));o+=l.key+"-"+n.name;var G={};for(var X in c)CR.call(c,X)&&X!=="css"&&X!==LV&&!Uz&&(G[X]=c[X]);return G.className=o,t&&(G.ref=t),Id.createElement(Id.Fragment,null,Id.createElement(Unc,{cache:l,serialized:n,isStringTag:typeof d=="string"}),Id.createElement(d,G))}),jz=Lnc;var hu=u(E());var y7c=u(zz()),Ez=function(l,t){var e=arguments;if(t==null||!CR.call(t,"css"))return hu.createElement.apply(void 0,e);var d=e.length,b=new Array(d);b[0]=jz,b[1]=Lz(l,t);for(var o=2;o<d;o++)b[o]=e[o];return hu.createElement.apply(null,b)};(function(c){var l;l||(l=c.JSX||(c.JSX={}))})(Ez||(Ez={}));function A(){for(var c=arguments.length,l=new Array(c),t=0;t<c;t++)l[t]=arguments[t];return jb(l)}function Ye(){var c=A.apply(void 0,arguments),l="animation-"+c.name;return{name:l,styles:"@keyframes "+l+"{"+c.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Mz(c,l){if(c.inserted[l.name]===void 0)return c.insert("",l,c.sheet,!0)}function Pz(c,l,t){var e=[],d=oG(c,e,t);return e.length<2?t:d+l(e)}var Kz=function(l){var t=Ju(l);t.sheet.speedy=function(n){this.isSpeedy=n},t.compat=!0;var e=function(){for(var G=arguments.length,X=new Array(G),i=0;i<G;i++)X[i]=arguments[i];var a=jb(X,t.registered,void 0);return Ko(t,a,!1),t.key+"-"+a.name},d=function(){for(var G=arguments.length,X=new Array(G),i=0;i<G;i++)X[i]=arguments[i];var a=jb(X,t.registered),m="animation-"+a.name;return Mz(t,{name:a.name,styles:"@keyframes "+m+"{"+a.styles+"}"}),m},b=function(){for(var G=arguments.length,X=new Array(G),i=0;i<G;i++)X[i]=arguments[i];var a=jb(X,t.registered);Mz(t,a)},o=function(){for(var G=arguments.length,X=new Array(G),i=0;i<G;i++)X[i]=arguments[i];return Pz(t.registered,e,jnc(X))};return{css:e,cx:o,injectGlobal:b,keyframes:d,hydrate:function(G){G.forEach(function(X){t.inserted[X]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:oG.bind(null,t.registered),merge:Pz.bind(null,t.registered,e)}},jnc=function c(l){for(var t="",e=0;e<l.length;e++){var d=l[e];if(d!=null){var b=void 0;switch(typeof d){case"boolean":break;case"object":{if(Array.isArray(d))b=c(d);else{b="";for(var o in d)d[o]&&o&&(b&&(b+=" "),b+=o)}break}default:b=d}b&&(t&&(t+=" "),t+=b)}}return t};var Eb=Kz({key:"css"}),k7c=Eb.flush,z7c=Eb.hydrate,_z=Eb.cx,A7c=Eb.merge,O7c=Eb.getRegisteredStyles,Q7c=Eb.injectGlobal,w7c=Eb.keyframes,T7c=Eb.css,D7c=Eb.sheet,U7c=Eb.cache;var qz=u(h(),1),Enc=c=>typeof c<"u"&&c!==null&&["name","styles"].every(l=>typeof c[l]<"u"),Xc=()=>{let c=MV();return(0,qz.useCallback)((...t)=>{if(c===null)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");return _z(...t.map(e=>Enc(e)?(Ko(c,e,!1),`${c.key}-${e.name}`):e))},[c])};var qe={name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"};function nG(c,l){var t=0,e,d;l=l||{};function b(){var o=e,n=arguments.length,G,X;c:for(;o;){if(o.args.length!==arguments.length){o=o.next;continue}for(X=0;X<n;X++)if(o.args[X]!==arguments[X]){o=o.next;continue c}return o!==e&&(o===d&&(d=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=e,o.prev=null,e.prev=o,e=o),o.val}for(G=new Array(n),X=0;X<n;X++)G[X]=arguments[X];return o={args:G,val:c.apply(null,G)},e?(e.prev=o,o.next=e):d=o,t===l.maxSize?(d=d.prev,d.next=null):t++,e=o,o.val}return b.clear=function(){e=null,d=null,t=0},b}var Mnc={grad:.9,turn:360,rad:360/(2*Math.PI)},_o=function(c){return typeof c=="string"?c.length>0:typeof c=="number"},mt=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=Math.pow(10,l)),Math.round(t*c)/t+0},Wd=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=1),c>t?t:c>l?c:l},oA=function(c){return(c=isFinite(c)?c%360:0)>0?c:c+360},$z=function(c){return{r:Wd(c.r,0,255),g:Wd(c.g,0,255),b:Wd(c.b,0,255),a:Wd(c.a)}},PV=function(c){return{r:mt(c.r),g:mt(c.g),b:mt(c.b),a:mt(c.a,3)}},Pnc=/^#([0-9a-f]{3,8})$/i,JR=function(c){var l=c.toString(16);return l.length<2?"0"+l:l},nA=function(c){var l=c.r,t=c.g,e=c.b,d=c.a,b=Math.max(l,t,e),o=b-Math.min(l,t,e),n=o?b===l?(t-e)/o:b===t?2+(e-l)/o:4+(l-t)/o:0;return{h:60*(n<0?n+6:n),s:b?o/b*100:0,v:b/255*100,a:d}},GA=function(c){var l=c.h,t=c.s,e=c.v,d=c.a;l=l/360*6,t/=100,e/=100;var b=Math.floor(l),o=e*(1-t),n=e*(1-(l-b)*t),G=e*(1-(1-l+b)*t),X=b%6;return{r:255*[e,n,o,o,G,e][X],g:255*[G,e,e,n,o,o][X],b:255*[o,o,G,e,e,n][X],a:d}},cA=function(c){return{h:oA(c.h),s:Wd(c.s,0,100),l:Wd(c.l,0,100),a:Wd(c.a)}},lA=function(c){return{h:mt(c.h),s:mt(c.s),l:mt(c.l),a:mt(c.a,3)}},tA=function(c){return GA((t=(l=c).s,{h:l.h,s:(t*=((e=l.l)<50?e:100-e)/100)>0?2*t/(e+t)*100:0,v:e+t,a:l.a}));var l,t,e},gs=function(c){return{h:(l=nA(c)).h,s:(d=(200-(t=l.s))*(e=l.v)/100)>0&&d<200?t*e/100/(d<=100?d:200-d)*100:0,l:d/2,a:l.a};var l,t,e,d},Knc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_nc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qnc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$nc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qV={string:[[function(c){var l=Pnc.exec(c);return l?(c=l[1]).length<=4?{r:parseInt(c[0]+c[0],16),g:parseInt(c[1]+c[1],16),b:parseInt(c[2]+c[2],16),a:c.length===4?mt(parseInt(c[3]+c[3],16)/255,2):1}:c.length===6||c.length===8?{r:parseInt(c.substr(0,2),16),g:parseInt(c.substr(2,2),16),b:parseInt(c.substr(4,2),16),a:c.length===8?mt(parseInt(c.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(c){var l=qnc.exec(c)||$nc.exec(c);return l?l[2]!==l[4]||l[4]!==l[6]?null:$z({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):null},"rgb"],[function(c){var l=Knc.exec(c)||_nc.exec(c);if(!l)return null;var t,e,d=cA({h:(t=l[1],e=l[2],e===void 0&&(e="deg"),Number(t)*(Mnc[e]||1)),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)});return tA(d)},"hsl"]],object:[[function(c){var l=c.r,t=c.g,e=c.b,d=c.a,b=d===void 0?1:d;return _o(l)&&_o(t)&&_o(e)?$z({r:Number(l),g:Number(t),b:Number(e),a:Number(b)}):null},"rgb"],[function(c){var l=c.h,t=c.s,e=c.l,d=c.a,b=d===void 0?1:d;if(!_o(l)||!_o(t)||!_o(e))return null;var o=cA({h:Number(l),s:Number(t),l:Number(e),a:Number(b)});return tA(o)},"hsl"],[function(c){var l=c.h,t=c.s,e=c.v,d=c.a,b=d===void 0?1:d;if(!_o(l)||!_o(t)||!_o(e))return null;var o=(function(n){return{h:oA(n.h),s:Wd(n.s,0,100),v:Wd(n.v,0,100),a:Wd(n.a)}})({h:Number(l),s:Number(t),v:Number(e),a:Number(b)});return GA(o)},"hsv"]]},eA=function(c,l){for(var t=0;t<l.length;t++){var e=l[t][0](c);if(e)return[e,l[t][1]]}return[null,void 0]},XA=function(c){return typeof c=="string"?eA(c.trim(),qV.string):typeof c=="object"&&c!==null?eA(c,qV.object):[null,void 0]},iA=function(c){return XA(c)[1]},KV=function(c,l){var t=gs(c);return{h:t.h,s:Wd(t.s+100*l,0,100),l:t.l,a:t.a}},_V=function(c){return(299*c.r+587*c.g+114*c.b)/1e3/255},dA=function(c,l){var t=gs(c);return{h:t.h,s:t.s,l:Wd(t.l+100*l,0,100),a:t.a}},$V=(function(){function c(l){this.parsed=XA(l)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return c.prototype.isValid=function(){return this.parsed!==null},c.prototype.brightness=function(){return mt(_V(this.rgba),2)},c.prototype.isDark=function(){return _V(this.rgba)<.5},c.prototype.isLight=function(){return _V(this.rgba)>=.5},c.prototype.toHex=function(){return l=PV(this.rgba),t=l.r,e=l.g,d=l.b,o=(b=l.a)<1?JR(mt(255*b)):"","#"+JR(t)+JR(e)+JR(d)+o;var l,t,e,d,b,o},c.prototype.toRgb=function(){return PV(this.rgba)},c.prototype.toRgbString=function(){return l=PV(this.rgba),t=l.r,e=l.g,d=l.b,(b=l.a)<1?"rgba("+t+", "+e+", "+d+", "+b+")":"rgb("+t+", "+e+", "+d+")";var l,t,e,d,b},c.prototype.toHsl=function(){return lA(gs(this.rgba))},c.prototype.toHslString=function(){return l=lA(gs(this.rgba)),t=l.h,e=l.s,d=l.l,(b=l.a)<1?"hsla("+t+", "+e+"%, "+d+"%, "+b+")":"hsl("+t+", "+e+"%, "+d+"%)";var l,t,e,d,b},c.prototype.toHsv=function(){return l=nA(this.rgba),{h:mt(l.h),s:mt(l.s),v:mt(l.v),a:mt(l.a,3)};var l},c.prototype.invert=function(){return Ic({r:255-(l=this.rgba).r,g:255-l.g,b:255-l.b,a:l.a});var l},c.prototype.saturate=function(l){return l===void 0&&(l=.1),Ic(KV(this.rgba,l))},c.prototype.desaturate=function(l){return l===void 0&&(l=.1),Ic(KV(this.rgba,-l))},c.prototype.grayscale=function(){return Ic(KV(this.rgba,-1))},c.prototype.lighten=function(l){return l===void 0&&(l=.1),Ic(dA(this.rgba,l))},c.prototype.darken=function(l){return l===void 0&&(l=.1),Ic(dA(this.rgba,-l))},c.prototype.rotate=function(l){return l===void 0&&(l=15),this.hue(this.hue()+l)},c.prototype.alpha=function(l){return typeof l=="number"?Ic({r:(t=this.rgba).r,g:t.g,b:t.b,a:l}):mt(this.rgba.a,3);var t},c.prototype.hue=function(l){var t=gs(this.rgba);return typeof l=="number"?Ic({h:l,s:t.s,l:t.l,a:t.a}):mt(t.h)},c.prototype.isEqual=function(l){return this.toHex()===Ic(l).toHex()},c})(),Ic=function(c){return c instanceof $V?c:new $V(c)},bA=[],he=function(c){c.forEach(function(l){bA.indexOf(l)<0&&(l($V,qV),bA.push(l))})};function Fe(c,l){var t={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},e={};for(var d in t)e[t[d]]=d;var b={};c.prototype.toName=function(o){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var n,G,X=e[this.toHex()];if(X)return X;if(o?.closest){var i=this.toRgb(),a=1/0,m="black";if(!b.length)for(var x in t)b[x]=new c(t[x]).toRgb();for(var s in t){var g=(n=i,G=b[s],Math.pow(n.r-G.r,2)+Math.pow(n.g-G.g,2)+Math.pow(n.b-G.b,2));g<a&&(a=g,m=s)}return m}},l.string.push([function(o){var n=o.toLowerCase(),G=n==="transparent"?"#0000":t[n];return G?new c(G).toRgb():null},"name"])}var c2;he([Fe]);function cGc(){if(!(typeof document>"u")){if(!c2){let c=document.createElement("div");c.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(c),c2=c}return c2}}function lGc(c){return typeof c!="string"?!1:Ic(c).isValid()}function tGc(c){if(typeof c!="string")return"";if(lGc(c))return c;if(!c.includes("var(")||typeof document>"u")return"";let l=cGc();if(!l)return"";l.style.background=c;let t=window?.getComputedStyle(l).background;return l.style.background="",t||""}var eGc=nG(tGc);function dGc(c){let l=eGc(c);return Ic(l).isLight()?"#000000":"#ffffff"}function aA(c){return dGc(c)==="#000000"?"dark":"light"}var YR=u(bc(),1),uA=new RegExp(/-left/g),mA=new RegExp(/-right/g),xA=new RegExp(/Left/g),sA=new RegExp(/Right/g);function bGc(c){return c==="left"?"right":c==="right"?"left":uA.test(c)?c.replace(uA,"-right"):mA.test(c)?c.replace(mA,"-left"):xA.test(c)?c.replace(xA,"Right"):sA.test(c)?c.replace(sA,"Left"):c}var oGc=(c={})=>Object.fromEntries(Object.entries(c).map(([l,t])=>[bGc(l),t]));function hc(c={},l){return()=>l?(0,YR.isRTL)()?A(l,"",""):A(c,"",""):(0,YR.isRTL)()?A(oGc(c),"",""):A(c,"","")}hc.watch=()=>(0,YR.isRTL)();var gA={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function vl(c){return gA[c]??""}var rA={huge:"1440px",wide:"1280px","x-large":"1080px",large:"960px",medium:"782px",small:"600px",mobile:"480px","zoomed-in":"280px"};var ZA=c=>`@media (min-width: ${rA[c]})`;var hR="#fff",Mb={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},nGc={yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},Pb={accent:"var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9))",accentDarker10:"var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6))",accentDarker20:"var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6))",accentInverted:`var(--wp-components-color-accent-inverted, ${hR})`,background:`var(--wp-components-color-background, ${hR})`,foreground:`var(--wp-components-color-foreground, ${Mb[900]})`,foregroundInverted:`var(--wp-components-color-foreground-inverted, ${hR})`,gray:{900:`var(--wp-components-color-foreground, ${Mb[900]})`,800:`var(--wp-components-color-gray-800, ${Mb[800]})`,700:`var(--wp-components-color-gray-700, ${Mb[700]})`,600:`var(--wp-components-color-gray-600, ${Mb[600]})`,400:`var(--wp-components-color-gray-400, ${Mb[400]})`,300:`var(--wp-components-color-gray-300, ${Mb[300]})`,200:`var(--wp-components-color-gray-200, ${Mb[200]})`,100:`var(--wp-components-color-gray-100, ${Mb[100]})`}},GGc={background:Pb.background,backgroundDisabled:Pb.gray[100],border:Pb.gray[600],borderHover:Pb.gray[700],borderFocus:Pb.accent,borderDisabled:Pb.gray[400],textDisabled:Pb.gray[600],darkGrayPlaceholder:`color-mix(in srgb, ${Pb.foreground}, transparent 38%)`,lightGrayPlaceholder:`color-mix(in srgb, ${Pb.background}, transparent 35%)`},w=Object.freeze({gray:Mb,white:hR,alert:nGc,theme:Pb,ui:GGc});var rs="36px",XGc={controlPaddingX:12,controlPaddingXSmall:8,controlPaddingXLarge:12*1.3334,controlBoxShadowFocus:`0 0 0 0.5px ${w.theme.accent}`,controlHeight:rs,controlHeightXSmall:`calc( ${rs} * 0.6 )`,controlHeightSmall:`calc( ${rs} * 0.8 )`,controlHeightLarge:`calc( ${rs} * 1.2 )`,controlHeightXLarge:`calc( ${rs} * 1.4 )`},Q=Object.assign({},XGc,{colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusXSmall:"1px",radiusSmall:"2px",radiusMedium:"4px",radiusLarge:"8px",radiusFull:"9999px",radiusRound:"50%",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:16,fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.4",fontWeight:"normal",fontWeightMedium:"499",fontWeightHeading:"600",gridBase:"4px",elevationXSmall:"0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01)",elevationSmall:"0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02)",elevationMedium:"0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02)",elevationLarge:"0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02)",surfaceBackgroundColor:w.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:w.white,surfaceColor:w.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"});var Zs=A("font-size:11px;font-weight:",Q.fontWeightMedium,";line-height:1.4;text-transform:uppercase;","");var pd=Object.freeze({SLIDE_DISTANCE:4,SLIDE_DURATION:200,SLIDE_EASING:{function:"cubic-bezier",args:[.25,0,0,1]},FADE_DURATION:100,FADE_EASING:{function:"linear"}}),HA=c=>c.args?.length?`${c.function}(${c.args.join(",")})`:c.function,wt=Object.freeze({SLIDE_DISTANCE:`${pd.SLIDE_DISTANCE}px`,SLIDE_DURATION:`${pd.SLIDE_DURATION}ms`,SLIDE_EASING:HA(pd.SLIDE_EASING),FADE_DURATION:`${pd.FADE_DURATION}ms`,FADE_EASING:HA(pd.FADE_EASING)});var iGc={bottom:"bottom",top:"top","middle left":"left","middle right":"right","bottom left":"bottom-end","bottom center":"bottom","bottom right":"bottom-start","top left":"top-end","top center":"top","top right":"top-start","middle left left":"left","middle left right":"left","middle left bottom":"left-end","middle left top":"left-start","middle right left":"right","middle right right":"right","middle right bottom":"right-end","middle right top":"right-start","bottom left left":"bottom-end","bottom left right":"bottom-end","bottom left bottom":"bottom-end","bottom left top":"bottom-end","bottom center left":"bottom","bottom center right":"bottom","bottom center bottom":"bottom","bottom center top":"bottom","bottom right left":"bottom-start","bottom right right":"bottom-start","bottom right bottom":"bottom-start","bottom right top":"bottom-start","top left left":"top-end","top left right":"top-end","top left bottom":"top-end","top left top":"top-end","top center left":"top","top center right":"top","top center bottom":"top","top center top":"top","top right left":"top-start","top right right":"top-start","top right bottom":"top-start","top right top":"top-start",middle:"bottom","middle center":"bottom","middle center bottom":"bottom","middle center left":"bottom","middle center right":"bottom","middle center top":"bottom"},GG=c=>iGc[c]??"bottom",aGc={top:{originX:.5,originY:1},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},right:{originX:0,originY:.5},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},bottom:{originX:.5,originY:0},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},left:{originX:1,originY:.5},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1},overlay:{originX:.5,originY:.5}},RA=c=>{let l=c.startsWith("top")||c.startsWith("bottom")?"translateY":"translateX",t=c.startsWith("top")||c.startsWith("left")?1:-1;return{style:aGc[c],initial:{opacity:0,[l]:`${pd.SLIDE_DISTANCE*t}px`},animate:{opacity:1,[l]:0},transition:{opacity:{duration:pd.FADE_DURATION/1e3,ease:pd.FADE_EASING.function},[l]:{duration:pd.SLIDE_DURATION/1e3,ease:cb(...pd.SLIDE_EASING.args)}}}};function uGc(c){return!!c?.top}function mGc(c){return!!c?.current}var IA=({anchor:c,anchorRef:l,anchorRect:t,getAnchorRect:e,fallbackReferenceElement:d})=>{let b=null;return c?b=c:uGc(l)?b={getBoundingClientRect(){let o=l.top.getBoundingClientRect(),n=l.bottom.getBoundingClientRect();return new window.DOMRect(o.x,o.y,o.width,n.bottom-o.top)}}:mGc(l)?b=l.current:l?b=l:t?b={getBoundingClientRect(){return t}}:e?b={getBoundingClientRect(){let o=e(d);return new window.DOMRect(o.x??o.left,o.y??o.top,o.width??o.right-o.left,o.height??o.bottom-o.top)}}:d&&(b=d.parentElement),b??null},l2=c=>c===null||Number.isNaN(c)?void 0:Math.round(c);var WA=u(h(),1),FR=(0,WA.createContext)({isNestedInTooltip:!1});FR.displayName="TooltipInternalContext";var TX=u(V(),1),xGc=700,sGc={isNestedInTooltip:!0};function gGc(c,l){let{children:t,className:e,delay:d=xGc,hideOnClick:b=!0,placement:o,position:n,shortcut:G,text:X,...i}=c,{isNestedInTooltip:a}=(0,XG.useContext)(FR),m=(0,pA.useInstanceId)(yA,"tooltip"),x=X||G?m:void 0,s=XG.Children.count(t)===1,g;o!==void 0?g=o:n!==void 0&&(g=GG(n),(0,BA.default)("`position` prop in wp.components.tooltip",{since:"6.4",alternative:"`placement` prop"})),g=g||"top";let r=Rx({placement:g,showTimeout:d}),H=xc(r,"mounted");if(a)return s?(0,TX.jsx)(Md,{...i,render:t}):t;function Z(R){return x&&H&&R.props["aria-describedby"]===void 0&&R.props["aria-label"]!==X?(0,XG.cloneElement)(R,{"aria-describedby":x}):R}return(0,TX.jsxs)(FR.Provider,{value:sGc,children:[(0,TX.jsx)(XZ,{onClick:b?r.hide:void 0,store:r,render:s?Z(t):void 0,ref:l,children:s?void 0:t}),s&&(X||G)&&(0,TX.jsxs)(GZ,{...i,className:O("components-tooltip",e),unmountOnHide:!0,gutter:4,id:x,overflowPadding:.5,store:r,children:[X,G&&(0,TX.jsx)(kZ,{className:X?"components-tooltip__shortcut":"",shortcut:G})]})]})}var yA=(0,XG.forwardRef)(gGc),ve=yA;var fA=u(YA(),1),SA=u(vR(),1);function FA(c){return Object.prototype.toString.call(c)==="[object Object]"}function vA(c){var l,t;return FA(c)===!1?!1:(l=c.constructor,l===void 0?!0:(t=l.prototype,!(FA(t)===!1||t.hasOwnProperty("isPrototypeOf")===!1)))}var Kb=u(h(),1),jMc=u(ne(),1);var kA=u(V(),1),Rs=(0,Kb.createContext)({});Rs.displayName="ComponentsContext";var NR=()=>(0,Kb.useContext)(Rs);function hGc({value:c}){let l=NR(),t=(0,Kb.useRef)(c);return OX(()=>{(0,SA.default)(t.current,c)&&t.current},[c]),(0,Kb.useMemo)(()=>(0,fA.default)(l??{},c??{},{isMergeableObject:vA}),[l,c])}var FGc=({children:c,value:l})=>{let t=hGc({value:l});return(0,kA.jsx)(Rs.Provider,{value:t,children:c})},DX=(0,Kb.memo)(FGc);var DA=u(h(),1),i4c=u(ne(),1);var zA="data-wp-component",AA="data-wp-c16t",UX="__contextSystemKey__";var vu=function(){return vu=Object.assign||function(l){for(var t,e=1,d=arguments.length;e<d;e++){t=arguments[e];for(var b in t)Object.prototype.hasOwnProperty.call(t,b)&&(l[b]=t[b])}return l},vu.apply(this,arguments)};function OA(c){return c.toLowerCase()}var vGc=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],NGc=/[^A-Z0-9]+/gi;function wA(c,l){l===void 0&&(l={});for(var t=l.splitRegexp,e=t===void 0?vGc:t,d=l.stripRegexp,b=d===void 0?NGc:d,o=l.transform,n=o===void 0?OA:o,G=l.delimiter,X=G===void 0?" ":G,i=QA(QA(c,e,"$1\0$2"),b,"\0"),a=0,m=i.length;i.charAt(a)==="\0";)a++;for(;i.charAt(m-1)==="\0";)m--;return i.slice(a,m).split("\0").map(n).join(X)}function QA(c,l,t){return l instanceof RegExp?c.replace(l,t):l.reduce(function(e,d){return e.replace(d,t)},c)}function TA(c,l){return l===void 0&&(l={}),wA(c,vu({delimiter:"."},l))}function fR(c,l){return l===void 0&&(l={}),TA(c,vu({delimiter:"-"},l))}function fGc(c){return`components-${fR(c)}`}var SR=nG(fGc);function tc(c,l){return UA(c,l,{forwardsRef:!0})}function LX(c,l){return UA(c,l)}function UA(c,l,t){let e=t?.forwardsRef?(0,DA.forwardRef)(c):c,d=e[UX]||[l];return Array.isArray(l)&&(d=[...d,...l]),typeof l=="string"&&(d=[...d,l]),Object.assign(e,{[UX]:[...new Set(d)],displayName:l,selector:`.${SR(l)}`})}function t2(c){if(!c)return[];let l=[];return c[UX]&&(l=c[UX]),c.type&&c.type[UX]&&(l=c.type[UX]),l}function Is(c,l){return c?typeof l=="string"?t2(c).includes(l):Array.isArray(l)?l.some(t=>t2(c).includes(t)):!1:!1}var r4c=u(ne(),1);function LA(c){return{[zA]:c}}function jA(){return{[AA]:!0}}function $(c,l){let e=NR()?.[l]||{},d={...jA(),...LA(l)},{_overrides:b,...o}=e,n=Object.entries(o).length?Object.assign({},o,c):c,X=Xc()(SR(l),c.className),i=typeof n.renderChildren=="function"?n.renderChildren(n):n.children;for(let a in n)d[a]=n[a];for(let a in b)d[a]=b[a];return i!==void 0&&(d.children=i),d.className=X,d}var EA={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal",wordBreak:"normal"};var iG=u(E());FV();var SGc=!1,kGc=hV,zGc=function(l){return l!=="theme"},MA=function(l){return typeof l=="string"&&l.charCodeAt(0)>96?kGc:zGc},PA=function(l,t,e){var d;if(t){var b=t.shouldForwardProp;d=l.__emotion_forwardProp&&b?function(o){return l.__emotion_forwardProp(o)&&b(o)}:b}return typeof d!="function"&&e&&(d=l.__emotion_forwardProp),d},AGc=function(l){var t=l.cache,e=l.serialized,d=l.isStringTag;return Yu(t,e,d),us(function(){return Ko(t,e,d)}),null},f=function c(l,t){var e=l.__emotion_real===l,d=e&&l.__emotion_base||l,b,o;t!==void 0&&(b=t.label,o=t.target);var n=PA(l,t,e),G=n||MA(d),X=!G("as");return function(){var i=arguments,a=e&&l.__emotion_styles!==void 0?l.__emotion_styles.slice(0):[];if(b!==void 0&&a.push("label:"+b+";"),i[0]==null||i[0].raw===void 0)a.push.apply(a,i);else{var m=i[0];a.push(m[0]);for(var x=i.length,s=1;s<x;s++)a.push(i[s],m[s])}var g=xs(function(r,H,Z){var R=X&&r.as||d,W="",I=[],B=r;if(r.theme==null){B={};for(var p in r)B[p]=r[p];B.theme=iG.useContext(ss)}typeof r.className=="string"?W=oG(H.registered,I,r.className):r.className!=null&&(W=r.className+" ");var y=jb(a.concat(I),H.registered,B);W+=H.key+"-"+y.name,o!==void 0&&(W+=" "+o);var Y=X&&n===void 0?MA(R):G,C={};for(var J in r)X&&J==="as"||Y(J)&&(C[J]=r[J]);return C.className=W,Z&&(C.ref=Z),iG.createElement(iG.Fragment,null,iG.createElement(AGc,{cache:H,serialized:y,isStringTag:typeof R=="string"}),iG.createElement(R,C))});return g.displayName=b!==void 0?b:"Styled("+(typeof d=="string"?d:d.displayName||d.name||"Component")+")",g.defaultProps=l.defaultProps,g.__emotion_real=g,g.__emotion_base=d,g.__emotion_styles=a,g.__emotion_forwardProp=n,Object.defineProperty(g,"toString",{value:function(){return o===void 0&&SGc?"NO_COMPONENT_SELECTOR":"."+o}}),g.withComponent=function(r,H){var Z=c(r,is({},t,H,{shouldForwardProp:PA(g,H,!0)}));return Z.apply(void 0,a)},g}};var KA=u(h(),1),_A=u(V(),1),OGc=f("div",{target:"e19lxcc00"})("");function QGc({as:c,...l},t){return(0,_A.jsx)(OGc,{as:c,ref:t,...l})}var wGc=Object.assign((0,KA.forwardRef)(QGc),{selector:".components-view"}),ic=wGc;var qA=u(V(),1);function TGc(c,l){let{style:t,...e}=$(c,"VisuallyHidden");return(0,qA.jsx)(ic,{ref:l,...e,"data-visually-hidden":"",style:{...EA,...t||{}}})}var DGc=tc(TGc,"VisuallyHidden"),Qc=DGc;var tb=u(bc(),1),e2=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],$A={"top left":(0,tb.__)("Top Left"),"top center":(0,tb.__)("Top Center"),"top right":(0,tb.__)("Top Right"),"center left":(0,tb.__)("Center Left"),"center center":(0,tb.__)("Center"),center:(0,tb.__)("Center"),"center right":(0,tb.__)("Center Right"),"bottom left":(0,tb.__)("Bottom Left"),"bottom center":(0,tb.__)("Bottom Center"),"bottom right":(0,tb.__)("Bottom Right")},kR=e2.flat();function d2(c){let t=(c==="center"?"center center":c)?.replace("-"," ");return kR.includes(t)?t:void 0}function zR(c,l){let t=d2(l);if(!t)return;let e=t.replace(" ","-");return`${c}-${e}`}function cO(c,l){let t=l?.replace(c+"-","");return d2(t)}function lO(c="center"){let l=d2(c);if(!l)return;let t=kR.indexOf(l);return t>-1?t:void 0}var jX=u(V(),1),b2="data-wp-hash";function o2(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&LGc(document)),c.__wpStyleRuntime}function UGc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${b2}]`))if(t.getAttribute(b2)===l)return!0;return!1}function eO(c,l,t){if(!c.head)return;let e=o2(),d=e.injectedStyles.get(c);if(d||(d=new Set,e.injectedStyles.set(c,d)),d.has(l))return;if(UGc(c,l)){d.add(l);return}let b=c.createElement("style");b.setAttribute(b2,l),b.appendChild(c.createTextNode(t)),c.head.appendChild(b),d.add(l)}function LGc(c){let l=o2();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)eO(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function jGc(c,l){let t=o2();t.styles.set(c,l);for(let e of t.documents.keys())eO(e,c,l)}typeof process>"u",jGc("9251e317a9","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid #0000;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,#ccc);contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,#1e1e1e);transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var tO={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function dO({id:c,value:l,...t}){return(0,jX.jsx)(ve,{text:$A[l],children:(0,jX.jsxs)(zt.Item,{id:c,render:(0,jX.jsx)("span",{...t,className:O(tO.cell,t.className),role:"gridcell"}),children:[(0,jX.jsx)(Qc,{children:l}),(0,jX.jsx)("span",{className:tO.point,role:"presentation"})]})})}var AR=u(kc(),1);var n2=u(V(),1),Ws=24,ps=7,bO=(Ws-3*ps)/2,EGc=2,MGc=4;function PGc({className:c,disablePointerEvents:l=!0,size:t,width:e,height:d,style:b={},value:o="center",...n}){return(0,n2.jsx)(AR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${Ws} ${Ws}`,width:t??e??Ws,height:t??d??Ws,role:"presentation",className:O("component-alignment-matrix-control-icon",c),style:{pointerEvents:l?"none":void 0,...b},...n,children:kR.map((G,X)=>{let i=lO(o)===X?MGc:EGc;return(0,n2.jsx)(AR.Rect,{x:bO+X%3*ps+(ps-i)/2,y:bO+Math.floor(X/3)*ps+(ps-i)/2,width:i,height:i,fill:"currentColor"},G)})})}var oO=PGc;var Nu=u(V(),1),G2="data-wp-hash";function X2(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&_Gc(document)),c.__wpStyleRuntime}function KGc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${G2}]`))if(t.getAttribute(G2)===l)return!0;return!1}function iO(c,l,t){if(!c.head)return;let e=X2(),d=e.injectedStyles.get(c);if(d||(d=new Set,e.injectedStyles.set(c,d)),d.has(l))return;if(KGc(c,l)){d.add(l);return}let b=c.createElement("style");b.setAttribute(G2,l),b.appendChild(c.createTextNode(t)),c.head.appendChild(b),d.add(l)}function _Gc(c){let l=X2();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)iO(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function qGc(c,l){let t=X2();t.styles.set(c,l);for(let e of t.documents.keys())iO(e,c,l)}typeof process>"u",qGc("9251e317a9","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid #0000;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,#ccc);contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,#1e1e1e);transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var nO={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function aO({className:c,id:l,label:t=(0,OR.__)("Alignment Matrix Control"),defaultValue:e="center center",value:d,onChange:b,width:o=92,...n}){let G=(0,GO.useInstanceId)(aO,"alignment-matrix-control",l),X=(0,XO.useCallback)(a=>{let m=cO(G,a);m&&b?.(m)},[G,b]),i=O("component-alignment-matrix-control",nO["grid-container"],c);return(0,Nu.jsx)(zt,{defaultActiveId:zR(G,e),activeId:zR(G,d),setActiveId:X,rtl:(0,OR.isRTL)(),render:(0,Nu.jsx)("div",{...n,className:i,"aria-label":t,id:G,role:"grid",style:{width:`${o}px`}}),children:e2.map((a,m)=>(0,Nu.jsx)(zt.Row,{render:(0,Nu.jsx)("div",{className:nO["grid-row"],role:"row"}),children:a.map(x=>(0,Nu.jsx)(dO,{id:zR(G,x),value:x},x))},m))})}var $Gc=Object.assign(aO,{Icon:Object.assign(oO,{displayName:"AlignmentMatrixControl.Icon"})}),i2=$Gc;function cXc(c){return c==="appear"?"top":"left"}function EX(c){if(c.type==="loading")return"components-animate__loading";let{type:l,origin:t=cXc(l)}=c;if(l==="appear"){let[e,d="center"]=t.split(" ");return O("components-animate__appear",{["is-from-"+d]:d!=="center",["is-from-"+e]:e!=="middle"})}if(l==="slide-in")return O("components-animate__slide-in","is-from-"+t)}function lXc({type:c,options:l={},children:t}){return t({className:EX({type:c,...l})})}var uO=lXc;var qQ=u(h(),1),TI=u(bc(),1);var HO=u(h(),1),RO=u(Xl(),1);var QR=u(h(),1),a2=["40em","52em","64em"],tXc=(c={})=>{let{defaultIndex:l=0}=c;if(typeof l!="number")throw new TypeError(`Default breakpoint index should be a number. Got: ${l}, ${typeof l}`);if(l<0||l>a2.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${a2.length} breakpoints, got index ${l}`);let[t,e]=(0,QR.useState)(l);return(0,QR.useEffect)(()=>{let d=()=>a2.filter(o=>typeof window<"u"?window.matchMedia(`screen and (min-width: ${o})`).matches:!1).length,b=()=>{let o=d();t!==o&&e(o)};return b(),typeof window<"u"&&window.addEventListener("resize",b),()=>{typeof window<"u"&&window.removeEventListener("resize",b)}},[t]),t};function Bs(c,l={}){let t=tXc(l);if(!Array.isArray(c)&&typeof c!="function")return c;let e=c||[];return e[t>=e.length?e.length-1:t]}var eXc="4px";function z(c){if(typeof c>"u")return;if(!c)return"0";let l=typeof c=="number"?c:Number(c);return typeof window<"u"&&window.CSS?.supports?.("margin",c.toString())||Number.isNaN(l)?c.toString():`calc(${eXc} * ${c})`}var mO={name:"zjik7",styles:"display:flex"},xO={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},sO={name:"82a6rk",styles:"flex:1"},gO={name:"13nosa1",styles:">*{min-height:0;}"},rO={name:"1pwxzk4",styles:">*{min-width:0;}"};function dXc(c){let{isReversed:l,...t}=c;return typeof l<"u"?((0,RO.default)("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...t,direction:l?"row-reverse":"row"}):t}function fu(c){let{align:l,className:t,direction:e="row",expanded:d=!0,gap:b=2,justify:o="space-between",wrap:n=!1,...G}=$(dXc(c),"Flex"),X=Array.isArray(e)?e:[e],i=Bs(X),a=typeof i=="string"&&!!i.includes("column"),m=Xc(),x=(0,HO.useMemo)(()=>{let s=A({alignItems:l??(a?"normal":"center"),flexDirection:i,flexWrap:n?"wrap":void 0,gap:z(b),justifyContent:o,height:a&&d?"100%":void 0,width:!a&&d?"100%":void 0},"","");return m(mO,s,a?gO:rO,t)},[l,t,m,i,d,b,a,o,n]);return{...G,className:x,isColumn:a}}var wR=u(h(),1),u2=(0,wR.createContext)({flexItemDisplay:void 0}),IO=()=>(0,wR.useContext)(u2);var m2=u(V(),1);function bXc(c,l){let{children:t,isColumn:e,...d}=fu(c);return(0,m2.jsx)(u2.Provider,{value:{flexItemDisplay:e?"block":void 0},children:(0,m2.jsx)(ic,{...d,ref:l,children:t})})}var oXc=tc(bXc,"Flex"),Hl=oXc;function Su(c){let{className:l,display:t,isBlock:e=!1,...d}=$(c,"FlexItem"),b={},o=IO().flexItemDisplay;b.Base=A({display:t||o},"","");let G=Xc()(xO,b.Base,e&&sO,l);return{...d,className:G}}var WO=u(V(),1);function nXc(c,l){let t=Su(c);return(0,WO.jsx)(ic,{...t,ref:l})}var GXc=tc(nXc,"FlexItem"),Tt=GXc;function x2(c){let l=$(c,"FlexBlock");return Su({isBlock:!0,...l})}var pO=u(V(),1);function XXc(c,l){let t=x2(c);return(0,pO.jsx)(ic,{...t,ref:l})}var iXc=tc(XXc,"FlexBlock"),Ge=iXc;function Ne(c){return typeof c<"u"&&c!==null}function BO(c){let{className:l,margin:t,marginBottom:e=2,marginLeft:d,marginRight:b,marginTop:o,marginX:n,marginY:G,padding:X,paddingBottom:i,paddingLeft:a,paddingRight:m,paddingTop:x,paddingX:s,paddingY:g,...r}=$(c,"Spacer"),Z=Xc()(Ne(t)&&A("margin:",z(t),";",""),Ne(G)&&A("margin-bottom:",z(G),";margin-top:",z(G),";",""),Ne(n)&&A("margin-left:",z(n),";margin-right:",z(n),";",""),Ne(o)&&A("margin-top:",z(o),";",""),Ne(e)&&A("margin-bottom:",z(e),";",""),Ne(d)&&hc({marginLeft:z(d)})(),Ne(b)&&hc({marginRight:z(b)})(),Ne(X)&&A("padding:",z(X),";",""),Ne(g)&&A("padding-bottom:",z(g),";padding-top:",z(g),";",""),Ne(s)&&A("padding-left:",z(s),";padding-right:",z(s),";",""),Ne(x)&&A("padding-top:",z(x),";",""),Ne(i)&&A("padding-bottom:",z(i),";",""),Ne(a)&&hc({paddingLeft:z(a)})(),Ne(m)&&hc({paddingRight:z(m)})(),l);return{...r,className:Z}}var yO=u(V(),1);function aXc(c,l){let t=BO(c);return(0,yO.jsx)(ic,{...t,ref:l})}var uXc=tc(aXc,"Spacer"),xt=uXc;var QI=u(h(),1),Qu=u(bc(),1);var TR=u(h(),1),Bl=(0,TR.forwardRef)(({icon:c,size:l=24,...t},e)=>(0,TR.cloneElement)(c,{width:l,height:l,...t,ref:e}));var DR=u(kc(),1),s2=u(V(),1),UR=(0,s2.jsx)(DR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,s2.jsx)(DR.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var LR=u(kc(),1),g2=u(V(),1),jR=(0,g2.jsx)(LR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,g2.jsx)(LR.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var ER=u(kc(),1),r2=u(V(),1),Z2=(0,r2.jsx)(ER.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r2.jsx)(ER.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-.75 12v-1.5h1.5V16h-1.5Zm0-8v5h1.5V8h-1.5Z"})});var MR=u(kc(),1),H2=u(V(),1),Dt=(0,H2.jsx)(MR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,H2.jsx)(MR.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var PR=u(kc(),1),R2=u(V(),1),ys=(0,R2.jsx)(PR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,R2.jsx)(PR.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var KR=u(kc(),1),I2=u(V(),1),Vs=(0,I2.jsx)(KR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,I2.jsx)(KR.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var _R=u(kc(),1),W2=u(V(),1),p2=(0,W2.jsx)(_R.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,W2.jsx)(_R.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var qR=u(kc(),1),B2=u(V(),1),MX=(0,B2.jsx)(qR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,B2.jsx)(qR.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var $R=u(kc(),1),y2=u(V(),1),V2=(0,y2.jsx)($R.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,y2.jsx)($R.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var cI=u(kc(),1),C2=u(V(),1),PX=(0,C2.jsx)(cI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,C2.jsx)(cI.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var lI=u(kc(),1),J2=u(V(),1),KX=(0,J2.jsx)(lI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,J2.jsx)(lI.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})});var tI=u(kc(),1),Y2=u(V(),1),h2=(0,Y2.jsx)(tI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Y2.jsx)(tI.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})});var eI=u(kc(),1),F2=u(V(),1),Cs=(0,F2.jsx)(eI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,F2.jsx)(eI.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})});var dI=u(kc(),1),v2=u(V(),1),N2=(0,v2.jsx)(dI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,v2.jsx)(dI.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var bI=u(kc(),1),f2=u(V(),1),S2=(0,f2.jsx)(bI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,f2.jsx)(bI.Path,{fillRule:"evenodd",d:"M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",clipRule:"evenodd"})});var oI=u(kc(),1),k2=u(V(),1),z2=(0,k2.jsx)(oI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,k2.jsx)(oI.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 11.25h1.5v1.5h-1.5v-1.5zm3 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5zm1.5 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5z"})});var nI=u(kc(),1),A2=u(V(),1),Js=(0,A2.jsx)(nI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,A2.jsx)(nI.Path,{d:"M5 11.25h14v1.5H5z"})});var GI=u(kc(),1),O2=u(V(),1),Ys=(0,O2.jsx)(GI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,O2.jsx)(GI.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var XI=u(kc(),1),Q2=u(V(),1),hs=(0,Q2.jsx)(XI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Q2.jsx)(XI.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var iI=u(kc(),1),w2=u(V(),1),T2=(0,w2.jsx)(iI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,w2.jsx)(iI.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})});var aI=u(kc(),1),D2=u(V(),1),Fs=(0,D2.jsx)(aI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,D2.jsx)(aI.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var uI=u(kc(),1),U2=u(V(),1),qo=(0,U2.jsx)(uI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,U2.jsx)(uI.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var mI=u(kc(),1),L2=u(V(),1),vs=(0,L2.jsx)(mI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,L2.jsx)(mI.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm11.53-1.47-1.06-1.06L11 12.94l-1.47-1.47-1.06 1.06L11 15.06l4.53-4.53Z"})});var xI=u(kc(),1),j2=u(V(),1),Ns=(0,j2.jsx)(xI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,j2.jsx)(xI.Path,{d:"M7 11.5h10V13H7z"})});var sI=u(kc(),1),E2=u(V(),1),fs=(0,E2.jsx)(sI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,E2.jsx)(sI.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var Ss=u(kc(),1),ks=u(V(),1),zs=(0,ks.jsxs)(Ss.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,ks.jsx)(Ss.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,ks.jsx)(Ss.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var gI=u(kc(),1),M2=u(V(),1),As=(0,M2.jsx)(gI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,M2.jsx)(gI.Path,{d:"M7.1 5.7 8 6.9c.4-.3.9-.6 1.5-.8l-.6-1.4c-.7.3-1.3.6-1.8 1ZM4.6 8.9l1.4.6c.2-.5.5-1 .8-1.5l-1.2-.9c-.4.6-.8 1.2-1 1.8Zm14.8 0c-.3-.7-.6-1.3-1-1.8l-1.2.9c.3.4.6.9.8 1.5l1.4-.6ZM7.1 18.3c.6.4 1.2.8 1.8 1l.6-1.4c-.5-.2-1-.5-1.5-.8l-.9 1.2ZM5.5 12v-.9h-.7l-.7-.2v2l1.5-.2v-.9Zm-.7 3h-.2c.3.7.6 1.3 1 1.9l1.2-.9c-.3-.4-.6-.9-.8-1.5l-1.2.5Zm9.7 3 .5 1.2v.2c.7-.3 1.3-.6 1.9-1l-.9-1.2c-.4.3-.9.6-1.5.8Zm-2.5.5h-.9l-.2 1.3v.2h2l-.2-1.5h-.9Zm7.9-7.5-1.5.2V13h.7l.7.2v-2ZM18 14.5c-.2.5-.5 1-.8 1.5l1.2.9c.4-.6.8-1.2 1-1.8h-.2l-1.2-.6ZM11 4.1l.2 1.5H13V4.2h-1.9ZM14.5 6c.5.2 1 .5 1.5.8l.9-1.2c-.6-.4-1.2-.8-1.8-1L14.5 6Z"})});var rI=u(kc(),1),P2=u(V(),1),K2=(0,P2.jsx)(rI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,P2.jsx)(rI.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})});var ZI=u(kc(),1),_2=u(V(),1),q2=(0,_2.jsx)(ZI.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_2.jsx)(ZI.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var UQ=u(ec(),1),LQ=u(Xl(),1);var hQ=u(ec(),1),FQ=u(h(),1);var EO=u(ec(),1),MO=u(h(),1);var DO=u(h(),1);var ku=u(h(),1);var JO=u(h(),1);var VO={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"};var HI="\u2026",aG={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},xXc={ellipsis:HI,ellipsizeMode:aG.auto,limit:0,numberOfLines:0};function sXc(c,l,t,e){if(typeof c!="string")return"";let d=c.length,b=~~l,o=~~t,n=Qt(e)?e:HI;return b===0&&o===0||b>=d||o>=d||b+o>=d?c:o===0?c.slice(0,b)+n:c.slice(0,b)+n+c.slice(d-o)}function CO(c="",l){let t={...xXc,...l},{ellipsis:e,ellipsizeMode:d,limit:b}=t;if(d===aG.none)return c;let o,n;switch(d){case aG.head:o=0,n=b;break;case aG.middle:o=Math.floor(b/2),n=Math.floor(b/2);break;default:o=b,n=0}return d!==aG.auto?sXc(c,o,n,e):c}function Os(c){let{className:l,children:t,ellipsis:e=HI,ellipsizeMode:d=aG.auto,limit:b=0,numberOfLines:o=0,...n}=$(c,"Truncate"),G=Xc(),X;typeof t=="string"?X=t:typeof t=="number"&&(X=t.toString());let i=X?CO(X,{ellipsis:e,ellipsizeMode:d,limit:b,numberOfLines:o}):t,a=!!X&&d===aG.auto,m=(0,JO.useMemo)(()=>G(a&&!o&&VO,a&&!!o&&A(o===1?"word-break: break-all;":""," -webkit-box-orient:vertical;-webkit-line-clamp:",o,";display:-webkit-box;overflow:hidden;",""),l),[l,G,o,a]);return{...n,className:m,children:i}}var YO=u(V(),1);function gXc(c,l){let t=Os(c);return(0,YO.jsx)(ic,{as:"span",...t,ref:l})}var rXc=tc(gXc,"Truncate"),$o=rXc;var dC={};_G(dC,{Text:()=>$2,block:()=>cC,destructive:()=>lC,highlighterText:()=>eC,muted:()=>tC,positive:()=>ZXc,upperCase:()=>HXc});var $2=A("color:",w.theme.foreground,";line-height:",Q.fontLineHeightBase,";margin:0;text-wrap:pretty;",""),cC={name:"4zleql",styles:"display:block"},ZXc=A("color:",w.alert.green,";",""),lC=A("color:",w.alert.red,";",""),tC=A("color:",w.theme.gray[700],";",""),eC=A("mark{background:",w.alert.yellow,";border-radius:",Q.radiusSmall,";box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),HXc={name:"50zrmy",styles:"text-transform:uppercase"};var vO=u(FO(),1),bC=u(h(),1),RXc=c=>{let l={};for(let t in c)l[t.toLowerCase()]=c[t];return l},IXc=nG(RXc);function NO({activeClassName:c="",activeIndex:l=-1,activeStyle:t,autoEscape:e,caseSensitive:d=!1,children:b,findChunks:o,highlightClassName:n="",highlightStyle:G={},highlightTag:X="mark",sanitize:i,searchWords:a=[],unhighlightClassName:m="",unhighlightStyle:x}){if(!b)return null;if(typeof b!="string")return b;let s=b,g=(0,vO.findAll)({autoEscape:e,caseSensitive:d,findChunks:o,sanitize:i,searchWords:a,textToHighlight:s}),r=X,H=-1,Z="",R;return g.map((I,B)=>{let p=s.substr(I.start,I.end-I.start);if(I.highlight){H++;let y;typeof n=="object"?d?y=n[p]:(n=IXc(n),y=n[p.toLowerCase()]):y=n;let Y=H===+l;Z=`${y} ${Y?c:""}`,R=Y===!0&&t!==null?Object.assign({},G,t):G;let C={children:p,className:Z,key:B,style:R};return typeof r!="string"&&(C.highlightIndex=H),(0,bC.createElement)(r,C)}return(0,bC.createElement)("span",{children:p,className:m,key:B,style:x})})}var oC=13,fO={body:oC,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},WXc=[1,2,3,4,5,6].flatMap(c=>[c,c.toString()]);function RI(c=oC){if(c in fO)return RI(fO[c]);if(typeof c!="number"){let t=parseFloat(c);if(Number.isNaN(t))return c;c=t}return`calc(${`(${c} / ${oC})`} * ${Q.fontSize})`}function SO(c=3){if(!WXc.includes(c))return RI(c);let l=`fontSizeH${c}`;return Q[l]}function kO(c,l){if(l)return l;if(!c)return;let t=`calc(${Q.controlHeight} + ${z(2)})`;switch(c){case"large":t=`calc(${Q.controlHeightLarge} + ${z(2)})`;break;case"small":t=`calc(${Q.controlHeightSmall} + ${z(2)})`;break;case"xSmall":t=`calc(${Q.controlHeightXSmall} + ${z(2)})`;break;default:break}return t}var pXc={name:"50zrmy",styles:"text-transform:uppercase"};function Qs(c){let{adjustLineHeightForInnerControls:l,align:t,children:e,className:d,color:b,ellipsizeMode:o,isDestructive:n=!1,display:G,highlightEscape:X=!1,highlightCaseSensitive:i=!1,highlightWords:a,highlightSanitize:m,isBlock:x=!1,letterSpacing:s,lineHeight:g,optimizeReadabilityFor:r,size:H,truncate:Z=!1,upperCase:R=!1,variant:W,weight:I=Q.fontWeight,...B}=$(c,"Text"),p=e,y=Array.isArray(a),Y=H==="caption";if(y){if(typeof e!="string")throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");p=NO({autoEscape:X,children:e,caseSensitive:i,searchWords:a,sanitize:m})}let C=Xc(),J=(0,ku.useMemo)(()=>{let D={},L=kO(l,g);if(D.Base=A({color:b,display:G,fontSize:RI(H),fontWeight:I,lineHeight:L,letterSpacing:s,textAlign:t},"",""),D.upperCase=pXc,D.optimalTextColor=null,r){let v=aA(r)==="dark";D.optimalTextColor=v?A({color:w.gray[900]},"",""):A({color:w.white},"","")}return C($2,D.Base,D.optimalTextColor,n&&lC,!!y&&eC,x&&cC,Y&&tC,W&&dC[W],R&&D.upperCase,d)},[l,t,d,b,C,G,x,Y,n,y,s,g,r,H,R,W,I]),N;Z===!0&&(N="auto"),Z===!1&&(N="none");let S={...B,className:J,children:e,ellipsizeMode:o||N},F=Os(S);return!Z&&Array.isArray(e)&&(p=ku.Children.map(e,D=>typeof D!="object"||D===null||!("props"in D)?D:Is(D,["Link"])?(0,ku.cloneElement)(D,{size:D.props.size||"inherit"}):D)),{...F,children:Z?F.children:p}}var zO=u(V(),1);function BXc(c,l){let t=Qs(c);return(0,zO.jsx)(ic,{as:"span",...t,ref:l})}var yXc=tc(BXc,"Text"),Ct=yXc;var AO=u(V(),1);var nC=f("span",{target:"em5sgkm8"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),GC=f("span",{target:"em5sgkm7"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),VXc=({disabled:c,isBorderless:l})=>l?"transparent":c?w.ui.borderDisabled:w.ui.border,Bd=f("div",{target:"em5sgkm6"})("&&&{box-sizing:border-box;border-color:",VXc,";border-radius:inherit;border-style:solid;border-width:1px;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",hc({paddingLeft:2}),";}"),OO=f(Hl,{target:"em5sgkm5"})("box-sizing:border-box;position:relative;border-radius:",Q.radiusSmall,";padding-top:0;&:focus-within:not( :has( :is( ",nC,", ",GC," ):focus-within ) ){",Bd,"{border-color:",w.ui.borderFocus,";box-shadow:",Q.controlBoxShadowFocus,";outline:2px solid transparent;outline-offset:-2px;}}"),CXc=({disabled:c})=>{let l=c?w.ui.backgroundDisabled:w.ui.background;return A({backgroundColor:l},"","")},JXc={name:"1d3w5wq",styles:"width:100%"},YXc=({__unstableInputWidth:c,labelPosition:l})=>c?l==="side"?"":l==="edge"?A({flex:`0 0 ${c}`},"",""):A({width:c},"",""):JXc,II=f("div",{target:"em5sgkm4"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",CXc," ",YXc,";"),hXc=({disabled:c})=>c?A({color:w.ui.textDisabled},"",""):"",ws=({inputSize:c})=>{let l={default:"13px",small:"11px",compact:"13px","__unstable-large":"13px"},t=l[c]||l.default,e="16px";return t?A("font-size:",e,";@media ( min-width: 600px ){font-size:",t,";}",""):""},QO=({inputSize:c,__next40pxDefaultSize:l})=>{let t={default:{height:40,lineHeight:1,minHeight:40,paddingLeft:Q.controlPaddingX,paddingRight:Q.controlPaddingX},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:Q.controlPaddingXSmall,paddingRight:Q.controlPaddingXSmall},compact:{height:32,lineHeight:1,minHeight:32,paddingLeft:Q.controlPaddingXSmall,paddingRight:Q.controlPaddingXSmall},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:Q.controlPaddingX,paddingRight:Q.controlPaddingX}};return l||(t.default=t.compact),t[c]||t.default},FXc=c=>A(QO(c),"",""),vXc=({paddingInlineStart:c,paddingInlineEnd:l})=>A({paddingInlineStart:c,paddingInlineEnd:l},"",""),NXc=({isDragging:c,dragCursor:l})=>{let t,e;return c&&(t=A("cursor:",l,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),c&&l&&(e=A("&:active{cursor:",l,";}","")),A(t," ",e,";","")},eb=f("input",{target:"em5sgkm3"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",w.theme.foreground,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",NXc," ",hXc," ",ws," ",FXc," ",vXc," &::-webkit-input-placeholder{color:",w.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",w.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",w.ui.darkGrayPlaceholder,";}&[type='email'],&[type='url']{direction:ltr;}}"),fXc=f(Ct,{target:"em5sgkm2"})("&&&{",Zs,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;}"),wO=c=>(0,AO.jsx)(fXc,{...c,as:"label"}),TO=f(Tt,{target:"em5sgkm1"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),SXc=({variant:c="default",size:l,__next40pxDefaultSize:t,isPrefix:e})=>{let{paddingLeft:d}=QO({inputSize:l,__next40pxDefaultSize:t}),b=e?"paddingInlineStart":"paddingInlineEnd";return c==="default"?A({[b]:d},"",""):A({display:"flex",[b]:d-4},"","")},WI=f("div",{target:"em5sgkm0"})(SXc,";");var UO=u(V(),1);function kXc({disabled:c=!1,isBorderless:l=!1}){return(0,UO.jsx)(Bd,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:c,isBorderless:l})}var zXc=(0,DO.memo)(kXc),LO=zXc;var pI=u(V(),1);function jO({children:c,hideLabelFromVision:l,htmlFor:t,...e}){return c?l?(0,pI.jsx)(Qc,{as:"label",htmlFor:t,children:c}):(0,pI.jsx)(TO,{children:(0,pI.jsx)(wO,{htmlFor:t,...e,children:c})}):null}function Ut(c){let{__next36pxDefaultSize:l,__next40pxDefaultSize:t,...e}=c;return{...e,__next40pxDefaultSize:t??l}}var cn=u(V(),1);function AXc(c){let t=`input-base-control-${(0,EO.useInstanceId)(PO)}`;return c||t}function OXc(c){let l={};switch(c){case"top":l.direction="column",l.expanded=!1,l.gap=0;break;case"bottom":l.direction="column-reverse",l.expanded=!1,l.gap=0;break;case"edge":l.justify="space-between";break}return l}function PO(c,l){let{__next40pxDefaultSize:t,__unstableInputWidth:e,children:d,className:b,disabled:o=!1,hideLabelFromVision:n=!1,labelPosition:G,id:X,isBorderless:i=!1,label:a,prefix:m,size:x="default",suffix:s,...g}=Ut($(c,"InputBase")),r=AXc(X),H=n||!a,Z=(0,MO.useMemo)(()=>({InputControlPrefixWrapper:{__next40pxDefaultSize:t,size:x},InputControlSuffixWrapper:{__next40pxDefaultSize:t,size:x}}),[t,x]);return(0,cn.jsxs)(OO,{...g,...OXc(G),className:b,gap:2,ref:l,children:[(0,cn.jsx)(jO,{className:"components-input-control__label",hideLabelFromVision:n,labelPosition:G,htmlFor:r,children:a}),(0,cn.jsxs)(II,{__unstableInputWidth:e,className:"components-input-control__container",disabled:o,hideLabel:H,labelPosition:G,children:[(0,cn.jsxs)(DX,{value:Z,children:[m&&(0,cn.jsx)(nC,{className:"components-input-control__prefix",children:m}),d,s&&(0,cn.jsx)(GC,{className:"components-input-control__suffix",children:s})]}),(0,cn.jsx)(LO,{disabled:o,isBorderless:i})]})]})}var zu=tc(PO,"InputBase");function QXc(c,l,t){return Math.max(l,Math.min(c,t))}var Jt={toVector(c,l){return c===void 0&&(c=l),Array.isArray(c)?c:[c,c]},add(c,l){return[c[0]+l[0],c[1]+l[1]]},sub(c,l){return[c[0]-l[0],c[1]-l[1]]},addTo(c,l){c[0]+=l[0],c[1]+=l[1]},subTo(c,l){c[0]-=l[0],c[1]-=l[1]}};function KO(c,l,t){return l===0||Math.abs(l)===1/0?Math.pow(c,t*5):c*l*t/(l+t*c)}function _O(c,l,t,e=.15){return e===0?QXc(c,l,t):c<l?-KO(l-c,t-l,e)+l:c>t?+KO(c-t,t-l,e)+t:c}function qO(c,[l,t],[e,d]){let[[b,o],[n,G]]=c;return[_O(l,b,o,e),_O(t,n,G,d)]}function wXc(c,l){if(typeof c!="object"||c===null)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var e=t.call(c,l||"default");if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(c)}function TXc(c){var l=wXc(c,"string");return typeof l=="symbol"?l:String(l)}function Xe(c,l,t){return l=TXc(l),l in c?Object.defineProperty(c,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):c[l]=t,c}function $O(c,l){var t=Object.keys(c);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(c);l&&(e=e.filter(function(d){return Object.getOwnPropertyDescriptor(c,d).enumerable})),t.push.apply(t,e)}return t}function Jl(c){for(var l=1;l<arguments.length;l++){var t=arguments[l]!=null?arguments[l]:{};l%2?$O(Object(t),!0).forEach(function(e){Xe(c,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(t)):$O(Object(t)).forEach(function(e){Object.defineProperty(c,e,Object.getOwnPropertyDescriptor(t,e))})}return c}var oQ={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function cQ(c){return c?c[0].toUpperCase()+c.slice(1):""}var DXc=["enter","leave"];function UXc(c=!1,l){return c&&!DXc.includes(l)}function nQ(c,l="",t=!1){let e=oQ[c],d=e&&e[l]||l;return"on"+cQ(c)+cQ(d)+(UXc(t,d)?"Capture":"")}var LXc=["gotpointercapture","lostpointercapture"];function GQ(c){let l=c.substring(2).toLowerCase(),t=!!~l.indexOf("passive");t&&(l=l.replace("passive",""));let e=LXc.includes(l)?"capturecapture":"capture",d=!!~l.indexOf(e);return d&&(l=l.replace("capture","")),{device:l,capture:d,passive:t}}function XQ(c,l=""){let t=oQ[c],e=t&&t[l]||l;return c+e}function Ts(c){return"touches"in c}function iQ(c){return Ts(c)?"touch":"pointerType"in c?c.pointerType:"mouse"}function jXc(c){return Array.from(c.touches).filter(l=>{var t,e;return l.target===c.currentTarget||((t=c.currentTarget)===null||t===void 0||(e=t.contains)===null||e===void 0?void 0:e.call(t,l.target))})}function EXc(c){return c.type==="touchend"||c.type==="touchcancel"?c.changedTouches:c.targetTouches}function aQ(c){return Ts(c)?EXc(c)[0]:c}function uQ(c){return jXc(c).map(l=>l.identifier)}function XC(c){let l=aQ(c);return Ts(c)?l.identifier:l.pointerId}function lQ(c){let l=aQ(c);return[l.clientX,l.clientY]}function MXc(c){let l={};if("buttons"in c&&(l.buttons=c.buttons),"shiftKey"in c){let{shiftKey:t,altKey:e,metaKey:d,ctrlKey:b}=c;Object.assign(l,{shiftKey:t,altKey:e,metaKey:d,ctrlKey:b})}return l}function BI(c,...l){return typeof c=="function"?c(...l):c}function PXc(){}function mQ(...c){return c.length===0?PXc:c.length===1?c[0]:function(){let l;for(let t of c)l=t.apply(this,arguments)||l;return l}}function tQ(c,l){return Object.assign({},l,c||{})}var KXc=32,iC=class{constructor(l,t,e){this.ctrl=l,this.args=t,this.key=e,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(l){this.ctrl.state[this.key]=l}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:l,shared:t,ingKey:e,args:d}=this;t[e]=l._active=l.active=l._blocked=l._force=!1,l._step=[!1,!1],l.intentional=!1,l._movement=[0,0],l._distance=[0,0],l._direction=[0,0],l._delta=[0,0],l._bounds=[[-1/0,1/0],[-1/0,1/0]],l.args=d,l.axis=void 0,l.memo=void 0,l.elapsedTime=l.timeDelta=0,l.direction=[0,0],l.distance=[0,0],l.overflow=[0,0],l._movementBound=[!1,!1],l.velocity=[0,0],l.movement=[0,0],l.delta=[0,0],l.timeStamp=0}start(l){let t=this.state,e=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=l.target,t.currentTarget=l.currentTarget,t.lastOffset=e.from?BI(e.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=l.timeStamp)}computeValues(l){let t=this.state;t._values=l,t.values=this.config.transform(l)}computeInitial(){let l=this.state;l._initial=l._values,l.initial=l.values}compute(l){let{state:t,config:e,shared:d}=this;t.args=this.args;let b=0;if(l&&(t.event=l,e.preventDefault&&l.cancelable&&t.event.preventDefault(),t.type=l.type,d.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,d.locked=!!document.pointerLockElement,Object.assign(d,MXc(l)),d.down=d.pressed=d.buttons%2===1||d.touches>0,b=l.timeStamp-t.timeStamp,t.timeStamp=l.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){let B=t._delta.map(Math.abs);Jt.addTo(t._distance,B)}this.axisIntent&&this.axisIntent(l);let[o,n]=t._movement,[G,X]=e.threshold,{_step:i,values:a}=t;if(e.hasCustomTransform?(i[0]===!1&&(i[0]=Math.abs(o)>=G&&a[0]),i[1]===!1&&(i[1]=Math.abs(n)>=X&&a[1])):(i[0]===!1&&(i[0]=Math.abs(o)>=G&&Math.sign(o)*G),i[1]===!1&&(i[1]=Math.abs(n)>=X&&Math.sign(n)*X)),t.intentional=i[0]!==!1||i[1]!==!1,!t.intentional)return;let m=[0,0];if(e.hasCustomTransform){let[B,p]=a;m[0]=i[0]!==!1?B-i[0]:0,m[1]=i[1]!==!1?p-i[1]:0}else m[0]=i[0]!==!1?o-i[0]:0,m[1]=i[1]!==!1?n-i[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(m);let x=t.offset,s=t._active&&!t._blocked||t.active;s&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=d[this.ingKey]=t._active,l&&(t.first&&("bounds"in e&&(t._bounds=BI(e.bounds,t)),this.setup&&this.setup()),t.movement=m,this.computeOffset()));let[g,r]=t.offset,[[H,Z],[R,W]]=t._bounds;t.overflow=[g<H?-1:g>Z?1:0,r<R?-1:r>W?1:0],t._movementBound[0]=t.overflow[0]?t._movementBound[0]===!1?t._movement[0]:t._movementBound[0]:!1,t._movementBound[1]=t.overflow[1]?t._movementBound[1]===!1?t._movement[1]:t._movementBound[1]:!1;let I=t._active?e.rubberband||[0,0]:[0,0];if(t.offset=qO(t._bounds,t.offset,I),t.delta=Jt.sub(t.offset,x),this.computeMovement(),s&&(!t.last||b>KXc)){t.delta=Jt.sub(t.offset,x);let B=t.delta.map(Math.abs);Jt.addTo(t.distance,B),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&b>0&&(t.velocity=[B[0]/b,B[1]/b],t.timeDelta=b)}}emit(){let l=this.state,t=this.shared,e=this.config;if(l._active||this.clean(),(l._blocked||!l.intentional)&&!l._force&&!e.triggerAllEvents)return;let d=this.handler(Jl(Jl(Jl({},t),l),{},{[this.aliasKey]:l.values}));d!==void 0&&(l.memo=d)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}};function _Xc([c,l],t){let e=Math.abs(c),d=Math.abs(l);if(e>d&&e>t)return"x";if(d>e&&d>t)return"y"}var aC=class extends iC{constructor(...l){super(...l),Xe(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=Jt.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=Jt.sub(this.state.offset,this.state.lastOffset)}axisIntent(l){let t=this.state,e=this.config;if(!t.axis&&l){let d=typeof e.axisThreshold=="object"?e.axisThreshold[iQ(l)]:e.axisThreshold;t.axis=_Xc(t._movement,d)}t._blocked=(e.lockDirection||!!e.axis)&&!t.axis||!!e.axis&&e.axis!==t.axis}restrictToAxis(l){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":l[1]=0;break;case"y":l[0]=0;break}}},qXc=c=>c,eQ=.15,xQ={enabled(c=!0){return c},eventOptions(c,l,t){return Jl(Jl({},t.shared.eventOptions),c)},preventDefault(c=!1){return c},triggerAllEvents(c=!1){return c},rubberband(c=0){switch(c){case!0:return[eQ,eQ];case!1:return[0,0];default:return Jt.toVector(c)}},from(c){if(typeof c=="function")return c;if(c!=null)return Jt.toVector(c)},transform(c,l,t){let e=c||t.shared.transform;return this.hasCustomTransform=!!e,e||qXc},threshold(c){return Jt.toVector(c,0)}},$Xc=0,Ds=Jl(Jl({},xQ),{},{axis(c,l,{axis:t}){if(this.lockDirection=t==="lock",!this.lockDirection)return t},axisThreshold(c=$Xc){return c},bounds(c={}){if(typeof c=="function")return b=>Ds.bounds(c(b));if("current"in c)return()=>c.current;if(typeof HTMLElement=="function"&&c instanceof HTMLElement)return c;let{left:l=-1/0,right:t=1/0,top:e=-1/0,bottom:d=1/0}=c;return[[l,t],[e,d]]}}),dQ={ArrowRight:(c,l=1)=>[c*l,0],ArrowLeft:(c,l=1)=>[-1*c*l,0],ArrowUp:(c,l=1)=>[0,-1*c*l],ArrowDown:(c,l=1)=>[0,c*l]},uC=class extends aC{constructor(...l){super(...l),Xe(this,"ingKey","dragging")}reset(){super.reset();let l=this.state;l._pointerId=void 0,l._pointerActive=!1,l._keyboardActive=!1,l._preventScroll=!1,l._delayed=!1,l.swipe=[0,0],l.tap=!1,l.canceled=!1,l.cancel=this.cancel.bind(this)}setup(){let l=this.state;if(l._bounds instanceof HTMLElement){let t=l._bounds.getBoundingClientRect(),e=l.currentTarget.getBoundingClientRect(),d={left:t.left-e.left+l.offset[0],right:t.right-e.right+l.offset[0],top:t.top-e.top+l.offset[1],bottom:t.bottom-e.bottom+l.offset[1]};l._bounds=Ds.bounds(d)}}cancel(){let l=this.state;l.canceled||(l.canceled=!0,l._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(l){let t=this.config,e=this.state;if(l.buttons!=null&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(l.buttons):t.pointerButtons!==-1&&t.pointerButtons!==l.buttons))return;let d=this.ctrl.setEventIds(l);t.pointerCapture&&l.target.setPointerCapture(l.pointerId),!(d&&d.size>1&&e._pointerActive)&&(this.start(l),this.setupPointer(l),e._pointerId=XC(l),e._pointerActive=!0,this.computeValues(lQ(l)),this.computeInitial(),t.preventScrollAxis&&iQ(l)!=="mouse"?(e._active=!1,this.setupScrollPrevention(l)):t.delay>0?(this.setupDelayTrigger(l),t.triggerAllEvents&&(this.compute(l),this.emit())):this.startPointerDrag(l))}startPointerDrag(l){let t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(l),this.emit()}pointerMove(l){let t=this.state,e=this.config;if(!t._pointerActive)return;let d=XC(l);if(t._pointerId!==void 0&&d!==t._pointerId)return;let b=lQ(l);if(document.pointerLockElement===l.target?t._delta=[l.movementX,l.movementY]:(t._delta=Jt.sub(b,t._values),this.computeValues(b)),Jt.addTo(t._movement,t._delta),this.compute(l),t._delayed&&t.intentional){this.timeoutStore.remove("dragDelay"),t.active=!1,this.startPointerDrag(l);return}if(e.preventScrollAxis&&!t._preventScroll)if(t.axis)if(t.axis===e.preventScrollAxis||e.preventScrollAxis==="xy"){t._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(l);return}else return;this.emit()}pointerUp(l){this.ctrl.setEventIds(l);try{this.config.pointerCapture&&l.target.hasPointerCapture(l.pointerId)&&l.target.releasePointerCapture(l.pointerId)}catch{}let t=this.state,e=this.config;if(!t._active||!t._pointerActive)return;let d=XC(l);if(t._pointerId!==void 0&&d!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(l);let[b,o]=t._distance;if(t.tap=b<=e.tapsThreshold&&o<=e.tapsThreshold,t.tap&&e.filterTaps)t._force=!0;else{let[n,G]=t._delta,[X,i]=t._movement,[a,m]=e.swipe.velocity,[x,s]=e.swipe.distance,g=e.swipe.duration;if(t.elapsedTime<g){let r=Math.abs(n/t.timeDelta),H=Math.abs(G/t.timeDelta);r>a&&Math.abs(X)>x&&(t.swipe[0]=Math.sign(n)),H>m&&Math.abs(i)>s&&(t.swipe[1]=Math.sign(G))}}this.emit()}pointerClick(l){!this.state.tap&&l.detail>0&&(l.preventDefault(),l.stopPropagation())}setupPointer(l){let t=this.config,e=t.device;t.pointerLock&&l.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,e,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,e,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,e,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(l){this.state._preventScroll&&l.cancelable&&l.preventDefault()}setupScrollPrevention(l){this.state._preventScroll=!1,cic(l);let t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,l)}setupDelayTrigger(l){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(l)},this.config.delay)}keyDown(l){let t=dQ[l.key];if(t){let e=this.state,d=l.shiftKey?10:l.altKey?.1:1;this.start(l),e._delta=t(this.config.keyboardDisplacement,d),e._keyboardActive=!0,Jt.addTo(e._movement,e._delta),this.compute(l),this.emit()}}keyUp(l){l.key in dQ&&(this.state._keyboardActive=!1,this.setActive(),this.compute(l),this.emit())}bind(l){let t=this.config.device;l(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(l(t,"change",this.pointerMove.bind(this)),l(t,"end",this.pointerUp.bind(this)),l(t,"cancel",this.pointerUp.bind(this)),l("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(l("key","down",this.keyDown.bind(this)),l("key","up",this.keyUp.bind(this))),this.config.filterTaps&&l("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}};function cic(c){"persist"in c&&typeof c.persist=="function"&&c.persist()}var Us=typeof window<"u"&&window.document&&window.document.createElement;function sQ(){return Us&&"ontouchstart"in window}function lic(){return sQ()||Us&&window.navigator.maxTouchPoints>1}function tic(){return Us&&"onpointerdown"in window}function eic(){return Us&&"exitPointerLock"in window.document}function dic(){try{return"constructor"in GestureEvent}catch{return!1}}var $e={isBrowser:Us,gesture:dic(),touch:sQ(),touchscreen:lic(),pointer:tic(),pointerLock:eic()},bic=250,oic=180,nic=.5,Gic=50,Xic=250,iic=10,bQ={mouse:0,touch:0,pen:8},aic=Jl(Jl({},Ds),{},{device(c,l,{pointer:{touch:t=!1,lock:e=!1,mouse:d=!1}={}}){return this.pointerLock=e&&$e.pointerLock,$e.touch&&t?"touch":this.pointerLock?"mouse":$e.pointer&&!d?"pointer":$e.touch?"touch":"mouse"},preventScrollAxis(c,l,{preventScroll:t}){if(this.preventScrollDelay=typeof t=="number"?t:t||t===void 0&&c?bic:void 0,!(!$e.touchscreen||t===!1))return c||(t!==void 0?"y":void 0)},pointerCapture(c,l,{pointer:{capture:t=!0,buttons:e=1,keys:d=!0}={}}){return this.pointerButtons=e,this.keys=d,!this.pointerLock&&this.device==="pointer"&&t},threshold(c,l,{filterTaps:t=!1,tapsThreshold:e=3,axis:d=void 0}){let b=Jt.toVector(c,t?e:d?1:0);return this.filterTaps=t,this.tapsThreshold=e,b},swipe({velocity:c=nic,distance:l=Gic,duration:t=Xic}={}){return{velocity:this.transform(Jt.toVector(c)),distance:this.transform(Jt.toVector(l)),duration:t}},delay(c=0){switch(c){case!0:return oic;case!1:return 0;default:return c}},axisThreshold(c){return c?Jl(Jl({},bQ),c):bQ},keyboardDisplacement(c=iic){return c}});var J_c=Jl(Jl({},xQ),{},{device(c,l,{shared:t,pointer:{touch:e=!1}={}}){if(t.target&&!$e.touch&&$e.gesture)return"gesture";if($e.touch&&e)return"touch";if($e.touchscreen){if($e.pointer)return"pointer";if($e.touch)return"touch"}},bounds(c,l,{scaleBounds:t={},angleBounds:e={}}){let d=o=>{let n=tQ(BI(t,o),{min:-1/0,max:1/0});return[n.min,n.max]},b=o=>{let n=tQ(BI(e,o),{min:-1/0,max:1/0});return[n.min,n.max]};return typeof t!="function"&&typeof e!="function"?[d(),b()]:o=>[d(o),b(o)]},threshold(c,l,t){return this.lockDirection=t.axis==="lock",Jt.toVector(c,this.lockDirection?[.1,3]:0)},modifierKey(c){return c===void 0?"ctrlKey":c},pinchOnWheel(c=!0){return c}});var Y_c=Jl(Jl({},Ds),{},{mouseOnly:(c=!0)=>c});var h_c=Jl(Jl({},Ds),{},{mouseOnly:(c=!0)=>c}),yI=new Map,Ls=new Map;function mC(c){yI.set(c.key,c.engine),Ls.set(c.key,c.resolver)}var xC={key:"drag",engine:uC,resolver:aic};var YI=u(E());function ric(c,l){if(c==null)return{};var t={},e=Object.keys(c),d,b;for(b=0;b<e.length;b++)d=e[b],!(l.indexOf(d)>=0)&&(t[d]=c[d]);return t}function Zic(c,l){if(c==null)return{};var t=ric(c,l),e,d;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(c);for(d=0;d<b.length;d++)e=b[d],!(l.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(c,e)&&(t[e]=c[e])}return t}var Hic={target(c){if(c)return()=>"current"in c?c.current:c},enabled(c=!0){return c},window(c=$e.isBrowser?window:void 0){return c},eventOptions({passive:c=!0,capture:l=!1}={}){return{passive:c,capture:l}},transform(c){return c}},Ric=["target","eventOptions","window","enabled","transform"];function VI(c={},l){let t={};for(let[e,d]of Object.entries(l))switch(typeof d){case"function":t[e]=d.call(t,c[e],e,c);break;case"object":t[e]=VI(c[e],d);break;case"boolean":d&&(t[e]=c[e]);break}return t}function Iic(c,l,t={}){let e=c,{target:d,eventOptions:b,window:o,enabled:n,transform:G}=e,X=Zic(e,Ric);if(t.shared=VI({target:d,eventOptions:b,window:o,enabled:n,transform:G},Hic),l){let i=Ls.get(l);t[l]=VI(Jl({shared:t.shared},X),i)}else for(let i in X){let a=Ls.get(i);a&&(t[i]=VI(Jl({shared:t.shared},X[i]),a))}return t}var CI=class{constructor(l,t){Xe(this,"_listeners",new Set),this._ctrl=l,this._gestureKey=t}add(l,t,e,d,b){let o=this._listeners,n=XQ(t,e),G=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},X=Jl(Jl({},G),b);l.addEventListener(n,d,X);let i=()=>{l.removeEventListener(n,d,X),o.delete(i)};return o.add(i),i}clean(){this._listeners.forEach(l=>l()),this._listeners.clear()}},sC=class{constructor(){Xe(this,"_timeouts",new Map)}add(l,t,e=140,...d){this.remove(l),this._timeouts.set(l,window.setTimeout(t,e,...d))}remove(l){let t=this._timeouts.get(l);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(l=>{window.clearTimeout(l)}),this._timeouts.clear()}},JI=class{constructor(l){Xe(this,"gestures",new Set),Xe(this,"_targetEventStore",new CI(this)),Xe(this,"gestureEventStores",{}),Xe(this,"gestureTimeoutStores",{}),Xe(this,"handlers",{}),Xe(this,"config",{}),Xe(this,"pointerIds",new Set),Xe(this,"touchIds",new Set),Xe(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),Wic(this,l)}setEventIds(l){if(Ts(l))return this.touchIds=new Set(uQ(l)),this.touchIds;if("pointerId"in l)return l.type==="pointerup"||l.type==="pointercancel"?this.pointerIds.delete(l.pointerId):l.type==="pointerdown"&&this.pointerIds.add(l.pointerId),this.pointerIds}applyHandlers(l,t){this.handlers=l,this.nativeHandlers=t}applyConfig(l,t){this.config=Iic(l,t,this.config)}clean(){this._targetEventStore.clean();for(let l of this.gestures)this.gestureEventStores[l].clean(),this.gestureTimeoutStores[l].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...l){let t=this.config.shared,e={},d;if(!(t.target&&(d=t.target(),!d))){if(t.enabled){for(let o of this.gestures){let n=this.config[o],G=gQ(e,n.eventOptions,!!d);if(n.enabled){let X=yI.get(o);new X(this,l,o).bind(G)}}let b=gQ(e,t.eventOptions,!!d);for(let o in this.nativeHandlers)b(o,"",n=>this.nativeHandlers[o](Jl(Jl({},this.state.shared),{},{event:n,args:l})),void 0,!0)}for(let b in e)e[b]=mQ(...e[b]);if(!d)return e;for(let b in e){let{device:o,capture:n,passive:G}=GQ(b);this._targetEventStore.add(d,o,"",e[b],{capture:n,passive:G})}}}};function Au(c,l){c.gestures.add(l),c.gestureEventStores[l]=new CI(c,l),c.gestureTimeoutStores[l]=new sC}function Wic(c,l){l.drag&&Au(c,"drag"),l.wheel&&Au(c,"wheel"),l.scroll&&Au(c,"scroll"),l.move&&Au(c,"move"),l.pinch&&Au(c,"pinch"),l.hover&&Au(c,"hover")}var gQ=(c,l,t)=>(e,d,b,o={},n=!1)=>{var G,X;let i=(G=o.capture)!==null&&G!==void 0?G:l.capture,a=(X=o.passive)!==null&&X!==void 0?X:l.passive,m=n?e:nQ(e,d,i);t&&a&&(m+="Passive"),c[m]=c[m]||[],c[m].push(b)};function pic(c,l={},t,e){let d=YI.default.useMemo(()=>new JI(c),[]);if(d.applyHandlers(c,e),d.applyConfig(l,t),YI.default.useEffect(d.effect.bind(d)),YI.default.useEffect(()=>d.clean.bind(d),[]),l.target===void 0)return d.bind.bind(d)}function hI(c,l){return mC(xC),pic({drag:c},l||{},"drag")}var fI=u(h(),1);var uG=u(h(),1);function Bic(c){let l="ns-resize";switch(c){case"n":case"s":l="ns-resize";break;case"e":case"w":l="ew-resize";break}return l}function rQ(c,l){let t=Bic(l);return(0,uG.useEffect)(()=>{c?document.documentElement.style.cursor=t:document.documentElement.style.cursor=null},[c,t]),t}function ZQ(c){let l=(0,uG.useRef)(c.value),[t,e]=(0,uG.useState)({}),d=t.value!==void 0?t.value:c.value;return(0,uG.useLayoutEffect)(()=>{let{current:n}=l;l.current=c.value,t.value!==void 0&&!t.isStale?e({...t,isStale:!0}):t.isStale&&c.value!==n&&e({})},[c.value,t]),{value:d,onBlur:n=>{e({}),c.onBlur?.(n)},onChange:(n,G)=>{e(X=>Object.assign(X,{value:n,isStale:!1})),c.onChange(n,G)}}}var ln=u(h(),1);var HQ=c=>c,FI={error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""};var gC="CHANGE",_X="COMMIT",rC="CONTROL",ZC="DRAG_END",HC="DRAG_START",vI="DRAG",RC="INVALIDATE",qX="PRESS_DOWN",NI="PRESS_ENTER",mG="PRESS_UP",IC="RESET";function yic(c=FI){let{value:l}=c;return{...FI,...c,initialValue:l}}function Vic(c){return(l,t)=>{let e={...l};switch(t.type){case rC:return e.value=t.payload.value,e.isDirty=!1,e._event=void 0,e;case mG:e.isDirty=!1;break;case qX:e.isDirty=!1;break;case HC:e.isDragging=!0;break;case ZC:e.isDragging=!1;break;case gC:e.error=null,e.value=t.payload.value,l.isPressEnterToChange&&(e.isDirty=!0);break;case _X:e.value=t.payload.value,e.isDirty=!1;break;case IC:e.error=null,e.isDirty=!1,e.value=t.payload.value||l.initialValue;break;case RC:e.error=t.payload.error;break}return e._event=t.payload.event,c(e,t)}}function IQ(c=HQ,l=FI,t){let[e,d]=(0,ln.useReducer)(Vic(c),yic(l)),b=W=>(I,B)=>{d({type:W,payload:{value:I,event:B}})},o=W=>I=>{d({type:W,payload:{event:I}})},n=W=>I=>{d({type:W,payload:I})},G=b(gC),X=(W,I)=>d({type:RC,payload:{error:W,event:I}}),i=b(IC),a=b(_X),m=n(HC),x=n(vI),s=n(ZC),g=o(mG),r=o(qX),H=o(NI),Z=(0,ln.useRef)(e),R=(0,ln.useRef)({value:l.value,onChangeHandler:t});return(0,ln.useLayoutEffect)(()=>{Z.current=e,R.current={value:l.value,onChangeHandler:t}}),(0,ln.useLayoutEffect)(()=>{Z.current._event!==void 0&&e.value!==R.current.value&&!e.isDirty&&R.current.onChangeHandler(e.value??"",{event:Z.current._event})},[e.value,e.isDirty]),(0,ln.useLayoutEffect)(()=>{l.value!==Z.current.value&&!Z.current.isDirty&&d({type:rC,payload:{value:l.value??""}})},[l.value]),{change:G,commit:a,dispatch:d,drag:x,dragEnd:s,dragStart:m,invalidate:X,pressDown:r,pressEnter:H,pressUp:g,reset:i,state:e}}function yd(c){return l=>{let{isComposing:t}="nativeEvent"in l?l.nativeEvent:l;t||l.keyCode===229||c(l)}}var WQ=u(V(),1),$X=()=>{};function Cic({disabled:c=!1,dragDirection:l="n",dragThreshold:t=10,id:e,isDragEnabled:d=!1,isPressEnterToChange:b=!1,onBlur:o=$X,onChange:n=$X,onDrag:G=$X,onDragEnd:X=$X,onDragStart:i=$X,onKeyDown:a=$X,onValidate:m=$X,size:x="default",stateReducer:s=R=>R,value:g,type:r,...H},Z){let{state:R,change:W,commit:I,drag:B,dragEnd:p,dragStart:y,invalidate:Y,pressDown:C,pressEnter:J,pressUp:N,reset:S}=IQ(s,{isDragEnabled:d,value:g,isPressEnterToChange:b},n),{value:F,isDragging:D,isDirty:L}=R,v=(0,fI.useRef)(!1),T=rQ(D,l),k=j=>{o(j),(L||!j.target.validity.valid)&&(v.current=!0,P(j))},M=j=>{let oc=j.target.value;W(oc,j)},P=j=>{let oc=j.currentTarget.value;try{m(oc),I(oc,j)}catch(Rc){Y(Rc,j)}},Gc=j=>{let{key:oc}=j;switch(a(j),oc){case"ArrowUp":N(j);break;case"ArrowDown":C(j);break;case"Enter":J(j),b&&(j.preventDefault(),P(j));break;case"Escape":b&&L&&(j.preventDefault(),S(g,j));break}},U=hI(j=>{let{distance:oc,dragging:Rc,event:Vc,target:Mc}=j;if(j.event={...j.event,target:Mc},!!oc){if(Vc.stopPropagation(),!Rc){X(j),p(j);return}G(j),B(j),D||(i(j),y(j))}},{axis:l==="e"||l==="w"?"x":"y",threshold:t,enabled:d,pointer:{capture:!1}}),dc=d?U():{};return(0,WQ.jsx)(eb,{...H,...dc,className:"components-input-control__input",disabled:c,dragCursor:T,isDragging:D,id:e,onBlur:k,onChange:M,onKeyDown:yd(Gc),ref:Z,inputSize:x,value:F??"",type:r})}var Jic=(0,fI.forwardRef)(Cic),pQ=Jic;var CQ=u(h(),1);var SI=f("div",{target:"ej5x27r4"})("font-family:",vl("default.fontFamily"),";font-size:",vl("default.fontSize"),";",qe,";"),kI=f("div",{target:"ej5x27r3"})({name:"1chyuqs",styles:".components-panel__row &{margin-bottom:inherit;}"}),BQ=A(Zs,";display:block;margin-bottom:",z(2),";padding:0;",""),cd=f("label",{target:"ej5x27r2"})(BQ,";"),db=f("p",{target:"ej5x27r1"})("margin-top:",z(2),";margin-bottom:0;font-size:",vl("helpText.fontSize"),";font-style:normal;color:",w.gray[700],";"),yQ=f("span",{target:"ej5x27r0"})(BQ,";");var _b=u(V(),1);var VQ=u(ec(),1);function js(c){let{help:l,id:t,...e}=c,d=(0,VQ.useInstanceId)(Lc,"wp-components-base-control",t);return{baseControlProps:{id:d,help:l,...e},controlProps:{id:d,...l?{"aria-describedby":`${d}__help`}:{}}}}var Yic=c=>{let{id:l,label:t,hideLabelFromVision:e=!1,help:d,className:b,children:o}=$(c,"BaseControl");return(0,_b.jsxs)(SI,{className:b,children:[(0,_b.jsxs)(kI,{className:"components-base-control__field",children:[t&&l&&(e?(0,_b.jsx)(Qc,{as:"label",htmlFor:l,children:t}):(0,_b.jsx)(cd,{className:"components-base-control__label",htmlFor:l,children:t})),t&&!l&&(e?(0,_b.jsx)(Qc,{as:"label",children:t}):(0,_b.jsx)(JQ,{children:t})),o]}),!!d&&(0,_b.jsx)(db,{id:l?l+"__help":void 0,className:"components-base-control__help",children:d})]})},hic=(c,l)=>{let{className:t,children:e,...d}=c;return(0,_b.jsx)(yQ,{ref:l,...d,className:O("components-base-control__label",t),children:e})},JQ=(0,CQ.forwardRef)(hic),WC=Object.assign(LX(Yic,"BaseControl"),{VisualLabel:JQ}),Lc=WC;var YQ=u(Xl(),1);function Uc({componentName:c,__next40pxDefaultSize:l,size:t,__shouldNotWarnDeprecated36pxSize:e}){e||l||t!==void 0&&t!=="default"||(0,YQ.default)(`36px default size for wp.components.${c}`,{since:"6.8",version:"7.1",hint:"Set the `__next40pxDefaultSize` prop to true to start opting into the new default size, which will become the default in a future version."})}var zI=u(V(),1),pC=()=>{};function Fic(c){let t=`inspector-input-control-${(0,hQ.useInstanceId)(Es)}`;return c||t}function vic(c,l){let{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:e,__unstableStateReducer:d=J=>J,__unstableInputWidth:b,className:o,disabled:n=!1,help:G,hideLabelFromVision:X=!1,id:i,isPressEnterToChange:a=!1,label:m,labelPosition:x="top",onChange:s=pC,onValidate:g=pC,onKeyDown:r=pC,prefix:H,size:Z="default",style:R,suffix:W,value:I,...B}=Ut(c),p=Fic(i),y=O("components-input-control",o),Y=ZQ({value:I,onBlur:B.onBlur,onChange:s}),C=G?{"aria-describedby":`${p}__help`}:{};return Uc({componentName:"InputControl",__next40pxDefaultSize:t,size:Z,__shouldNotWarnDeprecated36pxSize:e}),(0,zI.jsx)(Lc,{className:y,help:G,id:p,children:(0,zI.jsx)(zu,{__next40pxDefaultSize:t,__unstableInputWidth:b,disabled:n,gap:3,hideLabelFromVision:X,id:p,justify:"left",label:m,labelPosition:x,prefix:H,size:Z,style:R,suffix:W,children:(0,zI.jsx)(pQ,{...B,...C,__next40pxDefaultSize:t,className:"components-input-control__input",disabled:n,id:p,isPressEnterToChange:a,onKeyDown:r,onValidate:g,paddingInlineStart:H?z(1):void 0,paddingInlineEnd:W?z(1):void 0,ref:l,size:Z,stateReducer:d,...Y})})})}var Es=(0,FQ.forwardRef)(vic);Es.displayName="InputControl";var qb=Es;var NQ=u(Xl(),1),fQ=u(h(),1),SQ=u(ec(),1);var xG=u(h(),1),BC=u(kc(),1);var vQ=u(V(),1);function Nic({icon:c,className:l,size:t=20,style:e={},...d}){let b=["dashicon","dashicons","dashicons-"+c,l].filter(Boolean).join(" "),n={...t!=20?{fontSize:`${t}px`,width:`${t}px`,height:`${t}px`}:{},...e};return(0,vQ.jsx)("span",{className:b,style:n,...d})}var Ms=Nic;var yC=u(V(),1);function fic({icon:c=null,size:l=typeof c=="string"?20:24,...t}){if(typeof c=="string")return(0,yC.jsx)(Ms,{icon:c,size:l,...t});if((0,xG.isValidElement)(c)&&Ms===c.type)return(0,xG.cloneElement)(c,{...t});if(typeof c=="function")return(0,xG.createElement)(c,{size:l,...t});if(c&&(c.type==="svg"||c.type===BC.SVG)){let e={...c.props,width:l,height:l,...t};return(0,yC.jsx)(BC.SVG,{...e})}return(0,xG.isValidElement)(c)?(0,xG.cloneElement)(c,{size:l,width:l,height:l,...t}):c}var tl=fic;var Lt=u(V(),1),Sic=["onMouseDown","onClick"];function kic({__experimentalIsFocusable:c,isDefault:l,isPrimary:t,isSecondary:e,isTertiary:d,isLink:b,isPressed:o,isSmall:n,size:G,variant:X,describedBy:i,...a}){let m=G,x=X,s={accessibleWhenDisabled:c,"aria-pressed":o,description:i};return n&&(m??="small"),t&&(x??="primary"),d&&(x??="tertiary"),e&&(x??="secondary"),l&&((0,NQ.default)("wp.components.Button `isDefault` prop",{since:"5.4",alternative:'variant="secondary"'}),x??="secondary"),b&&(x??="link"),{...s,...a,size:m,variant:x}}function zic(c,l){let{__next40pxDefaultSize:t,accessibleWhenDisabled:e,isBusy:d,isDestructive:b,className:o,disabled:n,icon:G,iconPosition:X="left",iconSize:i,showTooltip:a,tooltipPosition:m,shortcut:x,label:s,children:g,size:r="default",text:H,variant:Z,description:R,...W}=kic(c),{href:I,target:B,"aria-checked":p,"aria-pressed":y,"aria-selected":Y,...C}="href"in W?W:{href:void 0,target:void 0,...W},J=(0,SQ.useInstanceId)(ci,"components-button__description"),N=typeof g=="string"&&!!g||Array.isArray(g)&&g?.[0]&&g[0]!==null&&g?.[0]?.props?.className!=="components-tooltip",F=O("components-button",o,{"is-next-40px-default-size":t,"is-secondary":Z==="secondary","is-primary":Z==="primary","is-small":r==="small","is-compact":r==="compact","is-tertiary":Z==="tertiary","is-pressed":[!0,"true","mixed"].includes(y),"is-pressed-mixed":y==="mixed","is-busy":d,"is-link":Z==="link","is-destructive":b,"has-text":!!G&&(N||H),"has-icon":!!G,"has-icon-right":X==="right"}),D=n&&!e,L=I!==void 0&&!n?"a":"button",v=L==="button"?{type:"button",disabled:D,"aria-checked":p,"aria-pressed":y,"aria-selected":Y}:{},T=L==="a"?{href:I,target:B}:{},k={};if(n&&e){v["aria-disabled"]=!0,T["aria-disabled"]=!0;for(let Rc of Sic)k[Rc]=Vc=>{Vc&&(Vc.stopPropagation(),Vc.preventDefault())}}let M=!D&&(a&&!!s||!!x||!!s&&!g?.length&&a!==!1),P=R?J:void 0,Gc=C["aria-describedby"]||P,U={className:F,"aria-label":C["aria-label"]||s,"aria-describedby":Gc,ref:l},dc=(0,Lt.jsxs)(Lt.Fragment,{children:[G&&X==="left"&&(0,Lt.jsx)(tl,{icon:G,size:i}),H&&(0,Lt.jsx)(Lt.Fragment,{children:H}),g,G&&X==="right"&&(0,Lt.jsx)(tl,{icon:G,size:i})]}),j=L==="a"?(0,Lt.jsx)("a",{...T,...C,...k,...U,children:dc}):(0,Lt.jsx)("button",{...v,...C,...k,...U,children:dc}),oc=M?{text:g?.length&&R?R:s,shortcut:x,placement:m&&GG(m)}:{};return(0,Lt.jsxs)(Lt.Fragment,{children:[(0,Lt.jsx)(ve,{...oc,children:j}),R&&(0,Lt.jsx)(Qc,{children:(0,Lt.jsx)("span",{id:P,children:R})})]})}var ci=(0,fQ.forwardRef)(zic);ci.displayName="Button";var lc=ci;var Aic={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"},Oic=({hideHTMLArrows:c})=>c?Aic:"",kQ=f(qb,{target:"ep09it41"})(Oic,";"),VC=f(lc,{target:"ep09it40"})("&&&&&{color:",w.theme.accent,";}"),Qic=A("width:",z(5),";min-width:",z(5),";height:",z(5),";",""),zQ={smallSpinButtons:Qic};function li(c){let l=Number(c);return isNaN(l)?0:l}function CC(...c){return c.reduce((l,t)=>l+li(t),0)}function OQ(...c){return c.reduce((l,t,e)=>{let d=li(t);return e===0?d:l-d},0)}function AQ(c){let l=(c+"").split(".");return l[1]!==void 0?l[1].length:0}function Ou(c,l,t){let e=li(c);return Math.max(l,Math.min(e,t))}function QQ(c,l,t){let e=li(c),d=li(l),b=li(t),o=Math.max(AQ(t),AQ(l)),n=d%b?d:0,X=Math.round((e-n)/b)*b+n;return o?li(X.toFixed(o)):X}var wic={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-end",justify:"flex-start"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},Tic={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-end",align:"flex-start"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{align:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function wQ(c,l="row"){if(!Qt(c))return{};let e=l==="column"?Tic:wic;return c in e?e[c]:{align:c}}var AI=u(h(),1);function OI(c){return typeof c=="string"?[c]:AI.Children.toArray(c).filter(l=>(0,AI.isValidElement)(l))}var TQ=u(V(),1);function Ps(c){let{alignment:l="edge",children:t,direction:e,spacing:d=2,...b}=$(c,"HStack"),o=wQ(l,e),X={children:OI(t).map((m,x)=>{if(Is(m,["Spacer"])){let g=m,r=g.key||`hstack-${x}`;return(0,TQ.jsx)(Tt,{isBlock:!0,...g.props},r)}return m}),direction:e,justify:"center",...o,...b,gap:d},{isColumn:i,...a}=fu(X);return a}var DQ=u(V(),1);function Dic(c,l){let t=Ps(c);return(0,DQ.jsx)(ic,{...t,ref:l})}var Uic=tc(Dic,"HStack"),jc=Uic;var $b=u(V(),1),Lic=()=>{};function jic(c,l){let{__unstableStateReducer:t,className:e,dragDirection:d="n",hideHTMLArrows:b=!1,spinControls:o=b?"none":"native",isDragEnabled:n=!0,isShiftStepEnabled:G=!0,label:X,max:i=1/0,min:a=-1/0,required:m=!1,shiftStep:x=10,step:s=1,spinFactor:g=1,type:r="number",value:H,size:Z="default",suffix:R,onChange:W=Lic,__shouldNotWarnDeprecated36pxSize:I,...B}=Ut(c);Uc({componentName:"NumberControl",size:Z,__next40pxDefaultSize:B.__next40pxDefaultSize,__shouldNotWarnDeprecated36pxSize:I}),b&&(0,LQ.default)("wp.components.NumberControl hideHTMLArrows prop ",{alternative:'spinControls="none"',since:"6.2",version:"6.3"});let p=(0,QI.useRef)(null),y=(0,UQ.useMergeRefs)([p,l]),Y=s==="any",C=Y?1:ds(s),J=ds(g)*C,N=(P,Gc)=>(Y||(P=QQ(P,a,Gc??C)),`${Ou(P,a,i)}`),S=N(0),F=r==="number"?"off":void 0,D=O("components-number-control",e),v=Xc()(Z==="small"&&zQ.smallSpinButtons),T=(P,Gc,U)=>{U?.preventDefault();let dc=U?.shiftKey&&G,j=dc?ds(x)*J:J,oc=ez(P)?S:P;return Gc==="up"?oc=CC(oc,j):Gc==="down"&&(oc=OQ(oc,j)),N(oc,dc?j:void 0)},k=(P,Gc)=>{let U={...P},{type:dc,payload:j}=Gc,oc=j.event,Rc=U.value;if((dc===mG||dc===qX)&&(U.value=T(Rc,dc===mG?"up":"down",oc)),dc===vI&&n){let[Vc,Mc]=j.delta,Dl=j.shiftKey&&G,xl=Dl?ds(x)*J:J,sc,Pc;switch(d){case"n":Pc=Mc,sc=-1;break;case"e":Pc=Vc,sc=(0,Qu.isRTL)()?-1:1;break;case"s":Pc=Mc,sc=1;break;case"w":Pc=Vc,sc=(0,Qu.isRTL)()?1:-1;break}if(Pc!==0){Pc=Math.ceil(Math.abs(Pc))*Math.sign(Pc);let Fl=Pc*xl*sc;U.value=N(CC(Rc,Fl),Dl?xl:void 0)}}if(dc===NI||dc===_X){let Vc=m===!1&&Rc==="";U.value=Vc?Rc:N(Rc)}return t?.(U,Gc)??U},M=P=>Gc=>W(String(T(H,P,Gc)),{event:{...Gc,target:p.current}});return(0,$b.jsx)(kQ,{autoComplete:F,inputMode:"numeric",...B,className:D,dragDirection:d,hideHTMLArrows:o!=="native",isDragEnabled:n,label:X,max:i===1/0?void 0:i,min:a===-1/0?void 0:a,ref:y,required:m,step:s,type:r,value:H,__unstableStateReducer:k,size:Z,__shouldNotWarnDeprecated36pxSize:!0,suffix:o==="custom"?(0,$b.jsxs)($b.Fragment,{children:[R,(0,$b.jsx)(xt,{marginBottom:0,marginRight:2,children:(0,$b.jsxs)(jc,{spacing:1,children:[(0,$b.jsx)(VC,{className:v,icon:qo,size:"small",label:(0,Qu.__)("Increment"),onClick:M("up")}),(0,$b.jsx)(VC,{className:v,icon:Ns,size:"small",label:(0,Qu.__)("Decrement"),onClick:M("down")})]})})]}):R,onChange:W})}var jQ=(0,QI.forwardRef)(jic);jQ.displayName="NumberControl";var Yt=jQ;var EQ=u(V(),1);function Eic(c,l){let t=$(c,"InputControlPrefixWrapper");return(0,EQ.jsx)(WI,{...t,isPrefix:!0,ref:l})}var JC=tc(Eic,"InputControlPrefixWrapper"),sG=JC;var MQ=u(V(),1);function Mic(c,l){let t=$(c,"InputControlSuffixWrapper");return(0,MQ.jsx)(WI,{...t,ref:l})}var YC=tc(Mic,"InputControlSuffixWrapper"),wu=YC;var Tu=u(h(),1),PQ=u(ec(),1),wI=u(V(),1),FC="data-wp-hash";function vC(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Kic(document)),c.__wpStyleRuntime}function Pic(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${FC}]`))if(t.getAttribute(FC)===l)return!0;return!1}function KQ(c,l,t){if(!c.head)return;let e=vC(),d=e.injectedStyles.get(c);if(d||(d=new Set,e.injectedStyles.set(c,d)),d.has(l))return;if(Pic(c,l)){d.add(l);return}let b=c.createElement("style");b.setAttribute(FC,l),b.appendChild(c.createTextNode(t)),c.head.appendChild(b),d.add(l)}function Kic(c){let l=vC();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)KQ(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function _ic(c,l){let t=vC();t.styles.set(c,l);for(let e of t.documents.keys())KQ(e,c,l)}typeof process>"u",_ic("e91ec3f005","._8f57b8d483c51fbe__circle-root{border:1px solid var(--wp-components-color-gray-600,#949494);border-radius:50%;box-sizing:border-box;cursor:grab;height:32px;overflow:hidden;width:32px}._8f57b8d483c51fbe__circle-root:active{cursor:grabbing}.b1bae984ac10fcc3__circle-indicator-wrapper{box-sizing:border-box;height:100%;position:relative;width:100%}.b1bae984ac10fcc3__circle-indicator-wrapper:focus-visible{outline:none}._6d2fe0a2cbb31bf0__circle-indicator{background:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));border-radius:50%;box-sizing:border-box;display:block;height:6px;left:50%;position:absolute;top:4px;transform:translateX(-50%);width:6px}");var hC={"circle-root":"_8f57b8d483c51fbe__circle-root","circle-indicator-wrapper":"b1bae984ac10fcc3__circle-indicator-wrapper","circle-indicator":"_6d2fe0a2cbb31bf0__circle-indicator"};function qic({value:c,onChange:l,className:t,...e}){let d=(0,Tu.useRef)(null),b=(0,Tu.useRef)(void 0),o=(0,Tu.useRef)(void 0),n=()=>{if(d.current===null)return;let a=d.current.getBoundingClientRect();b.current={x:a.x+a.width/2,y:a.y+a.height/2}},G=a=>{if(a!==void 0&&(a.preventDefault(),a.target?.focus(),b.current!==void 0&&l!==void 0)){let{x:m,y:x}=b.current;l($ic(m,x,a.clientX,a.clientY))}},{startDrag:X,isDragging:i}=(0,PQ.__experimentalUseDragging)({onDragStart:a=>{n(),G(a)},onDragMove:G,onDragEnd:G});return(0,Tu.useEffect)(()=>{i?(o.current===void 0&&(o.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=o.current||"",o.current=void 0)},[i]),(0,wI.jsx)("div",{ref:d,onMouseDown:X,className:O("components-angle-picker-control__angle-circle",hC["circle-root"],t),...e,children:(0,wI.jsx)("div",{style:c?{transform:`rotate(${c}deg)`}:void 0,className:O("components-angle-picker-control__angle-circle-indicator-wrapper",hC["circle-indicator-wrapper"]),tabIndex:-1,children:(0,wI.jsx)("div",{className:O("components-angle-picker-control__angle-circle-indicator",hC["circle-indicator"])})})})}function $ic(c,l,t,e){let d=e-l,b=t-c,o=Math.atan2(d,b),n=Math.round(o*(180/Math.PI))+90;return n<0?360+n:n}var _Q=qic;var tn=u(V(),1);function cac(c,l){let{className:t,label:e=(0,TI.__)("Angle"),onChange:d,value:b,...o}=c,n=i=>{if(d===void 0)return;let a=i!==void 0&&i!==""?parseInt(i,10):0;d(a)},G=O("components-angle-picker-control",t),X=(0,TI.isRTL)()?{prefix:(0,tn.jsx)(sG,{children:"\xB0"})}:{suffix:(0,tn.jsx)(wu,{children:"\xB0"})};return(0,tn.jsxs)(Hl,{...o,ref:l,className:G,gap:2,children:[(0,tn.jsx)(Ge,{children:(0,tn.jsx)(Yt,{__next40pxDefaultSize:!0,label:e,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:n,step:"1",value:b,spinControls:"none",...X})}),(0,tn.jsx)(xt,{marginBottom:"1",marginTop:"auto",children:(0,tn.jsx)(_Q,{"aria-hidden":"true",value:b,onChange:d})})]})}var $Q=(0,qQ.forwardRef)(cac);$Q.displayName="AnglePickerControl";var DI=$Q;var ie=u(h(),1),Pu=u(ec(),1),Se=u(NC(),1),lT=u(co(),1),tT=u(UI(),1);var Mw=u(aa(),1),HG=u(h(),1),Pw=u(NC(),1),Mu=u(ec(),1),Kw=u(co(),1),ZG=u(bc(),1);var nw=u(Ks(),1),Gw=u(ec(),1),EI=u(h(),1);var ow=u(Ks(),1);var bac=new RegExp(/[\u007e\u00ad\u2053\u207b\u208b\u2212\p{Pd}]/gu),_s=c=>(0,ow.default)(c).normalize("NFKC").toLocaleLowerCase().replace(bac,"-");function jI(c){let l=c?.toString?.()??"";return l=l.replace(/['\u2019]/,""),fR(l,{splitRegexp:[/(?!(?:1ST|2ND|3RD|[4-9]TH)(?![a-z]))([a-z0-9])([A-Z])/g,/(?!(?:1st|2nd|3rd|[4-9]th)(?![a-z]))([0-9])([a-z])/g,/([A-Za-z])([0-9])/g,/([A-Z])([A-Z][a-z])/g]})}function ti(c){return c.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}function oac(c,l=[],t=10){let e=[];for(let d=0;d<l.length;d++){let b=l[d],{keywords:o=[]}=b;if(typeof b.label=="string"&&(o=[...o,b.label]),!!o.some(G=>c.test((0,nw.default)(G)))&&(e.push(b),e.length===t))break}return e}function Xw(c){return l=>{let[t,e]=(0,EI.useState)([]);return(0,EI.useLayoutEffect)(()=>{let{options:d,isDebounced:b}=c,o=(0,Gw.debounce)(()=>{let G=Promise.resolve(typeof d=="function"?d(l):d).then(X=>{if(G.canceled)return;let i=X.map((m,x)=>({key:`${c.name}-${x}`,value:m,label:c.getOptionLabel(m),keywords:c.getOptionKeywords?c.getOptionKeywords(m):[],isDisabled:c.isOptionDisabled?c.isOptionDisabled(m):!1})),a=new RegExp("(?:\\b|\\s|^)"+ti(l),"i");e(oac(a,i))});return G},b?250:0),n=o();return()=>{o.cancel(),n&&(n.canceled=!0)}},[l]),[t]}}var Ml=u(E(),1),KI=u(E(),1),uw=u(aa(),1),mw=c=>{function l(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:c,fn(t){let{element:e,padding:d}=typeof c=="function"?c(t):c;return e&&l(e)?e.current!=null?mx({element:e.current,padding:d}).fn(t):{}:e?mx({element:e,padding:d}).fn(t):{}}}},MI=typeof document<"u"?KI.useLayoutEffect:KI.useEffect;function PI(c,l){if(c===l)return!0;if(typeof c!=typeof l)return!1;if(typeof c=="function"&&c.toString()===l.toString())return!0;let t,e,d;if(c&&l&&typeof c=="object"){if(Array.isArray(c)){if(t=c.length,t!==l.length)return!1;for(e=t;e--!==0;)if(!PI(c[e],l[e]))return!1;return!0}if(d=Object.keys(c),t=d.length,t!==Object.keys(l).length)return!1;for(e=t;e--!==0;)if(!{}.hasOwnProperty.call(l,d[e]))return!1;for(e=t;e--!==0;){let b=d[e];if(!(b==="_owner"&&c.$$typeof)&&!PI(c[b],l[b]))return!1}return!0}return c!==c&&l!==l}function xw(c){return typeof window>"u"?1:(c.ownerDocument.defaultView||window).devicePixelRatio||1}function iw(c,l){let t=xw(c);return Math.round(l*t)/t}function aw(c){let l=Ml.useRef(c);return MI(()=>{l.current=c}),l}function sw(c){c===void 0&&(c={});let{placement:l="bottom",strategy:t="absolute",middleware:e=[],platform:d,elements:{reference:b,floating:o}={},transform:n=!0,whileElementsMounted:G,open:X}=c,[i,a]=Ml.useState({x:0,y:0,strategy:t,placement:l,middlewareData:{},isPositioned:!1}),[m,x]=Ml.useState(e);PI(m,e)||x(e);let[s,g]=Ml.useState(null),[r,H]=Ml.useState(null),Z=Ml.useCallback(v=>{v!==B.current&&(B.current=v,g(v))},[]),R=Ml.useCallback(v=>{v!==p.current&&(p.current=v,H(v))},[]),W=b||s,I=o||r,B=Ml.useRef(null),p=Ml.useRef(null),y=Ml.useRef(i),Y=G!=null,C=aw(G),J=aw(d),N=Ml.useCallback(()=>{if(!B.current||!p.current)return;let v={placement:l,strategy:t,middleware:m};J.current&&(v.platform=J.current),sx(B.current,p.current,v).then(T=>{let k={...T,isPositioned:!0};S.current&&!PI(y.current,k)&&(y.current=k,uw.flushSync(()=>{a(k)}))})},[m,l,t,J]);MI(()=>{X===!1&&y.current.isPositioned&&(y.current.isPositioned=!1,a(v=>({...v,isPositioned:!1})))},[X]);let S=Ml.useRef(!1);MI(()=>(S.current=!0,()=>{S.current=!1}),[]),MI(()=>{if(W&&(B.current=W),I&&(p.current=I),W&&I){if(C.current)return C.current(W,I,N);N()}},[W,I,N,C,Y]);let F=Ml.useMemo(()=>({reference:B,floating:p,setReference:Z,setFloating:R}),[Z,R]),D=Ml.useMemo(()=>({reference:W,floating:I}),[W,I]),L=Ml.useMemo(()=>{let v={position:t,left:0,top:0};if(!D.floating)return v;let T=iw(D.floating,i.x),k=iw(D.floating,i.y);return n?{...v,transform:"translate("+T+"px, "+k+"px)",...xw(D.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:T,top:k}},[t,n,D.floating,i.x,i.y]);return Ml.useMemo(()=>({...i,update:N,refs:F,elements:D,floatingStyles:L}),[i,N,F,D,L])}var st=u(h(),1),gG=u(ec(),1);var Eu=u(Xl(),1),cg=u(kc(),1),Lw=u(bc(),1);var Zw=u(h(),1),gw=0;function rw(c){let l=document.scrollingElement||document.body;c&&(gw=l.scrollTop);let t=c?"add":"remove";l.classList[t]("lockscroll"),document.documentElement.classList[t]("lockscroll"),c||(l.scrollTop=gw)}var _I=0;function nac(){return(0,Zw.useEffect)(()=>(_I===0&&rw(!0),++_I,()=>{_I===1&&rw(!1),--_I}),[]),null}var qI=nac;var $s=u(h(),1);var Cw=u(ec(),1),bb=u(h(),1);var fC=u(ec(),1),Hw=u(h(),1),Lqc=u(ne(),1),Gac={slots:(0,fC.observableMap)(),fills:(0,fC.observableMap)(),registerSlot:()=>{},unregisterSlot:()=>{},updateSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},updateFill:()=>{},isDefault:!0},Rw=(0,Hw.createContext)(Gac);Rw.displayName="SlotFillContext";var fe=Rw;var ht=[];for(let c=0;c<256;++c)ht.push((c+256).toString(16).slice(1));function Iw(c,l=0){return(ht[c[l+0]]+ht[c[l+1]]+ht[c[l+2]]+ht[c[l+3]]+"-"+ht[c[l+4]]+ht[c[l+5]]+"-"+ht[c[l+6]]+ht[c[l+7]]+"-"+ht[c[l+8]]+ht[c[l+9]]+"-"+ht[c[l+10]]+ht[c[l+11]]+ht[c[l+12]]+ht[c[l+13]]+ht[c[l+14]]+ht[c[l+15]]).toLowerCase()}var Xac=new Uint8Array(16);function SC(){return crypto.getRandomValues(Xac)}function iac(c,l,t){return!l&&!c&&crypto.randomUUID?crypto.randomUUID():aac(c,l,t)}function aac(c,l,t){c=c||{};let e=c.random??c.rng?.()??SC();if(e.length<16)throw new Error("Random bytes length must be >= 16");if(e[6]=e[6]&15|64,e[8]=e[8]&63|128,l){if(t=t||0,t<0||t+16>l.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let d=0;d<16;++d)l[t+d]=e[d];return l}return Iw(e)}var Du=iac;var pw=u(h(),1),Vw=u(V(),1),zC="data-wp-hash";function Bw(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&yw(document)),c.__wpStyleRuntime}function mac(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${zC}]`))if(t.getAttribute(zC)===l)return!0;return!1}function xac(c,l,t){if(!c.head)return;let e=Bw(),d=e.injectedStyles.get(c);if(d||(d=new Set,e.injectedStyles.set(c,d)),d.has(l))return;if(mac(c,l)){d.add(l);return}let b=c.createElement("style");b.setAttribute(zC,l),b.appendChild(c.createTextNode(t)),c.head.appendChild(b),d.add(l)}function yw(c){let l=Bw();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)xac(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}var Ww=new Set,kC=new WeakMap,sac=c=>{if(kC.has(c))return kC.get(c);let l=Du().replace(/[0-9]/g,"");for(;Ww.has(l);)l=Du().replace(/[0-9]/g,"");Ww.add(l);let t=Ju({container:c,key:l});return kC.set(c,t),t};function AC(c){let{children:l,document:t}=c;if((0,pw.useLayoutEffect)(()=>{if(t)return yw(t)},[t]),!t)return null;let e=sac(t.head);return(0,Vw.jsx)(EV,{value:e,children:l})}var Uu=AC;var Jw=u(V(),1);function Lu({name:c,children:l}){let t=(0,bb.useContext)(fe),e=(0,bb.useRef)({}),d=(0,bb.useRef)(l);(0,bb.useLayoutEffect)(()=>{d.current=l},[l]),(0,bb.useLayoutEffect)(()=>{let G=e.current;return t.registerFill(c,{instance:G,children:d.current}),()=>t.unregisterFill(c,G)},[t,c]),(0,bb.useLayoutEffect)(()=>{t.updateFill(c,{instance:e.current,children:l})},[t,c,l]);let b=(0,Cw.useObservableValue)(t.slots,c);if(!b||b.type==="children")return null;let o=b.ref.current;if(!o)return null;let n=typeof l=="function"?l(b.fillProps??{}):l;return(0,bb.createPortal)((0,Jw.jsx)(Uu,{document:o.ownerDocument,children:n}),o)}var OC=u(ec(),1),Vd=u(h(),1);var $I=u(V(),1);function Yw(c){return typeof c=="function"}function gac(c){return Vd.Children.map(c,(l,t)=>{if(!l||typeof l=="string")return l;let e=t;return typeof l=="object"&&"key"in l&&l?.key&&(e=l.key),(0,Vd.cloneElement)(l,{key:e})})}function rac(c){let{name:l,children:t,fillProps:e={}}=c,d=(0,Vd.useContext)(fe),b=(0,Vd.useRef)({});(0,Vd.useLayoutEffect)(()=>{let X=b.current;return d.registerSlot(l,{type:"children",instance:X}),()=>d.unregisterSlot(l,X)},[d,l]);let o=(0,OC.useObservableValue)(d.fills,l)??[],n=(0,OC.useObservableValue)(d.slots,l);(!n||n.instance!==b.current)&&(o=[]);let G=o.map(X=>{let i=Yw(X.children)?X.children(e):X.children;return gac(i)}).filter(X=>!(0,Vd.isEmptyElement)(X));return(0,$I.jsx)($I.Fragment,{children:Yw(t)?t(G):G})}var hw=rac;var Cd=u(h(),1),Fw=u(ec(),1);var vw=u(V(),1);function Zac(c,l){let{name:t,fillProps:e={},as:d,children:b,...o}=c,n=(0,Cd.useContext)(fe),G=(0,Cd.useRef)({}),X=(0,Cd.useRef)(null),i=(0,Cd.useRef)(e);return(0,Cd.useLayoutEffect)(()=>{i.current=e},[e]),(0,Cd.useLayoutEffect)(()=>{let a=G.current;return n.registerSlot(t,{type:"portal",instance:a,ref:X,fillProps:i.current}),()=>n.unregisterSlot(t,a)},[n,t]),(0,Cd.useLayoutEffect)(()=>{n.updateSlot(t,{type:"portal",instance:G.current,ref:X,fillProps:i.current})}),(0,vw.jsx)(ic,{as:d,ref:(0,Fw.useMergeRefs)([l,X]),...o})}var Nw=(0,Cd.forwardRef)(Zac);var QC=u(ec(),1),Sw=u(h(),1),kw=u(cW(),1);var zw=u(V(),1);function Hac(){let c=(0,QC.observableMap)(),l=(0,QC.observableMap)();function t(G,X){c.set(G,X)}function e(G,X){let i=c.get(G);!i||i.instance!==X||c.delete(G)}function d(G,X){if(X.type!=="portal")return;let i=c.get(G);i&&i.type==="portal"&&i.instance===X.instance&&((0,kw.isShallowEqual)(i.fillProps,X.fillProps)||c.set(G,X))}function b(G,X){l.set(G,[...l.get(G)||[],X])}function o(G,X){let i=l.get(G);i&&l.set(G,i.filter(a=>a.instance!==X))}function n(G,X){let i=l.get(G);if(!i)return;let a=i.find(m=>m.instance===X.instance);a&&a.children!==X.children&&l.set(G,i.map(m=>m.instance===X.instance?X:m))}return{slots:c,fills:l,registerSlot:t,unregisterSlot:e,updateSlot:d,registerFill:b,unregisterFill:o,updateFill:n}}function Rac({children:c}){let[l]=(0,Sw.useState)(Hac);return(0,zw.jsx)(fe.Provider,{value:l,children:c})}var Aw=Rac;var en=u(V(),1);var Ow=u(h(),1),Qw=u(ec(),1);function qs(c){let l=(0,Ow.useContext)(fe),t=(0,Qw.useObservableValue)(l.slots,c),e;return t&&t.type==="portal"&&(e=t.ref),{ref:e}}var ei=u(h(),1);function Iac(c,l,t){let e=(0,ei.useMemo)(()=>b=>c.subscribe(l,b),[c,l]),d=()=>t(c.get(l));return(0,ei.useSyncExternalStore)(e,d,d)}function Wac(c){return c?.length}function wC(c){let l=(0,ei.useContext)(fe),t=Iac(l.fills,c,Wac);return(0,ei.useMemo)(()=>t!==void 0?Array.from({length:t}):void 0,[t])}var ju=(0,$s.forwardRef)((c,l)=>{let{bubblesVirtually:t,...e}=c;return t?(0,en.jsx)(Nw,{...e,ref:l}):(0,en.jsx)(hw,{...e})});ju.displayName="Slot";function TC({children:c,passthrough:l=!1}){return!(0,$s.useContext)(fe).isDefault&&l?(0,en.jsx)(en.Fragment,{children:c}):(0,en.jsx)(Aw,{children:c})}TC.displayName="SlotFillProvider";function ww(c){let l=typeof c=="symbol"?c.description:c,t=d=>(0,en.jsx)(Lu,{name:c,...d});t.displayName=`${l}Fill`;let e=(0,$s.forwardRef)((d,b)=>(0,en.jsx)(ju,{name:c,ref:b,...d}));return e.displayName=`${l}Slot`,e.__unstableName=c,{name:c,Fill:t,Slot:e}}function Tw(){return[{name:"overlay",fn({rects:c}){return c.reference}},IX({apply({rects:c,elements:l}){let{firstElementChild:t}=l.floating??{};t instanceof HTMLElement&&Object.assign(t.style,{width:`${c.reference.width}px`,height:`${c.reference.height}px`})}})]}var Dw=u(h(),1),lW=(0,Dw.createContext)(void 0);lW.displayName="__unstableSlotNameContext";var Pl=u(V(),1),jw="Popover",pac=8,Bac=()=>(0,Pl.jsxs)(cg.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation",children:[(0,Pl.jsx)(cg.Path,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,Pl.jsx)(cg.Path,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})]}),Uw="components-popover__fallback-container",yac=()=>{let c=document.body.querySelector("."+Uw);return c||(c=document.createElement("div"),c.className=Uw,document.body.append(c)),c},Vac=(c,l)=>{let{animate:t=!0,headerTitle:e,constrainTabbing:d,onClose:b,children:o,className:n,noArrow:G=!0,position:X,placement:i="bottom-start",offset:a=0,focusOnMount:m="firstElement",anchor:x,expandOnMobile:s,onFocusOutside:g,__unstableSlotName:r=jw,flip:H=!0,resize:Z=!0,shift:R=!1,inline:W=!1,variant:I,style:B,__unstableForcePosition:p,anchorRef:y,anchorRect:Y,getAnchorRect:C,isAlternate:J,...N}=$(c,"Popover"),S=H,F=Z;p!==void 0&&((0,Eu.default)("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),S=!p,F=!p),y!==void 0&&(0,Eu.default)("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),Y!==void 0&&(0,Eu.default)("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),C!==void 0&&(0,Eu.default)("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});let D=J?"toolbar":I;J!==void 0&&(0,Eu.default)("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});let L=(0,st.useRef)(null),[v,T]=(0,st.useState)(null),k=(0,st.useCallback)(Pt=>{T(Pt)},[]),M=(0,gG.useViewportMatch)("medium","<"),P=s&&M,Gc=!P&&!G,U=X?GG(X):i,dc=[...i==="overlay"?Tw():[],ix(a),S&&ux(),F&&IX({padding:pac,apply(Pt){let{firstElementChild:Kt}=sc.floating.current??{};Kt instanceof HTMLElement&&Object.assign(Kt.style,{maxHeight:`${Math.max(0,Pt.availableHeight)}px`,overflow:"auto"})}}),R&&ax({crossAxis:!0,limiter:xx(),padding:1}),mw({element:L})],j=(0,st.useContext)(lW)||r,oc=qs(j),Rc;(b||g)&&(Rc=(Pt,Kt)=>{if(Pt==="focus-outside"){let ho=Kt?.target,Cc=sc.reference.current,qc=sc.floating.current,wc=Cc&&"contains"in Cc&&Cc.contains(ho)||qc?.contains(ho),Xt=qc?.ownerDocument;if(!wc&&!("relatedTarget"in Kt&&Kt.relatedTarget)&&Xt?.activeElement===Xt?.body)return;g?g(Kt):b&&b()}else b&&b()});let[Vc,Mc]=(0,gG.__experimentalUseDialog)({constrainTabbing:d,focusOnMount:m,__unstableOnClose:Rc,onClose:Rc}),{x:Dl,y:xl,refs:sc,strategy:Pc,update:Fl,placement:Nt,middlewareData:{arrow:uc}}=sw({placement:U==="overlay"?void 0:U,middleware:dc,whileElementsMounted:(Pt,Kt,ho)=>Xx(Pt,Kt,ho,{layoutShift:!1,animationFrame:!0})}),Yc=(0,st.useCallback)(Pt=>{L.current=Pt,Fl()},[Fl]),Vl=y?.top,Fc=y?.bottom,Sl=y?.startContainer,nt=y?.current;(0,st.useLayoutEffect)(()=>{let Pt=IA({anchor:x,anchorRef:y,anchorRect:Y,getAnchorRect:C,fallbackReferenceElement:v});sc.setReference(Pt)},[x,y,Vl,Fc,Sl,nt,Y,C,v,sc]);let Et=(0,gG.useMergeRefs)([sc.setFloating,Vc,l]),Mt=P?void 0:{position:Pc,top:0,left:0,x:l2(Dl),y:l2(xl)},id=(0,gG.useReducedMotion)(),Yo=t&&!P&&!id,[MG,Nn]=(0,st.useState)(!1),{style:PG,...KG}=(0,st.useMemo)(()=>RA(Nt),[Nt]),fn=Yo?{style:{...B,...PG,...Mt},onAnimationComplete:()=>Nn(!0),...KG}:{animate:!1,style:{...B,...Mt}},Gt=(!Yo||MG)&&Dl!==null&&xl!==null,kl=(0,Pl.jsxs)(dG.div,{className:O(n,{"is-expanded":P,"is-positioned":Gt,[`is-${D==="toolbar"?"alternate":D}`]:D}),...fn,...N,ref:Et,...Mc,tabIndex:-1,children:[P&&(0,Pl.jsx)(qI,{}),P&&(0,Pl.jsxs)("div",{className:"components-popover__header",children:[(0,Pl.jsx)("span",{className:"components-popover__header-title",children:e}),(0,Pl.jsx)(lc,{className:"components-popover__close",size:"small",icon:KX,onClick:b,label:(0,Lw.__)("Close")})]}),(0,Pl.jsx)("div",{className:"components-popover__content",children:o}),Gc&&(0,Pl.jsx)("div",{ref:Yc,className:["components-popover__arrow",`is-${Nt.split("-")[0]}`].join(" "),style:{left:typeof uc?.x<"u"&&Number.isFinite(uc.x)?`${uc.x}px`:"",top:typeof uc?.y<"u"&&Number.isFinite(uc.y)?`${uc.y}px`:""},children:(0,Pl.jsx)(Bac,{})})]}),sm=oc.ref&&!W,gm=y||Y||x;return sm?kl=(0,Pl.jsx)(Lu,{name:j,children:kl}):W||(kl=(0,st.createPortal)((0,Pl.jsx)(AC,{document,children:kl}),yac())),gm?kl:(0,Pl.jsxs)(Pl.Fragment,{children:[(0,Pl.jsx)("span",{ref:k}),kl]})},Cac=(0,st.forwardRef)(({name:c=jw},l)=>(0,Pl.jsx)(ju,{bubblesVirtually:!0,name:c,className:"popover-slot",ref:l})),Jac=Object.assign(tc(Vac,"Popover"),{Slot:Object.assign(Cac,{displayName:"Popover.Slot"}),__unstableSlotNameProvider:Object.assign(lW.Provider,{displayName:"Popover.__unstableSlotNameProvider"})}),rG=Jac;var lo=u(V(),1);function Ew({items:c,onSelect:l,selectedIndex:t,instanceId:e,listBoxId:d,className:b,Component:o="div"}){return(0,lo.jsx)(o,{id:d,role:"listbox",className:"components-autocomplete__results",children:c.map((n,G)=>(0,lo.jsx)(lc,{id:`components-autocomplete-item-${e}-${n.key}`,role:"option",__next40pxDefaultSize:!0,"aria-selected":G===t,accessibleWhenDisabled:!0,disabled:n.isDisabled,className:O("components-autocomplete__result",b,{"is-selected":G===t}),variant:G===t?"primary":void 0,onClick:()=>l(n),children:n.label},n.key))})}function _w({autocompleter:c,filterValue:l,instanceId:t,listBoxId:e,className:d,selectedIndex:b,onChangeOptions:o,onSelect:n,reset:G,contentRef:X}){let i=c.useItems??Xw(c),[a]=i(l),m=(0,Pw.useAnchor)({editableContentElement:X.current}),[x,s]=(0,HG.useState)(!1),g=(0,HG.useRef)(null),r=(0,Mu.useMergeRefs)([g,(0,Mu.useRefEffect)(R=>{X.current&&s(R.ownerDocument!==X.current.ownerDocument)},[X])]);Yac(g,G);let H=(0,Mu.useDebounce)(Kw.speak,500);function Z(R){H&&(R.length?H(l?(0,ZG.sprintf)((0,ZG._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",R.length),R.length):(0,ZG.sprintf)((0,ZG._n)("Initial %d result loaded. Type to filter all available results. Use up and down arrow keys to navigate.","Initial %d results loaded. Type to filter all available results. Use up and down arrow keys to navigate.",R.length),R.length),"assertive"):H((0,ZG.__)("No results."),"assertive"))}return(0,HG.useLayoutEffect)(()=>{o(a),Z(a)},[a]),a.length===0?null:(0,lo.jsxs)(lo.Fragment,{children:[(0,lo.jsx)(rG,{offset:8,focusOnMount:!1,placement:"top-start",className:"components-autocomplete__popover",anchor:m,ref:r,children:(0,lo.jsx)(Ew,{items:a,onSelect:n,selectedIndex:b,instanceId:t,listBoxId:e,className:d})}),X.current&&x&&(0,Mw.createPortal)((0,lo.jsx)(Ew,{items:a,onSelect:n,selectedIndex:b,instanceId:t,listBoxId:e,className:d,Component:Qc}),X.current.ownerDocument.body)]})}function Yac(c,l){(0,HG.useEffect)(()=>{let t=e=>{!c.current||c.current.contains(e.target)||l(e)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[l,c])}var qw=u(Ks(),1);function $w(c,l,t){let{matchCount:e,isBackspacing:d,getTextAfterSelection:b,lastCompletion:o}=t;if(!c)return null;let n=null,G=-1,X=-1,i=0;for(let Z of l){let R=c.lastIndexOf(Z.triggerPrefix);if(R<0)continue;let W=R+Z.triggerPrefix.length;(W>X||W===X&&Z.triggerPrefix.length>i)&&(n=Z,G=R,X=W,i=Z.triggerPrefix.length)}if(!n)return null;let{allowContext:a,triggerPrefix:m}=n,x=c.slice(G+m.length);if(x.length>50)return null;let s=e===0,g=x.split(/\s/),r=g.length===1,H=d&&g.length<=3;return s&&!(H||r)||a&&!a(c.slice(0,G),b())||/^\s/.test(x)||/\s\s+$/.test(x)||o&&o.name===n.name&&x.trimEnd()===o.value?null:{completer:n,filterValue:(0,qw.default)(x)}}var DC=c=>{if(c===null)return"";switch(typeof c){case"string":case"number":return c.toString();case"object":return c instanceof Array?c.map(DC).join(""):"props"in c?DC(c.props.children):"";default:return""}},cT=DC;var Ku=u(V(),1),hac=[],Fac={};function vac(c){return c!==null&&typeof c=="object"&&"action"in c&&c.action!==void 0&&"value"in c&&c.value!==void 0?c:{action:"insert-at-caret",value:c}}var eT={selectedIndex:0,filteredOptions:hac,filterValue:"",autocompleter:null};function Nac(c,l){switch(l.type){case"RESET":return eT;case"SELECT":return{...c,selectedIndex:l.index};case"OPTIONS":return{...c,filteredOptions:l.options,selectedIndex:l.options.length===c.filteredOptions.length?c.selectedIndex:0};case"MATCH":return{...c,autocompleter:l.completer,filterValue:l.query}}}function dT({record:c,onChange:l,onReplace:t,completers:e,contentRef:d}){let b=(0,Pu.useInstanceId)(Fac),[o,n]=(0,ie.useReducer)(Nac,eT),{selectedIndex:G,filteredOptions:X,filterValue:i,autocompleter:a}=o,m=(0,ie.useRef)(!1),x=(0,ie.useRef)(""),s=(0,ie.useRef)(null);function g(J){if(a===null)return"";let N=c.start,S=N-a.triggerPrefix.length-i.length,F=(0,Se.create)({html:(0,ie.renderToString)(J)});return l((0,Se.insert)(c,F,S,N)),(0,Se.getTextContent)(F)}function r(J){if(J.isDisabled||!a)return;let{getOptionCompletion:N}=a;if(!N){n({type:"RESET"}),d.current?.focus();return}let S=vac(N(J.value,i));if(S.action==="replace"){t([S.value]);return}if(S.action==="insert-at-caret"){let F=g(S.value);if(F.startsWith(a.triggerPrefix)){let D=F.slice(a.triggerPrefix.length);D&&(s.current={name:a.name,value:D})}}n({type:"RESET"}),d.current?.focus()}function H(J){n({type:"OPTIONS",options:J})}function Z(J){if(m.current=J.key==="Backspace",!!a&&X.length!==0&&!J.defaultPrevented){switch(J.key){case"ArrowUp":case"ArrowDown":{let N=J.key==="ArrowUp"?-1:1,S=(G+N+X.length)%X.length;n({type:"SELECT",index:S}),(0,tT.isAppleOS)()&&(0,lT.speak)(cT(X[S].label),"assertive");break}case"Escape":n({type:"RESET"}),J.preventDefault();break;case"Enter":r(X[G]);break;case"ArrowLeft":case"ArrowRight":n({type:"RESET"});return;default:return}J.preventDefault()}}let R=(0,ie.useMemo)(()=>(0,Se.isCollapsed)(c)?(0,Se.getTextContent)((0,Se.slice)(c,0)):"",[c]);(0,ie.useEffect)(()=>{let J=c.text!==x.current;x.current=c.text;function N(){return R?(0,Se.getTextContent)((0,Se.slice)(c,void 0,(0,Se.getTextContent)(c).length)):""}let S=$w(R,e,{matchCount:X.length,isBackspacing:m.current,getTextAfterSelection:N,lastCompletion:s.current});if(!S){a&&n({type:"RESET"});return}let{completer:F,filterValue:D}=S;!a&&!J||(s.current&&s.current.name===F.name&&(s.current=null),n({type:"MATCH",completer:F,query:D}))},[R]);let{key:W=""}=X[G]||{},{className:I}=a||{},B=!!a&&X.length>0,p=B?`components-autocomplete-listbox-${b}`:void 0,y=B?`components-autocomplete-item-${b}-${W}`:null,Y=c.start!==void 0,C=!!R&&Y&&!!a;return{listBoxId:p,activeId:y,onKeyDown:yd(Z),popover:C&&(0,Ku.jsx)(_w,{autocompleter:a,className:I,filterValue:i,instanceId:b,listBoxId:p,selectedIndex:G,onChangeOptions:H,onSelect:r,contentRef:d,reset:()=>n({type:"RESET"})},a.name+a.triggerPrefix)}}function fac(c,l){return c.text===l.text&&c.start===l.start&&c.end===l.end}function Sac(c){let l=(0,ie.useRef)([]),t=l.current[l.current.length-1];return(!t||!fac(c,t))&&l.current.push(c),l.current.length>2&&l.current.shift(),l.current[0]}function bT(c){let l=(0,ie.useRef)(null),t=(0,ie.useRef)(void 0),{record:e}=c,d=Sac(e),{popover:b,listBoxId:o,activeId:n,onKeyDown:G}=dT({...c,contentRef:l});t.current=G;let X=(0,Pu.useMergeRefs)([l,(0,Pu.useRefEffect)(a=>{function m(x){t.current?.(x)}return a.addEventListener("keydown",m),()=>{a.removeEventListener("keydown",m)}},[])]);return e.text!==d?.text?{ref:X,children:b,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":n}:{ref:X}}function oT({children:c,isSelected:l,...t}){let{popover:e,...d}=dT(t);return(0,Ku.jsxs)(Ku.Fragment,{children:[c(d),l&&e]})}var mL=u(bc(),1),AW=u(h(),1),xL=u(ec(),1);var UC=u(bc(),1);var sT=u(h(),1);var nT=A("",""),GT=()=>A("flex:1;",hc({marginRight:"24px"})(),";",""),XT={name:"bjn8wh",styles:"position:relative"},iT=c=>A("position:absolute;top:",c==="__unstable-large"?"8px":"3px",";",hc({right:0})()," line-height:0;",""),tW=c=>{let{color:l=w.gray[200],style:t="solid",width:e=Q.borderWidth}=c||{},d=e!==Q.borderWidth?`clamp(1px, ${e}, 10px)`:e;return`${l} ${!!e&&e!=="0"||!!l?t||"solid":t} ${d}`},aT=(c,l)=>A("position:absolute;top:",l==="__unstable-large"?"20px":"15px",";right:",l==="__unstable-large"?"39px":"29px",";bottom:",l==="__unstable-large"?"20px":"15px",";left:",l==="__unstable-large"?"39px":"29px",";border-top:",tW(c?.top),";border-bottom:",tW(c?.bottom),";",hc({borderLeft:tW(c?.left)})()," ",hc({borderRight:tW(c?.right)})(),";",""),uT=c=>A("position:relative;flex:1;width:",c==="__unstable-large"?void 0:"80%",";",""),mT={name:"1nwbfnf",styles:"grid-column:span 2;margin:0 auto"},xT=()=>A(hc({marginLeft:"auto"})(),";","");function gT(c){let{className:l,size:t="default",...e}=$(c,"BorderBoxControlLinkedButton"),d=Xc(),b=(0,sT.useMemo)(()=>d(iT(t),l),[l,d,t]);return{...e,className:b}}var rT=u(V(),1),kac=(c,l)=>{let{className:t,isLinked:e,...d}=gT(c),b=e?(0,UC.__)("Unlink sides"):(0,UC.__)("Link sides");return(0,rT.jsx)(lc,{...d,size:"small",icon:e?hs:Ys,iconSize:24,label:b,ref:l,className:t})},zac=tc(kac,"BorderBoxControlLinkedButton"),LC=zac;var ag=u(bc(),1),SW=u(h(),1),bL=u(ec(),1);var ZT=u(h(),1);function HT(c){let{className:l,value:t,size:e="default",...d}=$(c,"BorderBoxControlVisualizer"),b=Xc(),o=(0,ZT.useMemo)(()=>b(aT(t,e),l),[b,l,t,e]);return{...d,className:o,value:t}}var RT=u(V(),1),Aac=(c,l)=>{let{value:t,...e}=HT(c);return(0,RT.jsx)(ic,{...e,ref:l})},Oac=tc(Aac,"BorderBoxControlVisualizer"),jC=Oac;var pJ=u(bc(),1);var et=u(bc(),1);var sW=u(bc(),1);var lg=u(h(),1),FT=u(ec(),1);var IT=({isBlock:c,isDeselectable:l,size:t})=>A("background:",w.ui.background,";border:1px solid transparent;border-radius:",Q.radiusSmall,";display:inline-flex;min-width:0;position:relative;",Dac(t)," ",!l&&Qac(c),"@media not ( prefers-reduced-motion ){&[data-indicator-animated]::before{transition-property:transform,border-radius;transition-duration:0.2s;transition-timing-function:ease-out;}}&::before{content:'';position:absolute;pointer-events:none;background:",w.theme.gray[100],";border:1px solid ",w.theme.gray[700],";outline:2px solid transparent;outline-offset:-3px;border-radius:",Q.radiusSmall,`;top:-1px;left:-2px;width:calc( calc( var( --selected-width, 0 ) * 1px ) + 2px );height:calc( calc( var( --selected-height, 0 ) * 1px ) + 2px );transform:translateX( calc( var( --selected-left, 0 ) * 1px ) );opacity:min( | |
| 10 | - 1, | |
| 11 | - max( 0, var( --selected-width, 0 ), var( --selected-height, 0 ) ) | |
| 12 | - );}`,""),Qac=c=>{let l=A("border-color:",w.gray[300],";","");return A(c&&l," &:hover{border-color:",w.gray[400],";}&:focus-within{z-index:1;outline:",Q.borderWidthFocus," solid ",w.ui.borderFocus,";outline-offset:1px;}","")},wac={name:"1k18kha",styles:"height:40px"},Tac={name:"j4fzus",styles:"height:36px"},Dac=c=>({default:Tac,"__unstable-large":wac})[c],WT={name:"7whenc",styles:"display:flex;width:100%"};var yT=u(ec(),1),qu=u(h(),1),VT=u(bc(),1);var dW=u(h(),1),EC=(0,dW.createContext)({});EC.displayName="ToggleGroupControlContext";var pT=()=>(0,dW.useContext)(EC),bW=EC;var BT=u(ec(),1),_u=u(h(),1);function oW(c){let l=(0,_u.useRef)(!0),t=(0,BT.usePrevious)(c),e=(0,_u.useRef)(!1);(0,_u.useEffect)(()=>{l.current&&(l.current=!1)},[]);let d=e.current||!l.current&&t!==c;return(0,_u.useEffect)(()=>{e.current=d},[d]),d?{value:c??"",defaultValue:void 0}:{value:void 0,defaultValue:c}}var nW=u(V(),1);function Lac({children:c,isAdaptiveWidth:l,label:t,onChange:e,size:d,value:b,id:o,setSelectedElement:n,...G},X){let i=(0,yT.useInstanceId)(GW,"toggle-group-control-as-radio-group"),a=o||i,{value:m,defaultValue:x}=oW(b),g=yX({defaultValue:x,value:m,setValue:e?R=>{e(R??void 0)}:void 0,rtl:(0,VT.isRTL)()}),r=xc(g,"value"),H=g.setValue;(0,qu.useEffect)(()=>{r===""&&g.setActiveId(void 0)},[g,r]);let Z=(0,qu.useMemo)(()=>({activeItemIsNotFirstItem:()=>g.getState().activeId!==g.first(),baseId:a,isBlock:!l,size:d,value:r,setValue:H,setSelectedElement:n}),[a,l,g,r,n,H,d]);return(0,nW.jsx)(bW.Provider,{value:Z,children:(0,nW.jsx)(pa,{store:g,"aria-label":t,render:(0,nW.jsx)(ic,{}),...G,id:a,ref:X,children:c})})}var GW=(0,qu.forwardRef)(Lac);GW.displayName="ToggleGroupControlAsRadioGroup";var CT=u(ec(),1),XW=u(h(),1);var MC=u(V(),1);function jac({children:c,isAdaptiveWidth:l,label:t,onChange:e,size:d,value:b,id:o,setSelectedElement:n,...G},X){let i=(0,CT.useInstanceId)(iW,"toggle-group-control-as-button-group"),a=o||i,{value:m,defaultValue:x}=oW(b),[s,g]=ee({defaultValue:x,value:m,onChange:e}),r=(0,XW.useMemo)(()=>({baseId:a,value:s,setValue:g,isBlock:!l,isDeselectable:!0,size:d,setSelectedElement:n}),[a,s,g,l,d,n]);return(0,MC.jsx)(bW.Provider,{value:r,children:(0,MC.jsx)(ic,{"aria-label":t,...G,ref:X,role:"group",id:a,children:c})})}var iW=(0,XW.forwardRef)(jac);iW.displayName="ToggleGroupControlAsButtonGroup";var di=u(h(),1),aW=u(ec(),1),PC={element:void 0,top:0,right:0,bottom:0,left:0,width:0,height:0};function Eac(c){let l=c.getBoundingClientRect();if(l.width===0||l.height===0)return;let t=c.offsetParent,e=t?.getBoundingClientRect()??PC,d=t?.scrollLeft??0,b=t?.scrollTop??0,o=parseFloat(getComputedStyle(c).width),n=parseFloat(getComputedStyle(c).height),G=o/l.width,X=n/l.height;return{element:c,top:(l.top-e?.top)*X+b,right:(e?.right-l.right)*G-d,bottom:(e?.bottom-l.bottom)*X-b,left:(l.left-e?.left)*G+d,width:o,height:n}}var Mac=100;function uW(c,l=[]){let[t,e]=(0,di.useState)(PC),d=(0,di.useRef)(void 0),b=(0,aW.useEvent)(()=>{if(c&&c.isConnected){let n=Eac(c);if(n)return e(n),clearInterval(d.current),!0}else clearInterval(d.current);return!1}),o=(0,aW.useResizeObserver)(()=>{b()||requestAnimationFrame(()=>{b()||(d.current=setInterval(b,Mac))})});return(0,di.useLayoutEffect)(()=>{o(c),c||e(PC)},[o,c]),(0,di.useLayoutEffect)(()=>{b()},l),t}var hT=u(ec(),1),KC=u(h(),1);var JT=u(ec(),1),mW=u(h(),1);function YT(c,l){let t=(0,mW.useRef)(c),e=(0,JT.useEvent)(l);(0,mW.useLayoutEffect)(()=>{t.current!==c&&(e({previousValue:t.current}),t.current=c)},[e,c])}function xW(c,l,{prefix:t="subelement",dataAttribute:e=`${t}-animated`,transitionEndFilter:d=()=>!0,roundRect:b=!1}={}){let o=(0,hT.useEvent)(()=>{Object.keys(l).forEach(n=>n!=="element"&&c?.style.setProperty(`--${t}-${n}`,String(b?Math.floor(l[n]):l[n])))});(0,KC.useLayoutEffect)(()=>{o()},[l,o]),YT(l.element,({previousValue:n})=>{l.element&&n&&c?.setAttribute(`data-${e}`,"")}),(0,KC.useLayoutEffect)(()=>{function n(G){d(G)&&c?.removeAttribute(`data-${e}`)}return c?.addEventListener("transitionend",n),()=>c?.removeEventListener("transitionend",n)},[e,c,d])}var _C=u(V(),1);function Pac(c,l){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:e=!1,__shouldNotWarnDeprecated36pxSize:d,className:b,isAdaptiveWidth:o=!1,isBlock:n=!1,isDeselectable:G=!1,id:X,label:i,hideLabelFromVision:a=!1,help:m,onChange:x,size:s="default",value:g,children:r,...H}=$(c,"ToggleGroupControl"),{baseControlProps:Z,controlProps:R}=js({id:X,help:m,label:i,hideLabelFromVision:a}),W=e&&s==="default"?"__unstable-large":s,[I,B]=(0,lg.useState)(),[p,y]=(0,lg.useState)(),Y=(0,FT.useMergeRefs)([y,l]),C=uW(g!=null?I:void 0);xW(p,C,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:F=>F.pseudoElement==="::before",roundRect:!1});let J=Xc(),N=(0,lg.useMemo)(()=>J(IT({isBlock:n,isDeselectable:G,size:W}),n&&WT,b),[b,J,n,G,W]),S=G?iW:GW;return Uc({componentName:"ToggleGroupControl",size:s,__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:d}),(0,_C.jsx)(Lc,{...Z,children:(0,_C.jsx)(S,{...H,...R,setSelectedElement:B,className:N,isAdaptiveWidth:o,label:i,onChange:x,ref:Y,size:W,value:g,children:r})})}var Kac=tc(Pac,"ToggleGroupControl"),Jd=Kac;var ST=u(h(),1);var NT=u(ec(),1),bi=u(h(),1);var cJ={};_G(cJ,{ButtonContentView:()=>cuc,LabelView:()=>_ac,buttonView:()=>$C,labelBlock:()=>qC});var _ac=f("div",{target:"et6ln9s1"})({name:"sln1fl",styles:"display:inline-flex;max-width:100%;min-width:0;position:relative"}),qC={name:"82a6rk",styles:"flex:1"},$C=({isDeselectable:c,isIcon:l,isPressed:t,size:e})=>A("align-items:center;appearance:none;background:transparent;border:none;border-radius:",Q.radiusXSmall,";color:",w.theme.gray[700],";fill:currentColor;cursor:pointer;display:flex;font-family:inherit;height:100%;justify-content:center;line-height:100%;outline:none;padding:0 12px;position:relative;text-align:center;@media not ( prefers-reduced-motion ){transition:color ",Q.transitionDurationFast," linear,font-weight 60ms linear;}user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&[disabled],&[aria-disabled='true']{opacity:0.4;cursor:default;}&:hover:not( [disabled] ):not( [aria-disabled='true'] ){color:",w.theme.foreground,";}",c&&$ac," ",l&&luc({size:e})," ",t&&qac,";",""),qac=A("color:",w.theme.foreground,";font-weight:",Q.fontWeightMedium,";",""),$ac=A("&:focus{outline:",Q.borderWidthFocus," solid ",w.ui.borderFocus,";outline-offset:2px;&[aria-pressed='false']{background:",w.ui.background,";box-shadow:0 0 0 2px ",w.ui.background,";}}",""),cuc=f("div",{target:"et6ln9s0"})("display:flex;font-size:",Q.fontSize,";line-height:1;"),luc=({size:c="default"})=>A("height:",{default:"34px","__unstable-large":"38px"}[c],";aspect-ratio:1;padding-left:0;padding-right:0;","");var Yd=u(V(),1),{ButtonContentView:vT,LabelView:tuc}=cJ,euc=({showTooltip:c,text:l,children:t})=>c&&l?(0,Yd.jsx)(ve,{text:l,placement:"top",children:t}):(0,Yd.jsx)(Yd.Fragment,{children:t});function fT(c,l){let t=pT(),e=(0,NT.useInstanceId)(fT,t.baseId||"toggle-group-control-option-base"),d=$({...c,id:e},"ToggleGroupControlOptionBase"),{isBlock:b=!1,isDeselectable:o=!1,size:n="default"}=t,{className:G,isIcon:X=!1,value:i,children:a,showTooltip:m=!1,disabled:x,...s}=d,g=t.value===i,r=Xc(),H=(0,bi.useMemo)(()=>r(b&&qC),[r,b]),Z=(0,bi.useMemo)(()=>r($C({isDeselectable:o,isIcon:X,isPressed:g,size:n}),G),[r,o,X,g,n,G]),R=()=>{o&&g?t.setValue(void 0):t.setValue(i)},W={...s,className:Z,"data-value":i,ref:l},I=(0,bi.useRef)(null);return(0,bi.useLayoutEffect)(()=>{g&&I.current&&t.setSelectedElement(I.current)},[g,t]),(0,Yd.jsx)(tuc,{ref:I,className:H,children:(0,Yd.jsx)(euc,{showTooltip:m,text:s["aria-label"],children:o?(0,Yd.jsx)("button",{...W,disabled:x,"aria-pressed":g,type:"button",onClick:R,children:(0,Yd.jsx)(vT,{children:a})}):(0,Yd.jsx)(BX,{disabled:x,onFocusVisible:()=>{(!(t.value===null||t.value==="")||t.activeItemIsNotFirstItem?.())&&t.setValue(i)},render:(0,Yd.jsx)("button",{type:"button",...W}),value:i,children:(0,Yd.jsx)(vT,{children:a})})})})}var duc=tc(fT,"ToggleGroupControlOptionBase"),tg=duc;var kT=u(V(),1);function buc(c,l){let{label:t,...e}=c,d=e["aria-label"]||t;return(0,kT.jsx)(tg,{...e,"aria-label":d,ref:l,children:t})}var zT=(0,ST.forwardRef)(buc);zT.displayName="ToggleGroupControlOption";var dn=zT;var AT=u(h(),1);var lJ=u(V(),1);function ouc(c,l){let{icon:t,label:e,...d}=c;return(0,lJ.jsx)(tg,{...d,isIcon:!0,"aria-label":e,showTooltip:!0,ref:l,children:(0,lJ.jsx)(tl,{icon:t})})}var OT=(0,AT.forwardRef)(ouc);OT.displayName="ToggleGroupControlOptionIcon";var $u=OT;var tJ=u(V(),1),nuc=[{label:(0,sW.__)("Solid"),icon:Js,value:"solid"},{label:(0,sW.__)("Dashed"),icon:S2,value:"dashed"},{label:(0,sW.__)("Dotted"),icon:z2,value:"dotted"}];function Guc({onChange:c,...l},t){return(0,tJ.jsx)(Jd,{__next40pxDefaultSize:!0,ref:t,isDeselectable:!0,onChange:e=>{c?.(e)},...l,children:nuc.map(e=>(0,tJ.jsx)($u,{value:e.value,icon:e.icon,label:e.label},e.value))})}var Xuc=tc(Guc,"BorderControlStylePicker"),eJ=Xuc;var QT=u(h(),1),wT=u(V(),1);function iuc(c,l){let{className:t,colorValue:e,...d}=c;return(0,wT.jsx)("span",{className:O("component-color-indicator",t),style:{background:e},ref:l,...d})}var TT=(0,QT.forwardRef)(iuc);TT.displayName="ColorIndicator";var to=TT;var dJ=function(c){var l=c/255;return l<.04045?l/12.92:Math.pow((l+.055)/1.055,2.4)},bJ=function(c){return .2126*dJ(c.r)+.7152*dJ(c.g)+.0722*dJ(c.b)};function c0(c){c.prototype.luminance=function(){return l=bJ(this.rgba),(t=2)===void 0&&(t=0),e===void 0&&(e=Math.pow(10,t)),Math.round(e*l)/e+0;var l,t,e},c.prototype.contrast=function(l){l===void 0&&(l="#FFF");var t,e,d,b,o,n,G,X=l instanceof c?l:new c(l);return b=this.rgba,o=X.toRgb(),n=bJ(b),G=bJ(o),t=n>G?(n+.05)/(G+.05):(G+.05)/(n+.05),(e=2)===void 0&&(e=0),d===void 0&&(d=Math.pow(10,e)),Math.floor(d*t)/d+0},c.prototype.isReadable=function(l,t){return l===void 0&&(l="#FFF"),t===void 0&&(t={}),this.contrast(l)>=(n=(o=(e=t).size)===void 0?"normal":o,(b=(d=e.level)===void 0?"AA":d)==="AAA"&&n==="normal"?7:b==="AA"&&n==="large"?3:4.5);var e,d,b,o,n}}var yU=u(ec(),1),Xn=u(bc(),1),ob=u(h(),1);var gW=u(h(),1),DT=u(ec(),1),UT=u(Xl(),1);var rW=u(V(),1),auc=(c,l)=>{let{renderContent:t,renderToggle:e,className:d,contentClassName:b,expandOnMobile:o,headerTitle:n,focusOnMount:G,popoverProps:X,onClose:i,onToggle:a,style:m,open:x,defaultOpen:s,position:g,variant:r}=$(c,"Dropdown");g!==void 0&&(0,UT.default)("`position` prop in wp.components.Dropdown",{since:"6.2",alternative:"`popoverProps.placement` prop",hint:"Note that the `position` prop will override any values passed through the `popoverProps.placement` prop."});let[H,Z]=(0,gW.useState)(null),R=(0,gW.useRef)(null),[W,I]=ee({defaultValue:s,value:x,onChange:a});function B(){if(!R.current)return;let{ownerDocument:C}=R.current,J=C?.activeElement?.closest('[role="dialog"]');!R.current.contains(C.activeElement)&&(!J||J.contains(R.current))&&p()}function p(){i?.(),I(!1)}let y={isOpen:!!W,onToggle:()=>I(!W),onClose:p},Y=!!X?.anchor||!!X?.anchorRef||!!X?.getAnchorRect||!!X?.anchorRect;return(0,rW.jsxs)("div",{className:d,ref:(0,DT.useMergeRefs)([R,l,Z]),tabIndex:-1,style:m,children:[e(y),W&&(0,rW.jsx)(rG,{position:g,onClose:p,onFocusOutside:B,expandOnMobile:o,headerTitle:n,focusOnMount:G,offset:13,anchor:Y?void 0:H,variant:r,...X,className:O("components-dropdown__content",X?.className,b),children:t(y)})]})},uuc=tc(auc,"Dropdown"),eo=uuc;var ld=u(h(),1),$D=u(ec(),1),cU=u(bc(),1);var PT=u(ec(),1),KT=u(h(),1);var muc=({disabled:c})=>c?A("color:",w.ui.textDisabled,";cursor:default;",""):"",xuc={name:"1lv1yo7",styles:"display:inline-flex"},suc=({variant:c})=>c==="minimal"?xuc:"",LT=f(zu,{target:"e1mv6sxx3"})("color:",w.theme.foreground,";cursor:pointer;",muc," ",suc,";"),guc=({__next40pxDefaultSize:c,multiple:l,selectSize:t="default"})=>{if(l)return;let e={default:{height:40,minHeight:40,paddingTop:0,paddingBottom:0},small:{height:24,minHeight:24,paddingTop:0,paddingBottom:0},compact:{height:32,minHeight:32,paddingTop:0,paddingBottom:0},"__unstable-large":{height:40,minHeight:40,paddingTop:0,paddingBottom:0}};c||(e.default=e.compact);let d=e[t]||e.default;return A(d,"","")},oi=18,ruc=({__next40pxDefaultSize:c,multiple:l,selectSize:t="default"})=>{let e={default:Q.controlPaddingX,small:Q.controlPaddingXSmall,compact:Q.controlPaddingXSmall,"__unstable-large":Q.controlPaddingX};c||(e.default=e.compact);let d=e[t]||e.default;return hc({paddingLeft:d,paddingRight:d+oi,...l?{paddingTop:d,paddingBottom:d}:{}})},Zuc=({multiple:c})=>({overflow:c?"auto":"hidden"}),Huc={name:"n1jncc",styles:"field-sizing:content"},Ruc=({variant:c})=>c==="minimal"?Huc:"",jT=f("select",{target:"e1mv6sxx2"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:currentColor;cursor:inherit;display:block;font-family:inherit;line-height:1.3;margin:0;width:100%;max-width:none;white-space:nowrap;text-overflow:ellipsis;",ws,";",guc,";",ruc,";",Zuc," ",Ruc,";}"),ET=f("div",{target:"e1mv6sxx1"})("margin-inline-end:",z(-1),";line-height:0;path{fill:currentColor;}"),MT=f(wu,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",hc({right:0}),";");var ZW=u(V(),1),Iuc=()=>(0,ZW.jsx)(MT,{children:(0,ZW.jsx)(ET,{children:(0,ZW.jsx)(Bl,{icon:ys,size:oi})})}),HW=Iuc;var ni=u(V(),1);function Wuc(c){let t=`inspector-select-control-${(0,PT.useInstanceId)(eg)}`;return c||t}function puc({options:c}){return c.map(({id:l,label:t,value:e,...d},b)=>{let o=l||`${t}-${e}-${b}`;return(0,ni.jsx)("option",{value:e,...d,children:t},o)})}function Buc(c,l){let{className:t,disabled:e=!1,help:d,hideLabelFromVision:b,id:o,label:n,multiple:G=!1,onChange:X,options:i=[],size:a="default",value:m,labelPosition:x="top",children:s,prefix:g,suffix:r,variant:H="default",__next40pxDefaultSize:Z=!1,__nextHasNoMarginBottom:R,__shouldNotWarnDeprecated36pxSize:W,...I}=Ut(c),B=Wuc(o),p=d?`${B}__help`:void 0;if(!i?.length&&!s)return null;let y=C=>{if(c.multiple){let N=Array.from(C.target.options).filter(({selected:S})=>S).map(({value:S})=>S);c.onChange?.(N,{event:C});return}c.onChange?.(C.target.value,{event:C})},Y=O("components-select-control",t);return Uc({componentName:"SelectControl",__next40pxDefaultSize:Z,size:a,__shouldNotWarnDeprecated36pxSize:W}),(0,ni.jsx)(Lc,{help:d,id:B,className:Y,children:(0,ni.jsx)(LT,{disabled:e,hideLabelFromVision:b,id:B,isBorderless:H==="minimal",label:n,size:a,suffix:r||!G&&(0,ni.jsx)(HW,{}),prefix:g,labelPosition:x,__unstableInputWidth:H==="minimal"?"auto":void 0,variant:H,__next40pxDefaultSize:Z,children:(0,ni.jsx)(jT,{...I,__next40pxDefaultSize:Z,"aria-describedby":p,className:"components-select-control__input",disabled:e,id:B,multiple:G,onChange:y,ref:l,selectSize:a,value:m,variant:H,children:s||(0,ni.jsx)(puc,{options:i})})})})}var eg=(0,KT.forwardRef)(Buc);eg.displayName="SelectControl";var hd=eg;var RW=u(bc(),1),IG=u(h(),1),IW=u(ec(),1);var _T=u(h(),1);function dg(c,l,t){return typeof c!="number"?null:parseFloat(`${Ou(c,l,t)}`)}function qT(c){let{min:l,max:t,value:e,initial:d}=c,[b,o]=Po(dg(e,l,t),{initial:dg(d??null,l,t),fallback:null}),n=(0,_T.useCallback)(G=>{o(G===null?null:dg(G,l,t))},[l,t,o]);return[b,n]}var sD=u(h(),1);var l0=30,t0=4,oJ=()=>A({height:l0,minHeight:l0},"",""),Gi=12,yuc=({__next40pxDefaultSize:c})=>!c&&A({minHeight:l0},"",""),$T=f("div",{target:"e1epgpqk14"})("-webkit-tap-highlight-color:transparent;align-items:center;display:flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%;min-height:40px;",yuc,";"),Vuc=({color:c=w.ui.borderFocus})=>A({color:c},"",""),cD=f("div",{shouldForwardProp:c=>!["color","marks"].includes(c),target:"e1epgpqk13"})("display:block;flex:1;position:relative;width:100%;",Vuc,";",oJ,";"),lD=f("span",{target:"e1epgpqk12"})("display:flex;margin-top:",t0,"px;",hc({marginRight:6}),";"),tD=f("span",{target:"e1epgpqk11"})("display:flex;margin-top:",t0,"px;",hc({marginLeft:6}),";"),Cuc=({disabled:c,railColor:l})=>A("background:",c?w.ui.backgroundDisabled:l||w.theme.gray[300],";@media ( forced-colors: active ){background:GrayText;}",""),eD=f("span",{target:"e1epgpqk10"})("left:0;pointer-events:none;right:0;display:block;height:",t0,"px;position:absolute;margin-top:",(l0-t0)/2,"px;top:0;border-radius:",Q.radiusFull,";",Cuc,";"),Juc=({disabled:c,trackColor:l})=>A("background:",c?w.theme.gray[400]:l||"currentColor",";@media ( forced-colors: active ){background:",c?"GrayText":"CanvasText",";}",""),dD=f("span",{target:"e1epgpqk9"})("border-radius:",Q.radiusFull,";height:",t0,"px;pointer-events:none;display:block;position:absolute;margin-top:",(l0-t0)/2,"px;top:0;.is-marked &{@media not ( prefers-reduced-motion ){transition:width ease 0.1s;}}",Juc,";"),bD=f("span",{target:"e1epgpqk8"})({name:"g5kg28",styles:"display:block;pointer-events:none;position:relative;width:100%;user-select:none;margin-top:17px"}),oD=f("span",{target:"e1epgpqk7"})("position:absolute;left:0;top:-4px;height:4px;width:2px;transform:translateX( -50% );background-color:",w.ui.background,";z-index:1;"),Yuc=({isFilled:c})=>A({color:c?w.theme.gray[700]:w.theme.gray[300]},"",""),nD=f("span",{target:"e1epgpqk6"})("color:",w.theme.gray[300],";font-size:11px;position:absolute;top:8px;white-space:nowrap;",hc({left:0}),";",hc({transform:"translateX( -50% )"},{transform:"translateX( 50% )"}),";",Yuc,";"),GD=({disabled:c})=>A("background:",c?w.theme.gray[400]:w.theme.accent,";@media ( forced-colors: active ){background:",c?"GrayText":"CanvasText",";}",""),XD=f("span",{target:"e1epgpqk5"})("align-items:center;display:flex;height:",Gi,"px;justify-content:center;margin-top:",(l0-Gi)/2,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",Gi,"px;border-radius:",Q.radiusRound,";z-index:3;.is-marked &{@media not ( prefers-reduced-motion ){transition:left ease 0.1s;}}",GD,";",hc({marginLeft:-10}),";",hc({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),huc=({isFocused:c})=>c?A("&::before{content:' ';position:absolute;background-color:",w.theme.accent,";opacity:0.4;border-radius:",Q.radiusRound,";height:",Gi+8,"px;width:",Gi+8,"px;top:-4px;left:-4px;@media ( forced-colors: active ){background:GrayText;}}",""):"",iD=f("span",{target:"e1epgpqk4"})("align-items:center;border-radius:",Q.radiusRound,";height:100%;outline:0;position:absolute;user-select:none;width:100%;box-shadow:",Q.elevationXSmall,";",GD,";",huc,";"),aD=f("input",{target:"e1epgpqk3"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",Gi/2,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",Gi,"px );"),Fuc=({show:c})=>A("display:",c?"inline-block":"none",";opacity:",c?1:0,";@media not ( prefers-reduced-motion ){transition:opacity 120ms ease,display 120ms ease allow-discrete;}@starting-style{opacity:0;}",""),vuc={name:"1cypxip",styles:"top:-80%"},Nuc={name:"1lr98c4",styles:"bottom:-80%"},fuc=({placement:c})=>c==="bottom"?Nuc:vuc,uD=f("span",{target:"e1epgpqk2"})("background:rgba( 0, 0, 0, 0.8 );border-radius:",Q.radiusSmall,";color:white;font-size:12px;min-width:32px;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;user-select:none;line-height:1.4;",Fuc,";",fuc,";",hc({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),mD=f(Yt,{target:"e1epgpqk1"})("display:inline-block;font-size:13px;margin-top:0;input[type='number']&{",oJ,";}",hc({marginLeft:`${z(4)} !important`}),";"),xD=f("span",{target:"e1epgpqk0"})("display:block;margin-top:0;button,button.is-small{margin-left:0;",oJ,";}",hc({marginLeft:8}),";");var gD=u(V(),1);function Suc(c,l){let{describedBy:t,label:e,value:d,...b}=c;return(0,gD.jsx)(aD,{...b,"aria-describedby":t,"aria-label":e,"aria-hidden":!1,ref:l,tabIndex:0,type:"range",value:d})}var kuc=(0,sD.forwardRef)(Suc),rD=kuc;var HD=u(bc(),1);var Xi=u(V(),1);function ZD(c){let{className:l,isFilled:t=!1,label:e,style:d={},...b}=c,o=O("components-range-control__mark",t&&"is-filled",l),n=O("components-range-control__mark-label",t&&"is-filled");return(0,Xi.jsxs)(Xi.Fragment,{children:[(0,Xi.jsx)(oD,{...b,"aria-hidden":"true",className:o,style:d}),e&&(0,Xi.jsx)(nD,{"aria-hidden":"true",className:n,isFilled:t,style:d,children:e})]})}var RG=u(V(),1),RD=u(E(),1);function ID(c){let{disabled:l=!1,marks:t=!1,min:e=0,max:d=100,step:b=1,value:o=0,...n}=c;return(0,RG.jsxs)(RG.Fragment,{children:[(0,RG.jsx)(eD,{disabled:l,...n}),t&&(0,RG.jsx)(zuc,{disabled:l,marks:t,min:e,max:d,step:b,value:o})]})}function zuc(c){let{disabled:l=!1,marks:t=!1,min:e=0,max:d=100,step:b=1,value:o=0}=c,G=Auc({marks:t,min:e,max:d,step:b==="any"?1:b,value:o});return(0,RG.jsx)(bD,{"aria-hidden":"true",className:"components-range-control__marks",children:G.map(X=>(0,RD.createElement)(ZD,{...X,key:X.key,"aria-hidden":"true",disabled:l}))})}function Auc({marks:c,min:l=0,max:t=100,step:e=1,value:d=0}){if(!c)return[];let b=t-l;if(!Array.isArray(c)){c=[];let n=1+Math.round(b/e);for(;n>c.push({value:e*c.length+l}););}let o=[];return c.forEach((n,G)=>{if(n.value<l||n.value>t)return;let X=`mark-${G}`,i=n.value<=d,a=`${(n.value-l)/b*100}%`,m={[(0,HD.isRTL)()?"right":"left"]:a};o.push({...n,isFilled:i,key:X,style:m})}),o}var ii=u(h(),1);var WD=u(V(),1);function pD(c){let{className:l,inputRef:t,tooltipPlacement:e,show:d=!1,style:b={},value:o=0,renderTooltipContent:n=x=>x,zIndex:G=100,...X}=c,i=Ouc({inputRef:t,tooltipPlacement:e}),a=O("components-simple-tooltip",l),m={...b,zIndex:G};return(0,WD.jsx)(uD,{...X,"aria-hidden":"false",className:a,placement:i,show:d,role:"tooltip",style:m,children:n(o)})}function Ouc({inputRef:c,tooltipPlacement:l}){let[t,e]=(0,ii.useState)(),d=(0,ii.useCallback)(()=>{c&&c.current&&e(l)},[l,c]);return(0,ii.useEffect)(()=>{d()},[d]),(0,ii.useEffect)(()=>(window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)})),t}var gt=u(V(),1),bg=()=>{};function Quc({resetFallbackValue:c,initialPosition:l}){return c!==void 0?Number.isNaN(c)?null:c:l!==void 0?Number.isNaN(l)?null:l:null}function BD(c,l){let{__nextHasNoMarginBottom:t,afterIcon:e,allowReset:d=!1,beforeIcon:b,className:o,color:n=w.theme.accent,currentInput:G,disabled:X=!1,help:i,hideLabelFromVision:a=!1,initialPosition:m,isShiftStepEnabled:x=!0,label:s,marks:g=!1,max:r=100,min:H=0,onBlur:Z=bg,onChange:R=bg,onFocus:W=bg,onMouseLeave:I=bg,onMouseMove:B=bg,railColor:p,renderTooltipContent:y=Gt=>Gt,resetFallbackValue:Y,__next40pxDefaultSize:C=!1,shiftStep:J=10,showTooltip:N,step:S=1,trackColor:F,value:D,withInputField:L=!0,__shouldNotWarnDeprecated36pxSize:v,...T}=c,[k,M]=qT({min:H,max:r,value:D??null,initial:m}),P=(0,IG.useRef)(!1),Gc=N,U=L;S==="any"&&(Gc=!1,U=!1);let[dc,j]=(0,IG.useState)(Gc),[oc,Rc]=(0,IG.useState)(!1),Vc=(0,IG.useRef)(null),Mc=Vc.current?.matches(":focus"),Dl=!X&&oc,xl=k===null,Pc=xl?"":k!==void 0?k:G,Fl=xl?(r-H)/2+H:k,Nt=xl?50:(k-H)/(r-H)*100,uc=`${Ou(Nt,0,100)}%`,Yc=O("components-range-control",o),Vl=O("components-range-control__wrapper",!!g&&"is-marked"),Fc=(0,IW.useInstanceId)(BD,"inspector-range-control"),Sl=i?`${Fc}__help`:void 0,nt=Gc!==!1&&Number.isFinite(k),Et=Gt=>{let kl=parseFloat(Gt.target.value);M(kl),R(kl)},Mt=Gt=>{let kl=parseFloat(Gt);M(kl),isNaN(kl)?d&&(P.current=!0):((kl<H||kl>r)&&(kl=dg(kl,H,r)),R(kl),P.current=!1)},id=()=>{P.current&&(Yo(),P.current=!1)},Yo=()=>{let Gt=Number.isNaN(Y)?null:Y??null;M(Gt),R(Gt??void 0)},MG=()=>j(!0),Nn=()=>j(!1),PG=Gt=>{Z(Gt),Rc(!1),Nn()},KG=Gt=>{W(Gt),Rc(!0),MG()},fn={[(0,RW.isRTL)()?"right":"left"]:uc};return Uc({componentName:"RangeControl",__next40pxDefaultSize:C,size:void 0,__shouldNotWarnDeprecated36pxSize:v}),(0,gt.jsx)(Lc,{className:Yc,label:s,hideLabelFromVision:a,id:`${Fc}`,help:i,children:(0,gt.jsxs)($T,{className:"components-range-control__root",__next40pxDefaultSize:C,children:[b&&(0,gt.jsx)(lD,{children:(0,gt.jsx)(tl,{icon:b})}),(0,gt.jsxs)(cD,{className:Vl,color:n,marks:!!g,children:[(0,gt.jsx)(rD,{...T,className:"components-range-control__slider",describedBy:Sl,disabled:X,id:`${Fc}`,label:s,max:r,min:H,onBlur:PG,onChange:Et,onFocus:KG,onMouseMove:B,onMouseLeave:I,ref:(0,IW.useMergeRefs)([Vc,l]),step:S,value:Pc??void 0}),(0,gt.jsx)(ID,{"aria-hidden":!0,disabled:X,marks:g,max:r,min:H,railColor:p,step:S,value:Fl}),(0,gt.jsx)(dD,{"aria-hidden":!0,className:"components-range-control__track",disabled:X,style:{width:uc},trackColor:F}),(0,gt.jsx)(XD,{className:"components-range-control__thumb-wrapper",style:fn,disabled:X,children:(0,gt.jsx)(iD,{"aria-hidden":!0,isFocused:Dl,disabled:X})}),nt&&(0,gt.jsx)(pD,{className:"components-range-control__tooltip",inputRef:Vc,tooltipPlacement:"bottom",renderTooltipContent:y,show:Mc||dc,style:fn,value:k})]}),e&&(0,gt.jsx)(tD,{children:(0,gt.jsx)(tl,{icon:e})}),U&&(0,gt.jsx)(mD,{"aria-label":s,className:"components-range-control__number",disabled:X,inputMode:"decimal",isShiftStepEnabled:x,max:r,min:H,onBlur:id,onChange:Mt,shiftStep:J,size:C?"__unstable-large":"default",__unstableInputWidth:C?z(20):z(16),step:S,value:Pc,__shouldNotWarnDeprecated36pxSize:!0}),d&&(0,gt.jsx)(xD,{children:(0,gt.jsx)(lc,{className:"components-range-control__reset",accessibleWhenDisabled:!X,disabled:X||k===Quc({resetFallbackValue:Y,initialPosition:m}),variant:"secondary",size:"small",onClick:Yo,children:(0,RW.__)("Reset")})})]})})}var yD=(0,IG.forwardRef)(BD);yD.displayName="RangeControl";var Fd=yD;var VD=f(Yt,{target:"ez9hsf46"})("width:",z(24),";"),CD=f(hd,{target:"ez9hsf45"})("margin-left:",z(-2),";"),JD=f(Fd,{target:"ez9hsf44"})("flex:1;margin-right:",z(2),";"),wuc=` | |
| 10 | + `),()=>{document.head.removeChild(s)}},[t]),(0,XO.jsx)(u2,{isPresent:t,childRef:n,sizeRef:l,children:pI.cloneElement(e,{ref:n})})}var xO=({children:e,initial:t,isPresent:c,onExitComplete:n,custom:l,presenceAffectsLayout:o,mode:d})=>{let i=im(CXe),r=(0,Qs.useId)(),a=(0,Qs.useCallback)(b=>{i.set(b,!0);for(let m of i.values())if(!m)return;n&&n()},[i,n]),s=(0,Qs.useMemo)(()=>({id:r,initial:t,isPresent:c,custom:l,onExitComplete:a,register:b=>(i.set(b,!1),()=>i.delete(b))}),o?[Math.random(),a]:[c,a]);return(0,Qs.useMemo)(()=>{i.forEach((b,m)=>i.set(m,!1))},[c]),gO.useEffect(()=>{!c&&!i.size&&n&&n()},[c]),d==="popLayout"&&(e=(0,m2.jsx)(GO,{isPresent:c,children:e})),(0,m2.jsx)(Ji.Provider,{value:s,children:e})};function CXe(){return new Map}var Ni=u(E(),1);function KG(e=!0){let t=(0,Ni.useContext)(Ji);if(t===null)return[!0,null];let{isPresent:c,onExitComplete:n,register:l}=t,o=(0,Ni.useId)();(0,Ni.useEffect)(()=>{e&&l(o)},[e]);let d=(0,Ni.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!c&&n?[!1,d]:[!0]}function X2(){return FXe((0,Ni.useContext)(Ji))}function FXe(e){return e===null?!0:e.isPresent}var RI=u(E(),1),qG=e=>e.key||"";function G2(e){let t=[];return RI.Children.forEach(e,c=>{(0,RI.isValidElement)(c)&&t.push(c)}),t}var HI=u(E(),1);var am=typeof window<"u";var II=am?HI.useLayoutEffect:HI.useEffect;var sm=({children:e,custom:t,initial:c=!0,onExitComplete:n,presenceAffectsLayout:l=!0,mode:o="sync",propagate:d=!1})=>{let[i,r]=KG(d),a=(0,Yd.useMemo)(()=>G2(e),[e]),s=d&&!i?[]:a.map(qG),b=(0,Yd.useRef)(!0),m=(0,Yd.useRef)(a),X=im(()=>new Map),[G,g]=(0,Yd.useState)(a),[x,H]=(0,Yd.useState)(a);II(()=>{b.current=!1,m.current=a;for(let I=0;I<x.length;I++){let f=qG(x[I]);s.includes(f)?X.delete(f):X.get(f)!==!0&&X.set(f,!1)}},[x,s.length,s.join("-")]);let p=[];if(a!==G){let I=[...a];for(let f=0;f<x.length;f++){let y=x[f],Z=qG(y);s.includes(Z)||(I.splice(f,0,y),p.push(y))}o==="wait"&&p.length&&(I=p),H(G2(I)),g(a);return}let{forceRender:R}=(0,Yd.useContext)(dm);return(0,$G.jsx)($G.Fragment,{children:x.map(I=>{let f=qG(I),y=d&&!i?!1:a===x||s.includes(f),Z=()=>{if(X.has(f))X.set(f,!0);else return;let W=!0;X.forEach(v=>{v||(W=!1)}),W&&(R?.(),H(m.current),d&&r?.(),n&&n())};return(0,$G.jsx)(xO,{isPresent:y,initial:!b.current||c?void 0:!1,custom:y?void 0:t,presenceAffectsLayout:l,mode:o,onExitComplete:y?void 0:Z,children:I},f)})})};var Qt=e=>e;var Si=Qt,Eo=Qt;function Us(e){let t;return()=>(t===void 0&&(t=e()),t)}var Nl=(e,t,c)=>{let n=t-e;return n===0?1:(c-e)/n};var Ic=e=>e*1e3,rn=e=>e/1e3;var bm={skipAnimations:!1,useManualTiming:!1};function pO(e){let t=new Set,c=new Set,n=!1,l=!1,o=new WeakSet,d={delta:0,timestamp:0,isProcessing:!1};function i(a){o.has(a)&&(r.schedule(a),e()),a(d)}let r={schedule:(a,s=!1,b=!1)=>{let X=b&&n?t:c;return s&&o.add(a),X.has(a)||X.add(a),a},cancel:a=>{c.delete(a),o.delete(a)},process:a=>{if(d=a,n){l=!0;return}n=!0,[t,c]=[c,t],t.forEach(i),t.clear(),n=!1,l&&(l=!1,r.process(a))}};return r}var ZI=["read","resolveKeyframes","update","preRender","render","postRender"],JXe=40;function fI(e,t){let c=!1,n=!0,l={delta:0,timestamp:0,isProcessing:!1},o=()=>c=!0,d=ZI.reduce((H,p)=>(H[p]=pO(o),H),{}),{read:i,resolveKeyframes:r,update:a,preRender:s,render:b,postRender:m}=d,X=()=>{let H=bm.useManualTiming?l.timestamp:performance.now();c=!1,l.delta=n?1e3/60:Math.max(Math.min(H-l.timestamp,JXe),1),l.timestamp=H,l.isProcessing=!0,i.process(l),r.process(l),a.process(l),s.process(l),b.process(l),m.process(l),l.isProcessing=!1,c&&t&&(n=!1,e(X))},G=()=>{c=!0,n=!0,l.isProcessing||e(X)};return{schedule:ZI.reduce((H,p)=>{let R=d[p];return H[p]=(I,f=!1,y=!1)=>(c||G(),R.schedule(I,f,y)),H},{}),cancel:H=>{for(let p=0;p<ZI.length;p++)d[ZI[p]].cancel(H)},state:l,steps:d}}var{schedule:dt,cancel:Sl,state:Zc,steps:yI}=fI(typeof requestAnimationFrame<"u"?requestAnimationFrame:Qt,!0);var RO=u(E(),1),WI=(0,RO.createContext)({strict:!1});var HO={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},wi={};for(let e in HO)wi[e]={isEnabled:t=>HO[e].some(c=>!!t[c])};function IO(e){for(let t in e)wi[t]={...wi[t],...e[t]}}var YXe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function eg(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||YXe.has(e)}var fO=e=>!eg(e);function SXe(e){e&&(fO=t=>t.startsWith("on")?!eg(t):e(t))}try{SXe((x2(),Aw(ZO)).default)}catch{}function yO(e,t,c){let n={};for(let l in e)l==="values"&&typeof e.values=="object"||(fO(l)||c===!0&&eg(l)||!t&&!eg(l)||e.draggable&&l.startsWith("onDrag"))&&(n[l]=e[l]);return n}function WO(e){if(typeof Proxy>"u")return e;let t=new Map,c=(...n)=>e(...n);return new Proxy(c,{get:(n,l)=>l==="create"?e:(t.has(l)||t.set(l,e(l)),t.get(l))})}var YI=u(F(),1);var Xm=u(E(),1);var hO=u(E(),1),Dr=(0,hO.createContext)({});var CI=u(E(),1);function ki(e){return typeof e=="string"||Array.isArray(e)}function _r(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var vI=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tg=["initial",...vI];function Es(e){return _r(e.animate)||tg.some(t=>ki(e[t]))}function VI(e){return!!(Es(e)||e.variants)}function BO(e,t){if(Es(e)){let{initial:c,animate:n}=e;return{initial:c===!1||ki(c)?c:void 0,animate:ki(n)?n:void 0}}return e.inherit!==!1?t:{}}function VO(e){let{initial:t,animate:c}=BO(e,(0,CI.useContext)(Dr));return(0,CI.useMemo)(()=>({initial:t,animate:c}),[vO(t),vO(c)])}function vO(e){return Array.isArray(e)?e.join(" "):e}var CO=Symbol.for("motionComponentSymbol");var FO=u(E(),1);function zi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function JO(e,t,c){return(0,FO.useCallback)(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),c&&(typeof c=="function"?c(n):zi(c)&&(c.current=n))},[t])}var Xl=u(E(),1);var um=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var wXe="framerAppearId",FI="data-"+um(wXe);var{schedule:mm,cancel:UDe}=fI(queueMicrotask,!1);var YO=u(E(),1),JI=(0,YO.createContext)({});function NO(e,t,c,n,l){var o,d;let{visualElement:i}=(0,Xl.useContext)(Dr),r=(0,Xl.useContext)(WI),a=(0,Xl.useContext)(Ji),s=(0,Xl.useContext)(rm).reducedMotion,b=(0,Xl.useRef)(null);n=n||r.renderer,!b.current&&n&&(b.current=n(e,{visualState:t,parent:i,props:c,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let m=b.current,X=(0,Xl.useContext)(JI);m&&!m.projection&&l&&(m.type==="html"||m.type==="svg")&&kXe(b.current,c,l,X);let G=(0,Xl.useRef)(!1);(0,Xl.useInsertionEffect)(()=>{m&&G.current&&m.update(c,a)});let g=c[FI],x=(0,Xl.useRef)(!!g&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,g))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,g)));return II(()=>{m&&(G.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),mm.render(m.render),x.current&&m.animationState&&m.animationState.animateChanges())}),(0,Xl.useEffect)(()=>{m&&(!x.current&&m.animationState&&m.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var H;(H=window.MotionHandoffMarkAsComplete)===null||H===void 0||H.call(window,g)}),x.current=!1))}),m}function kXe(e,t,c,n){let{layoutId:l,layout:o,drag:d,dragConstraints:i,layoutScroll:r,layoutRoot:a}=t;e.projection=new c(e.latestValues,t["data-framer-portal-id"]?void 0:SO(e.parent)),e.projection.setOptions({layoutId:l,layout:o,alwaysMeasureLayout:!!d||i&&zi(i),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:n,layoutScroll:r,layoutRoot:a})}function SO(e){if(e)return e.options.allowProjection!==!1?e.projection:SO(e.parent)}function wO({preloadedFeatures:e,createVisualElement:t,useRender:c,useVisualState:n,Component:l}){var o,d;e&&IO(e);function i(a,s){let b,m={...(0,Xm.useContext)(rm),...a,layoutId:zXe(a)},{isStatic:X}=m,G=VO(a),g=n(a,X);if(!X&&am){TXe(m,e);let x=AXe(m);b=x.MeasureLayout,G.visualElement=NO(l,g,m,t,x.ProjectionNode)}return(0,YI.jsxs)(Dr.Provider,{value:G,children:[b&&G.visualElement?(0,YI.jsx)(b,{visualElement:G.visualElement,...m}):null,c(l,a,JO(g,G.visualElement,s),g,X,G.visualElement)]})}i.displayName=`motion.${typeof l=="string"?l:`create(${(d=(o=l.displayName)!==null&&o!==void 0?o:l.name)!==null&&d!==void 0?d:""})`}`;let r=(0,Xm.forwardRef)(i);return r[CO]=l,r}function zXe({layoutId:e}){let t=(0,Xm.useContext)(dm).id;return t&&e!==void 0?t+"-"+e:e}function TXe(e,t){let c=(0,Xm.useContext)(WI).strict}function AXe(e){let{drag:t,layout:c}=wi;if(!t&&!c)return{};let n={...t,...c};return{MeasureLayout:t?.isEnabled(e)||c?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}var kO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Gm(e){return typeof e!="string"||e.includes("-")?!1:!!(kO.indexOf(e)>-1||/[A-Z]/u.test(e))}var p2=u(E(),1);function zO(e){let t=[{},{}];return e?.values.forEach((c,n)=>{t[0][n]=c.get(),t[1][n]=c.getVelocity()}),t}function gm(e,t,c,n){if(typeof t=="function"){let[l,o]=zO(n);t=t(c!==void 0?c:e.custom,l,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[l,o]=zO(n);t=t(c!==void 0?c:e.custom,l,o)}return t}var cg=e=>Array.isArray(e);var TO=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),AO=e=>cg(e)?e[e.length-1]||0:e;var jt=e=>!!(e&&e.getVelocity);function xm(e){let t=jt(e)?e.get():e;return TO(t)?t.toValue():t}function OXe({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:c},n,l,o){let d={latestValues:QXe(n,l,o,e),renderState:t()};return c&&(d.onMount=i=>c({props:n,current:i,...d}),d.onUpdate=i=>c(i)),d}var NI=e=>(t,c)=>{let n=(0,p2.useContext)(Dr),l=(0,p2.useContext)(Ji),o=()=>OXe(e,t,n,l);return c?o():im(o)};function QXe(e,t,c,n){let l={},o=n(e,{});for(let m in o)l[m]=xm(o[m]);let{initial:d,animate:i}=e,r=Es(e),a=VI(e);t&&a&&!r&&e.inherit!==!1&&(d===void 0&&(d=t.initial),i===void 0&&(i=t.animate));let s=c?c.initial===!1:!1;s=s||d===!1;let b=s?i:d;if(b&&typeof b!="boolean"&&!_r(b)){let m=Array.isArray(b)?b:[b];for(let X=0;X<m.length;X++){let G=gm(e,m[X]);if(G){let{transitionEnd:g,transition:x,...H}=G;for(let p in H){let R=H[p];if(Array.isArray(R)){let I=s?R.length-1:0;R=R[I]}R!==null&&(l[p]=R)}for(let p in g)l[p]=g[p]}}}return l}var Nd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gl=new Set(Nd);var OO=e=>t=>typeof t=="string"&&t.startsWith(e),SI=OO("--"),UXe=OO("var(--"),pm=e=>UXe(e)?EXe.test(e.split("/*")[0].trim()):!1,EXe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var wI=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var an=(e,t,c)=>c>t?t:c<e?e:c;var Sd={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ti={...Sd,transform:e=>an(0,1,e)},ng={...Sd,default:1};var lg=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),wd=lg("deg"),Ln=lg("%"),Oe=lg("px"),QO=lg("vh"),UO=lg("vw"),R2={...Ln,parse:e=>Ln.parse(e)/100,transform:e=>Ln.transform(e*100)};var EO={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,backgroundPositionX:Oe,backgroundPositionY:Oe};var LO={rotate:wd,rotateX:wd,rotateY:wd,rotateZ:wd,scale:ng,scaleX:ng,scaleY:ng,scaleZ:ng,skew:wd,skewX:wd,skewY:wd,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:Ti,originX:R2,originY:R2,originZ:Oe};var H2={...Sd,transform:Math.round};var Rm={...EO,...LO,zIndex:H2,size:Oe,fillOpacity:Ti,strokeOpacity:Ti,numOctaves:H2};var LXe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},DXe=Nd.length;function DO(e,t,c){let n="",l=!0;for(let o=0;o<DXe;o++){let d=Nd[o],i=e[d];if(i===void 0)continue;let r=!0;if(typeof i=="number"?r=i===(d.startsWith("scale")?1:0):r=parseFloat(i)===0,!r||c){let a=wI(i,Rm[d]);if(!r){l=!1;let s=LXe[d]||d;n+=`${s}(${a}) `}c&&(t[d]=a)}}return n=n.trim(),c?n=c(t,l?"":n):l&&(n="none"),n}function Hm(e,t,c){let{style:n,vars:l,transformOrigin:o}=e,d=!1,i=!1;for(let r in t){let a=t[r];if(Gl.has(r)){d=!0;continue}else if(SI(r)){l[r]=a;continue}else{let s=wI(a,Rm[r]);r.startsWith("origin")?(i=!0,o[r]=s):n[r]=s}}if(t.transform||(d||c?n.transform=DO(t,e.transform,c):n.transform&&(n.transform="none")),i){let{originX:r="50%",originY:a="50%",originZ:s=0}=o;n.transformOrigin=`${r} ${a} ${s}`}}var _Xe={offset:"stroke-dashoffset",array:"stroke-dasharray"},jXe={offset:"strokeDashoffset",array:"strokeDasharray"};function _O(e,t,c=1,n=0,l=!0){e.pathLength=1;let o=l?_Xe:jXe;e[o.offset]=Oe.transform(-n);let d=Oe.transform(t),i=Oe.transform(c);e[o.array]=`${d} ${i}`}function jO(e,t,c){return typeof e=="string"?e:Oe.transform(t+c*e)}function MO(e,t,c){let n=jO(t,e.x,e.width),l=jO(c,e.y,e.height);return`${n} ${l}`}function Im(e,{attrX:t,attrY:c,attrScale:n,originX:l,originY:o,pathLength:d,pathSpacing:i=1,pathOffset:r=0,...a},s,b){if(Hm(e,a,b),s){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:m,style:X,dimensions:G}=e;m.transform&&(G&&(X.transform=m.transform),delete m.transform),G&&(l!==void 0||o!==void 0||X.transform)&&(X.transformOrigin=MO(G,l!==void 0?l:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),c!==void 0&&(m.y=c),n!==void 0&&(m.scale=n),d!==void 0&&_O(m,d,i,r,!1)}var Zm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});var kI=()=>({...Zm(),attrs:{}});var fm=e=>typeof e=="string"&&e.toLowerCase()==="svg";function zI(e,{style:t,vars:c},n,l){Object.assign(e.style,t,l&&l.getProjectionStyles(n));for(let o in c)e.style.setProperty(o,c[o])}var TI=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function AI(e,t,c,n){zI(e,t,void 0,n);for(let l in t.attrs)e.setAttribute(TI.has(l)?l:um(l),t.attrs[l])}var ym={};function PO(e){Object.assign(ym,e)}function OI(e,{layout:t,layoutId:c}){return Gl.has(e)||e.startsWith("origin")||(t||c!==void 0)&&(!!ym[e]||e==="opacity")}function Wm(e,t,c){var n;let{style:l}=e,o={};for(let d in l)(jt(l[d])||t.style&&jt(t.style[d])||OI(d,e)||((n=c?.getValue(d))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(o[d]=l[d]);return o}function QI(e,t,c){let n=Wm(e,t,c);for(let l in e)if(jt(e[l])||jt(t[l])){let o=Nd.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;n[o]=e[l]}return n}function MXe(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}var KO=["x","y","width","height","cx","cy","r"],qO={useVisualState:NI({scrapeMotionValuesFromProps:QI,createRenderState:kI,onUpdate:({props:e,prevProps:t,current:c,renderState:n,latestValues:l})=>{if(!c)return;let o=!!e.drag;if(!o){for(let i in l)if(Gl.has(i)){o=!0;break}}if(!o)return;let d=!t;if(t)for(let i=0;i<KO.length;i++){let r=KO[i];e[r]!==t[r]&&(d=!0)}d&&dt.read(()=>{MXe(c,n),dt.render(()=>{Im(n,l,fm(c.tagName),e.transformTemplate),AI(c,n)})})}})};var $O={useVisualState:NI({scrapeMotionValuesFromProps:Wm,createRenderState:Zm})};var hm=u(E(),1);var eQ=u(E(),1);function I2(e,t,c){for(let n in t)!jt(t[n])&&!OI(n,c)&&(e[n]=t[n])}function PXe({transformTemplate:e},t){return(0,eQ.useMemo)(()=>{let c=Zm();return Hm(c,t,e),Object.assign({},c.vars,c.style)},[t])}function KXe(e,t){let c=e.style||{},n={};return I2(n,c,e),Object.assign(n,PXe(e,t)),n}function tQ(e,t){let c={},n=KXe(e,t);return e.drag&&e.dragListener!==!1&&(c.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(c.tabIndex=0),c.style=n,c}var cQ=u(E(),1);function nQ(e,t,c,n){let l=(0,cQ.useMemo)(()=>{let o=kI();return Im(o,t,fm(n),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};I2(o,e.style,e),l.style={...o,...l.style}}return l}function lQ(e=!1){return(c,n,l,{latestValues:o},d)=>{let r=(Gm(c)?nQ:tQ)(n,o,d,c),a=yO(n,typeof c=="string",e),s=c!==hm.Fragment?{...a,...r,ref:l}:{},{children:b}=n,m=(0,hm.useMemo)(()=>jt(b)?b.get():b,[b]);return(0,hm.createElement)(c,{...s,children:m})}}function oQ(e,t){return function(n,{forwardMotionProps:l}={forwardMotionProps:!1}){let d={...Gm(n)?qO:$O,preloadedFeatures:e,useRender:lQ(l),createVisualElement:t,Component:n};return wO(d)}}function Z2(e,t){if(!Array.isArray(t))return!1;let c=t.length;if(c!==e.length)return!1;for(let n=0;n<c;n++)if(t[n]!==e[n])return!1;return!0}function jr(e,t,c){let n=e.getProps();return gm(n,t,c!==void 0?c:n.custom,e)}var f2=Us(()=>window.ScrollTimeline!==void 0);var og=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,c){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=c}attachTimeline(t,c){let n=this.animations.map(l=>{if(f2()&&l.attachTimeline)return l.attachTimeline(t);if(typeof c=="function")return c(l)});return()=>{n.forEach((l,o)=>{l&&l(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let c=0;c<this.animations.length;c++)t=Math.max(t,this.animations[c].duration);return t}runAll(t){this.animations.forEach(c=>c[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var dg=class extends og{then(t,c){return Promise.all(this.animations).then(t).catch(c)}};function Mr(e,t){return e?e[t]||e.default||e:void 0}function Bm(e){let t=0,c=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=c,n=e.next(t);return t>=2e4?1/0:t}function Pr(e){return typeof e=="function"}function ig(e,t){e.timeline=t,e.onfinish=null}var vm=e=>Array.isArray(e)&&typeof e[0]=="number";var W2={linearEasing:void 0};function dQ(e,t){let c=Us(e);return()=>{var n;return(n=W2[t])!==null&&n!==void 0?n:c()}}var Kr=dQ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var rg=(e,t,c=10)=>{let n="",l=Math.max(Math.round(t/c),2);for(let o=0;o<l;o++)n+=e(Nl(0,l-1,o))+", ";return`linear(${n.substring(0,n.length-2)})`};function EI(e){return!!(typeof e=="function"&&Kr()||!e||typeof e=="string"&&(e in UI||Kr())||vm(e)||Array.isArray(e)&&e.every(EI))}var Vm=([e,t,c,n])=>`cubic-bezier(${e}, ${t}, ${c}, ${n})`,UI={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vm([0,.65,.55,1]),circOut:Vm([.55,0,1,.45]),backIn:Vm([.31,.01,.66,-.59]),backOut:Vm([.33,1.53,.69,.99])};function Cm(e,t){if(e)return typeof e=="function"&&Kr()?rg(e,t):vm(e)?Vm(e):Array.isArray(e)?e.map(c=>Cm(c,t)||UI.easeOut):UI[e]}var wl={x:!1,y:!1};function Fm(){return wl.x||wl.y}function h2(e,t,c){var n;if(e instanceof Element)return[e];if(typeof e=="string"){let l=document;t&&(l=t.current);let o=(n=c?.[e])!==null&&n!==void 0?n:l.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function LI(e,t){let c=h2(e),n=new AbortController,l={passive:!0,...t,signal:n.signal};return[c,l,()=>n.abort()]}function iQ(e){return t=>{t.pointerType==="touch"||Fm()||e(t)}}function B2(e,t,c={}){let[n,l,o]=LI(e,c),d=iQ(i=>{let{target:r}=i,a=t(i);if(typeof a!="function"||!r)return;let s=iQ(b=>{a(b),r.removeEventListener("pointerleave",s)});r.addEventListener("pointerleave",s,l)});return n.forEach(i=>{i.addEventListener("pointerenter",d,l)}),o}var DI=(e,t)=>t?e===t?!0:DI(e,t.parentElement):!1;var Ls=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var qXe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function rQ(e){return qXe.has(e.tagName)||e.tabIndex!==-1}var Ds=new WeakSet;function aQ(e){return t=>{t.key==="Enter"&&e(t)}}function v2(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var sQ=(e,t)=>{let c=e.currentTarget;if(!c)return;let n=aQ(()=>{if(Ds.has(c))return;v2(c,"down");let l=aQ(()=>{v2(c,"up")}),o=()=>v2(c,"cancel");c.addEventListener("keyup",l,t),c.addEventListener("blur",o,t)});c.addEventListener("keydown",n,t),c.addEventListener("blur",()=>c.removeEventListener("keydown",n),t)};function bQ(e){return Ls(e)&&!Fm()}function V2(e,t,c={}){let[n,l,o]=LI(e,c),d=i=>{let r=i.currentTarget;if(!bQ(i)||Ds.has(r))return;Ds.add(r);let a=t(i),s=(X,G)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",m),!(!bQ(X)||!Ds.has(r))&&(Ds.delete(r),typeof a=="function"&&a(X,{success:G}))},b=X=>{s(X,c.useGlobalTarget||DI(r,X.target))},m=X=>{s(X,!1)};window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",m,l)};return n.forEach(i=>{!rQ(i)&&i.getAttribute("tabindex")===null&&(i.tabIndex=0),(c.useGlobalTarget?window:i).addEventListener("pointerdown",d,l),i.addEventListener("focus",a=>sQ(a,l),l)}),o}function C2(e){return e==="x"||e==="y"?wl[e]?null:(wl[e]=!0,()=>{wl[e]=!1}):wl.x||wl.y?null:(wl.x=wl.y=!0,()=>{wl.x=wl.y=!1})}var _I=new Set(["width","height","top","left","right","bottom",...Nd]);var jI;function eGe(){jI=void 0}var vn={now:()=>(jI===void 0&&vn.set(Zc.isProcessing||bm.useManualTiming?Zc.timestamp:performance.now()),jI),set:e=>{jI=e,queueMicrotask(eGe)}};function Jm(e,t){e.indexOf(t)===-1&&e.push(t)}function Ym(e,t){let c=e.indexOf(t);c>-1&&e.splice(c,1)}var qr=class{constructor(){this.subscriptions=[]}add(t){return Jm(this.subscriptions,t),()=>Ym(this.subscriptions,t)}notify(t,c,n){let l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](t,c,n);else for(let o=0;o<l;o++){let d=this.subscriptions[o];d&&d(t,c,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function MI(e,t){return t?e*(1e3/t):0}var mQ=30,tGe=e=>!isNaN(parseFloat(e)),XQ={current:void 0},F2=class{constructor(t,c={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,l=!0)=>{let o=vn.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),l&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=c.owner}setCurrent(t){this.current=t,this.updatedAt=vn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=tGe(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,c){this.events[t]||(this.events[t]=new qr);let n=this.events[t].add(c);return t==="change"?()=>{n(),dt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,c){this.passiveEffect=t,this.stopPassiveEffect=c}set(t,c=!0){!c||!this.passiveEffect?this.updateAndNotify(t,c):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,c,n){this.set(c),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,c=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,c&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return XQ.current&&XQ.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=vn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>mQ)return 0;let c=Math.min(this.updatedAt-this.prevUpdatedAt,mQ);return MI(parseFloat(this.current)-parseFloat(this.prevFrameValue),c)}start(t){return this.stop(),new Promise(c=>{this.hasAnimated=!0,this.animation=t(c),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ai(e,t){return new F2(e,t)}function cGe(e,t,c){e.hasValue(t)?e.getValue(t).set(c):e.addValue(t,Ai(c))}function GQ(e,t){let c=jr(e,t),{transitionEnd:n={},transition:l={},...o}=c||{};o={...o,...n};for(let d in o){let i=AO(o[d]);cGe(e,d,i)}}function gQ(e){return!!(jt(e)&&e.add)}function ag(e,t){let c=e.getValue("willChange");if(gQ(c))return c.add(t)}function PI(e){return e.props[FI]}var KI={current:!1};var xQ=(e,t,c)=>(((1-3*c+3*t)*e+(3*c-6*t))*e+3*t)*e,nGe=1e-7,lGe=12;function oGe(e,t,c,n,l){let o,d,i=0;do d=t+(c-t)/2,o=xQ(d,n,l)-e,o>0?c=d:t=d;while(Math.abs(o)>nGe&&++i<lGe);return d}function Lo(e,t,c,n){if(e===t&&c===n)return Qt;let l=o=>oGe(o,0,1,e,c);return o=>o===0||o===1?o:xQ(l(o),t,n)}var qI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var $I=e=>t=>1-e(1-t);var J2=Lo(.33,1.53,.69,.99),sg=$I(J2),eZ=qI(sg);var tZ=e=>(e*=2)<1?.5*sg(e):.5*(2-Math.pow(2,-10*(e-1)));var cZ=e=>1-Math.sin(Math.acos(e)),nZ=$I(cZ),lZ=qI(cZ);var oZ=e=>/^0[^.\s]+$/u.test(e);function pQ(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||oZ(e):!0}var $r=e=>Math.round(e*1e5)/1e5;var Nm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function RQ(e){return e==null}var HQ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Sm=(e,t)=>c=>!!(typeof c=="string"&&HQ.test(c)&&c.startsWith(e)||t&&!RQ(c)&&Object.prototype.hasOwnProperty.call(c,t)),dZ=(e,t,c)=>n=>{if(typeof n!="string")return n;let[l,o,d,i]=n.match(Nm);return{[e]:parseFloat(l),[t]:parseFloat(o),[c]:parseFloat(d),alpha:i!==void 0?parseFloat(i):1}};var dGe=e=>an(0,255,e),Y2={...Sd,transform:e=>Math.round(dGe(e))},kd={test:Sm("rgb","red"),parse:dZ("red","green","blue"),transform:({red:e,green:t,blue:c,alpha:n=1})=>"rgba("+Y2.transform(e)+", "+Y2.transform(t)+", "+Y2.transform(c)+", "+$r(Ti.transform(n))+")"};function iGe(e){let t="",c="",n="",l="";return e.length>5?(t=e.substring(1,3),c=e.substring(3,5),n=e.substring(5,7),l=e.substring(7,9)):(t=e.substring(1,2),c=e.substring(2,3),n=e.substring(3,4),l=e.substring(4,5),t+=t,c+=c,n+=n,l+=l),{red:parseInt(t,16),green:parseInt(c,16),blue:parseInt(n,16),alpha:l?parseInt(l,16)/255:1}}var bg={test:Sm("#"),parse:iGe,transform:kd.transform};var ea={test:Sm("hsl","hue"),parse:dZ("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:c,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ln.transform($r(t))+", "+Ln.transform($r(c))+", "+$r(Ti.transform(n))+")"};var Vc={test:e=>kd.test(e)||bg.test(e)||ea.test(e),parse:e=>kd.test(e)?kd.parse(e):ea.test(e)?ea.parse(e):bg.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kd.transform(e):ea.transform(e)};var IQ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function rGe(e){var t,c;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Nm))===null||t===void 0?void 0:t.length)||0)+(((c=e.match(IQ))===null||c===void 0?void 0:c.length)||0)>0}var fQ="number",yQ="color",aGe="var",sGe="var(",ZQ="${}",bGe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _s(e){let t=e.toString(),c=[],n={color:[],number:[],var:[]},l=[],o=0,i=t.replace(bGe,r=>(Vc.test(r)?(n.color.push(o),l.push(yQ),c.push(Vc.parse(r))):r.startsWith(sGe)?(n.var.push(o),l.push(aGe),c.push(r)):(n.number.push(o),l.push(fQ),c.push(parseFloat(r))),++o,ZQ)).split(ZQ);return{values:c,split:i,indexes:n,types:l}}function WQ(e){return _s(e).values}function hQ(e){let{split:t,types:c}=_s(e),n=t.length;return l=>{let o="";for(let d=0;d<n;d++)if(o+=t[d],l[d]!==void 0){let i=c[d];i===fQ?o+=$r(l[d]):i===yQ?o+=Vc.transform(l[d]):o+=l[d]}return o}}var uGe=e=>typeof e=="number"?0:e;function mGe(e){let t=WQ(e);return hQ(e)(t.map(uGe))}var Dn={test:rGe,parse:WQ,createTransformer:hQ,getAnimatableNone:mGe};var XGe=new Set(["brightness","contrast","saturate","opacity"]);function GGe(e){let[t,c]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=c.match(Nm)||[];if(!n)return e;let l=c.replace(n,""),o=XGe.has(t)?1:0;return n!==c&&(o*=100),t+"("+o+l+")"}var gGe=/\b([a-z-]*)\(.*?\)/gu,ug={...Dn,getAnimatableNone:e=>{let t=e.match(gGe);return t?t.map(GGe).join(" "):e}};var xGe={...Rm,color:Vc,backgroundColor:Vc,outlineColor:Vc,fill:Vc,stroke:Vc,borderColor:Vc,borderTopColor:Vc,borderRightColor:Vc,borderBottomColor:Vc,borderLeftColor:Vc,filter:ug,WebkitFilter:ug},wm=e=>xGe[e];function iZ(e,t){let c=wm(e);return c!==ug&&(c=Dn),c.getAnimatableNone?c.getAnimatableNone(t):void 0}var pGe=new Set(["auto","none","0"]);function BQ(e,t,c){let n=0,l;for(;n<e.length&&!l;){let o=e[n];typeof o=="string"&&!pGe.has(o)&&_s(o).values.length&&(l=e[n]),n++}if(l&&c)for(let o of t)e[o]=iZ(c,l)}var N2=e=>e===Sd||e===Oe,vQ=(e,t)=>parseFloat(e.split(", ")[t]),VQ=(e,t)=>(c,{transform:n})=>{if(n==="none"||!n)return 0;let l=n.match(/^matrix3d\((.+)\)$/u);if(l)return vQ(l[1],t);{let o=n.match(/^matrix\((.+)\)$/u);return o?vQ(o[1],e):0}},RGe=new Set(["x","y","z"]),HGe=Nd.filter(e=>!RGe.has(e));function CQ(e){let t=[];return HGe.forEach(c=>{let n=e.getValue(c);n!==void 0&&(t.push([c,n.get()]),n.set(c.startsWith("scale")?1:0))}),t}var js={width:({x:e},{paddingLeft:t="0",paddingRight:c="0"})=>e.max-e.min-parseFloat(t)-parseFloat(c),height:({y:e},{paddingTop:t="0",paddingBottom:c="0"})=>e.max-e.min-parseFloat(t)-parseFloat(c),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:VQ(4,13),y:VQ(5,14)};js.translateX=js.x;js.translateY=js.y;var Ms=new Set,S2=!1,w2=!1;function FQ(){if(w2){let e=Array.from(Ms).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),c=new Map;t.forEach(n=>{let l=CQ(n);l.length&&(c.set(n,l),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let l=c.get(n);l&&l.forEach(([o,d])=>{var i;(i=n.getValue(o))===null||i===void 0||i.set(d)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}w2=!1,S2=!1,Ms.forEach(e=>e.complete()),Ms.clear()}function JQ(){Ms.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(w2=!0)})}function YQ(){JQ(),FQ()}var ta=class{constructor(t,c,n,l,o,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=c,this.name=n,this.motionValue=l,this.element=o,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ms.add(this),S2||(S2=!0,dt.read(JQ),dt.resolveKeyframes(FQ))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:c,element:n,motionValue:l}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){let d=l?.get(),i=t[t.length-1];if(d!==void 0)t[0]=d;else if(n&&c){let r=n.readValue(c,i);r!=null&&(t[0]=r)}t[0]===void 0&&(t[0]=i),l&&d===void 0&&l.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ms.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ms.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var rZ=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var IGe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ZGe(e){let t=IGe.exec(e);if(!t)return[,];let[,c,n,l]=t;return[`--${c??n}`,l]}var fGe=4;function k2(e,t,c=1){Eo(c<=fGe,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,l]=ZGe(e);if(!n)return;let o=window.getComputedStyle(t).getPropertyValue(n);if(o){let d=o.trim();return rZ(d)?parseFloat(d):d}return pm(l)?k2(l,t,c+1):l}var aZ=e=>t=>t.test(e);var NQ={test:e=>e==="auto",parse:e=>e};var z2=[Sd,Oe,Ln,wd,UO,QO,NQ],T2=e=>z2.find(aZ(e));var km=class extends ta{constructor(t,c,n,l,o){super(t,c,n,l,o,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:c,name:n}=this;if(!c||!c.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let a=t[r];if(typeof a=="string"&&(a=a.trim(),pm(a))){let s=k2(a,c.current);s!==void 0&&(t[r]=s),r===t.length-1&&(this.finalKeyframe=a)}}if(this.resolveNoneKeyframes(),!_I.has(n)||t.length!==2)return;let[l,o]=t,d=T2(l),i=T2(o);if(d!==i)if(N2(d)&&N2(i))for(let r=0;r<t.length;r++){let a=t[r];typeof a=="string"&&(t[r]=parseFloat(a))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:c}=this,n=[];for(let l=0;l<t.length;l++)pQ(t[l])&&n.push(l);n.length&&BQ(t,n,c)}measureInitialState(){let{element:t,unresolvedKeyframes:c,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=js[n](t.measureViewportBox(),window.getComputedStyle(t.current)),c[0]=this.measuredOrigin;let l=c[c.length-1];l!==void 0&&t.getValue(n,l).jump(l,!1)}measureEndState(){var t;let{element:c,name:n,unresolvedKeyframes:l}=this;if(!c||!c.current)return;let o=c.getValue(n);o&&o.jump(this.measuredOrigin,!1);let d=l.length-1,i=l[d];l[d]=js[n](c.measureViewportBox(),window.getComputedStyle(c.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([r,a])=>{c.getValue(r).set(a)}),this.resolveNoneKeyframes()}};var A2=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dn.test(e)||e==="0")&&!e.startsWith("url("));function yGe(e){let t=e[0];if(e.length===1)return!0;for(let c=0;c<e.length;c++)if(e[c]!==t)return!0}function SQ(e,t,c,n){let l=e[0];if(l===null)return!1;if(t==="display"||t==="visibility")return!0;let o=e[e.length-1],d=A2(l,t),i=A2(o,t);return Si(d===i,`You are trying to animate ${t} from "${l}" to "${o}". ${l} is not an animatable value - to enable this animation set ${l} to a value animatable to ${o} via the \`style\` property.`),!d||!i?!1:yGe(e)||(c==="spring"||Pr(c))&&n}var WGe=e=>e!==null;function ca(e,{repeat:t,repeatType:c="loop"},n){let l=e.filter(WGe),o=t&&c!=="loop"&&t%2===1?0:l.length-1;return!o||n===void 0?l[o]:n}var hGe=40,zm=class{constructor({autoplay:t=!0,delay:c=0,type:n="keyframes",repeat:l=0,repeatDelay:o=0,repeatType:d="loop",...i}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=vn.now(),this.options={autoplay:t,delay:c,type:n,repeat:l,repeatDelay:o,repeatType:d,...i},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>hGe?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&YQ(),this._resolved}onKeyframesResolved(t,c){this.resolvedAt=vn.now(),this.hasAttemptedResolve=!0;let{name:n,type:l,velocity:o,delay:d,onComplete:i,onUpdate:r,isGenerator:a}=this.options;if(!a&&!SQ(t,n,l,o))if(KI.current||!d){r&&r(ca(t,this.options,c)),i&&i(),this.resolveFinishedPromise();return}else this.options.duration=0;let s=this.initPlayback(t,c);s!==!1&&(this._resolved={keyframes:t,finalKeyframe:c,...s},this.onPostResolved())}onPostResolved(){}then(t,c){return this.currentFinishedPromise.then(t,c)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};var gt=(e,t,c)=>e+(t-e)*c;function O2(e,t,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?e+(t-e)*6*c:c<1/2?t:c<2/3?e+(t-e)*(2/3-c)*6:e}function wQ({hue:e,saturation:t,lightness:c,alpha:n}){e/=360,t/=100,c/=100;let l=0,o=0,d=0;if(!t)l=o=d=c;else{let i=c<.5?c*(1+t):c+t-c*t,r=2*c-i;l=O2(r,i,e+1/3),o=O2(r,i,e),d=O2(r,i,e-1/3)}return{red:Math.round(l*255),green:Math.round(o*255),blue:Math.round(d*255),alpha:n}}function Tm(e,t){return c=>c>0?t:e}var Q2=(e,t,c)=>{let n=e*e,l=c*(t*t-n)+n;return l<0?0:Math.sqrt(l)},BGe=[bg,kd,ea],vGe=e=>BGe.find(t=>t.test(e));function kQ(e){let t=vGe(e);if(Si(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let c=t.parse(e);return t===ea&&(c=wQ(c)),c}var U2=(e,t)=>{let c=kQ(e),n=kQ(t);if(!c||!n)return Tm(e,t);let l={...c};return o=>(l.red=Q2(c.red,n.red,o),l.green=Q2(c.green,n.green,o),l.blue=Q2(c.blue,n.blue,o),l.alpha=gt(c.alpha,n.alpha,o),kd.transform(l))};var VGe=(e,t)=>c=>t(e(c)),zd=(...e)=>e.reduce(VGe);var sZ=new Set(["none","hidden"]);function zQ(e,t){return sZ.has(e)?c=>c<=0?e:t:c=>c>=1?t:e}function CGe(e,t){return c=>gt(e,t,c)}function bZ(e){return typeof e=="number"?CGe:typeof e=="string"?pm(e)?Tm:Vc.test(e)?U2:YGe:Array.isArray(e)?TQ:typeof e=="object"?Vc.test(e)?U2:FGe:Tm}function TQ(e,t){let c=[...e],n=c.length,l=e.map((o,d)=>bZ(o)(o,t[d]));return o=>{for(let d=0;d<n;d++)c[d]=l[d](o);return c}}function FGe(e,t){let c={...e,...t},n={};for(let l in c)e[l]!==void 0&&t[l]!==void 0&&(n[l]=bZ(e[l])(e[l],t[l]));return l=>{for(let o in n)c[o]=n[o](l);return c}}function JGe(e,t){var c;let n=[],l={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let d=t.types[o],i=e.indexes[d][l[d]],r=(c=e.values[i])!==null&&c!==void 0?c:0;n[o]=r,l[d]++}return n}var YGe=(e,t)=>{let c=Dn.createTransformer(t),n=_s(e),l=_s(t);return n.indexes.var.length===l.indexes.var.length&&n.indexes.color.length===l.indexes.color.length&&n.indexes.number.length>=l.indexes.number.length?sZ.has(e)&&!l.values.length||sZ.has(t)&&!n.values.length?zQ(e,t):zd(TQ(JGe(n,l),l.values),c):(Si(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Tm(e,t))};function uZ(e,t,c){return typeof e=="number"&&typeof t=="number"&&typeof c=="number"?gt(e,t,c):bZ(e)(e,t)}var NGe=5;function mZ(e,t,c){let n=Math.max(t-NGe,0);return MI(c-e(n),t-n)}var qt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var E2=.001;function AQ({duration:e=qt.duration,bounce:t=qt.bounce,velocity:c=qt.velocity,mass:n=qt.mass}){let l,o;Si(e<=Ic(qt.maxDuration),"Spring duration must be 10 seconds or less");let d=1-t;d=an(qt.minDamping,qt.maxDamping,d),e=an(qt.minDuration,qt.maxDuration,rn(e)),d<1?(l=a=>{let s=a*d,b=s*e,m=s-c,X=XZ(a,d),G=Math.exp(-b);return E2-m/X*G},o=a=>{let b=a*d*e,m=b*c+c,X=Math.pow(d,2)*Math.pow(a,2)*e,G=Math.exp(-b),g=XZ(Math.pow(a,2),d);return(-l(a)+E2>0?-1:1)*((m-X)*G)/g}):(l=a=>{let s=Math.exp(-a*e),b=(a-c)*e+1;return-E2+s*b},o=a=>{let s=Math.exp(-a*e),b=(c-a)*(e*e);return s*b});let i=5/e,r=wGe(l,o,i);if(e=Ic(e),isNaN(r))return{stiffness:qt.stiffness,damping:qt.damping,duration:e};{let a=Math.pow(r,2)*n;return{stiffness:a,damping:d*2*Math.sqrt(n*a),duration:e}}}var SGe=12;function wGe(e,t,c){let n=c;for(let l=1;l<SGe;l++)n=n-e(n)/t(n);return n}function XZ(e,t){return e*Math.sqrt(1-t*t)}var kGe=["duration","bounce"],zGe=["stiffness","damping","mass"];function OQ(e,t){return t.some(c=>e[c]!==void 0)}function TGe(e){let t={velocity:qt.velocity,stiffness:qt.stiffness,damping:qt.damping,mass:qt.mass,isResolvedFromDuration:!1,...e};if(!OQ(e,zGe)&&OQ(e,kGe))if(e.visualDuration){let c=e.visualDuration,n=2*Math.PI/(c*1.2),l=n*n,o=2*an(.05,1,1-(e.bounce||0))*Math.sqrt(l);t={...t,mass:qt.mass,stiffness:l,damping:o}}else{let c=AQ(e);t={...t,...c,mass:qt.mass},t.isResolvedFromDuration=!0}return t}function GZ(e=qt.visualDuration,t=qt.bounce){let c=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:l}=c,o=c.keyframes[0],d=c.keyframes[c.keyframes.length-1],i={done:!1,value:o},{stiffness:r,damping:a,mass:s,duration:b,velocity:m,isResolvedFromDuration:X}=TGe({...c,velocity:-rn(c.velocity||0)}),G=m||0,g=a/(2*Math.sqrt(r*s)),x=d-o,H=rn(Math.sqrt(r/s)),p=Math.abs(x)<5;n||(n=p?qt.restSpeed.granular:qt.restSpeed.default),l||(l=p?qt.restDelta.granular:qt.restDelta.default);let R;if(g<1){let f=XZ(H,g);R=y=>{let Z=Math.exp(-g*H*y);return d-Z*((G+g*H*x)/f*Math.sin(f*y)+x*Math.cos(f*y))}}else if(g===1)R=f=>d-Math.exp(-H*f)*(x+(G+H*x)*f);else{let f=H*Math.sqrt(g*g-1);R=y=>{let Z=Math.exp(-g*H*y),W=Math.min(f*y,300);return d-Z*((G+g*H*x)*Math.sinh(W)+f*x*Math.cosh(W))/f}}let I={calculatedDuration:X&&b||null,next:f=>{let y=R(f);if(X)i.done=f>=b;else{let Z=0;g<1&&(Z=f===0?Ic(G):mZ(R,f,y));let W=Math.abs(Z)<=n,v=Math.abs(d-y)<=l;i.done=W&&v}return i.value=i.done?d:y,i},toString:()=>{let f=Math.min(Bm(I),2e4),y=rg(Z=>I.next(f*Z).value,f,30);return f+"ms "+y}};return I}function L2({keyframes:e,velocity:t=0,power:c=.8,timeConstant:n=325,bounceDamping:l=10,bounceStiffness:o=500,modifyTarget:d,min:i,max:r,restDelta:a=.5,restSpeed:s}){let b=e[0],m={done:!1,value:b},X=W=>i!==void 0&&W<i||r!==void 0&&W>r,G=W=>i===void 0?r:r===void 0||Math.abs(i-W)<Math.abs(r-W)?i:r,g=c*t,x=b+g,H=d===void 0?x:d(x);H!==x&&(g=H-b);let p=W=>-g*Math.exp(-W/n),R=W=>H+p(W),I=W=>{let v=p(W),h=R(W);m.done=Math.abs(v)<=a,m.value=m.done?H:h},f,y,Z=W=>{X(m.value)&&(f=W,y=GZ({keyframes:[m.value,G(m.value)],velocity:mZ(R,W,m.value),damping:l,stiffness:o,restDelta:a,restSpeed:s}))};return Z(0),{calculatedDuration:null,next:W=>{let v=!1;return!y&&f===void 0&&(v=!0,I(W),Z(W)),f!==void 0&&W>=f?y.next(W-f):(!v&&I(W),m)}}}var QQ=Lo(.42,0,1,1),UQ=Lo(0,0,.58,1),gZ=Lo(.42,0,.58,1);var EQ=e=>Array.isArray(e)&&typeof e[0]!="number";var LQ={linear:Qt,easeIn:QQ,easeInOut:gZ,easeOut:UQ,circIn:cZ,circInOut:lZ,circOut:nZ,backIn:sg,backInOut:eZ,backOut:J2,anticipate:tZ},D2=e=>{if(vm(e)){Eo(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,c,n,l]=e;return Lo(t,c,n,l)}else if(typeof e=="string")return Eo(LQ[e]!==void 0,`Invalid easing type '${e}'`),LQ[e];return e};function AGe(e,t,c){let n=[],l=c||uZ,o=e.length-1;for(let d=0;d<o;d++){let i=l(e[d],e[d+1]);if(t){let r=Array.isArray(t)?t[d]||Qt:t;i=zd(r,i)}n.push(i)}return n}function DQ(e,t,{clamp:c=!0,ease:n,mixer:l}={}){let o=e.length;if(Eo(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];let d=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let i=AGe(t,n,l),r=i.length,a=s=>{if(d&&s<e[0])return t[0];let b=0;if(r>1)for(;b<e.length-2&&!(s<e[b+1]);b++);let m=Nl(e[b],e[b+1],s);return i[b](m)};return c?s=>a(an(e[0],e[o-1],s)):a}function _Q(e,t){let c=e[e.length-1];for(let n=1;n<=t;n++){let l=Nl(0,t,n);e.push(gt(c,1,l))}}function jQ(e){let t=[0];return _Q(t,e.length-1),t}function MQ(e,t){return e.map(c=>c*t)}function OGe(e,t){return e.map(()=>t||gZ).splice(0,e.length-1)}function mg({duration:e=300,keyframes:t,times:c,ease:n="easeInOut"}){let l=EQ(n)?n.map(D2):D2(n),o={done:!1,value:t[0]},d=MQ(c&&c.length===t.length?c:jQ(t),e),i=DQ(d,t,{ease:Array.isArray(l)?l:OGe(t,l)});return{calculatedDuration:e,next:r=>(o.value=i(r),o.done=r>=e,o)}}var PQ=e=>{let t=({timestamp:c})=>e(c);return{start:()=>dt.update(t,!0),stop:()=>Sl(t),now:()=>Zc.isProcessing?Zc.timestamp:vn.now()}};var QGe={decay:L2,inertia:L2,tween:mg,keyframes:mg,spring:GZ},UGe=e=>e/100,Ps=class extends zm{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:r}=this.options;r&&r()};let{name:c,motionValue:n,element:l,keyframes:o}=this.options,d=l?.KeyframeResolver||ta,i=(r,a)=>this.onKeyframesResolved(r,a);this.resolver=new d(o,i,c,n,l),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let{type:c="keyframes",repeat:n=0,repeatDelay:l=0,repeatType:o,velocity:d=0}=this.options,i=Pr(c)?c:QGe[c]||mg,r,a;i!==mg&&typeof t[0]!="number"&&(r=zd(UGe,uZ(t[0],t[1])),t=[0,100]);let s=i({...this.options,keyframes:t});o==="mirror"&&(a=i({...this.options,keyframes:[...t].reverse(),velocity:-d})),s.calculatedDuration===null&&(s.calculatedDuration=Bm(s));let{calculatedDuration:b}=s,m=b+l,X=m*(n+1)-l;return{generator:s,mirroredGenerator:a,mapPercentToKeyframes:r,calculatedDuration:b,resolvedDuration:m,totalDuration:X}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,c=!1){let{resolved:n}=this;if(!n){let{keyframes:W}=this.options;return{done:!0,value:W[W.length-1]}}let{finalKeyframe:l,generator:o,mirroredGenerator:d,mapPercentToKeyframes:i,keyframes:r,calculatedDuration:a,totalDuration:s,resolvedDuration:b}=n;if(this.startTime===null)return o.next(0);let{delay:m,repeat:X,repeatType:G,repeatDelay:g,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),c?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let H=this.currentTime-m*(this.speed>=0?1:-1),p=this.speed>=0?H<0:H>s;this.currentTime=Math.max(H,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let R=this.currentTime,I=o;if(X){let W=Math.min(this.currentTime,s)/b,v=Math.floor(W),h=W%1;!h&&W>=1&&(h=1),h===1&&v--,v=Math.min(v,X+1),v%2&&(G==="reverse"?(h=1-h,g&&(h-=g/b)):G==="mirror"&&(I=d)),R=an(0,1,h)*b}let f=p?{done:!1,value:r[0]}:I.next(R);i&&(f.value=i(f.value));let{done:y}=f;!p&&a!==null&&(y=this.speed>=0?this.currentTime>=s:this.currentTime<=0);let Z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&y);return Z&&l!==void 0&&(f.value=ca(r,this.options,l)),x&&x(f.value),Z&&this.finish(),f}get duration(){let{resolved:t}=this;return t?rn(t.calculatedDuration):0}get time(){return rn(this.currentTime)}set time(t){t=Ic(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let c=this.playbackSpeed!==t;this.playbackSpeed=t,c&&(this.time=rn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=PQ,onPlay:c,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),c&&c();let l=this.driver.now();this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=l):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};var KQ=new Set(["opacity","clipPath","filter","transform"]);function qQ(e,t,c,{delay:n=0,duration:l=300,repeat:o=0,repeatType:d="loop",ease:i="easeInOut",times:r}={}){let a={[t]:c};r&&(a.offset=r);let s=Cm(i,l);return Array.isArray(s)&&(a.easing=s),e.animate(a,{delay:n,duration:l,easing:Array.isArray(s)?"linear":s,fill:"both",iterations:o+1,direction:d==="reverse"?"alternate":"normal"})}var $Q=Us(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var xZ=10,EGe=2e4;function LGe(e){return Pr(e.type)||e.type==="spring"||!EI(e.ease)}function DGe(e,t){let c=new Ps({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},l=[],o=0;for(;!n.done&&o<EGe;)n=c.sample(o),l.push(n.value),o+=xZ;return{times:void 0,keyframes:l,duration:o-xZ,ease:"linear"}}var eU={anticipate:tZ,backInOut:eZ,circInOut:lZ};function _Ge(e){return e in eU}var Xg=class extends zm{constructor(t){super(t);let{name:c,motionValue:n,element:l,keyframes:o}=this.options;this.resolver=new km(o,(d,i)=>this.onKeyframesResolved(d,i),c,n,l),this.resolver.scheduleResolve()}initPlayback(t,c){let{duration:n=300,times:l,ease:o,type:d,motionValue:i,name:r,startTime:a}=this.options;if(!i.owner||!i.owner.current)return!1;if(typeof o=="string"&&Kr()&&_Ge(o)&&(o=eU[o]),LGe(this.options)){let{onComplete:b,onUpdate:m,motionValue:X,element:G,...g}=this.options,x=DGe(t,g);t=x.keyframes,t.length===1&&(t[1]=t[0]),n=x.duration,l=x.times,o=x.ease,d="keyframes"}let s=qQ(i.owner.current,r,t,{...this.options,duration:n,times:l,ease:o});return s.startTime=a??this.calcStartTime(),this.pendingTimeline?(ig(s,this.pendingTimeline),this.pendingTimeline=void 0):s.onfinish=()=>{let{onComplete:b}=this.options;i.set(ca(t,this.options,c)),b&&b(),this.cancel(),this.resolveFinishedPromise()},{animation:s,duration:n,times:l,type:d,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:c}=t;return rn(c)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:c}=t;return rn(c.currentTime||0)}set time(t){let{resolved:c}=this;if(!c)return;let{animation:n}=c;n.currentTime=Ic(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:c}=t;return c.playbackRate}set speed(t){let{resolved:c}=this;if(!c)return;let{animation:n}=c;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:c}=t;return c.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:c}=t;return c.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:c}=this;if(!c)return Qt;let{animation:n}=c;ig(n,t)}return Qt}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:c}=t;c.playState==="finished"&&this.updateFinishedPromise(),c.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:c}=t;c.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:c,keyframes:n,duration:l,type:o,ease:d,times:i}=t;if(c.playState==="idle"||c.playState==="finished")return;if(this.time){let{motionValue:a,onUpdate:s,onComplete:b,element:m,...X}=this.options,G=new Ps({...X,keyframes:n,duration:l,type:o,ease:d,times:i,isGenerator:!0}),g=Ic(this.time);a.setWithVelocity(G.sample(g-xZ).value,G.sample(g).value,xZ)}let{onStop:r}=this.options;r&&r(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:c,name:n,repeatDelay:l,repeatType:o,damping:d,type:i}=t;if(!c||!c.owner||!(c.owner.current instanceof HTMLElement))return!1;let{onUpdate:r,transformTemplate:a}=c.owner.getProps();return $Q()&&n&&KQ.has(n)&&!r&&!a&&!l&&o!=="mirror"&&d!==0&&i!=="inertia"}};var jGe={type:"spring",stiffness:500,damping:25,restSpeed:10},MGe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PGe={type:"keyframes",duration:.8},KGe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tU=(e,{keyframes:t})=>t.length>2?PGe:Gl.has(e)?e.startsWith("scale")?MGe(t[1]):jGe:KGe;function cU({when:e,delay:t,delayChildren:c,staggerChildren:n,staggerDirection:l,repeat:o,repeatType:d,repeatDelay:i,from:r,elapsed:a,...s}){return!!Object.keys(s).length}var Am=(e,t,c,n={},l,o)=>d=>{let i=Mr(n,e)||{},r=i.delay||n.delay||0,{elapsed:a=0}=n;a=a-Ic(r);let s={keyframes:Array.isArray(c)?c:[null,c],ease:"easeOut",velocity:t.getVelocity(),...i,delay:-a,onUpdate:m=>{t.set(m),i.onUpdate&&i.onUpdate(m)},onComplete:()=>{d(),i.onComplete&&i.onComplete()},name:e,motionValue:t,element:o?void 0:l};cU(i)||(s={...s,...tU(e,s)}),s.duration&&(s.duration=Ic(s.duration)),s.repeatDelay&&(s.repeatDelay=Ic(s.repeatDelay)),s.from!==void 0&&(s.keyframes[0]=s.from);let b=!1;if((s.type===!1||s.duration===0&&!s.repeatDelay)&&(s.duration=0,s.delay===0&&(b=!0)),(KI.current||bm.skipAnimations)&&(b=!0,s.duration=0,s.delay=0),b&&!o&&t.get()!==void 0){let m=ca(s.keyframes,i);if(m!==void 0)return dt.update(()=>{s.onUpdate(m),s.onComplete()}),new dg([])}return!o&&Xg.supports(s)?new Xg(s):new Ps(s)};function qGe({protectedKeys:e,needsAnimating:t},c){let n=e.hasOwnProperty(c)&&t[c]!==!0;return t[c]=!1,n}function pZ(e,t,{delay:c=0,transitionOverride:n,type:l}={}){var o;let{transition:d=e.getDefaultTransition(),transitionEnd:i,...r}=t;n&&(d=n);let a=[],s=l&&e.animationState&&e.animationState.getState()[l];for(let b in r){let m=e.getValue(b,(o=e.latestValues[b])!==null&&o!==void 0?o:null),X=r[b];if(X===void 0||s&&qGe(s,b))continue;let G={delay:c,...Mr(d||{},b)},g=!1;if(window.MotionHandoffAnimation){let H=PI(e);if(H){let p=window.MotionHandoffAnimation(H,b,dt);p!==null&&(G.startTime=p,g=!0)}}ag(e,b),m.start(Am(b,m,X,e.shouldReduceMotion&&_I.has(b)?{type:!1}:G,e,g));let x=m.animation;x&&a.push(x)}return i&&Promise.all(a).then(()=>{dt.update(()=>{i&&GQ(e,i)})}),a}function RZ(e,t,c={}){var n;let l=jr(e,t,c.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=l||{};c.transitionOverride&&(o=c.transitionOverride);let d=l?()=>Promise.all(pZ(e,l,c)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(a=0)=>{let{delayChildren:s=0,staggerChildren:b,staggerDirection:m}=o;return $Ge(e,t,s+a,b,m,c)}:()=>Promise.resolve(),{when:r}=o;if(r){let[a,s]=r==="beforeChildren"?[d,i]:[i,d];return a().then(()=>s())}else return Promise.all([d(),i(c.delay)])}function $Ge(e,t,c=0,n=0,l=1,o){let d=[],i=(e.variantChildren.size-1)*n,r=l===1?(a=0)=>a*n:(a=0)=>i-a*n;return Array.from(e.variantChildren).sort(ege).forEach((a,s)=>{a.notify("AnimationStart",t),d.push(RZ(a,t,{...o,delay:c+r(s)}).then(()=>a.notify("AnimationComplete",t)))}),Promise.all(d)}function ege(e,t){return e.sortNodePosition(t)}function nU(e,t,c={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let l=t.map(o=>RZ(e,o,c));n=Promise.all(l)}else if(typeof t=="string")n=RZ(e,t,c);else{let l=typeof t=="function"?jr(e,t,c.custom):t;n=Promise.all(pZ(e,l,c))}return n.then(()=>{e.notify("AnimationComplete",t)})}var tge=tg.length;function _2(e){if(!e)return;if(!e.isControllingVariants){let c=e.parent?_2(e.parent)||{}:{};return e.props.initial!==void 0&&(c.initial=e.props.initial),c}let t={};for(let c=0;c<tge;c++){let n=tg[c],l=e.props[n];(ki(l)||l===!1)&&(t[n]=l)}return t}var cge=[...vI].reverse(),nge=vI.length;function lge(e){return t=>Promise.all(t.map(({animation:c,options:n})=>nU(e,c,n)))}function oU(e){let t=lge(e),c=lU(),n=!0,l=r=>(a,s)=>{var b;let m=jr(e,s,r==="exit"?(b=e.presenceContext)===null||b===void 0?void 0:b.custom:void 0);if(m){let{transition:X,transitionEnd:G,...g}=m;a={...a,...g,...G}}return a};function o(r){t=r(e)}function d(r){let{props:a}=e,s=_2(e.parent)||{},b=[],m=new Set,X={},G=1/0;for(let x=0;x<nge;x++){let H=cge[x],p=c[H],R=a[H]!==void 0?a[H]:s[H],I=ki(R),f=H===r?p.isActive:null;f===!1&&(G=x);let y=R===s[H]&&R!==a[H]&&I;if(y&&n&&e.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...X},!p.isActive&&f===null||!R&&!p.prevProp||_r(R)||typeof R=="boolean")continue;let Z=oge(p.prevProp,R),W=Z||H===r&&p.isActive&&!y&&I||x>G&&I,v=!1,h=Array.isArray(R)?R:[R],C=h.reduce(l(H),{});f===!1&&(C={});let{prevResolvedValues:B={}}=p,V={...B,...C},S=k=>{W=!0,m.has(k)&&(v=!0,m.delete(k)),p.needsAnimating[k]=!0;let N=e.getValue(k);N&&(N.liveStyle=!1)};for(let k in V){let N=C[k],A=B[k];if(X.hasOwnProperty(k))continue;let Q=!1;cg(N)&&cg(A)?Q=!Z2(N,A):Q=N!==A,Q?N!=null?S(k):m.add(k):N!==void 0&&m.has(k)?S(k):p.protectedKeys[k]=!0}p.prevProp=R,p.prevResolvedValues=C,p.isActive&&(X={...X,...C}),n&&e.blockInitialAnimation&&(W=!1),W&&(!(y&&Z)||v)&&b.push(...h.map(k=>({animation:k,options:{type:H}})))}if(m.size){let x={};m.forEach(H=>{let p=e.getBaseTarget(H),R=e.getValue(H);R&&(R.liveStyle=!0),x[H]=p??null}),b.push({animation:x})}let g=!!b.length;return n&&(a.initial===!1||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,g?t(b):Promise.resolve()}function i(r,a){var s;if(c[r].isActive===a)return Promise.resolve();(s=e.variantChildren)===null||s===void 0||s.forEach(m=>{var X;return(X=m.animationState)===null||X===void 0?void 0:X.setActive(r,a)}),c[r].isActive=a;let b=d(r);for(let m in c)c[m].protectedKeys={};return b}return{animateChanges:d,setActive:i,setAnimateFunction:o,getState:()=>c,reset:()=>{c=lU(),n=!0}}}function oge(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Z2(t,e):!1}function Ks(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lU(){return{animate:Ks(!0),whileInView:Ks(),whileHover:Ks(),whileTap:Ks(),whileDrag:Ks(),whileFocus:Ks(),exit:Ks()}}var jc=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var HZ=class extends jc{constructor(t){super(t),t.animationState||(t.animationState=oU(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();_r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:c}=this.node.prevProps||{};t!==c&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};var dge=0,IZ=class extends jc{constructor(){super(...arguments),this.id=dge++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:c}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let l=this.node.animationState.setActive("exit",!t);c&&!t&&l.then(()=>c(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};var dU={animation:{Feature:HZ},exit:{Feature:IZ}};function Oi(e,t,c,n={passive:!0}){return e.addEventListener(t,c,n),()=>e.removeEventListener(t,c)}function Qi(e){return{point:{x:e.pageX,y:e.pageY}}}var iU=e=>t=>Ls(t)&&e(t,Qi(t));function na(e,t,c,n){return Oi(e,t,iU(c),n)}var rU=(e,t)=>Math.abs(e-t);function aU(e,t){let c=rU(e.x,t.x),n=rU(e.y,t.y);return Math.sqrt(c**2+n**2)}var Om=class{constructor(t,c,{transformPagePoint:n,contextWindow:l,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let b=M2(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,X=aU(b.offset,{x:0,y:0})>=3;if(!m&&!X)return;let{point:G}=b,{timestamp:g}=Zc;this.history.push({...G,timestamp:g});let{onStart:x,onMove:H}=this.handlers;m||(x&&x(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),H&&H(this.lastMoveEvent,b)},this.handlePointerMove=(b,m)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=j2(m,this.transformPagePoint),dt.update(this.updatePoint,!0)},this.handlePointerUp=(b,m)=>{this.end();let{onEnd:X,onSessionEnd:G,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let x=M2(b.type==="pointercancel"?this.lastMoveEventInfo:j2(m,this.transformPagePoint),this.history);this.startEvent&&X&&X(b,x),G&&G(b,x)},!Ls(t))return;this.dragSnapToOrigin=o,this.handlers=c,this.transformPagePoint=n,this.contextWindow=l||window;let d=Qi(t),i=j2(d,this.transformPagePoint),{point:r}=i,{timestamp:a}=Zc;this.history=[{...r,timestamp:a}];let{onSessionStart:s}=c;s&&s(t,M2(i,this.history)),this.removeListeners=zd(na(this.contextWindow,"pointermove",this.handlePointerMove),na(this.contextWindow,"pointerup",this.handlePointerUp),na(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Sl(this.updatePoint)}};function j2(e,t){return t?{point:t(e.point)}:e}function sU(e,t){return{x:e.x-t.x,y:e.y-t.y}}function M2({point:e},t){return{point:e,delta:sU(e,bU(t)),offset:sU(e,ige(t)),velocity:rge(t,.1)}}function ige(e){return e[0]}function bU(e){return e[e.length-1]}function rge(e,t){if(e.length<2)return{x:0,y:0};let c=e.length-1,n=null,l=bU(e);for(;c>=0&&(n=e[c],!(l.timestamp-n.timestamp>Ic(t)));)c--;if(!n)return{x:0,y:0};let o=rn(l.timestamp-n.timestamp);if(o===0)return{x:0,y:0};let d={x:(l.x-n.x)/o,y:(l.y-n.y)/o};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}var GU=1e-4,age=1-GU,sge=1+GU,gU=.01,bge=0-gU,uge=0+gU;function sn(e){return e.max-e.min}function xU(e,t,c){return Math.abs(e-t)<=c}function uU(e,t,c,n=.5){e.origin=n,e.originPoint=gt(t.min,t.max,e.origin),e.scale=sn(c)/sn(t),e.translate=gt(c.min,c.max,e.origin)-e.originPoint,(e.scale>=age&&e.scale<=sge||isNaN(e.scale))&&(e.scale=1),(e.translate>=bge&&e.translate<=uge||isNaN(e.translate))&&(e.translate=0)}function Qm(e,t,c,n){uU(e.x,t.x,c.x,n?n.originX:void 0),uU(e.y,t.y,c.y,n?n.originY:void 0)}function mU(e,t,c){e.min=c.min+t.min,e.max=e.min+sn(t)}function pU(e,t,c){mU(e.x,t.x,c.x),mU(e.y,t.y,c.y)}function XU(e,t,c){e.min=t.min-c.min,e.max=e.min+sn(t)}function Um(e,t,c){XU(e.x,t.x,c.x),XU(e.y,t.y,c.y)}function fU(e,{min:t,max:c},n){return t!==void 0&&e<t?e=n?gt(t,e,n.min):Math.max(e,t):c!==void 0&&e>c&&(e=n?gt(c,e,n.max):Math.min(e,c)),e}function RU(e,t,c){return{min:t!==void 0?e.min+t:void 0,max:c!==void 0?e.max+c-(e.max-e.min):void 0}}function yU(e,{top:t,left:c,bottom:n,right:l}){return{x:RU(e.x,c,l),y:RU(e.y,t,n)}}function HU(e,t){let c=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([c,n]=[n,c]),{min:c,max:n}}function WU(e,t){return{x:HU(e.x,t.x),y:HU(e.y,t.y)}}function hU(e,t){let c=.5,n=sn(e),l=sn(t);return l>n?c=Nl(t.min,t.max-n,e.min):n>l&&(c=Nl(e.min,e.max-l,t.min)),an(0,1,c)}function BU(e,t){let c={};return t.min!==void 0&&(c.min=t.min-e.min),t.max!==void 0&&(c.max=t.max-e.min),c}var ZZ=.35;function vU(e=ZZ){return e===!1?e=0:e===!0&&(e=ZZ),{x:IU(e,"left","right"),y:IU(e,"top","bottom")}}function IU(e,t,c){return{min:ZU(e,t),max:ZU(e,c)}}function ZU(e,t){return typeof e=="number"?e:e[t]||0}var VU=()=>({translate:0,scale:1,origin:0,originPoint:0}),qs=()=>({x:VU(),y:VU()}),CU=()=>({min:0,max:0}),$t=()=>({x:CU(),y:CU()});function gl(e){return[e("x"),e("y")]}function fZ({top:e,left:t,right:c,bottom:n}){return{x:{min:t,max:c},y:{min:e,max:n}}}function FU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function JU(e,t){if(!t)return e;let c=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:c.y,left:c.x,bottom:n.y,right:n.x}}function P2(e){return e===void 0||e===1}function yZ({scale:e,scaleX:t,scaleY:c}){return!P2(e)||!P2(t)||!P2(c)}function Ui(e){return yZ(e)||K2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function K2(e){return YU(e.x)||YU(e.y)}function YU(e){return e&&e!=="0%"}function Gg(e,t,c){let n=e-c,l=t*n;return c+l}function NU(e,t,c,n,l){return l!==void 0&&(e=Gg(e,l,n)),Gg(e,c,n)+t}function q2(e,t=0,c=1,n,l){e.min=NU(e.min,t,c,n,l),e.max=NU(e.max,t,c,n,l)}function $2(e,{x:t,y:c}){q2(e.x,t.translate,t.scale,t.originPoint),q2(e.y,c.translate,c.scale,c.originPoint)}var SU=.999999999999,wU=1.0000000000001;function zU(e,t,c,n=!1){let l=c.length;if(!l)return;t.x=t.y=1;let o,d;for(let i=0;i<l;i++){o=c[i],d=o.projectionDelta;let{visualElement:r}=o.options;r&&r.props.style&&r.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&$s(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),d&&(t.x*=d.x.scale,t.y*=d.y.scale,$2(e,d)),n&&Ui(o.latestValues)&&$s(e,o.latestValues))}t.x<wU&&t.x>SU&&(t.x=1),t.y<wU&&t.y>SU&&(t.y=1)}function la(e,t){e.min=e.min+t,e.max=e.max+t}function kU(e,t,c,n,l=.5){let o=gt(e.min,e.max,l);q2(e,t,c,o,n)}function $s(e,t){kU(e.x,t.x,t.scaleX,t.scale,t.originX),kU(e.y,t.y,t.scaleY,t.scale,t.originY)}function e9(e,t){return fZ(JU(e.getBoundingClientRect(),t))}function TU(e,t,c){let n=e9(e,c),{scroll:l}=t;return l&&(la(n.x,l.offset.x),la(n.y,l.offset.y)),n}var WZ=({current:e})=>e?e.ownerDocument.defaultView:null;var mge=new WeakMap,BZ=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$t(),this.visualElement=t}start(t,{snapToCursor:c=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let l=s=>{let{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),c&&this.snapToCursor(Qi(s).point)},o=(s,b)=>{let{drag:m,dragPropagation:X,onDragStart:G}=this.getProps();if(m&&!X&&(this.openDragLock&&this.openDragLock(),this.openDragLock=C2(m),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gl(x=>{let H=this.getAxisMotionValue(x).get()||0;if(Ln.test(H)){let{projection:p}=this.visualElement;if(p&&p.layout){let R=p.layout.layoutBox[x];R&&(H=sn(R)*(parseFloat(H)/100))}}this.originPoint[x]=H}),G&&dt.postRender(()=>G(s,b)),ag(this.visualElement,"transform");let{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},d=(s,b)=>{let{dragPropagation:m,dragDirectionLock:X,onDirectionLock:G,onDrag:g}=this.getProps();if(!m&&!this.openDragLock)return;let{offset:x}=b;if(X&&this.currentDirection===null){this.currentDirection=Xge(x),this.currentDirection!==null&&G&&G(this.currentDirection);return}this.updateAxis("x",b.point,x),this.updateAxis("y",b.point,x),this.visualElement.render(),g&&g(s,b)},i=(s,b)=>this.stop(s,b),r=()=>gl(s=>{var b;return this.getAnimationState(s)==="paused"&&((b=this.getAxisMotionValue(s).animation)===null||b===void 0?void 0:b.play())}),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Om(t,{onSessionStart:l,onStart:o,onMove:d,onSessionEnd:i,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:WZ(this.visualElement)})}stop(t,c){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:l}=c;this.startAnimation(l);let{onDragEnd:o}=this.getProps();o&&dt.postRender(()=>o(t,c))}cancel(){this.isDragging=!1;let{projection:t,animationState:c}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),c&&c.setActive("whileDrag",!1)}updateAxis(t,c,n){let{drag:l}=this.getProps();if(!n||!hZ(t,l,this.currentDirection))return;let o=this.getAxisMotionValue(t),d=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(d=fU(d,this.constraints[t],this.elastic[t])),o.set(d)}resolveConstraints(){var t;let{dragConstraints:c,dragElastic:n}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;c&&zi(c)?this.constraints||(this.constraints=this.resolveRefConstraints()):c&&l?this.constraints=yU(l.layoutBox,c):this.constraints=!1,this.elastic=vU(n),o!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&gl(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=BU(l.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:c}=this.getProps();if(!t||!zi(t))return!1;let n=t.current;Eo(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:l}=this.visualElement;if(!l||!l.layout)return!1;let o=TU(n,l.root,this.visualElement.getTransformPagePoint()),d=WU(l.layout.layoutBox,o);if(c){let i=c(FU(d));this.hasMutatedConstraints=!!i,i&&(d=fZ(i))}return d}startAnimation(t){let{drag:c,dragMomentum:n,dragElastic:l,dragTransition:o,dragSnapToOrigin:d,onDragTransitionEnd:i}=this.getProps(),r=this.constraints||{},a=gl(s=>{if(!hZ(s,c,this.currentDirection))return;let b=r&&r[s]||{};d&&(b={min:0,max:0});let m=l?200:1e6,X=l?40:1e7,G={type:"inertia",velocity:n?t[s]:0,bounceStiffness:m,bounceDamping:X,timeConstant:750,restDelta:1,restSpeed:10,...o,...b};return this.startAxisValueAnimation(s,G)});return Promise.all(a).then(i)}startAxisValueAnimation(t,c){let n=this.getAxisMotionValue(t);return ag(this.visualElement,t),n.start(Am(t,n,0,c,this.visualElement,!1))}stopAnimation(){gl(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gl(t=>{var c;return(c=this.getAxisMotionValue(t).animation)===null||c===void 0?void 0:c.pause()})}getAnimationState(t){var c;return(c=this.getAxisMotionValue(t).animation)===null||c===void 0?void 0:c.state}getAxisMotionValue(t){let c=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),l=n[c];return l||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){gl(c=>{let{drag:n}=this.getProps();if(!hZ(c,n,this.currentDirection))return;let{projection:l}=this.visualElement,o=this.getAxisMotionValue(c);if(l&&l.layout){let{min:d,max:i}=l.layout.layoutBox[c];o.set(t[c]-gt(d,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:c}=this.getProps(),{projection:n}=this.visualElement;if(!zi(c)||!n||!this.constraints)return;this.stopAnimation();let l={x:0,y:0};gl(d=>{let i=this.getAxisMotionValue(d);if(i&&this.constraints!==!1){let r=i.get();l[d]=hU({min:r,max:r},this.constraints[d])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),gl(d=>{if(!hZ(d,t,null))return;let i=this.getAxisMotionValue(d),{min:r,max:a}=this.constraints[d];i.set(gt(r,a,l[d]))})}addListeners(){if(!this.visualElement.current)return;mge.set(this.visualElement,this);let t=this.visualElement.current,c=na(t,"pointerdown",r=>{let{drag:a,dragListener:s=!0}=this.getProps();a&&s&&this.start(r)}),n=()=>{let{dragConstraints:r}=this.getProps();zi(r)&&r.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,o=l.addEventListener("measure",n);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),dt.read(n);let d=Oi(window,"resize",()=>this.scalePositionWithinConstraints()),i=l.addEventListener("didUpdate",(({delta:r,hasLayoutChanged:a})=>{this.isDragging&&a&&(gl(s=>{let b=this.getAxisMotionValue(s);b&&(this.originPoint[s]+=r[s].translate,b.set(b.get()+r[s].translate))}),this.visualElement.render())}));return()=>{d(),c(),o(),i&&i()}}getProps(){let t=this.visualElement.getProps(),{drag:c=!1,dragDirectionLock:n=!1,dragPropagation:l=!1,dragConstraints:o=!1,dragElastic:d=ZZ,dragMomentum:i=!0}=t;return{...t,drag:c,dragDirectionLock:n,dragPropagation:l,dragConstraints:o,dragElastic:d,dragMomentum:i}}};function hZ(e,t,c){return(t===!0||t===e)&&(c===null||c===e)}function Xge(e,t=10){let c=null;return Math.abs(e.y)>t?c="y":Math.abs(e.x)>t&&(c="x"),c}var vZ=class extends jc{constructor(t){super(t),this.removeGroupControls=Qt,this.removeListeners=Qt,this.controls=new BZ(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qt}unmount(){this.removeGroupControls(),this.removeListeners()}};var AU=e=>(t,c)=>{e&&dt.postRender(()=>e(t,c))},VZ=class extends jc{constructor(){super(...arguments),this.removePointerDownListener=Qt}onPointerDown(t){this.session=new Om(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:WZ(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:c,onPan:n,onPanEnd:l}=this.node.getProps();return{onSessionStart:AU(t),onStart:AU(c),onMove:n,onEnd:(o,d)=>{delete this.session,l&&dt.postRender(()=>l(o,d))}}}mount(){this.removePointerDownListener=na(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var UU=u(F(),1),gg=u(E(),1);var Em={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function OU(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Lm={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;let c=OU(e,t.target.x),n=OU(e,t.target.y);return`${c}% ${n}%`}};var QU={correct:(e,{treeScale:t,projectionDelta:c})=>{let n=e,l=Dn.parse(e);if(l.length>5)return n;let o=Dn.createTransformer(e),d=typeof l[0]!="number"?1:0,i=c.x.scale*t.x,r=c.y.scale*t.y;l[0+d]/=i,l[1+d]/=r;let a=gt(i,r,.5);return typeof l[2+d]=="number"&&(l[2+d]/=a),typeof l[3+d]=="number"&&(l[3+d]/=a),o(l)}};var t9=class extends gg.Component{componentDidMount(){let{visualElement:t,layoutGroup:c,switchLayoutGroup:n,layoutId:l}=this.props,{projection:o}=t;PO(Gge),o&&(c.group&&c.group.add(o),n&&n.register&&l&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Em.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:c,visualElement:n,drag:l,isPresent:o}=this.props,d=n.projection;return d&&(d.isPresent=o,l||t.layoutDependency!==c||c===void 0?d.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?d.promote():d.relegate()||dt.postRender(()=>{let i=d.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),mm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:c,switchLayoutGroup:n}=this.props,{projection:l}=t;l&&(l.scheduleCheckAfterUnmount(),c&&c.group&&c.group.remove(l),n&&n.deregister&&n.deregister(l))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function CZ(e){let[t,c]=KG(),n=(0,gg.useContext)(dm);return(0,UU.jsx)(t9,{...e,layoutGroup:n,switchLayoutGroup:(0,gg.useContext)(JI),isPresent:t,safeToRemove:c})}var Gge={borderRadius:{...Lm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Lm,borderTopRightRadius:Lm,borderBottomLeftRadius:Lm,borderBottomRightRadius:Lm,boxShadow:QU};function EU(e,t,c){let n=jt(e)?e:Ai(e);return n.start(Am("",n,t,c)),n.animation}function LU(e){return e instanceof SVGElement&&e.tagName!=="svg"}var DU=(e,t)=>e.depth-t.depth;var FZ=class{constructor(){this.children=[],this.isDirty=!1}add(t){Jm(this.children,t),this.isDirty=!0}remove(t){Ym(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(DU),this.isDirty=!1,this.children.forEach(t)}};function _U(e,t){let c=vn.now(),n=({timestamp:l})=>{let o=l-c;o>=t&&(Sl(n),e(o-t))};return dt.read(n,!0),()=>Sl(n)}var KU=["TopLeft","TopRight","BottomLeft","BottomRight"],gge=KU.length,jU=e=>typeof e=="string"?parseFloat(e):e,MU=e=>typeof e=="number"||Oe.test(e);function qU(e,t,c,n,l,o){l?(e.opacity=gt(0,c.opacity!==void 0?c.opacity:1,xge(n)),e.opacityExit=gt(t.opacity!==void 0?t.opacity:1,0,pge(n))):o&&(e.opacity=gt(t.opacity!==void 0?t.opacity:1,c.opacity!==void 0?c.opacity:1,n));for(let d=0;d<gge;d++){let i=`border${KU[d]}Radius`,r=PU(t,i),a=PU(c,i);if(r===void 0&&a===void 0)continue;r||(r=0),a||(a=0),r===0||a===0||MU(r)===MU(a)?(e[i]=Math.max(gt(jU(r),jU(a),n),0),(Ln.test(a)||Ln.test(r))&&(e[i]+="%")):e[i]=a}(t.rotate||c.rotate)&&(e.rotate=gt(t.rotate||0,c.rotate||0,n))}function PU(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var xge=$U(0,.5,nZ),pge=$U(.5,.95,Qt);function $U(e,t,c){return n=>n<e?0:n>t?1:c(Nl(e,t,n))}function eE(e,t){e.min=t.min,e.max=t.max}function kl(e,t){eE(e.x,t.x),eE(e.y,t.y)}function c9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function tE(e,t,c,n,l){return e-=t,e=Gg(e,1/c,n),l!==void 0&&(e=Gg(e,1/l,n)),e}function Rge(e,t=0,c=1,n=.5,l,o=e,d=e){if(Ln.test(t)&&(t=parseFloat(t),t=gt(d.min,d.max,t/100)-d.min),typeof t!="number")return;let i=gt(o.min,o.max,n);e===o&&(i-=t),e.min=tE(e.min,t,c,i,l),e.max=tE(e.max,t,c,i,l)}function cE(e,t,[c,n,l],o,d){Rge(e,t[c],t[n],t[l],t.scale,o,d)}var Hge=["x","scaleX","originX"],Ige=["y","scaleY","originY"];function n9(e,t,c,n){cE(e.x,t,Hge,c?c.x:void 0,n?n.x:void 0),cE(e.y,t,Ige,c?c.y:void 0,n?n.y:void 0)}function nE(e){return e.translate===0&&e.scale===1}function l9(e){return nE(e.x)&&nE(e.y)}function lE(e,t){return e.min===t.min&&e.max===t.max}function dE(e,t){return lE(e.x,t.x)&&lE(e.y,t.y)}function oE(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function o9(e,t){return oE(e.x,t.x)&&oE(e.y,t.y)}function d9(e){return sn(e.x)/sn(e.y)}function i9(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var JZ=class{constructor(){this.members=[]}add(t){Jm(this.members,t),t.scheduleRender()}remove(t){if(Ym(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let c=this.members[this.members.length-1];c&&this.promote(c)}}relegate(t){let c=this.members.findIndex(l=>t===l);if(c===0)return!1;let n;for(let l=c;l>=0;l--){let o=this.members[l];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1}promote(t,c){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,c&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:l}=t.options;l===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:c,resumingFrom:n}=t;c.onExitComplete&&c.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function iE(e,t,c){let n="",l=e.x.translate/t.x,o=e.y.translate/t.y,d=c?.z||0;if((l||o||d)&&(n=`translate3d(${l}px, ${o}px, ${d}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),c){let{transformPerspective:a,rotate:s,rotateX:b,rotateY:m,skewX:X,skewY:G}=c;a&&(n=`perspective(${a}px) ${n}`),s&&(n+=`rotate(${s}deg) `),b&&(n+=`rotateX(${b}deg) `),m&&(n+=`rotateY(${m}deg) `),X&&(n+=`skewX(${X}deg) `),G&&(n+=`skewY(${G}deg) `)}let i=e.x.scale*t.x,r=e.y.scale*t.y;return(i!==1||r!==1)&&(n+=`scale(${i}, ${r})`),n||"none"}var eb={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},xg=typeof window<"u"&&window.MotionDebug!==void 0,r9=["","X","Y","Z"],Zge={visibility:"hidden"},rE=1e3,fge=0;function a9(e,t,c,n){let{latestValues:l}=t;l[e]&&(c[e]=l[e],t.setStaticValue(e,0),n&&(n[e]=0))}function gE(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let c=PI(t);if(window.MotionHasOptimisedAnimation(c,"transform")){let{layout:l,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(c,"transform",dt,!(l||o))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&gE(n)}function YZ({attachResizeListener:e,defaultParent:t,measureScroll:c,checkIsScrollRoot:n,resetTransform:l}){return class{constructor(d={},i=t?.()){this.id=fge++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,xg&&(eb.totalNodes=eb.resolvedTargetDeltas=eb.recalculatedProjection=0),this.nodes.forEach(hge),this.nodes.forEach(Fge),this.nodes.forEach(Jge),this.nodes.forEach(Bge),xg&&window.MotionDebug.record(eb)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let r=0;r<this.path.length;r++)this.path[r].shouldResetTransform=!0;this.root===this&&(this.nodes=new FZ)}addEventListener(d,i){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new qr),this.eventHandlers.get(d).add(i)}notifyListeners(d,...i){let r=this.eventHandlers.get(d);r&&r.notify(...i)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=LU(d),this.instance=d;let{layoutId:r,layout:a,visualElement:s}=this.options;if(s&&!s.current&&s.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(a||r)&&(this.isLayoutDirty=!0),e){let b,m=()=>this.root.updateBlockedByResize=!1;e(d,()=>{this.root.updateBlockedByResize=!0,b&&b(),b=_U(m,250),Em.hasAnimatedSinceResize&&(Em.hasAnimatedSinceResize=!1,this.nodes.forEach(sE))})}r&&this.root.registerSharedNode(r,this),this.options.animate!==!1&&s&&(r||a)&&this.addEventListener("didUpdate",({delta:b,hasLayoutChanged:m,hasRelativeTargetChanged:X,layout:G})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let g=this.options.transition||s.getDefaultTransition()||kge,{onLayoutAnimationStart:x,onLayoutAnimationComplete:H}=s.getProps(),p=!this.targetLayout||!o9(this.targetLayout,G)||X,R=!m&&X;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||R||m&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(b,R);let I={...Mr(g,"layout"),onPlay:x,onComplete:H};(s.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else m||sE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=G})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Sl(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Yge),this.animationId++)}getTransformTemplate(){let{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&gE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){let b=this.path[s];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}let{layoutId:i,layout:r}=this.options;if(i===void 0&&!r)return;let a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(aE);return}this.isUpdating||this.nodes.forEach(Vge),this.isUpdating=!1,this.nodes.forEach(Cge),this.nodes.forEach(yge),this.nodes.forEach(Wge),this.clearAllSnapshots();let i=vn.now();Zc.delta=an(0,1e3/60,i-Zc.timestamp),Zc.timestamp=i,Zc.isProcessing=!0,yI.update.process(Zc),yI.preRender.process(Zc),yI.render.process(Zc),Zc.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(vge),this.sharedNodes.forEach(Nge)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r<this.path.length;r++)this.path[r].updateScroll();let d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=$t(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let i=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(i=!1),i){let r=n(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:r,offset:c(this.instance),wasRoot:this.scroll?this.scroll.isRoot:r}}}resetTransform(){if(!l)return;let d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,i=this.projectionDelta&&!l9(this.projectionDelta),r=this.getTransformTemplate(),a=r?r(this.latestValues,""):void 0,s=a!==this.prevTransformTemplateValue;d&&(i||Ui(this.latestValues)||s)&&(l(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){let i=this.measurePageBox(),r=this.removeElementScroll(i);return d&&(r=this.removeTransform(r)),zge(r),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var d;let{visualElement:i}=this.options;if(!i)return $t();let r=i.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(Tge))){let{scroll:s}=this.root;s&&(la(r.x,s.offset.x),la(r.y,s.offset.y))}return r}removeElementScroll(d){var i;let r=$t();if(kl(r,d),!((i=this.scroll)===null||i===void 0)&&i.wasRoot)return r;for(let a=0;a<this.path.length;a++){let s=this.path[a],{scroll:b,options:m}=s;s!==this.root&&b&&m.layoutScroll&&(b.wasRoot&&kl(r,d),la(r.x,b.offset.x),la(r.y,b.offset.y))}return r}applyTransform(d,i=!1){let r=$t();kl(r,d);for(let a=0;a<this.path.length;a++){let s=this.path[a];!i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&$s(r,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),Ui(s.latestValues)&&$s(r,s.latestValues)}return Ui(this.latestValues)&&$s(r,this.latestValues),r}removeTransform(d){let i=$t();kl(i,d);for(let r=0;r<this.path.length;r++){let a=this.path[r];if(!a.instance||!Ui(a.latestValues))continue;yZ(a.latestValues)&&a.updateSnapshot();let s=$t(),b=a.measurePageBox();kl(s,b),n9(i,a.latestValues,a.snapshot?a.snapshot.layoutBox:void 0,s)}return Ui(this.latestValues)&&n9(i,this.latestValues),i}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Zc.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var i;let r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==r;if(!(d||a&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:b,layoutId:m}=this.options;if(!(!this.layout||!(b||m))){if(this.resolvedRelativeTargetAt=Zc.timestamp,!this.targetDelta&&!this.relativeTarget){let X=this.getClosestProjectingParent();X&&X.layout&&this.animationProgress!==1?(this.relativeParent=X,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$t(),this.relativeTargetOrigin=$t(),Um(this.relativeTargetOrigin,this.layout.layoutBox,X.layout.layoutBox),kl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=$t(),this.targetWithTransforms=$t()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pU(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kl(this.target,this.layout.layoutBox),$2(this.target,this.targetDelta)):kl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let X=this.getClosestProjectingParent();X&&!!X.resumingFrom==!!this.resumingFrom&&!X.options.layoutScroll&&X.target&&this.animationProgress!==1?(this.relativeParent=X,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$t(),this.relativeTargetOrigin=$t(),Um(this.relativeTargetOrigin,this.target,X.target),kl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}xg&&eb.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||yZ(this.parent.latestValues)||K2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var d;let i=this.getLead(),r=!!this.resumingFrom||this!==i,a=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(a=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(a=!1),this.resolvedRelativeTargetAt===Zc.timestamp&&(a=!1),a)return;let{layout:s,layoutId:b}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||b))return;kl(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,X=this.treeScale.y;zU(this.layoutCorrected,this.treeScale,this.path,r),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=$t());let{target:G}=i;if(!G){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(c9(this.prevProjectionDelta.x,this.projectionDelta.x),c9(this.prevProjectionDelta.y,this.projectionDelta.y)),Qm(this.projectionDelta,this.layoutCorrected,G,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==X||!i9(this.projectionDelta.x,this.prevProjectionDelta.x)||!i9(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",G)),xg&&eb.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var i;if((i=this.options.visualElement)===null||i===void 0||i.scheduleRender(),d){let r=this.getStack();r&&r.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=qs(),this.projectionDelta=qs(),this.projectionDeltaWithTransform=qs()}setAnimationOrigin(d,i=!1){let r=this.snapshot,a=r?r.latestValues:{},s={...this.latestValues},b=qs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let m=$t(),X=r?r.source:void 0,G=this.layout?this.layout.source:void 0,g=X!==G,x=this.getStack(),H=!x||x.members.length<=1,p=!!(g&&!H&&this.options.crossfade===!0&&!this.path.some(wge));this.animationProgress=0;let R;this.mixTargetDelta=I=>{let f=I/1e3;bE(b.x,d.x,f),bE(b.y,d.y,f),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Um(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Sge(this.relativeTarget,this.relativeTargetOrigin,m,f),R&&dE(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=$t()),kl(R,this.relativeTarget)),g&&(this.animationValues=s,qU(s,a,this.latestValues,f,p,H)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=f},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Sl(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dt.update(()=>{Em.hasAnimatedSinceResize=!0,this.currentAnimation=EU(0,rE,{...d,onUpdate:i=>{this.mixTargetDelta(i),d.onUpdate&&d.onUpdate(i)},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let d=this.getLead(),{targetWithTransforms:i,target:r,layout:a,latestValues:s}=d;if(!(!i||!r||!a)){if(this!==d&&this.layout&&a&&xE(this.options.animationType,this.layout.layoutBox,a.layoutBox)){r=this.target||$t();let b=sn(this.layout.layoutBox.x);r.x.min=d.target.x.min,r.x.max=r.x.min+b;let m=sn(this.layout.layoutBox.y);r.y.min=d.target.y.min,r.y.max=r.y.min+m}kl(i,r),$s(i,s),Qm(this.projectionDeltaWithTransform,this.layoutCorrected,i,s)}}registerSharedNode(d,i){this.sharedNodes.has(d)||this.sharedNodes.set(d,new JZ),this.sharedNodes.get(d).add(i);let a=i.options.initialPromotionConfig;i.promote({transition:a?a.transition:void 0,preserveFollowOpacity:a&&a.shouldPreserveFollowOpacity?a.shouldPreserveFollowOpacity(i):void 0})}isLead(){let d=this.getStack();return d?d.lead===this:!0}getLead(){var d;let{layoutId:i}=this.options;return i?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;let{layoutId:i}=this.options;return i?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){let{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:i,preserveFollowOpacity:r}={}){let a=this.getStack();a&&a.promote(this,r),d&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){let d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){let{visualElement:d}=this.options;if(!d)return;let i=!1,{latestValues:r}=d;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(i=!0),!i)return;let a={};r.z&&a9("z",d,a,this.animationValues);for(let s=0;s<r9.length;s++)a9(`rotate${r9[s]}`,d,a,this.animationValues),a9(`skew${r9[s]}`,d,a,this.animationValues);d.render();for(let s in a)d.setStaticValue(s,a[s]),this.animationValues&&(this.animationValues[s]=a[s]);d.scheduleRender()}getProjectionStyles(d){var i,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Zge;let a={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,a.opacity="",a.pointerEvents=xm(d?.pointerEvents)||"",a.transform=s?s(this.latestValues,""):"none",a;let b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){let g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=xm(d?.pointerEvents)||""),this.hasProjected&&!Ui(this.latestValues)&&(g.transform=s?s({},""):"none",this.hasProjected=!1),g}let m=b.animationValues||b.latestValues;this.applyTransformsToTarget(),a.transform=iE(this.projectionDeltaWithTransform,this.treeScale,m),s&&(a.transform=s(m,a.transform));let{x:X,y:G}=this.projectionDelta;a.transformOrigin=`${X.origin*100}% ${G.origin*100}% 0`,b.animationValues?a.opacity=b===this?(r=(i=m.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&r!==void 0?r:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:a.opacity=b===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let g in ym){if(m[g]===void 0)continue;let{correct:x,applyTo:H}=ym[g],p=a.transform==="none"?m[g]:x(m[g],b);if(H){let R=H.length;for(let I=0;I<R;I++)a[H[I]]=p}else a[g]=p}return this.options.layoutId&&(a.pointerEvents=b===this?xm(d?.pointerEvents)||"":"none"),a}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var i;return(i=d.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(aE),this.root.sharedNodes.clear()}}}function yge(e){e.updateLayout()}function Wge(e){var t;let c=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&c&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:l}=e.layout,{animationType:o}=e.options,d=c.source!==e.layout.source;o==="size"?gl(b=>{let m=d?c.measuredBox[b]:c.layoutBox[b],X=sn(m);m.min=n[b].min,m.max=m.min+X}):xE(o,c.layoutBox,n)&&gl(b=>{let m=d?c.measuredBox[b]:c.layoutBox[b],X=sn(n[b]);m.max=m.min+X,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[b].max=e.relativeTarget[b].min+X)});let i=qs();Qm(i,n,c.layoutBox);let r=qs();d?Qm(r,e.applyTransform(l,!0),c.measuredBox):Qm(r,n,c.layoutBox);let a=!l9(i),s=!1;if(!e.resumeFrom){let b=e.getClosestProjectingParent();if(b&&!b.resumeFrom){let{snapshot:m,layout:X}=b;if(m&&X){let G=$t();Um(G,c.layoutBox,m.layoutBox);let g=$t();Um(g,n,X.layoutBox),o9(G,g)||(s=!0),b.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=G,e.relativeParent=b)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:c,delta:r,layoutDelta:i,hasLayoutChanged:a,hasRelativeTargetChanged:s})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function hge(e){xg&&eb.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Bge(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function vge(e){e.clearSnapshot()}function aE(e){e.clearMeasurements()}function Vge(e){e.isLayoutDirty=!1}function Cge(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function sE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Fge(e){e.resolveTargetDelta()}function Jge(e){e.calcProjection()}function Yge(e){e.resetSkewAndRotation()}function Nge(e){e.removeLeadSnapshot()}function bE(e,t,c){e.translate=gt(t.translate,0,c),e.scale=gt(t.scale,1,c),e.origin=t.origin,e.originPoint=t.originPoint}function uE(e,t,c,n){e.min=gt(t.min,c.min,n),e.max=gt(t.max,c.max,n)}function Sge(e,t,c,n){uE(e.x,t.x,c.x,n),uE(e.y,t.y,c.y,n)}function wge(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var kge={duration:.45,ease:[.4,0,.1,1]},mE=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),XE=mE("applewebkit/")&&!mE("chrome/")?Math.round:Qt;function GE(e){e.min=XE(e.min),e.max=XE(e.max)}function zge(e){GE(e.x),GE(e.y)}function xE(e,t,c){return e==="position"||e==="preserve-aspect"&&!xU(d9(t),d9(c),.2)}function Tge(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var pE=YZ({attachResizeListener:(e,t)=>Oi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var s9={current:void 0},NZ=YZ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!s9.current){let e=new pE({});e.mount(window),e.setOptions({layoutScroll:!0}),s9.current=e}return s9.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var RE={pan:{Feature:VZ},drag:{Feature:vZ,ProjectionNode:NZ,MeasureLayout:CZ}};function HE(e,t,c){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",c==="Start");let l="onHover"+c,o=n[l];o&&dt.postRender(()=>o(t,Qi(t)))}var SZ=class extends jc{mount(){let{current:t}=this.node;t&&(this.unmount=B2(t,c=>(HE(this.node,c,"Start"),n=>HE(this.node,n,"End"))))}unmount(){}};var wZ=class extends jc{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=zd(Oi(this.node.current,"focus",()=>this.onFocus()),Oi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function IE(e,t,c){let{props:n}=e;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",c==="Start");let l="onTap"+(c==="End"?"":c),o=n[l];o&&dt.postRender(()=>o(t,Qi(t)))}var kZ=class extends jc{mount(){let{current:t}=this.node;t&&(this.unmount=V2(t,c=>(IE(this.node,c,"Start"),(n,{success:l})=>IE(this.node,n,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var u9=new WeakMap,b9=new WeakMap,Age=e=>{let t=u9.get(e.target);t&&t(e)},Oge=e=>{e.forEach(Age)};function Qge({root:e,...t}){let c=e||document;b9.has(c)||b9.set(c,{});let n=b9.get(c),l=JSON.stringify(t);return n[l]||(n[l]=new IntersectionObserver(Oge,{root:e,...t})),n[l]}function ZE(e,t,c){let n=Qge(t);return u9.set(e,c),n.observe(e),()=>{u9.delete(e),n.unobserve(e)}}var Uge={some:0,all:1},zZ=class extends jc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:c,margin:n,amount:l="some",once:o}=t,d={root:c?c.current:void 0,rootMargin:n,threshold:typeof l=="number"?l:Uge[l]},i=r=>{let{isIntersecting:a}=r;if(this.isInView===a||(this.isInView=a,o&&!a&&this.hasEnteredView))return;a&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",a);let{onViewportEnter:s,onViewportLeave:b}=this.node.getProps(),m=a?s:b;m&&m(r)};return ZE(this.node.current,d,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:c}=this.node;["amount","margin","root"].some(Ege(t,c))&&this.startObserver()}unmount(){}};function Ege({viewport:e={}},{viewport:t={}}={}){return c=>e[c]!==t[c]}var fE={inView:{Feature:zZ},tap:{Feature:kZ},focus:{Feature:wZ},hover:{Feature:SZ}};var yE={layout:{ProjectionNode:NZ,MeasureLayout:CZ}};var VE=u(E(),1);var pg={current:null},TZ={current:!1};function WE(){if(TZ.current=!0,!!am)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pg.current=e.matches;e.addListener(t),t()}else pg.current=!1}var Lge=[...z2,Vc,Dn],hE=e=>Lge.find(aZ(e));var m9=new WeakMap;function BE(e,t,c){for(let n in t){let l=t[n],o=c[n];if(jt(l))e.addValue(n,l);else if(jt(o))e.addValue(n,Ai(l,{owner:e}));else if(o!==l)if(e.hasValue(n)){let d=e.getValue(n);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{let d=e.getStaticValue(n);e.addValue(n,Ai(d!==void 0?d:l,{owner:e}))}}for(let n in c)t[n]===void 0&&e.removeValue(n);return t}var vE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],AZ=class{scrapeMotionValuesFromProps(t,c,n){return{}}constructor({parent:t,props:c,presenceContext:n,reducedMotionConfig:l,blockInitialAnimation:o,visualState:d},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ta,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let X=vn.now();this.renderScheduledAt<X&&(this.renderScheduledAt=X,dt.render(this.render,!1,!0))};let{latestValues:r,renderState:a,onUpdate:s}=d;this.onUpdate=s,this.latestValues=r,this.baseTarget={...r},this.initialValues=c.initial?{...r}:{},this.renderState=a,this.parent=t,this.props=c,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=l,this.options=i,this.blockInitialAnimation=!!o,this.isControllingVariants=Es(c),this.isVariantNode=VI(c),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:b,...m}=this.scrapeMotionValuesFromProps(c,{},this);for(let X in m){let G=m[X];r[X]!==void 0&&jt(G)&&G.set(r[X],!1)}}mount(t){this.current=t,m9.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((c,n)=>this.bindToMotionValue(n,c)),TZ.current||WE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pg.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){m9.delete(this.current),this.projection&&this.projection.unmount(),Sl(this.notifyUpdate),Sl(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let c=this.features[t];c&&(c.unmount(),c.isMounted=!1)}this.current=null}bindToMotionValue(t,c){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=Gl.has(t),l=c.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&dt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=c.on("renderRequest",this.scheduleRender),d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,t,c)),this.valueSubscriptions.set(t,()=>{l(),o(),d&&d(),c.owner&&c.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in wi){let c=wi[t];if(!c)continue;let{isEnabled:n,Feature:l}=c;if(!this.features[t]&&l&&n(this.props)&&(this.features[t]=new l(this)),this.features[t]){let o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$t()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,c){this.latestValues[t]=c}update(t,c){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=c;for(let n=0;n<vE.length;n++){let l=vE[n];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);let o="on"+l,d=t[o];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=BE(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let c=this.getClosestVariantNode();if(c)return c.variantChildren&&c.variantChildren.add(t),()=>c.variantChildren.delete(t)}addValue(t,c){let n=this.values.get(t);c!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,c),this.values.set(t,c),this.latestValues[t]=c.get())}removeValue(t){this.values.delete(t);let c=this.valueSubscriptions.get(t);c&&(c(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,c){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&c!==void 0&&(n=Ai(c===null?void 0:c,{owner:this}),this.addValue(t,n)),n}readValue(t,c){var n;let l=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return l!=null&&(typeof l=="string"&&(rZ(l)||oZ(l))?l=parseFloat(l):!hE(l)&&Dn.test(c)&&(l=iZ(t,c)),this.setBaseTarget(t,jt(l)?l.get():l)),jt(l)?l.get():l}setBaseTarget(t,c){this.baseTarget[t]=c}getBaseTarget(t){var c;let{initial:n}=this.props,l;if(typeof n=="string"||typeof n=="object"){let d=gm(this.props,n,(c=this.presenceContext)===null||c===void 0?void 0:c.custom);d&&(l=d[t])}if(n&&l!==void 0)return l;let o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!jt(o)?o:this.initialValues[t]!==void 0&&l===void 0?void 0:this.baseTarget[t]}on(t,c){return this.events[t]||(this.events[t]=new qr),this.events[t].add(c)}notify(t,...c){this.events[t]&&this.events[t].notify(...c)}};var Dm=class extends AZ{constructor(){super(...arguments),this.KeyframeResolver=km}sortInstanceNodePosition(t,c){return t.compareDocumentPosition(c)&2?1:-1}getBaseTargetFromProps(t,c){return t.style?t.style[c]:void 0}removeValueFromRenderState(t,{vars:c,style:n}){delete c[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;jt(t)&&(this.childSubscription=t.on("change",c=>{this.current&&(this.current.textContent=`${c}`)}))}};function Dge(e){return window.getComputedStyle(e)}var OZ=class extends Dm{constructor(){super(...arguments),this.type="html",this.renderInstance=zI}readValueFromInstance(t,c){if(Gl.has(c)){let n=wm(c);return n&&n.default||0}else{let n=Dge(t),l=(SI(c)?n.getPropertyValue(c):n[c])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:c}){return e9(t,c)}build(t,c,n){Hm(t,c,n.transformTemplate)}scrapeMotionValuesFromProps(t,c,n){return Wm(t,c,n)}};var QZ=class extends Dm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$t}getBaseTargetFromProps(t,c){return t[c]}readValueFromInstance(t,c){if(Gl.has(c)){let n=wm(c);return n&&n.default||0}return c=TI.has(c)?c:um(c),t.getAttribute(c)}scrapeMotionValuesFromProps(t,c,n){return QI(t,c,n)}build(t,c,n){Im(t,c,this.isSVGTag,n.transformTemplate)}renderInstance(t,c,n,l){AI(t,c,n,l)}mount(t){this.isSVGTag=fm(t.tagName),super.mount(t)}};var CE=(e,t)=>Gm(e)?new QZ(t):new OZ(t,{allowProjection:e!==VE.Fragment});var FE=oQ({...dU,...fE,...RE,...yE},CE);var oa=WO(FE);var _m=u(T(),1);function Td(e){return e!=null}function JE(e){let t=e==="";return!Td(e)||t}function YE(e=[],t){return e.find(Td)??t}var _ge=e=>parseFloat(e),Rg=e=>typeof e=="string"?_ge(e):e;var NE={initial:void 0,fallback:""};function jge(e,t=NE){let{initial:c,fallback:n}={...NE,...t},[l,o]=(0,_m.useState)(e),d=Td(e);(0,_m.useEffect)(()=>{d&&l&&o(void 0)},[d,l]);let i=YE([e,l,c],n),r=(0,_m.useCallback)(a=>{d||o(a)},[d]);return[i,r]}var Ei=jge;var Hg=u(T(),1);function Mge(e,t){let c=(0,Hg.useRef)(!1);(0,Hg.useEffect)(()=>{if(c.current)return e();c.current=!0},t),(0,Hg.useEffect)(()=>()=>{c.current=!1},[])}var tb=Mge;var UZ=u(T(),1);function Do({defaultValue:e,onChange:t,value:c}){let n=typeof c<"u",l=n?c:e,[o,d]=(0,UZ.useState)(l),i=n?c:o,r=(0,UZ.useCallback)((s,...b)=>{d(s),t?.(s,...b)},[t]),a;return n&&typeof t=="function"?a=t:!n&&typeof t=="function"?a=r:a=d,[i,a]}var mo=u(E()),vg=u(E());var Pge=!1;function Kge(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function qge(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var SE=(function(){function e(c){var n=this;this._insertTag=function(l){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(l,o),n.tags.push(l)},this.isSpeedy=c.speedy===void 0?!Pge:c.speedy,this.tags=[],this.ctr=0,this.nonce=c.nonce,this.key=c.key,this.container=c.container,this.prepend=c.prepend,this.insertionPoint=c.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(qge(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Kge(l);try{o.insertRule(n,o.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var l;return(l=n.parentNode)==null?void 0:l.removeChild(n)}),this.tags=[],this.ctr=0},e})();var bn="-ms-",Ig="-moz-",Bt="-webkit-",EZ="comm",jm="rule",Mm="decl";var wE="@import";var LZ="@keyframes";var kE="@layer";var zE=Math.abs,cb=String.fromCharCode,TE=Object.assign;function AE(e,t){return fc(e,0)^45?(((t<<2^fc(e,0))<<2^fc(e,1))<<2^fc(e,2))<<2^fc(e,3):0}function DZ(e){return e.trim()}function X9(e,t){return(e=t.exec(e))?e[0]:e}function Rt(e,t,c){return e.replace(t,c)}function Zg(e,t){return e.indexOf(t)}function fc(e,t){return e.charCodeAt(t)|0}function da(e,t,c){return e.slice(t,c)}function _n(e){return e.length}function Pm(e){return e.length}function Km(e,t){return t.push(e),e}function G9(e,t){return e.map(t).join("")}var _Z=1,qm=1,OE=0,jn=0,Cc=0,e0="";function fg(e,t,c,n,l,o,d){return{value:e,root:t,parent:c,type:n,props:l,children:o,line:_Z,column:qm,length:d,return:""}}function t0(e,t){return TE(fg("",null,null,"",null,null,0),e,{length:-e.length},t)}function QE(){return Cc}function UE(){return Cc=jn>0?fc(e0,--jn):0,qm--,Cc===10&&(qm=1,_Z--),Cc}function Mn(){return Cc=jn<OE?fc(e0,jn++):0,qm++,Cc===10&&(qm=1,_Z++),Cc}function uo(){return fc(e0,jn)}function yg(){return jn}function c0(e,t){return da(e0,e,t)}function $m(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function jZ(e){return _Z=qm=1,OE=_n(e0=e),jn=0,[]}function MZ(e){return e0="",e}function n0(e){return DZ(c0(jn-1,g9(e===91?e+2:e===40?e+1:e)))}function EE(e){for(;(Cc=uo())&&Cc<33;)Mn();return $m(e)>2||$m(Cc)>3?"":" "}function LE(e,t){for(;--t&&Mn()&&!(Cc<48||Cc>102||Cc>57&&Cc<65||Cc>70&&Cc<97););return c0(e,yg()+(t<6&&uo()==32&&Mn()==32))}function g9(e){for(;Mn();)switch(Cc){case e:return jn;case 34:case 39:e!==34&&e!==39&&g9(Cc);break;case 40:e===41&&g9(e);break;case 92:Mn();break}return jn}function DE(e,t){for(;Mn()&&e+Cc!==57;)if(e+Cc===84&&uo()===47)break;return"/*"+c0(t,jn-1)+"*"+cb(e===47?e:Mn())}function _E(e){for(;!$m(uo());)Mn();return c0(e,jn)}function PE(e){return MZ(PZ("",null,null,null,[""],e=jZ(e),0,[0],e))}function PZ(e,t,c,n,l,o,d,i,r){for(var a=0,s=0,b=d,m=0,X=0,G=0,g=1,x=1,H=1,p=0,R="",I=l,f=o,y=n,Z=R;x;)switch(G=p,p=Mn()){case 40:if(G!=108&&fc(Z,b-1)==58){Zg(Z+=Rt(n0(p),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:Z+=n0(p);break;case 9:case 10:case 13:case 32:Z+=EE(G);break;case 92:Z+=LE(yg()-1,7);continue;case 47:switch(uo()){case 42:case 47:Km($ge(DE(Mn(),yg()),t,c),r);break;default:Z+="/"}break;case 123*g:i[a++]=_n(Z)*H;case 125*g:case 59:case 0:switch(p){case 0:case 125:x=0;case 59+s:H==-1&&(Z=Rt(Z,/\f/g,"")),X>0&&_n(Z)-b&&Km(X>32?ME(Z+";",n,c,b-1):ME(Rt(Z," ","")+";",n,c,b-2),r);break;case 59:Z+=";";default:if(Km(y=jE(Z,t,c,a,s,l,i,R,I=[],f=[],b),o),p===123)if(s===0)PZ(Z,t,y,y,I,o,b,i,f);else switch(m===99&&fc(Z,3)===110?100:m){case 100:case 108:case 109:case 115:PZ(e,y,y,n&&Km(jE(e,y,y,0,0,l,i,R,l,I=[],b),f),l,f,b,i,n?I:f);break;default:PZ(Z,y,y,y,[""],f,0,i,f)}}a=s=X=0,g=H=1,R=Z="",b=d;break;case 58:b=1+_n(Z),X=G;default:if(g<1){if(p==123)--g;else if(p==125&&g++==0&&UE()==125)continue}switch(Z+=cb(p),p*g){case 38:H=s>0?1:(Z+="\f",-1);break;case 44:i[a++]=(_n(Z)-1)*H,H=1;break;case 64:uo()===45&&(Z+=n0(Mn())),m=uo(),s=b=_n(R=Z+=_E(yg())),p++;break;case 45:G===45&&_n(Z)==2&&(g=0)}}return o}function jE(e,t,c,n,l,o,d,i,r,a,s){for(var b=l-1,m=l===0?o:[""],X=Pm(m),G=0,g=0,x=0;G<n;++G)for(var H=0,p=da(e,b+1,b=zE(g=d[G])),R=e;H<X;++H)(R=DZ(g>0?m[H]+" "+p:Rt(p,/&\f/g,m[H])))&&(r[x++]=R);return fg(e,t,c,l===0?jm:i,r,a,s)}function $ge(e,t,c){return fg(e,t,c,EZ,cb(QE()),da(e,2,-2),0)}function ME(e,t,c,n){return fg(e,t,c,Mm,da(e,0,n),da(e,n+1,-1),n)}function nb(e,t){for(var c="",n=Pm(e),l=0;l<n;l++)c+=t(e[l],l,e,t)||"";return c}function KE(e,t,c,n){switch(e.type){case kE:if(e.children.length)break;case wE:case Mm:return e.return=e.return||e.value;case EZ:return"";case LZ:return e.return=e.value+"{"+nb(e.children,n)+"}";case jm:e.value=e.props.join(",")}return _n(c=nb(e.children,n))?e.return=e.value+"{"+c+"}":""}function qE(e){var t=Pm(e);return function(c,n,l,o){for(var d="",i=0;i<t;i++)d+=e[i](c,n,l,o)||"";return d}}function $E(e){return function(t){t.root||(t=t.return)&&e(t)}}BI();var exe=function(t,c,n){for(var l=0,o=0;l=o,o=uo(),l===38&&o===12&&(c[n]=1),!$m(o);)Mn();return c0(t,jn)},txe=function(t,c){var n=-1,l=44;do switch($m(l)){case 0:l===38&&uo()===12&&(c[n]=1),t[n]+=exe(jn-1,c,n);break;case 2:t[n]+=n0(l);break;case 4:if(l===44){t[++n]=uo()===58?"&\f":"",c[n]=t[n].length;break}default:t[n]+=cb(l)}while(l=Mn());return t},cxe=function(t,c){return MZ(txe(jZ(t),c))},eL=new WeakMap,nxe=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var c=t.value,n=t.parent,l=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&c.charCodeAt(0)!==58&&!eL.get(n))&&!l){eL.set(t,!0);for(var o=[],d=cxe(c,o),i=n.props,r=0,a=0;r<d.length;r++)for(var s=0;s<i.length;s++,a++)t.props[a]=o[r]?d[r].replace(/&\f/g,i[s]):i[s]+" "+d[r]}}},lxe=function(t){if(t.type==="decl"){var c=t.value;c.charCodeAt(0)===108&&c.charCodeAt(2)===98&&(t.return="",t.value="")}};function tL(e,t){switch(AE(e,t)){case 5103:return Bt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Bt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Bt+e+Ig+e+bn+e+e;case 6828:case 4268:return Bt+e+bn+e+e;case 6165:return Bt+e+bn+"flex-"+e+e;case 5187:return Bt+e+Rt(e,/(\w+).+(:[^]+)/,Bt+"box-$1$2"+bn+"flex-$1$2")+e;case 5443:return Bt+e+bn+"flex-item-"+Rt(e,/flex-|-self/,"")+e;case 4675:return Bt+e+bn+"flex-line-pack"+Rt(e,/align-content|flex-|-self/,"")+e;case 5548:return Bt+e+bn+Rt(e,"shrink","negative")+e;case 5292:return Bt+e+bn+Rt(e,"basis","preferred-size")+e;case 6060:return Bt+"box-"+Rt(e,"-grow","")+Bt+e+bn+Rt(e,"grow","positive")+e;case 4554:return Bt+Rt(e,/([^-])(transform)/g,"$1"+Bt+"$2")+e;case 6187:return Rt(Rt(Rt(e,/(zoom-|grab)/,Bt+"$1"),/(image-set)/,Bt+"$1"),e,"")+e;case 5495:case 3959:return Rt(e,/(image-set\([^]*)/,Bt+"$1$`$1");case 4968:return Rt(Rt(e,/(.+:)(flex-)?(.*)/,Bt+"box-pack:$3"+bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Bt+e+e;case 4095:case 3583:case 4068:case 2532:return Rt(e,/(.+)-inline(.+)/,Bt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_n(e)-1-t>6)switch(fc(e,t+1)){case 109:if(fc(e,t+4)!==45)break;case 102:return Rt(e,/(.+:)(.+)-([^]+)/,"$1"+Bt+"$2-$3$1"+Ig+(fc(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zg(e,"stretch")?tL(Rt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fc(e,t+1)!==115)break;case 6444:switch(fc(e,_n(e)-3-(~Zg(e,"!important")&&10))){case 107:return Rt(e,":",":"+Bt)+e;case 101:return Rt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Bt+(fc(e,14)===45?"inline-":"")+"box$3$1"+Bt+"$2$3$1"+bn+"$2box$3")+e}break;case 5936:switch(fc(e,t+11)){case 114:return Bt+e+bn+Rt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Bt+e+bn+Rt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Bt+e+bn+Rt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Bt+e+bn+e+e}return e}var oxe=function(t,c,n,l){if(t.length>-1&&!t.return)switch(t.type){case Mm:t.return=tL(t.value,t.length);break;case LZ:return nb([t0(t,{value:Rt(t.value,"@","@"+Bt)})],l);case jm:if(t.length)return G9(t.props,function(o){switch(X9(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nb([t0(t,{props:[Rt(o,/:(read-\w+)/,":"+Ig+"$1")]})],l);case"::placeholder":return nb([t0(t,{props:[Rt(o,/:(plac\w+)/,":"+Bt+"input-$1")]}),t0(t,{props:[Rt(o,/:(plac\w+)/,":"+Ig+"$1")]}),t0(t,{props:[Rt(o,/:(plac\w+)/,bn+"input-$1")]})],l)}return""})}},dxe=[oxe],l0=function(t){var c=t.key;if(c==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var x=g.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var l=t.stylisPlugins||dxe,o={},d,i=[];d=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+c+' "]'),function(g){for(var x=g.getAttribute("data-emotion").split(" "),H=1;H<x.length;H++)o[x[H]]=!0;i.push(g)});var r,a=[nxe,lxe];{var s,b=[KE,$E(function(g){s.insert(g)})],m=qE(a.concat(l,b)),X=function(x){return nb(PE(x),m)};r=function(x,H,p,R){s=p,X(x?x+"{"+H.styles+"}":H.styles),R&&(G.inserted[H.name]=!0)}}var G={key:c,sheet:new SE({key:c,container:d,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:r};return G.sheet.hydrate(i),G};function Wg(){return Wg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var c=arguments[t];for(var n in c)({}).hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e},Wg.apply(null,arguments)}var Rxe=!0;function ia(e,t,c){var n="";return c.split(" ").forEach(function(l){e[l]!==void 0?t.push(e[l]+";"):l&&(n+=l+" ")}),n}var o0=function(t,c,n){var l=t.key+"-"+c.name;(n===!1||Rxe===!1)&&t.registered[l]===void 0&&(t.registered[l]=c.styles)},Li=function(t,c,n){o0(t,c,n);var l=t.key+"-"+c.name;if(t.inserted[c.name]===void 0){var o=c;do t.insert(c===o?"."+l:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function mL(e){for(var t=0,c,n=0,l=e.length;l>=4;++n,l-=4)c=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,t=(c&65535)*1540483477+((c>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var XL={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};BI();var Hxe=!1,Ixe=/[A-Z]|^ms/g,Zxe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pL=function(t){return t.charCodeAt(1)===45},GL=function(t){return t!=null&&typeof t!="boolean"},Z9=hI(function(e){return pL(e)?e:e.replace(Ixe,"-$&").toLowerCase()}),gL=function(t,c){switch(t){case"animation":case"animationName":if(typeof c=="string")return c.replace(Zxe,function(n,l,o){return Ad={name:l,styles:o,next:Ad},l})}return XL[t]!==1&&!pL(t)&&typeof c=="number"&&c!==0?c+"px":c},fxe="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function hg(e,t,c){if(c==null)return"";var n=c;if(n.__emotion_styles!==void 0)return n;switch(typeof c){case"boolean":return"";case"object":{var l=c;if(l.anim===1)return Ad={name:l.name,styles:l.styles,next:Ad},l.name;var o=c;if(o.styles!==void 0){var d=o.next;if(d!==void 0)for(;d!==void 0;)Ad={name:d.name,styles:d.styles,next:Ad},d=d.next;var i=o.styles+";";return i}return yxe(e,t,c)}case"function":{if(e!==void 0){var r=Ad,a=c(e);return Ad=r,hg(e,t,a)}break}}var s=c;if(t==null)return s;var b=t[s];return b!==void 0?b:s}function yxe(e,t,c){var n="";if(Array.isArray(c))for(var l=0;l<c.length;l++)n+=hg(e,t,c[l])+";";else for(var o in c){var d=c[o];if(typeof d!="object"){var i=d;t!=null&&t[i]!==void 0?n+=o+"{"+t[i]+"}":GL(i)&&(n+=Z9(o)+":"+gL(o,i)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&Hxe)throw new Error(fxe);if(Array.isArray(d)&&typeof d[0]=="string"&&(t==null||t[d[0]]===void 0))for(var r=0;r<d.length;r++)GL(d[r])&&(n+=Z9(o)+":"+gL(o,d[r])+";");else{var a=hg(e,t,d);switch(o){case"animation":case"animationName":{n+=Z9(o)+":"+a+";";break}default:n+=o+"{"+a+"}"}}}}return n}var xL=/label:\s*([^\s;{]+)\s*(;|$)/g,Ad;function Od(e,t,c){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,l="";Ad=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,l+=hg(c,t,o);else{var d=o;l+=d[0]}for(var i=1;i<e.length;i++)if(l+=hg(c,t,e[i]),n){var r=o;l+=r[i]}xL.lastIndex=0;for(var a="",s;(s=xL.exec(l))!==null;)a+="-"+s[1];var b=mL(l)+a;return{name:b,styles:l,next:Ad}}var rf=u(E()),Wxe=function(t){return t()},hxe=rf.useInsertionEffect?rf.useInsertionEffect:!1,Bg=hxe||Wxe;var RL=!1,y9=mo.createContext(typeof HTMLElement<"u"?l0({key:"css"}):null),W9=y9.Provider,h9=function(){return(0,vg.useContext)(y9)},Vg=function(t){return(0,vg.forwardRef)(function(c,n){var l=(0,vg.useContext)(y9);return t(c,l,n)})},Cg=mo.createContext({});var af={}.hasOwnProperty,f9="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",HL=function(t,c){var n={};for(var l in c)af.call(c,l)&&(n[l]=c[l]);return n[f9]=t,n},Bxe=function(t){var c=t.cache,n=t.serialized,l=t.isStringTag;return o0(c,n,l),Bg(function(){return Li(c,n,l)}),null},vxe=Vg(function(e,t,c){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var l=e[f9],o=[n],d="";typeof e.className=="string"?d=ia(t.registered,o,e.className):e.className!=null&&(d=e.className+" ");var i=Od(o,void 0,mo.useContext(Cg));d+=t.key+"-"+i.name;var r={};for(var a in e)af.call(e,a)&&a!=="css"&&a!==f9&&!RL&&(r[a]=e[a]);return r.className=d,c&&(r.ref=c),mo.createElement(mo.Fragment,null,mo.createElement(Bxe,{cache:t,serialized:i,isStringTag:typeof l=="string"}),mo.createElement(l,r))}),IL=vxe;var d0=u(E());var Nlt=u(uL()),ZL=function(t,c){var n=arguments;if(c==null||!af.call(c,"css"))return d0.createElement.apply(void 0,n);var l=n.length,o=new Array(l);o[0]=IL,o[1]=HL(t,c);for(var d=2;d<l;d++)o[d]=n[d];return d0.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(ZL||(ZL={}));function Re(){for(var e=arguments.length,t=new Array(e),c=0;c<e;c++)t[c]=arguments[c];return Od(t)}function Qd(){var e=Re.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function fL(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function yL(e,t,c){var n=[],l=ia(e,n,c);return n.length<2?c:l+t(n)}var WL=function(t){var c=l0(t);c.sheet.speedy=function(i){this.isSpeedy=i},c.compat=!0;var n=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var b=Od(a,c.registered,void 0);return Li(c,b,!1),c.key+"-"+b.name},l=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var b=Od(a,c.registered),m="animation-"+b.name;return fL(c,{name:b.name,styles:"@keyframes "+m+"{"+b.styles+"}"}),m},o=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var b=Od(a,c.registered);fL(c,b)},d=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return yL(c.registered,n,Vxe(a))};return{css:n,cx:d,injectGlobal:o,keyframes:l,hydrate:function(r){r.forEach(function(a){c.inserted[a]=!0})},flush:function(){c.registered={},c.inserted={},c.sheet.flush()},sheet:c.sheet,cache:c,getRegisteredStyles:ia.bind(null,c.registered),merge:yL.bind(null,c.registered,n)}},Vxe=function e(t){for(var c="",n=0;n<t.length;n++){var l=t[n];if(l!=null){var o=void 0;switch(typeof l){case"boolean":break;case"object":{if(Array.isArray(l))o=e(l);else{o="";for(var d in l)l[d]&&d&&(o&&(o+=" "),o+=d)}break}default:o=l}o&&(c&&(c+=" "),c+=o)}}return c};var Ud=WL({key:"css"}),Llt=Ud.flush,Dlt=Ud.hydrate,hL=Ud.cx,_lt=Ud.merge,jlt=Ud.getRegisteredStyles,Mlt=Ud.injectGlobal,Plt=Ud.keyframes,Klt=Ud.css,qlt=Ud.sheet,$lt=Ud.cache;var BL=u(T(),1),Cxe=e=>typeof e<"u"&&e!==null&&["name","styles"].every(t=>typeof e[t]<"u"),ec=()=>{let e=h9();return(0,BL.useCallback)((...c)=>{if(e===null)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");return hL(...c.map(n=>Cxe(n)?(Li(e,n,!1),`${e.key}-${n.name}`):n))},[e])};var lb={name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"};function ra(e,t){var c=0,n,l;t=t||{};function o(){var d=n,i=arguments.length,r,a;e:for(;d;){if(d.args.length!==arguments.length){d=d.next;continue}for(a=0;a<i;a++)if(d.args[a]!==arguments[a]){d=d.next;continue e}return d!==n&&(d===l&&(l=d.prev),d.prev.next=d.next,d.next&&(d.next.prev=d.prev),d.next=n,d.prev=null,n.prev=d,n=d),d.val}for(r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return d={args:r,val:e.apply(null,r)},n?(n.prev=d,d.next=n):l=d,c===t.maxSize?(l=l.prev,l.next=null):c++,n=d,d.val}return o.clear=function(){n=null,l=null,c=0},o}for(NL={grad:.9,turn:360,rad:360/(2*Math.PI)},Ed=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},un=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=Math.pow(10,t)),Math.round(c*e)/c+0},xl=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=1),e>c?c:e>t?e:t},Y9=function(e){return(e=isFinite(e)?e%360:0)<0?e+360:e},uf=function(e,t){return t===void 0&&(t=0),un(e,t)%360},V9=function(e){return{r:xl(e.r,0,255),g:xl(e.g,0,255),b:xl(e.b,0,255),a:xl(e.a)}},bf=function(e){return{r:un(e.r),g:un(e.g),b:un(e.b),a:un(e.a,3)}},SL=/^#([0-9a-f]{3,8})$/i,ob=function(e,t){var c=e.charCodeAt(t);return(15&c)+9*(c>>6)},Jg=function(e,t){return ob(e,t)<<4|ob(e,t+1)},C9=[],Fg=0;Fg<256;Fg++)C9.push((Fg<16?"0":"")+Fg.toString(16));var NL,Ed,un,xl,Y9,uf,V9,bf,SL,ob,Jg,C9,Fg,sf=function(e){return C9[xl(e,0,255)]},wL=function(e){var t=e.r,c=e.g,n=e.b,l=e.a,o=Math.max(t,c,n),d=o-Math.min(t,c,n),i=d?o===t?(c-n)/d:o===c?2+(n-t)/d:4+(t-c)/d:0;return{h:60*(i<0?i+6:i),s:o?d/o*100:0,v:o/255*100,a:l}},kL=function(e){var t=e.h,c=e.s,n=e.v,l=e.a;t=t/360*6,c/=100,n/=100;var o=Math.floor(t),d=n*(1-c),i=n*(1-(t-o)*c),r=n*(1-(1-t+o)*c),a=o%6;return{r:255*[n,i,d,d,r,n][a],g:255*[r,n,n,i,d,d][a],b:255*[d,d,r,n,n,i][a],a:l}},vL=function(e){return{h:Y9(e.h),s:xl(e.s,0,100),l:xl(e.l,0,100),a:xl(e.a)}},VL=function(e){return{h:uf(e.h),s:un(e.s),l:un(e.l),a:un(e.a,3)}},CL=function(e){return kL((c=(t=e).s,{h:t.h,s:(c*=((n=t.l)<50?n:100-n)/100)>0?2*c/(n+c)*100:0,v:n+c,a:t.a}));var t,c,n},i0=function(e){return{h:(t=wL(e)).h,s:(l=(200-(c=t.s))*(n=t.v)/100)>0&&l<200?c*n/100/(l<=100?l:200-l)*100:0,l:l/2,a:t.a};var t,c,n,l},Fxe=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,Jxe=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s+([+-]?(?:\d*\.\d+|\d+))%\s+([+-]?(?:\d*\.\d+|\d+))%\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,Yxe=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,Nxe=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,F9={string:[[function(e){if(!SL.test(e))return null;var t=e.length;return t<=5?{r:17*ob(e,1),g:17*ob(e,2),b:17*ob(e,3),a:t===5?un(17*ob(e,4)/255,2):1}:t===7||t===9?{r:Jg(e,1),g:Jg(e,3),b:Jg(e,5),a:t===9?un(Jg(e,7)/255,2):1}:null},"hex"],[function(e){var t=Yxe.exec(e)||Nxe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:V9({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Fxe.exec(e)||Jxe.exec(e);if(!t)return null;var c,n,l=vL({h:(c=t[1],n=t[2],n===void 0&&(n="deg"),Number(c)*(NL[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return CL(l)},"hsl"]],object:[[function(e){var t=e.r,c=e.g,n=e.b,l=e.a,o=l===void 0?1:l;return Ed(t)&&Ed(c)&&Ed(n)?V9({r:Number(t),g:Number(c),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,c=e.s,n=e.l,l=e.a,o=l===void 0?1:l;if(!Ed(t)||!Ed(c)||!Ed(n))return null;var d=vL({h:Number(t),s:Number(c),l:Number(n),a:Number(o)});return CL(d)},"hsl"],[function(e){var t=e.h,c=e.s,n=e.v,l=e.a,o=l===void 0?1:l;if(!Ed(t)||!Ed(c)||!Ed(n))return null;var d=(function(i){return{h:Y9(i.h),s:xl(i.s,0,100),v:xl(i.v,0,100),a:xl(i.a)}})({h:Number(t),s:Number(c),v:Number(n),a:Number(o)});return kL(d)},"hsv"]]},FL=function(e,t){for(var c=0;c<t.length;c++){var n=t[c][0](e);if(n)return[n,t[c][1]]}return[null,void 0]},zL=function(e){return typeof e=="string"?FL(e.trim(),F9.string):typeof e=="object"&&e!==null?FL(e,F9.object):[null,void 0]},TL=function(e){return zL(e)[1]},B9=function(e,t){var c=i0(e);return{h:c.h,s:xl(c.s+100*t,0,100),l:c.l,a:c.a}},v9=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},JL=function(e,t){var c=i0(e);return{h:c.h,s:c.s,l:xl(c.l+100*t,0,100),a:c.a}},J9=(function(){function e(t){this.parsed=zL(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return un(v9(this.rgba),2)},e.prototype.isDark=function(){return v9(this.rgba)<.5},e.prototype.isLight=function(){return v9(this.rgba)>=.5},e.prototype.toHex=function(){return t=bf(this.rgba),c=t.r,n=t.g,l=t.b,d=(o=t.a)<1?sf(un(255*o)):"","#"+sf(c)+sf(n)+sf(l)+d;var t,c,n,l,o,d},e.prototype.toRgb=function(){return bf(this.rgba)},e.prototype.toRgbString=function(){return t=bf(this.rgba),c=t.r,n=t.g,l=t.b,(o=t.a)<1?"rgba("+c+", "+n+", "+l+", "+o+")":"rgb("+c+", "+n+", "+l+")";var t,c,n,l,o},e.prototype.toHsl=function(){return VL(i0(this.rgba))},e.prototype.toHslString=function(){return t=VL(i0(this.rgba)),c=t.h,n=t.s,l=t.l,(o=t.a)<1?"hsla("+c+", "+n+"%, "+l+"%, "+o+")":"hsl("+c+", "+n+"%, "+l+"%)";var t,c,n,l,o},e.prototype.toHsv=function(){return t=wL(this.rgba),{h:uf(t.h),s:un(t.s),v:un(t.v),a:un(t.a,3)};var t},e.prototype.invert=function(){return et({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),et(B9(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),et(B9(this.rgba,-t))},e.prototype.grayscale=function(){return et(B9(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),et(JL(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),et(JL(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(i0(this.rgba).h+t)},e.prototype.alpha=function(t){return typeof t=="number"?et({r:(c=this.rgba).r,g:c.g,b:c.b,a:t}):un(this.rgba.a,3);var c},e.prototype.hue=function(t){var c=i0(this.rgba);return typeof t=="number"?et({h:t,s:c.s,l:c.l,a:c.a}):uf(c.h)},e.prototype.isEqual=function(t){return this.toHex()===et(t).toHex()},e})(),et=function(e){return e instanceof J9?e:new J9(e)},YL=[],pl=function(e){e.forEach(function(t){YL.indexOf(t)<0&&(t(J9,F9),YL.push(t))})};var Rl=function(e,t){var c={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var l in c)n[c[l]]=l;var o={};e.prototype.toName=function(d){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var i,r,a=n[this.toHex()];if(a)return a;if(d?.closest){var s=this.toRgb(),b=1/0,m="black";if(!o.length)for(var X in c)o[X]=new e(c[X]).toRgb();for(var G in c){var g=(i=s,r=o[G],Math.pow(i.r-r.r,2)+Math.pow(i.g-r.g,2)+Math.pow(i.b-r.b,2));g<b&&(b=g,m=G)}return m}},t.string.push([function(d){var i=d.toLowerCase(),r=i==="transparent"?"#0000":c[i];return r?new e(r).toRgb():null},"name"])};var N9;pl([Rl]);function Sxe(){if(!(typeof document>"u")){if(!N9){let e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),N9=e}return N9}}function wxe(e){return typeof e!="string"?!1:et(e).isValid()}function kxe(e){if(typeof e!="string")return"";if(wxe(e))return e;if(!e.includes("var(")||typeof document>"u")return"";let t=Sxe();if(!t)return"";t.style.background=e;let c=window?.getComputedStyle(t).background;return t.style.background="",c||""}var zxe=ra(kxe);function Txe(e){let t=zxe(e);return et(t).isLight()?"#000000":"#ffffff"}function AL(e){return Txe(e)==="#000000"?"dark":"light"}var mf=u(Ze(),1),OL=new RegExp(/-left/g),QL=new RegExp(/-right/g),UL=new RegExp(/Left/g),EL=new RegExp(/Right/g);function Axe(e){return e==="left"?"right":e==="right"?"left":OL.test(e)?e.replace(OL,"-right"):QL.test(e)?e.replace(QL,"-left"):UL.test(e)?e.replace(UL,"Right"):EL.test(e)?e.replace(EL,"Left"):e}var Oxe=(e={})=>Object.fromEntries(Object.entries(e).map(([t,c])=>[Axe(t),c]));function yc(e={},t){return()=>t?(0,mf.isRTL)()?Re(t,"",""):Re(e,"",""):(0,mf.isRTL)()?Re(Oxe(e),"",""):Re(e,"","")}yc.watch=()=>(0,mf.isRTL)();var LL={"default.fontFamily":"-apple-system, system-ui, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function _o(e){return LL[e]??""}var Qxe="#fff",Uxe={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},Exe={yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},aa={accent:"var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9))",accentDarker10:"var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6))",accentDarker20:"var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6))",accentInverted:"var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff))",background:"var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff))",foreground:"var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e))",foregroundInverted:"var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc))",gray:{900:"var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e))",800:"var(--wp-components-color-gray-800, var(--wpds-color-foreground-content-neutral, #1e1e1e))",700:"var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070))",600:"var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d))",400:"var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d))",300:"var(--wp-components-color-gray-300, var(--wpds-color-stroke-surface-neutral, #dbdbdb))",200:"var(--wp-components-color-gray-200, var(--wpds-color-stroke-surface-neutral, #dbdbdb))",100:"var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc))"}},Lxe={background:aa.background,backgroundDisabled:aa.gray[100],border:aa.gray[600],borderHover:aa.gray[700],borderFocus:aa.accent,borderDisabled:"var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb)",textDisabled:"var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d)",darkGrayPlaceholder:`color-mix(in srgb, ${aa.foreground}, transparent 38%)`,lightGrayPlaceholder:`color-mix(in srgb, ${aa.background}, transparent 35%)`},oe=Object.freeze({gray:Uxe,white:Qxe,alert:Exe,theme:aa,ui:Lxe});var Yg="36px",Dxe={controlPaddingX:12,controlPaddingXSmall:8,controlPaddingXLarge:12*1.3334,controlBoxShadowFocus:`0 0 0 0.5px ${oe.theme.accent}`,controlHeight:Yg,controlHeightXSmall:`calc( ${Yg} * 0.6 )`,controlHeightSmall:`calc( ${Yg} * 0.8 )`,controlHeightLarge:`calc( ${Yg} * 1.2 )`,controlHeightXLarge:`calc( ${Yg} * 1.4 )`},de=Object.assign({},Dxe,{colorDivider:"rgba(0, 0, 0, 0.1)",radiusXSmall:"1px",radiusSmall:"2px",radiusMedium:"4px",radiusLarge:"8px",radiusFull:"9999px",radiusRound:"50%",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.4",fontWeight:"normal",fontWeightEmphasis:"600",gridBase:"4px",elevationXSmall:"0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01)",elevationSmall:"0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02)",elevationMedium:"0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02)",elevationLarge:"0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02)",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceColor:oe.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"});var S9=Re("font-size:11px;font-weight:",de.fontWeightEmphasis,";line-height:1.4;text-transform:uppercase;","");var Xo=Object.freeze({SLIDE_DISTANCE:4,SLIDE_DURATION:200,SLIDE_EASING:{function:"cubic-bezier",args:[.25,0,0,1]},FADE_DURATION:100,FADE_EASING:{function:"linear"}}),DL=e=>e.args?.length?`${e.function}(${e.args.join(",")})`:e.function,Vn=Object.freeze({SLIDE_DISTANCE:`${Xo.SLIDE_DISTANCE}px`,SLIDE_DURATION:`${Xo.SLIDE_DURATION}ms`,SLIDE_EASING:DL(Xo.SLIDE_EASING),FADE_DURATION:`${Xo.FADE_DURATION}ms`,FADE_EASING:DL(Xo.FADE_EASING)});var _xe={bottom:"bottom",top:"top","middle left":"left","middle right":"right","bottom left":"bottom-end","bottom center":"bottom","bottom right":"bottom-start","top left":"top-end","top center":"top","top right":"top-start","middle left left":"left","middle left right":"left","middle left bottom":"left-end","middle left top":"left-start","middle right left":"right","middle right right":"right","middle right bottom":"right-end","middle right top":"right-start","bottom left left":"bottom-end","bottom left right":"bottom-end","bottom left bottom":"bottom-end","bottom left top":"bottom-end","bottom center left":"bottom","bottom center right":"bottom","bottom center bottom":"bottom","bottom center top":"bottom","bottom right left":"bottom-start","bottom right right":"bottom-start","bottom right bottom":"bottom-start","bottom right top":"bottom-start","top left left":"top-end","top left right":"top-end","top left bottom":"top-end","top left top":"top-end","top center left":"top","top center right":"top","top center bottom":"top","top center top":"top","top right left":"top-start","top right right":"top-start","top right bottom":"top-start","top right top":"top-start",middle:"bottom","middle center":"bottom","middle center bottom":"bottom","middle center left":"bottom","middle center right":"bottom","middle center top":"bottom"},sa=e=>_xe[e]??"bottom",jxe={top:{originX:.5,originY:1},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},right:{originX:0,originY:.5},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},bottom:{originX:.5,originY:0},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},left:{originX:1,originY:.5},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1},overlay:{originX:.5,originY:.5}},_L=e=>{let t=e.startsWith("top")||e.startsWith("bottom")?"translateY":"translateX",c=e.startsWith("top")||e.startsWith("left")?1:-1;return{style:jxe[e],initial:{opacity:0,[t]:`${Xo.SLIDE_DISTANCE*c}px`},animate:{opacity:1,[t]:0},transition:{opacity:{duration:Xo.FADE_DURATION/1e3,ease:Xo.FADE_EASING.function},[t]:{duration:Xo.SLIDE_DURATION/1e3,ease:Lo(...Xo.SLIDE_EASING.args)}}}};function Mxe(e){return!!e?.top}function Pxe(e){return!!e?.current}var jL=({anchor:e,anchorRef:t,anchorRect:c,getAnchorRect:n,fallbackReferenceElement:l})=>{let o=null;return e?o=e:Mxe(t)?o={getBoundingClientRect(){let d=t.top.getBoundingClientRect(),i=t.bottom.getBoundingClientRect();return new window.DOMRect(d.x,d.y,d.width,i.bottom-d.top)}}:Pxe(t)?o=t.current:t?o=t:c?o={getBoundingClientRect(){return c}}:n?o={getBoundingClientRect(){let d=n(l);return new window.DOMRect(d.x??d.left,d.y??d.top,d.width??d.right-d.left,d.height??d.bottom-d.top)}}:l&&(o=l.parentElement),o??null},w9=e=>e===null||Number.isNaN(e)?void 0:Math.round(e);var ML=u(T(),1),Xf=(0,ML.createContext)({isNestedInTooltip:!1});Xf.displayName="TooltipInternalContext";var db=u(F(),1),Kxe=700,qxe={isNestedInTooltip:!0};function $xe(e,t){let{children:c,className:n,delay:l=Kxe,hideOnClick:o=!0,placement:d,position:i,shortcut:r,text:a,...s}=e,{isNestedInTooltip:b}=(0,ba.useContext)(Xf),m=(0,PL.useInstanceId)(qL,"tooltip"),X=a||r?m:void 0,G=ba.Children.count(c)===1,g;d!==void 0?g=d:i!==void 0&&(g=sa(i),(0,KL.default)("`position` prop in wp.components.tooltip",{since:"6.4",alternative:"`placement` prop"})),g=g||"top";let x=TH({placement:g,showTimeout:l}),H=$(x,"mounted");if(b)return G?(0,db.jsx)(Bd,{...s,render:c}):c;function p(R){return X&&H&&R.props["aria-describedby"]===void 0&&R.props["aria-label"]!==a?(0,ba.cloneElement)(R,{"aria-describedby":X}):R}return(0,db.jsxs)(Xf.Provider,{value:qxe,children:[(0,db.jsx)(NH,{onClick:o?x.hide:void 0,store:x,render:G?p(c):void 0,ref:t,children:G?void 0:c}),G&&(a||r)&&(0,db.jsxs)(JH,{...s,className:w("components-tooltip",n),unmountOnHide:!0,gutter:4,id:X,overflowPadding:.5,store:x,children:[a,r&&(0,db.jsx)(xI,{className:a?"components-tooltip__shortcut":"",shortcut:r})]})]})}var qL=(0,ba.forwardRef)($xe),Hl=qL;var dD=u(cD(),1),iD=u(Gf(),1);function lD(e){return Object.prototype.toString.call(e)==="[object Object]"}function oD(e){var t,c;return lD(e)===!1?!1:(t=e.constructor,t===void 0?!0:(c=t.prototype,!(lD(c)===!1||c.hasOwnProperty("isPrototypeOf")===!1)))}var Ld=u(T(),1),Kot=u(En(),1);var rD=u(F(),1),Sg=(0,Ld.createContext)({});Sg.displayName="ComponentsContext";var gf=()=>(0,Ld.useContext)(Sg);function mpe({value:e}){let t=gf(),c=(0,Ld.useRef)(e);return tb(()=>{(0,iD.default)(c.current,e)&&c.current},[e]),(0,Ld.useMemo)(()=>(0,dD.default)(t??{},e??{},{isMergeableObject:oD}),[t,e])}var Xpe=({children:e,value:t})=>{let c=mpe({value:t});return(0,rD.jsx)(Sg.Provider,{value:c,children:e})},ib=(0,Ld.memo)(Xpe);var GD=u(T(),1),Gdt=u(En(),1);var aD="data-wp-component",sD="data-wp-c16t",rb="__contextSystemKey__";var a0=function(){return a0=Object.assign||function(t){for(var c,n=1,l=arguments.length;n<l;n++){c=arguments[n];for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(t[o]=c[o])}return t},a0.apply(this,arguments)};function bD(e){return e.toLowerCase()}var Gpe=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],gpe=/[^A-Z0-9]+/gi;function mD(e,t){t===void 0&&(t={});for(var c=t.splitRegexp,n=c===void 0?Gpe:c,l=t.stripRegexp,o=l===void 0?gpe:l,d=t.transform,i=d===void 0?bD:d,r=t.delimiter,a=r===void 0?" ":r,s=uD(uD(e,n,"$1\0$2"),o,"\0"),b=0,m=s.length;s.charAt(b)==="\0";)b++;for(;s.charAt(m-1)==="\0";)m--;return s.slice(b,m).split("\0").map(i).join(a)}function uD(e,t,c){return t instanceof RegExp?e.replace(t,c):t.reduce(function(n,l){return n.replace(l,c)},e)}function XD(e,t){return t===void 0&&(t={}),mD(e,a0({delimiter:"."},t))}function xf(e,t){return t===void 0&&(t={}),XD(e,a0({delimiter:"-"},t))}function xpe(e){return`components-${xf(e)}`}var pf=ra(xpe);function ie(e,t){return gD(e,t,{forwardsRef:!0})}function ab(e,t){return gD(e,t)}function gD(e,t,c){let n=c?.forwardsRef?(0,GD.forwardRef)(e):e,l=n[rb]||[t];return Array.isArray(t)&&(l=[...l,...t]),typeof t=="string"&&(l=[...l,t]),Object.assign(n,{[rb]:[...new Set(l)],displayName:t,selector:`.${pf(t)}`})}function k9(e){if(!e)return[];let t=[];return e[rb]&&(t=e[rb]),e.type&&e.type[rb]&&(t=e.type[rb]),t}function wg(e,t){return e?typeof t=="string"?k9(e).includes(t):Array.isArray(t)?t.some(c=>k9(e).includes(c)):!1:!1}var Zdt=u(En(),1);function xD(e){return{[aD]:e}}function pD(){return{[sD]:!0}}function ae(e,t){let n=gf()?.[t]||{},l={...pD(),...xD(t)},{_overrides:o,...d}=n,i=o,r=Object.entries(d).length?Object.assign({},d,e):e,a=r,b=ec()(pf(t),e.className),m=typeof a.renderChildren=="function"?a.renderChildren(r):a.children;for(let X in r)l[X]=r[X];for(let X in i)l[X]=i[X];return m!==void 0&&(l.children=m),l.className=b,l}var RD={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal",wordBreak:"normal"};var ZD=u(T(),1);var HD=u(T(),1),ID=u(F(),1),ppe=/^(data|aria|x)-/i,Rpe=/^on[A-Z]/,Hpe=new Set(`animate animateMotion animateTransform circle clipPath defs desc ellipse | |
| 11 | + feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix | |
| 12 | + feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood | |
| 13 | + feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode | |
| 14 | + feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile | |
| 15 | + feTurbulence filter foreignObject g image line linearGradient marker mask | |
| 16 | + metadata mpath path pattern polygon polyline radialGradient rect set stop svg | |
| 17 | + switch symbol text textPath tspan use view`.split(/\s+/)),Ipe=new Set(`children dangerouslySetInnerHTML key autoFocus defaultValue defaultChecked | |
| 18 | + innerHTML suppressContentEditableWarning suppressHydrationWarning valueLink | |
| 19 | + abbr accept acceptCharset accessKey action allow allowUserMedia | |
| 20 | + allowPaymentRequest allowFullScreen allowTransparency alt async autoComplete | |
| 21 | + autoPlay capture cellPadding cellSpacing challenge charSet checked cite classID | |
| 22 | + className cols colSpan content contentEditable contextMenu controls controlsList | |
| 23 | + coords crossOrigin data dateTime decoding default defer dir disabled | |
| 24 | + disablePictureInPicture disableRemotePlayback download draggable encType | |
| 25 | + enterKeyHint fetchpriority fetchPriority form formAction formEncType formMethod | |
| 26 | + formNoValidate formTarget frameBorder headers height hidden high href hrefLang | |
| 27 | + htmlFor httpEquiv id inputMode integrity is keyParams keyType kind label lang | |
| 28 | + list loading loop low marginHeight marginWidth max maxLength media mediaGroup | |
| 29 | + method min minLength multiple muted name nonce noValidate open optimum pattern | |
| 30 | + placeholder playsInline popover popoverTarget popoverTargetAction poster | |
| 31 | + preload profile radioGroup readOnly referrerPolicy rel required reversed role | |
| 32 | + rows rowSpan sandbox scope scoped scrolling seamless selected shape size sizes | |
| 33 | + slot span spellCheck src srcDoc srcLang srcSet start step style summary | |
| 34 | + tabIndex target title translate type useMap value width wmode wrap about | |
| 35 | + datatype inlist prefix property resource typeof vocab autoCapitalize | |
| 36 | + autoCorrect autoSave color incremental fallback inert itemProp itemScope | |
| 37 | + itemType itemID itemRef on option results security unselectable`.split(/\s+/)),Zpe=new Set(`accentHeight accumulate additive alignmentBaseline allowReorder alphabetic | |
| 38 | + amplitude arabicForm ascent attributeName attributeType autoReverse azimuth | |
| 39 | + baseFrequency baselineShift baseProfile bbox begin bias by calcMode capHeight | |
| 40 | + clip clipPathUnits clipPath clipRule colorInterpolation | |
| 41 | + colorInterpolationFilters colorProfile colorRendering contentScriptType | |
| 42 | + contentStyleType cursor cx cy d decelerate descent diffuseConstant direction | |
| 43 | + display divisor dominantBaseline dur dx dy edgeMode elevation enableBackground | |
| 44 | + end exponent externalResourcesRequired fill fillOpacity fillRule filter | |
| 45 | + filterRes filterUnits floodColor floodOpacity focusable fontFamily fontSize | |
| 46 | + fontSizeAdjust fontStretch fontStyle fontVariant fontWeight format from fr fx | |
| 47 | + fy g1 g2 glyphName glyphOrientationHorizontal glyphOrientationVertical | |
| 48 | + glyphRef gradientTransform gradientUnits hanging horizAdvX horizOriginX | |
| 49 | + ideographic imageRendering in in2 intercept k k1 k2 k3 k4 kernelMatrix | |
| 50 | + kernelUnitLength kerning keyPoints keySplines keyTimes lengthAdjust | |
| 51 | + letterSpacing lightingColor limitingConeAngle local markerEnd markerMid | |
| 52 | + markerStart markerHeight markerUnits markerWidth mask maskContentUnits | |
| 53 | + maskUnits mathematical mode numOctaves offset opacity operator order orient | |
| 54 | + orientation origin overflow overlinePosition overlineThickness panose1 | |
| 55 | + paintOrder pathLength patternContentUnits patternTransform patternUnits | |
| 56 | + pointerEvents points pointsAtX pointsAtY pointsAtZ preserveAlpha | |
| 57 | + preserveAspectRatio primitiveUnits r radius refX refY renderingIntent | |
| 58 | + repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate | |
| 59 | + rx ry scale seed shapeRendering slope spacing specularConstant | |
| 60 | + specularExponent speed spreadMethod startOffset stdDeviation stemh stemv | |
| 61 | + stitchTiles stopColor stopOpacity strikethroughPosition strikethroughThickness | |
| 62 | + string stroke strokeDasharray strokeDashoffset strokeLinecap strokeLinejoin | |
| 63 | + strokeMiterlimit strokeOpacity strokeWidth surfaceScale systemLanguage | |
| 64 | + tableValues targetX targetY textAnchor textDecoration textRendering textLength | |
| 65 | + to transform u1 u2 underlinePosition underlineThickness unicode unicodeBidi | |
| 66 | + unicodeRange unitsPerEm vAlphabetic vHanging vIdeographic vMathematical values | |
| 67 | + vectorEffect version vertAdvY vertOriginX vertOriginY viewBox viewTarget | |
| 68 | + visibility widths wordSpacing writingMode x xHeight x1 x2 xChannelSelector | |
| 69 | + xlinkActuate xlinkArcrole xlinkHref xlinkRole xlinkShow xlinkTitle xlinkType | |
| 70 | + xmlBase xmlns xmlnsXlink xmlLang xmlSpace y y1 y2 yChannelSelector z | |
| 71 | + zoomAndPan`.split(/\s+/)),fpe=new Set(["autofocus","class","for"]);function ype(e,t){return ppe.test(e)||Rpe.test(e)||Ipe.has(e)||fpe.has(e)?!0:Hpe.has(t)&&Zpe.has(e)}function Wpe(e,t){return Object.fromEntries(Object.entries(e).filter(([c])=>ype(c,t)))}function hpe({as:e,...t},c){let n=e||"div",l=typeof n=="string"?Wpe(t,n):t;return(0,ID.jsx)(n,{ref:c,...l})}var Il=(0,HD.forwardRef)(hpe);var fD=u(F(),1);function Bpe({css:e,...t},c){return(0,fD.jsx)(Il,{ref:c,...t})}var vpe=Object.assign((0,ZD.forwardRef)(Bpe),{selector:".components-view"}),Ce=vpe;var yD=u(F(),1);function Vpe(e,t){let{style:c,...n}=ae(e,"VisuallyHidden");return(0,yD.jsx)(Ce,{ref:t,...n,"data-visually-hidden":"",style:{...RD,...c||{}}})}var Cpe=ie(Vpe,"VisuallyHidden"),bt=Cpe;var jo=u(Ze(),1),z9=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],WD={"top left":(0,jo.__)("Top Left"),"top center":(0,jo.__)("Top Center"),"top right":(0,jo.__)("Top Right"),"center left":(0,jo.__)("Center Left"),"center center":(0,jo.__)("Center"),center:(0,jo.__)("Center"),"center right":(0,jo.__)("Center Right"),"bottom left":(0,jo.__)("Bottom Left"),"bottom center":(0,jo.__)("Bottom Center"),"bottom right":(0,jo.__)("Bottom Right")},Rf=z9.flat();function T9(e){let c=(e==="center"?"center center":e)?.replace("-"," ");return Rf.includes(c)?c:void 0}function Hf(e,t){let c=T9(t);if(!c)return;let n=c.replace(" ","-");return`${e}-${n}`}function hD(e,t){let c=t?.replace(e+"-","");return T9(c)}function BD(e="center"){let t=T9(e);if(!t)return;let c=Rf.indexOf(t);return c>-1?c:void 0}var sb=u(F(),1),A9="data-wp-hash";function O9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Jpe(document)),e.__wpStyleRuntime}function Fpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${A9}]`))if(c.getAttribute(A9)===t)return!0;return!1}function VD(e,t,c){if(!e.head)return;let n=O9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Fpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(A9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Jpe(e){let t=O9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)VD(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Ype(e,t){let c=O9();c.styles.set(e,t);for(let n of c.documents.keys())VD(n,e,t)}typeof process>"u",Ype("0c5e50ec66","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid transparent;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var vD={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function CD({id:e,value:t,...c}){return(0,sb.jsx)(Hl,{text:WD[t],children:(0,sb.jsxs)(Bn.Item,{id:e,render:(0,sb.jsx)("span",{...c,className:w(vD.cell,c.className),role:"gridcell"}),children:[(0,sb.jsx)(bt,{children:t}),(0,sb.jsx)("span",{className:vD.point,role:"presentation"})]})})}var If=u(rt(),1);var Q9=u(F(),1),kg=24,zg=7,FD=(kg-3*zg)/2,Npe=2,Spe=4;function wpe({className:e,disablePointerEvents:t=!0,size:c,width:n,height:l,style:o={},value:d="center",...i}){return(0,Q9.jsx)(If.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${kg} ${kg}`,width:c??n??kg,height:c??l??kg,role:"presentation",className:w("component-alignment-matrix-control-icon",e),style:{pointerEvents:t?"none":void 0,...o},...i,children:Rf.map((r,a)=>{let s=BD(d)===a?Spe:Npe;return(0,Q9.jsx)(If.Rect,{x:FD+a%3*zg+(zg-s)/2,y:FD+Math.floor(a/3)*zg+(zg-s)/2,width:s,height:s,fill:"currentColor"},r)})})}var JD=wpe;var s0=u(F(),1),U9="data-wp-hash";function E9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&zpe(document)),e.__wpStyleRuntime}function kpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${U9}]`))if(c.getAttribute(U9)===t)return!0;return!1}function wD(e,t,c){if(!e.head)return;let n=E9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(kpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(U9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function zpe(e){let t=E9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)wD(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Tpe(e,t){let c=E9();c.styles.set(e,t);for(let n of c.documents.keys())wD(n,e,t)}typeof process>"u",Tpe("0c5e50ec66","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid transparent;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var YD={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function kD({className:e,id:t,label:c=(0,Zf.__)("Alignment Matrix Control"),defaultValue:n="center center",value:l,onChange:o,width:d=92,...i}){let r=(0,ND.useInstanceId)(kD,"alignment-matrix-control",t),a=(0,SD.useCallback)(b=>{let m=hD(r,b);m&&o?.(m)},[r,o]),s=w("component-alignment-matrix-control",YD["grid-container"],e);return(0,s0.jsx)(Bn,{defaultActiveId:Hf(r,n),activeId:Hf(r,l),setActiveId:a,rtl:(0,Zf.isRTL)(),render:(0,s0.jsx)("div",{...i,className:s,"aria-label":c,id:r,role:"grid",style:{width:`${d}px`}}),children:z9.map((b,m)=>(0,s0.jsx)(Bn.Row,{render:(0,s0.jsx)("div",{className:YD["grid-row"],role:"row"}),children:b.map(X=>(0,s0.jsx)(CD,{id:Hf(r,X),value:X},X))},m))})}var Ape=Object.assign(kD,{Icon:Object.assign(JD,{displayName:"AlignmentMatrixControl.Icon"})}),L9=Ape;var zD=u(Xt(),1);function Ope(e){return e==="appear"?"top":"left"}function D9(e){if(e.type==="loading")return"components-animate__loading";let{type:t,origin:c=Ope(t)}=e;if(t==="appear"){let[n,l="center"]=c.split(" ");return w("components-animate__appear",{["is-from-"+l]:l!=="center",["is-from-"+n]:n!=="middle"})}if(t==="slide-in")return w("components-animate__slide-in","is-from-"+c)}function Qpe({type:e,options:t={},children:c}){return(0,zD.default)("wp.components.Animate",{since:"7.2",version:"7.4"}),c({className:D9({type:e,...t})})}var TD=Qpe;var v_=u(T(),1),Iy=u(Ze(),1);var AD=u(Xt(),1);var ff=u(T(),1),_9=["40em","52em","64em"],Upe=(e={})=>{let{defaultIndex:t=0,enabled:c=!0}=e;if(typeof t!="number")throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>_9.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${_9.length} breakpoints, got index ${t}`);let[n,l]=(0,ff.useState)(t);return(0,ff.useEffect)(()=>{if(!c)return;let o=()=>_9.filter(i=>typeof window<"u"?window.matchMedia(`screen and (min-width: ${i})`).matches:!1).length,d=()=>{let i=o();n!==i&&l(i)};return d(),typeof window<"u"&&window.addEventListener("resize",d),()=>{typeof window<"u"&&window.removeEventListener("resize",d)}},[n,c]),n};function Tg(e,t={}){let c=Array.isArray(e)&&e.length>1,n=Upe({...t,enabled:c});if(!Array.isArray(e)&&typeof e!="function")return e;let l=e||[];return l[n>=l.length?l.length-1:n]}var Epe="4px";function K(e){if(typeof e>"u")return;if(!e)return"0";let t=typeof e=="number"?e:Number(e);return typeof window<"u"&&window.CSS?.supports?.("margin",e.toString())||Number.isNaN(t)?e.toString():`calc(${Epe} * ${e})`}var j9="data-wp-hash";function M9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Dpe(document)),e.__wpStyleRuntime}function Lpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${j9}]`))if(c.getAttribute(j9)===t)return!0;return!1}function OD(e,t,c){if(!e.head)return;let n=M9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Lpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(j9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Dpe(e){let t=M9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)OD(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function _pe(e,t){let c=M9();c.styles.set(e,t);for(let n of c.documents.keys())OD(n,e,t)}typeof process>"u",_pe("1931a27616",".e518617e7c3a18e7__flex{align-items:var(--wp-components-flex-align);display:flex;flex-direction:var(--wp-components-flex-direction);flex-wrap:var(--wp-components-flex-wrap);gap:var(--wp-components-flex-gap);justify-content:var(--wp-components-flex-justify)}.e4a76957e0b12292__expanded-column{height:100%}.cc39999a5fb580d4__expanded-row{width:100%}.bc09d0edcc10c304__item{display:var(--wp-components-flex-item-display);max-height:100%;max-width:100%;min-height:0;min-width:0}.c184ec8e81027f31__block{flex:1}.f9694ed4faabfc82__items-column>*{min-height:0}._3896336788892095__items-row>*{min-width:0}");var Ag={flex:"e518617e7c3a18e7__flex","expanded-column":"e4a76957e0b12292__expanded-column","expanded-row":"cc39999a5fb580d4__expanded-row",item:"bc09d0edcc10c304__item",block:"c184ec8e81027f31__block","items-column":"f9694ed4faabfc82__items-column","items-row":"_3896336788892095__items-row"};function jpe(e){let{isReversed:t,...c}=e;return typeof t<"u"?((0,AD.default)("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...c,direction:t?"row-reverse":"row"}):c}function b0(e){let{align:t,className:c,direction:n="row",expanded:l=!0,gap:o=2,justify:d="space-between",style:i,wrap:r=!1,...a}=ae(jpe(e),"Flex"),s=Array.isArray(n)?n:[n],b=Tg(s),m=typeof b=="string"&&!!b.includes("column"),X={...i,"--wp-components-flex-align":t??(m?"normal":"center"),"--wp-components-flex-direction":b,"--wp-components-flex-wrap":r?"wrap":"nowrap","--wp-components-flex-gap":K(o),"--wp-components-flex-justify":d};return{...a,className:w(Ag.flex,m?Ag["items-column"]:Ag["items-row"],l&&(m?Ag["expanded-column"]:Ag["expanded-row"]),c),style:X,isColumn:m}}var yf=u(T(),1),P9=(0,yf.createContext)({flexItemDisplay:void 0}),QD=()=>(0,yf.useContext)(P9);var K9=u(F(),1);function Mpe(e,t){let{children:c,isColumn:n,...l}=b0(e);return(0,K9.jsx)(P9.Provider,{value:{flexItemDisplay:n?"block":void 0},children:(0,K9.jsx)(Ce,{...l,ref:t,children:c})})}var Ppe=ie(Mpe,"Flex"),Mt=Ppe;var q9="data-wp-hash";function $9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&qpe(document)),e.__wpStyleRuntime}function Kpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${q9}]`))if(c.getAttribute(q9)===t)return!0;return!1}function ED(e,t,c){if(!e.head)return;let n=$9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Kpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(q9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function qpe(e){let t=$9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)ED(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function $pe(e,t){let c=$9();c.styles.set(e,t);for(let n of c.documents.keys())ED(n,e,t)}typeof process>"u",$pe("1931a27616",".e518617e7c3a18e7__flex{align-items:var(--wp-components-flex-align);display:flex;flex-direction:var(--wp-components-flex-direction);flex-wrap:var(--wp-components-flex-wrap);gap:var(--wp-components-flex-gap);justify-content:var(--wp-components-flex-justify)}.e4a76957e0b12292__expanded-column{height:100%}.cc39999a5fb580d4__expanded-row{width:100%}.bc09d0edcc10c304__item{display:var(--wp-components-flex-item-display);max-height:100%;max-width:100%;min-height:0;min-width:0}.c184ec8e81027f31__block{flex:1}.f9694ed4faabfc82__items-column>*{min-height:0}._3896336788892095__items-row>*{min-width:0}");var UD={flex:"e518617e7c3a18e7__flex","expanded-column":"e4a76957e0b12292__expanded-column","expanded-row":"cc39999a5fb580d4__expanded-row",item:"bc09d0edcc10c304__item",block:"c184ec8e81027f31__block","items-column":"f9694ed4faabfc82__items-column","items-row":"_3896336788892095__items-row"};function u0(e){let{className:t,display:c,isBlock:n=!1,style:l,...o}=ae(e,"FlexItem"),d=QD().flexItemDisplay,r={...l,"--wp-components-flex-item-display":c||d||"block"};return{...o,className:w(UD.item,n&&UD.block,t),style:r}}var LD=u(F(),1);function eRe(e,t){let c=u0(e);return(0,LD.jsx)(Ce,{...c,ref:t})}var tRe=ie(eRe,"FlexItem"),Cn=tRe;function eV(e){let t=ae(e,"FlexBlock");return u0({isBlock:!0,...t})}var DD=u(F(),1);function cRe(e,t){let c=eV(e);return(0,DD.jsx)(Ce,{...c,ref:t})}var nRe=ie(cRe,"FlexBlock"),Pn=nRe;var tV="data-wp-hash";function cV(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&oRe(document)),e.__wpStyleRuntime}function lRe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${tV}]`))if(c.getAttribute(tV)===t)return!0;return!1}function _D(e,t,c){if(!e.head)return;let n=cV(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(lRe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(tV,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function oRe(e){let t=cV();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)_D(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function dRe(e,t){let c=cV();c.styles.set(e,t);for(let n of c.documents.keys())_D(n,e,t)}typeof process>"u",dRe("f61ad86e00","._91de5852bdb7a4b8__spacer{--wp-components-spacer-margin:initial;--wp-components-spacer-margin-block-start:initial;--wp-components-spacer-margin-block-end:initial;--wp-components-spacer-margin-inline-start:initial;--wp-components-spacer-margin-inline-end:initial;--wp-components-spacer-padding:initial;--wp-components-spacer-padding-block-start:initial;--wp-components-spacer-padding-block-end:initial;--wp-components-spacer-padding-inline-start:initial;--wp-components-spacer-padding-inline-end:initial;margin:var(--wp-components-spacer-margin);margin-block-end:var(--wp-components-spacer-margin-block-end,var(--wp-components-spacer-margin));margin-block-start:var(--wp-components-spacer-margin-block-start,var(--wp-components-spacer-margin));margin-inline-end:var(--wp-components-spacer-margin-inline-end,var(--wp-components-spacer-margin));margin-inline-start:var(--wp-components-spacer-margin-inline-start,var(--wp-components-spacer-margin));padding:var(--wp-components-spacer-padding);padding-block-end:var(--wp-components-spacer-padding-block-end,var(--wp-components-spacer-padding));padding-block-start:var(--wp-components-spacer-padding-block-start,var(--wp-components-spacer-padding));padding-inline-end:var(--wp-components-spacer-padding-inline-end,var(--wp-components-spacer-padding));padding-inline-start:var(--wp-components-spacer-padding-inline-start,var(--wp-components-spacer-padding))}");var iRe={spacer:"_91de5852bdb7a4b8__spacer"};function Zl(e){return typeof e<"u"&&e!==null}function jD(e){let{className:t,margin:c,marginBottom:n=2,marginLeft:l,marginRight:o,marginTop:d,marginX:i,marginY:r,padding:a,paddingBottom:s,paddingLeft:b,paddingRight:m,paddingTop:X,paddingX:G,paddingY:g,style:x,...H}=ae(e,"Spacer"),p={};Zl(c)&&(p["--wp-components-spacer-margin"]=K(c)),Zl(r)&&(p["--wp-components-spacer-margin-block-start"]=K(r),p["--wp-components-spacer-margin-block-end"]=K(r)),Zl(i)&&(p["--wp-components-spacer-margin-inline-start"]=K(i),p["--wp-components-spacer-margin-inline-end"]=K(i)),Zl(d)&&(p["--wp-components-spacer-margin-block-start"]=K(d)),Zl(n)&&(p["--wp-components-spacer-margin-block-end"]=K(n)),Zl(l)&&(p["--wp-components-spacer-margin-inline-start"]=K(l)),Zl(o)&&(p["--wp-components-spacer-margin-inline-end"]=K(o)),Zl(a)&&(p["--wp-components-spacer-padding"]=K(a)),Zl(g)&&(p["--wp-components-spacer-padding-block-start"]=K(g),p["--wp-components-spacer-padding-block-end"]=K(g)),Zl(G)&&(p["--wp-components-spacer-padding-inline-start"]=K(G),p["--wp-components-spacer-padding-inline-end"]=K(G)),Zl(X)&&(p["--wp-components-spacer-padding-block-start"]=K(X)),Zl(s)&&(p["--wp-components-spacer-padding-block-end"]=K(s)),Zl(b)&&(p["--wp-components-spacer-padding-inline-start"]=K(b)),Zl(m)&&(p["--wp-components-spacer-padding-inline-end"]=K(m));let R={...p,...x};return{...H,className:w(iRe.spacer,t),style:R}}var MD=u(F(),1);function rRe(e,t){let c=jD(e);return(0,MD.jsx)(Ce,{...c,ref:t})}var aRe=ie(rRe,"Spacer"),Pc=aRe;var Ry=u(T(),1),H0=u(Ze(),1);var Wf=u(T(),1),Kc=(0,Wf.forwardRef)(({icon:e,size:t=24,style:c,...n},l)=>{let o=e.props.style,d=o||c?{...o,...c}:void 0;return(0,Wf.cloneElement)(e,{width:t,height:t,...n,...d?{style:d}:{},ref:l})});var hf=u(rt(),1),nV=u(F(),1),Bf=(0,nV.jsx)(hf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,nV.jsx)(hf.Path,{d:"M20 12L5 12M10 7L5 12L10 17",vectorEffect:"non-scaling-stroke"})});var vf=u(rt(),1),lV=u(F(),1),Vf=(0,lV.jsx)(vf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,lV.jsx)(vf.Path,{d:"M4 12L19 12M14 17L19 12L14 7",vectorEffect:"non-scaling-stroke"})});var Cf=u(rt(),1),oV=u(F(),1),dV=(0,oV.jsx)(Cf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,oV.jsx)(Cf.Path,{d:"M12 8L12 13M12 14.5L12 16M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})});var Ff=u(rt(),1),iV=u(F(),1),qc=(0,iV.jsx)(Ff.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,iV.jsx)(Ff.Path,{d:"M7 12L10 15L17 8",vectorEffect:"non-scaling-stroke"})});var Jf=u(rt(),1),rV=u(F(),1),Og=(0,rV.jsx)(Jf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,rV.jsx)(Jf.Path,{d:"M7 11L12 15L17 11",vectorEffect:"non-scaling-stroke"})});var Yf=u(rt(),1),aV=u(F(),1),Qg=(0,aV.jsx)(Yf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,aV.jsx)(Yf.Path,{d:"M10.5 8.5L13.5 12L10.5 15.5",vectorEffect:"non-scaling-stroke"})});var Nf=u(rt(),1),sV=u(F(),1),bV=(0,sV.jsx)(Nf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,sV.jsx)(Nf.Path,{d:"M10 6.5L15 12L10 17.5",vectorEffect:"non-scaling-stroke"})});var Sf=u(rt(),1),uV=u(F(),1),mV=(0,uV.jsx)(Sf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,uV.jsx)(Sf.Path,{d:"M7 13L12 9L17 13",vectorEffect:"non-scaling-stroke"})});var wf=u(rt(),1),XV=u(F(),1),Di=(0,XV.jsx)(wf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,XV.jsx)(wf.Path,{d:"M7.75 16.25L16.25 7.75M16.25 16.25L7.75 7.75",vectorEffect:"non-scaling-stroke"})});var kf=u(rt(),1),GV=u(F(),1),Ug=(0,GV.jsx)(kf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,GV.jsx)(kf.Path,{d:"M5 19L19 5M19 19L5 5",vectorEffect:"non-scaling-stroke"})});var Eg=u(rt(),1),Lg=u(F(),1),gV=(0,Lg.jsxs)(Eg.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,Lg.jsx)(Eg.Path,{d:"M20.25 6.75V19C20.25 19.6904 19.6904 20.25 19 20.25H6.75",vectorEffect:"non-scaling-stroke"}),(0,Lg.jsx)(Eg.Path,{d:"M3.75 5C3.75 4.30964 4.30964 3.75 5 3.75H16C16.6904 3.75 17.25 4.30964 17.25 5V16C17.25 16.6904 16.6904 17.25 16 17.25H5C4.30964 17.25 3.75 16.6904 3.75 16V5Z",vectorEffect:"non-scaling-stroke"})]});var zf=u(rt(),1),xV=u(F(),1),Dg=(0,xV.jsx)(zf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,xV.jsx)(zf.Path,{d:"M12 9L12 14M12 15.5V17M11.1284 5.04947L3.83827 18.0097C3.46331 18.6763 3.94502 19.5 4.70985 19.5H19.2902C20.055 19.5 20.5367 18.6763 20.1617 18.0097L12.8716 5.04947C12.4893 4.36982 11.5107 4.36982 11.1284 5.04947Z",vectorEffect:"non-scaling-stroke"})});var Tf=u(rt(),1),pV=u(F(),1),RV=(0,pV.jsx)(Tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,pV.jsx)(Tf.Path,{d:"M12 16V11M12 9.5V8M19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12C4.75 7.99594 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})});var Af=u(rt(),1),HV=u(F(),1),IV=(0,HV.jsx)(Af.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,HV.jsx)(Af.Path,{d:"M5 12H8M10.5 12H13.5M16 12H19",vectorEffect:"non-scaling-stroke"})});var Of=u(rt(),1),ZV=u(F(),1),fV=(0,ZV.jsx)(Of.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,ZV.jsx)(Of.Path,{d:"M5.25 12H6.75M8.25 12H9.75M11.25 12H12.75M14.25 12H15.75M17.25 12H18.75",vectorEffect:"non-scaling-stroke"})});var Qf=u(rt(),1),yV=u(F(),1),_g=(0,yV.jsx)(Qf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,yV.jsx)(Qf.Path,{d:"M5 12H19",vectorEffect:"non-scaling-stroke"})});var Uf=u(rt(),1),WV=u(F(),1),jg=(0,WV.jsx)(Uf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,WV.jsx)(Uf.Path,{d:"M9.5 12H12.5M10 7.75H8.25C5.90279 7.75 4 9.65279 4 12C4 14.3472 5.90279 16.25 8.25 16.25H10.2333M14 16.25H15.75C18.0972 16.25 20 14.3472 20 12C20 9.65279 18.0972 7.75 15.75 7.75H14.7667M8.5 19.5L16.5 4.5",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})});var Ef=u(rt(),1),hV=u(F(),1),Mg=(0,hV.jsx)(Ef.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,hV.jsx)(Ef.Path,{d:"M9.5 12L14.5 12M10 7.75H8.25C5.90279 7.75 4 9.65279 4 12C4 14.3472 5.90279 16.25 8.25 16.25H10M14 16.25H15.75C18.0972 16.25 20 14.3472 20 12C20 9.65279 18.0972 7.75 15.75 7.75L14 7.75",vectorEffect:"non-scaling-stroke"})});var Lf=u(rt(),1),BV=u(F(),1),vV=(0,BV.jsx)(Lf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,BV.jsx)(Lf.Path,{d:"M5 12H19M5 18.25H19M5 5.75H19",vectorEffect:"non-scaling-stroke"})});var _i=u(rt(),1),ji=u(F(),1),Pg=(0,ji.jsxs)(_i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,ji.jsx)(_i.Path,{d:"M11.75 18.25L12.25 18.25L12.25 17.75L11.75 17.75L11.75 18.25Z",fill:"currentColor",stroke:"none"}),(0,ji.jsx)(_i.Path,{d:"M11.75 12.25L12.25 12.25L12.25 11.75L11.75 11.75L11.75 12.25Z",fill:"currentColor",stroke:"none"}),(0,ji.jsx)(_i.Path,{d:"M11.75 6.25L12.25 6.25L12.25 5.75L11.75 5.75L11.75 6.25Z",fill:"currentColor",stroke:"none"}),(0,ji.jsx)(_i.Path,{d:"M11.75 18.25L12.25 18.25L12.25 17.75L11.75 17.75L11.75 18.25Z",vectorEffect:"non-scaling-stroke"}),(0,ji.jsx)(_i.Path,{d:"M11.75 12.25L12.25 12.25L12.25 11.75L11.75 11.75L11.75 12.25Z",vectorEffect:"non-scaling-stroke"}),(0,ji.jsx)(_i.Path,{d:"M11.75 6.25L12.25 6.25L12.25 5.75L11.75 5.75L11.75 6.25Z",vectorEffect:"non-scaling-stroke"})]});var Df=u(rt(),1),VV=u(F(),1),Mi=(0,VV.jsx)(Df.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,VV.jsx)(Df.Path,{d:"M12 18V6M18 12H6",vectorEffect:"non-scaling-stroke"})});var Kg=u(rt(),1),qg=u(F(),1),$g=(0,qg.jsxs)(Kg.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,qg.jsx)(Kg.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"}),(0,qg.jsx)(Kg.Path,{d:"M9 12L11 14L15 10",vectorEffect:"non-scaling-stroke"})]});var _f=u(rt(),1),CV=u(F(),1),ex=(0,CV.jsx)(_f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,CV.jsx)(_f.Path,{d:"M7 12H17",vectorEffect:"non-scaling-stroke"})});var jf=u(rt(),1),FV=u(F(),1),JV=(0,FV.jsx)(jf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,FV.jsx)(jf.Path,{d:"M5 19L9.28769 14.7123M18.25 11C18.25 13.8995 15.8995 16.25 13 16.25C10.1005 16.25 7.75 13.8995 7.75 11C7.75 8.10051 10.1005 5.75 13 5.75C15.8995 5.75 18.25 8.10051 18.25 11Z",vectorEffect:"non-scaling-stroke"})});var Mf=u(rt(),1),YV=u(F(),1),tx=(0,YV.jsx)(Mf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,YV.jsx)(Mf.Path,{d:"M5 8H19M19 16H5M10.75 8C10.75 8.82843 10.0784 9.5 9.25 9.5C8.42157 9.5 7.75 8.82843 7.75 8C7.75 7.17157 8.42157 6.5 9.25 6.5C10.0784 6.5 10.75 7.17157 10.75 8ZM16.25 16C16.25 16.8284 15.5784 17.5 14.75 17.5C13.9216 17.5 13.25 16.8284 13.25 16C13.25 15.1716 13.9216 14.5 14.75 14.5C15.5784 14.5 16.25 15.1716 16.25 16Z",vectorEffect:"non-scaling-stroke"})});var Pf=u(rt(),1),NV=u(F(),1),cx=(0,NV.jsx)(Pf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,NV.jsx)(Pf.Path,{d:"M11.0537 4.81202C11.6819 4.72933 12.3181 4.72933 12.9463 4.81202M14.7744 5.30187C15.3598 5.54434 15.9109 5.86249 16.4135 6.24819M17.7518 7.58648C18.1375 8.08914 18.4557 8.64019 18.6981 9.22555M19.188 11.0537C19.2707 11.6819 19.2707 12.3181 19.188 12.9463M18.6981 14.7744C18.4557 15.3598 18.1375 15.9109 17.7518 16.4135M16.4135 17.7518C15.9109 18.1375 15.3598 18.4557 14.7744 18.6981M12.9463 19.188C12.3181 19.2707 11.6819 19.2707 11.0537 19.188M9.22555 18.6981C8.64019 18.4557 8.08914 18.1375 7.58648 17.7518M6.24819 16.4135C5.86249 15.9109 5.54434 15.3598 5.30187 14.7744M4.81202 12.9463C4.72933 12.3181 4.72933 11.6819 4.81202 11.0537M5.30187 9.22555C5.54434 8.64019 5.86249 8.08914 6.24819 7.58648M7.58648 6.24819C8.08914 5.86249 8.64019 5.54434 9.22555 5.30187",vectorEffect:"non-scaling-stroke"})});var Kf=u(rt(),1),SV=u(F(),1),wV=(0,SV.jsx)(Kf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,SV.jsx)(Kf.Path,{d:"M8 18.25L16 18.25M10 21.25H14M18 9C18 12.3137 15.3137 15 12 15C8.68629 15 6 12.3137 6 9C6 5.68629 8.68629 3 12 3C15.3137 3 18 5.68629 18 9Z",vectorEffect:"non-scaling-stroke"})});var qf=u(rt(),1),kV=u(F(),1),zV=(0,kV.jsx)(qf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,kV.jsx)(qf.Path,{d:"M4.75 15V19.25H12M12 19.25V4.5M12 19.25H19.25V15M17.5 10L12 4.5L6.5 10",vectorEffect:"non-scaling-stroke"})});var H_=u(me(),1),I_=u(Xt(),1);var ua=u(E());x2();var sRe=!1,bRe=g2,uRe=function(t){return t!=="theme"},PD=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bRe:uRe},KD=function(t,c,n){var l;if(c){var o=c.shouldForwardProp;l=t.__emotion_forwardProp&&o?function(d){return t.__emotion_forwardProp(d)&&o(d)}:o}return typeof l!="function"&&n&&(l=t.__emotion_forwardProp),l},mRe=function(t){var c=t.cache,n=t.serialized,l=t.isStringTag;return o0(c,n,l),Bg(function(){return Li(c,n,l)}),null},q=function e(t,c){var n=t.__emotion_real===t,l=n&&t.__emotion_base||t,o,d;c!==void 0&&(o=c.label,d=c.target);var i=KD(t,c,n),r=i||PD(l),a=!r("as");return function(){var s=arguments,b=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&b.push("label:"+o+";"),s[0]==null||s[0].raw===void 0)b.push.apply(b,s);else{var m=s[0];b.push(m[0]);for(var X=s.length,G=1;G<X;G++)b.push(s[G],m[G])}var g=Vg(function(x,H,p){var R=a&&x.as||l,I="",f=[],y=x;if(x.theme==null){y={};for(var Z in x)y[Z]=x[Z];y.theme=ua.useContext(Cg)}typeof x.className=="string"?I=ia(H.registered,f,x.className):x.className!=null&&(I=x.className+" ");var W=Od(b.concat(f),H.registered,y);I+=H.key+"-"+W.name,d!==void 0&&(I+=" "+d);var v=a&&i===void 0?PD(R):r,h={};for(var C in x)a&&C==="as"||v(C)&&(h[C]=x[C]);return h.className=I,p&&(h.ref=p),ua.createElement(ua.Fragment,null,ua.createElement(mRe,{cache:H,serialized:W,isStringTag:typeof R=="string"}),ua.createElement(R,h))});return g.displayName=o!==void 0?o:"Styled("+(typeof l=="string"?l:l.displayName||l.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_styles=b,g.__emotion_forwardProp=i,Object.defineProperty(g,"toString",{value:function(){return d===void 0&&sRe?"NO_COMPONENT_SELECTOR":"."+d}}),g.withComponent=function(x,H){var p=e(x,Wg({},c,H,{shouldForwardProp:KD(g,H,!0)}));return p.apply(void 0,b)},g}};var d_=u(me(),1),i_=u(T(),1);var H7=u(me(),1),I7=u(T(),1);var g7=u(T(),1);var m0=u(T(),1);var $f="\u2026",ma={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},XRe={ellipsis:$f,ellipsizeMode:ma.auto,limit:0,numberOfLines:0};function GRe(e,t,c,n){if(typeof e!="string")return"";let l=e.length,o=~~t,d=~~c,i=Td(n)?n:$f;return o===0&&d===0||o>=l||d>=l||o+d>=l?e:d===0?e.slice(0,o)+i:e.slice(0,o)+i+e.slice(l-d)}function qD(e="",t){let c={...XRe,...t},{ellipsis:n,ellipsizeMode:l,limit:o}=c;if(l===ma.none)return e;let d,i;switch(l){case ma.head:d=0,i=o;break;case ma.middle:d=Math.floor(o/2),i=Math.floor(o/2);break;default:d=o,i=0}return l!==ma.auto?GRe(e,d,i,n):e}var AV="data-wp-hash";function OV(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&xRe(document)),e.__wpStyleRuntime}function gRe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${AV}]`))if(c.getAttribute(AV)===t)return!0;return!1}function $D(e,t,c){if(!e.head)return;let n=OV(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(gRe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(AV,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function xRe(e){let t=OV();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)$D(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function pRe(e,t){let c=OV();c.styles.set(e,t);for(let n of c.documents.keys())$D(n,e,t)}typeof process>"u",pRe("beeae56da8","._51f2afb77f24a721__truncate{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.d232bf8e2132288d__is-line-clamp{-webkit-box-orient:vertical;-webkit-line-clamp:var(--wp-components-truncate-lines);display:-webkit-box;overflow:hidden}.d232bf8e2132288d__is-line-clamp._95bf20b727db236f__is-single-line{word-break:break-all}");var TV={truncate:"_51f2afb77f24a721__truncate","is-line-clamp":"d232bf8e2132288d__is-line-clamp","is-single-line":"_95bf20b727db236f__is-single-line"};function nx(e){let{className:t,children:c,ellipsis:n=$f,ellipsizeMode:l=ma.auto,limit:o=0,numberOfLines:d=0,style:i,...r}=ae(e,"Truncate"),a;typeof c=="string"?a=c:typeof c=="number"&&(a=c.toString());let s=a?qD(a,{ellipsis:n,ellipsizeMode:l,limit:o,numberOfLines:d}):c,b=!!a&&l===ma.auto,m=b&&!!d,X=m&&d===1,G=w(b&&!d&&TV.truncate,m&&TV["is-line-clamp"],X&&TV["is-single-line"],t),g=m?{...i,"--wp-components-truncate-lines":d}:i;return{...r,className:G,style:g,children:s}}var e7=u(F(),1);function RRe(e,t){let c=nx(e);return(0,e7.jsx)(Ce,{as:"span",...c,ref:t})}var HRe=ie(RRe,"Truncate"),Pi=HRe;var _V={};Fl(_V,{Text:()=>QV,block:()=>UV,destructive:()=>EV,highlighterText:()=>DV,muted:()=>LV,positive:()=>IRe,upperCase:()=>ZRe});var QV=Re("color:",oe.theme.foreground,";line-height:",de.fontLineHeightBase,";margin:0;text-wrap:pretty;",""),UV={name:"4zleql",styles:"display:block"},IRe=Re("color:",oe.alert.green,";",""),EV=Re("color:",oe.alert.red,";",""),LV=Re("color:",oe.theme.gray[700],";",""),DV=Re("mark{background:",oe.alert.yellow,";border-radius:",de.radiusSmall,";box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),ZRe={name:"50zrmy",styles:"text-transform:uppercase"};var n7=u(c7(),1),jV=u(T(),1),fRe=e=>{let t={};for(let c in e)t[c.toLowerCase()]=e[c];return t},yRe=ra(fRe);function l7({activeClassName:e="",activeIndex:t=-1,activeStyle:c,autoEscape:n,caseSensitive:l=!1,children:o,findChunks:d,highlightClassName:i="",highlightStyle:r={},highlightTag:a="mark",sanitize:s,searchWords:b=[],unhighlightClassName:m="",unhighlightStyle:X}){if(!o)return null;if(typeof o!="string")return o;let G=o,g=(0,n7.findAll)({autoEscape:n,caseSensitive:l,findChunks:d,sanitize:s,searchWords:b,textToHighlight:G}),x=a,H=-1,p="",R;return g.map((f,y)=>{let Z=G.substr(f.start,f.end-f.start);if(f.highlight){H++;let W;typeof i=="object"?l?W=i[Z]:(i=yRe(i),W=i[Z.toLowerCase()]):W=i;let v=H===+t;p=`${W} ${v?e:""}`,R=v===!0&&c!==null?Object.assign({},r,c):r;let h={children:Z,className:p,key:y,style:R};return typeof x!="string"&&(h.highlightIndex=H),(0,jV.createElement)(x,h)}return(0,jV.createElement)("span",{children:Z,className:m,key:y,style:X})})}var MV=13,o7={body:MV,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},WRe=[1,2,3,4,5,6].flatMap(e=>[e,e.toString()]);function ey(e=MV){if(e in o7)return ey(o7[e]);if(typeof e!="number"){let c=parseFloat(e);if(Number.isNaN(c))return e;e=c}return`calc(${`(${e} / ${MV})`} * ${de.fontSize})`}function d7(e=3){if(!WRe.includes(e))return ey(e);let t=`fontSizeH${e}`;return de[t]}function i7(e,t){if(t)return t;if(!e)return;let c=`calc(${de.controlHeight} + ${K(2)})`;switch(e){case"large":c=`calc(${de.controlHeightLarge} + ${K(2)})`;break;case"small":c=`calc(${de.controlHeightSmall} + ${K(2)})`;break;case"xSmall":c=`calc(${de.controlHeightXSmall} + ${K(2)})`;break;default:break}return c}var hRe={name:"50zrmy",styles:"text-transform:uppercase"};function lx(e){let{adjustLineHeightForInnerControls:t,align:c,children:n,className:l,color:o,ellipsizeMode:d,isDestructive:i=!1,display:r,highlightEscape:a=!1,highlightCaseSensitive:s=!1,highlightWords:b,highlightSanitize:m,isBlock:X=!1,letterSpacing:G,lineHeight:g,optimizeReadabilityFor:x,size:H,truncate:p=!1,upperCase:R=!1,variant:I,weight:f=de.fontWeight,...y}=ae(e,"Text"),Z=n,W=Array.isArray(b),v=H==="caption";if(W){if(typeof n!="string")throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");Z=l7({autoEscape:a,children:n,caseSensitive:s,searchWords:b,sanitize:m})}let h=ec(),C=(0,m0.useMemo)(()=>{let Y=i7(t,g),J=Re({color:o,display:r,fontSize:ey(H),fontWeight:f,lineHeight:Y,letterSpacing:G,textAlign:c},"",""),k=hRe,N=null;x&&(N=AL(x)==="dark"?Re({color:oe.gray[900]},"",""):Re({color:oe.white},"",""));let A=Re(QV,J,N,i&&EV,!!W&&DV,X&&UV,v&&LV,I&&_V[I],R&&k,"","");return h(A,l)},[t,c,l,o,h,r,X,v,i,W,G,g,x,H,R,I,f]),B;p===!0&&(B="auto"),p===!1&&(B="none");let V={...y,className:C,children:n,ellipsizeMode:d||B},S=nx(V);return!p&&Array.isArray(n)&&(Z=m0.Children.map(n,Y=>typeof Y!="object"||Y===null||!("props"in Y)?Y:wg(Y,["Link"])?(0,m0.cloneElement)(Y,{size:Y.props.size||"inherit"}):Y)),{...S,children:p?S.children:Z}}var r7=u(F(),1);function BRe(e,t){let c=lx(e);return(0,r7.jsx)(Ce,{as:"span",...c,ref:t})}var vRe=ie(BRe,"Text"),Kn=vRe;var a7=u(F(),1);var s7=q("span",{target:"em5sgkm8"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),b7=q("span",{target:"em5sgkm7"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),VRe=({disabled:e,isBorderless:t})=>t?"transparent":e?oe.ui.borderDisabled:oe.ui.border,CRe={name:"v60t78",styles:"@media ( forced-colors: active ){border-color:GrayText;}"},FRe=({disabled:e,isBorderless:t})=>{if(!(!e||t))return CRe},Mo=q("div",{target:"em5sgkm6"})("&&&{box-sizing:border-box;border-color:",VRe,";border-radius:inherit;border-style:solid;border-width:1px;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",yc({paddingLeft:2})," ",FRe,";}"),u7=q(Mt,{target:"em5sgkm5"})("box-sizing:border-box;position:relative;border-radius:",de.radiusSmall,";padding-top:0;"),JRe=({disabled:e})=>{if(e)return Re("color:",oe.ui.textDisabled,";@media ( forced-colors: active ){color:GrayText;}","")},YRe={name:"1d3w5wq",styles:"width:100%"},NRe=({__unstableInputWidth:e,labelPosition:t})=>e?t==="side"?"":t==="edge"?Re({flex:`0 0 ${e}`},"",""):Re({width:e},"",""):YRe,ty=q("div",{target:"em5sgkm4"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;background-color:",oe.ui.background,";",JRe," ",NRe,";"),SRe=({disabled:e})=>e?Re("color:",oe.ui.textDisabled,";@media ( forced-colors: active ){color:GrayText;}&:disabled::placeholder{color:",oe.ui.textDisabled,";}",""):"",ox=({inputSize:e})=>{let t={default:"13px",small:"11px",compact:"13px"},c=t[e]||t.default,n="16px";return c?Re("font-size:",n,";@media ( min-width: 600px ){font-size:",c,";}",""):""},m7=({inputSize:e})=>{let t={default:{height:40,lineHeight:1,minHeight:40,paddingLeft:de.controlPaddingX,paddingRight:de.controlPaddingX},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:de.controlPaddingXSmall,paddingRight:de.controlPaddingXSmall},compact:{height:32,lineHeight:1,minHeight:32,paddingLeft:de.controlPaddingXSmall,paddingRight:de.controlPaddingXSmall}};return t[e]||t.default},wRe=e=>Re(m7(e),"",""),kRe=({paddingInlineStart:e,paddingInlineEnd:t})=>Re({paddingInlineStart:e,paddingInlineEnd:t},"",""),zRe=({isDragging:e,dragCursor:t})=>{let c,n;return e&&(c=Re("cursor:",t,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),e&&t&&(n=Re("&:active{cursor:",t,";}","")),Re(c," ",n,";","")},Po=q("input",{target:"em5sgkm3"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",oe.theme.foreground,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",zRe," ",SRe," ",ox," ",wRe," ",kRe," &::-webkit-input-placeholder{color:",oe.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",oe.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",oe.ui.darkGrayPlaceholder,";}&[type='date'],&[type='datetime-local'],&[type='month'],&[type='time'],&[type='week']{&::-webkit-datetime-edit{display:flex;align-items:center;height:100%;}}@supports ( -webkit-hyphens: none ) and ( not ( -moz-appearance: none ) ){&[type='date'][data-empty-value]:not( :focus ),&[type='time'][data-empty-value]:not( :focus ),&[type='datetime-local'][data-empty-value]:not( :focus ){color:transparent;&:disabled::-webkit-datetime-edit-text{color:transparent;}}}&[type='email'],&[type='url']{direction:ltr;}}"),TRe=q(Kn,{target:"em5sgkm2"})("&&&{",S9,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;}"),X7=e=>(0,a7.jsx)(TRe,{...e,as:"label"}),G7=q(Cn,{target:"em5sgkm1"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),ARe=({variant:e="default",size:t,isPrefix:c})=>{let{paddingLeft:n}=m7({inputSize:t}),l=c?"paddingInlineStart":"paddingInlineEnd";return e==="default"?Re({[l]:n},"",""):Re({display:"flex",[l]:n-4},"","")},cy=q("div",{target:"em5sgkm0"})(ARe,";");var x7=u(F(),1);function ORe({disabled:e=!1,isBorderless:t=!1}){return(0,x7.jsx)(Mo,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:e,isBorderless:t})}var QRe=(0,g7.memo)(ORe),p7=QRe;var ny=u(F(),1);function R7({children:e,hideLabelFromVision:t,htmlFor:c,...n}){return e?t?(0,ny.jsx)(bt,{as:"label",htmlFor:c,children:e}):(0,ny.jsx)(G7,{children:(0,ny.jsx)(X7,{htmlFor:c,...n,children:e})}):null}var Ki=u(F(),1);function URe(e){let c=`input-base-control-${(0,H7.useInstanceId)(Z7)}`;return e||c}function ERe(e){let t={};switch(e){case"top":t.direction="column",t.expanded=!1,t.gap=0;break;case"bottom":t.direction="column-reverse",t.expanded=!1,t.gap=0;break;case"edge":t.justify="space-between";break}return t}function Z7(e,t){let{__unstableInputWidth:c,children:n,className:l,disabled:o=!1,hideLabelFromVision:d=!1,labelPosition:i,id:r,isBorderless:a=!1,label:s,prefix:b,size:m="default",suffix:X,...G}=ae(e,"InputBase"),g=URe(r),x=d||!s,H=(0,I7.useMemo)(()=>({InputControlPrefixWrapper:{size:m},InputControlSuffixWrapper:{size:m}}),[m]);return(0,Ki.jsxs)(u7,{...G,...ERe(i),className:l,gap:2,ref:t,children:[(0,Ki.jsx)(R7,{className:"components-input-control__label",hideLabelFromVision:d,labelPosition:i,htmlFor:g,children:s}),(0,Ki.jsxs)(ty,{__unstableInputWidth:c,className:"components-input-control__container",disabled:o,hideLabel:x,labelPosition:i,children:[(0,Ki.jsxs)(ib,{value:H,children:[b&&(0,Ki.jsx)(s7,{className:"components-input-control__prefix",children:b}),n,X&&(0,Ki.jsx)(b7,{className:"components-input-control__suffix",children:X})]}),(0,Ki.jsx)(p7,{disabled:o,isBorderless:a})]})]})}var X0=ie(Z7,"InputBase");function LRe(e,t,c){return Math.max(t,Math.min(e,c))}var mn={toVector(e,t){return e===void 0&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function f7(e,t,c){return t===0||Math.abs(t)===1/0?Math.pow(e,c*5):e*t*c/(t+c*e)}function y7(e,t,c,n=.15){return n===0?LRe(e,t,c):e<t?-f7(t-e,c-t,n)+t:e>c?+f7(e-c,c-t,n)+c:e}function W7(e,[t,c],[n,l]){let[[o,d],[i,r]]=e;return[y7(t,o,d,n),y7(c,i,r,l)]}function DRe(e,t){if(typeof e!="object"||e===null)return e;var c=e[Symbol.toPrimitive];if(c!==void 0){var n=c.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _Re(e){var t=DRe(e,"string");return typeof t=="symbol"?t:String(t)}function qn(e,t,c){return t=_Re(t),t in e?Object.defineProperty(e,t,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[t]=c,e}function h7(e,t){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),c.push.apply(c,n)}return c}function lc(e){for(var t=1;t<arguments.length;t++){var c=arguments[t]!=null?arguments[t]:{};t%2?h7(Object(c),!0).forEach(function(n){qn(e,n,c[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(c)):h7(Object(c)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(c,n))})}return e}var Y7={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function B7(e){return e?e[0].toUpperCase()+e.slice(1):""}var jRe=["enter","leave"];function MRe(e=!1,t){return e&&!jRe.includes(t)}function N7(e,t="",c=!1){let n=Y7[e],l=n&&n[t]||t;return"on"+B7(e)+B7(l)+(MRe(c,l)?"Capture":"")}var PRe=["gotpointercapture","lostpointercapture"];function S7(e){let t=e.substring(2).toLowerCase(),c=!!~t.indexOf("passive");c&&(t=t.replace("passive",""));let n=PRe.includes(t)?"capturecapture":"capture",l=!!~t.indexOf(n);return l&&(t=t.replace("capture","")),{device:t,capture:l,passive:c}}function w7(e,t=""){let c=Y7[e],n=c&&c[t]||t;return e+n}function dx(e){return"touches"in e}function k7(e){return dx(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function KRe(e){return Array.from(e.touches).filter(t=>{var c,n;return t.target===e.currentTarget||((c=e.currentTarget)===null||c===void 0||(n=c.contains)===null||n===void 0?void 0:n.call(c,t.target))})}function qRe(e){return e.type==="touchend"||e.type==="touchcancel"?e.changedTouches:e.targetTouches}function z7(e){return dx(e)?qRe(e)[0]:e}function T7(e){return KRe(e).map(t=>t.identifier)}function PV(e){let t=z7(e);return dx(e)?t.identifier:t.pointerId}function v7(e){let t=z7(e);return[t.clientX,t.clientY]}function $Re(e){let t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){let{shiftKey:c,altKey:n,metaKey:l,ctrlKey:o}=e;Object.assign(t,{shiftKey:c,altKey:n,metaKey:l,ctrlKey:o})}return t}function ly(e,...t){return typeof e=="function"?e(...t):e}function eHe(){}function A7(...e){return e.length===0?eHe:e.length===1?e[0]:function(){let t;for(let c of e)t=c.apply(this,arguments)||t;return t}}function V7(e,t){return Object.assign({},t,e||{})}var tHe=32,KV=class{constructor(t,c,n){this.ctrl=t,this.args=c,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:t,shared:c,ingKey:n,args:l}=this;c[n]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=l,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){let c=this.state,n=this.config;c._active||(this.reset(),this.computeInitial(),c._active=!0,c.target=t.target,c.currentTarget=t.currentTarget,c.lastOffset=n.from?ly(n.from,c):c.offset,c.offset=c.lastOffset,c.startTime=c.timeStamp=t.timeStamp)}computeValues(t){let c=this.state;c._values=t,c.values=this.config.transform(t)}computeInitial(){let t=this.state;t._initial=t._values,t.initial=t.values}compute(t){let{state:c,config:n,shared:l}=this;c.args=this.args;let o=0;if(t&&(c.event=t,n.preventDefault&&t.cancelable&&c.event.preventDefault(),c.type=t.type,l.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,l.locked=!!document.pointerLockElement,Object.assign(l,$Re(t)),l.down=l.pressed=l.buttons%2===1||l.touches>0,o=t.timeStamp-c.timeStamp,c.timeStamp=t.timeStamp,c.elapsedTime=c.timeStamp-c.startTime),c._active){let y=c._delta.map(Math.abs);mn.addTo(c._distance,y)}this.axisIntent&&this.axisIntent(t);let[d,i]=c._movement,[r,a]=n.threshold,{_step:s,values:b}=c;if(n.hasCustomTransform?(s[0]===!1&&(s[0]=Math.abs(d)>=r&&b[0]),s[1]===!1&&(s[1]=Math.abs(i)>=a&&b[1])):(s[0]===!1&&(s[0]=Math.abs(d)>=r&&Math.sign(d)*r),s[1]===!1&&(s[1]=Math.abs(i)>=a&&Math.sign(i)*a)),c.intentional=s[0]!==!1||s[1]!==!1,!c.intentional)return;let m=[0,0];if(n.hasCustomTransform){let[y,Z]=b;m[0]=s[0]!==!1?y-s[0]:0,m[1]=s[1]!==!1?Z-s[1]:0}else m[0]=s[0]!==!1?d-s[0]:0,m[1]=s[1]!==!1?i-s[1]:0;this.restrictToAxis&&!c._blocked&&this.restrictToAxis(m);let X=c.offset,G=c._active&&!c._blocked||c.active;G&&(c.first=c._active&&!c.active,c.last=!c._active&&c.active,c.active=l[this.ingKey]=c._active,t&&(c.first&&("bounds"in n&&(c._bounds=ly(n.bounds,c)),this.setup&&this.setup()),c.movement=m,this.computeOffset()));let[g,x]=c.offset,[[H,p],[R,I]]=c._bounds;c.overflow=[g<H?-1:g>p?1:0,x<R?-1:x>I?1:0],c._movementBound[0]=c.overflow[0]?c._movementBound[0]===!1?c._movement[0]:c._movementBound[0]:!1,c._movementBound[1]=c.overflow[1]?c._movementBound[1]===!1?c._movement[1]:c._movementBound[1]:!1;let f=c._active?n.rubberband||[0,0]:[0,0];if(c.offset=W7(c._bounds,c.offset,f),c.delta=mn.sub(c.offset,X),this.computeMovement(),G&&(!c.last||o>tHe)){c.delta=mn.sub(c.offset,X);let y=c.delta.map(Math.abs);mn.addTo(c.distance,y),c.direction=c.delta.map(Math.sign),c._direction=c._delta.map(Math.sign),!c.first&&o>0&&(c.velocity=[y[0]/o,y[1]/o],c.timeDelta=o)}}emit(){let t=this.state,c=this.shared,n=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!n.triggerAllEvents)return;let l=this.handler(lc(lc(lc({},c),t),{},{[this.aliasKey]:t.values}));l!==void 0&&(t.memo=l)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}};function cHe([e,t],c){let n=Math.abs(e),l=Math.abs(t);if(n>l&&n>c)return"x";if(l>n&&l>c)return"y"}var qV=class extends KV{constructor(...t){super(...t),qn(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=mn.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=mn.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){let c=this.state,n=this.config;if(!c.axis&&t){let l=typeof n.axisThreshold=="object"?n.axisThreshold[k7(t)]:n.axisThreshold;c.axis=cHe(c._movement,l)}c._blocked=(n.lockDirection||!!n.axis)&&!c.axis||!!n.axis&&n.axis!==c.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}},nHe=e=>e,C7=.15,O7={enabled(e=!0){return e},eventOptions(e,t,c){return lc(lc({},c.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[C7,C7];case!1:return[0,0];default:return mn.toVector(e)}},from(e){if(typeof e=="function")return e;if(e!=null)return mn.toVector(e)},transform(e,t,c){let n=e||c.shared.transform;return this.hasCustomTransform=!!n,n||nHe},threshold(e){return mn.toVector(e,0)}},lHe=0,ix=lc(lc({},O7),{},{axis(e,t,{axis:c}){if(this.lockDirection=c==="lock",!this.lockDirection)return c},axisThreshold(e=lHe){return e},bounds(e={}){if(typeof e=="function")return o=>ix.bounds(e(o));if("current"in e)return()=>e.current;if(typeof HTMLElement=="function"&&e instanceof HTMLElement)return e;let{left:t=-1/0,right:c=1/0,top:n=-1/0,bottom:l=1/0}=e;return[[t,c],[n,l]]}}),F7={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},$V=class extends qV{constructor(...t){super(...t),qn(this,"ingKey","dragging")}reset(){super.reset();let t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){let t=this.state;if(t._bounds instanceof HTMLElement){let c=t._bounds.getBoundingClientRect(),n=t.currentTarget.getBoundingClientRect(),l={left:c.left-n.left+t.offset[0],right:c.right-n.right+t.offset[0],top:c.top-n.top+t.offset[1],bottom:c.bottom-n.bottom+t.offset[1]};t._bounds=ix.bounds(l)}}cancel(){let t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){let c=this.config,n=this.state;if(t.buttons!=null&&(Array.isArray(c.pointerButtons)?!c.pointerButtons.includes(t.buttons):c.pointerButtons!==-1&&c.pointerButtons!==t.buttons))return;let l=this.ctrl.setEventIds(t);c.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(l&&l.size>1&&n._pointerActive)&&(this.start(t),this.setupPointer(t),n._pointerId=PV(t),n._pointerActive=!0,this.computeValues(v7(t)),this.computeInitial(),c.preventScrollAxis&&k7(t)!=="mouse"?(n._active=!1,this.setupScrollPrevention(t)):c.delay>0?(this.setupDelayTrigger(t),c.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){let c=this.state;c._active=!0,c._preventScroll=!0,c._delayed=!1,this.compute(t),this.emit()}pointerMove(t){let c=this.state,n=this.config;if(!c._pointerActive)return;let l=PV(t);if(c._pointerId!==void 0&&l!==c._pointerId)return;let o=v7(t);if(document.pointerLockElement===t.target?c._delta=[t.movementX,t.movementY]:(c._delta=mn.sub(o,c._values),this.computeValues(o)),mn.addTo(c._movement,c._delta),this.compute(t),c._delayed&&c.intentional){this.timeoutStore.remove("dragDelay"),c.active=!1,this.startPointerDrag(t);return}if(n.preventScrollAxis&&!c._preventScroll)if(c.axis)if(c.axis===n.preventScrollAxis||n.preventScrollAxis==="xy"){c._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{}let c=this.state,n=this.config;if(!c._active||!c._pointerActive)return;let l=PV(t);if(c._pointerId!==void 0&&l!==c._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);let[o,d]=c._distance;if(c.tap=o<=n.tapsThreshold&&d<=n.tapsThreshold,c.tap&&n.filterTaps)c._force=!0;else{let[i,r]=c._delta,[a,s]=c._movement,[b,m]=n.swipe.velocity,[X,G]=n.swipe.distance,g=n.swipe.duration;if(c.elapsedTime<g){let x=Math.abs(i/c.timeDelta),H=Math.abs(r/c.timeDelta);x>b&&Math.abs(a)>X&&(c.swipe[0]=Math.sign(i)),H>m&&Math.abs(s)>G&&(c.swipe[1]=Math.sign(r))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){let c=this.config,n=c.device;c.pointerLock&&t.currentTarget.requestPointerLock(),c.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,oHe(t);let c=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",c),this.eventStore.add(this.sharedConfig.window,"touch","cancel",c),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){let c=F7[t.key];if(c){let n=this.state,l=t.shiftKey?10:t.altKey?.1:1;this.start(t),n._delta=c(this.config.keyboardDisplacement,l),n._keyboardActive=!0,mn.addTo(n._movement,n._delta),this.compute(t),this.emit()}}keyUp(t){t.key in F7&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){let c=this.config.device;t(c,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(c,"change",this.pointerMove.bind(this)),t(c,"end",this.pointerUp.bind(this)),t(c,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}};function oHe(e){"persist"in e&&typeof e.persist=="function"&&e.persist()}var rx=typeof window<"u"&&window.document&&window.document.createElement;function Q7(){return rx&&"ontouchstart"in window}function dHe(){return Q7()||rx&&window.navigator.maxTouchPoints>1}function iHe(){return rx&&"onpointerdown"in window}function rHe(){return rx&&"exitPointerLock"in window.document}function aHe(){try{return"constructor"in GestureEvent}catch{return!1}}var Tl={isBrowser:rx,gesture:aHe(),touch:Q7(),touchscreen:dHe(),pointer:iHe(),pointerLock:rHe()},sHe=250,bHe=180,uHe=.5,mHe=50,XHe=250,GHe=10,J7={mouse:0,touch:0,pen:8},gHe=lc(lc({},ix),{},{device(e,t,{pointer:{touch:c=!1,lock:n=!1,mouse:l=!1}={}}){return this.pointerLock=n&&Tl.pointerLock,Tl.touch&&c?"touch":this.pointerLock?"mouse":Tl.pointer&&!l?"pointer":Tl.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:c}){if(this.preventScrollDelay=typeof c=="number"?c:c||c===void 0&&e?sHe:void 0,!(!Tl.touchscreen||c===!1))return e||(c!==void 0?"y":void 0)},pointerCapture(e,t,{pointer:{capture:c=!0,buttons:n=1,keys:l=!0}={}}){return this.pointerButtons=n,this.keys=l,!this.pointerLock&&this.device==="pointer"&&c},threshold(e,t,{filterTaps:c=!1,tapsThreshold:n=3,axis:l=void 0}){let o=mn.toVector(e,c?n:l?1:0);return this.filterTaps=c,this.tapsThreshold=n,o},swipe({velocity:e=uHe,distance:t=mHe,duration:c=XHe}={}){return{velocity:this.transform(mn.toVector(e)),distance:this.transform(mn.toVector(t)),duration:c}},delay(e=0){switch(e){case!0:return bHe;case!1:return 0;default:return e}},axisThreshold(e){return e?lc(lc({},J7),e):J7},keyboardDisplacement(e=GHe){return e}});var hst=lc(lc({},O7),{},{device(e,t,{shared:c,pointer:{touch:n=!1}={}}){if(c.target&&!Tl.touch&&Tl.gesture)return"gesture";if(Tl.touch&&n)return"touch";if(Tl.touchscreen){if(Tl.pointer)return"pointer";if(Tl.touch)return"touch"}},bounds(e,t,{scaleBounds:c={},angleBounds:n={}}){let l=d=>{let i=V7(ly(c,d),{min:-1/0,max:1/0});return[i.min,i.max]},o=d=>{let i=V7(ly(n,d),{min:-1/0,max:1/0});return[i.min,i.max]};return typeof c!="function"&&typeof n!="function"?[l(),o()]:d=>[l(d),o(d)]},threshold(e,t,c){return this.lockDirection=c.axis==="lock",mn.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return e===void 0?"ctrlKey":e},pinchOnWheel(e=!0){return e}});var Bst=lc(lc({},ix),{},{mouseOnly:(e=!0)=>e});var vst=lc(lc({},ix),{},{mouseOnly:(e=!0)=>e}),oy=new Map,ax=new Map;function eC(e){oy.set(e.key,e.engine),ax.set(e.key,e.resolver)}var tC={key:"drag",engine:$V,resolver:gHe};var ay=u(E());function ZHe(e,t){if(e==null)return{};var c={},n=Object.keys(e),l,o;for(o=0;o<n.length;o++)l=n[o],!(t.indexOf(l)>=0)&&(c[l]=e[l]);return c}function fHe(e,t){if(e==null)return{};var c=ZHe(e,t),n,l;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)n=o[l],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}var yHe={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=Tl.isBrowser?window:void 0){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},WHe=["target","eventOptions","window","enabled","transform"];function dy(e={},t){let c={};for(let[n,l]of Object.entries(t))switch(typeof l){case"function":c[n]=l.call(c,e[n],n,e);break;case"object":c[n]=dy(e[n],l);break;case"boolean":l&&(c[n]=e[n]);break}return c}function hHe(e,t,c={}){let n=e,{target:l,eventOptions:o,window:d,enabled:i,transform:r}=n,a=fHe(n,WHe);if(c.shared=dy({target:l,eventOptions:o,window:d,enabled:i,transform:r},yHe),t){let s=ax.get(t);c[t]=dy(lc({shared:c.shared},a),s)}else for(let s in a){let b=ax.get(s);b&&(c[s]=dy(lc({shared:c.shared},a[s]),b))}return c}var iy=class{constructor(t,c){qn(this,"_listeners",new Set),this._ctrl=t,this._gestureKey=c}add(t,c,n,l,o){let d=this._listeners,i=w7(c,n),r=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},a=lc(lc({},r),o);t.addEventListener(i,l,a);let s=()=>{t.removeEventListener(i,l,a),d.delete(s)};return d.add(s),s}clean(){this._listeners.forEach(t=>t()),this._listeners.clear()}},cC=class{constructor(){qn(this,"_timeouts",new Map)}add(t,c,n=140,...l){this.remove(t),this._timeouts.set(t,window.setTimeout(c,n,...l))}remove(t){let c=this._timeouts.get(t);c&&window.clearTimeout(c)}clean(){this._timeouts.forEach(t=>{window.clearTimeout(t)}),this._timeouts.clear()}},ry=class{constructor(t){qn(this,"gestures",new Set),qn(this,"_targetEventStore",new iy(this)),qn(this,"gestureEventStores",{}),qn(this,"gestureTimeoutStores",{}),qn(this,"handlers",{}),qn(this,"config",{}),qn(this,"pointerIds",new Set),qn(this,"touchIds",new Set),qn(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),BHe(this,t)}setEventIds(t){if(dx(t))return this.touchIds=new Set(T7(t)),this.touchIds;if("pointerId"in t)return t.type==="pointerup"||t.type==="pointercancel"?this.pointerIds.delete(t.pointerId):t.type==="pointerdown"&&this.pointerIds.add(t.pointerId),this.pointerIds}applyHandlers(t,c){this.handlers=t,this.nativeHandlers=c}applyConfig(t,c){this.config=hHe(t,c,this.config)}clean(){this._targetEventStore.clean();for(let t of this.gestures)this.gestureEventStores[t].clean(),this.gestureTimeoutStores[t].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...t){let c=this.config.shared,n={},l;if(!(c.target&&(l=c.target(),!l))){if(c.enabled){for(let d of this.gestures){let i=this.config[d],r=U7(n,i.eventOptions,!!l);if(i.enabled){let a=oy.get(d);new a(this,t,d).bind(r)}}let o=U7(n,c.eventOptions,!!l);for(let d in this.nativeHandlers)o(d,"",i=>this.nativeHandlers[d](lc(lc({},this.state.shared),{},{event:i,args:t})),void 0,!0)}for(let o in n)n[o]=A7(...n[o]);if(!l)return n;for(let o in n){let{device:d,capture:i,passive:r}=S7(o);this._targetEventStore.add(l,d,"",n[o],{capture:i,passive:r})}}}};function G0(e,t){e.gestures.add(t),e.gestureEventStores[t]=new iy(e,t),e.gestureTimeoutStores[t]=new cC}function BHe(e,t){t.drag&&G0(e,"drag"),t.wheel&&G0(e,"wheel"),t.scroll&&G0(e,"scroll"),t.move&&G0(e,"move"),t.pinch&&G0(e,"pinch"),t.hover&&G0(e,"hover")}var U7=(e,t,c)=>(n,l,o,d={},i=!1)=>{var r,a;let s=(r=d.capture)!==null&&r!==void 0?r:t.capture,b=(a=d.passive)!==null&&a!==void 0?a:t.passive,m=i?n:N7(n,l,s);c&&b&&(m+="Passive"),e[m]=e[m]||[],e[m].push(o)};function vHe(e,t={},c,n){let l=ay.default.useMemo(()=>new ry(e),[]);if(l.applyHandlers(e,n),l.applyConfig(t,c),ay.default.useEffect(l.effect.bind(l)),ay.default.useEffect(()=>l.clean.bind(l),[]),t.target===void 0)return l.bind.bind(l)}function sy(e,t){return eC(tC),vHe({drag:e},t||{},"drag")}var Xy=u(T(),1),P7=u(Xa(),1);var Ga=u(T(),1);function VHe(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize";break}return t}function L7(e,t){let c=VHe(t);return(0,Ga.useEffect)(()=>{e?document.documentElement.style.cursor=c:document.documentElement.style.removeProperty("cursor")},[e,c]),c}function D7(e){let t=(0,Ga.useRef)(e.value),[c,n]=(0,Ga.useState)({}),l=c.value!==void 0?c.value:e.value;return(0,Ga.useLayoutEffect)(()=>{let{current:i}=t;t.current=e.value,c.value!==void 0&&!c.isStale?n({...c,isStale:!0}):c.isStale&&e.value!==i&&n({})},[e.value,c]),{value:l,onBlur:i=>{n({}),e.onBlur?.(i)},onChange:(i,r)=>{n(a=>Object.assign(a,{value:i,isStale:!1})),e.onChange(i,r)}}}var qi=u(T(),1);var _7=e=>e,by={error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""};var nC="CHANGE",bb="COMMIT",lC="CONTROL",oC="DRAG_END",dC="DRAG_START",uy="DRAG",iC="INVALIDATE",ub="PRESS_DOWN",my="PRESS_ENTER",ga="PRESS_UP",rC="RESET";function CHe(e=by){let{value:t}=e;return{...by,...e,initialValue:t}}function FHe(e){return(t,c)=>{let n={...t};switch(c.type){case lC:return n.value=c.payload.value,n.isDirty=!1,n._event=void 0,n;case ga:n.isDirty=!1;break;case ub:n.isDirty=!1;break;case dC:n.isDragging=!0;break;case oC:n.isDragging=!1;break;case nC:n.error=null,n.value=c.payload.value,t.isPressEnterToChange&&(n.isDirty=!0);break;case bb:n.value=c.payload.value,n.isDirty=!1;break;case rC:n.error=null,n.isDirty=!1,n.value=c.payload.value||t.initialValue;break;case iC:n.error=c.payload.error;break}return n._event=c.payload.event,e(n,c)}}function M7(e=_7,t=by,c){let[n,l]=(0,qi.useReducer)(FHe(e),CHe(t)),o=I=>(f,y)=>{l({type:I,payload:{value:f,event:y}})},d=I=>f=>{l({type:I,payload:{event:f}})},i=I=>f=>{l({type:I,payload:f})},r=o(nC),a=(I,f)=>l({type:iC,payload:{error:I,event:f}}),s=o(rC),b=o(bb),m=i(dC),X=i(uy),G=i(oC),g=d(ga),x=d(ub),H=d(my),p=(0,qi.useRef)(n),R=(0,qi.useRef)({value:t.value,onChangeHandler:c});return(0,qi.useLayoutEffect)(()=>{p.current=n,R.current={value:t.value,onChangeHandler:c}}),(0,qi.useLayoutEffect)(()=>{p.current._event!==void 0&&n.value!==R.current.value&&!n.isDirty&&R.current.onChangeHandler(n.value??"",{event:p.current._event})},[n.value,n.isDirty]),(0,qi.useLayoutEffect)(()=>{t.value!==p.current.value&&!p.current.isDirty&&l({type:lC,payload:{value:t.value??""}})},[t.value]),{change:r,commit:b,dispatch:l,drag:X,dragEnd:G,dragStart:m,invalidate:a,pressDown:x,pressEnter:H,pressUp:g,reset:s,state:n}}var K7=u(F(),1),mb=()=>{};function JHe({disabled:e=!1,dragDirection:t="n",dragThreshold:c=10,id:n,isDragEnabled:l=!1,isPressEnterToChange:o=!1,onBlur:d=mb,onChange:i=mb,onDrag:r=mb,onDragEnd:a=mb,onDragStart:s=mb,onKeyDown:b=mb,onValidate:m=mb,size:X="default",stateReducer:G=R=>R,value:g,type:x,...H},p){let{state:R,change:I,commit:f,drag:y,dragEnd:Z,dragStart:W,invalidate:v,pressDown:h,pressEnter:C,pressUp:B,reset:V}=M7(G,{isDragEnabled:l,value:g,isPressEnterToChange:o},i),{value:S,isDragging:Y,isDirty:J}=R,k=(0,Xy.useRef)(!1),N=L7(Y,t),A=L=>{d(L),(J||!L.target.validity.valid)&&(k.current=!0,z(L))},Q=L=>{let M=L.target.value;I(M,L)},z=L=>{let M=L.currentTarget.value;try{m(M),f(M,L)}catch(_){v(_,L)}},D=L=>{let{key:M}=L;switch(b(L),M){case"ArrowUp":B(L);break;case"ArrowDown":h(L);break;case"Enter":C(L),o&&(L.preventDefault(),z(L));break;case"Escape":o&&J&&(L.preventDefault(),V(g,L));break}},U=sy(L=>{let{distance:M,dragging:_,event:j,target:ue}=L;if(L.event={...L.event,target:ue},!!M){if(j.stopPropagation(),!_){a(L),Z(L);return}r(L),y(L),Y||(s(L),W(L))}},{axis:t==="e"||t==="w"?"x":"y",threshold:c,enabled:l,pointer:{capture:!1}}),O=l?U():{};return(0,K7.jsx)(Po,{...H,...O,className:"components-input-control__input","data-empty-value":S?void 0:"",disabled:e,dragCursor:N,isDragging:Y,id:n,onBlur:A,onChange:Q,onKeyDown:(0,P7.withIgnoreIMEEvents)(D),ref:p,inputSize:X,value:S??"",type:x})}var YHe=(0,Xy.forwardRef)(JHe),q7=YHe;var l_=u(T(),1);var g0=u(T(),1);var x0=u(F(),1),aC="data-wp-hash";function sC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&SHe(document)),e.__wpStyleRuntime}function NHe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${aC}]`))if(c.getAttribute(aC)===t)return!0;return!1}function $7(e,t,c){if(!e.head)return;let n=sC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(NHe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(aC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function SHe(e){let t=sC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)$7(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function wHe(e,t){let c=sC();c.styles.set(e,t);for(let n of c.documents.keys())$7(n,e,t)}typeof process>"u",wHe("2afb2a4628","._94dff8a2f7c49fc8__wrapper{box-sizing:border-box;font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}._94dff8a2f7c49fc8__wrapper *,._94dff8a2f7c49fc8__wrapper :after,._94dff8a2f7c49fc8__wrapper :before{box-sizing:inherit}.components-panel__row .d9ac8e2c0db95cc7__field{margin-bottom:inherit}.a54361fe302593c3__label{color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:block;font-size:11px;font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-bottom:8px;padding:0;text-transform:uppercase}.de68669d18f359f5__help{text-wrap:pretty;color:var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));font-size:12px;font-style:normal;margin-bottom:0;margin-top:8px}");var sx={wrapper:"_94dff8a2f7c49fc8__wrapper",field:"d9ac8e2c0db95cc7__field",label:"a54361fe302593c3__label",help:"de68669d18f359f5__help"};function kHe({className:e,...t},c){return(0,x0.jsx)(Il,{ref:c,...t,className:w(sx.wrapper,e)})}function zHe({className:e,...t},c){return(0,x0.jsx)(Il,{ref:c,...t,className:w(sx.field,e)})}function THe({as:e,className:t,...c},n){return(0,x0.jsx)(Il,{as:e??"label",ref:n,...c,className:w(sx.label,t)})}function AHe({as:e,className:t,...c},n){return(0,x0.jsx)(Il,{as:e??"p",ref:n,...c,className:w(sx.help,t)})}function OHe({as:e,className:t,...c},n){return(0,x0.jsx)(Il,{as:e??"span",ref:n,...c,className:w(sx.label,t)})}var e_=(0,g0.forwardRef)(kHe),t_=(0,g0.forwardRef)(zHe),xa=(0,g0.forwardRef)(THe),$i=(0,g0.forwardRef)(AHe),c_=(0,g0.forwardRef)(OHe);var Dd=u(F(),1);var n_=u(me(),1);function Xb(e){let{help:t,id:c,...n}=e,l=(0,n_.useInstanceId)(at,"wp-components-base-control",c);return{baseControlProps:{id:l,help:t,...n},controlProps:{id:l,...t?{"aria-describedby":`${l}__help`}:{}}}}var QHe=e=>{let{id:t,label:c,hideLabelFromVision:n=!1,help:l,className:o,children:d}=ae(e,"BaseControl");return(0,Dd.jsxs)(e_,{className:o,children:[(0,Dd.jsxs)(t_,{className:"components-base-control__field",children:[c&&t&&(n?(0,Dd.jsx)(bt,{as:"label",htmlFor:t,children:c}):(0,Dd.jsx)(xa,{className:"components-base-control__label",htmlFor:t,children:c})),c&&!t&&(n?(0,Dd.jsx)(bt,{as:"label",children:c}):(0,Dd.jsx)(o_,{children:c})),d]}),!!l&&(0,Dd.jsx)($i,{id:t?t+"__help":void 0,className:"components-base-control__help",children:l})]})},UHe=(e,t)=>{let{className:c,children:n,...l}=e;return(0,Dd.jsx)(c_,{ref:t,...l,className:w("components-base-control__label",c),children:n})},o_=(0,l_.forwardRef)(UHe),bC=Object.assign(ab(QHe,"BaseControl"),{VisualLabel:o_}),at=bC;var Gy=u(F(),1),uC=()=>{};function EHe(e){let c=`inspector-input-control-${(0,d_.useInstanceId)(gy)}`;return e||c}function LHe(e,t){let{__next40pxDefaultSize:c,__next36pxDefaultSize:n,__unstableStateReducer:l=C=>C,__unstableInputWidth:o,className:d,disabled:i=!1,help:r,hideLabelFromVision:a=!1,id:s,isPressEnterToChange:b=!1,label:m,labelPosition:X="top",onChange:G=uC,onValidate:g=uC,onKeyDown:x=uC,prefix:H,size:p="default",style:R,suffix:I,value:f,...y}=e,Z=EHe(s),W=w("components-input-control",d),v=D7({value:f,onBlur:y.onBlur,onChange:G}),h=r?{"aria-describedby":`${Z}__help`}:{};return(0,Gy.jsx)(at,{className:W,help:r,id:Z,children:(0,Gy.jsx)(X0,{__unstableInputWidth:o,disabled:i,gap:3,hideLabelFromVision:a,id:Z,justify:"left",label:m,labelPosition:X,prefix:H,size:p,style:R,suffix:I,children:(0,Gy.jsx)(q7,{...y,...h,className:"components-input-control__input",disabled:i,id:Z,isPressEnterToChange:b,onKeyDown:x,onValidate:g,paddingInlineStart:H?K(1):void 0,paddingInlineEnd:I?K(1):void 0,ref:t,size:p,stateReducer:l,...v})})})}var gy=(0,i_.forwardRef)(LHe),_d=gy;var a_=u(Xt(),1),Ra=u(T(),1),s_=u(me(),1);var pa=u(T(),1),mC=u(rt(),1);var r_=u(F(),1);function DHe({icon:e,className:t,size:c=20,style:n={},...l}){let o=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" "),i={...c!=20?{fontSize:`${c}px`,width:`${c}px`,height:`${c}px`}:{},...n};return(0,r_.jsx)("span",{className:o,style:i,...l})}var bx=DHe;var XC=u(F(),1);function _He({icon:e=null,size:t=typeof e=="string"?20:24,...c}){if(typeof e=="string")return(0,XC.jsx)(bx,{icon:e,size:t,...c});if((0,pa.isValidElement)(e)&&bx===e.type)return(0,pa.cloneElement)(e,{...c});if(typeof e=="function")return(0,pa.createElement)(e,{size:t,...c});if((0,pa.isValidElement)(e)){let{style:n,...l}=c,o=e.props.style||n?{...e.props.style,...n}:void 0,d=o?{style:o}:{};if(e.type==="svg"||e.type===mC.SVG){let i={...e.props,width:t,height:t,...l,...d};return(0,XC.jsx)(mC.SVG,{...i})}return(0,pa.cloneElement)(e,{size:t,width:t,height:t,...l,...d})}return e}var Ot=_He;var Fn=u(F(),1),jHe=["onMouseDown","onClick"],b_=e=>Ra.Children.toArray(e).some(t=>(0,Ra.isValidElement)(t)?t.type===Ra.Fragment?b_(t.props.children):t.props.className!=="components-tooltip":t!=="");function MHe({__experimentalIsFocusable:e,isDefault:t,isPrimary:c,isSecondary:n,isTertiary:l,isLink:o,isPressed:d,isSmall:i,size:r,variant:a,describedBy:s,...b}){let m=r,X=a,G={accessibleWhenDisabled:e,"aria-pressed":d,description:s};return i&&(m??="small"),c&&(X??="primary"),l&&(X??="tertiary"),n&&(X??="secondary"),t&&((0,a_.default)("wp.components.Button `isDefault` prop",{since:"5.4",alternative:'variant="secondary"'}),X??="secondary"),o&&(X??="link"),{...G,...b,size:m,variant:X}}var p0=(0,Ra.forwardRef)(function(t,c){let{__next40pxDefaultSize:n,accessibleWhenDisabled:l,isBusy:o,isDestructive:d,className:i,disabled:r,icon:a,iconPosition:s="left",iconSize:b,showTooltip:m,tooltipPosition:X,shortcut:G,label:g,children:x,size:H="default",text:p,variant:R,description:I,...f}=MHe(t),{href:y,target:Z,"aria-checked":W,"aria-pressed":v,"aria-selected":h,...C}="href"in f?f:{href:void 0,target:void 0,...f},B=(0,s_.useInstanceId)(p0,"components-button__description"),S=w("components-button",i,{"is-next-40px-default-size":n,"is-secondary":R==="secondary","is-primary":R==="primary","is-small":H==="small","is-compact":H==="compact","is-tertiary":R==="tertiary","is-pressed":[!0,"true","mixed"].includes(v),"is-pressed-mixed":v==="mixed","is-busy":o,"is-link":R==="link","is-destructive":d,"has-text":!!a&&(p||b_(x)),"has-icon":!!a,"has-icon-right":s==="right"}),Y=r&&!l,J=y!==void 0&&!r?"a":"button",k=J==="button"?{type:"button",disabled:Y,"aria-checked":W,"aria-pressed":v,"aria-selected":h}:{},N=J==="a"?{href:y,target:Z}:{},A={};if(r&&l){k["aria-disabled"]=!0,N["aria-disabled"]=!0;for(let _ of jHe)A[_]=j=>{j&&(j.stopPropagation(),j.preventDefault())}}let Q=!Y&&(m&&!!g||!!G||!!g&&!x?.length&&m!==!1),z=I?B:void 0,D=C["aria-describedby"]||z,U={className:S,"aria-label":C["aria-label"]||g,"aria-describedby":D,ref:c},O=(0,Fn.jsxs)(Fn.Fragment,{children:[a&&s==="left"&&(0,Fn.jsx)(Ot,{icon:a,size:b}),p&&(0,Fn.jsx)(Fn.Fragment,{children:p}),x,a&&s==="right"&&(0,Fn.jsx)(Ot,{icon:a,size:b})]}),L=J==="a"?(0,Fn.jsx)("a",{...N,...C,...A,...U,children:O}):(0,Fn.jsx)("button",{...k,...C,...A,...U,children:O}),M=Q?{text:x?.length&&I?I:g,shortcut:G,placement:X&&sa(X)}:{};return(0,Fn.jsxs)(Fn.Fragment,{children:[(0,Fn.jsx)(Hl,{...M,children:L}),I&&(0,Fn.jsx)(bt,{children:(0,Fn.jsx)("span",{id:z,children:I})})]})}),be=p0;var PHe={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"},KHe=({hideHTMLArrows:e})=>e?PHe:"",u_=q(_d,{target:"ep09it41"})(KHe,";"),GC=q(be,{target:"ep09it40"})("&&&&&{color:",oe.theme.accent,";}"),qHe=Re("width:",K(5),";min-width:",K(5),";height:",K(5),";",""),m_={smallSpinButtons:qHe};function Gb(e){let t=Number(e);return isNaN(t)?0:t}function gC(...e){return e.reduce((t,c)=>t+Gb(c),0)}function G_(...e){return e.reduce((t,c,n)=>{let l=Gb(c);return n===0?l:t-l},0)}function X_(e){let t=(e+"").split(".");return t[1]!==void 0?t[1].length:0}function R0(e,t,c){let n=Gb(e);return Math.max(t,Math.min(n,c))}function g_(e,t,c){let n=Gb(e),l=Gb(t),o=Gb(c),d=Math.max(X_(c),X_(t)),i=l%o?l:0,a=Math.round((n-i)/o)*o+i;return d?Gb(a.toFixed(d)):a}var $He={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-end",justify:"flex-start"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},eIe={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-end",align:"flex-start"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{align:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function x_(e,t="row"){if(!Td(e))return{};let n=t==="column"?eIe:$He;return e in n?n[e]:{align:e}}var xy=u(T(),1);function py(e){return typeof e=="string"?[e]:xy.Children.toArray(e).filter(t=>(0,xy.isValidElement)(t))}var p_=u(F(),1);function ux(e){let{alignment:t="edge",children:c,direction:n,spacing:l=2,...o}=ae(e,"HStack"),d=x_(t,n),a={children:py(c).map((m,X)=>{if(wg(m,["Spacer"])){let g=m,x=g.key||`hstack-${X}`;return(0,p_.jsx)(Cn,{isBlock:!0,...g.props},x)}return m}),direction:n,justify:"center",...d,...o,gap:l},{isColumn:s,...b}=b0(a);return b}var R_=u(F(),1);function tIe(e,t){let c=ux(e);return(0,R_.jsx)(Ce,{...c,ref:t})}var cIe=ie(tIe,"HStack"),xt=cIe;var jd=u(F(),1),nIe=()=>{};function lIe(e,t){let{__unstableStateReducer:c,className:n,dragDirection:l="n",hideHTMLArrows:o=!1,spinControls:d=o?"none":"native",isDragEnabled:i=!0,isShiftStepEnabled:r=!0,label:a,max:s=1/0,min:b=-1/0,required:m=!1,shiftStep:X=10,step:G=1,spinFactor:g=1,type:x="number",value:H,size:p="default",suffix:R,onChange:I=nIe,...f}=e;o&&(0,I_.default)("wp.components.NumberControl hideHTMLArrows prop ",{alternative:'spinControls="none"',since:"6.2",version:"6.3"});let y=(0,Ry.useRef)(null),Z=(0,H_.useMergeRefs)([y,t]),W=G==="any",v=W?1:Rg(G),h=Rg(g)*v,C=(Q,z)=>(W||(Q=g_(Q,b,z??v)),`${R0(Q,b,s)}`),B=C(0),V=x==="number"?"off":void 0,S=w("components-number-control",n),J=ec()(p==="small"&&m_.smallSpinButtons),k=(Q,z,D)=>{D?.preventDefault();let U=D?.shiftKey&&r,O=U?Rg(X)*h:h,L=JE(Q)?B:Q;return z==="up"?L=gC(L,O):z==="down"&&(L=G_(L,O)),C(L,U?O:void 0)},N=(Q,z)=>{let D={...Q},{type:U,payload:O}=z,L=O.event,M=D.value;if((U===ga||U===ub)&&(D.value=k(M,U===ga?"up":"down",L)),U===uy&&i){let[_,j]=O.delta,ue=O.shiftKey&&r,xe=ue?Rg(X)*h:h,Be,P;switch(l){case"n":P=j,Be=-1;break;case"e":P=_,Be=(0,H0.isRTL)()?-1:1;break;case"s":P=j,Be=1;break;case"w":P=_,Be=(0,H0.isRTL)()?1:-1;break}if(P!==0){P=Math.ceil(Math.abs(P))*Math.sign(P);let ye=P*xe*Be;D.value=C(gC(M,ye),ue?xe:void 0)}}if(U===my||U===bb){let _=m===!1&&M==="";D.value=_?M:C(M)}return c?.(D,z)??D},A=Q=>z=>I(String(k(H,Q,z)),{event:{...z,target:y.current}});return(0,jd.jsx)(u_,{autoComplete:V,inputMode:"numeric",...f,className:S,dragDirection:l,hideHTMLArrows:d!=="native",isDragEnabled:i,label:a,max:s===1/0?void 0:s,min:b===-1/0?void 0:b,ref:Z,required:m,step:G,type:x,value:H,__unstableStateReducer:N,size:p,suffix:d==="custom"?(0,jd.jsxs)(jd.Fragment,{children:[R,(0,jd.jsx)(Pc,{marginBottom:0,marginRight:2,children:(0,jd.jsxs)(xt,{spacing:1,children:[(0,jd.jsx)(GC,{className:J,icon:Mi,size:"small",label:(0,H0.__)("Increment"),onClick:A("up")}),(0,jd.jsx)(GC,{className:J,icon:ex,size:"small",label:(0,H0.__)("Decrement"),onClick:A("down")})]})})]}):R,onChange:I})}var Z_=(0,Ry.forwardRef)(lIe);Z_.displayName="NumberControl";var $n=Z_;var f_=u(F(),1);function oIe(e,t){let c=ae(e,"InputControlPrefixWrapper");return(0,f_.jsx)(cy,{...c,isPrefix:!0,ref:t})}var xC=ie(oIe,"InputControlPrefixWrapper"),Ha=xC;var y_=u(F(),1);function dIe(e,t){let c=ae(e,"InputControlSuffixWrapper");return(0,y_.jsx)(cy,{...c,ref:t})}var pC=ie(dIe,"InputControlSuffixWrapper"),I0=pC;var Z0=u(T(),1),W_=u(me(),1),Hy=u(F(),1),HC="data-wp-hash";function IC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rIe(document)),e.__wpStyleRuntime}function iIe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${HC}]`))if(c.getAttribute(HC)===t)return!0;return!1}function h_(e,t,c){if(!e.head)return;let n=IC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(iIe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(HC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function rIe(e){let t=IC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)h_(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function aIe(e,t){let c=IC();c.styles.set(e,t);for(let n of c.documents.keys())h_(n,e,t)}typeof process>"u",aIe("cbb20ea39f","._8f57b8d483c51fbe__circle-root{border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-radius:50%;box-sizing:border-box;cursor:grab;height:32px;overflow:hidden;width:32px}._8f57b8d483c51fbe__circle-root:active{cursor:grabbing}.b1bae984ac10fcc3__circle-indicator-wrapper{box-sizing:border-box;height:100%;position:relative;width:100%}.b1bae984ac10fcc3__circle-indicator-wrapper:focus-visible{outline:none}._6d2fe0a2cbb31bf0__circle-indicator{background:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));border-radius:50%;box-sizing:border-box;display:block;height:6px;left:50%;position:absolute;top:4px;transform:translateX(-50%);width:6px}");var RC={"circle-root":"_8f57b8d483c51fbe__circle-root","circle-indicator-wrapper":"b1bae984ac10fcc3__circle-indicator-wrapper","circle-indicator":"_6d2fe0a2cbb31bf0__circle-indicator"};function sIe({value:e,onChange:t,className:c,...n}){let l=(0,Z0.useRef)(null),o=(0,Z0.useRef)(void 0),d=(0,Z0.useRef)(void 0),i=()=>{if(l.current===null)return;let b=l.current.getBoundingClientRect();o.current={x:b.x+b.width/2,y:b.y+b.height/2}},r=b=>{if(b!==void 0&&(b.preventDefault(),b.target?.focus(),o.current!==void 0&&t!==void 0)){let{x:m,y:X}=o.current;t(bIe(m,X,b.clientX,b.clientY))}},{startDrag:a,isDragging:s}=(0,W_.__experimentalUseDragging)({onDragStart:b=>{i(),r(b)},onDragMove:r,onDragEnd:r});return(0,Z0.useEffect)(()=>{s?(d.current===void 0&&(d.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=d.current||"",d.current=void 0)},[s]),(0,Hy.jsx)("div",{ref:l,onMouseDown:a,className:w("components-angle-picker-control__angle-circle",RC["circle-root"],c),...n,children:(0,Hy.jsx)("div",{style:e?{transform:`rotate(${e}deg)`}:void 0,className:w("components-angle-picker-control__angle-circle-indicator-wrapper",RC["circle-indicator-wrapper"]),tabIndex:-1,children:(0,Hy.jsx)("div",{className:w("components-angle-picker-control__angle-circle-indicator",RC["circle-indicator"])})})})}function bIe(e,t,c,n){let l=n-t,o=c-e,d=Math.atan2(l,o),i=Math.round(d*(180/Math.PI))+90;return i<0?360+i:i}var B_=sIe;var er=u(F(),1);function uIe(e,t){let{className:c,label:n=(0,Iy.__)("Angle"),onChange:l,value:o,...d}=e,i=s=>{if(l===void 0)return;let b=s!==void 0&&s!==""?parseInt(s,10):0;l(b)},r=w("components-angle-picker-control",c),a=(0,Iy.isRTL)()?{prefix:(0,er.jsx)(Ha,{children:"\xB0"})}:{suffix:(0,er.jsx)(I0,{children:"\xB0"})};return(0,er.jsxs)(Mt,{...d,ref:t,className:r,gap:2,children:[(0,er.jsx)(Pn,{children:(0,er.jsx)($n,{label:n,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:i,step:"1",value:o,spinControls:"none",...a})}),(0,er.jsx)(Pc,{marginBottom:"1",marginTop:"auto",children:(0,er.jsx)(B_,{"aria-hidden":"true",value:o,onChange:l})})]})}var V_=(0,v_.forwardRef)(uIe);V_.displayName="AnglePickerControl";var Zy=V_;var el=u(T(),1),V0=u(me(),1),Jn=u(ZC(),1),Yj=u(Md(),1),Ny=u(Xa(),1);var Ij=u(io(),1),ya=u(T(),1),Zj=u(ZC(),1),v0=u(me(),1),fj=u(Md(),1),fa=u(Ze(),1);var w_=u(yy(),1),k_=u(me(),1),Wy=u(T(),1);var S_=u(yy(),1),xIe=new RegExp(/[\u007e\u00ad\u2053\u207b\u208b\u2212\p{Pd}]/gu),fC=e=>(0,S_.default)(e).normalize("NFKC").toLocaleLowerCase().replace(xIe,"-");function gb(e){return e.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}function pIe(e,t=[],c=10){let n=[];for(let l=0;l<t.length;l++){let o=t[l],{keywords:d=[]}=o;if(typeof o.label=="string"&&(d=[...d,o.label]),!!d.some(r=>e.test((0,w_.default)(r)))&&(n.push(o),n.length===c))break}return n}function z_(e){return t=>{let[c,n]=(0,Wy.useState)([]);return(0,Wy.useLayoutEffect)(()=>{let{options:l,isDebounced:o}=e,d=(0,k_.debounce)(()=>{let r=Promise.resolve(typeof l=="function"?l(t):l).then(a=>{if(r.canceled)return;let s=a.map((m,X)=>({key:`${e.name}-${X}`,value:m,label:e.getOptionLabel(m),keywords:e.getOptionKeywords?e.getOptionKeywords(m):[],isDisabled:e.isOptionDisabled?e.isOptionDisabled(m):!1})),b=new RegExp("(?:\\b|\\s|^)"+gb(t),"i");n(pIe(b,s))});return r},o?250:0),i=d();return()=>{d.cancel(),i&&(i.canceled=!0)}},[t]),[c]}}var Fc=u(E(),1),A_=u(E(),1),O_=u(io(),1),HIe=typeof document<"u",IIe=function(){},hy=HIe?A_.useLayoutEffect:IIe;function By(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 c,n,l;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(c=e.length,c!==t.length)return!1;for(n=c;n--!==0;)if(!By(e[n],t[n]))return!1;return!0}if(l=Object.keys(e),c=l.length,c!==Object.keys(t).length)return!1;for(n=c;n--!==0;)if(!{}.hasOwnProperty.call(t,l[n]))return!1;for(n=c;n--!==0;){let o=l[n];if(!(o==="_owner"&&e.$$typeof)&&!By(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Q_(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function T_(e,t){let c=Q_(e);return Math.round(t*c)/c}function yC(e){let t=Fc.useRef(e);return hy(()=>{t.current=e}),t}function vy(e){e===void 0&&(e={});let{placement:t="bottom",strategy:c="absolute",middleware:n=[],platform:l,elements:{reference:o,floating:d}={},transform:i=!0,whileElementsMounted:r,open:a}=e,[s,b]=Fc.useState({x:0,y:0,strategy:c,placement:t,middlewareData:{},isPositioned:!1}),[m,X]=Fc.useState(n);By(m,n)||X(n);let[G,g]=Fc.useState(null),[x,H]=Fc.useState(null),p=Fc.useCallback(N=>{N!==y.current&&(y.current=N,g(N))},[]),R=Fc.useCallback(N=>{N!==Z.current&&(Z.current=N,H(N))},[]),I=o||G,f=d||x,y=Fc.useRef(null),Z=Fc.useRef(null),W=Fc.useRef(s),v=r!=null,h=yC(r),C=yC(l),B=yC(a),V=Fc.useCallback(()=>{if(!y.current||!Z.current)return;let N={placement:t,strategy:c,middleware:m};C.current&&(N.platform=C.current),Mu(y.current,Z.current,N).then(A=>{let Q={...A,isPositioned:B.current!==!1};S.current&&!By(W.current,Q)&&(W.current=Q,O_.flushSync(()=>{b(Q)}))})},[m,t,c,C,B]);hy(()=>{a===!1&&W.current.isPositioned&&(W.current.isPositioned=!1,b(N=>({...N,isPositioned:!1})))},[a]);let S=Fc.useRef(!1);hy(()=>(S.current=!0,()=>{S.current=!1}),[]),hy(()=>{if(I&&(y.current=I),f&&(Z.current=f),I&&f){if(h.current)return h.current(I,f,V);V()}},[I,f,V,h,v]);let Y=Fc.useMemo(()=>({reference:y,floating:Z,setReference:p,setFloating:R}),[p,R]),J=Fc.useMemo(()=>({reference:I,floating:f}),[I,f]),k=Fc.useMemo(()=>{let N={position:c,left:0,top:0};if(!J.floating)return N;let A=T_(J.floating,s.x),Q=T_(J.floating,s.y);return i?{...N,transform:"translate("+A+"px, "+Q+"px)",...Q_(J.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:A,top:Q}},[c,i,J.floating,s.x,s.y]);return Fc.useMemo(()=>({...s,update:V,refs:Y,elements:J,floatingStyles:k}),[s,V,Y,J,k])}var ZIe=e=>{function t(c){return{}.hasOwnProperty.call(c,"current")}return{name:"arrow",options:e,fn(c){let{element:n,padding:l}=typeof e=="function"?e(c):e;return n&&t(n)?n.current!=null?FG({element:n.current,padding:l}).fn(c):{}:n?FG({element:n,padding:l}).fn(c):{}}}},mx=(e,t)=>{let c=hH(e);return{name:c.name,fn:c.fn,options:[e,t]}},Xx=(e,t)=>{let c=BH(e);return{name:c.name,fn:c.fn,options:[e,t]}},Gx=(e,t)=>({fn:CH(e).fn,options:[e,t]}),gx=(e,t)=>{let c=vH(e);return{name:c.name,fn:c.fn,options:[e,t]}},xb=(e,t)=>{let c=VH(e);return{name:c.name,fn:c.fn,options:[e,t]}};var WC=(e,t)=>{let c=ZIe(e);return{name:c.name,fn:c.fn,options:[e,t]}};var $c=u(T(),1),Ia=u(me(),1);var B0=u(Xt(),1),Rx=u(rt(),1),pj=u(Ze(),1);var L_=u(T(),1),U_=0;function E_(e){let t=document.scrollingElement||document.body;e&&(U_=t.scrollTop);let c=e?"add":"remove";t.classList[c]("lockscroll"),document.documentElement.classList[c]("lockscroll"),e||(t.scrollTop=U_)}var Vy=0;function fIe(){return(0,L_.useEffect)(()=>(Vy===0&&E_(!0),++Vy,()=>{Vy===1&&E_(!1),--Vy}),[]),null}var Cy=fIe;var px=u(T(),1);var ej=u(me(),1),Ko=u(T(),1);var hC=u(me(),1),D_=u(T(),1),Jut=u(En(),1),yIe={slots:(0,hC.observableMap)(),fills:(0,hC.observableMap)(),registerSlot:()=>{},unregisterSlot:()=>{},updateSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},updateFill:()=>{},isDefault:!0},__=(0,D_.createContext)(yIe);__.displayName="SlotFillContext";var fl=__;var Xn=[];for(let e=0;e<256;++e)Xn.push((e+256).toString(16).slice(1));function j_(e,t=0){return(Xn[e[t+0]]+Xn[e[t+1]]+Xn[e[t+2]]+Xn[e[t+3]]+"-"+Xn[e[t+4]]+Xn[e[t+5]]+"-"+Xn[e[t+6]]+Xn[e[t+7]]+"-"+Xn[e[t+8]]+Xn[e[t+9]]+"-"+Xn[e[t+10]]+Xn[e[t+11]]+Xn[e[t+12]]+Xn[e[t+13]]+Xn[e[t+14]]+Xn[e[t+15]]).toLowerCase()}var WIe=new Uint8Array(16);function BC(){return crypto.getRandomValues(WIe)}function hIe(e,t,c){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():BIe(e,t,c)}function BIe(e,t,c){e=e||{};let n=e.random??e.rng?.()??BC();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(c=c||0,c<0||c+16>t.length)throw new RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let l=0;l<16;++l)t[c+l]=n[l];return t}return j_(n)}var f0=hIe;var P_=u(T(),1),$_=u(F(),1),VC="data-wp-hash";function K_(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&q_(document)),e.__wpStyleRuntime}function VIe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${VC}]`))if(c.getAttribute(VC)===t)return!0;return!1}function CIe(e,t,c){if(!e.head)return;let n=K_(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(VIe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(VC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function q_(e){let t=K_();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)CIe(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}var M_=new Set,vC=new WeakMap,FIe=e=>{if(vC.has(e))return vC.get(e);let t=f0().replace(/[0-9]/g,"");for(;M_.has(t);)t=f0().replace(/[0-9]/g,"");M_.add(t);let c=l0({container:e,key:t});return vC.set(e,c),c};function CC(e){let{children:t,document:c}=e;if((0,P_.useLayoutEffect)(()=>{if(c)return q_(c)},[c]),!c)return null;let n=FIe(c.head);return(0,$_.jsx)(W9,{value:n,children:t})}var y0=CC;var tj=u(F(),1);function W0({name:e,children:t}){let c=(0,Ko.useContext)(fl),n=(0,Ko.useRef)({}),l=(0,Ko.useRef)(t);(0,Ko.useLayoutEffect)(()=>{l.current=t},[t]),(0,Ko.useLayoutEffect)(()=>{let r=n.current;return c.registerFill(e,{instance:r,children:l.current}),()=>c.unregisterFill(e,r)},[c,e]),(0,Ko.useLayoutEffect)(()=>{c.updateFill(e,{instance:n.current,children:t})},[c,e,t]);let o=(0,ej.useObservableValue)(c.slots,e);if(!o||o.type==="children")return null;let d=o.ref.current;if(!d)return null;let i=typeof t=="function"?t(o.fillProps??{}):t;return(0,Ko.createPortal)((0,tj.jsx)(y0,{document:d.ownerDocument,children:i}),d)}var FC=u(me(),1),Go=u(T(),1);var Fy=u(F(),1);function cj(e){return typeof e=="function"}function JIe(e){return Go.Children.map(e,(t,c)=>{if(!t||typeof t=="string")return t;let n=c;return typeof t=="object"&&"key"in t&&t?.key&&(n=t.key),(0,Go.cloneElement)(t,{key:n})})}function YIe(e){let{name:t,children:c,fillProps:n={}}=e,l=(0,Go.useContext)(fl),o=(0,Go.useRef)({});(0,Go.useLayoutEffect)(()=>{let a=o.current;return l.registerSlot(t,{type:"children",instance:a}),()=>l.unregisterSlot(t,a)},[l,t]);let d=(0,FC.useObservableValue)(l.fills,t)??[],i=(0,FC.useObservableValue)(l.slots,t);(!i||i.instance!==o.current)&&(d=[]);let r=d.map(a=>{let s=cj(a.children)?a.children(n):a.children;return JIe(s)}).filter(a=>!(0,Go.isEmptyElement)(a));return(0,Fy.jsx)(Fy.Fragment,{children:cj(c)?c(r):r})}var nj=YIe;var go=u(T(),1),lj=u(me(),1);var oj=u(F(),1);function NIe(e,t){let{name:c,fillProps:n={},as:l,children:o,...d}=e,i=(0,go.useContext)(fl),r=(0,go.useRef)({}),a=(0,go.useRef)(null),s=(0,go.useRef)(n);return(0,go.useLayoutEffect)(()=>{s.current=n},[n]),(0,go.useLayoutEffect)(()=>{let b=r.current;return i.registerSlot(c,{type:"portal",instance:b,ref:a,fillProps:s.current}),()=>i.unregisterSlot(c,b)},[i,c]),(0,go.useLayoutEffect)(()=>{i.updateSlot(c,{type:"portal",instance:r.current,ref:a,fillProps:s.current})}),(0,oj.jsx)(Ce,{as:l,ref:(0,lj.useMergeRefs)([t,a]),...d})}var dj=(0,go.forwardRef)(NIe);var JC=u(me(),1),rj=u(T(),1),aj=u(Jy(),1);var sj=u(F(),1);function SIe(){let e=(0,JC.observableMap)(),t=(0,JC.observableMap)();function c(r,a){e.set(r,a)}function n(r,a){let s=e.get(r);!s||s.instance!==a||e.delete(r)}function l(r,a){if(a.type!=="portal")return;let s=e.get(r);s&&s.type==="portal"&&s.instance===a.instance&&((0,aj.isShallowEqual)(s.fillProps,a.fillProps)||e.set(r,a))}function o(r,a){t.set(r,[...t.get(r)||[],a])}function d(r,a){let s=t.get(r);s&&t.set(r,s.filter(b=>b.instance!==a))}function i(r,a){let s=t.get(r);if(!s)return;let b=s.find(m=>m.instance===a.instance);b&&b.children!==a.children&&t.set(r,s.map(m=>m.instance===a.instance?a:m))}return{slots:e,fills:t,registerSlot:c,unregisterSlot:n,updateSlot:l,registerFill:o,unregisterFill:d,updateFill:i}}function wIe({children:e}){let[t]=(0,rj.useState)(SIe);return(0,sj.jsx)(fl.Provider,{value:t,children:e})}var bj=wIe;var tr=u(F(),1);var uj=u(T(),1),mj=u(me(),1);function xx(e){let t=(0,uj.useContext)(fl),c=(0,mj.useObservableValue)(t.slots,e),n;return c&&c.type==="portal"&&(n=c.ref),{ref:n}}var pb=u(T(),1);function kIe(e,t,c){let n=(0,pb.useMemo)(()=>o=>e.subscribe(t,o),[e,t]),l=()=>c(e.get(t));return(0,pb.useSyncExternalStore)(n,l,l)}function zIe(e){return e?.length}function YC(e){let t=(0,pb.useContext)(fl),c=kIe(t.fills,e,zIe);return(0,pb.useMemo)(()=>c!==void 0?Array.from({length:c}):void 0,[c])}var h0=(0,px.forwardRef)((e,t)=>{let{bubblesVirtually:c,...n}=e;return c?(0,tr.jsx)(dj,{...n,ref:t}):(0,tr.jsx)(nj,{...n})});h0.displayName="Slot";function NC({children:e,passthrough:t=!1}){return!(0,px.useContext)(fl).isDefault&&t?(0,tr.jsx)(tr.Fragment,{children:e}):(0,tr.jsx)(bj,{children:e})}NC.displayName="SlotFillProvider";function Xj(e){let t=typeof e=="symbol"?e.description:e,c=l=>(0,tr.jsx)(W0,{name:e,...l});c.displayName=`${t}Fill`;let n=(0,px.forwardRef)((l,o)=>(0,tr.jsx)(h0,{name:e,ref:o,...l}));return n.displayName=`${t}Slot`,n.__unstableName=e,{name:e,Fill:c,Slot:n}}function Gj(){return[{name:"overlay",fn({rects:e}){return e.reference}},xb({apply({rects:e,elements:t}){let{firstElementChild:c}=t.floating??{};c instanceof HTMLElement&&Object.assign(c.style,{width:`${e.reference.width}px`,height:`${e.reference.height}px`})}})]}var gj=u(T(),1),Yy=(0,gj.createContext)(void 0);Yy.displayName="__unstableSlotNameContext";var Jc=u(F(),1),Rj="Popover",TIe=8,AIe=()=>(0,Jc.jsxs)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation",children:[(0,Jc.jsx)(Rx.Path,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,Jc.jsx)(Rx.Path,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})]}),xj="components-popover__fallback-container",OIe=()=>{let e=document.body.querySelector("."+xj);return e||(e=document.createElement("div"),e.className=xj,document.body.append(e)),e},QIe=(e,t)=>{let{animate:c=!0,headerTitle:n,constrainTabbing:l,onClose:o,children:d,className:i,noArrow:r=!0,position:a,placement:s="bottom-start",offset:b=0,focusOnMount:m="firstElement",anchor:X,expandOnMobile:G,onFocusOutside:g,__unstableSlotName:x=Rj,flip:H=!0,resize:p=!0,shift:R=!1,inline:I=!1,variant:f,style:y,__unstableForcePosition:Z,anchorRef:W,anchorRect:v,getAnchorRect:h,isAlternate:C,onKeyDown:B,...V}=ae(e,"Popover"),S=H,Y=p;Z!==void 0&&((0,B0.default)("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),S=!Z,Y=!Z),W!==void 0&&(0,B0.default)("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),v!==void 0&&(0,B0.default)("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),h!==void 0&&(0,B0.default)("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});let J=C?"toolbar":f;C!==void 0&&(0,B0.default)("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});let k=(0,$c.useRef)(null),[N,A]=(0,$c.useState)(null),Q=(0,$c.useCallback)(Qe=>{A(Qe)},[]),z=(0,Ia.useViewportMatch)("medium","<"),D=G&&z,U=!D&&!r,O=a?sa(a):s,L=[...s==="overlay"?Gj():[],mx(b),S&&gx(),Y&&xb({padding:TIe,apply(Qe){let{firstElementChild:he}=ye.floating.current??{};he instanceof HTMLElement&&Object.assign(he.style,{maxHeight:`${Math.max(0,Qe.availableHeight)}px`,overflow:"auto"})}}),R&&Xx({crossAxis:!0,limiter:Gx(),padding:1}),WC({element:k})],M=(0,$c.useContext)(Yy)||x,_=xx(M),j;(o||g)&&(j=(Qe,he)=>{if(Qe==="focus-outside"){let Ke=he?.target,ut=ye.reference.current,kt=ye.floating.current,al=ut&&"contains"in ut&&ut.contains(Ke)||kt?.contains(Ke),$e=kt?.ownerDocument;if(!al&&!("relatedTarget"in he&&he.relatedTarget)&&$e?.activeElement===$e?.body)return;let pc="relatedTarget"in he?he.relatedTarget:null;if(pc instanceof Element&&pc.closest("[data-wp-compat-overlay-slot]")||kt&&$e?.activeElement instanceof Element&&kt.contains($e.activeElement))return;g?g(he):o&&o()}else o&&o()});let[ue,xe]=(0,Ia.__experimentalUseDialog)({constrainTabbing:l,focusOnMount:m,onKeyDown:B,__unstableOnClose:j,onClose:j}),{x:Be,y:P,refs:ye,strategy:Te,update:ze,placement:Ne,middlewareData:{arrow:He}}=vy({placement:O==="overlay"?void 0:O,middleware:L,whileElementsMounted:(Qe,he,Ke)=>Ci(Qe,he,Ke,{layoutShift:!1,animationFrame:!0})}),we=(0,$c.useCallback)(Qe=>{k.current=Qe,ze()},[ze]),pe=W?.top,ve=W?.bottom,Ve=W?.startContainer,qe=W?.current;(0,$c.useLayoutEffect)(()=>{let Qe=jL({anchor:X,anchorRef:W,anchorRect:v,getAnchorRect:h,fallbackReferenceElement:N});ye.setReference(Qe)},[X,W,pe,ve,Ve,qe,v,h,N,ye]);let Vt=(0,Ia.useMergeRefs)([ye.setFloating,ue,t]),Ge=D?void 0:{position:Te,top:0,left:0,x:w9(Be),y:w9(P)},We=(0,Ia.useReducedMotion)(),se=c&&!D&&!We,[ee,Ae]=(0,$c.useState)(!1),{style:ot,...ft}=(0,$c.useMemo)(()=>_L(Ne),[Ne]),Lt=se?{style:{...y,...ot,...Ge},onAnimationComplete:()=>Ae(!0),...ft}:{animate:!1,style:{...y,...Ge}},kc=(!se||ee)&&Be!==null&&P!==null,Ye=(0,Jc.jsxs)(oa.div,{className:w(i,{"is-expanded":D,"is-positioned":kc,[`is-${J==="toolbar"?"alternate":J}`]:J}),...Lt,...V,ref:Vt,...xe,tabIndex:-1,children:[D&&(0,Jc.jsx)(Cy,{}),D&&(0,Jc.jsxs)("div",{className:"components-popover__header",children:[(0,Jc.jsx)("span",{className:"components-popover__header-title",children:n}),(0,Jc.jsx)(be,{className:"components-popover__close",size:"small",icon:Ug,onClick:o,label:(0,pj.__)("Close")})]}),(0,Jc.jsx)("div",{className:"components-popover__content",children:d}),U&&(0,Jc.jsx)("div",{ref:we,className:["components-popover__arrow",`is-${Ne.split("-")[0]}`].join(" "),style:{left:typeof He?.x<"u"&&Number.isFinite(He.x)?`${He.x}px`:"",top:typeof He?.y<"u"&&Number.isFinite(He.y)?`${He.y}px`:""},children:(0,Jc.jsx)(AIe,{})})]}),le=_.ref&&!I,Fe=W||v||X;return le?Ye=(0,Jc.jsx)(W0,{name:M,children:Ye}):I||(Ye=(0,$c.createPortal)((0,Jc.jsx)(CC,{document,children:Ye}),OIe())),Fe?Ye:(0,Jc.jsxs)(Jc.Fragment,{children:[(0,Jc.jsx)("span",{ref:Q}),Ye]})},UIe=(0,$c.forwardRef)(({name:e=Rj},t)=>(0,Jc.jsx)(h0,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})),EIe=Object.assign(ie(QIe,"Popover"),{Slot:Object.assign(UIe,{displayName:"Popover.Slot"}),__unstableSlotNameProvider:Object.assign(Yy.Provider,{displayName:"Popover.__unstableSlotNameProvider"})}),Za=EIe;var Pd=u(F(),1);function Hj({items:e,onSelect:t,selectedIndex:c,instanceId:n,listBoxId:l,className:o,Component:d="div"}){return(0,Pd.jsx)(d,{id:l,role:"listbox",className:"components-autocomplete__results",children:e.map((i,r)=>(0,Pd.jsx)(be,{id:`components-autocomplete-item-${n}-${i.key}`,role:"option",__next40pxDefaultSize:!0,"aria-selected":r===c,accessibleWhenDisabled:!0,disabled:i.isDisabled,className:w("components-autocomplete__result",o,{"is-selected":r===c}),variant:r===c?"primary":void 0,onClick:()=>t(i),children:i.label},i.key))})}function yj({autocompleter:e,filterValue:t,instanceId:c,listBoxId:n,className:l,selectedIndex:o,onChangeOptions:d,onSelect:i,reset:r,contentRef:a}){let s=e.useItems??z_(e),[b]=s(t),m=(0,Zj.useAnchor)({editableContentElement:a.current}),[X,G]=(0,ya.useState)(!1),g=(0,ya.useRef)(null),x=(0,v0.useMergeRefs)([g,(0,v0.useRefEffect)(R=>{a.current&&G(R.ownerDocument!==a.current.ownerDocument)},[a])]);LIe(g,r);let H=(0,v0.useDebounce)(fj.speak,500);function p(R){H&&(R.length?H(t?(0,fa.sprintf)((0,fa._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",R.length),R.length):(0,fa.sprintf)((0,fa._n)("Initial %d result loaded. Type to filter all available results. Use up and down arrow keys to navigate.","Initial %d results loaded. Type to filter all available results. Use up and down arrow keys to navigate.",R.length),R.length),"assertive"):H((0,fa.__)("No results."),"assertive"))}return(0,ya.useLayoutEffect)(()=>{d(b),p(b)},[b]),b.length===0?null:(0,Pd.jsxs)(Pd.Fragment,{children:[(0,Pd.jsx)(Za,{offset:8,focusOnMount:!1,placement:"top-start",className:"components-autocomplete__popover",anchor:m,ref:x,children:(0,Pd.jsx)(Hj,{items:b,onSelect:i,selectedIndex:o,instanceId:c,listBoxId:n,className:l})}),a.current&&X&&(0,Ij.createPortal)((0,Pd.jsx)(Hj,{items:b,onSelect:i,selectedIndex:o,instanceId:c,listBoxId:n,className:l,Component:bt}),a.current.ownerDocument.body)]})}function LIe(e,t){(0,ya.useEffect)(()=>{let c=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",c),document.addEventListener("touchstart",c),()=>{document.removeEventListener("mousedown",c),document.removeEventListener("touchstart",c)}},[t,e])}var Wj=u(yy(),1);function hj(e,t,c){let{matchCount:n,isBackspacing:l,getTextAfterSelection:o,lastCompletion:d}=c;if(!e)return null;let i=null,r=-1,a=-1,s=0;for(let p of t){let R=e.lastIndexOf(p.triggerPrefix);if(R<0)continue;let I=R+p.triggerPrefix.length;(I>a||I===a&&p.triggerPrefix.length>s)&&(i=p,r=R,a=I,s=p.triggerPrefix.length)}if(!i)return null;let{allowContext:b,triggerPrefix:m}=i,X=e.slice(r+m.length);if(X.length>50)return null;let G=n===0,g=X.split(/\s/),x=g.length===1,H=l&&g.length<=3;return G&&!(H||x)||b&&!b(e.slice(0,r),o())||/^\s/.test(X)||/\s\s+$/.test(X)||d&&d.name===i.name&&X.trimEnd()===d.value?null:{completer:i,filterValue:(0,Wj.default)(X)}}var SC=e=>{if(e===null)return"";switch(typeof e){case"string":case"number":return e.toString();case"object":return e instanceof Array?e.map(SC).join(""):"props"in e?SC(e.props.children):"";default:return""}},Bj=SC;var Cj=u(Vj(),1),{lock:Fj,unlock:Jj}=(0,Cj.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/components");var C0=u(F(),1),{subscribeOwnedListener:DIe}=Jj(Jn.privateApis),_Ie=[],jIe={};function MIe(e){return e!==null&&typeof e=="object"&&"action"in e&&e.action!==void 0&&"value"in e&&e.value!==void 0?e:{action:"insert-at-caret",value:e}}var Nj={selectedIndex:0,filteredOptions:_Ie,filterValue:"",autocompleter:null};function PIe(e,t){switch(t.type){case"RESET":return Nj;case"SELECT":return{...e,selectedIndex:t.index};case"OPTIONS":return{...e,filteredOptions:t.options,selectedIndex:t.options.length===e.filteredOptions.length?e.selectedIndex:0};case"MATCH":return{...e,autocompleter:t.completer,filterValue:t.query}}}function Sj({record:e,onChange:t,onReplace:c,completers:n,contentRef:l}){let o=(0,V0.useInstanceId)(jIe),[d,i]=(0,el.useReducer)(PIe,Nj),{selectedIndex:r,filteredOptions:a,filterValue:s,autocompleter:b}=d,m=(0,el.useRef)(!1),X=(0,el.useRef)(""),G=(0,el.useRef)(null);function g(C){if(b===null)return"";let B=e.start,V=B-b.triggerPrefix.length-s.length,S=(0,Jn.create)({html:(0,el.renderToString)(C)});return t((0,Jn.insert)(e,S,V,B)),(0,Jn.getTextContent)(S)}function x(C){if(C.isDisabled||!b)return;let{getOptionCompletion:B}=b;if(!B){i({type:"RESET"}),l.current?.focus();return}let V=MIe(B(C.value,s));if(V.action==="replace"){c([V.value]);return}if(V.action==="insert-at-caret"){let S=g(V.value);if(S.startsWith(b.triggerPrefix)){let Y=S.slice(b.triggerPrefix.length);Y&&(G.current={name:b.name,value:Y})}}i({type:"RESET"}),l.current?.focus()}function H(C){i({type:"OPTIONS",options:C})}function p(C){if(m.current=C.key==="Backspace",!!b&&a.length!==0&&!C.defaultPrevented){switch(C.key){case"ArrowUp":case"ArrowDown":{let B=C.key==="ArrowUp"?-1:1,V=(r+B+a.length)%a.length;i({type:"SELECT",index:V}),(0,Ny.isAppleOS)()&&(0,Yj.speak)(Bj(a[V].label),"assertive");break}case"Escape":i({type:"RESET"}),C.preventDefault();break;case"Enter":x(a[r]);break;case"ArrowLeft":case"ArrowRight":i({type:"RESET"});return;default:return}C.preventDefault()}}let R=(0,el.useMemo)(()=>(0,Jn.isCollapsed)(e)?(0,Jn.getTextContent)((0,Jn.slice)(e,0)):"",[e]);(0,el.useEffect)(()=>{let C=e.text!==X.current;X.current=e.text;function B(){return R?(0,Jn.getTextContent)((0,Jn.slice)(e,void 0,(0,Jn.getTextContent)(e).length)):""}let V=hj(R,n,{matchCount:a.length,isBackspacing:m.current,getTextAfterSelection:B,lastCompletion:G.current});if(!V){b&&i({type:"RESET"});return}let{completer:S,filterValue:Y}=V;!b&&!C||(G.current&&G.current.name===S.name&&(G.current=null),i({type:"MATCH",completer:S,query:Y}))},[R]);let{key:I=""}=a[r]||{},{className:f}=b||{},y=!!b&&a.length>0,Z=y?`components-autocomplete-listbox-${o}`:void 0,W=y?`components-autocomplete-item-${o}-${I}`:null,v=e.start!==void 0,h=!!R&&v&&!!b;return{listBoxId:Z,activeId:W,onKeyDown:(0,Ny.withIgnoreIMEEvents)(p),popover:h&&(0,C0.jsx)(yj,{autocompleter:b,className:f,filterValue:s,instanceId:o,listBoxId:Z,selectedIndex:r,onChangeOptions:H,onSelect:x,contentRef:l,reset:()=>i({type:"RESET"})},b.name+b.triggerPrefix)}}function KIe(e,t){return e.text===t.text&&e.start===t.start&&e.end===t.end}function qIe(e){let t=(0,el.useRef)([]),c=t.current[t.current.length-1];return(!c||!KIe(e,c))&&t.current.push(e),t.current.length>2&&t.current.shift(),t.current[0]}function wj(e){let t=(0,el.useRef)(null),c=(0,el.useRef)(void 0),{record:n}=e,l=qIe(n),{popover:o,listBoxId:d,activeId:i,onKeyDown:r}=Sj({...e,contentRef:t});c.current=r;let a=(0,V0.useMergeRefs)([t,(0,V0.useRefEffect)(b=>{function m(X){c.current?.(X)}return DIe(b,"keydown",m,!0)},[])]);return n.text!==l?.text?{ref:a,children:o,"aria-autocomplete":d?"list":void 0,"aria-haspopup":d?"listbox":void 0,"aria-controls":d,"aria-owns":d,"aria-activedescendant":i??void 0}:{ref:a}}function kj({children:e,isSelected:t,...c}){let{popover:n,...l}=Sj(c);return(0,C0.jsxs)(C0.Fragment,{children:[e(l),t&&n]})}var J4=u(Ze(),1),H5=u(T(),1),I5=u(me(),1);var zC=u(Ze(),1);var wC="data-wp-hash";function kC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&eZe(document)),e.__wpStyleRuntime}function $Ie(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${wC}]`))if(c.getAttribute(wC)===t)return!0;return!1}function zj(e,t,c){if(!e.head)return;let n=kC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if($Ie(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(wC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function eZe(e){let t=kC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)zj(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function tZe(e,t){let c=kC();c.styles.set(e,t);for(let n of c.documents.keys())zj(n,e,t)}typeof process>"u",tZe("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var cZe={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"};function Tj(e){let{className:t,...c}=ae(e,"BorderBoxControlLinkedButton");return{...c,className:w(cZe["linked-button"],t)}}var Aj=u(F(),1),nZe=(e,t)=>{let{className:c,isLinked:n,...l}=Tj(e),o=n?(0,zC.__)("Unlink sides"):(0,zC.__)("Link sides");return(0,Aj.jsx)(be,{...l,size:"small",icon:n?Mg:jg,iconSize:24,label:o,ref:t,className:c})},lZe=ie(nZe,"BorderBoxControlLinkedButton"),Sy=lZe;var Cx=u(Ze(),1),g5=u(T(),1),I4=u(me(),1);var TC="data-wp-hash";function AC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&dZe(document)),e.__wpStyleRuntime}function oZe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${TC}]`))if(c.getAttribute(TC)===t)return!0;return!1}function Oj(e,t,c){if(!e.head)return;let n=AC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(oZe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(TC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function dZe(e){let t=AC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Oj(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function iZe(e,t){let c=AC();c.styles.set(e,t);for(let n of c.documents.keys())Oj(n,e,t)}typeof process>"u",iZe("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var rZe={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"},wy=e=>{let{color:t=oe.gray[200],style:c="solid",width:n=de.borderWidth}=e||{},l=n!==de.borderWidth?`clamp(1px, ${n}, 10px)`:n;return`${t} ${!!n&&n!=="0"||!!t?c||"solid":c} ${l}`};function Qj(e){let{className:t,style:c,value:n,...l}=ae(e,"BorderBoxControlVisualizer");return{...l,className:w(rZe.visualizer,t),style:{...c,"--wp-components-border-box-visualizer-top":wy(n?.top),"--wp-components-border-box-visualizer-bottom":wy(n?.bottom),"--wp-components-border-box-visualizer-start":wy(n?.left),"--wp-components-border-box-visualizer-end":wy(n?.right)},value:n}}var Uj=u(F(),1),aZe=(e,t)=>{let{value:c,...n}=Qj(e);return(0,Uj.jsx)(Ce,{...n,ref:t})},sZe=ie(aZe,"BorderBoxControlVisualizer"),OC=sZe;var vF=u(Ze(),1);var Qc=u(Ze(),1);var Py=u(Ze(),1);var DC=u(T(),1),Kj=u(me(),1);var Lj=u(me(),1),Y0=u(T(),1),Dj=u(Ze(),1);var ky=u(T(),1),QC=(0,ky.createContext)(void 0);QC.displayName="ToggleGroupControlContext";var F0=(e="ToggleGroupControlOptionBase")=>{let t=(0,ky.useContext)(QC);if(!t)throw new Error(`${e} can only be rendered inside ToggleGroupControl.`);return t},zy=QC;var Ej=u(me(),1),J0=u(T(),1);function Ty(e){let t=(0,J0.useRef)(!0),c=(0,Ej.usePrevious)(e),n=(0,J0.useRef)(!1);(0,J0.useEffect)(()=>{t.current&&(t.current=!1)},[]);let l=n.current||!t.current&&c!==e;return(0,J0.useEffect)(()=>{n.current=l},[l]),l?{value:e??"",defaultValue:void 0}:{value:void 0,defaultValue:e}}var Ay=u(F(),1);function bZe({children:e,isAdaptiveWidth:t,label:c,onChange:n,value:l,id:o,setSelectedElement:d,disabled:i,...r},a){let s=(0,Lj.useInstanceId)(Oy,"toggle-group-control-as-radio-group"),b=o||s,{value:m,defaultValue:X}=Ty(l),g=em({defaultValue:X,value:m,setValue:n?R=>{n(R??void 0)}:void 0,rtl:(0,Dj.isRTL)()}),x=$(g,"value"),H=g.setValue;(0,Y0.useEffect)(()=>{x===""&&g.setActiveId(void 0)},[g,x]);let p=(0,Y0.useMemo)(()=>({activeItemIsNotFirstItem:()=>g.getState().activeId!==g.first(),baseId:b,isBlock:!t,value:x,setValue:H,setSelectedElement:d,disabled:!!i}),[b,t,g,x,d,H,i]);return(0,Ay.jsx)(zy.Provider,{value:p,children:(0,Ay.jsx)($u,{store:g,"aria-label":c,render:(0,Ay.jsx)(Ce,{}),...r,id:b,ref:a,disabled:i||void 0,children:e})})}var Oy=(0,Y0.forwardRef)(bZe);Oy.displayName="ToggleGroupControlAsRadioGroup";var _j=u(me(),1),Qy=u(T(),1);var UC=u(F(),1);function uZe({children:e,isAdaptiveWidth:t,label:c,onChange:n,value:l,id:o,setSelectedElement:d,disabled:i,...r},a){let s=(0,_j.useInstanceId)(Uy,"toggle-group-control-as-button-group"),b=o||s,{value:m,defaultValue:X}=Ty(l),[G,g]=Do({defaultValue:X,value:m,onChange:n}),x=(0,Qy.useMemo)(()=>({baseId:b,value:G,setValue:g,isBlock:!t,isDeselectable:!0,setSelectedElement:d,disabled:!!i}),[b,G,g,t,d,i]);return(0,UC.jsx)(zy.Provider,{value:x,children:(0,UC.jsx)(Ce,{"aria-label":c,...r,ref:a,role:"group",id:b,"aria-disabled":i||void 0,children:e})})}var Uy=(0,Qy.forwardRef)(uZe);Uy.displayName="ToggleGroupControlAsButtonGroup";var Rb=u(T(),1),Ey=u(me(),1),EC={element:void 0,top:0,right:0,bottom:0,left:0,width:0,height:0};function mZe(e){let t=e.getBoundingClientRect();if(t.width===0||t.height===0)return;let c=e.offsetParent,n=c?.getBoundingClientRect()??EC,l=c?.scrollLeft??0,o=c?.scrollTop??0,d=parseFloat(getComputedStyle(e).width),i=parseFloat(getComputedStyle(e).height),r=d/t.width,a=i/t.height;return{element:e,top:(t.top-n?.top)*a+o,right:(n?.right-t.right)*r-l,bottom:(n?.bottom-t.bottom)*a-o,left:(t.left-n?.left)*r+l,width:d,height:i}}var XZe=100;function Ly(e,t=[]){let[c,n]=(0,Rb.useState)(EC),l=(0,Rb.useRef)(void 0),o=(0,Ey.useEvent)(()=>{if(e&&e.isConnected){let i=mZe(e);if(i)return n(i),clearInterval(l.current),!0}else clearInterval(l.current);return!1}),d=(0,Ey.useResizeObserver)(()=>{o()||requestAnimationFrame(()=>{o()||(l.current=setInterval(o,XZe))})});return(0,Rb.useLayoutEffect)(()=>{d(e),e||n(EC)},[d,e]),(0,Rb.useLayoutEffect)(()=>{o()},t),c}var Pj=u(me(),1),LC=u(T(),1);var jj=u(me(),1),Dy=u(T(),1);function Mj(e,t){let c=(0,Dy.useRef)(e),n=(0,jj.useEvent)(t);(0,Dy.useLayoutEffect)(()=>{c.current!==e&&(n({previousValue:c.current}),c.current=e)},[n,e])}function _y(e,t,{prefix:c="subelement",dataAttribute:n=`${c}-animated`,transitionEndFilter:l=()=>!0,roundRect:o=!1}={}){let d=(0,Pj.useEvent)(()=>{Object.keys(t).forEach(i=>i!=="element"&&e?.style.setProperty(`--${c}-${i}`,String(o?Math.floor(t[i]):t[i])))});(0,LC.useLayoutEffect)(()=>{d()},[t,d]),Mj(t.element,({previousValue:i})=>{t.element&&i&&e?.setAttribute(`data-${n}`,"")}),(0,LC.useLayoutEffect)(()=>{function i(r){l(r)&&e?.removeAttribute(`data-${n}`)}return e?.addEventListener("transitionend",i),()=>e?.removeEventListener("transitionend",i)},[n,e,l])}var jC=u(F(),1),_C="data-wp-hash";function MC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gZe(document)),e.__wpStyleRuntime}function GZe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${_C}]`))if(c.getAttribute(_C)===t)return!0;return!1}function qj(e,t,c){if(!e.head)return;let n=MC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(GZe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(_C,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function gZe(e){let t=MC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)qj(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xZe(e,t){let c=MC();c.styles.set(e,t);for(let n of c.documents.keys())qj(n,e,t)}typeof process>"u",xZe("86a73788d7",'.f3fd102dd2f0e90e__toggle-group-control{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border:1px solid transparent;border-radius:var(--wpds-border-radius-sm,2px);display:inline-flex;height:40px;min-width:0;position:relative}@media not (prefers-reduced-motion){.f3fd102dd2f0e90e__toggle-group-control[data-indicator-animated]:before{transition-duration:.2s;transition-property:transform,border-radius;transition-timing-function:ease-out}}.f3fd102dd2f0e90e__toggle-group-control:before{background:var(--wp-components-color-gray-100,var(--wpds-color-background-surface-neutral,#fcfcfc));border:1px solid var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));border-radius:var(--wpds-border-radius-sm,2px);content:"";height:calc(var(--selected-height, 0)*1px + 2px);left:-2px;opacity:min(1,max(0,var(--selected-width,0),var(--selected-height,0)));outline:2px solid transparent;outline-offset:-3px;pointer-events:none;position:absolute;top:-1px;transform:translateX(calc(var(--selected-left, 0)*1px));width:calc(var(--selected-width, 0)*1px + 2px)}.f3fd102dd2f0e90e__toggle-group-control[aria-disabled=true]:before{opacity:calc(min(1, max(0, var(--selected-width, 0), var(--selected-height, 0))) * .4)}._1344586004ce6119__has-border{border-color:var(--wp-components-color-gray-300,var(--wpds-color-stroke-surface-neutral,#dbdbdb))}.aa98fad5b5d333be__has-enclosing-borders:hover:not([aria-disabled=true]){border-color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d))}.aa98fad5b5d333be__has-enclosing-borders:focus-within{outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px));z-index:1}._4068eff8d72c19b3__is-block{display:flex;width:100%}');var jy={"toggle-group-control":"f3fd102dd2f0e90e__toggle-group-control","has-border":"_1344586004ce6119__has-border","has-enclosing-borders":"aa98fad5b5d333be__has-enclosing-borders","is-block":"_4068eff8d72c19b3__is-block"};function pZe(e,t){let{__nextHasNoMarginBottom:c,size:n,__next40pxDefaultSize:l,className:o,isAdaptiveWidth:d=!1,isBlock:i=!1,isDeselectable:r=!1,disabled:a=!1,id:s,label:b,hideLabelFromVision:m=!1,help:X,onChange:G,value:g,children:x,...H}=ae(e,"ToggleGroupControl"),{baseControlProps:p,controlProps:R}=Xb({id:s,help:X,label:b,hideLabelFromVision:m}),[I,f]=(0,DC.useState)(),[y,Z]=(0,DC.useState)(),W=(0,Kj.useMergeRefs)([Z,t]),v=Ly(g!=null?I:void 0);_y(y,v,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:B=>B.pseudoElement==="::before",roundRect:!1});let h=w(jy["toggle-group-control"],{[jy["is-block"]]:i,[jy["has-border"]]:i&&!r,[jy["has-enclosing-borders"]]:!r},o);return(0,jC.jsx)(at,{...p,children:(0,jC.jsx)(r?Uy:Oy,{...H,...R,setSelectedElement:f,className:h,isAdaptiveWidth:d,label:b,onChange:G,ref:W,value:g,disabled:a,children:x})})}var RZe=ie(pZe,"ToggleGroupControl"),Kd=RZe;var cM=u(T(),1);var $j=u(me(),1),My=u(T(),1);var xo=u(F(),1),PC="data-wp-hash";function KC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&IZe(document)),e.__wpStyleRuntime}function HZe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PC}]`))if(c.getAttribute(PC)===t)return!0;return!1}function eM(e,t,c){if(!e.head)return;let n=KC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(HZe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function IZe(e){let t=KC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)eM(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function ZZe(e,t){let c=KC();c.styles.set(e,t);for(let n of c.documents.keys())eM(n,e,t)}typeof process>"u",ZZe("94533a674c","._1dec843460a3c9d5__label{display:inline-flex;max-width:100%;min-width:0;position:relative}._50ddec5669c9d4a6__label-block{flex:1}._1563c8aa5e21d063__button{fill:currentColor;align-items:center;appearance:none;background:transparent;border:none;border-radius:var(--wpds-border-radius-xs,1px);color:var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));cursor:var(--wpds-cursor-control,pointer);display:flex;font-family:inherit;height:100%;justify-content:center;line-height:1;outline:none;padding:0 12px;position:relative;text-align:center}@media not (prefers-reduced-motion){._1563c8aa5e21d063__button{transition:color .16s linear,font-weight 60ms linear}}._1563c8aa5e21d063__button{user-select:none;width:100%;z-index:2}._1563c8aa5e21d063__button::-moz-focus-inner{border:0}._1563c8aa5e21d063__button[aria-disabled=true],._1563c8aa5e21d063__button[disabled]{cursor:default;opacity:.4}._1563c8aa5e21d063__button:hover:not([disabled]):not([aria-disabled=true]){color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e))}.e1b6a1f76b7eb2bb__is-deselectable:focus{outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}.e1b6a1f76b7eb2bb__is-deselectable:focus[aria-pressed=false]{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));box-shadow:0 0 0 2px var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff))}._407216dd3e301287__is-icon{aspect-ratio:1;height:38px;padding:0}._617c0f0a1c161590__is-pressed{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-weight:var(--wpds-typography-font-weight-emphasis,600)}._2850882d974e5419__button-content{display:flex;font-size:var(--wpds-typography-font-size-md,13px);line-height:1}");var Wa={label:"_1dec843460a3c9d5__label","label-block":"_50ddec5669c9d4a6__label-block",button:"_1563c8aa5e21d063__button","is-deselectable":"e1b6a1f76b7eb2bb__is-deselectable","is-icon":"_407216dd3e301287__is-icon","is-pressed":"_617c0f0a1c161590__is-pressed","button-content":"_2850882d974e5419__button-content"},fZe=({showTooltip:e,text:t,children:c})=>e&&t?(0,xo.jsx)(Hl,{text:t,placement:"top",children:c}):(0,xo.jsx)(xo.Fragment,{children:c});function tM(e,t){let c=F0(),n=(0,$j.useInstanceId)(tM,c.baseId||"toggle-group-control-option-base"),l=ae({...e,id:n},"ToggleGroupControlOptionBase"),{isBlock:o=!1,isDeselectable:d=!1}=c,{className:i,isIcon:r=!1,value:a,children:s,showTooltip:b=!1,disabled:m,...X}=l,G=!!(c.disabled||m),g=c.value===a,x=w(Wa.label,o&&Wa["label-block"]),H=w(Wa.button,{[Wa["is-deselectable"]]:d,[Wa["is-icon"]]:r,[Wa["is-pressed"]]:g},i),p=()=>{d&&g?c.setValue(void 0):c.setValue(a)},R={...X,className:H,"data-value":a,ref:t},I=(0,My.useRef)(null);return(0,My.useLayoutEffect)(()=>{g&&I.current&&c.setSelectedElement(I.current)},[g,c]),(0,xo.jsx)("div",{ref:I,className:x,children:(0,xo.jsx)(fZe,{showTooltip:b,text:X["aria-label"],children:d?(0,xo.jsx)("button",{...R,disabled:G,"aria-pressed":g,type:"button",onClick:p,children:(0,xo.jsx)("div",{className:Wa["button-content"],children:s})}):(0,xo.jsx)(qu,{disabled:m,onFocusVisible:()=>{(!(c.value===null||c.value==="")||c.activeItemIsNotFirstItem?.())&&c.setValue(a)},render:(0,xo.jsx)("button",{type:"button",...R}),value:a,children:(0,xo.jsx)("div",{className:Wa["button-content"],children:s})})})})}var yZe=ie(tM,"ToggleGroupControlOptionBase"),Hx=yZe;var nM=u(F(),1);function WZe(e,t){F0("ToggleGroupControlOption");let{label:c,...n}=e,l=n["aria-label"]||c;return(0,nM.jsx)(Hx,{...n,"aria-label":l,ref:t,children:c})}var lM=(0,cM.forwardRef)(WZe);lM.displayName="ToggleGroupControlOption";var cr=lM;var oM=u(T(),1);var qC=u(F(),1);function hZe(e,t){F0("ToggleGroupControlOptionIcon");let{icon:c,label:n,...l}=e;return(0,qC.jsx)(Hx,{...l,isIcon:!0,"aria-label":n,showTooltip:!0,ref:t,children:(0,qC.jsx)(Ot,{icon:c})})}var dM=(0,oM.forwardRef)(hZe);dM.displayName="ToggleGroupControlOptionIcon";var N0=dM;var $C=u(F(),1),BZe=[{label:(0,Py.__)("Solid"),icon:_g,value:"solid"},{label:(0,Py.__)("Dashed"),icon:IV,value:"dashed"},{label:(0,Py.__)("Dotted"),icon:fV,value:"dotted"}];function vZe({onChange:e,...t},c){return(0,$C.jsx)(Kd,{ref:c,isDeselectable:!0,onChange:n=>{e?.(n)},...t,children:BZe.map(n=>(0,$C.jsx)(N0,{value:n.value,icon:n.icon,label:n.label},n.value))})}var VZe=ie(vZe,"BorderControlStylePicker"),eF=VZe;var iM=u(T(),1),rM=u(F(),1);function CZe(e,t){let{className:c,colorValue:n,...l}=e;return(0,rM.jsx)("span",{className:w("component-color-indicator",c),style:{background:n},ref:t,...l})}var aM=(0,iM.forwardRef)(CZe);aM.displayName="ColorIndicator";var qd=aM;var tF=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},cF=function(e){return .2126*tF(e.r)+.7152*tF(e.g)+.0722*tF(e.b)},Ky=function(e){e.prototype.luminance=function(){return t=cF(this.rgba),(c=2)===void 0&&(c=0),n===void 0&&(n=Math.pow(10,c)),Math.round(n*t)/n+0;var t,c,n},e.prototype.contrast=function(t){t===void 0&&(t="#FFF");var c,n,l,o,d,i,r,a=t instanceof e?t:new e(t);return o=this.rgba,d=a.toRgb(),i=cF(o),r=cF(d),c=i>r?(i+.05)/(r+.05):(r+.05)/(i+.05),(n=2)===void 0&&(n=0),l===void 0&&(l=Math.pow(10,n)),Math.floor(l*c)/l+0},e.prototype.isReadable=function(t,c){return t===void 0&&(t="#FFF"),c===void 0&&(c={}),this.contrast(t)>=(i=(d=(n=c).size)===void 0?"normal":d,(o=(l=n.level)===void 0?"AA":l)==="AAA"&&i==="normal"?7:o==="AA"&&i==="large"?3:4.5);var n,l,o,d,i}};var j6=u(me(),1),rr=u(Ze(),1),$o=u(T(),1);var qy=u(T(),1),sM=u(me(),1),bM=u(Xt(),1);var $y=u(F(),1),FZe=(e,t)=>{let{renderContent:c,renderToggle:n,className:l,contentClassName:o,expandOnMobile:d,headerTitle:i,focusOnMount:r,popoverProps:a,onClose:s,onToggle:b,style:m,open:X,defaultOpen:G,position:g,variant:x}=ae(e,"Dropdown");g!==void 0&&(0,bM.default)("`position` prop in wp.components.Dropdown",{since:"6.2",alternative:"`popoverProps.placement` prop",hint:"Note that the `position` prop will override any values passed through the `popoverProps.placement` prop."});let[H,p]=(0,qy.useState)(null),R=(0,qy.useRef)(null),[I,f]=Do({defaultValue:G,value:X,onChange:b});function y(){if(!R.current)return;let{ownerDocument:h}=R.current,C=h?.activeElement?.closest('[role="dialog"]');!R.current.contains(h.activeElement)&&(!C||C.contains(R.current))&&Z()}function Z(){s?.(),f(!1)}let W={isOpen:!!I,onToggle:()=>f(!I),onClose:Z},v=!!a?.anchor||!!a?.anchorRef||!!a?.getAnchorRect||!!a?.anchorRect;return(0,$y.jsxs)("div",{className:l,ref:(0,sM.useMergeRefs)([R,t,p]),tabIndex:-1,style:m,children:[n(W),I&&(0,$y.jsx)(Za,{position:g,onClose:Z,onFocusOutside:y,expandOnMobile:d,headerTitle:i,focusOnMount:r,offset:13,anchor:v?void 0:H,variant:x,...a,className:w("components-dropdown__content",a?.className,o),children:c(W)})]})},JZe=ie(FZe,"Dropdown"),$d=JZe;var yl=u(T(),1),I6=u(me(),1),Z6=u(Ze(),1);var gM=u(me(),1),xM=u(T(),1);var YZe=({disabled:e})=>e?Re("color:",oe.ui.textDisabled,";cursor:default;",""):"",NZe={name:"1lv1yo7",styles:"display:inline-flex"},SZe=({variant:e})=>e==="minimal"?NZe:"",uM=q(X0,{target:"e1mv6sxx3"})("color:",oe.theme.foreground,";cursor:pointer;",YZe," ",SZe,";"),wZe=({multiple:e,selectSize:t="default"})=>{if(e)return;let c={default:{height:40,minHeight:40,paddingTop:0,paddingBottom:0},small:{height:24,minHeight:24,paddingTop:0,paddingBottom:0},compact:{height:32,minHeight:32,paddingTop:0,paddingBottom:0}},n=c[t]||c.default;return Re(n,"","")},Hb=18,kZe=({multiple:e,selectSize:t="default"})=>{let c={default:de.controlPaddingX,small:de.controlPaddingXSmall,compact:de.controlPaddingXSmall},n=c[t]||c.default;return yc({paddingLeft:n,paddingRight:n+Hb,...e?{paddingTop:n,paddingBottom:n}:{}})},zZe=({multiple:e})=>({overflow:e?"auto":"hidden"}),TZe={name:"n1jncc",styles:"field-sizing:content"},AZe=({variant:e})=>e==="minimal"?TZe:"",mM=q("select",{target:"e1mv6sxx2"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:currentColor;cursor:inherit;display:block;font-family:inherit;line-height:1.3;margin:0;width:100%;max-width:none;white-space:nowrap;text-overflow:ellipsis;",ox,";",wZe,";",kZe,";",zZe," ",AZe,";}"),XM=q("div",{target:"e1mv6sxx1"})("margin-inline-end:",K(-1),";line-height:0;"),GM=q(I0,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",yc({right:0}),";");var e5=u(F(),1),OZe=()=>(0,e5.jsx)(GM,{children:(0,e5.jsx)(XM,{children:(0,e5.jsx)(Kc,{icon:Og,size:Hb})})}),t5=OZe;var Ib=u(F(),1);function QZe(e){let c=`inspector-select-control-${(0,gM.useInstanceId)(Ix)}`;return e||c}function UZe({options:e}){return e.map(({id:t,label:c,value:n,...l},o)=>{let d=t||`${c}-${n}-${o}`;return(0,Ib.jsx)("option",{value:n,...l,children:c},d)})}function EZe(e,t){let{__nextHasNoMarginBottom:c,__next40pxDefaultSize:n,__next36pxDefaultSize:l,className:o,disabled:d=!1,help:i,hideLabelFromVision:r,id:a,label:s,multiple:b=!1,onChange:m,options:X=[],size:G="default",value:g,labelPosition:x="top",children:H,prefix:p,suffix:R,variant:I="default",...f}=e,y=QZe(a),Z=i?`${y}__help`:void 0;if(!X?.length&&!H)return null;let W=h=>{if(e.multiple){let B=Array.from(h.target.options).filter(({selected:V})=>V).map(({value:V})=>V);e.onChange?.(B,{event:h});return}e.onChange?.(h.target.value,{event:h})},v=w("components-select-control",o);return(0,Ib.jsx)(at,{help:i,id:y,className:v,children:(0,Ib.jsx)(uM,{disabled:d,hideLabelFromVision:r,id:y,isBorderless:I==="minimal",label:s,size:G,suffix:R||!b&&(0,Ib.jsx)(t5,{}),prefix:p,labelPosition:x,__unstableInputWidth:I==="minimal"?"auto":void 0,variant:I,children:(0,Ib.jsx)(mM,{...f,"aria-describedby":Z,className:"components-select-control__input",disabled:d,id:y,multiple:b,onChange:W,ref:t,selectSize:G,value:g,variant:I,children:H||(0,Ib.jsx)(UZe,{options:X})})})})}var Ix=(0,xM.forwardRef)(EZe);Ix.displayName="SelectControl";var ei=Ix;var c5=u(Ze(),1),Ba=u(T(),1),n5=u(me(),1);var pM=u(T(),1);function Zx(e,t,c){return typeof e!="number"?null:parseFloat(`${R0(e,t,c)}`)}function RM(e){let{min:t,max:c,value:n,initial:l}=e,[o,d]=Ei(Zx(n,t,c),{initial:Zx(l??null,t,c),fallback:null}),i=(0,pM.useCallback)(r=>{d(r===null?null:Zx(r,t,c))},[t,c,d]);return[o,i]}var wM=u(T(),1);var fx=30,S0=4,nF=()=>Re({height:fx,minHeight:fx},"",""),Zb=12,HM=q("div",{target:"e1epgpqk14"})({name:"1ryrvza",styles:"-webkit-tap-highlight-color:transparent;align-items:center;display:flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%;min-height:40px"}),LZe=({color:e=oe.ui.borderFocus})=>Re({color:e},"",""),IM=q("div",{shouldForwardProp:e=>!["color","marks"].includes(e),target:"e1epgpqk13"})("display:block;flex:1;position:relative;width:100%;",LZe,";",nF,";"),ZM=q("span",{target:"e1epgpqk12"})("display:flex;margin-top:",S0,"px;",yc({marginRight:6}),";"),fM=q("span",{target:"e1epgpqk11"})("display:flex;margin-top:",S0,"px;",yc({marginLeft:6}),";"),DZe=({disabled:e,railColor:t})=>Re("background:",e?oe.ui.backgroundDisabled:t||oe.theme.gray[300],";@media ( forced-colors: active ){background:GrayText;}",""),yM=q("span",{target:"e1epgpqk10"})("left:0;pointer-events:none;right:0;display:block;height:",S0,"px;position:absolute;margin-top:",(fx-S0)/2,"px;top:0;border-radius:",de.radiusFull,";",DZe,";"),_Ze=({disabled:e,trackColor:t})=>Re("background:",e?oe.theme.gray[400]:t||"currentColor",";@media ( forced-colors: active ){background:",e?"GrayText":"CanvasText",";}",""),WM=q("span",{target:"e1epgpqk9"})("border-radius:",de.radiusFull,";height:",S0,"px;pointer-events:none;display:block;position:absolute;margin-top:",(fx-S0)/2,"px;top:0;.is-marked &{@media not ( prefers-reduced-motion ){transition:width ease 0.1s;}}",_Ze,";"),hM=q("span",{target:"e1epgpqk8"})({name:"g5kg28",styles:"display:block;pointer-events:none;position:relative;width:100%;user-select:none;margin-top:17px"}),BM=q("span",{target:"e1epgpqk7"})("position:absolute;left:0;top:-4px;height:4px;width:2px;transform:translateX( -50% );background-color:",oe.ui.background,";z-index:1;"),jZe=({isFilled:e})=>Re({color:e?oe.theme.gray[700]:oe.theme.gray[300]},"",""),vM=q("span",{target:"e1epgpqk6"})("color:",oe.theme.gray[300],";font-size:11px;position:absolute;top:8px;white-space:nowrap;",yc({left:0}),";",yc({transform:"translateX( -50% )"},{transform:"translateX( 50% )"}),";",jZe,";"),VM=({disabled:e})=>Re("background:",e?oe.theme.gray[400]:oe.theme.accent,";@media ( forced-colors: active ){background:",e?"GrayText":"CanvasText",";}",""),CM=q("span",{target:"e1epgpqk5"})("align-items:center;display:flex;height:",Zb,"px;justify-content:center;margin-top:",(fx-Zb)/2,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",Zb,"px;border-radius:",de.radiusRound,";z-index:3;.is-marked &{@media not ( prefers-reduced-motion ){transition:left ease 0.1s;}}",VM,";",yc({marginLeft:-10}),";",yc({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),MZe=({isFocused:e})=>e?Re("&::before{content:' ';position:absolute;background-color:",oe.theme.accent,";opacity:0.4;border-radius:",de.radiusRound,";height:",Zb+8,"px;width:",Zb+8,"px;top:-4px;left:-4px;@media ( forced-colors: active ){background:GrayText;}}",""):"",FM=q("span",{target:"e1epgpqk4"})("align-items:center;border-radius:",de.radiusRound,";height:100%;outline:0;position:absolute;user-select:none;width:100%;box-shadow:",de.elevationXSmall,";",VM,";",MZe,";"),JM=q("input",{target:"e1epgpqk3"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",Zb/2,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",Zb,"px );"),PZe=({show:e})=>Re("display:",e?"inline-block":"none",";opacity:",e?1:0,";@media not ( prefers-reduced-motion ){transition:opacity 120ms ease,display 120ms ease allow-discrete;}@starting-style{opacity:0;}",""),KZe={name:"1cypxip",styles:"top:-80%"},qZe={name:"1lr98c4",styles:"bottom:-80%"},$Ze=({placement:e})=>e==="bottom"?qZe:KZe,YM=q("span",{target:"e1epgpqk2"})("background:rgba( 0, 0, 0, 0.8 );border-radius:",de.radiusSmall,";color:white;font-size:12px;min-width:32px;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;user-select:none;line-height:1.4;",PZe,";",$Ze,";",yc({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),NM=q($n,{target:"e1epgpqk1"})("display:inline-block;font-size:13px;margin-top:0;input[type='number']&{",nF,";}",yc({marginLeft:`${K(4)} !important`}),";"),SM=q("span",{target:"e1epgpqk0"})("display:block;margin-top:0;button,button.is-small{margin-left:0;",nF,";}",yc({marginLeft:8}),";");var kM=u(F(),1);function efe(e,t){let{describedBy:c,label:n,value:l,...o}=e;return(0,kM.jsx)(JM,{...o,"aria-describedby":c,"aria-label":n,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:l})}var tfe=(0,wM.forwardRef)(efe),zM=tfe;var AM=u(Ze(),1);var fb=u(F(),1);function TM(e){let{className:t,isFilled:c=!1,label:n,style:l={},...o}=e,d=w("components-range-control__mark",c&&"is-filled",t),i=w("components-range-control__mark-label",c&&"is-filled");return(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(BM,{...o,"aria-hidden":"true",className:d,style:l}),n&&(0,fb.jsx)(vM,{"aria-hidden":"true",className:i,isFilled:c,style:l,children:n})]})}var ha=u(F(),1),OM=u(E(),1);function QM(e){let{disabled:t=!1,marks:c=!1,min:n=0,max:l=100,step:o=1,value:d=0,...i}=e;return(0,ha.jsxs)(ha.Fragment,{children:[(0,ha.jsx)(yM,{disabled:t,...i}),c&&(0,ha.jsx)(cfe,{disabled:t,marks:c,min:n,max:l,step:o,value:d})]})}function cfe(e){let{disabled:t=!1,marks:c=!1,min:n=0,max:l=100,step:o=1,value:d=0}=e,r=nfe({marks:c,min:n,max:l,step:o==="any"?1:o,value:d});return(0,ha.jsx)(hM,{"aria-hidden":"true",className:"components-range-control__marks",children:r.map(a=>(0,OM.createElement)(TM,{...a,key:a.key,"aria-hidden":"true",disabled:t}))})}function nfe({marks:e,min:t=0,max:c=100,step:n=1,value:l=0}){if(!e)return[];let o=c-t;if(!Array.isArray(e)){e=[];let i=1+Math.round(o/n);for(;i>e.push({value:n*e.length+t}););}let d=[];return e.forEach((i,r)=>{if(i.value<t||i.value>c)return;let a=`mark-${r}`,s=i.value<=l,b=`${(i.value-t)/o*100}%`,m={[(0,AM.isRTL)()?"right":"left"]:b};d.push({...i,isFilled:s,key:a,style:m})}),d}var yb=u(T(),1);var UM=u(F(),1);function EM(e){let{className:t,inputRef:c,tooltipPlacement:n,show:l=!1,style:o={},value:d=0,renderTooltipContent:i=X=>X,zIndex:r=100,...a}=e,s=lfe({inputRef:c,tooltipPlacement:n}),b=w("components-simple-tooltip",t),m={...o,zIndex:r};return(0,UM.jsx)(YM,{...a,"aria-hidden":"false",className:b,placement:s,show:l,role:"tooltip",style:m,children:i(d)})}function lfe({inputRef:e,tooltipPlacement:t}){let[c,n]=(0,yb.useState)(),l=(0,yb.useCallback)(()=>{e&&e.current&&n(t)},[t,e]);return(0,yb.useEffect)(()=>{l()},[l]),(0,yb.useEffect)(()=>(window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)})),c}var en=u(F(),1),yx=()=>{};function ofe({resetFallbackValue:e,initialPosition:t}){return e!==void 0?Number.isNaN(e)?null:e:t!==void 0?Number.isNaN(t)?null:t:null}function LM(e,t){let{__nextHasNoMarginBottom:c,__next40pxDefaultSize:n,afterIcon:l,allowReset:o=!1,beforeIcon:d,className:i,color:r=oe.theme.accent,currentInput:a,disabled:s=!1,help:b,hideLabelFromVision:m=!1,initialPosition:X,isShiftStepEnabled:G=!0,label:g,marks:x=!1,max:H=100,min:p=0,onBlur:R=yx,onChange:I=yx,onFocus:f=yx,onMouseLeave:y=yx,onMouseMove:Z=yx,railColor:W,renderTooltipContent:v=ft=>ft,resetFallbackValue:h,shiftStep:C=10,showTooltip:B,step:V=1,trackColor:S,value:Y,withInputField:J=!0,...k}=e,[N,A]=RM({min:p,max:H,value:Y??null,initial:X}),Q=(0,Ba.useRef)(!1),z=B,D=J;V==="any"&&(z=!1,D=!1);let[U,O]=(0,Ba.useState)(z),[L,M]=(0,Ba.useState)(!1),_=(0,Ba.useRef)(null),j=_.current?.matches(":focus"),ue=!s&&L,xe=N===null,P=xe?"":N!==void 0?N:a,ye=xe?(H-p)/2+p:N,Te=xe?50:(N-p)/(H-p)*100,ze=`${R0(Te,0,100)}%`,Ne=w("components-range-control",i),He=w("components-range-control__wrapper",!!x&&"is-marked"),we=(0,n5.useInstanceId)(LM,"inspector-range-control"),pe=b?`${we}__help`:void 0,ve=z!==!1&&Number.isFinite(N),Ve=ft=>{let Lt=parseFloat(ft.target.value);A(Lt),I(Lt)},qe=ft=>{let Lt=parseFloat(ft);A(Lt),isNaN(Lt)?o&&(Q.current=!0):((Lt<p||Lt>H)&&(Lt=Zx(Lt,p,H)),I(Lt),Q.current=!1)},Vt=()=>{Q.current&&(Ge(),Q.current=!1)},Ge=()=>{let ft=Number.isNaN(h)?null:h??null;A(ft),I(ft??void 0)},We=()=>O(!0),se=()=>O(!1),ee=ft=>{R(ft),M(!1),se()},Ae=ft=>{f(ft),M(!0),We()},ot={[(0,c5.isRTL)()?"right":"left"]:ze};return(0,en.jsx)(at,{className:Ne,label:g,hideLabelFromVision:m,id:`${we}`,help:b,children:(0,en.jsxs)(HM,{className:"components-range-control__root",children:[d&&(0,en.jsx)(ZM,{children:(0,en.jsx)(Ot,{icon:d})}),(0,en.jsxs)(IM,{className:He,color:r,marks:!!x,children:[(0,en.jsx)(zM,{...k,className:"components-range-control__slider",describedBy:pe,disabled:s,id:`${we}`,label:g,max:H,min:p,onBlur:ee,onChange:Ve,onFocus:Ae,onMouseMove:Z,onMouseLeave:y,ref:(0,n5.useMergeRefs)([_,t]),step:V,value:P??void 0}),(0,en.jsx)(QM,{"aria-hidden":!0,disabled:s,marks:x,max:H,min:p,railColor:W,step:V,value:ye}),(0,en.jsx)(WM,{"aria-hidden":!0,className:"components-range-control__track",disabled:s,style:{width:ze},trackColor:S}),(0,en.jsx)(CM,{className:"components-range-control__thumb-wrapper",style:ot,disabled:s,children:(0,en.jsx)(FM,{"aria-hidden":!0,isFocused:ue,disabled:s})}),ve&&(0,en.jsx)(EM,{className:"components-range-control__tooltip",inputRef:_,tooltipPlacement:"bottom",renderTooltipContent:v,show:j||U,style:ot,value:N})]}),l&&(0,en.jsx)(fM,{children:(0,en.jsx)(Ot,{icon:l})}),D&&(0,en.jsx)(NM,{"aria-label":g,className:"components-range-control__number",disabled:s,inputMode:"decimal",isShiftStepEnabled:G,max:H,min:p,onBlur:Vt,onChange:qe,shiftStep:C,__unstableInputWidth:K(20),step:V,value:P}),o&&(0,en.jsx)(SM,{children:(0,en.jsx)(be,{className:"components-range-control__reset",accessibleWhenDisabled:!s,disabled:s||N===ofe({resetFallbackValue:h,initialPosition:X}),variant:"secondary",size:"small",onClick:Ge,children:(0,c5.__)("Reset")})})]})})}var DM=(0,Ba.forwardRef)(LM);DM.displayName="RangeControl";var Al=DM;var _M=q($n,{target:"ez9hsf46"})("width:",K(24),";"),jM=q(ei,{target:"ez9hsf45"})("margin-left:",K(-2),";"),MM=q(Al,{target:"ez9hsf44"})("flex:1;margin-right:",K(2),";"),dfe=` | |
| 13 | 72 | .react-colorful__interactive { |
| 14 | - width: calc( 100% - ${z(2)} ); | |
| 15 | - margin-left: ${z(1)}; | |
| 16 | -}`,YD=f("div",{target:"ez9hsf43"})("padding-top:",z(2),";padding-right:0;padding-left:0;padding-bottom:0;"),hD=f(jc,{target:"ez9hsf42"})("padding-left:",z(4),";padding-right:",z(4),";"),FD=f(Hl,{target:"ez9hsf41"})("padding-top:",z(4),";padding-left:",z(4),";padding-right:",z(3),";padding-bottom:",z(5),";"),vD=f("div",{target:"ez9hsf40"})(qe,";width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",z(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:",Q.radiusFull,";margin-bottom:",z(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;@media not ( prefers-reduced-motion ){transition:transform ",Q.transitionDurationFast," ease-in-out;}}.react-colorful__interactive:focus .react-colorful__pointer{box-shadow:0 0 0 ",Q.borderWidthFocus," ",Q.surfaceColor,";border:",Q.borderWidthFocus," solid black;transform:translate( -50%, -50% ) scale( 1.5 );}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",Q.borderWidthFocus," #fff;}",wuc,";");var ND=u(ec(),1),e0=u(h(),1);var nJ=u(bc(),1);var GJ=u(V(),1),fD=c=>{let{color:l,colorType:t}=c,[e,d]=(0,e0.useState)(null),b=(0,e0.useRef)(void 0),o=(0,ND.useCopyToClipboard)(()=>{switch(t){case"hsl":return l.toHslString();case"rgb":return l.toRgbString();default:case"hex":return l.toHex()}},()=>{b.current&&clearTimeout(b.current),d(l.toHex()),b.current=setTimeout(()=>{d(null),b.current=void 0},3e3)});(0,e0.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]);let n=e===l.toHex(),G=n?(0,nJ.__)("Copied!"):(0,nJ.__)("Copy");return(0,GJ.jsx)(ve,{delay:0,hideOnClick:!1,text:G,children:(0,GJ.jsx)(ci,{size:"compact","aria-label":G,ref:o,icon:n?Dt:h2,showTooltip:!1})})};var ai=u(V(),1),bo=({min:c,max:l,label:t,abbreviation:e,onChange:d,value:b})=>(0,ai.jsxs)(jc,{spacing:4,children:[(0,ai.jsx)(VD,{__next40pxDefaultSize:!0,min:c,max:l,label:t,hideLabelFromVision:!0,value:b,onChange:n=>{if(!n){d(0);return}if(typeof n=="string"){d(parseInt(n,10));return}d(n)},prefix:(0,ai.jsx)(sG,{children:(0,ai.jsx)(Ct,{color:w.theme.accent,lineHeight:1,children:e})}),spinControls:"none"}),(0,ai.jsx)(JD,{__next40pxDefaultSize:!0,label:t,hideLabelFromVision:!0,min:c,max:l,value:b,onChange:d,withInputField:!1})]});var bn=u(V(),1),SD=({color:c,onChange:l,enableAlpha:t})=>{let{r:e,g:d,b,a:o}=c.toRgb();return(0,bn.jsxs)(bn.Fragment,{children:[(0,bn.jsx)(bo,{min:0,max:255,label:"Red",abbreviation:"R",value:e,onChange:n=>l(Ic({r:n,g:d,b,a:o}))}),(0,bn.jsx)(bo,{min:0,max:255,label:"Green",abbreviation:"G",value:d,onChange:n=>l(Ic({r:e,g:n,b,a:o}))}),(0,bn.jsx)(bo,{min:0,max:255,label:"Blue",abbreviation:"B",value:b,onChange:n=>l(Ic({r:e,g:d,b:n,a:o}))}),t&&(0,bn.jsx)(bo,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(o*100),onChange:n=>l(Ic({r:e,g:d,b,a:n/100}))})]})};var on=u(V(),1),kD=({hsla:c,onChange:l,enableAlpha:t})=>{let e=d=>{l({...c,...d})};return(0,on.jsxs)(on.Fragment,{children:[(0,on.jsx)(bo,{min:0,max:359,label:"Hue",abbreviation:"H",value:c.h,onChange:d=>{e({h:d})}}),(0,on.jsx)(bo,{min:0,max:100,label:"Saturation",abbreviation:"S",value:c.s,onChange:d=>{e({s:d})}}),(0,on.jsx)(bo,{min:0,max:100,label:"Lightness",abbreviation:"L",value:c.l,onChange:d=>{e({l:d})}}),t&&(0,on.jsx)(bo,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c.a),onChange:d=>{e({a:d/100})}})]})};var zD=u(bc(),1);var WW=u(V(),1),AD=({color:c,onChange:l,enableAlpha:t})=>{let e=b=>{if(b===void 0)return;let o=b.startsWith("#")?b:"#"+b;l(Ic(o))},d=(b,o)=>{if(o.payload?.event?.nativeEvent?.inputType!=="insertFromPaste")return{...b};let G=b.value?.startsWith("#")?b.value.slice(1).toUpperCase():b.value?.toUpperCase();return{...b,value:G}};return(0,WW.jsx)(Es,{prefix:(0,WW.jsx)(sG,{children:(0,WW.jsx)(Ct,{color:w.theme.accent,lineHeight:1,children:"#"})}),value:c.toHex().slice(1).toUpperCase(),onChange:e,maxLength:t?9:7,label:(0,zD.__)("Hex color"),hideLabelFromVision:!0,size:"__unstable-large",__unstableStateReducer:d,__unstableInputWidth:"9em"})};var pW=u(V(),1),OD=({colorType:c,color:l,hsla:t,onChange:e,onHSLChange:d,enableAlpha:b})=>{switch(c){case"hsl":return(0,pW.jsx)(kD,{hsla:t,onChange:d,enableAlpha:b});case"rgb":return(0,pW.jsx)(SD,{color:l,onChange:e,enableAlpha:b});default:case"hex":return(0,pW.jsx)(AD,{color:l,onChange:e,enableAlpha:b})}};var yc=u(E(),1);function b0(){return(b0=Object.assign||function(c){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(c[e]=t[e])}return c}).apply(this,arguments)}function mJ(c,l){if(c==null)return{};var t,e,d={},b=Object.keys(c);for(e=0;e<b.length;e++)l.indexOf(t=b[e])>=0||(d[t]=c[t]);return d}function iJ(c){var l=(0,yc.useRef)(c),t=(0,yc.useRef)(function(e){l.current&&l.current(e)});return l.current=c,t.current}var d0=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=1),c>t?t:c<l?l:c},og=function(c){return"touches"in c},aJ=function(c){return c&&c.ownerDocument.defaultView||self},QD=function(c,l,t){var e=c.getBoundingClientRect(),d=og(l)?(function(b,o){for(var n=0;n<b.length;n++)if(b[n].identifier===o)return b[n];return b[0]})(l.touches,t):l;return{left:d0((d.pageX-(e.left+aJ(c).pageXOffset))/e.width),top:d0((d.pageY-(e.top+aJ(c).pageYOffset))/e.height)}},wD=function(c){!og(c)&&c.preventDefault()},xJ=yc.default.memo(function(c){var l=c.onMove,t=c.onKey,e=mJ(c,["onMove","onKey"]),d=(0,yc.useRef)(null),b=iJ(l),o=iJ(t),n=(0,yc.useRef)(null),G=(0,yc.useRef)(!1),X=(0,yc.useMemo)(function(){var x=function(r){wD(r),(og(r)?r.touches.length>0:r.buttons>0)&&d.current?b(QD(d.current,r,n.current)):g(!1)},s=function(){return g(!1)};function g(r){var H=G.current,Z=aJ(d.current),R=r?Z.addEventListener:Z.removeEventListener;R(H?"touchmove":"mousemove",x),R(H?"touchend":"mouseup",s)}return[function(r){var H=r.nativeEvent,Z=d.current;if(Z&&(wD(H),!(function(W,I){return I&&!og(W)})(H,G.current)&&Z)){if(og(H)){G.current=!0;var R=H.changedTouches||[];R.length&&(n.current=R[0].identifier)}Z.focus(),b(QD(Z,H,n.current)),g(!0)}},function(r){var H=r.which||r.keyCode;H<37||H>40||(r.preventDefault(),o({left:H===39?.05:H===37?-.05:0,top:H===40?.05:H===38?-.05:0}))},g]},[o,b]),i=X[0],a=X[1],m=X[2];return(0,yc.useEffect)(function(){return m},[m]),yc.default.createElement("div",b0({},e,{onTouchStart:i,onMouseDown:i,className:"react-colorful__interactive",ref:d,onKeyDown:a,tabIndex:0,role:"slider"}))}),ng=function(c){return c.filter(Boolean).join(" ")},sJ=function(c){var l=c.color,t=c.left,e=c.top,d=e===void 0?.5:e,b=ng(["react-colorful__pointer",c.className]);return yc.default.createElement("div",{className:b,style:{top:100*d+"%",left:100*t+"%"}},yc.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},WG=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=Math.pow(10,l)),Math.round(t*c)/t},uel={grad:.9,turn:360,rad:360/(2*Math.PI)};var DD=function(c){var l=c.s,t=c.l;return{h:c.h,s:(l*=(t<50?t:100-t)/100)>0?2*l/(t+l)*100:0,v:t+l,a:c.a}};var BW=function(c){var l=c.s,t=c.v,e=c.a,d=(200-l)*t/100;return{h:WG(c.h),s:WG(d>0&&d<200?l*t/100/(d<=100?d:200-d)*100:0),l:WG(d/2),a:WG(e,2)}},uJ=function(c){var l=BW(c);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},XJ=function(c){var l=BW(c);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"};var UD=yc.default.memo(function(c){var l=c.hue,t=c.onChange,e=ng(["react-colorful__hue",c.className]);return yc.default.createElement("div",{className:e},yc.default.createElement(xJ,{onMove:function(d){t({h:360*d.left})},onKey:function(d){t({h:d0(l+360*d.left,0,360)})},"aria-label":"Hue","aria-valuenow":WG(l),"aria-valuemax":"360","aria-valuemin":"0"},yc.default.createElement(sJ,{className:"react-colorful__hue-pointer",left:l/360,color:uJ({h:l,s:100,v:100,a:1})})))}),LD=yc.default.memo(function(c){var l=c.hsva,t=c.onChange,e={backgroundColor:uJ({h:l.h,s:100,v:100,a:1})};return yc.default.createElement("div",{className:"react-colorful__saturation",style:e},yc.default.createElement(xJ,{onMove:function(d){t({s:100*d.left,v:100-100*d.top})},onKey:function(d){t({s:d0(l.s+100*d.left,0,100),v:d0(l.v-100*d.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+WG(l.s)+"%, Brightness "+WG(l.v)+"%"},yc.default.createElement(sJ,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:uJ(l)})))}),gJ=function(c,l){if(c===l)return!0;for(var t in c)if(c[t]!==l[t])return!1;return!0};function jD(c,l,t){var e=iJ(t),d=(0,yc.useState)(function(){return c.toHsva(l)}),b=d[0],o=d[1],n=(0,yc.useRef)({color:l,hsva:b});(0,yc.useEffect)(function(){if(!c.equal(l,n.current.color)){var X=c.toHsva(l);n.current={hsva:X,color:l},o(X)}},[l,c]),(0,yc.useEffect)(function(){var X;gJ(b,n.current.hsva)||c.equal(X=c.fromHsva(b),n.current.color)||(n.current={hsva:b,color:X},e(X))},[b,c,e]);var G=(0,yc.useCallback)(function(X){o(function(i){return Object.assign({},i,X)})},[]);return[b,G]}var Tuc,Duc=typeof window<"u"?yc.useLayoutEffect:yc.useEffect,Uuc=function(){return Tuc||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)};var TD=new Map,ED=function(c){Duc(function(){var l=c.current?c.current.ownerDocument:document;if(l!==void 0&&!TD.has(l)){var t=l.createElement("style");t.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,TD.set(l,t);var e=Uuc();e&&t.setAttribute("nonce",e),l.head.appendChild(t)}},[])},Luc=function(c){var l=c.className,t=c.colorModel,e=c.color,d=e===void 0?t.defaultColor:e,b=c.onChange,o=mJ(c,["className","colorModel","color","onChange"]),n=(0,yc.useRef)(null);ED(n);var G=jD(t,d,b),X=G[0],i=G[1],a=ng(["react-colorful",l]);return yc.default.createElement("div",b0({},o,{ref:n,className:a}),yc.default.createElement(LD,{hsva:X,onChange:i}),yc.default.createElement(UD,{hue:X.h,onChange:i,className:"react-colorful__last-control"}))};var juc=function(c){var l=c.className,t=c.hsva,e=c.onChange,d={backgroundImage:"linear-gradient(90deg, "+XJ(Object.assign({},t,{a:0}))+", "+XJ(Object.assign({},t,{a:1}))+")"},b=ng(["react-colorful__alpha",l]),o=WG(100*t.a);return yc.default.createElement("div",{className:b},yc.default.createElement("div",{className:"react-colorful__alpha-gradient",style:d}),yc.default.createElement(xJ,{onMove:function(n){e({a:n.left})},onKey:function(n){e({a:d0(t.a+n.left)})},"aria-label":"Alpha","aria-valuetext":o+"%","aria-valuenow":o,"aria-valuemin":"0","aria-valuemax":"100"},yc.default.createElement(sJ,{className:"react-colorful__alpha-pointer",left:t.a,color:XJ(t)})))},Euc=function(c){var l=c.className,t=c.colorModel,e=c.color,d=e===void 0?t.defaultColor:e,b=c.onChange,o=mJ(c,["className","colorModel","color","onChange"]),n=(0,yc.useRef)(null);ED(n);var G=jD(t,d,b),X=G[0],i=G[1],a=ng(["react-colorful",l]);return yc.default.createElement("div",b0({},o,{ref:n,className:a}),yc.default.createElement(LD,{hsva:X,onChange:i}),yc.default.createElement(UD,{hue:X.h,onChange:i}),yc.default.createElement(juc,{hsva:X,onChange:i,className:"react-colorful__last-control"}))};var Muc={defaultColor:{h:0,s:0,l:0,a:1},toHsva:DD,fromHsva:BW,equal:gJ},MD=function(c){return yc.default.createElement(Euc,b0({},c,{colorModel:Muc}))};var Puc={defaultColor:{h:0,s:0,l:0},toHsva:function(c){return DD({h:c.h,s:c.s,l:c.l,a:1})},fromHsva:function(c){return{h:(l=BW(c)).h,s:l.s,l:l.l};var l},equal:gJ},PD=function(c){return yc.default.createElement(Luc,b0({},c,{colorModel:Puc}))};var rJ=u(V(),1),KD={onPointerDown({currentTarget:c,pointerId:l}){c.setPointerCapture(l)},onPointerUp({currentTarget:c,pointerId:l}){c.releasePointerCapture(l)}},_D=({hsla:c,enableAlpha:l,onChange:t})=>l?(0,rJ.jsx)(MD,{color:c,onChange:t,...KD}):(0,rJ.jsx)(PD,{color:c,onChange:e=>{t({...e,a:c.a})},...KD});var oo=u(V(),1);he([Fe]);function qD(c,l){return c.s===0?c.l===0||c.l===100?{...c,h:l.h,s:l.s}:{...c,h:l.h}:c}var Kuc=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}],_uc=(c,l)=>{let{enableAlpha:t=!1,color:e,onChange:d,defaultValue:b="#fff",copyFormat:o,...n}=$(c,"ColorPicker"),[G,X]=ee({onChange:d,value:e,defaultValue:b}),i=(0,ld.useMemo)(()=>Ic(G||""),[G]),a=(0,$D.useDebounce)(X),[m,x]=(0,ld.useState)(()=>({...i.toHsl()})),s=(0,ld.useRef)(i.toHex());(0,ld.useEffect)(()=>{let W=i.toHex();if(W===s.current)return;s.current=W;let I=i.toHsl();x(B=>qD(I,B))},[i]);let g=(0,ld.useCallback)(W=>{x(W);let I=s.current,B=Ic(W).toHex();B!==I&&(s.current=B,X(B))},[X]),r=(0,ld.useCallback)(W=>{let I=W.toHsl();x(p=>qD(I,p));let B=W.toHex();s.current=B,a(B)},[a]),[H,Z]=(0,ld.useState)(o||"hex"),R=(0,ld.useCallback)(W=>{let I=W.clipboardData?.getData("text")?.trim();if(!I)return;let B=Ic(I);if(!B.isValid())return;r(B);let p={hex:"hex",rgb:"rgb",hsl:"hsl"},y=String(iA(I)),Y=p[y];Y&&Z(Y),W.stopPropagation(),W.preventDefault()},[r,Z]);return(0,oo.jsxs)(vD,{ref:l,...n,onPasteCapture:R,children:[(0,oo.jsx)(_D,{onChange:g,hsla:m,enableAlpha:t}),(0,oo.jsxs)(YD,{children:[(0,oo.jsxs)(hD,{justify:"space-between",children:[(0,oo.jsx)(CD,{size:"compact",options:Kuc,value:H,onChange:W=>Z(W),label:(0,cU.__)("Color format"),hideLabelFromVision:!0,variant:"minimal"}),(0,oo.jsx)(fD,{color:i,colorType:o||H})]}),(0,oo.jsx)(FD,{direction:"column",gap:2,children:(0,oo.jsx)(OD,{colorType:H,color:i,hsla:m,onChange:r,onHSLChange:g,enableAlpha:t})})]})]})},quc=tc(_uc,"ColorPicker"),lU=quc;var tU=u(h(),1);function $uc(c){return typeof c.onChangeComplete<"u"||typeof c.disableAlpha<"u"||typeof c.color?.hex=="string"}function c0c(c){if(c!==void 0){if(typeof c=="string")return c;if(c.hex)return c.hex}}var l0c=nG(c=>{let l=Ic(c),t=l.toHex(),e=l.toRgb(),d=l.toHsv(),b=l.toHsl();return{hex:t,rgb:e,hsv:d,hsl:b,source:"hex",oldHue:b.h}});function eU(c){let{onChangeComplete:l}=c,t=(0,tU.useCallback)(e=>{l(l0c(e))},[l]);return $uc(c)?{color:c0c(c.color),enableAlpha:!c.disableAlpha,onChange:t}:{...c,color:c.color,enableAlpha:c.enableAlpha,onChange:c.onChange}}var dU=u(V(),1),no=c=>(0,dU.jsx)(lU,{...eU(c)});var aU=u(ec(),1),uU=u(bc(),1),Gg=u(h(),1);var bU=u(h(),1),ui=(0,bU.createContext)({});ui.displayName="CircularOptionPickerContext";var oU=u(ec(),1),pG=u(h(),1);var nn=u(V(),1);function t0c(c,l){let{isPressed:t,label:e,...d}=c;return(0,nn.jsx)(lc,{__next40pxDefaultSize:!0,...d,"aria-pressed":t,ref:l,label:e})}var e0c=(0,pG.forwardRef)(t0c);function d0c(c,l){let{id:t,isSelected:e,label:d,...b}=c,{setActiveId:o,activeId:n}=(0,pG.useContext)(ui);return(0,pG.useEffect)(()=>{e&&!n&&window.setTimeout(()=>o?.(t),0)},[e,o,n,t]),(0,nn.jsx)(zt.Item,{render:(0,nn.jsx)(lc,{__next40pxDefaultSize:!0,...b,role:"option","aria-selected":!!e,ref:l,label:d}),id:t})}var b0c=(0,pG.forwardRef)(d0c);function ZJ({className:c,isSelected:l,selectedIconProps:t={},tooltipText:e,...d}){let{baseId:b,setActiveId:o}=(0,pG.useContext)(ui),G={id:(0,oU.useInstanceId)(ZJ,b||"components-circular-option-picker__option"),className:"components-circular-option-picker__option",...d},i=o!==void 0?(0,nn.jsx)(b0c,{...G,label:e,isSelected:l}):(0,nn.jsx)(e0c,{...G,label:e,isPressed:l});return(0,nn.jsxs)("div",{className:O(c,"components-circular-option-picker__option-wrapper"),children:[i,l&&(0,nn.jsx)(Bl,{icon:Dt,...t})]})}var nU=u(V(),1);function GU({className:c,options:l,...t}){let e="aria-label"in t||"aria-labelledby"in t?"group":void 0;return(0,nU.jsx)("div",{...t,role:e,className:O("components-circular-option-picker__option-group","components-circular-option-picker__swatches",c),children:l})}var yW=u(V(),1);function XU({buttonProps:c,className:l,dropdownProps:t,linkText:e}){return(0,yW.jsx)(eo,{className:O("components-circular-option-picker__dropdown-link-action",l),renderToggle:({isOpen:d,onToggle:b})=>(0,yW.jsx)(lc,{"aria-expanded":d,"aria-haspopup":"true",onClick:b,variant:"link",...c,children:e}),...t})}function iU({className:c,children:l,...t}){return(0,yW.jsx)(lc,{__next40pxDefaultSize:!0,className:O("components-circular-option-picker__clear",c),variant:"tertiary",...t,children:l})}var Go=u(V(),1);function o0c(c){let{actions:l,options:t,baseId:e,className:d,loop:b=!0,children:o,...n}=c,[G,X]=(0,Gg.useState)(void 0),i=(0,Gg.useMemo)(()=>({baseId:e,activeId:G,setActiveId:X}),[e,G,X]);return(0,Go.jsx)("div",{className:d,children:(0,Go.jsxs)(ui.Provider,{value:i,children:[(0,Go.jsx)(zt,{...n,id:e,focusLoop:b,rtl:(0,uU.isRTL)(),role:"listbox",activeId:G,setActiveId:X,children:t}),o,l]})})}function n0c(c){let{actions:l,options:t,children:e,baseId:d,...b}=c,o=(0,Gg.useMemo)(()=>({baseId:d}),[d]);return(0,Go.jsx)("div",{...b,role:"group",id:d,children:(0,Go.jsxs)(ui.Provider,{value:o,children:[t,e,l]})})}function mi(c){let{asButtons:l,actions:t,options:e,children:d,className:b,...o}=c,n=(0,aU.useInstanceId)(mi,"components-circular-option-picker",o.id),G=l?n0c:o0c,X=t?(0,Go.jsx)("div",{className:"components-circular-option-picker__custom-clear-wrapper",children:t}):void 0,i=(0,Go.jsx)("div",{className:"components-circular-option-picker__swatches",children:e});return(0,Go.jsx)(G,{...o,baseId:n,className:O("components-circular-option-picker",b),actions:X,options:i,children:d})}mi.Option=ZJ;mi.OptionGroup=GU;mi.ButtonAction=iU;mi.DropdownLinkAction=XU;mi.displayName="CircularOptionPicker";var mU=mi;var xU=u(bc(),1);function xi(c,l,t,e){let d=c?{asButtons:!0}:{asButtons:!1,loop:l},b={"aria-labelledby":e,"aria-label":e?void 0:t||(0,xU.__)("Custom color picker")};return{metaProps:d,labelProps:b}}var ae=mU;function sU(c){let{expanded:l=!1,alignment:t="stretch",...e}=$(c,"VStack");return Ps({direction:"column",expanded:l,alignment:t,...e})}var gU=u(V(),1);function G0c(c,l){let t=sU(c);return(0,gU.jsx)(ic,{...t,ref:l})}var X0c=tc(G0c,"VStack"),al=X0c;function rU(c){let{as:l,level:t=2,color:e=w.theme.foreground,isBlock:d=!0,weight:b=Q.fontWeightHeading,...o}=$(c,"Heading"),n=l||`h${t}`,G={};return typeof n=="string"&&n[0]!=="h"&&(G.role="heading",G["aria-level"]=typeof t=="string"?parseInt(t):t),{...Qs({color:e,isBlock:d,weight:b,size:SO(t),...o}),...G,as:n}}var ZU=u(V(),1);function i0c(c,l){let t=rU(c);return(0,ZU.jsx)(ic,{...t,ref:l})}var a0c=tc(i0c,"Heading"),td=a0c;var VW=f(td,{target:"ev9wop70"})("text-transform:uppercase;line-height:24px;font-weight:",Q.fontWeightMedium,";&&&{font-size:11px;margin-bottom:0;}");var u0c=({paddingSize:c="small"})=>{if(c==="none")return;let l={small:z(2),medium:z(4)};return A("padding:",l[c]||l.small,";","")},HU=f("div",{target:"eovvns30"})("margin-left:",z(-2),";margin-right:",z(-2),";&:first-of-type{margin-top:",z(-2),";}&:last-of-type{margin-bottom:",z(-2),";}",u0c,";");var RU=u(V(),1);function m0c(c,l){let{paddingSize:t="small",...e}=$(c,"DropdownContentWrapper");return(0,RU.jsx)(HU,{...e,paddingSize:t,ref:l})}var x0c=tc(m0c,"DropdownContentWrapper"),Gn=x0c;var IU=u(bc(),1);he([Fe,c0]);var WU=c=>{let l=/var\(/.test(c??""),t=/color-mix\(/.test(c??"");return!l&&!t},pU=(c,l=[],t=!1,e)=>{if(!c)return"";let d=c?WU(c):!1,b=d?Ic(c).toHex():c,o=t?l:[{colors:l}];for(let{colors:n}of o)for(let{name:G,color:X,slug:i}of n){if(e){if(i===e)return G;continue}let a=d?Ic(X).toHex():X;if(b===a)return G}return(0,IU.__)("Custom")},s0c=c=>Array.isArray(c.colors)&&!("color"in c),CW=c=>c.length>0&&c.every(l=>s0c(l)),BU=(c,l)=>{if(!c||!l||WU(c))return c;let{ownerDocument:t}=l,{defaultView:e}=t,d=e?.getComputedStyle(l).backgroundColor;return d?Ic(d).toHex():c};var fl=u(V(),1);he([Fe,c0]);function VU({className:c,clearColor:l,colors:t,onChange:e,value:d,selectedSlug:b,...o}){let n=(0,ob.useMemo)(()=>t.map(({color:G,name:X,slug:i},a)=>{let m=Ic(G),x=b?i===b:d===G;return(0,fl.jsx)(ae.Option,{isSelected:x,selectedIconProps:x?{fill:m.contrast()>m.contrast("#000")?"#fff":"#000"}:{},tooltipText:X||(0,Xn.sprintf)((0,Xn.__)("Color code: %s"),G),style:{backgroundColor:G,color:G},onClick:x?l:()=>e(G,a,i)},i??`${G}-${a}`)}),[t,d,b,e,l]);return(0,fl.jsx)(ae.OptionGroup,{className:c,options:n,...o})}function CU({className:c,clearColor:l,colors:t,onChange:e,value:d,selectedSlug:b,headingLevel:o}){let n=(0,yU.useInstanceId)(CU,"color-palette");return t.length===0?null:(0,fl.jsx)(al,{spacing:3,className:c,children:t.map(({name:G,colors:X},i)=>{let a=`${n}-${i}`;return(0,fl.jsxs)(al,{spacing:2,children:[(0,fl.jsx)(VW,{id:a,level:o,children:G}),(0,fl.jsx)(VU,{clearColor:l,colors:X,onChange:(m,x,s)=>e(m,i,s),value:d,selectedSlug:b,"aria-labelledby":a})]},i)})})}function HJ({isRenderedInSidebar:c,popoverProps:l,...t}){let e=(0,ob.useMemo)(()=>({shift:!0,resize:!1,...c?{placement:"left-start",offset:34}:{placement:"bottom",offset:8},...l}),[c,l]);return(0,fl.jsx)(eo,{contentClassName:"components-color-palette__custom-color-dropdown-content",popoverProps:e,...t})}function g0c(c,l){let{asButtons:t,loop:e,clearable:d=!0,colors:b=[],disableCustomColors:o=!1,enableAlpha:n=!1,onChange:G,value:X,selectedSlug:i,__experimentalIsRenderedInSidebar:a=!1,headingLevel:m=2,"aria-label":x,"aria-labelledby":s,...g}=c,[r,H]=(0,ob.useState)(X),Z=(0,ob.useCallback)(()=>G(void 0),[G]),R=(0,ob.useCallback)(F=>{H(BU(X,F))},[X]),W=CW(b),I=(0,ob.useMemo)(()=>pU(X,b,W,i),[X,b,W,i]),B=()=>(0,fl.jsx)(Gn,{paddingSize:"none",children:(0,fl.jsx)(no,{color:r,onChange:F=>G(F),enableAlpha:n})}),p=X?.startsWith("#"),y=X?.replace(/^var\((.+)\)$/,"$1"),Y=y?(0,Xn.sprintf)((0,Xn.__)('Custom color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),I,y):(0,Xn.__)("Custom color picker"),C={clearColor:Z,onChange:G,value:X,selectedSlug:i},J=!!d&&(0,fl.jsx)(ae.ButtonAction,{onClick:Z,accessibleWhenDisabled:!0,disabled:!X,children:(0,Xn.__)("Clear")}),{metaProps:N,labelProps:S}=xi(t,e,x,s);return(0,fl.jsxs)(al,{spacing:3,ref:l,...g,children:[!o&&(0,fl.jsx)(HJ,{isRenderedInSidebar:a,renderContent:B,renderToggle:({isOpen:F,onToggle:D})=>(0,fl.jsxs)(al,{className:"components-color-palette__custom-color-wrapper",spacing:0,children:[(0,fl.jsx)("button",{ref:R,className:"components-color-palette__custom-color-button","aria-expanded":F,"aria-haspopup":"true",onClick:D,"aria-label":Y,style:{background:X},type:"button"}),(0,fl.jsxs)(al,{className:"components-color-palette__custom-color-text-wrapper",spacing:.5,children:[(0,fl.jsx)($o,{className:"components-color-palette__custom-color-name",children:X?I:(0,Xn.__)("No color selected")}),(0,fl.jsx)($o,{className:O("components-color-palette__custom-color-value",{"components-color-palette__custom-color-value--is-hex":p}),children:y})]})]})}),(b.length>0||J)&&(0,fl.jsx)(ae,{...N,...S,actions:J,options:W?(0,fl.jsx)(CU,{...C,headingLevel:m,colors:b,value:X}):(0,fl.jsx)(VU,{...C,colors:b,value:X})})]})}var JU=(0,ob.forwardRef)(g0c);JU.displayName="ColorPalette";var BG=JU;var si=u(h(),1);var Xg=f(Yt,{target:"e1bagdl32"})("&&&{input{display:block;width:100%;}",Bd,"{transition:box-shadow 0.1s linear;}}"),YU=({selectSize:c})=>({small:A("box-sizing:border-box;padding:2px 1px;width:20px;font-size:8px;line-height:1;letter-spacing:-0.5px;text-transform:uppercase;text-align-last:center;&:not( :disabled ){color:",w.gray[800],";}",""),default:A("box-sizing:border-box;min-width:24px;max-width:48px;height:24px;margin-inline-end:",z(2),";padding:",z(1),";font-size:13px;line-height:1;text-align-last:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;field-sizing:content;&:not( :disabled ){color:",w.theme.accent,";}","")})[c],hU=f("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",YU,";color:",w.gray[900],";}"),r0c=({selectSize:c="default"})=>({small:A("height:100%;border:1px solid transparent;transition:box-shadow 0.1s linear,border 0.1s linear;",hc({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," &:not(:disabled):hover{background-color:",w.gray[100],";}&:focus{border:1px solid ",w.ui.borderFocus,";box-shadow:inset 0 0 0 ",Q.borderWidth+" "+w.ui.borderFocus,";outline-offset:0;outline:2px solid transparent;z-index:1;}",""),default:A("display:flex;justify-content:center;align-items:center;&:where( :not( :disabled ) ):hover{box-shadow:0 0 0 ",Q.borderWidth+" "+w.ui.borderFocus,";outline:",Q.borderWidth," solid transparent;}&:focus{box-shadow:0 0 0 ",Q.borderWidthFocus+" "+w.ui.borderFocus,";outline:",Q.borderWidthFocus," solid transparent;}","")})[c],JW=f("select",{target:"e1bagdl30"})("&&&{appearance:none;background:transparent;border-radius:",Q.radiusXSmall,";border:none;display:block;outline:none;margin:0;min-height:auto;font-family:inherit;",YU,";",r0c,";&:not( :disabled ){cursor:pointer;}}");var Z0c=A("box-shadow:inset ",Q.controlBoxShadowFocus,";",""),FU=A("border:0;padding:0;margin:0;",qe,";",""),vU=()=>A(Xg,"{flex:1 1 40%;}&& ",JW,"{min-height:0;}",""),NU=A(Xg,"{flex:0 0 auto;}",""),fU=c=>A("height:",c==="__unstable-large"?"40px":"30px",";",""),SU=A("background:#fff;&&>button{aspect-ratio:1;padding:0;display:flex;align-items:center;justify-content:center;",hc({borderRadius:"2px 0 0 2px"},{borderRadius:"0 2px 2px 0"})()," border:",Q.borderWidth," solid ",w.ui.border,";&:focus,&:hover:not( :disabled ){",Z0c," border-color:",w.ui.borderFocus,";z-index:1;position:relative;}}",""),H0c=c=>{let{color:l,style:t}=c||{},e=t&&t!=="none"?w.gray[300]:void 0;return A("border-style:",t==="none"?"solid":t,";border-color:",l||e,";","")},kU=(c,l)=>{let{style:t}=c||{};return A("border-radius:",Q.radiusFull,";border:2px solid transparent;",t?H0c(c):void 0," width:",l==="__unstable-large"?"24px":"22px",";height:",l==="__unstable-large"?"24px":"22px",";padding:",l==="__unstable-large"?"2px":"1px",";&>span{height:",z(4),";width:",z(4),`;background:linear-gradient( | |
| 17 | - -45deg, | |
| 18 | - transparent 48%, | |
| 19 | - rgb( 0 0 0 / 20% ) 48%, | |
| 20 | - rgb( 0 0 0 / 20% ) 52%, | |
| 21 | - transparent 52% | |
| 22 | - );}`,"")},R0c=28,I0c=12,zU=A("width:",R0c*6+I0c*5,"px;>div:first-of-type>",cd,"{margin-bottom:0;}&& ",cd,"+button:not( .has-text ){min-width:24px;padding:0;}",""),AU=A("",""),OU=A("",""),QU={name:"1ghe26v",styles:"display:flex;justify-content:flex-end;margin-top:12px"},wU=()=>A("flex:1 1 60%;",hc({marginRight:z(3)})(),";","");var mc=u(bc(),1),DU=u(h(),1),Ec=DU.Platform.OS==="web",Xo={px:{value:"px",label:Ec?"px":(0,mc.__)("Pixels (px)"),a11yLabel:(0,mc.__)("Pixels (px)"),step:1},"%":{value:"%",label:Ec?"%":(0,mc.__)("Percentage (%)"),a11yLabel:(0,mc.__)("Percent (%)"),step:.1},em:{value:"em",label:Ec?"em":(0,mc.__)("Relative to parent font size (em)"),a11yLabel:(0,mc._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:Ec?"rem":(0,mc.__)("Relative to root font size (rem)"),a11yLabel:(0,mc._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:Ec?"vw":(0,mc.__)("Viewport width (vw)"),a11yLabel:(0,mc.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:Ec?"vh":(0,mc.__)("Viewport height (vh)"),a11yLabel:(0,mc.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:Ec?"vmin":(0,mc.__)("Viewport smallest dimension (vmin)"),a11yLabel:(0,mc.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:Ec?"vmax":(0,mc.__)("Viewport largest dimension (vmax)"),a11yLabel:(0,mc.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:Ec?"ch":(0,mc.__)("Width of the zero (0) character (ch)"),a11yLabel:(0,mc.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:Ec?"ex":(0,mc.__)("x-height of the font (ex)"),a11yLabel:(0,mc.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:Ec?"cm":(0,mc.__)("Centimeters (cm)"),a11yLabel:(0,mc.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:Ec?"mm":(0,mc.__)("Millimeters (mm)"),a11yLabel:(0,mc.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:Ec?"in":(0,mc.__)("Inches (in)"),a11yLabel:(0,mc.__)("Inches (in)"),step:.001},pc:{value:"pc",label:Ec?"pc":(0,mc.__)("Picas (pc)"),a11yLabel:(0,mc.__)("Picas (pc)"),step:1},pt:{value:"pt",label:Ec?"pt":(0,mc.__)("Points (pt)"),a11yLabel:(0,mc.__)("Points (pt)"),step:1},svw:{value:"svw",label:Ec?"svw":(0,mc.__)("Small viewport width (svw)"),a11yLabel:(0,mc.__)("Small viewport width (svw)"),step:.1},svh:{value:"svh",label:Ec?"svh":(0,mc.__)("Small viewport height (svh)"),a11yLabel:(0,mc.__)("Small viewport height (svh)"),step:.1},svi:{value:"svi",label:Ec?"svi":(0,mc.__)("Viewport smallest size in the inline direction (svi)"),a11yLabel:(0,mc.__)("Small viewport width or height (svi)"),step:.1},svb:{value:"svb",label:Ec?"svb":(0,mc.__)("Viewport smallest size in the block direction (svb)"),a11yLabel:(0,mc.__)("Small viewport width or height (svb)"),step:.1},svmin:{value:"svmin",label:Ec?"svmin":(0,mc.__)("Small viewport smallest dimension (svmin)"),a11yLabel:(0,mc.__)("Small viewport smallest dimension (svmin)"),step:.1},lvw:{value:"lvw",label:Ec?"lvw":(0,mc.__)("Large viewport width (lvw)"),a11yLabel:(0,mc.__)("Large viewport width (lvw)"),step:.1},lvh:{value:"lvh",label:Ec?"lvh":(0,mc.__)("Large viewport height (lvh)"),a11yLabel:(0,mc.__)("Large viewport height (lvh)"),step:.1},lvi:{value:"lvi",label:Ec?"lvi":(0,mc.__)("Large viewport width or height (lvi)"),a11yLabel:(0,mc.__)("Large viewport width or height (lvi)"),step:.1},lvb:{value:"lvb",label:Ec?"lvb":(0,mc.__)("Large viewport width or height (lvb)"),a11yLabel:(0,mc.__)("Large viewport width or height (lvb)"),step:.1},lvmin:{value:"lvmin",label:Ec?"lvmin":(0,mc.__)("Large viewport smallest dimension (lvmin)"),a11yLabel:(0,mc.__)("Large viewport smallest dimension (lvmin)"),step:.1},dvw:{value:"dvw",label:Ec?"dvw":(0,mc.__)("Dynamic viewport width (dvw)"),a11yLabel:(0,mc.__)("Dynamic viewport width (dvw)"),step:.1},dvh:{value:"dvh",label:Ec?"dvh":(0,mc.__)("Dynamic viewport height (dvh)"),a11yLabel:(0,mc.__)("Dynamic viewport height (dvh)"),step:.1},dvi:{value:"dvi",label:Ec?"dvi":(0,mc.__)("Dynamic viewport width or height (dvi)"),a11yLabel:(0,mc.__)("Dynamic viewport width or height (dvi)"),step:.1},dvb:{value:"dvb",label:Ec?"dvb":(0,mc.__)("Dynamic viewport width or height (dvb)"),a11yLabel:(0,mc.__)("Dynamic viewport width or height (dvb)"),step:.1},dvmin:{value:"dvmin",label:Ec?"dvmin":(0,mc.__)("Dynamic viewport smallest dimension (dvmin)"),a11yLabel:(0,mc.__)("Dynamic viewport smallest dimension (dvmin)"),step:.1},dvmax:{value:"dvmax",label:Ec?"dvmax":(0,mc.__)("Dynamic viewport largest dimension (dvmax)"),a11yLabel:(0,mc.__)("Dynamic viewport largest dimension (dvmax)"),step:.1},svmax:{value:"svmax",label:Ec?"svmax":(0,mc.__)("Small viewport largest dimension (svmax)"),a11yLabel:(0,mc.__)("Small viewport largest dimension (svmax)"),step:.1},lvmax:{value:"lvmax",label:Ec?"lvmax":(0,mc.__)("Large viewport largest dimension (lvmax)"),a11yLabel:(0,mc.__)("Large viewport largest dimension (lvmax)"),step:.1}},YW=Object.values(Xo),hW=[Xo.px,Xo["%"],Xo.em,Xo.rem,Xo.vw,Xo.vh],W0c=Xo.px;function RJ(c,l,t){let e=l?`${c??""}${l}`:c;return Kl(e,t)}function FW(c){return Array.isArray(c)&&!!c.length}function Kl(c,l=YW){let t,e;if(typeof c<"u"||c===null){t=`${c}`.trim();let n=parseFloat(t);e=isFinite(n)?n:void 0}let b=t?.match(/[\d.\-\+]*\s*(.*)/)?.[1]?.toLowerCase(),o;return FW(l)?o=l.find(G=>G.value===b)?.value:o=W0c.value,[e,o]}function UU(c,l,t,e){let[d,b]=Kl(c,l),o=d??t,n=b||e;return!n&&FW(l)&&(n=l[0].value),[o,n]}function p0c(c=[],l){return Array.isArray(l)?l.filter(t=>c.includes(t.value)):[]}var ig=({units:c=YW,availableUnits:l=[],defaultValues:t})=>{let e=p0c(l,c);return t?e.map(d=>{let[b]=t[d.value]?Kl(t[d.value]):[];return{...d,default:b}}):e};function LU(c,l,t=YW){let e=Array.isArray(t)?[...t]:[],[,d]=RJ(c,l,YW);return d&&!e.some(b=>b.value===d)&&Xo[d]&&e.unshift(Xo[d]),e}function jU(c){let{border:l,className:t,colors:e=[],enableAlpha:d=!1,enableStyle:b=!0,onChange:o,previousStyleSelection:n,size:G="default",__experimentalIsRenderedInSidebar:X=!1,...i}=$(c,"BorderControlDropdown"),[a]=Kl(l?.width),m=a===0,x=p=>{let y=l?.style==="none"?n:l?.style,Y=m&&p?"1px":l?.width;o({color:p,style:y,width:Y})},s=p=>{let y=m&&p?"1px":l?.width;o({...l,style:p,width:y})},g=()=>{o({...l,color:void 0,style:void 0})},r=Xc(),H=(0,si.useMemo)(()=>r(SU,t),[t,r]),Z=(0,si.useMemo)(()=>r(OU),[r]),R=(0,si.useMemo)(()=>r(kU(l,G)),[l,r,G]),W=(0,si.useMemo)(()=>r(zU),[r]),I=(0,si.useMemo)(()=>r(AU),[r]),B=(0,si.useMemo)(()=>r(QU),[r]);return{...i,border:l,className:H,colors:e,enableAlpha:d,enableStyle:b,indicatorClassName:Z,indicatorWrapperClassName:R,onColorChange:x,onStyleChange:s,onReset:g,popoverContentClassName:I,popoverControlsClassName:W,resetButtonWrapperClassName:B,size:G,__experimentalIsRenderedInSidebar:X}}var ue=u(V(),1),vW=c=>c.replace(/^var\((.+)\)$/,"$1"),B0c=(c,l)=>{if(!(!c||!l)){if(CW(l)){let t;return l.some(e=>e.colors.some(d=>d.color===c?(t=d,!0):!1)),t}return l.find(t=>t.color===c)}},y0c=(c,l,t,e)=>{if(e){if(l){let d=vW(l.color);return t?(0,et.sprintf)((0,et.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s". The currently selected style is "%3$s".'),l.name,d,t):(0,et.sprintf)((0,et.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),l.name,d)}if(c){let d=vW(c);return t?(0,et.sprintf)((0,et.__)('Border color and style picker. The currently selected color has a value of "%1$s". The currently selected style is "%2$s".'),d,t):(0,et.sprintf)((0,et.__)('Border color and style picker. The currently selected color has a value of "%s".'),d)}return(0,et.__)("Border color and style picker.")}return l?(0,et.sprintf)((0,et.__)('Border color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),l.name,vW(l.color)):c?(0,et.sprintf)((0,et.__)('Border color picker. The currently selected color has a value of "%s".'),vW(c)):(0,et.__)("Border color picker.")},V0c=(c,l)=>{let{__experimentalIsRenderedInSidebar:t,border:e,colors:d,disableCustomColors:b,enableAlpha:o,enableStyle:n,indicatorClassName:G,indicatorWrapperClassName:X,isStyleSettable:i,onReset:a,onColorChange:m,onStyleChange:x,popoverContentClassName:s,popoverControlsClassName:g,resetButtonWrapperClassName:r,size:H,__unstablePopoverProps:Z,...R}=jU(c),{color:W,style:I}=e||{},B=B0c(W,d),p=y0c(W,B,I,n),y=W||I&&I!=="none",Y=t?"bottom left":void 0;return(0,ue.jsx)(eo,{renderToggle:({onToggle:N})=>(0,ue.jsx)(lc,{onClick:N,variant:"tertiary","aria-label":p,tooltipPosition:Y,label:(0,et.__)("Border color and style picker"),showTooltip:!0,__next40pxDefaultSize:H==="__unstable-large",children:(0,ue.jsx)("span",{className:X,children:(0,ue.jsx)(to,{className:G,colorValue:W})})}),renderContent:()=>(0,ue.jsx)(ue.Fragment,{children:(0,ue.jsxs)(Gn,{paddingSize:"medium",children:[(0,ue.jsxs)(al,{className:g,spacing:6,children:[(0,ue.jsx)(BG,{className:s,value:W,onChange:m,colors:d,disableCustomColors:b,__experimentalIsRenderedInSidebar:t,clearable:!1,enableAlpha:o}),n&&i&&(0,ue.jsx)(eJ,{label:(0,et.__)("Style"),value:I,onChange:x})]}),(0,ue.jsx)("div",{className:r,children:(0,ue.jsx)(lc,{variant:"tertiary",onClick:()=>{a()},disabled:!y,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,et.__)("Reset")})})]})}),popoverProps:{...Z},...R,ref:l})},C0c=tc(V0c,"BorderControlDropdown"),IJ=C0c;var PU=u(Xl(),1),yG=u(h(),1),KU=u(bc(),1);var EU=u(h(),1);var NW=u(V(),1);function J0c({className:c,isUnitSelectTabbable:l=!0,onChange:t,size:e="default",unit:d="px",units:b=hW,...o},n){if(!FW(b)||b?.length===1)return(0,NW.jsx)(hU,{className:"components-unit-control__unit-label",selectSize:e,children:d});let G=i=>{let{value:a}=i.target,m=b.find(x=>x.value===a);t?.(a,{event:i,data:m})},X=O("components-unit-control__select",c);return(0,NW.jsx)(JW,{ref:n,className:X,onChange:G,selectSize:e,tabIndex:l?void 0:-1,value:d,...o,children:b.map(i=>(0,NW.jsx)("option",{value:i.value,children:i.label},i.value))})}var MU=(0,EU.forwardRef)(J0c);var WJ=u(V(),1);function Y0c(c,l){let{__unstableStateReducer:t,autoComplete:e="off",children:d,className:b,disabled:o=!1,disableUnits:n=!1,isPressEnterToChange:G=!1,isResetValueOnUnitChange:X=!1,isUnitSelectTabbable:i=!0,label:a,onChange:m,onUnitChange:x,size:s="default",unit:g,units:r=hW,value:H,onFocus:Z,__shouldNotWarnDeprecated36pxSize:R,...W}=Ut(c);Uc({componentName:"UnitControl",__next40pxDefaultSize:W.__next40pxDefaultSize,size:s,__shouldNotWarnDeprecated36pxSize:R}),"unit"in c&&(0,PU.default)("UnitControl unit prop",{since:"5.6",hint:"The unit should be provided within the `value` prop.",version:"6.2"});let I=H??void 0,[B,p]=(0,yG.useMemo)(()=>{let k=LU(I,g,r),[{value:M=""}={},...P]=k,Gc=P.reduce((U,{value:dc})=>{let j=ti(dc?.substring(0,1)||"");return U.includes(j)?U:`${U}|${j}`},ti(M.substring(0,1)));return[k,new RegExp(`^(?:${Gc})$`,"i")]},[I,g,r]),[y,Y]=RJ(I,g,B),[C,J]=Po(B.length===1?B[0].value:g,{initial:Y,fallback:""});(0,yG.useEffect)(()=>{Y!==void 0&&J(Y)},[Y,J]);let N=O("components-unit-control","components-unit-control-wrapper",b),S=(k,M)=>{if(k===""||typeof k>"u"||k===null){m?.("",M);return}let P=UU(k,B,y,C).join("");m?.(P,M)},F=(k,M)=>{let{data:P}=M,Gc=`${y??""}${k}`;X&&P?.default!==void 0&&(Gc=`${P.default}${k}`),m?.(Gc,M),x?.(k,M),J(k)},D;!n&&i&&B.length&&(D=k=>{W.onKeyDown?.(k),!k.metaKey&&!k.ctrlKey&&p.test(k.key)&&L.current?.focus()});let L=(0,yG.useRef)(null),v=n?null:(0,WJ.jsx)(MU,{ref:L,"aria-label":(0,KU.__)("Select unit"),disabled:o,isUnitSelectTabbable:i,onChange:F,size:["small","compact"].includes(s)||s==="default"&&!W.__next40pxDefaultSize?"small":"default",unit:C,units:B,onFocus:Z,onBlur:c.onBlur}),T=W.step;return!T&&B&&(T=B.find(M=>M.value===C)?.step??1),(0,WJ.jsx)(Xg,{...W,__shouldNotWarnDeprecated36pxSize:!0,autoComplete:e,className:N,disabled:o,spinControls:"none",isPressEnterToChange:G,label:a,onKeyDown:D,onChange:S,ref:l,size:s,suffix:v,type:G?"text":"number",value:y??"",step:T,onFocus:Z,__unstableStateReducer:t})}var _U=(0,yG.forwardRef)(Y0c);_U.displayName="UnitControl";var io=_U;var nb=u(h(),1);var qU=c=>{let l=c?.width!==void 0&&c.width!=="",t=c?.color!==void 0;return l||t};function $U(c){let{className:l,colors:t=[],isCompact:e,onChange:d,enableAlpha:b=!0,enableStyle:o=!0,shouldSanitizeBorder:n=!0,size:G="default",value:X,width:i,__experimentalIsRenderedInSidebar:a=!1,__next40pxDefaultSize:m,__shouldNotWarnDeprecated36pxSize:x,...s}=$(c,"BorderControl");Uc({componentName:"BorderControl",__next40pxDefaultSize:m,size:G,__shouldNotWarnDeprecated36pxSize:x});let g=G==="default"&&m?"__unstable-large":G,[r,H]=Kl(X?.width),Z=H||"px",R=r===0,[W,I]=(0,nb.useState)(),[B,p]=(0,nb.useState)(),y=n?qU(X):!0,Y=(0,nb.useCallback)(v=>{if(n&&!qU(v)){d(void 0);return}d(v)},[d,n]),C=(0,nb.useCallback)(v=>{let T=v===""?void 0:v,[k]=Kl(v),M=k===0,P={...X,width:T};M&&!R&&(I(X?.color),p(X?.style),P.color=void 0,P.style="none"),!M&&R&&(P.color===void 0&&(P.color=W),P.style==="none"&&(P.style=B)),Y(P)},[X,R,W,B,Y]),J=(0,nb.useCallback)(v=>{C(`${v}${Z}`)},[C,Z]),N=Xc(),S=(0,nb.useMemo)(()=>N(FU,l),[l,N]),F=i;e&&(F=G==="__unstable-large"?"116px":"90px");let D=(0,nb.useMemo)(()=>{let v=!!F&&NU,T=fU(g);return N(vU(),v,T)},[F,N,g]),L=(0,nb.useMemo)(()=>N(wU()),[N]);return{...s,className:S,colors:t,enableAlpha:b,enableStyle:o,innerWrapperClassName:D,inputWidth:F,isStyleSettable:y,onBorderChange:Y,onSliderChange:J,onWidthChange:C,previousStyleSelection:B,sliderClassName:L,value:X,widthUnit:Z,widthValue:r,size:g,__experimentalIsRenderedInSidebar:a,__next40pxDefaultSize:m}}var Gb=u(V(),1),h0c=c=>{let{label:l,hideLabelFromVision:t}=c;return l?t?(0,Gb.jsx)(Qc,{as:"legend",children:l}):(0,Gb.jsx)(cd,{as:"legend",children:l}):null},F0c=(c,l)=>{let{__next40pxDefaultSize:t=!1,colors:e,disableCustomColors:d,disableUnits:b,enableAlpha:o,enableStyle:n,hideLabelFromVision:G,innerWrapperClassName:X,inputWidth:i,isStyleSettable:a,label:m,onBorderChange:x,onSliderChange:s,onWidthChange:g,placeholder:r,__unstablePopoverProps:H,previousStyleSelection:Z,showDropdownHeader:R,size:W,sliderClassName:I,value:B,widthUnit:p,widthValue:y,withSlider:Y,__experimentalIsRenderedInSidebar:C,...J}=$U(c);return(0,Gb.jsxs)(ic,{as:"fieldset",...J,ref:l,children:[(0,Gb.jsx)(h0c,{label:m,hideLabelFromVision:G}),(0,Gb.jsxs)(jc,{spacing:4,className:X,children:[(0,Gb.jsx)(io,{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,prefix:(0,Gb.jsx)(xt,{marginRight:1,marginBottom:0,children:(0,Gb.jsx)(IJ,{border:B,colors:e,__unstablePopoverProps:H,disableCustomColors:d,enableAlpha:o,enableStyle:n,isStyleSettable:a,onChange:x,previousStyleSelection:Z,__experimentalIsRenderedInSidebar:C,size:W})}),label:(0,pJ.__)("Border width"),hideLabelFromVision:!0,min:0,onChange:g,value:B?.width||"",placeholder:r,disableUnits:b,__unstableInputWidth:i,size:W}),Y&&(0,Gb.jsx)(Fd,{label:(0,pJ.__)("Border width"),hideLabelFromVision:!0,className:I,initialPosition:0,max:100,min:0,onChange:s,step:["px","%"].includes(p)?1:.1,value:y||void 0,withInputField:!1,__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0})]})]})},v0c=tc(F0c,"BorderControl"),Xb=v0c;var lL=u(h(),1);var N0c={bottom:{alignItems:"flex-end",justifyContent:"center"},bottomLeft:{alignItems:"flex-start",justifyContent:"flex-end"},bottomRight:{alignItems:"flex-end",justifyContent:"flex-end"},center:{alignItems:"center",justifyContent:"center"},spaced:{alignItems:"center",justifyContent:"space-between"},left:{alignItems:"center",justifyContent:"flex-start"},right:{alignItems:"center",justifyContent:"flex-end"},stretch:{alignItems:"stretch"},top:{alignItems:"flex-start",justifyContent:"center"},topLeft:{alignItems:"flex-start",justifyContent:"flex-start"},topRight:{alignItems:"flex-start",justifyContent:"flex-end"}};function cL(c){return c?N0c[c]:{}}function tL(c){let{align:l,alignment:t,className:e,columnGap:d,columns:b=2,gap:o=3,isInline:n=!1,justify:G,rowGap:X,rows:i,templateColumns:a,templateRows:m,...x}=$(c,"Grid"),s=Array.isArray(b)?b:[b],g=Bs(s),r=Array.isArray(i)?i:[i],H=Bs(r),Z=a||!!b&&`repeat( ${g}, 1fr )`,R=m||!!i&&`repeat( ${H}, 1fr )`,W=Xc(),I=(0,lL.useMemo)(()=>{let B=cL(t),p=A({alignItems:l,display:n?"inline-grid":"grid",gap:`calc( ${Q.gridBase} * ${o} )`,gridTemplateColumns:Z||void 0,gridTemplateRows:R||void 0,gridRowGap:X,gridColumnGap:d,justifyContent:G,verticalAlign:n?"middle":void 0,...B},"","");return W(p,e)},[l,t,e,d,W,o,Z,R,n,G,X]);return{...x,className:I}}var eL=u(V(),1);function f0c(c,l){let t=tL(c);return(0,eL.jsx)(ic,{...t,ref:l})}var S0c=tc(f0c,"Grid"),an=S0c;var fW=u(h(),1);function dL(c){let{className:l,colors:t=[],enableAlpha:e=!1,enableStyle:d=!0,size:b="default",__experimentalIsRenderedInSidebar:o=!1,...n}=$(c,"BorderBoxControlSplitControls"),G=Xc(),X=(0,fW.useMemo)(()=>G(uT(b),l),[G,l,b]),i=(0,fW.useMemo)(()=>G(mT,l),[G,l]),a=(0,fW.useMemo)(()=>G(xT(),l),[G,l]);return{...n,centeredClassName:i,className:X,colors:t,enableAlpha:e,enableStyle:d,rightAlignedClassName:a,size:b,__experimentalIsRenderedInSidebar:o}}var VG=u(V(),1),k0c=(c,l)=>{let{centeredClassName:t,colors:e,disableCustomColors:d,enableAlpha:b,enableStyle:o,onChange:n,popoverPlacement:G,popoverOffset:X,rightAlignedClassName:i,size:a="default",value:m,__experimentalIsRenderedInSidebar:x,...s}=dL(c),[g,r]=(0,SW.useState)(null),H=(0,SW.useMemo)(()=>G?{placement:G,offset:X,anchor:g,shift:!0}:void 0,[G,X,g]),Z={colors:e,disableCustomColors:d,enableAlpha:b,enableStyle:o,isCompact:!0,__experimentalIsRenderedInSidebar:x,size:a,__shouldNotWarnDeprecated36pxSize:!0},R=(0,bL.useMergeRefs)([r,l]);return(0,VG.jsxs)(an,{...s,ref:R,gap:3,children:[(0,VG.jsx)(jC,{value:m,size:a}),(0,VG.jsx)(Xb,{className:t,hideLabelFromVision:!0,label:(0,ag.__)("Top border"),onChange:W=>n(W,"top"),__unstablePopoverProps:H,value:m?.top,...Z}),(0,VG.jsx)(Xb,{hideLabelFromVision:!0,label:(0,ag.__)("Left border"),onChange:W=>n(W,"left"),__unstablePopoverProps:H,value:m?.left,...Z}),(0,VG.jsx)(Xb,{className:i,hideLabelFromVision:!0,label:(0,ag.__)("Right border"),onChange:W=>n(W,"right"),__unstablePopoverProps:H,value:m?.right,...Z}),(0,VG.jsx)(Xb,{className:t,hideLabelFromVision:!0,label:(0,ag.__)("Bottom border"),onChange:W=>n(W,"bottom"),__unstablePopoverProps:H,value:m?.bottom,...Z})]})},z0c=tc(k0c,"BorderBoxControlSplitControls"),BJ=z0c;var o0=u(h(),1);var A0c=/^([\d.\-+]*)\s*(fr|cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|vw|vh|vmin|vmax|%|cap|ic|rlh|vi|vb|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx|svw|lvw|dvw|svh|lvh|dvh|svi|lvi|dvi|svb|lvb|dvb|svmin|lvmin|dvmin|svmax|lvmax|dvmax)?$/;function oL(c){let t=c.trim().match(A0c);if(!t)return[void 0,void 0];let[,e,d]=t,b=parseFloat(e);return b=Number.isNaN(b)?void 0:b,[b,d]}var kW=["top","right","bottom","left"],nL=["color","style","width"],ao=c=>c?!nL.some(l=>c[l]!==void 0):!0,yJ=c=>c?gi(c)?!kW.every(t=>ao(c[t])):!ao(c):!1,GL=c=>c?nL.every(l=>c[l]!==void 0):!1,gi=(c={})=>Object.keys(c).some(l=>kW.indexOf(l)!==-1),zW=c=>{if(!gi(c))return!1;let l=kW.map(t=>O0c(c?.[t]));return!l.every(t=>t===l[0])},XL=c=>{if(!(!c||ao(c)))return{top:c,right:c,bottom:c,left:c}},iL=(c,l)=>{let t={};return c.color!==l.color&&(t.color=l.color),c.style!==l.style&&(t.style=l.style),c.width!==l.width&&(t.width=l.width),t},aL=c=>{if(!c)return;let l=[],t=[],e=[];kW.forEach(n=>{l.push(c[n]?.color),t.push(c[n]?.style),e.push(c[n]?.width)});let d=l.every(n=>n===l[0]),b=t.every(n=>n===t[0]),o=e.every(n=>n===e[0]);return{color:d?l[0]:void 0,style:b?t[0]:void 0,width:o?e[0]:Q0c(e)}},O0c=(c,l)=>{if(ao(c))return l;let{color:t,style:e,width:d}=l||{},{color:b=t,style:o=e,width:n=d}=c;return[n,!!n&&n!=="0"||!!b?o||"solid":o,b].filter(Boolean).join(" ")},Q0c=c=>{let t=c.map(e=>e===void 0?void 0:oL(`${e}`)[1]).filter(e=>e!==void 0);return w0c(t)};function w0c(c){if(c.length===0)return;let l={},t=0,e;return c.forEach(d=>{l[d]=l[d]===void 0?1:l[d]+1,l[d]>t&&(e=d,t=l[d])}),e}function uL(c){let{className:l,colors:t=[],onChange:e,enableAlpha:d=!1,enableStyle:b=!0,size:o="default",value:n,__experimentalIsRenderedInSidebar:G=!1,__next40pxDefaultSize:X,...i}=$(c,"BorderBoxControl");Uc({componentName:"BorderBoxControl",__next40pxDefaultSize:X,size:o});let a=o==="default"&&X?"__unstable-large":o,m=zW(n),x=gi(n),s=x?aL(n):n,g=x?n:XL(n),r=!isNaN(parseFloat(`${s?.width}`)),[H,Z]=(0,o0.useState)(!m),R=()=>Z(!H),W=C=>{if(!C)return e(void 0);if(!m||GL(C))return e(ao(C)?void 0:C);let J=iL(s,C),N={top:{...n?.top,...J},right:{...n?.right,...J},bottom:{...n?.bottom,...J},left:{...n?.left,...J}};if(zW(N))return e(N);let S=ao(N.top)?void 0:N.top;e(S)},I=(C,J)=>{let N={...g,[J]:C};zW(N)?e(N):e(C)},B=Xc(),p=(0,o0.useMemo)(()=>B(nT,l),[B,l]),y=(0,o0.useMemo)(()=>B(GT()),[B]),Y=(0,o0.useMemo)(()=>B(XT),[B]);return{...i,className:p,colors:t,disableUnits:m&&!r,enableAlpha:d,enableStyle:b,hasMixedBorders:m,isLinked:H,linkedControlClassName:y,onLinkedChange:W,onSplitChange:I,toggleLinked:R,linkedValue:s,size:a,splitValue:g,wrapperClassName:Y,__experimentalIsRenderedInSidebar:G}}var uo=u(V(),1),T0c=c=>{let{label:l,hideLabelFromVision:t}=c;return l?t?(0,uo.jsx)(Qc,{as:"label",children:l}):(0,uo.jsx)(cd,{children:l}):null},D0c=(c,l)=>{let{className:t,colors:e,disableCustomColors:d,disableUnits:b,enableAlpha:o,enableStyle:n,hasMixedBorders:G,hideLabelFromVision:X,isLinked:i,label:a,linkedControlClassName:m,linkedValue:x,onLinkedChange:s,onSplitChange:g,popoverPlacement:r,popoverOffset:H,size:Z,splitValue:R,toggleLinked:W,wrapperClassName:I,__experimentalIsRenderedInSidebar:B,...p}=uL(c),[y,Y]=(0,AW.useState)(null),C=(0,AW.useMemo)(()=>r?{placement:r,offset:H,anchor:y,shift:!0}:void 0,[r,H,y]),J=(0,xL.useMergeRefs)([Y,l]);return(0,uo.jsxs)(ic,{className:t,...p,ref:J,children:[(0,uo.jsx)(T0c,{label:a,hideLabelFromVision:X}),(0,uo.jsxs)(ic,{className:I,children:[i?(0,uo.jsx)(Xb,{className:m,colors:e,disableUnits:b,disableCustomColors:d,enableAlpha:o,enableStyle:n,onChange:s,placeholder:G?(0,mL.__)("Mixed"):void 0,__unstablePopoverProps:C,shouldSanitizeBorder:!1,value:x,withSlider:!0,width:Z==="__unstable-large"?"116px":"110px",__experimentalIsRenderedInSidebar:B,__shouldNotWarnDeprecated36pxSize:!0,size:Z}):(0,uo.jsx)(BJ,{colors:e,disableCustomColors:d,enableAlpha:o,enableStyle:n,onChange:g,popoverPlacement:r,popoverOffset:H,value:R,__experimentalIsRenderedInSidebar:B,size:Z}),(0,uo.jsx)(LC,{onClick:W,isLinked:i,size:Z})]})]})},U0c=tc(D0c,"BorderBoxControl"),OW=U0c;var QL=u(ec(),1),LW=u(h(),1),FJ=u(bc(),1),Rnl=u(ne(),1);var kL=u(ec(),1),mg=u(bc(),1),zL=u(h(),1);var sL=u(Xl(),1),CG=u(bc(),1),VJ={px:{max:300,step:1},"%":{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:10,step:.1},rm:{max:10,step:.1},svw:{max:100,step:1},lvw:{max:100,step:1},dvw:{max:100,step:1},svh:{max:100,step:1},lvh:{max:100,step:1},dvh:{max:100,step:1},vi:{max:100,step:1},svi:{max:100,step:1},lvi:{max:100,step:1},dvi:{max:100,step:1},vb:{max:100,step:1},svb:{max:100,step:1},lvb:{max:100,step:1},dvb:{max:100,step:1},vmin:{max:100,step:1},svmin:{max:100,step:1},lvmin:{max:100,step:1},dvmin:{max:100,step:1},vmax:{max:100,step:1},svmax:{max:100,step:1},lvmax:{max:100,step:1},dvmax:{max:100,step:1}},ug={all:(0,CG.__)("All sides"),top:(0,CG.__)("Top side"),bottom:(0,CG.__)("Bottom side"),left:(0,CG.__)("Left side"),right:(0,CG.__)("Right side"),vertical:(0,CG.__)("Top and bottom sides"),horizontal:(0,CG.__)("Left and right sides")},QW={top:void 0,right:void 0,bottom:void 0,left:void 0},n0=["top","right","bottom","left"];function gL(c={},l=n0){let t=rL(l);if(t.every(e=>c[e]===c[t[0]]))return c[t[0]]}function wW(c={},l=n0){let t=rL(l);return t.some(e=>c[e]!==c[t[0]])}function TW(c){return c&&Object.values(c).filter(l=>!!l&&/\d/.test(l)).length>0}function rL(c){let l=[];if(!c?.length)return n0;if(c.includes("vertical"))l.push("top","bottom");else if(c.includes("horizontal"))l.push("left","right");else{let t=n0.filter(e=>c.includes(e));l.push(...t)}return l}function CJ(c,l,t){(0,sL.default)("applyValueToSides",{since:"6.8",version:"7.0"});let e={...c};return t?.length?t.forEach(d=>{d==="vertical"?(e.top=l,e.bottom=l):d==="horizontal"?(e.left=l,e.right=l):e[d]=l}):n0.forEach(d=>e[d]=l),e}function DW(c){let l=new Set(c?[]:n0);return c?.forEach(t=>{t==="vertical"?(l.add("top"),l.add("bottom")):t==="horizontal"?(l.add("right"),l.add("left")):l.add(t)}),l}function JJ(c,l){return c.startsWith(`var:preset|${l}|`)}function ZL(c,l,t){if(!JJ(c,l))return;let e=c.match(new RegExp(`^var:preset\\|${l}\\|(.+)$`));if(!e)return;let d=e[1],b=t.findIndex(o=>o.slug===d);return b!==-1?b:void 0}function HL(c,l,t){let e=t[c];return`var:preset|${l}|${e.slug}`}var RL=f("span",{target:"e1j5nr4z8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"}),IL=f("span",{target:"e1j5nr4z7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"}),L0c=({isFocused:c})=>A({backgroundColor:"currentColor",opacity:c?1:.3},"",""),WL=f("span",{target:"e1j5nr4z6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",L0c,";"),pL=f(WL,{target:"e1j5nr4z5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),BL=f(WL,{target:"e1j5nr4z4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),yL=f(BL,{target:"e1j5nr4z3"})({name:"abcix4",styles:"top:0"}),VL=f(pL,{target:"e1j5nr4z2"})({name:"1wf8jf",styles:"right:0"}),CL=f(BL,{target:"e1j5nr4z1"})({name:"8tapst",styles:"bottom:0"}),JL=f(pL,{target:"e1j5nr4z0"})({name:"1ode3cm",styles:"left:0"});var JG=u(V(),1),j0c=24;function YL({size:c=24,side:l="all",sides:t,...e}){let d=a=>t?.length&&!t.includes(a),b=a=>d(a)?!1:l==="all"||l===a,o=b("top")||b("vertical"),n=b("right")||b("horizontal"),G=b("bottom")||b("vertical"),X=b("left")||b("horizontal"),i=c/j0c;return(0,JG.jsx)(RL,{style:{transform:`scale(${i})`},...e,children:(0,JG.jsxs)(IL,{children:[(0,JG.jsx)(yL,{isFocused:o}),(0,JG.jsx)(VL,{isFocused:n}),(0,JG.jsx)(CL,{isFocused:G}),(0,JG.jsx)(JL,{isFocused:X})]})})}var hL=f(io,{target:"e1jovhle5"})({name:"1ejyr19",styles:"max-width:90px"}),UW=f(jc,{target:"e1jovhle4"})({name:"1j1lmoi",styles:"grid-column:1/span 3"}),FL=f(lc,{target:"e1jovhle3"})({name:"tkya7b",styles:"grid-area:1/2;justify-self:end"}),vL=f("div",{target:"e1jovhle2"})({name:"1dfa8al",styles:"grid-area:1/3;justify-self:end"}),NL=f(YL,{target:"e1jovhle1"})({name:"ou8xsw",styles:"flex:0 0 auto"}),YJ=f(Fd,{target:"e1jovhle0"})("width:100%;margin-inline-end:",z(2),";");var vd=u(V(),1),fL=()=>{};function SL(c,l,t){let e=DW(l),d=[];switch(c){case"all":d=["top","bottom","left","right"];break;case"horizontal":d=["left","right"];break;case"vertical":d=["top","bottom"];break;default:d=[c]}if(t)switch(c){case"top":d.push("bottom");break;case"bottom":d.push("top");break;case"left":d.push("left");break;case"right":d.push("right");break}return d.filter(b=>e.has(b))}function xg({__next40pxDefaultSize:c,onChange:l=fL,onFocus:t=fL,values:e,selectedUnits:d,setSelectedUnits:b,sides:o,side:n,min:G=0,presets:X,presetKey:i,...a}){let m=SL(n,o),x=k=>{t(k,{side:n})},s=k=>{l(k)},g=k=>{let M={...e};m.forEach(P=>{M[P]=k}),s(M)},r=(k,M)=>{let P={...e},U=k!==void 0&&!isNaN(parseFloat(k))?k:void 0;SL(n,o,!!M?.event.altKey).forEach(j=>{P[j]=U}),s(P)},H=k=>{let M={...d};m.forEach(P=>{M[P]=k}),b(M)},Z=gL(e,m),R=TW(e),W=R&&m.length>1&&wW(e,m),[I,B]=Kl(Z),p=R?B:d[m[0]],Y=[(0,kL.useInstanceId)(xg,"box-control-input"),n].join("-"),C=m.length>1&&Z===void 0&&m.some(k=>d[k]!==p),J=Z===void 0&&p?p:Z,N=W||C?(0,mg.__)("Mixed"):void 0,S=X&&X.length>0&&i,F=S&&Z!==void 0&&!W&&JJ(Z,i),[D,L]=(0,zL.useState)(!S||!F&&!W&&Z!==void 0),v=F?ZL(Z,i,X):void 0,T=S?[{value:0,label:"",tooltip:(0,mg.__)("None")},...X.map((k,M)=>({value:M+1,label:"",tooltip:k.name??k.slug}))]:[];return(0,vd.jsxs)(UW,{expanded:!0,children:[(0,vd.jsx)(NL,{side:n,sides:o}),D&&(0,vd.jsxs)(vd.Fragment,{children:[(0,vd.jsx)(ve,{placement:"top-end",text:ug[n],children:(0,vd.jsx)(hL,{...a,min:G,__shouldNotWarnDeprecated36pxSize:!0,__next40pxDefaultSize:c,className:"component-box-control__unit-control",id:Y,isPressEnterToChange:!0,disableUnits:W||C,value:J,onChange:r,onUnitChange:H,onFocus:x,label:ug[n],placeholder:N,hideLabelFromVision:!0})}),(0,vd.jsx)(YJ,{__next40pxDefaultSize:c,__shouldNotWarnDeprecated36pxSize:!0,"aria-controls":Y,label:ug[n],hideLabelFromVision:!0,onChange:k=>{r(k!==void 0?[k,p].join(""):void 0)},min:isFinite(G)?G:0,max:VJ[p??"px"]?.max??10,step:VJ[p??"px"]?.step??.1,value:I??0,withInputField:!1})]}),S&&!D&&(0,vd.jsx)(YJ,{__next40pxDefaultSize:!0,className:"spacing-sizes-control__range-control",value:v!==void 0?v+1:0,onChange:k=>{let M=k===0||k===void 0?void 0:HL(k-1,i,X);g(M)},withInputField:!1,"aria-valuenow":v!==void 0?v+1:0,"aria-valuetext":T[v!==void 0?v+1:0].tooltip,renderTooltipContent:k=>T[k||0].tooltip,min:0,max:T.length-1,marks:T,label:ug[n],hideLabelFromVision:!0}),S&&(0,vd.jsx)(lc,{label:D?(0,mg.__)("Use size preset"):(0,mg.__)("Set custom size"),icon:zs,onClick:()=>{L(!D)},isPressed:D,size:"small",iconSize:24})]},`box-control-${n}`)}var hJ=u(bc(),1);var AL=u(V(),1);function OL({isLinked:c,...l}){let t=c?(0,hJ.__)("Unlink sides"):(0,hJ.__)("Link sides");return(0,AL.jsx)(lc,{...l,className:"component-box-control__linked-button",size:"small",icon:c?hs:Ys,iconSize:24,label:t})}var ib=u(V(),1);var E0c={min:0},M0c=()=>{};function P0c(c){let l=(0,QL.useInstanceId)(wL,"inspector-box-control");return c||l}function wL({__next40pxDefaultSize:c=!1,id:l,inputProps:t=E0c,onChange:e=M0c,label:d=(0,FJ.__)("Box Control"),values:b,units:o,sides:n,splitOnAxis:G=!1,allowReset:X=!0,resetValues:i=QW,presets:a,presetKey:m,onMouseOver:x,onMouseOut:s}){let[g,r]=Po(b,{fallback:QW}),H=g||QW,Z=TW(b),R=n?.length===1,[W,I]=(0,LW.useState)(Z),[B,p]=(0,LW.useState)(!Z||!wW(H)||R),[y,Y]=(0,LW.useState)({top:Kl(b?.top)[1],right:Kl(b?.right)[1],bottom:Kl(b?.bottom)[1],left:Kl(b?.left)[1]}),C=P0c(l),J=`${C}-heading`,N=()=>{p(!B)},S=v=>{e(v),r(v),I(!0)},F=()=>{e(i),r(i),Y(i),I(!1)},D={onMouseOver:x,onMouseOut:s,...t,onChange:S,isLinked:B,units:o,selectedUnits:y,setSelectedUnits:Y,sides:n,values:H,__next40pxDefaultSize:c,presets:a,presetKey:m};Uc({componentName:"BoxControl",__next40pxDefaultSize:c,size:void 0});let L=DW(n);if(a&&!m||!a&&m){let v=a?"presets":"presetKey",T=a?"presetKey":"presets"}return(0,ib.jsxs)(an,{id:C,columns:3,templateColumns:"1fr min-content min-content",role:"group","aria-labelledby":J,children:[(0,ib.jsx)(WC.VisualLabel,{id:J,children:d}),B&&(0,ib.jsx)(UW,{children:(0,ib.jsx)(xg,{side:"all",...D})}),!R&&(0,ib.jsx)(vL,{children:(0,ib.jsx)(OL,{onClick:N,isLinked:B})}),!B&&G&&["vertical","horizontal"].map(v=>(0,ib.jsx)(xg,{side:v,...D},v)),!B&&!G&&Array.from(L).map(v=>(0,ib.jsx)(xg,{side:v,...D},v)),X&&(0,ib.jsx)(FL,{className:"component-box-control__reset-button",variant:"secondary",size:"small",onClick:F,disabled:!W,children:(0,FJ.__)("Reset")})]})}var vJ=wL;var TL=u(h(),1),DL=u(Xl(),1),UL=u(V(),1);function K0c(c,l){let{className:t,__shouldNotWarnDeprecated:e,...d}=c,b=O("components-button-group",t);return e||(0,DL.default)("wp.components.ButtonGroup",{since:"6.8",alternative:"wp.components.__experimentalToggleGroupControl"}),(0,UL.jsx)("div",{ref:l,role:"group",className:b,...d})}var LL=(0,TL.forwardRef)(K0c);LL.displayName="ButtonGroup";var jW=LL;var SJ=u(h(),1);var EL=u(h(),1);var jL={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"};function EW(c){let l=`rgba(0, 0, 0, ${c/20})`;return`0 ${c}px ${c*2}px 0 | |
| 23 | - ${l}`}function ML(c){let{active:l,borderRadius:t="inherit",className:e,focus:d,hover:b,isInteractive:o=!1,offset:n=0,value:G=0,...X}=$(c,"Elevation"),i=Xc(),a=(0,EL.useMemo)(()=>{let m=Qt(b)?b:G*2,x=Qt(l)?l:G/2;o||(m=Qt(b)?b:void 0,x=Qt(l)?l:void 0);let s=`box-shadow ${Q.transitionDuration} ${Q.transitionTimingFunction}`,g={};return g.Base=A({borderRadius:t,bottom:n,boxShadow:EW(G),opacity:Q.elevationIntensity,left:n,right:n,top:n},A("@media not ( prefers-reduced-motion ){transition:",s,";}",""),"",""),Qt(m)&&(g.hover=A("*:hover>&{box-shadow:",EW(m),";}","")),Qt(x)&&(g.active=A("*:active>&{box-shadow:",EW(x),";}","")),Qt(d)&&(g.focus=A("*:focus>&{box-shadow:",EW(d),";}","")),i(jL,g.Base,g.hover,g.focus,g.active,e)},[l,t,e,i,d,b,o,n,G]);return{...X,className:a,"aria-hidden":!0}}var PL=u(V(),1);function q0c(c,l){let t=ML(c);return(0,PL.jsx)(ic,{...t,ref:l})}var $0c=tc(q0c,"Elevation"),G0=$0c;var sg=`calc(${Q.radiusLarge} - 1px)`,KL=A("box-shadow:0 0 0 1px ",Q.surfaceBorderColor,";outline:none;",""),_L={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},qL={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},$L={name:"13udsys",styles:"height:100%"},cj={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},lj={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},tj={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},YG=A("&:first-of-type{border-top-left-radius:",sg,";border-top-right-radius:",sg,";}&:last-of-type{border-bottom-left-radius:",sg,";border-bottom-right-radius:",sg,";}",""),X0=A("border-color:",Q.colorDivider,";",""),ej={name:"1t90u8d",styles:"box-shadow:none"},MW={name:"1e1ncky",styles:"border:none"},dj=A("border-radius:",sg,";",""),i0=A("background-color:",w.ui.backgroundDisabled,";","");var aj=u(Xl(),1),uj=u(h(),1);var Xj=u(h(),1);var bj=A("background-color:",Q.surfaceColor,";color:",w.gray[900],";position:relative;",""),qnl=A("background-color:",Q.surfaceBackgroundColor,";","");function oj({borderBottom:c,borderLeft:l,borderRight:t,borderTop:e}){let d=`1px solid ${Q.surfaceBorderColor}`;return A({borderBottom:c?d:void 0,borderLeft:l?d:void 0,borderRight:t?d:void 0,borderTop:e?d:void 0},"","")}var cmc=A("",""),lmc=A("background:",Q.surfaceBackgroundTintColor,";",""),tmc=A("background:",Q.surfaceBackgroundTertiaryColor,";",""),nj=c=>[c,c].join(" "),emc=c=>["90deg",[Q.surfaceBackgroundColor,c].join(" "),"transparent 1%"].join(","),dmc=c=>[[Q.surfaceBackgroundColor,c].join(" "),"transparent 1%"].join(","),bmc=c=>[`linear-gradient( ${emc(c)} ) center`,`linear-gradient( ${dmc(c)} ) center`,Q.surfaceBorderBoldColor].join(","),omc=(c,l)=>A("background:",bmc(l),";background-size:",nj(c),";",""),nmc=[`${Q.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(","),Gmc=["90deg",`${Q.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(","),Xmc=[`linear-gradient( ${nmc} )`,`linear-gradient( ${Gmc} )`].join(","),imc=c=>A("background:",Q.surfaceBackgroundColor,";background-image:",Xmc,";background-size:",nj(c),";",""),Gj=(c,l,t)=>{switch(c){case"dotted":return omc(l,t);case"grid":return imc(l);case"primary":return cmc;case"secondary":return lmc;case"tertiary":return tmc}};function PW(c){let{backgroundSize:l=12,borderBottom:t=!1,borderLeft:e=!1,borderRight:d=!1,borderTop:b=!1,className:o,variant:n="primary",...G}=$(c,"Surface"),X=Xc(),i=(0,Xj.useMemo)(()=>{let a={borders:oj({borderBottom:t,borderLeft:e,borderRight:d,borderTop:b})};return X(bj,a.borders,Gj(n,`${l}px`,`${l-1}px`),o)},[l,t,e,d,b,o,X,n]);return{...G,className:i}}var ij=u(V(),1);function umc(c,l){let t=PW(c);return(0,ij.jsx)(ic,{...t,ref:l})}var mmc=tc(umc,"Surface"),NJ=mmc;function xmc({elevation:c,isElevated:l,...t}){let e={...t},d=c;return l&&((0,aj.default)("Card isElevated prop",{since:"5.9",alternative:"elevation"}),d??=2),typeof d<"u"&&(e.elevation=d),e}function fJ(c){let{className:l,elevation:t=0,isBorderless:e=!1,isRounded:d=!0,size:b="medium",...o}=$(xmc(c),"Card"),n=Xc(),G=(0,uj.useMemo)(()=>n(KL,e&&ej,d&&dj,l),[l,n,e,d]);return{...PW({...o,className:G}),elevation:t,isBorderless:e,isRounded:d,size:b}}var Zi=u(V(),1);function smc(c,l){let{children:t,elevation:e,isBorderless:d,isRounded:b,size:o,...n}=fJ(c),G=b?Q.radiusLarge:0,X=Xc(),i=(0,SJ.useMemo)(()=>X(A({borderRadius:G},"","")),[X,G]),a=(0,SJ.useMemo)(()=>{let m={size:o,isBorderless:d};return{CardBody:m,CardHeader:m,CardFooter:m}},[d,o]);return(0,Zi.jsx)(DX,{value:a,children:(0,Zi.jsxs)(ic,{...n,ref:l,children:[(0,Zi.jsx)(ic,{className:X($L),children:t}),(0,Zi.jsx)(G0,{className:i,isInteractive:!1,value:e?1:0}),(0,Zi.jsx)(G0,{className:i,isInteractive:!1,value:e})]})})}var gmc=tc(smc,"Card"),KW=gmc;var Hj=u(h(),1);var mj=A("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",Q.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",Q.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",Q.colorScrollbarThumbHover,";}}",""),xj={name:"13udsys",styles:"height:100%"};var sj={name:"7zq9w",styles:"scroll-behavior:smooth"},gj={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},rj={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},Zj={name:"umwchj",styles:"overflow-y:auto"};function Rj(c){let{className:l,scrollDirection:t="y",smoothScroll:e=!1,...d}=$(c,"Scrollable"),b=Xc(),o=(0,Hj.useMemo)(()=>b(xj,mj,e&&sj,t==="x"&&gj,t==="y"&&rj,t==="auto"&&Zj,l),[l,b,t,e]);return{...d,className:o}}var Ij=u(V(),1);function Zmc(c,l){let t=Rj(c);return(0,Ij.jsx)(ic,{...t,ref:l})}var Hmc=tc(Zmc,"Scrollable"),gg=Hmc;var Bj=u(h(),1);var Wj=A("padding:",z(2),";",""),pj={none:{name:"1hcx8jb",styles:"padding:0"},large:A("padding:",z(6)," ",z(8),";",""),medium:A("padding:",z(4)," ",z(6),";",""),small:A("padding:",z(4),";",""),xSmall:Wj,extraSmall:Wj},_W=c=>{switch(c){case"xSmall":return z(2);case"small":return z(4);case"medium":return z(6);case"large":return z(8);case"none":return"0";default:return z(6)}},a0=c=>{if(typeof c=="string")return pj[c];if(c){let{blockStart:l,blockEnd:t,inlineStart:e,inlineEnd:d}=c;return A("padding-block-start:",_W(l),";padding-block-end:",_W(t),";padding-inline-start:",_W(e),";padding-inline-end:",_W(d),";","")}return pj.medium};function kJ(c){let{className:l,isScrollable:t=!1,isShady:e=!1,size:d="medium",...b}=$(c,"CardBody"),o=Xc(),n=(0,Bj.useMemo)(()=>o(cj,YG,a0(d),e&&i0,"components-card__body",l),[l,o,e,d]);return{...b,className:n,isScrollable:t}}var zJ=u(V(),1);function Rmc(c,l){let{isScrollable:t,...e}=kJ(c);return t?(0,zJ.jsx)(gg,{...e,ref:l}):(0,zJ.jsx)(ic,{...e,ref:l})}var Imc=tc(Rmc,"CardBody"),qW=Imc;var yj={vertical:{start:"marginLeft",end:"marginRight"},horizontal:{start:"marginTop",end:"marginBottom"}},Wmc=({"aria-orientation":c="horizontal",margin:l,marginStart:t,marginEnd:e})=>A(hc({[yj[c].start]:z(t??l),[yj[c].end]:z(e??l)})(),"",""),pmc={name:"1u4hpl4",styles:"display:inline"},Bmc=({"aria-orientation":c="horizontal"})=>c==="vertical"?pmc:void 0,ymc=({"aria-orientation":c="horizontal"})=>A({[c==="vertical"?"borderRight":"borderBottom"]:"1px solid currentColor"},"",""),Vmc=({"aria-orientation":c="horizontal"})=>A({height:c==="vertical"?"auto":0,width:c==="vertical"?0:"auto"},"",""),Vj=f("hr",{target:"e19on6iw0"})("border:0;margin:0;",Bmc," ",ymc," ",Vmc," ",Wmc,";");var AJ=u(V(),1);function Cmc(c,l){let t=$(c,"Divider");return(0,AJ.jsx)(Em,{render:(0,AJ.jsx)(Vj,{}),...t,ref:l})}var Jmc=tc(Cmc,"Divider"),rg=Jmc;var Cj=u(h(),1);function OJ(c){let{className:l,...t}=$(c,"CardDivider"),e=Xc(),d=(0,Cj.useMemo)(()=>e(tj,X0,"components-card__divider",l),[l,e]);return{...t,className:d}}var Jj=u(V(),1);function Ymc(c,l){let t=OJ(c);return(0,Jj.jsx)(rg,{...t,ref:l})}var hmc=tc(Ymc,"CardDivider"),$W=hmc;var Yj=u(h(),1);function QJ(c){let{className:l,justify:t,isBorderless:e=!1,isShady:d=!1,size:b="medium",...o}=$(c,"CardFooter"),n=Xc(),G=(0,Yj.useMemo)(()=>n(qL,YG,X0,a0(b),e&&MW,d&&i0,"components-card__footer",l),[l,n,e,d,b]);return{...o,className:G,justify:t}}var hj=u(V(),1);function Fmc(c,l){let t=QJ(c);return(0,hj.jsx)(Hl,{...t,ref:l})}var vmc=tc(Fmc,"CardFooter"),cp=vmc;var Fj=u(h(),1);function wJ(c){let{className:l,isBorderless:t=!1,isShady:e=!1,size:d="medium",...b}=$(c,"CardHeader"),o=Xc(),n=(0,Fj.useMemo)(()=>o(_L,YG,X0,a0(d),t&&MW,e&&i0,"components-card__header",l),[l,o,t,e,d]);return{...b,className:n}}var vj=u(V(),1);function Nmc(c,l){let t=wJ(c);return(0,vj.jsx)(Hl,{...t,ref:l})}var fmc=tc(Nmc,"CardHeader"),lp=fmc;var Nj=u(h(),1);function TJ(c){let{className:l,...t}=$(c,"CardMedia"),e=Xc(),d=(0,Nj.useMemo)(()=>e(lj,YG,"components-card__media",l),[l,e]);return{...t,className:d}}var fj=u(V(),1);function Smc(c,l){let t=TJ(c);return(0,fj.jsx)(ic,{...t,ref:l})}var kmc=tc(Smc,"CardMedia"),tp=kmc;var DJ=u(h(),1),ep=u(ec(),1),Sj=u(Xl(),1);var mo=u(V(),1);function kj(c){let{__nextHasNoMarginBottom:l,label:t,className:e,heading:d,checked:b,indeterminate:o,help:n,id:G,onChange:X,onClick:i,...a}=c;d&&(0,Sj.default)("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});let[m,x]=(0,DJ.useState)(!1),[s,g]=(0,DJ.useState)(!1),r=(0,ep.useRefEffect)(R=>{R&&(R.indeterminate=!!o,x(R.matches(":checked")),g(R.matches(":indeterminate")))},[b,o]),H=(0,ep.useInstanceId)(kj,"inspector-checkbox-control",G),Z=R=>X(R.target.checked);return(0,mo.jsx)(Lc,{label:d,id:H,help:n&&(0,mo.jsx)("span",{className:"components-checkbox-control__help",children:n}),className:O("components-checkbox-control",e),children:(0,mo.jsxs)(jc,{spacing:0,justify:"start",alignment:"top",children:[(0,mo.jsxs)("span",{className:"components-checkbox-control__input-container",children:[(0,mo.jsx)("input",{ref:r,id:H,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:Z,checked:b,"aria-describedby":n?H+"__help":void 0,onClick:R=>{R.currentTarget.focus(),i?.(R)},...a}),s?(0,mo.jsx)(Bl,{icon:Ns,className:"components-checkbox-control__indeterminate",role:"presentation"}):null,m?(0,mo.jsx)(Bl,{icon:Dt,className:"components-checkbox-control__checked",role:"presentation"}):null]}),t&&(0,mo.jsx)("label",{className:"components-checkbox-control__label",htmlFor:H,children:t})]})})}var dp=kj;var bp=u(h(),1),zj=u(ec(),1),Aj=u(Xl(),1);var Oj=u(V(),1),zmc=4e3;function Qj({className:c,children:l,onCopy:t,onFinishCopy:e,text:d,...b}){(0,Aj.default)("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});let o=(0,bp.useRef)(void 0),n=(0,zj.useCopyToClipboard)(d,()=>{t(),o.current&&clearTimeout(o.current),e&&(o.current=setTimeout(()=>e(),zmc))});(0,bp.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]);let G=O("components-clipboard-button",c);return(0,Oj.jsx)(lc,{...b,className:G,ref:n,onCopy:i=>{i.target.focus()},children:l})}var xe=u(h(),1),ql=u(bc(),1);var bY=u(ec(),1);var Pj=u(h(),1);var wj=c=>A("font-size:",vl("default.fontSize"),";font-family:inherit;appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:start;text-decoration:",c==="a"?"none":void 0,";svg,path{fill:currentColor;}&:hover{color:",w.theme.accent,";}&:focus{box-shadow:none;outline:none;}&:focus-visible{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",w.theme.accent,";outline:2px solid transparent;outline-offset:0;}",""),Tj={name:"1bcj5ek",styles:"width:100%;display:block"},Dj={name:"150ruhm",styles:"box-sizing:border-box;width:100%;display:block;margin:0;color:inherit"},Uj=A("border:1px solid ",Q.surfaceBorderColor,";",""),Lj=A(">*:not( marquee )>*{border-bottom:1px solid ",Q.surfaceBorderColor,";}>*:last-of-type>*{border-bottom-color:transparent;}",""),u0=Q.radiusSmall,jj=A("border-radius:",u0,";",""),Ej=A("border-radius:",u0,";>*:first-of-type>*{border-top-left-radius:",u0,";border-top-right-radius:",u0,";}>*:last-of-type>*{border-bottom-left-radius:",u0,";border-bottom-right-radius:",u0,";}",""),UJ=`calc(${Q.fontSize} * ${Q.fontLineHeightBase})`,Amc=`calc((${Q.controlHeight} - ${UJ} - 2px) / 2)`,Omc=`calc((${Q.controlHeightSmall} - ${UJ} - 2px) / 2)`,Qmc=`calc((${Q.controlHeightLarge} - ${UJ} - 2px) / 2)`,LJ={small:A("padding:",Omc," ",Q.controlPaddingXSmall,"px;",""),medium:A("padding:",Amc," ",Q.controlPaddingX,"px;",""),large:A("padding:",Qmc," ",Q.controlPaddingXLarge,"px;","")};var op=u(h(),1),np=(0,op.createContext)({size:"medium"});np.displayName="ItemGroupContext";var Gp=()=>(0,op.useContext)(np);function Kj(c){let{as:l,className:t,onClick:e,role:d="listitem",size:b,...o}=$(c,"Item"),{spacedAround:n,size:G}=Gp(),X=b||G,i=l||(typeof e<"u"?"button":"div"),a=Xc(),m=(0,Pj.useMemo)(()=>a((i==="button"||i==="a")&&wj(i),LJ[X]||LJ.medium,Dj,n&&jj,t),[i,t,a,X,n]),x=a(Tj);return{as:i,className:m,onClick:e,wrapperClassName:x,role:d,...o}}var jJ=u(V(),1);function wmc(c,l){let{role:t,wrapperClassName:e,...d}=Kj(c);return(0,jJ.jsx)("div",{role:t,className:e,children:(0,jJ.jsx)(ic,{...d,ref:l})})}var Tmc=tc(wmc,"Item"),m0=Tmc;function _j(c){let{className:l,isBordered:t=!1,isRounded:e=!0,isSeparated:d=!1,role:b="list",...o}=$(c,"ItemGroup"),G=Xc()(t&&Uj,d&&Lj,e&&Ej,l);return{isBordered:t,className:G,role:b,isSeparated:d,...o}}var EJ=u(V(),1);function Dmc(c,l){let{isBordered:t,isSeparated:e,size:d,...b}=_j(c),{size:o}=Gp(),X={spacedAround:!t&&!e,size:d||o};return(0,EJ.jsx)(np.Provider,{value:X,children:(0,EJ.jsx)(ic,{...b,ref:l})})}var Umc=tc(Dmc,"ItemGroup"),x0=Umc;var mn=u(bc(),1),RE=u(ec(),1),sp=u(h(),1);var ZE=u(bc(),1),HE=u(h(),1);var up=u(h(),1);var dE=u(ec(),1),un=u(h(),1),s0=u(bc(),1);var Lmc=16,jmc=16,MJ=10,qj=0,$j=5,PJ=MJ,hil=(jmc+Lmc)/2;function Xp(c){return Math.max(0,Math.min(100,c))}function Emc(c,l,t,e=qj){let d=c[l].position,b=Math.min(d,t),o=Math.max(d,t);return c.some(({position:n},G)=>G!==l&&(Math.abs(n-t)<e||b<n&&n<o))}function cE(c,l,t){let e=c.findIndex(o=>o.position>l),d={color:t,position:l},b=c.slice();return b.splice(e-1,0,d),b}function lE(c,l){return c.filter((t,e)=>e!==l)}function tE(c,l,t){let e=c.slice();return e[l]=t,e}function ip(c,l,t){if(Emc(c,l,t))return c;let e={...c[l],position:t};return tE(c,l,e)}function KJ(c,l,t){let e={...c[l],color:t};return tE(c,l,e)}function eE(c,l,t){let e=c.findIndex(d=>d.position===l);return KJ(c,e,t)}function ap(c,l){if(!l)return;let{x:t,width:e}=l.getBoundingClientRect(),d=c-t;return Math.round(Xp(d*100/e))}var _l=u(V(),1);function bE({isOpen:c,position:l,color:t,...e}){let b=`components-custom-gradient-picker__control-point-button-description-${(0,dE.useInstanceId)(bE)}`;return(0,_l.jsxs)(_l.Fragment,{children:[(0,_l.jsx)(lc,{"aria-label":(0,s0.sprintf)((0,s0.__)("Gradient control point at position %1$d%% with color code %2$s."),l,t),"aria-describedby":b,"aria-haspopup":"true","aria-expanded":c,__next40pxDefaultSize:!0,className:O("components-custom-gradient-picker__control-point-button",{"is-active":c}),...e}),(0,_l.jsx)(Qc,{id:b,children:(0,s0.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")})]})}function oE({isRenderedInSidebar:c,className:l,...t}){let e=(0,un.useMemo)(()=>({placement:"bottom",offset:8,resize:!1}),[]),d=O("components-custom-gradient-picker__control-point-dropdown",l);return(0,_l.jsx)(HJ,{isRenderedInSidebar:c,popoverProps:e,className:d,...t})}function nE({disableRemove:c,disableAlpha:l,gradientPickerDomRef:t,ignoreMarkerPosition:e,value:d,onChange:b,onStartControlPointChange:o,onStopControlPointChange:n,__experimentalIsRenderedInSidebar:G}){let X=(0,un.useRef)(void 0),i=x=>{if(X.current===void 0||t.current===null)return;let s=ap(x.clientX,t.current),{initialPosition:g,index:r,significantMoveHappened:H}=X.current;!H&&Math.abs(g-s)>=$j&&(X.current.significantMoveHappened=!0),b(ip(d,r,s))},a=()=>{window&&window.removeEventListener&&X.current&&X.current.listenersActivated&&(window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a),n(),X.current.listenersActivated=!1)},m=(0,un.useRef)(void 0);return m.current=a,(0,un.useEffect)(()=>()=>{m.current?.()},[]),(0,_l.jsx)(_l.Fragment,{children:d.map((x,s)=>{let g=x?.position;return e!==g&&(0,_l.jsx)(oE,{isRenderedInSidebar:G,onClose:n,renderToggle:({isOpen:r,onToggle:H})=>(0,_l.jsx)(bE,{onClick:()=>{X.current&&X.current.significantMoveHappened||(r?n():o(),H())},onMouseDown:()=>{window&&window.addEventListener&&(X.current={initialPosition:g,index:s,significantMoveHappened:!1,listenersActivated:!0},o(),window.addEventListener("mousemove",i),window.addEventListener("mouseup",a))},onKeyDown:Z=>{Z.code==="ArrowLeft"?(Z.stopPropagation(),b(ip(d,s,Xp(x.position-PJ)))):Z.code==="ArrowRight"&&(Z.stopPropagation(),b(ip(d,s,Xp(x.position+PJ))))},isOpen:r,position:x.position,color:x.color},s),renderContent:({onClose:r})=>(0,_l.jsxs)(Gn,{paddingSize:"none",children:[(0,_l.jsx)(no,{enableAlpha:!l,color:x.color,onChange:H=>{b(KJ(d,s,Ic(H).toRgbString()))}}),!c&&d.length>2&&(0,_l.jsx)(jc,{className:"components-custom-gradient-picker__remove-control-point-wrapper",alignment:"center",children:(0,_l.jsx)(lc,{onClick:()=>{b(lE(d,s)),r()},variant:"link",children:(0,s0.__)("Remove Control Point")})})]}),style:{left:`${x.position}%`,transform:"translateX( -50% )"}},s)})})}function Mmc({value:c,onChange:l,onOpenInserter:t,onCloseInserter:e,insertPosition:d,disableAlpha:b,__experimentalIsRenderedInSidebar:o}){let[n,G]=(0,un.useState)(!1);return(0,_l.jsx)(oE,{isRenderedInSidebar:o,className:"components-custom-gradient-picker__inserter",onClose:()=>{e()},renderToggle:({isOpen:X,onToggle:i})=>(0,_l.jsx)(lc,{__next40pxDefaultSize:!0,"aria-expanded":X,"aria-haspopup":"true",onClick:()=>{X?e():(G(!1),t()),i()},className:"components-custom-gradient-picker__insert-point-dropdown",icon:qo}),renderContent:()=>(0,_l.jsx)(Gn,{paddingSize:"none",children:(0,_l.jsx)(no,{enableAlpha:!b,onChange:X=>{n?l(eE(c,d,Ic(X).toRgbString())):(l(cE(c,d,Ic(X).toRgbString())),G(!0))}})}),style:d!==null?{left:`${d}%`,transform:"translateX( -50% )"}:void 0})}nE.InsertPoint=Mmc;var _J=nE;var Hi=u(V(),1),Pmc=(c,l)=>{switch(l.type){case"MOVE_INSERTER":if(c.id==="IDLE"||c.id==="MOVING_INSERTER")return{id:"MOVING_INSERTER",insertPosition:l.insertPosition};break;case"STOP_INSERTER_MOVE":if(c.id==="MOVING_INSERTER")return{id:"IDLE"};break;case"OPEN_INSERTER":if(c.id==="MOVING_INSERTER")return{id:"INSERTING_CONTROL_POINT",insertPosition:c.insertPosition};break;case"CLOSE_INSERTER":if(c.id==="INSERTING_CONTROL_POINT")return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if(c.id==="IDLE")return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if(c.id==="MOVING_CONTROL_POINT")return{id:"IDLE"};break}return c},Kmc={id:"IDLE"};function mp({background:c,hasGradient:l,value:t,onChange:e,disableInserter:d=!1,disableAlpha:b=!1,__experimentalIsRenderedInSidebar:o=!1}){let n=(0,up.useRef)(null),[G,X]=(0,up.useReducer)(Pmc,Kmc),i=s=>{if(!n.current)return;let g=ap(s.clientX,n.current);if(t.some(({position:r})=>Math.abs(g-r)<MJ)){G.id==="MOVING_INSERTER"&&X({type:"STOP_INSERTER_MOVE"});return}X({type:"MOVE_INSERTER",insertPosition:g})},a=()=>{X({type:"STOP_INSERTER_MOVE"})},m=G.id==="MOVING_INSERTER",x=G.id==="INSERTING_CONTROL_POINT";return(0,Hi.jsxs)("div",{className:O("components-custom-gradient-picker__gradient-bar",{"has-gradient":l}),onMouseEnter:i,onMouseMove:i,onMouseLeave:a,children:[(0,Hi.jsx)("div",{className:"components-custom-gradient-picker__gradient-bar-background",style:{background:c,opacity:l?1:.4}}),(0,Hi.jsxs)("div",{ref:n,className:"components-custom-gradient-picker__markers-container",children:[!d&&(m||x)&&(0,Hi.jsx)(_J.InsertPoint,{__experimentalIsRenderedInSidebar:o,disableAlpha:b,insertPosition:G.insertPosition,value:t,onChange:e,onOpenInserter:()=>{X({type:"OPEN_INSERTER"})},onCloseInserter:()=>{X({type:"CLOSE_INSERTER"})}}),(0,Hi.jsx)(_J,{__experimentalIsRenderedInSidebar:o,disableAlpha:b,disableRemove:d,gradientPickerDomRef:n,ignoreMarkerPosition:x?G.insertPosition:void 0,value:t,onChange:e,onStartControlPointChange:()=>{X({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{X({type:"STOP_CONTROL_CHANGE"})}})]})]})}var cY=u(GE(),1);var $J=u(bc(),1),Zg="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",XE=180,xp={type:"angular",value:"90"},iE=[{value:"linear-gradient",label:(0,$J.__)("Linear")},{value:"radial-gradient",label:(0,$J.__)("Radial")}],aE={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function _mc({type:c,value:l}){if(c==="literal")return l;if(c==="hex")return`#${l}`;if(c==="var")return`var(${l})`;if(c==="hsl"){let[t,e,d]=l;return`hsl(${t},${e}%,${d}%)`}if(c==="hsla"){let[t,e,d,b]=l;return`hsla(${t},${e}%,${d}%,${b})`}return`${c}(${l.join(",")})`}function qmc(c){if(!c)return"";let{value:l,type:t}=c;return t==="calc"?`calc(${l})`:`${l}${t}`}function $mc({type:c,value:l,length:t}){return`${_mc({type:c,value:l})} ${qmc(t)}`}function cxc(c){if(!(Array.isArray(c)||!c||c.type!=="angular"))return`${c.value}deg`}function Ii({type:c,orientation:l,colorStops:t}){let e=cxc(l),d=t.sort((b,o)=>{let n=G=>G?.length?.value===void 0?0:parseInt(G.length.value);return n(b)-n(o)}).map($mc);return`${c}(${[e,...d].filter(Boolean).join(",")})`}he([Fe]);function uE(c){return Ii({type:"linear-gradient",orientation:xp,colorStops:c.colorStops})}function lxc(c){return c.length===void 0||c.length.type!=="%"}function mE(c){let l,t=!!c,e=c??Zg;try{l=cY.default.parse(e)[0]}catch(d){console.warn("wp.components.CustomGradientPicker failed to parse the gradient with error",d),l=cY.default.parse(Zg)[0],t=!1}if(!Array.isArray(l.orientation)&&l.orientation?.type==="directional"&&(l.orientation={type:"angular",value:aE[l.orientation.value].toString()}),l.colorStops.some(lxc)){let{colorStops:d}=l,b=100/(d.length-1);d.forEach((o,n)=>{o.length={value:`${b*n}`,type:"%"}})}return{gradientAST:l,hasGradient:t}}function xE(c,l){return{...c,colorStops:l.map(({position:t,color:e})=>{let{r:d,g:b,b:o,a:n}=Ic(e).toRgb();return{length:{type:"%",value:t?.toString()},type:n<1?"rgba":"rgb",value:n<1?[`${d}`,`${b}`,`${o}`,`${n}`]:[`${d}`,`${b}`,`${o}`]}})}}function sE(c){switch(c.type){case"hex":return`#${c.value}`;case"literal":return c.value;case"var":return`${c.type}(${c.value})`;case"rgb":case"rgba":return`${c.type}(${c.value.join(",")})`;case"hsl":{let[l,t,e]=c.value;return`hsl(${l},${t}%,${e}%)`}case"hsla":{let[l,t,e,d]=c.value;return`hsla(${l},${t}%,${e}%,${d})`}default:return"transparent"}}var gE=f(Ge,{target:"e10bzpgi1"})({name:"1gvx10y",styles:"flex-grow:5"}),rE=f(Ge,{target:"e10bzpgi0"})({name:"1gvx10y",styles:"flex-grow:5"});var ab=u(V(),1),txc=({gradientAST:c,hasGradient:l,onChange:t})=>{let e=c?.orientation?.value??XE;return(0,ab.jsx)(DI,{onChange:b=>{t(Ii({...c,orientation:{type:"angular",value:`${b}`}}))},value:l?e:""})},exc=({gradientAST:c,hasGradient:l,onChange:t})=>{let{type:e}=c,d=(0,HE.useRef)(Number(xp.value));e==="linear-gradient"&&c.orientation&&(d.current=Number(c.orientation.value));let b=()=>{t(Ii({...c,orientation:{type:"angular",value:`${d.current}`},type:"linear-gradient"}))},o=()=>{let{orientation:G,...X}=c;t(Ii({...X,type:"radial-gradient"}))},n=G=>{G==="linear-gradient"&&b(),G==="radial-gradient"&&o()};return(0,ab.jsx)(hd,{className:"components-custom-gradient-picker__type-picker",label:(0,ZE.__)("Type"),labelPosition:"top",onChange:n,options:iE,size:"__unstable-large",value:l?e:void 0})};function dxc({value:c,onChange:l,enableAlpha:t=!0,__experimentalIsRenderedInSidebar:e=!1}){let{gradientAST:d,hasGradient:b}=mE(c),o=uE(d),n=d.colorStops.map(G=>({color:sE(G),position:parseInt(G.length.value)}));return(0,ab.jsxs)(al,{spacing:4,className:"components-custom-gradient-picker",children:[(0,ab.jsx)(mp,{__experimentalIsRenderedInSidebar:e,disableAlpha:!t,background:o,hasGradient:b,value:n,onChange:G=>{l(Ii(xE(d,G)))}}),(0,ab.jsxs)(Hl,{gap:3,className:"components-custom-gradient-picker__ui-line",children:[(0,ab.jsx)(gE,{children:(0,ab.jsx)(exc,{gradientAST:d,hasGradient:b,onChange:l})}),(0,ab.jsx)(rE,{children:d.type==="linear-gradient"&&(0,ab.jsx)(txc,{gradientAST:d,hasGradient:b,onChange:l})})]})]})}var g0=dxc;var me=u(V(),1),bxc=c=>Array.isArray(c.gradients)&&!("gradient"in c),oxc=c=>c.length>0&&c.every(l=>bxc(l));function IE({className:c,clearGradient:l,gradients:t,onChange:e,value:d,...b}){let o=(0,sp.useMemo)(()=>t.map(({gradient:n,name:G,slug:X},i)=>(0,me.jsx)(ae.Option,{value:n,isSelected:d===n,tooltipText:G||(0,mn.sprintf)((0,mn.__)("Gradient code: %s"),n),style:{color:"rgba( 0,0,0,0 )",background:n},onClick:d===n?l:()=>e(n,i),"aria-label":G?(0,mn.sprintf)((0,mn.__)("Gradient: %s"),G):(0,mn.sprintf)((0,mn.__)("Gradient code: %s"),n)},X)),[t,d,e,l]);return(0,me.jsx)(ae.OptionGroup,{className:c,options:o,...b})}function WE({className:c,clearGradient:l,gradients:t,onChange:e,value:d,headingLevel:b}){let o=(0,RE.useInstanceId)(WE);return(0,me.jsx)(al,{spacing:3,className:c,children:t.map(({name:n,gradients:G},X)=>{let i=`color-palette-${o}-${X}`;return(0,me.jsxs)(al,{spacing:2,children:[(0,me.jsx)(VW,{level:b,id:i,children:n}),(0,me.jsx)(IE,{clearGradient:l,gradients:G,onChange:a=>e(a,X),value:d,"aria-labelledby":i})]},X)})})}function nxc(c){let{asButtons:l,loop:t,actions:e,headingLevel:d,"aria-label":b,"aria-labelledby":o,...n}=c,G=oxc(c.gradients)?(0,me.jsx)(WE,{headingLevel:d,...n}):(0,me.jsx)(IE,{...n}),{metaProps:X,labelProps:i}=xi(l,t,b,o);return(0,me.jsx)(ae,{...X,...i,actions:e,options:G})}function Gxc({className:c,gradients:l=[],onChange:t,value:e,clearable:d=!0,enableAlpha:b=!0,disableCustomGradients:o=!1,__experimentalIsRenderedInSidebar:n,headingLevel:G=2,...X}){let i=(0,sp.useCallback)(()=>t(void 0),[t]);return(0,me.jsxs)(al,{spacing:l.length?4:0,children:[!o&&(0,me.jsx)(g0,{__experimentalIsRenderedInSidebar:n,enableAlpha:b,value:e,onChange:t}),(l.length>0||d)&&(0,me.jsx)(nxc,{...X,className:c,clearGradient:i,gradients:l,onChange:t,value:e,actions:d&&!o&&(0,me.jsx)(ae.ButtonAction,{onClick:i,accessibleWhenDisabled:!0,disabled:!e,children:(0,mn.__)("Clear")}),headingLevel:G})]})}var gp=Gxc;var CE=u(h(),1);var xn=u(h(),1),BE=u(ec(),1),lY=u(r0(),1),yE=u(V(),1),Xxc=()=>{},ixc=["menuitem","menuitemradio","menuitemcheckbox"];function axc(c,l,t){let e=c+t;return e<0?l+e:e>=l?e-l:e}function uxc({children:c,stopNavigationEvents:l,eventToOffset:t,onNavigate:e=Xxc,onKeyDown:d,cycle:b=!0,onlyBrowserTabstops:o,...n},G){let X=(0,xn.useRef)(null),i=(0,xn.useCallback)((x,s)=>x.indexOf(s),[]),a=(0,xn.useCallback)(x=>{if(!X.current)return null;let g=(o?lY.focus.tabbable:lY.focus.focusable).find(X.current),r=i(g,x);return r>-1&&x?{index:r,target:x,focusables:g}:null},[o,i]);(0,xn.useEffect)(()=>{let x=X.current;if(!x)return;function s(g){d&&d(g);let r=t(g);if(r!==void 0&&l){g.stopImmediatePropagation();let B=g.target?.getAttribute("role");B&&ixc.includes(B)&&g.preventDefault()}if(!r)return;let H=g.target?.ownerDocument?.activeElement;if(!H)return;let Z=a(H);if(!Z)return;let{index:R,focusables:W}=Z,I=b?axc(R,W.length,r):R+r;I>=0&&I<W.length&&(W[I].focus(),e(I,W[I]),g.code==="Tab"&&g.preventDefault())}return x.addEventListener("keydown",s),()=>{x.removeEventListener("keydown",s)}},[d,t,l,b,e,a]);let m=(0,BE.useMergeRefs)([X,G]);return(0,yE.jsx)("div",{ref:m,...n,children:c})}var VE=(0,xn.forwardRef)(uxc);VE.displayName="NavigableContainer";var rp=VE;var JE=u(V(),1);function mxc({role:c="menu",orientation:l="vertical",...t},e){return(0,JE.jsx)(rp,{ref:e,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:c,"aria-orientation":c!=="presentation"&&(l==="vertical"||l==="horizontal")?l:void 0,eventToOffset:b=>{let{code:o}=b,n=["ArrowDown"],G=["ArrowUp"];if(l==="horizontal"&&(n=["ArrowRight"],G=["ArrowLeft"]),l==="both"&&(n=["ArrowRight","ArrowDown"],G=["ArrowLeft","ArrowUp"]),n.includes(o))return 1;if(G.includes(o))return-1;if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(o))return 0},...t})}var YE=(0,CE.forwardRef)(mxc);YE.displayName="NavigableMenu";var sn=YE;var hE=u(h(),1);var FE=u(V(),1);function xxc({eventToOffset:c,...l},t){return(0,FE.jsx)(rp,{ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:d=>{let{code:b,shiftKey:o}=d;if(b==="Tab")return o?-1:1;if(c)return c(d)},...l})}var vE=(0,hE.forwardRef)(xxc);vE.displayName="TabbableContainer";var tY=vE;var Z0=u(V(),1);function eY(c={},l={}){let t={...c,...l};return l.className&&c.className&&(t.className=O(l.className,c.className)),t}function NE(c){return typeof c=="function"}function sxc(c){let{children:l,className:t,controls:e,icon:d=T2,label:b,popoverProps:o,toggleProps:n,menuProps:G,disableOpenOnArrowDown:X=!1,text:i,noIcons:a,open:m,defaultOpen:x,onToggle:s,variant:g}=$(c,"DropdownMenu");if(!e?.length&&!NE(l))return null;let r;e?.length&&(r=e,Array.isArray(r[0])||(r=[e]));let H=eY({className:"components-dropdown-menu__popover",variant:g},o);return(0,Z0.jsx)(eo,{className:t,popoverProps:H,renderToggle:({isOpen:Z,onToggle:R})=>{let W=y=>{X||!Z&&y.code==="ArrowDown"&&(y.preventDefault(),R())},{as:I=lc,...B}=n??{},p=eY({className:O("components-dropdown-menu__toggle",{"is-opened":Z})},B);return(0,Z0.jsx)(I,{...p,icon:d,onClick:y=>{R(),p.onClick&&p.onClick(y)},onKeyDown:y=>{W(y),p.onKeyDown&&p.onKeyDown(y)},"aria-haspopup":"true","aria-expanded":Z,label:b,text:i,showTooltip:n?.showTooltip??!0,children:p.children})},renderContent:Z=>{let R=eY({"aria-label":b,className:O("components-dropdown-menu__menu",{"no-icons":a})},G);return(0,Z0.jsxs)(sn,{...R,role:"menu",children:[NE(l)?l(Z):null,r?.flatMap((W,I)=>W.map((B,p)=>(0,Z0.jsx)(lc,{size:"compact",onClick:y=>{y.stopPropagation(),Z.onClose(),B.onClick&&B.onClick()},className:O("components-dropdown-menu__menu-item",{"has-separator":I>0&&p===0,"is-active":B.isActive,"is-icon-only":!B.title}),icon:B.icon,label:B.label,"aria-checked":B.role==="menuitemcheckbox"||B.role==="menuitemradio"?B.isActive:void 0,role:B.role==="menuitemcheckbox"||B.role==="menuitemradio"?B.role:"menuitem",accessibleWhenDisabled:!0,disabled:B.isDisabled,children:B.title},[I,p].join())))]})},open:m,defaultOpen:x,onToggle:s})}var gxc=LX(sxc,"DropdownMenu"),ub=gxc;var fE=f(to,{target:"e1lpqc908"})("&&{flex-shrink:0;width:",z(6),";height:",z(6),";}"),SE=f(qb,{target:"e1lpqc907"})(II,"{background:",w.gray[100],";border-radius:",Q.radiusXSmall,";",eb,eb,eb,eb,"{height:",z(8),";}",Bd,Bd,Bd,"{border-color:transparent;box-shadow:none;}}"),kE=f("div",{target:"e1lpqc906"})("line-height:",z(8),";margin-left:",z(2),";margin-right:",z(2),";white-space:nowrap;overflow:hidden;"),zE=f(td,{target:"e1lpqc905"})("text-transform:uppercase;line-height:",z(6),";font-weight:",Q.fontWeightMedium,";&&&{font-size:11px;margin-bottom:0;}"),AE=f(ic,{target:"e1lpqc904"})("height:",z(6),";display:flex;"),dY=f(ic,{target:"e1lpqc903"})("margin-top:",z(2),";"),OE=f(ic,{target:"e1lpqc902"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"}),QE=f(lc,{target:"e1lpqc901"})("&&{color:",w.theme.accent,";}"),wE=f(lc,{target:"e1lpqc900"})("&&{margin-top:",z(1),";}");var Nc=u(V(),1),rxc="#000";function Zxc({value:c,onChange:l,label:t}){return(0,Nc.jsx)(SE,{size:"compact",label:t,hideLabelFromVision:!0,value:c,onChange:l})}function Hxc(c){let l={};return c.map(t=>{let e,{slug:d}=t;return l[d]=(l[d]||0)+1,l[d]>1&&(e=`${d}-${l[d]-1}`),{...t,slug:e??d}})}function Rxc(c,l){let t=new RegExp(`^${l}color-([\\d]+)$`),e=c.reduce((d,b)=>{if(typeof b?.slug=="string"){let o=b?.slug.match(t);if(o){let n=parseInt(o[1],10);if(n>=d)return n+1}}return d},1);return{name:(0,ql.sprintf)((0,ql.__)("Color %d"),e),slug:`${l}color-${e}`}}function TE({isGradient:c,element:l,onChange:t,popoverProps:e,onClose:d=()=>{}}){let b=(0,xe.useMemo)(()=>({shift:!0,offset:20,resize:!1,placement:"left-start",...e,className:O("components-palette-edit__popover",e?.className)}),[e]);return(0,Nc.jsxs)(rG,{...b,onClose:d,children:[!c&&(0,Nc.jsx)(no,{color:l.color,enableAlpha:!0,onChange:o=>{t({...l,color:o})}}),c&&(0,Nc.jsx)("div",{className:"components-palette-edit__popover-gradient-picker",children:(0,Nc.jsx)(g0,{__experimentalIsRenderedInSidebar:!0,value:l.gradient,onChange:o=>{t({...l,gradient:o})}})})]})}function Ixc({canOnlyChangeValues:c,element:l,onChange:t,onRemove:e,popoverProps:d,slugPrefix:b,isGradient:o}){let n=o?l.gradient:l.color,[G,X]=(0,xe.useState)(!1),[i,a]=(0,xe.useState)(null),m=(0,xe.useMemo)(()=>({...d,anchor:i}),[i,d]);return(0,Nc.jsxs)(m0,{ref:a,size:"small",children:[(0,Nc.jsxs)(jc,{justify:"flex-start",children:[(0,Nc.jsx)(lc,{size:"small",onClick:()=>{X(!0)},"aria-label":(0,ql.sprintf)((0,ql.__)("Edit: %s"),l.name.trim().length?l.name:n||""),style:{padding:0},children:(0,Nc.jsx)(fE,{colorValue:n})}),(0,Nc.jsx)(Ge,{children:c?(0,Nc.jsx)(kE,{children:l.name.trim().length?l.name:"\xA0"}):(0,Nc.jsx)(Zxc,{label:o?(0,ql.__)("Gradient name"):(0,ql.__)("Color name"),value:l.name,onChange:x=>t({...l,name:x,slug:b+jI(x??"")})})}),!c&&(0,Nc.jsx)(Tt,{children:(0,Nc.jsx)(wE,{size:"small",icon:Js,label:(0,ql.sprintf)((0,ql.__)("Remove color: %s"),l.name.trim().length?l.name:n||""),onClick:e})})]}),G&&(0,Nc.jsx)(TE,{isGradient:o,onChange:t,element:l,popoverProps:m,onClose:()=>X(!1)})]})}function Wxc({elements:c,onChange:l,canOnlyChangeValues:t,slugPrefix:e,isGradient:d,popoverProps:b,addColorRef:o}){let n=(0,xe.useRef)(void 0);(0,xe.useEffect)(()=>{n.current=c},[c]);let G=(0,bY.useDebounce)(X=>l(Hxc(X)),100);return(0,Nc.jsx)(al,{spacing:3,children:(0,Nc.jsx)(x0,{isRounded:!0,isBordered:!0,isSeparated:!0,children:c.map((X,i)=>(0,Nc.jsx)(Ixc,{isGradient:d,canOnlyChangeValues:t,element:X,onChange:a=>{G(c.map((m,x)=>x===i?a:m))},onRemove:()=>{let a=c.filter((m,x)=>x!==i);l(a.length?a:void 0),o.current?.focus()},slugPrefix:e,popoverProps:b},i))})})}var pxc=[];function Bxc({gradients:c,colors:l=pxc,onChange:t,paletteLabel:e,paletteLabelHeadingLevel:d=2,emptyMessage:b,canOnlyChangeValues:o,canReset:n,slugPrefix:G="",popoverProps:X}){let i=!!c,a=i?c:l,[m,x]=(0,xe.useState)(!1),[s,g]=(0,xe.useState)(null),r=m&&!!s&&a[s]&&!a[s].slug,Z=a.length>0,R=(0,bY.useDebounce)(t,100),W=(0,xe.useCallback)((B,p)=>{let y=p===void 0?void 0:a[p];y&&y[i?"gradient":"color"]===B?g(p):x(!0)},[i,a]),I=(0,xe.useRef)(null);return(0,Nc.jsxs)(OE,{children:[(0,Nc.jsxs)(jc,{children:[(0,Nc.jsx)(zE,{level:d,children:e}),(0,Nc.jsxs)(AE,{children:[Z&&m&&(0,Nc.jsx)(QE,{size:"small",onClick:()=>{x(!1),g(null)},children:(0,ql.__)("Done")}),!o&&(0,Nc.jsx)(lc,{ref:I,size:"small",isPressed:r,icon:qo,label:i?(0,ql.__)("Add gradient"):(0,ql.__)("Add color"),onClick:()=>{let{name:B,slug:p}=Rxc(a,G);t(c?[...c,{gradient:Zg,name:B,slug:p}]:[...l,{color:rxc,name:B,slug:p}]),x(!0),g(a.length)}}),Z&&(!m||!o||n)&&(0,Nc.jsx)(ub,{icon:Fs,label:i?(0,ql.__)("Gradient options"):(0,ql.__)("Color options"),toggleProps:{size:"small"},children:({onClose:B})=>(0,Nc.jsx)(Nc.Fragment,{children:(0,Nc.jsxs)(sn,{role:"menu",children:[!m&&(0,Nc.jsx)(lc,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:()=>{x(!0),B()},className:"components-palette-edit__menu-button",children:(0,ql.__)("Show details")}),!o&&(0,Nc.jsx)(lc,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:()=>{g(null),x(!1),t(),B()},className:"components-palette-edit__menu-button",children:i?(0,ql.__)("Remove all gradients"):(0,ql.__)("Remove all colors")}),n&&(0,Nc.jsx)(lc,{__next40pxDefaultSize:!0,className:"components-palette-edit__menu-button",variant:"tertiary",onClick:()=>{g(null),t(),B()},children:i?(0,ql.__)("Reset gradient"):(0,ql.__)("Reset colors")})]})})})]})]}),Z&&(0,Nc.jsxs)(dY,{children:[m&&(0,Nc.jsx)(Wxc,{canOnlyChangeValues:o,elements:a,onChange:t,slugPrefix:G,isGradient:i,popoverProps:X,addColorRef:I}),!m&&s!==null&&(0,Nc.jsx)(TE,{isGradient:i,onClose:()=>g(null),onChange:B=>{R(a.map((p,y)=>y===s?B:p))},element:a[s??-1],popoverProps:X}),!m&&(i?(0,Nc.jsx)(gp,{gradients:c,onChange:W,clearable:!1,disableCustomGradients:!0}):(0,Nc.jsx)(BG,{colors:l,onChange:W,clearable:!1,disableCustomColors:!0}))]}),!Z&&b&&(0,Nc.jsx)(dY,{children:b})]})}var DE=Bxc;var hG=u(bc(),1),ke=u(h(),1),l7=u(ec(),1),nY=u(co(),1);var yxc=({__next40pxDefaultSize:c})=>!c&&A("height:28px;padding-left:",z(1),";padding-right:",z(1),";",""),UE=f(Hl,{target:"evuatpg0"})("height:38px;padding-left:",z(2),";padding-right:",z(2),";",yxc,";");var Zp=u(h(),1),LE=u(V(),1);function Vxc(c,l){let{value:t,isExpanded:e,instanceId:d,selectedSuggestionIndex:b,className:o,onChange:n,onFocus:G,onBlur:X,"aria-describedby":i,...a}=c,[m,x]=(0,Zp.useState)(!1),s=t?t.length+1:0,g=Z=>{n&&n({value:Z.target.value})},r=Z=>{x(!0),G?.(Z)},H=Z=>{x(!1),X?.(Z)};return(0,LE.jsx)("input",{ref:l,id:`components-form-token-input-${d}`,type:"text",...a,value:t||"",onChange:g,onFocus:r,onBlur:H,size:s,className:O(o,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":e,"aria-autocomplete":"list","aria-owns":e?`components-form-token-suggestions-${d}`:void 0,"aria-activedescendant":m&&b!==-1&&e?`components-form-token-suggestions-${d}-${b}`:void 0,"aria-describedby":i})}var jE=(0,Zp.forwardRef)(Vxc);jE.displayName="TokenInput";var Hp=jE;var EE=u(ec(),1),ME=u(bc(),1),Wi=u(V(),1),Cxc=c=>{c.preventDefault()};function Jxc({selectedIndex:c,scrollIntoView:l,match:t,onHover:e,onSelect:d,suggestions:b=[],displayTransform:o,instanceId:n,__experimentalRenderItem:G}){let X=(0,EE.useRefEffect)(x=>{c>-1&&l&&x.children[c]&&x.children[c].scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})},[c,l]),i=x=>()=>{e?.(x)},a=x=>()=>{d?.(x)},m=x=>{let s=o(t).normalize("NFKC").toLocaleLowerCase();if(s.length===0)return null;let g=o(x),r=g.normalize("NFKC").toLocaleLowerCase().indexOf(s);return{suggestionBeforeMatch:g.substring(0,r),suggestionMatch:g.substring(r,r+s.length),suggestionAfterMatch:g.substring(r+s.length)}};return(0,Wi.jsxs)("ul",{ref:X,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${n}`,role:"listbox",children:[b.map((x,s)=>{let g=m(x),r=s===c,H=typeof x=="object"&&x?.disabled,Z=typeof x=="object"&&"value"in x?x?.value:o(x),R=O("components-form-token-field__suggestion",{"is-selected":r}),W;return typeof G=="function"?W=G({item:x}):g?W=(0,Wi.jsxs)("span",{"aria-label":o(x),children:[g.suggestionBeforeMatch,(0,Wi.jsx)("strong",{className:"components-form-token-field__suggestion-match",children:g.suggestionMatch}),g.suggestionAfterMatch]}):W=o(x),(0,Wi.jsx)("li",{id:`components-form-token-suggestions-${n}-${s}`,role:"option",className:R,onMouseDown:Cxc,onClick:a(x),onMouseEnter:i(x),"aria-selected":s===c,"aria-disabled":H,children:W},Z)}),b.length===0&&(0,Wi.jsx)("li",{className:"components-form-token-field__suggestion is-empty",children:(0,ME.__)("No items found")})]})}var Rp=Jxc;var Ip=u(h(),1),Wp=u(ec(),1),oY=u(V(),1),pp=(0,Wp.createHigherOrderComponent)(c=>function(t){let[e,d]=(0,Ip.useState)(void 0),b=(0,Ip.useCallback)(o=>d(()=>o?.handleFocusOutside?o.handleFocusOutside.bind(o):void 0),[]);return(0,oY.jsx)("div",{...(0,Wp.__experimentalUseFocusOutside)(e),children:(0,oY.jsx)(c,{ref:b,...t})})},"withFocusOutside");var Yxc=Ye` | |
| 24 | - from { | |
| 25 | - transform: rotate(0deg); | |
| 26 | - } | |
| 27 | - to { | |
| 28 | - transform: rotate(360deg); | |
| 29 | - } | |
| 30 | - `,PE=f("svg",{target:"ea4tfvq2"})("width:",Q.spinnerSize,"px;height:",Q.spinnerSize,"px;display:inline-block;margin:5px 11px 0;position:relative;color:",w.theme.accent,";overflow:visible;opacity:1;background-color:transparent;"),KE={name:"9s4963",styles:"fill:transparent;stroke-width:1.5px"},_E=f("circle",{target:"ea4tfvq1"})(KE,";stroke:",w.gray[300],";"),qE=f("path",{target:"ea4tfvq0"})(KE,";stroke:currentColor;stroke-linecap:round;transform-origin:50% 50%;animation:1.4s linear infinite both ",Yxc,";");var $E=u(h(),1),Hg=u(V(),1);function hxc({className:c,...l},t){return(0,Hg.jsxs)(PE,{className:O("components-spinner",c),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...l,ref:t,children:[(0,Hg.jsx)(_E,{cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,Hg.jsx)(qE,{d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})}var c7=(0,$E.forwardRef)(hxc);c7.displayName="Spinner";var H0=c7;var mb=u(V(),1),Fxc=()=>{},vxc=pp(class extends ke.Component{handleFocusOutside(l){this.props.onFocusOutside(l)}render(){return this.props.children}}),Bp=(c,l)=>c===null?-1:l.indexOf(c);function t7(c){let{__next40pxDefaultSize:l=!1,value:t,label:e,options:d,onChange:b,onFilterValueChange:o=Fxc,hideLabelFromVision:n,help:G,allowReset:X=!0,className:i,isLoading:a=!1,messages:m={selected:(0,hG.__)("Item selected.")},__experimentalRenderItem:x,expandOnFocus:s=!0,placeholder:g}=Ut(c),[r,H]=ee({value:t,onChange:b}),Z=d.find(j=>j.value===r),R=Z?.label??"",W=(0,l7.useInstanceId)(t7,"combobox-control"),[I,B]=(0,ke.useState)(Z||null),[p,y]=(0,ke.useState)(!1),[Y,C]=(0,ke.useState)(!1),[J,N]=(0,ke.useState)(""),S=(0,ke.useRef)(null),F=(0,ke.useMemo)(()=>{let j=[],oc=[],Rc=_s(J);return d.forEach(Vc=>{let Mc=_s(Vc.label).indexOf(Rc);Mc===0?j.push(Vc):Mc>0&&oc.push(Vc)}),j.concat(oc)},[J,d]),D=j=>{j.disabled||(H(j.value),(0,nY.speak)(m.selected,"assertive"),B(j),N(""),y(!1))},L=(j=1)=>{let Rc=Bp(I,F)+j;Rc<0?Rc=F.length-1:Rc>=F.length&&(Rc=0),B(F[Rc]),y(!0)},v=yd(j=>{let oc=!1;if(!j.defaultPrevented){switch(j.code){case"Enter":I&&(D(I),oc=!0);break;case"ArrowUp":L(-1),oc=!0;break;case"ArrowDown":L(1),oc=!0;break;case"Escape":y(!1),B(null),oc=!0;break;default:break}oc&&j.preventDefault()}}),T=()=>{C(!1)},k=()=>{C(!0),s&&y(!0),o(""),N("")},M=()=>{y(!0)},P=()=>{y(!1)},Gc=j=>{let oc=j.value;N(oc),o(oc),Y&&y(!0)},U=()=>{H(null),S.current?.focus()},dc=j=>{j.stopPropagation()};return(0,ke.useEffect)(()=>{let j=F.length>0,oc=Bp(I,F)>0;j&&!oc&&B(F[0])},[F,I]),(0,ke.useEffect)(()=>{let j=F.length>0;if(p){let oc=j?(0,hG.sprintf)((0,hG._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",F.length),F.length):(0,hG.__)("No results.");(0,nY.speak)(oc,"polite")}},[F,p]),Uc({componentName:"ComboboxControl",__next40pxDefaultSize:l,size:void 0}),(0,mb.jsx)(vxc,{onFocusOutside:P,children:(0,mb.jsx)(Lc,{className:O(i,"components-combobox-control"),label:e,id:`components-form-token-input-${W}`,hideLabelFromVision:n,help:G,children:(0,mb.jsxs)("div",{className:"components-combobox-control__suggestions-container",tabIndex:-1,onKeyDown:v,children:[(0,mb.jsxs)(UE,{__next40pxDefaultSize:l,children:[(0,mb.jsx)(Ge,{children:(0,mb.jsx)(Hp,{className:"components-combobox-control__input",instanceId:W,ref:S,placeholder:g,value:p?J:R,onFocus:k,onBlur:T,onClick:M,isExpanded:p,selectedSuggestionIndex:Bp(I,F),onChange:Gc,"aria-describedby":G?`components-form-token-input-${W}__help`:void 0})}),a&&(0,mb.jsx)(H0,{}),X&&!!r&&!p&&(0,mb.jsx)(lc,{size:"small",icon:PX,onClick:U,onKeyDown:dc,label:(0,hG.__)("Reset")})]}),p&&!a&&(0,mb.jsx)(Rp,{instanceId:W,match:{label:J,value:""},displayTransform:j=>j.label,suggestions:F,selectedIndex:Bp(I,F),onHover:B,onSelect:D,scrollIntoView:!0,__experimentalRenderItem:x})]})})})}var yp=t7;var e7=u(h(),1),XY=u(ec(),1),iY=u(Xl(),1);var aY=u(V(),1);function d7(c){if(c.state){let{state:l,...t}=c,{store:e,...d}=d7(l);return{...t,...d,store:e}}return c}var GY={__unstableComposite:"Composite",__unstableCompositeGroup:"Composite.Group or Composite.Row",__unstableCompositeItem:"Composite.Item",__unstableUseCompositeState:"Composite"};function uY(c,l={}){let t=c.displayName??"",e=d=>{(0,iY.default)(`wp.components.${t}`,{since:"6.7",alternative:GY.hasOwnProperty(t)?GY[t]:void 0});let{store:b,...o}=d7(d),n=o;return n={...n,id:(0,XY.useInstanceId)(b,n.baseId,n.id)},Object.entries(l).forEach(([G,X])=>{n.hasOwnProperty(G)&&(Object.assign(n,{[X]:n[G]}),delete n[G])}),delete n.baseId,(0,aY.jsx)(c,{...n,store:b})};return e.displayName=t,e}var Nxc=(0,e7.forwardRef)(({role:c,...l},t)=>{let e=c==="row"?zt.Row:zt.Group;return(0,aY.jsx)(e,{ref:t,role:c,...l})}),mY=uY(Object.assign(zt,{displayName:"__unstableComposite"}),{baseId:"id"}),b7=uY(Object.assign(Nxc,{displayName:"__unstableCompositeGroup"})),o7=uY(Object.assign(zt.Item,{displayName:"__unstableCompositeItem"}),{focusable:"accessibleWhenDisabled"});function n7(c={}){(0,iY.default)("wp.components.__unstableUseCompositeState",{since:"6.7",alternative:GY.__unstableUseCompositeState});let{baseId:l,currentId:t,orientation:e,rtl:d=!1,loop:b=!1,wrap:o=!1,shift:n=!1,unstable_virtual:G}=c;return{baseId:(0,XY.useInstanceId)(mY,"composite",l),store:aX({defaultActiveId:t,rtl:d,orientation:e,focusLoop:b,focusShift:n,focusWrap:o,virtualFocus:G})}}var gY=u(bc(),1),sb=u(h(),1);var yl=u(h(),1),Nd=u(ec(),1),xY=u(bc(),1);var s7=u(r0(),1);var fxc=new Set(["alert","status","log","marquee","timer"]),G7=[];function X7(c){let l=Array.from(document.body.children),t=[];G7.push(t);for(let e of l)e!==c&&Sxc(e)&&(e.setAttribute("aria-hidden","true"),t.push(e))}function Sxc(c){let l=c.getAttribute("role");return!(c.tagName==="SCRIPT"||c.hasAttribute("hidden")||c.hasAttribute("aria-hidden")||c.hasAttribute("aria-live")||l&&fxc.has(l))}function i7(){let c=G7.pop();if(c)for(let l of c)l.removeAttribute("aria-hidden")}var a7=u(ec(),1),R0=u(h(),1),u7=u(ne(),1);var zxc=Number.parseInt(Q.transitionDuration),Axc="components-modal__disappear-animation";function m7(){let c=(0,R0.useRef)(null),[l,t]=(0,R0.useState)(!1),e=(0,a7.useReducedMotion)(),d=(0,R0.useCallback)(()=>new Promise(b=>{let o=c.current;if(e){b();return}if(!o){(0,u7.default)("wp.components.Modal: the Modal component can't be closed with an exit animation because of a missing reference to the modal frame element."),b();return}let n,G=()=>new Promise(i=>{n=a=>{a.animationName===Axc&&i()},o.addEventListener("animationend",n),t(!0)}),X=()=>new Promise(i=>{setTimeout(()=>i(),zxc*1.2)});Promise.race([G(),X()]).then(()=>{n&&o.removeEventListener("animationend",n),t(!1),b()})}),[e]);return{overlayClassname:l?"is-animating-out":void 0,frameRef:c,closeModal:d}}var x7=u(h(),1),Vp=(0,x7.createContext)(new Set);Vp.displayName="ModalContext";var Ft=u(V(),1),Rg=new Map;function Oxc(c,l){let{bodyOpenClassName:t="modal-open",role:e="dialog",title:d=null,focusOnMount:b=!0,shouldCloseOnEsc:o=!0,shouldCloseOnClickOutside:n=!0,isDismissible:G=!0,aria:X={labelledby:void 0,describedby:void 0},onRequestClose:i,icon:a,closeButtonLabel:m,children:x,style:s,overlayClassName:g,className:r,contentLabel:H,onKeyDown:Z,isFullScreen:R=!1,size:W,headerActions:I=null,__experimentalHideHeader:B=!1}=c,p=(0,yl.useRef)(null),y=(0,Nd.useInstanceId)(sY),Y=d?`components-modal-header-${y}`:X.labelledby,C=(0,Nd.useFocusOnMount)(b==="firstContentElement"?"firstElement":b),J=(0,Nd.useConstrainedTabbing)(),N=(0,Nd.useFocusReturn)(),S=(0,yl.useRef)(null),F=(0,yl.useRef)(null),[D,L]=(0,yl.useState)(!1),[v,T]=(0,yl.useState)(!1),k;R||W==="fill"?k="is-full-screen":W&&(k=`has-size-${W}`);let M=(0,yl.useCallback)(()=>{if(!S.current)return;let sc=(0,s7.getScrollContainer)(S.current);S.current===sc?T(!0):T(!1)},[S]);(0,yl.useEffect)(()=>(X7(p.current),()=>i7()),[]);let P=(0,yl.useRef)(void 0);(0,yl.useEffect)(()=>{P.current=i},[i]);let Gc=(0,yl.useContext)(Vp),[U]=(0,yl.useState)(()=>new Set);(0,yl.useEffect)(()=>{Gc.add(P);for(let sc of Gc)sc!==P&&sc.current?.();return()=>{for(let sc of U)sc.current?.();Gc.delete(P)}},[Gc,U]),(0,yl.useEffect)(()=>{let sc=t,Pc=1+(Rg.get(sc)??0);return Rg.set(sc,Pc),document.body.classList.add(t),()=>{let Fl=Rg.get(sc)-1;Fl===0?(document.body.classList.remove(sc),Rg.delete(sc)):Rg.set(sc,Fl)}},[t]);let{closeModal:dc,frameRef:j,overlayClassname:oc}=m7();(0,yl.useLayoutEffect)(()=>{if(!window.ResizeObserver||!F.current)return;let sc=new ResizeObserver(M);return sc.observe(F.current),M(),()=>{sc.disconnect()}},[M,F]);function Rc(sc){o&&(sc.code==="Escape"||sc.key==="Escape")&&!sc.defaultPrevented&&(sc.preventDefault(),dc().then(()=>i(sc)))}let Vc=(0,yl.useCallback)(sc=>{let Pc=sc?.currentTarget?.scrollTop??-1;!D&&Pc>0?L(!0):D&&Pc<=0&&L(!1)},[D]),Mc=null,Dl={onPointerDown:sc=>{sc.target===sc.currentTarget&&(Mc=sc.target,sc.preventDefault())},onPointerUp:({target:sc,button:Pc})=>{let Fl=sc===Mc;Mc=null,Pc===0&&Fl&&dc().then(()=>i())}},xl=(0,Ft.jsx)("div",{ref:(0,Nd.useMergeRefs)([p,l]),className:O("components-modal__screen-overlay",oc,g),onKeyDown:yd(Rc),...n?Dl:{},children:(0,Ft.jsx)(Uu,{document,children:(0,Ft.jsx)("div",{className:O("components-modal__frame",k,r),style:s,ref:(0,Nd.useMergeRefs)([j,J,N,b!=="firstContentElement"?C:null]),role:e,"aria-label":H,"aria-labelledby":H?void 0:Y,"aria-describedby":X.describedby,tabIndex:-1,onKeyDown:Z,children:(0,Ft.jsxs)("div",{className:O("components-modal__content",{"hide-header":B,"is-scrollable":v,"has-scrolled-content":D}),role:"document",onScroll:Vc,ref:S,"aria-label":v?(0,xY.__)("Scrollable section"):void 0,tabIndex:v?0:void 0,children:[!B&&(0,Ft.jsxs)("div",{className:"components-modal__header",children:[(0,Ft.jsxs)("div",{className:"components-modal__header-heading-container",children:[a&&(0,Ft.jsx)("span",{className:"components-modal__icon-container","aria-hidden":!0,children:a}),d&&(0,Ft.jsx)("h1",{id:Y,className:"components-modal__header-heading",children:d})]}),I,G&&(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)(xt,{marginBottom:0,marginLeft:2}),(0,Ft.jsx)(lc,{size:"compact",onClick:sc=>dc().then(()=>i(sc)),icon:KX,label:m||(0,xY.__)("Close")})]})]}),(0,Ft.jsx)("div",{ref:(0,Nd.useMergeRefs)([F,b==="firstContentElement"?C:null]),className:"components-modal__children-container",children:x})]})})})});return(0,yl.createPortal)((0,Ft.jsx)(Vp.Provider,{value:U,children:xl}),document.body)}var sY=(0,yl.forwardRef)(Oxc);sY.displayName="Modal";var I0=sY;var g7={name:"7g5ii0",styles:"&&{z-index:1000001;}"};var xb=u(V(),1),wxc=(c,l)=>{let{isOpen:t,onConfirm:e,onCancel:d,children:b,confirmButtonText:o,cancelButtonText:n,isBusy:G,...X}=$(c,"ConfirmDialog"),a=Xc()(g7),m=(0,sb.useRef)(null),x=(0,sb.useRef)(null),[s,g]=(0,sb.useState)(),[r,H]=(0,sb.useState)();(0,sb.useEffect)(()=>{let B=typeof t<"u";g(B?t:!0),H(!B)},[t]);let Z=(0,sb.useCallback)(B=>p=>{B?.(p),r&&g(!1)},[r,g]),R=(0,sb.useCallback)(B=>{!(B.target===m.current||B.target===x.current)&&B.key==="Enter"&&Z(e)(B)},[Z,e]),W=n??(0,gY.__)("Cancel"),I=o??(0,gY.__)("OK");return(0,xb.jsx)(xb.Fragment,{children:s&&(0,xb.jsx)(I0,{onRequestClose:Z(d),onKeyDown:R,closeButtonLabel:W,isDismissible:!0,ref:l,overlayClassName:a,__experimentalHideHeader:!0,...X,children:(0,xb.jsxs)(al,{spacing:8,children:[(0,xb.jsx)(Ct,{children:b}),(0,xb.jsxs)(Hl,{direction:"row",justify:"flex-end",children:[(0,xb.jsx)(lc,{__next40pxDefaultSize:!0,ref:m,variant:"tertiary",onClick:Z(d),accessibleWhenDisabled:!0,disabled:G,children:W}),(0,xb.jsx)(lc,{__next40pxDefaultSize:!0,ref:x,variant:"primary",onClick:Z(e),accessibleWhenDisabled:!0,disabled:G,isBusy:G,children:I})]})]})})})},Txc=tc(wxc,"ConfirmDialog"),rY=Txc;var h7=u(ec(),1),Jp=u(bc(),1);var pi=u(h(),1),W0=u(bc(),1);var fd={compact:Q.controlPaddingXSmall,small:Q.controlPaddingXSmall,default:Q.controlPaddingX},Dxc=(c,l)=>{let t={compact:{[l]:32,paddingInlineStart:fd.compact,paddingInlineEnd:fd.compact+oi},default:{[l]:40,paddingInlineStart:fd.default,paddingInlineEnd:fd.default+oi},small:{[l]:24,paddingInlineStart:fd.small,paddingInlineEnd:fd.small+oi}};return t[c]||t.default},Uxc=c=>{let t={compact:{paddingInlineStart:fd.compact,paddingInlineEnd:fd.compact-6},default:{paddingInlineStart:fd.default,paddingInlineEnd:fd.default-6},small:{paddingInlineStart:fd.small,paddingInlineEnd:fd.small-6}};return t[c]||t.default},r7=f(rZ,{shouldForwardProp:c=>c!=="hasCustomRenderProp",target:"e1p3eej77"})(({size:c,hasCustomRenderProp:l})=>A("display:block;background-color:",w.theme.background,";border:none;color:",w.theme.foreground,";cursor:pointer;font-family:inherit;text-align:start;user-select:none;width:100%;&[data-focus-visible]{outline:none;}",Dxc(c,l?"minHeight":"height")," ",!l&&R7," ",ws({inputSize:c}),";",""),""),Lxc=Ye({"0%":{transform:`translateY(-${wt.SLIDE_DISTANCE})`},"100%":{transform:"translateY(0)"}}),jxc=Ye({"0%":{opacity:0},"100%":{opacity:1}}),Z7=f(yZ,{target:"e1p3eej76"})("display:flex;flex-direction:column;background-color:",w.theme.background,";border-radius:",Q.radiusSmall,";border:1px solid ",w.theme.foreground,";box-shadow:",Q.elevationMedium,";z-index:1000000;max-height:min( var( --popover-available-height, 400px ), 400px );overflow:auto;overscroll-behavior:contain;min-width:min-content;&[data-open]{@media not ( prefers-reduced-motion ){animation-name:",Lxc,",",jxc,";animation-duration:",wt.SLIDE_DURATION,",",wt.FADE_DURATION,";animation-timing-function:",wt.SLIDE_EASING,",",wt.FADE_EASING,";will-change:transform,opacity;}}&[data-focus-visible]{outline:none;}"),H7=f(Yx,{target:"e1p3eej75"})(({size:c})=>A("cursor:default;display:flex;align-items:center;justify-content:space-between;font-size:",Q.fontSize,";line-height:28px;padding-block:",z(2),";scroll-margin:",z(1),";user-select:none;&[aria-disabled='true']{cursor:not-allowed;}&[data-active-item]{background-color:",w.theme.gray[300],";}",Uxc(c),";",""),""),R7={name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},I7=f("div",{target:"e1p3eej74"})(R7,";"),W7=f("span",{target:"e1p3eej73"})("color:",w.theme.gray[600],";margin-inline-start:",z(2),";"),ZY=f("div",{target:"e1p3eej72"})("display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;flex:1;column-gap:",z(4),";"),p7=f("span",{target:"e1p3eej71"})("color:",w.theme.gray[600],";text-align:initial;line-height:",Q.fontLineHeightBase,";padding-inline-end:",z(1),";margin-block:",z(1),";"),B7=f(WZ,{target:"e1p3eej70"})("display:flex;align-items:center;margin-inline-start:",z(2),";fill:currentColor;align-self:start;margin-block-start:2px;font-size:0;",ZY,"~&,&:not(:empty){font-size:24px;}");var Sd=u(V(),1),Cp=(0,pi.createContext)(void 0);Cp.displayName="CustomSelectContext";function Exc(c){return(Array.isArray(c)?c.length===0:c==null)?(0,W0.__)("Select an item"):Array.isArray(c)?c.length===1?c[0]:(0,W0.sprintf)((0,W0._n)("%d item selected","%d items selected",c.length),c.length):c}var Mxc=({renderSelectedValue:c,size:l="default",store:t,...e})=>{let{value:d}=xc(t),b=(0,pi.useMemo)(()=>c??Exc,[c]);return(0,Sd.jsx)(r7,{...e,size:l,hasCustomRenderProp:!!c,store:t,children:b(d)})};function Pxc(c){let{children:l,hideLabelFromVision:t=!1,label:e,size:d,store:b,className:o,isLegacy:n=!1,...G}=c,X=(0,pi.useCallback)(a=>{n&&a.stopPropagation()},[n]),i=(0,pi.useMemo)(()=>({store:b,size:d}),[b,d]);return(0,Sd.jsxs)("div",{className:o,children:[(0,Sd.jsx)(pZ,{store:b,render:t?(0,Sd.jsx)(Qc,{}):(0,Sd.jsx)(Lc.VisualLabel,{as:"div"}),children:e}),(0,Sd.jsxs)(zu,{__next40pxDefaultSize:!0,size:d,suffix:(0,Sd.jsx)(HW,{}),children:[(0,Sd.jsx)(Mxc,{...G,size:d,store:b,showOnKeyDown:!n}),(0,Sd.jsx)(Z7,{gutter:12,store:b,sameWidth:!0,slide:!1,onKeyDown:X,flip:!n,children:(0,Sd.jsx)(Cp.Provider,{value:i,children:l})})]})]})}var y7=Pxc;var V7=u(h(),1);var Ig=u(V(),1);function C7({children:c,...l}){let t=(0,V7.useContext)(Cp);return(0,Ig.jsxs)(H7,{store:t?.store,size:t?.size??"default",...l,children:[c??l.value,(0,Ig.jsx)(B7,{children:(0,Ig.jsx)(Bl,{icon:Dt})})]})}C7.displayName="CustomSelectControlV2.Item";var J7=C7;var ze=u(V(),1);function Kxc({__experimentalShowSelectedHint:c,...l}){return{showSelectedHint:c,...l}}function Y7({__experimentalHint:c,...l}){return{hint:c,...l}}function _xc(c,l){return l||(0,Jp.sprintf)((0,Jp.__)("Currently selected: %s"),c)}function F7(c){let{__next40pxDefaultSize:l=!1,__shouldNotWarnDeprecated36pxSize:t,describedBy:e,options:d,onChange:b,size:o="default",value:n,className:G,showSelectedHint:X=!1,...i}=Kxc(c);Uc({componentName:"CustomSelectControl",__next40pxDefaultSize:l,size:o,__shouldNotWarnDeprecated36pxSize:t});let a=(0,h7.useInstanceId)(F7,"custom-select-control__description"),m=Fx({async setValue(Z){let R=d.find(B=>B.key===Z);if(!b||!R)return;await Promise.resolve();let W=m.getState(),I={highlightedIndex:W.renderedItems.findIndex(B=>B.value===Z),inputValue:"",isOpen:W.open,selectedItem:R,type:""};b(I)},value:n?.key,defaultValue:d[0]?.key}),x=d.map(Y7).map(({name:Z,key:R,hint:W,style:I,className:B})=>(0,ze.jsx)(J7,{value:R,children:W?(0,ze.jsxs)(ZY,{children:[(0,ze.jsx)("span",{children:Z}),(0,ze.jsx)(p7,{className:"components-custom-select-control__item-hint",children:W})]}):Z,style:I,className:O(B,"components-custom-select-control__item",{"has-hint":W})},R)),s=xc(m,"value"),g=d?.map(Y7)?.find(({key:Z})=>s===Z)??d[0];return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(y7,{"aria-describedby":a,renderSelectedValue:()=>!X||!g.hint?g?.name:(0,ze.jsxs)(I7,{children:[g?.name,(0,ze.jsx)(W7,{className:"components-custom-select-control__hint",children:g?.hint})]}),size:l&&o==="default"||o==="__unstable-large"?"default":!l&&o==="default"?"compact":o,store:m,className:O("components-custom-select-control",G),isLegacy:!0,...i,children:x}),(0,ze.jsx)(Qc,{children:(0,ze.jsx)("span",{id:a,children:_xc(g?.name,e)})})]})}var Yp=F7;var qxc=Math.pow(10,8)*24*60*60*1e3,O0l=-qxc,hp=6048e5,v7=864e5;var $xc=3600;var N7=$xc*24,Q0l=N7*7,csc=N7*365.2425,lsc=csc/12,w0l=lsc*3,RY=Symbol.for("constructDateFrom");function fc(c,l){return typeof c=="function"?c(l):c&&typeof c=="object"&&RY in c?c[RY](l):c instanceof Date?new c.constructor(l):new Date(l)}function Zc(c,l){return fc(l||c,c)}function xo(c,l,t){let e=Zc(c,t?.in);return isNaN(l)?fc(t?.in||c,NaN):(l&&e.setDate(e.getDate()+l),e)}function ed(c,l,t){let e=Zc(c,t?.in);if(isNaN(l))return fc(t?.in||c,NaN);if(!l)return e;let d=e.getDate(),b=fc(t?.in||c,e.getTime());b.setMonth(e.getMonth()+l+1,0);let o=b.getDate();return d>=o?b:(e.setFullYear(b.getFullYear(),b.getMonth(),d),e)}var tsc={};function so(){return tsc}function rt(c,l){let t=so(),e=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,d=Zc(c,l?.in),b=d.getDay(),o=(b<e?7:0)+b-e;return d.setDate(d.getDate()-o),d.setHours(0,0,0,0),d}function gn(c,l){return rt(c,{...l,weekStartsOn:1})}function Fp(c,l){let t=Zc(c,l?.in),e=t.getFullYear(),d=fc(t,0);d.setFullYear(e+1,0,4),d.setHours(0,0,0,0);let b=gn(d),o=fc(t,0);o.setFullYear(e,0,4),o.setHours(0,0,0,0);let n=gn(o);return t.getTime()>=b.getTime()?e+1:t.getTime()>=n.getTime()?e:e-1}function IY(c){let l=Zc(c),t=new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds()));return t.setUTCFullYear(l.getFullYear()),+c-+t}function kd(c,...l){let t=fc.bind(null,c||l.find(e=>typeof e=="object"));return l.map(t)}function go(c,l){let t=Zc(c,l?.in);return t.setHours(0,0,0,0),t}function Bi(c,l,t){let[e,d]=kd(t?.in,c,l),b=go(e),o=go(d),n=+b-IY(b),G=+o-IY(o);return Math.round((n-G)/v7)}function f7(c,l){let t=Fp(c,l),e=fc(l?.in||c,0);return e.setFullYear(t,0,4),e.setHours(0,0,0,0),gn(e)}function FG(c,l,t){return xo(c,l*7,t)}function p0(c,l,t){return ed(c,l*12,t)}function S7(c,l){let t,e=l?.in;return c.forEach(d=>{!e&&typeof d=="object"&&(e=fc.bind(null,d));let b=Zc(d,e);(!t||t<b||isNaN(+b))&&(t=b)}),fc(e,t||NaN)}function k7(c,l){let t,e=l?.in;return c.forEach(d=>{!e&&typeof d=="object"&&(e=fc.bind(null,d));let b=Zc(d,e);(!t||t>b||isNaN(+b))&&(t=b)}),fc(e,t||NaN)}function Wg(c,l,t){let[e,d]=kd(t?.in,c,l);return+go(e)==+go(d)}function vp(c){return c instanceof Date||typeof c=="object"&&Object.prototype.toString.call(c)==="[object Date]"}function z7(c){return!(!vp(c)&&typeof c!="number"||isNaN(+Zc(c)))}function A7(c,l,t){let[e,d]=kd(t?.in,c,l),b=e.getFullYear()-d.getFullYear(),o=e.getMonth()-d.getMonth();return b*12+o}function pg(c,l){let t=Zc(c,l?.in),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function B0(c,l){let[t,e]=kd(c,l.start,l.end);return{start:t,end:e}}function Bg(c,l){let{start:t,end:e}=B0(l?.in,c),d=+t>+e,b=d?+t:+e,o=d?e:t;o.setHours(0,0,0,0);let n=l?.step??1;if(!n)return[];n<0&&(n=-n,d=!d);let G=[];for(;+o<=b;)G.push(fc(t,o)),o.setDate(o.getDate()+n),o.setHours(0,0,0,0);return d?G.reverse():G}function Np(c,l){let{start:t,end:e}=B0(l?.in,c),d=+t>+e,b=d?+t:+e,o=d?e:t;o.setHours(0,0,0,0),o.setDate(1);let n=l?.step??1;if(!n)return[];n<0&&(n=-n,d=!d);let G=[];for(;+o<=b;)G.push(fc(t,o)),o.setMonth(o.getMonth()+n);return d?G.reverse():G}function O7(c,l){let{start:t,end:e}=B0(l?.in,c),d=+t>+e,b=d?rt(e,l):rt(t,l),o=d?rt(t,l):rt(e,l);b.setHours(15),o.setHours(15);let n=+o.getTime(),G=b,X=l?.step??1;if(!X)return[];X<0&&(X=-X,d=!d);let i=[];for(;+G<=n;)G.setHours(0),i.push(fc(t,G)),G=FG(G,X),G.setHours(15);return d?i.reverse():i}function yg(c,l){let t=Zc(c,l?.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Q7(c,l){let t=Zc(c,l?.in),e=t.getFullYear();return t.setFullYear(e+1,0,0),t.setHours(23,59,59,999),t}function fp(c,l){let t=Zc(c,l?.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function y0(c,l){let t=so(),e=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,d=Zc(c,l?.in),b=d.getDay(),o=(b<e?-7:0)+6-(b-e);return d.setDate(d.getDate()+o),d.setHours(23,59,59,999),d}function w7(c,l){return y0(c,{...l,weekStartsOn:1})}var esc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},T7=(c,l,t)=>{let e,d=esc[c];return typeof d=="string"?e=d:l===1?e=d.one:e=d.other.replace("{{count}}",l.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+e:e+" ago":e};function Sp(c){return(l={})=>{let t=l.width?String(l.width):c.defaultWidth;return c.formats[t]||c.formats[c.defaultWidth]}}var dsc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bsc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},osc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D7={date:Sp({formats:dsc,defaultWidth:"full"}),time:Sp({formats:bsc,defaultWidth:"full"}),dateTime:Sp({formats:osc,defaultWidth:"full"})};var nsc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},U7=(c,l,t,e)=>nsc[c];function V0(c){return(l,t)=>{let e=t?.context?String(t.context):"standalone",d;if(e==="formatting"&&c.formattingValues){let o=c.defaultFormattingWidth||c.defaultWidth,n=t?.width?String(t.width):o;d=c.formattingValues[n]||c.formattingValues[o]}else{let o=c.defaultWidth,n=t?.width?String(t.width):c.defaultWidth;d=c.values[n]||c.values[o]}let b=c.argumentCallback?c.argumentCallback(l):l;return d[b]}}var Gsc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Xsc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},isc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},asc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},usc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},msc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},xsc=(c,l)=>{let t=Number(c),e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},L7={ordinalNumber:xsc,era:V0({values:Gsc,defaultWidth:"wide"}),quarter:V0({values:Xsc,defaultWidth:"wide",argumentCallback:c=>c-1}),month:V0({values:isc,defaultWidth:"wide"}),day:V0({values:asc,defaultWidth:"wide"}),dayPeriod:V0({values:usc,defaultWidth:"wide",formattingValues:msc,defaultFormattingWidth:"wide"})};function C0(c){return(l,t={})=>{let e=t.width,d=e&&c.matchPatterns[e]||c.matchPatterns[c.defaultMatchWidth],b=l.match(d);if(!b)return null;let o=b[0],n=e&&c.parsePatterns[e]||c.parsePatterns[c.defaultParseWidth],G=Array.isArray(n)?gsc(n,a=>a.test(o)):ssc(n,a=>a.test(o)),X;X=c.valueCallback?c.valueCallback(G):G,X=t.valueCallback?t.valueCallback(X):X;let i=l.slice(o.length);return{value:X,rest:i}}}function ssc(c,l){for(let t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&l(c[t]))return t}function gsc(c,l){for(let t=0;t<c.length;t++)if(l(c[t]))return t}function j7(c){return(l,t={})=>{let e=l.match(c.matchPattern);if(!e)return null;let d=e[0],b=l.match(c.parsePattern);if(!b)return null;let o=c.valueCallback?c.valueCallback(b[0]):b[0];o=t.valueCallback?t.valueCallback(o):o;let n=l.slice(d.length);return{value:o,rest:n}}}var rsc=/^(\d+)(th|st|nd|rd)?/i,Zsc=/\d+/i,Hsc={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Rsc={any:[/^b/i,/^(a|c)/i]},Isc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wsc={any:[/1/i,/2/i,/3/i,/4/i]},psc={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Bsc={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ysc={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Vsc={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Csc={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Jsc={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},E7={ordinalNumber:j7({matchPattern:rsc,parsePattern:Zsc,valueCallback:c=>parseInt(c,10)}),era:C0({matchPatterns:Hsc,defaultMatchWidth:"wide",parsePatterns:Rsc,defaultParseWidth:"any"}),quarter:C0({matchPatterns:Isc,defaultMatchWidth:"wide",parsePatterns:Wsc,defaultParseWidth:"any",valueCallback:c=>c+1}),month:C0({matchPatterns:psc,defaultMatchWidth:"wide",parsePatterns:Bsc,defaultParseWidth:"any"}),day:C0({matchPatterns:ysc,defaultMatchWidth:"wide",parsePatterns:Vsc,defaultParseWidth:"any"}),dayPeriod:C0({matchPatterns:Csc,defaultMatchWidth:"any",parsePatterns:Jsc,defaultParseWidth:"any"})};var zd={code:"en-US",formatDistance:T7,formatLong:D7,formatRelative:U7,localize:L7,match:E7,options:{weekStartsOn:0,firstWeekContainsDate:1}};function M7(c,l){let t=Zc(c,l?.in);return Bi(t,fp(t))+1}function kp(c,l){let t=Zc(c,l?.in),e=+gn(t)-+f7(t);return Math.round(e/hp)+1}function zp(c,l){let t=Zc(c,l?.in),e=t.getFullYear(),d=so(),b=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,o=fc(l?.in||c,0);o.setFullYear(e+1,0,b),o.setHours(0,0,0,0);let n=rt(o,l),G=fc(l?.in||c,0);G.setFullYear(e,0,b),G.setHours(0,0,0,0);let X=rt(G,l);return+t>=+n?e+1:+t>=+X?e:e-1}function P7(c,l){let t=so(),e=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??t.firstWeekContainsDate??t.locale?.options?.firstWeekContainsDate??1,d=zp(c,l),b=fc(l?.in||c,0);return b.setFullYear(d,0,e),b.setHours(0,0,0,0),rt(b,l)}function Ap(c,l){let t=Zc(c,l?.in),e=+rt(t,l)-+P7(t,l);return Math.round(e/hp)+1}function el(c,l){let t=c<0?"-":"",e=Math.abs(c).toString().padStart(l,"0");return t+e}var rn={y(c,l){let t=c.getFullYear(),e=t>0?t:1-t;return el(l==="yy"?e%100:e,l.length)},M(c,l){let t=c.getMonth();return l==="M"?String(t+1):el(t+1,2)},d(c,l){return el(c.getDate(),l.length)},a(c,l){let t=c.getHours()/12>=1?"pm":"am";switch(l){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];default:return t==="am"?"a.m.":"p.m."}},h(c,l){return el(c.getHours()%12||12,l.length)},H(c,l){return el(c.getHours(),l.length)},m(c,l){return el(c.getMinutes(),l.length)},s(c,l){return el(c.getSeconds(),l.length)},S(c,l){let t=l.length,e=c.getMilliseconds(),d=Math.trunc(e*Math.pow(10,t-3));return el(d,l.length)}};var J0={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},WY={G:function(c,l,t){let e=c.getFullYear()>0?1:0;switch(l){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"});case"GGGGG":return t.era(e,{width:"narrow"});default:return t.era(e,{width:"wide"})}},y:function(c,l,t){if(l==="yo"){let e=c.getFullYear(),d=e>0?e:1-e;return t.ordinalNumber(d,{unit:"year"})}return rn.y(c,l)},Y:function(c,l,t,e){let d=zp(c,e),b=d>0?d:1-d;if(l==="YY"){let o=b%100;return el(o,2)}return l==="Yo"?t.ordinalNumber(b,{unit:"year"}):el(b,l.length)},R:function(c,l){let t=Fp(c);return el(t,l.length)},u:function(c,l){let t=c.getFullYear();return el(t,l.length)},Q:function(c,l,t){let e=Math.ceil((c.getMonth()+1)/3);switch(l){case"Q":return String(e);case"QQ":return el(e,2);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});default:return t.quarter(e,{width:"wide",context:"formatting"})}},q:function(c,l,t){let e=Math.ceil((c.getMonth()+1)/3);switch(l){case"q":return String(e);case"qq":return el(e,2);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});default:return t.quarter(e,{width:"wide",context:"standalone"})}},M:function(c,l,t){let e=c.getMonth();switch(l){case"M":case"MM":return rn.M(c,l);case"Mo":return t.ordinalNumber(e+1,{unit:"month"});case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});default:return t.month(e,{width:"wide",context:"formatting"})}},L:function(c,l,t){let e=c.getMonth();switch(l){case"L":return String(e+1);case"LL":return el(e+1,2);case"Lo":return t.ordinalNumber(e+1,{unit:"month"});case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});default:return t.month(e,{width:"wide",context:"standalone"})}},w:function(c,l,t,e){let d=Ap(c,e);return l==="wo"?t.ordinalNumber(d,{unit:"week"}):el(d,l.length)},I:function(c,l,t){let e=kp(c);return l==="Io"?t.ordinalNumber(e,{unit:"week"}):el(e,l.length)},d:function(c,l,t){return l==="do"?t.ordinalNumber(c.getDate(),{unit:"date"}):rn.d(c,l)},D:function(c,l,t){let e=M7(c);return l==="Do"?t.ordinalNumber(e,{unit:"dayOfYear"}):el(e,l.length)},E:function(c,l,t){let e=c.getDay();switch(l){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})}},e:function(c,l,t,e){let d=c.getDay(),b=(d-e.weekStartsOn+8)%7||7;switch(l){case"e":return String(b);case"ee":return el(b,2);case"eo":return t.ordinalNumber(b,{unit:"day"});case"eee":return t.day(d,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(d,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(d,{width:"short",context:"formatting"});default:return t.day(d,{width:"wide",context:"formatting"})}},c:function(c,l,t,e){let d=c.getDay(),b=(d-e.weekStartsOn+8)%7||7;switch(l){case"c":return String(b);case"cc":return el(b,l.length);case"co":return t.ordinalNumber(b,{unit:"day"});case"ccc":return t.day(d,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(d,{width:"narrow",context:"standalone"});case"cccccc":return t.day(d,{width:"short",context:"standalone"});default:return t.day(d,{width:"wide",context:"standalone"})}},i:function(c,l,t){let e=c.getDay(),d=e===0?7:e;switch(l){case"i":return String(d);case"ii":return el(d,l.length);case"io":return t.ordinalNumber(d,{unit:"day"});case"iii":return t.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(e,{width:"short",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})}},a:function(c,l,t){let d=c.getHours()/12>=1?"pm":"am";switch(l){case"a":case"aa":return t.dayPeriod(d,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(d,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(d,{width:"narrow",context:"formatting"});default:return t.dayPeriod(d,{width:"wide",context:"formatting"})}},b:function(c,l,t){let e=c.getHours(),d;switch(e===12?d=J0.noon:e===0?d=J0.midnight:d=e/12>=1?"pm":"am",l){case"b":case"bb":return t.dayPeriod(d,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(d,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(d,{width:"narrow",context:"formatting"});default:return t.dayPeriod(d,{width:"wide",context:"formatting"})}},B:function(c,l,t){let e=c.getHours(),d;switch(e>=17?d=J0.evening:e>=12?d=J0.afternoon:e>=4?d=J0.morning:d=J0.night,l){case"B":case"BB":case"BBB":return t.dayPeriod(d,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(d,{width:"narrow",context:"formatting"});default:return t.dayPeriod(d,{width:"wide",context:"formatting"})}},h:function(c,l,t){if(l==="ho"){let e=c.getHours()%12;return e===0&&(e=12),t.ordinalNumber(e,{unit:"hour"})}return rn.h(c,l)},H:function(c,l,t){return l==="Ho"?t.ordinalNumber(c.getHours(),{unit:"hour"}):rn.H(c,l)},K:function(c,l,t){let e=c.getHours()%12;return l==="Ko"?t.ordinalNumber(e,{unit:"hour"}):el(e,l.length)},k:function(c,l,t){let e=c.getHours();return e===0&&(e=24),l==="ko"?t.ordinalNumber(e,{unit:"hour"}):el(e,l.length)},m:function(c,l,t){return l==="mo"?t.ordinalNumber(c.getMinutes(),{unit:"minute"}):rn.m(c,l)},s:function(c,l,t){return l==="so"?t.ordinalNumber(c.getSeconds(),{unit:"second"}):rn.s(c,l)},S:function(c,l){return rn.S(c,l)},X:function(c,l,t){let e=c.getTimezoneOffset();if(e===0)return"Z";switch(l){case"X":return _7(e);case"XXXX":case"XX":return yi(e);default:return yi(e,":")}},x:function(c,l,t){let e=c.getTimezoneOffset();switch(l){case"x":return _7(e);case"xxxx":case"xx":return yi(e);default:return yi(e,":")}},O:function(c,l,t){let e=c.getTimezoneOffset();switch(l){case"O":case"OO":case"OOO":return"GMT"+K7(e,":");default:return"GMT"+yi(e,":")}},z:function(c,l,t){let e=c.getTimezoneOffset();switch(l){case"z":case"zz":case"zzz":return"GMT"+K7(e,":");default:return"GMT"+yi(e,":")}},t:function(c,l,t){let e=Math.trunc(+c/1e3);return el(e,l.length)},T:function(c,l,t){return el(+c,l.length)}};function K7(c,l=""){let t=c>0?"-":"+",e=Math.abs(c),d=Math.trunc(e/60),b=e%60;return b===0?t+String(d):t+String(d)+l+el(b,2)}function _7(c,l){return c%60===0?(c>0?"-":"+")+el(Math.abs(c)/60,2):yi(c,l)}function yi(c,l=""){let t=c>0?"-":"+",e=Math.abs(c),d=el(Math.trunc(e/60),2),b=el(e%60,2);return t+d+l+b}var q7=(c,l)=>{switch(c){case"P":return l.date({width:"short"});case"PP":return l.date({width:"medium"});case"PPP":return l.date({width:"long"});default:return l.date({width:"full"})}},$7=(c,l)=>{switch(c){case"p":return l.time({width:"short"});case"pp":return l.time({width:"medium"});case"ppp":return l.time({width:"long"});default:return l.time({width:"full"})}},Ysc=(c,l)=>{let t=c.match(/(P+)(p+)?/)||[],e=t[1],d=t[2];if(!d)return q7(c,l);let b;switch(e){case"P":b=l.dateTime({width:"short"});break;case"PP":b=l.dateTime({width:"medium"});break;case"PPP":b=l.dateTime({width:"long"});break;default:b=l.dateTime({width:"full"});break}return b.replace("{{date}}",q7(e,l)).replace("{{time}}",$7(d,l))},cM={p:$7,P:Ysc};var hsc=/^D+$/,Fsc=/^Y+$/,vsc=["D","DD","YY","YYYY"];function lM(c){return hsc.test(c)}function tM(c){return Fsc.test(c)}function eM(c,l,t){let e=Nsc(c,l,t);if(console.warn(e),vsc.includes(c))throw new RangeError(e)}function Nsc(c,l,t){let e=c[0]==="Y"?"years":"days of the month";return`Use \`${c.toLowerCase()}\` instead of \`${c}\` (in \`${l}\`) for formatting ${e} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var fsc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ssc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ksc=/^'([^]*?)'?$/,zsc=/''/g,Asc=/[a-zA-Z]/;function dM(c,l,t){let e=so(),d=t?.locale??e.locale??zd,b=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,n=Zc(c,t?.in);if(!z7(n))throw new RangeError("Invalid time value");let G=l.match(Ssc).map(i=>{let a=i[0];if(a==="p"||a==="P"){let m=cM[a];return m(i,d.formatLong)}return i}).join("").match(fsc).map(i=>{if(i==="''")return{isToken:!1,value:"'"};let a=i[0];if(a==="'")return{isToken:!1,value:Osc(i)};if(WY[a])return{isToken:!0,value:i};if(a.match(Asc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return{isToken:!1,value:i}});d.localize.preprocessor&&(G=d.localize.preprocessor(n,G));let X={firstWeekContainsDate:b,weekStartsOn:o,locale:d};return G.map(i=>{if(!i.isToken)return i.value;let a=i.value;(!t?.useAdditionalWeekYearTokens&&tM(a)||!t?.useAdditionalDayOfYearTokens&&lM(a))&&eM(a,l,String(c));let m=WY[a[0]];return m(n,a,d.localize,X)}).join("")}function Osc(c){let l=c.match(ksc);return l?l[1].replace(zsc,"'"):c}function bM(c,l){let t=Zc(c,l?.in),e=t.getFullYear(),d=t.getMonth(),b=fc(t,0);return b.setFullYear(e,d+1,0),b.setHours(0,0,0,0),b.getDate()}function oM(c,l){return Zc(c,l?.in).getMonth()}function nM(c,l){return Zc(c,l?.in).getFullYear()}function Op(c,l){return+Zc(c)>+Zc(l)}function Qp(c,l){return+Zc(c)<+Zc(l)}function Vi(c,l){return+Zc(c)==+Zc(l)}function pY(c,l){let t=Zc(c,l?.in);return t.setSeconds(0,0),t}function Vg(c,l,t){let[e,d]=kd(t?.in,c,l);return e.getFullYear()===d.getFullYear()&&e.getMonth()===d.getMonth()}function GM(c,l,t){let[e,d]=kd(t?.in,c,l);return e.getFullYear()===d.getFullYear()}function XM(c,l,t){return xo(c,-l,t)}function Y0(c,l,t){let e=Zc(c,t?.in),d=e.getFullYear(),b=e.getDate(),o=fc(t?.in||c,0);o.setFullYear(d,l,15),o.setHours(0,0,0,0);let n=bM(o);return e.setMonth(l,Math.min(b,n)),e}function iM(c,l,t){let e=Zc(c,t?.in);return isNaN(+e)?fc(t?.in||c,NaN):(l.year!=null&&e.setFullYear(l.year),l.month!=null&&(e=Y0(e,l.month)),l.date!=null&&e.setDate(l.date),l.hours!=null&&e.setHours(l.hours),l.minutes!=null&&e.setMinutes(l.minutes),l.seconds!=null&&e.setSeconds(l.seconds),l.milliseconds!=null&&e.setMilliseconds(l.milliseconds),e)}function wp(c,l,t){let e=Zc(c,t?.in);return isNaN(+e)?fc(t?.in||c,NaN):(e.setFullYear(l),e)}function aM(c){return go(Date.now(),c)}function h0(c,l,t){return ed(c,-l,t)}function uM(c,l,t){return FG(c,-l,t)}function mM(c,l,t){return p0(c,-l,t)}var se=u(bc(),1);var bd=u(Cg(),1),NG=u(h(),1);var dt=u(h(),1);var Qsc=(function(c){return c[c.SUNDAY=0]="SUNDAY",c[c.MONDAY=1]="MONDAY",c[c.TUESDAY=2]="TUESDAY",c[c.WEDNESDAY=3]="WEDNESDAY",c[c.THURSDAY=4]="THURSDAY",c[c.FRIDAY=5]="FRIDAY",c[c.SATURDAY=6]="SATURDAY",c})({}),wsc=(c,l,t)=>(Vi(c,l)||Op(c,l))&&(Vi(c,t)||Qp(c,t)),sM=c=>iM(c,{hours:0,minutes:0,seconds:0,milliseconds:0}),gM=({weekStartsOn:c=Qsc.SUNDAY,viewing:l=new Date,selected:t=[],numberOfMonths:e=1}={})=>{let[d,b]=(0,dt.useState)(l),o=(0,dt.useCallback)(()=>b(aM()),[b]),n=(0,dt.useCallback)(p=>b(y=>Y0(y,p)),[]),G=(0,dt.useCallback)(()=>b(p=>h0(p,1)),[]),X=(0,dt.useCallback)(()=>b(p=>ed(p,1)),[]),i=(0,dt.useCallback)(p=>b(y=>wp(y,p)),[]),a=(0,dt.useCallback)(()=>b(p=>mM(p,1)),[]),m=(0,dt.useCallback)(()=>b(p=>p0(p,1)),[]),[x,s]=(0,dt.useState)(t.map(sM)),g=()=>s([]),r=(0,dt.useCallback)(p=>x.findIndex(y=>Vi(y,p))>-1,[x]),H=(0,dt.useCallback)((p,y)=>{s(y?Array.isArray(p)?p:[p]:Y=>Y.concat(Array.isArray(p)?p:[p]))},[]),Z=(0,dt.useCallback)(p=>s(y=>Array.isArray(p)?y.filter(Y=>!p.map(C=>C.getTime()).includes(Y.getTime())):y.filter(Y=>!Vi(Y,p))),[]),R=(0,dt.useCallback)((p,y)=>r(p)?Z(p):H(p,y),[Z,r,H]),W=(0,dt.useCallback)((p,y,Y)=>{s(Y?Bg({start:p,end:y}):C=>C.concat(Bg({start:p,end:y})))},[]),I=(0,dt.useCallback)((p,y)=>{s(Y=>Y.filter(C=>!Bg({start:p,end:y}).map(J=>J.getTime()).includes(C.getTime())))},[]),B=(0,dt.useMemo)(()=>Np({start:yg(d),end:pg(ed(d,e-1))}).map(p=>O7({start:yg(p),end:pg(p)},{weekStartsOn:c}).map(y=>Bg({start:rt(y,{weekStartsOn:c}),end:y0(y,{weekStartsOn:c})}))),[d,c,e]);return{clearTime:sM,inRange:wsc,viewing:d,setViewing:b,viewToday:o,viewMonth:n,viewPreviousMonth:G,viewNextMonth:X,viewYear:i,viewPreviousYear:a,viewNextYear:m,selected:x,setSelected:s,clearSelected:g,isSelected:r,select:H,deselect:Z,toggle:R,selectRange:W,deselectRange:I,calendar:B}};var rM=f("div",{target:"e15s65uf7"})(qe,";"),ZM=f(jc,{target:"e15s65uf6"})("column-gap:",z(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;margin-bottom:",z(4),";"),HM=f(lc,{target:"e15s65uf5"})({name:"sarfoe",styles:"grid-column:1/2"}),RM=f(lc,{target:"e15s65uf4"})({name:"1v98r3z",styles:"grid-column:7/8"}),IM=f(td,{target:"e15s65uf3"})("font-size:",Q.fontSize,";font-weight:",Q.fontWeight,";grid-column:2/7;strong{font-weight:",Q.fontWeightHeading,";}"),WM=f("div",{target:"e15s65uf2"})("column-gap:",z(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;row-gap:",z(2),";"),pM=f("div",{target:"e15s65uf1"})("color:",w.theme.gray[700],";font-size:",Q.fontSize,";line-height:",Q.fontLineHeightBase,";"),BM=f(lc,{shouldForwardProp:c=>!["column","isSelected","isToday","hasEvents"].includes(c),target:"e15s65uf0"})("grid-column:",c=>c.column,";position:relative;justify-content:center;padding:0;",c=>c.disabled&&` | |
| 73 | + width: calc( 100% - ${K(2)} ); | |
| 74 | + margin-left: ${K(1)}; | |
| 75 | +}`,PM=q("div",{target:"ez9hsf43"})("padding-top:",K(2),";padding-right:0;padding-left:0;padding-bottom:0;"),KM=q(xt,{target:"ez9hsf42"})("padding-left:",K(4),";padding-right:",K(4),";"),qM=q(Mt,{target:"ez9hsf41"})("padding-top:",K(4),";padding-left:",K(4),";padding-right:",K(3),";padding-bottom:",K(5),";"),$M=q("div",{target:"ez9hsf40"})(lb,";width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",K(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:",de.radiusFull,";margin-bottom:",K(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;@media not ( prefers-reduced-motion ){transition:transform ",de.transitionDurationFast," ease-in-out;}}.react-colorful__interactive:focus .react-colorful__pointer{box-shadow:0 0 0 ",de.borderWidthFocus," ",de.surfaceColor,";border:",de.borderWidthFocus," solid black;transform:translate( -50%, -50% ) scale( 1.5 );}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",de.borderWidthFocus," #fff;}",dfe,";");var e6=u(me(),1),w0=u(T(),1);var lF=u(Ze(),1);var oF=u(F(),1),t6=e=>{let{color:t,colorType:c}=e,[n,l]=(0,w0.useState)(null),o=(0,w0.useRef)(void 0),d=(0,e6.useCopyToClipboard)(()=>{switch(c){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:case"hex":return t.toHex()}},()=>{o.current&&clearTimeout(o.current),l(t.toHex()),o.current=setTimeout(()=>{l(null),o.current=void 0},3e3)});(0,w0.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]);let i=n===t.toHex(),r=i?(0,lF.__)("Copied!"):(0,lF.__)("Copy");return(0,oF.jsx)(Hl,{delay:0,hideOnClick:!1,text:r,children:(0,oF.jsx)(p0,{size:"compact","aria-label":r,ref:d,icon:i?qc:gV,showTooltip:!1})})};var Wb=u(F(),1),ti=({min:e,max:t,label:c,abbreviation:n,onChange:l,value:o})=>(0,Wb.jsxs)(xt,{spacing:4,children:[(0,Wb.jsx)(_M,{min:e,max:t,label:c,hideLabelFromVision:!0,value:o,onChange:i=>{if(!i){l(0);return}if(typeof i=="string"){l(parseInt(i,10));return}l(i)},prefix:(0,Wb.jsx)(Ha,{children:(0,Wb.jsx)(Kn,{color:oe.theme.accent,lineHeight:1,children:n})}),spinControls:"none"}),(0,Wb.jsx)(MM,{label:c,hideLabelFromVision:!0,min:e,max:t,value:o,onChange:l,withInputField:!1})]});var nr=u(F(),1),c6=({color:e,onChange:t,enableAlpha:c})=>{let{r:n,g:l,b:o,a:d}=e.toRgb();return(0,nr.jsxs)(nr.Fragment,{children:[(0,nr.jsx)(ti,{min:0,max:255,label:"Red",abbreviation:"R",value:n,onChange:i=>t(et({r:i,g:l,b:o,a:d}))}),(0,nr.jsx)(ti,{min:0,max:255,label:"Green",abbreviation:"G",value:l,onChange:i=>t(et({r:n,g:i,b:o,a:d}))}),(0,nr.jsx)(ti,{min:0,max:255,label:"Blue",abbreviation:"B",value:o,onChange:i=>t(et({r:n,g:l,b:i,a:d}))}),c&&(0,nr.jsx)(ti,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(d*100),onChange:i=>t(et({r:n,g:l,b:o,a:i/100}))})]})};var lr=u(F(),1),n6=({hsla:e,onChange:t,enableAlpha:c})=>{let n=l=>{t({...e,...l})};return(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(ti,{min:0,max:359,label:"Hue",abbreviation:"H",value:e.h,onChange:l=>{n({h:l})}}),(0,lr.jsx)(ti,{min:0,max:100,label:"Saturation",abbreviation:"S",value:e.s,onChange:l=>{n({s:l})}}),(0,lr.jsx)(ti,{min:0,max:100,label:"Lightness",abbreviation:"L",value:e.l,onChange:l=>{n({l})}}),c&&(0,lr.jsx)(ti,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*e.a),onChange:l=>{n({a:l/100})}})]})};var l6=u(Ze(),1);var l5=u(F(),1),o6=({color:e,onChange:t,enableAlpha:c})=>{let n=o=>{if(o===void 0)return;let d=o.startsWith("#")?o:"#"+o;t(et(d))},l=(o,d)=>{if(d.payload?.event?.nativeEvent?.inputType!=="insertFromPaste")return{...o};let r=o.value?.startsWith("#")?o.value.slice(1).toUpperCase():o.value?.toUpperCase();return{...o,value:r}};return(0,l5.jsx)(gy,{prefix:(0,l5.jsx)(Ha,{children:(0,l5.jsx)(Kn,{color:oe.theme.accent,lineHeight:1,children:"#"})}),value:e.toHex().slice(1).toUpperCase(),onChange:n,maxLength:c?9:7,label:(0,l6.__)("Hex color"),hideLabelFromVision:!0,__unstableStateReducer:l,__unstableInputWidth:"9em"})};var o5=u(F(),1),d6=({colorType:e,color:t,hsla:c,onChange:n,onHSLChange:l,enableAlpha:o})=>{switch(e){case"hsl":return(0,o5.jsx)(n6,{hsla:c,onChange:l,enableAlpha:o});case"rgb":return(0,o5.jsx)(c6,{color:t,onChange:n,enableAlpha:o});default:case"hex":return(0,o5.jsx)(o6,{color:t,onChange:n,enableAlpha:o})}};var va=u(T(),1);var De=u(E(),1);function z0(){return(z0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var c=arguments[t];for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e}).apply(this,arguments)}function aF(e,t){if(e==null)return{};var c,n,l={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(c=o[n])>=0||(l[c]=e[c]);return l}function Wx(e){var t=(0,De.useRef)(e),c=(0,De.useRef)(function(n){t.current&&t.current(n)});return t.current=e,c.current}var k0=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=1),e>c?c:e<t?t:e},hx=function(e){return"touches"in e},iF=function(e){return e&&e.ownerDocument.defaultView||self},i6=function(e,t,c){var n=e.getBoundingClientRect(),l=hx(t)?(function(o,d){for(var i=0;i<o.length;i++)if(o[i].identifier===d)return o[i];return o[0]})(t.touches,c):t;return{left:k0((l.pageX-(n.left+iF(e).pageXOffset))/n.width),top:k0((l.pageY-(n.top+iF(e).pageYOffset))/n.height)}},r6=function(e){!hx(e)&&e.preventDefault()},sF=De.default.memo(function(e){var t=e.onMove,c=e.onKey,n=e.onEnd,l=aF(e,["onMove","onKey","onEnd"]),o=(0,De.useRef)(null),d=Wx(t),i=Wx(c),r=Wx(n),a=(0,De.useRef)(null),s=(0,De.useRef)(!1),b=(0,De.useMemo)(function(){var x=function(R){r6(R),(hx(R)?R.touches.length>0:R.buttons>0)&&o.current?d(i6(o.current,R,a.current)):(p(!1),r())},H=function(){p(!1),r()};function p(R){var I=s.current,f=iF(o.current),y=R?f.addEventListener:f.removeEventListener;y(I?"touchmove":"mousemove",x),y(I?"touchend":"mouseup",H)}return[function(R){var I=R.nativeEvent,f=o.current;if(f&&(r6(I),!(function(Z,W){return W&&!hx(Z)})(I,s.current)&&f)){if(hx(I)){s.current=!0;var y=I.changedTouches||[];y.length&&(a.current=y[0].identifier)}f.focus(),d(i6(f,I,a.current)),p(!0)}},function(R){var I=R.which||R.keyCode;I<37||I>40||(R.preventDefault(),i({left:I===39?.05:I===37?-.05:0,top:I===40?.05:I===38?-.05:0}))},function(R){var I=R.which||R.keyCode;I>=37&&I<=40&&r()},p]},[i,d,r]),m=b[0],X=b[1],G=b[2],g=b[3];return(0,De.useEffect)(function(){return g},[g]),De.default.createElement("div",z0({},l,{onTouchStart:m,onMouseDown:m,className:"react-colorful__interactive",ref:o,onKeyDown:X,onKeyUp:G,tabIndex:0,role:"slider"}))}),Bx=function(e){return e.filter(Boolean).join(" ")},bF=function(e){var t=e.color,c=e.left,n=e.top,l=n===void 0?.5:n,o=Bx(["react-colorful__pointer",e.className]);return De.default.createElement("div",{className:o,style:{top:100*l+"%",left:100*c+"%"}},De.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},po=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=Math.pow(10,t)),Math.round(c*e)/c},_Gt={grad:.9,turn:360,rad:360/(2*Math.PI)};var s6=function(e){var t=e.s,c=e.v,n=e.a,l=(200-t)*c/100;return{h:po(e.h),s:po(l>0&&l<200?t*c/100/(l<=100?l:200-l)*100:0),l:po(l/2),a:po(n,2)}},rF=function(e){var t=s6(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},dF=function(e){var t=s6(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"};var b6=function(e){return{h:po(e.h),s:po(e.s),v:po(e.v),a:po(e.a,2)}},u6=De.default.memo(function(e){var t=e.hue,c=e.onChange,n=e.onChangeEnd,l=Bx(["react-colorful__hue",e.className]);return De.default.createElement("div",{className:l},De.default.createElement(sF,{onMove:function(o){c({h:360*o.left})},onKey:function(o){c({h:k0(t+360*o.left,0,360)})},onEnd:n,"aria-label":"Hue","aria-valuenow":po(t),"aria-valuemax":"360","aria-valuemin":"0"},De.default.createElement(bF,{className:"react-colorful__hue-pointer",left:t/360,color:rF({h:t,s:100,v:100,a:1})})))}),m6=De.default.memo(function(e){var t=e.hsva,c=e.onChange,n=e.onChangeEnd,l={backgroundColor:rF({h:t.h,s:100,v:100,a:1})};return De.default.createElement("div",{className:"react-colorful__saturation",style:l},De.default.createElement(sF,{onMove:function(o){c({s:100*o.left,v:100-100*o.top})},onKey:function(o){c({s:k0(t.s+100*o.left,0,100),v:k0(t.v-100*o.top,0,100)})},onEnd:n,"aria-label":"Color","aria-valuetext":"Saturation "+po(t.s)+"%, Brightness "+po(t.v)+"%"},De.default.createElement(bF,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:rF(t)})))}),uF=function(e,t){if(e===t)return!0;for(var c in e)if(e[c]!==t[c])return!1;return!0};function X6(e,t,c,n){var l=Wx(c),o=Wx(n),d=(0,De.useState)(function(){return e.toHsva(t)}),i=d[0],r=d[1],a=(0,De.useRef)({color:t,hsva:i}),s=(0,De.useRef)(!1);(0,De.useEffect)(function(){if(!e.equal(t,a.current.color)){var X=e.toHsva(t);a.current={hsva:X,color:t},r(X),s.current=!1}},[t,e]),(0,De.useEffect)(function(){var X;uF(i,a.current.hsva)||e.equal(X=e.fromHsva(i),a.current.color)||(a.current={hsva:i,color:X},l(X),s.current=!0)},[i,e,l]);var b=(0,De.useCallback)(function(X){r(function(G){return Object.assign({},G,X)})},[]),m=(0,De.useCallback)(function(){s.current&&(s.current=!1,o(a.current.color))},[o]);return[i,b,m]}var ife,rfe=typeof window<"u"?De.useLayoutEffect:De.useEffect,afe=function(){return ife||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)};var a6=new WeakMap,G6=function(e){rfe(function(){var t=e.current;if(typeof document<"u"&&t){var c=t.getRootNode?t.getRootNode():t.ownerDocument,n=c&&("head"in c||"host"in c)?c:t.ownerDocument;if(!a6.has(n)){var l="head"in n?n.head:n,o=(l.ownerDocument||document).createElement("style");o.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`;var d=afe();d&&o.setAttribute("nonce",d),a6.set(n,o),l.appendChild(o)}}},[])},sfe=function(e){var t=e.className,c=e.colorModel,n=e.color,l=n===void 0?c.defaultColor:n,o=e.onChange,d=e.onChangeEnd,i=aF(e,["className","colorModel","color","onChange","onChangeEnd"]),r=(0,De.useRef)(null);G6(r);var a=X6(c,l,o,d),s=a[0],b=a[1],m=a[2],X=Bx(["react-colorful",t]);return De.default.createElement("div",z0({},i,{ref:r,className:X}),De.default.createElement(m6,{hsva:s,onChange:b,onChangeEnd:m}),De.default.createElement(u6,{hue:s.h,onChange:b,onChangeEnd:m,className:"react-colorful__last-control"}))};var bfe=function(e){var t=e.className,c=e.hsva,n=e.onChange,l=e.onChangeEnd,o={backgroundImage:"linear-gradient(90deg, "+dF(Object.assign({},c,{a:0}))+", "+dF(Object.assign({},c,{a:1}))+")"},d=Bx(["react-colorful__alpha",t]),i=po(100*c.a);return De.default.createElement("div",{className:d},De.default.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),De.default.createElement(sF,{onMove:function(r){n({a:r.left})},onKey:function(r){n({a:k0(c.a+r.left)})},onEnd:l,"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},De.default.createElement(bF,{className:"react-colorful__alpha-pointer",left:c.a,color:dF(c)})))},ufe=function(e){var t=e.className,c=e.colorModel,n=e.color,l=n===void 0?c.defaultColor:n,o=e.onChange,d=e.onChangeEnd,i=aF(e,["className","colorModel","color","onChange","onChangeEnd"]),r=(0,De.useRef)(null);G6(r);var a=X6(c,l,o,d),s=a[0],b=a[1],m=a[2],X=Bx(["react-colorful",t]);return De.default.createElement("div",z0({},i,{ref:r,className:X}),De.default.createElement(m6,{hsva:s,onChange:b,onChangeEnd:m}),De.default.createElement(u6,{hue:s.h,onChange:b,onChangeEnd:m}),De.default.createElement(bfe,{hsva:s,onChange:b,onChangeEnd:m,className:"react-colorful__last-control"}))};var mfe={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:b6,equal:uF},g6=function(e){return De.default.createElement(ufe,z0({},e,{colorModel:mfe}))};var Xfe={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var t=b6(e);return{h:t.h,s:t.s,v:t.v}},equal:uF},x6=function(e){return De.default.createElement(sfe,z0({},e,{colorModel:Xfe}))};var mF=u(F(),1);function p6(e){return{...et(e).toHsv(),h:e.h,a:e.a}}function Gfe(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}function gfe(e,t,c){let n=p6(e);if(e.l!==0)return n;let l=c!==null&&c.s!==e.s;return{h:e.h,s:l?e.s:t.s,v:0,a:e.a}}var R6=({hsla:e,enableAlpha:t,onChange:c,onInteractionStart:n,onInteractionEnd:l})=>{let[o,d]=(0,va.useState)(()=>p6(e)),i=(0,va.useRef)(null),r=(0,va.useRef)(e),a=(0,va.useRef)(!1);(0,va.useEffect)(()=>{if(a.current){r.current=e;return}if(i.current&&Gfe(i.current,e)){r.current=e;return}i.current=null,d(X=>gfe(e,X,r.current)),r.current=e},[e]);let s={onPointerDown({currentTarget:X,pointerId:G}){a.current=!0,n?.(),X.setPointerCapture(G)},onPointerUp({currentTarget:X,pointerId:G}){X.releasePointerCapture(G),a.current=!1,l?.()},onPointerCancel({currentTarget:X,pointerId:G}){X.releasePointerCapture(G),a.current=!1,l?.()}},b=X=>{d(X);let G={...et(X).toHsl(),a:X.a};i.current=G,c(G)};if(t)return(0,mF.jsx)(g6,{color:o,onChange:b,...s});let m={h:o.h,s:o.s,v:o.v};return(0,mF.jsx)(x6,{color:m,onChange:X=>{b({...X,a:o.a})},...s})};var ci=u(F(),1);pl([Rl]);function H6(e,t){return e.s===0?e.l===0||e.l===100?{...e,h:t.h,s:t.s}:{...e,h:t.h}:e}var xfe=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}],pfe=(e,t)=>{let{enableAlpha:c=!1,color:n,onChange:l,defaultValue:o="#fff",copyFormat:d,...i}=ae(e,"ColorPicker"),[r,a]=Do({onChange:l,value:n,defaultValue:o}),s=(0,yl.useMemo)(()=>et(r||""),[r]),b=(0,I6.useDebounce)(a),[m,X]=(0,yl.useState)(()=>({...s.toHsl()})),G=(0,yl.useRef)(s.toHex()),g=(0,yl.useRef)(!1);(0,yl.useEffect)(()=>{if(g.current||s.isEqual(G.current))return;G.current=s.toHex();let f=s.toHsl();X(y=>H6(f,y))},[s]);let x=(0,yl.useCallback)(f=>{X(f);let y=G.current,Z=et(f).toHex();et(Z).isEqual(y)||(G.current=Z,a(Z))},[a]),H=(0,yl.useCallback)(f=>{let y=f.toHsl();X(W=>H6(y,W));let Z=f.toHex();G.current=Z,b(Z)},[b]),[p,R]=(0,yl.useState)(d||"hex"),I=(0,yl.useCallback)(f=>{let y=f.clipboardData?.getData("text")?.trim();if(!y)return;let Z=et(y);if(!Z.isValid())return;H(Z);let W={hex:"hex",rgb:"rgb",hsl:"hsl"},v=String(TL(y)),h=W[v];h&&R(h),f.stopPropagation(),f.preventDefault()},[H,R]);return(0,ci.jsxs)($M,{ref:t,...i,onPasteCapture:I,children:[(0,ci.jsx)(R6,{onChange:x,hsla:m,enableAlpha:c,onInteractionStart:()=>{g.current=!0},onInteractionEnd:()=>{g.current=!1}}),(0,ci.jsxs)(PM,{children:[(0,ci.jsxs)(KM,{justify:"space-between",children:[(0,ci.jsx)(jM,{size:"compact",options:xfe,value:p,onChange:f=>R(f),label:(0,Z6.__)("Color format"),hideLabelFromVision:!0,variant:"minimal"}),(0,ci.jsx)(t6,{color:s,colorType:d||p})]}),(0,ci.jsx)(qM,{direction:"column",gap:2,children:(0,ci.jsx)(d6,{colorType:p,color:s,hsla:m,onChange:H,onHSLChange:x,enableAlpha:c})})]})]})},Rfe=ie(pfe,"ColorPicker"),f6=Rfe;var y6=u(T(),1);function Hfe(e){return typeof e.onChangeComplete<"u"||typeof e.disableAlpha<"u"||typeof e.color?.hex=="string"}function Ife(e){if(e!==void 0){if(typeof e=="string")return e;if(e.hex)return e.hex}}var Zfe=ra(e=>{let t=et(e),c=t.toHex(),n=t.toRgb(),l=t.toHsv(),o=t.toHsl();return{hex:c,rgb:n,hsv:l,hsl:o,source:"hex",oldHue:o.h}});function W6(e){let{onChangeComplete:t}=e,c=(0,y6.useCallback)(n=>{t(Zfe(n))},[t]);return Hfe(e)?{color:Ife(e.color),enableAlpha:!e.disableAlpha,onChange:c}:{...e,color:e.color,enableAlpha:e.enableAlpha,onChange:e.onChange}}var h6=u(F(),1),ni=e=>(0,h6.jsx)(f6,{...W6(e)});var S6=u(me(),1),w6=u(Ze(),1),vx=u(T(),1);var B6=u(T(),1),hb=(0,B6.createContext)({});hb.displayName="CircularOptionPickerContext";var v6=u(me(),1),Va=u(T(),1);var or=u(F(),1);function ffe(e,t){let{isPressed:c,label:n,...l}=e;return(0,or.jsx)(be,{__next40pxDefaultSize:!0,...l,"aria-pressed":c,ref:t,label:n})}var yfe=(0,Va.forwardRef)(ffe);function Wfe(e,t){let{id:c,isSelected:n,label:l,...o}=e,{setActiveId:d,activeId:i}=(0,Va.useContext)(hb);return(0,Va.useEffect)(()=>{n&&!i&&window.setTimeout(()=>d?.(c),0)},[n,d,i,c]),(0,or.jsx)(Bn.Item,{render:(0,or.jsx)(be,{__next40pxDefaultSize:!0,...o,role:"option","aria-selected":!!n,ref:t,label:l}),id:c})}var hfe=(0,Va.forwardRef)(Wfe);function XF({className:e,isSelected:t,selectedIconProps:c={},tooltipText:n,...l}){let{baseId:o,presentation:d="toggle-buttons"}=(0,Va.useContext)(hb),r={id:(0,v6.useInstanceId)(XF,o||"components-circular-option-picker__option"),className:"components-circular-option-picker__option",...l},a=d==="listbox"?(0,or.jsx)(hfe,{...r,label:n,isSelected:t}):(0,or.jsx)(yfe,{...r,label:n,isPressed:d==="toggle-buttons"?!!t:void 0});return(0,or.jsxs)("div",{className:w(e,"components-circular-option-picker__option-wrapper"),children:[a,d!=="command-buttons"&&t&&(0,or.jsx)(Kc,{icon:qc,...c})]})}var V6=u(F(),1);function C6({className:e,options:t,...c}){let n="aria-label"in c||"aria-labelledby"in c?"group":void 0;return(0,V6.jsx)("div",{...c,role:n,className:w("components-circular-option-picker__option-group","components-circular-option-picker__swatches",e),children:t})}var d5=u(F(),1);function F6({buttonProps:e,className:t,dropdownProps:c,linkText:n}){return(0,d5.jsx)($d,{className:w("components-circular-option-picker__dropdown-link-action",t),renderToggle:({isOpen:l,onToggle:o})=>(0,d5.jsx)(be,{"aria-expanded":l,"aria-haspopup":"true",onClick:o,variant:"link",...e,children:n}),...c})}function J6({className:e,children:t,...c}){return(0,d5.jsx)(be,{__next40pxDefaultSize:!0,className:w("components-circular-option-picker__clear",e),variant:"tertiary",...c,children:t})}var Y6=u(Ze(),1),N6=u(Xt(),1);function dr(e,t){t!==void 0&&(0,N6.default)(`\`asButtons\` prop in wp.components.${e}`,{since:"7.2",alternative:"`presentation`",hint:'`asButtons={ true }` maps to `presentation="toggle-buttons"`. Explicit `presentation` takes precedence.'})}function i5(e,t){return e??(t?"toggle-buttons":"listbox")}function Bb(e,t,c,n,l){let o=i5(l,e),d=o==="listbox"?{presentation:"listbox",loop:t}:{presentation:o},i={"aria-labelledby":n,"aria-label":n?void 0:c||(0,Y6.__)("Custom color picker")};return{metaProps:d,labelProps:i,resolvedPresentation:o}}var qo=u(F(),1);function Bfe(e){let{actions:t,options:c,baseId:n,className:l,loop:o=!0,children:d,...i}=e,[r,a]=(0,vx.useState)(void 0),s=(0,vx.useMemo)(()=>({baseId:n,activeId:r,setActiveId:a,presentation:"listbox"}),[n,r,a]);return(0,qo.jsx)("div",{className:l,children:(0,qo.jsxs)(hb.Provider,{value:s,children:[(0,qo.jsx)(Bn,{...i,id:n,focusLoop:o,rtl:(0,w6.isRTL)(),role:"listbox",activeId:r,setActiveId:a,children:c}),d,t]})})}function vfe(e){let{actions:t,options:c,children:n,baseId:l,presentation:o,...d}=e,i=(0,vx.useMemo)(()=>({baseId:l,presentation:o}),[l,o]);return(0,qo.jsx)("div",{...d,role:"group",id:l,children:(0,qo.jsxs)(hb.Provider,{value:i,children:[c,n,t]})})}function vb(e){let{asButtons:t,presentation:c,loop:n,actions:l,options:o,children:d,className:i,...r}=e;dr("CircularOptionPicker",t);let a=i5(c,t),s=(0,S6.useInstanceId)(vb,"components-circular-option-picker",r.id),b=l?(0,qo.jsx)("div",{className:"components-circular-option-picker__custom-clear-wrapper",children:l}):void 0,m=(0,qo.jsx)("div",{className:"components-circular-option-picker__swatches",children:o}),X={baseId:s,className:w("components-circular-option-picker",i),actions:b,options:m,children:d};return a==="listbox"?(0,qo.jsx)(Bfe,{...r,...X,loop:n}):(0,qo.jsx)(vfe,{...r,...X,presentation:a})}vb.Option=XF;vb.OptionGroup=C6;vb.ButtonAction=J6;vb.DropdownLinkAction=F6;vb.displayName="CircularOptionPicker";var k6=vb;var tl=k6;function z6(e){let{expanded:t=!1,alignment:c="stretch",...n}=ae(e,"VStack");return ux({direction:"column",expanded:t,alignment:c,...n})}var T6=u(F(),1);function Vfe(e,t){let c=z6(e);return(0,T6.jsx)(Ce,{...c,ref:t})}var Cfe=ie(Vfe,"VStack"),Nt=Cfe;function A6(e){let{as:t,level:c=2,color:n=oe.theme.foreground,isBlock:l=!0,weight:o=de.fontWeightEmphasis,...d}=ae(e,"Heading"),i=t||`h${c}`,r={};return typeof i=="string"&&i[0]!=="h"&&(r.role="heading",r["aria-level"]=typeof c=="string"?parseInt(c):c),{...lx({color:n,isBlock:l,weight:o,size:d7(c),...d}),...r,as:i}}var O6=u(F(),1);function Ffe(e,t){let c=A6(e);return(0,O6.jsx)(Ce,{...c,ref:t})}var Jfe=ie(Ffe,"Heading"),Ol=Jfe;var U6=u(F(),1),gF="data-wp-hash";function xF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Nfe(document)),e.__wpStyleRuntime}function Yfe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${gF}]`))if(c.getAttribute(gF)===t)return!0;return!1}function Q6(e,t,c){if(!e.head)return;let n=xF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Yfe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(gF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Nfe(e){let t=xF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Q6(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Sfe(e,t){let c=xF();c.styles.set(e,t);for(let n of c.documents.keys())Q6(n,e,t)}typeof process>"u",Sfe("7f9bfd3385",".ab61d20c737fa550__content-wrapper{margin-left:-8px;margin-right:-8px}.ab61d20c737fa550__content-wrapper:first-of-type{margin-top:-8px}.ab61d20c737fa550__content-wrapper:last-of-type{margin-bottom:-8px}.f0a033fae417d720__padding-small{padding:8px}.d83816967399484e__padding-medium{padding:16px}");var GF={"content-wrapper":"ab61d20c737fa550__content-wrapper","padding-small":"f0a033fae417d720__padding-small","padding-medium":"d83816967399484e__padding-medium"};function wfe(e,t){let{paddingSize:c="small",className:n,...l}=ae(e,"DropdownContentWrapper");return(0,U6.jsx)("div",{...l,className:w(GF["content-wrapper"],{[GF["padding-small"]]:c!=="none"&&c!=="medium",[GF["padding-medium"]]:c==="medium"},n),ref:t})}var kfe=ie(wfe,"DropdownContentWrapper"),ir=kfe;var E6=u(Ze(),1);pl([Rl,Ky]);var L6=e=>{let t=/var\(/.test(e??""),c=/color-mix\(/.test(e??"");return!t&&!c},D6=(e,t=[],c=!1,n)=>{if(!e)return"";let l=e?L6(e):!1,o=l?et(e).toHex():e,d=c?t:[{colors:t}];for(let{colors:i}of d)for(let{name:r,color:a,slug:s}of i){if(n){if(s===n)return r;continue}let b=l?et(a).toHex():a;if(o===b)return r}return(0,E6.__)("Custom")},zfe=e=>Array.isArray(e.colors)&&!("color"in e),r5=e=>e.length>0&&e.every(t=>zfe(t)),_6=(e,t)=>{if(!e||!t||L6(e))return e;let{ownerDocument:c}=t,{defaultView:n}=c,l=n?.getComputedStyle(t).backgroundColor;return l?et(l).toHex():e};var Gc=u(F(),1),pF="data-wp-hash";function RF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Afe(document)),e.__wpStyleRuntime}function Tfe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${pF}]`))if(c.getAttribute(pF)===t)return!0;return!1}function M6(e,t,c){if(!e.head)return;let n=RF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Tfe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(pF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Afe(e){let t=RF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)M6(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Ofe(e,t){let c=RF();c.styles.set(e,t);for(let n of c.documents.keys())M6(n,e,t)}typeof process>"u",Ofe("a7b05d56c7",".cf6db1948d5273a8__color-heading{text-transform:uppercase}.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading{font-size:11px;line-height:24px;margin-bottom:0}");var Qfe={"color-heading":"cf6db1948d5273a8__color-heading"};pl([Rl,Ky]);function P6({className:e,clearColor:t,colors:c,onChange:n,value:l,selectedSlug:o,presentation:d,...i}){let r=(0,$o.useMemo)(()=>c.map(({color:a,name:s,slug:b},m)=>{let X=et(a),G=d!=="command-buttons"&&(o?b===o:l===a);return(0,Gc.jsx)(tl.Option,{isSelected:G,selectedIconProps:G?{color:X.contrast()>X.contrast("#000")?"#fff":"#000"}:{},tooltipText:s||(0,rr.sprintf)((0,rr.__)("Color code: %s"),a),style:{backgroundColor:a,color:a},onClick:G?t:()=>n(a,m,b)},b??`${a}-${m}`)}),[c,l,o,n,t,d]);return(0,Gc.jsx)(tl.OptionGroup,{className:e,options:r,...i})}function K6({className:e,clearColor:t,colors:c,onChange:n,value:l,selectedSlug:o,headingLevel:d,presentation:i}){let r=(0,j6.useInstanceId)(K6,"color-palette");return c.length===0?null:(0,Gc.jsx)(Nt,{spacing:3,className:e,children:c.map(({name:a,colors:s},b)=>{let m=`${r}-${b}`;return(0,Gc.jsxs)(Nt,{spacing:2,children:[(0,Gc.jsx)(Ol,{className:Qfe["color-heading"],id:m,level:d,children:a}),(0,Gc.jsx)(P6,{clearColor:t,colors:s,onChange:(X,G,g)=>n(X,b,g),value:l,selectedSlug:o,presentation:i,"aria-labelledby":m})]},b)})})}function HF({isRenderedInSidebar:e,popoverProps:t,...c}){let n=(0,$o.useMemo)(()=>({shift:!0,resize:!1,...e?{placement:"left-start",offset:34}:{placement:"bottom",offset:8},...t}),[e,t]);return(0,Gc.jsx)($d,{contentClassName:"components-color-palette__custom-color-dropdown-content",popoverProps:n,...c})}function Ufe(e,t){let{asButtons:c,presentation:n,loop:l,clearable:o=!0,colors:d=[],disableCustomColors:i=!1,enableAlpha:r=!1,onChange:a,value:s,selectedSlug:b,__experimentalIsRenderedInSidebar:m=!1,headingLevel:X=2,"aria-label":G,"aria-labelledby":g,...x}=e;dr("ColorPalette",c);let[H,p]=(0,$o.useState)(s),R=(0,$o.useCallback)(()=>a(void 0),[a]),I=(0,$o.useCallback)(J=>{p(_6(s,J))},[s]),f=r5(d),y=(0,$o.useMemo)(()=>D6(s,d,f,b),[s,d,f,b]),Z=()=>(0,Gc.jsx)(ir,{paddingSize:"none",children:(0,Gc.jsx)(ni,{color:H,onChange:J=>a(J),enableAlpha:r})}),W=s?.startsWith("#"),v=s?.replace(/^var\((.+)\)$/,"$1"),h=v?(0,rr.sprintf)((0,rr.__)('Custom color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),y,v):(0,rr.__)("Custom color picker"),{metaProps:C,labelProps:B,resolvedPresentation:V}=Bb(c,l,G,g,n),S={clearColor:R,onChange:a,value:s,selectedSlug:b,presentation:V},Y=!!o&&(0,Gc.jsx)(tl.ButtonAction,{onClick:R,accessibleWhenDisabled:!0,disabled:!s,children:(0,rr.__)("Clear")});return i&&d.length===0&&!Y?null:(0,Gc.jsxs)(Nt,{spacing:3,ref:t,...x,children:[!i&&(0,Gc.jsx)(HF,{isRenderedInSidebar:m,renderContent:Z,renderToggle:({isOpen:J,onToggle:k})=>(0,Gc.jsxs)(Nt,{className:"components-color-palette__custom-color-wrapper",spacing:0,children:[(0,Gc.jsx)("button",{ref:I,className:"components-color-palette__custom-color-button","aria-expanded":J,"aria-haspopup":"true",onClick:k,"aria-label":h,style:{background:s},type:"button"}),(0,Gc.jsxs)(Nt,{className:"components-color-palette__custom-color-text-wrapper",spacing:.5,children:[(0,Gc.jsx)(Pi,{className:"components-color-palette__custom-color-name",children:s?y:(0,rr.__)("No color selected")}),(0,Gc.jsx)(Pi,{className:w("components-color-palette__custom-color-value",{"components-color-palette__custom-color-value--is-hex":W}),children:v})]})]})}),(d.length>0||Y)&&(0,Gc.jsx)(tl,{...C,...B,actions:Y,options:f?(0,Gc.jsx)(K6,{...S,headingLevel:X,colors:d,value:s}):(0,Gc.jsx)(P6,{...S,colors:d,value:s})})]})}var q6=(0,$o.forwardRef)(Ufe);q6.displayName="ColorPalette";var Ca=q6;var pt=u(Ze(),1),li={px:{value:"px",label:"px",a11yLabel:(0,pt.__)("Pixels (px)"),step:1},"%":{value:"%",label:"%",a11yLabel:(0,pt.__)("Percent (%)"),step:.1},em:{value:"em",label:"em",a11yLabel:(0,pt._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:"rem",a11yLabel:(0,pt._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:"vw",a11yLabel:(0,pt.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:"vh",a11yLabel:(0,pt.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:"vmin",a11yLabel:(0,pt.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:"vmax",a11yLabel:(0,pt.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:"ch",a11yLabel:(0,pt.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:"ex",a11yLabel:(0,pt.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:"cm",a11yLabel:(0,pt.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:"mm",a11yLabel:(0,pt.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:"in",a11yLabel:(0,pt.__)("Inches (in)"),step:.001},pc:{value:"pc",label:"pc",a11yLabel:(0,pt.__)("Picas (pc)"),step:1},pt:{value:"pt",label:"pt",a11yLabel:(0,pt.__)("Points (pt)"),step:1},svw:{value:"svw",label:"svw",a11yLabel:(0,pt.__)("Small viewport width (svw)"),step:.1},svh:{value:"svh",label:"svh",a11yLabel:(0,pt.__)("Small viewport height (svh)"),step:.1},svi:{value:"svi",label:"svi",a11yLabel:(0,pt.__)("Small viewport width or height (svi)"),step:.1},svb:{value:"svb",label:"svb",a11yLabel:(0,pt.__)("Small viewport width or height (svb)"),step:.1},svmin:{value:"svmin",label:"svmin",a11yLabel:(0,pt.__)("Small viewport smallest dimension (svmin)"),step:.1},lvw:{value:"lvw",label:"lvw",a11yLabel:(0,pt.__)("Large viewport width (lvw)"),step:.1},lvh:{value:"lvh",label:"lvh",a11yLabel:(0,pt.__)("Large viewport height (lvh)"),step:.1},lvi:{value:"lvi",label:"lvi",a11yLabel:(0,pt.__)("Large viewport width or height (lvi)"),step:.1},lvb:{value:"lvb",label:"lvb",a11yLabel:(0,pt.__)("Large viewport width or height (lvb)"),step:.1},lvmin:{value:"lvmin",label:"lvmin",a11yLabel:(0,pt.__)("Large viewport smallest dimension (lvmin)"),step:.1},dvw:{value:"dvw",label:"dvw",a11yLabel:(0,pt.__)("Dynamic viewport width (dvw)"),step:.1},dvh:{value:"dvh",label:"dvh",a11yLabel:(0,pt.__)("Dynamic viewport height (dvh)"),step:.1},dvi:{value:"dvi",label:"dvi",a11yLabel:(0,pt.__)("Dynamic viewport width or height (dvi)"),step:.1},dvb:{value:"dvb",label:"dvb",a11yLabel:(0,pt.__)("Dynamic viewport width or height (dvb)"),step:.1},dvmin:{value:"dvmin",label:"dvmin",a11yLabel:(0,pt.__)("Dynamic viewport smallest dimension (dvmin)"),step:.1},dvmax:{value:"dvmax",label:"dvmax",a11yLabel:(0,pt.__)("Dynamic viewport largest dimension (dvmax)"),step:.1},svmax:{value:"svmax",label:"svmax",a11yLabel:(0,pt.__)("Small viewport largest dimension (svmax)"),step:.1},lvmax:{value:"lvmax",label:"lvmax",a11yLabel:(0,pt.__)("Large viewport largest dimension (lvmax)"),step:.1}},a5=Object.values(li),s5=[li.px,li["%"],li.em,li.rem,li.vw,li.vh],Efe=li.px;function IF(e,t,c){let n=t?`${e??""}${t}`:e;return Yc(n,c)}function b5(e){return Array.isArray(e)&&!!e.length}function Yc(e,t=a5){let c,n;if(typeof e<"u"||e===null){c=`${e}`.trim();let i=parseFloat(c);n=isFinite(i)?i:void 0}let o=c?.match(/[\d.\-\+]*\s*(.*)/)?.[1]?.toLowerCase(),d;return b5(t)?d=t.find(r=>r.value===o)?.value:d=Efe.value,[n,d]}function $6(e,t,c,n){let[l,o]=Yc(e,t),d=l??c,i=o||n;return!i&&b5(t)&&(i=t[0].value),[d,i]}function Lfe(e=[],t){return Array.isArray(t)?t.filter(c=>e.includes(c.value)):[]}var Vx=({units:e=a5,availableUnits:t=[],defaultValues:c})=>{let n=Lfe(t,e);return c?n.map(l=>{let[o]=c[l.value]?Yc(c[l.value]):[];return{...l,default:o}}):n};function e4(e,t,c=a5){let n=Array.isArray(c)?[...c]:[],[,l]=IF(e,t,a5);return l&&!n.some(o=>o.value===l)&&li[l]&&n.unshift(li[l]),n}var ZF="data-wp-hash";function fF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&_fe(document)),e.__wpStyleRuntime}function Dfe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${ZF}]`))if(c.getAttribute(ZF)===t)return!0;return!1}function t4(e,t,c){if(!e.head)return;let n=fF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Dfe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(ZF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function _fe(e){let t=fF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)t4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function jfe(e,t){let c=fF();c.styles.set(e,t);for(let n of c.documents.keys())t4(n,e,t)}typeof process>"u",jfe("749bb52757",".a8578c10ef7219f5__border-control{border:0;box-sizing:border-box;margin:0;padding:0}.a8578c10ef7219f5__border-control *,.a8578c10ef7219f5__border-control :after,.a8578c10ef7219f5__border-control :before{box-sizing:inherit}._89d98624def50ba2__inner-wrapper{height:40px}._89d98624def50ba2__inner-wrapper .components-unit-control{flex:1 1 40%}._89d98624def50ba2__inner-wrapper._89d98624def50ba2__inner-wrapper .components-unit-control__select.components-unit-control__select{min-height:0}._43dbe0f5c56003a8__inner-wrapper-has-width .components-unit-control{flex:0 0 auto}._25a20fddf2bf261f__dropdown{background:#fff}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button{align-items:center;aspect-ratio:1;border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-end-end-radius:0;border-end-start-radius:2px;border-start-end-radius:0;border-start-start-radius:2px;display:flex;justify-content:center;padding:0}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:focus,._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:hover:not(:disabled){border-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));box-shadow:inset 0 0 0 .5px var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));position:relative;z-index:1}._956b765a9ec7feba__color-indicator-wrapper{border:2px solid transparent;border-radius:9999px;height:24px;padding:2px;width:24px}._956b765a9ec7feba__color-indicator-wrapper>span{background:linear-gradient(-45deg,transparent 48%,rgba(0,0,0,.2) 0,rgba(0,0,0,.2) 52%,transparent 0);height:16px;width:16px}.a0c5666db3f5f599__popover-controls{width:228px}._115e648628de896b__reset-button-wrapper{display:flex;justify-content:flex-end;margin-block-start:12px}.e9089c561edcd13a__slider{flex:1 1 60%;margin-inline-end:12px}");var u5={"border-control":"a8578c10ef7219f5__border-control","inner-wrapper":"_89d98624def50ba2__inner-wrapper","inner-wrapper-has-width":"_43dbe0f5c56003a8__inner-wrapper-has-width",dropdown:"_25a20fddf2bf261f__dropdown","color-indicator-wrapper":"_956b765a9ec7feba__color-indicator-wrapper","popover-controls":"a0c5666db3f5f599__popover-controls","reset-button-wrapper":"_115e648628de896b__reset-button-wrapper",slider:"e9089c561edcd13a__slider"};function c4(e){let{border:t,className:c,colors:n=[],enableAlpha:l=!1,enableStyle:o=!0,onChange:d,previousStyleSelection:i,__experimentalIsRenderedInSidebar:r=!1,...a}=ae(e,"BorderControlDropdown"),[s]=Yc(t?.width),b=s===0,m=p=>{let R=t?.style==="none"?i:t?.style,I=b&&p?"1px":t?.width;d({color:p,style:R,width:I})},X=p=>{let R=b&&p?"1px":t?.width;d({...t,style:p,width:R})},G=()=>{d({...t,color:void 0,style:void 0})},g=w(u5.dropdown,c),{color:x,style:H}=t||{};return{...a,border:t,className:g,colors:n,enableAlpha:l,enableStyle:o,indicatorWrapperClassName:u5["color-indicator-wrapper"],indicatorWrapperStyle:H?{borderStyle:H==="none"?"solid":H,borderColor:x||(H!=="none"?oe.gray[300]:void 0)}:void 0,onColorChange:m,onStyleChange:X,onReset:G,popoverControlsClassName:u5["popover-controls"],resetButtonWrapperClassName:u5["reset-button-wrapper"],__experimentalIsRenderedInSidebar:r}}var cl=u(F(),1),m5=e=>e.replace(/^var\((.+)\)$/,"$1"),Mfe=(e,t)=>{if(!(!e||!t)){if(r5(t)){let c;return t.some(n=>n.colors.some(l=>l.color===e?(c=l,!0):!1)),c}return t.find(c=>c.color===e)}},Pfe=(e,t,c,n)=>{if(n){if(t){let l=m5(t.color);return c?(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s". The currently selected style is "%3$s".'),t.name,l,c):(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),t.name,l)}if(e){let l=m5(e);return c?(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color has a value of "%1$s". The currently selected style is "%2$s".'),l,c):(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color has a value of "%s".'),l)}return(0,Qc.__)("Border color and style picker.")}return t?(0,Qc.sprintf)((0,Qc.__)('Border color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),t.name,m5(t.color)):e?(0,Qc.sprintf)((0,Qc.__)('Border color picker. The currently selected color has a value of "%s".'),m5(e)):(0,Qc.__)("Border color picker.")},Kfe=(e,t)=>{let{__experimentalIsRenderedInSidebar:c,border:n,colors:l,disableCustomColors:o,enableAlpha:d,enableStyle:i,indicatorWrapperClassName:r,indicatorWrapperStyle:a,isStyleSettable:s,onReset:b,onColorChange:m,onStyleChange:X,popoverControlsClassName:G,resetButtonWrapperClassName:g,__unstablePopoverProps:x,...H}=c4(e),{color:p,style:R}=n||{},I=Mfe(p,l),f=Pfe(p,I,R,i),y=p||R&&R!=="none",Z=c?"bottom left":void 0;return(0,cl.jsx)($d,{renderToggle:({onToggle:h})=>(0,cl.jsx)(be,{onClick:h,variant:"tertiary","aria-label":f,tooltipPosition:Z,label:(0,Qc.__)("Border color and style picker"),showTooltip:!0,__next40pxDefaultSize:!0,children:(0,cl.jsx)("span",{className:r,style:a,children:(0,cl.jsx)(qd,{colorValue:p})})}),renderContent:()=>(0,cl.jsx)(cl.Fragment,{children:(0,cl.jsxs)(ir,{paddingSize:"medium",children:[(0,cl.jsxs)(Nt,{className:G,spacing:6,children:[(0,cl.jsx)(Ca,{value:p,onChange:m,colors:l,disableCustomColors:o,__experimentalIsRenderedInSidebar:c,clearable:!1,enableAlpha:d}),i&&s&&(0,cl.jsx)(eF,{label:(0,Qc.__)("Style"),value:R,onChange:X})]}),(0,cl.jsx)("div",{className:g,children:(0,cl.jsx)(be,{variant:"tertiary",onClick:()=>{b()},disabled:!y,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,Qc.__)("Reset")})})]})}),popoverProps:{...x},...H,ref:t})},qfe=ie(Kfe,"BorderControlDropdown"),yF=qfe;var a4=u(Xt(),1),Fa=u(T(),1),s4=u(Ze(),1);var n4=q($n,{target:"e1bagdl32"})("&&&{input{display:block;width:100%;}",Mo,"{transition:box-shadow 0.1s linear;}}"),l4=({selectSize:e})=>({small:Re("box-sizing:border-box;padding:2px 1px;width:20px;font-size:8px;line-height:1;letter-spacing:-0.5px;text-transform:uppercase;text-align-last:center;&:not( :disabled ){color:",oe.gray[800],";}",""),default:Re("box-sizing:border-box;min-width:24px;max-width:48px;height:24px;margin-inline-end:",K(2),";padding:",K(1),";font-size:13px;line-height:1;text-align-last:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;field-sizing:content;&:not( :disabled ){color:",oe.theme.accent,";}","")})[e],o4=q("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",l4,";color:",oe.gray[900],";}"),$fe=({selectSize:e="default"})=>({small:Re("height:100%;border:1px solid transparent;transition:box-shadow 0.1s linear,border 0.1s linear;",yc({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," &:not(:disabled):hover{background-color:",oe.gray[100],";}&:focus{border:1px solid ",oe.ui.borderFocus,";box-shadow:inset 0 0 0 ",de.borderWidth+" "+oe.ui.borderFocus,";outline-offset:0;outline:2px solid transparent;z-index:1;}",""),default:Re("display:flex;justify-content:center;align-items:center;&:where( :not( :disabled ) ):hover{box-shadow:0 0 0 ",de.borderWidth+" "+oe.ui.borderFocus,";outline:",de.borderWidth," solid transparent;}&:focus{box-shadow:0 0 0 ",de.borderWidthFocus+" "+oe.ui.borderFocus,";outline:",de.borderWidthFocus," solid transparent;}","")})[e],d4=q("select",{target:"e1bagdl30"})("&&&{appearance:none;background:transparent;border-radius:",de.radiusXSmall,";border:none;display:block;outline:none;margin:0;min-height:auto;font-family:inherit;",l4,";",$fe,";&:not( :disabled ){cursor:pointer;}}");var i4=u(T(),1);var X5=u(F(),1);function eye({className:e,isUnitSelectTabbable:t=!0,onChange:c,size:n="default",unit:l="px",units:o=s5,...d},i){if(!b5(o)||o?.length===1)return(0,X5.jsx)(o4,{className:"components-unit-control__unit-label",selectSize:n,children:l});let r=s=>{let{value:b}=s.target,m=o.find(X=>X.value===b);c?.(b,{event:s,data:m})},a=w("components-unit-control__select",e);return(0,X5.jsx)(d4,{ref:i,className:a,onChange:r,selectSize:n,tabIndex:t?void 0:-1,value:l,...d,children:o.map(s=>(0,X5.jsx)("option",{value:s.value,children:s.label},s.value))})}var r4=(0,i4.forwardRef)(eye);var WF=u(F(),1);function tye(e,t){let{__unstableStateReducer:c,autoComplete:n="off",children:l,className:o,disabled:d=!1,disableUnits:i=!1,isPressEnterToChange:r=!1,isResetValueOnUnitChange:a=!1,isUnitSelectTabbable:s=!0,label:b,onChange:m,onUnitChange:X,size:G="default",unit:g,units:x=s5,value:H,onFocus:p,...R}=e;"unit"in e&&(0,a4.default)("UnitControl unit prop",{since:"5.6",hint:"The unit should be provided within the `value` prop.",version:"6.2"});let I=H??void 0,[f,y]=(0,Fa.useMemo)(()=>{let N=e4(I,g,x),[{value:A=""}={},...Q]=N,z=Q.reduce((D,{value:U})=>{let O=gb(U?.substring(0,1)||"");return D.includes(O)?D:`${D}|${O}`},gb(A.substring(0,1)));return[N,new RegExp(`^(?:${z})$`,"i")]},[I,g,x]),[Z,W]=IF(I,g,f),[v,h]=Ei(f.length===1?f[0].value:g,{initial:W,fallback:""});(0,Fa.useEffect)(()=>{W!==void 0&&h(W)},[W,h]);let C=w("components-unit-control","components-unit-control-wrapper",o),B=(N,A)=>{if(N===""||typeof N>"u"||N===null){m?.("",A);return}let Q=$6(N,f,Z,v).join("");m?.(Q,A)},V=(N,A)=>{let{data:Q}=A,z=`${Z??""}${N}`;a&&Q?.default!==void 0&&(z=`${Q.default}${N}`),m?.(z,A),X?.(N,A),h(N)},S;!i&&s&&f.length&&(S=N=>{R.onKeyDown?.(N),!N.metaKey&&!N.ctrlKey&&y.test(N.key)&&Y.current?.focus()});let Y=(0,Fa.useRef)(null),J=i?null:(0,WF.jsx)(r4,{ref:Y,"aria-label":(0,s4.__)("Select unit"),disabled:d,isUnitSelectTabbable:s,onChange:V,size:["small","compact"].includes(G)?"small":"default",unit:v,units:f,onFocus:p,onBlur:e.onBlur}),k=R.step;return!k&&f&&(k=f.find(A=>A.value===v)?.step??1),(0,WF.jsx)(n4,{...R,autoComplete:n,className:C,disabled:d,spinControls:"none",isPressEnterToChange:r,label:b,onKeyDown:S,onChange:B,ref:t,size:G,suffix:J,type:r?"text":"number",value:Z??"",step:k,onFocus:p,__unstableStateReducer:c})}var b4=(0,Fa.forwardRef)(tye);b4.displayName="UnitControl";var oi=b4;var Vb=u(T(),1);var hF="data-wp-hash";function BF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&nye(document)),e.__wpStyleRuntime}function cye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${hF}]`))if(c.getAttribute(hF)===t)return!0;return!1}function m4(e,t,c){if(!e.head)return;let n=BF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(cye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(hF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function nye(e){let t=BF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)m4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function lye(e,t){let c=BF();c.styles.set(e,t);for(let n of c.documents.keys())m4(n,e,t)}typeof process>"u",lye("749bb52757",".a8578c10ef7219f5__border-control{border:0;box-sizing:border-box;margin:0;padding:0}.a8578c10ef7219f5__border-control *,.a8578c10ef7219f5__border-control :after,.a8578c10ef7219f5__border-control :before{box-sizing:inherit}._89d98624def50ba2__inner-wrapper{height:40px}._89d98624def50ba2__inner-wrapper .components-unit-control{flex:1 1 40%}._89d98624def50ba2__inner-wrapper._89d98624def50ba2__inner-wrapper .components-unit-control__select.components-unit-control__select{min-height:0}._43dbe0f5c56003a8__inner-wrapper-has-width .components-unit-control{flex:0 0 auto}._25a20fddf2bf261f__dropdown{background:#fff}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button{align-items:center;aspect-ratio:1;border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-end-end-radius:0;border-end-start-radius:2px;border-start-end-radius:0;border-start-start-radius:2px;display:flex;justify-content:center;padding:0}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:focus,._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:hover:not(:disabled){border-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));box-shadow:inset 0 0 0 .5px var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));position:relative;z-index:1}._956b765a9ec7feba__color-indicator-wrapper{border:2px solid transparent;border-radius:9999px;height:24px;padding:2px;width:24px}._956b765a9ec7feba__color-indicator-wrapper>span{background:linear-gradient(-45deg,transparent 48%,rgba(0,0,0,.2) 0,rgba(0,0,0,.2) 52%,transparent 0);height:16px;width:16px}.a0c5666db3f5f599__popover-controls{width:228px}._115e648628de896b__reset-button-wrapper{display:flex;justify-content:flex-end;margin-block-start:12px}.e9089c561edcd13a__slider{flex:1 1 60%;margin-inline-end:12px}");var G5={"border-control":"a8578c10ef7219f5__border-control","inner-wrapper":"_89d98624def50ba2__inner-wrapper","inner-wrapper-has-width":"_43dbe0f5c56003a8__inner-wrapper-has-width",dropdown:"_25a20fddf2bf261f__dropdown","color-indicator-wrapper":"_956b765a9ec7feba__color-indicator-wrapper","popover-controls":"a0c5666db3f5f599__popover-controls","reset-button-wrapper":"_115e648628de896b__reset-button-wrapper",slider:"e9089c561edcd13a__slider"},u4=e=>{let t=e?.width!==void 0&&e.width!=="",c=e?.color!==void 0;return t||c};function X4(e){let{className:t,colors:c=[],isCompact:n,onChange:l,enableAlpha:o=!0,enableStyle:d=!0,shouldSanitizeBorder:i=!0,value:r,width:a,__experimentalIsRenderedInSidebar:s=!1,size:b,__next40pxDefaultSize:m,...X}=ae(e,"BorderControl"),[G,g]=Yc(r?.width),x=g||"px",H=G===0,[p,R]=(0,Vb.useState)(),[I,f]=(0,Vb.useState)(),y=i?u4(r):!0,Z=(0,Vb.useCallback)(S=>{if(i&&!u4(S)){l(void 0);return}l(S)},[l,i]),W=(0,Vb.useCallback)(S=>{let Y=S===""?void 0:S,[J]=Yc(S),k=J===0,N={...r,width:Y};k&&!H&&(R(r?.color),f(r?.style),N.color=void 0,N.style="none"),!k&&H&&(N.color===void 0&&(N.color=p),N.style==="none"&&(N.style=I)),Z(N)},[r,H,p,I,Z]),v=(0,Vb.useCallback)(S=>{W(`${S}${x}`)},[W,x]),h=w(G5["border-control"],t),C=a;n&&(C="116px");let B=w(G5["inner-wrapper"],!!C&&G5["inner-wrapper-has-width"]),V=G5.slider;return{...X,className:h,colors:c,enableAlpha:o,enableStyle:d,innerWrapperClassName:B,inputWidth:C,isStyleSettable:y,onBorderChange:Z,onSliderChange:v,onWidthChange:W,previousStyleSelection:I,sliderClassName:V,value:r,widthUnit:x,widthValue:G,__experimentalIsRenderedInSidebar:s}}var ed=u(F(),1),oye=e=>{let{label:t,hideLabelFromVision:c}=e;return t?c?(0,ed.jsx)(bt,{as:"legend",children:t}):(0,ed.jsx)(xa,{as:"legend",children:t}):null},dye=(e,t)=>{let{colors:c,disableCustomColors:n,disableUnits:l,enableAlpha:o,enableStyle:d,hideLabelFromVision:i,innerWrapperClassName:r,inputWidth:a,isStyleSettable:s,label:b,onBorderChange:m,onSliderChange:X,onWidthChange:G,placeholder:g,__unstablePopoverProps:x,previousStyleSelection:H,showDropdownHeader:p,sliderClassName:R,value:I,widthUnit:f,widthValue:y,withSlider:Z,__experimentalIsRenderedInSidebar:W,...v}=X4(e);return(0,ed.jsxs)(Ce,{as:"fieldset",...v,ref:t,children:[(0,ed.jsx)(oye,{label:b,hideLabelFromVision:i}),(0,ed.jsxs)(xt,{spacing:4,className:r,children:[(0,ed.jsx)(oi,{prefix:(0,ed.jsx)(Pc,{marginRight:1,marginBottom:0,children:(0,ed.jsx)(yF,{border:I,colors:c,__unstablePopoverProps:x,disableCustomColors:n,enableAlpha:o,enableStyle:d,isStyleSettable:s,onChange:m,previousStyleSelection:H,__experimentalIsRenderedInSidebar:W})}),label:(0,vF.__)("Border width"),hideLabelFromVision:!0,min:0,onChange:G,value:I?.width||"",placeholder:g,disableUnits:l,__unstableInputWidth:a}),Z&&(0,ed.jsx)(Al,{label:(0,vF.__)("Border width"),hideLabelFromVision:!0,className:R,initialPosition:0,max:100,min:0,onChange:X,step:["px","%"].includes(f)?1:.1,value:y||void 0,withInputField:!1})]})]})},iye=ie(dye,"BorderControl"),td=iye;var rye={bottom:{alignItems:"flex-end",justifyContent:"center"},bottomLeft:{alignItems:"flex-start",justifyContent:"flex-end"},bottomRight:{alignItems:"flex-end",justifyContent:"flex-end"},center:{alignItems:"center",justifyContent:"center"},spaced:{alignItems:"center",justifyContent:"space-between"},left:{alignItems:"center",justifyContent:"flex-start"},right:{alignItems:"center",justifyContent:"flex-end"},stretch:{alignItems:"stretch"},top:{alignItems:"flex-start",justifyContent:"center"},topLeft:{alignItems:"flex-start",justifyContent:"flex-start"},topRight:{alignItems:"flex-start",justifyContent:"flex-end"}};function G4(e){return e?rye[e]??{}:{}}var VF="data-wp-hash";function CF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&sye(document)),e.__wpStyleRuntime}function aye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${VF}]`))if(c.getAttribute(VF)===t)return!0;return!1}function g4(e,t,c){if(!e.head)return;let n=CF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(aye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(VF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function sye(e){let t=CF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)g4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function bye(e,t){let c=CF();c.styles.set(e,t);for(let n of c.documents.keys())g4(n,e,t)}typeof process>"u",bye("79bac25858","._631b7063b4047c89__grid{--wp-components-grid-align:initial;--wp-components-grid-justify:initial;--wp-components-grid-gap:initial;--wp-components-grid-template-columns:initial;--wp-components-grid-template-rows:initial;--wp-components-grid-row-gap:initial;--wp-components-grid-column-gap:initial;display:grid}._631b7063b4047c89__grid:not(:where(._51fa5e5688d538e7__row-gap-inherit,._3940112538797bb2__row-gap-initial,._9dc0e80dad95eb11__row-gap-unset,._964ec4132d3d0776__row-gap-revert,._9219888d7c4749d5__row-gap-revert-layer)){row-gap:var(--wp-components-grid-row-gap,calc(4px*var(--wp-components-grid-gap)))}._631b7063b4047c89__grid:not(:where(._149fd947497e8690__column-gap-inherit,.a018e74b0f04c517__column-gap-initial,.b1e45f9587eb70e5__column-gap-unset,._4da312511f64af94__column-gap-revert,.b51ead67217c210a__column-gap-revert-layer)){column-gap:var(--wp-components-grid-column-gap,calc(4px*var(--wp-components-grid-gap)))}._4cae76607d36422b__has-align:not(:where(._2c693b642b24e0d9__align-inherit,.fd4c5676ad7e83d4__align-initial,.c4c0cde44ab0ed21__align-unset,._8c23efb61db2f04e__align-revert,.c3adc4c41efa56d1__align-revert-layer)){align-items:var(--wp-components-grid-align)}._9bcd99517d001b4b__has-justify:not(:where(.a72d35ee0eda5e6b__justify-inherit,.d386403fd02ebc45__justify-initial,._7d60510a69e8ddf9__justify-unset,._857dfb6521d0cae3__justify-revert,._1537fff8402f1ca1__justify-revert-layer)){justify-content:var(--wp-components-grid-justify)}._983f7df07cd35a72__has-template-columns:not(:where(.df2216db1a717825__template-columns-inherit,._9016934ed273a0b8__template-columns-initial,._74966333f352d829__template-columns-unset,.b3ce45d005011688__template-columns-revert,._9ff0250b9bed5764__template-columns-revert-layer)){grid-template-columns:var(--wp-components-grid-template-columns)}._7e0fa0c081c20f6e__has-template-rows:not(:where(._10cfd24f62672d27__template-rows-inherit,.da1333be6b2af8c3__template-rows-initial,._919938d55c0cf234__template-rows-unset,.db40efe5796b7ffb__template-rows-revert,._1080cc5b99823c58__template-rows-revert-layer)){grid-template-rows:var(--wp-components-grid-template-rows)}.f4729d54fca65af1__is-inline{display:inline-grid;vertical-align:middle}._2c693b642b24e0d9__align-inherit{align-items:inherit}.fd4c5676ad7e83d4__align-initial{align-items:normal}.c4c0cde44ab0ed21__align-unset{align-items:unset}._8c23efb61db2f04e__align-revert{align-items:revert}.c3adc4c41efa56d1__align-revert-layer{align-items:revert-layer}.a72d35ee0eda5e6b__justify-inherit{justify-content:inherit}.d386403fd02ebc45__justify-initial{justify-content:normal}._7d60510a69e8ddf9__justify-unset{justify-content:unset}._857dfb6521d0cae3__justify-revert{justify-content:revert}._1537fff8402f1ca1__justify-revert-layer{justify-content:revert-layer}.df2216db1a717825__template-columns-inherit{grid-template-columns:inherit}._9016934ed273a0b8__template-columns-initial{grid-template-columns:none}._74966333f352d829__template-columns-unset{grid-template-columns:unset}.b3ce45d005011688__template-columns-revert{grid-template-columns:revert}._9ff0250b9bed5764__template-columns-revert-layer{grid-template-columns:revert-layer}._10cfd24f62672d27__template-rows-inherit{grid-template-rows:inherit}.da1333be6b2af8c3__template-rows-initial{grid-template-rows:none}._919938d55c0cf234__template-rows-unset{grid-template-rows:unset}.db40efe5796b7ffb__template-rows-revert{grid-template-rows:revert}._1080cc5b99823c58__template-rows-revert-layer{grid-template-rows:revert-layer}._51fa5e5688d538e7__row-gap-inherit{row-gap:inherit}._3940112538797bb2__row-gap-initial{row-gap:normal}._9dc0e80dad95eb11__row-gap-unset{row-gap:unset}._964ec4132d3d0776__row-gap-revert{row-gap:revert}._9219888d7c4749d5__row-gap-revert-layer{row-gap:revert-layer}._149fd947497e8690__column-gap-inherit{column-gap:inherit}.a018e74b0f04c517__column-gap-initial{column-gap:normal}.b1e45f9587eb70e5__column-gap-unset{column-gap:unset}._4da312511f64af94__column-gap-revert{column-gap:revert}.b51ead67217c210a__column-gap-revert-layer{column-gap:revert-layer}");var Cb={grid:"_631b7063b4047c89__grid","row-gap-inherit":"_51fa5e5688d538e7__row-gap-inherit","row-gap-initial":"_3940112538797bb2__row-gap-initial","row-gap-unset":"_9dc0e80dad95eb11__row-gap-unset","row-gap-revert":"_964ec4132d3d0776__row-gap-revert","row-gap-revert-layer":"_9219888d7c4749d5__row-gap-revert-layer","column-gap-inherit":"_149fd947497e8690__column-gap-inherit","column-gap-initial":"a018e74b0f04c517__column-gap-initial","column-gap-unset":"b1e45f9587eb70e5__column-gap-unset","column-gap-revert":"_4da312511f64af94__column-gap-revert","column-gap-revert-layer":"b51ead67217c210a__column-gap-revert-layer","has-align":"_4cae76607d36422b__has-align","align-inherit":"_2c693b642b24e0d9__align-inherit","align-initial":"fd4c5676ad7e83d4__align-initial","align-unset":"c4c0cde44ab0ed21__align-unset","align-revert":"_8c23efb61db2f04e__align-revert","align-revert-layer":"c3adc4c41efa56d1__align-revert-layer","has-justify":"_9bcd99517d001b4b__has-justify","justify-inherit":"a72d35ee0eda5e6b__justify-inherit","justify-initial":"d386403fd02ebc45__justify-initial","justify-unset":"_7d60510a69e8ddf9__justify-unset","justify-revert":"_857dfb6521d0cae3__justify-revert","justify-revert-layer":"_1537fff8402f1ca1__justify-revert-layer","has-template-columns":"_983f7df07cd35a72__has-template-columns","template-columns-inherit":"df2216db1a717825__template-columns-inherit","template-columns-initial":"_9016934ed273a0b8__template-columns-initial","template-columns-unset":"_74966333f352d829__template-columns-unset","template-columns-revert":"b3ce45d005011688__template-columns-revert","template-columns-revert-layer":"_9ff0250b9bed5764__template-columns-revert-layer","has-template-rows":"_7e0fa0c081c20f6e__has-template-rows","template-rows-inherit":"_10cfd24f62672d27__template-rows-inherit","template-rows-initial":"da1333be6b2af8c3__template-rows-initial","template-rows-unset":"_919938d55c0cf234__template-rows-unset","template-rows-revert":"db40efe5796b7ffb__template-rows-revert","template-rows-revert-layer":"_1080cc5b99823c58__template-rows-revert-layer","is-inline":"f4729d54fca65af1__is-inline"},uye=new Set(["inherit","initial","unset","revert","revert-layer"]);function T0(e){return typeof e=="number"?`${e}px`:e?.trim()||void 0}function x4(e){let{align:t,alignment:c,className:n,columnGap:l,columns:o=2,gap:d=3,isInline:i=!1,justify:r,rowGap:a,rows:s,style:b,templateColumns:m,templateRows:X,...G}=ae(e,"Grid"),g=Array.isArray(o)?o:[o],x=Tg(g),H=Array.isArray(s)?s:[s],p=Tg(H),R=m||!!x&&`repeat( ${x}, 1fr )`,I=X||!!p&&`repeat( ${p}, 1fr )`,f=G4(c),y={align:f.alignItems??t,justify:f.justifyContent??r,"template-columns":R||void 0,"template-rows":I||void 0,"row-gap":a,"column-gap":l};return{...G,className:w(Cb.grid,{[Cb["is-inline"]]:i,[Cb["has-align"]]:!!y.align?.trim(),[Cb["has-justify"]]:!!y.justify?.trim(),[Cb["has-template-columns"]]:!!T0(y["template-columns"]),[Cb["has-template-rows"]]:!!T0(y["template-rows"])},Object.entries(y).map(([Z,W])=>{let v=typeof W=="string"?W.trim().toLowerCase():"";return uye.has(v)&&Cb[`${Z}-${v}`]}),n),style:{"--wp-components-grid-align":y.align,"--wp-components-grid-justify":y.justify,"--wp-components-grid-gap":d,"--wp-components-grid-template-columns":T0(y["template-columns"]),"--wp-components-grid-template-rows":T0(y["template-rows"]),"--wp-components-grid-row-gap":T0(a),"--wp-components-grid-column-gap":T0(l),...b}}}var p4=u(F(),1);function mye(e,t){let c=x4(e);return(0,p4.jsx)(Ce,{...c,ref:t})}var Xye=ie(mye,"Grid"),cd=Xye;var JF="data-wp-hash";function YF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gye(document)),e.__wpStyleRuntime}function Gye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${JF}]`))if(c.getAttribute(JF)===t)return!0;return!1}function R4(e,t,c){if(!e.head)return;let n=YF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Gye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(JF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function gye(e){let t=YF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)R4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xye(e,t){let c=YF();c.styles.set(e,t);for(let n of c.documents.keys())R4(n,e,t)}typeof process>"u",xye("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var FF={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"};function H4(e){let{className:t,colors:c=[],enableAlpha:n=!1,enableStyle:l=!0,__experimentalIsRenderedInSidebar:o=!1,...d}=ae(e,"BorderBoxControlSplitControls");return{...d,centeredClassName:w(FF["centered-border-control"],t),className:w(FF["split-controls"],t),colors:c,enableAlpha:n,enableStyle:l,rightAlignedClassName:w(FF["right-border-control"],t),__experimentalIsRenderedInSidebar:o}}var Ja=u(F(),1),pye=(e,t)=>{let{centeredClassName:c,colors:n,disableCustomColors:l,enableAlpha:o,enableStyle:d,onChange:i,popoverPlacement:r,popoverOffset:a,rightAlignedClassName:s,value:b,__experimentalIsRenderedInSidebar:m,...X}=H4(e),[G,g]=(0,g5.useState)(null),x=(0,g5.useMemo)(()=>r?{placement:r,offset:a,anchor:G,shift:!0}:void 0,[r,a,G]),H={colors:n,disableCustomColors:l,enableAlpha:o,enableStyle:d,isCompact:!0,__experimentalIsRenderedInSidebar:m},p=(0,I4.useMergeRefs)([g,t]);return(0,Ja.jsxs)(cd,{...X,ref:p,gap:3,children:[(0,Ja.jsx)(OC,{value:b}),(0,Ja.jsx)(td,{className:c,hideLabelFromVision:!0,label:(0,Cx.__)("Top border"),onChange:R=>i(R,"top"),__unstablePopoverProps:x,value:b?.top,...H}),(0,Ja.jsx)(td,{hideLabelFromVision:!0,label:(0,Cx.__)("Left border"),onChange:R=>i(R,"left"),__unstablePopoverProps:x,value:b?.left,...H}),(0,Ja.jsx)(td,{className:s,hideLabelFromVision:!0,label:(0,Cx.__)("Right border"),onChange:R=>i(R,"right"),__unstablePopoverProps:x,value:b?.right,...H}),(0,Ja.jsx)(td,{className:c,hideLabelFromVision:!0,label:(0,Cx.__)("Bottom border"),onChange:R=>i(R,"bottom"),__unstablePopoverProps:x,value:b?.bottom,...H})]})},Rye=ie(pye,"BorderBoxControlSplitControls"),NF=Rye;var v4=u(T(),1);var Hye=/^([\d.\-+]*)\s*(fr|cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|vw|vh|vmin|vmax|%|cap|ic|rlh|vi|vb|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx|svw|lvw|dvw|svh|lvh|dvh|svi|lvi|dvi|svb|lvb|dvb|svmin|lvmin|dvmin|svmax|lvmax|dvmax)?$/;function Z4(e){let c=e.trim().match(Hye);if(!c)return[void 0,void 0];let[,n,l]=c,o=parseFloat(n);return o=Number.isNaN(o)?void 0:o,[o,l]}var x5=["top","right","bottom","left"],f4=["color","style","width"],di=e=>e?!f4.some(t=>e[t]!==void 0):!0,SF=e=>e?Fb(e)?!x5.every(c=>di(e[c])):!di(e):!1,y4=e=>e?f4.every(t=>e[t]!==void 0):!1,Fb=(e={})=>Object.keys(e).some(t=>x5.indexOf(t)!==-1),p5=e=>{if(!Fb(e))return!1;let t=x5.map(c=>Iye(e?.[c]));return!t.every(c=>c===t[0])},W4=e=>{if(!(!e||di(e)))return{top:e,right:e,bottom:e,left:e}},h4=(e,t)=>{let c={};return e.color!==t.color&&(c.color=t.color),e.style!==t.style&&(c.style=t.style),e.width!==t.width&&(c.width=t.width),c},B4=e=>{if(!e)return;let t=[],c=[],n=[];x5.forEach(i=>{t.push(e[i]?.color),c.push(e[i]?.style),n.push(e[i]?.width)});let l=t.every(i=>i===t[0]),o=c.every(i=>i===c[0]),d=n.every(i=>i===n[0]);return{color:l?t[0]:void 0,style:o?c[0]:void 0,width:d?n[0]:Zye(n)}},Iye=(e,t)=>{if(di(e))return t;let{color:c,style:n,width:l}=t||{},{color:o=c,style:d=n,width:i=l}=e;return[i,!!i&&i!=="0"||!!o?d||"solid":d,o].filter(Boolean).join(" ")},Zye=e=>{let c=e.map(n=>n===void 0?void 0:Z4(`${n}`)[1]).filter(n=>n!==void 0);return fye(c)};function fye(e){if(e.length===0)return;let t={},c=0,n;return e.forEach(l=>{t[l]=t[l]===void 0?1:t[l]+1,t[l]>c&&(n=l,c=t[l])}),n}var wF="data-wp-hash";function kF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Wye(document)),e.__wpStyleRuntime}function yye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${wF}]`))if(c.getAttribute(wF)===t)return!0;return!1}function V4(e,t,c){if(!e.head)return;let n=kF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(yye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(wF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Wye(e){let t=kF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)V4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function hye(e,t){let c=kF();c.styles.set(e,t);for(let n of c.documents.keys())V4(n,e,t)}typeof process>"u",hye("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var R5={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"};function C4(e){let{className:t,colors:c=[],onChange:n,enableAlpha:l=!1,enableStyle:o=!0,hideLabelFromVision:d,label:i,value:r,__experimentalIsRenderedInSidebar:a=!1,size:s,__next40pxDefaultSize:b,...m}=ae(e,"BorderBoxControl"),X=!!i&&!d,G=p5(r),g=Fb(r),x=g?B4(r):r,H=g?r:W4(r),p=!isNaN(parseFloat(`${x?.width}`)),[R,I]=(0,v4.useState)(!G),f=()=>I(!R),y=C=>{if(!C)return n(void 0);if(!G||y4(C))return n(di(C)?void 0:C);let B=h4(x,C),V={top:{...r?.top,...B},right:{...r?.right,...B},bottom:{...r?.bottom,...B},left:{...r?.left,...B}};if(p5(V))return n(V);let S=di(V.top)?void 0:V.top;n(S)},Z=(C,B)=>{let V={...H,[B]:C};p5(V)?n(V):n(C)},W=w(R5["linked-border-control"],{[R5["linked-border-control-full-width"]]:X}),v=R5.wrapper,h=R5.header;return{...m,className:t,colors:c,hasVisibleLabel:X,headerClassName:h,hideLabelFromVision:d,label:i,disableUnits:G&&!p,enableAlpha:l,enableStyle:o,hasMixedBorders:G,isLinked:R,linkedControlClassName:W,onLinkedChange:y,onSplitChange:Z,toggleLinked:f,linkedValue:x,splitValue:H,wrapperClassName:v,__experimentalIsRenderedInSidebar:a}}var Ql=u(F(),1),F4=e=>{let{id:t,label:c,hideLabelFromVision:n}=e;return c?n?(0,Ql.jsx)(bt,{as:"span",id:t,children:c}):(0,Ql.jsx)(at.VisualLabel,{id:t,children:c}):null},Bye=(e,t)=>{let{className:c,colors:n,disableCustomColors:l,disableUnits:o,enableAlpha:d,enableStyle:i,hasMixedBorders:r,hasVisibleLabel:a,headerClassName:s,hideLabelFromVision:b,isLinked:m,label:X,linkedControlClassName:G,linkedValue:g,onLinkedChange:x,onSplitChange:H,popoverPlacement:p,popoverOffset:R,splitValue:I,toggleLinked:f,wrapperClassName:y,__experimentalIsRenderedInSidebar:Z,"aria-label":W,"aria-labelledby":v,...h}=C4(e),C=(0,I5.useInstanceId)(Y4,"border-box-control-label"),B=X&&!W&&!v?C:void 0,[V,S]=(0,H5.useState)(null),Y=(0,H5.useMemo)(()=>p?{placement:p,offset:R,anchor:V,shift:!0}:void 0,[p,R,V]),J=(0,I5.useMergeRefs)([S,t]);return(0,Ql.jsxs)(Ce,{className:c,role:X||W||v?"group":void 0,"aria-label":W,"aria-labelledby":v??B,...h,ref:J,children:[a?(0,Ql.jsxs)(cd,{className:s,columns:2,templateColumns:"1fr min-content",alignment:"center",children:[(0,Ql.jsx)(F4,{id:B,label:X,hideLabelFromVision:b}),(0,Ql.jsx)(Sy,{onClick:f,isLinked:m})]}):(0,Ql.jsx)(F4,{id:B,label:X,hideLabelFromVision:b}),(0,Ql.jsxs)(Ce,{className:y,children:[m?(0,Ql.jsx)(td,{className:G,colors:n,disableUnits:o,disableCustomColors:l,enableAlpha:d,enableStyle:i,onChange:x,placeholder:r?(0,J4.__)("Mixed"):void 0,__unstablePopoverProps:Y,shouldSanitizeBorder:!1,value:g,withSlider:!0,width:"116px",__experimentalIsRenderedInSidebar:Z}):(0,Ql.jsx)(NF,{colors:n,disableCustomColors:l,enableAlpha:d,enableStyle:i,onChange:H,popoverPlacement:p,popoverOffset:R,value:I,__experimentalIsRenderedInSidebar:Z}),!a&&(0,Ql.jsx)(Sy,{onClick:f,isLinked:m})]})]})},Y4=ie(Bye,"BorderBoxControl"),Z5=Y4;var _4=u(me(),1),B5=u(T(),1),DF=u(Ze(),1),SRt=u(En(),1);var Q4=u(me(),1),Nx=u(Ze(),1),U4=u(T(),1);var Ya=u(Ze(),1),zF={px:{max:300,step:1},"%":{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:10,step:.1},rm:{max:10,step:.1},svw:{max:100,step:1},lvw:{max:100,step:1},dvw:{max:100,step:1},svh:{max:100,step:1},lvh:{max:100,step:1},dvh:{max:100,step:1},vi:{max:100,step:1},svi:{max:100,step:1},lvi:{max:100,step:1},dvi:{max:100,step:1},vb:{max:100,step:1},svb:{max:100,step:1},lvb:{max:100,step:1},dvb:{max:100,step:1},vmin:{max:100,step:1},svmin:{max:100,step:1},lvmin:{max:100,step:1},dvmin:{max:100,step:1},vmax:{max:100,step:1},svmax:{max:100,step:1},lvmax:{max:100,step:1},dvmax:{max:100,step:1}},Jx={all:(0,Ya.__)("All sides"),top:(0,Ya.__)("Top side"),bottom:(0,Ya.__)("Bottom side"),left:(0,Ya.__)("Left side"),right:(0,Ya.__)("Right side"),vertical:(0,Ya.__)("Top and bottom sides"),horizontal:(0,Ya.__)("Left and right sides")},f5={top:void 0,right:void 0,bottom:void 0,left:void 0},Fx=["top","right","bottom","left"];function N4(e={},t=Fx){let c=S4(t);if(c.every(n=>e[n]===e[c[0]]))return e[c[0]]}function y5(e={},t=Fx){let c=S4(t);return c.some(n=>e[n]!==e[c[0]])}function W5(e){return e&&Object.values(e).filter(t=>!!t&&/\d/.test(t)).length>0}function S4(e){let t=[];if(!e?.length)return Fx;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{let c=Fx.filter(n=>e.includes(n));t.push(...c)}return t}function h5(e){let t=new Set(e?[]:Fx);return e?.forEach(c=>{c==="vertical"?(t.add("top"),t.add("bottom")):c==="horizontal"?(t.add("right"),t.add("left")):t.add(c)}),t}function TF(e,t){return e.startsWith(`var:preset|${t}|`)}function w4(e,t,c){if(!TF(e,t))return;let n=e.match(new RegExp(`^var:preset\\|${t}\\|(.+)$`));if(!n)return;let l=n[1],o=c.findIndex(d=>d.slug===l);return o!==-1?o:void 0}function k4(e,t,c){let n=c[e];return`var:preset|${t}|${n.slug}`}var Na=u(F(),1),AF="data-wp-hash";function OF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Vye(document)),e.__wpStyleRuntime}function vye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${AF}]`))if(c.getAttribute(AF)===t)return!0;return!1}function z4(e,t,c){if(!e.head)return;let n=OF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(vye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(AF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Vye(e){let t=OF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)z4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Cye(e,t){let c=OF();c.styles.set(e,t);for(let n of c.documents.keys())z4(n,e,t)}typeof process>"u",Cye("92b287e16a",".d5a55650545c8e59__unit-control{max-width:90px}.ea5687e40d8b3401__input-wrapper{grid-column:1/span 3}._33fca83ebb9a56db__reset-button{grid-area:1/2;justify-self:end}._80f02f0884ee052b__linked-button-wrapper{grid-area:1/3;justify-self:end}._432c155702d177a9__icon{flex:0 0 auto}._4c5932d5023e1609__range-control{margin-inline-end:8px;width:100%}.f6b3cb50c11eeefd__icon-root{box-sizing:border-box;display:block;height:24px;padding:4px;position:relative;width:24px}._165111a2812ec757__icon-viewbox{box-sizing:border-box;display:block;height:100%;position:relative;width:100%}._96e1dc84980225de__icon-stroke{background-color:currentColor;box-sizing:border-box;display:block;opacity:.3;pointer-events:none;position:absolute}.ae4cb7d643590907__is-highlighted{opacity:1}._0e353501165ff99d__icon-right,._79ee6c4e8e5d2e63__icon-left{bottom:3px;top:3px;width:2px}._286ce95a0c988af5__icon-bottom,._742ba047912baed5__icon-top{height:2px;left:3px;right:3px}._742ba047912baed5__icon-top{top:0}._0e353501165ff99d__icon-right{right:0}._286ce95a0c988af5__icon-bottom{bottom:0}._79ee6c4e8e5d2e63__icon-left{left:0}");var Wl={"unit-control":"d5a55650545c8e59__unit-control","input-wrapper":"ea5687e40d8b3401__input-wrapper","reset-button":"_33fca83ebb9a56db__reset-button","linked-button-wrapper":"_80f02f0884ee052b__linked-button-wrapper",icon:"_432c155702d177a9__icon","range-control":"_4c5932d5023e1609__range-control","icon-root":"f6b3cb50c11eeefd__icon-root","icon-viewbox":"_165111a2812ec757__icon-viewbox","icon-stroke":"_96e1dc84980225de__icon-stroke","is-highlighted":"ae4cb7d643590907__is-highlighted","icon-left":"_79ee6c4e8e5d2e63__icon-left","icon-right":"_0e353501165ff99d__icon-right","icon-top":"_742ba047912baed5__icon-top","icon-bottom":"_286ce95a0c988af5__icon-bottom"},Fye=24;function T4({as:e="span",size:t=24,side:c="all",sides:n,className:l,...o}){let d=X=>n?.length&&!n.includes(X),i=X=>d(X)?!1:c==="all"||c===X,r=i("top")||i("vertical"),a=i("right")||i("horizontal"),s=i("bottom")||i("vertical"),b=i("left")||i("horizontal"),m=t/Fye;return(0,Na.jsx)(Il,{as:e,style:{transform:`scale(${m})`},...o,className:w(Wl["icon-root"],l),children:(0,Na.jsxs)("span",{className:Wl["icon-viewbox"],children:[(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-top"],{[Wl["is-highlighted"]]:r})}),(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-right"],{[Wl["is-highlighted"]]:a})}),(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-bottom"],{[Wl["is-highlighted"]]:s})}),(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-left"],{[Wl["is-highlighted"]]:b})})]})})}var Ro=u(F(),1),QF="data-wp-hash";function UF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Yye(document)),e.__wpStyleRuntime}function Jye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${QF}]`))if(c.getAttribute(QF)===t)return!0;return!1}function E4(e,t,c){if(!e.head)return;let n=UF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Jye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(QF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Yye(e){let t=UF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)E4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Nye(e,t){let c=UF();c.styles.set(e,t);for(let n of c.documents.keys())E4(n,e,t)}typeof process>"u",Nye("92b287e16a",".d5a55650545c8e59__unit-control{max-width:90px}.ea5687e40d8b3401__input-wrapper{grid-column:1/span 3}._33fca83ebb9a56db__reset-button{grid-area:1/2;justify-self:end}._80f02f0884ee052b__linked-button-wrapper{grid-area:1/3;justify-self:end}._432c155702d177a9__icon{flex:0 0 auto}._4c5932d5023e1609__range-control{margin-inline-end:8px;width:100%}.f6b3cb50c11eeefd__icon-root{box-sizing:border-box;display:block;height:24px;padding:4px;position:relative;width:24px}._165111a2812ec757__icon-viewbox{box-sizing:border-box;display:block;height:100%;position:relative;width:100%}._96e1dc84980225de__icon-stroke{background-color:currentColor;box-sizing:border-box;display:block;opacity:.3;pointer-events:none;position:absolute}.ae4cb7d643590907__is-highlighted{opacity:1}._0e353501165ff99d__icon-right,._79ee6c4e8e5d2e63__icon-left{bottom:3px;top:3px;width:2px}._286ce95a0c988af5__icon-bottom,._742ba047912baed5__icon-top{height:2px;left:3px;right:3px}._742ba047912baed5__icon-top{top:0}._0e353501165ff99d__icon-right{right:0}._286ce95a0c988af5__icon-bottom{bottom:0}._79ee6c4e8e5d2e63__icon-left{left:0}");var Yx={"unit-control":"d5a55650545c8e59__unit-control","input-wrapper":"ea5687e40d8b3401__input-wrapper","reset-button":"_33fca83ebb9a56db__reset-button","linked-button-wrapper":"_80f02f0884ee052b__linked-button-wrapper",icon:"_432c155702d177a9__icon","range-control":"_4c5932d5023e1609__range-control","icon-root":"f6b3cb50c11eeefd__icon-root","icon-viewbox":"_165111a2812ec757__icon-viewbox","icon-stroke":"_96e1dc84980225de__icon-stroke","is-highlighted":"ae4cb7d643590907__is-highlighted","icon-left":"_79ee6c4e8e5d2e63__icon-left","icon-right":"_0e353501165ff99d__icon-right","icon-top":"_742ba047912baed5__icon-top","icon-bottom":"_286ce95a0c988af5__icon-bottom"},A4=()=>{};function O4(e,t,c){let n=h5(t),l=[];switch(e){case"all":l=["top","bottom","left","right"];break;case"horizontal":l=["left","right"];break;case"vertical":l=["top","bottom"];break;default:l=[e]}if(c)switch(e){case"top":l.push("bottom");break;case"bottom":l.push("top");break;case"left":l.push("right");break;case"right":l.push("left");break}return l.filter(o=>n.has(o))}function Sx({onChange:e=A4,onFocus:t=A4,values:c,selectedUnits:n,setSelectedUnits:l,sides:o,side:d,min:i=0,presets:r,presetKey:a,placeholder:s,...b}){let m=O4(d,o),X=A=>{t(A,{side:d})},G=A=>{e(A)},g=A=>{let Q={...c};m.forEach(z=>{Q[z]=A}),G(Q)},x=(A,Q)=>{let z={...c},U=A!==void 0&&!isNaN(parseFloat(A))?A:void 0;O4(d,o,!!Q?.event.altKey).forEach(L=>{z[L]=U}),G(z)},H=A=>{let Q={...n};m.forEach(z=>{Q[z]=A}),l(Q)},p=N4(c,m),R=W5(c),I=R&&m.length>1&&y5(c,m),[f,y]=Yc(p),Z=R?y:n[m[0]],v=[(0,Q4.useInstanceId)(Sx,"box-control-input"),d].join("-"),h=m.length>1&&p===void 0&&m.some(A=>n[A]!==Z),C=p===void 0&&Z?Z:p,B=I||h?(0,Nx.__)("Mixed"):void 0,V=r&&r.length>0&&a,S=V&&p!==void 0&&!I&&TF(p,a),[Y,J]=(0,U4.useState)(!V||!S&&!I&&p!==void 0),k=S?w4(p,a,r):void 0,N=V?[{value:0,label:"",tooltip:(0,Nx.__)("None")},...r.map((A,Q)=>({value:Q+1,label:"",tooltip:A.name??A.slug}))]:[];return(0,Ro.jsxs)(xt,{className:Yx["input-wrapper"],expanded:!0,children:[(0,Ro.jsx)(T4,{className:Yx.icon,side:d,sides:o}),Y&&(0,Ro.jsxs)(Ro.Fragment,{children:[(0,Ro.jsx)(Hl,{placement:"top-end",text:Jx[d],children:(0,Ro.jsx)(oi,{...b,min:i,className:w(Yx["unit-control"],"component-box-control__unit-control"),id:v,isPressEnterToChange:!0,disableUnits:I||h,value:C,onChange:x,onUnitChange:H,onFocus:X,label:Jx[d],placeholder:B??s,hideLabelFromVision:!0})}),(0,Ro.jsx)(Al,{className:Yx["range-control"],"aria-controls":v,label:Jx[d],hideLabelFromVision:!0,onChange:A=>{x(A!==void 0?[A,Z].join(""):void 0)},min:isFinite(i)?i:0,max:zF[Z??"px"]?.max??10,step:zF[Z??"px"]?.step??.1,value:f??0,withInputField:!1})]}),V&&!Y&&(0,Ro.jsx)(Al,{className:w(Yx["range-control"],"spacing-sizes-control__range-control"),value:k!==void 0?k+1:0,onChange:A=>{let Q=A===0||A===void 0?void 0:k4(A-1,a,r);g(Q)},withInputField:!1,"aria-valuenow":k!==void 0?k+1:0,"aria-valuetext":N[k!==void 0?k+1:0].tooltip,renderTooltipContent:A=>N[A||0].tooltip,min:0,max:N.length-1,marks:N,label:Jx[d],hideLabelFromVision:!0}),V&&(0,Ro.jsx)(be,{label:Y?(0,Nx.__)("Use size preset"):(0,Nx.__)("Set custom size"),icon:tx,onClick:()=>{J(!Y)},isPressed:Y,size:"small",iconSize:24})]},`box-control-${d}`)}var EF=u(Ze(),1);var L4=u(F(),1);function D4({isLinked:e,...t}){let c=e?(0,EF.__)("Unlink sides"):(0,EF.__)("Link sides");return(0,L4.jsx)(be,{...t,className:"component-box-control__linked-button",size:"small",icon:e?Mg:jg,iconSize:24,label:c})}var nd=u(F(),1),_F="data-wp-hash";function jF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&wye(document)),e.__wpStyleRuntime}function Sye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${_F}]`))if(c.getAttribute(_F)===t)return!0;return!1}function j4(e,t,c){if(!e.head)return;let n=jF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Sye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(_F,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function wye(e){let t=jF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)j4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function kye(e,t){let c=jF();c.styles.set(e,t);for(let n of c.documents.keys())j4(n,e,t)}typeof process>"u",kye("92b287e16a",".d5a55650545c8e59__unit-control{max-width:90px}.ea5687e40d8b3401__input-wrapper{grid-column:1/span 3}._33fca83ebb9a56db__reset-button{grid-area:1/2;justify-self:end}._80f02f0884ee052b__linked-button-wrapper{grid-area:1/3;justify-self:end}._432c155702d177a9__icon{flex:0 0 auto}._4c5932d5023e1609__range-control{margin-inline-end:8px;width:100%}.f6b3cb50c11eeefd__icon-root{box-sizing:border-box;display:block;height:24px;padding:4px;position:relative;width:24px}._165111a2812ec757__icon-viewbox{box-sizing:border-box;display:block;height:100%;position:relative;width:100%}._96e1dc84980225de__icon-stroke{background-color:currentColor;box-sizing:border-box;display:block;opacity:.3;pointer-events:none;position:absolute}.ae4cb7d643590907__is-highlighted{opacity:1}._0e353501165ff99d__icon-right,._79ee6c4e8e5d2e63__icon-left{bottom:3px;top:3px;width:2px}._286ce95a0c988af5__icon-bottom,._742ba047912baed5__icon-top{height:2px;left:3px;right:3px}._742ba047912baed5__icon-top{top:0}._0e353501165ff99d__icon-right{right:0}._286ce95a0c988af5__icon-bottom{bottom:0}._79ee6c4e8e5d2e63__icon-left{left:0}");var LF={"unit-control":"d5a55650545c8e59__unit-control","input-wrapper":"ea5687e40d8b3401__input-wrapper","reset-button":"_33fca83ebb9a56db__reset-button","linked-button-wrapper":"_80f02f0884ee052b__linked-button-wrapper",icon:"_432c155702d177a9__icon","range-control":"_4c5932d5023e1609__range-control","icon-root":"f6b3cb50c11eeefd__icon-root","icon-viewbox":"_165111a2812ec757__icon-viewbox","icon-stroke":"_96e1dc84980225de__icon-stroke","is-highlighted":"ae4cb7d643590907__is-highlighted","icon-left":"_79ee6c4e8e5d2e63__icon-left","icon-right":"_0e353501165ff99d__icon-right","icon-top":"_742ba047912baed5__icon-top","icon-bottom":"_286ce95a0c988af5__icon-bottom"},zye={min:0},Tye=()=>{};function Aye(e){let t=(0,_4.useInstanceId)(M4,"inspector-box-control");return e||t}function M4({id:e,inputProps:t=zye,onChange:c=Tye,label:n=(0,DF.__)("Box Control"),values:l,units:o,sides:d,splitOnAxis:i=!1,allowReset:r=!0,resetValues:a=f5,presets:s,presetKey:b,onMouseOver:m,onMouseOut:X}){let[G,g]=Ei(l,{fallback:f5}),x=G||f5,H=W5(l),p=d?.length===1,[R,I]=(0,B5.useState)(H),[f,y]=(0,B5.useState)(!H||!y5(x)||p),[Z,W]=(0,B5.useState)({top:Yc(l?.top)[1],right:Yc(l?.right)[1],bottom:Yc(l?.bottom)[1],left:Yc(l?.left)[1]}),v=Aye(e),h=`${v}-heading`,C=()=>{y(!f)},B=J=>{c(J),g(J),I(!0)},V=()=>{c(a),g(a),W(a),I(!1)},S={onMouseOver:m,onMouseOut:X,...t,onChange:B,isLinked:f,units:o,selectedUnits:Z,setSelectedUnits:W,sides:d,values:x,presets:s,presetKey:b},Y=h5(d);if(s&&!b||!s&&b){let J=s?"presets":"presetKey",k=s?"presetKey":"presets"}return(0,nd.jsxs)(cd,{id:v,columns:3,templateColumns:"1fr min-content min-content",role:"group","aria-labelledby":h,children:[(0,nd.jsx)(bC.VisualLabel,{id:h,children:n}),f&&(0,nd.jsx)(xt,{className:LF["input-wrapper"],children:(0,nd.jsx)(Sx,{side:"all",...S})}),!p&&(0,nd.jsx)("div",{className:LF["linked-button-wrapper"],children:(0,nd.jsx)(D4,{onClick:C,isLinked:f})}),!f&&i&&["vertical","horizontal"].map(J=>(0,nd.jsx)(Sx,{side:J,...S},J)),!f&&!i&&Array.from(Y).map(J=>(0,nd.jsx)(Sx,{side:J,...S},J)),r&&(0,nd.jsx)(be,{className:w(LF["reset-button"],"component-box-control__reset-button"),variant:"secondary",size:"small",onClick:V,disabled:!R,accessibleWhenDisabled:!0,children:(0,DF.__)("Reset")})]})}var MF=M4;var P4=u(T(),1),K4=u(Xt(),1),q4=u(F(),1);function Oye(e,t){let{className:c,__shouldNotWarnDeprecated:n,...l}=e,o=w("components-button-group",c);return n||(0,K4.default)("wp.components.ButtonGroup",{since:"6.8",alternative:"wp.components.__experimentalToggleGroupControl"}),(0,q4.jsx)("div",{ref:t,role:"group",className:o,...l})}var $4=(0,P4.forwardRef)(Oye);$4.displayName="ButtonGroup";var v5=$4;var RP=u(T(),1);var PF="data-wp-hash";function KF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Uye(document)),e.__wpStyleRuntime}function Qye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PF}]`))if(c.getAttribute(PF)===t)return!0;return!1}function eP(e,t,c){if(!e.head)return;let n=KF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Qye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Uye(e){let t=KF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)eP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Eye(e,t){let c=KF();c.styles.set(e,t);for(let n of c.documents.keys())eP(n,e,t)}typeof process>"u",Eye("14f3fdb673",".b9b8496e1cc381ae__elevation{--wp-components-elevation-border-radius:initial;background:transparent;border-radius:var(--wp-components-elevation-border-radius);display:block;inset:var(--wp-components-elevation-offset);margin:0!important;opacity:1;pointer-events:none;position:absolute;will-change:box-shadow}@media not (prefers-reduced-motion){.b9b8496e1cc381ae__elevation{transition:box-shadow .2s cubic-bezier(.08,.52,.52,1)}}._866e70312757c6a4__has-shadow{box-shadow:var(--wp-components-elevation-shadow)}.f52248b961a3f08d__border-radius-inherit{border-radius:inherit}._0eeaf64d5d7d940c__border-radius-initial{border-radius:initial}.bdb0f4b23c5a3070__border-radius-unset{border-radius:unset}._00f4e8c5b11279d9__border-radius-revert{border-radius:revert}.a9934763e709422a__border-radius-revert-layer{border-radius:revert-layer}:hover>.b45293cc9a89397d__has-hover{box-shadow:var(--wp-components-elevation-hover-shadow)}:focus>._4b23488fcec539f9__has-focus{box-shadow:var(--wp-components-elevation-focus-shadow)}:active>.feda92b96016571c__has-active{box-shadow:var(--wp-components-elevation-active-shadow)}");var A0={elevation:"b9b8496e1cc381ae__elevation","has-shadow":"_866e70312757c6a4__has-shadow","border-radius-inherit":"f52248b961a3f08d__border-radius-inherit","border-radius-initial":"_0eeaf64d5d7d940c__border-radius-initial","border-radius-unset":"bdb0f4b23c5a3070__border-radius-unset","border-radius-revert":"_00f4e8c5b11279d9__border-radius-revert","border-radius-revert-layer":"a9934763e709422a__border-radius-revert-layer","has-hover":"b45293cc9a89397d__has-hover","has-focus":"_4b23488fcec539f9__has-focus","has-active":"feda92b96016571c__has-active"},Lye=new Set(["inherit","initial","unset","revert","revert-layer"]);function V5(e){let t=`rgba(0, 0, 0, ${e/20})`;return`0 ${e}px ${e*2}px 0 | |
| 76 | + ${t}`}function Sa(e){return Td(e)&&Number.isFinite(e)&&e>=0}function tP(e){let{active:t,borderRadius:c="inherit",className:n,focus:l,hover:o,isInteractive:d=!1,offset:i=0,style:r,value:a=0,...s}=ae(e,"Elevation"),b=o??(d?a*2:void 0),m=t??(d?a/2:void 0),X=typeof c=="number"?`${c}px`:c,G=typeof c=="string"&&Lye.has(c.trim().toLowerCase())?c.trim().toLowerCase():void 0,g={"--wp-components-elevation-border-radius":G?void 0:X,"--wp-components-elevation-offset":`${i}px`,"--wp-components-elevation-shadow":Sa(a)?V5(a):void 0,"--wp-components-elevation-hover-shadow":Sa(b)?V5(b):void 0,"--wp-components-elevation-focus-shadow":Sa(l)?V5(l):void 0,"--wp-components-elevation-active-shadow":Sa(m)?V5(m):void 0,...r};return{...s,className:w(A0.elevation,{[A0["has-shadow"]]:Sa(a),[A0["has-hover"]]:Sa(b),[A0["has-focus"]]:Sa(l),[A0["has-active"]]:Sa(m)},G&&A0[`border-radius-${G}`],n),style:g,"aria-hidden":!0}}var cP=u(F(),1);function qF(e,t){let c=tP(e);return(0,cP.jsx)(Ce,{...c,ref:t})}var Dye=ie(qF,"Elevation"),C5=Dye;var nP=Re("padding:",K(2),";",""),lP={none:{name:"1hcx8jb",styles:"padding:0"},large:Re("padding:",K(6)," ",K(8),";",""),medium:Re("padding:",K(4)," ",K(6),";",""),small:Re("padding:",K(4),";",""),xSmall:nP,extraSmall:nP},F5=e=>{switch(e){case"xSmall":return K(2);case"small":return K(4);case"medium":return K(6);case"large":return K(8);case"none":return"0";default:return K(6)}},wx=e=>{if(typeof e=="string")return lP[e];if(e){let{blockStart:t,blockEnd:c,inlineStart:n,inlineEnd:l}=e;return Re("padding-block-start:",F5(t),";padding-block-end:",F5(c),";padding-inline-start:",F5(n),";padding-inline-end:",F5(l),";","")}return lP.medium};var kx=`calc(${de.radiusLarge} - 1px)`,_ye=Re("box-shadow:0 0 0 1px ",de.surfaceBorderColor,";outline:none;",""),jye={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},Mye={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},dP={name:"13udsys",styles:"height:100%"},oP={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},Pye={name:"13udsys",styles:"height:100%"};function iP({isScrollable:e}){return e?Re(oP,Pye,"",""):oP}var rP={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},aP={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},O0=Re("&:first-of-type{border-top-left-radius:",kx,";border-top-right-radius:",kx,";}&:last-of-type{border-bottom-left-radius:",kx,";border-bottom-right-radius:",kx,";}",""),J5=Re("border-color:",de.colorDivider,";",""),Kye={name:"1t90u8d",styles:"box-shadow:none"},sP={name:"1e1ncky",styles:"border:none"},qye=Re("border-radius:",kx,";",""),Y5=Re("background-color:",oe.ui.backgroundDisabled,";","");function bP({isBorderless:e,isRounded:t}){return Re(_ye,e&&Kye,t&&qye,"","")}function uP({isBorderless:e,isShady:t,size:c}){return Re(jye,O0,J5,wx(c),e&&sP,t&&Y5,"","")}function mP({isBorderless:e,isShady:t,size:c}){return Re(Mye,O0,J5,wx(c),e&&sP,t&&Y5,"","")}var xP=u(Xt(),1),pP=u(T(),1);var GP=u(Xt(),1);var $F="data-wp-hash";function eJ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&e5e(document)),e.__wpStyleRuntime}function $ye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${$F}]`))if(c.getAttribute($F)===t)return!0;return!1}function XP(e,t,c){if(!e.head)return;let n=eJ(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if($ye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute($F,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function e5e(e){let t=eJ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)XP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function t5e(e,t){let c=eJ();c.styles.set(e,t);for(let n of c.documents.keys())XP(n,e,t)}typeof process>"u",t5e("afa72ffb80","._074d7c69bf27b61f__surface{background-color:var(--wpds-color-background-surface-neutral-strong,#fff);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);position:relative}.c8e7f206d344f0be__border-bottom{border-bottom:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._64aa30939d5e500b__border-left{border-left:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._543f465ff38d9d77__border-right{border-right:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._8aca9849530b97b1__border-top{border-top:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._67628eb2296cfec7__secondary{background:var(--wpds-color-background-surface-neutral-weak,#f4f4f4)}._0efc0a4250262223__dotted{background:linear-gradient(90deg,var(--wpds-color-background-surface-neutral-strong,#fff) var(--wp-components-surface-background-size-dotted),transparent 1%) 50%,linear-gradient(var(--wpds-color-background-surface-neutral-strong,#fff) var(--wp-components-surface-background-size-dotted),transparent 1%) 50%,var(--wpds-color-stroke-surface-neutral,#dbdbdb);background-size:var(--wp-components-surface-background-size) var(--wp-components-surface-background-size)}._5e99093161bb409c__grid{background:var(--wpds-color-background-surface-neutral-strong,#fff);background-image:linear-gradient(var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0) var(--wpds-border-width-xs,1px),transparent var(--wpds-border-width-xs,1px)),linear-gradient(90deg,var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0) var(--wpds-border-width-xs,1px),transparent var(--wpds-border-width-xs,1px));background-size:var(--wp-components-surface-background-size) var(--wp-components-surface-background-size)}");var wa={surface:"_074d7c69bf27b61f__surface","border-bottom":"c8e7f206d344f0be__border-bottom","border-left":"_64aa30939d5e500b__border-left","border-right":"_543f465ff38d9d77__border-right","border-top":"_8aca9849530b97b1__border-top",secondary:"_67628eb2296cfec7__secondary",dotted:"_0efc0a4250262223__dotted",grid:"_5e99093161bb409c__grid"};function N5(e){let{backgroundSize:t=12,borderBottom:c=!1,borderLeft:n=!1,borderRight:l=!1,borderTop:o=!1,className:d,style:i,variant:r="primary",...a}=ae(e,"Surface"),b=r==="dotted"||r==="grid"?{...i,"--wp-components-surface-background-size":`${t}px`,"--wp-components-surface-background-size-dotted":`${t-1}px`}:i;return{...a,className:w(wa.surface,{[wa["border-bottom"]]:c,[wa["border-left"]]:n,[wa["border-right"]]:l,[wa["border-top"]]:o,[wa.secondary]:r==="secondary",[wa.dotted]:r==="dotted",[wa.grid]:r==="grid"},d),style:b}}var gP=u(F(),1);function c5e(e,t){(0,GP.default)("wp.components.__experimentalSurface",{since:"7.2",version:"7.4"});let c=N5(e);return(0,gP.jsx)(Ce,{...c,ref:t})}var n5e=ie(c5e,"Surface"),tJ=n5e;function l5e({elevation:e,isElevated:t,...c}){let n={...c},l=e;return t&&((0,xP.default)("Card isElevated prop",{since:"5.9",alternative:"elevation"}),l??=2),typeof l<"u"&&(n.elevation=l),n}function cJ(e){let{className:t,elevation:c=0,isBorderless:n=!1,isRounded:l=!0,size:o="medium",...d}=ae(l5e(e),"Card"),i=ec(),r=(0,pP.useMemo)(()=>i(bP({isBorderless:n,isRounded:l}),t),[t,i,n,l]);return{...N5({...d,className:r}),elevation:c,isBorderless:n,isRounded:l,size:o}}var Yb=u(F(),1);function o5e(e,t){let{children:c,elevation:n,isBorderless:l,isRounded:o,size:d,...i}=cJ(e),r=ec(),a=(0,RP.useMemo)(()=>{let s={size:d,isBorderless:l};return{CardBody:s,CardHeader:s,CardFooter:s}},[l,d]);return(0,Yb.jsx)(ib,{value:a,children:(0,Yb.jsxs)(Ce,{...i,ref:t,children:[(0,Yb.jsx)(Ce,{className:r(dP),children:c}),(0,Yb.jsx)(C5,{isInteractive:!1,value:n?1:0}),(0,Yb.jsx)(C5,{isInteractive:!1,value:n})]})})}var d5e=ie(o5e,"Card"),S5=d5e;var nJ="data-wp-hash";function lJ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&r5e(document)),e.__wpStyleRuntime}function i5e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${nJ}]`))if(c.getAttribute(nJ)===t)return!0;return!1}function HP(e,t,c){if(!e.head)return;let n=lJ(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(i5e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(nJ,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function r5e(e){let t=lJ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)HP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function a5e(e,t){let c=lJ();c.styles.set(e,t);for(let n of c.documents.keys())HP(n,e,t)}typeof process>"u",a5e("667cbbe993",".c8c574e84747ff1d__scrollable{height:100%}@media only screen and (min-device-width:40em){.c8c574e84747ff1d__scrollable::-webkit-scrollbar{height:12px;width:12px}.c8c574e84747ff1d__scrollable::-webkit-scrollbar-track{background:rgba(0,0,0,.04);border-radius:8px}.c8c574e84747ff1d__scrollable::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:rgba(0,0,0,.2);border:2px solid transparent;border-radius:7px}.c8c574e84747ff1d__scrollable:hover::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5)}}._266d253504ce997a__smooth-scroll{scroll-behavior:smooth}.e000fb9481918254__scroll-x{overflow-x:auto;overflow-y:hidden}._71594f0091995597__scroll-y{overflow-x:hidden;overflow-y:auto}.f5191978d7129fe7__scroll-auto{overflow-y:auto}");var zx={scrollable:"c8c574e84747ff1d__scrollable","smooth-scroll":"_266d253504ce997a__smooth-scroll","scroll-x":"e000fb9481918254__scroll-x","scroll-y":"_71594f0091995597__scroll-y","scroll-auto":"f5191978d7129fe7__scroll-auto"};function IP(e){let{className:t,scrollDirection:c="y",smoothScroll:n=!1,...l}=ae(e,"Scrollable"),o=w(zx.scrollable,{[zx["smooth-scroll"]]:n,[zx["scroll-x"]]:c==="x",[zx["scroll-y"]]:c==="y",[zx["scroll-auto"]]:c==="auto"},t);return{...l,className:o}}var ZP=u(F(),1);function oJ(e,t){let c=IP(e);return(0,ZP.jsx)(Ce,{...c,ref:t})}var s5e=ie(oJ,"Scrollable"),dJ=s5e;var fP=u(T(),1);function iJ(e){let{className:t,isScrollable:c=!1,isShady:n=!1,size:l="medium",...o}=ae(e,"CardBody"),d=ec(),i=(0,fP.useMemo)(()=>d(iP({isScrollable:c}),O0,wx(l),n&&Y5,"components-card__body",t),[t,d,c,n,l]);return{...o,className:i,isScrollable:c}}var rJ=u(F(),1);function b5e(e,t){let{isScrollable:c,...n}=iJ(e);return c?(0,rJ.jsx)(dJ,{...n,ref:t}):(0,rJ.jsx)(Ce,{...n,ref:t})}var u5e=ie(b5e,"CardBody"),w5=u5e;var WP=u(F(),1),aJ="data-wp-hash";function sJ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&X5e(document)),e.__wpStyleRuntime}function m5e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${aJ}]`))if(c.getAttribute(aJ)===t)return!0;return!1}function yP(e,t,c){if(!e.head)return;let n=sJ(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(m5e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(aJ,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function X5e(e){let t=sJ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)yP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function G5e(e,t){let c=sJ();c.styles.set(e,t);for(let n of c.documents.keys())yP(n,e,t)}typeof process>"u",G5e("b6ebee9322",".e10c29fc10c181dc__divider{border:0;margin:0}.e10c29fc10c181dc__divider:where([aria-orientation=horizontal]){block-size:0;border-block-end:1px solid currentColor;inline-size:auto;margin-block-end:var(--wp-components-divider-margin-end,0);margin-block-start:var(--wp-components-divider-margin-start,0)}.e10c29fc10c181dc__divider:where([aria-orientation=vertical]){block-size:auto;border-inline-end:1px solid currentColor;display:inline;inline-size:0;margin-inline-end:var(--wp-components-divider-margin-end,0);margin-inline-start:var(--wp-components-divider-margin-start,0)}");var g5e={divider:"e10c29fc10c181dc__divider"};function bJ(e,t){let{className:c,margin:n,marginEnd:l,marginStart:o,style:d,...i}=ae(e,"Divider"),r={...d},a=K(o??n),s=K(l??n);return a&&(r["--wp-components-divider-margin-start"]=a),s&&(r["--wp-components-divider-margin-end"]=s),(0,WP.jsx)(oH,{className:w(g5e.divider,c),style:r,...i,ref:t})}var x5e=ie(bJ,"Divider"),uJ=x5e;var hP=u(T(),1);function mJ(e){let{className:t,...c}=ae(e,"CardDivider"),n=ec(),l=(0,hP.useMemo)(()=>n(aP,J5,"components-card__divider",t),[t,n]);return{...c,className:l}}var BP=u(F(),1);function p5e(e,t){let c=mJ(e);return(0,BP.jsx)(uJ,{...c,ref:t})}var R5e=ie(p5e,"CardDivider"),k5=R5e;var vP=u(T(),1);function XJ(e){let{className:t,justify:c,isBorderless:n=!1,isShady:l=!1,size:o="medium",...d}=ae(e,"CardFooter"),i=ec(),r=(0,vP.useMemo)(()=>i(mP({isBorderless:n,isShady:l,size:o}),"components-card__footer",t),[t,i,n,l,o]);return{...d,className:r,justify:c}}var VP=u(F(),1);function H5e(e,t){let c=XJ(e);return(0,VP.jsx)(Mt,{...c,ref:t})}var I5e=ie(H5e,"CardFooter"),z5=I5e;var CP=u(T(),1);function GJ(e){let{className:t,isBorderless:c=!1,isShady:n=!1,size:l="medium",...o}=ae(e,"CardHeader"),d=ec(),i=(0,CP.useMemo)(()=>d(uP({isBorderless:c,isShady:n,size:l}),"components-card__header",t),[t,d,c,n,l]);return{...o,className:i}}var FP=u(F(),1);function Z5e(e,t){let c=GJ(e);return(0,FP.jsx)(Mt,{...c,ref:t})}var f5e=ie(Z5e,"CardHeader"),T5=f5e;var JP=u(T(),1);function gJ(e){let{className:t,...c}=ae(e,"CardMedia"),n=ec(),l=(0,JP.useMemo)(()=>n(rP,O0,"components-card__media",t),[t,n]);return{...c,className:l}}var YP=u(F(),1);function y5e(e,t){let c=gJ(e);return(0,YP.jsx)(Ce,{...c,ref:t})}var W5e=ie(y5e,"CardMedia"),A5=W5e;var xJ=u(T(),1),O5=u(me(),1),NP=u(Xt(),1);var ii=u(F(),1);function SP(e){let{__nextHasNoMarginBottom:t,label:c,className:n,heading:l,checked:o,indeterminate:d,help:i,id:r,onChange:a,onClick:s,...b}=e;l&&(0,NP.default)("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});let[m,X]=(0,xJ.useState)(!1),[G,g]=(0,xJ.useState)(!1),x=(0,O5.useRefEffect)(R=>{R&&(R.indeterminate=!!d,X(R.matches(":checked")),g(R.matches(":indeterminate")))},[o,d]),H=(0,O5.useInstanceId)(SP,"inspector-checkbox-control",r),p=R=>a(R.target.checked);return(0,ii.jsx)(at,{label:l,id:H,help:i&&(0,ii.jsx)("span",{className:"components-checkbox-control__help",children:i}),className:w("components-checkbox-control",n),children:(0,ii.jsxs)(xt,{spacing:0,justify:"start",alignment:"top",children:[(0,ii.jsxs)("span",{className:"components-checkbox-control__input-container",children:[(0,ii.jsx)("input",{ref:x,id:H,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:p,checked:o,"aria-describedby":i?H+"__help":void 0,onClick:R=>{R.currentTarget.focus(),s?.(R)},...b}),G?(0,ii.jsx)(Kc,{icon:ex,className:"components-checkbox-control__indeterminate",role:"presentation",size:16,viewBox:"4 4 16 16"}):null,m?(0,ii.jsx)(Kc,{icon:qc,className:"components-checkbox-control__checked",role:"presentation",size:16,viewBox:"4 4 16 16"}):null]}),c&&(0,ii.jsx)("label",{className:"components-checkbox-control__label",htmlFor:H,children:c})]})})}var wP=SP;var Q5=u(T(),1),kP=u(me(),1),zP=u(Xt(),1);var TP=u(F(),1),h5e=4e3;function AP({className:e,children:t,onCopy:c,onFinishCopy:n,text:l,...o}){(0,zP.default)("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});let d=(0,Q5.useRef)(void 0),i=(0,kP.useCopyToClipboard)(l,()=>{c(),d.current&&clearTimeout(d.current),n&&(d.current=setTimeout(()=>n(),h5e))});(0,Q5.useEffect)(()=>()=>{d.current&&clearTimeout(d.current)},[]);let r=w("components-clipboard-button",e);return(0,TP.jsx)(be,{...o,className:r,ref:i,onCopy:s=>{s.target.focus()},children:t})}var xn=u(T(),1),wt=u(Ze(),1);var Vp=u(me(),1);function OP(e){let t=e?.toString?.()??"";return t=t.replace(/['\u2019]/,""),xf(t,{splitRegexp:[/(?!(?:1ST|2ND|3RD|[4-9]TH)(?![a-z]))([a-z0-9])([A-Z])/g,/(?!(?:1st|2nd|3rd|[4-9]th)(?![a-z]))([0-9])([a-z])/g,/([A-Za-z])([0-9])/g,/([A-Z])([A-Z][a-z])/g]})}var Nb=u(E(),1);function U5({controlled:e,default:t,name:c,state:n="value"}){let{current:l}=Nb.useRef(e!==void 0),[o,d]=Nb.useState(t),i=l&&e!==void 0?e:o,r=Nb.useCallback(a=>{l||d(a)},[]);return[i,r]}var B5e=u(E(),1),Tx={...B5e};var UP=u(E(),1),QP={};function oc(e,t){let c=UP.useRef(QP);return c.current===QP&&(c.current=e(t)),c}var pJ=Tx.useInsertionEffect,v5e=pJ&&pJ!==Tx.useLayoutEffect?pJ:e=>e();function Ie(e){let t=oc(V5e).current;return t.next=e,v5e(t.effect),t.trampoline}function V5e(){let e={next:void 0,callback:C5e,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function C5e(){}function tn(){}var ar=Object.freeze([]),Gt=Object.freeze({});var sr=u(E(),1);var EP=u(E(),1),F5e=()=>{},Xe=typeof document<"u"?EP.useLayoutEffect:F5e;var E5=u(E(),1),RJ=E5.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function LP(){return E5.useContext(RJ)}var DP=u(F(),1);function _P(e){let{children:t,elementsRef:c,labelsRef:n,onMapChange:l}=e,o=Ie(l),[,d]=sr.useState(!1),i=oc(Y5e).current,r=oc(J5e).current,a=sr.useRef(0),s=sr.useRef(!0),b=sr.useRef(null),m=sr.useRef(null),X=Ie(()=>{s.current||(s.current=!0,d(f=>!f))}),G=Ie((f,y)=>{r.set(f,y),X()}),g=Ie(f=>{r.delete(f),X()}),x=Ie(f=>{let y=new Map;return c.current.length=0,n&&(n.current.length=0),f.forEach(Z=>{y.set(Z.element,{...Z.registration.metadata??{},index:Z.index}),c.current[Z.index]=Z.element,n&&(n.current[Z.index]=Z.registration.label!==void 0?Z.registration.label:Z.registration.textRef?.current?.textContent??Z.element.textContent)}),a.current=c.current.length,y});function H(f){if(m.current?.disconnect(),m.current=null,typeof MutationObserver!="function"||f.length<2)return;let y=new MutationObserver(W=>{if(!w5e(W))return;let v=null;for(let h of f)if(h.isConnected){if(v&&jP(v,h)>0){y.disconnect(),X();return}v=h}});m.current=y;let Z=new Set;for(let W=1;W<f.length;W+=1){let v=S5e(f[W-1],f[W]);v&&Z.add(v)}Z.forEach(W=>y.observe(W,{childList:!0}))}let p=Ie(()=>{let[f,y]=N5e(r),Z=x(f),W=b.current,v=!W||W.length!==f.length||f.some((h,C)=>{let B=W[C];return h.index!==B.index||h.element!==B.element||h.registration.index!==B.registration.index||h.registration.metadata!==B.registration.metadata});H(y),b.current=f,s.current=!1,v&&(i.forEach(h=>h(Z)),o(Z))});Xe(()=>(!s.current&&b.current&&x(b.current),()=>{c.current=[],n&&(n.current=[])}),[c,n,x]),Xe(()=>{s.current&&p()}),Xe(()=>()=>{m.current?.disconnect(),s.current=!0},[]);let R=Ie(f=>(i.add(f),()=>{i.delete(f)})),I=sr.useMemo(()=>({register:G,unregister:g,subscribeMapChange:R,nextIndexRef:a}),[G,g,R,a]);return(0,DP.jsx)(RJ.Provider,{value:I,children:t})}function J5e(){return new Map}function Y5e(){return new Set}function N5e(e){let t=new Set,c=[],n=[];e.forEach((o,d)=>{if(!d.isConnected)return;let i=o.index,r={index:i??-1,element:d,registration:o};i===null?n.push(r):i>=0&&(t.add(i),c.push(r))});let l=0;return n.sort((o,d)=>jP(o.element,d.element)),n.forEach(o=>{for(;t.has(l);)l+=1;o.index=l,c.push(o),l+=1}),t.size>0&&c.sort((o,d)=>o.index-d.index),[c,n.map(o=>o.element)]}function S5e(e,t){let c=e.parentElement;for(;c&&!c.contains(t);)c=c.parentElement;return c}function w5e(e){for(let t of e)for(let c=0;c<t.removedNodes.length;c+=1)if(t.removedNodes[c].isConnected)return!0;return!1}function jP(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function k5e(e,t){return function(n,...l){let o=new URL(e);return o.searchParams.set("code",n.toString()),l.forEach(d=>o.searchParams.append("args[]",d)),`${t} error #${n}; visit ${o} for the full message.`}}var z5e=k5e("https://base-ui.com/production-error","Base UI"),St=z5e;var ka=u(E(),1);function ri(e,t,c,n){let l=oc(PP).current;return T5e(l,e,t,c,n)&&KP(l,[e,t,c,n]),l.callback}function MP(e){let t=oc(PP).current;return A5e(t,e)&&KP(t,e),t.callback}function PP(){return{callback:null,cleanup:null,refs:[]}}function T5e(e,t,c,n,l){return e.refs[0]!==t||e.refs[1]!==c||e.refs[2]!==n||e.refs[3]!==l}function A5e(e,t){return e.refs.length!==t.length||e.refs.some((c,n)=>c!==t[n])}function KP(e,t){if(e.refs=t,t.every(c=>c==null)){e.callback=null;return}e.callback=c=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),c!=null){let n=Array(t.length).fill(null);for(let l=0;l<t.length;l+=1){let o=t[l];if(o!=null)switch(typeof o){case"function":{let d=o(c);typeof d=="function"&&(n[l]=d);break}case"object":{o.current=c;break}default:}}e.cleanup=()=>{for(let l=0;l<t.length;l+=1){let o=t[l];if(o!=null)switch(typeof o){case"function":{let d=n[l];typeof d=="function"?d():o(null);break}case"object":{o.current=null;break}default:}}}}}}var $P=u(E(),1);var qP=u(E(),1),O5e=parseInt(qP.version,10);function Q0(e){return O5e>=e}function HJ(e){if(!$P.isValidElement(e))return null;let t=e,c=t.props;return(Q0(19)?c?.ref:t.ref)??null}function Ax(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function e8(e,t){let c={};for(let n in e){let l=e[n];if(t?.hasOwnProperty(n)){let o=t[n](l);o!=null&&Object.assign(c,o);continue}l===!0?c[`data-${n.toLowerCase()}`]="":l&&(c[`data-${n.toLowerCase()}`]=l.toString())}return c}function t8(e,t){return typeof e=="function"?e(t):e}function c8(e,t){return typeof e=="function"?e(t):e}var IJ={};function rc(e,t,c,n,l){if(!c&&!n&&!l&&!e)return L5(t);let o=L5(e);return t&&(o=Ox(o,t)),c&&(o=Ox(o,c)),n&&(o=Ox(o,n)),l&&(o=Ox(o,l)),o}function n8(e){if(e.length===0)return IJ;if(e.length===1)return L5(e[0]);let t=L5(e[0]);for(let c=1;c<e.length;c+=1)t=Ox(t,e[c]);return t}function L5(e){return ZJ(e)?{...o8(e,IJ)}:Q5e(e)}function Ox(e,t){return ZJ(t)?o8(t,e):U5e(e,t)}function Q5e(e){let t={...e};for(let c in t){let n=t[c];l8(c,n)&&(t[c]=d8(n))}return t}function U5e(e,t){if(!t)return e;for(let c in t){let n=t[c];switch(c){case"style":{e[c]=Ax(e.style,n);break}case"className":{e[c]=fJ(e.className,n);break}default:l8(c,n)?e[c]=E5e(e[c],n):e[c]=n}}return e}function l8(e,t){let c=e.charCodeAt(0),n=e.charCodeAt(1),l=e.charCodeAt(2);return c===111&&n===110&&l>=65&&l<=90&&(typeof t=="function"||typeof t>"u")}function ZJ(e){return typeof e=="function"}function o8(e,t){return ZJ(e)?e(t):e??IJ}function E5e(e,t){return t?e?(...c)=>{let n=c[0];if(i8(n)){let o=n;Qx(o);let d=t(...c);return o.baseUIHandlerPrevented||e?.(...c),d}let l=t(...c);return e?.(...c),l}:d8(t):e}function d8(e){return e&&((...t)=>{let c=t[0];return i8(c)&&Qx(c),e(...t)})}function Qx(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function fJ(e,t){return t?e?t+" "+e:t:e}function i8(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var yJ=u(E(),1);function it(e,t,c={}){let n=t.render;c.enabled!==!1&&(n=j5e(n));let l=L5e(t,c,n);if(c.enabled===!1)return null;let o=c.state??Gt;return M5e(e,n,l,o)}function L5e(e,t,c){let{className:n,style:l}=e,{state:o=Gt,ref:d,props:i,stateAttributesMapping:r,enabled:a=!0}=t,s=a?t8(n,o):void 0,b=a?c8(l,o):void 0,m=a?e8(o,r):Gt,X=a&&i?D5e(i):void 0,G=a?Ax(m,X)??{}:Gt;return typeof document<"u"&&(a?Array.isArray(d)?G.ref=MP([G.ref,HJ(c),...d]):G.ref=ri(G.ref,HJ(c),d):ri(null,null)),a?(s!==void 0&&(G.className=fJ(G.className,s)),b!==void 0&&(G.style=Ax(G.style,b)),G):Gt}function D5e(e){return Array.isArray(e)?n8(e):rc(void 0,e)}var _5e=Symbol.for("react.lazy");function j5e(e){if(e?.$$typeof!==_5e)return e;let t=ka.Children.toArray(e)[0];return ka.isValidElement(t)?t:e}function M5e(e,t,c,n){if(t){if(typeof t=="function")return t(c,n);let l=rc(c,t.props);return l.ref=c.ref,ka.cloneElement(t,l)}if(e&&typeof e=="string")return P5e(e,c);throw new Error(St(8))}function P5e(e,t){return e==="button"?(0,yJ.createElement)("button",{type:"button",...t,key:t.key}):e==="img"?(0,yJ.createElement)("img",{alt:"",...t,key:t.key}):ka.createElement(e,t)}var D5=u(E(),1);var r8=0;function K5e(e,t="mui"){let[c,n]=D5.useState(e),l=e||c;return D5.useEffect(()=>{c==null&&(r8+=1,n(`${t}-${r8}`))},[c,t]),l}var a8=Tx.useId;function br(e,t){if(a8!==void 0){let c=a8();return e??(t?`${t}-${c}`:c)}return K5e(e,t)}function hl(e){return br(e,"base-ui")}var fe={};Fl(fe,{cancelOpen:()=>WWe,chipRemovePress:()=>iWe,clearPress:()=>dWe,closePress:()=>lWe,closeWatcher:()=>pWe,decrementPress:()=>sWe,disabled:()=>BWe,drag:()=>ZWe,escapeKey:()=>xWe,focusOut:()=>gWe,imperativeAction:()=>CWe,incrementPress:()=>aWe,initial:()=>VWe,inputBlur:()=>mWe,inputChange:()=>bWe,inputClear:()=>uWe,inputPaste:()=>XWe,inputPress:()=>GWe,itemPress:()=>nWe,keyboard:()=>HWe,linkPress:()=>oWe,listNavigation:()=>RWe,missing:()=>vWe,none:()=>q5e,outsidePress:()=>cWe,pointer:()=>IWe,scrub:()=>yWe,siblingOpen:()=>hWe,swipe:()=>FWe,trackPress:()=>rWe,triggerFocus:()=>tWe,triggerHover:()=>eWe,triggerPress:()=>$5e,wheel:()=>fWe,windowResize:()=>JWe});var q5e="none",$5e="trigger-press",eWe="trigger-hover",tWe="trigger-focus",cWe="outside-press",nWe="item-press",lWe="close-press",oWe="link-press",dWe="clear-press",iWe="chip-remove-press",rWe="track-press",aWe="increment-press",sWe="decrement-press",bWe="input-change",uWe="input-clear",mWe="input-blur",XWe="input-paste",GWe="input-press",gWe="focus-out",xWe="escape-key",pWe="close-watcher",RWe="list-navigation",HWe="keyboard",IWe="pointer",ZWe="drag",fWe="wheel",yWe="scrub",WWe="cancel-open",hWe="sibling-open",BWe="disabled",vWe="missing",VWe="initial",CWe="imperative-action",FWe="swipe",JWe="window-resize";function _e(e,t,c,n){let l=!1,o=!1,d=n??Gt;return{reason:e,event:t??new Event("base-ui"),cancel(){l=!0},allowPropagation(){o=!0},get isCanceled(){return l},get isPropagationAllowed(){return o},trigger:c,...d}}var hJ=u(E(),1);var s8=u(E(),1);function U0(e){s8.useEffect(e,ar)}var _5=null,$Zt=globalThis.requestAnimationFrame,WJ=class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;let c=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let l=0;l<c.length;l+=1)c[l]?.(t)};request(t){let c=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),c}cancel(t){let c=t-this.startId;c<0||c>=this.callbacks.length||this.callbacks[c]!==null&&(this.callbacks[c]=null,this.callbacksCount-=1)}},j5=new WJ;var Ho=class e{static create(){return new e}static request(t){return j5.request(t)}static cancel(t){return j5.cancel(t)}currentId=_5;request(t){this.cancel(),this.currentId=j5.request(()=>{this.currentId=_5,t()})}cancel=()=>{this.currentId!==_5&&(j5.cancel(this.currentId),this.currentId=_5)};disposeEffect=()=>this.cancel};function Ul(){let e=oc(Ho.create).current;return U0(e.disposeEffect),e}function E0(e,t=!1,c=!1,n=!1){let[l,o]=hJ.useState(e&&t?"idle":void 0),[d,i]=hJ.useState(e&&!n);return e&&!d&&(i(!0),o("starting")),!e&&d&&l!=="ending"&&!c&&o("ending"),!e&&!d&&l==="ending"&&o(void 0),Xe(()=>{if(!e&&d&&l!=="ending"&&c){let r=Ho.request(()=>{o("ending")});return()=>{Ho.cancel(r)}}},[e,d,l,c]),Xe(()=>{if(!e||t)return;let r=Ho.request(()=>{o(void 0)});return()=>{Ho.cancel(r)}},[t,e]),Xe(()=>{if(!e||!t)return;e&&d&&l!=="idle"&&o("starting");let r=Ho.request(()=>{o("idle")});return()=>{Ho.cancel(r)}},[t,e,d,l]),{mounted:d,setMounted:i,transitionStatus:l}}var Sb=u(E(),1);function Io(e={}){let{guess:t,label:c,metadata:n,textRef:l,index:o}=e,{register:d,unregister:i,subscribeMapChange:r,nextIndexRef:a}=LP(),s=Sb.useRef(-1),[b,m]=Sb.useState(o==null&&t?()=>{if(s.current===-1){let x=a.current;a.current+=1,s.current=x}return s.current}:-1),X=o??b,G=Sb.useRef(null),g=Sb.useCallback(x=>{let H=G.current;H&&i(H),G.current=x,x&&d(x,{metadata:n??null,index:o??null,label:c,textRef:l})},[o,d,i,n,c,l]);return Xe(()=>{if(o==null)return r(x=>{let H=G.current?x.get(G.current)?.index:null;H!=null&&m(H)})},[o,r]),{ref:g,index:X}}var M5="data-starting-style",b8="data-ending-style";var YWe={[M5]:""},NWe={[b8]:""},P5={transitionStatus(e){return e==="starting"?YWe:e==="ending"?NWe:null}};var _0=u(E(),1);var K5=u(E(),1),SWe=K5.createContext(void 0);function L0(e=!1){let t=K5.useContext(SWe);if(t===void 0&&!e)throw new Error(St(16));return t}var m8=u(E(),1);function X8(e){let{focusableWhenDisabled:t,disabled:c,composite:n=!1,tabIndex:l=0,isNativeButton:o}=e,d=n&&t!==!1,i=n&&t===!1;return{props:m8.useMemo(()=>{let a={onKeyDown(s){c&&t&&s.key!=="Tab"&&s.preventDefault()}};return n||(a.tabIndex=l,!o&&c&&(a.tabIndex=t?l:-1)),(o&&(t||d)||!o&&c)&&(a["aria-disabled"]=c),o&&(!t||i)&&(a.disabled=c),a},[n,c,t,d,i,o,l])}}function je(e){return e?.ownerDocument||document}function D0(e,t,{detail:c=0}={}){e.dispatchEvent(new(ht(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:c,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function wb(e={}){let{disabled:t=!1,focusableWhenDisabled:c,tabIndex:n=0,native:l=!0,composite:o}=e,d=_0.useRef(null),i=L0(!0),r=o??i!==void 0,{props:a}=X8({focusableWhenDisabled:c,disabled:t,composite:r,tabIndex:n,isNativeButton:l}),s=_0.useCallback(()=>{let X=d.current;BJ(X)&&r&&t&&a.disabled===void 0&&X.disabled&&(X.disabled=!1)},[t,a.disabled,r]);Xe(s,[s]);let b=_0.useCallback((X={})=>{let{onClick:G,onMouseDown:g,onKeyUp:x,onKeyDown:H,onPointerDown:p,...R}=X;return rc({onClick(I){if(t){I.preventDefault();return}G?.(I)},onMouseDown(I){t||g?.(I)},onKeyDown(I){if(t||(Qx(I),H?.(I),I.baseUIHandlerPrevented))return;let f=I.target===I.currentTarget,y=I.currentTarget,Z=BJ(y),W=!l&&wWe(y),v=f&&(l?Z:!W),h=I.key==="Enter",C=I.key===" ",B=y.getAttribute("role"),V=B?.startsWith("menuitem")||B==="option"||B==="gridcell";if(f&&r&&C){if(I.defaultPrevented&&V)return;I.preventDefault(),(!l||Z)&&(I.preventBaseUIHandler(),D0(y,I));return}if(!v||l||!C&&!h){f&&W&&C&&I.preventDefault();return}I.defaultPrevented||(I.preventDefault(),h&&(I.preventBaseUIHandler(),D0(y,I)))},onKeyUp(I){if(!t){if(Qx(I),x?.(I),I.target===I.currentTarget&&l&&r&&BJ(I.currentTarget)&&I.key===" "){I.preventDefault();return}I.baseUIHandlerPrevented||I.target===I.currentTarget&&!l&&!r&&!I.defaultPrevented&&I.key===" "&&(I.preventBaseUIHandler(),D0(I.currentTarget,I))}},onPointerDown(I){if(t){I.preventDefault();return}p?.(I)}},l?{type:"button"}:{role:"button"},a,R)},[t,a,r,l]),m=Ie(X=>{d.current=X,s()});return{getButtonProps:b,buttonRef:m}}function BJ(e){return st(e)&&e.tagName==="BUTTON"}function wWe(e){return st(e)&&e.tagName==="A"&&!!e.href}function tt(e,t,c,n){return e.addEventListener(t,c,n),()=>{e.removeEventListener(t,c,n)}}function ac(e){let t=oc(kWe,e).current;return t.next=e,Xe(t.effect),t}function kWe(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var G8=u(E(),1);var vJ=u(io(),1);function ld(e){return e==null?e:"current"in e?e.current:e}var q5=null;function zWe(e){if(!q5){let t=[];q5=t,queueMicrotask(()=>{q5=null,vJ.flushSync(()=>{for(let c of t)c()})})}q5.push(e)}function ai(e,t=!1,c=!1){let n=Ul();return Ie((l,o=null)=>{n.cancel();let d=ld(e);if(d==null)return;let i=d,r=()=>{if(!c){vJ.flushSync(l);return}zWe(()=>{o?.aborted||l()})};if(typeof i.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){l();return}function a(){Promise.all(i.getAnimations().map(s=>s.finished)).then(()=>{o?.aborted||r()},()=>{if(o?.aborted)return;if(i.getAnimations().some(b=>b.pending||b.playState!=="finished")){a();return}r()})}if(t){let s=M5;if(!i.hasAttribute(s)){n.request(a);return}let b=new MutationObserver(()=>{i.hasAttribute(s)||(b.disconnect(),a())});b.observe(i,{attributes:!0,attributeFilter:[s]}),o?.addEventListener("abort",()=>b.disconnect(),{once:!0});return}n.request(a)})}function za(e){let{enabled:t=!0,open:c,ref:n,batch:l=!1,onComplete:o}=e,d=Ie(o),i=ai(n,c,l);G8.useEffect(()=>{if(!t)return;let r=new AbortController;return i(d,r.signal),()=>{r.abort()}},[t,c,d,i])}var vt={};Fl(vt,{engine:()=>YJ,env:()=>SJ,mediaQuery:()=>wJ,os:()=>FJ,screenReader:()=>NJ});var FJ={};Fl(FJ,{android:()=>p8,apple:()=>CJ,ios:()=>VJ,linux:()=>UWe,mac:()=>R8,windows:()=>QWe});function TWe(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:AWe,platform:OWe,maxTouchPoints:g8}=TWe(),kb=AWe.toLowerCase(),zb=OWe.toLowerCase();var VJ=/^i(os$|p)/.test(zb)||zb==="macintel"&&g8>1,x8="android",p8=zb===x8||kb.includes(x8),R8=!VJ&&zb.startsWith("mac"),QWe=zb.startsWith("win"),UWe=!p8&&/^(linux|chrome os)/.test(zb),CJ=R8||VJ;var YJ={};Fl(YJ,{blink:()=>LWe,gecko:()=>EWe,webkit:()=>JJ});var JJ=typeof CSS<"u"&&!!CSS.supports?.("-webkit-backdrop-filter:none"),EWe=!JJ&&kb.includes("firefox"),LWe=!JJ&&kb.includes("chrom");var NJ={};Fl(NJ,{voiceOver:()=>DWe});var DWe=CJ;var SJ={};Fl(SJ,{jsdom:()=>_We});var _We=/jsdom|happydom/.test(kb);var wJ={};Fl(wJ,{iOS:()=>jWe});var jWe="@supports (-webkit-touch-callout: none)";var Ux=0,Bl=class e{static create(){return new e}currentId=Ux;start(t,c){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Ux,c()},t)}isStarted(){return this.currentId!==Ux}clear=()=>{this.currentId!==Ux&&(clearTimeout(this.currentId),this.currentId=Ux)};disposeEffect=()=>this.clear};function gc(){let e=oc(Bl.create).current;return U0(e.disposeEffect),e}var H8={},I8={},Z8="";function $5(e,t){return ks(e)?e:t}function f8(e,t,c){return/hidden|clip/.test(e.getComputedStyle($5(t,c)).overflowY)}function MWe(e){if(typeof document>"u")return!1;let t=je(e);return ht(t).innerWidth-t.documentElement.clientWidth>0}function PWe(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;let c=je(e),n=c.documentElement,l=c.body,o=$5(n,l),d=o.style.overflowY,i=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",o.style.overflowY="scroll";let r=o.offsetWidth;o.style.overflowY="hidden";let a=o.offsetWidth;return o.style.overflowY=d,n.style.scrollbarGutter=i,r===a}function KWe(e){let t=je(e),c=t.documentElement,n=t.body,l=$5(c,n),o={overflowY:l.style.overflowY,overflowX:l.style.overflowX};return Object.assign(l.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(l.style,o)}}function qWe(e){let t=je(e),c=t.documentElement,n=t.body,l=ht(c),o=0,d=0,i=!1,r=Ho.create();if(vt.engine.webkit&&(l.visualViewport?.scale??1)!==1)return()=>{};function a(){let X=l.getComputedStyle(c),G=l.getComputedStyle(n),H=(X.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";o=c.scrollTop,d=c.scrollLeft,H8={scrollbarGutter:c.style.scrollbarGutter,overflowY:c.style.overflowY,overflowX:c.style.overflowX},Z8=c.style.scrollBehavior,I8={position:n.style.position,height:n.style.height,width:n.style.width,boxSizing:n.style.boxSizing,overflowY:n.style.overflowY,overflowX:n.style.overflowX,scrollBehavior:n.style.scrollBehavior};let p=c.scrollHeight>c.clientHeight,R=c.scrollWidth>c.clientWidth,I=X.overflowY==="scroll"||G.overflowY==="scroll",f=X.overflowX==="scroll"||G.overflowX==="scroll",y=Math.max(0,l.innerWidth-n.clientWidth),Z=Math.max(0,l.innerHeight-n.clientHeight),W=parseFloat(G.marginTop)+parseFloat(G.marginBottom),v=parseFloat(G.marginLeft)+parseFloat(G.marginRight),h=$5(c,n);if(i=PWe(e),i){c.style.scrollbarGutter=H,h.style.overflowY="hidden",h.style.overflowX="hidden";return}Object.assign(c.style,{scrollbarGutter:H,overflowY:"hidden",overflowX:"hidden"}),(p||I)&&(c.style.overflowY="scroll"),(R||f)&&(c.style.overflowX="scroll"),Object.assign(n.style,{position:"relative",height:W||Z?`calc(100dvh - ${W+Z}px)`:"100dvh",width:v||y?`calc(100vw - ${v+y}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),n.scrollTop=o,n.scrollLeft=d,c.setAttribute("data-base-ui-scroll-locked",""),c.style.scrollBehavior="unset"}function s(){Object.assign(c.style,H8),Object.assign(n.style,I8),i||(c.scrollTop=o,c.scrollLeft=d,c.removeAttribute("data-base-ui-scroll-locked"),c.style.scrollBehavior=Z8)}function b(){s(),r.request(a)}a();let m=tt(l,"resize",b);return()=>{r.cancel(),s(),typeof l.removeEventListener=="function"&&m()}}var kJ=class{lockCount=0;restore=null;timeoutLock=Bl.create();timeoutUnlock=Bl.create();acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(t){if(this.lockCount===0||this.restore!==null)return;let c=je(t),n=c.documentElement,l=c.body,o=ht(n);if(f8(o,n,l)){let i=new o.MutationObserver(()=>{f8(o,n,l)||(i.disconnect(),this.restore=null,this.lock(t))}),r={attributes:!0};i.observe(n,r),i.observe(l,r),this.restore=()=>i.disconnect();return}let d=vt.os.ios||!MWe(t);this.restore=d?KWe(t):qWe(t)}},$We=new kJ;function y8(e=!0,t=null){Xe(()=>{if(e)return $We.acquire(t)},[e,t])}function El(e){e.preventDefault(),e.stopPropagation()}function W8(e){return"nativeEvent"in e}function j0(e){return e.pointerType===""&&e.isTrusted?!0:vt.os.android&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function M0(e){return vt.env.jsdom?!1:!vt.os.android&&e.width===0&&e.height===0||vt.os.android&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function ur(e,t){let c=["mouse","pen"];return t||c.push("",void 0),c.includes(e)}function h8(e){let t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}function Uc(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Se(e,t){if(!e||!t)return!1;let c=t.getRootNode?.();if(e.contains(t))return!0;if(c&&Fd(c)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function xc(e){return"composedPath"in e?e.composedPath()[0]??e.target:e.target}var Ex="data-base-ui-focusable";var zJ="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",Lx="ArrowLeft",Dx="ArrowRight",TJ="ArrowUp",eW="ArrowDown";var B8="data-open",v8="data-closed";var V8="data-anchor-hidden";var cW={};Fl(cW,{popupOpen:()=>tW,pressed:()=>AJ});var tW="data-popup-open",AJ="data-pressed";var the={[tW]:""},che={[tW]:"",[AJ]:""},nhe={[B8]:""},lhe={[v8]:""},ohe={[V8]:""},C8={open(e){return e?the:null}},OJ={open(e){return e?che:null}},_x={open(e){return e?nhe:lhe},anchorHidden(e){return e?ohe:null}},nW={..._x,...P5};var ryt=cW.popupOpen,QJ="data-trigger-disabled";function Ta(e,t){if(!ct(e))return!1;let c=e;if(t.hasElement(c))return!c.hasAttribute(QJ);for(let[,n]of t.entries())if(Se(n,c))return!n.hasAttribute(QJ);return!1}function lW(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);let c=e;return c.target!=null&&t.contains(c.target)}function F8(e){return e.matches("html,body")}function Tb(e){return st(e)&&e.matches(zJ)}function UJ(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${zJ}`)!=null}function jx(e){return e?e.getAttribute("role")==="combobox"&&Tb(e):!1}function J8(e){if(!e||vt.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function Mx(e){return e?e.hasAttribute(Ex)?e:e.querySelector(`[${Ex}]`)||e:null}function ihe(e,t){return t!=null&&!ur(t)?0:typeof e=="function"?e():e}function Px(e,t,c){let n=ihe(e,c);return typeof n=="number"?n:n?.[t]}function EJ(e){return typeof e=="function"?e():e}function oW(e,t){return t||e==="click"||e==="mousedown"}function Y8(e){return e?.includes("mouse")&&e!=="mousedown"}var Sn=u(E(),1);function Yn(...e){return()=>{for(let t=0;t<e.length;t+=1){let c=e[t];c&&c()}}}var dW=u(E(),1);var N8={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},S8={...N8,position:"fixed",top:0,left:0},pyt={...N8,position:"absolute"};var w8=u(F(),1),mr=dW.forwardRef(function(t,c){let[n,l]=dW.useState();return Xe(()=>{vt.screenReader.voiceOver&&vt.engine.webkit&&l("button")},[]),(0,w8.jsx)("span",{...t,ref:c,style:S8,"aria-hidden":n?void 0:!0,...{tabIndex:0,role:n},"data-base-ui-focus-guard":""})});function LJ(e,t){return t<0||t>=e.length}function iW(e,t){return Ab(e.current,{disabledIndices:t})}function DJ(e,t){return Ab(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Ab(e,{startingIndex:t=-1,decrement:c=!1,disabledIndices:n,amount:l=1}={}){let o=t;do o+=c?-l:l;while(o>=0&&o<=e.length-1&&_J(e,o,n));return o}function _J(e,t,c){if(typeof c=="function"?c(t):c?.includes(t)??!1)return!0;let l=e[t];return l?!Ob(l)||l.matches(":disabled")?!0:!c&&(l.hasAttribute("disabled")||l.getAttribute("aria-disabled")==="true"):!1}function rhe(e){return e.visibility==="hidden"||e.visibility==="collapse"}function Ob(e,t=e?Oc(e):null){return!e||!e.isConnected||!t||rhe(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}var ahe='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function she(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let c=e.getRootNode();return Fd(c)?c.host:null}function MJ(e){for(let t of Array.from(e.children))if(Hc(t)==="summary")return t;return null}function bhe(e,t){let c=MJ(t);return!!c&&(e===c||Se(c,e))}function k8(e){let t=e?Hc(e):"";return e!=null&&e.matches(ahe)&&(t!=="summary"||e.parentElement!=null&&Hc(e.parentElement)==="details"&&MJ(e.parentElement)===e)&&(t!=="details"||MJ(e)==null)&&(t!=="input"||e.type!=="hidden")}function z8(e){if(!k8(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=she(t)){let c=t!==e,n=Hc(t)==="slot";if(t.hasAttribute("inert")||c&&Hc(t)==="details"&&!t.open&&!bhe(e,t)||t.hasAttribute("hidden")||!n&&!uhe(t,c))return!1}return!0}function uhe(e,t){let c=Oc(e);return t?c.display!=="none":Ob(e,c)}function T8(e){let t=e.tabIndex;if(t<0){let c=Hc(e);if(c==="details"||c==="audio"||c==="video"||st(e)&&e.isContentEditable)return 0}return t}function jJ(e){if(Hc(e)!=="input")return null;let t=e;return t.type==="radio"&&t.name!==""?t:null}function mhe(e,t){let c=jJ(e);if(!c)return!0;let n=t.find(l=>{let o=jJ(l);return o?.name===c.name&&o.form===c.form&&o.checked});return n?n===c:t.find(l=>{let o=jJ(l);return o?.name===c.name&&o.form===c.form})===c}function A8(e){if(st(e)&&Hc(e)==="slot"){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return st(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function O8(e,t){A8(e).forEach(c=>{k8(c)&&t.push(c),O8(c,t)})}function Q8(e,t,c){A8(e).forEach(n=>{st(n)&&n.matches(t)&&c.push(n),Q8(n,t,c)})}function rW(e){return z8(e)&&T8(e)>=0}function PJ(e){let t=[];return O8(e,t),t.filter(z8)}function P0(e){let t=PJ(e);return t.filter(c=>T8(c)>=0&&mhe(c,t))}function U8(e,t){let c=P0(e),n=c.length;if(n===0)return;let l=Uc(je(e)),o=c.indexOf(l),d=o===-1?t===1?0:n-1:o+t;return c[d]}function K0(e){return U8(je(e).body,1)||e}function aW(e){return U8(je(e).body,-1)||e}function E8(e,t){if(!e)return null;let c=P0(je(e).body),n=c.length;if(n===0)return null;let l=c.indexOf(e);if(l===-1)return null;let o=(l+t+n)%n;return c[o]}function L8(e){return E8(e,1)}function D8(e){return E8(e,-1)}function Xr(e,t){let c=t||e.currentTarget,n=e.relatedTarget;return!n||!Se(c,n)}function _8(e){P0(e).forEach(c=>{c.dataset.tabindex=c.getAttribute("tabindex")||"",c.setAttribute("tabindex","-1")})}function KJ(e){let t=[];Q8(e,"[data-tabindex]",t),t.forEach(c=>{let n=c.dataset.tabindex;delete c.dataset.tabindex,n?c.setAttribute("tabindex",n):c.removeAttribute("tabindex")})}function Zo(e,t,c=!0){return e.filter(l=>l.parentId===t).flatMap(l=>[...!c||l.context?.open?[l]:[],...Zo(e,l.id,c)])}function qJ(e,t){let c=[],n=e.find(l=>l.id===t)?.parentId;for(;n;){let l=e.find(o=>o.id===n);n=l?.parentId,l&&(c=c.concat(l))}return c}function Gr(e){return`data-base-ui-${e}`}var sW=0;function q0(e,t={}){let{preventScroll:c=!1,sync:n=!1,shouldFocus:l}=t;cancelAnimationFrame(sW);function o(){l&&!l()||e?.focus({preventScroll:c})}if(n)return o(),tn;let d=requestAnimationFrame(o);return sW=d,()=>{sW===d&&(cancelAnimationFrame(d),sW=0)}}var $J={inert:new WeakMap,"aria-hidden":new WeakMap},j8="data-base-ui-inert",tY={inert:new WeakSet,"aria-hidden":new WeakSet},Kx=new WeakMap,eY=0;function Xhe(e){return tY[e]}function q8(e){return e?Fd(e)?e.host:q8(e.parentNode):null}var M8=(e,t)=>t.map(c=>{if(e.contains(c))return c;let n=q8(c);return e.contains(n)?n:null}).filter(c=>c!=null),P8=e=>{let t=new Set;return e.forEach(c=>{let n=c;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},K8=(e,t,c)=>{let n=[],l=o=>{!o||c.has(o)||Array.from(o.children).forEach(d=>{Hc(d)!=="script"&&(t.has(d)?l(d):n.push(d))})};return l(e),n};function Ghe(e,t,c,n,{mark:l=!0}){let o=null;n?o="inert":c&&(o="aria-hidden");let d=null,i=null,r=M8(t,e),a=l?K8(t,P8(r),new Set(r)):[],s=[],b=[];if(o){let m=$J[o],X=Xhe(o);i=X,d=m;let G=M8(t,Array.from(t.querySelectorAll("[aria-live]"))),g=r.concat(G);K8(t,P8(g),new Set(g)).forEach(H=>{let p=H.getAttribute(o),R=p!==null&&p!=="false",I=(m.get(H)||0)+1;m.set(H,I),s.push(H),I===1&&R&&X.add(H),R||H.setAttribute(o,o==="inert"?"":"true")})}return l&&a.forEach(m=>{let X=(Kx.get(m)||0)+1;Kx.set(m,X),b.push(m),X===1&&m.setAttribute(j8,"")}),eY+=1,()=>{d&&s.forEach(m=>{let G=(d.get(m)||0)-1;d.set(m,G),G||(!i?.has(m)&&o&&m.removeAttribute(o),i?.delete(m))}),l&&b.forEach(m=>{let X=(Kx.get(m)||0)-1;Kx.set(m,X),X||m.removeAttribute(j8)}),eY-=1,eY||($J.inert=new WeakMap,$J["aria-hidden"]=new WeakMap,tY.inert=new WeakSet,tY["aria-hidden"]=new WeakSet,Kx=new WeakMap)}}function cY(e,t={}){let{ariaHidden:c=!1,inert:n=!1,mark:l=!0}=t,o=je(e[0]).body;return Ghe(e,o,c,n,{mark:l})}var tc=u(E(),1),nY=u(io(),1);var $8={style:{transition:"none"}},eK="data-base-ui-click-trigger",ghe="data-base-ui-swipe-ignore",xhe="data-swipe-ignore",zyt=`[${ghe}]`,Tyt=`[${xhe}]`,tK={fallbackAxisSide:"none"},cK={fallbackAxisSide:"end"},nK={clipPath:"inset(50%)",position:"fixed",top:0,left:0};var Qb=u(F(),1),lK=tc.createContext(null),lY=()=>tc.useContext(lK),phe=Gr("portal");function oK(e={}){let{ref:t,container:c,componentProps:n=Gt,elementProps:l}=e,o=br(),i=lY()?.portalNode,[r,a]=tc.useState(null),[s,b]=tc.useState(null),m=Ie(x=>{x!==null&&b(x)}),X=tc.useRef(null);Xe(()=>{if(c===null){X.current&&(X.current=null,b(null),a(null));return}let x=(c&&(IH(c)?c:c.current))??i??document.body;if(x==null){X.current&&(X.current=null,b(null),a(null));return}X.current!==x&&(X.current=x,b(null),a(x))},[c,i]);let G=it("div",n,{ref:[t,m],props:[{id:o,[phe]:""},l]}),g=r&&G?nY.createPortal(G,r):null;return{node:s,nodeId:tc.isValidElement(G)?G.props.id:void 0,subtree:g}}var oY=tc.forwardRef(function(t,c){let{render:n,className:l,style:o,children:d,container:i,portalOwnerRole:r,...a}=t,{node:s,nodeId:b,subtree:m}=oK({container:i,ref:c,componentProps:t,elementProps:a}),X=tc.useRef(null),G=tc.useRef(null),g=tc.useRef(null),x=tc.useRef(null),[H,p]=tc.useState(null),R=tc.useRef(!1),I=H?.modal,f=H?.open,y=!!H&&!H.modal&&H.open&&!!s;tc.useEffect(()=>{if(!s||I)return;function W(v){s&&v.relatedTarget&&Xr(v)&&(v.type==="focusin"?R.current&&(KJ(s),R.current=!1):(_8(s),R.current=!0))}return Yn(tt(s,"focusin",W,!0),tt(s,"focusout",W,!0))},[s,I]),Xe(()=>{!s||f!==!0||!R.current||(KJ(s),R.current=!1)},[f,s]);let Z=tc.useMemo(()=>({beforeOutsideRef:X,afterOutsideRef:G,beforeInsideRef:g,afterInsideRef:x,portalNode:s,setFocusManagerState:p}),[s]);return(0,Qb.jsxs)(tc.Fragment,{children:[m,(0,Qb.jsxs)(lK.Provider,{value:Z,children:[y&&s&&(0,Qb.jsx)(mr,{"data-type":"outside",ref:X,onFocus:W=>{if(Xr(W,s))g.current?.focus();else{let v=H?H.domReference:null;aW(v)?.focus()}}}),y&&s&&(0,Qb.jsx)("span",{role:r,"aria-owns":b,style:nK}),s&&nY.createPortal(d,s),y&&s&&(0,Qb.jsx)(mr,{"data-type":"outside",ref:G,onFocus:W=>{if(Xr(W,s))x.current?.focus();else{let v=H?H.domReference:null;K0(v)?.focus(),H?.closeOnFocusOut&&H?.onOpenChange(!1,_e(fe.focusOut,W.nativeEvent))}}})]})]})});var Oa=u(E(),1);function bW(){let e=new Map;return{emit(t,c){e.get(t)?.forEach(n=>n(c))},on(t,c){e.has(t)||e.set(t,new Set),e.get(t).add(c)},off(t,c){e.get(t)?.delete(c)}}}var Aa=class{nodesRef={current:[]};events=bW();addNode(t){this.nodesRef.current.push(t)}removeNode(t){let c=this.nodesRef.current.findIndex(n=>n===t);c!==-1&&this.nodesRef.current.splice(c,1)}};var dY=u(F(),1),dK=Oa.createContext(null),iK=Oa.createContext(null),od=()=>Oa.useContext(dK)?.id||null,Nn=e=>{let t=Oa.useContext(iK);return e??t};function qx(e){let t=br(),c=Nn(e),n=od();return Xe(()=>{if(!t)return;let l={id:t,parentId:n};return c?.addNode(l),()=>{c?.removeNode(l)}},[c,t,n]),t}function iY(e){let{children:t,id:c}=e,n=od();return(0,dY.jsx)(dK.Provider,{value:Oa.useMemo(()=>({id:c,parentId:n}),[c,n]),children:t})}function rY(e){let{children:t,externalTree:c}=e,n=oc(()=>c??new Aa).current;return(0,dY.jsx)(iK.Provider,{value:n,children:t})}var $x=u(F(),1);function Rhe(e,t){let c=ht(xc(e));return e instanceof c.KeyboardEvent?"keyboard":e instanceof c.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof c.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}var rK=20,Qa=[];function aY(){Qa=Qa.filter(e=>e.deref()?.isConnected)}function aK(e){aY(),e&&Hc(e)!=="body"&&(Qa.push(new WeakRef(e)),Qa.length>rK&&(Qa=Qa.slice(-rK)))}function sK(){return aY(),Qa[Qa.length-1]?.deref()}function Hhe(e){return e?rW(e)?e:P0(e)[0]||e:null}function bK(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let c=PJ(e).filter(l=>{let o=l.getAttribute("data-tabindex")||"";return rW(l)||l.hasAttribute("data-tabindex")&&!o.startsWith("-")}),n=e.getAttribute("tabindex");c.length===0?n!=="0"&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):(n!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function sY(e){let{context:t,children:c,disabled:n=!1,initialFocus:l=!0,returnFocus:o=!0,restoreFocus:d=!1,modal:i=!0,closeOnFocusOut:r=!0,openInteractionType:a="",nextFocusableElement:s,previousFocusableElement:b,beforeContentFocusGuardRef:m,externalTree:X,getInsideElements:G}=e,g="rootStore"in t?t.rootStore:t,x=g.useState("open"),H=g.useState("domReferenceElement"),p=g.useState("floatingElement"),{events:R,dataRef:I}=g.context,f=Ie(()=>I.current.floatingContext?.nodeId),y=l===!1,Z=jx(H)&&y,W=ac(l),v=ac(o),h=ac(a),C=ac(x),B=Nn(X),V=lY(),S=Sn.useRef(!1),Y=Sn.useRef(!1),J=Sn.useRef(!1),k=Sn.useRef(null),N=Sn.useRef(""),A=Sn.useRef(""),Q=Sn.useRef(null),z=Sn.useRef(null),D=ri(Q,m,V?.beforeInsideRef),U=ri(z,V?.afterInsideRef),O=gc(),L=gc(),M=Ul(),_=V!=null,j=Mx(p),ue=Ie((P=j)=>P?P0(P):[]),xe=Ie(()=>G?.().filter(P=>P!=null)??[]);Sn.useEffect(()=>{if(n||!i)return;function P(Te){Te.key==="Tab"&&Se(j,Uc(je(j)))&&ue().length===0&&!Z&&El(Te)}let ye=je(j);return tt(ye,"keydown",P)},[n,j,i,Z,ue]),Sn.useEffect(()=>{if(n||!x)return;let P=je(j);function ye(){J.current=!1}function Te(Ne){let He=xc(Ne),we=xe(),pe=Se(p,He)||Se(H,He)||Se(V?.portalNode,He)||we.some(ve=>ve===He||Se(ve,He));J.current=!pe,A.current=Ne.pointerType||"keyboard",He?.closest(`[${eK}]`)&&(Y.current=!0,L.start(0,()=>{Y.current=!1}))}function ze(){A.current="keyboard"}return Yn(tt(P,"pointerdown",Te,!0),tt(P,"pointerup",ye,!0),tt(P,"pointercancel",ye,!0),tt(P,"keydown",ze,!0),ye)},[n,p,H,j,x,V,L,xe]),Sn.useEffect(()=>{if(n||!r)return;let P=je(j);function ye(){Y.current=!0,L.start(0,()=>{Y.current=!1})}function Te(we){let pe=xc(we);rW(pe)&&(k.current=pe)}function ze(we){let pe=we.relatedTarget,ve=we.currentTarget,Ve=xc(we);i&&pe==null&&Ve!=null&&Se(p,Ve)&&aK(Ve),queueMicrotask(()=>{let qe=f(),Vt=g.context.triggerElements,Ge=xe(),We=pe?.hasAttribute(Gr("focus-guard"))&&[Q.current,z.current,V?.beforeInsideRef.current,V?.afterInsideRef.current,V?.beforeOutsideRef.current,V?.afterOutsideRef.current,ld(b),ld(s)].includes(pe),se=!(Se(H,pe)||Se(p,pe)||Se(pe,p)||Se(V?.portalNode,pe)||Ge.some(ee=>ee===pe||Se(ee,pe))||Vt.hasMatchingElement(ee=>Se(ee,pe))||We||B&&(Zo(B.nodesRef.current,qe).find(ee=>Se(ee.context?.elements.floating,pe)||Se(ee.context?.elements.domReference,pe))||qJ(B.nodesRef.current,qe).find(ee=>[ee.context?.elements.floating,Mx(ee.context?.elements.floating)].includes(pe)||ee.context?.elements.domReference===pe)));if(ve===H&&j&&bK(j),d&&ve!==H&&!Ob(Ve)&&Uc(P)===P.body){if(st(j)&&(j.focus(),d==="popup")){M.request(()=>{j.focus()});return}let ee=ue(),Ae=k.current,ot=(Ae&&ee.includes(Ae)?Ae:null)||ee[ee.length-1]||j;st(ot)&&ot.focus()}if(I.current.insideReactTree){I.current.insideReactTree=!1;return}(Z||!i)&&pe&&se&&!Y.current&&(Z||pe!==sK())&&(S.current=!0,g.setOpen(!1,_e(fe.focusOut,we)))})}function Ne(){J.current||(I.current.insideReactTree=!0,O.start(0,()=>{I.current.insideReactTree=!1}))}let He=st(H)?H:null;if(!(!p&&!He))return Yn(He&&tt(He,"focusout",ze),He&&tt(He,"pointerdown",ye),p&&tt(p,"focusin",Te),p&&tt(p,"focusout",ze),p&&V&&tt(p,"focusout",Ne,!0))},[n,H,p,j,i,B,V,g,r,d,ue,Z,f,I,O,L,M,s,b,xe]),Sn.useEffect(()=>{if(n||!p||!x)return;let P=Array.from(V?.portalNode?.querySelectorAll(`[${Gr("portal")}]`)||[]),Te=(B?qJ(B.nodesRef.current,f()):[]).find(ve=>jx(ve.context?.elements.domReference||null))?.context?.elements.domReference,Ne=[...[p,...P,Q.current,z.current,V?.beforeOutsideRef.current,V?.afterOutsideRef.current,...xe()],Te,ld(b),ld(s),Z?H:null].filter(ve=>ve!=null),He=cY(Ne,{ariaHidden:i||Z,mark:!1}),we=[p,...P].filter(ve=>ve!=null),pe=cY(we);return()=>{pe(),He()}},[x,n,H,p,i,V,Z,B,f,s,b,xe]),Xe(()=>{if(!x||n||!st(j))return;N.current="",A.current="";let P=je(j),ye=Uc(P);queueMicrotask(()=>{let Te=W.current,ze=typeof Te=="function"?Te(h.current||""):Te;if(ze===void 0||ze===!1||Se(j,ye))return;let He=null,we=()=>(He==null&&(He=ue(j)),He[0]||j),pe;ze===!0||ze===null?pe=we():pe=ld(ze),pe=pe||we();let ve=Se(j,Uc(P));q0(pe,{preventScroll:pe===j,shouldFocus(){if(!C.current)return!1;if(ve)return!0;let Ve=Uc(P);return!(Ve!==pe&&Se(j,Ve))}})})},[n,x,j,ue,W,h,C]),Xe(()=>{if(n||!j)return;let P=je(j),ye=Uc(P),Te=h.current==null;aK(ye);function ze(He){if(He.open||(N.current=Rhe(He.nativeEvent,A.current)),He.reason===fe.triggerHover&&He.nativeEvent.type==="mouseleave"&&(S.current=!0),He.reason===fe.outsidePress)if(He.nested)S.current=!1;else if(j0(He.nativeEvent)||M0(He.nativeEvent))S.current=!1;else{let we=!1;je(j).createElement("div").focus({get preventScroll(){return we=!0,!1}}),we?S.current=!1:S.current=!0}}R.on("openchange",ze);function Ne(He){let we=v.current,pe=typeof we=="function"?we(He):we;if(pe===void 0||pe===!1)return null;pe===null&&(pe=!0);let ve=H?.isConnected?H:null,Ve=ye?.isConnected&&Hc(ye)!=="body"?ye:null,qe=Te?Ve||ve:ve||Ve;return qe||(qe=sK()||null),typeof pe=="boolean"?qe:ld(pe)||qe||null}return()=>{R.off("openchange",ze);let He=Uc(P),we=xe(),pe=Se(p,He)||we.some(Vt=>Vt===He||Se(Vt,He))||B&&Zo(B.nodesRef.current,f(),!1).some(Vt=>Se(Vt.context?.elements.floating,He)),ve=v.current,Ve=N.current,qe=Ne(Ve);queueMicrotask(()=>{let Vt=Hhe(qe),Ge=typeof ve!="boolean";if(ve&&!S.current&&st(Vt)&&(!(!Ge&&Vt!==He&&He!==P.body)||pe)){let We={preventScroll:!0};Ve==="keyboard"&&(We.focusVisible=!0),Vt.focus(We)}S.current=!1})}},[n,p,j,v,h,R,B,H,f,xe]),Xe(()=>{if(!vt.engine.webkit||x||!p)return;let P=Uc(je(p));!st(P)||!Tb(P)||Se(p,P)&&P.blur()},[x,p]),Xe(()=>{if(!(n||!V))return V.setFocusManagerState({modal:i,closeOnFocusOut:r,open:x,onOpenChange:g.setOpen,domReference:H}),()=>{V.setFocusManagerState(null)}},[n,V,i,x,g,r,H]),Xe(()=>{if(!(n||!j))return bK(j),()=>{queueMicrotask(aY)}},[n,j]);let Be=!n&&(i?!Z:!0)&&(_||i);return(0,$x.jsxs)(Sn.Fragment,{children:[Be&&(0,$x.jsx)(mr,{"data-type":"inside",ref:D,onFocus:P=>{if(i){let ye=ue();q0(ye[ye.length-1])}else V?.portalNode&&(S.current=!1,Xr(P,V.portalNode)?K0(H)?.focus():ld(b??V.beforeOutsideRef)?.focus())}}),c,Be&&(0,$x.jsx)(mr,{"data-type":"inside",ref:U,onFocus:P=>{i?q0(ue()[0]):V?.portalNode&&(r&&(S.current=!0),Xr(P,V.portalNode)?aW(H)?.focus():ld(s??V.afterOutsideRef)?.focus())}})]})}var ep=u(E(),1);function tp(e,t={}){let{enabled:c=!0,event:n="click",toggle:l=!0,ignoreMouse:o=!1,stickIfOpen:d=!0,touchOpenDelay:i=0,reason:r=fe.triggerPress}=t,a="rootStore"in e?e.rootStore:e,s=a.context.dataRef,b=ep.useRef(void 0),m=Ul(),X=gc(),G=ep.useMemo(()=>{function g(H,p,R,I){let f=_e(r,p,R);H&&I==="touch"&&i>0?X.start(i,()=>{a.setOpen(!0,f)}):a.setOpen(H,f)}function x(H,p,R){let I=s.current.openEvent,f=a.select("domReferenceElement")!==p;return H&&f||!H||!l?!0:I&&d?!R(I.type):!1}return{onPointerDown(H){b.current=ur(H.pointerType,!0)&&M0(H.nativeEvent)?"virtual":H.pointerType},onMouseDown(H){let p=b.current,R=H.nativeEvent,I=a.select("open");if(H.button!==0||n==="click"||ur(p,!0)&&o)return;let f=x(I,H.currentTarget,W=>W==="click"||W==="mousedown"),y=xc(R);if(Tb(y)){g(f,R,y,p);return}let Z=H.currentTarget;m.request(()=>{g(f,R,Z,p)})},onClick(H){if(n==="mousedown-only")return;let p=b.current;if(n==="mousedown"&&p){b.current=void 0;return}if(ur(p,!0)&&o)return;let R=a.select("open"),I=x(R,H.currentTarget,f=>f==="click"||f==="mousedown"||f==="keydown"||f==="keyup");g(I,H.nativeEvent,H.currentTarget,p)},onKeyDown(){b.current=void 0}}},[s,n,o,r,a,d,l,m,X,i]);return ep.useMemo(()=>c?{reference:G}:Gt,[c,G])}var nl=u(E(),1);function Ihe(){return!1}function Zhe(e){return{escapeKey:typeof e=="boolean"?e:e?.escapeKey??!1,outsidePress:typeof e=="boolean"?e:e?.outsidePress??!0}}function bY(e,t={}){let{enabled:c=!0,escapeKey:n=!0,outsidePress:l=!0,outsidePressEvent:o="sloppy",referencePress:d=Ihe,bubbles:i,externalTree:r}=t,a="rootStore"in e?e.rootStore:e,s=a.useState("open"),b=a.useState("floatingElement"),{dataRef:m,events:X}=a.context,G=Nn(r),g=Ie(typeof l=="function"?l:()=>!1),x=typeof l=="function"?g:l,H=x!==!1,p=Ie(()=>o),{escapeKey:R,outsidePress:I}=Zhe(i),f=nl.useRef(!1),y=nl.useRef(!1),Z=nl.useRef(!1),W=nl.useRef(!1),v=nl.useRef(!1),h=nl.useRef(""),C=nl.useRef(null),B=gc(),V=gc(),S=Ie(()=>{V.clear(),m.current.insideReactTree=!1}),Y=Ie(O=>{let L=m.current.floatingContext?.nodeId;return(G?Zo(G.nodesRef.current,L):[]).some(_=>_.context?.open&&!_.context.dataRef.current[O])}),J=Ie(O=>lW(O,a.select("floatingElement"))||lW(O,a.select("domReferenceElement"))),k=Ie(O=>{d()&&a.setOpen(!1,_e(fe.triggerPress,O.nativeEvent))}),N=Ie(O=>{if(!s||!c||!n||O.key!=="Escape"||v.current||!R&&Y("__escapeKeyBubbles"))return;let L=W8(O)?O.nativeEvent:O,M=_e(fe.escapeKey,L);a.setOpen(!1,M),M.isCanceled||O.preventDefault(),!R&&!M.isPropagationAllowed&&O.stopPropagation()}),A=Ie(()=>{m.current.insideReactTree=!0,V.start(0,S)}),Q=Ie(O=>{if(!s||!c||O.button!==0)return;let L=xc(O.nativeEvent);Se(a.select("floatingElement"),L)&&(f.current||(f.current=!0,y.current=!1))}),z=Ie(O=>{!s||!c||(O.defaultPrevented||O.nativeEvent.defaultPrevented)&&f.current&&(y.current=!0)});nl.useEffect(()=>{function O(L){L.open||(W.current=!1)}return X.on("openchange",O),()=>{X.off("openchange",O)}},[X]),nl.useEffect(()=>{if(!s||!c)return s||(W.current=!1),S;m.current.__escapeKeyBubbles=R,m.current.__outsidePressBubbles=I;let O=new Bl,L=new Bl,M=je(b);function _(){O.clear(),v.current=!0}function j(){O.start(vt.engine.webkit?5:0,()=>{v.current=!1})}function ue(){Z.current=!0,L.start(0,()=>{Z.current=!1})}function xe(){f.current=!1,y.current=!1}function Be(){let se=h.current,ee=se==="pen"||!se?"mouse":se,Ae=p(),ot=typeof Ae=="function"?Ae():Ae;return typeof ot=="string"?ot:ot[ee]}function P(se){let ee=Be();return ee==="intentional"&&se.type!=="click"||ee==="sloppy"&&se.type==="click"}function ye(se){let ee=m.current.floatingContext?.nodeId,Ae=G&&Zo(G.nodesRef.current,ee).some(ot=>lW(se,ot.context?.elements.floating));return J(se)||Ae}function Te(se){if(P(se)){se.type!=="click"&&!J(se)&&(L.clear(),Z.current=!1),S();return}if(m.current.insideReactTree){S();return}let ee=xc(se),Ae=`[${Gr("inert")}]`,ot=ct(ee)?ee.getRootNode():null,ft=Array.from((Fd(ot)?ot:je(a.select("floatingElement"))).querySelectorAll(Ae)),Lt=a.context.triggerElements;if(ee&&(Lt.hasElement(ee)||Lt.hasMatchingElement(Ye=>Se(Ye,ee))))return;let kc=ct(ee)?ee:null;for(;kc&&!ao(kc);){let Ye=ro(kc);if(ao(Ye)||!ct(Ye))break;kc=Ye}if(!(ft.length&&ct(ee)&&!F8(ee)&&!Se(ee,a.select("floatingElement"))&&ft.every(Ye=>!Se(kc,Ye)))){if(st(ee)&&!("touches"in se)){let Ye=ao(ee),le=Oc(ee),Fe=/auto|scroll/,Qe=Ye||Fe.test(le.overflowX),he=Ye||Fe.test(le.overflowY),Ke=Qe&&ee.clientWidth>0&&ee.scrollWidth>ee.clientWidth,ut=he&&ee.clientHeight>0&&ee.scrollHeight>ee.clientHeight,kt=le.direction==="rtl",al=ut&&(kt?se.offsetX<=ee.offsetWidth-ee.clientWidth:se.offsetX>ee.clientWidth),$e=Ke&&se.offsetY>ee.clientHeight;if(al||$e)return}if(!ye(se)){if(Be()==="intentional"){if(se.detail!==0&&!j0(se)&&!W.current)return;if(Z.current){L.clear(),Z.current=!1;return}}typeof x=="function"&&!x(se)||Y("__outsidePressBubbles")||(a.setOpen(!1,_e(fe.outsidePress,se)),S())}}}function ze(se){Be()!=="sloppy"||se.pointerType==="touch"||!a.select("open")||!c||J(se)||Te(se)}function Ne(se){if(Be()!=="sloppy"||!a.select("open")||!c||J(se))return;let ee=se.touches[0];ee&&(C.current={startTime:Date.now(),startX:ee.clientX,startY:ee.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},B.start(1e3,()=>{C.current&&(C.current.dismissOnTouchEnd=!1,C.current.dismissOnMouseDown=!1)}))}function He(se,ee){let Ae=xc(se);if(!Ae)return;let ot=tt(Ae,se.type,()=>{ee(se),ot()})}function we(se){h.current="touch",He(se,Ne)}function pe(se){B.clear(),se.type==="pointerdown"&&(se.button===0&&(W.current=!0),h.current=se.pointerType),!(se.type==="mousedown"&&C.current&&!C.current.dismissOnMouseDown)&&He(se,ee=>{ee.type==="pointerdown"?ze(ee):Te(ee)})}function ve(se){if(se.type==="pointercancel"&&(W.current=!1),!f.current)return;let ee=y.current;if(xe(),Be()==="intentional"){if(se.type==="pointercancel"){ee&&ue();return}if(!ye(se)){if(ee){ue();return}typeof x=="function"&&!x(se)||(L.clear(),Z.current=!0,S())}}}function Ve(se){if(Be()!=="sloppy"||!C.current||J(se))return;let ee=se.touches[0];if(!ee)return;let Ae=Math.abs(ee.clientX-C.current.startX),ot=Math.abs(ee.clientY-C.current.startY),ft=Math.sqrt(Ae*Ae+ot*ot);ft>5&&(C.current.dismissOnTouchEnd=!0),ft>10&&(Te(se),B.clear(),C.current=null)}function qe(se){He(se,Ve)}function Vt(se){Be()!=="sloppy"||!C.current||J(se)||(C.current.dismissOnTouchEnd&&Te(se),B.clear(),C.current=null)}function Ge(se){He(se,Vt)}let We=Yn(n&&Yn(tt(M,"keydown",N),tt(M,"compositionstart",_),tt(M,"compositionend",j)),H&&Yn(tt(M,"click",pe,!0),tt(M,"pointerdown",pe,!0),tt(M,"pointerup",ve,!0),tt(M,"pointercancel",ve,!0),tt(M,"mousedown",pe,!0),tt(M,"mouseup",ve,!0),tt(M,"touchstart",we,{capture:!0,passive:!0}),tt(M,"touchmove",qe,{capture:!0,passive:!0}),tt(M,"touchend",Ge,{capture:!0,passive:!0})));return()=>{We(),O.clear(),L.clear(),xe(),Z.current=!1,S()}},[m,b,n,H,x,s,c,R,I,N,S,p,Y,J,G,a,B]);let D=nl.useMemo(()=>({onKeyDown:N,onPointerDown:k,onClick:k}),[N,k]),U=nl.useMemo(()=>({onKeyDown:N,onPointerDown:z,onMouseDown:z,onClickCapture:A,onMouseDownCapture(O){A(),Q(O)},onPointerDownCapture(O){A(),Q(O)},onMouseUpCapture:A,onTouchEndCapture:A,onTouchMoveCapture:A}),[N,A,Q,z]);return nl.useMemo(()=>c?{reference:D,floating:U,trigger:D}:{},[c,D,U])}var wn=u(E(),1);var uW=class{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(t,c,n=!0){this.fallbackStore=t,this.componentName=c,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(t){return this.storeListeners.add(t),()=>{this.storeListeners.delete(t)}}attachStore(t){return this.attachedStores.push(t),this.setActiveStore(t),()=>{let c=this.attachedStores.lastIndexOf(t);c!==-1&&this.attachedStores.splice(c,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(t){this.attachedStoreValue!==t&&(this.attachedStoreValue=t,this.storeListeners.forEach(c=>{c()}))}openByTrigger(t){let c=this.attachedStore;if(c===null)return;let n;if(t){for(let l=this.attachedStores.length-1;l>=0&&!n;l-=1)n=this.attachedStores[l].context.triggerElements.getById(t);n??=this.fallbackStore.context.triggerElements.getById(t)}if(t&&!n&&this.throwOnMissingTrigger)throw new Error(St(99,this.componentName,t,this.componentName));c.setOpen(!0,_e(fe.imperativeAction,void 0,n))}closePopup(){let t=this.attachedStore;t!==null&&t.setOpen(!1,_e(fe.imperativeAction))}};var xY=u(E(),1),zhe=u(io(),1);var ZK=u(E(),1);var HK=u(E(),1),GY=u(iG(),1),IK=u(GK(),1);var gK=u(E(),1);var uY=[],mY;function xK(){return mY}function pK(e){uY.push(e)}function XY(e){let t=(c,n)=>{let l=oc(Fhe).current,o;try{mY=l;for(let d of uY)d.before(l);o=e(c,n);for(let d of uY)d.after(l);l.didInitialize=!0}finally{mY=void 0}return o};return t.displayName=e.displayName||e.name,t}function RK(e){return gK.forwardRef(XY(e))}function Fhe(){return{didInitialize:!1}}var Jhe=Q0(19),Yhe=Jhe?She:whe;function XW(e,t,c,n,l){return Yhe(e,t,c,n,l)}function Nhe(e,t,c,n,l){let o=HK.useCallback(()=>t(e.getSnapshot(),c,n,l),[e,t,c,n,l]);return(0,GY.useSyncExternalStore)(e.subscribe,o,o)}pK({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let c=0;c<e.syncHooks.length;c+=1){let n=e.syncHooks[c],l=n.selector(n.store.state,n.a1,n.a2,n.a3);Object.is(n.value,l)||(t=!0,n.value=l)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let c=new Set;for(let l of e.syncHooks)c.add(l.store);let n=[];for(let l of c)n.push(l.subscribe(t));return()=>{for(let l of n)l()}}),(0,GY.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function She(e,t,c,n,l){let o=xK();if(!o)return Nhe(e,t,c,n,l);let d=o.syncIndex;o.syncIndex+=1;let i;return o.didInitialize?(i=o.syncHooks[d],(i.store!==e||i.selector!==t||!Object.is(i.a1,c)||!Object.is(i.a2,n)||!Object.is(i.a3,l))&&(i.store!==e&&(o.didChangeStore=!0),i.store=e,i.selector=t,i.a1=c,i.a2=n,i.a3=l,i.value=t(e.getSnapshot(),c,n,l))):(i={store:e,selector:t,a1:c,a2:n,a3:l,value:t(e.getSnapshot(),c,n,l)},o.syncHooks.push(i)),i.value}function whe(e,t,c,n,l){return(0,IK.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,o=>t(o,c,n,l))}var GW=class{static create(t){return new this(t)}constructor(t){this.state=t,this.listeners=new Set,this.updateTick=0}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.state;setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;let c=this.updateTick;for(let n of this.listeners){if(c!==this.updateTick)return;n(t)}}update(t){for(let c in t)if(!Object.is(this.state[c],t[c])){this.setState({...this.state,...t});return}}set(t,c){Object.is(this.state[t],c)||this.setState({...this.state,[t]:c})}notifyAll(){let t={...this.state};this.setState(t)}use(t,c,n,l){return XW(this,t,c,n,l)}};var Ub=u(E(),1);var Ua=class extends GW{constructor(t,c={},n){super(t),this.context=c,this.selectors=n}useSyncedValue(t,c){Ub.useDebugValue(t);let n=this;Xe(()=>{n.state[t]!==c&&n.set(t,c)},[n,t,c])}useSyncedValueWithCleanup(t,c){let n=this;Xe(()=>(n.state[t]!==c&&n.set(t,c),()=>{n.set(t,void 0)}),[n,t,c])}useSyncedValues(t){let c=this,n=Object.values(t);Xe(()=>{c.update(t)},[c,...n])}useControlledProp(t,c){Ub.useDebugValue(t);let n=this,l=c!==void 0;Xe(()=>{l&&!Object.is(n.state[t],c)&&n.setState({...n.state,[t]:c})},[n,t,c,l])}select(t,c,n,l){let o=this.selectors[t];return o(this.state,c,n,l)}useState(t,c,n,l){return Ub.useDebugValue(t),XW(this,this.selectors[t],c,n,l)}useContextCallback(t,c){Ub.useDebugValue(t);let n=Ie(c??tn);this.context[t]=n}useStateSetter(t){let c=Ub.useRef(void 0);return c.current===void 0&&(c.current=n=>{this.set(t,n)}),c.current}observe(t,c){let n;typeof t=="function"?n=t:n=this.selectors[t];let l=n(this.state);return c(l,l,this),this.subscribe(o=>{let d=n(o);if(!Object.is(l,d)){let i=l;l=d,c(d,i,this)}})}};var khe={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},$0=class extends Ua{constructor(t){let{syncOnly:c,nested:n,onOpenChange:l,triggerElements:o,...d}=t;super({...d,positionReference:d.referenceElement,domReferenceElement:d.referenceElement},{onOpenChange:l,dataRef:{current:{}},events:bW(),nested:n,triggerElements:o},khe),this.syncOnly=c}syncOpenEvent=(t,c)=>{(!t||!this.state.open||c!=null&&h8(c))&&(this.context.dataRef.current.openEvent=t?c:void 0)};dispatchOpenChange=(t,c)=>{this.syncOpenEvent(t,c.event);let n={open:t,reason:c.reason,nativeEvent:c.event,nested:this.context.nested,triggerElement:c.trigger};this.context.events.emit("openchange",n)};setOpen=(t,c)=>{if(this.syncOnly){this.context.onOpenChange?.(t,c);return}this.dispatchOpenChange(t,c),this.context.onOpenChange?.(t,c)}};function gY(e){let{popupStore:t,treatPopupAsFloatingElement:c=!1,floatingRootContext:n,floatingId:l,nested:o,onOpenChange:d}=e,i=t.useState("open"),r=t.useState("activeTriggerElement"),a=t.useState(c?"popupElement":"positionerElement"),s=t.context.triggerElements,b=d,m=ZK.useRef(null);n===void 0&&m.current===null&&(m.current=new $0({open:i,transitionStatus:void 0,referenceElement:r,floatingElement:a,triggerElements:s,onOpenChange:b,floatingId:l,syncOnly:!0,nested:o}));let X=n??m.current;return t.useSyncedValue("floatingId",l),Xe(()=>{let G={open:i,floatingId:l,referenceElement:r,floatingElement:a};ct(r)&&(G.domReferenceElement=r),X.state.positionReference===X.state.referenceElement&&(G.positionReference=r),X.update(G)},[i,l,r,a,X]),X.context.onOpenChange=b,X.context.nested=o,X}var yK={tabIndex:-1,[Ex]:""};function WK({handle:e,store:t}){return Xe(()=>e.attachStore(t),[e,t]),null}function fK(e){let t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function pY(e,t){let c=xY.useRef(null);return Ie(n=>{let l=c.current;if(l!==null){if(l.element===n&&l.store===t&&l.id===e)return;c.current=null;let o=l.store;o.context.triggerElements.getById(l.id)===l.element&&(o.context.triggerElements.delete(l.id),fK(o))}n!==null&&e!==void 0&&(c.current={store:t,id:e,element:n},t.context.triggerElements.add(e,n),fK(t))})}function hK(e,t,c,n=!1){let l=e.preventUnmountingOnClose;t?l=!1:n&&(l=!0);let o=c?.id??null,d=e.activeTriggerId,i=e.activeTriggerElement;return(o||t)&&(d=o,i=c??null),{open:t,preventUnmountingOnClose:l,activeTriggerId:d,activeTriggerElement:i}}function BK(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function vK(e,t,c,n){let l=c.useState("isMountedByTrigger",e),o=pY(e,c),d=Ie(r=>{let a=c.select("open"),s=c.select("activeTriggerId");if(s===e){let b={activeTriggerElement:r,...a?n:null};c.update(b);return}if(s==null&&a){let b={activeTriggerId:e??null,activeTriggerElement:r,...n};c.update(b)}}),i=Ie(r=>{o(r),r&&d(r)});return Xe(()=>(i(t.current),()=>i(null)),[i,t,c,e]),Xe(()=>{if(l){let r={activeTriggerElement:t.current,...n};c.update(r)}},[l,c,t,...Object.values(n)]),{registerTrigger:i,isMountedByThisTrigger:l}}function VK(e,t={}){let{closeOnActiveTriggerUnmount:c=!1}=t,n=xY.useRef(null),l=e.useState("open"),o=e.useState("triggerCount"),d=e.useState("activeTriggerId"),i=e.useState("activeTriggerElement");Xe(()=>{if(!l){n.current=null,e.state.triggerCount!==0&&e.set("triggerCount",0);return}let r=e.context.triggerElements.size,a={};e.state.triggerCount!==r&&(a.triggerCount=r);let s=e.select("activeTriggerId"),b=null;if(s){let m=e.context.triggerElements.getById(s);if(m)n.current=s,m!==e.state.activeTriggerElement&&(a.activeTriggerElement=m);else{for(let[X,G]of e.context.triggerElements.entries())if(G===e.state.activeTriggerElement){a.activeTriggerId=X,a.activeTriggerElement=G,n.current=X;break}a.activeTriggerId===void 0&&(n.current===s?b=s:n.current=null)}}else n.current=null;if(!b&&!s&&r===1){let m=e.context.triggerElements.entries().next();if(!m.done){let[X,G]=m.value;a.activeTriggerId=X,a.activeTriggerElement=G,n.current=X}}(a.triggerCount!==void 0||a.activeTriggerId!==void 0||a.activeTriggerElement!==void 0)&&e.update(a),b&&c&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===b&&!e.context.triggerElements.getById(b)){let m=_e(fe.none);e.setOpen(!1,m),m.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[l,e,o,d,i,c])}function CK(e,t,c,n){let{mounted:l,setMounted:o,transitionStatus:d}=E0(e,!1,!1,n),i=t.useState("preventUnmountingOnClose"),r=e?!1:i;t.useSyncedValues({mounted:l,transitionStatus:d,preventUnmountingOnClose:r});let a=Ie(()=>{o(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),c?.(),t.context.onOpenChangeComplete?.(!1)});return za({enabled:l&&!e&&!r,open:e,ref:t.context.popupRef,onComplete(){e||a()}}),{forceUnmount:a,transitionStatus:d}}function FK(e,t){e.useSyncedValues(t),Xe(()=>()=>{e.update({activeTriggerProps:Gt,inactiveTriggerProps:Gt,popupProps:Gt})},[e])}var cp=class{constructor(){this.idMap=new Map}add(t,c){this.idMap.set(t,c)}delete(t){this.idMap.delete(t)}hasElement(t){for(let c of this.idMap.values())if(c===t)return!0;return!1}hasMatchingElement(t){for(let c of this.idMap.values())if(t(c))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}};function YK(e,t,c=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new $0({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:c,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Gt,inactiveTriggerProps:Gt,popupProps:Gt}}var np=e=>e.triggerIdProp??e.activeTriggerId,RY=e=>e.openProp??e.open,JK=e=>(e.popupElement?.id??e.floatingId)||void 0;function NK(e,t){return t!==void 0&&RY(e)&&np(e)===t}function The(e,t){return NK(e,t)?!0:t!==void 0&&RY(e)&&np(e)==null&&e.triggerCount===1}var SK={open:RY,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:np,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:JK,isTriggerActive:(e,t)=>t!==void 0&&np(e)===t,isOpenedByTrigger:(e,t)=>NK(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&np(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>The(e,t)?JK(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};var HY=u(E(),1),wK=u(iG(),1);function kK(e){let t=HY.useCallback(n=>e===void 0?tn:e.subscribeStore(n),[e]),c=HY.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,wK.useSyncExternalStore)(t,c,()=>e?.serverStore)}function zK(e){return Ahe(e,e.rootContext)}function Ahe(e,t){let{nodeId:c,externalTree:n}=e,l=t.useState("referenceElement"),o=t.useState("floatingElement"),d=t.useState("domReferenceElement"),i=t.useState("open"),r=t.useState("floatingId"),[a,s]=wn.useState(null),[b,m]=wn.useState(void 0),[X,G]=wn.useState(void 0),g=wn.useRef(null),x=Nn(n),H=wn.useMemo(()=>({reference:l,floating:o,domReference:d}),[l,o,d]),p=vy({...e,elements:{...H,...a&&{reference:a}}}),R=ct(b)?b:null,I=X===void 0?t.state.floatingElement:X;t.useSyncedValue("referenceElement",b??null),t.useSyncedValue("domReferenceElement",b===void 0?d:R),t.useSyncedValue("floatingElement",I);let f=wn.useCallback(C=>{let B=ct(C)?{getBoundingClientRect:()=>C.getBoundingClientRect(),getClientRects:()=>C.getClientRects(),contextElement:C}:C;s(B),p.refs.setReference(B)},[p.refs]),y=wn.useCallback(C=>{(ct(C)||C===null)&&(g.current=C,m(C)),(ct(p.refs.reference.current)||p.refs.reference.current===null||C!==null&&!ct(C))&&p.refs.setReference(C)},[p.refs,m]),Z=wn.useCallback(C=>{G(C),p.refs.setFloating(C)},[p.refs]),W=wn.useMemo(()=>({...p.refs,setReference:y,setFloating:Z,setPositionReference:f,domReference:g}),[p.refs,y,Z,f]),v=wn.useMemo(()=>({...p.elements,domReference:d}),[p.elements,d]),h=wn.useMemo(()=>({...p,dataRef:t.context.dataRef,open:i,onOpenChange:t.setOpen,events:t.context.events,floatingId:r,refs:W,elements:v,nodeId:c,rootStore:t}),[p,W,v,c,t,i,r]);return Xe(()=>{d&&(g.current=d)},[d]),Xe(()=>{t.context.dataRef.current.floatingContext=h;let C=x?.nodesRef.current.find(B=>B.id===c);C&&(C.context=h)}),wn.useMemo(()=>({...p,context:h,refs:W,elements:v,rootStore:t}),[p,W,v,h,t])}var si=u(E(),1);var IY=vt.os.mac&&vt.engine.webkit;function ZY(e,t={}){let{enabled:c=!0,delay:n}=t,l="rootStore"in e?e.rootStore:e,{events:o,dataRef:d}=l.context,i=si.useRef(!1),r=si.useRef(null),a=si.useRef(!0),s=gc();si.useEffect(()=>{let m=l.select("domReferenceElement");if(!c)return;let X=ht(m);function G(){let H=l.select("domReferenceElement");!l.select("open")&&st(H)&&H===Uc(je(H))&&(i.current=!0,r.current=H)}function g(){a.current=!0}function x(){a.current=!1}return Yn(tt(X,"blur",G),IY&&tt(X,"keydown",g,!0),IY&&tt(X,"pointerdown",x,!0))},[l,c]),si.useEffect(()=>{if(!c)return;function m(X){if(X.reason===fe.triggerPress||X.reason===fe.escapeKey){let G=l.select("domReferenceElement");ct(G)&&(r.current=G,i.current=!0)}}return o.on("openchange",m),()=>{o.off("openchange",m)}},[o,c,l]);let b=si.useMemo(()=>{function m(){i.current=!1,r.current=null}return{onMouseLeave(){m()},onFocus(X){let G=X.currentTarget;if(i.current){if(r.current===G)return;m()}let g=xc(X.nativeEvent);if(ct(g)){if(IY&&!X.relatedTarget){if(!a.current&&!Tb(g))return}else if(!J8(g))return}let x=Ta(X.relatedTarget,l.context.triggerElements),{nativeEvent:H,currentTarget:p}=X,R=typeof n=="function"?n():n;if(l.select("open")&&x||R===0||R===void 0){l.setOpen(!0,_e(fe.triggerFocus,H,p));return}s.start(R,()=>{i.current||l.setOpen(!0,_e(fe.triggerFocus,H,p))})},onBlur(X){m();let G=X.relatedTarget,g=X.nativeEvent,x=ct(G)&&G.hasAttribute(Gr("focus-guard"))&&G.getAttribute("data-type")==="outside";s.start(0,()=>{let H=l.select("domReferenceElement"),p=Uc(je(H));!G&&p===H||Se(d.current.floatingContext?.refs.floating.current,p)||Se(H,p)||x||Ta(G??p,l.context.triggerElements)||l.setOpen(!1,_e(fe.triggerFocus,g))})}}},[d,n,l,s]);return si.useMemo(()=>c?{reference:b,trigger:b}:{},[c,b])}var yY=u(E(),1);var fY=class e{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Bl,this.restTimeout=new Bl,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},gW=new WeakMap;function eX(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&gW.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),gW.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function xW(e,t){let{scopeElement:c,referenceElement:n,floatingElement:l}=t,o=gW.get(c);o&&o!==e&&eX(o),eX(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=c,e.pointerEventsReferenceElement=n,e.pointerEventsFloatingElement=l,gW.set(c,e),c.style.pointerEvents="none",n.style.pointerEvents="auto",l.style.pointerEvents="auto"}function pW(e){let t=e.context.dataRef.current,c=oc(()=>t.hoverInteractionState??fY.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=c),U0(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function WY(e,t={}){let{enabled:c=!0,closeDelay:n=0,nodeId:l}=t,o="rootStore"in e?e.rootStore:e,d=o.useState("open"),i=o.useState("floatingElement"),r=o.useState("domReferenceElement"),{dataRef:a}=o.context,s=Nn(),b=od(),m=pW(o),X=gc(),G=Ie(()=>oW(a.current.openEvent?.type,m.interactedInside)),g=Ie(()=>Y8(a.current.openEvent?.type)),x=Ie(()=>{eX(m)});Xe(()=>{d||(m.pointerType=void 0,m.restTimeoutPending=!1,m.interactedInside=!1,x())},[d,m,x]),yY.useEffect(()=>x,[x]),Xe(()=>{if(c&&d&&m.handleCloseOptions?.blockPointerEvents&&g()&&ct(r)&&i){let H=r,p=i,R=je(i),I=s?.nodesRef.current.find(W=>W.id===b)?.context?.elements.floating;I&&(I.style.pointerEvents="");let f=m.pointerEventsScopeElement!==p?m.pointerEventsScopeElement:null,y=I!==p?I:null,Z=m.handleCloseOptions?.getScope?.()??f??y??H.closest("[data-rootownerid]")??R.body;return xW(m,{scopeElement:Z,referenceElement:H,floatingElement:p}),()=>{x()}}},[c,d,r,i,m,g,s,b,x]),yY.useEffect(()=>{if(!c)return;function H(){return!!(s&&b&&Zo(s.nodesRef.current,b).length>0)}function p(W){let v=Px(n,"close",m.pointerType),h=()=>{o.setOpen(!1,_e(fe.triggerHover,W)),s?.events.emit("floating.closed",W)};v?m.openChangeTimeout.start(v,h):(m.openChangeTimeout.clear(),h())}function R(W){let v=xc(W);if(!UJ(v)){m.interactedInside=!1;return}m.interactedInside=v?.closest("[aria-haspopup]")!=null}function I(){m.openChangeTimeout.clear(),X.clear(),s?.events.off("floating.closed",y),x()}function f(W){if(H()&&s){s.events.on("floating.closed",y);return}if(Ta(W.relatedTarget,o.context.triggerElements))return;let v=a.current.floatingContext?.nodeId??l,h=W.relatedTarget;if(!(s&&v&&ct(h)&&Zo(s.nodesRef.current,v,!1).some(B=>Se(B.context?.elements.floating,h)))){if(m.handler){m.handler(W);return}x(),g()&&!G()&&p(W)}}function y(W){!s||!b||H()||X.start(0,()=>{s.events.off("floating.closed",y),o.setOpen(!1,_e(fe.triggerHover,W)),s.events.emit("floating.closed",W)})}let Z=i;return Yn(Z&&tt(Z,"mouseenter",I),Z&&tt(Z,"mouseleave",f),Z&&tt(Z,"pointerdown",R,!0),()=>{s?.events.off("floating.closed",y)})},[c,i,o,a,n,l,g,G,x,m,s,b,X])}var Ea=u(E(),1),TK=u(io(),1);var Ohe={current:null};function lp(e,t={}){let{enabled:c=!0,delay:n=0,handleClose:l=null,mouseOnly:o=!1,restMs:d=0,move:i=!0,triggerElementRef:r=Ohe,externalTree:a,isActiveTrigger:s=!0,getHandleCloseContext:b,isClosing:m,shouldOpen:X,guardStaleOpen:G=!1}=t,g="rootStore"in e?e.rootStore:e,{dataRef:x,events:H}=g.context,p=Nn(a),R=pW(g),I=Ea.useRef(!1),f=ac(l),y=ac(n),Z=ac(d),W=ac(c),v=ac(X),h=ac(m),C=Ie(()=>oW(x.current.openEvent?.type,R.interactedInside)),B=Ie(()=>v.current?.()!==!1),V=Ie((J,k,N)=>{let A=g.context.triggerElements;if(A.hasElement(k))return!J||!Se(J,k);if(!ct(N))return!1;let Q=N;return A.hasMatchingElement(z=>Se(z,Q))&&(!J||!Se(J,Q))}),S=Ie(()=>{if(!R.handler)return;je(g.select("domReferenceElement")).removeEventListener("mousemove",R.handler),R.handler=void 0}),Y=Ie(()=>{eX(R)});return s&&(R.handleCloseOptions=l?.__options),Ea.useEffect(()=>S,[S]),Ea.useEffect(()=>{if(!c)return;function J(k){k.open?I.current=!1:(I.current=k.reason===fe.triggerHover,S(),R.openChangeTimeout.clear(),R.restTimeout.clear(),R.blockMouseMove=!0,R.restTimeoutPending=!1)}return H.on("openchange",J),()=>{H.off("openchange",J)}},[c,H,R,S]),Ea.useEffect(()=>{if(!c)return;function J(D,U=!0){let O=Px(y.current,"close",R.pointerType);O?R.openChangeTimeout.start(O,()=>{g.setOpen(!1,_e(fe.triggerHover,D)),p?.events.emit("floating.closed",D)}):U&&(R.openChangeTimeout.clear(),g.setOpen(!1,_e(fe.triggerHover,D)),p?.events.emit("floating.closed",D))}let k=r.current??(s?g.select("domReferenceElement"):null);if(!ct(k))return;function N(D){if(R.openChangeTimeout.clear(),R.blockMouseMove=!1,o&&!ur(R.pointerType))return;let U=EJ(Z.current),O=Px(y.current,"open",R.pointerType),L=xc(D),M=D.currentTarget??null,_=g.select("domReferenceElement"),j=M;if(ct(L)&&!g.context.triggerElements.hasElement(L)){for(let He of g.context.triggerElements.elements())if(Se(He,L)){j=He;break}}ct(M)&&ct(_)&&!g.context.triggerElements.hasElement(M)&&Se(M,_)&&(j=_);let ue=j==null?!1:V(_,j,L),xe=g.select("open"),Be=h.current?.()??g.select("transitionStatus")==="ending",P=!xe&&Be&&I.current,ye=!ue&&ct(j)&&ct(_)&&Se(_,j)&&P,Te=U>0&&!O,ze=ue&&(xe||P)||ye,Ne=!xe||ue;if(ze){B()&&g.setOpen(!0,_e(fe.triggerHover,D,j));return}Te||(O?R.openChangeTimeout.start(O,()=>{Ne&&B()&&g.setOpen(!0,_e(fe.triggerHover,D,j))}):Ne&&B()&&g.setOpen(!0,_e(fe.triggerHover,D,j)))}function A(D){if(C()){Y();return}S();let U=g.select("domReferenceElement"),O=je(U);R.restTimeout.clear(),R.restTimeoutPending=!1;let L=x.current.floatingContext??b?.();if(Ta(D.relatedTarget,g.context.triggerElements))return;if(f.current&&L){g.select("open")||R.openChangeTimeout.clear();let _=r.current;R.handler=f.current({...L,tree:p,x:D.clientX,y:D.clientY,onClose(){Y(),S(),W.current&&!C()&&_===g.select("domReferenceElement")&&J(D,!0)}}),O.addEventListener("mousemove",R.handler),R.handler(D);return}(R.pointerType!=="touch"||!Se(g.select("floatingElement"),D.relatedTarget))&&J(D)}function Q(D){Se(k,D.relatedTarget)||(R.openChangeTimeout.clear(),R.restTimeout.clear(),R.restTimeoutPending=!1)}let z=G?tt(k,"mouseout",Q):void 0;return i?Yn(tt(k,"mousemove",N,{once:!0}),tt(k,"mouseenter",N),tt(k,"mouseleave",A),z):Yn(tt(k,"mouseenter",N),tt(k,"mouseleave",A),z)},[S,Y,x,y,g,c,f,R,s,V,C,o,i,Z,r,p,W,b,h,B,G]),Ea.useMemo(()=>{if(!c)return;function J(k){R.pointerType=k.pointerType}return{onPointerDown:J,onPointerEnter:J,onMouseMove(k){let{nativeEvent:N}=k,A=k.currentTarget,Q=g.select("domReferenceElement"),z=g.select("open"),D=V(Q,A,k.target);if(o&&!ur(R.pointerType))return;if(z&&D&&R.handleCloseOptions?.blockPointerEvents){let L=g.select("floatingElement");if(L){let M=R.handleCloseOptions?.getScope?.()??A.ownerDocument.body;xW(R,{scopeElement:M,referenceElement:A,floatingElement:L})}}let U=EJ(Z.current);if(z&&!D||U===0||!D&&R.restTimeoutPending&&k.movementX**2+k.movementY**2<2)return;R.restTimeout.clear();function O(){if(R.restTimeoutPending=!1,C())return;let L=g.select("open");!R.blockMouseMove&&(!L||D)&&B()&&g.setOpen(!0,_e(fe.triggerHover,N,A))}R.pointerType==="touch"?TK.flushSync(()=>{O()}):D&&z?O():(R.restTimeoutPending=!0,R.restTimeout.start(U,O))}}},[c,R,C,V,o,g,Z,B])}var Gn=u(E(),1);var Qhe="Escape";function AK(e){return vt.engine.webkit&&e.movementX===0&&e.movementY===0}function HW(e,t,c){switch(e){case"vertical":return t;case"horizontal":return c;default:return t||c}}function RW(e,t){return HW(t,e===TJ||e===eW,e===Lx||e===Dx)}function hY(e,t,c){return HW(t,e===eW,c?e===Lx:e===Dx)||e==="Enter"||e===" "||e===""}function Uhe(e,t,c){return HW(t,c?e===Lx:e===Dx,e===eW)}function Ehe(e,t,c,n){let l=c?e===Dx:e===Lx,o=e===TJ;return t==="both"||t==="horizontal"&&n?e===Qhe:HW(t,l,o)}function BY(e,t){let{listRef:c,activeIndex:n,onNavigate:l=()=>{},enabled:o=!0,selectedIndex:d=null,allowEscape:i=!1,loopFocus:r=!1,nested:a=!1,rtl:s=!1,virtual:b=!1,focusItemOnOpen:m="auto",focusItemOnHover:X=!0,openOnArrowKeyDown:G=!0,disabledIndices:g=void 0,orientation:x="vertical",parentOrientation:H,id:p,resetOnPointerLeave:R=!0,externalTree:I,grid:f}=t,y=f!=null,Z="rootStore"in e?e.rootStore:e,W=Z.useState("open"),v=Z.useState("floatingElement"),h=Z.useState("domReferenceElement"),C=Z.context.dataRef,B=Mx(v),V=jx(h),S=ac(B),Y=od(),J=Nn(I),k=Gn.useRef(m),N=Gn.useRef(d??-1),A=Gn.useRef(null),Q=Gn.useRef(!0),z=Ie(Ge=>{l(N.current===-1?null:N.current,Ge)}),D=Gn.useRef(!!v),U=Gn.useRef(W),O=Gn.useRef(!1),L=Gn.useRef(!1),M=Gn.useRef(null),_=ac(g),j=ac(W),ue=ac(d),xe=ac(R),Be=Ul(),P=Ul(),ye=Ie(()=>{function Ge(Ae){b?J?.events.emit("virtualfocus",Ae):M.current=q0(Ae,{sync:O.current,preventScroll:!0})}let We=c.current[N.current],se=L.current;We&&Ge(We),(O.current?Ae=>Ae():Ae=>Be.request(Ae))(()=>{let Ae=c.current[N.current]||We;if(!Ae)return;We||Ge(Ae),pe&&(se||!Q.current)&&Ae.scrollIntoView?.({block:"nearest",inline:"nearest"})})});Xe(()=>{C.current.orientation=x},[C,x]),Xe(()=>{o&&(W&&v?(N.current=d??-1,k.current&&d!=null&&(L.current=!0,z())):D.current&&(N.current=-1,z()))},[o,W,v,d,z]),Xe(()=>{if(o){if(!W){O.current=!1;return}if(v)if(n==null){if(O.current=!1,ue.current!=null)return;if(D.current&&(N.current=-1,ye()),(!U.current||!D.current)&&k.current&&(A.current!=null||k.current===!0&&A.current==null)){let Ge=0,We=()=>{c.current[0]==null?(Ge<2&&(Ge?ee=>P.request(ee):queueMicrotask)(We),Ge+=1):(N.current=A.current==null||hY(A.current,x,s)||a?iW(c):DJ(c),A.current=null,z())};We()}}else LJ(c.current,n)||(N.current=n,ye(),L.current=!1)}},[o,W,v,n,ue,a,c,x,s,z,ye,P]),Xe(()=>{if(!o||v||!J||b||!D.current)return;let Ge=J.nodesRef.current,We=Ge.find(Ae=>Ae.id===Y)?.context?.elements.floating,se=Uc(je(h??We??null)),ee=Ge.some(Ae=>Ae.context&&Se(Ae.context.elements.floating,se));We&&!ee&&Q.current&&We.focus({preventScroll:!0})},[o,v,h,J,Y,b]),Xe(()=>{U.current=W,D.current=!!v}),Xe(()=>{W||(A.current=null,k.current=m)},[W,m]);let Te=n!=null,ze=Ie(Ge=>{if(!j.current)return;let We=c.current.indexOf(Ge.currentTarget);We!==-1&&(N.current!==We||n!==We)&&(N.current=We,z(Ge))}),Ne=Ie(()=>H??J?.nodesRef.current.find(Ge=>Ge.id===Y)?.context?.dataRef?.current.orientation),He=Ie(()=>iW(c,_.current)),we=Ie(Ge=>{if(Q.current=!1,O.current=!0,Ge.which===229||!j.current&&Ge.currentTarget===S.current)return;if(a&&Ehe(Ge.key,x,s,y)){RW(Ge.key,Ne())||El(Ge),Z.setOpen(!1,_e(fe.listNavigation,Ge.nativeEvent)),st(h)&&(b?J?.events.emit("virtualfocus",h):h.focus());return}let We=N.current,se=iW(c,g),ee=DJ(c,g);if(V||(Ge.key==="Home"&&(El(Ge),N.current=se,z(Ge)),Ge.key==="End"&&(El(Ge),N.current=ee,z(Ge))),f!=null){let Ae=f(Ge,N.current,c,x,r,s,g,se,ee);if(Ae!=null&&(N.current=Ae,z(Ge)),x==="both")return}if(RW(Ge.key,x)){if(El(Ge),W&&!b&&Uc(Ge.currentTarget.ownerDocument)===Ge.currentTarget){N.current=hY(Ge.key,x,s)?se:ee,z(Ge);return}hY(Ge.key,x,s)?r?We>=ee?i&&We!==c.current.length?N.current=-1:(O.current=!1,N.current=se):N.current=Ab(c.current,{startingIndex:We,disabledIndices:g}):N.current=Math.min(ee,Ab(c.current,{startingIndex:We,disabledIndices:g})):r?We<=se?i&&We!==-1?N.current=c.current.length:(O.current=!1,N.current=ee):N.current=Ab(c.current,{startingIndex:We,decrement:!0,disabledIndices:g}):N.current=Math.max(se,Ab(c.current,{startingIndex:We,decrement:!0,disabledIndices:g})),LJ(c.current,N.current)&&(N.current=-1),z(Ge)}}),pe=Gn.useMemo(()=>({onFocus(We){O.current=!0,ze(We)},onClick:({currentTarget:We})=>We.focus({preventScroll:!0}),onMouseMove(We){AK(We)||(O.current=!0,L.current=!1,X&&ze(We))},onPointerLeave(We){if(!j.current||!Q.current||We.pointerType==="touch")return;O.current=!0;let se=We.relatedTarget;if(!(!X||c.current.includes(se))&&xe.current&&(M.current?.(),M.current=null,N.current=-1,z(We),!b)){let ee=S.current,Ae=Uc(je(ee));ee&&Se(ee,Ae)&&ee.focus({preventScroll:!0})}}}),[ze,j,S,X,c,z,xe,b]),ve=Gn.useMemo(()=>b&&W&&Te&&{"aria-activedescendant":`${p}-${n}`},[b,W,Te,p,n]),Ve=Gn.useMemo(()=>({...V?{}:ve,onKeyDown(Ge){if(Ge.key==="Tab"&&Ge.shiftKey&&W&&!b){let We=xc(Ge.nativeEvent);if(We&&!Se(S.current,We))return;El(Ge),Z.setOpen(!1,_e(fe.focusOut,Ge.nativeEvent)),st(h)&&h.focus();return}we(Ge)},onPointerMove(Ge){AK(Ge)||(Q.current=!0)}}),[ve,we,S,V,Z,W,b,h]),qe=Gn.useMemo(()=>{function Ge(ee){Z.setOpen(!0,_e(fe.listNavigation,ee.nativeEvent,ee.currentTarget))}function We(ee){m==="auto"&&j0(ee.nativeEvent)&&(k.current=!b)}function se(ee){k.current=m,m==="auto"&&M0(ee.nativeEvent)&&(k.current=!0)}return{onKeyDown(ee){let Ae=Z.select("open");Q.current=!1;let ot=ee.key.startsWith("Arrow"),ft=Uhe(ee.key,Ne(),s),Lt=RW(ee.key,x),kc=(a?ft:Lt)||ee.key==="Enter"||ee.key.trim()==="";if(b&&Ae)return we(ee);if(!(!Ae&&!G&&ot)){if(kc){let Ye=RW(ee.key,Ne());A.current=a&&Ye?null:ee.key}if(a){ft&&(El(ee),Ae?(N.current=He(),z(ee)):Ge(ee));return}Lt&&(ue.current!=null&&(N.current=ue.current),El(ee),!Ae&&G?Ge(ee):we(ee),Ae&&z(ee))}},onFocus(ee){Z.select("open")&&!b&&(N.current=-1,z(ee))},onPointerDown:se,onPointerEnter:se,onMouseDown:We,onClick:We}},[we,m,He,a,z,Z,G,x,Ne,s,ue,b]),Vt=Gn.useMemo(()=>({...ve,...qe}),[ve,qe]);return Gn.useMemo(()=>o?{reference:Vt,floating:Ve,item:pe,trigger:qe}:{},[o,Vt,Ve,qe,pe])}var Eb=u(E(),1);function vY(e,t){let{listRef:c,elementsRef:n,activeIndex:l,onMatch:o,disabledIndices:d,onTyping:i,enabled:r=!0,resetMs:a=750,selectedIndex:s=null}=t,b="rootStore"in e?e.rootStore:e,m=b.useState("open"),X=gc(),G=Eb.useRef(""),g=Eb.useRef(s??l??-1),x=Eb.useRef(null),H=Ie(I=>{function f(S){return n?.current[S]}function y(S){let Y=f(S);return Y&&!Ob(Y)||Y?.matches(":disabled")?!1:d==null||!_J(ar,S,d)}function Z(S,Y,J=0){if(S.length===0)return-1;let k=(J%S.length+S.length)%S.length,N=Y.toLowerCase();for(let A=0;A<S.length;A+=1){let Q=(k+A)%S.length;if(!(!S[Q]?.toLowerCase().startsWith(N)||!y(Q)))return Q}return-1}let W=c.current;if(G.current.length>0&&I.key===" "&&(El(I),i?.(!0)),G.current.length>0&&G.current[0]!==" "&&Z(W,G.current)===-1&&I.key!==" "&&i?.(!1),W==null||I.key.length!==1||I.ctrlKey||I.metaKey||I.altKey)return;m&&I.key!==" "&&(El(I),i?.(!0));let v=G.current==="";v&&(g.current=s??l??-1),W.every((S,Y)=>S&&y(Y)?S[0]?.toLowerCase()!==S[1]?.toLowerCase():!0)&&G.current===I.key&&(G.current="",g.current=x.current),G.current+=I.key,X.start(a,()=>{G.current="",g.current=x.current,i?.(!1)});let B=((v?s??l??-1:g.current)??0)+1,V=Z(W,G.current,B);V!==-1?(o?.(V),x.current=V):I.key!==" "&&(G.current="",i?.(!1))}),p=Ie(I=>{let f=I.relatedTarget,y=b.select("domReferenceElement"),Z=b.select("floatingElement");Se(y,f)||Se(Z,f)||(X.clear(),G.current="",g.current=x.current,i?.(!1))});Xe(()=>{!m&&s!==null||(X.clear(),x.current=null,G.current!==""&&(G.current=""))},[m,s,X]);let R=Eb.useMemo(()=>({onKeyDown:H,onBlur:p}),[H,p]);return Eb.useMemo(()=>r?{reference:R,floating:R}:{},[r,R])}var OK=.1,Lhe=OK*OK,Ut=.5;function IW(e,t,c,n,l,o){return n>=t!=o>=t&&e<=(l-c)*(t-n)/(o-n)+c}function ZW(e,t,c,n,l,o,d,i,r,a){let s=!1;return IW(e,t,c,n,l,o)&&(s=!s),IW(e,t,l,o,d,i)&&(s=!s),IW(e,t,d,i,r,a)&&(s=!s),IW(e,t,r,a,c,n)&&(s=!s),s}function Dhe(e,t,c){return e>=c.x&&e<=c.x+c.width&&t>=c.y&&t<=c.y+c.height}function fW(e,t,c,n,l,o){let d=Math.min(c,l),i=Math.max(c,l),r=Math.min(n,o),a=Math.max(n,o);return e>=d&&e<=i&&t>=r&&t<=a}function op(e={}){let{blockPointerEvents:t=!1}=e,c=new Bl,n=({x:l,y:o,placement:d,elements:i,onClose:r,nodeId:a,tree:s})=>{let b=d?.split("-")[0],m=!1,X=null,G=null,g=typeof performance<"u"?performance.now():0;function x(p,R){let I=performance.now(),f=I-g;if(X===null||G===null||f===0)return X=p,G=R,g=I,!1;let y=p-X,Z=R-G,W=y*y+Z*Z,v=f*f*Lhe;return X=p,G=R,g=I,W<v}function H(){c.clear(),r()}return function(R){c.clear();let I=i.domReference,f=i.floating;if(!I||!f||b==null||l==null||o==null)return;let{clientX:y,clientY:Z}=R,W=xc(R),v=R.type==="mouseleave",h=Se(f,W),C=Se(I,W);if(h&&(m=!0,!v))return;if(C&&(m=!1,!v)){m=!0;return}if(v&&ct(R.relatedTarget)&&Se(f,R.relatedTarget))return;function B(){return!!(s&&Zo(s.nodesRef.current,a).length>0)}function V(){B()||H()}if(B())return;let S=I.getBoundingClientRect(),Y=f.getBoundingClientRect(),J=l>Y.right-Y.width/2,k=o>Y.bottom-Y.height/2,N=Y.width>S.width,A=Y.height>S.height,Q=(N?S:Y).left,z=(N?S:Y).right,D=(A?S:Y).top,U=(A?S:Y).bottom;if(b==="top"&&o>=S.bottom-1||b==="bottom"&&o<=S.top+1||b==="left"&&l>=S.right-1||b==="right"&&l<=S.left+1){V();return}let O=!1;switch(b){case"top":O=fW(y,Z,Q,S.top+1,z,Y.bottom-1);break;case"bottom":O=fW(y,Z,Q,Y.top+1,z,S.bottom-1);break;case"left":O=fW(y,Z,Y.right-1,U,S.left+1,D);break;case"right":O=fW(y,Z,S.right-1,U,Y.left+1,D);break;default:}if(O)return;if(m&&!Dhe(y,Z,S)){V();return}if(!v&&x(y,Z)){V();return}let L=!1;switch(b){case"top":{let M=N?Ut/2:Ut*4,_=N||J?l+M:l-M,j=N?l-M:J?l+M:l-M,ue=o+Ut+1,xe=J||N?Y.bottom-Ut:Y.top,Be=J?N?Y.bottom-Ut:Y.top:Y.bottom-Ut;L=ZW(y,Z,_,ue,j,ue,Y.left,xe,Y.right,Be);break}case"bottom":{let M=N?Ut/2:Ut*4,_=N||J?l+M:l-M,j=N?l-M:J?l+M:l-M,ue=o-Ut,xe=J||N?Y.top+Ut:Y.bottom,Be=J?N?Y.top+Ut:Y.bottom:Y.top+Ut;L=ZW(y,Z,_,ue,j,ue,Y.left,xe,Y.right,Be);break}case"left":{let M=A?Ut/2:Ut*4,_=A||k?o+M:o-M,j=A?o-M:k?o+M:o-M,ue=l+Ut+1,xe=k||A?Y.right-Ut:Y.left,Be=k?A?Y.right-Ut:Y.left:Y.right-Ut;L=ZW(y,Z,xe,Y.top,Be,Y.bottom,ue,_,ue,j);break}case"right":{let M=A?Ut/2:Ut*4,_=A||k?o+M:o-M,j=A?o-M:k?o+M:o-M,ue=l-Ut,xe=k||A?Y.left+Ut:Y.right,Be=k?A?Y.left+Ut:Y.right:Y.left+Ut;L=ZW(y,Z,ue,_,ue,j,xe,Y.top,Be,Y.bottom);break}default:}L?m||c.start(40,V):V()}};return n.__options={...e,blockPointerEvents:t},n}var yW=class extends Ua{setState(t){}update(t){}set(t,c){}notifyAll(){}};var _he="ArrowUp",jhe="ArrowDown",Mhe="ArrowLeft",Phe="ArrowRight",Khe="Home",qhe="End";var QK=new Set([_he,jhe,Mhe,Phe,Khe,qhe]);function WW(e){return Q0(19)?e:e?"true":void 0}var UK=u(E(),1),EK=u(F(),1),LK=UK.forwardRef(function(t,c){let{cutout:n,...l}=t,o;if(n){let d=n.getBoundingClientRect();o=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${d.left}px ${d.top}px,${d.left}px ${d.bottom}px,${d.right}px ${d.bottom}px,${d.right}px ${d.top}px,${d.left}px ${d.top}px)`}return(0,EK.jsx)("div",{ref:c,role:"presentation","data-base-ui-inert":"",...l,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:o}})});var ip=u(E(),1);var dp=u(E(),1);function DK(e){let t=dp.useRef(""),c=dp.useCallback(l=>{l.defaultPrevented||(t.current=l.pointerType,e(l,l.pointerType))},[e]);return{onClick:dp.useCallback(l=>{if(l.detail===0){e(l,"keyboard");return}"pointerType"in l?e(l,l.pointerType):e(l,t.current),t.current=""},[e]),onPointerDown:c}}var _K=u(E(),1);function jK(e,t){let c=_K.useRef(e),n=Ie(t);Xe(()=>{c.current!==e&&n(c.current),c.current=e},[e,n])}function $he(e,t){let c=Ie((o,d)=>{(typeof e=="function"?e():e)||t(d||(vt.os.ios?"touch":""))}),{onClick:n,onPointerDown:l}=DK(c);return ip.useMemo(()=>({onClick:n,onPointerDown:l}),[n,l])}function MK(e){let[t,c]=ip.useState(null),n=$he(e,c);return jK(e,l=>{l&&!e&&c(null)}),ip.useMemo(()=>({openMethod:t,triggerProps:n}),[t,n])}var hW=u(E(),1),VY=hW.createContext(void 0);function La(){return hW.useContext(VY)?.direction??"ltr"}var BW=5;function PK(e,t){let c=e1e(t);return e.clientX>=c.left-BW&&e.clientX<=c.right+BW&&e.clientY>=c.top-BW&&e.clientY<=c.bottom+BW}function e1e(e){let t=e.getBoundingClientRect(),c=ht(e);if(vt.env.jsdom)return t;let n=c.getComputedStyle(e,"::before"),l=c.getComputedStyle(e,"::after");if(!(n.content!=="none"||l.content!=="none"))return t;let d=parseFloat(n.width)||0,i=parseFloat(n.height)||0,r=parseFloat(l.width)||0,a=parseFloat(l.height)||0,s=Math.max(t.width,d,r),b=Math.max(t.height,i,a),m=s-t.width,X=b-t.height;return{left:t.left-m/2,right:t.right+m/2,top:t.top-X/2,bottom:t.bottom+X/2}}var Ll=u(E(),1);var t1e=e=>({name:"arrow",options:e,async fn(t){let{x:c,y:n,placement:l,rects:o,platform:d,elements:i,middlewareData:r}=t,{element:a,padding:s=0,offsetParent:b="real"}=Qo(e,t)||{};if(a==null)return{};let m=vG(s),X={x:c,y:n},G=_u(l),g=Du(G),x=await d.getDimensions(a),H=G==="y",p=H?"top":"left",R=H?"bottom":"right",I=H?"clientHeight":"clientWidth",f=o.reference[g]+o.reference[G]-X[G]-o.floating[g],y=X[G]-o.reference[G],Z=b==="real"?await d.getOffsetParent?.(a):i.floating,W=i.floating[I]||o.floating[g];(!W||!await d.isElement?.(Z))&&(W=i.floating[I]||o.floating[g]);let v=f/2-y/2,h=W/2-x[g]/2-1,C=Math.min(m[p],h),B=Math.min(m[R],h),V=C,S=W-x[g]-B,Y=W/2-x[g]/2+v,J=BG(V,Y,S),k=!r.arrow&&Yl(l)!=null&&Y!==J&&o.reference[g]/2-(Y<V?C:B)-x[g]/2<0,N=k?Y<V?Y-V:Y-S:0;return{[G]:X[G]+N,data:{[G]:J,centerOffset:Y-J-N,...k&&{alignmentOffset:N}},reset:k}}}),KK=(e,t)=>{let{name:c,fn:n}=t1e(e);return{name:c,fn:n,options:[e,t]}};var qK={name:"hide",async fn(e){let{width:t,height:c,x:n,y:l}=e.rects.reference,o=t===0&&c===0&&n===0&&l===0,d=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:d.top-c>=0||d.right-t>=0||d.bottom-c>=0||d.left-t>=0||o}}}};var tX={sideX:"left",sideY:"top"};var vW="--available-width",VW="--available-height",$K="--anchor-width",eq="--anchor-height",tq="--transform-origin",cq="--positioner-width",nq="--positioner-height";var oq=vW,dq=VW;function aq(e,t,c){let n=e==="inline-start"||e==="inline-end";return{top:"top",right:n?c?"inline-start":"inline-end":"right",bottom:"bottom",left:n?c?"inline-end":"inline-start":"left"}[t]}function iq(e,t,c){let{rects:n,placement:l}=e;return{side:aq(t,hn(l),c),align:Yl(l)||"center",anchor:{width:n.reference.width,height:n.reference.height},positioner:{width:n.floating.width,height:n.floating.height}}}function sq(e){return c1e(e,zK)}function c1e(e,t){let{anchor:c,positionMethod:n="absolute",side:l="bottom",sideOffset:o=0,align:d="center",alignOffset:i=0,collisionBoundary:r,collisionPadding:a=5,sticky:s=!1,arrowPadding:b=5,disableAnchorTracking:m=!1,inline:X,keepMounted:G=!1,floatingRootContext:g,mounted:x,collisionAvoidance:H,shift:p,nodeId:R,adaptiveOrigin:I,lazyFlip:f=!1,externalTree:y}=e,[Z,W]=Ll.useState(null);!x&&Z!==null&&W(null);let v=H.side||"flip",h=H.align||"flip",C=H.fallbackAxisSide||"end",B=p?.crossAxis??!1,V=p?.rootBoundary,S=typeof c=="function"?c:void 0,Y=Ie(S),J=S?Y:c,k=ac(c),N=ac(x),Q=La()==="rtl",z=Z||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":Q?"left":"right","inline-start":Q?"right":"left"}[l],D=d==="center"?z:`${z}-${d}`,U=a;typeof U=="number"?U={top:U,right:U,bottom:U,left:U}:U&&(U={top:U.top||0,right:U.right||0,bottom:U.bottom||0,left:U.left||0});let O=1,L=l==="bottom"?O:0,M=l==="top"?O:0,_=l==="right"?O:0,j=l==="left"?O:0,ue={boundary:r==="clipping-ancestors"?"clippingAncestors":r,padding:U},xe=Ll.useRef(null),Be=ac(o),P=ac(i),ye=typeof o!="function"?o:0,Te=typeof i!="function"?i:0,ze=[];X&&ze.push(X),ze.push(mx($e=>{let pc=iq($e,l,Q),Hn=typeof Be.current=="function"?Be.current(pc):Be.current,zc=typeof P.current=="function"?P.current(pc):P.current;return{mainAxis:Hn,crossAxis:zc,alignmentAxis:zc}},[ye,Te,Q,l]));let Ne=h==="none"&&v!=="shift",He=!Ne&&(s||B||v==="shift"),we=v==="none"?null:gx({...ue,padding:{top:U.top+O+L,right:U.right+O+j,bottom:U.bottom+O+M,left:U.left+O+_},mainAxis:!B&&v==="flip",crossAxis:h==="flip"?"alignment":!1,fallbackAxisSideDirection:C}),pe=Ne?null:Xx({...ue,rootBoundary:V,mainAxis:h!=="none",crossAxis:He,limiter:s||B?void 0:Gx($e=>{if(!xe.current)return{};let{width:pc,height:Hn}=xe.current.getBoundingClientRect(),zc=ul(hn($e.placement)),$l=zc==="y"?pc:Hn,Cl=zc==="y"?U.left+U.right:U.top+U.bottom;return{offset:$l/2+Cl/2}})},[ue,s,B,V,U,h]);v==="shift"||h==="shift"||d==="center"?ze.push(pe,we):ze.push(we,pe),ze.push(xb({...ue,apply({elements:{floating:$e},availableWidth:pc,availableHeight:Hn,rects:zc}){if(!N.current)return;let $l=$e.style;$l.setProperty(oq,`${pc}px`),$l.setProperty(dq,`${Hn}px`);let Cl=ht($e).devicePixelRatio||1,{x:pu,y:kr,width:Ru,height:eo}=zc.reference,gs=(Math.round((pu+Ru)*Cl)-Math.round(pu*Cl))/Cl,re=(Math.round((kr+eo)*Cl)-Math.round(kr*Cl))/Cl;$l.setProperty($K,`${gs}px`),$l.setProperty(eq,`${re}px`)}}),KK($e=>({element:xe.current||je($e.elements.floating).createElement("div"),padding:xe.current?b:0,offsetParent:"floating"}),[b]),{name:"transformOrigin",fn($e){let{elements:{floating:pc},middlewareData:Hn,placement:zc,platform:$l,rects:Cl,y:pu}=$e,kr=hn(zc),Ru=Yl(zc),eo=ul(kr)==="y",gs=xe.current,re=typeof o=="function"?o(iq($e,l,Q)):o,Ee;if(!gs&&Ru&&Math.abs(eo?Hn.shift?.x||0:Hn.shift?.y||0)<=1)Ee=Ru==="start"===(eo&&$l.isRTL?.(pc)===!0)?"100%":"0%";else{let Dc=eo?Hn.arrow?.x||0:Hn.arrow?.y||0,to=eo?gs?.clientWidth||0:gs?.clientHeight||0;Ee=`${Dc+to/2}px`}let Pt=kr==="top"||kr==="left"?`calc(100% + ${re}px)`:`${-re}px`;return He&&eo&&Math.abs(Hn.shift?.y||0)>re&&(Pt=`${Cl.reference.y+Cl.reference.height/2-pu}px`),pc.style.setProperty(tq,eo?`${Ee} ${Pt}`:`${Pt} ${Ee}`),{}}},qK,I),Xe(()=>{!x&&g&&g.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[x,g]);let ve=Ll.useMemo(()=>({ancestorScroll:!m,elementResize:!m&&typeof ResizeObserver<"u",layoutShift:!m&&typeof IntersectionObserver<"u"}),[m]),{refs:Ve,elements:qe,x:Vt,y:Ge,middlewareData:We,update:se,placement:ee,context:Ae,isPositioned:ot,floatingStyles:ft}=t({rootContext:g,open:G?x:void 0,placement:D,middleware:ze,strategy:n,whileElementsMounted:G?void 0:(...$e)=>Ci(...$e,ve),nodeId:R,externalTree:y}),{sideX:Lt,sideY:kc}=We.adaptiveOrigin||tX,Ye=ot?n:"fixed",le=Ll.useMemo(()=>{let $e;return ot?I?$e={position:Ye,[Lt]:Vt,[kc]:Ge}:$e={...ft,position:Ye}:$e={position:Ye,top:0,left:0},$e[oq]="100vw",$e[dq]="100vh",ot||($e.opacity=0),$e},[I,Ye,Lt,Vt,kc,Ge,ft,ot]),Fe=Ll.useRef(null);Xe(()=>{if(!x)return;let $e=k.current,pc=typeof $e=="function"?$e():$e,zc=(rq(pc)?pc.current:pc)||null||null;zc!==Fe.current&&(Ve.setPositionReference(zc),Fe.current=zc)},[x,Ve,J,k]),Ll.useEffect(()=>{if(!x)return;let $e=k.current;typeof $e!="function"&&rq($e)&&$e.current!==Fe.current&&(Ve.setPositionReference($e.current),Fe.current=$e.current)},[x,Ve,J,k]),Ll.useEffect(()=>{if(G&&x&&qe.reference&&qe.floating)return Ci(qe.reference,qe.floating,se,ve)},[G,x,qe,se,ve]);let Qe=hn(ee),he=aq(l,Qe,Q),Ke=Yl(ee)||"center",ut=!!We.hide?.referenceHidden;Xe(()=>{f&&x&&ot&&Qe!==z&&W(Qe)},[f,x,ot,Qe,z]);let kt=Ll.useMemo(()=>({position:"absolute",top:We.arrow?.y,left:We.arrow?.x}),[We.arrow]),al=We.arrow?.centerOffset!==0;return Ll.useMemo(()=>({positionerStyles:le,arrowStyles:kt,arrowRef:xe,arrowUncentered:al,side:he,align:Ke,physicalSide:Qe,anchorHidden:ut,refs:Ve,context:Ae,isPositioned:ot,update:se}),[le,kt,xe,al,he,Ke,Qe,ut,Ve,Ae,ot,se])}function rq(e){return e!=null&&"current"in e}function CW(e){return e==="starting"?$8:Gt}function bq(e,t,{styles:c,transitionStatus:n,props:l,refs:o,hidden:d,inert:i=!1}){let r={...c};return i&&(r.pointerEvents="none"),it("div",e,{state:t,ref:o,props:[{role:"presentation",hidden:d,style:r},CW(n),l],stateAttributesMapping:_x})}var uq=u(E(),1);var n1e=20;function mq(e,t,c,n){let[l,o]=uq.useState(!1);Xe(()=>{if(!e||!t||c==null){o(!1);return}let d=je(c).documentElement.clientWidth,i=c.offsetWidth;o(d>0&&i>0&&i>=d-n1e)},[e,t,c]),y8(e&&(!t||l),n)}var FW=u(E(),1),l1e=FW.createContext(void 0);function Da(e=!0){let t=FW.useContext(l1e);if(t===void 0&&!e)throw new Error(St(25));return t}var Ht={};Fl(Ht,{Arrow:()=>Gq,Backdrop:()=>xq,CheckboxItem:()=>fq,CheckboxItemIndicator:()=>yq,Group:()=>Bq,GroupLabel:()=>Vq,Handle:()=>mp,Item:()=>Fq,LinkItem:()=>Jq,Popup:()=>Sq,Portal:()=>zq,Positioner:()=>Tq,RadioGroup:()=>Oq,RadioItem:()=>Eq,RadioItemIndicator:()=>Lq,Root:()=>$W,Separator:()=>I$,SubmenuRoot:()=>Kq,SubmenuTrigger:()=>Z$,Trigger:()=>l$,Viewport:()=>R$,createHandle:()=>f$});var Xq=u(E(),1);var JW=u(E(),1),CY=JW.createContext(void 0);function kn(e){let t=JW.useContext(CY);if(t===void 0&&!e)throw new Error(St(33));return t}var YW=u(E(),1),FY=YW.createContext(void 0);function Et(e){let t=YW.useContext(FY);if(t===void 0&&!e)throw new Error(St(36));return t}var Gq=Xq.forwardRef(function(t,c){let{render:n,className:l,style:o,...d}=t,{store:i}=Et(),{arrowRef:r,side:a,align:s,arrowUncentered:b,arrowStyles:m}=kn(),G={open:i.useState("open"),side:a,align:s,uncentered:b};return it("div",t,{ref:[r,c],stateAttributesMapping:_x,state:G,props:{style:m,"aria-hidden":!0,...d}})});var gq=u(E(),1);var xq=gq.forwardRef(function(t,c){let{render:n,className:l,style:o,...d}=t,{store:i}=Et(),r=i.useState("open"),a=i.useState("mounted"),s=i.useState("transitionStatus"),b=i.useState("lastOpenChangeReason"),m=Da(),X={open:r,transitionStatus:s};return it("div",t,{ref:m?.backdropRef?[c,m.backdropRef]:c,state:X,stateAttributesMapping:nW,props:[{role:"presentation",hidden:!a,style:{pointerEvents:b===fe.triggerHover?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},d]})});var wW=u(E(),1);var NW=u(E(),1),JY=NW.createContext(void 0);function pq(){let e=NW.useContext(JY);if(e===void 0)throw new Error(St(30));return e}var cX=u(E(),1);var Rq=u(E(),1);function SW(e){let{closeOnClick:t,highlighted:c,id:n,nodeId:l,store:o,typingRef:d,itemRef:i,itemMetadata:r}=e,{events:a}=o.useState("floatingTreeRoot"),s=o.useState("open"),b=Da(!0),m=b!==void 0;return Rq.useMemo(()=>({id:n,role:"menuitem",tabIndex:s&&c?0:-1,onKeyDown(X){X.key===" "&&d?.current&&X.preventDefault()},onMouseMove(X){l&&a.emit("itemhover",{nodeId:l,target:X.currentTarget})},onClick(X){t&&a.emit("close",{domEvent:X,reason:fe.itemPress})},onMouseUp(X){if(b){let G=b.initialCursorPointRef.current;if(b.initialCursorPointRef.current=null,m&&G&&Math.abs(X.clientX-G.x)<=1&&Math.abs(X.clientY-G.y)<=1||m&&!vt.os.mac&&X.button===2)return}i.current&&o.context.allowMouseUpTriggerRef.current&&(!m||X.button===2)&&r.type==="regular-item"&&D0(i.current,X,{detail:1})}}),[t,c,n,a,l,s,o,d,i,b,m,r])}var _a={type:"regular-item"};function ja(e){let{closeOnClick:t,disabled:c,highlighted:n,id:l,store:o,typingRef:d=o.context.typingRef,nativeButton:i,itemMetadata:r,nodeId:a}=e,s=cX.useRef(null),{getButtonProps:b,buttonRef:m}=wb({disabled:c,focusableWhenDisabled:!0,native:i,composite:!0}),X=SW({closeOnClick:t,highlighted:n,id:l,nodeId:a,store:o,typingRef:d,itemRef:s,itemMetadata:r}),G=cX.useCallback(x=>rc(X,{onMouseEnter(){r.type==="submenu-trigger"&&r.setActive()}},x,b),[X,b,r]),g=ri(s,m);return cX.useMemo(()=>({getItemProps:G,itemRef:g}),[G,g])}var Hq="data-checked",Iq="data-unchecked";var Ma={checked(e){return e?{[Hq]:""}:{[Iq]:""}},...P5};var Zq=u(F(),1),fq=wW.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,nativeButton:i=!1,disabled:r=!1,closeOnClick:a=!1,checked:s,defaultChecked:b,onCheckedChange:m,style:X,...G}=t,g=Io({guess:!0,label:d}),x=kn(!0),H=hl(o),{store:p}=Et(),R=p.useState("disabled"),I=r||R,f=p.useState("isActive",g.index),y=p.useState("itemProps"),[Z,W]=U5({controlled:s,default:b??!1,name:"MenuCheckboxItem",state:"checked"}),{getItemProps:v,itemRef:h}=ja({closeOnClick:a,disabled:I,highlighted:f,id:H,store:p,nativeButton:i,nodeId:x?.context.nodeId,itemMetadata:_a}),C=wW.useMemo(()=>({disabled:I,highlighted:f,checked:Z}),[I,f,Z]);function B(S){let Y=_e(fe.itemPress,S.nativeEvent,void 0,{preventUnmountOnClose:tn});m?.(!Z,Y),!Y.isCanceled&&W(J=>!J)}let V=it("div",t,{state:C,stateAttributesMapping:Ma,props:[y,{role:"menuitemcheckbox","aria-checked":Z,onClick:B},G,v],ref:[h,c,g.ref]});return(0,Zq.jsx)(JY.Provider,{value:C,children:V})});var kW=u(E(),1);var yq=kW.forwardRef(function(t,c){let{render:n,className:l,style:o,keepMounted:d=!1,...i}=t,r=pq(),a=kW.useRef(null),{transitionStatus:s,mounted:b,setMounted:m}=E0(r.checked);za({batch:!0,enabled:!r.checked,open:r.checked,ref:a,onComplete(){r.checked||m(!1)}});let X={checked:r.checked,disabled:r.disabled,highlighted:r.highlighted,transitionStatus:s};return it("span",t,{state:X,ref:[c,a],stateAttributesMapping:Ma,props:{"aria-hidden":!0,...i},enabled:d||b})});var TW=u(E(),1);var zW=u(E(),1),rp=zW.createContext(void 0);function Wq(){let e=zW.useContext(rp);if(e===void 0)throw new Error(St(31));return e}var hq=u(F(),1),Bq=TW.forwardRef(function(t,c){let{render:n,className:l,style:o,...d}=t,[i,r]=TW.useState(void 0),a=it("div",t,{ref:c,props:{role:"group","aria-labelledby":i,...d}});return(0,hq.jsx)(rp.Provider,{value:r,children:a})});var vq=u(E(),1);var Vq=vq.forwardRef(function(t,c){let{render:n,className:l,style:o,id:d,...i}=t,r=hl(d),a=Wq();return Xe(()=>(a(r),()=>{a(s=>s===r?void 0:s)}),[a,r]),it("div",t,{ref:c,props:{id:r,"aria-hidden":!0,...i}})});var Cq=u(E(),1);var Fq=Cq.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,nativeButton:i=!1,disabled:r=!1,closeOnClick:a=!0,style:s,...b}=t,m=Io({guess:!0,label:d}),X=kn(!0),G=hl(o),{store:g}=Et(),x=g.useState("disabled"),H=r||x,p=g.useState("isActive",m.index),R=g.useState("itemProps"),{getItemProps:I,itemRef:f}=ja({closeOnClick:a,disabled:H,highlighted:p,id:G,store:g,nativeButton:i,nodeId:X?.context.nodeId,itemMetadata:_a});return it("div",t,{state:{disabled:H,highlighted:p},props:[R,b,I],ref:[f,c,m.ref]})});var AW=u(E(),1);var Jq=AW.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,closeOnClick:i=!1,style:r,...a}=t,s=AW.useRef(null),b=Io({guess:!0,label:d}),X=kn(!0)?.context.nodeId,G=hl(o),{store:g}=Et(),x=g.useState("isActive",b.index),H=g.useState("itemProps"),p=g.context.typingRef,{getButtonProps:R,buttonRef:I}=wb({native:!1,composite:!0}),f=SW({closeOnClick:i,highlighted:x,id:G,nodeId:X,store:g,typingRef:p,itemRef:s,itemMetadata:_a});function y(W){return rc(f,W,R)}return it("a",t,{state:{highlighted:x},props:[H,a,y],ref:[s,I,c,b.ref]})});var QW=u(E(),1);var OW=u(E(),1),d1e=OW.createContext(void 0);function Yq(e){let t=OW.useContext(d1e);if(t===void 0&&!e)throw new Error(St(69));return t}var Nq=u(F(),1),Sq=QW.forwardRef(function(t,c){let{render:n,className:l,style:o,finalFocus:d,...i}=t,{store:r}=Et(),{side:a,align:s}=kn(),b=Yq(!0)!=null,m=r.useState("open"),X=r.useState("transitionStatus"),G=r.useState("popupProps"),g=r.useState("mounted"),x=r.useState("instantType"),H=r.useState("activeTriggerElement"),p=r.useState("parent"),R=r.useState("lastOpenChangeReason"),I=r.useState("rootId"),f=r.useState("floatingRootContext"),y=r.useState("floatingTreeRoot"),Z=r.useState("closeDelay"),W=r.useState("hoverEnabled"),v=r.useState("disabled"),h=r.useState("openMethod"),C=p.type==="context-menu";za({open:m,ref:r.context.popupRef,onComplete(){m&&r.context.onOpenChangeComplete?.(!0)}}),QW.useEffect(()=>{function J(k){r.setOpen(!1,_e(k.reason,k.domEvent))}return y.events.on("close",J),()=>{y.events.off("close",J)}},[y.events,r]),WY(f,{enabled:W&&!v&&!C&&p.type!=="menubar",closeDelay:Z});let B=r.useStateSetter("popupElement"),V={transitionStatus:X,side:a,align:s,open:m,nested:p.type==="menu",instant:x},S=it("div",t,{state:V,ref:[c,r.context.popupRef,B],stateAttributesMapping:nW,props:[G,{onKeyDown(J){b&&QK.has(J.key)&&J.stopPropagation()}},CW(X),i,{"data-rootownerid":I}]}),Y=p.type===void 0||C;return(H||p.type==="menubar"&&R!==fe.outsidePress)&&(Y=!0),(0,Nq.jsx)(sY,{context:f,openInteractionType:h,modal:C,disabled:!g,returnFocus:d===void 0?Y:d,initialFocus:p.type!=="menu",restoreFocus:!0,externalTree:p.type!=="menubar"?y:void 0,previousFocusableElement:H,nextFocusableElement:p.type===void 0?r.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:p.type===void 0?r.context.beforeContentFocusGuardRef:void 0,children:S})});var kq=u(E(),1);var UW=u(E(),1),YY=UW.createContext(void 0);function wq(){let e=UW.useContext(YY);if(e===void 0)throw new Error(St(32));return e}var NY=u(F(),1),zq=kq.forwardRef(function(t,c){let{keepMounted:n=!1,...l}=t,{store:o,parent:d}=Et();if(!(o.useState("mounted")||n))return null;let a=d.type==="menu"||d.type==="menubar"?"group":void 0;return(0,NY.jsx)(YY.Provider,{value:n,children:(0,NY.jsx)(oY,{ref:c,...l,portalOwnerRole:a})})});var bi=u(E(),1);var nX=u(F(),1),Tq=bi.forwardRef(function(t,c){let{anchor:n,positionMethod:l="absolute",className:o,render:d,side:i,align:r,sideOffset:a=0,alignOffset:s=0,collisionBoundary:b="clipping-ancestors",collisionPadding:m=5,arrowPadding:X=5,sticky:G=!1,disableAnchorTracking:g=!1,collisionAvoidance:x=tK,style:H,...p}=t,{store:R}=Et(),I=wq(),f=Da(!0),y=R.useState("parent"),Z=R.useState("floatingRootContext"),W=R.useState("floatingTreeRoot"),v=R.useState("mounted"),h=R.useState("open"),C=R.useState("modal"),B=R.useState("openMethod"),V=R.useState("activeTriggerElement"),S=R.useState("transitionStatus"),Y=R.useState("positionerElement"),J=R.useState("instantType"),k=R.useState("adaptiveOrigin"),N=R.useState("lastOpenChangeReason"),A=R.useState("floatingNodeId"),Q=R.useState("floatingParentNodeId"),z=Z.useState("domReferenceElement"),D=bi.useRef(null),U=ai(Y),O=n,L=a,M=s,_=r,j=x;y.type==="context-menu"&&(O=n??y.context?.anchor,_=_??"start",!i&&_!=="center"&&(M=t.alignOffset??2,L=t.sideOffset??-5));let ue=i,xe=_;y.type==="menu"?(ue=ue??"inline-end",xe=xe??"start",j=t.collisionAvoidance??cK):y.type==="menubar"&&(ue=ue??(y.context.orientation==="vertical"?"inline-end":"bottom"),xe=xe??"start");let Be=y.type==="context-menu",P=sq({anchor:O,floatingRootContext:Z,positionMethod:f?"fixed":l,mounted:v,side:ue,sideOffset:L,align:xe,alignOffset:M,arrowPadding:Be?0:X,collisionBoundary:b,collisionPadding:m,sticky:G,nodeId:A,keepMounted:I,disableAnchorTracking:g,collisionAvoidance:j,shift:Be?{crossAxis:!("side"in j&&j.side==="flip"),rootBoundary:"layoutViewport"}:void 0,externalTree:W,adaptiveOrigin:k});bi.useEffect(()=>{function ve(Ve){Ve.open&&(Ve.parentNodeId===A&&R.set("hoverEnabled",!1),Ve.nodeId!==A&&Ve.parentNodeId===R.select("floatingParentNodeId")&&R.setOpen(!1,_e(fe.siblingOpen)))}return W.events.on("menuopenchange",ve),()=>{W.events.off("menuopenchange",ve)}},[R,W.events,A]),bi.useEffect(()=>{if(R.select("floatingParentNodeId")==null)return;function ve(Ve){if(Ve.open||Ve.nodeId!==R.select("floatingParentNodeId"))return;let qe=Ve.reason??fe.siblingOpen;R.setOpen(!1,_e(qe))}return W.events.on("menuopenchange",ve),()=>{W.events.off("menuopenchange",ve)}},[W.events,R]);let ye=gc();bi.useEffect(()=>{h||ye.clear()},[h,ye]),bi.useEffect(()=>{function ve(Ve){if(!(!h||Ve.nodeId!==R.select("floatingParentNodeId")))if(Ve.target&&V&&V!==Ve.target){let qe=R.select("closeDelay");qe>0?ye.isStarted()||ye.start(qe,()=>{R.setOpen(!1,_e(fe.siblingOpen))}):R.setOpen(!1,_e(fe.siblingOpen))}else ye.clear()}return W.events.on("itemhover",ve),()=>{W.events.off("itemhover",ve)}},[W.events,h,V,R,ye]),bi.useEffect(()=>{let ve={open:h,nodeId:A,parentNodeId:Q,reason:R.select("lastOpenChangeReason")};W.events.emit("menuopenchange",ve)},[W.events,h,R,A,Q]),Xe(()=>{let ve=z,Ve=D.current;if(ve&&(D.current=ve),Ve&&ve&&ve!==Ve){R.set("instantType",void 0);let qe=new AbortController;return U(()=>{R.set("instantType","trigger-change")},qe.signal),()=>{qe.abort()}}},[z,U,R]);let Te={open:h,side:P.side,align:P.align,anchorHidden:P.anchorHidden,nested:y.type==="menu",instant:J},ze=y.type==="menubar"&&y.context.modal,Ne=C&&N!==fe.triggerHover;mq(h&&(ze||Ne),B==="touch",Y,V);let He=bq(t,Te,{styles:P.positionerStyles,transitionStatus:S,props:p,refs:[c,R.useStateSetter("positionerElement")],hidden:!v,inert:!h}),we=v&&y.type!=="menu"&&(y.type!=="menubar"&&C&&N!==fe.triggerHover||y.type==="menubar"&&y.context.modal),pe=null;return y.type==="menubar"?pe=y.context.contentElement:y.type===void 0&&(pe=V),(0,nX.jsxs)(CY.Provider,{value:P,children:[we&&(0,nX.jsx)(LK,{ref:y.type==="context-menu"||y.type==="nested-context-menu"?y.context.internalBackdropRef:null,inert:WW(!h),cutout:pe}),(0,nX.jsx)(iY,{id:A,children:(0,nX.jsx)(_P,{elementsRef:R.context.itemDomElements,labelsRef:R.context.itemLabels,children:He})})]})});var Pa=u(E(),1);var EW=u(E(),1),SY=EW.createContext(void 0);function Aq(){let e=EW.useContext(SY);if(e===void 0)throw new Error(St(34));return e}var wY=u(F(),1),Oq=Pa.memo(Pa.forwardRef(function(t,c){let{render:n,className:l,value:o,defaultValue:d,onValueChange:i,disabled:r=!1,style:a,"aria-labelledby":s,...b}=t,[m,X]=Pa.useState(void 0),[G,g]=U5({controlled:o,default:d,name:"MenuRadioGroup"}),x=Ie((I,f)=>{i?.(I,f),!f.isCanceled&&g(I)}),p=it("div",t,{state:{disabled:r},ref:c,props:{role:"group","aria-labelledby":s??m,"aria-disabled":r||void 0,...b}}),R=Pa.useMemo(()=>({value:G,setValue:x,disabled:r}),[G,x,r]);return(0,wY.jsx)(rp.Provider,{value:X,children:(0,wY.jsx)(SY.Provider,{value:R,children:p})})}));var DW=u(E(),1);var LW=u(E(),1),kY=LW.createContext(void 0);function Qq(){let e=LW.useContext(kY);if(e===void 0)throw new Error(St(35));return e}var Uq=u(F(),1),Eq=DW.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,nativeButton:i=!1,disabled:r=!1,closeOnClick:a=!1,value:s,style:b,...m}=t,X=Io({guess:!0,label:d}),G=kn(!0),g=hl(o),{store:x}=Et(),H=x.useState("isActive",X.index),p=x.useState("itemProps"),{value:R,setValue:I,disabled:f}=Aq(),y=x.useState("disabled"),Z=r||f||y,W=R===s,{getItemProps:v,itemRef:h}=ja({closeOnClick:a,disabled:Z,highlighted:H,id:g,store:x,nativeButton:i,nodeId:G?.context.nodeId,itemMetadata:_a}),C=DW.useMemo(()=>({disabled:Z,highlighted:H,checked:W}),[Z,H,W]);function B(S){let Y=_e(fe.itemPress,S.nativeEvent,void 0,{preventUnmountOnClose:tn});I(s,Y)}let V=it("div",t,{state:C,stateAttributesMapping:Ma,props:[p,{role:"menuitemradio","aria-checked":W,onClick:B},m,v],ref:[h,c,X.ref]});return(0,Uq.jsx)(kY.Provider,{value:C,children:V})});var _W=u(E(),1);var Lq=_W.forwardRef(function(t,c){let{render:n,className:l,style:o,keepMounted:d=!1,...i}=t,r=Qq(),a=_W.useRef(null),{transitionStatus:s,mounted:b,setMounted:m}=E0(r.checked);za({batch:!0,enabled:!r.checked,open:r.checked,ref:a,onComplete(){r.checked||m(!1)}});let X={checked:r.checked,disabled:r.disabled,highlighted:r.highlighted,transitionStatus:s};return it("span",t,{state:X,stateAttributesMapping:Ma,ref:[c,a],props:{"aria-hidden":!0,...i},enabled:d||b})});var Wc=u(E(),1);var jW=u(E(),1),i1e=jW.createContext(null);function MW(e){let t=jW.useContext(i1e);if(t===null&&!e)throw new Error(St(5));return t}var ap=u(E(),1);var Dq={...SK,disabled:e=>e.parent.type==="menubar"&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type==="context-menu")&&(e.modal??!0),openMethod:e=>e.openMethod,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type==="menu"?e.parent.store.select("rootId"):e.parent.type!==void 0?e.parent.context.rootId:e.rootId,activeIndex:e=>e.activeIndex,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type==="menu"?e.parent.store.select("floatingTreeRoot"):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type==="menu")return e.parent.store.select("keyboardEventRelay")}},PW=class extends Ua{constructor(t,c,n=!1){let l=new cp,o=Mq(l,c,n,t);super(o,jq(l),Dq),this.unsubscribeParentListener=this.observe("parent",d=>{if(this.unsubscribeParentListener?.(),d.type==="menu"){let i=d.store.select("rootId"),r=d.store.select("floatingTreeRoot"),a=d.store.select("keyboardEventRelay");this.unsubscribeParentListener=d.store.subscribe(()=>{let s=d.store.select("rootId"),b=d.store.select("floatingTreeRoot"),m=d.store.select("keyboardEventRelay");i===s&&r===b&&a===m||(i=s,r=b,a=m,this.notifyAll())}),this.context.allowMouseUpTriggerRef=d.store.context.allowMouseUpTriggerRef;return}d.type!==void 0&&(this.context.allowMouseUpTriggerRef=d.context.allowMouseUpTriggerRef),this.unsubscribeParentListener=null})}setOpen(t,c){this.state.floatingRootContext.context.events.emit("setOpen",{open:t,eventDetails:c})}unsubscribeParentListener=null};function _q(){let e=new cp,t=new yW(Object.freeze(Mq(e)),Object.freeze(jq(e)),Dq);return Object.assign(t,{setOpen:tn})}function jq(e){return{positionerRef:ap.createRef(),popupRef:ap.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},allowMouseUpTriggerRef:{current:!1},triggerFocusTargetRef:ap.createRef(),beforeContentFocusGuardRef:ap.createRef(),onOpenChangeComplete:void 0,triggerElements:e}}function Mq(e,t,c=!1,n){return{...YK(e,t,c),disabled:!1,modal:!0,openMethod:null,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new Aa,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:Gt,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0,...n}}var KW=u(E(),1),zY=KW.createContext(void 0);function qW(){return KW.useContext(zY)}var sp=u(F(),1),$W=XY(function(t){let{children:c,open:n,onOpenChange:l,onOpenChangeComplete:o,defaultOpen:d=!1,disabled:i=!1,modal:r,loopFocus:a=!0,orientation:s="vertical",actionsRef:b,closeParentOnEsc:m=!1,handle:X,triggerId:G,defaultTriggerId:g=null,highlightItemOnHover:x=!0}=t,H=Da(!0),p=Et(!0),R=MW(!0),I=qW(),f=Wc.useMemo(()=>I&&p?{type:"menu",store:p.store}:R?{type:"menubar",context:R}:H&&!p?{type:"context-menu",context:H}:{type:void 0},[H,p,R,I]),y=br(),Z=br(),W=od(),v=f.type==="menu"?f.store:void 0,h=(n??d)&&v?.state.transitionStatus==="starting",C=oc(()=>h?v?.state.instantType:void 0).current,B=r1e({open:d,openProp:n,activeTriggerId:g,triggerIdProp:G,parent:f,disabled:i,highlightItemOnHover:x,modal:f.type===void 0?r:void 0,rootId:y,instantType:C},Z,W!=null);B.useControlledProp("openProp",n),B.useControlledProp("triggerIdProp",G),B.useContextCallback("onOpenChangeComplete",o);let V=B.useState("floatingTreeRoot"),S=qx(V),Y=B.useState("open"),J=B.useState("activeTriggerElement"),k=B.useState("positionerElement"),N=B.useState("hoverEnabled"),A=B.useState("disabled"),Q=B.useState("lastOpenChangeReason"),z=B.useState("parent"),D=B.useState("activeIndex"),U=B.useState("payload"),O=B.useState("floatingParentNodeId"),L=Wc.useRef(null),M=Wc.useRef(z.type!=="context-menu"),_=gc(),j=Wc.useRef(!0),ue=gc(),xe=O!=null,{openMethod:Be,triggerProps:P}=MK(Y);B.useSyncedValues({disabled:i,highlightItemOnHover:x,modal:z.type===void 0?r:void 0,openMethod:Be,rootId:y}),VK(B);let{forceUnmount:ye,transitionStatus:Te}=CK(Y,B,()=>{B.set("allowMouseEnter",!1)},h),ze=ai(B.context.popupRef);Wc.useEffect(()=>{if(C===void 0)return;let Ye=()=>{B.state.instantType===C&&B.set("instantType",void 0)};if(!Y){Ye();return}if(Te!==void 0)return;if(B.context.popupRef.current==null){Ye();return}let le=new AbortController;return ze(Ye,le.signal),()=>{le.abort()}},[C,Y,Te,ze,B]),Xe(()=>{H&&!p?B.update({parent:{type:"context-menu",context:H},floatingNodeId:S,floatingParentNodeId:W}):p&&B.update({floatingNodeId:S,floatingParentNodeId:W})},[H,p,S,W,B]),Wc.useEffect(()=>{if(Y||(L.current=null),z.type==="context-menu"){if(!Y){_.clear(),M.current=!1;return}_.start(500,()=>{M.current=!0})}},[_,Y,z.type]),Xe(()=>{!Y&&!N&&B.set("hoverEnabled",!0)},[Y,N,B]);let Ne=Ie((Ye,le)=>{let Fe=le.reason;if(!Ye&&!B.select("open")||Y===Ye&&le.trigger===J&&Q===Fe)return;let Qe=BK(le);if(!Ye&&le.trigger==null&&(le.trigger=J??void 0),l?.(Ye,le),le.isCanceled)return;B.state.floatingRootContext.dispatchOpenChange(Ye,le);let he=le.event;if(Ye===!1&&he?.type==="click"&&he.pointerType==="touch"&&!j.current)return;Ye&&Fe===fe.triggerFocus?(j.current=!1,ue.start(300,()=>{j.current=!0})):(j.current=!0,ue.clear());let Ke=(Fe===fe.triggerPress||Fe===fe.itemPress)&&he.detail===0,ut=!Ye&&(Fe===fe.escapeKey||Fe==null);L.current=le.event;let kt=hK(B.state,Ye,le.trigger,Qe());kt.openChangeReason=Fe,z.type==="menubar"&&(Fe===fe.triggerFocus||Fe===fe.focusOut||Fe===fe.triggerHover||Fe===fe.listNavigation||Fe===fe.siblingOpen)?kt.instantType="group":Ke||ut?kt.instantType=Ke?"click":"dismiss":kt.instantType=void 0,B.update(kt)}),He=gY({popupStore:B,floatingRootContext:B.state.floatingRootContext,floatingId:Z,nested:W!=null,onOpenChange:Ne}),we=He.context.events;Xe(()=>{let Ye=({open:le,eventDetails:Fe})=>Ne(le,Fe);return we.on("setOpen",Ye),()=>{we?.off("setOpen",Ye)}},[we,Ne]);let pe=Wc.useCallback(()=>{B.setOpen(!1,_e(fe.imperativeAction))},[B]);Wc.useImperativeHandle(b,()=>({unmount:ye,close:pe}),[ye,pe]);let ve;z.type==="context-menu"&&(ve=z.context),Wc.useImperativeHandle(ve?.positionerRef,()=>k,[k]),Wc.useImperativeHandle(ve?.actionsRef,()=>({setOpen:Ne}),[Ne]);let Ve=bY(He,{enabled:!A,bubbles:{escapeKey:m&&z.type==="menu"},outsidePress(){return z.type!=="context-menu"||L.current?.type==="contextmenu"?!0:M.current},externalTree:xe?V:void 0}),qe=La(),Vt=Wc.useCallback(Ye=>{B.select("activeIndex")!==Ye&&B.set("activeIndex",Ye)},[B]),Ge=BY(He,{enabled:!A,listRef:B.context.itemDomElements,activeIndex:D,nested:z.type!==void 0,loopFocus:a,orientation:s,parentOrientation:z.type==="menubar"?z.context.orientation:void 0,rtl:qe==="rtl",disabledIndices:ar,onNavigate:Vt,openOnArrowKeyDown:z.type!=="context-menu",externalTree:xe?V:void 0,focusItemOnHover:x}),We=Wc.useCallback(Ye=>{B.context.typingRef.current=Ye},[B]),se=vY(He,{enabled:!A,listRef:B.context.itemLabels,elementsRef:B.context.itemDomElements,activeIndex:D,resetMs:500,onMatch:Ye=>{Y&&Ye!==D&&B.set("activeIndex",Ye)},onTyping:We}),ee=Wc.useMemo(()=>{let Ye=rc(se.reference,Ge.reference,Ve.reference,{onMouseMove(){B.set("allowMouseEnter",!0)}},P);return Ye["aria-haspopup"]="menu",Ye["aria-expanded"]=Y,Ye},[B,se.reference,Ge.reference,Ve.reference,P,Y]),Ae=Wc.useMemo(()=>{let Ye=rc(Ge.trigger,Ve.trigger,P);return Ye["aria-haspopup"]="menu",Ye["aria-expanded"]=!1,Ye},[Ge.trigger,Ve.trigger,P]);oc(()=>(B.update({inactiveTriggerProps:Ae}),null));let ot=Wc.useMemo(()=>rc(yK,{id:Z,role:"menu","aria-orientation":s==="horizontal"?"horizontal":void 0,"aria-labelledby":J?.id,onMouseMove(){B.set("allowMouseEnter",!0),z.type==="menu"&&B.set("hoverEnabled",!1)},onClick(){B.select("hoverEnabled")&&B.set("hoverEnabled",!1)},onKeyDown(Ye){let le=B.select("keyboardEventRelay");le&&!Ye.isPropagationStopped()&&le(Ye)}},se.floating,Ge.floating,Ve.floating),[J,Z,s,z.type,B,se.floating,Ge.floating,Ve.floating]),ft=Ge.item??Gt;FK(B,{floatingRootContext:He,activeTriggerProps:ee,inactiveTriggerProps:Ae,popupProps:ot,itemProps:ft});let Lt=Wc.useMemo(()=>({store:B,parent:f}),[B,f]),kc=(0,sp.jsxs)(FY.Provider,{value:Lt,children:[X&&(0,sp.jsx)(WK,{handle:X,store:B}),typeof c=="function"?c({payload:U}):c]});return z.type===void 0||z.type==="context-menu"?(0,sp.jsx)(rY,{externalTree:V,children:kc}):kc});function r1e(e,t,c){return oc(()=>new PW(e,t,c)).current}var Pq=u(E(),1);var TY=u(F(),1);function Kq(e){let t=Et().store,c=Pq.useMemo(()=>({parentMenu:t}),[t]);return(0,TY.jsx)(zY.Provider,{value:c,children:(0,TY.jsx)($W,{...e})})}var zn=u(E(),1);var qq=u(E(),1);function $q(e={}){let{highlightItemOnHover:t,highlightedIndex:c,onHighlightedIndexChange:n}=L0(),{ref:l,index:o}=Io(e),d=c===o,i=qq.useRef(null),r=ri(l,i);return{compositeProps:{tabIndex:d?0:-1,onFocus(){n(o)},onMouseMove(){let s=i.current;if(!t||!s)return;let b=s.hasAttribute("disabled")||s.ariaDisabled==="true";!d&&!b&&s.focus()}},compositeRef:r,index:o}}function e$(e){let{render:t,className:c,style:n,state:l=Gt,props:o=ar,refs:d=ar,metadata:i,stateAttributesMapping:r,tag:a="div",...s}=e,{compositeProps:b,compositeRef:m}=$q({metadata:i});return it(a,e,{state:l,ref:[m,...d],props:[b,...o,s],stateAttributesMapping:r})}function AY(e){if(st(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!ao(e))return AY(ro(e))}var t$=u(E(),1),OY=u(io(),1);function c$(e,t){let c=t$.useRef(null);function n(o){OY.flushSync(()=>{e.setOpen(!1,_e(fe.focusOut,o.nativeEvent,o.currentTarget))}),D8(c.current)?.focus()}function l(o){let d=e.select("positionerElement");if(d&&Xr(o,d))e.context.beforeContentFocusGuardRef.current?.focus();else{OY.flushSync(()=>{e.setOpen(!1,_e(fe.focusOut,o.nativeEvent,o.currentTarget))});let i=L8(e.context.triggerFocusTargetRef.current||t.current);for(;i!==null&&Se(d,i);){let r=i;if(i=K0(i),i===r)break}i?.focus()}}return{preFocusGuardRef:c,handlePreFocusGuardFocus:n,handleFocusTargetFocus:l}}var eh=u(E(),1);function n$(e){let{enabled:t=!0,mouseDownAction:c,open:n}=e,l=eh.useRef(!1);return eh.useMemo(()=>t?{onMouseDown:o=>{(c==="open"&&!n||c==="close"&&n)&&(l.current=!0,je(o.currentTarget).addEventListener("click",()=>{l.current=!1},{once:!0}))},onClick:o=>{l.current&&(l.current=!1,o.preventBaseUIHandler())}}:Gt,[t,c,n])}var Ka=u(F(),1),l$=RK(function(t,c){let{render:n,className:l,style:o,disabled:d=!1,nativeButton:i=!0,id:r,openOnHover:a,delay:s=100,closeDelay:b=0,handle:m,payload:X,...G}=t,g=Et(!0),H=kK(m)??g?.store;if(!H)throw new Error(St(85));let p=hl(r),R=H.useState("isTriggerActive",p),I=H.useState("floatingRootContext"),f=H.useState("isOpenedByTrigger",p),y=H.useState("triggerPopupId",p),Z=zn.useRef(null),W=s1e(),v=L0(!0),h=Nn(),C=zn.useMemo(()=>h??new Aa,[h]),B=qx(C),V=od(),{registerTrigger:S,isMountedByThisTrigger:Y}=vK(p,Z,H,{payload:X,closeDelay:b,parent:W,floatingTreeRoot:C,floatingNodeId:B,floatingParentNodeId:V,keyboardEventRelay:v?.relayKeyboardEvent}),J=W.type==="menubar",k=H.useState("disabled"),N=d||k||J&&W.context.disabled,{getButtonProps:A,buttonRef:Q}=wb({disabled:N,native:i});zn.useEffect(()=>{!f&&W.type===void 0&&(H.context.allowMouseUpTriggerRef.current=!1)},[H,f,W.type]);let z=zn.useRef(null),D=gc(),U=Ie(ve=>{if(!z.current)return;D.clear(),H.context.allowMouseUpTriggerRef.current=!1;let Ve=ve.target;Se(z.current,Ve)||Se(H.select("positionerElement"),Ve)||Ve===z.current||Ve!=null&&AY(Ve)===H.select("rootId")||PK(ve,z.current)||C.events.emit("close",{domEvent:ve,reason:fe.cancelOpen})});zn.useEffect(()=>{f&&H.select("lastOpenChangeReason")===fe.triggerHover&&je(z.current).addEventListener("mouseup",U,{once:!0})},[f,U,H]);let O=J&&W.context.hasSubmenuOpen,M=lp(I,{enabled:(a??O)&&!N&&(!J||O&&!Y),handleClose:op({blockPointerEvents:!J}),mouseOnly:!0,move:!1,restMs:W.type===void 0?s:void 0,delay:{close:b},triggerElementRef:Z,externalTree:C,isActiveTrigger:R,isClosing:()=>H.select("transitionStatus")==="ending"}),_=a1e(f,H.select("lastOpenChangeReason")),j=tp(I,{enabled:!N,event:f&&J?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:W.type===void 0?_:!1}),ue=ZY(I,{enabled:!N&&O}),xe=n$({open:f,enabled:J,mouseDownAction:"open"}),Be=zn.useMemo(()=>rc(ue.reference,j.reference),[ue.reference,j.reference]),P=H.useState("triggerProps",Y),{preFocusGuardRef:ye,handlePreFocusGuardFocus:Te,handleFocusTargetFocus:ze}=c$(H,Z),Ne={disabled:N,open:f},He=[z,c,Q,S,Z],we=[Be,M??Gt,P,{"aria-haspopup":"menu","aria-controls":y,id:p,onMouseDown:ve=>{if(H.select("open"))return;D.start(200,()=>{H.context.allowMouseUpTriggerRef.current=!0}),je(ve.currentTarget).addEventListener("mouseup",U,{once:!0})}},J?{role:"menuitem"}:{},xe,G,A],pe=it("button",t,{enabled:!J,stateAttributesMapping:OJ,state:Ne,ref:He,props:we});return J?(0,Ka.jsx)(e$,{tag:"button",render:n,className:l,style:o,state:Ne,refs:He,props:we,stateAttributesMapping:OJ}):f?(0,Ka.jsxs)(zn.Fragment,{children:[(0,Ka.jsx)(mr,{ref:ye,onFocus:Te},`${p}-pre-focus-guard`),(0,Ka.jsx)(zn.Fragment,{children:pe},p),(0,Ka.jsx)(mr,{ref:H.context.triggerFocusTargetRef,onFocus:ze},`${p}-post-focus-guard`)]}):(0,Ka.jsx)(zn.Fragment,{children:pe},p)});function a1e(e,t){let c=gc(),[n,l]=zn.useState(!1);return Xe(()=>{e&&t===fe.triggerHover?(l(!0),c.start(500,()=>{l(!1)})):e||(c.clear(),l(!1))},[e,t,c]),n}function s1e(){let e=MW(!0);return zn.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}var p$=u(E(),1);var gn=u(E(),1),G$=u(io(),1);var o$=u(E(),1);function d$(e){let[t,c]=o$.useState({current:e,previous:null});return Object.is(e,t.current)||c({current:e,previous:t.current}),t.previous}var lX=u(E(),1);function QY(e){let t=Oc(e),c=parseFloat(t.width)||0,n=parseFloat(t.height)||0,l=st(e),o=l?e.offsetWidth:c,d=l?e.offsetHeight:n;return(Or(c)!==o||Or(n)!==d)&&(c=o,n=d),{width:c,height:n}}var bp="--popup-width",up="--popup-height";function a$(e){let{popupElement:t,positionerElement:c,content:n,mounted:l,onMeasureLayout:o,onMeasureLayoutComplete:d,side:i,direction:r}=e,a=ai(t,!0),s=Ul(),b=lX.useRef(null),m=lX.useRef(!0),X=lX.useRef(tn),G=Ie(o),g=Ie(d),x=lX.useMemo(()=>b1e(i,r),[i,r]);Xe(()=>{if(!l){X.current=tn,m.current=!0,b.current=null;return}if(!t||!c)return;X.current=r$(t,x),UY(t,"auto");let H=ch(t,"position","static"),p=ch(t,"transform","none"),R=ch(t,"scale","1"),I=r$(c,{[vW]:"max-content",[VW]:"max-content"});function f(){H(),p(),I()}function y(){f(),R()}if(G?.(),m.current||b.current===null){th(c,"max-content");let h=QY(t);return b.current=h,th(c,h),y(),g?.(null,h),m.current=!1,()=>{X.current(),X.current=tn}}th(c,"max-content");let Z=b.current,W=QY(t);b.current=W,UY(t,Z),y(),g?.(Z,W),th(c,W);let v=new AbortController;return s.request(()=>{UY(t,W),a(()=>{t.style.setProperty(bp,"auto"),t.style.setProperty(up,"auto")},v.signal)}),()=>{v.abort(),s.cancel(),X.current(),X.current=tn}},[n,t,c,a,s,l,G,g,x])}function b1e(e,t){let c=e==="top",n=e==="left"||e===(t==="rtl"?"inline-end":"inline-start");return!c&&!n?Gt:{position:"absolute",[c?"bottom":"top"]:"0",[n?"right":"left"]:"0"}}function ch(e,t,c){let n=e.style.getPropertyValue(t);return e.style.setProperty(t,c),()=>{e.style.setProperty(t,n)}}function r$(e,t){let c=[];for(let[n,l]of Object.entries(t))c.push(ch(e,n,l));return c.length?()=>{c.forEach(n=>n())}:tn}function UY(e,t){let c=t==="auto"?"auto":`${t.width}px`,n=t==="auto"?"auto":`${t.height}px`;e.style.setProperty(bp,c),e.style.setProperty(up,n)}function th(e,t){let c=t==="max-content"?"max-content":`${t.width}px`,n=t==="max-content"?"max-content":`${t.height}px`;e.style.setProperty(cq,c),e.style.setProperty(nq,n)}var s$=u(E(),1);var b$=u(F(),1),nh=function(t){let{direction:c="ltr"}=t,n=s$.useMemo(()=>({direction:c}),[c]);return(0,b$.jsx)(VY.Provider,{value:n,children:t.children})};var u$={name:"adaptiveOrigin",async fn(e){let{x:t,y:c,rects:{floating:n},elements:{floating:l},platform:o,strategy:d,placement:i}=e,r=ht(l),a=r.getComputedStyle(l);if(!(a.transitionDuration!=="0s"&&a.transitionDuration!==""))return{x:t,y:c,data:tX};let b=await o.getOffsetParent?.(l),m={width:0,height:0};if(d==="fixed"&&r?.visualViewport)m={width:r.visualViewport.width,height:r.visualViewport.height};else if(b===r){let p=je(l);m={width:p.documentElement.clientWidth,height:p.documentElement.clientHeight}}else await o.isElement?.(b)&&(m=await o.getDimensions(b));let X=hn(i),G=t,g=c;X==="left"&&(G=m.width-(t+n.width)),X==="top"&&(g=m.height-(c+n.height));let x=X==="left"?"right":tX.sideX,H=X==="top"?"bottom":tX.sideY;return{x:G,y:g,data:{sideX:x,sideY:H}}}};var m$="data-activation-direction";var oX=u(F(),1),g$={activationDirection:e=>e?{[m$]:e}:null};function x$(e){let{store:t,side:c,children:n}=e,l=La(),o=t.useState("activeTriggerElement"),d=t.useState("activeTriggerId"),i=t.useState("open"),r=t.useState("payload"),a=t.useState("mounted"),s=t.useState("popupElement"),b=t.useState("positionerElement"),m=d$(i?o:null),X=G1e(d,r),G=gn.useRef(null),[g,x]=gn.useState(null),[H,p]=gn.useState(null),R=gn.useRef(null),I=gn.useRef(null),f=ai(R,!0),y=Ul(),Z=gn.useRef(null),[W,v]=gn.useState(null),[h,C]=gn.useState(!1);Xe(()=>(t.set("adaptiveOrigin",u$),()=>{t.set("adaptiveOrigin",void 0)}),[t]);let B=Ie(()=>{R.current?.style.setProperty("animation","none"),R.current?.style.setProperty("transition","none"),I.current?.style.setProperty("display","none")}),V=Ie(A=>{R.current?.style.removeProperty("animation"),R.current?.style.removeProperty("transition"),I.current?.style.removeProperty("display"),A&&v(A)}),S=Ie(()=>{Z.current?.abort();let A=new AbortController;Z.current=A,f(()=>{x(null),v(null),G.current=null},A.signal)}),Y=gn.useRef(null);Xe(()=>{(!i||!a)&&(Y.current=null)},[i,a]),Xe(()=>{if(o&&m&&o!==m&&Y.current!==o&&G.current){x(G.current),C(!0);let A=X1e(m,o);p(A),Y.current=o}},[o,m]),Xe(()=>{g!=null&&(Z.current?.abort(),C(!0),y.request(()=>{G$.flushSync(()=>{C(!1)}),S()}))},[X,g,S,y]),Xe(()=>{let A=R.current;if(!A)return;let Q=je(A).createElement("div");for(let z of Array.from(A.childNodes))Q.appendChild(z.cloneNode(!0));G.current=Q});let J=g!=null,k;J?k=(0,oX.jsxs)(gn.Fragment,{children:[(0,oX.jsx)("div",{"data-previous":!0,inert:WW(!0),ref:I,style:{...W?{[bp]:`${W.width}px`,[up]:`${W.height}px`}:null,position:"absolute"},"data-ending-style":h?void 0:""},"previous"),(0,oX.jsx)("div",{"data-current":!0,ref:R,"data-starting-style":h?"":void 0,children:n},X)]}):k=(0,oX.jsx)("div",{"data-current":!0,ref:R,children:n},X),Xe(()=>{let A=I.current;!A||!g||A.replaceChildren(...Array.from(g.childNodes))},[g]),a$({popupElement:s,positionerElement:b,mounted:a,content:r,onMeasureLayout:B,onMeasureLayoutComplete:V,side:c,direction:l});let N={activationDirection:m1e(H),transitioning:J};return{children:k,state:N}}function m1e(e){if(e)return`${X$(e.horizontal,5,"right","left")} ${X$(e.vertical,5,"down","up")}`}function X$(e,t,c,n){return e>t?c:e<-t?n:""}function X1e(e,t){let c=e.getBoundingClientRect(),n=t.getBoundingClientRect(),l={x:c.left+c.width/2,y:c.top+c.height/2},o={x:n.left+n.width/2,y:n.top+n.height/2};return{horizontal:o.x-l.x,vertical:o.y-l.y}}function G1e(e,t){let[c,n]=gn.useState(0),l=gn.useRef(e),o=gn.useRef(t),d=gn.useRef(!1);return Xe(()=>{let i=l.current,r=o.current,a=e!==i,s=t!==r;a?(n(b=>b+1),d.current=!s):d.current&&s&&(n(b=>b+1),d.current=!1),l.current=e,o.current=t},[e,t]),`${e??"current"}-${c}`}var R$=p$.forwardRef(function(t,c){let{render:n,className:l,style:o,children:d,...i}=t,{store:r}=Et(),{side:a}=kn(),s=r.useState("instantType"),{children:b,state:m}=x$({store:r,side:a,children:d}),X={activationDirection:m.activationDirection,transitioning:m.transitioning,instant:s};return it("div",t,{state:X,ref:c,props:[i,{children:b}],stateAttributesMapping:g$})});var H$=u(E(),1);var I$=H$.forwardRef(function(t,c){let{className:n,render:l,orientation:o="horizontal",style:d,...i}=t;return it("div",t,{state:{orientation:o},ref:c,props:[{role:"separator","aria-orientation":o},i]})});var gr=u(E(),1);var g1e={"aria-expanded":void 0},Z$=gr.forwardRef(function(t,c){let{render:n,className:l,style:o,label:d,id:i,nativeButton:r=!1,openOnHover:a=!0,delay:s=100,closeDelay:b=0,disabled:m=!1,...X}=t,G=qW();if(!G?.parentMenu)throw new Error(St(37));let g=Io({guess:!0,label:d}),x=kn(),{store:H}=Et(),p=hl(i),R=H.useState("open"),I=H.useState("floatingRootContext"),f=H.useState("floatingTreeRoot"),y=H.useState("triggerPopupId",p),Z=pY(p,H),W=Ie(Be=>{Z(Be),Be!==null&&H.select("open")&&H.select("activeTriggerId")==null&&H.update({activeTriggerId:p??null,activeTriggerElement:Be,closeDelay:b})}),v=gr.useRef(null),h=gr.useCallback(Be=>{v.current=Be,H.set("activeTriggerElement",Be)},[H]);Xe(()=>(W(v.current),()=>W(null)),[W,p,H]),H.useSyncedValue("closeDelay",b);let C=G.parentMenu,B=H.useState("disabled"),V=C.useState("disabled"),S=m||B||V,Y=C.useState("itemProps"),J=C.useState("isActive",g.index),k=gr.useMemo(()=>({type:"submenu-trigger",setActive(){C.select("highlightItemOnHover")&&C.set("activeIndex",g.index)}}),[C,g.index]),{getItemProps:N,itemRef:A}=ja({closeOnClick:!1,disabled:S,highlighted:J,id:p,store:H,typingRef:C.context.typingRef,nativeButton:r,itemMetadata:k,nodeId:x?.context.nodeId}),Q=H.useState("hoverEnabled"),z=lp(I,{enabled:Q&&a&&!S,handleClose:op({blockPointerEvents:!0}),mouseOnly:!0,move:!0,restMs:s,delay:{open:s,close:b},shouldOpen:s>0?()=>C.select("allowMouseEnter"):void 0,triggerElementRef:v,externalTree:f,isClosing:()=>H.select("transitionStatus")==="ending",guardStaleOpen:!0}),U=tp(I,{enabled:!S,event:"mousedown",toggle:!a,ignoreMouse:a,stickIfOpen:!1}).reference??Gt,O=H.useState("triggerProps",!0);delete O.id;let L={disabled:S,highlighted:J,open:R},M=H.useState("openMethod"),j=H.useState("lastOpenChangeReason")===fe.listNavigation||M==="keyboard",ue=R&&j&&vt.screenReader.voiceOver;return it("div",t,{state:L,stateAttributesMapping:C8,props:[U,z,O,Y,ue?g1e:void 0,{"aria-controls":y,tabIndex:R||J?0:-1,onBlur(){J&&C.set("activeIndex",null)}},X,N],ref:[c,g.ref,A,W,h]})});var mp=class extends uW{constructor(){super(_q(),"Menu")}open(t){this.openByTrigger(t)}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select("open")??!1}};function f$(){return new mp}function qa(e){return it(e.defaultTagName??"div",e,e)}var h$=u(T(),1),EY="data-wp-hash";function LY(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&p1e(document)),e.__wpStyleRuntime}function x1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${EY}]`))if(c.getAttribute(EY)===t)return!0;return!1}function B$(e,t,c){if(!e.head)return;let n=LY(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(x1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(EY,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function p1e(e){let t=LY();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)B$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function v$(e,t){let c=LY();c.styles.set(e,t);for(let n of c.documents.keys())B$(n,e,t)}typeof process>"u",v$("3167e7d116",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{text-wrap:pretty;margin:0}._14437cfb77831647__heading-2xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-p-line-height:var(--wpds-typography-line-height-2xl,40px);font-size:var(--wpds-typography-font-size-2xl,32px);line-height:var(--wpds-typography-line-height-2xl,40px)}._14437cfb77831647__heading-2xl,._3c78b7fa9b4072dd__heading-xl{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-emphasis,600)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-md,24px)}.aa58f227716bcde2__heading-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-lg,15px)}.aa58f227716bcde2__heading-lg,.fc4da56d8dfe52c4__heading-md{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wpds-typography-line-height-sm,20px)}.fc4da56d8dfe52c4__heading-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px)}.a9b78c7c82e8dff7__heading-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wpds-typography-line-height-xs,16px);text-transform:uppercase}._305ff559e52180d5__body-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-xl,32px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-xl,32px)}._305ff559e52180d5__body-xl,.ca1aa3fc2029e958__body-lg{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-default,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-lg,15px);line-height:var(--wpds-typography-line-height-md,24px)}._131101940be12424__body-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px)}._0e8d87a42c1f75fa__body-sm,._131101940be12424__body-md{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-default,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var y$={text:"_83ed8a8da5dd50ea__text","heading-2xl":"_14437cfb77831647__heading-2xl","heading-xl":"_3c78b7fa9b4072dd__heading-xl","heading-lg":"aa58f227716bcde2__heading-lg","heading-md":"fc4da56d8dfe52c4__heading-md","heading-sm":"a9b78c7c82e8dff7__heading-sm","body-xl":"_305ff559e52180d5__body-xl","body-lg":"ca1aa3fc2029e958__body-lg","body-md":"_131101940be12424__body-md","body-sm":"_0e8d87a42c1f75fa__body-sm"};typeof process>"u",v$("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var W$={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"},Xp=(0,h$.forwardRef)(function({variant:t="body-md",render:c,className:n,...l},o){return qa({render:c,defaultTagName:"span",ref:o,props:rc(l,{className:w(y$.text,W$.heading,W$.p,y$[t],n)})})});var _Y="data-wp-hash";function jY(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&H1e(document)),e.__wpStyleRuntime}function R1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${_Y}]`))if(c.getAttribute(_Y)===t)return!0;return!1}function C$(e,t,c){if(!e.head)return;let n=jY(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(R1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(_Y,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function H1e(e){let t=jY();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)C$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function I1e(e,t){let c=jY();c.styles.set(e,t);for(let n of c.documents.keys())C$(n,e,t)}typeof process>"u",I1e("be37f31c1e","._11fc52b637ff8a7e__slot{inset:0;isolation:isolate;pointer-events:none;position:fixed;z-index:1000000003}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._11fc52b637ff8a7e__slot>*{pointer-events:auto}}}");var V$={slot:"_11fc52b637ff8a7e__slot"},F$="data-wp-compat-overlay-slot";function Z1e(){return typeof document>"u"?null:document}function f1e(){let e;try{e=window.top?.wp}catch{}let t=e??window.wp;return typeof t?.components=="object"&&t.components!==null}var ui=null;function DY(e){return e.setAttribute("aria-hidden","false"),e}function y1e(e){let t=e.createElement("div");return t.setAttribute(F$,""),V$.slot&&t.classList.add(V$.slot),e.body.appendChild(t),t}function Gp(){if(typeof window>"u"||!f1e()&&window.__wpUiCompatOverlaySlotEnabled!==!0)return;let e=Z1e();if(!e||!e.body)return;if(ui&&ui.ownerDocument===e&&ui.isConnected)return DY(ui);let t=e.querySelector(`[${F$}]`);return t instanceof HTMLDivElement?(ui=DY(t),ui):(ui?.isConnected&&ui.remove(),ui=DY(y1e(e)),ui)}var J$=u(T(),1);function MY(e,t,c){return(0,J$.cloneElement)(e??t,{children:c})}var Y$=u(Ze(),1),N$=u(F(),1);function S$({children:e}){return(0,N$.jsx)(nh,{direction:(0,Y$.isRTL)()?"rtl":"ltr",children:e})}var _l={};Fl(_l,{CheckboxItem:()=>nee,Group:()=>iee,GroupLabel:()=>bee,Item:()=>eee,ItemDescription:()=>ih,ItemLabel:()=>rh,LinkItem:()=>gee,Popup:()=>hee,Portal:()=>ah,Positioner:()=>sh,PrefixIcon:()=>yN,RadioGroup:()=>Yee,RadioItem:()=>wee,Root:()=>Tee,Separator:()=>Uee,SubmenuRoot:()=>Eee,SubmenuTrigger:()=>jee,Trigger:()=>Kee});var tee=u(T(),1);var w$=u(T(),1),k$=u(rt(),1),z$=u(F(),1),dd=(0,w$.forwardRef)(function({icon:t,size:c=24,style:n,...l},o){let d=t.props.style||n?{...t.props.style,...n}:void 0;return(0,z$.jsx)(k$.SVG,{ref:o,...t.props,...l,...d?{style:d}:{},width:c,height:c})});var dX=u(T(),1),gp=(0,dX.createContext)({isSubmenu:!1}),lh=()=>(0,dX.useContext)(gp),id=(0,dX.createContext)(null),T$=()=>(0,dX.useContext)(id);var iX=u(T(),1);var xp=u(T(),1),dh=u(Ze(),1);var A$=u(T(),1),PY="data-wp-hash";function KY(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&h1e(document)),e.__wpStyleRuntime}function W1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PY}]`))if(c.getAttribute(PY)===t)return!0;return!1}function O$(e,t,c){if(!e.head)return;let n=KY(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(W1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PY,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function h1e(e){let t=KY();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)O$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function B1e(e,t){let c=KY();c.styles.set(e,t);for(let n of c.documents.keys())O$(n,e,t)}typeof process>"u",B1e("f4df7461e9","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f37b9e2e191ebd66__visually-hidden{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;overflow-wrap:normal;padding:0;position:absolute;width:1px;word-break:normal}}}");var v1e={"visually-hidden":"f37b9e2e191ebd66__visually-hidden"},qY=(0,A$.forwardRef)(function({render:t,...c},n){return qa({render:t,ref:n,props:rc({className:v1e["visually-hidden"]},c,{"data-visually-hidden":""})})});var oh=u(F(),1);function Q$({"aria-describedby":e,"aria-keyshortcuts":t,shortcut:c}){let n=(0,xp.useId)(),l=c?n:void 0,o=[e,l].filter(Boolean).join(" ");return{descriptionId:l,targetProps:{"aria-describedby":o||void 0,"aria-keyshortcuts":c?.ariaKeyShortcut??t}}}var U$=(0,xp.forwardRef)(function({descriptionId:t,shortcut:c},n){return(0,oh.jsx)(qY,{id:t,"aria-hidden":"true",render:(0,oh.jsx)("span",{ref:n}),children:(0,dh.sprintf)((0,dh.__)("Keyboard shortcut: %s"),c.label??c.ariaKeyShortcut)})}),E$=(0,xp.forwardRef)(function({className:t,shortcut:c},n){return(0,oh.jsx)("span",{ref:n,"aria-hidden":"true",className:t,dir:"ltr",children:c.displayShortcut})});var Dl=u(T(),1),V1e=!1;function L$(e,{Label:t,Description:c,validationMessage:n}){let l=Dl.Children.toArray(e),[o,...d]=l,i=(0,Dl.isValidElement)(o)&&o.type===t,r=d.filter(a=>(0,Dl.isValidElement)(a)&&a.type===c);if(V1e&&(!i||r.length!==d.length))throw new Error(n);return{descriptionIds:r.map(a=>a.props.id),hasLabel:i,labelId:i?o.props.id:void 0}}function $Y(e,t,{"aria-describedby":c,"aria-label":n,"aria-labelledby":l}={}){let o=(0,Dl.useId)(),d=(0,Dl.useId)(),{descriptionIds:i,hasLabel:r,labelId:a}=L$(e,t),s=r?a??o:void 0,b=i.map((R,I)=>R??`${d}-${I}`),m=Array.from(new Set([...c?.split(/\s+/).filter(Boolean)??[],...b])).join(" "),X=0,{Label:G,Description:g,descriptionValidationToken:x}=t;return{contentChildren:Dl.Children.map(e,R=>{if(!(0,Dl.isValidElement)(R))return R;if(R.type===G)return R.props.id===s?R:(0,Dl.cloneElement)(R,{id:s});if(R.type!==g)return R;let I=b[X++];return!x&&R.props.id===I?R:(0,Dl.cloneElement)(R,{id:I,...x&&{validationToken:x}})}),resolvedLabelId:s,itemAriaProps:{"aria-describedby":m||void 0,"aria-label":n,"aria-labelledby":l??(n?void 0:s)}}}var D$=u(T(),1);var j$=u(F(),1),eN="data-wp-hash";function tN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&F1e(document)),e.__wpStyleRuntime}function C1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${eN}]`))if(c.getAttribute(eN)===t)return!0;return!1}function _$(e,t,c){if(!e.head)return;let n=tN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(C1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(eN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function F1e(e){let t=tN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)_$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function J1e(e,t){let c=tN();c.styles.set(e,t);for(let n of c.documents.keys())_$(n,e,t)}typeof process>"u",J1e("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var Y1e={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},M$=Symbol(),ih=(0,D$.forwardRef)(function(t,c){let{className:n,id:l,validationToken:o,...d}=t;return(0,j$.jsx)(Xp,{ref:c,variant:"body-sm",...d,id:l,className:w(Y1e["item-description"],n)})});var P$=u(T(),1);var q$=u(F(),1),cN="data-wp-hash";function nN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&S1e(document)),e.__wpStyleRuntime}function N1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${cN}]`))if(c.getAttribute(cN)===t)return!0;return!1}function K$(e,t,c){if(!e.head)return;let n=nN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(N1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(cN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function S1e(e){let t=nN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)K$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function w1e(e,t){let c=nN();c.styles.set(e,t);for(let n of c.documents.keys())K$(n,e,t)}typeof process>"u",w1e("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var k1e={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},rh=(0,P$.forwardRef)(function({children:t,className:c,id:n,...l},o){let d=T$();return(0,q$.jsxs)(Xp,{ref:o,variant:"body-md",...l,id:n??d?.labelId,className:w(k1e["item-label"],c),children:[t,d?.labelTrailing]})});var Tn=u(F(),1),lN="data-wp-hash";function oN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&T1e(document)),e.__wpStyleRuntime}function z1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${lN}]`))if(c.getAttribute(lN)===t)return!0;return!1}function $$(e,t,c){if(!e.head)return;let n=oN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(z1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(lN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function T1e(e){let t=oN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)$$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function dN(e,t){let c=oN();c.styles.set(e,t);for(let n of c.documents.keys())$$(n,e,t)}typeof process>"u",dN("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var A1e={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",dN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var O1e={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",dN("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var Lb={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},Q1e={Label:rh,Description:ih,validationMessage:"Menu.ItemLabel must be the first direct child of every menu item, followed only by Menu.ItemDescription components.",descriptionValidationToken:M$};function xr(e,{"aria-describedby":t,"aria-keyshortcuts":c,"aria-label":n,"aria-labelledby":l,labelTrailing:o,shortcut:d}){let{contentChildren:i,resolvedLabelId:r,itemAriaProps:a}=$Y(e,Q1e,{"aria-describedby":t,"aria-label":n,"aria-labelledby":l}),{descriptionId:s,targetProps:b}=Q$({"aria-describedby":a["aria-describedby"],"aria-keyshortcuts":c,shortcut:d});return{contentChildren:i,contentContextValue:{labelId:r,labelTrailing:o},itemAriaProps:{...b,"aria-label":a["aria-label"],"aria-labelledby":a["aria-labelledby"]},shortcutDescriptionId:s}}function pr({children:e,prefix:t,shortcut:c,shortcutDescriptionId:n,suffix:l,trailing:o}){let d=iX.Children.toArray(t).some(a=>a!==""),i=iX.Children.toArray(l).some(a=>a!==""),r=iX.Children.toArray(o).some(a=>a!=="");return(0,Tn.jsxs)(Tn.Fragment,{children:[(0,Tn.jsxs)("span",{className:Lb["item-content"],children:[(0,Tn.jsx)("span",{className:Lb["item-children"],children:e}),i&&(0,Tn.jsx)("span",{className:Lb["item-suffix"],children:l}),c&&(0,Tn.jsx)("span",{className:Lb["item-shortcut"],children:(0,Tn.jsx)(E$,{shortcut:c})}),r&&(0,Tn.jsx)("span",{className:Lb["item-trailing"],children:o})]}),d&&(0,Tn.jsx)("span",{"aria-hidden":"true",className:Lb["item-prefix"],children:t}),c&&n&&(0,Tn.jsx)(U$,{descriptionId:n,shortcut:c})]})}var eee=(0,iX.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Tn.jsx)(Ht.Item,{ref:b,...G,className:w(A1e.div,O1e["box-sizing"],Lb.item,c),...s,children:(0,Tn.jsx)(id.Provider,{value:X,children:(0,Tn.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,children:m})})})});var Db=u(F(),1),rN="data-wp-hash";function aN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&E1e(document)),e.__wpStyleRuntime}function U1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${rN}]`))if(c.getAttribute(rN)===t)return!0;return!1}function cee(e,t,c){if(!e.head)return;let n=aN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(U1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(rN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function E1e(e){let t=aN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)cee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function sN(e,t){let c=aN();c.styles.set(e,t);for(let n of c.documents.keys())cee(n,e,t)}typeof process>"u",sN("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var L1e={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",sN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var D1e={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",sN("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var iN={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},nee=(0,tee.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Db.jsxs)(Ht.CheckboxItem,{ref:b,...G,className:w(L1e.div,D1e["box-sizing"],iN.item,c),...s,children:[(0,Db.jsx)(Ht.CheckboxItemIndicator,{keepMounted:!0,className:iN["item-selection-indicator"],children:(0,Db.jsx)(dd,{icon:qc,size:24,className:iN["checkbox-selection-icon"],"aria-hidden":"true"})}),(0,Db.jsx)(id.Provider,{value:X,children:(0,Db.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,children:m})})]})});var lee=u(T(),1),dee=u(F(),1),bN="data-wp-hash";function uN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&j1e(document)),e.__wpStyleRuntime}function _1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${bN}]`))if(c.getAttribute(bN)===t)return!0;return!1}function oee(e,t,c){if(!e.head)return;let n=uN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(_1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(bN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function j1e(e){let t=uN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)oee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function M1e(e,t){let c=uN();c.styles.set(e,t);for(let n of c.documents.keys())oee(n,e,t)}typeof process>"u",M1e("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var P1e={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},iee=(0,lee.forwardRef)(function({className:t,...c},n){return(0,dee.jsx)(Ht.Group,{ref:n,className:w(P1e.group,t),...c})});var ree=u(T(),1),see=u(F(),1),mN="data-wp-hash";function XN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&q1e(document)),e.__wpStyleRuntime}function K1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${mN}]`))if(c.getAttribute(mN)===t)return!0;return!1}function aee(e,t,c){if(!e.head)return;let n=XN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(K1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(mN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function q1e(e){let t=XN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)aee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function $1e(e,t){let c=XN();c.styles.set(e,t);for(let n of c.documents.keys())aee(n,e,t)}typeof process>"u",$1e("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var eBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},bee=(0,ree.forwardRef)(function({className:t,...c},n){return(0,see.jsx)(Ht.GroupLabel,{ref:n,className:w(eBe["group-label"],t),...c})});var mee=u(T(),1),Xee=u(Ze(),1);var pp=u(F(),1),GN="data-wp-hash";function gN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&cBe(document)),e.__wpStyleRuntime}function tBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${GN}]`))if(c.getAttribute(GN)===t)return!0;return!1}function Gee(e,t,c){if(!e.head)return;let n=gN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(tBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(GN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function cBe(e){let t=gN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Gee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xN(e,t){let c=gN();c.styles.set(e,t);for(let n of c.documents.keys())Gee(n,e,t)}typeof process>"u",xN("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var nBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",xN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var lBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",xN("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var uee={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},gee=(0,mee.forwardRef)(function({children:t,className:c,openInNewTab:n=!1,target:l,prefix:o,shortcut:d,suffix:i,"aria-describedby":r,"aria-keyshortcuts":a,"aria-label":s,"aria-labelledby":b,rel:m,...X},G){let x=n||/^_blank$/i.test(l??"")?(0,pp.jsx)("span",{className:uee["external-link-indicator"],role:"img","aria-label":(0,Xee.__)("(opens in a new tab)")}):null,{contentChildren:H,contentContextValue:p,itemAriaProps:R,shortcutDescriptionId:I}=xr(t,{"aria-describedby":r,"aria-keyshortcuts":a,"aria-label":s,"aria-labelledby":b,labelTrailing:x,shortcut:d});return(0,pp.jsx)(Ht.LinkItem,{ref:G,...X,...R,rel:m,target:l??(n?"_blank":void 0),className:w(nBe.a,lBe["box-sizing"],uee.item,c),children:(0,pp.jsx)(id.Provider,{value:p,children:(0,pp.jsx)(pr,{prefix:o,shortcut:d,shortcutDescriptionId:I,suffix:i,children:H})})})});var yee=u(T(),1);var xee=u(T(),1);var pee=u(F(),1),ah=(0,xee.forwardRef)(function({container:t,...c},n){return(0,pee.jsx)(Ht.Portal,{ref:n,container:t??Gp(),...c})});var Hee=u(T(),1);var Ree={align:"start",sideOffset:8,collisionPadding:12};var fee=u(F(),1),pN="data-wp-hash";function RN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&dBe(document)),e.__wpStyleRuntime}function oBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${pN}]`))if(c.getAttribute(pN)===t)return!0;return!1}function Iee(e,t,c){if(!e.head)return;let n=RN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(oBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(pN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function dBe(e){let t=RN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Iee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Zee(e,t){let c=RN();c.styles.set(e,t);for(let n of c.documents.keys())Iee(n,e,t)}typeof process>"u",Zee("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var iBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",Zee("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var rBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},aBe={side:"inline-end",align:"start",sideOffset:-4,collisionPadding:12},sh=(0,Hee.forwardRef)(function({className:t,...c},n){let{isSubmenu:l}=lh(),o=l?aBe:Ree;return(0,fee.jsx)(Ht.Positioner,{...o,...c,ref:n,className:w(iBe["box-sizing"],rBe.positioner,t)})});var Rp=u(F(),1),HN="data-wp-hash";function IN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&bBe(document)),e.__wpStyleRuntime}function sBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${HN}]`))if(c.getAttribute(HN)===t)return!0;return!1}function Wee(e,t,c){if(!e.head)return;let n=IN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(sBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(HN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function bBe(e){let t=IN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Wee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function uBe(e,t){let c=IN();c.styles.set(e,t);for(let n of c.documents.keys())Wee(n,e,t)}typeof process>"u",uBe("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var bh={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},hee=(0,yee.forwardRef)(function({children:t,className:c,portal:n,positioner:l,...o},d){let{isSubmenu:i}=lh(),r=(0,Rp.jsx)(Ht.Popup,{ref:d,className:w(bh.popup,i?bh["is-submenu"]:bh["is-root"],c),...o,children:(0,Rp.jsx)("div",{className:bh.list,children:t})}),a=MY(l,(0,Rp.jsx)(sh,{}),r);return MY(n,(0,Rp.jsx)(ah,{}),a)});var Bee=u(T(),1);var Vee=u(F(),1),ZN="data-wp-hash";function fN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&XBe(document)),e.__wpStyleRuntime}function mBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${ZN}]`))if(c.getAttribute(ZN)===t)return!0;return!1}function vee(e,t,c){if(!e.head)return;let n=fN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(mBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(ZN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function XBe(e){let t=fN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)vee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function GBe(e,t){let c=fN();c.styles.set(e,t);for(let n of c.documents.keys())vee(n,e,t)}typeof process>"u",GBe("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var gBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},yN=(0,Bee.forwardRef)(function({className:t,size:c=24,style:n,...l},o){return(0,Vee.jsx)(dd,{...l,ref:o,size:c,className:w(gBe["prefix-icon"],t),style:{...n,"--_wp-ui-menu-prefix-icon-size":`${c}px`}})});yN.displayName="Menu.PrefixIcon";var Cee=u(T(),1),Jee=u(F(),1),WN="data-wp-hash";function hN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&pBe(document)),e.__wpStyleRuntime}function xBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${WN}]`))if(c.getAttribute(WN)===t)return!0;return!1}function Fee(e,t,c){if(!e.head)return;let n=hN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(xBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(WN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function pBe(e){let t=hN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Fee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function RBe(e,t){let c=hN();c.styles.set(e,t);for(let n of c.documents.keys())Fee(n,e,t)}typeof process>"u",RBe("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var HBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},Yee=(0,Cee.forwardRef)(function({className:t,...c},n){return(0,Jee.jsx)(Ht.RadioGroup,{ref:n,className:w(HBe["radio-group"],t),...c})});var Nee=u(T(),1),uh=u(rt(),1);var Rr=u(F(),1),vN="data-wp-hash";function VN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&ZBe(document)),e.__wpStyleRuntime}function IBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${vN}]`))if(c.getAttribute(vN)===t)return!0;return!1}function See(e,t,c){if(!e.head)return;let n=VN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(IBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(vN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function ZBe(e){let t=VN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)See(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function CN(e,t){let c=VN();c.styles.set(e,t);for(let n of c.documents.keys())See(n,e,t)}typeof process>"u",CN("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var fBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",CN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var yBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",CN("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var BN={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},WBe=(0,Rr.jsx)(uh.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Rr.jsx)(uh.Circle,{cx:12,cy:12,r:3})}),wee=(0,Nee.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Rr.jsxs)(Ht.RadioItem,{ref:b,...G,className:w(fBe.div,yBe["box-sizing"],BN.item,c),...s,children:[(0,Rr.jsx)(Ht.RadioItemIndicator,{keepMounted:!0,className:BN["item-selection-indicator"],children:(0,Rr.jsx)(dd,{icon:WBe,className:BN["radio-selection-icon"],"aria-hidden":"true"})}),(0,Rr.jsx)(id.Provider,{value:X,children:(0,Rr.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,children:m})})]})});var Hr=u(T(),1);function hBe(e){try{return e.contentDocument}catch{return null}}function kee(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return;let c=e;c.tagName==="IFRAME"&&t(c),c.querySelectorAll("iframe").forEach(t)}function BBe(e,t){let c=e.target,n=c?.nodeType===Node.ELEMENT_NODE?c:c?.parentElement,l=t.getAttribute("aria-controls");if(!n||!l)return!1;let o=n.ownerDocument.getElementById(l);if(!o)return!1;let d=o.getAttribute("data-rootownerid");return d?n.closest("[data-rootownerid]")?.getAttribute("data-rootownerid")===d:o.contains(n)}function vBe({enabled:e,onPointerDown:t,ownerDocument:c}){(0,Hr.useEffect)(()=>{if(!e||!c)return;let n=(l,o)=>{o&&l.addEventListener("pointerdown",t,!0);let d=new Map,i=b=>{if(d.has(b))return;let m=null,X,G=()=>{let g=hBe(b);g!==m&&(X?.(),m=g,X=m?n(m,!0):void 0)};b.addEventListener("load",G),G(),d.set(b,()=>{b.removeEventListener("load",G),X?.()})},r=b=>{d.get(b)?.(),d.delete(b)};l.querySelectorAll("iframe").forEach(i);let a=l.defaultView?.MutationObserver,s=a?new a(b=>{b.forEach(m=>{m.removedNodes.forEach(X=>kee(X,r)),m.addedNodes.forEach(X=>kee(X,i))})}):null;return s?.observe(l.documentElement,{childList:!0,subtree:!0}),()=>{s?.disconnect(),d.forEach(b=>b()),o&&l.removeEventListener("pointerdown",t,!0)}};return n(c,!1)},[e,t,c])}function zee({actionsRef:e,defaultOpen:t,disabled:c,modal:n,onOpenChange:l,open:o}){let d=(0,Hr.useRef)(null),i=e??d,[r,a]=(0,Hr.useState)(t??!1),[s,b]=(0,Hr.useState)(null),m=o??r,X=(0,Hr.useCallback)(g=>{s&&!BBe(g,s)&&i.current?.close()},[i,s]);return vBe({enabled:m&&n===!1&&!c&&s!==null,onPointerDown:X,ownerDocument:s?.ownerDocument??null}),{actionsRef:i,onOpenChange:(g,x)=>{l(g,x),!x.isCanceled&&(a(g),b(g?x.trigger??null:null))}}}var mh=u(F(),1);function Tee(e){let{onOpenChange:t}=e,c=(l,o)=>{let d=o.trigger,i=d?.ownerDocument.defaultView?.HTMLElement,r=d?.ownerDocument.defaultView?.Element,a=d?.ownerDocument.activeElement,s=o.event.target,b=r&&s instanceof r?s.closest('[role="menu"]'):null;t?.(l,o),!l&&o.reason==="item-press"&&!o.isCanceled&&i&&d instanceof i&&b?.contains(a??null)&&d.ownerDocument.activeElement===a&&d.focus()},n=zee({actionsRef:e.actionsRef,defaultOpen:e.defaultOpen,disabled:e.disabled,modal:e.modal,onOpenChange:c,open:e.open});return(0,mh.jsx)(S$,{children:(0,mh.jsx)(gp.Provider,{value:{isSubmenu:!1},children:(0,mh.jsx)(Ht.Root,{...e,...n})})})}var Aee=u(T(),1),Qee=u(F(),1),FN="data-wp-hash";function JN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&CBe(document)),e.__wpStyleRuntime}function VBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${FN}]`))if(c.getAttribute(FN)===t)return!0;return!1}function Oee(e,t,c){if(!e.head)return;let n=JN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(VBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(FN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function CBe(e){let t=JN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Oee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function FBe(e,t){let c=JN();c.styles.set(e,t);for(let n of c.documents.keys())Oee(n,e,t)}typeof process>"u",FBe("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var JBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},Uee=(0,Aee.forwardRef)(function({className:t,...c},n){return(0,Qee.jsx)(Ht.Separator,{ref:n,className:w(JBe.separator,t),...c})});var YN=u(F(),1);function Eee(e){return(0,YN.jsx)(gp.Provider,{value:{isSubmenu:!0},children:(0,YN.jsx)(Ht.SubmenuRoot,{...e})})}var Dee=u(T(),1);var Hp=u(F(),1),NN="data-wp-hash";function SN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&NBe(document)),e.__wpStyleRuntime}function YBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${NN}]`))if(c.getAttribute(NN)===t)return!0;return!1}function _ee(e,t,c){if(!e.head)return;let n=SN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(YBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(NN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function NBe(e){let t=SN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)_ee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function wN(e,t){let c=SN();c.styles.set(e,t);for(let n of c.documents.keys())_ee(n,e,t)}typeof process>"u",wN("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var SBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",wN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var wBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",wN("3be1f8dffe",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var Lee={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},jee=(0,Dee.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Hp.jsx)(Ht.SubmenuTrigger,{ref:b,...G,className:w(SBe.div,wBe["box-sizing"],Lee.item,c),...s,children:(0,Hp.jsx)(id.Provider,{value:X,children:(0,Hp.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,trailing:(0,Hp.jsx)(dd,{className:Lee["submenu-chevron"],icon:Qg,size:24,"aria-hidden":"true"}),children:m})})})});var Mee=u(T(),1),Pee=u(F(),1),Kee=(0,Mee.forwardRef)(function(t,c){return(0,Pee.jsx)(Ht.Trigger,{ref:c,...t})});var kBe=Math.pow(10,8)*24*60*60*1e3,hYt=-kBe;var zBe=3600;var qee=zBe*24,BYt=qee*7,TBe=qee*365.2425,ABe=TBe/12,vYt=ABe*3,kN=Symbol.for("constructDateFrom");function sc(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kN in e?e[kN](t):e instanceof Date?new e.constructor(t):new Date(t)}function Zt(e,t){return sc(t||e,e)}function $a(e,t,c){let n=Zt(e,c?.in);return isNaN(t)?sc(c?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function rd(e,t,c){let n=Zt(e,c?.in);if(isNaN(t))return sc(c?.in||e,NaN);if(!t)return n;let l=n.getDate(),o=sc(c?.in||e,n.getTime());o.setMonth(n.getMonth()+t+1,0);let d=o.getDate();return l>=d?o:(n.setFullYear(o.getFullYear(),o.getMonth(),l),n)}var OBe={};function Xh(){return OBe}function _b(e,t){let c=Xh(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,l=Zt(e,t?.in),o=l.getDay(),d=(o<n?7:0)+o-n;return l.setDate(l.getDate()-d),l.setHours(0,0,0,0),l}function rX(e,...t){let c=sc.bind(null,e||t.find(n=>typeof n=="object"));return t.map(c)}function Ip(e,t){let c=Zt(e,t?.in);return c.setHours(0,0,0,0),c}function aX(e,t,c){return $a(e,t*7,c)}function Gh(e,t,c){return rd(e,t*12,c)}function zN(e,t,c){let[n,l]=rX(c?.in,e,t);return+Ip(n)==+Ip(l)}function TN(e,t){let c=Zt(e,t?.in),n=c.getMonth();return c.setFullYear(c.getFullYear(),n+1,0),c.setHours(23,59,59,999),c}function sX(e,t){let[c,n]=rX(e,t.start,t.end);return{start:c,end:n}}function Zp(e,t){let{start:c,end:n}=sX(t?.in,e),l=+c>+n,o=l?+c:+n,d=l?n:c;d.setHours(0,0,0,0);let i=t?.step??1;if(!i)return[];i<0&&(i=-i,l=!l);let r=[];for(;+d<=o;)r.push(sc(c,d)),d.setDate(d.getDate()+i),d.setHours(0,0,0,0);return l?r.reverse():r}function $ee(e,t){let{start:c,end:n}=sX(t?.in,e),l=+c>+n,o=l?+c:+n,d=l?n:c;d.setHours(0,0,0,0),d.setDate(1);let i=t?.step??1;if(!i)return[];i<0&&(i=-i,l=!l);let r=[];for(;+d<=o;)r.push(sc(c,d)),d.setMonth(d.getMonth()+i);return l?r.reverse():r}function ete(e,t){let{start:c,end:n}=sX(t?.in,e),l=+c>+n,o=l?_b(n,t):_b(c,t),d=l?_b(c,t):_b(n,t);o.setHours(15),d.setHours(15);let i=+d.getTime(),r=o,a=t?.step??1;if(!a)return[];a<0&&(a=-a,l=!l);let s=[];for(;+r<=i;)r.setHours(0),s.push(sc(c,r)),r=aX(r,a),r.setHours(15);return l?s.reverse():s}function AN(e,t){let c=Zt(e,t?.in);return c.setDate(1),c.setHours(0,0,0,0),c}function tte(e,t){let c=Xh(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,l=Zt(e,t?.in),o=l.getDay(),d=(o<n?-7:0)+6-(o-n);return l.setDate(l.getDate()+d),l.setHours(23,59,59,999),l}function cte(e,t){let c=Zt(e,t?.in),n=c.getFullYear(),l=c.getMonth(),o=sc(c,0);return o.setFullYear(n,l+1,0),o.setHours(0,0,0,0),o.getDate()}function nte(e,t){return+Zt(e)>+Zt(t)}function lte(e,t){return+Zt(e)<+Zt(t)}function jb(e,t){return+Zt(e)==+Zt(t)}function ON(e,t){let c=Zt(e,t?.in);return c.setSeconds(0,0),c}function QN(e,t,c){let[n,l]=rX(c?.in,e,t);return n.getFullYear()===l.getFullYear()&&n.getMonth()===l.getMonth()}function ote(e,t,c){return $a(e,-t,c)}function gh(e,t,c){let n=Zt(e,c?.in),l=n.getFullYear(),o=n.getDate(),d=sc(c?.in||e,0);d.setFullYear(l,t,15),d.setHours(0,0,0,0);let i=cte(d);return n.setMonth(t,Math.min(o,i)),n}function dte(e,t,c){let n=Zt(e,c?.in);return isNaN(+n)?sc(c?.in||e,NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=gh(n,t.month)),t.date!=null&&n.setDate(t.date),t.hours!=null&&n.setHours(t.hours),t.minutes!=null&&n.setMinutes(t.minutes),t.seconds!=null&&n.setSeconds(t.seconds),t.milliseconds!=null&&n.setMilliseconds(t.milliseconds),n)}function ite(e,t,c){let n=Zt(e,c?.in);return isNaN(+n)?sc(c?.in||e,NaN):(n.setFullYear(t),n)}function rte(e){return Ip(Date.now(),e)}function bX(e,t,c){return rd(e,-t,c)}function ate(e,t,c){return aX(e,-t,c)}function ste(e,t,c){return Gh(e,-t,c)}var bte=u(T(),1),UN="data-wp-hash";function EN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&UBe(document)),e.__wpStyleRuntime}function QBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${UN}]`))if(c.getAttribute(UN)===t)return!0;return!1}function ute(e,t,c){if(!e.head)return;let n=EN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(QBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(UN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function UBe(e){let t=EN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)ute(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function EBe(e,t){let c=EN();c.styles.set(e,t);for(let n of c.documents.keys())ute(n,e,t)}typeof process>"u",EBe("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var LBe={stack:"_19ce0419607e1896__stack"},DBe={xs:"var(--wpds-dimension-gap-xs, 4px)",sm:"var(--wpds-dimension-gap-sm, 8px)",md:"var(--wpds-dimension-gap-md, 12px)",lg:"var(--wpds-dimension-gap-lg, 16px)",xl:"var(--wpds-dimension-gap-xl, 24px)","2xl":"var(--wpds-dimension-gap-2xl, 32px)","3xl":"var(--wpds-dimension-gap-3xl, 40px)"},fp=(0,bte.forwardRef)(function({direction:t,gap:c,align:n,justify:l,wrap:o,render:d,...i},r){let a={gap:c&&DBe[c],alignItems:n,justifyContent:l,flexDirection:t,flexWrap:o};return qa({render:d,ref:r,props:rc(i,{style:a,className:LBe.stack})})});var KN=u(Ze(),1),Ec=u(T(),1);var mte=u(T(),1),yp=u(F(),1),DN="data-wp-hash";function _N(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&jBe(document)),e.__wpStyleRuntime}function _Be(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${DN}]`))if(c.getAttribute(DN)===t)return!0;return!1}function Xte(e,t,c){if(!e.head)return;let n=_N(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(_Be(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(DN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function jBe(e){let t=_N();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Xte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function MBe(e,t){let c=_N();c.styles.set(e,t);for(let n of c.documents.keys())Xte(n,e,t)}typeof process>"u",MBe("bbbecfe373","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.ab4d64c07c0ba587__spinner{background-color:transparent;display:inline-block;height:var(--wpds-dimension-size-2xs,16px);opacity:1;overflow:visible;position:relative;width:var(--wpds-dimension-size-2xs,16px)}.a7654e10245bb7d2__indicator,.dc51f80c84b35fe2__track{fill:transparent;stroke-width:1.5px}.dc51f80c84b35fe2__track{stroke:var(--wpds-color-background-track-neutral,#dbdbdb)}.a7654e10245bb7d2__indicator{stroke:var(--wpds-color-background-thumb-brand,var(--wp-admin-theme-color,#3858e9));stroke-linecap:round;animation:_02322d973909703c__spinner-spin 1.4s linear infinite both;transform-origin:50% 50%}@keyframes _02322d973909703c__spinner-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}}}");var LN={spinner:"ab4d64c07c0ba587__spinner",track:"dc51f80c84b35fe2__track",indicator:"a7654e10245bb7d2__indicator","spinner-spin":"_02322d973909703c__spinner-spin"},jN=(0,mte.forwardRef)(function({className:t,...c},n){return(0,yp.jsxs)("svg",{className:w(LN.spinner,t),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...c,ref:n,children:[(0,yp.jsx)("circle",{className:LN.track,cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,yp.jsx)("path",{className:LN.indicator,d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})});var Wp=u(F(),1),MN="data-wp-hash";function PN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&KBe(document)),e.__wpStyleRuntime}function PBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${MN}]`))if(c.getAttribute(MN)===t)return!0;return!1}function Gte(e,t,c){if(!e.head)return;let n=PN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(PBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(MN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function KBe(e){let t=PN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Gte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function gte(e,t){let c=PN();c.styles.set(e,t);for(let n of c.documents.keys())Gte(n,e,t)}typeof process>"u",gte("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var qBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",gte("d11816833c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._7a7ac88e306348e7__indicator{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);align-items:flex-start;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);gap:var(--wpds-dimension-gap-xs,4px);line-height:var(--wpds-typography-line-height-xs,16px);@media not (prefers-reduced-motion){animation:_48722cc5dd090ce4__indicator-jump var(--wpds-motion-duration-md,.2s) cubic-bezier(.68,-.55,.27,1.55)}}._57a3bbbfbe38a5c6__is-invalid{color:var(--wpds-color-foreground-content-error-weak,#cc1818)}._9e944dc198aac10b__is-valid{color:var(--wpds-color-foreground-content-success-weak,#008030)}.e482806667437c6a__indicator-icon{flex-shrink:0}._6e46434cc23019d2__indicator-spinner{height:var(--wpds-dimension-size-3xs,12px);margin:2px;width:var(--wpds-dimension-size-3xs,12px)}@keyframes _48722cc5dd090ce4__indicator-jump{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}}}');var xh={indicator:"_7a7ac88e306348e7__indicator","indicator-jump":"_48722cc5dd090ce4__indicator-jump","is-invalid":"_57a3bbbfbe38a5c6__is-invalid","is-valid":"_9e944dc198aac10b__is-valid","indicator-icon":"e482806667437c6a__indicator-icon","indicator-spinner":"_6e46434cc23019d2__indicator-spinner"},$Be={valid:$g,invalid:Dg};function ph({id:e,type:t,message:c}){return(0,Wp.jsxs)("p",{id:e,className:w(qBe.p,xh.indicator,xh[`is-${t}`]),children:[t==="validating"?(0,Wp.jsx)(jN,{className:xh["indicator-spinner"]}):(0,Wp.jsx)(dd,{className:xh["indicator-icon"],icon:$Be[t],size:16,fill:"currentColor"}),c]})}var mi=u(F(),1),eve=e=>(0,mi.jsx)(fp,{...e,direction:"column",gap:"sm"});function tve(e,t,c){let n;return t&&!c?n=`(${(0,KN.__)("Required")})`:!t&&c&&(n=`(${(0,KN.__)("Optional")})`),n?typeof e=="string"?`${e} ${n}`:(0,mi.jsxs)(mi.Fragment,{children:[e," ",n]}):e}var xte="data-validity-visible",es=(0,Ec.forwardRef)(function({required:t,markWhenOptional:c,customValidity:n,getValidityTarget:l,children:o,render:d=eve,...i},r){let[a,s]=(0,Ec.useState)(),[b,m]=(0,Ec.useState)(),[X,G]=(0,Ec.useState)(!1),[g,x]=(0,Ec.useState)(!1),H=(0,Ec.useRef)(null);(0,Ec.useEffect)(()=>{let y=l(),Z=()=>{n?.type!=="validating"&&s(y?.validationMessage),G(!0),y?.setAttribute(xte,"")};return y?.addEventListener("invalid",Z),()=>y?.removeEventListener("invalid",Z)},[n?.type,l]),(0,Ec.useEffect)(()=>{let y=l(),Z=v=>{if(v.preventDefault(),!v.isTrusted)return;let h=v.target,C=Array.from(h.form?.elements??[]).find(B=>!B.validity.valid);(!h.form||C===h)&&h.focus()},W=y?.type==="radio"&&y?.name?Array.from(H.current?.querySelectorAll(`input[type="radio"][name="${y?.name}"]`)??[]).filter(v=>v!==y):[];return y?.addEventListener("invalid",Z),W.forEach(v=>v.addEventListener("invalid",Z)),()=>{y?.removeEventListener("invalid",Z),W.forEach(v=>v.removeEventListener("invalid",Z))}},[l]),(0,Ec.useEffect)(()=>{let y=l();if(!n?.type){y?.setCustomValidity(""),s(y?.validationMessage),m(void 0);return}switch(n.type){case"validating":{y?.setCustomValidity(""),s(void 0),m({type:"validating",message:n.message});break}case"valid":{y?.setCustomValidity(""),s(y?.validationMessage),m({type:"valid",message:n.message});break}case"invalid":{y?.setCustomValidity(n.message??""),s(y?.validationMessage),m(void 0);break}}},[n,l]),(0,Ec.useEffect)(()=>{if(!(!g||X)){if(n?.type==="validating"){let y=setTimeout(()=>{G(!0)},1e3);return()=>clearTimeout(y)}G(!0)}},[g,n?.type,X]);let p=y=>{if(y.relatedTarget&&y.currentTarget.contains(y.relatedTarget))return;g||(x(!0),l()?.setAttribute(xte,""));let Z=l(),W=n?.type==="validating";window.queueMicrotask(()=>{W||s(Z?.validationMessage)})},R=(0,Ec.useId)(),I=a?(0,mi.jsx)(ph,{id:R,type:"invalid",message:a}):b?.type?(0,mi.jsx)(ph,{id:R,type:b.type,message:b.message}):null,f=X?I:null;return(0,Ec.useEffect)(()=>{let y=l();if(!y)return;function Z(W,v){let h=(W.getAttribute("aria-describedby")??"").split(" ").filter(C=>C&&C!==R);v&&h.push(R),h.length?W.setAttribute("aria-describedby",h.join(" ")):W.removeAttribute("aria-describedby")}return Z(y,!!f),()=>Z(y,!1)},[f,R,l]),qa({render:d,ref:[r,H],props:rc(i,{onBlur:p,children:(0,mi.jsxs)(mi.Fragment,{children:[(0,Ec.cloneElement)(o,{label:tve(o.props.label,t,c),required:t}),f]})})})});function qN(){if(typeof window>"u")return;let e=window;e.__wpUiCompatOverlaySlotEnabled!==!0&&(e.__wpUiCompatOverlaySlotEnabled=!0)}var Ih=u(T(),1);var Rh=u(T(),1),Hh=(0,Rh.createContext)({isList:!1,size:"medium"});Hh.displayName="ItemGroupContext";var uX=()=>(0,Rh.useContext)(Hh);var $N="data-wp-hash";function e3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&nve(document)),e.__wpStyleRuntime}function cve(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${$N}]`))if(c.getAttribute($N)===t)return!0;return!1}function Rte(e,t,c){if(!e.head)return;let n=e3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(cve(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute($N,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function nve(e){let t=e3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Rte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function lve(e,t){let c=e3();c.styles.set(e,t);for(let n of c.documents.keys())Rte(n,e,t)}typeof process>"u",lve("d5c166f26a","._68553e70f1f1cb4e__item-group._55756ee749a180e1__is-bordered{border:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:not(marquee)>*{border-block-end:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:last-of-type>*{border-block-end-color:transparent}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded{border-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:first-of-type>*{border-start-end-radius:var(--wpds-border-radius-sm,2px);border-start-start-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:last-of-type>*{border-end-end-radius:var(--wpds-border-radius-sm,2px);border-end-start-radius:var(--wpds-border-radius-sm,2px)}._4f562a88cd53281b__item-wrapper,.fc4c000709063bb0__item{display:block;width:100%}.fc4c000709063bb0__item{box-sizing:border-box;color:inherit;margin:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button{appearance:none;background:none;border:1px solid transparent;cursor:var(--wpds-cursor-control,pointer);font-family:inherit;font-size:13px;text-align:start}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link svg,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button svg{fill:currentColor}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:hover,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:hover{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus{box-shadow:none;outline:none}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus-visible,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus-visible{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline:2px solid transparent;outline-offset:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link{text-decoration:none}.fc4c000709063bb0__item._62800b4fe741b26a__is-spaced-around{border-radius:var(--wpds-border-radius-sm,2px)}.fc4c000709063bb0__item.ff341e6676e9138f__is-size-small{padding:4.3px 8px}.fc4c000709063bb0__item._715af0bb13514a58__is-size-medium{padding:7.9px 12px}.fc4c000709063bb0__item.b141618c0c420070__is-size-large{padding:11.5px 16.0008px}");var ts={"item-group":"_68553e70f1f1cb4e__item-group","is-bordered":"_55756ee749a180e1__is-bordered","is-separated":"_4e8285db01e0c630__is-separated","is-rounded":"_58738db58e87759e__is-rounded","item-wrapper":"_4f562a88cd53281b__item-wrapper",item:"fc4c000709063bb0__item","is-unstyled-button":"d204dc5a680d24cf__is-unstyled-button","is-unstyled-link":"a5802f3508d737a0__is-unstyled-link","is-spaced-around":"_62800b4fe741b26a__is-spaced-around","is-size-small":"ff341e6676e9138f__is-size-small","is-size-medium":"_715af0bb13514a58__is-size-medium","is-size-large":"b141618c0c420070__is-size-large"},pte={small:ts["is-size-small"],medium:ts["is-size-medium"],large:ts["is-size-large"]};function Hte(e){let{isList:t,spacedAround:c,size:n}=uX(),{as:l,className:o,onClick:d,role:i=t?"listitem":void 0,size:r,...a}=ae(e,"Item"),s=r||n,b=l||(typeof d<"u"?"button":"div"),m=w(ts.item,b==="button"&&ts["is-unstyled-button"],b==="a"&&ts["is-unstyled-link"],pte[s]||pte.medium,c&&ts["is-spaced-around"],o),X=ts["item-wrapper"];return{as:b,className:m,onClick:d,wrapperClassName:X,role:i,...a}}var t3=u(F(),1);function ove(e,t){let{role:c,wrapperClassName:n,...l}=Hte(e),o=(0,Ih.useRef)(null),{isList:d}=uX();return(0,Ih.useEffect)(()=>{if(d&&c==="listitem"&&!o.current?.closest('ol, ul, menu, [role="list"], [role="directory"]'))throw new Error('Item with list semantics must be rendered inside an element with role="list".')},[d,c]),(0,t3.jsx)("div",{ref:o,role:c,className:n,children:(0,t3.jsx)(Ce,{...l,ref:t})})}var dve=ie(ove,"Item"),mX=dve;var c3="data-wp-hash";function n3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rve(document)),e.__wpStyleRuntime}function ive(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${c3}]`))if(c.getAttribute(c3)===t)return!0;return!1}function Ite(e,t,c){if(!e.head)return;let n=n3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(ive(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(c3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function rve(e){let t=n3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Ite(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function ave(e,t){let c=n3();c.styles.set(e,t);for(let n of c.documents.keys())Ite(n,e,t)}typeof process>"u",ave("d5c166f26a","._68553e70f1f1cb4e__item-group._55756ee749a180e1__is-bordered{border:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:not(marquee)>*{border-block-end:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:last-of-type>*{border-block-end-color:transparent}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded{border-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:first-of-type>*{border-start-end-radius:var(--wpds-border-radius-sm,2px);border-start-start-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:last-of-type>*{border-end-end-radius:var(--wpds-border-radius-sm,2px);border-end-start-radius:var(--wpds-border-radius-sm,2px)}._4f562a88cd53281b__item-wrapper,.fc4c000709063bb0__item{display:block;width:100%}.fc4c000709063bb0__item{box-sizing:border-box;color:inherit;margin:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button{appearance:none;background:none;border:1px solid transparent;cursor:var(--wpds-cursor-control,pointer);font-family:inherit;font-size:13px;text-align:start}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link svg,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button svg{fill:currentColor}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:hover,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:hover{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus{box-shadow:none;outline:none}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus-visible,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus-visible{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline:2px solid transparent;outline-offset:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link{text-decoration:none}.fc4c000709063bb0__item._62800b4fe741b26a__is-spaced-around{border-radius:var(--wpds-border-radius-sm,2px)}.fc4c000709063bb0__item.ff341e6676e9138f__is-size-small{padding:4.3px 8px}.fc4c000709063bb0__item._715af0bb13514a58__is-size-medium{padding:7.9px 12px}.fc4c000709063bb0__item.b141618c0c420070__is-size-large{padding:11.5px 16.0008px}");var Zh={"item-group":"_68553e70f1f1cb4e__item-group","is-bordered":"_55756ee749a180e1__is-bordered","is-separated":"_4e8285db01e0c630__is-separated","is-rounded":"_58738db58e87759e__is-rounded","item-wrapper":"_4f562a88cd53281b__item-wrapper",item:"fc4c000709063bb0__item","is-unstyled-button":"d204dc5a680d24cf__is-unstyled-button","is-unstyled-link":"a5802f3508d737a0__is-unstyled-link","is-spaced-around":"_62800b4fe741b26a__is-spaced-around","is-size-small":"ff341e6676e9138f__is-size-small","is-size-medium":"_715af0bb13514a58__is-size-medium","is-size-large":"b141618c0c420070__is-size-large"};function Zte(e){let{className:t,isBordered:c=!1,isRounded:n=!0,isSeparated:l=!1,role:o="list",...d}=ae(e,"ItemGroup"),i=w(Zh["item-group"],{[Zh["is-bordered"]]:c,[Zh["is-separated"]]:l,[Zh["is-rounded"]]:n},t);return{isBordered:c,className:i,role:o,isSeparated:l,...d}}var l3=u(F(),1);function sve(e,t){let{isBordered:c,isSeparated:n,size:l,...o}=Zte(e),{size:d}=uX(),i=!c&&!n,r=l||d,a={isList:o.role==="list"||o.role==="directory",spacedAround:i,size:r};return(0,l3.jsx)(Hh.Provider,{value:a,children:(0,l3.jsx)(Ce,{...o,ref:t})})}var bve=ie(sve,"ItemGroup"),XX=bve;var Zr=u(Ze(),1),Lte=u(me(),1),Vh=u(T(),1);var Ute=u(Ze(),1),Ete=u(T(),1);var hh=u(T(),1);var Vte=u(me(),1),Ir=u(T(),1),Mb=u(Ze(),1);var uve=16,mve=16,o3=10,fte=0,yte=5,d3=o3,uSt=(mve+uve)/2;function fh(e){return Math.max(0,Math.min(100,e))}function Xve(e,t,c,n=fte){let l=e[t].position,o=Math.min(l,c),d=Math.max(l,c);return e.some(({position:i},r)=>r!==t&&(Math.abs(i-c)<n||o<i&&i<d))}function Wte(e,t,c){let n=e.findIndex(d=>d.position>t),l={color:c,position:t},o=e.slice();return o.splice(n-1,0,l),o}function hte(e,t){return e.filter((c,n)=>n!==t)}function Bte(e,t,c){let n=e.slice();return n[t]=c,n}function yh(e,t,c){if(Xve(e,t,c))return e;let n={...e[t],position:c};return Bte(e,t,n)}function i3(e,t,c){let n={...e[t],color:c};return Bte(e,t,n)}function vte(e,t,c){let n=e.findIndex(l=>l.position===t);return i3(e,n,c)}function Wh(e,t){if(!t)return;let{x:c,width:n}=t.getBoundingClientRect(),l=e-c;return Math.round(fh(l*100/n))}var Nc=u(F(),1);function Cte({isOpen:e,position:t,color:c,disablePositioning:n,...l}){let d=`components-custom-gradient-picker__control-point-button-description-${(0,Vte.useInstanceId)(Cte)}`;return(0,Nc.jsxs)(Nc.Fragment,{children:[(0,Nc.jsx)(be,{"aria-label":(0,Mb.sprintf)((0,Mb.__)("Gradient control point at position %1$d%% with color code %2$s."),t,c),"aria-describedby":d,"aria-haspopup":"true","aria-expanded":e,__next40pxDefaultSize:!0,className:w("components-custom-gradient-picker__control-point-button",{"is-active":e}),...l}),(0,Nc.jsx)(bt,{id:d,children:n?(0,Mb.__)("Press the button to change the color."):(0,Mb.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")})]})}function Fte({isRenderedInSidebar:e,className:t,...c}){let n=(0,Ir.useMemo)(()=>({placement:"bottom",offset:8,resize:!1}),[]),l=w("components-custom-gradient-picker__control-point-dropdown",t);return(0,Nc.jsx)(HF,{isRenderedInSidebar:e,popoverProps:n,className:l,...c})}function Jte({disableRemove:e,disableAlpha:t,disablePositioning:c,gradientPickerDomRef:n,ignoreMarkerPosition:l,value:o,onChange:d,onStartControlPointChange:i,onStopControlPointChange:r,__experimentalIsRenderedInSidebar:a}){let s=(0,Ir.useRef)(void 0),b=G=>{if(s.current===void 0||n.current===null)return;let g=Wh(G.clientX,n.current),{initialPosition:x,index:H,significantMoveHappened:p}=s.current;!p&&Math.abs(x-g)>=yte&&(s.current.significantMoveHappened=!0),d(yh(o,H,g))},m=()=>{window&&window.removeEventListener&&s.current&&s.current.listenersActivated&&(window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",m),r(),s.current.listenersActivated=!1)},X=(0,Ir.useRef)(void 0);return X.current=m,(0,Ir.useEffect)(()=>()=>{X.current?.()},[]),(0,Nc.jsx)(Nc.Fragment,{children:o.map((G,g)=>{let x=G?.position;return l!==x&&(0,Nc.jsx)(Fte,{isRenderedInSidebar:a,onClose:r,renderToggle:({isOpen:H,onToggle:p})=>(0,Nc.jsx)(Cte,{onClick:()=>{s.current&&s.current.significantMoveHappened||(H?r():i(),p())},onMouseDown:()=>{c||window&&window.addEventListener&&(s.current={initialPosition:x,index:g,significantMoveHappened:!1,listenersActivated:!0},i(),window.addEventListener("mousemove",b),window.addEventListener("mouseup",m))},onKeyDown:R=>{if(c){(R.code==="ArrowLeft"||R.code==="ArrowRight")&&R.stopPropagation();return}R.code==="ArrowLeft"?(R.stopPropagation(),d(yh(o,g,fh(G.position-d3)))):R.code==="ArrowRight"&&(R.stopPropagation(),d(yh(o,g,fh(G.position+d3))))},isOpen:H,position:G.position,color:G.color,disablePositioning:c},g),renderContent:({onClose:H})=>(0,Nc.jsxs)(ir,{paddingSize:"none",children:[(0,Nc.jsx)(ni,{enableAlpha:!t,color:G.color,onChange:p=>{d(i3(o,g,et(p).toRgbString()))}}),!e&&o.length>2&&(0,Nc.jsx)(xt,{className:"components-custom-gradient-picker__remove-control-point-wrapper",alignment:"center",children:(0,Nc.jsx)(be,{onClick:()=>{d(hte(o,g)),H()},variant:"link",children:(0,Mb.__)("Remove Control Point")})})]}),style:{left:`${G.position}%`,transform:"translateX( -50% )"}},g)})})}function Gve({value:e,onChange:t,onOpenInserter:c,onCloseInserter:n,insertPosition:l,disableAlpha:o,__experimentalIsRenderedInSidebar:d}){let[i,r]=(0,Ir.useState)(!1);return(0,Nc.jsx)(Fte,{isRenderedInSidebar:d,className:"components-custom-gradient-picker__inserter",onClose:()=>{n()},renderToggle:({isOpen:a,onToggle:s})=>(0,Nc.jsx)(be,{__next40pxDefaultSize:!0,"aria-expanded":a,"aria-haspopup":"true",onClick:()=>{a?n():(r(!1),c()),s()},className:"components-custom-gradient-picker__insert-point-dropdown",icon:Mi}),renderContent:()=>(0,Nc.jsx)(ir,{paddingSize:"none",children:(0,Nc.jsx)(ni,{enableAlpha:!o,onChange:a=>{i?t(vte(e,l,et(a).toRgbString())):(t(Wte(e,l,et(a).toRgbString())),r(!0))}})}),style:l!==null?{left:`${l}%`,transform:"translateX( -50% )"}:void 0})}Jte.InsertPoint=Gve;var r3=Jte;var Pb=u(F(),1),gve=(e,t)=>{switch(t.type){case"MOVE_INSERTER":if(e.id==="IDLE"||e.id==="MOVING_INSERTER")return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if(e.id==="MOVING_INSERTER")return{id:"IDLE"};break;case"OPEN_INSERTER":if(e.id==="MOVING_INSERTER")return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if(e.id==="INSERTING_CONTROL_POINT")return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if(e.id==="IDLE")return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if(e.id==="MOVING_CONTROL_POINT")return{id:"IDLE"};break}return e},xve={id:"IDLE"};function Bh({background:e,hasGradient:t,value:c,onChange:n,disableInserter:l=!1,disableAlpha:o=!1,disablePositioning:d=!1,__experimentalIsRenderedInSidebar:i=!1}){let r=(0,hh.useRef)(null),[a,s]=(0,hh.useReducer)(gve,xve),b=g=>{if(!r.current)return;let x=Wh(g.clientX,r.current);if(c.some(({position:H})=>Math.abs(x-H)<o3)){a.id==="MOVING_INSERTER"&&s({type:"STOP_INSERTER_MOVE"});return}s({type:"MOVE_INSERTER",insertPosition:x})},m=()=>{s({type:"STOP_INSERTER_MOVE"})},X=a.id==="MOVING_INSERTER",G=a.id==="INSERTING_CONTROL_POINT";return(0,Pb.jsxs)("div",{className:w("components-custom-gradient-picker__gradient-bar",{"has-gradient":t}),onMouseEnter:b,onMouseMove:b,onMouseLeave:m,children:[(0,Pb.jsx)("div",{className:"components-custom-gradient-picker__gradient-bar-background",style:{background:e,opacity:t?1:.4}}),(0,Pb.jsxs)("div",{ref:r,className:"components-custom-gradient-picker__markers-container",children:[!l&&(X||G)&&(0,Pb.jsx)(r3.InsertPoint,{__experimentalIsRenderedInSidebar:i,disableAlpha:o,insertPosition:a.insertPosition,value:c,onChange:n,onOpenInserter:()=>{s({type:"OPEN_INSERTER"})},onCloseInserter:()=>{s({type:"CLOSE_INSERTER"})}}),(0,Pb.jsx)(r3,{__experimentalIsRenderedInSidebar:i,disableAlpha:o,disableRemove:l,disablePositioning:d,gradientPickerDomRef:r,ignoreMarkerPosition:G?a.insertPosition:void 0,value:c,onChange:n,onStartControlPointChange:()=>{s({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{s({type:"STOP_CONTROL_CHANGE"})}})]})]})}var b3=u(Yte(),1);var s3=u(Ze(),1),hp="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",Nte=180,vh={type:"angular",value:"90"},Ste=[{value:"linear-gradient",label:(0,s3.__)("Linear")},{value:"radial-gradient",label:(0,s3.__)("Radial")}],wte={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function pve({type:e,value:t}){if(e==="literal")return t;if(e==="hex")return`#${t}`;if(e==="var")return`var(${t})`;if(e==="hsl"){let[c,n,l]=t;return`hsl(${c},${n}%,${l}%)`}if(e==="hsla"){let[c,n,l,o]=t;return`hsla(${c},${n}%,${l}%,${o})`}return`${e}(${t.join(",")})`}function Rve(e){if(!e)return"";let{value:t,type:c}=e;return c==="calc"?`calc(${t})`:`${t}${c}`}function Hve({type:e,value:t,length:c}){return`${pve({type:e,value:t})} ${Rve(c)}`}function Ive(e){if(!(Array.isArray(e)||!e||e.type!=="angular"))return`${e.value}deg`}function qb({type:e,orientation:t,colorStops:c}){let n=Ive(t),l=c.sort((o,d)=>{let i=r=>r?.length?.value===void 0?0:parseInt(r.length.value);return i(o)-i(d)}).map(Hve);return`${e}(${[n,...l].filter(Boolean).join(",")})`}pl([Rl]);function kte(e){return qb({type:"linear-gradient",orientation:vh,colorStops:e.colorStops})}function Zve(e){return e.length===void 0||e.length.type!=="%"}function zte(e){let t,c=!!e,n=e??hp;try{t=b3.default.parse(n)[0]}catch(l){console.warn("wp.components.CustomGradientPicker failed to parse the gradient with error",l),t=b3.default.parse(hp)[0],c=!1}if(!Array.isArray(t.orientation)&&t.orientation?.type==="directional"&&(t.orientation={type:"angular",value:wte[t.orientation.value].toString()}),t.colorStops.some(Zve)){let{colorStops:l}=t,o=100/(l.length-1);l.forEach((d,i)=>{d.length={value:`${o*i}`,type:"%"}})}return{gradientAST:t,hasGradient:c}}function Tte(e,t){return{...e,colorStops:t.map(({position:c,color:n})=>{let{r:l,g:o,b:d,a:i}=et(n).toRgb();return{length:{type:"%",value:c?.toString()},type:i<1?"rgba":"rgb",value:i<1?[`${l}`,`${o}`,`${d}`,`${i}`]:[`${l}`,`${o}`,`${d}`]}})}}function Ate(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"var":return`${e.type}(${e.value})`;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;case"hsl":{let[t,c,n]=e.value;return`hsl(${t},${c}%,${n}%)`}case"hsla":{let[t,c,n,l]=e.value;return`hsla(${t},${c}%,${n}%,${l})`}default:return"transparent"}}var Ote=q(Pn,{target:"e10bzpgi1"})({name:"1gvx10y",styles:"flex-grow:5"}),Qte=q(Pn,{target:"e10bzpgi0"})({name:"1gvx10y",styles:"flex-grow:5"});var ad=u(F(),1),fve=({gradientAST:e,hasGradient:t,onChange:c})=>{let n=e?.orientation?.value??Nte;return(0,ad.jsx)(Zy,{onChange:o=>{c(qb({...e,orientation:{type:"angular",value:`${o}`}}))},value:t?n:""})},yve=({gradientAST:e,hasGradient:t,onChange:c})=>{let{type:n}=e,l=(0,Ete.useRef)(Number(vh.value));n==="linear-gradient"&&e.orientation&&(l.current=Number(e.orientation.value));let o=()=>{c(qb({...e,orientation:{type:"angular",value:`${l.current}`},type:"linear-gradient"}))},d=()=>{let{orientation:r,...a}=e;c(qb({...a,type:"radial-gradient"}))},i=r=>{r==="linear-gradient"&&o(),r==="radial-gradient"&&d()};return(0,ad.jsx)(ei,{className:"components-custom-gradient-picker__type-picker",label:(0,Ute.__)("Type"),labelPosition:"top",onChange:i,options:Ste,value:t?n:void 0})};function Wve({value:e,onChange:t,enableAlpha:c=!0,__experimentalIsRenderedInSidebar:n=!1}){let{gradientAST:l,hasGradient:o}=zte(e),d=kte(l),i=l.colorStops.map(r=>({color:Ate(r),position:parseInt(r.length.value)}));return(0,ad.jsxs)(Nt,{spacing:4,className:"components-custom-gradient-picker",children:[(0,ad.jsx)(Bh,{__experimentalIsRenderedInSidebar:n,disableAlpha:!c,background:d,hasGradient:o,value:i,onChange:r=>{t(qb(Tte(l,r)))}}),(0,ad.jsxs)(Mt,{gap:3,className:"components-custom-gradient-picker__ui-line",children:[(0,ad.jsx)(Ote,{children:(0,ad.jsx)(yve,{gradientAST:l,hasGradient:o,onChange:t})}),(0,ad.jsx)(Qte,{children:l.type==="linear-gradient"&&(0,ad.jsx)(fve,{gradientAST:l,hasGradient:o,onChange:t})})]})]})}var GX=Wve;var ll=u(F(),1),u3="data-wp-hash";function m3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Bve(document)),e.__wpStyleRuntime}function hve(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${u3}]`))if(c.getAttribute(u3)===t)return!0;return!1}function Dte(e,t,c){if(!e.head)return;let n=m3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(hve(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(u3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Bve(e){let t=m3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Dte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function vve(e,t){let c=m3();c.styles.set(e,t);for(let n of c.documents.keys())Dte(n,e,t)}typeof process>"u",vve("a7b05d56c7",".cf6db1948d5273a8__color-heading{text-transform:uppercase}.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading{font-size:11px;line-height:24px;margin-bottom:0}");var Vve={"color-heading":"cf6db1948d5273a8__color-heading"},Cve=e=>Array.isArray(e.gradients)&&!("gradient"in e),Fve=e=>e.length>0&&e.every(t=>Cve(t));function _te({className:e,clearGradient:t,gradients:c,onChange:n,value:l,selectedSlug:o,presentation:d,...i}){let r=(0,Vh.useMemo)(()=>c.map(({gradient:a,name:s,slug:b},m)=>{let X=d!=="command-buttons"&&(o?b===o:l===a);return(0,ll.jsx)(tl.Option,{value:a,isSelected:X,tooltipText:s||(0,Zr.sprintf)((0,Zr.__)("Gradient code: %s"),a),style:{color:"rgba( 0,0,0,0 )",background:a},onClick:X?t:()=>n(a,m,b),"aria-label":s?(0,Zr.sprintf)((0,Zr.__)("Gradient: %s"),s):(0,Zr.sprintf)((0,Zr.__)("Gradient code: %s"),a)},b)}),[c,l,n,t,o,d]);return(0,ll.jsx)(tl.OptionGroup,{className:e,options:r,...i})}function jte({className:e,clearGradient:t,gradients:c,onChange:n,value:l,selectedSlug:o,headingLevel:d,presentation:i}){let r=(0,Lte.useInstanceId)(jte);return(0,ll.jsx)(Nt,{spacing:3,className:e,children:c.map(({name:a,gradients:s},b)=>{let m=`color-palette-${r}-${b}`;return(0,ll.jsxs)(Nt,{spacing:2,children:[(0,ll.jsx)(Ol,{className:Vve["color-heading"],level:d,id:m,children:a}),(0,ll.jsx)(_te,{clearGradient:t,gradients:s,onChange:(X,G,g)=>n(X,b,g),value:l,selectedSlug:o,presentation:i,"aria-labelledby":m})]},b)})})}function Jve(e){let{asButtons:t,presentation:c,loop:n,actions:l,headingLevel:o,"aria-label":d,"aria-labelledby":i,...r}=e;dr("GradientPicker",t);let{metaProps:a,labelProps:s,resolvedPresentation:b}=Bb(t,n,d,i,c),m=Fve(e.gradients)?(0,ll.jsx)(jte,{headingLevel:o,...r,presentation:b}):(0,ll.jsx)(_te,{...r,presentation:b});return(0,ll.jsx)(tl,{...a,...s,actions:l,options:m})}function Yve({className:e,gradients:t=[],onChange:c,value:n,clearable:l=!0,enableAlpha:o=!0,disableCustomGradients:d=!1,__experimentalIsRenderedInSidebar:i,headingLevel:r=2,...a}){let s=(0,Vh.useCallback)(()=>c(void 0),[c]);return(0,ll.jsxs)(Nt,{spacing:t.length?4:0,children:[!d&&(0,ll.jsx)(GX,{__experimentalIsRenderedInSidebar:i,enableAlpha:o,value:n,onChange:c}),(t.length>0||l)&&(0,ll.jsx)(Jve,{...a,className:e,clearGradient:s,gradients:t,onChange:c,value:n,actions:l&&!d&&(0,ll.jsx)(tl.ButtonAction,{onClick:s,accessibleWhenDisabled:!0,disabled:!n,children:(0,Zr.__)("Clear")}),headingLevel:r})]})}var Ch=Yve;var cce=u(Gf(),1),nce=u(T(),1),Gi=u(Ze(),1);var Mte=u(T(),1);var Pte=u(Ze(),1),Kte=u(me(),1);var fo=u(F(),1);function qte({label:e,value:t,colors:c,disableCustomColors:n,enableAlpha:l,onChange:o}){let[d,i]=(0,Mte.useState)(!1),r=(0,Kte.useInstanceId)(qte,"color-list-picker-option"),a=`${r}__label`,s=`${r}__content`;return(0,fo.jsxs)(fo.Fragment,{children:[(0,fo.jsx)(be,{__next40pxDefaultSize:!0,className:"components-color-list-picker__swatch-button",id:a,onClick:()=>i(b=>!b),"aria-expanded":d,"aria-controls":s,icon:t?(0,fo.jsx)(qd,{colorValue:t,className:"components-color-list-picker__swatch-color"}):(0,fo.jsx)(Ot,{icon:cx}),text:e}),(0,fo.jsx)("div",{role:"group",id:s,"aria-labelledby":a,"aria-hidden":!d,children:d&&(0,fo.jsx)(Ca,{"aria-label":(0,Pte.__)("Color options"),className:"components-color-list-picker__color-picker",colors:c,value:t,clearable:!1,onChange:o,disableCustomColors:n,enableAlpha:l})})]})}function Nve({colors:e,labels:t,value:c=[],disableCustomColors:n,enableAlpha:l,onChange:o}){return(0,fo.jsx)("div",{className:"components-color-list-picker",children:t.map((d,i)=>(0,fo.jsx)(qte,{label:d,value:c[i],colors:e,disableCustomColors:n,enableAlpha:l,onChange:r=>{let a=c.slice();a[i]=r,o(a)}},i))})}var Fh=Nve;pl([Rl]);function Bp(e){return!e||e.length<2?["#000","#fff"]:e.map(({color:t})=>({color:t,brightness:et(t).brightness()})).reduce(([t,c],n)=>[n.brightness<=t.brightness?n:t,n.brightness>=c.brightness?n:c],[{brightness:1,color:""},{brightness:0,color:""}]).map(({color:t})=>t)}function cs(e=[],t="90deg"){let c=100/e.length,n=e.map((l,o)=>`${l} ${o*c}%, ${l} ${(o+1)*c}%`).join(", ");return`linear-gradient( ${t}, ${n} )`}function $te(e){return e.map((t,c)=>({position:c*100/(e.length-1),color:t}))}function ece(e=[]){return e.map(({color:t})=>t)}var tce=u(F(),1),Sve=["#333","#CCC"];function Jh({value:e,onChange:t}){let c=!!e,n=c?e:Sve,l=cs(n),o=$te(n);return(0,tce.jsx)(Bh,{disableInserter:!0,disablePositioning:!0,background:l,hasGradient:c,value:o,onChange:d=>{let i=ece(d);t(i)}})}var Xi=u(F(),1);function wve({asButtons:e,presentation:t,loop:c,clearable:n=!0,unsetable:l=!0,colorPalette:o,duotonePalette:d,disableCustomColors:i,disableCustomDuotone:r,value:a,selectedSlug:s,onChange:b,"aria-label":m,"aria-labelledby":X,...G}){dr("DuotonePicker",e);let{metaProps:g,labelProps:x,resolvedPresentation:H}=Bb(e,c,m,X,t),[p,R]=(0,nce.useMemo)(()=>Bp(o),[o]),I=a==="unset",f=H!=="command-buttons"&&I,y=(0,Gi.__)("Unset"),Z=(0,Xi.jsx)(tl.Option,{value:"unset",isSelected:f,tooltipText:y,"aria-label":y,className:"components-duotone-picker__color-indicator",onClick:()=>{b(f?void 0:"unset")}},"unset"),W=d.map(({colors:h,slug:C,name:B},V)=>{let S={background:cs(h,"135deg"),color:"transparent"},Y=B??(0,Gi.sprintf)((0,Gi.__)("Duotone code: %s"),C),J=B?(0,Gi.sprintf)((0,Gi.__)("Duotone: %s"),B):Y,k=H!=="command-buttons"&&(s?C===s:(0,cce.default)(h,a));return(0,Xi.jsx)(tl.Option,{value:h,isSelected:k,"aria-label":J,tooltipText:Y,style:S,onClick:k?()=>b(void 0):()=>b(h,V,C)},C)}),v=l?[Z,...W]:W;return(0,Xi.jsx)(tl,{...G,...g,...x,options:v,actions:!!n&&(0,Xi.jsx)(tl.ButtonAction,{onClick:()=>b(void 0),accessibleWhenDisabled:!0,disabled:!a,children:(0,Gi.__)("Clear")}),children:!r&&(0,Xi.jsx)(Pc,{paddingTop:v.length===0?0:4,children:(0,Xi.jsxs)(Nt,{spacing:3,children:[!i&&(0,Xi.jsx)(Jh,{value:I?void 0:a,onChange:b}),(0,Xi.jsx)(Fh,{labels:[(0,Gi.__)("Shadows"),(0,Gi.__)("Highlights")],colors:o,value:I?void 0:a,disableCustomColors:i,enableAlpha:!0,onChange:h=>{h[0]||(h[0]=p),h[1]||(h[1]=R);let C=h.length>=2?h:void 0;b(C)}})]})})})}var vp=wve;var X3=u(F(),1);function kve({values:e}){return e?(0,X3.jsx)(qd,{colorValue:cs(e,"135deg")}):(0,X3.jsx)(Ot,{icon:cx})}var G3=kve;var lce=q(qd,{target:"e1lpqc907"})("&&{flex-shrink:0;width:",K(6),";height:",K(6),";}"),oce=q(_d,{target:"e1lpqc906"})(ty,"{background:",oe.gray[100],";border-radius:",de.radiusXSmall,";",Po,Po,Po,Po,"{height:",K(8),";}",Mo,Mo,Mo,"{border-color:transparent;box-shadow:none;}}"),dce=q("div",{target:"e1lpqc905"})("line-height:",K(8),";margin-left:",K(2),";margin-right:",K(2),";white-space:nowrap;overflow:hidden;"),ice=q(Ol,{target:"e1lpqc904"})("text-transform:uppercase;line-height:",K(6),";font-weight:",de.fontWeightEmphasis,";&&&{font-size:11px;margin-bottom:0;}"),g3=q(Ce,{target:"e1lpqc903"})("margin-top:",K(2),";"),rce=q(Ce,{target:"e1lpqc902"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"}),ace=q(be,{target:"e1lpqc901"})("&&{color:",oe.theme.accent,";}"),sce=q(be,{target:"e1lpqc900"})("&&{margin-top:",K(1),";}");var Pe=u(F(),1);pl([Rl]);var zve="#000";function Tve(e=[]){return e.flatMap(t=>{if(typeof t.color!="string")return[];let c=et(t.color);return c.isValid()?[{...t,color:c.toHex()}]:[]})}function x3(e){let t=e?.colors;return Array.isArray(t)?t:[]}function Ave(e,t){if(e)switch(t){case"duotone":return cs(x3(e),"135deg");case"gradient":return e.gradient;default:return e.color}}function Ove(e){switch(e){case"duotone":return(0,wt.__)("Duotone name");case"gradient":return(0,wt.__)("Gradient name");default:return(0,wt.__)("Color name")}}function Qve(e){return e==="duotone"?(0,wt.__)("Remove duotone: %s"):(0,wt.__)("Remove color: %s")}function Uve(e){switch(e){case"duotone":return(0,wt.__)("Add duotone");case"gradient":return(0,wt.__)("Add gradient");default:return(0,wt.__)("Add color")}}function Eve(e){switch(e){case"duotone":return(0,wt.__)("Duotone options");case"gradient":return(0,wt.__)("Gradient options");default:return(0,wt.__)("Color options")}}function Lve(e){switch(e){case"duotone":return(0,wt.__)("Remove all duotones");case"gradient":return(0,wt.__)("Remove all gradients");default:return(0,wt.__)("Remove all colors")}}function Dve(e){switch(e){case"duotone":return(0,wt.__)("Reset duotones");case"gradient":return(0,wt.__)("Reset gradient");default:return(0,wt.__)("Reset colors")}}function _ve({value:e,onChange:t,label:c}){return(0,Pe.jsx)(oce,{size:"compact",label:c,hideLabelFromVision:!0,value:e,onChange:t})}function jve(e){let t={};return e.map(c=>{let n,{slug:l}=c;return t[l]=(t[l]||0)+1,t[l]>1&&(n=`${l}-${t[l]-1}`),{...c,slug:n??l}})}function Mve(e,t,c="color"){let n=c==="duotone"?"duotone":"color",l=new RegExp(`^${t}${n}-([\\d]+)$`),o=e.reduce((d,i)=>{if(typeof i?.slug=="string"){let r=i?.slug.match(l);if(r){let a=parseInt(r[1],10);if(a>=d)return a+1}}return d},1);return{name:c==="duotone"?(0,wt.sprintf)((0,wt.__)("Duotone %d"),o):(0,wt.sprintf)((0,wt.__)("Color %d"),o),slug:`${t}${n}-${o}`}}function bce({variant:e,colorPalette:t,element:c,onChange:n,popoverProps:l,onClose:o=()=>{}}){let d=(0,xn.useMemo)(()=>({shift:!0,offset:20,resize:!1,placement:"left-start",...l,className:w("components-palette-edit__popover",l?.className)}),[l]);return(0,Pe.jsxs)(Za,{...d,onClose:o,children:[e==="color"&&(0,Pe.jsx)(ni,{color:c.color,enableAlpha:!0,onChange:i=>{n({...c,color:i})}}),e==="gradient"&&(0,Pe.jsx)("div",{className:"components-palette-edit__popover-gradient-picker",children:(0,Pe.jsx)(GX,{__experimentalIsRenderedInSidebar:!0,value:c.gradient,onChange:i=>{n({...c,gradient:i})}})}),e==="duotone"&&(0,Pe.jsx)("div",{className:"components-palette-edit__popover-duotone-picker",children:(0,Pe.jsxs)(Nt,{spacing:3,children:[(0,Pe.jsx)(Jh,{value:x3(c),onChange:i=>{i?.length&&n({...c,colors:i})}}),(0,Pe.jsx)(Fh,{labels:[(0,wt.__)("Shadows"),(0,wt.__)("Highlights")],colors:t??[],value:x3(c),enableAlpha:!0,onChange:i=>{let[r,a]=Bp(t??[]);n({...c,colors:[i[0]||r,i[1]||a]})}})]})})]})}function Pve({canOnlyChangeValues:e,element:t,onChange:c,onRemove:n,popoverProps:l,slugPrefix:o,variant:d,colorPalette:i}){let r=Ave(t,d),[a,s]=(0,xn.useState)(!1),[b,m]=(0,xn.useState)(null),X=(0,xn.useMemo)(()=>({...l,anchor:b}),[b,l]);return(0,Pe.jsxs)(mX,{ref:m,size:"small",children:[(0,Pe.jsxs)(xt,{justify:"flex-start",children:[(0,Pe.jsx)(be,{size:"small",onClick:()=>{s(!0)},"aria-label":(0,wt.sprintf)((0,wt.__)("Edit: %s"),t.name.trim().length?t.name:r||""),style:{padding:0},children:(0,Pe.jsx)(lce,{colorValue:r})}),(0,Pe.jsx)(Pn,{children:e?(0,Pe.jsx)(dce,{children:t.name.trim().length?t.name:"\xA0"}):(0,Pe.jsx)(_ve,{label:Ove(d),value:t.name,onChange:G=>c({...t,name:G,slug:o+OP(G??"")})})}),!e&&(0,Pe.jsx)(Cn,{children:(0,Pe.jsx)(sce,{size:"small",icon:_g,label:(0,wt.sprintf)(Qve(d),t.name.trim().length?t.name:r||""),onClick:n})})]}),a&&(0,Pe.jsx)(bce,{variant:d,colorPalette:i,onChange:c,element:t,popoverProps:X,onClose:()=>s(!1)})]})}function Kve({elements:e,onChange:t,canOnlyChangeValues:c,slugPrefix:n,variant:l,colorPalette:o,popoverProps:d,addColorRef:i}){let r=(0,xn.useRef)(void 0);(0,xn.useEffect)(()=>{r.current=e},[e]);let a=(0,Vp.useDebounce)(s=>t(jve(s)),100);return(0,Pe.jsx)(Nt,{spacing:3,children:(0,Pe.jsx)(XX,{isRounded:!0,isBordered:!0,isSeparated:!0,children:e.map((s,b)=>(0,Pe.jsx)(Pve,{variant:l,colorPalette:o,canOnlyChangeValues:c,element:s,onChange:m=>{a(e.map((X,G)=>G===b?m:X))},onRemove:()=>{let m=e.filter((X,G)=>G!==b);t(m.length?m:void 0),i.current?.focus()},slugPrefix:n,popoverProps:d},b))})})}var qve=[];function uce({gradients:e,duotones:t,colors:c=qve,colorPalette:n,onChange:l,paletteLabel:o,paletteLabelHeadingLevel:d=2,emptyMessage:i,canOnlyChangeValues:r,canReset:a,slugPrefix:s="",popoverProps:b}){qN();let m="color";e?m="gradient":t&&(m="duotone");let X=e??t??c,G=(0,xn.useMemo)(()=>Tve(n),[n]),[g,x]=(0,xn.useState)(!1),[H,p]=(0,xn.useState)(null),R=g&&!!H&&X[H]&&!X[H].slug,f=X.length>0,y=(0,Vp.useDebounce)(l,100),Z=(0,xn.useCallback)((C,B)=>{let V=B===void 0?void 0:X[B];V&&V[m==="gradient"?"gradient":"color"]===C?p(B):x(!0)},[m,X]),W=(0,xn.useCallback)((C,B)=>{B!==void 0&&(t??[])[B]?p(B):x(!0)},[t]),v=(0,xn.useRef)(null),h=(0,Vp.useInstanceId)(uce,"components-palette-edit__heading");return(0,Pe.jsxs)(rce,{children:[(0,Pe.jsxs)(xt,{children:[(0,Pe.jsx)(ice,{id:h,level:d,children:o}),(0,Pe.jsxs)(fp,{direction:"row",gap:"xs",children:[f&&g&&(0,Pe.jsx)(ace,{size:"small",onClick:()=>{x(!1),p(null)},children:(0,wt.__)("Done")}),!r&&(0,Pe.jsx)(be,{ref:v,size:"small",isPressed:R,icon:Mi,label:Uve(m),onClick:()=>{let{name:C,slug:B}=Mve(X,s,m);l(e?[...e,{gradient:hp,name:C,slug:B}]:t?[...t,{colors:Bp(G),name:C,slug:B}]:[...c,{color:zve,name:C,slug:B}]),x(!0),p(X.length)}}),f&&(!g||!r||a)&&(0,Pe.jsxs)(_l.Root,{modal:!1,children:[(0,Pe.jsx)(_l.Trigger,{render:(0,Pe.jsx)(be,{size:"small",icon:Pg,label:Eve(m),showTooltip:!0})}),(0,Pe.jsxs)(_l.Popup,{positioner:(0,Pe.jsx)(_l.Positioner,{align:"end"}),children:[!g&&(0,Pe.jsx)(_l.Item,{onClick:()=>x(!0),children:(0,Pe.jsx)(_l.ItemLabel,{children:(0,wt.__)("Show details")})}),!r&&(0,Pe.jsx)(_l.Item,{onClick:()=>{p(null),x(!1),l()},children:(0,Pe.jsx)(_l.ItemLabel,{children:Lve(m)})}),a&&(0,Pe.jsx)(_l.Item,{onClick:()=>{p(null),l()},children:(0,Pe.jsx)(_l.ItemLabel,{children:Dve(m)})})]})]})]})]}),f&&(0,Pe.jsxs)(g3,{children:[g&&(0,Pe.jsx)(Kve,{canOnlyChangeValues:r,elements:X,onChange:l,slugPrefix:s,variant:m,colorPalette:G,popoverProps:b,addColorRef:v}),!g&&H!==null&&(0,Pe.jsx)(bce,{variant:m,colorPalette:G,onClose:()=>p(null),onChange:C=>{y(X.map((B,V)=>V===H?C:B))},element:X[H??-1],popoverProps:b}),!g&&m==="gradient"&&(0,Pe.jsx)(Ch,{presentation:"command-buttons","aria-labelledby":h,gradients:e,onChange:Z,clearable:!1,disableCustomGradients:!0}),!g&&m==="duotone"&&(0,Pe.jsx)(vp,{presentation:"command-buttons","aria-labelledby":h,duotonePalette:t??[],colorPalette:G,onChange:W,clearable:!1,unsetable:!1,disableCustomDuotone:!0,disableCustomColors:!0}),!g&&m==="color"&&(0,Pe.jsx)(Ca,{presentation:"command-buttons","aria-labelledby":h,colors:c,onChange:Z,clearable:!1,disableCustomColors:!0})]}),!f&&i&&(0,Pe.jsx)(g3,{children:i})]})}var mce=uce;var ns=u(Ze(),1),vl=u(T(),1),Ice=u(me(),1),Z3=u(Md(),1);var Zce=u(Xa(),1);var Yh=u(T(),1),Xce=u(F(),1);function $ve(e,t){let{value:c,isExpanded:n,instanceId:l,selectedSuggestionIndex:o,className:d,onChange:i,onFocus:r,onBlur:a,"aria-describedby":s,...b}=e,[m,X]=(0,Yh.useState)(!1),G=c?c.length+1:0,g=p=>{i&&i({value:p.target.value})},x=p=>{X(!0),r?.(p)},H=p=>{X(!1),a?.(p)};return(0,Xce.jsx)("input",{ref:t,id:`components-form-token-input-${l}`,type:"text",...b,value:c||"",onChange:g,onFocus:x,onBlur:H,size:G,className:w(d,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?`components-form-token-suggestions-${l}`:void 0,"aria-activedescendant":m&&o!==-1&&n?`components-form-token-suggestions-${l}-${o}`:void 0,"aria-describedby":s})}var Gce=(0,Yh.forwardRef)($ve);Gce.displayName="TokenInput";var Nh=Gce;var gce=u(me(),1),xce=u(Ze(),1),$b=u(F(),1),e2e=e=>{e.preventDefault()};function t2e({selectedIndex:e,scrollIntoView:t,match:c,onHover:n,onSelect:l,suggestions:o=[],displayTransform:d,instanceId:i,__experimentalRenderItem:r}){let a=(0,gce.useRefEffect)(X=>{e>-1&&t&&X.children[e]&&X.children[e].scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})},[e,t]),s=X=>()=>{n?.(X)},b=X=>()=>{l?.(X)},m=X=>{let G=d(c).normalize("NFKC").toLocaleLowerCase();if(G.length===0)return null;let g=d(X),x=g.normalize("NFKC").toLocaleLowerCase().indexOf(G);return{suggestionBeforeMatch:g.substring(0,x),suggestionMatch:g.substring(x,x+G.length),suggestionAfterMatch:g.substring(x+G.length)}};return(0,$b.jsxs)("ul",{ref:a,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${i}`,role:"listbox",children:[o.map((X,G)=>{let g=m(X),x=G===e,H=typeof X=="object"&&X?.disabled,p=typeof X=="object"&&"value"in X?X?.value:d(X),R=w("components-form-token-field__suggestion",{"is-selected":x}),I;return typeof r=="function"?I=r({item:X}):g?I=(0,$b.jsxs)("span",{"aria-label":d(X),children:[g.suggestionBeforeMatch,(0,$b.jsx)("strong",{className:"components-form-token-field__suggestion-match",children:g.suggestionMatch}),g.suggestionAfterMatch]}):I=d(X),(0,$b.jsx)("li",{id:`components-form-token-suggestions-${i}-${G}`,role:"option",className:R,onMouseDown:e2e,onClick:b(X),onMouseEnter:s(X),"aria-selected":G===e,"aria-disabled":H,children:I},p)}),o.length===0&&(0,$b.jsx)("li",{className:"components-form-token-field__suggestion is-empty",children:(0,xce.__)("No items found")})]})}var Sh=t2e;var wh=u(T(),1),kh=u(me(),1),p3=u(F(),1),zh=(0,kh.createHigherOrderComponent)(e=>function(c){let[n,l]=(0,wh.useState)(void 0),o=(0,wh.useCallback)(d=>l(()=>d?.handleFocusOutside?d.handleFocusOutside.bind(d):void 0),[]);return(0,p3.jsx)("div",{...(0,kh.__experimentalUseFocusOutside)(n),children:(0,p3.jsx)(e,{ref:o,...c})})},"withFocusOutside");var pce=u(T(),1),Cp=u(F(),1),H3="data-wp-hash";function I3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&n2e(document)),e.__wpStyleRuntime}function c2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${H3}]`))if(c.getAttribute(H3)===t)return!0;return!1}function Rce(e,t,c){if(!e.head)return;let n=I3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(c2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(H3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function n2e(e){let t=I3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Rce(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function l2e(e,t){let c=I3();c.styles.set(e,t);for(let n of c.documents.keys())Rce(n,e,t)}typeof process>"u",l2e("a4ac9b380a","._5223dcef142ddf2a__spinner{background-color:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));display:inline-block;height:16px;margin:5px 11px 0;opacity:1;overflow:visible;position:relative;width:16px}._00e30fe487ccb5cc__track,.b33a3d348ed141fd__indicator{fill:transparent;stroke-width:1.5px}._00e30fe487ccb5cc__track{stroke:var(--wp-components-color-gray-300,var(--wpds-color-stroke-surface-neutral,#dbdbdb))}.b33a3d348ed141fd__indicator{stroke:currentColor;stroke-linecap:round;animation:e5c099d0667bd442__spin 1.4s linear infinite both;transform-origin:50% 50%}@keyframes e5c099d0667bd442__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}");var R3={spinner:"_5223dcef142ddf2a__spinner",track:"_00e30fe487ccb5cc__track",indicator:"b33a3d348ed141fd__indicator",spin:"e5c099d0667bd442__spin"};function o2e({className:e,...t},c){return(0,Cp.jsxs)("svg",{className:w("components-spinner",R3.spinner,e),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...t,ref:c,children:[(0,Cp.jsx)("circle",{className:R3.track,cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,Cp.jsx)("path",{className:R3.indicator,d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})}var Hce=(0,pce.forwardRef)(o2e);Hce.displayName="Spinner";var Th=Hce;var sd=u(F(),1),f3="data-wp-hash";function y3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&i2e(document)),e.__wpStyleRuntime}function d2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${f3}]`))if(c.getAttribute(f3)===t)return!0;return!1}function fce(e,t,c){if(!e.head)return;let n=y3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(d2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(f3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function i2e(e){let t=y3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)fce(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function r2e(e,t){let c=y3();c.styles.set(e,t);for(let n of c.documents.keys())fce(n,e,t)}typeof process>"u",r2e("5e90aa62ab","._52e80c14d3dae324__input-wrapper{height:38px;padding-inline:8px}");var a2e={"input-wrapper":"_52e80c14d3dae324__input-wrapper"},s2e=()=>{},b2e=zh(class extends vl.Component{handleFocusOutside(t){this.props.onFocusOutside(t)}render(){return this.props.children}}),Ah=(e,t)=>e===null?-1:t.indexOf(e);function yce(e){let{value:t,label:c,options:n,onChange:l,onFilterValueChange:o=s2e,hideLabelFromVision:d,help:i,allowReset:r=!0,className:a,isLoading:s=!1,messages:b={selected:(0,ns.__)("Item selected.")},__experimentalRenderItem:m,expandOnFocus:X=!0,placeholder:G}=e,[g,x]=Do({value:t,onChange:l}),H=n.find(O=>O.value===g),p=H?.label??"",R=(0,Ice.useInstanceId)(yce,"combobox-control"),[I,f]=(0,vl.useState)(H||null),[y,Z]=(0,vl.useState)(!1),[W,v]=(0,vl.useState)(!1),[h,C]=(0,vl.useState)(""),B=(0,vl.useRef)(null),V=(0,vl.useMemo)(()=>{let O=[],L=[],M=fC(h);return n.forEach(_=>{let j=fC(_.label).indexOf(M);j===0?O.push(_):j>0&&L.push(_)}),O.concat(L)},[h,n]),S=O=>{O.disabled||(x(O.value),(0,Z3.speak)(b.selected,"assertive"),f(O),C(""),Z(!1))},Y=(O=1)=>{let M=Ah(I,V)+O;M<0?M=V.length-1:M>=V.length&&(M=0),f(V[M]),Z(!0)},J=(0,Zce.withIgnoreIMEEvents)(O=>{let L=!1;if(!O.defaultPrevented){switch(O.code){case"Enter":I&&(S(I),L=!0);break;case"ArrowUp":Y(-1),L=!0;break;case"ArrowDown":Y(1),L=!0;break;case"Escape":Z(!1),f(null),L=!0;break;default:break}L&&O.preventDefault()}}),k=()=>{v(!1)},N=()=>{v(!0),X&&Z(!0),o(""),C("")},A=()=>{Z(!0)},Q=()=>{Z(!1)},z=O=>{let L=O.value;C(L),o(L),W&&Z(!0)},D=()=>{x(null),B.current?.focus()},U=O=>{O.stopPropagation()};return(0,vl.useEffect)(()=>{let O=V.length>0,L=Ah(I,V)>0;O&&!L&&f(V[0])},[V,I]),(0,vl.useEffect)(()=>{let O=V.length>0;if(y){let L=O?(0,ns.sprintf)((0,ns._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",V.length),V.length):(0,ns.__)("No results.");(0,Z3.speak)(L,"polite")}},[V,y]),(0,sd.jsx)(b2e,{onFocusOutside:Q,children:(0,sd.jsx)(at,{className:w(a,"components-combobox-control"),label:c,id:`components-form-token-input-${R}`,hideLabelFromVision:d,help:i,children:(0,sd.jsxs)("div",{className:"components-combobox-control__suggestions-container",tabIndex:-1,onKeyDown:J,children:[(0,sd.jsxs)(Mt,{className:a2e["input-wrapper"],children:[(0,sd.jsx)(Pn,{children:(0,sd.jsx)(Nh,{className:"components-combobox-control__input",instanceId:R,ref:B,placeholder:G,value:y?h:p,onFocus:N,onBlur:k,onClick:A,isExpanded:y,selectedSuggestionIndex:Ah(I,V),onChange:z,"aria-describedby":i?`components-form-token-input-${R}__help`:void 0})}),s&&(0,sd.jsx)(Th,{}),r&&!!g&&!y&&(0,sd.jsx)(be,{size:"small",icon:Di,onClick:D,onKeyDown:U,label:(0,ns.__)("Reset")})]}),y&&!s&&(0,sd.jsx)(Sh,{instanceId:R,match:{label:h,value:""},displayTransform:O=>O.label,suggestions:V,selectedIndex:Ah(I,V),onHover:f,onSelect:S,scrollIntoView:!0,__experimentalRenderItem:m})]})})})}var Wce=yce;var hce=u(T(),1),h3=u(me(),1),B3=u(Xt(),1);var v3=u(F(),1);function Bce(e){if(e.state){let{state:t,...c}=e,{store:n,...l}=Bce(t);return{...c,...l,store:n}}return e}var W3={__unstableComposite:"Composite",__unstableCompositeGroup:"Composite.Group or Composite.Row",__unstableCompositeItem:"Composite.Item",__unstableUseCompositeState:"Composite"};function V3(e,t={}){let c=e.displayName??"",n=l=>{(0,B3.default)(`wp.components.${c}`,{since:"6.7",alternative:W3.hasOwnProperty(c)?W3[c]:void 0});let{store:o,...d}=Bce(l),i=d;return i={...i,id:(0,h3.useInstanceId)(o,i.baseId,i.id)},Object.entries(t).forEach(([r,a])=>{i.hasOwnProperty(r)&&(Object.assign(i,{[a]:i[r]}),delete i[r])}),delete i.baseId,(0,v3.jsx)(e,{...i,store:o})};return n.displayName=c,n}var u2e=(0,hce.forwardRef)(({role:e,...t},c)=>{let n=e==="row"?Bn.Row:Bn.Group;return(0,v3.jsx)(n,{ref:c,role:e,...t})}),C3=V3(Object.assign(Bn,{displayName:"__unstableComposite"}),{baseId:"id"}),vce=V3(Object.assign(u2e,{displayName:"__unstableCompositeGroup"})),Vce=V3(Object.assign(Bn.Item,{displayName:"__unstableCompositeItem"}),{focusable:"accessibleWhenDisabled"});function Cce(e={}){(0,B3.default)("wp.components.__unstableUseCompositeState",{since:"6.7",alternative:W3.__unstableUseCompositeState});let{baseId:t,currentId:c,orientation:n,rtl:l=!1,loop:o=!1,wrap:d=!1,shift:i=!1,unstable_virtual:r}=e;return{baseId:(0,h3.useInstanceId)(C3,"composite",t),store:Au({defaultActiveId:c,rtl:l,orientation:n,focusLoop:o,focusShift:i,focusWrap:d,virtualFocus:r})}}var Y3=u(Ze(),1),ud=u(T(),1);var cc=u(T(),1),yo=u(me(),1),F3=u(Ze(),1);var zce=u(gX(),1),Tce=u(Xa(),1);var m2e=new Set(["alert","status","log","marquee","timer"]),Jce=[];function Yce(e){let t=Array.from(document.body.children),c=[];Jce.push(c);for(let n of t)n!==e&&X2e(n)&&(n.setAttribute("aria-hidden","true"),c.push(n))}function X2e(e){let t=e.getAttribute("role");return!(e.tagName==="SCRIPT"||e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||t&&m2e.has(t))}function Nce(){let e=Jce.pop();if(e)for(let t of e)t.removeAttribute("aria-hidden")}var Sce=u(me(),1),xX=u(T(),1),Nkt=u(En(),1);var g2e=Number.parseInt(de.transitionDuration),x2e="components-modal__disappear-animation";function wce(){let e=(0,xX.useRef)(null),[t,c]=(0,xX.useState)(!1),n=(0,Sce.useReducedMotion)(),l=(0,xX.useCallback)(()=>new Promise(o=>{let d=e.current;if(n){o();return}if(!d){o();return}let i,r=()=>new Promise(s=>{i=b=>{b.animationName===x2e&&s()},d.addEventListener("animationend",i),c(!0)}),a=()=>new Promise(s=>{setTimeout(()=>s(),g2e*1.2)});Promise.race([r(),a()]).then(()=>{i&&d.removeEventListener("animationend",i),c(!1),o()})}),[n]);return{overlayClassname:t?"is-animating-out":void 0,frameRef:e,closeModal:l}}var kce=u(T(),1),Oh=(0,kce.createContext)(new Set);Oh.displayName="ModalContext";var pn=u(F(),1),Fp=new Map;function p2e(e,t){let{bodyOpenClassName:c="modal-open",role:n="dialog",title:l=null,focusOnMount:o=!0,shouldCloseOnEsc:d=!0,shouldCloseOnClickOutside:i=!0,isDismissible:r=!0,aria:a={labelledby:void 0,describedby:void 0},onRequestClose:s,icon:b,closeButtonLabel:m,children:X,style:G,overlayClassName:g,className:x,contentLabel:H,onKeyDown:p,isFullScreen:R=!1,size:I,headerActions:f=null,__experimentalHideHeader:y=!1}=e,Z=(0,cc.useRef)(null),W=(0,yo.useInstanceId)(J3),v=l?`components-modal-header-${W}`:a.labelledby,h=(0,yo.useFocusOnMount)(o==="firstContentElement"?"firstElement":o),C=(0,yo.useConstrainedTabbing)(),B=(0,yo.useFocusReturn)(),V=(0,cc.useRef)(null),S=(0,cc.useRef)(null),[Y,J]=(0,cc.useState)(!1),[k,N]=(0,cc.useState)(!1),A;R||I==="fill"?A="is-full-screen":I&&(A=`has-size-${I}`);let Q=(0,cc.useCallback)(()=>{if(!V.current)return;let P=(0,zce.getScrollContainer)(V.current);V.current===P?N(!0):N(!1)},[V]);(0,cc.useEffect)(()=>(Yce(Z.current),()=>Nce()),[]);let z=(0,cc.useRef)(void 0);(0,cc.useEffect)(()=>{z.current=s},[s]);let D=(0,cc.useContext)(Oh),[U]=(0,cc.useState)(()=>new Set);(0,cc.useEffect)(()=>{D.add(z);for(let P of D)P!==z&&P.current?.();return()=>{for(let P of U)P.current?.();D.delete(z)}},[D,U]),(0,cc.useEffect)(()=>{let P=c,ye=1+(Fp.get(P)??0);return Fp.set(P,ye),document.body.classList.add(c),()=>{let Te=Fp.get(P)-1;Te===0?(document.body.classList.remove(P),Fp.delete(P)):Fp.set(P,Te)}},[c]);let{closeModal:O,frameRef:L,overlayClassname:M}=wce();(0,cc.useLayoutEffect)(()=>{if(!window.ResizeObserver||!S.current)return;let P=new ResizeObserver(Q);return P.observe(S.current),Q(),()=>{P.disconnect()}},[Q,S]);function _(P){d&&(P.code==="Escape"||P.key==="Escape")&&!P.defaultPrevented&&(P.preventDefault(),P.stopPropagation(),O().then(()=>s(P)))}let j=(0,cc.useCallback)(P=>{let ye=P?.currentTarget?.scrollTop??-1;!Y&&ye>0?J(!0):Y&&ye<=0&&J(!1)},[Y]),ue=null,xe={onPointerDown:P=>{P.target===P.currentTarget&&(ue=P.target,P.preventDefault())},onPointerUp:({target:P,button:ye})=>{let Te=P===ue;ue=null,ye===0&&Te&&O().then(()=>s())}},Be=(0,pn.jsx)("div",{ref:(0,yo.useMergeRefs)([Z,t]),className:w("components-modal__screen-overlay",M,g),onKeyDown:(0,Tce.withIgnoreIMEEvents)(_),...i?xe:{},children:(0,pn.jsx)(y0,{document,children:(0,pn.jsx)("div",{className:w("components-modal__frame",A,x),style:G,ref:(0,yo.useMergeRefs)([L,C,B,o!=="firstContentElement"?h:null]),role:n,"aria-label":H,"aria-labelledby":H?void 0:v,"aria-describedby":a.describedby,tabIndex:-1,onKeyDown:p,children:(0,pn.jsxs)("div",{className:w("components-modal__content",{"hide-header":y,"is-scrollable":k,"has-scrolled-content":Y}),role:"document",onScroll:j,ref:V,"aria-label":k?(0,F3.__)("Scrollable section"):void 0,tabIndex:k?0:void 0,children:[!y&&(0,pn.jsxs)("div",{className:"components-modal__header",children:[(0,pn.jsxs)("div",{className:"components-modal__header-heading-container",children:[b&&(0,pn.jsx)("span",{className:"components-modal__icon-container","aria-hidden":!0,children:b}),l&&(0,pn.jsx)("h1",{id:v,className:"components-modal__header-heading",children:l})]}),f,r&&(0,pn.jsxs)(pn.Fragment,{children:[(0,pn.jsx)(Pc,{marginBottom:0,marginLeft:2}),(0,pn.jsx)(be,{size:"compact",onClick:P=>O().then(()=>s(P)),icon:Ug,label:m||(0,F3.__)("Close")})]})]}),(0,pn.jsx)("div",{ref:(0,yo.useMergeRefs)([S,o==="firstContentElement"?h:null]),className:"components-modal__children-container",children:X})]})})})});return(0,cc.createPortal)((0,pn.jsx)(Oh.Provider,{value:U,children:Be}),document.body)}var J3=(0,cc.forwardRef)(p2e);J3.displayName="Modal";var pX=J3;var bd=u(F(),1),N3="data-wp-hash";function S3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&H2e(document)),e.__wpStyleRuntime}function R2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${N3}]`))if(c.getAttribute(N3)===t)return!0;return!1}function Ace(e,t,c){if(!e.head)return;let n=S3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(R2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(N3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function H2e(e){let t=S3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Ace(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function I2e(e,t){let c=S3();c.styles.set(e,t);for(let n of c.documents.keys())Ace(n,e,t)}typeof process>"u",I2e("af7a0f28df",".f8c6ba0dd016e6c1__wrapper.f8c6ba0dd016e6c1__wrapper{z-index:1000001}");var Z2e={wrapper:"f8c6ba0dd016e6c1__wrapper"},f2e=(e,t)=>{let{isOpen:c,onConfirm:n,onCancel:l,children:o,confirmButtonText:d,cancelButtonText:i,isBusy:r,title:a,__experimentalHideHeader:s=!0,...b}=ae(e,"ConfirmDialog"),m=Z2e.wrapper,X=(0,ud.useRef)(null),G=(0,ud.useRef)(null),[g,x]=(0,ud.useState)(),[H,p]=(0,ud.useState)();(0,ud.useEffect)(()=>{let Z=typeof c<"u";x(Z?c:!0),p(!Z)},[c]);let R=(0,ud.useCallback)(Z=>W=>{Z?.(W),H&&x(!1)},[H,x]),I=(0,ud.useCallback)(Z=>{!(Z.target===X.current||Z.target===G.current)&&Z.key==="Enter"&&R(n)(Z)},[R,n]),f=i??(0,Y3.__)("Cancel"),y=d??(0,Y3.__)("OK");return(0,bd.jsx)(bd.Fragment,{children:g&&(0,bd.jsx)(pX,{onRequestClose:R(l),onKeyDown:I,closeButtonLabel:f,isDismissible:!0,ref:t,overlayClassName:m,title:a,contentLabel:s?a:void 0,__experimentalHideHeader:s,...b,children:(0,bd.jsxs)(Nt,{spacing:8,children:[(0,bd.jsx)(Kn,{children:o}),(0,bd.jsxs)(Mt,{direction:"row",justify:"flex-end",children:[(0,bd.jsx)(be,{__next40pxDefaultSize:!0,ref:X,variant:"tertiary",onClick:R(l),accessibleWhenDisabled:!0,disabled:r,children:f}),(0,bd.jsx)(be,{__next40pxDefaultSize:!0,ref:G,variant:"primary",onClick:R(n),accessibleWhenDisabled:!0,disabled:r,isBusy:r,children:y})]})]})})})},y2e=ie(f2e,"ConfirmDialog"),w3=y2e;var ene=u(me(),1),Uh=u(Ze(),1);var eu=u(T(),1),RX=u(Ze(),1);var Wo={compact:de.controlPaddingXSmall,small:de.controlPaddingXSmall,default:de.controlPaddingX},W2e=(e,t)=>{let c={compact:{[t]:32,paddingInlineStart:Wo.compact,paddingInlineEnd:Wo.compact+Hb},default:{[t]:40,paddingInlineStart:Wo.default,paddingInlineEnd:Wo.default+Hb},small:{[t]:24,paddingInlineStart:Wo.small,paddingInlineEnd:Wo.small+Hb}};return c[e]||c.default},h2e=e=>{let c={compact:{paddingInlineStart:Wo.compact,paddingInlineEnd:Wo.compact-6},default:{paddingInlineStart:Wo.default,paddingInlineEnd:Wo.default-6},small:{paddingInlineStart:Wo.small,paddingInlineEnd:Wo.small-6}};return c[e]||c.default},Oce=q(EH,{shouldForwardProp:e=>e!=="hasCustomRenderProp",target:"e1p3eej77"})(({size:e,hasCustomRenderProp:t})=>Re("display:block;background-color:",oe.theme.background,";border:none;color:",oe.theme.foreground,";cursor:pointer;font-family:inherit;text-align:start;user-select:none;width:100%;&[data-focus-visible]{outline:none;}",W2e(e,t?"minHeight":"height")," ",!t&&Ece," ",ox({inputSize:e}),";",""),""),B2e=Qd({"0%":{transform:`translateY(-${Vn.SLIDE_DISTANCE})`},"100%":{transform:"translateY(0)"}}),v2e=Qd({"0%":{opacity:0},"100%":{opacity:1}}),Qce=q(eI,{target:"e1p3eej76"})("display:flex;flex-direction:column;background-color:",oe.theme.background,";border-radius:",de.radiusSmall,";border:1px solid ",oe.theme.foreground,";box-shadow:",de.elevationMedium,";z-index:1000000;max-height:min( var( --popover-available-height, 400px ), 400px );overflow:auto;overscroll-behavior:contain;min-width:min-content;&[data-open]{@media not ( prefers-reduced-motion ){animation-name:",B2e,",",v2e,";animation-duration:",Vn.SLIDE_DURATION,",",Vn.FADE_DURATION,";animation-timing-function:",Vn.SLIDE_EASING,",",Vn.FADE_EASING,";will-change:transform,opacity;}}&[data-focus-visible]{outline:none;}"),Uce=q(MH,{target:"e1p3eej75"})(({size:e})=>Re("cursor:default;display:flex;align-items:center;justify-content:space-between;font-size:",de.fontSize,";line-height:28px;padding-block:",K(2),";scroll-margin:",K(1),";user-select:none;&[aria-disabled='true']{cursor:not-allowed;}&[data-active-item]{background-color:",oe.theme.gray[300],";}",h2e(e),";",""),""),Ece={name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Lce=q("div",{target:"e1p3eej74"})(Ece,";"),Dce=q("span",{target:"e1p3eej73"})("color:",oe.theme.gray[600],";margin-inline-start:",K(2),";"),k3=q("div",{target:"e1p3eej72"})("display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;flex:1;column-gap:",K(4),";"),_ce=q("span",{target:"e1p3eej71"})("color:",oe.theme.gray[600],";text-align:initial;line-height:",de.fontLineHeightBase,";padding-inline-end:",K(1),";margin-block:",K(1),";"),jce=q(KH,{target:"e1p3eej70"})("display:flex;align-items:center;margin-inline-start:",K(2),";fill:currentColor;align-self:start;margin-block-start:2px;font-size:0;",k3,"~&,&:not(:empty){font-size:24px;}");var ho=u(F(),1),Qh=(0,eu.createContext)(void 0);Qh.displayName="CustomSelectContext";function V2e(e){return(Array.isArray(e)?e.length===0:e==null)?(0,RX.__)("Select an item"):Array.isArray(e)?e.length===1?e[0]:(0,RX.sprintf)((0,RX._n)("%d item selected","%d items selected",e.length),e.length):e}var C2e=({renderSelectedValue:e,size:t="default",store:c,...n})=>{let{value:l}=$(c),o=(0,eu.useMemo)(()=>e??V2e,[e]);return(0,ho.jsx)(Oce,{...n,size:t,hasCustomRenderProp:!!e,store:c,children:o(l)})};function F2e(e){let{children:t,hideLabelFromVision:c=!1,label:n,size:l,store:o,className:d,isLegacy:i=!1,...r}=e,a=(0,eu.useCallback)(b=>{i&&b.stopPropagation()},[i]),s=(0,eu.useMemo)(()=>({store:o,size:l}),[o,l]);return(0,ho.jsxs)("div",{className:d,children:[(0,ho.jsx)(qH,{store:o,render:c?(0,ho.jsx)(bt,{}):(0,ho.jsx)(at.VisualLabel,{as:"div"}),children:n}),(0,ho.jsxs)(X0,{size:l,suffix:(0,ho.jsx)(t5,{}),children:[(0,ho.jsx)(C2e,{...r,size:l,store:o,showOnKeyDown:!i}),(0,ho.jsx)(Qce,{gutter:12,store:o,sameWidth:!0,slide:!1,onKeyDown:a,flip:!i,children:(0,ho.jsx)(Qh.Provider,{value:s,children:t})})]})]})}var Mce=F2e;var Pce=u(T(),1);var Jp=u(F(),1);function Kce({children:e,...t}){let c=(0,Pce.useContext)(Qh);return(0,Jp.jsxs)(Uce,{store:c?.store,size:c?.size??"default",...t,children:[e??t.value,(0,Jp.jsx)(jce,{children:(0,Jp.jsx)(Kc,{icon:qc})})]})}Kce.displayName="CustomSelectControlV2.Item";var qce=Kce;var Vl=u(F(),1);function J2e({__experimentalShowSelectedHint:e,...t}){return{showSelectedHint:e,...t}}function $ce({__experimentalHint:e,...t}){return{hint:e,...t}}function Y2e(e,t){return t||(0,Uh.sprintf)((0,Uh.__)("Currently selected: %s"),e)}function tne(e){let{__next40pxDefaultSize:t,describedBy:c,options:n,onChange:l,size:o="default",value:d,className:i,showSelectedHint:r=!1,...a}=J2e(e),s=(0,ene.useInstanceId)(tne,"custom-select-control__description"),b=tI({async setValue(x){let H=n.find(I=>I.key===x);if(!l||!H)return;await Promise.resolve();let p=b.getState(),R={highlightedIndex:p.renderedItems.findIndex(I=>I.value===x),inputValue:"",isOpen:p.open,selectedItem:H,type:""};l(R)},value:d?.key,defaultValue:n[0]?.key}),m=n.map($ce).map(({name:x,key:H,hint:p,style:R,className:I})=>(0,Vl.jsx)(qce,{value:H,children:p?(0,Vl.jsxs)(k3,{children:[(0,Vl.jsx)("span",{children:x}),(0,Vl.jsx)(_ce,{className:"components-custom-select-control__item-hint",children:p})]}):x,style:R,className:w(I,"components-custom-select-control__item",{"has-hint":p})},H)),X=$(b,"value"),G=n?.map($ce)?.find(({key:x})=>X===x)??n[0];return(0,Vl.jsxs)(Vl.Fragment,{children:[(0,Vl.jsx)(Mce,{"aria-describedby":s,renderSelectedValue:()=>!r||!G.hint?G?.name:(0,Vl.jsxs)(Lce,{children:[G?.name,(0,Vl.jsx)(Dce,{className:"components-custom-select-control__hint",children:G?.hint})]}),size:o,store:b,className:w("components-custom-select-control",i),isLegacy:!0,...a,children:m}),(0,Vl.jsx)(bt,{children:(0,Vl.jsx)("span",{id:s,children:Y2e(G?.name,c)})})]})}var Eh=tne;var ol=u(Ze(),1);var Ml=u(Yp(),1),os=u(T(),1);var Lc=u(T(),1);var N2e=(function(e){return e[e.SUNDAY=0]="SUNDAY",e[e.MONDAY=1]="MONDAY",e[e.TUESDAY=2]="TUESDAY",e[e.WEDNESDAY=3]="WEDNESDAY",e[e.THURSDAY=4]="THURSDAY",e[e.FRIDAY=5]="FRIDAY",e[e.SATURDAY=6]="SATURDAY",e})({}),S2e=(e,t,c)=>(jb(e,t)||nte(e,t))&&(jb(e,c)||lte(e,c)),nne=e=>dte(e,{hours:0,minutes:0,seconds:0,milliseconds:0}),lne=({weekStartsOn:e=N2e.SUNDAY,viewing:t=new Date,selected:c=[],numberOfMonths:n=1}={})=>{let[l,o]=(0,Lc.useState)(t),d=(0,Lc.useCallback)(()=>o(rte()),[o]),i=(0,Lc.useCallback)(Z=>o(W=>gh(W,Z)),[]),r=(0,Lc.useCallback)(()=>o(Z=>bX(Z,1)),[]),a=(0,Lc.useCallback)(()=>o(Z=>rd(Z,1)),[]),s=(0,Lc.useCallback)(Z=>o(W=>ite(W,Z)),[]),b=(0,Lc.useCallback)(()=>o(Z=>ste(Z,1)),[]),m=(0,Lc.useCallback)(()=>o(Z=>Gh(Z,1)),[]),[X,G]=(0,Lc.useState)(c.map(nne)),g=()=>G([]),x=(0,Lc.useCallback)(Z=>X.findIndex(W=>jb(W,Z))>-1,[X]),H=(0,Lc.useCallback)((Z,W)=>{G(W?Array.isArray(Z)?Z:[Z]:v=>v.concat(Array.isArray(Z)?Z:[Z]))},[]),p=(0,Lc.useCallback)(Z=>G(W=>Array.isArray(Z)?W.filter(v=>!Z.map(h=>h.getTime()).includes(v.getTime())):W.filter(v=>!jb(v,Z))),[]),R=(0,Lc.useCallback)((Z,W)=>x(Z)?p(Z):H(Z,W),[p,x,H]),I=(0,Lc.useCallback)((Z,W,v)=>{G(v?Zp({start:Z,end:W}):h=>h.concat(Zp({start:Z,end:W})))},[]),f=(0,Lc.useCallback)((Z,W)=>{G(v=>v.filter(h=>!Zp({start:Z,end:W}).map(C=>C.getTime()).includes(h.getTime())))},[]),y=(0,Lc.useMemo)(()=>$ee({start:AN(l),end:TN(rd(l,n-1))}).map(Z=>ete({start:AN(Z),end:TN(Z)},{weekStartsOn:e}).map(W=>Zp({start:_b(W,{weekStartsOn:e}),end:tte(W,{weekStartsOn:e})}))),[l,e,n]);return{clearTime:nne,inRange:S2e,viewing:l,setViewing:o,viewToday:d,viewMonth:i,viewPreviousMonth:r,viewNextMonth:a,viewYear:s,viewPreviousYear:b,viewNextYear:m,selected:X,setSelected:G,clearSelected:g,isSelected:x,select:H,deselect:p,toggle:R,selectRange:I,deselectRange:f,calendar:y}};var one=q("div",{target:"e15s65uf7"})(lb,";"),dne=q(xt,{target:"e15s65uf6"})("column-gap:",K(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;margin-bottom:",K(4),";"),ine=q(be,{target:"e15s65uf5"})({name:"sarfoe",styles:"grid-column:1/2"}),rne=q(be,{target:"e15s65uf4"})({name:"1v98r3z",styles:"grid-column:7/8"}),ane=q(Ol,{target:"e15s65uf3"})("font-size:",de.fontSize,";font-weight:",de.fontWeight,";grid-column:2/7;strong{font-weight:",de.fontWeightEmphasis,";}"),sne=q("div",{target:"e15s65uf2"})("column-gap:",K(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;row-gap:",K(2),";"),bne=q("div",{target:"e15s65uf1"})("color:",oe.theme.gray[700],";font-size:",de.fontSize,";line-height:",de.fontLineHeightBase,";"),une=q(be,{shouldForwardProp:e=>!["column","isSelected","isToday","hasEvents"].includes(e),target:"e15s65uf0"})("grid-column:",e=>e.column,";position:relative;justify-content:center;padding:0;",e=>e.disabled&&` | |
| 31 | 77 | pointer-events: none; |
| 32 | - `," &&&{border-radius:",Q.radiusRound,";height:",z(7),";width:",z(7),";font-weight:400;",c=>c.isSelected&&` | |
| 33 | - background: ${w.theme.accent}; | |
| 78 | + `," &&&{border-radius:",de.radiusRound,";height:",K(7),";width:",K(7),";font-weight:400;",e=>e.isSelected&&` | |
| 79 | + background: ${oe.theme.accent}; | |
| 34 | 80 | |
| 35 | 81 | &, |
| 36 | 82 | &:hover:not(:disabled, [aria-disabled=true]) { |
| 37 | - color: ${w.theme.accentInverted}; | |
| 83 | + color: ${oe.theme.accentInverted}; | |
| 38 | 84 | } |
| 39 | 85 | |
| 40 | 86 | &:focus:not(:disabled), |
| 41 | 87 | &:focus:not(:disabled) { |
| 42 | - border: ${Q.borderWidthFocus} solid currentColor; | |
| 88 | + border: ${de.borderWidthFocus} solid currentColor; | |
| 43 | 89 | } |
| 44 | 90 | |
| 45 | 91 | /* Highlight the selected day for high-contrast mode */ |
| 46 | 92 | &::after { |
| @@ -50,34 +96,26 @@ | ||
| 50 | 96 | inset: 0; |
| 51 | 97 | border-radius: inherit; |
| 52 | 98 | border: 1px solid transparent; |
| 53 | 99 | } |
| 54 | - `," ",c=>!c.isSelected&&c.isToday&&` | |
| 55 | - background: ${w.theme.gray[200]}; | |
| 56 | - `,";}",c=>c.hasEvents&&` | |
| 100 | + `," ",e=>!e.isSelected&&e.isToday&&` | |
| 101 | + background: ${oe.theme.gray[200]}; | |
| 102 | + `,";}",e=>e.hasEvents&&` | |
| 57 | 103 | ::before { |
| 58 | - border: 2px solid ${c.isSelected?w.theme.accentInverted:w.theme.accent}; | |
| 59 | - border-radius: ${Q.radiusRound}; | |
| 104 | + border: 2px solid ${e.isSelected?oe.theme.accentInverted:oe.theme.accent}; | |
| 105 | + border-radius: ${de.radiusRound}; | |
| 60 | 106 | content: " "; |
| 61 | 107 | left: 50%; |
| 62 | 108 | position: absolute; |
| 63 | 109 | transform: translate(-50%, 9px); |
| 64 | 110 | } |
| 65 | - `,";");var Zn=class extends Date{constructor(){super(),this.setTime(arguments.length===0?Date.now():arguments.length===1?typeof arguments[0]=="string"?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}},yM=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(c=>{if(yM.test(c)){let l=Date.prototype[c.replace(yM,"$1UTC")];l&&(Zn.prototype[c]=l)}});var ygl=new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),Vgl=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),Cgl=new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var dd=u(Cg(),1);function Jg(c){if(typeof c=="string")return/Z|[+-]\d{2}(:?\d{2})?$/.test(c)?new Zn(new Date(c)):new Zn((0,dd.getDate)(c).getTime());let l=c instanceof Date?c.getTime():c;return new Zn(l)}function vG(c){let l=Number((0,dd.date)("Y",c)),t=Number((0,dd.date)("n",c))-1,e=Number((0,dd.date)("j",c));return new Date(l,t,e,0,0,0,0)}function BY(c,l){return l?(c%12+12)%24:c%12}function VM(c){return c%12||12}function Yg(c){return(l,t)=>{let e={...l};return(t.type===_X||t.type===mG||t.type===qX)&&e.value!==void 0&&(e.value=e.value.toString().padStart(c,"0")),e}}var yY=(c,l)=>new Date(c,l+1,0).getDate();function F0(c,l){let t={year:Number((0,dd.date)("Y",c)),month:Number((0,dd.date)("n",c))-1,date:Number((0,dd.date)("j",c)),hours:Number((0,dd.date)("H",c)),minutes:Number((0,dd.date)("i",c)),seconds:Number((0,dd.date)("s",c)),...l},e=yY(t.year,t.month);t.date=Math.min(t.date,e);let d=String(t.year).padStart(4,"0"),b=String(t.month+1).padStart(2,"0"),o=String(t.date).padStart(2,"0"),n=String(t.hours).padStart(2,"0"),G=String(t.minutes).padStart(2,"0"),X=String(t.seconds).padStart(2,"0"),i=`${d}-${b}-${o}T${n}:${G}:${X}`;return new Zn((0,dd.getDate)(i).getTime())}function Tp(c){let l=c.target?.ownerDocument.defaultView?.HTMLInputElement??HTMLInputElement;return c.target instanceof l?c.target.validity.valid:!1}var Hn="Y-m-d\\TH:i:s";var Ad=u(V(),1);function Tsc({currentDate:c,onChange:l,events:t=[],isInvalidDate:e,onMonthPreviewed:d,startOfWeek:b=0}){let o=Jg(c??new Date),{calendar:n,viewing:G,setSelected:X,setViewing:i,isSelected:a,viewPreviousMonth:m,viewNextMonth:x}=gM({selected:[vG(o)],viewing:vG(o),weekStartsOn:b}),[s,g]=(0,NG.useState)(vG(o)),[r,H]=(0,NG.useState)(!1),[Z,R]=(0,NG.useState)(c);return c!==Z&&(R(c),X([vG(o)]),i(vG(o)),g(vG(o))),(0,Ad.jsxs)(rM,{className:"components-datetime__date",role:"application","aria-label":(0,se.__)("Calendar"),children:[(0,Ad.jsxs)(ZM,{children:[(0,Ad.jsx)(HM,{icon:(0,se.isRTL)()?jR:UR,variant:"tertiary","aria-label":(0,se.__)("View previous month"),onClick:()=>{m(),g(h0(s,1));let W=h0(G,1);d?.((0,bd.dateI18n)(Hn,W,-W.getTimezoneOffset()))},size:"compact"}),(0,Ad.jsxs)(IM,{level:3,children:[(0,Ad.jsx)("strong",{children:(0,bd.dateI18n)("F",G,-G.getTimezoneOffset())})," ",(0,bd.dateI18n)("Y",G,-G.getTimezoneOffset())]}),(0,Ad.jsx)(RM,{icon:(0,se.isRTL)()?UR:jR,variant:"tertiary","aria-label":(0,se.__)("View next month"),onClick:()=>{x(),g(ed(s,1));let W=ed(G,1);d?.((0,bd.dateI18n)(Hn,W,-W.getTimezoneOffset()))},size:"compact"})]}),(0,Ad.jsxs)(WM,{onFocus:()=>H(!0),onBlur:()=>H(!1),children:[n[0][0].map(W=>(0,Ad.jsx)(pM,{children:(0,bd.dateI18n)("D",W,-W.getTimezoneOffset())},W.toString())),n[0].map(W=>W.map((I,B)=>Vg(I,G)?(0,Ad.jsx)(Dsc,{day:I,column:B+1,isSelected:a(I),isFocusable:Vi(I,s),isFocusAllowed:r,isToday:Wg(I,vG(new Date)),isInvalid:e?e(I):!1,numEvents:t.filter(p=>Wg(p.date,I)).length,onClick:()=>{X([I]),g(I);let p=F0(o,{year:I.getFullYear(),month:I.getMonth(),date:I.getDate()});l?.((0,bd.date)(Hn,p))},onKeyDown:p=>{let y;if(p.key==="ArrowLeft"&&(y=xo(I,(0,se.isRTL)()?1:-1)),p.key==="ArrowRight"&&(y=xo(I,(0,se.isRTL)()?-1:1)),p.key==="ArrowUp"&&(y=uM(I,1)),p.key==="ArrowDown"&&(y=FG(I,1)),p.key==="PageUp"&&(y=h0(I,1)),p.key==="PageDown"&&(y=ed(I,1)),p.key==="Home"){let C=(I.getDay()-b+7)%7;y=XM(I,C)}if(p.key==="End"){let Y=I.getDay(),C=(b+6-Y)%7;y=xo(I,C)}y&&(p.preventDefault(),g(y),Vg(y,G)||(i(y),d?.((0,bd.dateI18n)(Hn,y,-y.getTimezoneOffset()))))}},I.toString()):null))]})]})}function Dsc({day:c,column:l,isSelected:t,isFocusable:e,isFocusAllowed:d,isToday:b,isInvalid:o,numEvents:n,onClick:G,onKeyDown:X}){let i=(0,NG.useRef)(null);return(0,NG.useEffect)(()=>{i.current&&e&&d&&i.current.focus()},[e]),(0,Ad.jsx)(BM,{__next40pxDefaultSize:!0,ref:i,className:"components-datetime__date__day",disabled:o,tabIndex:e?0:-1,"aria-label":Usc(c,t,b,n),column:l,isSelected:t,isToday:b,hasEvents:n>0,onClick:G,onKeyDown:X,children:(0,bd.dateI18n)("j",c,-c.getTimezoneOffset())})}function Usc(c,l,t,e){let{formats:d}=(0,bd.getSettings)(),o=[(0,bd.dateI18n)(d.date,c,-c.getTimezoneOffset())];return l&&o.push((0,se.__)("Selected")),t&&o.push((0,se.__)("Today")),e>0&&o.push((0,se.sprintf)((0,se._n)("There is %d event","There are %d events",e),e)),o.join(". ")}var hg=Tsc;var N0=u(h(),1),$l=u(bc(),1),Rn=u(Cg(),1);var SM=u(bc(),1),kM=u(Cg(),1);var CM=f("div",{target:"exz187h9"})("box-sizing:border-box;font-size:",Q.fontSize,";"),Fg=f("fieldset",{target:"exz187h8"})("border:0;margin:0 0 ",z(4)," 0;padding:0;&:last-child{margin-bottom:0;}"),JM=f("div",{target:"exz187h7"})({name:"pd0mhc",styles:"direction:ltr;display:flex"}),Dp=A("&&& ",eb,"{padding-left:",z(2),";padding-right:",z(2),";text-align:center;}",""),YM=f(Yt,{target:"exz187h6"})(Dp," width:",z(9),";&&& ",eb,"{padding-right:0;}&&& ",Bd,"{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;}"),hM=f("span",{target:"exz187h5"})("border-top:",Q.borderWidth," solid ",w.gray[700],";border-bottom:",Q.borderWidth," solid ",w.gray[700],";font-size:",Q.fontSize,`;line-height:calc( | |
| 66 | - `,Q.controlHeight," - ",Q.borderWidth,` * 2 | |
| 67 | - );display:inline-block;`),FM=f(Yt,{target:"exz187h4"})(Dp," width:",z(9),";&&& ",eb,"{padding-left:0;}&&& ",Bd,"{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;}"),vM=f("div",{target:"exz187h3"})({name:"1ff36h2",styles:"flex-grow:1"}),NM=f(Yt,{target:"exz187h2"})(Dp," width:",z(9),";"),fM=f(Yt,{target:"exz187h1"})(Dp," width:",z(14),";"),VY=f("div",{target:"exz187h0"})({name:"ebu3jh",styles:"text-decoration:underline dotted"});var Up=u(V(),1),Lsc=()=>{let{timezone:c}=(0,kM.getSettings)(),l=-1*(new Date().getTimezoneOffset()/60);if(Number(c.offset)===l)return null;let t=Number(c.offset)>=0?"+":"",e=c.abbr!==""&&isNaN(Number(c.abbr))?c.abbr:`UTC${t}${c.offsetFormatted}`,d=c.string.replace("_"," "),b=c.string==="UTC"?(0,SM.__)("Coordinated Universal Time"):`(${e}) ${d}`;return d.trim().length===0?(0,Up.jsx)(VY,{className:"components-datetime__timezone",children:e}):(0,Up.jsx)(ve,{placement:"top",text:b,children:(0,Up.jsx)(VY,{className:"components-datetime__timezone",children:e})})},zM=Lsc;var v0=u(bc(),1),AM=u(h(),1);var Od=u(V(),1);function CY({value:c,defaultValue:l,is12Hour:t,label:e,minutesProps:d,onChange:b}){let[o={hours:new Date().getHours(),minutes:new Date().getMinutes()},n]=ee({value:c,onChange:b,defaultValue:l}),G=m(o.hours),X=VM(o.hours),i=s=>(g,{event:r})=>{if(!Tp(r))return;let H=Number(g);n({...o,[s]:s==="hours"&&t?BY(H,G==="PM"):H})},a=s=>()=>{G!==s&&n({...o,hours:BY(X,s==="PM")})};function m(s){return s<12?"AM":"PM"}return(0,Od.jsxs)(e?Fg:AM.Fragment,{children:[e&&(0,Od.jsx)(Lc.VisualLabel,{as:"legend",children:e}),(0,Od.jsxs)(jc,{alignment:"left",expanded:!1,children:[(0,Od.jsxs)(JM,{className:"components-datetime__time-field components-datetime__time-field-time",children:[(0,Od.jsx)(YM,{className:"components-datetime__time-field-hours-input",label:(0,v0.__)("Hours"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:String(t?X:o.hours).padStart(2,"0"),step:1,min:t?1:0,max:t?12:23,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:i("hours"),__unstableStateReducer:Yg(2)}),(0,Od.jsx)(hM,{className:"components-datetime__time-separator","aria-hidden":"true",children:":"}),(0,Od.jsx)(FM,{className:O("components-datetime__time-field-minutes-input",d?.className),label:(0,v0.__)("Minutes"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:String(o.minutes).padStart(2,"0"),step:1,min:0,max:59,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:(...s)=>{i("minutes")(...s),d?.onChange?.(...s)},__unstableStateReducer:Yg(2),...d})]}),t&&(0,Od.jsxs)(Jd,{__next40pxDefaultSize:!0,isBlock:!0,label:(0,v0.__)("Select AM or PM"),hideLabelFromVision:!0,value:G,onChange:s=>{a(s)()},children:[(0,Od.jsx)(dn,{value:"AM",label:(0,v0.__)("AM")}),(0,Od.jsx)(dn,{value:"PM",label:(0,v0.__)("PM")})]})]})]})}var Zt=u(V(),1),jsc=["dmy","mdy","ymd"];function JY({is12Hour:c,currentTime:l,onChange:t,dateOrder:e,hideLabelFromVision:d=!1}){let[b,o]=(0,N0.useState)(()=>pY(Jg(l??new Date)));(0,N0.useEffect)(()=>{o(pY(Jg(l??new Date)))},[l]);let n=[{value:"01",label:(0,$l.__)("January")},{value:"02",label:(0,$l.__)("February")},{value:"03",label:(0,$l.__)("March")},{value:"04",label:(0,$l.__)("April")},{value:"05",label:(0,$l.__)("May")},{value:"06",label:(0,$l.__)("June")},{value:"07",label:(0,$l.__)("July")},{value:"08",label:(0,$l.__)("August")},{value:"09",label:(0,$l.__)("September")},{value:"10",label:(0,$l.__)("October")},{value:"11",label:(0,$l.__)("November")},{value:"12",label:(0,$l.__)("December")}],{day:G,month:X,year:i,minutes:a,hours:m}=(0,N0.useMemo)(()=>({day:(0,Rn.date)("d",b),month:(0,Rn.date)("m",b),year:(0,Rn.date)("Y",b),minutes:(0,Rn.date)("i",b),hours:(0,Rn.date)("H",b)}),[b]),x=I=>(p,{event:y})=>{if(!Tp(y))return;let Y=Number(p),C=F0(b,{[I]:Y});o(C),t?.((0,Rn.date)(Hn,C))},s=({hours:I,minutes:B})=>{let p=F0(b,{hours:I,minutes:B});o(p),t?.((0,Rn.date)(Hn,p))},g=(0,Zt.jsx)(NM,{className:"components-datetime__time-field components-datetime__time-field-day",label:(0,$l.__)("Day"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:G,step:1,min:1,max:yY(Number(i),Number(X)-1),required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:x("date")},"day"),r=(0,Zt.jsx)(vM,{children:(0,Zt.jsx)(hd,{className:"components-datetime__time-field components-datetime__time-field-month",label:(0,$l.__)("Month"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:X,options:n,onChange:I=>{let B=F0(b,{month:Number(I)-1});o(B),t?.((0,Rn.date)(Hn,B))}})},"month"),H=(0,Zt.jsx)(fM,{className:"components-datetime__time-field components-datetime__time-field-year",label:(0,$l.__)("Year"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:i,step:1,min:1,max:9999,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:x("year"),__unstableStateReducer:Yg(4)},"year"),Z=c?"mdy":"dmy",W=(e&&jsc.includes(e)?e:Z).split("").map(I=>{switch(I){case"d":return g;case"m":return r;case"y":return H;default:return null}});return(0,Zt.jsxs)(CM,{className:"components-datetime__time",children:[(0,Zt.jsxs)(Fg,{children:[d?(0,Zt.jsx)(Qc,{as:"legend",children:(0,$l.__)("Time")}):(0,Zt.jsx)(Lc.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,$l.__)("Time")}),(0,Zt.jsxs)(jc,{className:"components-datetime__time-wrapper",children:[(0,Zt.jsx)(CY,{value:{hours:Number(m),minutes:Number(a)},is12Hour:c,onChange:s}),(0,Zt.jsx)(xt,{}),(0,Zt.jsx)(zM,{})]})]}),(0,Zt.jsxs)(Fg,{children:[d?(0,Zt.jsx)(Qc,{as:"legend",children:(0,$l.__)("Date")}):(0,Zt.jsx)(Lc.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,$l.__)("Date")}),(0,Zt.jsx)(jc,{className:"components-datetime__time-wrapper",children:W})]})]})}JY.TimeInput=CY;Object.assign(JY.TimeInput,{displayName:"TimePicker.TimeInput"});var vg=JY;var QM=u(h(),1);var OM=f(al,{target:"e1p5onf00"})({name:"1khn195",styles:"box-sizing:border-box"});var fG=u(V(),1),Esc=()=>{};function Msc({currentDate:c,is12Hour:l,dateOrder:t,isInvalidDate:e,onMonthPreviewed:d=Esc,onChange:b,events:o,startOfWeek:n},G){return(0,fG.jsx)(OM,{ref:G,className:"components-datetime",spacing:4,children:(0,fG.jsxs)(fG.Fragment,{children:[(0,fG.jsx)(vg,{currentTime:c,onChange:b,is12Hour:l,dateOrder:t}),(0,fG.jsx)(hg,{currentDate:c,onChange:b,isInvalidDate:e,events:o,onMonthPreviewed:d,startOfWeek:n})]})})}var wM=(0,QM.forwardRef)(Msc);wM.displayName="DateTimePicker";var TM=wM;var DM=TM;var UM={name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"};var LM=u(h(),1),jM=(0,LM.createContext)(!1);jM.displayName="DisabledContext";var YY=jM;var hY=u(V(),1),{Consumer:Psc,Provider:Ksc}=YY;function FY({className:c,children:l,isDisabled:t=!0,...e}){let d=Xc();return(0,hY.jsx)(Ksc,{value:t,children:(0,hY.jsx)("div",{inert:t?"true":void 0,className:t?d(UM,c,"components-disabled"):void 0,...e,children:l})})}FY.Context=YY;FY.Consumer=Psc;var EM=FY;var MM=u(h(),1),PM=u(V(),1),_sc=({visible:c,children:l,...t},e)=>{let d=fo({open:c});return(0,PM.jsx)(Qm,{store:d,ref:e,...t,children:l})},vY=(0,MM.forwardRef)(_sc);vY.displayName="DisclosureContent";var _M=u(ec(),1),Ng=u(h(),1),f0=u(V(),1),qsc="components-draggable__invisible-drag-image",$sc="components-draggable__clone",NY=0,KM="is-dragging-components-draggable";function cgc({children:c,onDragStart:l,onDragOver:t,onDragEnd:e,appendToOwnerDocument:d=!1,cloneClassname:b,elementId:o,transferData:n,__experimentalTransferDataType:G="text",__experimentalDragComponent:X}){let i=(0,Ng.useRef)(null),a=(0,Ng.useRef)(()=>{});function m(s){s.preventDefault(),a.current(),e&&e(s)}function x(s){let{ownerDocument:g}=s.target;s.dataTransfer.setData(G,JSON.stringify(n));let r=g.createElement("div");r.style.top="0",r.style.left="0";let H=g.createElement("div");typeof s.dataTransfer.setDragImage=="function"&&(H.classList.add(qsc),g.body.appendChild(H),s.dataTransfer.setDragImage(H,0,0)),r.classList.add($sc),b&&r.classList.add(b);let Z=0,R=0;if(i.current){Z=s.clientX,R=s.clientY,r.style.transform=`translate( ${Z}px, ${R}px )`;let y=g.createElement("div");y.innerHTML=i.current.innerHTML,r.appendChild(y),g.body.appendChild(r)}else{let y=g.getElementById(o),Y=y.getBoundingClientRect(),C=y.parentNode,J=Y.top,N=Y.left;r.style.width=`${Y.width+NY*2}px`;let S=y.cloneNode(!0);S.id=`clone-${o}`,Z=N-NY,R=J-NY,r.style.transform=`translate( ${Z}px, ${R}px )`,Array.from(S.querySelectorAll("iframe")).forEach(F=>F.parentNode?.removeChild(F)),r.appendChild(S),d?g.body.appendChild(r):C?.appendChild(r)}let W=s.clientX,I=s.clientY;function B(y){if(W===y.clientX&&I===y.clientY)return;let Y=Z+y.clientX-W,C=R+y.clientY-I;r.style.transform=`translate( ${Y}px, ${C}px )`,W=y.clientX,I=y.clientY,Z=Y,R=C,t&&t(y)}let p=(0,_M.throttle)(B,16);g.addEventListener("dragover",p),g.body.classList.add(KM),l&&l(s),a.current=()=>{r&&r.parentNode&&r.parentNode.removeChild(r),H&&H.parentNode&&H.parentNode.removeChild(H),g.body.classList.remove(KM),g.removeEventListener("dragover",p)}}return(0,Ng.useEffect)(()=>()=>{a.current()},[]),(0,f0.jsxs)(f0.Fragment,{children:[c({onDraggableStart:x,onDraggableEnd:m}),X&&(0,f0.jsx)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:i,children:X})]})}var qM=cgc;var $M=u(bc(),1),Lp=u(h(),1);var fY=u(r0(),1),c4=u(ec(),1),Ci=u(V(),1);function lgc({className:c,icon:l=q2,label:t,onFilesDrop:e,onHTMLDrop:d,onDrop:b,isEligible:o=()=>!0,...n}){let[G,X]=(0,Lp.useState)(),[i,a]=(0,Lp.useState)(),[m,x]=(0,Lp.useState)(),s=(0,c4.__experimentalUseDropZone)({onDrop(r){if(!r.dataTransfer)return;let H=(0,fY.getFilesFromDataTransfer)(r.dataTransfer),Z=r.dataTransfer.getData("text/html");Z&&d?d(Z):H.length&&e?e(H):b&&b(r)},onDragStart(r){X(!0),r.dataTransfer&&(r.dataTransfer.types.includes("text/html")?x(!!d):r.dataTransfer.types.includes("Files")||(0,fY.getFilesFromDataTransfer)(r.dataTransfer).length>0?x(!!e):x(!!b&&o(r.dataTransfer)))},onDragEnd(){a(!1),X(!1),x(void 0)},onDragEnter(){a(!0)},onDragLeave(){a(!1)}}),g=O("components-drop-zone",c,{"is-active":m,"is-dragging-over-document":G,"is-dragging-over-element":i});return(0,Ci.jsx)("div",{...n,ref:s,className:g,children:(0,Ci.jsx)("div",{className:"components-drop-zone__content",children:(0,Ci.jsxs)("div",{className:"components-drop-zone__content-inner",children:[(0,Ci.jsx)(Bl,{icon:l,className:"components-drop-zone__content-icon"}),(0,Ci.jsx)("span",{className:"components-drop-zone__content-text",children:t||(0,$M.__)("Drop files to upload")})]})})})}var l4=lgc;var t4=u(Xl(),1);function e4({children:c}){return(0,t4.default)("wp.components.DropZoneProvider",{since:"5.8",hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),c}var x4=u(vR(),1),s4=u(h(),1),Zo=u(bc(),1);var d4=u(h(),1);var b4=u(bc(),1);var o4=u(ec(),1),Qd=u(V(),1);function n4({label:c,value:l,colors:t,disableCustomColors:e,enableAlpha:d,onChange:b}){let[o,n]=(0,d4.useState)(!1),G=(0,o4.useInstanceId)(n4,"color-list-picker-option"),X=`${G}__label`,i=`${G}__content`;return(0,Qd.jsxs)(Qd.Fragment,{children:[(0,Qd.jsx)(lc,{__next40pxDefaultSize:!0,className:"components-color-list-picker__swatch-button",id:X,onClick:()=>n(a=>!a),"aria-expanded":o,"aria-controls":i,icon:l?(0,Qd.jsx)(to,{colorValue:l,className:"components-color-list-picker__swatch-color"}):(0,Qd.jsx)(tl,{icon:As}),text:c}),(0,Qd.jsx)("div",{role:"group",id:i,"aria-labelledby":X,"aria-hidden":!o,children:o&&(0,Qd.jsx)(BG,{"aria-label":(0,b4.__)("Color options"),className:"components-color-list-picker__color-picker",colors:t,value:l,clearable:!1,onChange:b,disableCustomColors:e,enableAlpha:d})})]})}function tgc({colors:c,labels:l,value:t=[],disableCustomColors:e,enableAlpha:d,onChange:b}){return(0,Qd.jsx)("div",{className:"components-color-list-picker",children:l.map((o,n)=>(0,Qd.jsx)(n4,{label:o,value:t[n],colors:c,disableCustomColors:e,enableAlpha:d,onChange:G=>{let X=t.slice();X[n]=G,b(X)}},n))})}var G4=tgc;he([Fe]);function X4(c){return!c||c.length<2?["#000","#fff"]:c.map(({color:l})=>({color:l,brightness:Ic(l).brightness()})).reduce(([l,t],e)=>[e.brightness<=l.brightness?e:l,e.brightness>=t.brightness?e:t],[{brightness:1,color:""},{brightness:0,color:""}]).map(({color:l})=>l)}function S0(c=[],l="90deg"){let t=100/c.length,e=c.map((d,b)=>`${d} ${b*t}%, ${d} ${(b+1)*t}%`).join(", ");return`linear-gradient( ${l}, ${e} )`}function i4(c){return c.map((l,t)=>({position:t*100/(c.length-1),color:l}))}function a4(c=[]){return c.map(({color:l})=>l)}var u4=u(V(),1),egc=["#333","#CCC"];function m4({value:c,onChange:l}){let t=!!c,e=t?c:egc,d=S0(e),b=i4(e);return(0,u4.jsx)(mp,{disableInserter:!0,background:d,hasGradient:t,value:b,onChange:o=>{let n=a4(o);l(n)}})}var ro=u(V(),1);function dgc({asButtons:c,loop:l,clearable:t=!0,unsetable:e=!0,colorPalette:d,duotonePalette:b,disableCustomColors:o,disableCustomDuotone:n,value:G,onChange:X,"aria-label":i,"aria-labelledby":a,...m}){let[x,s]=(0,s4.useMemo)(()=>X4(d),[d]),g=G==="unset",r=(0,Zo.__)("Unset"),H=(0,ro.jsx)(ae.Option,{value:"unset",isSelected:g,tooltipText:r,"aria-label":r,className:"components-duotone-picker__color-indicator",onClick:()=>{X(g?void 0:"unset")}},"unset"),Z=b.map(({colors:B,slug:p,name:y})=>{let Y={background:S0(B,"135deg"),color:"transparent"},C=y??(0,Zo.sprintf)((0,Zo.__)("Duotone code: %s"),p),J=y?(0,Zo.sprintf)((0,Zo.__)("Duotone: %s"),y):C,N=(0,x4.default)(B,G);return(0,ro.jsx)(ae.Option,{value:B,isSelected:N,"aria-label":J,tooltipText:C,style:Y,onClick:()=>{X(N?void 0:B)}},p)}),{metaProps:R,labelProps:W}=xi(c,l,i,a),I=e?[H,...Z]:Z;return(0,ro.jsx)(ae,{...m,...R,...W,options:I,actions:!!t&&(0,ro.jsx)(ae.ButtonAction,{onClick:()=>X(void 0),accessibleWhenDisabled:!0,disabled:!G,children:(0,Zo.__)("Clear")}),children:(0,ro.jsx)(xt,{paddingTop:I.length===0?0:4,children:(0,ro.jsxs)(al,{spacing:3,children:[!o&&!n&&(0,ro.jsx)(m4,{value:g?void 0:G,onChange:X}),!n&&(0,ro.jsx)(G4,{labels:[(0,Zo.__)("Shadows"),(0,Zo.__)("Highlights")],colors:d,value:g?void 0:G,disableCustomColors:o,enableAlpha:!0,onChange:B=>{B[0]||(B[0]=x),B[1]||(B[1]=s);let p=B.length>=2?B:void 0;X(p)}})]})})})}var SY=dgc;var kY=u(V(),1);function bgc({values:c}){return c?(0,kY.jsx)(to,{colorValue:S0(c,"135deg")}):(0,kY.jsx)(tl,{icon:As})}var zY=bgc;var jp=u(bc(),1),g4=u(h(),1),fg=u(V(),1);function ogc(c,l){let{href:t,children:e,className:d,rel:b="",...o}=c,n=[...new Set([...b.split(" "),"external","noopener"].filter(Boolean))].join(" "),G=O("components-external-link",d),X=!!t?.startsWith("#");return(0,fg.jsxs)("a",{...o,className:G,href:t,onClick:a=>{X&&a.preventDefault(),c.onClick&&c.onClick(a)},target:"_blank",rel:n,ref:l,children:[(0,fg.jsx)("span",{className:"components-external-link__contents",children:e}),(0,fg.jsx)("span",{className:O("components-external-link__icon","wp-exclude-emoji"),"aria-label":(0,jp.__)("(opens in a new tab)"),children:(0,jp.isRTL)()?"\u2196":"\u2197"})]})}var r4=(0,g4.forwardRef)(ogc);r4.displayName="ExternalLink";var Ep=r4;var f4=u(bc(),1),In=u(h(),1),Pp=u(ec(),1);var Sg=u(bc(),1);var k0={width:200,height:170},ngc=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function Ggc(c=""){let l=c.split(".");return l[l.length-1]}function Z4(c=""){return c?c.startsWith("data:video/")||ngc.includes(Ggc(c)):!1}function AY(c){return Math.round(c*100)}var H4=f(ic,{target:"eeew7dm9"})("border:0;padding:0;margin:0;font-family:",vl("default.fontFamily"),";font-size:",vl("default.fontSize"),";",qe,";"),R4=f("div",{target:"eeew7dm8"})({name:"jqnsxy",styles:"background-color:transparent;display:flex;text-align:center;width:100%"}),I4=f("div",{target:"eeew7dm7"})("align-items:center;border-radius:",Q.radiusSmall,";cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;&:after{border-radius:inherit;bottom:0;box-shadow:inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );content:'';left:0;pointer-events:none;position:absolute;right:0;top:0;}img,video{border-radius:inherit;box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:100%;}"),W4=f("div",{target:"eeew7dm6"})("background:",w.gray[100],";border-radius:inherit;box-sizing:border-box;height:",k0.height,"px;max-width:280px;min-width:",k0.width,"px;width:100%;"),p4=f(io,{target:"eeew7dm5"})({name:"1d3w5wq",styles:"width:100%"}),Xgc={name:"1mn7kwb",styles:"padding-bottom:1em"},igc=({hasHelpText:c=!1})=>c?Xgc:void 0,B4=f(Hl,{target:"eeew7dm4"})("max-width:320px;padding-top:1em;",igc,";"),y4=f("div",{target:"eeew7dm3"})("left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );z-index:1;@media not ( prefers-reduced-motion ){transition:opacity 100ms linear;}opacity:",({showOverlay:c})=>c?1:0,";"),V4=f("div",{target:"eeew7dm2"})({name:"1yzbo24",styles:"background:rgba( 255, 255, 255, 0.4 );backdrop-filter:blur( 16px ) saturate( 180% );position:absolute;transform:translateZ( 0 )"}),OY=f(V4,{target:"eeew7dm1"})({name:"1sw8ur",styles:"height:1px;left:1px;right:1px"}),QY=f(V4,{target:"eeew7dm0"})({name:"188vg4t",styles:"width:1px;top:1px;bottom:1px"});var z0=u(V(),1),agc=0,ugc=100,mgc=()=>{};function J4({hasHelpText:c,onChange:l=mgc,point:t={x:.5,y:.5}}){let e=AY(t.x),d=AY(t.y),b=(o,n)=>{if(o===void 0)return;let G=parseInt(o,10);isNaN(G)||l({...t,[n]:G/100})};return(0,z0.jsxs)(B4,{className:"focal-point-picker__controls",hasHelpText:c,gap:4,children:[(0,z0.jsx)(C4,{label:(0,Sg.__)("Left"),"aria-label":(0,Sg.__)("Focal point left position"),value:[e,"%"].join(""),onChange:o=>b(o,"x"),dragDirection:"e"}),(0,z0.jsx)(C4,{label:(0,Sg.__)("Top"),"aria-label":(0,Sg.__)("Focal point top position"),value:[d,"%"].join(""),onChange:o=>b(o,"y"),dragDirection:"s"})]})}function C4(c){return(0,z0.jsx)(p4,{__next40pxDefaultSize:!0,className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:ugc,min:agc,units:[{value:"%",label:"%"}],...c})}var Y4=f("div",{target:"e19snlhg0"})("background-color:transparent;cursor:grab;height:40px;margin:-20px 0 0 -20px;position:absolute;user-select:none;width:40px;will-change:transform;z-index:10000;background:rgba( 255, 255, 255, 0.4 );border:1px solid rgba( 255, 255, 255, 0.4 );border-radius:",Q.radiusRound,";backdrop-filter:blur( 16px ) saturate( 180% );box-shadow:rgb( 0 0 0 / 10% ) 0px 0px 8px;@media not ( prefers-reduced-motion ){transition:transform 100ms linear;}",({isDragging:c})=>c&&` | |
| 111 | + `,";");var fr=class extends Date{constructor(){super(),this.setTime(arguments.length===0?Date.now():arguments.length===1?typeof arguments[0]=="string"?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}},mne=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(mne.test(e)){let t=Date.prototype[e.replace(mne,"$1UTC")];t&&(fr.prototype[e]=t)}});var Nzt=new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),Szt=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),wzt=new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var jl=u(Yp(),1);function Np(e){if(typeof e=="string")return/Z|[+-]\d{2}(:?\d{2})?$/.test(e)?new fr(new Date(e)):new fr((0,jl.getDate)(e).getTime());let t=e instanceof Date?e.getTime():e;return new fr(t)}function ls(e){let t=Number((0,jl.date)("Y",e)),c=Number((0,jl.date)("n",e))-1,n=Number((0,jl.date)("j",e));return new Date(t,c,n,0,0,0,0)}function T3(e,t){return t?(e%12+12)%24:e%12}function Xne(e){return e%12||12}function Sp(e){return(t,c)=>{let n={...t};return(c.type===bb||c.type===ga||c.type===ub)&&n.value!==void 0&&(n.value=n.value.toString().padStart(e,"0")),n}}var A3=(e,t)=>new Date(e,t+1,0).getDate();function HX(e,t){let c={year:Number((0,jl.date)("Y",e)),month:Number((0,jl.date)("n",e))-1,date:Number((0,jl.date)("j",e)),hours:Number((0,jl.date)("H",e)),minutes:Number((0,jl.date)("i",e)),seconds:Number((0,jl.date)("s",e)),...t},n=A3(c.year,c.month);c.date=Math.min(c.date,n);let l=String(c.year).padStart(4,"0"),o=String(c.month+1).padStart(2,"0"),d=String(c.date).padStart(2,"0"),i=String(c.hours).padStart(2,"0"),r=String(c.minutes).padStart(2,"0"),a=String(c.seconds).padStart(2,"0"),s=`${l}-${o}-${d}T${i}:${r}:${a}`;return new fr((0,jl.getDate)(s).getTime())}function Lh(e){let t=e.target?.ownerDocument.defaultView?.HTMLInputElement??HTMLInputElement;return e.target instanceof t?e.target.validity.valid:!1}var yr="Y-m-d\\TH:i:s";var Bo=u(F(),1);function w2e({currentDate:e,onChange:t,events:c=[],isInvalidDate:n,onMonthPreviewed:l,startOfWeek:o=0}){let d=Np(e??new Date),{calendar:i,viewing:r,setSelected:a,setViewing:s,isSelected:b,viewPreviousMonth:m,viewNextMonth:X}=lne({selected:[ls(d)],viewing:ls(d),weekStartsOn:o}),[G,g]=(0,os.useState)(ls(d)),[x,H]=(0,os.useState)(!1),[p,R]=(0,os.useState)(e);return e!==p&&(R(e),a([ls(d)]),s(ls(d)),g(ls(d))),(0,Bo.jsxs)(one,{className:"components-datetime__date",role:"application","aria-label":(0,ol.__)("Calendar"),children:[(0,Bo.jsxs)(dne,{children:[(0,Bo.jsx)(ine,{icon:(0,ol.isRTL)()?Vf:Bf,variant:"tertiary","aria-label":(0,ol.__)("View previous month"),onClick:()=>{m(),g(bX(G,1));let I=bX(r,1);l?.((0,Ml.dateI18n)(yr,I,-I.getTimezoneOffset()))},size:"compact"}),(0,Bo.jsxs)(ane,{level:3,children:[(0,Bo.jsx)("strong",{children:(0,Ml.dateI18n)("F",r,-r.getTimezoneOffset())})," ",(0,Ml.dateI18n)("Y",r,-r.getTimezoneOffset())]}),(0,Bo.jsx)(rne,{icon:(0,ol.isRTL)()?Bf:Vf,variant:"tertiary","aria-label":(0,ol.__)("View next month"),onClick:()=>{X(),g(rd(G,1));let I=rd(r,1);l?.((0,Ml.dateI18n)(yr,I,-I.getTimezoneOffset()))},size:"compact"})]}),(0,Bo.jsxs)(sne,{onFocus:()=>H(!0),onBlur:()=>H(!1),children:[i[0][0].map(I=>(0,Bo.jsx)(bne,{children:(0,Ml.dateI18n)("D",I,-I.getTimezoneOffset())},I.toString())),i[0].map(I=>I.map((f,y)=>QN(f,r)?(0,Bo.jsx)(k2e,{day:f,column:y+1,isSelected:b(f),isFocusable:jb(f,G),isFocusAllowed:x,isToday:zN(f,ls(new Date)),isInvalid:n?n(f):!1,numEvents:c.filter(Z=>zN(Z.date,f)).length,onClick:()=>{a([f]),g(f);let Z=HX(d,{year:f.getFullYear(),month:f.getMonth(),date:f.getDate()});t?.((0,Ml.date)(yr,Z))},onKeyDown:Z=>{let W;if(Z.key==="ArrowLeft"&&(W=$a(f,(0,ol.isRTL)()?1:-1)),Z.key==="ArrowRight"&&(W=$a(f,(0,ol.isRTL)()?-1:1)),Z.key==="ArrowUp"&&(W=ate(f,1)),Z.key==="ArrowDown"&&(W=aX(f,1)),Z.key==="PageUp"&&(W=bX(f,1)),Z.key==="PageDown"&&(W=rd(f,1)),Z.key==="Home"){let h=(f.getDay()-o+7)%7;W=ote(f,h)}if(Z.key==="End"){let v=f.getDay(),h=(o+6-v)%7;W=$a(f,h)}W&&(Z.preventDefault(),g(W),QN(W,r)||(s(W),l?.((0,Ml.dateI18n)(yr,W,-W.getTimezoneOffset()))))}},f.toString()):null))]})]})}function k2e({day:e,column:t,isSelected:c,isFocusable:n,isFocusAllowed:l,isToday:o,isInvalid:d,numEvents:i,onClick:r,onKeyDown:a}){let s=(0,os.useRef)(null);return(0,os.useEffect)(()=>{s.current&&n&&l&&s.current.focus()},[n]),(0,Bo.jsx)(une,{__next40pxDefaultSize:!0,ref:s,className:"components-datetime__date__day",disabled:d,tabIndex:n?0:-1,"aria-label":z2e(e,c,o,i),column:t,isSelected:c,isToday:o,hasEvents:i>0,onClick:r,onKeyDown:a,children:(0,Ml.dateI18n)("j",e,-e.getTimezoneOffset())})}function z2e(e,t,c,n){let{formats:l}=(0,Ml.getSettings)(),d=[(0,Ml.dateI18n)(l.date,e,-e.getTimezoneOffset())];return t&&d.push((0,ol.__)("Selected")),c&&d.push((0,ol.__)("Today")),n>0&&d.push((0,ol.sprintf)((0,ol._n)("There is %d event","There are %d events",n),n)),d.join(". ")}var wp=w2e;var ZX=u(T(),1),Sc=u(Ze(),1),Wr=u(Yp(),1);var fne=u(Ze(),1),yne=u(Yp(),1);var Gne=q("div",{target:"exz187h9"})("box-sizing:border-box;font-size:",de.fontSize,";"),kp=q("fieldset",{target:"exz187h8"})("border:0;margin:0 0 ",K(4)," 0;padding:0;&:last-child{margin-bottom:0;}"),gne=q("div",{target:"exz187h7"})({name:"pd0mhc",styles:"direction:ltr;display:flex"}),Dh=Re("&&& ",Po,"{padding-left:",K(2),";padding-right:",K(2),";text-align:center;}",""),xne=q($n,{target:"exz187h6"})(Dh," width:",K(9),";&&& ",Po,"{padding-right:0;}&&& ",Mo,"{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;}"),pne=q("span",{target:"exz187h5"})("border-top:",de.borderWidth," solid ",oe.gray[700],";border-bottom:",de.borderWidth," solid ",oe.gray[700],";font-size:",de.fontSize,`;line-height:calc( | |
| 112 | + `,de.controlHeight," - ",de.borderWidth,` * 2 | |
| 113 | + );display:inline-block;`),Rne=q($n,{target:"exz187h4"})(Dh," width:",K(9),";&&& ",Po,"{padding-left:0;}&&& ",Mo,"{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;}"),Hne=q("div",{target:"exz187h3"})({name:"1ff36h2",styles:"flex-grow:1"}),Ine=q($n,{target:"exz187h2"})(Dh," width:",K(9),";"),Zne=q($n,{target:"exz187h1"})(Dh," width:",K(14),";"),O3=q("div",{target:"exz187h0"})({name:"ebu3jh",styles:"text-decoration:underline dotted"});var _h=u(F(),1),T2e=()=>{let{timezone:e}=(0,yne.getSettings)(),t=-1*(new Date().getTimezoneOffset()/60);if(Number(e.offset)===t)return null;let c=Number(e.offset)>=0?"+":"",n=e.abbr!==""&&isNaN(Number(e.abbr))?e.abbr:`UTC${c}${e.offsetFormatted}`,l=e.string.replace("_"," "),o=e.string==="UTC"?(0,fne.__)("Coordinated Universal Time"):`(${n}) ${l}`;return l.trim().length===0?(0,_h.jsx)(O3,{className:"components-datetime__timezone",children:n}):(0,_h.jsx)(Hl,{placement:"top",text:o,children:(0,_h.jsx)(O3,{className:"components-datetime__timezone",children:n})})},Wne=T2e;var IX=u(Ze(),1),hne=u(T(),1);var vo=u(F(),1);function Q3({value:e,defaultValue:t,is12Hour:c,label:n,minutesProps:l,onChange:o}){let[d={hours:new Date().getHours(),minutes:new Date().getMinutes()},i]=Do({value:e,onChange:o,defaultValue:t}),r=m(d.hours),a=Xne(d.hours),s=G=>(g,{event:x})=>{if(!Lh(x))return;let H=Number(g);i({...d,[G]:G==="hours"&&c?T3(H,r==="PM"):H})},b=G=>()=>{r!==G&&i({...d,hours:T3(a,G==="PM")})};function m(G){return G<12?"AM":"PM"}return(0,vo.jsxs)(n?kp:hne.Fragment,{children:[n&&(0,vo.jsx)(at.VisualLabel,{as:"legend",children:n}),(0,vo.jsxs)(xt,{alignment:"left",expanded:!1,children:[(0,vo.jsxs)(gne,{className:"components-datetime__time-field components-datetime__time-field-time",children:[(0,vo.jsx)(xne,{className:"components-datetime__time-field-hours-input",label:(0,IX.__)("Hours"),hideLabelFromVision:!0,value:String(c?a:d.hours).padStart(2,"0"),step:1,min:c?1:0,max:c?12:23,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:s("hours"),__unstableStateReducer:Sp(2)}),(0,vo.jsx)(pne,{className:"components-datetime__time-separator","aria-hidden":"true",children:":"}),(0,vo.jsx)(Rne,{className:w("components-datetime__time-field-minutes-input",l?.className),label:(0,IX.__)("Minutes"),hideLabelFromVision:!0,value:String(d.minutes).padStart(2,"0"),step:1,min:0,max:59,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:(...G)=>{s("minutes")(...G),l?.onChange?.(...G)},__unstableStateReducer:Sp(2),...l})]}),c&&(0,vo.jsxs)(Kd,{isBlock:!0,label:(0,IX.__)("Select AM or PM"),hideLabelFromVision:!0,value:r,onChange:G=>{b(G)()},children:[(0,vo.jsx)(cr,{value:"AM",label:(0,IX.__)("AM")}),(0,vo.jsx)(cr,{value:"PM",label:(0,IX.__)("PM")})]})]})]})}var cn=u(F(),1),A2e=["dmy","mdy","ymd"];function U3({is12Hour:e,currentTime:t,onChange:c,dateOrder:n,hideLabelFromVision:l=!1}){let[o,d]=(0,ZX.useState)(()=>ON(Np(t??new Date)));(0,ZX.useEffect)(()=>{d(ON(Np(t??new Date)))},[t]);let i=[{value:"01",label:(0,Sc.__)("January")},{value:"02",label:(0,Sc.__)("February")},{value:"03",label:(0,Sc.__)("March")},{value:"04",label:(0,Sc.__)("April")},{value:"05",label:(0,Sc.__)("May")},{value:"06",label:(0,Sc.__)("June")},{value:"07",label:(0,Sc.__)("July")},{value:"08",label:(0,Sc.__)("August")},{value:"09",label:(0,Sc.__)("September")},{value:"10",label:(0,Sc.__)("October")},{value:"11",label:(0,Sc.__)("November")},{value:"12",label:(0,Sc.__)("December")}],{day:r,month:a,year:s,minutes:b,hours:m}=(0,ZX.useMemo)(()=>({day:(0,Wr.date)("d",o),month:(0,Wr.date)("m",o),year:(0,Wr.date)("Y",o),minutes:(0,Wr.date)("i",o),hours:(0,Wr.date)("H",o)}),[o]),X=f=>(Z,{event:W})=>{if(!Lh(W))return;let v=Number(Z),h=HX(o,{[f]:v});d(h),c?.((0,Wr.date)(yr,h))},G=({hours:f,minutes:y})=>{let Z=HX(o,{hours:f,minutes:y});d(Z),c?.((0,Wr.date)(yr,Z))},g=(0,cn.jsx)(Ine,{className:"components-datetime__time-field components-datetime__time-field-day",label:(0,Sc.__)("Day"),hideLabelFromVision:!0,value:r,step:1,min:1,max:A3(Number(s),Number(a)-1),required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:X("date")},"day"),x=(0,cn.jsx)(Hne,{children:(0,cn.jsx)(ei,{className:"components-datetime__time-field components-datetime__time-field-month",label:(0,Sc.__)("Month"),hideLabelFromVision:!0,value:a,options:i,onChange:f=>{let y=HX(o,{month:Number(f)-1});d(y),c?.((0,Wr.date)(yr,y))}})},"month"),H=(0,cn.jsx)(Zne,{className:"components-datetime__time-field components-datetime__time-field-year",label:(0,Sc.__)("Year"),hideLabelFromVision:!0,value:s,step:1,min:1,max:9999,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:X("year"),__unstableStateReducer:Sp(4)},"year"),p=e?"mdy":"dmy",I=(n&&A2e.includes(n)?n:p).split("").map(f=>{switch(f){case"d":return g;case"m":return x;case"y":return H;default:return null}});return(0,cn.jsxs)(Gne,{className:"components-datetime__time",children:[(0,cn.jsxs)(kp,{children:[l?(0,cn.jsx)(bt,{as:"legend",children:(0,Sc.__)("Time")}):(0,cn.jsx)(at.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,Sc.__)("Time")}),(0,cn.jsxs)(xt,{className:"components-datetime__time-wrapper",children:[(0,cn.jsx)(Q3,{value:{hours:Number(m),minutes:Number(b)},is12Hour:e,onChange:G}),(0,cn.jsx)(Pc,{}),(0,cn.jsx)(Wne,{})]})]}),(0,cn.jsxs)(kp,{children:[l?(0,cn.jsx)(bt,{as:"legend",children:(0,Sc.__)("Date")}):(0,cn.jsx)(at.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,Sc.__)("Date")}),(0,cn.jsx)(xt,{className:"components-datetime__time-wrapper",children:I})]})]})}U3.TimeInput=Q3;Object.assign(U3.TimeInput,{displayName:"TimePicker.TimeInput"});var zp=U3;var vne=u(T(),1);var Bne=q(Nt,{target:"e1p5onf00"})({name:"1khn195",styles:"box-sizing:border-box"});var ds=u(F(),1),O2e=()=>{};function Q2e({currentDate:e,is12Hour:t,dateOrder:c,isInvalidDate:n,onMonthPreviewed:l=O2e,onChange:o,events:d,startOfWeek:i},r){return(0,ds.jsx)(Bne,{ref:r,className:"components-datetime",spacing:4,children:(0,ds.jsxs)(ds.Fragment,{children:[(0,ds.jsx)(zp,{currentTime:e,onChange:o,is12Hour:t,dateOrder:c}),(0,ds.jsx)(wp,{currentDate:e,onChange:o,isInvalidDate:n,events:d,onMonthPreviewed:l,startOfWeek:i})]})})}var Vne=(0,vne.forwardRef)(Q2e);Vne.displayName="DateTimePicker";var Cne=Vne;var Fne=Cne;var Jne=u(T(),1),Yne=(0,Jne.createContext)(!1);Yne.displayName="DisabledContext";var E3=Yne;var D3=u(F(),1),L3="data-wp-hash";function _3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&E2e(document)),e.__wpStyleRuntime}function U2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${L3}]`))if(c.getAttribute(L3)===t)return!0;return!1}function Nne(e,t,c){if(!e.head)return;let n=_3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(U2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(L3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function E2e(e){let t=_3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Nne(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function L2e(e,t){let c=_3();c.styles.set(e,t);for(let n of c.documents.keys())Nne(n,e,t)}typeof process>"u",L2e("bacc423d2b",'._556ae8be2a7ddc8e__disabled{pointer-events:none;position:relative}._556ae8be2a7ddc8e__disabled:after{content:"";inset:0;position:absolute}._556ae8be2a7ddc8e__disabled *{pointer-events:none}');var D2e={disabled:"_556ae8be2a7ddc8e__disabled"},{Consumer:_2e,Provider:j2e}=E3;function j3({className:e,children:t,isDisabled:c=!0,...n}){return(0,D3.jsx)(j2e,{value:c,children:(0,D3.jsx)("div",{inert:c?"true":void 0,className:w(e,c&&[D2e.disabled,"components-disabled"])||void 0,...n,children:t})})}j3.Context=E3;j3.Consumer=_2e;var Sne=j3;var wne=u(T(),1),kne=u(F(),1),M2e=({visible:e,children:t,...c},n)=>{let l=Tr({open:e});return(0,kne.jsx)(KR,{store:l,ref:n,...c,children:t})},M3=(0,wne.forwardRef)(M2e);M3.displayName="DisclosureContent";var zne=u(Xt(),1);function P2e(e,t){return(0,zne.default)("wp.components.__experimentalDivider",{since:"7.2",version:"7.4"}),bJ(e,t)}var K2e=ie(P2e,"Divider"),Tne=K2e;var One=u(me(),1),is=u(T(),1);var jh=u(F(),1),K3="data-wp-hash";function q3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&$2e(document)),e.__wpStyleRuntime}function q2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${K3}]`))if(c.getAttribute(K3)===t)return!0;return!1}function Qne(e,t,c){if(!e.head)return;let n=q3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(q2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(K3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function $2e(e){let t=q3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Qne(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function e9e(e,t){let c=q3();c.styles.set(e,t);for(let n of c.documents.keys())Qne(n,e,t)}typeof process>"u",e9e("e7e88c1781","._3476c2e530687f96__invisible-drag-image{height:50px;left:-1000px;position:fixed;width:50px}._6f00e51ab7574306__clone{background:transparent;padding:0;pointer-events:none;position:fixed}._6f00e51ab7574306__clone:not(._664ecd37377558df__is-in-compat-slot){z-index:1000000000}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}");var $3={"invisible-drag-image":"_3476c2e530687f96__invisible-drag-image",clone:"_6f00e51ab7574306__clone","is-in-compat-slot":"_664ecd37377558df__is-in-compat-slot"},t9e=[$3["invisible-drag-image"],"components-draggable__invisible-drag-image"].filter(Boolean),c9e=[$3.clone,"components-draggable__clone"].filter(Boolean),Ane="is-dragging-components-draggable",P3=0;function n9e({children:e,onDragStart:t,onDragOver:c,onDragEnd:n,appendToOwnerDocument:l=!1,cloneClassname:o,elementId:d,transferData:i,__experimentalTransferDataType:r="text",__experimentalDragComponent:a}){let s=(0,is.useRef)(()=>{}),[b,m]=(0,is.useState)(null);function X(g){g.preventDefault(),s.current(),n?.(g)}function G(g){let{ownerDocument:x}=g.target,H=Gp(),p=H?.ownerDocument===x?H:null;g.dataTransfer.setData(r,JSON.stringify(i));let R=x.createElement("div");R.style.top="0",R.style.left="0";let I=x.createElement("div");typeof g.dataTransfer.setDragImage=="function"&&(I.classList.add(...t9e),x.body.appendChild(I),g.dataTransfer.setDragImage(I,0,0)),R.classList.add(...c9e);let f=$3["is-in-compat-slot"];p&&f&&R.classList.add(f),o&&R.classList.add(o);let y=0,Z=0;if(a)y=g.clientX,Z=g.clientY,R.style.transform=`translate( ${y}px, ${Z}px )`,(p??x.body).appendChild(R),m(R);else{let B=x.getElementById(d),V=B.getBoundingClientRect(),S=B.parentNode,Y=V.top,J=V.left;R.style.width=`${V.width+P3*2}px`;let k=B.cloneNode(!0);k.id=`clone-${d}`,y=J-P3,Z=Y-P3,R.style.transform=`translate( ${y}px, ${Z}px )`,Array.from(k.querySelectorAll("iframe")).forEach(N=>N.parentNode?.removeChild(N)),R.appendChild(k),p?p.appendChild(R):l?x.body.appendChild(R):S?.appendChild(R)}let W=g.clientX,v=g.clientY;function h(B){if(W===B.clientX&&v===B.clientY)return;let V=y+B.clientX-W,S=Z+B.clientY-v;R.style.transform=`translate( ${V}px, ${S}px )`,W=B.clientX,v=B.clientY,y=V,Z=S,c?.(B)}let C=(0,One.throttle)(h,16);x.addEventListener("dragover",C),x.body.classList.add(Ane),t?.(g),s.current=()=>{R.remove(),I.remove(),m(null),x.body.classList.remove(Ane),x.removeEventListener("dragover",C),s.current=()=>{}}}return(0,is.useEffect)(()=>()=>s.current(),[]),(0,jh.jsxs)(jh.Fragment,{children:[e({onDraggableStart:G,onDraggableEnd:X}),b&&(0,is.createPortal)(a,b)]})}var Une=n9e;var Ene=u(Ze(),1),Mh=u(T(),1);var eS=u(gX(),1),Lne=u(me(),1),tu=u(F(),1);function l9e({className:e,icon:t=zV,label:c,onFilesDrop:n,onHTMLDrop:l,onDrop:o,isEligible:d=()=>!0,...i}){let[r,a]=(0,Mh.useState)(),[s,b]=(0,Mh.useState)(),[m,X]=(0,Mh.useState)(),G=(0,Lne.__experimentalUseDropZone)({onDrop(x){if(!x.dataTransfer)return;let H=(0,eS.getFilesFromDataTransfer)(x.dataTransfer),p=x.dataTransfer.getData("text/html");p&&l?l(p):H.length&&n?n(H):o&&o(x)},onDragStart(x){a(!0),x.dataTransfer&&(x.dataTransfer.types.includes("text/html")?X(!!l):x.dataTransfer.types.includes("Files")||(0,eS.getFilesFromDataTransfer)(x.dataTransfer).length>0?X(!!n):X(!!o&&d(x.dataTransfer)))},onDragEnd(){b(!1),a(!1),X(void 0)},onDragEnter(){b(!0)},onDragLeave(){b(!1)}}),g=w("components-drop-zone",e,{"is-active":m,"is-dragging-over-document":r,"is-dragging-over-element":s});return(0,tu.jsx)("div",{...i,ref:G,className:g,children:(0,tu.jsx)("div",{className:"components-drop-zone__content",children:(0,tu.jsxs)("div",{className:"components-drop-zone__content-inner",children:[(0,tu.jsx)(Kc,{icon:t,className:"components-drop-zone__content-icon"}),(0,tu.jsx)("span",{className:"components-drop-zone__content-text",children:c||(0,Ene.__)("Drop files to upload")})]})})})}var Dne=l9e;var _ne=u(Xt(),1);function jne({children:e}){return(0,_ne.default)("wp.components.DropZoneProvider",{since:"5.8",hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),e}var qne=u(T(),1);var fX=u(T(),1),Mne=u(me(),1),tS=u(gX(),1),Pne=u(F(),1),o9e=()=>{},d9e=["menuitem","menuitemradio","menuitemcheckbox"];function i9e(e,t,c){let n=e+c;return n<0?t+n:n>=t?n-t:n}function r9e(e,t,c){let l=(c?tS.focus.tabbable:tS.focus.focusable).find(e),o=l.indexOf(t);return o>-1?{index:o,target:t,focusables:l}:null}function a9e({children:e,stopNavigationEvents:t,eventToOffset:c,onNavigate:n=o9e,onKeyDown:l,cycle:o=!0,onlyBrowserTabstops:d,...i},r){let a=(0,fX.useRef)(null);(0,fX.useEffect)(()=>{let b=a.current;if(!b)return;function m(X){l&&l(X);let G=c(X);if(G!==void 0&&t){X.stopImmediatePropagation();let I=X.target?.getAttribute("role");I&&d9e.includes(I)&&X.preventDefault()}if(!G)return;let g=X.target?.ownerDocument?.activeElement;if(!g)return;let x=r9e(b,g,!!d);if(!x)return;let{index:H,focusables:p}=x,R=o?i9e(H,p.length,G):H+G;R>=0&&R<p.length&&(p[R].focus(),n(R,p[R]),X.code==="Tab"&&X.preventDefault())}return b.addEventListener("keydown",m),()=>{b.removeEventListener("keydown",m)}},[l,c,t,o,n,d]);let s=(0,Mne.useMergeRefs)([a,r]);return(0,Pne.jsx)("div",{ref:s,...i,children:e})}var Kne=(0,fX.forwardRef)(a9e);Kne.displayName="NavigableContainer";var Ph=Kne;var $ne=u(F(),1);function s9e({role:e="menu",orientation:t="vertical",...c},n){return(0,$ne.jsx)(Ph,{ref:n,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:e,"aria-orientation":e!=="presentation"&&(t==="vertical"||t==="horizontal")?t:void 0,eventToOffset:o=>{let{code:d}=o,i=["ArrowDown"],r=["ArrowUp"];if(t==="horizontal"&&(i=["ArrowRight"],r=["ArrowLeft"]),t==="both"&&(i=["ArrowRight","ArrowDown"],r=["ArrowLeft","ArrowUp"]),i.includes(d))return 1;if(r.includes(d))return-1;if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(d))return 0},...c})}var ele=(0,qne.forwardRef)(s9e);ele.displayName="NavigableMenu";var Tp=ele;var tle=u(T(),1);var cle=u(F(),1);function b9e({eventToOffset:e,...t},c){return(0,cle.jsx)(Ph,{ref:c,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:l=>{let{code:o,shiftKey:d}=l;if(o==="Tab")return d?-1:1;if(e)return e(l)},...t})}var nle=(0,tle.forwardRef)(b9e);nle.displayName="TabbableContainer";var cS=nle;var yX=u(F(),1);function nS(e={},t={}){let c={...e,...t};return t.className&&e.className&&(c.className=w(t.className,e.className)),c}function lle(e){return typeof e=="function"}function u9e(e){let{children:t,className:c,controls:n,icon:l=vV,label:o,popoverProps:d,toggleProps:i,menuProps:r,disableOpenOnArrowDown:a=!1,text:s,noIcons:b,open:m,defaultOpen:X,onToggle:G,variant:g}=ae(e,"DropdownMenu");if(!n?.length&&!lle(t))return null;let x;n?.length&&(x=n,Array.isArray(x[0])||(x=[n]));let H=nS({className:"components-dropdown-menu__popover",variant:g},d);return(0,yX.jsx)($d,{className:c,popoverProps:H,renderToggle:({isOpen:p,onToggle:R})=>{let I=W=>{a||!p&&W.code==="ArrowDown"&&(W.preventDefault(),R())},{as:f=be,...y}=i??{},Z=nS({className:w("components-dropdown-menu__toggle",{"is-opened":p})},y);return(0,yX.jsx)(f,{...Z,icon:l,onClick:W=>{R(),Z.onClick&&Z.onClick(W)},onKeyDown:W=>{I(W),Z.onKeyDown&&Z.onKeyDown(W)},"aria-haspopup":"true","aria-expanded":p,label:o,text:s,showTooltip:i?.showTooltip??!0,children:Z.children})},renderContent:p=>{let R=nS({"aria-label":o,className:w("components-dropdown-menu__menu",{"no-icons":b})},r);return(0,yX.jsxs)(Tp,{...R,role:"menu",children:[lle(t)?t(p):null,x?.flatMap((I,f)=>I.map((y,Z)=>(0,yX.jsx)(be,{size:"compact",onClick:W=>{W.stopPropagation(),p.onClose(),y.onClick&&y.onClick()},className:w("components-dropdown-menu__menu-item",{"has-separator":f>0&&Z===0,"is-active":y.isActive,"is-icon-only":!y.title}),icon:y.icon,label:y.label,"aria-checked":y.role==="menuitemcheckbox"||y.role==="menuitemradio"?y.isActive:void 0,role:y.role==="menuitemcheckbox"||y.role==="menuitemradio"?y.role:"menuitem",accessibleWhenDisabled:!0,disabled:y.isDisabled,children:y.title},[f,Z].join())))]})},open:m,defaultOpen:X,onToggle:G})}var m9e=ab(u9e,"DropdownMenu"),hr=m9e;var ole=u(Xt(),1);function X9e(e,t){return(0,ole.default)("wp.components.__experimentalElevation",{since:"7.2",version:"7.4"}),qF(e,t)}var G9e=ie(X9e,"Elevation"),dle=G9e;var Kh=u(Ze(),1),ile=u(T(),1),Ap=u(F(),1);function g9e(e,t){let{href:c,children:n,className:l,...o}=e,d=w("components-external-link",l),i=!!c?.startsWith("#");return(0,Ap.jsxs)("a",{...o,className:d,href:c,onClick:a=>{i&&a.preventDefault(),e.onClick&&e.onClick(a)},target:"_blank",ref:t,children:[(0,Ap.jsx)("span",{className:"components-external-link__contents",children:n}),(0,Ap.jsx)("span",{className:w("components-external-link__icon","wp-exclude-emoji"),"aria-label":(0,Kh.__)("(opens in a new tab)"),children:(0,Kh.isRTL)()?"\u2196":"\u2197"})]})}var rle=(0,ile.forwardRef)(g9e);rle.displayName="ExternalLink";var qh=rle;var Wle=u(Ze(),1),Br=u(T(),1),e1=u(me(),1);var Op=u(Ze(),1);var WX={width:200,height:170},x9e=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function p9e(e=""){let t=e.split(".");return t[t.length-1]}function ale(e=""){return e?e.startsWith("data:video/")||x9e.includes(p9e(e)):!1}function lS(e){return Math.round(e*100)}var sle=q(Ce,{target:"eeew7dm9"})("border:0;padding:0;margin:0;font-family:",_o("default.fontFamily"),";font-size:",_o("default.fontSize"),";",lb,";"),ble=q("div",{target:"eeew7dm8"})({name:"k2d4tv",styles:"background-color:transparent;display:flex;text-align:center;width:100%;contain:layout"}),ule=q("div",{target:"eeew7dm7"})("align-items:center;border-radius:",de.radiusSmall,";cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;&:after{border-radius:inherit;bottom:0;box-shadow:inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );content:'';left:0;pointer-events:none;position:absolute;right:0;top:0;}img,video{border-radius:inherit;box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:100%;}"),mle=q("div",{target:"eeew7dm6"})("background:",oe.gray[100],";border-radius:inherit;box-sizing:border-box;height:",WX.height,"px;max-width:280px;min-width:",WX.width,"px;width:100%;"),Xle=q(oi,{target:"eeew7dm5"})({name:"1d3w5wq",styles:"width:100%"}),R9e={name:"1mn7kwb",styles:"padding-bottom:1em"},H9e=({hasHelpText:e=!1})=>e?R9e:void 0,Gle=q(Mt,{target:"eeew7dm4"})("max-width:320px;padding-top:1em;",H9e,";"),gle=q("div",{target:"eeew7dm3"})("left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );z-index:1;@media not ( prefers-reduced-motion ){transition:opacity 100ms linear;}opacity:",({showOverlay:e})=>e?1:0,";"),xle=q("div",{target:"eeew7dm2"})({name:"1yzbo24",styles:"background:rgba( 255, 255, 255, 0.4 );backdrop-filter:blur( 16px ) saturate( 180% );position:absolute;transform:translateZ( 0 )"}),oS=q(xle,{target:"eeew7dm1"})({name:"1sw8ur",styles:"height:1px;left:1px;right:1px"}),dS=q(xle,{target:"eeew7dm0"})({name:"188vg4t",styles:"width:1px;top:1px;bottom:1px"});var hX=u(F(),1),I9e=0,Z9e=100,f9e=()=>{};function Rle({hasHelpText:e,onChange:t=f9e,point:c={x:.5,y:.5}}){let n=lS(c.x),l=lS(c.y),o=(d,i)=>{if(d===void 0)return;let r=parseInt(d,10);isNaN(r)||t({...c,[i]:r/100})};return(0,hX.jsxs)(Gle,{className:"focal-point-picker__controls",hasHelpText:e,gap:4,children:[(0,hX.jsx)(ple,{label:(0,Op.__)("Left"),"aria-label":(0,Op.__)("Focal point left position"),value:[n,"%"].join(""),onChange:d=>o(d,"x"),dragDirection:"e"}),(0,hX.jsx)(ple,{label:(0,Op.__)("Top"),"aria-label":(0,Op.__)("Focal point top position"),value:[l,"%"].join(""),onChange:d=>o(d,"y"),dragDirection:"s"})]})}function ple(e){return(0,hX.jsx)(Xle,{className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:Z9e,min:I9e,units:[{value:"%",label:"%"}],...e})}var Hle=q("div",{target:"e19snlhg0"})("background-color:transparent;cursor:grab;height:40px;margin:-20px 0 0 -20px;position:absolute;user-select:none;width:40px;will-change:transform;z-index:10000;background:rgba( 255, 255, 255, 0.4 );border:1px solid rgba( 255, 255, 255, 0.4 );border-radius:",de.radiusRound,";backdrop-filter:blur( 16px ) saturate( 180% );box-shadow:rgb( 0 0 0 / 10% ) 0px 0px 8px;@media not ( prefers-reduced-motion ){transition:transform 100ms linear;}",({isDragging:e})=>e&&` | |
| 68 | 114 | box-shadow: rgb( 0 0 0 / 12% ) 0px 0px 10px; |
| 69 | 115 | transform: scale( 1.1 ); |
| 70 | 116 | cursor: grabbing; |
| 71 | - `,";");var h4=u(V(),1);function F4({left:c="50%",top:l="50%",...t}){return(0,h4.jsx)(Y4,{...t,className:"components-focal-point-picker__icon_container",style:{left:c,top:l}})}var Ji=u(V(),1);function v4({bounds:c,...l}){return(0,Ji.jsxs)(y4,{...l,className:"components-focal-point-picker__grid",style:{width:c.width,height:c.height},children:[(0,Ji.jsx)(OY,{style:{top:"33%"}}),(0,Ji.jsx)(OY,{style:{top:"66%"}}),(0,Ji.jsx)(QY,{style:{left:"33%"}}),(0,Ji.jsx)(QY,{style:{left:"66%"}})]})}var Mp=u(V(),1);function N4({alt:c,autoPlay:l,src:t,onLoad:e,mediaRef:d,muted:b=!0,...o}){return t?Z4(t)?(0,Mp.jsx)("video",{...o,autoPlay:l,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:b,onLoadedData:e,ref:d,src:t}):(0,Mp.jsx)("img",{...o,alt:c,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:e,ref:d,src:t}):(0,Mp.jsx)(W4,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",ref:d,...o})}var gb=u(V(),1),xgc=600;function sgc({__nextHasNoMarginBottom:c,autoPlay:l=!0,className:t,help:e,hideLabelFromVision:d,label:b,onChange:o,onDrag:n,onDragEnd:G,onDragStart:X,resolvePoint:i,url:a,value:m={x:.5,y:.5},...x}){let[s,g]=(0,In.useState)(m),[r,H]=(0,In.useState)(!1),{startDrag:Z,endDrag:R,isDragging:W}=(0,Pp.__experimentalUseDragging)({onDragStart:v=>{p.current?.focus();let T=J(v);T&&(X?.(T,v),g(T))},onDragMove:v=>{v.preventDefault();let T=J(v);T&&(n?.(T,v),g(T))},onDragEnd:()=>{G?.(),o?.(s)}}),{x:I,y:B}=W?s:m,p=(0,In.useRef)(null),[y,Y]=(0,In.useState)(k0),C=(0,In.useRef)(()=>{if(!p.current)return;let{clientWidth:v,clientHeight:T}=p.current;Y(v>0&&T>0?{width:v,height:T}:{...k0})});(0,In.useEffect)(()=>{let v=C.current;if(!p.current)return;let{defaultView:T}=p.current.ownerDocument;return T?.addEventListener("resize",v),()=>T?.removeEventListener("resize",v)},[]),(0,Pp.useIsomorphicLayoutEffect)(()=>{C.current()},[]);let J=({clientX:v,clientY:T,shiftKey:k})=>{if(!p.current)return;let{top:M,left:P}=p.current.getBoundingClientRect(),Gc=(v-P)/y.width,U=(T-M)/y.height;return k&&(Gc=Math.round(Gc/.1)*.1,U=Math.round(U/.1)*.1),N({x:Gc,y:U})},N=v=>{let T=i?.(v)??v;T.x=Math.max(0,Math.min(T.x,1)),T.y=Math.max(0,Math.min(T.y,1));let k=M=>Math.round(M*100)/100;return{x:k(T.x),y:k(T.y)}},S=v=>{let{code:T,shiftKey:k}=v;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(T))return;v.preventDefault();let M={x:I,y:B},P=k?.1:.01,Gc=T==="ArrowUp"||T==="ArrowLeft"?-1*P:P,U=T==="ArrowUp"||T==="ArrowDown"?"y":"x";M[U]=M[U]+Gc,o?.(N(M))},F={left:I!==void 0?I*y.width:.5*y.width,top:B!==void 0?B*y.height:.5*y.height},D=O("components-focal-point-picker-control",t),L=d?Qc:cd;return OX(()=>{H(!0);let v=window.setTimeout(()=>{H(!1)},xgc);return()=>window.clearTimeout(v)},[I,B]),(0,gb.jsxs)(H4,{...x,as:"fieldset",className:D,children:[!!b&&(0,gb.jsx)(L,{as:"legend",children:b}),(0,gb.jsx)(R4,{className:"components-focal-point-picker-wrapper",children:(0,gb.jsxs)(I4,{className:"components-focal-point-picker",onKeyDown:S,onMouseDown:Z,onBlur:()=>{W&&R()},ref:p,role:"button",tabIndex:-1,children:[(0,gb.jsx)(v4,{bounds:y,showOverlay:r}),(0,gb.jsx)(N4,{alt:(0,f4.__)("Media preview"),autoPlay:l,onLoad:C.current,src:a}),(0,gb.jsx)(F4,{...F,isDragging:W})]})}),(0,gb.jsx)(J4,{hasHelpText:!!e,point:{x:I,y:B},onChange:v=>{o?.(N(v))}}),!!e&&(0,gb.jsx)(db,{children:e})]})}var S4=sgc;var Kp=u(ec(),1),k4=u(Xl(),1),z4=u(V(),1);function A4({iframeRef:c,...l}){let t=(0,Kp.useMergeRefs)([c,(0,Kp.useFocusableIframe)()]);return(0,k4.default)("wp.components.FocusableIframe",{since:"5.9",alternative:"wp.compose.useFocusableIframe"}),(0,z4.jsx)("iframe",{ref:t,...l})}var Yi=u(bc(),1);var _p=u(h(),1),q4=u(ec(),1);var O4=f("fieldset",{target:"e8tqeku4"})({name:"k2q51s",styles:"border:0;margin:0;padding:0;display:contents"}),Q4=f(jc,{target:"e8tqeku3"})("height:",z(4),";"),w4=f(lc,{target:"e8tqeku2"})("margin-top:",z(-1),";"),T4=f(Lc.VisualLabel,{target:"e8tqeku1"})("display:flex;gap:",z(1),";justify-content:flex-start;margin-bottom:0;"),D4=f(Yp,{target:"e8tqeku0"})({name:"anvx77",styles:".components-custom-select-control__item .components-custom-select-control__item-hint{width:100%;}"});var A0=u(bc(),1),L4=u(h(),1);function ggc(c){return/^[\d\.]+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i.test(String(c))}function U4(c){if(c.hint)return c.hint;if(ggc(c.size))return String(c.size)}var j4=u(V(),1),wY={key:"default",name:(0,A0.__)("Default"),value:void 0},rgc=c=>{let{__next40pxDefaultSize:l,fontSizes:t,value:e,size:d,valueMode:b="literal",onChange:o}=c,n=[wY,...t.map(X=>{let i=U4(X);return{key:X.slug,name:X.name||X.slug,value:X.size,hint:i}})],G=(0,L4.useMemo)(()=>{if(e===void 0)return wY;if(b==="slug"){let X=n.find(i=>i.key===e);if(X)return X}return n.find(X=>X.value===e)??wY},[e,b,n]);return(0,j4.jsx)(D4,{__next40pxDefaultSize:l,__shouldNotWarnDeprecated36pxSize:!0,className:"components-font-size-picker__select",label:(0,A0.__)("Font size"),hideLabelFromVision:!0,describedBy:(0,A0.sprintf)((0,A0.__)("Currently selected font size: %s"),G.name),options:n,value:G,showSelectedHint:!0,onChange:({selectedItem:X})=>{let i=X.key==="default"?void 0:t.find(a=>a.slug===X.key);o(X.value,i)},size:d})},E4=rgc;var K4=u(bc(),1);var rb=u(bc(),1),M4=[(0,rb.__)("S"),(0,rb.__)("M"),(0,rb.__)("L"),(0,rb.__)("XL"),(0,rb.__)("XXL")],P4=[(0,rb.__)("Small"),(0,rb.__)("Medium"),(0,rb.__)("Large"),(0,rb.__)("Extra Large"),(0,rb.__)("Extra Extra Large")];var TY=u(V(),1),Zgc=c=>{let{fontSizes:l,value:t,valueMode:e="literal",__next40pxDefaultSize:d,size:b,onChange:o}=c,n=t?e==="slug"?String(t):l.filter(i=>i.size===t).length>1?void 0:l.find(i=>i.size===t)?.slug:void 0;return(0,TY.jsx)(Jd,{__next40pxDefaultSize:d,__shouldNotWarnDeprecated36pxSize:!0,label:(0,K4.__)("Font size"),hideLabelFromVision:!0,value:n,onChange:G=>{if(G===void 0)o(void 0);else{let X=l.find(i=>i.slug===String(G));X&&o(X.size,X)}},isBlock:!0,size:b,children:l.map((G,X)=>(0,TY.jsx)(dn,{value:G.slug,label:M4[X],"aria-label":G.name||P4[X],showTooltip:!0},G.slug))})},_4=Zgc;var Ht=u(V(),1),Hgc=["px","em","rem","vw","vh"],Rgc=5,$4=(c,l)=>{let{__next40pxDefaultSize:t=!1,fallbackFontSize:e,fontSizes:d=[],disableCustomFontSizes:b=!1,onChange:o,size:n="default",units:G=Hgc,value:X,valueMode:i="literal",withSlider:a=!1,withReset:m=!0}=c,x=(0,q4.useInstanceId)($4,"font-size-picker-label"),s=ig({availableUnits:G}),g=(()=>{if(X)return i==="slug"?d.find(C=>C.slug===X):d.find(C=>C.size===X)})(),r=!!X&&!g,[H,Z]=(0,_p.useState)(r),R=i==="slug"?g?.size:X,W;if(!b&&H?W="custom":W=d.length>Rgc?"select":"togglegroup",d.length===0&&b)return null;let I=typeof R=="string"||typeof d[0]?.size=="string",[B,p]=Kl(R,s),y=!!p&&["em","rem","vw","vh"].includes(p),Y=X===void 0;return Uc({componentName:"FontSizePicker",__next40pxDefaultSize:t,size:n}),(0,Ht.jsxs)(O4,{ref:l,className:"components-font-size-picker","aria-labelledby":x,children:[(0,Ht.jsx)(xt,{children:(0,Ht.jsxs)(Q4,{className:"components-font-size-picker__header",children:[(0,Ht.jsx)(T4,{id:x,children:(0,Yi.__)("Font size")}),!b&&(0,Ht.jsx)(w4,{label:W==="custom"?(0,Yi.__)("Use size preset"):(0,Yi.__)("Set custom size"),icon:zs,onClick:()=>Z(!H),isPressed:W==="custom",size:"small"})]})}),(0,Ht.jsxs)("div",{children:[W==="select"&&(0,Ht.jsx)(E4,{__next40pxDefaultSize:t,fontSizes:d,value:X,valueMode:i,disableCustomFontSizes:b,size:n,onChange:(C,J)=>{o?.(C===void 0?void 0:I?C:Number(C),J)},onSelectCustom:()=>Z(!0)}),W==="togglegroup"&&(0,Ht.jsx)(_4,{fontSizes:d,value:X,valueMode:i,__next40pxDefaultSize:t,size:n,onChange:(C,J)=>{o?.(C===void 0?void 0:I?C:Number(C),J)}}),W==="custom"&&(0,Ht.jsxs)(Hl,{className:"components-font-size-picker__custom-size-control",children:[(0,Ht.jsx)(Tt,{isBlock:!0,children:(0,Ht.jsx)(io,{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,label:(0,Yi.__)("Font size"),labelPosition:"top",hideLabelFromVision:!0,value:I?`${B??""}${p??""}`:R,onChange:C=>{Z(!0),o?.(C===void 0||C===""?void 0:I?C:parseInt(C,10))},size:n,units:I?s:[],min:0})}),a&&(0,Ht.jsx)(Tt,{isBlock:!0,children:(0,Ht.jsx)(xt,{marginX:2,marginBottom:0,children:(0,Ht.jsx)(Fd,{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,className:"components-font-size-picker__custom-input",label:(0,Yi.__)("Font size"),hideLabelFromVision:!0,value:B,initialPosition:e,withInputField:!1,onChange:C=>{Z(!0),o?.(C===void 0?void 0:I?C+(p??"px"):C)},min:0,max:y?10:100,step:y?.1:1})})}),m&&(0,Ht.jsx)(Tt,{children:(0,Ht.jsx)(ci,{disabled:Y,accessibleWhenDisabled:!0,onClick:()=>{o?.(void 0)},variant:"secondary",__next40pxDefaultSize:!0,size:n==="__unstable-large"||c.__next40pxDefaultSize?"default":"small",children:(0,Yi.__)("Reset")})})]})]})]})},c6=(0,_p.forwardRef)($4);c6.displayName="FontSizePicker";var l6=c6;var t6=u(h(),1);var kg=u(V(),1);function Igc({accept:c,children:l,multiple:t=!1,onChange:e,onClick:d,render:b,...o}){let n=(0,t6.useRef)(null),G=()=>{n.current?.click()};b||Uc({componentName:"FormFileUpload",__next40pxDefaultSize:o.__next40pxDefaultSize,size:o.size});let X=b?b({openFileDialog:G}):(0,kg.jsx)(lc,{onClick:G,...o,children:l}),i=c?.includes("audio/*")?`${c}, audio/mp3, audio/x-m4a, audio/x-m4b, audio/x-m4p, audio/x-wav, audio/webm`:c;return(0,kg.jsxs)("div",{className:"components-form-file-upload",children:[X,(0,kg.jsx)("input",{type:"file",ref:n,multiple:t,style:{display:"none"},accept:i,onChange:e,onClick:d,"data-testid":"form-file-upload-input"})]})}var e6=Igc;var d6=u(h(),1),O0=u(V(),1),Wgc=()=>{};function pgc(c,l){let{className:t,checked:e,id:d,disabled:b,onChange:o=Wgc,onClick:n,...G}=c,X=O("components-form-toggle",t,{"is-checked":e,"is-disabled":b});return(0,O0.jsxs)("span",{className:X,children:[(0,O0.jsx)("input",{className:"components-form-toggle__input",id:d,type:"checkbox",checked:e,onChange:o,disabled:b,onClick:i=>{i.currentTarget.focus(),n?.(i)},...G,ref:l}),(0,O0.jsx)("span",{className:"components-form-toggle__track"}),(0,O0.jsx)("span",{className:"components-form-toggle__thumb"})]})}var b6=(0,d6.forwardRef)(pgc);b6.displayName="FormToggle";var qp=b6;var ge=u(h(),1),od=u(bc(),1),Fi=u(ec(),1),zg=u(co(),1),G6=u(cW(),1),X6=u(Xl(),1);var o6=u(ec(),1),$p=u(bc(),1);var hi=u(V(),1),Bgc=()=>{};function DY({value:c,status:l,title:t,displayTransform:e,isBorderless:d=!1,disabled:b=!1,onClickRemove:o=Bgc,onMouseEnter:n,onMouseLeave:G,messages:X,termPosition:i,termsCount:a}){let m=(0,o6.useInstanceId)(DY),x=O("components-form-token-field__token",{"is-error":l==="error","is-success":l==="success","is-validating":l==="validating","is-borderless":d,"is-disabled":b}),s=()=>o({value:c}),g=e(c),r=(0,$p.sprintf)((0,$p.__)("%1$s (%2$d of %3$d)"),g,i,a);return(0,hi.jsxs)("span",{className:x,onMouseEnter:n,onMouseLeave:G,title:t,children:[(0,hi.jsxs)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${m}`,children:[(0,hi.jsx)(Qc,{as:"span",children:r}),(0,hi.jsx)("span",{"aria-hidden":"true",children:g})]}),(0,hi.jsx)(lc,{className:"components-form-token-field__remove-token",size:"small",icon:PX,onClick:b?void 0:s,disabled:b,label:X.remove,"aria-describedby":`components-form-token-field__token-text-${m}`})]})}var ygc=({__next40pxDefaultSize:c,hasTokens:l})=>!c&&A("padding-top:",z(l?1:.5),";padding-bottom:",z(l?1:.5),";",""),n6=f(Hl,{target:"ehq8nmi0"})("padding:7px;",qe," ",ygc,";");var Zb=u(V(),1),Vgc=c=>c;function cB(c){let{autoCapitalize:l,autoComplete:t,maxLength:e,placeholder:d,label:b=(0,od.__)("Add item"),className:o,suggestions:n=[],maxSuggestions:G=100,value:X=[],displayTransform:i=Vgc,saveTransform:a=cc=>cc.trim(),onChange:m=()=>{},onInputChange:x=()=>{},onFocus:s=void 0,isBorderless:g=!1,disabled:r=!1,tokenizeOnSpace:H=!1,messages:Z={added:(0,od.__)("Item added."),removed:(0,od.__)("Item removed."),remove:(0,od.__)("Remove item"),__experimentalInvalid:(0,od.__)("Invalid item")},__experimentalRenderItem:R,__experimentalExpandOnFocus:W=!1,__experimentalValidateInput:I=()=>!0,__experimentalShowHowTo:B,__next40pxDefaultSize:p=!1,__experimentalAutoSelectFirstMatch:y=!1,tokenizeOnBlur:Y=!1,help:C}=Ut(c);Uc({componentName:"FormTokenField",size:void 0,__next40pxDefaultSize:p});let J=H?(0,od.__)("Separate with commas, spaces, or the Enter key."):(0,od.__)("Separate with commas or the Enter key."),N=C!==void 0?C:J;typeof B=="boolean"&&((0,X6.default)("`__experimentalShowHowTo` prop in wp.components.FormTokenField",{since:"7.1",alternative:"`help` prop",hint:"The `help` prop now defaults to the previous how-to text. Pass an empty string to hide it."}),B===!1&&C===void 0&&(N=""));let S=(0,Fi.useInstanceId)(cB),[F,D]=(0,ge.useState)(""),[L,v]=(0,ge.useState)(0),[T,k]=(0,ge.useState)(!1),[M,P]=(0,ge.useState)(!1),[Gc,U]=(0,ge.useState)(-1),[dc,j]=(0,ge.useState)(!1),oc=(0,Fi.usePrevious)(n),Rc=(0,Fi.usePrevious)(X),Vc=(0,ge.useRef)(null),Mc=(0,ge.useRef)(null),Dl=(0,Fi.useDebounce)(zg.speak,500);(0,ge.useEffect)(()=>{T&&!sc()&&xl()},[T]),(0,ge.useEffect)(()=>{let cc=!(0,G6.isShallowEqual)(n,oc||[]);(cc||X!==Rc)&&rm(cc)},[n,oc,X,Rc]),(0,ge.useEffect)(()=>{rm()},[F]),(0,ge.useEffect)(()=>{rm()},[y]),r&&T&&(k(!1),D(""));function xl(){Vc.current?.focus()}function sc(){return Vc.current===Vc.current?.ownerDocument.activeElement}function Pc(cc){sc()||cc.target===Mc.current?(k(!0),P(W||M)):k(!1),typeof s=="function"&&s(cc)}function Fl(cc){if(Tc()&&I(F))k(!1),Y&&Tc()&&Cc(F);else{if(D(""),v(0),k(!1),W){let Bc=cc.relatedTarget===Mc.current;P(Bc)}else P(!1);U(-1),j(!1)}}function Nt(cc){let Bc=!1;if(!cc.defaultPrevented){switch(cc.key){case"Backspace":Bc=Et(gm);break;case"Enter":Bc=Kt();break;case"ArrowLeft":Bc=Mt();break;case"ArrowUp":Bc=Yo();break;case"ArrowRight":Bc=id();break;case"ArrowDown":Bc=MG();break;case"Delete":Bc=Et(Pt);break;case"Space":H&&(Bc=Kt());break;case"Escape":Bc=PG(cc);break;case"Tab":Bc=KG(cc);break;default:break}Bc&&cc.preventDefault()}}function uc(cc){let Bc=!1;cc.key===","&&(Bc=fn()),Bc&&cc.preventDefault()}function Yc(cc){cc.target===Mc.current&&T&&cc.preventDefault()}function Vl(cc){qc(cc.value),xl()}function Fc(cc){let Bc=Xt().indexOf(cc);Bc>=0&&(U(Bc),j(!1))}function Sl(cc){Cc(cc)}function nt(cc){let Bc=cc.value,ft=H?/[ ,\t]+/:/[,\t]+/,we=Bc.split(ft),Fo=we[we.length-1]||"";we.length>1&&ho(we.slice(0,-1)),D(Fo),x(Fo)}function Et(cc){let Bc=!1;return sc()&&He()&&(cc(),Bc=!0),Bc}function Mt(){let cc=!1;return He()&&(kl(),cc=!0),cc}function id(){let cc=!1;return He()&&(sm(),cc=!0),cc}function Yo(){return U(cc=>(cc===0?Xt(F,n,X,G,a).length:cc)-1),j(!0),!0}function MG(){return U(cc=>(cc+1)%Xt(F,n,X,G,a).length),j(!0),!0}function Nn(cc){cc.target instanceof HTMLInputElement&&(D(cc.target.value),P(!1),U(-1),j(!1))}function PG(cc){return Nn(cc),!0}function KG(cc){return Nn(cc),!1}function fn(){return Tc()&&Cc(F),!0}function Gt(cc){v(X.length-Math.max(cc,-1)-1)}function kl(){v(cc=>Math.min(cc+1,X.length))}function sm(){v(cc=>Math.max(cc-1,0))}function gm(){let cc=zl()-1;cc>-1&&qc(X[cc])}function Pt(){let cc=zl();cc<X.length&&(qc(X[cc]),Gt(cc))}function Kt(){let cc=!1,Bc=Qe();return Bc?(Cc(Bc),cc=!0):Tc()&&(Cc(F),cc=!0),cc}function ho(cc){let Bc=[...new Set(cc.map(a).filter(Boolean).filter(ft=>!Ki(ft)))];if(Bc.length>0){let ft=[...X];ft.splice(zl(),0,...Bc),m(ft)}}function Cc(cc){if(!I(cc)){(0,zg.speak)(Z.__experimentalInvalid,"assertive");return}ho([cc]),(0,zg.speak)(Z.added,"assertive"),D(""),U(-1),j(!1),P(!W),T&&!Y&&xl()}function qc(cc){let Bc=X.filter(ft=>wc(ft)!==wc(cc));m(Bc),(0,zg.speak)(Z.removed,"assertive")}function wc(cc){return typeof cc=="object"?cc.value:cc}function Xt(cc=F,Bc=n,ft=X,we=G,Fo=a){let Sn=Fo(cc),gr=[],y9=[],V9=ft.map(yb=>typeof yb=="string"?yb:yb.value);return Sn.length===0?Bc=Bc.filter(yb=>!V9.includes(yb)):(Sn=Sn.normalize("NFKC").toLocaleLowerCase(),Bc.forEach(yb=>{let C9=yb.normalize("NFKC").toLocaleLowerCase().indexOf(Sn);V9.indexOf(yb)===-1&&(C9===0?gr.push(yb):C9>0&&y9.push(yb))}),Bc=gr.concat(y9)),Bc.slice(0,we)}function Qe(){if(Gc!==-1)return Xt()[Gc]}function Ki(cc){return X.some(Bc=>wc(cc)===wc(Bc))}function zl(){return X.length-L}function He(){return F.length===0}function Tc(){return a(F).length>0}function rm(cc=!0){let Bc=F.trim().length>1,ft=Xt(F),we=ft.length>0,Fo=sc()&&W;if(P(Fo||Bc&&we),cc&&(y&&Bc&&we?(U(0),j(!0)):(U(-1),j(!1))),Bc){let Sn=we?(0,od.sprintf)((0,od._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",ft.length),ft.length):(0,od.__)("No results.");Dl(Sn,"assertive")}}function my(){let cc=X.map(xy);return cc.splice(zl(),0,Zm()),cc}function xy(cc,Bc,ft){let we=wc(cc),Fo=typeof cc!="string"?cc.status:void 0,Sn=Bc+1,gr=ft.length;return(0,Zb.jsx)(Tt,{children:(0,Zb.jsx)(DY,{value:we,status:Fo,title:typeof cc!="string"?cc.title:void 0,displayTransform:i,onClickRemove:Vl,isBorderless:typeof cc!="string"&&cc.isBorderless||g,onMouseEnter:typeof cc!="string"?cc.onMouseEnter:void 0,onMouseLeave:typeof cc!="string"?cc.onMouseLeave:void 0,disabled:Fo!=="error"&&r,messages:Z,termsCount:gr,termPosition:Sn})},"token-"+we)}function Zm(){let cc=N?`components-form-token-input-${S}__help`:void 0,Bc={instanceId:S,autoCapitalize:l,autoComplete:t,placeholder:X.length===0?d:"",disabled:r,value:F,onBlur:Fl,isExpanded:M,selectedSuggestionIndex:Gc,"aria-describedby":cc};return(0,Zb.jsx)(Hp,{...Bc,onChange:e&&X.length>=e?void 0:nt,ref:Vc},"input")}let Hm=O(o,"components-form-token-field__input-container",{"is-active":T,"is-disabled":r}),sy={className:"components-form-token-field",tabIndex:-1},jcc=Xt();return r||(sy=Object.assign({},sy,{onKeyDown:yd(Nt),onKeyPress:uc,onFocus:Pc})),(0,Zb.jsxs)("div",{...sy,children:[b&&(0,Zb.jsx)(cd,{htmlFor:`components-form-token-input-${S}`,className:"components-form-token-field__label",children:b}),(0,Zb.jsxs)("div",{ref:Mc,className:Hm,tabIndex:-1,onMouseDown:Yc,onTouchStart:Yc,children:[(0,Zb.jsx)(n6,{justify:"flex-start",align:"center",gap:1,wrap:!0,__next40pxDefaultSize:p,hasTokens:!!X.length,children:my()}),M&&(0,Zb.jsx)(Rp,{instanceId:S,match:a(F),displayTransform:i,suggestions:jcc,selectedIndex:Gc,scrollIntoView:dc,onHover:Fc,onSelect:Sl,__experimentalRenderItem:R})]}),N&&(0,Zb.jsx)(db,{id:`components-form-token-input-${S}__help`,className:"components-form-token-field__help",children:N})]})}var lB=cB;var Hb=u(h(),1),u6=u(Xl(),1),eB=u(bc(),1);var Og=u(bc(),1);var tB=u(kc(),1),UY=u(V(),1),i6=()=>(0,UY.jsx)(tB.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,UY.jsx)(tB.Circle,{cx:"4",cy:"4",r:"4"})});var Ag=u(V(),1);function a6({currentPage:c,numberOfPages:l,setCurrentPage:t}){return(0,Ag.jsx)("ul",{className:"components-guide__page-control","aria-label":(0,Og.__)("Guide controls"),children:Array.from({length:l}).map((e,d)=>(0,Ag.jsx)("li",{"aria-current":d===c?"step":void 0,children:(0,Ag.jsx)(lc,{size:"small",icon:(0,Ag.jsx)(i6,{}),"aria-label":(0,Og.sprintf)((0,Og.__)("Page %1$d of %2$d"),d+1,l),onClick:()=>t(d)},d)},d))})}var Ho=u(V(),1);function Cgc({children:c,className:l,contentLabel:t,finishButtonText:e=(0,eB.__)("Finish"),nextButtonText:d=(0,eB.__)("Next"),previousButtonText:b=(0,eB.__)("Previous"),onFinish:o,pages:n=[]}){let G=(0,Hb.useRef)(null),[X,i]=(0,Hb.useState)(0);(0,Hb.useEffect)(()=>{let g=G.current?.querySelector(".components-guide");g instanceof HTMLElement&&g.focus()},[X]),(0,Hb.useEffect)(()=>{Hb.Children.count(c)&&(0,u6.default)("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[c]),Hb.Children.count(c)&&(n=Hb.Children.map(c,g=>({content:g}))??[]);let a=X>0,m=X<n.length-1,x=()=>{a&&i(X-1)},s=()=>{m&&i(X+1)};return n.length===0?null:(0,Ho.jsx)(I0,{className:O("components-guide",l),contentLabel:t,isDismissible:n.length>1,onRequestClose:o,onKeyDown:g=>{g.code==="ArrowLeft"?(x(),g.preventDefault()):g.code==="ArrowRight"&&(s(),g.preventDefault())},ref:G,children:(0,Ho.jsxs)("div",{className:"components-guide__container",children:[(0,Ho.jsxs)("div",{className:"components-guide__page",children:[n[X].image,n.length>1&&(0,Ho.jsx)(a6,{currentPage:X,numberOfPages:n.length,setCurrentPage:i}),n[X].content]}),(0,Ho.jsxs)("div",{className:"components-guide__footer",children:[a&&(0,Ho.jsx)(lc,{className:"components-guide__back-button",variant:"tertiary",onClick:x,__next40pxDefaultSize:!0,children:b}),m&&(0,Ho.jsx)(lc,{className:"components-guide__forward-button",variant:"primary",onClick:s,__next40pxDefaultSize:!0,children:d}),!m&&(0,Ho.jsx)(lc,{className:"components-guide__finish-button",variant:"primary",onClick:o,__next40pxDefaultSize:!0,children:e})]})]})})}var m6=Cgc;var x6=u(h(),1),s6=u(Xl(),1),g6=u(V(),1);function r6(c){return(0,x6.useEffect)(()=>{(0,s6.default)("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),(0,g6.jsx)("div",{...c})}var Z6=u(Xl(),1),H6=u(h(),1);var R6=u(V(),1);function Jgc({label:c,labelPosition:l,size:t,tooltip:e,...d},b){return(0,Z6.default)("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button",version:"6.2"}),(0,R6.jsx)(lc,{...d,ref:b,tooltipPosition:l,iconSize:t,showTooltip:e!==void 0?!!e:void 0,label:e||c})}var I6=(0,H6.forwardRef)(Jgc);var dB=u(h(),1),W6=u(ec(),1),vi=u(V(),1);function Ygc({target:c,callback:l,shortcut:t,bindGlobal:e,eventName:d}){return(0,W6.useKeyboardShortcut)(t,l,{bindGlobal:e,target:c,eventName:d}),null}function hgc({children:c,shortcuts:l,bindGlobal:t,eventName:e}){let d=(0,dB.useRef)(null),b=Object.entries(l??{}).map(([o,n])=>(0,vi.jsx)(Ygc,{shortcut:o,callback:n,bindGlobal:t,eventName:e,target:d},o));return dB.Children.count(c)?(0,vi.jsxs)("div",{ref:d,children:[b,c]}):(0,vi.jsx)(vi.Fragment,{children:b})}var p6=hgc;var B6=u(h(),1),y6=u(ec(),1),Qg=u(V(),1);function V6(c){let{children:l,className:t="",label:e,hideSeparator:d}=c,b=(0,y6.useInstanceId)(V6);if(!B6.Children.count(l))return null;let o=`components-menu-group-label-${b}`,n=O(t,"components-menu-group",{"has-hidden-separator":d});return(0,Qg.jsxs)("div",{className:n,children:[e&&(0,Qg.jsx)("div",{className:"components-menu-group__label",id:o,"aria-hidden":"true",children:e}),(0,Qg.jsx)("div",{role:"group","aria-labelledby":e?o:void 0,children:l})]})}var wg=V6;var bB=u(h(),1);var Wn=u(V(),1);function Fgc(c,l){let{children:t,info:e,className:d,icon:b,iconPosition:o="right",shortcut:n,isSelected:G,role:X="menuitem",suffix:i,...a}=c;return d=O("components-menu-item__button",d),e&&(t=(0,Wn.jsxs)("span",{className:"components-menu-item__info-wrapper",children:[(0,Wn.jsx)("span",{className:"components-menu-item__item",children:t}),(0,Wn.jsx)("span",{className:"components-menu-item__info",children:e})]})),b&&typeof b!="string"&&(b=(0,bB.cloneElement)(b,{className:O("components-menu-items__item-icon",{"has-icon-right":o==="right"})})),(0,Wn.jsxs)(lc,{size:"compact",ref:l,"aria-checked":X==="menuitemcheckbox"||X==="menuitemradio"?G:void 0,role:X,icon:o==="left"?b:void 0,className:d,accessibleWhenDisabled:!0,...a,children:[(0,Wn.jsx)("span",{className:"components-menu-item__item",children:t}),!i&&(0,Wn.jsx)(kZ,{className:"components-menu-item__shortcut",shortcut:n}),!i&&b&&o==="right"&&(0,Wn.jsx)(tl,{icon:b}),i]})}var C6=(0,bB.forwardRef)(Fgc);C6.displayName="MenuItem";var pn=C6;var Tg=u(V(),1),vgc=()=>{};function Ngc({choices:c=[],onHover:l=vgc,onSelect:t,value:e}){return(0,Tg.jsx)(Tg.Fragment,{children:c.map(d=>{let b=e===d.value;return(0,Tg.jsx)(pn,{role:"menuitemradio",disabled:d.disabled,icon:b?Dt:null,info:d.info,isSelected:b,shortcut:d.shortcut,className:"components-menu-items-choice",onClick:()=>{b||t(d.value)},onMouseEnter:()=>l(d.value),onMouseLeave:()=>l(null),"aria-label":d["aria-label"],children:d.label},d.value)})})}var J6=Ngc;var T6=u(Xl(),1),kG=u(h(),1),D6=u(bc(),1);var SG="root",oB=100;var nB=u(h(),1);var Q0=()=>{},fgc=()=>!1,Y6=()=>{},GB=(0,nB.createContext)({activeItem:void 0,activeMenu:SG,setActiveMenu:Q0,navigationTree:{items:{},getItem:Y6,addItem:Q0,removeItem:Q0,menus:{},getMenu:Y6,addMenu:Q0,removeMenu:Q0,childMenu:{},traverseMenu:Q0,isMenuEmpty:fgc}});GB.displayName="NavigationContext";var Rt=()=>(0,nB.useContext)(GB);var Dg=u(bc(),1);var h6=f("div",{target:"eeiismy11"})("width:100%;box-sizing:border-box;padding:0 ",z(4),";overflow:hidden;"),F6=f("div",{target:"eeiismy10"})("margin-top:",z(6),";margin-bottom:",z(6),";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:",z(6),";}.components-navigation__group+.components-navigation__group{margin-top:",z(6),";}"),v6=f(lc,{target:"eeiismy9"})({name:"26l0q2",styles:"&.is-tertiary{color:inherit;opacity:0.7;&:hover:not( :disabled ){opacity:1;box-shadow:none;color:inherit;}&:active:not( :disabled ){background:transparent;opacity:1;color:inherit;}}"}),N6=f("div",{target:"eeiismy8"})({name:"1aubja5",styles:"overflow:hidden;width:100%"}),f6=f("div",{target:"eeiismy7"})({name:"rgorny",styles:"margin:11px 0;padding:1px"}),S6=f("span",{target:"eeiismy6"})("height:",z(6),";.components-button.is-small{color:inherit;opacity:0.7;margin-right:",z(1),";padding:0;&:active:not( :disabled ){background:none;opacity:1;color:inherit;}&:hover:not( :disabled ){box-shadow:none;opacity:1;color:inherit;}}"),XB=f(td,{target:"eeiismy5"})("min-height:",z(12),";align-items:center;color:inherit;display:flex;justify-content:space-between;margin-bottom:",z(2),";padding:",()=>(0,Dg.isRTL)()?`${z(1)} ${z(4)} ${z(1)} ${z(2)}`:`${z(1)} ${z(2)} ${z(1)} ${z(4)}`,";"),iB=f("li",{target:"eeiismy4"})("border-radius:",Q.radiusSmall,";color:inherit;margin-bottom:0;>button,>a.components-button,>a{width:100%;color:inherit;opacity:0.7;padding:",z(2)," ",z(4),";",hc({textAlign:"left"},{textAlign:"right"})," &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:inherit;opacity:1;}}&.is-active{background-color:",w.theme.accent,";color:",w.theme.accentInverted,";>button,.components-button:hover,>a{color:",w.theme.accentInverted,";opacity:1;}}>svg path{color:",w.gray[600],";}"),aB=f("div",{target:"eeiismy3"})("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:",z(1.5)," ",z(4),";font-weight:400;line-height:20px;width:100%;color:inherit;opacity:0.7;"),k6=f("span",{target:"eeiismy2"})("display:flex;margin-right:",z(2),";"),z6=f("span",{target:"eeiismy1"})("margin-left:",()=>(0,Dg.isRTL)()?"0":z(2),";margin-right:",()=>(0,Dg.isRTL)()?z(2):"0",";display:inline-flex;padding:",z(1)," ",z(3),";border-radius:",Q.radiusSmall,";@keyframes fade-in{from{opacity:0;}to{opacity:1;}}@media not ( prefers-reduced-motion ){animation:fade-in 250ms ease-out;}"),A6=f(Ct,{target:"eeiismy0"})(()=>(0,Dg.isRTL)()?"margin-left: auto;":"margin-right: auto;"," font-size:14px;line-height:20px;color:inherit;");var Q6=u(h(),1);var O6=u(h(),1);function LY(){let[c,l]=(0,O6.useState)({});return{nodes:c,getNode:b=>c[b],addNode:(b,o)=>{let{children:n,...G}=o;return l(X=>({...X,[b]:G}))},removeNode:b=>l(o=>{let{[b]:n,...G}=o;return G})}}var w6=()=>{let{nodes:c,getNode:l,addNode:t,removeNode:e}=LY(),{nodes:d,getNode:b,addNode:o,removeNode:n}=LY(),[G,X]=(0,Q6.useState)({}),i=x=>G[x]||[],a=(x,s)=>{let g=[],r=[x],H;for(;r.length>0&&(H=b(r.shift()),!(!(!H||g.includes(H.menu))&&(g.push(H.menu),r=[...r,...i(H.menu)],s(H)===!1))););};return{items:c,getItem:l,addItem:t,removeItem:e,menus:d,getMenu:b,addMenu:(x,s)=>{X(g=>{let r={...g};return s.parentMenu&&(r[s.parentMenu]||(r[s.parentMenu]=[]),r[s.parentMenu].push(x)),r}),o(x,s)},removeMenu:n,childMenu:G,traverseMenu:a,isMenuEmpty:x=>{let s=!0;return a(x,g=>{if(!g.isEmpty)return s=!1,!1}),s}}};var uB=u(V(),1),Sgc=()=>{};function kgc({activeItem:c,activeMenu:l=SG,children:t,className:e,onActivateMenu:d=Sgc}){let[b,o]=(0,kG.useState)(l),[n,G]=(0,kG.useState)(),X=w6(),i=(0,D6.isRTL)()?"right":"left";(0,T6.default)("wp.components.Navigation (and all subcomponents)",{since:"6.8",version:"7.1",alternative:"wp.components.Navigator"});let a=(r,H=i)=>{X.getMenu(r)&&(G(H),o(r),d(r))},m=(0,kG.useRef)(!1);(0,kG.useEffect)(()=>{m.current||(m.current=!0)},[]),(0,kG.useEffect)(()=>{l!==b&&a(l)},[l]);let x={activeItem:c,activeMenu:b,setActiveMenu:a,navigationTree:X},s=O("components-navigation",e),g=EX({type:"slide-in",origin:n});return(0,uB.jsx)(h6,{className:s,children:(0,uB.jsx)("div",{className:g?O({[g]:m.current&&n}):void 0,children:(0,uB.jsx)(GB.Provider,{value:x,children:t})},b)})}var U6=kgc;var L6=u(h(),1),Ug=u(bc(),1);var mB=u(V(),1);function zgc({backButtonLabel:c,className:l,href:t,onClick:e,parentMenu:d},b){let{setActiveMenu:o,navigationTree:n}=Rt(),G=O("components-navigation__back-button",l),X=d!==void 0?n.getMenu(d)?.title:void 0,i=m=>{typeof e=="function"&&e(m);let x=(0,Ug.isRTL)()?"left":"right";d&&!m.defaultPrevented&&o(d,x)},a=(0,Ug.isRTL)()?MX:Vs;return(0,mB.jsxs)(v6,{__next40pxDefaultSize:!0,className:G,href:t,variant:"tertiary",ref:b,onClick:i,children:[(0,mB.jsx)(Bl,{icon:a}),c||X||(0,Ug.__)("Back")]})}var j6=(0,L6.forwardRef)(zgc);j6.displayName="NavigationBackButton";var xB=j6;var M6=u(h(),1);var sB=u(h(),1),Lg=(0,sB.createContext)({group:void 0});Lg.displayName="NavigationGroupContext";var E6=()=>(0,sB.useContext)(Lg);var Ni=u(V(),1),Agc=0;function Ogc({children:c,className:l,title:t}){let[e]=(0,M6.useState)(`group-${++Agc}`),{navigationTree:{items:d}}=Rt(),b={group:e};if(!Object.values(d).some(G=>G.group===e&&G._isVisible))return(0,Ni.jsx)(Lg.Provider,{value:b,children:c});let o=`components-navigation__group-title-${e}`,n=O("components-navigation__group",l);return(0,Ni.jsx)(Lg.Provider,{value:b,children:(0,Ni.jsxs)("li",{className:n,children:[t&&(0,Ni.jsx)(XB,{className:"components-navigation__group-title",id:o,level:3,children:t}),(0,Ni.jsx)("ul",{"aria-labelledby":o,role:"group",children:c})]})})}var P6=Ogc;var bP=u(bc(),1);var fi=u(V(),1);function K6(c){let{badge:l,title:t}=c;return(0,fi.jsxs)(fi.Fragment,{children:[t&&(0,fi.jsx)(A6,{className:"components-navigation__item-title",as:"span",children:t}),l&&(0,fi.jsx)(z6,{className:"components-navigation__item-badge",children:l})]})}var tP=u(h(),1);var cP=u(h(),1);var gB=u(h(),1),jg=(0,gB.createContext)({menu:void 0,search:""});jg.displayName="NavigationMenuContext";var w0=()=>(0,gB.useContext)(jg);var q6=u(Ks(),1),_6=c=>(0,q6.default)(c).replace(/^\//,"").toLowerCase(),$6=(c,l)=>_6(c).indexOf(_6(l))!==-1;var lP=(c,l)=>{let{activeMenu:t,navigationTree:{addItem:e,removeItem:d}}=Rt(),{group:b}=E6(),{menu:o,search:n}=w0();(0,cP.useEffect)(()=>{let G=t===o,X=!n||l.title!==void 0&&$6(l.title,n);return e(c,{...l,group:b,menu:o,_isVisible:G&&X}),()=>{d(c)}},[t,n])};var eP=u(V(),1),Qgc=0;function dP(c){let{children:l,className:t,title:e,href:d,...b}=c,[o]=(0,tP.useState)(`item-${++Qgc}`);lP(o,c);let{navigationTree:n}=Rt();if(!n.getItem(o)?._isVisible)return null;let G=O("components-navigation__item",t);return(0,eP.jsx)(iB,{className:G,...b,children:l})}var zG=u(V(),1),wgc=()=>{};function Tgc(c){let{badge:l,children:t,className:e,href:d,item:b,navigateToMenu:o,onClick:n=wgc,title:G,icon:X,hideIfTargetMenuEmpty:i,isText:a,...m}=c,{activeItem:x,setActiveMenu:s,navigationTree:{isMenuEmpty:g}}=Rt();if(i&&o&&g(o))return null;let r=b&&x===b,H=O(e,{"is-active":r}),Z=B=>{o&&s(o),n(B)},R=(0,bP.isRTL)()?Vs:MX,W=t?c:{...c,onClick:void 0},I=a?m:{as:lc,__next40pxDefaultSize:"as"in m?m.as===void 0:!0,href:d,onClick:Z,"aria-current":r?"page":void 0,...m};return(0,zG.jsx)(dP,{...W,className:H,children:t||(0,zG.jsxs)(aB,{...I,children:[X&&(0,zG.jsx)(k6,{children:(0,zG.jsx)(Bl,{icon:X})}),(0,zG.jsx)(K6,{title:G,badge:l}),o&&(0,zG.jsx)(Bl,{icon:R})]})})}var oP=Tgc;var rP=u(h(),1);var nP=u(h(),1);var GP=c=>{let{navigationTree:{addMenu:l,removeMenu:t}}=Rt(),e=c.menu||SG;(0,nP.useEffect)(()=>(l(e,{...c,menu:e}),()=>{t(e)}),[])};var WB=u(h(),1),pB=u(bc(),1);var Mg=u(h(),1),ki=u(bc(),1);var rB=u(ec(),1),jY=u(co(),1),XP=u(V(),1),ZB=(0,rB.createHigherOrderComponent)(c=>function(t){return(0,XP.jsx)(c,{...t,speak:jY.speak,debouncedSpeak:(0,rB.useDebounce)(jY.speak,500)})},"withSpokenMessages");var HB=u(ec(),1),Eg=u(bc(),1);var RB=u(h(),1),uP=u(Xl(),1);var iP=f(qb,{target:"effl84m1"})({name:"37btb2",styles:"input[type='search']{&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{-webkit-appearance:none;}}"}),aP=f(tl,{target:"effl84m0"})({name:"1i54h4p",styles:"&:dir( ltr ){transform:scaleX( -1 );}"});var Si=u(V(),1);function Dgc({searchRef:c,value:l,onChange:t,onClose:e}){if(!e&&!l)return null;e&&(0,uP.default)("`onClose` prop in wp.components.SearchControl",{since:"6.8"});let d=()=>{t(""),c.current?.focus()};return(0,Si.jsx)(YC,{variant:"control",children:(0,Si.jsx)(lc,{size:"small",icon:PX,label:e?(0,Eg.__)("Close search"):(0,Eg.__)("Reset search"),onClick:e??d})})}function Ugc({__nextHasNoMarginBottom:c,className:l,onChange:t,value:e,label:d=(0,Eg.__)("Search"),placeholder:b=(0,Eg.__)("Search"),hideLabelFromVision:o=!0,onClose:n,size:G="default",...X},i){let{disabled:a,...m}=X,x=(0,RB.useRef)(null),s=(0,HB.useInstanceId)(EY,"components-search-control");return(0,Si.jsx)(iP,{__next40pxDefaultSize:!0,id:s,hideLabelFromVision:o,label:d,ref:(0,HB.useMergeRefs)([x,i]),type:"search",size:G,className:O("components-search-control",l),onChange:g=>t(g??""),autoComplete:"off",placeholder:b,value:e??"",prefix:(0,Si.jsx)(JC,{variant:"icon",children:(0,Si.jsx)(aP,{icon:fs,fill:"currentColor"})}),suffix:(0,Si.jsx)(Dgc,{searchRef:x,value:e,onChange:t,onClose:n}),...m})}var EY=(0,RB.forwardRef)(Ugc);EY.displayName="SearchControl";var IB=EY;var MY=u(V(),1);function Lgc({debouncedSpeak:c,onCloseSearch:l,onSearch:t,search:e,title:d}){let{navigationTree:{items:b}}=Rt(),{menu:o}=w0(),n=(0,Mg.useRef)(null);(0,Mg.useEffect)(()=>{let m=setTimeout(()=>{n.current?.focus()},oB);return()=>{clearTimeout(m)}},[]),(0,Mg.useEffect)(()=>{if(!e)return;let m=Object.values(b).filter(s=>s._isVisible).length,x=(0,ki.sprintf)((0,ki._n)("%d result found.","%d results found.",m),m);c(x)},[b,e]);let G=()=>{t?.(""),l()},X=m=>{m.code==="Escape"&&!m.defaultPrevented&&(m.preventDefault(),G())},i=`components-navigation__menu-title-search-${o}`,a=(0,ki.sprintf)((0,ki.__)("Search %s"),d?.toLowerCase()||"").trim();return(0,MY.jsx)(f6,{children:(0,MY.jsx)(IB,{className:"components-navigation__menu-search-input",id:i,onChange:m=>t?.(m),onKeyDown:X,placeholder:a,onClose:G,ref:n,value:e})})}var mP=ZB(Lgc);var Ro=u(V(),1);function xP({hasSearch:c,onSearch:l,search:t,title:e,titleAction:d}){let[b,o]=(0,WB.useState)(!1),{menu:n}=w0(),G=(0,WB.useRef)(null);if(!e)return null;let X=()=>{o(!1),setTimeout(()=>{G.current?.focus()},oB)},i=`components-navigation__menu-title-${n}`,a=(0,pB.sprintf)((0,pB.__)("Search in %s"),e);return(0,Ro.jsxs)(N6,{className:"components-navigation__menu-title",children:[!b&&(0,Ro.jsxs)(XB,{as:"h2",className:"components-navigation__menu-title-heading",level:3,children:[(0,Ro.jsx)("span",{id:i,children:e}),(c||d)&&(0,Ro.jsxs)(S6,{children:[d,c&&(0,Ro.jsx)(lc,{size:"small",variant:"tertiary",label:a,onClick:()=>o(!0),ref:G,children:(0,Ro.jsx)(Bl,{icon:fs})})]})]}),b&&(0,Ro.jsx)("div",{className:EX({type:"slide-in",origin:"left"}),children:(0,Ro.jsx)(mP,{onCloseSearch:X,onSearch:l,search:t,title:e})})]})}var sP=u(bc(),1);var BB=u(V(),1);function gP({search:c}){let{navigationTree:{items:l}}=Rt(),t=Object.values(l).filter(e=>e._isVisible).length;return!c||t?null:(0,BB.jsx)(iB,{children:(0,BB.jsxs)(aB,{children:[(0,sP.__)("No results found.")," "]})})}var Io=u(V(),1);function jgc(c){let{backButtonLabel:l,children:t,className:e,hasSearch:d,menu:b=SG,onBackButtonClick:o,onSearch:n,parentMenu:G,search:X,isSearchDebouncing:i,title:a,titleAction:m}=c,[x,s]=(0,rP.useState)("");GP(c);let{activeMenu:g}=Rt(),r={menu:b,search:x};if(g!==b)return(0,Io.jsx)(jg.Provider,{value:r,children:t});let H=!!n,Z=H?X:x,R=H?n:s,W=`components-navigation__menu-title-${b}`,I=O("components-navigation__menu",e);return(0,Io.jsx)(jg.Provider,{value:r,children:(0,Io.jsxs)(F6,{className:I,children:[(G||o)&&(0,Io.jsx)(xB,{backButtonLabel:l,parentMenu:G,onClick:o}),a&&(0,Io.jsx)(xP,{hasSearch:d,onSearch:R,search:Z,title:a,titleAction:m}),(0,Io.jsx)(sn,{children:(0,Io.jsxs)("ul",{"aria-labelledby":W,children:[t,Z&&!i&&(0,Io.jsx)(gP,{search:Z})]})})]})})}var ZP=jgc;var SP=u(Xl(),1),T0=u(h(),1),kP=u(cW(),1),rWl=u(ne(),1);function Egc(c){for(var l=[],t=0;t<c.length;){var e=c[t];if(e==="*"||e==="+"||e==="?"){l.push({type:"MODIFIER",index:t,value:c[t++]});continue}if(e==="\\"){l.push({type:"ESCAPED_CHAR",index:t++,value:c[t++]});continue}if(e==="{"){l.push({type:"OPEN",index:t,value:c[t++]});continue}if(e==="}"){l.push({type:"CLOSE",index:t,value:c[t++]});continue}if(e===":"){for(var d="",b=t+1;b<c.length;){var o=c.charCodeAt(b);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){d+=c[b++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(t));l.push({type:"NAME",index:t,value:d}),t=b;continue}if(e==="("){var n=1,G="",b=t+1;if(c[b]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(b));for(;b<c.length;){if(c[b]==="\\"){G+=c[b++]+c[b++];continue}if(c[b]===")"){if(n--,n===0){b++;break}}else if(c[b]==="("&&(n++,c[b+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(b));G+=c[b++]}if(n)throw new TypeError("Unbalanced pattern at ".concat(t));if(!G)throw new TypeError("Missing pattern at ".concat(t));l.push({type:"PATTERN",index:t,value:G}),t=b;continue}l.push({type:"CHAR",index:t,value:c[t++]})}return l.push({type:"END",index:t,value:""}),l}function Mgc(c,l){l===void 0&&(l={});for(var t=Egc(c),e=l.prefixes,d=e===void 0?"./":e,b=l.delimiter,o=b===void 0?"/#?":b,n=[],G=0,X=0,i="",a=function(Y){if(X<t.length&&t[X].type===Y)return t[X++].value},m=function(Y){var C=a(Y);if(C!==void 0)return C;var J=t[X],N=J.type,S=J.index;throw new TypeError("Unexpected ".concat(N," at ").concat(S,", expected ").concat(Y))},x=function(){for(var Y="",C;C=a("CHAR")||a("ESCAPED_CHAR");)Y+=C;return Y},s=function(Y){for(var C=0,J=o;C<J.length;C++){var N=J[C];if(Y.indexOf(N)>-1)return!0}return!1},g=function(Y){var C=n[n.length-1],J=Y||(C&&typeof C=="string"?C:"");if(C&&!J)throw new TypeError('Must have text between two parameters, missing text after "'.concat(C.name,'"'));return!J||s(J)?"[^".concat(AG(o),"]+?"):"(?:(?!".concat(AG(J),")[^").concat(AG(o),"])+?")};X<t.length;){var r=a("CHAR"),H=a("NAME"),Z=a("PATTERN");if(H||Z){var R=r||"";d.indexOf(R)===-1&&(i+=R,R=""),i&&(n.push(i),i=""),n.push({name:H||G++,prefix:R,suffix:"",pattern:Z||g(R),modifier:a("MODIFIER")||""});continue}var W=r||a("ESCAPED_CHAR");if(W){i+=W;continue}i&&(n.push(i),i="");var I=a("OPEN");if(I){var R=x(),B=a("NAME")||"",p=a("PATTERN")||"",y=x();m("CLOSE"),n.push({name:B||(p?G++:""),pattern:B&&!p?g(R):p,prefix:R,suffix:y,modifier:a("MODIFIER")||""});continue}m("END")}return n}function HP(c,l){var t=[],e=IP(c,t,l);return Pgc(e,t,l)}function Pgc(c,l,t){t===void 0&&(t={});var e=t.decode,d=e===void 0?function(b){return b}:e;return function(b){var o=c.exec(b);if(!o)return!1;for(var n=o[0],G=o.index,X=Object.create(null),i=function(m){if(o[m]===void 0)return"continue";var x=l[m-1];x.modifier==="*"||x.modifier==="+"?X[x.name]=o[m].split(x.prefix+x.suffix).map(function(s){return d(s,x)}):X[x.name]=d(o[m],x)},a=1;a<o.length;a++)i(a);return{path:n,index:G,params:X}}}function AG(c){return c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function RP(c){return c&&c.sensitive?"":"i"}function Kgc(c,l){if(!l)return c;for(var t=/\((?:\?<(.*?)>)?(?!\?)/g,e=0,d=t.exec(c.source);d;)l.push({name:d[1]||e++,prefix:"",suffix:"",modifier:"",pattern:""}),d=t.exec(c.source);return c}function _gc(c,l,t){var e=c.map(function(d){return IP(d,l,t).source});return new RegExp("(?:".concat(e.join("|"),")"),RP(t))}function qgc(c,l,t){return $gc(Mgc(c,t),l,t)}function $gc(c,l,t){t===void 0&&(t={});for(var e=t.strict,d=e===void 0?!1:e,b=t.start,o=b===void 0?!0:b,n=t.end,G=n===void 0?!0:n,X=t.encode,i=X===void 0?function(C){return C}:X,a=t.delimiter,m=a===void 0?"/#?":a,x=t.endsWith,s=x===void 0?"":x,g="[".concat(AG(s),"]|$"),r="[".concat(AG(m),"]"),H=o?"^":"",Z=0,R=c;Z<R.length;Z++){var W=R[Z];if(typeof W=="string")H+=AG(i(W));else{var I=AG(i(W.prefix)),B=AG(i(W.suffix));if(W.pattern)if(l&&l.push(W),I||B)if(W.modifier==="+"||W.modifier==="*"){var p=W.modifier==="*"?"?":"";H+="(?:".concat(I,"((?:").concat(W.pattern,")(?:").concat(B).concat(I,"(?:").concat(W.pattern,"))*)").concat(B,")").concat(p)}else H+="(?:".concat(I,"(").concat(W.pattern,")").concat(B,")").concat(W.modifier);else{if(W.modifier==="+"||W.modifier==="*")throw new TypeError('Can not repeat "'.concat(W.name,'" without a prefix and suffix'));H+="(".concat(W.pattern,")").concat(W.modifier)}else H+="(?:".concat(I).concat(B,")").concat(W.modifier)}}if(G)d||(H+="".concat(r,"?")),H+=t.endsWith?"(?=".concat(g,")"):"$";else{var y=c[c.length-1],Y=typeof y=="string"?r.indexOf(y[y.length-1])>-1:y===void 0;d||(H+="(?:".concat(r,"(?=").concat(g,"))?")),Y||(H+="(?=".concat(r,"|").concat(g,")"))}return new RegExp(H,RP(t))}function IP(c,l,t){return c instanceof RegExp?Kgc(c,l):Array.isArray(c)?_gc(c,l,t):qgc(c,l,t)}function WP(c,l){return HP(l,{decode:decodeURIComponent})(c)}function pP(c,l){for(let t of l){let e=WP(c,t.path);if(e)return{params:e.params,id:t.id}}}function BP(c,l){if(!c.startsWith("/"))return;let t=c.split("/"),e;for(;t.length>1&&e===void 0;){t.pop();let d=t.join("/")===""?"/":t.join("/");l.find(b=>WP(d,b.path)!==!1)&&(e=d)}return e}var yP=u(h(),1),crc={location:{},goTo:()=>{},goBack:()=>{},goToParent:()=>{},addScreen:()=>{},removeScreen:()=>{},params:{}},zi=(0,yP.createContext)(crc);zi.displayName="NavigatorContext";var JP={name:"1br0vvk",styles:"position:relative;overflow-x:clip;contain:layout;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;align-items:start"},VP=Ye({from:{opacity:0}}),CP=Ye({to:{opacity:0}}),YP=Ye({from:{transform:"translateX(100px)"}}),hP=Ye({to:{transform:"translateX(-80px)"}}),FP=Ye({from:{transform:"translateX(-100px)"}}),vP=Ye({to:{transform:"translateX(80px)"}}),jt={DURATION:70,EASING:"linear",DELAY:{IN:70,OUT:40}},Wo={DURATION:300,EASING:"cubic-bezier(0.33, 0, 0, 1)"},PY={IN:Math.max(jt.DURATION+jt.DELAY.IN,Wo.DURATION),OUT:Math.max(jt.DURATION+jt.DELAY.OUT,Wo.DURATION)},KY={end:{in:YP.name,out:hP.name},start:{in:FP.name,out:vP.name}},lrc={end:{in:A(jt.DURATION,"ms ",jt.EASING," ",jt.DELAY.IN,"ms both ",VP,",",Wo.DURATION,"ms ",Wo.EASING," both ",YP,";",""),out:A(jt.DURATION,"ms ",jt.EASING," ",jt.DELAY.OUT,"ms both ",CP,",",Wo.DURATION,"ms ",Wo.EASING," both ",hP,";","")},start:{in:A(jt.DURATION,"ms ",jt.EASING," ",jt.DELAY.IN,"ms both ",VP,",",Wo.DURATION,"ms ",Wo.EASING," both ",FP,";",""),out:A(jt.DURATION,"ms ",jt.EASING," ",jt.DELAY.OUT,"ms both ",CP,",",Wo.DURATION,"ms ",Wo.EASING," both ",vP,";","")}},NP=A("z-index:1;&[data-animation-type='out']{z-index:0;}@media not ( prefers-reduced-motion ){&:not( [data-skip-animation] ){",["start","end"].map(c=>["in","out"].map(l=>A("&[data-animation-direction='",c,"'][data-animation-type='",l,"']{animation:",lrc[c][l],";}",""))),";}}",""),fP={name:"14di7zd",styles:"overflow-x:auto;max-height:100%;box-sizing:border-box;position:relative;grid-column:1/-1;grid-row:1/-1"};var qY=u(V(),1);function trc({screens:c},l){return c.some(t=>t.path===l.path)?c:[...c,l]}function erc({screens:c},l){return c.filter(t=>t.id!==l.id)}function zP(c,l,t={}){let{focusSelectors:e}=c,d={...c.currentLocation},{isBack:b=!1,skipFocus:o=!1,replace:n,focusTargetSelector:G,...X}=t;if(d.path===l)return{currentLocation:d,focusSelectors:e};let i;function a(){return i=i??new Map(c.focusSelectors),i}G&&d.path&&a().set(d.path,G);let m;return e.get(l)&&(b&&(m=e.get(l)),a().delete(l)),{currentLocation:{...X,isInitial:!1,path:l,isBack:b,hasRestoredFocus:!1,focusTargetSelector:m,skipFocus:o},focusSelectors:i??e}}function drc(c,l={}){let{screens:t,focusSelectors:e}=c,d={...c.currentLocation},b=d.path;if(b===void 0)return{currentLocation:d,focusSelectors:e};let o=BP(b,t);return o===void 0?{currentLocation:d,focusSelectors:e}:zP(c,o,{...l,isBack:!0})}function brc(c,l){let{screens:t,currentLocation:e,matchedPath:d,focusSelectors:b,...o}=c;switch(l.type){case"add":t=trc(c,l.screen);break;case"remove":t=erc(c,l.screen);break;case"goto":({currentLocation:e,focusSelectors:b}=zP(c,l.path,l.options));break;case"gotoparent":({currentLocation:e,focusSelectors:b}=drc(c,l.options));break}if(t===c.screens&&e===c.currentLocation)return c;let n=e.path;return d=n!==void 0?pP(n,t):void 0,d&&c.matchedPath&&d.id===c.matchedPath.id&&(0,kP.isShallowEqual)(d.params,c.matchedPath.params)&&(d=c.matchedPath),{...o,screens:t,currentLocation:e,matchedPath:d,focusSelectors:b}}function orc(c,l){let{initialPath:t,children:e,className:d,...b}=$(c,"Navigator"),[o,n]=(0,T0.useReducer)(brc,t,s=>({screens:[],currentLocation:{path:s,isInitial:!0},matchedPath:void 0,focusSelectors:new Map,initialPath:t})),G=(0,T0.useMemo)(()=>({goBack:s=>n({type:"gotoparent",options:s}),goTo:(s,g)=>n({type:"goto",path:s,options:g}),goToParent:s=>{(0,SP.default)("wp.components.useNavigator().goToParent",{since:"6.7",alternative:"wp.components.useNavigator().goBack"}),n({type:"gotoparent",options:s})},addScreen:s=>n({type:"add",screen:s}),removeScreen:s=>n({type:"remove",screen:s})}),[]),{currentLocation:X,matchedPath:i}=o,a=(0,T0.useMemo)(()=>({location:X,params:i?.params??{},match:i?.id,...G}),[X,i,G]),m=Xc(),x=(0,T0.useMemo)(()=>m(JP,d),[d,m]);return(0,qY.jsx)(ic,{ref:l,className:x,...b,children:(0,qY.jsx)(zi.Provider,{value:a,children:e})})}var yB=tc(orc,"Navigator");var DP=u(r0(),1),nd=u(h(),1),UP=u(ec(),1),LP=u($Y(),1),CWl=u(ne(),1);var OG=u(h(),1),QP=u(ec(),1),wP=u(bc(),1);var OP=1.2,nrc=(c,l,t)=>l==="ANIMATING_IN"&&t===KY[c].in,Grc=(c,l,t)=>l==="ANIMATING_OUT"&&t===KY[c].out;function TP({isMatch:c,skipAnimation:l,isBack:t,onAnimationEnd:e}){let d=(0,wP.isRTL)(),b=(0,QP.useReducedMotion)(),[o,n]=(0,OG.useState)("INITIAL"),G=o!=="ANIMATING_IN"&&o!=="IN"&&c,X=o!=="ANIMATING_OUT"&&o!=="OUT"&&!c;(0,OG.useLayoutEffect)(()=>{G?n(l||b?"IN":"ANIMATING_IN"):X&&n(l||b?"OUT":"ANIMATING_OUT")},[G,X,l,b]);let i=d&&t||!d&&!t?"end":"start",a=o==="ANIMATING_IN",m=o==="ANIMATING_OUT",x;a?x="in":m&&(x="out");let s=(0,OG.useCallback)(g=>{e?.(g),Grc(i,o,g.animationName)?n("OUT"):nrc(i,o,g.animationName)&&n("IN")},[e,o,i]);return(0,OG.useEffect)(()=>{let g;return m?g=window.setTimeout(()=>{n("OUT"),g=void 0},PY.OUT*OP):a&&(g=window.setTimeout(()=>{n("IN"),g=void 0},PY.IN*OP)),()=>{g&&(window.clearTimeout(g),g=void 0)}},[m,a]),{animationStyles:NP,shouldRenderScreen:c||o==="IN"||o==="ANIMATING_OUT",screenProps:{onAnimationEnd:s,"data-animation-direction":i,"data-animation-type":x,"data-skip-animation":l||void 0}}}var jP=u(V(),1);function Xrc(c,l){/^\//.test(c.path);let t=(0,nd.useId)(),{children:e,className:d,path:b,onAnimationEnd:o,...n}=$(c,"Navigator.Screen"),{location:G,match:X,addScreen:i,removeScreen:a}=(0,nd.useContext)(zi),{isInitial:m,isBack:x,focusTargetSelector:s,skipFocus:g}=G,r=X===t,H=(0,nd.useRef)(null),Z=!!m&&!x;(0,nd.useEffect)(()=>{let C={id:t,path:(0,LP.escapeAttribute)(b)};return i(C),()=>a(C)},[t,b,i,a]);let{animationStyles:R,shouldRenderScreen:W,screenProps:I}=TP({isMatch:r,isBack:x,onAnimationEnd:o,skipAnimation:Z}),B=Xc(),p=(0,nd.useMemo)(()=>B(fP,R,d),[d,B,R]),y=(0,nd.useRef)(G);(0,nd.useEffect)(()=>{y.current=G},[G]),(0,nd.useEffect)(()=>{let C=H.current;if(Z||!r||!C||y.current.hasRestoredFocus||g)return;let J=C.ownerDocument.activeElement;if(C.contains(J))return;let N=null;if(x&&s&&(N=C.querySelector(s)),!N){let[S]=DP.focus.tabbable.find(C);N=S??C}y.current.hasRestoredFocus=!0,N.focus()},[Z,r,x,s,g]);let Y=(0,UP.useMergeRefs)([l,H]);return W?(0,jP.jsx)(ic,{ref:Y,className:p,...I,...n,children:e}):null}var VB=tc(Xrc,"Navigator.Screen");var MP=u(h(),1),PP=u($Y(),1);var EP=u(h(),1);function QG(){let{location:c,params:l,goTo:t,goBack:e,goToParent:d}=(0,EP.useContext)(zi);return{location:c,goTo:t,goBack:e,goToParent:d,params:l}}var irc=(c,l)=>`[${c}="${l}"]`;function KP(c){let{path:l,onClick:t,as:e=lc,attributeName:d="id",...b}=$(c,"Navigator.Button"),o=(0,PP.escapeAttribute)(l),{goTo:n}=QG(),G=(0,MP.useCallback)(X=>{X.preventDefault(),n(o,{focusTargetSelector:irc(d,o)}),t?.(X)},[n,t,d,o]);return{as:e,onClick:G,...b,[d]:o}}var _P=u(V(),1);function arc(c,l){let t=KP(c);return(0,_P.jsx)(ic,{ref:l,...t})}var CB=tc(arc,"Navigator.Button");var qP=u(h(),1);function $P(c){let{onClick:l,as:t=lc,...e}=$(c,"Navigator.BackButton"),{goBack:d}=QG(),b=(0,qP.useCallback)(o=>{o.preventDefault(),d(),l?.(o)},[d,l]);return{as:t,onClick:b,...e}}var cK=u(V(),1);function urc(c,l){let t=$P(c);return(0,cK.jsx)(ic,{ref:l,...t})}var D0=tc(urc,"Navigator.BackButton");var lK=u(Xl(),1);var tK=u(V(),1);function mrc(c,l){return(0,lK.default)("wp.components.NavigatorToParentButton",{since:"6.7",alternative:"wp.components.Navigator.BackButton"}),(0,tK.jsx)(D0,{ref:l,...c})}var eK=tc(mrc,"Navigator.ToParentButton");var dK=Object.assign(yB,{displayName:"NavigatorProvider"}),bK=Object.assign(VB,{displayName:"NavigatorScreen"}),oK=Object.assign(CB,{displayName:"NavigatorButton"}),nK=Object.assign(D0,{displayName:"NavigatorBackButton"}),GK=Object.assign(eK,{displayName:"NavigatorToParentButton"});var XK=Object.assign(yB,{Screen:Object.assign(VB,{displayName:"Navigator.Screen"}),Button:Object.assign(CB,{displayName:"Navigator.Button"}),BackButton:Object.assign(D0,{displayName:"Navigator.BackButton"})});var U0=u(bc(),1),L0=u(h(),1),aK=u(co(),1);var Bn=u(V(),1),iK=()=>{};function xrc(c,l){let t=typeof c=="string"?c:(0,L0.renderToString)(c);(0,L0.useEffect)(()=>{t&&(0,aK.speak)(t,l)},[t,l])}function src(c){switch(c){case"success":case"warning":case"info":return"polite";default:return"assertive"}}function grc(c){switch(c){case"warning":return(0,U0.__)("Warning notice");case"info":return(0,U0.__)("Information notice");case"error":return(0,U0.__)("Error notice");default:return(0,U0.__)("Notice")}}function rrc({className:c,status:l="info",children:t,spokenMessage:e=t,onRemove:d=iK,isDismissible:b=!0,actions:o=[],politeness:n=src(l),__unstableHTML:G,onDismiss:X=iK}){xrc(e,n);let i=O(c,"components-notice","is-"+l,{"is-dismissible":b});G&&typeof t=="string"&&(t=(0,Bn.jsx)(L0.RawHTML,{children:t}));let a=()=>{X(),d()};return(0,Bn.jsxs)("div",{className:i,children:[(0,Bn.jsx)(Qc,{children:grc(l)}),(0,Bn.jsxs)("div",{className:"components-notice__content",children:[t,o.length>0&&(0,Bn.jsx)("div",{className:"components-notice__actions",children:o.map(({className:m,label:x,isPrimary:s,variant:g,noDefaultClasses:r=!1,onClick:H,url:Z,disabled:R},W)=>{let I=g;return g!=="primary"&&!r&&(I=Z?"link":"secondary"),typeof I>"u"&&s&&(I="primary"),(0,Bn.jsx)(lc,{__next40pxDefaultSize:!0,href:Z,variant:I,onClick:H,disabled:R,accessibleWhenDisabled:!0,className:O("components-notice__action",m),children:x},W)})})]}),b&&(0,Bn.jsx)(lc,{size:"small",className:"components-notice__dismiss",icon:KX,label:(0,U0.__)("Close"),onClick:a})]})}var JB=rrc;var uK=u(E(),1),mK=u(V(),1),Zrc=()=>{};function Hrc({notices:c,onRemove:l=Zrc,className:t,children:e}){let d=b=>()=>l(b);return t=O("components-notice-list",t),(0,mK.jsxs)("div",{className:t,children:[e,[...c].reverse().map(b=>{let{content:o,...n}=b;return(0,uK.createElement)(JB,{...n,key:b.id,onRemove:d(b.id)},b.content)})]})}var YB=Hrc;var xK=u(h(),1);var hB=u(V(),1);function Rrc({label:c,children:l}){return(0,hB.jsxs)("div",{className:"components-panel__header",children:[c&&(0,hB.jsx)("h2",{children:c}),l]})}var FB=Rrc;var vB=u(V(),1);function Irc({header:c,className:l,children:t},e){let d=O(l,"components-panel");return(0,vB.jsxs)("div",{className:d,ref:e,children:[c&&(0,vB.jsx)(FB,{label:c}),t]})}var sK=(0,xK.forwardRef)(Irc);sK.displayName="Panel";var gK=sK;var NB=u(ec(),1),j0=u(h(),1);var yn=u(V(),1),Wrc=()=>{};function prc(c,l){let{buttonProps:t={},children:e,className:d,icon:b,initialOpen:o,onToggle:n=Wrc,opened:G,title:X,scrollAfterOpen:i=!0}=c,[a,m]=Po(G,{initial:o===void 0?!0:o,fallback:!1}),x=(0,j0.useRef)(null),s=(0,NB.useReducedMotion)()?"auto":"smooth",g=Z=>{Z.preventDefault();let R=!a;m(R),n(R)},r=(0,j0.useRef)(void 0);r.current=i,OX(()=>{a&&r.current&&x.current?.scrollIntoView&&x.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:s})},[a,s]);let H=O("components-panel__body",d,{"is-opened":a});return(0,yn.jsxs)("div",{className:H,ref:(0,NB.useMergeRefs)([x,l]),children:[(0,yn.jsx)(Brc,{icon:b,isOpened:!!a,onClick:g,title:X,...t}),typeof e=="function"?e({opened:!!a}):a&&e]})}var Brc=(0,j0.forwardRef)(({isOpened:c,icon:l,title:t,...e},d)=>t?(0,yn.jsx)("h2",{className:"components-panel__body-title",children:(0,yn.jsxs)(lc,{__next40pxDefaultSize:!0,className:"components-panel__body-toggle","aria-expanded":c,ref:d,...e,children:[(0,yn.jsx)("span",{"aria-hidden":"true",children:(0,yn.jsx)(tl,{className:"components-panel__arrow",icon:c?V2:ys})}),t,l&&(0,yn.jsx)(tl,{icon:l,className:"components-panel__icon",size:20})]})}):null),rK=(0,j0.forwardRef)(prc);rK.displayName="PanelBody";var ZK=rK;var HK=u(h(),1),RK=u(V(),1);function yrc({className:c,children:l},t){return(0,RK.jsx)("div",{className:O("components-panel__row",c),ref:t,children:l})}var IK=(0,HK.forwardRef)(yrc);IK.displayName="PanelRow";var WK=IK;var pK=u(ec(),1),fB=u(kc(),1),BK=u(h(),1),yK=u(co(),1);var po=u(V(),1),Vrc=(0,po.jsx)(fB.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",children:(0,po.jsx)(fB.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"})});function Crc(c){let{icon:l,children:t,label:e,instructions:d,className:b,notices:o,preview:n,isColumnLayout:G,withIllustration:X,...i}=c,[a,{width:m}]=(0,pK.useResizeObserver)(),x;typeof m=="number"&&(x={"is-large":m>=480,"is-medium":m>=160&&m<480,"is-small":m<160});let s=O("components-placeholder",b,x,X?"has-illustration":null),g=O("components-placeholder__fieldset",{"is-column-layout":G});return(0,BK.useEffect)(()=>{d&&(0,yK.speak)(d)},[d]),(0,po.jsxs)("div",{...i,className:s,children:[X?Vrc:null,a,o,n&&(0,po.jsx)("div",{className:"components-placeholder__preview",children:n}),(0,po.jsxs)("div",{className:"components-placeholder__label",children:[(0,po.jsx)(tl,{icon:l}),e]}),!!d&&(0,po.jsx)("div",{className:"components-placeholder__instructions",children:d}),(0,po.jsx)("div",{className:g,children:t})]})}var VK=Crc;var FK=u(bc(),1),vK=u(h(),1);var CK=u(bc(),1);function Jrc(c=!1){let l=c?"right":"left";return Ye({"0%":{[l]:"-50%"},"100%":{[l]:"100%"}})}var Yrc=50,JK=f("div",{target:"e15u147w2"})("position:relative;overflow:hidden;height:",Q.borderWidthFocus,`;background-color:color-mix( | |
| 72 | - in srgb, | |
| 73 | - `,w.theme.foreground,`, | |
| 74 | - transparent 90% | |
| 75 | - );border-radius:`,Q.radiusFull,";outline:2px solid transparent;outline-offset:2px;:where( & ){width:160px;}"),hrc={name:"152sa26",styles:"width:var(--indicator-width);transition:width 0.4s ease-in-out"},YK=f("div",{target:"e15u147w1"})("display:inline-block;position:absolute;top:0;height:100%;border-radius:",Q.radiusFull,`;background-color:color-mix( | |
| 76 | - in srgb, | |
| 77 | - `,w.theme.foreground,`, | |
| 78 | - transparent 10% | |
| 79 | - );outline:2px solid transparent;outline-offset:-2px;`,({isIndeterminate:c})=>c?A({animationDuration:"1.5s",animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationName:Jrc((0,CK.isRTL)()),width:`${Yrc}%`},"",""):hrc,";"),hK=f("progress",{target:"e15u147w0"})({name:"11fb690",styles:"position:absolute;top:0;left:0;opacity:0;width:100%;height:100%"});var Pg=u(V(),1);function vrc(c,l){let{className:t,value:e,...d}=c,b=!Number.isFinite(e);return(0,Pg.jsxs)(JK,{className:t,children:[(0,Pg.jsx)(YK,{style:{"--indicator-width":b?void 0:`${e}%`},isIndeterminate:b}),(0,Pg.jsx)(hK,{max:100,value:e,"aria-label":(0,FK.__)("Loading \u2026"),ref:l,...d})]})}var NK=(0,vK.forwardRef)(vrc);NK.displayName="ProgressBar";var fK=NK;var Gd=u(bc(),1);var Nrc=c=>c.every(l=>l.parent!==null);function SB(c){let l=c.map(d=>({children:[],parent:null,...d,id:String(d.id)}));if(!Nrc(l))return l;let t=l.reduce((d,b)=>{let{parent:o}=b;return d[o]||(d[o]=[]),d[o].push(b),d},{}),e=d=>d.map(b=>{let o=t[b.id];return{...b,children:o&&o.length?e(o):[]}});return e(t[0]||[])}var zK=u(h(),1),AK=u(kK(),1);var OK=u(V(),1);function QK(c,l=0){return c.flatMap(t=>[{value:t.id,label:"\xA0".repeat(l*3)+(0,AK.decodeEntities)(t.name)},...QK(t.children||[],l+1)])}function frc(c){let{__nextHasNoMarginBottom:l,label:t,noOptionLabel:e,onChange:d,selectedId:b,tree:o=[],...n}=Ut(c),G=(0,zK.useMemo)(()=>[e&&{value:"",label:e},...QK(o)].filter(X=>!!X),[e,o]);return Uc({componentName:"TreeSelect",size:n.size,__next40pxDefaultSize:n.__next40pxDefaultSize}),(0,OK.jsx)(eg,{__shouldNotWarnDeprecated36pxSize:!0,label:t,options:G,onChange:d,value:b,...n})}var E0=frc;var wK=u(V(),1);function TK({__next40pxDefaultSize:c,label:l,noOptionLabel:t,authorList:e,selectedAuthorId:d,onChange:b}){if(!e)return null;let o=SB(e);return(0,wK.jsx)(E0,{label:l,noOptionLabel:t,onChange:b,tree:o,selectedId:d!==void 0?String(d):void 0,__next40pxDefaultSize:c})}var DK=u(h(),1);var UK=u(V(),1);function LK({__next40pxDefaultSize:c,label:l,noOptionLabel:t,categoriesList:e,selectedCategoryId:d,onChange:b,...o}){let n=(0,DK.useMemo)(()=>SB(e),[e]);return(0,UK.jsx)(E0,{label:l,noOptionLabel:t,onChange:b,tree:n,selectedId:d!==void 0?String(d):void 0,...o,__next40pxDefaultSize:c})}var Ai=u(V(),1),Src=1,krc=100,zrc=20;function Arc(c){return"categoriesList"in c}function Orc(c){return"categorySuggestions"in c}var Qrc=[{label:(0,Gd.__)("Newest to oldest"),value:"date/desc"},{label:(0,Gd.__)("Oldest to newest"),value:"date/asc"},{label:(0,Gd.__)("A \u2192 Z"),value:"title/asc"},{label:(0,Gd.__)("Z \u2192 A"),value:"title/desc"}];function wrc({authorList:c,selectedAuthorId:l,numberOfItems:t,order:e,orderBy:d,orderByOptions:b=Qrc,maxItems:o=krc,minItems:n=Src,onAuthorChange:G,onNumberOfItemsChange:X,onOrderChange:i,onOrderByChange:a,...m}){return(0,Ai.jsx)(al,{spacing:"4",className:"components-query-controls",children:[i&&a&&(0,Ai.jsx)(hd,{__next40pxDefaultSize:!0,label:(0,Gd.__)("Order by"),value:d===void 0||e===void 0?void 0:`${d}/${e}`,options:b,onChange:x=>{if(typeof x!="string")return;let[s,g]=x.split("/");g!==e&&i(g),s!==d&&a(s)}},"query-controls-order-select"),Arc(m)&&m.categoriesList&&m.onCategoryChange&&(0,Ai.jsx)(LK,{__next40pxDefaultSize:!0,categoriesList:m.categoriesList,label:(0,Gd.__)("Category"),noOptionLabel:(0,Gd._x)("All","categories"),selectedCategoryId:m.selectedCategoryId,onChange:m.onCategoryChange},"query-controls-category-select"),Orc(m)&&m.categorySuggestions&&m.onCategoryChange&&(0,Ai.jsx)(lB,{__next40pxDefaultSize:!0,label:(0,Gd.__)("Categories"),value:m.selectedCategories&&m.selectedCategories.map(x=>({id:x.id,value:x.name||x.value})),suggestions:Object.keys(m.categorySuggestions),onChange:m.onCategoryChange,maxSuggestions:zrc},"query-controls-categories-select"),G&&(0,Ai.jsx)(TK,{__next40pxDefaultSize:!0,authorList:c,label:(0,Gd.__)("Author"),noOptionLabel:(0,Gd._x)("All","authors"),selectedAuthorId:l,onChange:G},"query-controls-author-select"),X&&(0,Ai.jsx)(Fd,{__next40pxDefaultSize:!0,label:(0,Gd.__)("Number of items"),value:t,onChange:X,min:n,max:o,required:!0},"query-controls-range-control")]})}var jK=wrc;var kB=u(h(),1);var EK=u(h(),1),Kg=(0,EK.createContext)({store:void 0,disabled:void 0});Kg.displayName="RadioGroupContext";var ch=u(V(),1);function Trc({value:c,children:l,...t},e){let{store:d,disabled:b}=(0,kB.useContext)(Kg),o=xc(d,"value"),n=o!==void 0&&o===c;return Uc({componentName:"Radio",size:void 0,__next40pxDefaultSize:t.__next40pxDefaultSize}),(0,ch.jsx)(BX,{disabled:b,store:d,ref:e,value:c,render:(0,ch.jsx)(lc,{variant:n?"primary":"secondary",...t}),children:l||c})}var MK=(0,kB.forwardRef)(Trc);MK.displayName="Radio";var PK=MK;var KK=u(Xl(),1),AB=u(h(),1),_K=u(bc(),1);var zB=u(V(),1);function Drc({label:c,checked:l,defaultChecked:t,disabled:e,onChange:d,children:b,...o},n){let G=yX({value:l,defaultValue:t,setValue:i=>{d?.(i??void 0)},rtl:(0,_K.isRTL)()}),X=(0,AB.useMemo)(()=>({store:G,disabled:e}),[G,e]);return(0,KK.default)("wp.components.__experimentalRadioGroup",{alternative:"wp.components.RadioControl or wp.components.__experimentalToggleGroupControl",since:"6.8"}),(0,zB.jsx)(Kg.Provider,{value:X,children:(0,zB.jsx)(pa,{store:G,render:(0,zB.jsx)(jW,{__shouldNotWarnDeprecated:!0,children:b}),"aria-label":c,ref:n,...o})})}var qK=(0,AB.forwardRef)(Drc);qK.displayName="RadioGroup";var $K=qK;var t_=u(ec(),1);var Rb=u(V(),1);function c_(c,l){return`${c}-${l}-option-description`}function lh(c,l){return`${c}-${l}`}function l_(c){return`${c}__help`}function e_(c){let{label:l,className:t,selected:e,help:d,onChange:b,onClick:o,hideLabelFromVision:n,disabled:G,options:X=[],id:i,...a}=c,m=(0,t_.useInstanceId)(e_,"inspector-radio-control",i),x=s=>b(s.target.value);return X?.length?(0,Rb.jsxs)("fieldset",{id:m,role:"radiogroup",className:O(t,"components-radio-control"),disabled:G,"aria-describedby":d?l_(m):void 0,children:[n?(0,Rb.jsx)(Qc,{as:"legend",children:l}):(0,Rb.jsx)(Lc.VisualLabel,{as:"legend",children:l}),(0,Rb.jsx)(al,{spacing:3,className:O("components-radio-control__group-wrapper",{"has-help":!!d}),children:X.map((s,g)=>(0,Rb.jsxs)("div",{className:"components-radio-control__option",children:[(0,Rb.jsx)("input",{id:lh(m,g),className:"components-radio-control__input",type:"radio",name:m,value:s.value,onChange:x,checked:s.value===e,"aria-describedby":s.description?c_(m,g):void 0,onClick:r=>{r.currentTarget.focus(),o?.(r)},...a}),(0,Rb.jsx)("label",{className:"components-radio-control__label",htmlFor:lh(m,g),children:s.label}),s.description?(0,Rb.jsx)(db,{id:c_(m,g),className:"components-radio-control__option-description",children:s.description}):null]},lh(m,g)))}),!!d&&(0,Rb.jsx)(db,{id:l_(m),className:"components-base-control__help",children:d})]}):null}var OB=e_;var p_=u(h(),1);var Oi=u(E());var wB=u(E()),Urc=(function(){var c=function(l,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,d){e.__proto__=d}||function(e,d){for(var b in d)d.hasOwnProperty(b)&&(e[b]=d[b])},c(l,t)};return function(l,t){c(l,t);function e(){this.constructor=l}l.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),QB=function(){return QB=Object.assign||function(c){for(var l,t=1,e=arguments.length;t<e;t++){l=arguments[t];for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(c[d]=l[d])}return c},QB.apply(this,arguments)},Lrc={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},d_=(function(c){Urc(l,c);function l(){var t=c!==null&&c.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return l.prototype.render=function(){return wB.createElement("div",{className:this.props.className||"",style:QB(QB({position:"absolute",userSelect:"none"},Lrc[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},l})(wB.PureComponent);var wG=u(n_()),$rc=(function(){var c=function(l,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,d){e.__proto__=d}||function(e,d){for(var b in d)d.hasOwnProperty(b)&&(e[b]=d[b])},c(l,t)};return function(l,t){c(l,t);function e(){this.constructor=l}l.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),Bo=function(){return Bo=Object.assign||function(c){for(var l,t=1,e=arguments.length;t<e;t++){l=arguments[t];for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(c[d]=l[d])}return c},Bo.apply(this,arguments)},cZc={width:"auto",height:"auto"},DB=(0,wG.default)(function(c,l,t){return Math.max(Math.min(c,t),l)}),G_=(0,wG.default)(function(c,l){return Math.round(c/l)*l}),M0=(0,wG.default)(function(c,l){return new RegExp(c,"i").test(l)}),UB=function(c){return!!(c.touches&&c.touches.length)},lZc=function(c){return!!((c.clientX||c.clientX===0)&&(c.clientY||c.clientY===0))},X_=(0,wG.default)(function(c,l,t){t===void 0&&(t=0);var e=l.reduce(function(b,o,n){return Math.abs(o-c)<Math.abs(l[b]-c)?n:b},0),d=Math.abs(l[e]-c);return t===0||d<t?l[e]:c}),It=(0,wG.default)(function(c,l){return c.substr(c.length-l.length,l.length)===l}),dh=(0,wG.default)(function(c){return c=c.toString(),c==="auto"||It(c,"px")||It(c,"%")||It(c,"vh")||It(c,"vw")||It(c,"vmax")||It(c,"vmin")?c:c+"px"}),LB=function(c,l,t,e){if(c&&typeof c=="string"){if(It(c,"px"))return Number(c.replace("px",""));if(It(c,"%")){var d=Number(c.replace("%",""))/100;return l*d}if(It(c,"vw")){var d=Number(c.replace("vw",""))/100;return t*d}if(It(c,"vh")){var d=Number(c.replace("vh",""))/100;return e*d}}return c},tZc=(0,wG.default)(function(c,l,t,e,d,b,o){return e=LB(e,c.width,l,t),d=LB(d,c.height,l,t),b=LB(b,c.width,l,t),o=LB(o,c.height,l,t),{maxWidth:typeof e>"u"?void 0:Number(e),maxHeight:typeof d>"u"?void 0:Number(d),minWidth:typeof b>"u"?void 0:Number(b),minHeight:typeof o>"u"?void 0:Number(o)}}),eZc=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],i_="__resizable_base__",a_=(function(c){$rc(l,c);function l(t){var e=c.call(this,t)||this;return e.ratio=1,e.resizable=null,e.parentLeft=0,e.parentTop=0,e.resizableLeft=0,e.resizableRight=0,e.resizableTop=0,e.resizableBottom=0,e.targetLeft=0,e.targetTop=0,e.appendBase=function(){if(!e.resizable||!e.window)return null;var d=e.parentNode;if(!d)return null;var b=e.window.document.createElement("div");return b.style.width="100%",b.style.height="100%",b.style.position="absolute",b.style.transform="scale(0, 0)",b.style.left="0",b.style.flex="0",b.classList?b.classList.add(i_):b.className+=i_,d.appendChild(b),b},e.removeBase=function(d){var b=e.parentNode;b&&b.removeChild(d)},e.ref=function(d){d&&(e.resizable=d)},e.state={isResizing:!1,width:typeof(e.propsSize&&e.propsSize.width)>"u"?"auto":e.propsSize&&e.propsSize.width,height:typeof(e.propsSize&&e.propsSize.height)>"u"?"auto":e.propsSize&&e.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},e.onResizeStart=e.onResizeStart.bind(e),e.onMouseMove=e.onMouseMove.bind(e),e.onMouseUp=e.onMouseUp.bind(e),e}return Object.defineProperty(l.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||cZc},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"size",{get:function(){var t=0,e=0;if(this.resizable&&this.window){var d=this.resizable.offsetWidth,b=this.resizable.offsetHeight,o=this.resizable.style.position;o!=="relative"&&(this.resizable.style.position="relative"),t=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:d,e=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:b,this.resizable.style.position=o}return{width:t,height:e}},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"sizeStyle",{get:function(){var t=this,e=this.props.size,d=function(n){if(typeof t.state[n]>"u"||t.state[n]==="auto")return"auto";if(t.propsSize&&t.propsSize[n]&&It(t.propsSize[n].toString(),"%")){if(It(t.state[n].toString(),"%"))return t.state[n].toString();var G=t.getParentSize(),X=Number(t.state[n].toString().replace("px","")),i=X/G[n]*100;return i+"%"}return dh(t.state[n])},b=e&&typeof e.width<"u"&&!this.state.isResizing?dh(e.width):d("width"),o=e&&typeof e.height<"u"&&!this.state.isResizing?dh(e.height):d("height");return{width:b,height:o}},enumerable:!1,configurable:!0}),l.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var t=this.appendBase();if(!t)return{width:0,height:0};var e=!1,d=this.parentNode.style.flexWrap;d!=="wrap"&&(e=!0,this.parentNode.style.flexWrap="wrap"),t.style.position="relative",t.style.minWidth="100%";var b={width:t.offsetWidth,height:t.offsetHeight};return e&&(this.parentNode.style.flexWrap=d),this.removeBase(t),b},l.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},l.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},l.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var t=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:t.flexBasis!=="auto"?t.flexBasis:void 0})}},l.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},l.prototype.createSizeForCssProperty=function(t,e){var d=this.propsSize&&this.propsSize[e];return this.state[e]==="auto"&&this.state.original[e]===t&&(typeof d>"u"||d==="auto")?"auto":t},l.prototype.calculateNewMaxFromBoundary=function(t,e){var d=this.props.boundsByDirection,b=this.state.direction,o=d&&M0("left",b),n=d&&M0("top",b),G,X;if(this.props.bounds==="parent"){var i=this.parentNode;i&&(G=o?this.resizableRight-this.parentLeft:i.offsetWidth+(this.parentLeft-this.resizableLeft),X=n?this.resizableBottom-this.parentTop:i.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(G=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,X=n?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(G=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),X=n?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return G&&Number.isFinite(G)&&(t=t&&t<G?t:G),X&&Number.isFinite(X)&&(e=e&&e<X?e:X),{maxWidth:t,maxHeight:e}},l.prototype.calculateNewSizeFromDirection=function(t,e){var d=this.props.scale||1,b=this.props.resizeRatio||1,o=this.state,n=o.direction,G=o.original,X=this.props,i=X.lockAspectRatio,a=X.lockAspectRatioExtraHeight,m=X.lockAspectRatioExtraWidth,x=G.width,s=G.height,g=a||0,r=m||0;return M0("right",n)&&(x=G.width+(t-G.x)*b/d,i&&(s=(x-r)/this.ratio+g)),M0("left",n)&&(x=G.width-(t-G.x)*b/d,i&&(s=(x-r)/this.ratio+g)),M0("bottom",n)&&(s=G.height+(e-G.y)*b/d,i&&(x=(s-g)*this.ratio+r)),M0("top",n)&&(s=G.height-(e-G.y)*b/d,i&&(x=(s-g)*this.ratio+r)),{newWidth:x,newHeight:s}},l.prototype.calculateNewSizeFromAspectRatio=function(t,e,d,b){var o=this.props,n=o.lockAspectRatio,G=o.lockAspectRatioExtraHeight,X=o.lockAspectRatioExtraWidth,i=typeof b.width>"u"?10:b.width,a=typeof d.width>"u"||d.width<0?t:d.width,m=typeof b.height>"u"?10:b.height,x=typeof d.height>"u"||d.height<0?e:d.height,s=G||0,g=X||0;if(n){var r=(m-s)*this.ratio+g,H=(x-s)*this.ratio+g,Z=(i-g)/this.ratio+s,R=(a-g)/this.ratio+s,W=Math.max(i,r),I=Math.min(a,H),B=Math.max(m,Z),p=Math.min(x,R);t=DB(t,W,I),e=DB(e,B,p)}else t=DB(t,i,a),e=DB(e,m,x);return{newWidth:t,newHeight:e}},l.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var t=this.parentNode;if(t){var e=t.getBoundingClientRect();this.parentLeft=e.left,this.parentTop=e.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var d=this.props.bounds.getBoundingClientRect();this.targetLeft=d.left,this.targetTop=d.top}if(this.resizable){var b=this.resizable.getBoundingClientRect(),o=b.left,n=b.top,G=b.right,X=b.bottom;this.resizableLeft=o,this.resizableRight=G,this.resizableTop=n,this.resizableBottom=X}},l.prototype.onResizeStart=function(t,e){if(!(!this.resizable||!this.window)){var d=0,b=0;if(t.nativeEvent&&lZc(t.nativeEvent)){if(d=t.nativeEvent.clientX,b=t.nativeEvent.clientY,t.nativeEvent.which===3)return}else t.nativeEvent&&UB(t.nativeEvent)&&(d=t.nativeEvent.touches[0].clientX,b=t.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable){var o=this.props.onResizeStart(t,e,this.resizable);if(o===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var n,G=this.window.getComputedStyle(this.resizable);if(G.flexBasis!=="auto"){var X=this.parentNode;if(X){var i=this.window.getComputedStyle(X).flexDirection;this.flexDir=i.startsWith("row")?"row":"column",n=G.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var a={original:{x:d,y:b,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Bo(Bo({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),direction:e,flexBasis:n};this.setState(a)}},l.prototype.onMouseMove=function(t){if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&UB(t))try{t.preventDefault(),t.stopPropagation()}catch{}var e=this.props,d=e.maxWidth,b=e.maxHeight,o=e.minWidth,n=e.minHeight,G=UB(t)?t.touches[0].clientX:t.clientX,X=UB(t)?t.touches[0].clientY:t.clientY,i=this.state,a=i.direction,m=i.original,x=i.width,s=i.height,g=this.getParentSize(),r=tZc(g,this.window.innerWidth,this.window.innerHeight,d,b,o,n);d=r.maxWidth,b=r.maxHeight,o=r.minWidth,n=r.minHeight;var H=this.calculateNewSizeFromDirection(G,X),Z=H.newHeight,R=H.newWidth,W=this.calculateNewMaxFromBoundary(d,b),I=this.calculateNewSizeFromAspectRatio(R,Z,{width:W.maxWidth,height:W.maxHeight},{width:o,height:n});if(R=I.newWidth,Z=I.newHeight,this.props.grid){var B=G_(R,this.props.grid[0]),p=G_(Z,this.props.grid[1]),y=this.props.snapGap||0;R=y===0||Math.abs(B-R)<=y?B:R,Z=y===0||Math.abs(p-Z)<=y?p:Z}this.props.snap&&this.props.snap.x&&(R=X_(R,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(Z=X_(Z,this.props.snap.y,this.props.snapGap));var Y={width:R-m.width,height:Z-m.height};if(x&&typeof x=="string"){if(It(x,"%")){var C=R/g.width*100;R=C+"%"}else if(It(x,"vw")){var J=R/this.window.innerWidth*100;R=J+"vw"}else if(It(x,"vh")){var N=R/this.window.innerHeight*100;R=N+"vh"}}if(s&&typeof s=="string"){if(It(s,"%")){var C=Z/g.height*100;Z=C+"%"}else if(It(s,"vw")){var J=Z/this.window.innerWidth*100;Z=J+"vw"}else if(It(s,"vh")){var N=Z/this.window.innerHeight*100;Z=N+"vh"}}var S={width:this.createSizeForCssProperty(R,"width"),height:this.createSizeForCssProperty(Z,"height")};this.flexDir==="row"?S.flexBasis=S.width:this.flexDir==="column"&&(S.flexBasis=S.height),this.setState(S),this.props.onResize&&this.props.onResize(t,a,this.resizable,Y)}},l.prototype.onMouseUp=function(t){var e=this.state,d=e.isResizing,b=e.direction,o=e.original;if(!(!d||!this.resizable)){var n={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(t,b,this.resizable,n),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Bo(Bo({},this.state.backgroundStyle),{cursor:"auto"})})}},l.prototype.updateSize=function(t){this.setState({width:t.width,height:t.height})},l.prototype.renderResizer=function(){var t=this,e=this.props,d=e.enable,b=e.handleStyles,o=e.handleClasses,n=e.handleWrapperStyle,G=e.handleWrapperClass,X=e.handleComponent;if(!d)return null;var i=Object.keys(d).map(function(a){return d[a]!==!1?Oi.createElement(d_,{key:a,direction:a,onResizeStart:t.onResizeStart,replaceStyles:b&&b[a],className:o&&o[a]},X&&X[a]?X[a]:null):null});return Oi.createElement("div",{className:G,style:n},i)},l.prototype.render=function(){var t=this,e=Object.keys(this.props).reduce(function(o,n){return eZc.indexOf(n)!==-1||(o[n]=t.props[n]),o},{}),d=Bo(Bo(Bo({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(d.flexBasis=this.state.flexBasis);var b=this.props.as||"div";return Oi.createElement(b,Bo({ref:this.ref,style:d,className:this.props.className},e),this.state.isResizing&&Oi.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},l.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},l})(Oi.PureComponent);var R_=u(h(),1);var Z_=u(h(),1),bh=u(bc(),1);var Ib=u(h(),1),u_=u(ec(),1),dZc=()=>{},Vn={bottom:"bottom",corner:"corner"};function m_({axis:c,fadeTimeout:l=180,onResize:t=dZc,position:e=Vn.bottom,showPx:d=!1}){let[b,o]=(0,u_.useResizeObserver)(),n=!!c,[G,X]=(0,Ib.useState)(!1),[i,a]=(0,Ib.useState)(!1),{width:m,height:x}=o,s=(0,Ib.useRef)(x),g=(0,Ib.useRef)(m),r=(0,Ib.useRef)(void 0),H=(0,Ib.useCallback)(()=>{let R=()=>{n||(X(!1),a(!1))};r.current&&window.clearTimeout(r.current),r.current=window.setTimeout(R,l)},[l,n]);return(0,Ib.useEffect)(()=>{if(!(m!==null||x!==null))return;let W=m!==g.current,I=x!==s.current;if(!(!W&&!I)){if(m&&!g.current&&x&&!s.current){g.current=m,s.current=x;return}W&&(X(!0),g.current=m),I&&(a(!0),s.current=x),t({width:m,height:x}),H()}},[m,x,t,H]),{label:bZc({axis:c,height:x,moveX:G,moveY:i,position:e,showPx:d,width:m}),resizeListener:b}}function bZc({axis:c,height:l,moveX:t=!1,moveY:e=!1,position:d=Vn.bottom,showPx:b=!1,width:o}){if(!t&&!e)return;if(d===Vn.corner)return`${o} x ${l}`;let n=b?" px":"";if(c){if(c==="x"&&t)return`${o}${n}`;if(c==="y"&&e)return`${l}${n}`}if(t&&e)return`${o} x ${l}`;if(t)return`${o}${n}`;if(e)return`${l}${n}`}var x_=f("div",{target:"e1wq7y4k3"})({name:"1cd7zoc",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"}),s_=f("div",{target:"e1wq7y4k2"})({name:"ajymcs",styles:"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"}),g_=f("div",{target:"e1wq7y4k1"})("background:",w.theme.foreground,";border-radius:",Q.radiusSmall,";box-sizing:border-box;font-family:",vl("default.fontFamily"),";font-size:12px;color:",w.theme.foregroundInverted,";padding:4px 8px;position:relative;"),r_=f(Ct,{target:"e1wq7y4k0"})("&&&{color:",w.theme.foregroundInverted,";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}");var jB=u(V(),1),EB=4,oZc=EB*2.5;function nZc({label:c,position:l=Vn.corner,zIndex:t=1e3,...e},d){let b=!!c,o=l===Vn.bottom,n=l===Vn.corner;if(!b)return null;let G={opacity:b?1:void 0,zIndex:t},X={};return o&&(G={...G,position:"absolute",bottom:oZc*-1,left:"50%",transform:"translate(-50%, 0)"},X={transform:"translate(0, 100%)"}),n&&(G={...G,position:"absolute",top:EB,right:(0,bh.isRTL)()?void 0:EB,left:(0,bh.isRTL)()?EB:void 0}),(0,jB.jsx)(s_,{"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",ref:d,style:G,...e,children:(0,jB.jsx)(g_,{className:"components-resizable-tooltip__tooltip",style:X,children:(0,jB.jsx)(r_,{as:"span",children:c})})})}var GZc=(0,Z_.forwardRef)(nZc),H_=GZc;var MB=u(V(),1),XZc=()=>{};function iZc({axis:c,className:l,fadeTimeout:t=180,isVisible:e=!0,labelRef:d,onResize:b=XZc,position:o=Vn.bottom,showPx:n=!0,zIndex:G=1e3,...X},i){let{label:a,resizeListener:m}=m_({axis:c,fadeTimeout:t,onResize:b,showPx:n,position:o});if(!e)return null;let x=O("components-resize-tooltip",l);return(0,MB.jsxs)(x_,{"aria-hidden":"true",className:x,ref:i,...X,children:[m,(0,MB.jsx)(H_,{"aria-hidden":X["aria-hidden"],label:a,position:o,ref:d,zIndex:G})]})}var aZc=(0,R_.forwardRef)(iZc),I_=aZc;var _g=u(V(),1),TG="components-resizable-box__handle",PB="components-resizable-box__side-handle",KB="components-resizable-box__corner-handle",W_={top:O(TG,PB,"components-resizable-box__handle-top"),right:O(TG,PB,"components-resizable-box__handle-right"),bottom:O(TG,PB,"components-resizable-box__handle-bottom"),left:O(TG,PB,"components-resizable-box__handle-left"),topLeft:O(TG,KB,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:O(TG,KB,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:O(TG,KB,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:O(TG,KB,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},DG={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},uZc={top:DG,right:DG,bottom:DG,left:DG,topLeft:DG,topRight:DG,bottomRight:DG,bottomLeft:DG};function mZc({className:c,children:l,showHandle:t=!0,__experimentalShowTooltip:e=!1,__experimentalTooltipProps:d={},...b},o){return(0,_g.jsxs)(a_,{className:O("components-resizable-box__container",t&&"has-show-handle",c),handleComponent:Object.fromEntries(Object.keys(W_).map(n=>[n,(0,_g.jsx)("div",{tabIndex:-1},n)])),handleClasses:W_,handleStyles:uZc,ref:o,...b,children:[l,e&&(0,_g.jsx)(I_,{...d})]})}var B_=(0,p_.forwardRef)(mZc);B_.displayName="ResizableBox";var y_=B_;var _B=u(h(),1),oh=u(V(),1);function xZc({naturalWidth:c,naturalHeight:l,children:t,isInline:e=!1}){if(_B.Children.count(t)!==1)return null;let d=e?"span":"div",b;return c&&l&&(b=`${c} / ${l}`),(0,oh.jsx)(d,{className:"components-responsive-wrapper",children:(0,oh.jsx)("div",{children:(0,_B.cloneElement)(t,{className:O("components-responsive-wrapper__content",t.props.className),style:{...t.props.style,aspectRatio:b}})})})}var V_=xZc;var Wt=u(h(),1),P0=u(ec(),1),Yl=u(V(),1),C_=function(){let{MutationObserver:c}=window;if(!c||!document.body||!window.parent)return;function l(){let d=document.body.getBoundingClientRect();window.parent.postMessage({action:"resize",width:d.width,height:d.height},"*")}new c(l).observe(document.body,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),window.addEventListener("load",l,!0);function e(d){d.style&&["width","height","minHeight","maxHeight"].forEach(function(b){/^\\d+(vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/.test(d.style[b])&&(d.style[b]="")})}Array.prototype.forEach.call(document.querySelectorAll("[style]"),e),Array.prototype.forEach.call(document.styleSheets,function(d){Array.prototype.forEach.call(d.cssRules||d.rules,e)}),document.body.style.position="absolute",document.body.style.width="100%",document.body.setAttribute("data-resizable-iframe-connected",""),l(),window.addEventListener("resize",l,!0)},J_=` | |
| 117 | + `,";");var Ile=u(F(),1);function Zle({left:e="50%",top:t="50%",...c}){return(0,Ile.jsx)(Hle,{...c,className:"components-focal-point-picker__icon_container",style:{left:e,top:t}})}var cu=u(F(),1);function fle({bounds:e,...t}){return(0,cu.jsxs)(gle,{...t,className:"components-focal-point-picker__grid",style:{width:e.width,height:e.height},children:[(0,cu.jsx)(oS,{style:{top:"33%"}}),(0,cu.jsx)(oS,{style:{top:"66%"}}),(0,cu.jsx)(dS,{style:{left:"33%"}}),(0,cu.jsx)(dS,{style:{left:"66%"}})]})}var $h=u(F(),1);function yle({alt:e,autoPlay:t,src:c,onLoad:n,mediaRef:l,muted:o=!0,...d}){return c?ale(c)?(0,$h.jsx)("video",{...d,autoPlay:t,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:o,onLoadedData:n,ref:l,src:c}):(0,$h.jsx)("img",{...d,alt:e,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:n,ref:l,src:c}):(0,$h.jsx)(mle,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",ref:l,...d})}var Vo=u(F(),1),y9e=600;function W9e({__nextHasNoMarginBottom:e,__next40pxDefaultSize:t,autoPlay:c=!0,className:n,help:l,hideLabelFromVision:o,label:d,onChange:i,onDrag:r,onDragEnd:a,onDragStart:s,resolvePoint:b,url:m,value:X={x:.5,y:.5},...G}){let[g,x]=(0,Br.useState)(X),[H,p]=(0,Br.useState)(!1),{startDrag:R,endDrag:I,isDragging:f}=(0,e1.__experimentalUseDragging)({onDragStart:k=>{W.current?.focus();let N=B(k);N&&(s?.(N,k),x(N))},onDragMove:k=>{k.preventDefault();let N=B(k);N&&(r?.(N,k),x(N))},onDragEnd:()=>{a?.(),i?.(g)}}),{x:y,y:Z}=f?g:X,W=(0,Br.useRef)(null),[v,h]=(0,Br.useState)(WX),C=(0,Br.useRef)(()=>{if(!W.current)return;let{clientWidth:k,clientHeight:N}=W.current;h(k>0&&N>0?{width:k,height:N}:{...WX})});(0,Br.useEffect)(()=>{let k=C.current;if(!W.current)return;let{defaultView:N}=W.current.ownerDocument;return N?.addEventListener("resize",k),()=>N?.removeEventListener("resize",k)},[]),(0,e1.useIsomorphicLayoutEffect)(()=>{C.current()},[]);let B=({clientX:k,clientY:N,shiftKey:A})=>{if(!W.current)return;let{top:Q,left:z}=W.current.getBoundingClientRect(),D=(k-z)/v.width,U=(N-Q)/v.height;return A&&(D=Math.round(D/.1)*.1,U=Math.round(U/.1)*.1),V({x:D,y:U})},V=k=>{let N=b?.(k)??k;N.x=Math.max(0,Math.min(N.x,1)),N.y=Math.max(0,Math.min(N.y,1));let A=Q=>Math.round(Q*100)/100;return{x:A(N.x),y:A(N.y)}},S=k=>{let{code:N,shiftKey:A}=k;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(N))return;k.preventDefault();let Q={x:y,y:Z},z=A?.1:.01,D=N==="ArrowUp"||N==="ArrowLeft"?-1*z:z,U=N==="ArrowUp"||N==="ArrowDown"?"y":"x";Q[U]=Q[U]+D,i?.(V(Q))},Y={left:y!==void 0?y*v.width:.5*v.width,top:Z!==void 0?Z*v.height:.5*v.height},J=w("components-focal-point-picker-control",n);return tb(()=>{p(!0);let k=window.setTimeout(()=>{p(!1)},y9e);return()=>window.clearTimeout(k)},[y,Z]),(0,Vo.jsxs)(sle,{...G,as:"fieldset",className:J,children:[!!d&&(o?(0,Vo.jsx)(bt,{as:"legend",children:d}):(0,Vo.jsx)(xa,{as:"legend",children:d})),(0,Vo.jsx)(ble,{className:"components-focal-point-picker-wrapper",children:(0,Vo.jsxs)(ule,{className:"components-focal-point-picker",onKeyDown:S,onMouseDown:R,onBlur:()=>{f&&I()},ref:W,role:"button",tabIndex:-1,children:[(0,Vo.jsx)(fle,{bounds:v,showOverlay:H}),(0,Vo.jsx)(yle,{alt:(0,Wle.__)("Media preview"),autoPlay:c,onLoad:C.current,src:m}),(0,Vo.jsx)(Zle,{...Y,isDragging:f})]})}),(0,Vo.jsx)(Rle,{hasHelpText:!!l,point:{x:y,y:Z},onChange:k=>{i?.(V(k))}}),!!l&&(0,Vo.jsx)($i,{children:l})]})}var hle=W9e;var t1=u(me(),1),Ble=u(Xt(),1),vle=u(F(),1);function Vle({iframeRef:e,...t}){let c=(0,t1.useMergeRefs)([e,(0,t1.useFocusableIframe)()]);return(0,Ble.default)("wp.components.FocusableIframe",{since:"5.9",alternative:"wp.compose.useFocusableIframe"}),(0,vle.jsx)("iframe",{ref:c,...t})}var nu=u(Ze(),1);var c1=u(T(),1),Ule=u(me(),1);var Cle=q("fieldset",{target:"e8tqeku4"})({name:"k2q51s",styles:"border:0;margin:0;padding:0;display:contents"}),Fle=q(xt,{target:"e8tqeku3"})("height:",K(4),";"),Jle=q(be,{target:"e8tqeku2"})("margin-top:",K(-1),";"),Yle=q(at.VisualLabel,{target:"e8tqeku1"})("display:flex;gap:",K(1),";justify-content:flex-start;margin-bottom:0;"),Nle=q(Eh,{target:"e8tqeku0"})({name:"anvx77",styles:".components-custom-select-control__item .components-custom-select-control__item-hint{width:100%;}"});var BX=u(Ze(),1),wle=u(T(),1);function h9e(e){return/^[\d\.]+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i.test(String(e))}function Sle(e){if(e.hint)return e.hint;if(h9e(e.size))return String(e.size)}var kle=u(F(),1),iS={key:"default",name:(0,BX.__)("Default"),value:void 0},B9e=e=>{let{fontSizes:t,value:c,valueMode:n="literal",onChange:l}=e,o=[iS,...t.map(i=>{let r=Sle(i);return{key:i.slug,name:i.name||i.slug,value:i.size,hint:r}})],d=(0,wle.useMemo)(()=>{if(c===void 0)return iS;if(n==="slug"){let i=o.find(r=>r.key===c);if(i)return i}return o.find(i=>i.value===c)??iS},[c,n,o]);return(0,kle.jsx)(Nle,{className:"components-font-size-picker__select",label:(0,BX.__)("Font size"),hideLabelFromVision:!0,describedBy:(0,BX.sprintf)((0,BX.__)("Currently selected font size: %s"),d.name),options:o,value:d,showSelectedHint:!0,onChange:({selectedItem:i})=>{let r=i.key==="default"?void 0:t.find(a=>a.slug===i.key);l(i.value,r)}})},zle=B9e;var Ole=u(Ze(),1);var md=u(Ze(),1),Tle=[(0,md.__)("S"),(0,md.__)("M"),(0,md.__)("L"),(0,md.__)("XL"),(0,md.__)("XXL")],Ale=[(0,md.__)("Small"),(0,md.__)("Medium"),(0,md.__)("Large"),(0,md.__)("Extra Large"),(0,md.__)("Extra Extra Large")];var rS=u(F(),1),v9e=e=>{let{fontSizes:t,value:c,valueMode:n="literal",onChange:l}=e,o=c?n==="slug"?String(c):t.filter(r=>r.size===c).length>1?void 0:t.find(r=>r.size===c)?.slug:void 0;return(0,rS.jsx)(Kd,{label:(0,Ole.__)("Font size"),hideLabelFromVision:!0,value:o,onChange:d=>{if(d===void 0)l(void 0);else{let i=t.find(r=>r.slug===String(d));i&&l(i.size,i)}},isBlock:!0,children:t.map((d,i)=>(0,rS.jsx)(cr,{value:d.slug,label:Tle[i],"aria-label":d.name||Ale[i],showTooltip:!0},d.slug))})},Qle=v9e;var nn=u(F(),1),V9e=["px","em","rem","vw","vh"],C9e=5,Ele=(e,t)=>{let{fallbackFontSize:c,fontSizes:n=[],disableCustomFontSizes:l=!1,onChange:o,units:d=V9e,value:i,valueMode:r="literal",withSlider:a=!1,withReset:s=!0}=e,b=(0,Ule.useInstanceId)(Ele,"font-size-picker-label"),m=Vx({availableUnits:d}),X=(()=>{if(i)return r==="slug"?n.find(W=>W.slug===i):n.find(W=>W.size===i)})(),G=!!i&&!X,[g,x]=(0,c1.useState)(G),H=r==="slug"?X?.size:i,p;if(!l&&g?p="custom":p=n.length>C9e?"select":"togglegroup",n.length===0&&l)return null;let R=typeof H=="string"||typeof n[0]?.size=="string",[I,f]=Yc(H,m),y=!!f&&["em","rem","vw","vh"].includes(f),Z=i===void 0;return(0,nn.jsxs)(Cle,{ref:t,className:"components-font-size-picker","aria-labelledby":b,children:[(0,nn.jsx)(Pc,{children:(0,nn.jsxs)(Fle,{className:"components-font-size-picker__header",children:[(0,nn.jsx)(Yle,{id:b,children:(0,nu.__)("Font size")}),!l&&(0,nn.jsx)(Jle,{label:p==="custom"?(0,nu.__)("Use size preset"):(0,nu.__)("Set custom size"),icon:tx,onClick:()=>x(!g),isPressed:p==="custom",size:"small"})]})}),(0,nn.jsxs)("div",{children:[p==="select"&&(0,nn.jsx)(zle,{fontSizes:n,value:i,valueMode:r,disableCustomFontSizes:l,onChange:(W,v)=>{o?.(W===void 0?void 0:R?W:Number(W),v)},onSelectCustom:()=>x(!0)}),p==="togglegroup"&&(0,nn.jsx)(Qle,{fontSizes:n,value:i,valueMode:r,onChange:(W,v)=>{o?.(W===void 0?void 0:R?W:Number(W),v)}}),p==="custom"&&(0,nn.jsxs)(Mt,{className:"components-font-size-picker__custom-size-control",children:[(0,nn.jsx)(Cn,{isBlock:!0,children:(0,nn.jsx)(oi,{label:(0,nu.__)("Font size"),labelPosition:"top",hideLabelFromVision:!0,value:R?`${I??""}${f??""}`:H,onChange:W=>{x(!0),o?.(W===void 0||W===""?void 0:R?W:parseInt(W,10))},units:R?m:[],min:0})}),a&&(0,nn.jsx)(Cn,{isBlock:!0,children:(0,nn.jsx)(Pc,{marginX:2,marginBottom:0,children:(0,nn.jsx)(Al,{className:"components-font-size-picker__custom-input",label:(0,nu.__)("Font size"),hideLabelFromVision:!0,value:I,initialPosition:c,withInputField:!1,onChange:W=>{x(!0),o?.(W===void 0?void 0:R?W+(f??"px"):W)},min:0,max:y?10:100,step:y?.1:1})})}),s&&(0,nn.jsx)(Cn,{children:(0,nn.jsx)(p0,{disabled:Z,accessibleWhenDisabled:!0,onClick:()=>{o?.(void 0)},variant:"secondary",__next40pxDefaultSize:!0,size:"default",children:(0,nu.__)("Reset")})})]})]})]})},Lle=(0,c1.forwardRef)(Ele);Lle.displayName="FontSizePicker";var Dle=Lle;var _le=u(T(),1);var Qp=u(F(),1);function F9e({accept:e,children:t,multiple:c=!1,onChange:n,onClick:l,render:o,__next40pxDefaultSize:d,...i}){let r=(0,_le.useRef)(null),a=()=>{r.current?.click()},s=o?o({openFileDialog:a}):(0,Qp.jsx)(be,{onClick:a,__next40pxDefaultSize:!0,...i,children:t}),b=e?.includes("audio/*")?`${e}, audio/mp3, audio/x-m4a, audio/x-m4b, audio/x-m4p, audio/x-wav, audio/webm`:e;return(0,Qp.jsxs)("div",{className:"components-form-file-upload",children:[s,(0,Qp.jsx)("input",{type:"file",ref:r,multiple:c,style:{display:"none"},accept:b,onChange:n,onClick:l,"data-testid":"form-file-upload-input"})]})}var jle=F9e;var Mle=u(T(),1),vX=u(F(),1),J9e=()=>{};function Y9e(e,t){let{className:c,checked:n,id:l,disabled:o,onChange:d=J9e,onClick:i,...r}=e,a=w("components-form-toggle",c,{"is-checked":n,"is-disabled":o});return(0,vX.jsxs)("span",{className:a,children:[(0,vX.jsx)("input",{className:"components-form-toggle__input",id:l,type:"checkbox",checked:n,onChange:d,disabled:o,onClick:s=>{s.currentTarget.focus(),i?.(s)},...r,ref:t}),(0,vX.jsx)("span",{className:"components-form-toggle__track"}),(0,vX.jsx)("span",{className:"components-form-toggle__thumb"})]})}var Ple=(0,Mle.forwardRef)(Y9e);Ple.displayName="FormToggle";var n1=Ple;var dl=u(T(),1),Pl=u(Ze(),1),ou=u(me(),1),Up=u(Md(),1),qle=u(Jy(),1),$le=u(Xt(),1),eoe=u(Xa(),1);var Kle=u(me(),1),l1=u(Ze(),1);var lu=u(F(),1),N9e=()=>{};function aS({value:e,status:t,title:c,displayTransform:n,isBorderless:l=!1,disabled:o=!1,onClickRemove:d=N9e,onMouseEnter:i,onMouseLeave:r,messages:a,termPosition:s,termsCount:b}){let m=(0,Kle.useInstanceId)(aS),X=w("components-form-token-field__token",{"is-error":t==="error","is-success":t==="success","is-validating":t==="validating","is-borderless":l,"is-disabled":o}),G=()=>d({value:e}),g=n(e),x=(0,l1.sprintf)((0,l1.__)("%1$s (%2$d of %3$d)"),g,s,b);return(0,lu.jsxs)("span",{className:X,onMouseEnter:i,onMouseLeave:r,title:c,children:[(0,lu.jsxs)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${m}`,children:[(0,lu.jsx)(bt,{as:"span",children:x}),(0,lu.jsx)("span",{"aria-hidden":"true",children:g})]}),(0,lu.jsx)(be,{className:"components-form-token-field__remove-token",size:"small",icon:Di,onClick:o?void 0:G,disabled:o,label:a.remove,"aria-describedby":`components-form-token-field__token-text-${m}`})]})}var Xd=u(F(),1),sS="data-wp-hash";function bS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&w9e(document)),e.__wpStyleRuntime}function S9e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${sS}]`))if(c.getAttribute(sS)===t)return!0;return!1}function toe(e,t,c){if(!e.head)return;let n=bS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(S9e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(sS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function w9e(e){let t=bS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)toe(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function k9e(e,t){let c=bS();c.styles.set(e,t);for(let n of c.documents.keys())toe(n,e,t)}typeof process>"u",k9e("f9ae5dc19e",".df878b202c3b3cb7__tokens-and-input{box-sizing:border-box;padding:7px}.df878b202c3b3cb7__tokens-and-input *,.df878b202c3b3cb7__tokens-and-input :after,.df878b202c3b3cb7__tokens-and-input :before{box-sizing:inherit}");var z9e={"tokens-and-input":"df878b202c3b3cb7__tokens-and-input"},T9e=e=>e;function coe(e){let{autoCapitalize:t,autoComplete:c,maxLength:n,placeholder:l,label:o=(0,Pl.__)("Add item"),className:d,suggestions:i=[],maxSuggestions:r=100,value:a=[],displayTransform:s=T9e,saveTransform:b=re=>re.trim(),onChange:m=()=>{},onInputChange:X=()=>{},onFocus:G=void 0,isBorderless:g=!1,disabled:x=!1,tokenizeOnSpace:H=!1,messages:p={added:(0,Pl.__)("Item added."),removed:(0,Pl.__)("Item removed."),remove:(0,Pl.__)("Remove item"),__experimentalInvalid:(0,Pl.__)("Invalid item")},__experimentalRenderItem:R,__experimentalExpandOnFocus:I=!1,__experimentalValidateInput:f=()=>!0,__experimentalShowHowTo:y,__experimentalAutoSelectFirstMatch:Z=!1,tokenizeOnBlur:W=!1,help:v}=e,h=H?(0,Pl.__)("Separate with commas, spaces, or the Enter key."):(0,Pl.__)("Separate with commas or the Enter key."),C=v!==void 0?v:h;typeof y=="boolean"&&((0,$le.default)("`__experimentalShowHowTo` prop in wp.components.FormTokenField",{since:"7.1",alternative:"`help` prop",hint:"The `help` prop now defaults to the previous how-to text. Pass an empty string to hide it."}),y===!1&&v===void 0&&(C=""));let B=(0,ou.useInstanceId)(coe),[V,S]=(0,dl.useState)(""),[Y,J]=(0,dl.useState)(0),[k,N]=(0,dl.useState)(!1),[A,Q]=(0,dl.useState)(!1),[z,D]=(0,dl.useState)(-1),[U,O]=(0,dl.useState)(!1),L=(0,ou.usePrevious)(i),M=(0,ou.usePrevious)(a),_=(0,dl.useRef)(null),j=(0,dl.useRef)(null),ue=(0,ou.useDebounce)(Up.speak,500);(0,dl.useEffect)(()=>{k&&!Be()&&xe()},[k]),(0,dl.useEffect)(()=>{let re=!(0,qle.isShallowEqual)(i,L||[]);(re||a!==M)&&$l(re)},[i,L,a,M]),(0,dl.useEffect)(()=>{$l()},[V]),(0,dl.useEffect)(()=>{$l()},[Z]),x&&k&&(N(!1),S(""));function xe(){_.current?.focus()}function Be(){return _.current===_.current?.ownerDocument.activeElement}function P(re){Be()||re.target===j.current?(N(!0),Q(I||A)):N(!1),typeof G=="function"&&G(re)}function ye(re){if(zc()&&f(V))N(!1),W&&zc()&&he(V);else{if(S(""),J(0),N(!1),I){let Ee=re.relatedTarget===j.current;Q(Ee)}else Q(!1);D(-1),O(!1)}}function Te(re){let Ee=!1;if(!re.defaultPrevented){switch(re.key){case"Backspace":Ee=Ve(Ye);break;case"Enter":Ee=Fe();break;case"ArrowLeft":Ee=qe();break;case"ArrowUp":Ee=Ge();break;case"ArrowRight":Ee=Vt();break;case"ArrowDown":Ee=We();break;case"Delete":Ee=Ve(le);break;case"Space":H&&(Ee=Fe({preventDefaultOnFailedValidation:!1}));break;case"Escape":Ee=ee(re);break;case"Tab":Ee=Ae(re);break;default:break}Ee&&re.preventDefault()}}function ze(re){let Ee=!1;re.key===","&&(Ee=ot()),Ee&&re.preventDefault()}function Ne(re){re.target===j.current&&k&&re.preventDefault()}function He(re){Ke(re.value),xe()}function we(re){let Ee=kt().indexOf(re);Ee>=0&&(D(Ee),O(!1))}function pe(re){he(re)}function ve(re){let Ee=re.value,Pt=H?/[ ,\t]+/:/[,\t]+/,Dc=Ee.split(Pt),to=Dc[Dc.length-1]||"";if(Dc.length>1){let Fo=Dc.slice(0,-1),Hu=sl=>{let Zi=b(sl);return!!Zi&&!$e(Zi)&&!f(Zi)},PX=Fo.some(Hu),XR=Qe(PX?Dc:Fo);if(PX){let sl=Dc.filter(Wse=>{let GR=b(Wse);return!GR||XR.has(GR)||$e(GR)?!1:!f(GR)}),Zi=Ee.match(/[ ,\t]/g),ww=Zi?.[Zi.length-1]??(H?" ":","),yse=to===""?ww:"",kw=sl.join(ww)+yse;S(kw),X(kw);return}}S(to),X(to)}function Ve(re){let Ee=!1;return Be()&&Hn()&&(re(),Ee=!0),Ee}function qe(){let re=!1;return Hn()&&(Lt(),re=!0),re}function Vt(){let re=!1;return Hn()&&(kc(),re=!0),re}function Ge(){return D(re=>(re<=0?kt(V,i,a,r,b).length:re)-1),O(!0),!0}function We(){return D(re=>(re+1)%kt(V,i,a,r,b).length),O(!0),!0}function se(re){re.target instanceof HTMLInputElement&&(S(re.target.value),Q(!1),D(-1),O(!1))}function ee(re){return se(re),!0}function Ae(re){return se(re),!1}function ot(){return zc()&&he(V),!0}function ft(re){J(a.length-Math.max(re,-1)-1)}function Lt(){J(re=>Math.min(re+1,a.length))}function kc(){J(re=>Math.max(re-1,0))}function Ye(){let re=pc()-1;re>-1&&Ke(a[re])}function le(){let re=pc();re<a.length&&(Ke(a[re]),ft(re))}function Fe({preventDefaultOnFailedValidation:re=!0}={}){let Ee=!1,Pt=al();return Pt?(he(Pt),Ee=!0):zc()&&(Ee=he(V)||re),Ee}function Qe(re){let Ee=[...new Set(re.map(b).filter(Boolean).filter(Pt=>!$e(Pt)).filter(Pt=>f(Pt)))];if(Ee.length>0){let Pt=[...a];Pt.splice(pc(),0,...Ee),m(Pt)}return new Set(Ee)}function he(re){return f(re)?(Qe([re]),(0,Up.speak)(p.added,"assertive"),S(""),D(-1),O(!1),Q(!I),k&&!W&&xe(),!0):((0,Up.speak)(p.__experimentalInvalid,"assertive"),!1)}function Ke(re){let Ee=a.filter(Pt=>ut(Pt)!==ut(re));m(Ee),(0,Up.speak)(p.removed,"assertive")}function ut(re){return typeof re=="object"?re.value:re}function kt(re=V,Ee=i,Pt=a,Dc=r,to=b){let Fo=to(re),Hu=[],PX=[],XR=Pt.map(sl=>typeof sl=="string"?sl:sl.value);return Fo.length===0?Ee=Ee.filter(sl=>!XR.includes(sl)):(Fo=Fo.normalize("NFKC").toLocaleLowerCase(),Ee.forEach(sl=>{let Zi=sl.normalize("NFKC").toLocaleLowerCase().indexOf(Fo);XR.indexOf(sl)===-1&&(Zi===0?Hu.push(sl):Zi>0&&PX.push(sl))}),Ee=Hu.concat(PX)),Ee.slice(0,Dc)}function al(){if(z!==-1)return kt()[z]}function $e(re){return a.some(Ee=>ut(re)===ut(Ee))}function pc(){return a.length-Y}function Hn(){return V.length===0}function zc(){return b(V).length>0}function $l(re=!0){let Ee=V.trim().length>1,Pt=kt(V),Dc=Pt.length>0,to=Be()&&I;if(Q(to||Ee&&Dc),re&&(Z&&Ee&&Dc?(D(0),O(!0)):(D(-1),O(!1))),Ee){let Fo=Dc?(0,Pl.sprintf)((0,Pl._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",Pt.length),Pt.length):(0,Pl.__)("No results.");ue(Fo,"assertive")}}function Cl(){let re=a.map(pu);return re.splice(pc(),0,kr()),re}function pu(re,Ee,Pt){let Dc=ut(re),to=typeof re!="string"?re.status:void 0,Fo=Ee+1,Hu=Pt.length;return(0,Xd.jsx)(Cn,{children:(0,Xd.jsx)(aS,{value:Dc,status:to,title:typeof re!="string"?re.title:void 0,displayTransform:s,onClickRemove:He,isBorderless:typeof re!="string"&&re.isBorderless||g,onMouseEnter:typeof re!="string"?re.onMouseEnter:void 0,onMouseLeave:typeof re!="string"?re.onMouseLeave:void 0,disabled:to!=="error"&&x,messages:p,termsCount:Hu,termPosition:Fo})},"token-"+Dc)}function kr(){let re=C?`components-form-token-input-${B}__help`:void 0,Ee={instanceId:B,autoCapitalize:t,autoComplete:c,placeholder:a.length===0?l:"",disabled:x,value:V,onBlur:ye,isExpanded:A,selectedSuggestionIndex:z,"aria-describedby":re};return(0,Xd.jsx)(Nh,{...Ee,onChange:n&&a.length>=n?void 0:ve,ref:_},"input")}let Ru=w(d,"components-form-token-field__input-container",{"is-active":k,"is-disabled":x}),eo={className:"components-form-token-field",tabIndex:-1},gs=kt();return x||(eo=Object.assign({},eo,{onKeyDown:(0,eoe.withIgnoreIMEEvents)(Te),onKeyPress:ze,onFocus:P})),(0,Xd.jsxs)("div",{...eo,children:[o&&(0,Xd.jsx)(xa,{htmlFor:`components-form-token-input-${B}`,className:"components-form-token-field__label",children:o}),(0,Xd.jsxs)("div",{ref:j,className:Ru,tabIndex:-1,onMouseDown:Ne,onTouchStart:Ne,children:[(0,Xd.jsx)(Mt,{className:z9e["tokens-and-input"],justify:"flex-start",align:"center",gap:1,wrap:!0,children:Cl()}),A&&(0,Xd.jsx)(Sh,{instanceId:B,match:b(V),displayTransform:s,suggestions:gs,selectedIndex:z,scrollIntoView:U,onHover:we,onSelect:pe,__experimentalRenderItem:R})]}),C&&(0,Xd.jsx)($i,{id:`components-form-token-input-${B}__help`,className:"components-form-token-field__help",children:C})]})}var o1=coe;var Gd=u(T(),1),ooe=u(Xt(),1),i1=u(Ze(),1);var Lp=u(Ze(),1);var d1=u(rt(),1),uS=u(F(),1),noe=()=>(0,uS.jsx)(d1.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,uS.jsx)(d1.Circle,{cx:"4",cy:"4",r:"4"})});var Ep=u(F(),1);function loe({currentPage:e,numberOfPages:t,setCurrentPage:c}){return(0,Ep.jsx)("ul",{className:"components-guide__page-control","aria-label":(0,Lp.__)("Guide controls"),children:Array.from({length:t}).map((n,l)=>(0,Ep.jsx)("li",{"aria-current":l===e?"step":void 0,children:(0,Ep.jsx)(be,{size:"small",icon:(0,Ep.jsx)(noe,{}),"aria-label":(0,Lp.sprintf)((0,Lp.__)("Page %1$d of %2$d"),l+1,t),onClick:()=>c(l)},l)},l))})}var gi=u(F(),1);function A9e({children:e,className:t,contentLabel:c,finishButtonText:n=(0,i1.__)("Finish"),nextButtonText:l=(0,i1.__)("Next"),previousButtonText:o=(0,i1.__)("Previous"),onFinish:d,pages:i=[]}){let r=(0,Gd.useRef)(null),[a,s]=(0,Gd.useState)(0);(0,Gd.useEffect)(()=>{let g=r.current?.querySelector(".components-guide");g instanceof HTMLElement&&g.focus()},[a]),(0,Gd.useEffect)(()=>{Gd.Children.count(e)&&(0,ooe.default)("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[e]),Gd.Children.count(e)&&(i=Gd.Children.map(e,g=>({content:g}))??[]);let b=a>0,m=a<i.length-1,X=()=>{b&&s(a-1)},G=()=>{m&&s(a+1)};return i.length===0?null:(0,gi.jsx)(pX,{className:w("components-guide",t),contentLabel:c,isDismissible:i.length>1,onRequestClose:d,onKeyDown:g=>{g.code==="ArrowLeft"?(X(),g.preventDefault()):g.code==="ArrowRight"&&(G(),g.preventDefault())},ref:r,children:(0,gi.jsxs)("div",{className:"components-guide__container",children:[(0,gi.jsxs)("div",{className:"components-guide__page",children:[i[a].image,i.length>1&&(0,gi.jsx)(loe,{currentPage:a,numberOfPages:i.length,setCurrentPage:s}),i[a].content]}),(0,gi.jsxs)("div",{className:"components-guide__footer",children:[b&&(0,gi.jsx)(be,{className:"components-guide__back-button",variant:"tertiary",onClick:X,__next40pxDefaultSize:!0,children:o}),m&&(0,gi.jsx)(be,{className:"components-guide__forward-button",variant:"primary",onClick:G,__next40pxDefaultSize:!0,children:l}),!m&&(0,gi.jsx)(be,{className:"components-guide__finish-button",variant:"primary",onClick:d,__next40pxDefaultSize:!0,children:n})]})]})})}var doe=A9e;var ioe=u(T(),1),roe=u(Xt(),1),aoe=u(F(),1);function soe(e){return(0,ioe.useEffect)(()=>{(0,roe.default)("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),(0,aoe.jsx)("div",{...e})}var boe=u(Xt(),1),uoe=u(T(),1);var moe=u(F(),1);function O9e({label:e,labelPosition:t,size:c,tooltip:n,...l},o){return(0,boe.default)("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button",version:"6.2"}),(0,moe.jsx)(be,{...l,ref:o,tooltipPosition:t,iconSize:c,showTooltip:n!==void 0?!!n:void 0,label:n||e})}var Xoe=(0,uoe.forwardRef)(O9e);var r1=u(T(),1),Goe=u(me(),1),du=u(F(),1);function Q9e({target:e,callback:t,shortcut:c,bindGlobal:n,eventName:l}){return(0,Goe.useKeyboardShortcut)(c,t,{bindGlobal:n,target:e,eventName:l}),null}function U9e({children:e,shortcuts:t,bindGlobal:c,eventName:n}){let l=(0,r1.useRef)(null),o=Object.entries(t??{}).map(([d,i])=>(0,du.jsx)(Q9e,{shortcut:d,callback:i,bindGlobal:c,eventName:n,target:l},d));return r1.Children.count(e)?(0,du.jsxs)("div",{ref:l,children:[o,e]}):(0,du.jsx)(du.Fragment,{children:o})}var goe=U9e;var xoe=u(T(),1),poe=u(me(),1),Dp=u(F(),1);function Roe(e){let{children:t,className:c="",label:n,hideSeparator:l}=e,o=(0,poe.useInstanceId)(Roe);if(!xoe.Children.count(t))return null;let d=`components-menu-group-label-${o}`,i=w(c,"components-menu-group",{"has-hidden-separator":l});return(0,Dp.jsxs)("div",{className:i,children:[n&&(0,Dp.jsx)("div",{className:"components-menu-group__label",id:d,"aria-hidden":"true",children:n}),(0,Dp.jsx)("div",{role:"group","aria-labelledby":n?d:void 0,children:t})]})}var _p=Roe;var a1=u(T(),1);var vr=u(F(),1);function E9e(e,t){let{children:c,info:n,className:l,icon:o,iconPosition:d="right",shortcut:i,isSelected:r,role:a="menuitem",suffix:s,...b}=e;return l=w("components-menu-item__button",l),n&&(c=(0,vr.jsxs)("span",{className:"components-menu-item__info-wrapper",children:[(0,vr.jsx)("span",{className:"components-menu-item__item",children:c}),(0,vr.jsx)("span",{className:"components-menu-item__info",children:n})]})),o&&typeof o!="string"&&(o=(0,a1.cloneElement)(o,{className:w("components-menu-items__item-icon",{"has-icon-right":d==="right"})})),(0,vr.jsxs)(be,{size:"compact",ref:t,"aria-checked":a==="menuitemcheckbox"||a==="menuitemradio"?r:void 0,role:a,icon:d==="left"?o:void 0,className:l,accessibleWhenDisabled:!0,...b,children:[(0,vr.jsx)("span",{className:"components-menu-item__item",children:c}),!s&&(0,vr.jsx)(xI,{className:"components-menu-item__shortcut",shortcut:i}),!s&&o&&d==="right"&&(0,vr.jsx)(Ot,{icon:o}),s]})}var Hoe=(0,a1.forwardRef)(E9e);Hoe.displayName="MenuItem";var Vr=Hoe;var jp=u(F(),1),L9e=()=>{};function D9e({choices:e=[],onHover:t=L9e,onSelect:c,value:n}){return(0,jp.jsx)(jp.Fragment,{children:e.map(l=>{let o=n===l.value;return(0,jp.jsx)(Vr,{role:"menuitemradio",disabled:l.disabled,icon:o?qc:null,info:l.info,isSelected:o,shortcut:l.shortcut,className:"components-menu-items-choice",onClick:()=>{o||c(l.value)},onMouseEnter:()=>t(l.value),onMouseLeave:()=>t(null),"aria-label":l["aria-label"],children:l.label},l.value)})})}var Ioe=D9e;var zoe=u(Xt(),1),VX=u(T(),1),Toe=u(Jy(),1),xQt=u(En(),1);function _9e(e){for(var t=[],c=0;c<e.length;){var n=e[c];if(n==="*"||n==="+"||n==="?"){t.push({type:"MODIFIER",index:c,value:e[c++]});continue}if(n==="\\"){t.push({type:"ESCAPED_CHAR",index:c++,value:e[c++]});continue}if(n==="{"){t.push({type:"OPEN",index:c,value:e[c++]});continue}if(n==="}"){t.push({type:"CLOSE",index:c,value:e[c++]});continue}if(n===":"){for(var l="",o=c+1;o<e.length;){var d=e.charCodeAt(o);if(d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||d===95){l+=e[o++];continue}break}if(!l)throw new TypeError("Missing parameter name at ".concat(c));t.push({type:"NAME",index:c,value:l}),c=o;continue}if(n==="("){var i=1,r="",o=c+1;if(e[o]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if(e[o]==="\\"){r+=e[o++]+e[o++];continue}if(e[o]===")"){if(i--,i===0){o++;break}}else if(e[o]==="("&&(i++,e[o+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(o));r+=e[o++]}if(i)throw new TypeError("Unbalanced pattern at ".concat(c));if(!r)throw new TypeError("Missing pattern at ".concat(c));t.push({type:"PATTERN",index:c,value:r}),c=o;continue}t.push({type:"CHAR",index:c,value:e[c++]})}return t.push({type:"END",index:c,value:""}),t}function j9e(e,t){t===void 0&&(t={});for(var c=_9e(e),n=t.prefixes,l=n===void 0?"./":n,o=t.delimiter,d=o===void 0?"/#?":o,i=[],r=0,a=0,s="",b=function(v){if(a<c.length&&c[a].type===v)return c[a++].value},m=function(v){var h=b(v);if(h!==void 0)return h;var C=c[a],B=C.type,V=C.index;throw new TypeError("Unexpected ".concat(B," at ").concat(V,", expected ").concat(v))},X=function(){for(var v="",h;h=b("CHAR")||b("ESCAPED_CHAR");)v+=h;return v},G=function(v){for(var h=0,C=d;h<C.length;h++){var B=C[h];if(v.indexOf(B)>-1)return!0}return!1},g=function(v){var h=i[i.length-1],C=v||(h&&typeof h=="string"?h:"");if(h&&!C)throw new TypeError('Must have text between two parameters, missing text after "'.concat(h.name,'"'));return!C||G(C)?"[^".concat(rs(d),"]+?"):"(?:(?!".concat(rs(C),")[^").concat(rs(d),"])+?")};a<c.length;){var x=b("CHAR"),H=b("NAME"),p=b("PATTERN");if(H||p){var R=x||"";l.indexOf(R)===-1&&(s+=R,R=""),s&&(i.push(s),s=""),i.push({name:H||r++,prefix:R,suffix:"",pattern:p||g(R),modifier:b("MODIFIER")||""});continue}var I=x||b("ESCAPED_CHAR");if(I){s+=I;continue}s&&(i.push(s),s="");var f=b("OPEN");if(f){var R=X(),y=b("NAME")||"",Z=b("PATTERN")||"",W=X();m("CLOSE"),i.push({name:y||(Z?r++:""),pattern:y&&!Z?g(R):Z,prefix:R,suffix:W,modifier:b("MODIFIER")||""});continue}m("END")}return i}function Zoe(e,t){var c=[],n=yoe(e,c,t);return M9e(n,c,t)}function M9e(e,t,c){c===void 0&&(c={});var n=c.decode,l=n===void 0?function(o){return o}:n;return function(o){var d=e.exec(o);if(!d)return!1;for(var i=d[0],r=d.index,a=Object.create(null),s=function(m){if(d[m]===void 0)return"continue";var X=t[m-1];X.modifier==="*"||X.modifier==="+"?a[X.name]=d[m].split(X.prefix+X.suffix).map(function(G){return l(G,X)}):a[X.name]=l(d[m],X)},b=1;b<d.length;b++)s(b);return{path:i,index:r,params:a}}}function rs(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function foe(e){return e&&e.sensitive?"":"i"}function P9e(e,t){if(!t)return e;for(var c=/\((?:\?<(.*?)>)?(?!\?)/g,n=0,l=c.exec(e.source);l;)t.push({name:l[1]||n++,prefix:"",suffix:"",modifier:"",pattern:""}),l=c.exec(e.source);return e}function K9e(e,t,c){var n=e.map(function(l){return yoe(l,t,c).source});return new RegExp("(?:".concat(n.join("|"),")"),foe(c))}function q9e(e,t,c){return $9e(j9e(e,c),t,c)}function $9e(e,t,c){c===void 0&&(c={});for(var n=c.strict,l=n===void 0?!1:n,o=c.start,d=o===void 0?!0:o,i=c.end,r=i===void 0?!0:i,a=c.encode,s=a===void 0?function(h){return h}:a,b=c.delimiter,m=b===void 0?"/#?":b,X=c.endsWith,G=X===void 0?"":X,g="[".concat(rs(G),"]|$"),x="[".concat(rs(m),"]"),H=d?"^":"",p=0,R=e;p<R.length;p++){var I=R[p];if(typeof I=="string")H+=rs(s(I));else{var f=rs(s(I.prefix)),y=rs(s(I.suffix));if(I.pattern)if(t&&t.push(I),f||y)if(I.modifier==="+"||I.modifier==="*"){var Z=I.modifier==="*"?"?":"";H+="(?:".concat(f,"((?:").concat(I.pattern,")(?:").concat(y).concat(f,"(?:").concat(I.pattern,"))*)").concat(y,")").concat(Z)}else H+="(?:".concat(f,"(").concat(I.pattern,")").concat(y,")").concat(I.modifier);else{if(I.modifier==="+"||I.modifier==="*")throw new TypeError('Can not repeat "'.concat(I.name,'" without a prefix and suffix'));H+="(".concat(I.pattern,")").concat(I.modifier)}else H+="(?:".concat(f).concat(y,")").concat(I.modifier)}}if(r)l||(H+="".concat(x,"?")),H+=c.endsWith?"(?=".concat(g,")"):"$";else{var W=e[e.length-1],v=typeof W=="string"?x.indexOf(W[W.length-1])>-1:W===void 0;l||(H+="(?:".concat(x,"(?=").concat(g,"))?")),v||(H+="(?=".concat(x,"|").concat(g,")"))}return new RegExp(H,foe(c))}function yoe(e,t,c){return e instanceof RegExp?P9e(e,t):Array.isArray(e)?K9e(e,t,c):q9e(e,t,c)}function Woe(e,t){return Zoe(t,{decode:decodeURIComponent})(e)}function hoe(e,t){for(let c of t){let n=Woe(e,c.path);if(n)return{params:n.params,id:c.id}}}function Boe(e,t){if(!e.startsWith("/"))return;let c=e.split("/"),n;for(;c.length>1&&n===void 0;){c.pop();let l=c.join("/")===""?"/":c.join("/");t.find(o=>Woe(l,o.path)!==!1)&&(n=l)}return n}var voe=u(T(),1),eVe={location:{},goTo:()=>{},goBack:()=>{},goToParent:()=>{},addScreen:()=>{},removeScreen:()=>{},params:{}},iu=(0,voe.createContext)(eVe);iu.displayName="NavigatorContext";var Foe={name:"1br0vvk",styles:"position:relative;overflow-x:clip;contain:layout;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;align-items:start"},Voe=Qd({from:{opacity:0}}),Coe=Qd({to:{opacity:0}}),Joe=Qd({from:{transform:"translateX(100px)"}}),Yoe=Qd({to:{transform:"translateX(-80px)"}}),Noe=Qd({from:{transform:"translateX(-100px)"}}),Soe=Qd({to:{transform:"translateX(80px)"}}),An={DURATION:70,EASING:"linear",DELAY:{IN:70,OUT:40}},xi={DURATION:300,EASING:"cubic-bezier(0.33, 0, 0, 1)"},mS={IN:Math.max(An.DURATION+An.DELAY.IN,xi.DURATION),OUT:Math.max(An.DURATION+An.DELAY.OUT,xi.DURATION)},XS={end:{in:Joe.name,out:Yoe.name},start:{in:Noe.name,out:Soe.name}},tVe={end:{in:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.IN,"ms both ",Voe,",",xi.DURATION,"ms ",xi.EASING," both ",Joe,";",""),out:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.OUT,"ms both ",Coe,",",xi.DURATION,"ms ",xi.EASING," both ",Yoe,";","")},start:{in:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.IN,"ms both ",Voe,",",xi.DURATION,"ms ",xi.EASING," both ",Noe,";",""),out:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.OUT,"ms both ",Coe,",",xi.DURATION,"ms ",xi.EASING," both ",Soe,";","")}},woe=Re("z-index:1;&[data-animation-type='out']{z-index:0;}@media not ( prefers-reduced-motion ){&:not( [data-skip-animation] ){",["start","end"].map(e=>["in","out"].map(t=>Re("&[data-animation-direction='",e,"'][data-animation-type='",t,"']{animation:",tVe[e][t],";}",""))),";}}",""),koe={name:"14di7zd",styles:"overflow-x:auto;max-height:100%;box-sizing:border-box;position:relative;grid-column:1/-1;grid-row:1/-1"};var gS=u(F(),1);function cVe({screens:e},t){return e.some(c=>c.path===t.path)?e:[...e,t]}function nVe({screens:e},t){return e.filter(c=>c.id!==t.id)}function Aoe(e,t,c={}){let{focusSelectors:n}=e,l={...e.currentLocation},{isBack:o=!1,skipFocus:d=!1,replace:i,focusTargetSelector:r,...a}=c;if(l.path===t)return{currentLocation:l,focusSelectors:n};let s;function b(){return s=s??new Map(e.focusSelectors),s}r&&l.path&&b().set(l.path,r);let m;return n.get(t)&&(o&&(m=n.get(t)),b().delete(t)),{currentLocation:{...a,isInitial:!1,path:t,isBack:o,hasRestoredFocus:!1,focusTargetSelector:m,skipFocus:d},focusSelectors:s??n}}function lVe(e,t={}){let{screens:c,focusSelectors:n}=e,l={...e.currentLocation},o=l.path;if(o===void 0)return{currentLocation:l,focusSelectors:n};let d=Boe(o,c);return d===void 0?{currentLocation:l,focusSelectors:n}:Aoe(e,d,{...t,isBack:!0})}function oVe(e,t){let{screens:c,currentLocation:n,matchedPath:l,focusSelectors:o,...d}=e;switch(t.type){case"add":c=cVe(e,t.screen);break;case"remove":c=nVe(e,t.screen);break;case"goto":({currentLocation:n,focusSelectors:o}=Aoe(e,t.path,t.options));break;case"gotoparent":({currentLocation:n,focusSelectors:o}=lVe(e,t.options));break}if(c===e.screens&&n===e.currentLocation)return e;let i=n.path;return l=i!==void 0?hoe(i,c):void 0,l&&e.matchedPath&&l.id===e.matchedPath.id&&(0,Toe.isShallowEqual)(l.params,e.matchedPath.params)&&(l=e.matchedPath),{...d,screens:c,currentLocation:n,matchedPath:l,focusSelectors:o}}function dVe(e,t){let{initialPath:c,children:n,className:l,...o}=ae(e,"Navigator"),[d,i]=(0,VX.useReducer)(oVe,c,G=>({screens:[],currentLocation:{path:G,isInitial:!0},matchedPath:void 0,focusSelectors:new Map,initialPath:c})),r=(0,VX.useMemo)(()=>({goBack:G=>i({type:"gotoparent",options:G}),goTo:(G,g)=>i({type:"goto",path:G,options:g}),goToParent:G=>{(0,zoe.default)("wp.components.useNavigator().goToParent",{since:"6.7",alternative:"wp.components.useNavigator().goBack"}),i({type:"gotoparent",options:G})},addScreen:G=>i({type:"add",screen:G}),removeScreen:G=>i({type:"remove",screen:G})}),[]),{currentLocation:a,matchedPath:s}=d,b=(0,VX.useMemo)(()=>({location:a,params:s?.params??{},match:s?.id,...r}),[a,s,r]),m=ec(),X=(0,VX.useMemo)(()=>m(Foe,l),[l,m]);return(0,gS.jsx)(Ce,{ref:t,className:X,...o,children:(0,gS.jsx)(iu.Provider,{value:b,children:n})})}var s1=ie(dVe,"Navigator");var Doe=u(gX(),1),Kl=u(T(),1),_oe=u(me(),1),joe=u(xS(),1),BQt=u(En(),1);var as=u(T(),1),Uoe=u(me(),1),Eoe=u(Ze(),1);var Qoe=1.2,iVe=(e,t,c)=>t==="ANIMATING_IN"&&c===XS[e].in,rVe=(e,t,c)=>t==="ANIMATING_OUT"&&c===XS[e].out;function Loe({isMatch:e,skipAnimation:t,isBack:c,onAnimationEnd:n}){let l=(0,Eoe.isRTL)(),o=(0,Uoe.useReducedMotion)(),[d,i]=(0,as.useState)("INITIAL"),r=d!=="ANIMATING_IN"&&d!=="IN"&&e,a=d!=="ANIMATING_OUT"&&d!=="OUT"&&!e;(0,as.useLayoutEffect)(()=>{r?i(t||o?"IN":"ANIMATING_IN"):a&&i(t||o?"OUT":"ANIMATING_OUT")},[r,a,t,o]);let s=l&&c||!l&&!c?"end":"start",b=d==="ANIMATING_IN",m=d==="ANIMATING_OUT",X;b?X="in":m&&(X="out");let G=(0,as.useCallback)(g=>{n?.(g),rVe(s,d,g.animationName)?i("OUT"):iVe(s,d,g.animationName)&&i("IN")},[n,d,s]);return(0,as.useEffect)(()=>{let g;return m?g=window.setTimeout(()=>{i("OUT"),g=void 0},mS.OUT*Qoe):b&&(g=window.setTimeout(()=>{i("IN"),g=void 0},mS.IN*Qoe)),()=>{g&&(window.clearTimeout(g),g=void 0)}},[m,b]),{animationStyles:woe,shouldRenderScreen:e||d==="IN"||d==="ANIMATING_OUT",screenProps:{onAnimationEnd:G,"data-animation-direction":s,"data-animation-type":X,"data-skip-animation":t||void 0}}}var Moe=u(F(),1);function aVe(e,t){/^\//.test(e.path);let c=(0,Kl.useId)(),{children:n,className:l,path:o,onAnimationEnd:d,...i}=ae(e,"Navigator.Screen"),{location:r,match:a,addScreen:s,removeScreen:b}=(0,Kl.useContext)(iu),{isInitial:m,isBack:X,focusTargetSelector:G,skipFocus:g}=r,x=a===c,H=(0,Kl.useRef)(null),p=!!m&&!X;(0,Kl.useEffect)(()=>{let h={id:c,path:(0,joe.escapeAttribute)(o)};return s(h),()=>b(h)},[c,o,s,b]);let{animationStyles:R,shouldRenderScreen:I,screenProps:f}=Loe({isMatch:x,isBack:X,onAnimationEnd:d,skipAnimation:p}),y=ec(),Z=(0,Kl.useMemo)(()=>y(koe,R,l),[l,y,R]),W=(0,Kl.useRef)(r);(0,Kl.useEffect)(()=>{W.current=r},[r]),(0,Kl.useEffect)(()=>{let h=H.current;if(p||!x||!h||W.current.hasRestoredFocus||g)return;let C=h.ownerDocument.activeElement;if(h.contains(C))return;let B=null;if(X&&G&&(B=h.querySelector(G)),!B){let[V]=Doe.focus.tabbable.find(h);B=V??h}W.current.hasRestoredFocus=!0,B.focus()},[p,x,X,G,g]);let v=(0,_oe.useMergeRefs)([t,H]);return I?(0,Moe.jsx)(Ce,{ref:v,className:Z,...f,...i,children:n}):null}var b1=ie(aVe,"Navigator.Screen");var Koe=u(T(),1),qoe=u(xS(),1);var Poe=u(T(),1);function ss(){let{location:e,params:t,goTo:c,goBack:n,goToParent:l}=(0,Poe.useContext)(iu);return{location:e,goTo:c,goBack:n,goToParent:l,params:t}}var sVe=(e,t)=>`[${e}="${t}"]`;function $oe(e){let{path:t,onClick:c,as:n=be,attributeName:l="id",...o}=ae(e,"Navigator.Button"),d=(0,qoe.escapeAttribute)(t),{goTo:i}=ss(),r=(0,Koe.useCallback)(a=>{a.preventDefault(),i(d,{focusTargetSelector:sVe(l,d)}),c?.(a)},[i,c,l,d]);return{as:n,onClick:r,...o,[l]:d}}var ede=u(F(),1);function bVe(e,t){let c=$oe(e);return(0,ede.jsx)(Ce,{ref:t,...c})}var u1=ie(bVe,"Navigator.Button");var tde=u(T(),1);function cde(e){let{onClick:t,as:c=be,...n}=ae(e,"Navigator.BackButton"),{goBack:l}=ss(),o=(0,tde.useCallback)(d=>{d.preventDefault(),l(),t?.(d)},[l,t]);return{as:c,onClick:o,...n}}var nde=u(F(),1);function uVe(e,t){let c=cde(e);return(0,nde.jsx)(Ce,{ref:t,...c})}var CX=ie(uVe,"Navigator.BackButton");var lde=u(Xt(),1);var ode=u(F(),1);function mVe(e,t){return(0,lde.default)("wp.components.NavigatorToParentButton",{since:"6.7",alternative:"wp.components.Navigator.BackButton"}),(0,ode.jsx)(CX,{ref:t,...e})}var dde=ie(mVe,"Navigator.ToParentButton");var ide=Object.assign(s1,{displayName:"NavigatorProvider"}),rde=Object.assign(b1,{displayName:"NavigatorScreen"}),ade=Object.assign(u1,{displayName:"NavigatorButton"}),sde=Object.assign(CX,{displayName:"NavigatorBackButton"}),bde=Object.assign(dde,{displayName:"NavigatorToParentButton"});var ude=Object.assign(s1,{Screen:Object.assign(b1,{displayName:"Navigator.Screen"}),Button:Object.assign(u1,{displayName:"Navigator.Button"}),BackButton:Object.assign(CX,{displayName:"Navigator.BackButton"})});var FX=u(Ze(),1),JX=u(T(),1),Xde=u(Md(),1);var Cr=u(F(),1),mde=()=>{};function XVe(e,t){let c=typeof e=="string"?e:(0,JX.renderToString)(e);(0,JX.useEffect)(()=>{c&&(0,Xde.speak)(c,t)},[c,t])}function GVe(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}function gVe(e){switch(e){case"warning":return(0,FX.__)("Warning notice");case"info":return(0,FX.__)("Information notice");case"error":return(0,FX.__)("Error notice");default:return(0,FX.__)("Notice")}}function xVe({className:e,status:t="info",children:c,spokenMessage:n=c,onRemove:l=mde,isDismissible:o=!0,actions:d=[],politeness:i=GVe(t),__unstableHTML:r,onDismiss:a=mde}){XVe(n,i);let s=w(e,"components-notice","is-"+t);r&&typeof c=="string"&&(c=(0,Cr.jsx)(JX.RawHTML,{children:c}));let b=()=>{a(),l()};return(0,Cr.jsxs)("div",{className:s,children:[(0,Cr.jsx)(bt,{children:gVe(t)}),(0,Cr.jsx)("div",{className:"components-notice__content",children:c}),d.length>0&&(0,Cr.jsx)("div",{className:"components-notice__actions",children:d.map(({className:m,label:X,isPrimary:G,variant:g,noDefaultClasses:x=!1,onClick:H,url:p,disabled:R},I)=>{let f=g;return g!=="primary"&&!x&&(f=p?"link":"secondary"),typeof f>"u"&&G&&(f="primary"),(0,Cr.jsx)(be,{size:"compact",href:p,variant:f,onClick:H,disabled:R,accessibleWhenDisabled:!0,className:w("components-notice__action",m),children:X},I)})}),o&&(0,Cr.jsx)(be,{size:"small",className:"components-notice__dismiss",icon:Di,label:(0,FX.__)("Close"),onClick:b})]})}var m1=xVe;var Gde=u(E(),1),gde=u(F(),1),pVe=()=>{};function RVe({notices:e,onRemove:t=pVe,className:c,children:n}){let l=o=>()=>t(o);return c=w("components-notice-list",c),(0,gde.jsxs)("div",{className:c,children:[n,[...e].reverse().map(o=>{let{content:d,...i}=o;return(0,Gde.createElement)(m1,{...i,key:o.id,onRemove:l(o.id)},o.content)})]})}var X1=RVe;var xde=u(T(),1);var G1=u(F(),1);function HVe({label:e,children:t}){return(0,G1.jsxs)("div",{className:"components-panel__header",children:[e&&(0,G1.jsx)("h2",{children:e}),t]})}var g1=HVe;var x1=u(F(),1);function IVe({header:e,className:t,children:c},n){let l=w(t,"components-panel");return(0,x1.jsxs)("div",{className:l,ref:n,children:[e&&(0,x1.jsx)(g1,{label:e}),c]})}var pde=(0,xde.forwardRef)(IVe);pde.displayName="Panel";var Rde=pde;var p1=u(me(),1),YX=u(T(),1);var Fr=u(F(),1),ZVe=()=>{};function fVe(e,t){let{buttonProps:c={},children:n,className:l,icon:o,initialOpen:d,onToggle:i=ZVe,opened:r,title:a,scrollAfterOpen:s=!0}=e,[b,m]=Ei(r,{initial:d===void 0?!0:d,fallback:!1}),X=(0,YX.useRef)(null),G=(0,p1.useReducedMotion)()?"auto":"smooth",g=p=>{p.preventDefault();let R=!b;m(R),i(R)},x=(0,YX.useRef)(void 0);x.current=s,tb(()=>{b&&x.current&&X.current?.scrollIntoView&&X.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:G})},[b,G]);let H=w("components-panel__body",l,{"is-opened":b});return(0,Fr.jsxs)("div",{className:H,ref:(0,p1.useMergeRefs)([X,t]),children:[(0,Fr.jsx)(yVe,{icon:o,isOpened:!!b,onClick:g,title:a,...c}),typeof n=="function"?n({opened:!!b}):b&&n]})}var yVe=(0,YX.forwardRef)(({isOpened:e,icon:t,title:c,...n},l)=>c?(0,Fr.jsx)("h2",{className:"components-panel__body-title",children:(0,Fr.jsxs)(be,{__next40pxDefaultSize:!0,className:"components-panel__body-toggle","aria-expanded":e,ref:l,...n,children:[(0,Fr.jsx)("span",{"aria-hidden":"true",children:(0,Fr.jsx)(Ot,{className:"components-panel__arrow",icon:e?mV:Og})}),c,t&&(0,Fr.jsx)(Ot,{icon:t,className:"components-panel__icon",size:20})]})}):null),Hde=(0,YX.forwardRef)(fVe);Hde.displayName="PanelBody";var Ide=Hde;var Zde=u(T(),1),fde=u(F(),1);function WVe({className:e,children:t},c){return(0,fde.jsx)("div",{className:w("components-panel__row",e),ref:c,children:t})}var yde=(0,Zde.forwardRef)(WVe);yde.displayName="PanelRow";var Wde=yde;var hde=u(me(),1),R1=u(rt(),1),Bde=u(T(),1),vde=u(Md(),1);var pi=u(F(),1),hVe=(0,pi.jsx)(R1.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",children:(0,pi.jsx)(R1.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"})});function BVe(e){let{icon:t,children:c,label:n,instructions:l,className:o,notices:d,preview:i,isColumnLayout:r,withIllustration:a,...s}=e,[b,{width:m}]=(0,hde.useResizeObserver)(),X;typeof m=="number"&&(X={"is-large":m>=480,"is-medium":m>=160&&m<480,"is-small":m<160});let G=w("components-placeholder",o,X,a?"has-illustration":null),g=w("components-placeholder__fieldset",{"is-column-layout":r});return(0,Bde.useEffect)(()=>{l&&(0,vde.speak)(l)},[l]),(0,pi.jsxs)("div",{...s,className:G,children:[a?hVe:null,b,d,i&&(0,pi.jsx)("div",{className:"components-placeholder__preview",children:i}),(0,pi.jsxs)("div",{className:"components-placeholder__label",children:[(0,pi.jsx)(Ot,{icon:t}),n]}),!!l&&(0,pi.jsx)("div",{className:"components-placeholder__instructions",children:l}),(0,pi.jsx)("div",{className:g,children:c})]})}var Vde=BVe;var Cde=u(Ze(),1),Fde=u(T(),1),Mp=u(F(),1),pS="data-wp-hash";function RS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&VVe(document)),e.__wpStyleRuntime}function vVe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${pS}]`))if(c.getAttribute(pS)===t)return!0;return!1}function Jde(e,t,c){if(!e.head)return;let n=RS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(vVe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(pS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function VVe(e){let t=RS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Jde(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function CVe(e,t){let c=RS();c.styles.set(e,t);for(let n of c.documents.keys())Jde(n,e,t)}typeof process>"u",CVe("582b000aec","._1d8296bd910bb7bb__track{background-color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 90%);border-radius:9999px;height:1.5px;outline:2px solid transparent;outline-offset:2px;overflow:hidden;position:relative}:where(._1d8296bd910bb7bb__track){width:160px}.be702ee1b0a3c396__indicator{background-color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 10%);border-radius:9999px;display:inline-block;height:100%;outline:2px solid transparent;outline-offset:-2px;position:absolute;top:0;width:var(--indicator-width)}@media not (prefers-reduced-motion){.be702ee1b0a3c396__indicator{transition:width .4s ease-in-out}}.be702ee1b0a3c396__indicator._125afa179e2803a2__is-indeterminate{--indicator-width:50%;animation:_7c6b2fa174e0d687__indeterminate-slide 1.5s ease-in-out infinite;transition:none}@media (prefers-reduced-motion:reduce){.be702ee1b0a3c396__indicator._125afa179e2803a2__is-indeterminate{animation-duration:3s;animation-timing-function:steps(4)}}@keyframes _7c6b2fa174e0d687__indeterminate-slide{0%{inset-inline-start:-50%}to{inset-inline-start:100%}}._4c47edc54d8dcb46__progress-element{height:100%;inset-inline-start:0;opacity:0;position:absolute;top:0;width:100%}");var H1={track:"_1d8296bd910bb7bb__track",indicator:"be702ee1b0a3c396__indicator","is-indeterminate":"_125afa179e2803a2__is-indeterminate","indeterminate-slide":"_7c6b2fa174e0d687__indeterminate-slide","progress-element":"_4c47edc54d8dcb46__progress-element"};function FVe(e,t){let{className:c,value:n,...l}=e,o=!Number.isFinite(n);return(0,Mp.jsxs)("div",{className:w(H1.track,c),children:[(0,Mp.jsx)("div",{className:w(H1.indicator,{[H1["is-indeterminate"]]:o}),style:{"--indicator-width":o?void 0:`${n}%`}}),(0,Mp.jsx)("progress",{className:H1["progress-element"],max:100,value:n,"aria-label":(0,Cde.__)("Loading \u2026"),ref:t,...l})]})}var Yde=(0,Fde.forwardRef)(FVe);Yde.displayName="ProgressBar";var Nde=Yde;var ql=u(Ze(),1);var JVe=e=>e.every(t=>t.parent!==null);function I1(e){let t=e.map(l=>({children:[],parent:null,...l,id:String(l.id)}));if(!JVe(t))return t;let c=t.reduce((l,o)=>{let{parent:d}=o;return l[d]||(l[d]=[]),l[d].push(o),l},{}),n=l=>l.map(o=>{let d=c[o.id];return{...o,children:d&&d.length?n(d):[]}});return n(c[0]||[])}var kde=u(T(),1),zde=u(wde(),1);var Tde=u(F(),1);function Ade(e,t=0){return e.flatMap(c=>[{value:c.id,label:"\xA0".repeat(t*3)+(0,zde.decodeEntities)(c.name)},...Ade(c.children||[],t+1)])}function YVe(e){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:c,label:n,noOptionLabel:l,onChange:o,selectedId:d,tree:i=[],...r}=e,a=(0,kde.useMemo)(()=>[l&&{value:"",label:l},...Ade(i)].filter(s=>!!s),[l,i]);return(0,Tde.jsx)(Ix,{label:n,options:a,onChange:o,value:d,...r})}var NX=YVe;var Ode=u(F(),1);function Qde({label:e,noOptionLabel:t,authorList:c,selectedAuthorId:n,onChange:l}){if(!c)return null;let o=I1(c);return(0,Ode.jsx)(NX,{label:e,noOptionLabel:t,onChange:l,tree:o,selectedId:n!==void 0?String(n):void 0})}var Ude=u(T(),1);var Ede=u(F(),1);function Lde({label:e,noOptionLabel:t,categoriesList:c,selectedCategoryId:n,onChange:l,...o}){let d=(0,Ude.useMemo)(()=>I1(c),[c]);return(0,Ede.jsx)(NX,{label:e,noOptionLabel:t,onChange:l,tree:d,selectedId:n!==void 0?String(n):void 0,...o})}var ru=u(F(),1),NVe=1,SVe=100,wVe=20;function kVe(e){return"categoriesList"in e}function zVe(e){return"categorySuggestions"in e}var TVe=[{label:(0,ql.__)("Newest to oldest"),value:"date/desc"},{label:(0,ql.__)("Oldest to newest"),value:"date/asc"},{label:(0,ql.__)("A \u2192 Z"),value:"title/asc"},{label:(0,ql.__)("Z \u2192 A"),value:"title/desc"}];function AVe({authorList:e,selectedAuthorId:t,numberOfItems:c,order:n,orderBy:l,orderByOptions:o=TVe,maxItems:d=SVe,minItems:i=NVe,onAuthorChange:r,onNumberOfItemsChange:a,onOrderChange:s,onOrderByChange:b,...m}){return(0,ru.jsx)(Nt,{spacing:"4",className:"components-query-controls",children:[s&&b&&(0,ru.jsx)(ei,{label:(0,ql.__)("Order by"),value:l===void 0||n===void 0?void 0:`${l}/${n}`,options:o,onChange:X=>{if(typeof X!="string")return;let[G,g]=X.split("/");g!==n&&s(g),G!==l&&b(G)}},"query-controls-order-select"),kVe(m)&&m.categoriesList&&m.onCategoryChange&&(0,ru.jsx)(Lde,{categoriesList:m.categoriesList,label:(0,ql.__)("Category"),noOptionLabel:(0,ql._x)("All","categories"),selectedCategoryId:m.selectedCategoryId,onChange:m.onCategoryChange},"query-controls-category-select"),zVe(m)&&m.categorySuggestions&&m.onCategoryChange&&(0,ru.jsx)(o1,{label:(0,ql.__)("Categories"),value:m.selectedCategories&&m.selectedCategories.map(X=>({id:X.id,value:X.name||X.value})),suggestions:Object.keys(m.categorySuggestions),onChange:m.onCategoryChange,maxSuggestions:wVe},"query-controls-categories-select"),r&&(0,ru.jsx)(Qde,{authorList:e,label:(0,ql.__)("Author"),noOptionLabel:(0,ql._x)("All","authors"),selectedAuthorId:t,onChange:r},"query-controls-author-select"),a&&(0,ru.jsx)(Al,{label:(0,ql.__)("Number of items"),value:c,onChange:a,min:i,max:d,required:!0},"query-controls-range-control")]})}var Dde=AVe;var Z1=u(T(),1);var _de=u(T(),1),Pp=(0,_de.createContext)({store:void 0,disabled:void 0});Pp.displayName="RadioGroupContext";var HS=u(F(),1);function OVe({value:e,children:t,__next40pxDefaultSize:c,...n},l){let{store:o,disabled:d}=(0,Z1.useContext)(Pp),i=$(o,"value");return(0,HS.jsx)(qu,{disabled:d,store:o,ref:l,value:e,render:(0,HS.jsx)(be,{variant:i!==void 0&&i===e?"primary":"secondary",__next40pxDefaultSize:!0,...n}),children:t||e})}var jde=(0,Z1.forwardRef)(OVe);jde.displayName="Radio";var Mde=jde;var Pde=u(Xt(),1),y1=u(T(),1),Kde=u(Ze(),1);var f1=u(F(),1);function QVe({label:e,checked:t,defaultChecked:c,disabled:n,onChange:l,children:o,...d},i){let r=em({value:t,defaultValue:c,setValue:s=>{l?.(s??void 0)},rtl:(0,Kde.isRTL)()}),a=(0,y1.useMemo)(()=>({store:r,disabled:n}),[r,n]);return(0,Pde.default)("wp.components.__experimentalRadioGroup",{alternative:"wp.components.RadioControl or wp.components.__experimentalToggleGroupControl",since:"6.8"}),(0,f1.jsx)(Pp.Provider,{value:a,children:(0,f1.jsx)($u,{store:r,render:(0,f1.jsx)(v5,{__shouldNotWarnDeprecated:!0,children:o}),"aria-label":e,ref:i,...d})})}var qde=(0,y1.forwardRef)(QVe);qde.displayName="RadioGroup";var $de=qde;var cie=u(me(),1);var gd=u(F(),1);function eie(e,t){return`${e}-${t}-option-description`}function IS(e,t){return`${e}-${t}`}function tie(e){return`${e}__help`}function nie(e){let{label:t,className:c,selected:n,help:l,onChange:o,onClick:d,hideLabelFromVision:i,disabled:r,options:a=[],id:s,...b}=e,m=(0,cie.useInstanceId)(nie,"inspector-radio-control",s),X=G=>o(G.target.value);return a?.length?(0,gd.jsxs)("fieldset",{id:m,role:"radiogroup",className:w(c,"components-radio-control"),disabled:r,"aria-describedby":l?tie(m):void 0,children:[i?(0,gd.jsx)(bt,{as:"legend",children:t}):(0,gd.jsx)(at.VisualLabel,{as:"legend",children:t}),(0,gd.jsx)(Nt,{spacing:3,className:w("components-radio-control__group-wrapper",{"has-help":!!l}),children:a.map((G,g)=>(0,gd.jsxs)("div",{className:"components-radio-control__option",children:[(0,gd.jsx)("input",{id:IS(m,g),className:"components-radio-control__input",type:"radio",name:m,value:G.value,disabled:G.disabled,onChange:X,checked:G.value===n,"aria-describedby":G.description?eie(m,g):void 0,onClick:x=>{x.currentTarget.focus(),d?.(x)},...b}),(0,gd.jsx)("label",{className:"components-radio-control__label",htmlFor:IS(m,g),children:G.label}),G.description?(0,gd.jsx)($i,{id:eie(m,g),className:"components-radio-control__option-description",children:G.description}):null]},IS(m,g)))}),!!l&&(0,gd.jsx)($i,{id:tie(m),className:"components-base-control__help",children:l})]}):null}var lie=nie;var Zie=u(T(),1);var au=u(E());var h1=u(E()),UVe=(function(){var e=function(t,c){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var o in l)l.hasOwnProperty(o)&&(n[o]=l[o])},e(t,c)};return function(t,c){e(t,c);function n(){this.constructor=t}t.prototype=c===null?Object.create(c):(n.prototype=c.prototype,new n)}})(),W1=function(){return W1=Object.assign||function(e){for(var t,c=1,n=arguments.length;c<n;c++){t=arguments[c];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},W1.apply(this,arguments)},EVe={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},oie=(function(e){UVe(t,e);function t(){var c=e!==null&&e.apply(this,arguments)||this;return c.onMouseDown=function(n){c.props.onResizeStart(n,c.props.direction)},c.onTouchStart=function(n){c.props.onResizeStart(n,c.props.direction)},c}return t.prototype.render=function(){return h1.createElement("div",{className:this.props.className||"",style:W1(W1({position:"absolute",userSelect:"none"},EVe[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t})(h1.PureComponent);var bs=u(rie()),qVe=(function(){var e=function(t,c){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var o in l)l.hasOwnProperty(o)&&(n[o]=l[o])},e(t,c)};return function(t,c){e(t,c);function n(){this.constructor=t}t.prototype=c===null?Object.create(c):(n.prototype=c.prototype,new n)}})(),Ri=function(){return Ri=Object.assign||function(e){for(var t,c=1,n=arguments.length;c<n;c++){t=arguments[c];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},Ri.apply(this,arguments)},$Ve={width:"auto",height:"auto"},v1=(0,bs.default)(function(e,t,c){return Math.max(Math.min(e,c),t)}),aie=(0,bs.default)(function(e,t){return Math.round(e/t)*t}),SX=(0,bs.default)(function(e,t){return new RegExp(e,"i").test(t)}),V1=function(e){return!!(e.touches&&e.touches.length)},eCe=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},sie=(0,bs.default)(function(e,t,c){c===void 0&&(c=0);var n=t.reduce(function(o,d,i){return Math.abs(d-e)<Math.abs(t[o]-e)?i:o},0),l=Math.abs(t[n]-e);return c===0||l<c?t[n]:e}),ln=(0,bs.default)(function(e,t){return e.substr(e.length-t.length,t.length)===t}),yS=(0,bs.default)(function(e){return e=e.toString(),e==="auto"||ln(e,"px")||ln(e,"%")||ln(e,"vh")||ln(e,"vw")||ln(e,"vmax")||ln(e,"vmin")?e:e+"px"}),C1=function(e,t,c,n){if(e&&typeof e=="string"){if(ln(e,"px"))return Number(e.replace("px",""));if(ln(e,"%")){var l=Number(e.replace("%",""))/100;return t*l}if(ln(e,"vw")){var l=Number(e.replace("vw",""))/100;return c*l}if(ln(e,"vh")){var l=Number(e.replace("vh",""))/100;return n*l}}return e},tCe=(0,bs.default)(function(e,t,c,n,l,o,d){return n=C1(n,e.width,t,c),l=C1(l,e.height,t,c),o=C1(o,e.width,t,c),d=C1(d,e.height,t,c),{maxWidth:typeof n>"u"?void 0:Number(n),maxHeight:typeof l>"u"?void 0:Number(l),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof d>"u"?void 0:Number(d)}}),cCe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],bie="__resizable_base__",uie=(function(e){qVe(t,e);function t(c){var n=e.call(this,c)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var l=n.parentNode;if(!l)return null;var o=n.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0",o.classList?o.classList.add(bie):o.className+=bie,l.appendChild(o),o},n.removeBase=function(l){var o=n.parentNode;o&&o.removeChild(l)},n.ref=function(l){l&&(n.resizable=l)},n.state={isResizing:!1,width:typeof(n.propsSize&&n.propsSize.width)>"u"?"auto":n.propsSize&&n.propsSize.width,height:typeof(n.propsSize&&n.propsSize.height)>"u"?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||$Ve},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var c=0,n=0;if(this.resizable&&this.window){var l=this.resizable.offsetWidth,o=this.resizable.offsetHeight,d=this.resizable.style.position;d!=="relative"&&(this.resizable.style.position="relative"),c=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:l,n=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=d}return{width:c,height:n}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var c=this,n=this.props.size,l=function(i){if(typeof c.state[i]>"u"||c.state[i]==="auto")return"auto";if(c.propsSize&&c.propsSize[i]&&ln(c.propsSize[i].toString(),"%")){if(ln(c.state[i].toString(),"%"))return c.state[i].toString();var r=c.getParentSize(),a=Number(c.state[i].toString().replace("px","")),s=a/r[i]*100;return s+"%"}return yS(c.state[i])},o=n&&typeof n.width<"u"&&!this.state.isResizing?yS(n.width):l("width"),d=n&&typeof n.height<"u"&&!this.state.isResizing?yS(n.height):l("height");return{width:o,height:d}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var c=this.appendBase();if(!c)return{width:0,height:0};var n=!1,l=this.parentNode.style.flexWrap;l!=="wrap"&&(n=!0,this.parentNode.style.flexWrap="wrap"),c.style.position="relative",c.style.minWidth="100%";var o={width:c.offsetWidth,height:c.offsetHeight};return n&&(this.parentNode.style.flexWrap=l),this.removeBase(c),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var c=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:c.flexBasis!=="auto"?c.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(c,n){var l=this.propsSize&&this.propsSize[n];return this.state[n]==="auto"&&this.state.original[n]===c&&(typeof l>"u"||l==="auto")?"auto":c},t.prototype.calculateNewMaxFromBoundary=function(c,n){var l=this.props.boundsByDirection,o=this.state.direction,d=l&&SX("left",o),i=l&&SX("top",o),r,a;if(this.props.bounds==="parent"){var s=this.parentNode;s&&(r=d?this.resizableRight-this.parentLeft:s.offsetWidth+(this.parentLeft-this.resizableLeft),a=i?this.resizableBottom-this.parentTop:s.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(r=d?this.resizableRight:this.window.innerWidth-this.resizableLeft,a=i?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(r=d?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),a=i?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return r&&Number.isFinite(r)&&(c=c&&c<r?c:r),a&&Number.isFinite(a)&&(n=n&&n<a?n:a),{maxWidth:c,maxHeight:n}},t.prototype.calculateNewSizeFromDirection=function(c,n){var l=this.props.scale||1,o=this.props.resizeRatio||1,d=this.state,i=d.direction,r=d.original,a=this.props,s=a.lockAspectRatio,b=a.lockAspectRatioExtraHeight,m=a.lockAspectRatioExtraWidth,X=r.width,G=r.height,g=b||0,x=m||0;return SX("right",i)&&(X=r.width+(c-r.x)*o/l,s&&(G=(X-x)/this.ratio+g)),SX("left",i)&&(X=r.width-(c-r.x)*o/l,s&&(G=(X-x)/this.ratio+g)),SX("bottom",i)&&(G=r.height+(n-r.y)*o/l,s&&(X=(G-g)*this.ratio+x)),SX("top",i)&&(G=r.height-(n-r.y)*o/l,s&&(X=(G-g)*this.ratio+x)),{newWidth:X,newHeight:G}},t.prototype.calculateNewSizeFromAspectRatio=function(c,n,l,o){var d=this.props,i=d.lockAspectRatio,r=d.lockAspectRatioExtraHeight,a=d.lockAspectRatioExtraWidth,s=typeof o.width>"u"?10:o.width,b=typeof l.width>"u"||l.width<0?c:l.width,m=typeof o.height>"u"?10:o.height,X=typeof l.height>"u"||l.height<0?n:l.height,G=r||0,g=a||0;if(i){var x=(m-G)*this.ratio+g,H=(X-G)*this.ratio+g,p=(s-g)/this.ratio+G,R=(b-g)/this.ratio+G,I=Math.max(s,x),f=Math.min(b,H),y=Math.max(m,p),Z=Math.min(X,R);c=v1(c,I,f),n=v1(n,y,Z)}else c=v1(c,s,b),n=v1(n,m,X);return{newWidth:c,newHeight:n}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var c=this.parentNode;if(c){var n=c.getBoundingClientRect();this.parentLeft=n.left,this.parentTop=n.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var l=this.props.bounds.getBoundingClientRect();this.targetLeft=l.left,this.targetTop=l.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),d=o.left,i=o.top,r=o.right,a=o.bottom;this.resizableLeft=d,this.resizableRight=r,this.resizableTop=i,this.resizableBottom=a}},t.prototype.onResizeStart=function(c,n){if(!(!this.resizable||!this.window)){var l=0,o=0;if(c.nativeEvent&&eCe(c.nativeEvent)){if(l=c.nativeEvent.clientX,o=c.nativeEvent.clientY,c.nativeEvent.which===3)return}else c.nativeEvent&&V1(c.nativeEvent)&&(l=c.nativeEvent.touches[0].clientX,o=c.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable){var d=this.props.onResizeStart(c,n,this.resizable);if(d===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var i,r=this.window.getComputedStyle(this.resizable);if(r.flexBasis!=="auto"){var a=this.parentNode;if(a){var s=this.window.getComputedStyle(a).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",i=r.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var b={original:{x:l,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Ri(Ri({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(c.target).cursor||"auto"}),direction:n,flexBasis:i};this.setState(b)}},t.prototype.onMouseMove=function(c){if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&V1(c))try{c.preventDefault(),c.stopPropagation()}catch{}var n=this.props,l=n.maxWidth,o=n.maxHeight,d=n.minWidth,i=n.minHeight,r=V1(c)?c.touches[0].clientX:c.clientX,a=V1(c)?c.touches[0].clientY:c.clientY,s=this.state,b=s.direction,m=s.original,X=s.width,G=s.height,g=this.getParentSize(),x=tCe(g,this.window.innerWidth,this.window.innerHeight,l,o,d,i);l=x.maxWidth,o=x.maxHeight,d=x.minWidth,i=x.minHeight;var H=this.calculateNewSizeFromDirection(r,a),p=H.newHeight,R=H.newWidth,I=this.calculateNewMaxFromBoundary(l,o),f=this.calculateNewSizeFromAspectRatio(R,p,{width:I.maxWidth,height:I.maxHeight},{width:d,height:i});if(R=f.newWidth,p=f.newHeight,this.props.grid){var y=aie(R,this.props.grid[0]),Z=aie(p,this.props.grid[1]),W=this.props.snapGap||0;R=W===0||Math.abs(y-R)<=W?y:R,p=W===0||Math.abs(Z-p)<=W?Z:p}this.props.snap&&this.props.snap.x&&(R=sie(R,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(p=sie(p,this.props.snap.y,this.props.snapGap));var v={width:R-m.width,height:p-m.height};if(X&&typeof X=="string"){if(ln(X,"%")){var h=R/g.width*100;R=h+"%"}else if(ln(X,"vw")){var C=R/this.window.innerWidth*100;R=C+"vw"}else if(ln(X,"vh")){var B=R/this.window.innerHeight*100;R=B+"vh"}}if(G&&typeof G=="string"){if(ln(G,"%")){var h=p/g.height*100;p=h+"%"}else if(ln(G,"vw")){var C=p/this.window.innerWidth*100;p=C+"vw"}else if(ln(G,"vh")){var B=p/this.window.innerHeight*100;p=B+"vh"}}var V={width:this.createSizeForCssProperty(R,"width"),height:this.createSizeForCssProperty(p,"height")};this.flexDir==="row"?V.flexBasis=V.width:this.flexDir==="column"&&(V.flexBasis=V.height),this.setState(V),this.props.onResize&&this.props.onResize(c,b,this.resizable,v)}},t.prototype.onMouseUp=function(c){var n=this.state,l=n.isResizing,o=n.direction,d=n.original;if(!(!l||!this.resizable)){var i={width:this.size.width-d.width,height:this.size.height-d.height};this.props.onResizeStop&&this.props.onResizeStop(c,o,this.resizable,i),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Ri(Ri({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(c){this.setState({width:c.width,height:c.height})},t.prototype.renderResizer=function(){var c=this,n=this.props,l=n.enable,o=n.handleStyles,d=n.handleClasses,i=n.handleWrapperStyle,r=n.handleWrapperClass,a=n.handleComponent;if(!l)return null;var s=Object.keys(l).map(function(b){return l[b]!==!1?au.createElement(oie,{key:b,direction:b,onResizeStart:c.onResizeStart,replaceStyles:o&&o[b],className:d&&d[b]},a&&a[b]?a[b]:null):null});return au.createElement("div",{className:r,style:i},s)},t.prototype.render=function(){var c=this,n=Object.keys(this.props).reduce(function(d,i){return cCe.indexOf(i)!==-1||(d[i]=c.props[i]),d},{}),l=Ri(Ri(Ri({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(l.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return au.createElement(o,Ri({ref:this.ref,style:l,className:this.props.className},n),this.state.isResizing&&au.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t})(au.PureComponent);var pie=u(T(),1);var Gie=u(T(),1),hS=u(Ze(),1);var xd=u(T(),1),mie=u(me(),1),nCe=()=>{},Jr={bottom:"bottom",corner:"corner"};function Xie({axis:e,fadeTimeout:t=180,onResize:c=nCe,position:n=Jr.bottom,showPx:l=!1}){let[o,d]=(0,mie.useResizeObserver)(),i=!!e,[r,a]=(0,xd.useState)(!1),[s,b]=(0,xd.useState)(!1),{width:m,height:X}=d,G=(0,xd.useRef)(X),g=(0,xd.useRef)(m),x=(0,xd.useRef)(void 0),H=(0,xd.useCallback)(()=>{let R=()=>{i||(a(!1),b(!1))};x.current&&window.clearTimeout(x.current),x.current=window.setTimeout(R,t)},[t,i]);return(0,xd.useEffect)(()=>{if(!(m!==null||X!==null))return;let I=m!==g.current,f=X!==G.current;if(!(!I&&!f)){if(m&&!g.current&&X&&!G.current){g.current=m,G.current=X;return}I&&(a(!0),g.current=m),f&&(b(!0),G.current=X),c({width:m,height:X}),H()}},[m,X,c,H]),{label:lCe({axis:e,height:X,moveX:r,moveY:s,position:n,showPx:l,width:m}),resizeListener:o}}function lCe({axis:e,height:t,moveX:c=!1,moveY:n=!1,position:l=Jr.bottom,showPx:o=!1,width:d}){if(!c&&!n)return;if(l===Jr.corner)return`${d} x ${t}`;let i=o?" px":"";if(e){if(e==="x"&&c)return`${d}${i}`;if(e==="y"&&n)return`${t}${i}`}if(c&&n)return`${d} x ${t}`;if(c)return`${d}${i}`;if(n)return`${t}${i}`}var F1=u(F(),1),BS="data-wp-hash";function vS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&dCe(document)),e.__wpStyleRuntime}function oCe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${BS}]`))if(c.getAttribute(BS)===t)return!0;return!1}function gie(e,t,c){if(!e.head)return;let n=vS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(oCe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(BS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function dCe(e){let t=vS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)gie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function iCe(e,t){let c=vS();c.styles.set(e,t);for(let n of c.documents.keys())gie(n,e,t)}typeof process>"u",iCe("6a3e579287",".f1c3c2f08c84bcca__root{box-sizing:border-box;inset:0;pointer-events:none;position:absolute}.dd094b49bf71dfd9__tooltip-wrapper{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity .12s linear}.d768357cc581321f__tooltip{background:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));border-radius:2px;box-sizing:border-box;color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;padding:4px 8px;position:relative}.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text{color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));display:block;font-size:13px;line-height:1.4;white-space:nowrap}");var WS={root:"f1c3c2f08c84bcca__root","tooltip-wrapper":"dd094b49bf71dfd9__tooltip-wrapper",tooltip:"d768357cc581321f__tooltip","label-text":"a32e43dd68941abb__label-text"},J1=4,rCe=J1*2.5;function aCe({label:e,position:t=Jr.corner,zIndex:c=1e3,...n},l){let o=!!e,d=t===Jr.bottom,i=t===Jr.corner;if(!o)return null;let r={opacity:o?1:void 0,zIndex:c},a={};return d&&(r={...r,position:"absolute",bottom:rCe*-1,left:"50%",transform:"translate(-50%, 0)"},a={transform:"translate(0, 100%)"}),i&&(r={...r,position:"absolute",top:J1,right:(0,hS.isRTL)()?void 0:J1,left:(0,hS.isRTL)()?J1:void 0}),(0,F1.jsx)("div",{"aria-hidden":"true",className:w("components-resizable-tooltip__tooltip-wrapper",WS["tooltip-wrapper"]),ref:l,style:r,...n,children:(0,F1.jsx)("div",{className:w("components-resizable-tooltip__tooltip",WS.tooltip),style:a,children:(0,F1.jsx)(Kn,{as:"span",className:WS["label-text"],children:e})})})}var sCe=(0,Gie.forwardRef)(aCe),xie=sCe;var Y1=u(F(),1),VS="data-wp-hash";function CS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&uCe(document)),e.__wpStyleRuntime}function bCe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${VS}]`))if(c.getAttribute(VS)===t)return!0;return!1}function Rie(e,t,c){if(!e.head)return;let n=CS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(bCe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(VS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function uCe(e){let t=CS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Rie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function mCe(e,t){let c=CS();c.styles.set(e,t);for(let n of c.documents.keys())Rie(n,e,t)}typeof process>"u",mCe("6a3e579287",".f1c3c2f08c84bcca__root{box-sizing:border-box;inset:0;pointer-events:none;position:absolute}.dd094b49bf71dfd9__tooltip-wrapper{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity .12s linear}.d768357cc581321f__tooltip{background:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));border-radius:2px;box-sizing:border-box;color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;padding:4px 8px;position:relative}.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text{color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));display:block;font-size:13px;line-height:1.4;white-space:nowrap}");var XCe={root:"f1c3c2f08c84bcca__root","tooltip-wrapper":"dd094b49bf71dfd9__tooltip-wrapper",tooltip:"d768357cc581321f__tooltip","label-text":"a32e43dd68941abb__label-text"},GCe=()=>{};function gCe({as:e="div",axis:t,className:c,fadeTimeout:n=180,isVisible:l=!0,labelRef:o,onResize:d=GCe,position:i=Jr.bottom,showPx:r=!0,zIndex:a=1e3,...s},b){let{label:m,resizeListener:X}=Xie({axis:t,fadeTimeout:n,onResize:d,showPx:r,position:i});if(!l)return null;let G=w("components-resize-tooltip",XCe.root,c);return(0,Y1.jsxs)(Il,{"aria-hidden":"true",as:e,...s,className:G,ref:b,children:[X,(0,Y1.jsx)(xie,{"aria-hidden":s["aria-hidden"],label:m,position:i,ref:o,zIndex:a})]})}var xCe=(0,pie.forwardRef)(gCe),Hie=xCe;var Kp=u(F(),1),us="components-resizable-box__handle",N1="components-resizable-box__side-handle",S1="components-resizable-box__corner-handle",Iie={top:w(us,N1,"components-resizable-box__handle-top"),right:w(us,N1,"components-resizable-box__handle-right"),bottom:w(us,N1,"components-resizable-box__handle-bottom"),left:w(us,N1,"components-resizable-box__handle-left"),topLeft:w(us,S1,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:w(us,S1,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:w(us,S1,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:w(us,S1,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},ms={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},pCe={top:ms,right:ms,bottom:ms,left:ms,topLeft:ms,topRight:ms,bottomRight:ms,bottomLeft:ms};function RCe({className:e,children:t,showHandle:c=!0,__experimentalShowTooltip:n=!1,__experimentalTooltipProps:l={},...o},d){return(0,Kp.jsxs)(uie,{className:w("components-resizable-box__container",c&&"has-show-handle",e),handleComponent:Object.fromEntries(Object.keys(Iie).map(i=>[i,(0,Kp.jsx)("div",{tabIndex:-1},i)])),handleClasses:Iie,handleStyles:pCe,ref:d,...o,children:[t,n&&(0,Kp.jsx)(Hie,{...l})]})}var fie=(0,Zie.forwardRef)(RCe);fie.displayName="ResizableBox";var yie=fie;var Wie=u(Xt(),1),w1=u(T(),1),FS=u(F(),1);function HCe({naturalWidth:e,naturalHeight:t,children:c,isInline:n=!1}){if((0,Wie.default)("wp.components.ResponsiveWrapper",{since:"7.2",version:"7.4",alternative:"the CSS aspect-ratio property"}),w1.Children.count(c)!==1)return null;let l=n?"span":"div",o;return e&&t&&(o=`${e} / ${t}`),(0,FS.jsx)(l,{className:"components-responsive-wrapper",children:(0,FS.jsx)("div",{children:(0,w1.cloneElement)(c,{className:w("components-responsive-wrapper__content",c.props.className),style:{...c.props.style,aspectRatio:o}})})})}var hie=HCe;var Rn=u(T(),1),wX=u(me(),1),il=u(F(),1);var ICe=function(){let{MutationObserver:e}=window;if(!e||!window.parent)return;function t(){if(!document.body)return;let n=document.body.getBoundingClientRect();window.parent.postMessage({action:"resize",width:n.width,height:n.height},"*")}function c(){let{body:n}=document;if(!n)return;new e(t).observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0});function o(d){d.style&&["width","height","minHeight","maxHeight"].forEach(function(i){/^\d*\.?\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/.test(d.style[i])&&(d.style[i]="")})}Array.prototype.forEach.call(document.querySelectorAll("[style]"),o),Array.prototype.forEach.call(document.styleSheets,function(d){let i;try{i=d.cssRules||d.rules}catch{return}Array.prototype.forEach.call(i,o)}),n.style.position="absolute",n.style.width="100%",n.setAttribute("data-resizable-iframe-connected",""),t()}window.addEventListener("load",t,!0),window.addEventListener("resize",t,!0),document.body?c():document.addEventListener("DOMContentLoaded",c)},ZCe=` | |
| 80 | 118 | body { |
| 81 | 119 | margin: 0; |
| 82 | 120 | } |
| 83 | 121 | html, |
| @@ -96,28 +134,25 @@ | ||
| 96 | 134 | body > div > * { |
| 97 | 135 | margin-top: 0 !important; /* Has to have !important to override inline styles. */ |
| 98 | 136 | margin-bottom: 0 !important; |
| 99 | 137 | } |
| 100 | -`;function sZc({html:c,title:l,type:t,styles:e,scripts:d}){let b=(0,Yl.jsxs)("html",{lang:document.documentElement.lang,className:t,children:[(0,Yl.jsxs)("head",{children:[(0,Yl.jsx)("title",{children:l}),(0,Yl.jsx)("style",{dangerouslySetInnerHTML:{__html:J_}}),e.map((o,n)=>(0,Yl.jsx)("style",{dangerouslySetInnerHTML:{__html:o}},n))]}),(0,Yl.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:t,children:[(0,Yl.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}),(0,Yl.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${C_.toString()})();`}}),d.map(o=>(0,Yl.jsx)("script",{src:o},o))]})]});return"<!DOCTYPE html>"+(0,Wt.renderToString)(b)}function gZc({html:c="",title:l="",type:t,styles:e=[],scripts:d=[],onFocus:b,tabIndex:o}){let n=(0,Wt.useRef)(null),[G,X]=(0,Wt.useState)(0),[i,a]=(0,Wt.useState)(0),m=(0,Wt.useMemo)(()=>sZc({html:c,title:l,type:t,styles:e,scripts:d}),[c,l,t,e,d]);return(0,Wt.useEffect)(()=>{let x=n.current;if(!x)return;function s(H){if(!x||x.contentWindow!==H.source)return;let Z=H.data||{};if(typeof Z=="string")try{Z=JSON.parse(Z)}catch{}Z.action==="resize"&&(X(Z.width),a(Z.height))}let g=null;function r(){let H=x?.ownerDocument?.defaultView??null;H!==g&&(g?.removeEventListener("message",s),g=H,g?.addEventListener("message",s))}return r(),x.addEventListener("load",r),()=>{x.removeEventListener("load",r),g?.removeEventListener("message",s)}},[]),(0,Yl.jsx)("iframe",{ref:(0,P0.useMergeRefs)([n,(0,P0.useFocusableIframe)()]),title:l,tabIndex:o,className:"components-sandbox",sandbox:"allow-scripts allow-presentation",srcDoc:m,onFocus:b,width:Math.ceil(G),height:Math.ceil(i)})}function rZc({html:c="",title:l="",type:t,styles:e=[],scripts:d=[],onFocus:b,tabIndex:o}){let n=(0,Wt.useRef)(null),[G,X]=(0,Wt.useState)(0),[i,a]=(0,Wt.useState)(0);function m(){try{return!!n.current?.contentDocument?.body}catch{return!1}}function x(s=!1){if(!m())return;let{contentDocument:g,ownerDocument:r}=n.current;if(!s&&g?.body.getAttribute("data-resizable-iframe-connected")!==null)return;let H=(0,Yl.jsxs)("html",{lang:r.documentElement.lang,className:t,children:[(0,Yl.jsxs)("head",{children:[(0,Yl.jsx)("title",{children:l}),(0,Yl.jsx)("style",{dangerouslySetInnerHTML:{__html:J_}}),e.map((Z,R)=>(0,Yl.jsx)("style",{dangerouslySetInnerHTML:{__html:Z}},R))]}),(0,Yl.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:t,children:[(0,Yl.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}),(0,Yl.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${C_.toString()})();`}}),d.map(Z=>(0,Yl.jsx)("script",{src:Z},Z))]})]});g.open(),g.write("<!DOCTYPE html>"+(0,Wt.renderToString)(H)),g.close()}return(0,Wt.useEffect)(()=>{x();function s(){x(!1)}function g(Z){let R=n.current;if(!R||R.contentWindow!==Z.source)return;let W=Z.data||{};if(typeof W=="string")try{W=JSON.parse(W)}catch{}W.action==="resize"&&(X(W.width),a(W.height))}let r=n.current,H=r?.ownerDocument?.defaultView;return r?.addEventListener("load",s,!1),H?.addEventListener("message",g),()=>{r?.removeEventListener("load",s,!1),H?.removeEventListener("message",g)}},[]),(0,Wt.useEffect)(()=>{x()},[l,e,d]),(0,Wt.useEffect)(()=>{x(!0)},[c,t]),(0,Yl.jsx)("iframe",{ref:(0,P0.useMergeRefs)([n,(0,P0.useFocusableIframe)()]),title:l,tabIndex:o,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:b,width:Math.ceil(G),height:Math.ceil(i)})}function ZZc({allowSameOrigin:c=!1,...l}){return c?(0,Yl.jsx)(rZc,{...l}):(0,Yl.jsx)(gZc,{...l})}var Y_=ZZc;var h_=u(co(),1),Wb=u(h(),1),nh=u(bc(),1),LBl=u(ne(),1);var UG=u(V(),1),HZc=6e3;function RZc(c,l){let t=typeof c=="string"?c:(0,Wb.renderToString)(c);(0,Wb.useEffect)(()=>{t&&(0,h_.speak)(t,l)},[t,l])}function IZc({className:c,children:l,spokenMessage:t=l,politeness:e="polite",actions:d=[],onRemove:b,icon:o=null,explicitDismiss:n=!1,onDismiss:G,listRef:X},i){function a(r){r&&r.preventDefault&&r.preventDefault(),X?.current?.focus(),G?.(),b?.()}function m(r,H){r.stopPropagation(),b?.(),H&&H(r)}RZc(t,e);let x=(0,Wb.useRef)({onDismiss:G,onRemove:b});(0,Wb.useLayoutEffect)(()=>{x.current={onDismiss:G,onRemove:b}}),(0,Wb.useEffect)(()=>{let r=setTimeout(()=>{n||(x.current.onDismiss?.(),x.current.onRemove?.())},HZc);return()=>clearTimeout(r)},[n]);let s=O(c,"components-snackbar",{"components-snackbar-explicit-dismiss":!!n});d&&d.length>1&&(d=[d[0]]);let g=O("components-snackbar__content",{"components-snackbar__content-with-icon":!!o});return(0,UG.jsx)("div",{ref:i,className:s,onClick:n?void 0:a,tabIndex:0,role:n?void 0:"button",onKeyPress:n?void 0:a,"aria-label":n?void 0:(0,nh.__)("Dismiss this notice"),"data-testid":"snackbar",children:(0,UG.jsxs)("div",{className:g,children:[o&&(0,UG.jsx)("div",{className:"components-snackbar__icon",children:o}),l,d.map(({label:r,onClick:H,url:Z,openInNewTab:R=!1},W)=>Z!==void 0&&R?(0,UG.jsx)(Ep,{href:Z,onClick:I=>m(I,H),className:"components-snackbar__action",children:r},W):(0,UG.jsx)(lc,{__next40pxDefaultSize:!0,href:Z,variant:"link",onClick:I=>m(I,H),className:"components-snackbar__action",children:r},W)),n&&(0,UG.jsx)("span",{role:"button","aria-label":(0,nh.__)("Dismiss this notice"),tabIndex:0,className:"components-snackbar__dismiss-button",onClick:a,onKeyPress:a,children:"\u2715"})]})})}var F_=(0,Wb.forwardRef)(IZc);F_.displayName="Snackbar";var qB=F_;var v_=u(ec(),1),N_=u(h(),1);var Qi=u(V(),1),WZc={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{type:"tween",duration:.3,ease:[0,0,.2,1]},opacity:{type:"tween",duration:.25,delay:.05,ease:[0,0,.2,1]}}},exit:{opacity:0,transition:{type:"tween",duration:.1,ease:[0,0,.2,1]}}};function pZc({notices:c,className:l,children:t,onRemove:e}){let d=(0,N_.useRef)(null),b=(0,v_.useReducedMotion)();l=O("components-snackbar-list",l);let o=n=>()=>e?.(n.id);return(0,Qi.jsxs)("div",{className:l,tabIndex:-1,ref:d,"data-testid":"snackbar-list",children:[t,(0,Qi.jsx)(gu,{children:c.map(n=>{let{content:G,...X}=n;return(0,Qi.jsx)(dG.div,{layout:b?!1:"position",style:{width:"100%"},initial:"init",animate:"open",exit:"exit",variants:b?void 0:WZc,children:(0,Qi.jsx)("div",{className:"components-snackbar-list__notice-container",children:(0,Qi.jsx)(qB,{...X,onRemove:o(n),listRef:d,children:n.content})})},n.id)})})]})}var f_=pZc;var yo=u(h(),1),$B=u(ec(),1),k_=u(bc(),1);var wi=u(V(),1),S_=c=>{if(!(typeof c>"u"||c===null))return c.match(/^tab-panel-[0-9]*-(.*)/)?.[1]},BZc=({className:c,children:l,tabs:t,selectOnMove:e=!0,initialTabName:d,orientation:b="horizontal",activeClass:o="is-active",onSelect:n},G)=>{let X=(0,$B.useInstanceId)(Gh,"tab-panel"),i=(0,yo.useCallback)(r=>{if(!(typeof r>"u"))return`${X}-${r}`},[X]),a=uX({setSelectedId:r=>{if(typeof r>"u"||r===null)return;let H=t.find(R=>i(R.name)===r);if(H?.disabled||H===s)return;let Z=S_(r);typeof Z>"u"||n?.(Z)},orientation:b,selectOnMove:e,defaultSelectedId:i(d),rtl:(0,k_.isRTL)()}),m=S_(xc(a,"selectedId")),x=(0,yo.useCallback)(r=>{a.setState("selectedId",i(r))},[i,a]),s=t.find(({name:r})=>r===m),g=(0,$B.usePrevious)(m);return(0,yo.useEffect)(()=>{g!==m&&m===d&&m&&n?.(m)},[m,d,n,g]),(0,yo.useLayoutEffect)(()=>{if(s)return;let r=t.find(H=>H.name===d);if(!(d&&!r))if(r&&!r.disabled)x(r.name);else{let H=t.find(Z=>!Z.disabled);H&&x(H.name)}},[t,s,d,X,x]),(0,yo.useEffect)(()=>{if(!s?.disabled)return;let r=t.find(H=>!H.disabled);r&&x(r.name)},[t,s?.disabled,x,X]),(0,wi.jsxs)("div",{className:c,ref:G,children:[(0,wi.jsx)(Ga,{store:a,className:"components-tab-panel__tabs",children:t.map(r=>(0,wi.jsx)(oa,{id:i(r.name),className:O("components-tab-panel__tabs-item",r.className,{[o]:r.name===m}),disabled:r.disabled,"aria-controls":`${i(r.name)}-view`,render:(0,wi.jsx)(lc,{__next40pxDefaultSize:!0,icon:r.icon,label:r.icon&&r.title,showTooltip:!!r.icon}),children:!r.icon&&r.title},r.name))}),s&&(0,wi.jsx)(ma,{id:`${i(s.name)}-view`,store:a,tabId:i(s.name),className:"components-tab-panel__tab-content",children:l(s)})]})},Gh=(0,yo.forwardRef)(BZc);Gh.displayName="TabPanel";var z_=Gh;var A_=u(ec(),1),O_=u(h(),1);var Xh=u(V(),1);function yZc(c,l){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:e=!1,label:d,hideLabelFromVision:b,value:o,help:n,id:G,className:X,onChange:i,type:a="text",...m}=c,x=(0,A_.useInstanceId)(ih,"inspector-text-control",G),s=g=>i(g.target.value);return Uc({componentName:"TextControl",size:void 0,__next40pxDefaultSize:e}),(0,Xh.jsx)(Lc,{label:d,hideLabelFromVision:b,id:x,help:n,className:X,children:(0,Xh.jsx)("input",{className:O("components-text-control__input",{"is-next-40px-default-size":e}),type:a,id:x,value:o,onChange:s,"aria-describedby":n?x+"__help":void 0,ref:l,...m})})}var ih=(0,O_.forwardRef)(yZc);ih.displayName="TextControl";var c5=ih;var w_=u(ec(),1),T_=u(h(),1);var VZc=A("box-shadow:0 0 0 transparent;border-radius:",Q.radiusSmall,";border:",Q.borderWidth," solid ",w.ui.border,";@media not ( prefers-reduced-motion ){transition:box-shadow 0.1s linear;}",""),CZc=A("border-color:",w.theme.accent,";box-shadow:0 0 0 calc( ",Q.borderWidthFocus," - ",Q.borderWidth," ) ",w.theme.accent,";outline:2px solid transparent;",""),Q_=f("textarea",{target:"e1w5nnrk0"})("width:100%;display:block;font-family:",vl("default.fontFamily"),";line-height:20px;background:",w.theme.background,";color:",w.theme.foreground,";resize:vertical;padding:9px 11px;min-height:38px;",VZc,";font-size:",vl("mobileTextMinFontSize"),";",ZA("small"),"{font-size:",vl("default.fontSize"),";}&:focus{",CZc,";}&:disabled{background:",w.ui.backgroundDisabled,";border-color:",w.ui.borderDisabled,";color:",w.ui.textDisabled,";}&::-webkit-input-placeholder{color:",w.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",w.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",w.ui.darkGrayPlaceholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",w.ui.lightGrayPlaceholder,";}&::-moz-placeholder{color:",w.ui.lightGrayPlaceholder,";}&:-ms-input-placeholder{color:",w.ui.lightGrayPlaceholder,";}}");var ah=u(V(),1);function JZc(c,l){let{__nextHasNoMarginBottom:t,label:e,hideLabelFromVision:d,value:b,help:o,onChange:n,rows:G=4,className:X,...i}=c,m=`inspector-textarea-control-${(0,w_.useInstanceId)(uh)}`,x=g=>n(g.target.value),s=O("components-textarea-control",X);return(0,ah.jsx)(Lc,{label:e,hideLabelFromVision:d,id:m,help:o,className:s,children:(0,ah.jsx)(Q_,{className:"components-textarea-control__input",id:m,rows:G,onChange:x,"aria-describedby":o?m+"__help":void 0,value:b,ref:l,...i})})}var uh=(0,T_.forwardRef)(JZc);uh.displayName="TextareaControl";var l5=uh;var D_=u(h(),1);var qg=u(V(),1),U_=c=>{let{text:l="",highlight:t=""}=c,e=t.trim();if(!e)return(0,qg.jsx)(qg.Fragment,{children:l});let d=new RegExp(`(${ti(e)})`,"gi");return(0,D_.createInterpolateElement)(l.replace(d,"<mark>$&</mark>"),{mark:(0,qg.jsx)("mark",{})})};U_.displayName="TextHighlight";var L_=U_;var $g=u(V(),1);function YZc(c){let{children:l}=c;return(0,$g.jsxs)("div",{className:"components-tip",children:[(0,$g.jsx)(Bl,{icon:K2}),(0,$g.jsx)("p",{children:l})]})}var j_=YZc;var E_=u(h(),1),M_=u(ec(),1);var Ti=u(V(),1);function hZc({label:c,checked:l,help:t,className:e,onChange:d,disabled:b,__nextHasNoMarginBottom:o,...n},G){function X(s){d(s.target.checked)}let a=`inspector-toggle-control-${(0,M_.useInstanceId)(mh)}`,m,x;return t&&(typeof t=="function"?l!==void 0&&(x=t(l)):x=t,x&&(m=a+"__help")),(0,Ti.jsx)(Lc,{id:a,help:x&&(0,Ti.jsx)("span",{className:"components-toggle-control__help",children:x}),className:O("components-toggle-control",e),children:(0,Ti.jsxs)(jc,{justify:"flex-start",spacing:2,children:[(0,Ti.jsx)(qp,{id:a,checked:l,onChange:X,"aria-describedby":m,disabled:b,ref:G,...n}),(0,Ti.jsx)(Ge,{as:"label",htmlFor:a,className:O("components-toggle-control__label",{"is-disabled":b}),children:c})]})})}var mh=(0,E_.forwardRef)(hZc);mh.displayName="ToggleControl";var t5=mh;var n5=u(h(),1),i8=u(Xl(),1);var b8=u(h(),1);var b5=u(h(),1);var d5=u(h(),1),Y5l=u(ne(),1);var P_=u(h(),1),K_=(0,P_.createContext)(void 0);K_.displayName="ToolbarContext";var re=K_;var e5=u(V(),1);function FZc({children:c,as:l,...t},e){let d=(0,d5.useContext)(re),b=typeof c=="function";if(!b&&!l)return null;let o={...t,ref:e,"data-toolbar-item":!0};return d?(0,e5.jsx)(jm,{accessibleWhenDisabled:!0,...o,store:d,render:b?c:l&&(0,e5.jsx)(l,{children:c})}):l?(0,e5.jsx)(l,{...o,children:c}):b?c(o):null}var __=(0,d5.forwardRef)(FZc);__.displayName="ToolbarItem";var Cn=__;var q_=u(V(),1),vZc=({children:c,className:l})=>(0,q_.jsx)("div",{className:l,children:c}),$_=vZc;var cr=u(V(),1);function NZc({isDisabled:c,...l}){return{disabled:c,...l}}function fZc(c,l){let{children:t,className:e,containerClassName:d,extraProps:b,isActive:o,title:n,...G}=NZc(c);return(0,b5.useContext)(re)?(0,cr.jsx)(Cn,{className:O("components-toolbar-button",e),...b,...G,ref:l,children:i=>(0,cr.jsx)(lc,{size:"compact",label:n,isPressed:o,...i,children:t})}):(0,cr.jsx)($_,{className:d,children:(0,cr.jsx)(lc,{ref:l,icon:G.icon,size:"compact",label:n,shortcut:G.shortcut,"data-subscript":G.subscript,onClick:i=>{i.stopPropagation(),G.onClick&&G.onClick(i)},className:O("components-toolbar__control",e),isPressed:o,accessibleWhenDisabled:!0,"data-toolbar-item":!0,...b,...G,children:t})})}var c8=(0,b5.forwardRef)(fZc);c8.displayName="ToolbarButton";var lr=c8;var l8=u(V(),1),SZc=({className:c,children:l,...t})=>(0,l8.jsx)("div",{className:c,...t,children:l}),t8=SZc;var e8=u(h(),1);var xh=u(V(),1);function kZc({controls:c=[],toggleProps:l,...t}){let e=(0,e8.useContext)(re),d=b=>(0,xh.jsx)(ub,{controls:c,toggleProps:{...b,"data-toolbar-item":!0},...t});return e?(0,xh.jsx)(Cn,{...l,children:d}):d(l)}var d8=kZc;var tr=u(V(),1);function zZc(c){return Array.isArray(c)&&Array.isArray(c[0])}function AZc({controls:c=[],children:l,className:t,isCollapsed:e,title:d,...b}){let o=(0,b8.useContext)(re);if((!c||!c.length)&&!l)return null;let n=O(o?"components-toolbar-group":"components-toolbar",t),G;return zZc(c)?G=c:G=[c],e?(0,tr.jsx)(d8,{label:d,controls:G,className:n,children:l,...b}):(0,tr.jsxs)(t8,{className:n,...b,children:[G?.flatMap((X,i)=>X.map((a,m)=>(0,tr.jsx)(lr,{containerClassName:i>0&&m===0?"has-left-divider":void 0,...a},[i,m].join()))),l]})}var er=AZc;var o8=u(h(),1),n8=u(bc(),1);var sh=u(V(),1);function OZc({label:c,...l},t){let e=mX({focusLoop:!0,rtl:(0,n8.isRTL)()});return(0,sh.jsx)(re.Provider,{value:e,children:(0,sh.jsx)(wr,{ref:t,"aria-label":c,store:e,...l})})}var G8=(0,o8.forwardRef)(OZc);G8.displayName="ToolbarContainer";var X8=G8;var o5=u(V(),1);function QZc({className:c,label:l,variant:t,...e},d){let b=t!==void 0,o=(0,n5.useMemo)(()=>b?{}:{DropdownMenu:{variant:"toolbar"},Dropdown:{variant:"toolbar"},Menu:{variant:"toolbar"}},[b]);if(!l){(0,i8.default)("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"});let{title:G,...X}=e;return(0,o5.jsx)(er,{isCollapsed:!1,...X,className:c})}let n=O("components-accessible-toolbar",c,t&&`is-${t}`);return(0,o5.jsx)(DX,{value:o,children:(0,o5.jsx)(X8,{className:n,label:l,ref:d,...e})})}var a8=(0,n5.forwardRef)(QZc);a8.displayName="Toolbar";var gh=a8;var X5=u(h(),1);var G5=u(V(),1);function wZc(c,l){return(0,X5.useContext)(re)?(0,G5.jsx)(Cn,{ref:l,...c.toggleProps,children:e=>(0,G5.jsx)(ub,{...c,popoverProps:{...c.popoverProps},toggleProps:e})}):(0,G5.jsx)(ub,{...c})}var u8=(0,X5.forwardRef)(wZc);u8.displayName="ToolbarDropdownMenu";var rh=u8;var or=u(co(),1);var Tl=u(bc(),1);var br=u(h(),1);var Di={columns:c=>A("grid-template-columns:",`repeat( ${c}, minmax(0, 1fr) )`,";",""),spacing:A("column-gap:",z(4),";row-gap:",z(4),";",""),item:{fullWidth:{name:"18iuzk9",styles:"grid-column:1/-1"}}},m8=c=>A(Di.columns(c)," ",Di.spacing," border-top:",Q.borderWidth," solid ",w.gray[300],";margin-top:-1px;padding:",z(4),";",""),x8=c=>A(">div:not( :first-of-type ){display:grid;",Di.columns(c)," ",Di.spacing," ",Di.item.fullWidth,";}",""),s8={name:"huufmu",styles:">div:not( :first-of-type ){display:none;}"},g8=A(Di.item.fullWidth," gap:",z(2),";.components-dropdown-menu{margin:",z(-1)," 0;line-height:0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:",z(6),";}",""),r8=A("font-size:inherit;font-weight:",Q.fontWeightMedium,";line-height:normal;&&{margin:0;}",""),Z8=A(Di.item.fullWidth,"&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ",SI,"{margin-bottom:0;",kI,":last-child{margin-bottom:0;}}",db,"{margin-bottom:0;}",""),H8={name:"eivff4",styles:"display:none"},R8={name:"16gsvie",styles:"min-width:200px"},Zh=f("span",{target:"ews648u0"})("color:",w.theme.accentDarker10,";font-size:11px;font-weight:",Q.fontWeightMedium,";line-height:1.4;",hc({marginLeft:z(3)})," text-transform:uppercase;"),I8=A("color:",w.gray[900],";&&[aria-disabled='true']{color:",w.gray[700],";opacity:1;&:hover{color:",w.gray[700],";}",Zh,"{opacity:0.3;}}","");var i5=u(h(),1),dr=()=>{},Ui=(0,i5.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:dr,deregisterPanelItem:dr,flagItemCustomization:dr,registerResetAllFilter:dr,deregisterResetAllFilter:dr,areAllOptionalControlsHidden:!0});Ui.displayName="ToolsPanelContext";var a5=()=>(0,i5.useContext)(Ui);function W8(c){let{className:l,headingLevel:t=2,...e}=$(c,"ToolsPanelHeader"),d=Xc(),b=(0,br.useMemo)(()=>d(g8,l),[l,d]),o=(0,br.useMemo)(()=>d(R8),[d]),n=(0,br.useMemo)(()=>d(r8),[d]),G=(0,br.useMemo)(()=>d(I8),[d]),{menuItems:X,hasMenuItems:i,areAllOptionalControlsHidden:a}=a5();return{...e,areAllOptionalControlsHidden:a,defaultControlsItemClassName:G,dropdownMenuClassName:o,hasMenuItems:i,headingClassName:n,headingLevel:t,menuItems:X,className:b}}var wl=u(V(),1),TZc=({itemClassName:c,items:l,toggleItem:t})=>{if(!l.length)return null;let e=(0,wl.jsx)(Zh,{"aria-hidden":!0,children:(0,Tl.__)("Reset")});return(0,wl.jsx)(wl.Fragment,{children:l.map(([d,b])=>b?(0,wl.jsx)(pn,{className:c,role:"menuitem",label:(0,Tl.sprintf)((0,Tl.__)("Reset %s"),d),onClick:()=>{t(d),(0,or.speak)((0,Tl.sprintf)((0,Tl.__)("%s reset to default"),d),"assertive")},suffix:e,children:d},d):(0,wl.jsx)(pn,{icon:Dt,className:c,role:"menuitemcheckbox",isSelected:!0,"aria-disabled":!0,children:d},d))})},DZc=({items:c,toggleItem:l})=>c.length?(0,wl.jsx)(wl.Fragment,{children:c.map(([t,e])=>{let d=e?(0,Tl.sprintf)((0,Tl.__)("Hide and reset %s"),t):(0,Tl.sprintf)((0,Tl._x)("Show %s","input control"),t);return(0,wl.jsx)(pn,{icon:e?Dt:null,isSelected:e,label:d,onClick:()=>{e?(0,or.speak)((0,Tl.sprintf)((0,Tl.__)("%s hidden and reset to default"),t),"assertive"):(0,or.speak)((0,Tl.sprintf)((0,Tl.__)("%s is now visible"),t),"assertive"),l(t)},role:"menuitemcheckbox",children:t},t)})}):null,UZc=(c,l)=>{let{areAllOptionalControlsHidden:t,defaultControlsItemClassName:e,dropdownMenuClassName:d,hasMenuItems:b,headingClassName:o,headingLevel:n=2,label:G,menuItems:X,resetAll:i,toggleItem:a,dropdownMenuProps:m,...x}=W8(c);if(!G)return null;let s=Object.entries(X?.default||{}),g=Object.entries(X?.optional||{}),r=t?qo:Fs,H=(0,Tl.sprintf)((0,Tl._x)("%s options","Button label to reveal tool panel options"),G),Z=t?(0,Tl.__)("All options are currently hidden"):void 0,R=[...s,...g].some(([,W])=>W);return(0,wl.jsxs)(jc,{...x,ref:l,children:[(0,wl.jsx)(td,{level:n,className:o,children:G}),b&&(0,wl.jsx)(ub,{...m,icon:r,label:H,menuProps:{className:d},toggleProps:{size:"small",description:Z},children:()=>(0,wl.jsxs)(wl.Fragment,{children:[(0,wl.jsxs)(wg,{label:G,children:[(0,wl.jsx)(TZc,{items:s,toggleItem:a,itemClassName:e}),(0,wl.jsx)(DZc,{items:g,toggleItem:a})]}),(0,wl.jsx)(wg,{children:(0,wl.jsx)(pn,{"aria-disabled":!R,variant:"tertiary",onClick:()=>{R&&(i(),(0,or.speak)((0,Tl.__)("All options reset"),"assertive"))},children:(0,Tl.__)("Reset all")})})]})})]})},LZc=tc(UZc,"ToolsPanelHeader"),Rh=LZc;var bt=u(h(),1);var p8=2;function Ih(){return{default:{},optional:{}}}function jZc(){return{panelItems:[],menuItemOrder:[],menuItems:Ih()}}var B8=({panelItems:c,shouldReset:l,currentMenuItems:t,menuItemOrder:e})=>{let d=Ih(),b=Ih();return c.forEach(({hasValue:o,isShownByDefault:n,label:G})=>{let X=n?"default":"optional",i=t?.[X]?.[G],a=i||o();d[X][G]=l?!1:a}),e.forEach(o=>{d.default.hasOwnProperty(o)&&(b.default[o]=d.default[o]),d.optional.hasOwnProperty(o)&&(b.optional[o]=d.optional[o])}),Object.keys(d.default).forEach(o=>{b.default.hasOwnProperty(o)||(b.default[o]=d.default[o])}),Object.keys(d.optional).forEach(o=>{b.optional.hasOwnProperty(o)||(b.optional[o]=d.optional[o])}),b};function EZc(c,l){switch(l.type){case"REGISTER_PANEL":{let t=[...c],e=t.findIndex(d=>d.label===l.item.label);return e!==-1&&t.splice(e,1),t.push(l.item),t}case"UNREGISTER_PANEL":{let t=c.findIndex(e=>e.label===l.label);if(t!==-1){let e=[...c];return e.splice(t,1),e}return c}default:return c}}function MZc(c,l){return l.type==="REGISTER_PANEL"?c.includes(l.item.label)?c:[...c,l.item.label]:c}function PZc(c,l){switch(l.type){case"REGISTER_PANEL":case"UNREGISTER_PANEL":return B8({currentMenuItems:c.menuItems,panelItems:c.panelItems,menuItemOrder:c.menuItemOrder,shouldReset:!1});case"RESET_ALL":return B8({panelItems:c.panelItems,menuItemOrder:c.menuItemOrder,shouldReset:!0});case"UPDATE_VALUE":{let t=c.menuItems[l.group][l.label];return l.value===t?c.menuItems:{...c.menuItems,[l.group]:{...c.menuItems[l.group],[l.label]:l.value}}}case"TOGGLE_VALUE":{let t=c.panelItems.find(b=>b.label===l.label);if(!t)return c.menuItems;let e=t.isShownByDefault?"default":"optional";return{...c.menuItems,[e]:{...c.menuItems[e],[l.label]:!c.menuItems[e][l.label]}}}default:return c.menuItems}}function KZc(c,l){let t=EZc(c.panelItems,l),e=MZc(c.menuItemOrder,l),d=PZc({panelItems:t,menuItemOrder:e,menuItems:c.menuItems},l);return{panelItems:t,menuItemOrder:e,menuItems:d}}function _Zc(c,l){switch(l.type){case"REGISTER":return[...c,l.filter];case"UNREGISTER":return c.filter(t=>t!==l.filter);default:return c}}var y8=c=>Object.keys(c).length===0;function V8(c){let{className:l,headingLevel:t=2,resetAll:e,panelId:d,hasInnerWrapper:b=!1,shouldRenderPlaceholderItems:o=!1,__experimentalFirstVisibleItemClass:n,__experimentalLastVisibleItemClass:G,...X}=$(c,"ToolsPanel"),i=(0,bt.useRef)(!1),a=i.current;(0,bt.useEffect)(()=>{a&&(i.current=!1)},[a]);let[{panelItems:m,menuItems:x},s]=(0,bt.useReducer)(KZc,void 0,jZc),[g,r]=(0,bt.useReducer)(_Zc,[]),H=(0,bt.useCallback)(L=>{s({type:"REGISTER_PANEL",item:L})},[]),Z=(0,bt.useCallback)(L=>{s({type:"UNREGISTER_PANEL",label:L})},[]),R=(0,bt.useCallback)(L=>{r({type:"REGISTER",filter:L})},[]),W=(0,bt.useCallback)(L=>{r({type:"UNREGISTER",filter:L})},[]),I=(0,bt.useCallback)((L,v,T="default")=>{s({type:"UPDATE_VALUE",group:T,label:v,value:L})},[]),B=(0,bt.useMemo)(()=>y8(x.default)&&!y8(x.optional)&&Object.values(x.optional).every(L=>!L),[x]),p=Xc(),y=(0,bt.useMemo)(()=>{let L=b&&x8(p8),v=B&&s8;return p(m8(p8),L,v,l)},[B,l,p,b]),Y=(0,bt.useCallback)(L=>{s({type:"TOGGLE_VALUE",label:L})},[]),C=(0,bt.useCallback)(()=>{typeof e=="function"&&(i.current=!0,e(g)),s({type:"RESET_ALL"})},[g,e]),J=L=>{let v=x.optional||{};return L.find(k=>k.isShownByDefault||v[k.label])?.label},N=J(m),S=J([...m].reverse()),F=m.length>0,D=(0,bt.useMemo)(()=>({areAllOptionalControlsHidden:B,deregisterPanelItem:Z,deregisterResetAllFilter:W,firstDisplayedItem:N,flagItemCustomization:I,hasMenuItems:F,isResetting:i.current,lastDisplayedItem:S,menuItems:x,panelId:d,registerPanelItem:H,registerResetAllFilter:R,shouldRenderPlaceholderItems:o,__experimentalFirstVisibleItemClass:n,__experimentalLastVisibleItemClass:G}),[B,Z,W,N,I,S,x,d,F,R,H,o,n,G]);return{...X,headingLevel:t,panelContext:D,resetAllItems:C,toggleItem:Y,className:y}}var nr=u(V(),1),qZc=(c,l)=>{let{children:t,label:e,panelContext:d,resetAllItems:b,toggleItem:o,headingLevel:n,dropdownMenuProps:G,...X}=V8(c);return(0,nr.jsx)(an,{...X,columns:2,ref:l,children:(0,nr.jsxs)(Ui.Provider,{value:d,children:[(0,nr.jsx)(Rh,{label:e,resetAll:b,toggleItem:o,headingLevel:n,dropdownMenuProps:G}),t]})})},$Zc=tc(qZc,"ToolsPanel"),u5=$Zc;var Wh=u(ec(),1),pb=u(h(),1);var cHc=()=>{};function C8(c){let{className:l,hasValue:t,isShownByDefault:e=!1,label:d,panelId:b,resetAllFilter:o=cHc,onDeselect:n,onSelect:G,...X}=$(c,"ToolsPanelItem"),{panelId:i,menuItems:a,registerResetAllFilter:m,deregisterResetAllFilter:x,registerPanelItem:s,deregisterPanelItem:g,flagItemCustomization:r,isResetting:H,shouldRenderPlaceholderItems:Z,firstDisplayedItem:R,lastDisplayedItem:W,__experimentalFirstVisibleItemClass:I,__experimentalLastVisibleItemClass:B}=a5(),p=(0,pb.useCallback)(t,[b]),y=(0,pb.useCallback)(o,[b]),Y=(0,Wh.usePrevious)(i),C=i===b||i===null;(0,pb.useLayoutEffect)(()=>(C&&Y!==null&&s({hasValue:p,isShownByDefault:e,label:d,panelId:b}),()=>{(Y===null&&i||i===b)&&g(d)}),[i,C,e,d,p,b,Y,s,g]),(0,pb.useEffect)(()=>(C&&m(y),()=>{C&&x(y)}),[m,x,y,C]);let J=e?"default":"optional",N=a?.[J]?.[d],S=(0,Wh.usePrevious)(N),F=a?.[J]?.[d]!==void 0,D=t();(0,pb.useEffect)(()=>{!e&&!D||r(D,d,J)},[D,J,d,r,e]),(0,pb.useEffect)(()=>{!F||H||!C||(N&&!D&&!S&&G?.(),!N&&D&&S&&n?.())},[C,N,F,H,D,S,G,n]);let L=e?a?.[J]?.[d]!==void 0:N,v=Xc(),T=(0,pb.useMemo)(()=>{let k=Z&&!L;return v(Z8,k&&H8,!k&&l,R===d&&I,W===d&&B)},[L,Z,l,v,R,W,I,B,d]);return{...X,isShown:L,shouldRenderPlaceholder:Z,className:T}}var ph=u(V(),1),lHc=(c,l)=>{let{children:t,isShown:e,shouldRenderPlaceholder:d,...b}=C8(c);return e?(0,ph.jsx)(ic,{...b,ref:l,children:t}):d?(0,ph.jsx)(ic,{...b,ref:l}):null},tHc=tc(lHc,"ToolsPanelItem"),m5=tHc;var D8=u(r0(),1),r5=u(h(),1),hl=u(UI(),1);var s5=u(h(),1);var x5=u(h(),1),Bh=(0,x5.createContext)(void 0);Bh.displayName="RovingTabIndexContext";var J8=()=>(0,x5.useContext)(Bh),Y8=Bh.Provider;var h8=u(V(),1);function F8({children:c}){let[l,t]=(0,s5.useState)(),e=(0,s5.useMemo)(()=>({lastFocusedElement:l,setLastFocusedElement:t}),[l]);return(0,h8.jsx)(Y8,{value:e,children:c})}var ir=u(V(),1);var v8=u(h(),1),N8=u(V(),1);function eHc({children:c,level:l,positionInSet:t,setSize:e,isExpanded:d,...b},o){return(0,N8.jsx)("tr",{...b,ref:o,role:"row","aria-level":l,"aria-posinset":t,"aria-setsize":e,"aria-expanded":d,children:c})}var f8=(0,v8.forwardRef)(eHc);f8.displayName="TreeGridRow";var yh=f8;var w8=u(h(),1);var A8=u(h(),1);var g5=u(h(),1);var S8=u(V(),1),k8=(0,g5.forwardRef)(function({children:l,as:t,...e},d){let b=(0,g5.useRef)(null),o=d||b,{lastFocusedElement:n,setLastFocusedElement:G}=J8(),X;n&&(X=n===("current"in o?o.current:void 0)?0:-1);let a={ref:o,tabIndex:X,onFocus:m=>G?.(m.target),...e};return typeof l=="function"?l(a):t?(0,S8.jsx)(t,{...a,children:l}):null});k8.displayName="RovingTabIndexItem";var z8=k8;var O8=u(V(),1);function dHc({children:c,...l},t){return(0,O8.jsx)(z8,{ref:t,...l,children:c})}var Q8=(0,A8.forwardRef)(dHc);Q8.displayName="TreeGridItem";var Gr=Q8;var K0=u(V(),1);function bHc({children:c,withoutGridItem:l=!1,...t},e){return(0,K0.jsx)("td",{...t,role:"gridcell",children:l?(0,K0.jsx)(K0.Fragment,{children:typeof c=="function"?c({...t,ref:e}):c}):(0,K0.jsx)(Gr,{ref:e,children:c})})}var T8=(0,w8.forwardRef)(bHc);T8.displayName="TreeGridCell";var Vh=T8;function Xr(c){return D8.focus.focusable.find(c,{sequential:!0}).filter(t=>t.closest('[role="row"]')===c)}function oHc({children:c,onExpandRow:l=()=>{},onCollapseRow:t=()=>{},onFocusRow:e=()=>{},applicationAriaLabel:d,...b},o){let n=(0,r5.useCallback)(G=>{let{keyCode:X,metaKey:i,ctrlKey:a,altKey:m}=G;if(i||a||m||![hl.UP,hl.DOWN,hl.LEFT,hl.RIGHT,hl.HOME,hl.END].includes(X))return;G.stopPropagation();let{activeElement:s}=document,{currentTarget:g}=G;if(!s||!g.contains(s))return;let r=s.closest('[role="row"]');if(!r)return;let H=Xr(r),Z=H.indexOf(s),R=Z===0,W=R&&(r.getAttribute("data-expanded")==="false"||r.getAttribute("aria-expanded")==="false")&&X===hl.RIGHT;if([hl.LEFT,hl.RIGHT].includes(X)){let I;if(X===hl.LEFT?I=Math.max(0,Z-1):I=Math.min(Z+1,H.length-1),R){if(X===hl.LEFT){if(r.getAttribute("data-expanded")==="true"||r.getAttribute("aria-expanded")==="true"){t(r),G.preventDefault();return}let B=Math.max(parseInt(r?.getAttribute("aria-level")??"1",10)-1,1),p=Array.from(g.querySelectorAll('[role="row"]')),y=r,Y=p.indexOf(r);for(let C=Y;C>=0;C--){let J=p[C].getAttribute("aria-level");if(J!==null&&parseInt(J,10)===B){y=p[C];break}}Xr(y)?.[0]?.focus()}if(X===hl.RIGHT){if(r.getAttribute("data-expanded")==="false"||r.getAttribute("aria-expanded")==="false"){l(r),G.preventDefault();return}let B=Xr(r);B.length>0&&B[I]?.focus()}G.preventDefault();return}if(W)return;H[I].focus(),G.preventDefault()}else if([hl.UP,hl.DOWN].includes(X)){let I=Array.from(g.querySelectorAll('[role="row"]')),B=I.indexOf(r),p;if(X===hl.UP?p=Math.max(0,B-1):p=Math.min(B+1,I.length-1),p===B){G.preventDefault();return}let y=Xr(I[p]);if(!y||!y.length){G.preventDefault();return}let Y=Math.min(Z,y.length-1);y[Y].focus(),e(G,r,I[p]),G.preventDefault()}else if([hl.HOME,hl.END].includes(X)){let I=Array.from(g.querySelectorAll('[role="row"]')),B=I.indexOf(r),p;if(X===hl.HOME?p=0:p=I.length-1,p===B){G.preventDefault();return}let y=Xr(I[p]);if(!y||!y.length){G.preventDefault();return}let Y=Math.min(Z,y.length-1);y[Y].focus(),e(G,r,I[p]),G.preventDefault()}},[l,t,e]);return(0,ir.jsx)(F8,{children:(0,ir.jsx)("div",{role:"application","aria-label":d,children:(0,ir.jsx)("table",{...b,role:"treegrid",onKeyDown:n,ref:o,children:(0,ir.jsx)("tbody",{children:c})})})})}var U8=(0,r5.forwardRef)(oHc);U8.displayName="TreeGrid";var L8=U8;var j8=u(h(),1),E8=u(Xl(),1),M8=u(V(),1);function nHc(c){c.stopPropagation()}var GHc=(0,j8.forwardRef)((c,l)=>((0,E8.default)("wp.components.IsolatedEventContainer",{since:"5.7"}),(0,M8.jsx)("div",{...c,ref:l,onMouseDown:nHc}))),P8=GHc;var _8=u(h(),1);var Ch=f("div",{target:"ebn2ljm1"})("&:not( :first-of-type ){",({offsetAmount:c})=>A({marginInlineStart:c},"",""),";}",({zIndex:c})=>A({zIndex:c},"",""),";"),XHc={name:"rs0gp6",styles:"grid-row-start:1;grid-column-start:1"},K8=f("div",{target:"ebn2ljm0"})("display:inline-grid;grid-auto-flow:column;position:relative;&>",Ch,"{position:relative;justify-self:start;",({isLayered:c})=>c?XHc:void 0,";}");var Jh=u(V(),1);function iHc(c,l){let{children:t,className:e,isLayered:d=!0,isReversed:b=!1,offset:o=0,...n}=$(c,"ZStack"),G=OI(t),X=G.length-1,i=G.map((a,m)=>{let x=b?X-m:m,s=d?o*m:o,g=(0,_8.isValidElement)(a)?a.key:m;return(0,Jh.jsx)(Ch,{offsetAmount:s,zIndex:x,children:a},g)});return(0,Jh.jsx)(K8,{...n,className:e,isLayered:d,ref:l,children:i})}var aHc=tc(iHc,"ZStack"),Yh=aHc;var Z5=u(h(),1),_0=u(ec(),1),hh=u(UI(),1),Fh=u(V(),1),uHc={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"ctrlShift",character:"~"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function vh(c=uHc){let l=(0,Z5.useRef)(null),[t,e]=(0,Z5.useState)(!1);function d(o){let n=Array.from(l.current?.querySelectorAll('[role="region"][tabindex="-1"]')??[]);if(!n.length)return;let G=n[0],X=l.current?.ownerDocument?.activeElement?.closest('[role="region"][tabindex="-1"]'),i=X?n.indexOf(X):-1;if(i!==-1){let a=i+o;a=a===-1?n.length-1:a,a=a===n.length?0:a,G=n[a]}G.focus(),e(!0)}let b=(0,_0.useRefEffect)(o=>{function n(){e(!1)}return o.addEventListener("click",n),()=>{o.removeEventListener("click",n)}},[e]);return{ref:(0,_0.useMergeRefs)([l,b]),className:t?"is-focusing-regions":"",onKeyDown(o){c.previous.some(({modifier:n,character:G})=>hh.isKeyboardEvent[n](o,G))?d(-1):c.next.some(({modifier:n,character:G})=>hh.isKeyboardEvent[n](o,G))&&d(1)}}}var q8=(0,_0.createHigherOrderComponent)(c=>function({shortcuts:t,...e}){return(0,Fh.jsx)("div",{...vh(t),children:(0,Fh.jsx)(c,{...e})})},"navigateRegions");var H5=u(ec(),1),Nh=u(V(),1),mHc=(0,H5.createHigherOrderComponent)(c=>function(t){let e=(0,H5.useConstrainedTabbing)();return(0,Nh.jsx)("div",{ref:e,tabIndex:-1,children:(0,Nh.jsx)(c,{...t})})},"withConstrainedTabbing"),$8=mHc;var cq=u(vR(),1),lq=u(h(),1),tq=u(ec(),1),R5=u(V(),1),eq=c=>(0,tq.createHigherOrderComponent)(l=>class extends lq.Component{constructor(e){super(e),this.nodeRef=this.props.node,this.state={fallbackStyles:void 0,grabStylesCompleted:!1},this.bindRef=this.bindRef.bind(this)}bindRef(e){e&&(this.nodeRef=e)}componentDidMount(){this.grabFallbackStyles()}componentDidUpdate(){this.grabFallbackStyles()}grabFallbackStyles(){let{grabStylesCompleted:e,fallbackStyles:d}=this.state;if(this.nodeRef&&!e){let b=c(this.nodeRef,this.props);(0,cq.default)(b,d)||this.setState({fallbackStyles:b,grabStylesCompleted:Object.values(b).every(Boolean)})}}render(){let e=(0,R5.jsx)(l,{...this.props,...this.state.fallbackStyles});return this.props.node?e:(0,R5.jsxs)("div",{ref:this.bindRef,children:[" ",e," "]})}},"withFallbackStyles");var oq=u(h(),1),Jn=u(bq(),1),I5=u(ec(),1),nq=u(V(),1),xHc=16;function Gq(c){return(0,I5.createHigherOrderComponent)(l=>{let t="core/with-filters/"+c,e;function d(){e===void 0&&(e=(0,Jn.applyFilters)(c,l))}class b extends oq.Component{constructor(X){super(X),d()}componentDidMount(){b.instances.push(this),b.instances.length===1&&((0,Jn.addAction)("hookRemoved",t,n),(0,Jn.addAction)("hookAdded",t,n))}componentWillUnmount(){b.instances=b.instances.filter(X=>X!==this),b.instances.length===0&&((0,Jn.removeAction)("hookRemoved",t),(0,Jn.removeAction)("hookAdded",t))}render(){return(0,nq.jsx)(e,{...this.props})}}b.instances=[];let o=(0,I5.debounce)(()=>{e=(0,Jn.applyFilters)(c,l),b.instances.forEach(G=>{G.forceUpdate()})},xHc);function n(G){G===c&&o()}return b},"withFilters")}var Xq=u(h(),1),W5=u(ec(),1),iq=u(Xl(),1),fh=u(V(),1);function sHc(c){return c instanceof Xq.Component||typeof c=="function"}var aq=(0,W5.createHigherOrderComponent)(c=>{let l=({onFocusReturn:t}={})=>e=>b=>{let o=(0,W5.useFocusReturn)(t);return(0,fh.jsx)("div",{ref:o,children:(0,fh.jsx)(e,{...b})})};if(sHc(c)){let t=c;return l()(t)}return l(c)},"withFocusReturn"),uq=({children:c})=>((0,iq.default)("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),c);var q0=u(h(),1),mq=u(ec(),1);var p5=u(V(),1),xq=(0,mq.createHigherOrderComponent)(c=>{function l(d,b){let[o,n]=(0,q0.useState)([]),G=(0,q0.useMemo)(()=>{let i=a=>{let m=a.id?a:{...a,id:Du()};n(x=>[...x,m])};return{createNotice:i,createErrorNotice:a=>{i({status:"error",content:a})},removeNotice:a=>{n(m=>m.filter(x=>x.id!==a))},removeAllNotices:()=>{n([])}}},[]),X={...d,noticeList:o,noticeOperations:G,noticeUI:o.length>0&&(0,p5.jsx)(YB,{className:"components-with-notices-ui",notices:o,onRemove:G.removeNotice})};return t?(0,p5.jsx)(c,{...X,ref:b}):(0,p5.jsx)(c,{...X})}let t,{render:e}=c;return typeof e=="function"?(t=!0,(0,q0.forwardRef)(l)):l},"withNotices");var O5=u(h(),1),Tq=u(bc(),1);var sq=u(h(),1),gl=(0,sq.createContext)(void 0);gl.displayName="MenuContext";var V5=u(h(),1);var gq=z(1),gHc=z(1),Sh=z(3),rHc=w.theme.gray[300],ZHc=w.theme.gray[200],kh=w.theme.gray[700],HHc=w.theme.gray[100],rq=w.theme.foreground,RHc=`0 0 0 ${Q.borderWidth} ${rHc}, ${Q.elevationMedium}`,IHc=`0 0 0 ${Q.borderWidth} ${rq}`,Zq="minmax( 0, max-content ) 1fr",Li=f(JZ,{target:"e1wg7tti15"})({name:"1xd6ev0",styles:"position:relative;z-index:1000000;outline:2px solid transparent!important"}),wd=f("div",{target:"e1wg7tti14"})("display:grid;grid-template-columns:",Zq,";grid-template-rows:auto;box-sizing:border-box;min-width:160px;max-width:320px;max-height:var( --popover-available-height );padding:",gq,";overscroll-behavior:contain;overflow:auto;background-color:",w.ui.background,";border-radius:",Q.radiusMedium,";",c=>A("box-shadow:",c.variant==="toolbar"?IHc:RHc,";",""),";"),Hq=f("div",{target:"e1wg7tti13"})("@media not ( prefers-reduced-motion ){transition-property:transform,opacity;transition-duration:",wt.SLIDE_DURATION,",",wt.FADE_DURATION,";transition-timing-function:",wt.SLIDE_EASING,",",wt.FADE_EASING,";will-change:transform,opacity;&:not( :has( > ",wd,"[data-submenu] ) ){opacity:0;&:has( > ",wd,"[data-enter] ){opacity:1;}&:has( > ",wd,`[data-side='bottom'] ){transform:translateY( | |
| 101 | - -`,wt.SLIDE_DISTANCE,` | |
| 102 | - );}&:has( > `,wd,`[data-side='top'] ){transform:translateY( | |
| 103 | - `,wt.SLIDE_DISTANCE,` | |
| 104 | - );}&:has( > `,wd,`[data-side='left'] ){transform:translateX( | |
| 105 | - `,wt.SLIDE_DISTANCE,` | |
| 106 | - );}&:has( > `,wd,`[data-side='right'] ){transform:translateX( | |
| 107 | - -`,wt.SLIDE_DISTANCE,` | |
| 108 | - );}&:has( > `,wd,"[data-enter][data-side='bottom'] ),&:has( > ",wd,"[data-enter][data-side='top'] ){transform:translateY( 0 );}&:has( > ",wd,"[data-enter][data-side='left'] ),&:has( > ",wd,"[data-enter][data-side='right'] ){transform:translateX( 0 );}}}"),zh=A("all:unset;cursor:pointer;position:relative;min-height:",z(8),";box-sizing:border-box;grid-column:1/-1;display:grid;grid-template-columns:",Zq,";align-items:center;@supports ( grid-template-columns: subgrid ){grid-template-columns:subgrid;}font-size:",vl("default.fontSize"),";font-family:inherit;font-weight:normal;line-height:20px;color:",w.theme.foreground,";border-radius:",Q.radiusSmall,";padding-block:",gHc,";padding-inline:",Sh,";scroll-margin:",gq,";user-select:none;outline:none;&[aria-disabled='true']{color:",w.ui.textDisabled,`;}&[data-active-item]:not( [data-focus-visible] ):not( | |
| 138 | +`;function Bie({html:e,title:t,type:c,styles:n,scripts:l,lang:o}){let d=(0,il.jsxs)("html",{lang:o,className:c,children:[(0,il.jsxs)("head",{children:[(0,il.jsx)("title",{children:t}),(0,il.jsx)("style",{dangerouslySetInnerHTML:{__html:ZCe}}),n.map((i,r)=>(0,il.jsx)("style",{dangerouslySetInnerHTML:{__html:i}},r)),(0,il.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${ICe.toString()})();`}})]}),(0,il.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:c,children:[(0,il.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),l.map(i=>(0,il.jsx)("script",{src:i},i))]})]});return"<!DOCTYPE html>"+(0,Rn.renderToString)(d)}function fCe({html:e="",title:t="",type:c,styles:n=[],scripts:l=[],onFocus:o,tabIndex:d,allowPopups:i=!1,allowForms:r=!1}){let a=(0,Rn.useRef)(null),[s,b]=(0,Rn.useState)(0),[m,X]=(0,Rn.useState)(0),G=w("allow-scripts","allow-presentation",{"allow-popups":i,"allow-forms":r}),g=(0,Rn.useMemo)(()=>Bie({html:e,title:t,type:c,styles:n,scripts:l,lang:document.documentElement.lang}),[e,t,c,n,l]);return(0,Rn.useEffect)(()=>{let x=a.current;if(!x)return;function H(I){if(!x||x.contentWindow!==I.source)return;let f=I.data||{};if(typeof f=="string")try{f=JSON.parse(f)}catch{}f.action==="resize"&&(b(f.width),X(f.height))}let p=null;function R(){let I=x?.ownerDocument?.defaultView??null;I!==p&&(p?.removeEventListener("message",H),p=I,p?.addEventListener("message",H))}return R(),x.addEventListener("load",R),()=>{x.removeEventListener("load",R),p?.removeEventListener("message",H)}},[]),(0,il.jsx)("iframe",{ref:(0,wX.useMergeRefs)([a,(0,wX.useFocusableIframe)()]),title:t,tabIndex:d,className:"components-sandbox",sandbox:G,srcDoc:g,onFocus:o,width:Math.ceil(s),height:Math.ceil(m)})}function yCe({html:e="",title:t="",type:c,styles:n=[],scripts:l=[],onFocus:o,tabIndex:d,allowPopups:i=!1,allowForms:r=!1}){let a=(0,Rn.useRef)(null),[s,b]=(0,Rn.useState)(0),[m,X]=(0,Rn.useState)(0),G=w("allow-scripts","allow-same-origin","allow-presentation",{"allow-popups":i,"allow-forms":r});function g(){try{return!!a.current?.contentDocument?.body}catch{return!1}}function x(H=!1){if(!g())return;let{contentDocument:p,ownerDocument:R}=a.current;!H&&p?.body.getAttribute("data-resizable-iframe-connected")!==null||(p.open(),p.write(Bie({html:e,title:t,type:c,styles:n,scripts:l,lang:R.documentElement.lang})),p.close())}return(0,Rn.useEffect)(()=>{x();function H(){x(!1)}function p(f){let y=a.current;if(!y||y.contentWindow!==f.source)return;let Z=f.data||{};if(typeof Z=="string")try{Z=JSON.parse(Z)}catch{}Z.action==="resize"&&(b(Z.width),X(Z.height))}let R=a.current,I=R?.ownerDocument?.defaultView;return R?.addEventListener("load",H,!1),I?.addEventListener("message",p),()=>{R?.removeEventListener("load",H,!1),I?.removeEventListener("message",p)}},[]),(0,Rn.useEffect)(()=>{x()},[t,n,l]),(0,Rn.useEffect)(()=>{x(!0)},[e,c]),(0,il.jsx)("iframe",{ref:(0,wX.useMergeRefs)([a,(0,wX.useFocusableIframe)()]),title:t,tabIndex:d,className:"components-sandbox",sandbox:G,onFocus:o,width:Math.ceil(s),height:Math.ceil(m)})}function WCe({allowSameOrigin:e=!1,...t}){return e?(0,il.jsx)(yCe,{...t}):(0,il.jsx)(fCe,{...t})}var vie=WCe;var k1=u(me(),1),qp=u(Ze(),1);var z1=u(T(),1),Cie=u(Xt(),1);var su=u(F(),1),JS="data-wp-hash";function YS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&BCe(document)),e.__wpStyleRuntime}function hCe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${JS}]`))if(c.getAttribute(JS)===t)return!0;return!1}function Fie(e,t,c){if(!e.head)return;let n=YS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(hCe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(JS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function BCe(e){let t=YS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Fie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function vCe(e,t){let c=YS();c.styles.set(e,t);for(let n of c.documents.keys())Fie(n,e,t)}typeof process>"u",vCe("77f847972d","._5e6152f7430df331__input input[type=search]::-webkit-search-cancel-button,._5e6152f7430df331__input input[type=search]::-webkit-search-decoration,._5e6152f7430df331__input input[type=search]::-webkit-search-results-button,._5e6152f7430df331__input input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}._9a856163f1b1aaae__icon:dir(ltr){transform:scaleX(-1)}");var Vie={input:"_5e6152f7430df331__input",icon:"_9a856163f1b1aaae__icon"};function VCe({searchRef:e,onChange:t,onClose:c}){c&&(0,Cie.default)("`onClose` prop in wp.components.SearchControl",{since:"6.8"});let n=()=>{t(""),e.current?.focus()};return(0,su.jsx)(pC,{variant:"control",children:(0,su.jsx)(be,{size:"small",icon:Di,label:c?(0,qp.__)("Close search"):(0,qp.__)("Reset search"),onClick:c??n})})}function CCe({__nextHasNoMarginBottom:e,__next40pxDefaultSize:t,className:c,onChange:n,value:l,label:o=(0,qp.__)("Search"),placeholder:d=(0,qp.__)("Search"),hideLabelFromVision:i=!0,onClose:r,size:a="default",...s},b){let{disabled:m,...X}=s,G=(0,z1.useRef)(null),g=(0,k1.useInstanceId)(NS,"components-search-control"),x=!!r||!!l;return(0,su.jsx)(_d,{id:g,hideLabelFromVision:i,label:o,ref:(0,k1.useMergeRefs)([G,b]),type:"search",size:a,className:w(Vie.input,"components-search-control",c),onChange:H=>n(H??""),autoComplete:"off",placeholder:d,value:l??"",prefix:(0,su.jsx)(xC,{variant:"icon",children:(0,su.jsx)(Ot,{className:Vie.icon,icon:JV,fill:"currentColor"})}),suffix:x&&(0,su.jsx)(VCe,{searchRef:G,onChange:n,onClose:r}),...X})}var NS=(0,z1.forwardRef)(CCe);NS.displayName="SearchControl";var Jie=NS;var Yie=u(Md(),1),pd=u(T(),1),SS=u(Ze(),1),_Et=u(En(),1);var Xs=u(F(),1),FCe=6e3;function JCe(e,t){let c=typeof e=="string"?e:(0,pd.renderToString)(e);(0,pd.useEffect)(()=>{c&&(0,Yie.speak)(c,t)},[c,t])}function YCe({className:e,children:t,spokenMessage:c=t,politeness:n="polite",actions:l=[],onRemove:o,icon:d=null,explicitDismiss:i=!1,onDismiss:r,listRef:a},s){let b=X2();function m(H){H&&H.preventDefault&&H.preventDefault(),a?.current?.focus(),r?.(),o?.()}function X(H,p){H.stopPropagation(),o?.(),p&&p(H)}JCe(c,n);let G=(0,pd.useRef)({onDismiss:r,onRemove:o});(0,pd.useLayoutEffect)(()=>{G.current={onDismiss:r,onRemove:o}}),(0,pd.useEffect)(()=>{if(i||!b)return;let H=setTimeout(()=>{G.current.onDismiss?.(),G.current.onRemove?.()},FCe);return()=>clearTimeout(H)},[i,b]);let g=w(e,"components-snackbar",{"components-snackbar-explicit-dismiss":!!i});l&&l.length>1&&(l=[l[0]]);let x=w("components-snackbar__content",{"components-snackbar__content-with-icon":!!d});return(0,Xs.jsx)("div",{ref:s,className:g,onClick:i?void 0:m,tabIndex:0,role:i?void 0:"button",onKeyPress:i?void 0:m,"aria-label":i?void 0:(0,SS.__)("Dismiss this notice"),"data-testid":"snackbar",children:(0,Xs.jsxs)("div",{className:x,children:[d&&(0,Xs.jsx)("div",{className:"components-snackbar__icon",children:d}),t,l.map(({label:H,onClick:p,url:R,openInNewTab:I=!1},f)=>R!==void 0&&I?(0,Xs.jsx)(qh,{href:R,onClick:y=>X(y,p),className:"components-snackbar__action",children:H},f):(0,Xs.jsx)(be,{__next40pxDefaultSize:!0,href:R,variant:"link",onClick:y=>X(y,p),className:"components-snackbar__action",children:H},f)),i&&(0,Xs.jsx)("span",{role:"button","aria-label":(0,SS.__)("Dismiss this notice"),tabIndex:0,className:"components-snackbar__dismiss-button",onClick:m,onKeyPress:m,children:"\u2715"})]})})}var Nie=(0,pd.forwardRef)(YCe);Nie.displayName="Snackbar";var T1=Nie;var Sie=u(me(),1),wie=u(T(),1);var bu=u(F(),1),NCe={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{type:"tween",duration:.3,ease:[0,0,.2,1]},opacity:{type:"tween",duration:.25,delay:.05,ease:[0,0,.2,1]}}},exit:{opacity:0,transition:{type:"tween",duration:.1,ease:[0,0,.2,1]}}};function SCe({notices:e,className:t,children:c,onRemove:n}){let l=(0,wie.useRef)(null),o=(0,Sie.useReducedMotion)();t=w("components-snackbar-list",t);let d=i=>()=>n?.(i.id);return(0,bu.jsxs)("div",{className:t,tabIndex:-1,ref:l,"data-testid":"snackbar-list",children:[c,(0,bu.jsx)(sm,{children:e.map(i=>{let{content:r,...a}=i;return(0,bu.jsx)(oa.div,{layout:o?!1:"position",style:{width:"100%"},initial:"init",animate:"open",exit:"exit",variants:o?void 0:NCe,children:(0,bu.jsx)("div",{className:"components-snackbar-list__notice-container",children:(0,bu.jsx)(T1,{...a,onRemove:d(i),listRef:l,children:i.content})})},i.id)})})]})}var kie=SCe;var zie=u(Xt(),1);function wCe(e,t){return(0,zie.default)("wp.components.__experimentalScrollable",{since:"7.2",version:"7.4"}),oJ(e,t)}var kCe=ie(wCe,"Scrollable"),Tie=kCe;var Hi=u(T(),1),A1=u(me(),1),Oie=u(Ze(),1);var uu=u(F(),1),Aie=e=>{if(!(typeof e>"u"||e===null))return e.match(/^tab-panel-[0-9]*-(.*)/)?.[1]},zCe=({className:e,children:t,tabs:c,selectOnMove:n=!0,initialTabName:l,orientation:o="horizontal",activeClass:d="is-active",onSelect:i},r)=>{let a=(0,A1.useInstanceId)(wS,"tab-panel"),s=(0,Hi.useCallback)(x=>{if(!(typeof x>"u"))return`${a}-${x}`},[a]),b=Ou({setSelectedId:x=>{if(typeof x>"u"||x===null)return;let H=c.find(R=>s(R.name)===x);if(H?.disabled||H===G)return;let p=Aie(x);typeof p>"u"||i?.(p)},orientation:o,selectOnMove:n,defaultSelectedId:s(l),rtl:(0,Oie.isRTL)()}),m=Aie($(b,"selectedId")),X=(0,Hi.useCallback)(x=>{b.setState("selectedId",s(x))},[s,b]),G=c.find(({name:x})=>x===m),g=(0,A1.usePrevious)(m);return(0,Hi.useEffect)(()=>{g!==m&&m===l&&m&&i?.(m)},[m,l,i,g]),(0,Hi.useLayoutEffect)(()=>{if(G)return;let x=c.find(H=>H.name===l);if(!(l&&!x))if(x&&!x.disabled)X(x.name);else{let H=c.find(p=>!p.disabled);H&&X(H.name)}},[c,G,l,a,X]),(0,Hi.useEffect)(()=>{if(!G?.disabled)return;let x=c.find(H=>!H.disabled);x&&X(x.name)},[c,G?.disabled,X,a]),(0,uu.jsxs)("div",{className:e,ref:r,children:[(0,uu.jsx)(wu,{store:b,className:"components-tab-panel__tabs",children:c.map(x=>(0,uu.jsx)(Nu,{id:s(x.name),className:w("components-tab-panel__tabs-item",x.className,{[d]:x.name===m}),disabled:x.disabled,"aria-controls":`${s(x.name)}-view`,render:(0,uu.jsx)(be,{__next40pxDefaultSize:!0,icon:x.icon,label:x.icon&&x.title,showTooltip:!!x.icon}),children:!x.icon&&x.title},x.name))}),G&&(0,uu.jsx)(zu,{id:`${s(G.name)}-view`,store:b,tabId:s(G.name),className:"components-tab-panel__tab-content",children:t(G)})]})},wS=(0,Hi.forwardRef)(zCe);wS.displayName="TabPanel";var Qie=wS;var Uie=u(me(),1),Eie=u(T(),1);var kS=u(F(),1);function TCe(e,t){let{__nextHasNoMarginBottom:c,__next40pxDefaultSize:n,label:l,hideLabelFromVision:o,value:d,help:i,id:r,className:a,onChange:s,type:b="text",...m}=e,X=(0,Uie.useInstanceId)(zS,"inspector-text-control",r);return(0,kS.jsx)(at,{label:l,hideLabelFromVision:o,id:X,help:i,className:a,children:(0,kS.jsx)("input",{className:"components-text-control__input",type:b,id:X,value:d,onChange:g=>s(g.target.value),"aria-describedby":i?X+"__help":void 0,ref:t,...m})})}var zS=(0,Eie.forwardRef)(TCe);zS.displayName="TextControl";var Lie=zS;var Die=u(me(),1),_ie=u(T(),1);var AS=u(F(),1),TS="data-wp-hash";function OS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&OCe(document)),e.__wpStyleRuntime}function ACe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${TS}]`))if(c.getAttribute(TS)===t)return!0;return!1}function jie(e,t,c){if(!e.head)return;let n=OS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(ACe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(TS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function OCe(e){let t=OS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)jie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function QCe(e,t){let c=OS();c.styles.set(e,t);for(let n of c.documents.keys())jie(n,e,t)}typeof process>"u",QCe("6bf0085cf4",".aa08a6e706634925__textarea{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));display:block;font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;resize:vertical;width:100%}@media (min-width:600px){.aa08a6e706634925__textarea{font-size:13px;line-height:normal}}.aa08a6e706634925__textarea:hover:not(:disabled,[aria-disabled=true]){border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}.aa08a6e706634925__textarea:focus{border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);box-shadow:none;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}.aa08a6e706634925__textarea::placeholder{color:rgba(30,30,30,.62)}.aa08a6e706634925__textarea{line-height:20px;min-height:38px;padding:9px 11px}.aa08a6e706634925__textarea:disabled{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}.aa08a6e706634925__textarea::-webkit-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%)}.aa08a6e706634925__textarea::-moz-placeholder{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%)}.aa08a6e706634925__textarea:-ms-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%)}.is-dark-theme .aa08a6e706634925__textarea::-webkit-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff)),transparent 35%)}.is-dark-theme .aa08a6e706634925__textarea::-moz-placeholder{color:color-mix(in srgb,var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff)),transparent 35%)}.is-dark-theme .aa08a6e706634925__textarea:-ms-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff)),transparent 35%)}.aa08a6e706634925__textarea:disabled::placeholder{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}");var UCe={textarea:"aa08a6e706634925__textarea"};function ECe(e,t){let{__nextHasNoMarginBottom:c,label:n,hideLabelFromVision:l,value:o,help:d,onChange:i,rows:r=4,className:a,...s}=e,m=`inspector-textarea-control-${(0,Die.useInstanceId)(QS)}`,X=g=>i(g.target.value),G=w("components-textarea-control",a);return(0,AS.jsx)(at,{label:n,hideLabelFromVision:l,id:m,help:d,className:G,children:(0,AS.jsx)("textarea",{className:w("components-textarea-control__input",UCe.textarea),id:m,rows:r,onChange:X,"aria-describedby":d?m+"__help":void 0,value:o,ref:t,...s})})}var QS=(0,_ie.forwardRef)(ECe);QS.displayName="TextareaControl";var O1=QS;var Mie=u(T(),1);var $p=u(F(),1),Pie=e=>{let{text:t="",highlight:c=""}=e,n=c.trim();if(!n)return(0,$p.jsx)($p.Fragment,{children:t});let l=new RegExp(`(${gb(n)})`,"gi");return(0,Mie.createInterpolateElement)(t.replace(l,"<mark>$&</mark>"),{mark:(0,$p.jsx)("mark",{})})};Pie.displayName="TextHighlight";var Kie=Pie;var eR=u(F(),1);function LCe(e){let{children:t}=e;return(0,eR.jsxs)("div",{className:"components-tip",children:[(0,eR.jsx)(Kc,{icon:wV}),(0,eR.jsx)("p",{children:t})]})}var qie=LCe;var $ie=u(T(),1),ere=u(me(),1);var mu=u(F(),1);function DCe({label:e,checked:t,help:c,className:n,onChange:l,disabled:o,__nextHasNoMarginBottom:d,...i},r){function a(G){l(G.target.checked)}let b=`inspector-toggle-control-${(0,ere.useInstanceId)(US)}`,m,X;return c&&(typeof c=="function"?t!==void 0&&(X=c(t)):X=c,X&&(m=b+"__help")),(0,mu.jsx)(at,{id:b,help:X&&(0,mu.jsx)("span",{className:"components-toggle-control__help",children:X}),className:w("components-toggle-control",n),children:(0,mu.jsxs)(xt,{justify:"flex-start",spacing:2,children:[(0,mu.jsx)(n1,{id:b,checked:t,onChange:a,"aria-describedby":m,disabled:o,ref:r,...i}),(0,mu.jsx)(Pn,{as:"label",htmlFor:b,className:w("components-toggle-control__label",{"is-disabled":o}),children:e})]})})}var US=(0,$ie.forwardRef)(DCe);US.displayName="ToggleControl";var tre=US;var D1=u(T(),1),xre=u(Xt(),1);var ure=u(T(),1);var E1=u(T(),1);var U1=u(T(),1),yLt=u(En(),1);var cre=u(T(),1),nre=(0,cre.createContext)(void 0);nre.displayName="ToolbarContext";var rl=nre;var Q1=u(F(),1);function _Ce({children:e,as:t,...c},n){let l=(0,U1.useContext)(rl),o=typeof e=="function";if(!o&&!t)return null;let d={...c,ref:n,"data-toolbar-item":!0};return l?(0,Q1.jsx)(lH,{accessibleWhenDisabled:!0,...d,store:l,render:o?e:t&&(0,Q1.jsx)(t,{children:e})}):t?(0,Q1.jsx)(t,{...d,children:e}):o?e(d):null}var lre=(0,U1.forwardRef)(_Ce);lre.displayName="ToolbarItem";var Yr=lre;var ore=u(F(),1),jCe=({children:e,className:t})=>(0,ore.jsx)("div",{className:t,children:e}),dre=jCe;var tR=u(F(),1);function MCe({isDisabled:e,...t}){return{disabled:e,...t}}function PCe(e,t){let{children:c,className:n,containerClassName:l,extraProps:o,isActive:d,title:i,...r}=MCe(e);return(0,E1.useContext)(rl)?(0,tR.jsx)(Yr,{className:w("components-toolbar-button",n),...o,...r,ref:t,children:s=>(0,tR.jsx)(be,{size:"compact",label:i,isPressed:d,...s,children:c})}):(0,tR.jsx)(dre,{className:l,children:(0,tR.jsx)(be,{ref:t,icon:r.icon,size:"compact",label:i,shortcut:r.shortcut,"data-subscript":r.subscript,onClick:s=>{s.stopPropagation(),r.onClick&&r.onClick(s)},className:w("components-toolbar__control",n),isPressed:d,accessibleWhenDisabled:!0,"data-toolbar-item":!0,...o,...r,children:c})})}var ire=(0,E1.forwardRef)(PCe);ire.displayName="ToolbarButton";var cR=ire;var rre=u(F(),1),KCe=({className:e,children:t,...c})=>(0,rre.jsx)("div",{className:e,...c,children:t}),are=KCe;var sre=u(T(),1);var ES=u(F(),1);function qCe({controls:e=[],toggleProps:t,...c}){let n=(0,sre.useContext)(rl),l=o=>(0,ES.jsx)(hr,{controls:e,toggleProps:{...o,"data-toolbar-item":!0},...c});return n?(0,ES.jsx)(Yr,{...t,children:l}):l(t)}var bre=qCe;var nR=u(F(),1);function $Ce(e){return Array.isArray(e)&&Array.isArray(e[0])}function eFe({controls:e=[],children:t,className:c,isCollapsed:n,title:l,...o}){let d=(0,ure.useContext)(rl);if((!e||!e.length)&&!t)return null;let i=w(d?"components-toolbar-group":"components-toolbar",c),r;return $Ce(e)?r=e:r=[e],n?(0,nR.jsx)(bre,{label:l,controls:r,className:i,children:t,...o}):(0,nR.jsxs)(are,{className:i,...o,children:[r?.flatMap((a,s)=>a.map((b,m)=>(0,nR.jsx)(cR,{containerClassName:s>0&&m===0?"has-left-divider":void 0,...b},[s,m].join()))),t]})}var lR=eFe;var mre=u(T(),1),Xre=u(Ze(),1);var LS=u(F(),1);function tFe({label:e,...t},c){let n=Qu({focusLoop:!0,rtl:(0,Xre.isRTL)()});return(0,LS.jsx)(rl.Provider,{value:n,children:(0,LS.jsx)(nH,{ref:c,"aria-label":e,store:n,...t})})}var Gre=(0,mre.forwardRef)(tFe);Gre.displayName="ToolbarContainer";var gre=Gre;var L1=u(F(),1);function cFe({className:e,label:t,variant:c,...n},l){let o=c!==void 0,d=(0,D1.useMemo)(()=>o?{}:{DropdownMenu:{variant:"toolbar"},Dropdown:{variant:"toolbar"},Menu:{variant:"toolbar"}},[o]);if(!t){(0,xre.default)("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"});let{title:r,...a}=n;return(0,L1.jsx)(lR,{isCollapsed:!1,...a,className:e})}let i=w("components-accessible-toolbar",e,c&&`is-${c}`);return(0,L1.jsx)(ib,{value:d,children:(0,L1.jsx)(gre,{className:i,label:t,ref:l,...n})})}var pre=(0,D1.forwardRef)(cFe);pre.displayName="Toolbar";var DS=pre;var j1=u(T(),1);var _1=u(F(),1);function nFe(e,t){return(0,j1.useContext)(rl)?(0,_1.jsx)(Yr,{ref:t,...e.toggleProps,children:n=>(0,_1.jsx)(hr,{...e,popoverProps:{...e.popoverProps},toggleProps:n})}):(0,_1.jsx)(hr,{...e})}var Rre=(0,j1.forwardRef)(nFe);Rre.displayName="ToolbarDropdownMenu";var _S=Rre;var dR=u(Md(),1);var Bc=u(Ze(),1);var M1=u(T(),1),oR=()=>{},Xu=(0,M1.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:oR,deregisterPanelItem:oR,flagItemCustomization:oR,registerResetAllFilter:oR,deregisterResetAllFilter:oR,areAllOptionalControlsHidden:!0});Xu.displayName="ToolsPanelContext";var P1=()=>(0,M1.useContext)(Xu);var jS="data-wp-hash";function MS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&oFe(document)),e.__wpStyleRuntime}function lFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${jS}]`))if(c.getAttribute(jS)===t)return!0;return!1}function Hre(e,t,c){if(!e.head)return;let n=MS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(lFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(jS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function oFe(e){let t=MS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Hre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function dFe(e,t){let c=MS();c.styles.set(e,t);for(let n of c.documents.keys())Hre(n,e,t)}typeof process>"u",dFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var K1={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"};function Ire(e){let{className:t,headingLevel:c=2,...n}=ae(e,"ToolsPanelHeader"),{menuItems:l,hasMenuItems:o,areAllOptionalControlsHidden:d}=P1();return{...n,areAllOptionalControlsHidden:d,defaultControlsItemClassName:K1["default-controls-item"],dropdownMenuClassName:K1["dropdown-menu"],hasMenuItems:o,headingClassName:K1["tools-panel-heading"],headingLevel:c,menuItems:l,className:w(K1["tools-panel-header"],t)}}var hc=u(F(),1),PS="data-wp-hash";function KS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rFe(document)),e.__wpStyleRuntime}function iFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PS}]`))if(c.getAttribute(PS)===t)return!0;return!1}function Zre(e,t,c){if(!e.head)return;let n=KS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(iFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function rFe(e){let t=KS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Zre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function aFe(e,t){let c=KS();c.styles.set(e,t);for(let n of c.documents.keys())Zre(n,e,t)}typeof process>"u",aFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var sFe={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"},bFe=({itemClassName:e,items:t,toggleItem:c})=>{if(!t.length)return null;let n=(0,hc.jsx)("span",{"aria-hidden":!0,className:sFe["reset-label"],children:(0,Bc.__)("Reset")});return(0,hc.jsx)(hc.Fragment,{children:t.map(([l,o])=>o?(0,hc.jsx)(Vr,{className:e,role:"menuitem",label:(0,Bc.sprintf)((0,Bc.__)("Reset %s"),l),onClick:()=>{c(l),(0,dR.speak)((0,Bc.sprintf)((0,Bc.__)("%s reset to default"),l),"assertive")},suffix:n,children:l},l):(0,hc.jsx)(Vr,{icon:qc,className:e,role:"menuitemcheckbox",isSelected:!0,"aria-disabled":!0,children:l},l))})},uFe=({items:e,toggleItem:t})=>e.length?(0,hc.jsx)(hc.Fragment,{children:e.map(([c,n])=>{let l=n?(0,Bc.sprintf)((0,Bc.__)("Hide and reset %s"),c):(0,Bc.sprintf)((0,Bc._x)("Show %s","input control"),c);return(0,hc.jsx)(Vr,{icon:n?qc:null,isSelected:n,label:l,onClick:()=>{n?(0,dR.speak)((0,Bc.sprintf)((0,Bc.__)("%s hidden and reset to default"),c),"assertive"):(0,dR.speak)((0,Bc.sprintf)((0,Bc.__)("%s is now visible"),c),"assertive"),t(c)},role:"menuitemcheckbox",children:c},c)})}):null,mFe=(e,t)=>{let{areAllOptionalControlsHidden:c,defaultControlsItemClassName:n,dropdownMenuClassName:l,hasMenuItems:o,headingClassName:d,headingLevel:i=2,label:r,menuItems:a,resetAll:s,toggleItem:b,dropdownMenuProps:m,...X}=Ire(e);if(!r)return null;let G=Object.entries(a?.default||{}),g=Object.entries(a?.optional||{}),x=c?Mi:Pg,H=(0,Bc.sprintf)((0,Bc._x)("%s options","Button label to reveal tool panel options"),r),p=c?(0,Bc.__)("All options are currently hidden"):void 0,R=[...G,...g].some(([,I])=>I);return(0,hc.jsxs)(xt,{...X,ref:t,children:[(0,hc.jsx)(Ol,{level:i,className:d,children:r}),o&&(0,hc.jsx)(hr,{...m,icon:x,label:H,menuProps:{className:l},toggleProps:{size:"small",description:p},children:()=>(0,hc.jsxs)(hc.Fragment,{children:[(0,hc.jsxs)(_p,{label:r,children:[(0,hc.jsx)(bFe,{items:G,toggleItem:b,itemClassName:n}),(0,hc.jsx)(uFe,{items:g,toggleItem:b})]}),(0,hc.jsx)(_p,{children:(0,hc.jsx)(Vr,{"aria-disabled":!R,variant:"tertiary",onClick:()=>{R&&(s(),(0,dR.speak)((0,Bc.__)("All options reset"),"assertive"))},children:(0,Bc.__)("Reset all")})})]})})]})},XFe=ie(mFe,"ToolsPanelHeader"),qS=XFe;var wc=u(T(),1);var ew="data-wp-hash";function tw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gFe(document)),e.__wpStyleRuntime}function GFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${ew}]`))if(c.getAttribute(ew)===t)return!0;return!1}function yre(e,t,c){if(!e.head)return;let n=tw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(GFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(ew,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function gFe(e){let t=tw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)yre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xFe(e,t){let c=tw();c.styles.set(e,t);for(let n of c.documents.keys())yre(n,e,t)}typeof process>"u",xFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var $S={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"};function pFe(){return{panelItems:[],menuItemOrder:[],menuItemValues:{}}}var Wre=e=>e.hasValue()||!e.isShownByDefault&&!!e.defaultShown,RFe=e=>e.isShownByDefault?"default":"optional";function HFe(e,t){switch(t.type){case"REGISTER_PANEL":{let c=e.findIndex(l=>l.label===t.item.label),n=[...e];return c!==-1&&n.splice(c,1),n.push(t.item),n}case"UNREGISTER_PANEL":{let c=e.findIndex(l=>l.label===t.label);if(c===-1||t.item&&e[c]!==t.item)return e;let n=[...e];return n.splice(c,1),n}default:return e}}function IFe(e,t){return t.type==="REGISTER_PANEL"?e.includes(t.item.label)?e:[...e,t.item.label]:e}function ZFe(e,t){let c=e.menuItemValues;switch(t.type){case"REGISTER_PANEL":{if(!c.hasOwnProperty(t.item.label))return c;let{[t.item.label]:n,...l}=c;return l}case"UPDATE_VALUE":return c[t.label]===t.value?c:{...c,[t.label]:t.value};case"TOGGLE_VALUE":{let n=e.panelItems.find(({label:o})=>o===t.label);if(!n)return c;let l=c[t.label]??Wre(n);return{...c,[t.label]:!l}}case"RESET_ALL":{let n=e.panelItems.filter(o=>!o.isShownByDefault&&c[o.label]!==!1);if(!n.length)return c;let l={...c};return n.forEach(({label:o})=>{l[o]=!1}),l}default:return c}}function fFe(e,t){let c=HFe(e.panelItems,t),n=IFe(e.menuItemOrder,t),l=ZFe({...e,panelItems:c},t);return c===e.panelItems&&n===e.menuItemOrder&&l===e.menuItemValues?e:{panelItems:c,menuItemOrder:n,menuItemValues:l}}function yFe(e,t){switch(t.type){case"REGISTER":return[...e,t.filter];case"UNREGISTER":return e.filter(c=>c!==t.filter);default:return e}}var fre=e=>Object.keys(e).length===0;function hre(e){let{className:t,headingLevel:c=2,resetAll:n,panelId:l,hasInnerWrapper:o=!1,shouldRenderPlaceholderItems:d=!1,__experimentalFirstVisibleItemClass:i,__experimentalLastVisibleItemClass:r,...a}=ae(e,"ToolsPanel"),[s,b]=(0,wc.useState)(!1);(0,wc.useEffect)(()=>{s&&b(!1)},[s]);let[{panelItems:m,menuItemOrder:X,menuItemValues:G},g]=(0,wc.useReducer)(fFe,void 0,pFe),[x,H]=(0,wc.useReducer)(yFe,[]),p=(0,wc.useCallback)(N=>{g({type:"REGISTER_PANEL",item:N})},[]),R=(0,wc.useCallback)((N,A)=>{g({type:"UNREGISTER_PANEL",label:N,item:A})},[]),I=(0,wc.useCallback)(N=>{H({type:"REGISTER",filter:N})},[]),f=(0,wc.useCallback)(N=>{H({type:"UNREGISTER",filter:N})},[]),y=(0,wc.useCallback)((N,A)=>{g({type:"UPDATE_VALUE",label:A,value:N})},[]),Z=(0,wc.useMemo)(()=>{let N={default:{},optional:{}},A=new Map(m.map(Q=>[Q.label,Q]));return X.forEach(Q=>{let z=A.get(Q);z&&(N[RFe(z)][Q]=G[Q]??Wre(z))}),N},[m,X,G]),W=(0,wc.useMemo)(()=>fre(Z.default)&&!fre(Z.optional)&&Object.values(Z.optional).every(N=>!N),[Z]),v=w($S["tools-panel"],o&&$S["tools-panel-with-inner-wrapper"],W&&$S["tools-panel-hidden-inner-wrapper"],t),h=(0,wc.useCallback)(N=>{let A=m.find(Q=>Q.label===N);A&&(g({type:"TOGGLE_VALUE",label:N}),!A.isShownByDefault&&A.onShownChange?.(!Z.optional[N]))},[Z,m]),C=(0,wc.useMemo)(()=>[...m.map(A=>A.resetAllFilter).filter(A=>!!A),...x],[m,x]),B=(0,wc.useCallback)(()=>{typeof n=="function"&&(b(!0),n(C)),g({type:"RESET_ALL"})},[C,n]),V=N=>{let A=Z.optional||{};return N.find(z=>z.isShownByDefault||A[z.label])?.label},S=V(m),Y=V([...m].reverse()),J=m.length>0,k=(0,wc.useMemo)(()=>({areAllOptionalControlsHidden:W,deregisterPanelItem:R,deregisterResetAllFilter:f,firstDisplayedItem:S,flagItemCustomization:y,hasMenuItems:J,isResetting:s,lastDisplayedItem:Y,menuItems:Z,panelId:l,registerPanelItem:p,registerResetAllFilter:I,shouldRenderPlaceholderItems:d,__experimentalFirstVisibleItemClass:i,__experimentalLastVisibleItemClass:r}),[W,R,f,S,y,s,Y,Z,l,J,I,p,d,i,r]);return{...a,headingLevel:c,panelContext:k,resetAllItems:B,toggleItem:h,className:v}}var iR=u(F(),1),Bre=K(4),WFe=(e,t)=>{let{children:c,label:n,panelContext:l,resetAllItems:o,toggleItem:d,headingLevel:i,dropdownMenuProps:r,...a}=hre(e);return(0,iR.jsx)(cd,{...a,columns:2,gap:4,columnGap:Bre,rowGap:Bre,templateColumns:"repeat( 2, minmax(0, 1fr) )",ref:t,children:(0,iR.jsxs)(Xu.Provider,{value:l,children:[(0,iR.jsx)(qS,{label:n,resetAll:o,toggleItem:d,headingLevel:i,dropdownMenuProps:r}),c]})})},hFe=ie(WFe,"ToolsPanel"),q1=hFe;var cw=u(me(),1),Rd=u(T(),1);var nw="data-wp-hash";function lw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&vFe(document)),e.__wpStyleRuntime}function BFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${nw}]`))if(c.getAttribute(nw)===t)return!0;return!1}function Vre(e,t,c){if(!e.head)return;let n=lw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(BFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(nw,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function vFe(e){let t=lw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Vre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function VFe(e,t){let c=lw();c.styles.set(e,t);for(let n of c.documents.keys())Vre(n,e,t)}typeof process>"u",VFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var vre={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"},CFe=()=>{};function Cre(e){let{className:t,defaultShown:c,hasValue:n,isShownByDefault:l=!1,label:o,panelId:d,resetAllFilter:i=CFe,onDeselect:r,onSelect:a,onShownChange:s,...b}=ae(e,"ToolsPanelItem"),{panelId:m,menuItems:X,registerPanelItem:G,deregisterPanelItem:g,flagItemCustomization:x,isResetting:H,shouldRenderPlaceholderItems:p,firstDisplayedItem:R,lastDisplayedItem:I,__experimentalFirstVisibleItemClass:f,__experimentalLastVisibleItemClass:y}=P1(),Z=(0,Rd.useCallback)(n,[d]),W=(0,cw.useEvent)(i),v=(0,Rd.useRef)(c);(0,Rd.useLayoutEffect)(()=>{v.current=c});let h=(0,cw.useEvent)(s),C=m===d||m===null;(0,Rd.useLayoutEffect)(()=>{if(!C)return;let Q={defaultShown:v.current,hasValue:Z,isShownByDefault:l,label:o,onShownChange:h,panelId:d,resetAllFilter:W};return G(Q),()=>{g(o,Q)}},[g,C,Z,l,o,h,d,G,W]);let V=X?.[l?"default":"optional"]?.[o],S=V!==void 0,Y=(0,Rd.useRef)(void 0),J=n();(0,Rd.useLayoutEffect)(()=>{!C||!l&&!J||x(J,o)},[C,J,o,x,l]),(0,Rd.useEffect)(()=>{let Q=Y.current;Y.current=V,!(!S||!(Q!==void 0)||H||!C)&&(V&&!J&&!Q&&a?.(),!V&&J&&Q&&r?.())},[C,V,S,H,J,a,r]);let k=l?S:V,N=p&&!k,A=w(vre["tools-panel-item"],N&&vre["tools-panel-item-placeholder"],!N&&t,R===o&&f,I===o&&y);return{...b,isShown:k,shouldRenderPlaceholder:p,className:A}}var ow=u(F(),1),FFe=(e,t)=>{let{children:c,isShown:n,shouldRenderPlaceholder:l,...o}=Cre(e);return n?(0,ow.jsx)(Ce,{...o,ref:t,children:c}):l?(0,ow.jsx)(Ce,{...o,ref:t}):null},JFe=ie(FFe,"ToolsPanelItem"),$1=JFe;var _re=u(gX(),1),dB=u(T(),1),dc=u(Xa(),1);var tB=u(T(),1);var eB=u(T(),1),dw=(0,eB.createContext)(void 0);dw.displayName="RovingTabIndexContext";var Fre=()=>(0,eB.useContext)(dw),Jre=dw.Provider;var Yre=u(F(),1);function Nre({children:e}){let[t,c]=(0,tB.useState)(),n=(0,tB.useMemo)(()=>({lastFocusedElement:t,setLastFocusedElement:c}),[t]);return(0,Yre.jsx)(Jre,{value:n,children:e})}var bR=u(F(),1);var kre=u(me(),1),nB=u(T(),1);var Sre=u(T(),1),iw='tr:not([role]), [role="row"]',rw='[role="treegrid"]';function wre(e){if(!e.id)return[];let t=e.id.replaceAll("\\","\\\\").replaceAll('"','\\"');return Array.from(e.ownerDocument.querySelectorAll(`[aria-owns~="${t}"]`))}function rR(e,t,c=new Set){return c.has(e)?!1:(c.add(e),e.parentElement?.closest(t)||wre(e).some(l=>l.matches(t)||rR(l,t,c))?!0:e.parentElement?rR(e.parentElement,t,c):!1)}function aw(e,t=new Set){return t.has(e)?!1:(t.add(e),wre(e).some(n=>{let l=n.matches(iw)?n:n.closest(iw);return l?rR(l,rw):aw(n,t)})?!0:e.parentElement?aw(e.parentElement,t):!1)}function cB(e,t){(0,Sre.useEffect)(()=>{let c=t.current;if(!c)return;let n=c.parentElement?.closest(iw);if(!(e==="TreeGridRow"?rR(c,rw):n&&rR(n,rw)||aw(c)))throw new Error(e==="TreeGridRow"?'TreeGridRow must be rendered inside an element with role="treegrid".':'TreeGridCell must be rendered as a cell in a row that belongs to an element with role="treegrid".')},[e,t])}var zre=u(F(),1);function YFe({children:e,level:t,positionInSet:c,setSize:n,isExpanded:l,...o},d){let i=(0,nB.useRef)(null),r=(0,kre.useMergeRefs)([i,d]);return cB("TreeGridRow",i),(0,zre.jsx)("tr",{...o,ref:r,role:"row","aria-level":t,"aria-posinset":c,"aria-setsize":n,"aria-expanded":l,children:e})}var Tre=(0,nB.forwardRef)(YFe);Tre.displayName="TreeGridRow";var sw=Tre;var oB=u(T(),1);var Ure=u(T(),1);var lB=u(T(),1);var Are=u(F(),1),Ore=(0,lB.forwardRef)(function({children:t,as:c,...n},l){let o=(0,lB.useRef)(null),d=l||o,i=Fre();if(!i)throw new Error("TreeGridItem can only be rendered inside a TreeGrid component.");let{lastFocusedElement:r,setLastFocusedElement:a}=i,s;r&&(s=r===("current"in d?d.current:void 0)?0:-1);let m={ref:d,tabIndex:s,onFocus:X=>a?.(X.target),...n};return typeof t=="function"?t(m):c?(0,Are.jsx)(c,{...m,children:t}):null});Ore.displayName="RovingTabIndexItem";var Qre=Ore;var Ere=u(F(),1);function NFe({children:e,...t},c){return(0,Ere.jsx)(Qre,{ref:c,...t,children:e})}var Lre=(0,Ure.forwardRef)(NFe);Lre.displayName="TreeGridItem";var aR=Lre;var kX=u(F(),1);function SFe({children:e,withoutGridItem:t=!1,...c},n){let l=(0,oB.useRef)(null);return cB("TreeGridCell",l),(0,kX.jsx)("td",{ref:l,...c,role:"gridcell",children:t?(0,kX.jsx)(kX.Fragment,{children:typeof e=="function"?e({...c,ref:n}):e}):(0,kX.jsx)(aR,{ref:n,children:e})})}var Dre=(0,oB.forwardRef)(SFe);Dre.displayName="TreeGridCell";var bw=Dre;function sR(e){return _re.focus.focusable.find(e,{sequential:!0}).filter(c=>c.closest('[role="row"]')===e)}function wFe({children:e,onExpandRow:t=()=>{},onCollapseRow:c=()=>{},onFocusRow:n=()=>{},applicationAriaLabel:l,...o},d){let i=(0,dB.useCallback)(r=>{let{keyCode:a,metaKey:s,ctrlKey:b,altKey:m}=r;if(s||b||m||![dc.UP,dc.DOWN,dc.LEFT,dc.RIGHT,dc.HOME,dc.END].includes(a))return;r.stopPropagation();let{activeElement:G}=document,{currentTarget:g}=r;if(!G||!g.contains(G))return;let x=G.closest('[role="row"]');if(!x)return;let H=sR(x),p=H.indexOf(G),R=p===0,I=R&&(x.getAttribute("data-expanded")==="false"||x.getAttribute("aria-expanded")==="false")&&a===dc.RIGHT;if([dc.LEFT,dc.RIGHT].includes(a)){let f;if(a===dc.LEFT?f=Math.max(0,p-1):f=Math.min(p+1,H.length-1),R){if(a===dc.LEFT){if(x.getAttribute("data-expanded")==="true"||x.getAttribute("aria-expanded")==="true"){c(x),r.preventDefault();return}let y=Math.max(parseInt(x?.getAttribute("aria-level")??"1",10)-1,1),Z=Array.from(g.querySelectorAll('[role="row"]')),W=x,v=Z.indexOf(x);for(let h=v;h>=0;h--){let C=Z[h].getAttribute("aria-level");if(C!==null&&parseInt(C,10)===y){W=Z[h];break}}sR(W)?.[0]?.focus()}if(a===dc.RIGHT){if(x.getAttribute("data-expanded")==="false"||x.getAttribute("aria-expanded")==="false"){t(x),r.preventDefault();return}let y=sR(x);y.length>0&&y[f]?.focus()}r.preventDefault();return}if(I)return;H[f].focus(),r.preventDefault()}else if([dc.UP,dc.DOWN].includes(a)){let f=Array.from(g.querySelectorAll('[role="row"]')),y=f.indexOf(x),Z;if(a===dc.UP?Z=Math.max(0,y-1):Z=Math.min(y+1,f.length-1),Z===y){r.preventDefault();return}let W=sR(f[Z]);if(!W||!W.length){r.preventDefault();return}let v=Math.min(p,W.length-1);W[v].focus(),n(r,x,f[Z]),r.preventDefault()}else if([dc.HOME,dc.END].includes(a)){let f=Array.from(g.querySelectorAll('[role="row"]')),y=f.indexOf(x),Z;if(a===dc.HOME?Z=0:Z=f.length-1,Z===y){r.preventDefault();return}let W=sR(f[Z]);if(!W||!W.length){r.preventDefault();return}let v=Math.min(p,W.length-1);W[v].focus(),n(r,x,f[Z]),r.preventDefault()}},[t,c,n]);return(0,bR.jsx)(Nre,{children:(0,bR.jsx)("div",{role:"application","aria-label":l,children:(0,bR.jsx)("table",{...o,role:"treegrid",onKeyDown:i,ref:d,children:(0,bR.jsx)("tbody",{children:e})})})})}var jre=(0,dB.forwardRef)(wFe);jre.displayName="TreeGrid";var Mre=jre;var Pre=u(T(),1),Kre=u(Xt(),1),qre=u(F(),1);function kFe(e){e.stopPropagation()}var zFe=(0,Pre.forwardRef)((e,t)=>((0,Kre.default)("wp.components.IsolatedEventContainer",{since:"5.7"}),(0,qre.jsx)("div",{...e,ref:t,onMouseDown:kFe}))),$re=zFe;var eae=u(Xt(),1),tae=u(T(),1);var Xw=u(F(),1),mw="data-wp-hash";function Gw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&AFe(document)),e.__wpStyleRuntime}function TFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${mw}]`))if(c.getAttribute(mw)===t)return!0;return!1}function cae(e,t,c){if(!e.head)return;let n=Gw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(TFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(mw,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function AFe(e){let t=Gw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)cae(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function OFe(e,t){let c=Gw();c.styles.set(e,t);for(let n of c.documents.keys())cae(n,e,t)}typeof process>"u",OFe("a90faa8747","._5b8fef2247903a5f__z-stack{display:inline-grid;grid-auto-flow:column;position:relative}._5b8fef2247903a5f__z-stack>._585cd0b86fd70a54__child{justify-self:start;position:relative}._93dbda3c809633d5__layered>._585cd0b86fd70a54__child{grid-column-start:1;grid-row-start:1}._585cd0b86fd70a54__child{z-index:var(--z-stack-z-index,auto)}._585cd0b86fd70a54__child:not(:first-of-type){margin-inline-start:var(--z-stack-offset,0)}");var uw={"z-stack":"_5b8fef2247903a5f__z-stack",child:"_585cd0b86fd70a54__child",layered:"_93dbda3c809633d5__layered"};function QFe(e,t){(0,eae.default)("wp.components.__experimentalZStack",{since:"7.2",version:"7.4",alternative:"your own CSS"});let{children:c,className:n,isLayered:l=!0,isReversed:o=!1,offset:d=0,...i}=ae(e,"ZStack"),r=py(c),a=r.length-1,s=r.map((b,m)=>{let X=o?a-m:m,G=l?d*m:d,g=(0,tae.isValidElement)(b)?b.key:m;return(0,Xw.jsx)("div",{className:uw.child,style:{"--z-stack-offset":`${G}px`,"--z-stack-z-index":X},children:b},g)});return(0,Xw.jsx)(Il,{...i,className:w(uw["z-stack"],l&&uw.layered,n),ref:t,children:s})}var UFe=ie(QFe,"ZStack"),gw=UFe;var iB=u(T(),1),zX=u(me(),1),xw=u(Xa(),1),pw=u(F(),1),EFe={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"ctrlShift",character:"~"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function Rw(e=EFe){let t=(0,iB.useRef)(null),[c,n]=(0,iB.useState)(!1);function l(d){let i=Array.from(t.current?.querySelectorAll('[role="region"][tabindex="-1"]')??[]);if(!i.length)return;let r=i[0],a=t.current?.ownerDocument?.activeElement?.closest('[role="region"][tabindex="-1"]'),s=a?i.indexOf(a):-1;if(s!==-1){let b=s+d;b=b===-1?i.length-1:b,b=b===i.length?0:b,r=i[b]}r.focus(),n(!0)}let o=(0,zX.useRefEffect)(d=>{function i(){n(!1)}return d.addEventListener("click",i),()=>{d.removeEventListener("click",i)}},[n]);return{ref:(0,zX.useMergeRefs)([t,o]),className:c?"is-focusing-regions":"",onKeyDown(d){e.previous.some(({modifier:i,character:r})=>xw.isKeyboardEvent[i](d,r))?l(-1):e.next.some(({modifier:i,character:r})=>xw.isKeyboardEvent[i](d,r))&&l(1)}}}var nae=(0,zX.createHigherOrderComponent)(e=>function({shortcuts:c,...n}){return(0,pw.jsx)("div",{...Rw(c),children:(0,pw.jsx)(e,{...n})})},"navigateRegions");var rB=u(me(),1),Hw=u(F(),1),LFe=(0,rB.createHigherOrderComponent)(e=>function(c){let n=(0,rB.useConstrainedTabbing)();return(0,Hw.jsx)("div",{ref:n,tabIndex:-1,children:(0,Hw.jsx)(e,{...c})})},"withConstrainedTabbing"),lae=LFe;var oae=u(Gf(),1),aB=u(T(),1),sB=u(me(),1),bB=u(F(),1),dae=e=>(0,sB.createHigherOrderComponent)(t=>function(n){let[l,o]=(0,aB.useState)(void 0),d=(0,aB.useRef)(null);(0,sB.useIsomorphicLayoutEffect)(()=>{let r=n.node??d.current,a=!!l&&Object.values(l).every(Boolean);if(r&&!a){let s=e(r,n);(0,oae.default)(s,l)||o(s)}});let i=(0,bB.jsx)(t,{...n,...l});return n.node?i:(0,bB.jsxs)("div",{ref:d,children:[" ",i," "]})},"withFallbackStyles");var aae=u(T(),1),Nr=u(rae(),1),uB=u(me(),1),sae=u(F(),1),DFe=16;function bae(e){return(0,uB.createHigherOrderComponent)(t=>{let c="core/with-filters/"+e,n;function l(){n===void 0&&(n=(0,Nr.applyFilters)(e,t))}class o extends aae.Component{constructor(a){super(a),l()}componentDidMount(){o.instances.push(this),o.instances.length===1&&((0,Nr.addAction)("hookRemoved",c,i),(0,Nr.addAction)("hookAdded",c,i))}componentWillUnmount(){o.instances=o.instances.filter(a=>a!==this),o.instances.length===0&&((0,Nr.removeAction)("hookRemoved",c),(0,Nr.removeAction)("hookAdded",c))}render(){return(0,sae.jsx)(n,{...this.props})}}o.instances=[];let d=(0,uB.debounce)(()=>{n=(0,Nr.applyFilters)(e,t),o.instances.forEach(r=>{r.forceUpdate()})},DFe);function i(r){r===e&&d()}return o},"withFilters")}var uae=u(T(),1),mB=u(me(),1),mae=u(Xt(),1),Iw=u(F(),1);function _Fe(e){return e instanceof uae.Component||typeof e=="function"}var Xae=(0,mB.createHigherOrderComponent)(e=>{let t=({onFocusReturn:c}={})=>n=>o=>{let d=(0,mB.useFocusReturn)(c);return(0,Iw.jsx)("div",{ref:d,children:(0,Iw.jsx)(n,{...o})})};if(_Fe(e)){let c=e;return t()(c)}return t(e)},"withFocusReturn"),Gae=({children:e})=>((0,mae.default)("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),e);var TX=u(T(),1),gae=u(me(),1);var XB=u(F(),1),xae=(0,gae.createHigherOrderComponent)(e=>{function t(l,o){let[d,i]=(0,TX.useState)([]),r=(0,TX.useMemo)(()=>{let s=b=>{let m=b.id?b:{...b,id:f0()};i(X=>[...X,m])};return{createNotice:s,createErrorNotice:b=>{s({status:"error",content:b})},removeNotice:b=>{i(m=>m.filter(X=>X.id!==b))},removeAllNotices:()=>{i([])}}},[]),a={...l,noticeList:d,noticeOperations:r,noticeUI:d.length>0&&(0,XB.jsx)(X1,{className:"components-with-notices-ui",notices:d,onRemove:r.removeNotice})};return c?(0,XB.jsx)(e,{...a,ref:o}):(0,XB.jsx)(e,{...a})}let c,{render:n}=e;return typeof n=="function"?(c=!0,(0,TX.forwardRef)(t)):t},"withNotices");var GB=u(me(),1),Zw=u(Md(),1),pae=u(F(),1),Rae=(0,GB.createHigherOrderComponent)(e=>function(c){return(0,pae.jsx)(e,{...c,speak:Zw.speak,debouncedSpeak:(0,GB.useDebounce)(Zw.speak,500)})},"withSpokenMessages");var FB=u(T(),1),jae=u(Ze(),1);var Hae=u(T(),1),_t=(0,Hae.createContext)(void 0);_t.displayName="MenuContext";var pB=u(T(),1);var Iae=K(1),jFe=K(1),fw=K(3),MFe=oe.theme.gray[300],PFe=oe.theme.gray[200],yw=oe.theme.gray[700],KFe=oe.theme.gray[100],Zae=oe.theme.foreground,qFe=`0 0 0 ${de.borderWidth} ${MFe}, ${de.elevationMedium}`,$Fe=`0 0 0 ${de.borderWidth} ${Zae}`,fae="minmax( 0, max-content ) 1fr",Gu=q(iI,{target:"e1wg7tti15"})({name:"1xd6ev0",styles:"position:relative;z-index:1000000;outline:2px solid transparent!important"}),Co=q("div",{target:"e1wg7tti14"})("display:grid;grid-template-columns:",fae,";grid-template-rows:auto;box-sizing:border-box;min-width:160px;max-width:320px;max-height:var( --popover-available-height );padding:",Iae,";overscroll-behavior:contain;overflow:auto;background-color:",oe.ui.background,";border-radius:",de.radiusMedium,";",e=>Re("box-shadow:",e.variant==="toolbar"?$Fe:qFe,";",""),";"),yae=q("div",{target:"e1wg7tti13"})("@media not ( prefers-reduced-motion ){transition-property:transform,opacity;transition-duration:",Vn.SLIDE_DURATION,",",Vn.FADE_DURATION,";transition-timing-function:",Vn.SLIDE_EASING,",",Vn.FADE_EASING,";will-change:transform,opacity;&:not( :has( > ",Co,"[data-submenu] ) ){opacity:0;&:has( > ",Co,"[data-enter] ){opacity:1;}&:has( > ",Co,`[data-side='bottom'] ){transform:translateY( | |
| 139 | + -`,Vn.SLIDE_DISTANCE,` | |
| 140 | + );}&:has( > `,Co,`[data-side='top'] ){transform:translateY( | |
| 141 | + `,Vn.SLIDE_DISTANCE,` | |
| 142 | + );}&:has( > `,Co,`[data-side='left'] ){transform:translateX( | |
| 143 | + `,Vn.SLIDE_DISTANCE,` | |
| 144 | + );}&:has( > `,Co,`[data-side='right'] ){transform:translateX( | |
| 145 | + -`,Vn.SLIDE_DISTANCE,` | |
| 146 | + );}&:has( > `,Co,"[data-enter][data-side='bottom'] ),&:has( > ",Co,"[data-enter][data-side='top'] ){transform:translateY( 0 );}&:has( > ",Co,"[data-enter][data-side='left'] ),&:has( > ",Co,"[data-enter][data-side='right'] ){transform:translateX( 0 );}}}"),Ww=Re("all:unset;cursor:pointer;position:relative;min-height:",K(8),";box-sizing:border-box;grid-column:1/-1;display:grid;grid-template-columns:",fae,";align-items:center;@supports ( grid-template-columns: subgrid ){grid-template-columns:subgrid;}font-size:",_o("default.fontSize"),";font-family:inherit;font-weight:normal;line-height:20px;color:",oe.theme.foreground,";border-radius:",de.radiusSmall,";padding-block:",jFe,";padding-inline:",fw,";scroll-margin:",Iae,";user-select:none;outline:none;&[aria-disabled='true']{color:",oe.ui.textDisabled,`;}&[data-active-item]:not( [data-focus-visible] ):not( | |
| 109 | 147 | [aria-disabled='true'] |
| 110 | - ){background-color:`,w.theme.accent,";color:",w.theme.accentInverted,";}&[data-focus-visible]{box-shadow:0 0 0 1.5px ",w.theme.accent,";outline:2px solid transparent;}&:active,&[data-active]{}",Li,':not(:focus) &:not(:focus)[aria-expanded="true"]{background-color:',HHc,";color:",w.theme.foreground,";}svg{fill:currentColor;}",""),Rq=f(kx,{target:"e1wg7tti12"})(zh,";"),B5=f(FZ,{target:"e1wg7tti11"})(zh,";"),y5=f(vZ,{target:"e1wg7tti10"})(zh,";"),$0=f("span",{target:"e1wg7tti9"})("grid-column:1;",B5,">&,",y5,">&{min-width:",z(6),";}",B5,">&,",y5,">&,&:not( :empty ){margin-inline-end:",z(2),";}display:flex;align-items:center;justify-content:center;color:",kh,";[data-active-item]:not( [data-focus-visible] )>&,[aria-disabled='true']>&{color:inherit;}"),cm=f("div",{target:"e1wg7tti8"})("grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:",z(3),";pointer-events:none;"),lm=f("div",{target:"e1wg7tti7"})("flex:1;display:inline-flex;flex-direction:column;gap:",z(1),";"),tm=f("span",{target:"e1wg7tti6"})("flex:0 1 fit-content;min-width:0;width:fit-content;display:flex;align-items:center;justify-content:center;gap:",z(3),";color:",kh,";[data-active-item]:not( [data-focus-visible] ) *:not(",Li,") &,[aria-disabled='true'] *:not(",Li,") &{color:inherit;}"),Iq=f(YZ,{target:"e1wg7tti5"})({name:"49aokf",styles:"display:contents"}),Wq=f(hZ,{target:"e1wg7tti4"})("grid-column:1/-1;padding-block-start:",z(3),";padding-block-end:",z(2),";padding-inline:",Sh,";"),pq=f(NZ,{target:"e1wg7tti3"})("grid-column:1/-1;border:none;height:",Q.borderWidth,";background-color:",c=>c.variant==="toolbar"?rq:ZHc,";margin-block:",z(2),";margin-inline:",Sh,";outline:2px solid transparent;"),Bq=f(tl,{target:"e1wg7tti2"})("width:",z(1.5),";",hc({transform:"scaleX(1)"},{transform:"scaleX(-1)"}),";"),yq=f($o,{target:"e1wg7tti1"})("font-size:",vl("default.fontSize"),";line-height:20px;color:inherit;"),Vq=f($o,{target:"e1wg7tti0"})("font-size:",vl("helpText.fontSize"),";line-height:16px;color:",kh,";overflow-wrap:anywhere;[data-active-item]:not( [data-focus-visible] ) *:not( ",Li," ) &,[aria-disabled='true'] *:not( ",Li," ) &{color:inherit;}");var ji=u(V(),1),C5=(0,V5.forwardRef)(function({prefix:l,suffix:t,children:e,disabled:d=!1,hideOnClick:b=!0,store:o,...n},G){let X=(0,V5.useContext)(gl);if(!X?.store)throw new Error("Menu.Item can only be rendered inside a Menu component");let i=o??X.store;return(0,ji.jsxs)(Rq,{ref:G,...n,accessibleWhenDisabled:!0,disabled:d,hideOnClick:b,store:i,children:[(0,ji.jsx)($0,{children:l}),(0,ji.jsxs)(cm,{children:[(0,ji.jsx)(lm,{children:e}),t&&(0,ji.jsx)(tm,{children:t})]})]})});var J5=u(h(),1);var Yn=u(V(),1),Cq=(0,J5.forwardRef)(function({suffix:l,children:t,disabled:e=!1,hideOnClick:d=!1,...b},o){let n=(0,J5.useContext)(gl);if(!n?.store)throw new Error("Menu.CheckboxItem can only be rendered inside a Menu component");return(0,Yn.jsxs)(B5,{ref:o,...b,accessibleWhenDisabled:!0,disabled:e,hideOnClick:d,store:n.store,children:[(0,Yn.jsx)(Ya,{store:n.store,render:(0,Yn.jsx)($0,{}),style:{width:"auto",height:"auto"},children:(0,Yn.jsx)(Bl,{icon:Dt,size:24})}),(0,Yn.jsxs)(cm,{children:[(0,Yn.jsx)(lm,{children:t}),l&&(0,Yn.jsx)(tm,{children:l})]})]})});var Y5=u(h(),1);var h5=u(kc(),1);var Bb=u(V(),1),WHc=(0,Bb.jsx)(h5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Bb.jsx)(h5.Circle,{cx:12,cy:12,r:3})}),Jq=(0,Y5.forwardRef)(function({suffix:l,children:t,disabled:e=!1,hideOnClick:d=!1,...b},o){let n=(0,Y5.useContext)(gl);if(!n?.store)throw new Error("Menu.RadioItem can only be rendered inside a Menu component");return(0,Bb.jsxs)(y5,{ref:o,...b,accessibleWhenDisabled:!0,disabled:e,hideOnClick:d,store:n.store,children:[(0,Bb.jsx)(Ya,{store:n.store,render:(0,Bb.jsx)($0,{}),style:{width:"auto",height:"auto"},children:(0,Bb.jsx)(Bl,{icon:WHc,size:24})}),(0,Bb.jsxs)(cm,{children:[(0,Bb.jsx)(lm,{children:t}),l&&(0,Bb.jsx)(tm,{children:l})]})]})});var F5=u(h(),1);var Yq=u(V(),1),hq=(0,F5.forwardRef)(function(l,t){let e=(0,F5.useContext)(gl);if(!e?.store)throw new Error("Menu.Group can only be rendered inside a Menu component");return(0,Yq.jsx)(Iq,{ref:t,...l,store:e.store})});var v5=u(h(),1);var Ah=u(V(),1),Fq=(0,v5.forwardRef)(function(l,t){let e=(0,v5.useContext)(gl);if(!e?.store)throw new Error("Menu.GroupLabel can only be rendered inside a Menu component");return(0,Ah.jsx)(Wq,{ref:t,render:(0,Ah.jsx)(Ct,{upperCase:!0,variant:"muted",size:"11px",weight:500,lineHeight:"16px"}),...l,store:e.store})});var N5=u(h(),1);var vq=u(V(),1),Nq=(0,N5.forwardRef)(function(l,t){let e=(0,N5.useContext)(gl);if(!e?.store)throw new Error("Menu.Separator can only be rendered inside a Menu component");return(0,vq.jsx)(pq,{ref:t,...l,store:e.store,variant:e.variant})});var f5=u(h(),1);var fq=u(V(),1),Sq=(0,f5.forwardRef)(function(l,t){if(!(0,f5.useContext)(gl)?.store)throw new Error("Menu.ItemLabel can only be rendered inside a Menu component");return(0,fq.jsx)(yq,{numberOfLines:1,ref:t,...l})});var S5=u(h(),1);var kq=u(V(),1),zq=(0,S5.forwardRef)(function(l,t){if(!(0,S5.useContext)(gl)?.store)throw new Error("Menu.ItemHelpText can only be rendered inside a Menu component");return(0,kq.jsx)(Vq,{numberOfLines:2,ref:t,...l})});var k5=u(h(),1);var Aq=u(V(),1),Oq=(0,k5.forwardRef)(function({children:l,disabled:t=!1,...e},d){let b=(0,k5.useContext)(gl);if(!b?.store)throw new Error("Menu.TriggerButton can only be rendered inside a Menu component");if(b.store.parent)throw new Error("Menu.TriggerButton should not be rendered inside a nested Menu component. Use Menu.SubmenuTriggerItem instead.");return(0,Aq.jsx)(Ca,{ref:d,...e,disabled:t,store:b.store,children:l})});var z5=u(h(),1);var LG=u(V(),1),Qq=(0,z5.forwardRef)(function({suffix:l,...t},e){let d=(0,z5.useContext)(gl);if(!d?.store.parent)throw new Error("Menu.SubmenuTriggerItem can only be rendered inside a nested Menu component");return(0,LG.jsx)(Ca,{ref:e,accessibleWhenDisabled:!0,store:d.store,render:(0,LG.jsx)(C5,{...t,store:d.store.parent,suffix:(0,LG.jsxs)(LG.Fragment,{children:[l,(0,LG.jsx)(Bq,{"aria-hidden":"true",icon:p2,size:24,preserveAspectRatio:"xMidYMid slice"})]})})})});var hn=u(h(),1);var A5=u(V(),1),wq=(0,hn.forwardRef)(function({gutter:l,shift:t,modal:e=!0,...d},b){let o=(0,hn.useContext)(gl),n=xc(o?.store,"currentPlacement")?.split("-")[0],G=(0,hn.useCallback)(m=>(m.preventDefault(),!0),[]),X=xc(o?.store,"rtl")?"rtl":"ltr",i=(0,hn.useMemo)(()=>({dir:X,style:{direction:X}}),[X]);if(!o?.store)throw new Error("Menu.Popover can only be rendered inside a Menu component");let a=(0,hn.useCallback)(m=>(0,A5.jsx)(Hq,{children:(0,A5.jsx)(wd,{...m,variant:o.variant})}),[o.variant]);return(0,A5.jsx)(Li,{...d,ref:b,modal:e,store:o.store,gutter:l??(o.store.parent?0:8),shift:t??(o.store.parent?-4:0),hideOnHoverOutside:!1,"data-side":n,"data-submenu":!!o.store.parent||void 0,wrapperProps:i,hideOnEscape:G,unmountOnHide:!0,render:a})});var Dq=u(V(),1),pHc=c=>{let{children:l,defaultOpen:t=!1,open:e,onOpenChange:d,placement:b,variant:o}=$(c,"Menu"),n=(0,O5.useContext)(gl),G=(0,Tq.isRTL)(),X=b??(n?.store?"right-start":"bottom-start");G&&(/right/.test(X)?X=X.replace("right","left"):/left/.test(X)&&(X=X.replace("left","right")));let i=zx({parent:n?.store,open:e,defaultOpen:t,placement:X,focusLoop:!0,setOpen(m){d?.(m)},rtl:G}),a=(0,O5.useMemo)(()=>({store:i,variant:o}),[i,o]);return(0,Dq.jsx)(gl.Provider,{value:a,children:l})},Uq=Object.assign(LX(pHc,"Menu"),{Context:Object.assign(gl,{displayName:"Menu.Context"}),Item:Object.assign(C5,{displayName:"Menu.Item"}),RadioItem:Object.assign(Jq,{displayName:"Menu.RadioItem"}),CheckboxItem:Object.assign(Cq,{displayName:"Menu.CheckboxItem"}),Group:Object.assign(hq,{displayName:"Menu.Group"}),GroupLabel:Object.assign(Fq,{displayName:"Menu.GroupLabel"}),Separator:Object.assign(Nq,{displayName:"Menu.Separator"}),ItemLabel:Object.assign(Sq,{displayName:"Menu.ItemLabel"}),ItemHelpText:Object.assign(zq,{displayName:"Menu.ItemHelpText"}),Popover:Object.assign(wq,{displayName:"Menu.Popover"}),TriggerButton:Object.assign(Oq,{displayName:"Menu.TriggerButton"}),SubmenuTriggerItem:Object.assign(Qq,{displayName:"Menu.SubmenuTriggerItem"})});var Mq=u(h(),1);var Lq=({colors:c})=>{let l=Object.entries(c.gray||{}).map(([t,e])=>`--wp-components-color-gray-${t}: ${e};`).join("");return[A("--wp-components-color-accent:",c.accent,";--wp-components-color-accent-darker-10:",c.accentDarker10,";--wp-components-color-accent-darker-20:",c.accentDarker20,";--wp-components-color-accent-inverted:",c.accentInverted,";--wp-components-color-background:",c.background,";--wp-components-color-foreground:",c.foreground,";--wp-components-color-foreground-inverted:",c.foregroundInverted,";",l,";","")]},jq=f("div",{target:"e1krjpvb0"})({name:"1a3idx0",styles:"color:var( --wp-components-color-foreground, currentColor )"});var DVl=u(ne(),1);he([Fe,c0]);function Eq(c){BHc(c);let l={...CHc(c.accent),...JHc(c.background)};return VHc(yHc(c,l)),{colors:l}}function BHc(c){for(let[l,t]of Object.entries(c))typeof t<"u"&&Ic(t).isValid()}function yHc(c,l){let t=c.background||w.white,e=c.accent||"#3858e9",d=l.foreground||w.gray[900],b=l.gray||w.gray;return{accent:Ic(t).isReadable(e)?void 0:`The background color ("${t}") does not have sufficient contrast against the accent color ("${e}").`,foreground:Ic(t).isReadable(d)?void 0:`The background color provided ("${t}") does not have sufficient contrast against the standard foreground colors.`,grays:Ic(t).contrast(b[600])>=3&&Ic(t).contrast(b[700])>=4.5?void 0:`The background color provided ("${t}") cannot generate a set of grayscale foreground colors with sufficient contrast. Try adjusting the color to be lighter or darker.`}}function VHc(c){for(let l of Object.values(c));}function CHc(c){return c?{accent:c,accentDarker10:Ic(c).darken(.1).toHex(),accentDarker20:Ic(c).darken(.2).toHex(),accentInverted:Oh(c)}:{}}function JHc(c){if(!c)return{};let l=Oh(c);return{background:c,foreground:l,foregroundInverted:Oh(l),gray:YHc(c,l)}}function Oh(c){return Ic(c).isDark()?w.white:w.gray[900]}function YHc(c,l){let t={100:.06,200:.121,300:.132,400:.2,600:.42,700:.543,800:.821},e=.884,d=Ic(c).isDark()?"lighten":"darken",b=Math.abs(Ic(c).toHsl().l-Ic(l).toHsl().l)/100,o={};return Object.entries(t).forEach(([n,G])=>{o[parseInt(n)]=Ic(c)[d](G/e*b).toHex()}),o}var Pq=u(V(),1);function hHc({accent:c,background:l,className:t,...e}){let d=Xc(),b=(0,Mq.useMemo)(()=>d(...Lq(Eq({accent:c,background:l})),t),[c,l,t,d]);return(0,Pq.jsx)(jq,{className:b,...e})}var Kq=hHc;var u$=u(ec(),1),T5=u(h(),1),m$=u(bc(),1);var Q5=u(h(),1),ar=(0,Q5.createContext)(void 0);ar.displayName="TabsContext";var em=()=>(0,Q5.useContext)(ar);var t$=u(h(),1),e2l=u(ne(),1);var _q=f(Ga,{target:"enfox0g4"})(`display:flex;align-items:stretch;overflow-x:auto;&[aria-orientation='vertical']{flex-direction:column;}:where( [aria-orientation='horizontal'] ){width:fit-content;}--direction-factor:1;--direction-start:left;--direction-end:right;--selected-start:var( --selected-left, 0 );&:dir( rtl ){--direction-factor:-1;--direction-start:right;--direction-end:left;--selected-start:var( --selected-right, 0 );}@media not ( prefers-reduced-motion ){&[data-indicator-animated]::before{transition-property:transform,border-radius,border-block;transition-duration:0.2s;transition-timing-function:ease-out;}}position:relative;&::before{content:'';position:absolute;pointer-events:none;transform-origin:var( --direction-start ) top;outline:2px solid transparent;outline-offset:-1px;}--antialiasing-factor:100;&[aria-orientation='horizontal']{--fade-width:64px;--fade-gradient-base:transparent 0%,black var( --fade-width );--fade-gradient-composed:var( --fade-gradient-base ),black 60%,transparent 50%;&.is-overflowing-first{mask-image:linear-gradient( | |
| 148 | + ){background-color:`,oe.theme.accent,";color:",oe.theme.accentInverted,";}&[data-focus-visible]{box-shadow:0 0 0 1.5px ",oe.theme.accent,";outline:2px solid transparent;}&:active,&[data-active]{}",Gu,':not(:focus) &:not(:focus)[aria-expanded="true"]{background-color:',KFe,";color:",oe.theme.foreground,";}svg{fill:currentColor;}",""),Wae=q(sI,{target:"e1wg7tti12"})(Ww,";"),gB=q(bI,{target:"e1wg7tti11"})(Ww,";"),xB=q(uI,{target:"e1wg7tti10"})(Ww,";"),AX=q("span",{target:"e1wg7tti9"})("grid-column:1;",gB,">&,",xB,">&{min-width:",K(6),";}",gB,">&,",xB,">&,&:not( :empty ){margin-inline-end:",K(2),";}display:flex;align-items:center;justify-content:center;color:",yw,";[data-active-item]:not( [data-focus-visible] )>&,[aria-disabled='true']>&{color:inherit;}"),OX=q("div",{target:"e1wg7tti8"})("grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:",K(3),";pointer-events:none;"),QX=q("div",{target:"e1wg7tti7"})("flex:1;display:inline-flex;flex-direction:column;gap:",K(1),";"),UX=q("span",{target:"e1wg7tti6"})("flex:0 1 fit-content;min-width:0;width:fit-content;display:flex;align-items:center;justify-content:center;gap:",K(3),";color:",yw,";[data-active-item]:not( [data-focus-visible] ) *:not(",Gu,") &,[aria-disabled='true'] *:not(",Gu,") &{color:inherit;}"),hae=q(rI,{target:"e1wg7tti5"})({name:"49aokf",styles:"display:contents"}),Bae=q(aI,{target:"e1wg7tti4"})("grid-column:1/-1;padding-block-start:",K(3),";padding-block-end:",K(2),";padding-inline:",fw,";"),vae=q(XI,{target:"e1wg7tti3"})("grid-column:1/-1;border:none;height:",de.borderWidth,";background-color:",e=>e.variant==="toolbar"?Zae:PFe,";margin-block:",K(2),";margin-inline:",fw,";outline:2px solid transparent;"),Vae=q(Ot,{target:"e1wg7tti2"})("width:",K(1.5),";",yc({transform:"scaleX(1)"},{transform:"scaleX(-1)"}),";"),Cae=q(Pi,{target:"e1wg7tti1"})("font-size:",_o("default.fontSize"),";line-height:20px;color:inherit;"),Fae=q(Pi,{target:"e1wg7tti0"})("font-size:",_o("helpText.fontSize"),";line-height:16px;color:",yw,";overflow-wrap:anywhere;[data-active-item]:not( [data-focus-visible] ) *:not( ",Gu," ) &,[aria-disabled='true'] *:not( ",Gu," ) &{color:inherit;}");var Jae=u(T(),1);function eJe(e){if(e.focus(),e.ownerDocument.activeElement===e)return;let t=e.closest("[inert]");t&&(t.inert=!1),e.ownerDocument.defaultView?.HTMLElement.prototype.focus.call(e)}function EX(e,t){return(0,Jae.useCallback)(c=>{if(!(typeof t=="function"?t(c):t))return!1;if(!e||!("hideAll"in e))return!0;let l=e.getState().contentElement,o=l?.ownerDocument.activeElement;if(l?.contains(o??null)){let d=e;for(;d.parent;)d=d.parent;let i=d.getState().disclosureElement;i&&eJe(i)}return!0},[t,e])}var gu=u(F(),1),RB=(0,pB.forwardRef)(function({prefix:t,suffix:c,children:n,disabled:l=!1,hideOnClick:o=!0,store:d,...i},r){let a=(0,pB.useContext)(_t),s=d??a?.store,b=EX(s,o);if(!a?.store||!s)throw new Error("Menu.Item can only be rendered inside a Menu component");return(0,gu.jsxs)(Wae,{ref:r,...i,accessibleWhenDisabled:!0,disabled:l,store:s,hideOnClick:b,children:[(0,gu.jsx)(AX,{children:t}),(0,gu.jsxs)(OX,{children:[(0,gu.jsx)(QX,{children:n}),c&&(0,gu.jsx)(UX,{children:c})]})]})});var HB=u(T(),1);var Sr=u(F(),1),Yae=(0,HB.forwardRef)(function({suffix:t,children:c,disabled:n=!1,hideOnClick:l=!1,...o},d){let r=(0,HB.useContext)(_t)?.store,a=EX(r,l);if(!r)throw new Error("Menu.CheckboxItem can only be rendered inside a Menu component");return(0,Sr.jsxs)(gB,{ref:d,...o,accessibleWhenDisabled:!0,disabled:n,store:r,hideOnClick:a,children:[(0,Sr.jsx)(lm,{store:r,render:(0,Sr.jsx)(AX,{}),style:{width:"auto",height:"auto"},children:(0,Sr.jsx)(Kc,{icon:qc,size:24})}),(0,Sr.jsxs)(OX,{children:[(0,Sr.jsx)(QX,{children:c}),t&&(0,Sr.jsx)(UX,{children:t})]})]})});var IB=u(T(),1);var ZB=u(rt(),1);var Hd=u(F(),1),tJe=(0,Hd.jsx)(ZB.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Hd.jsx)(ZB.Circle,{cx:12,cy:12,r:3})}),Nae=(0,IB.forwardRef)(function({suffix:t,children:c,disabled:n=!1,hideOnClick:l=!1,...o},d){let r=(0,IB.useContext)(_t)?.store,a=EX(r,l);if(!r)throw new Error("Menu.RadioItem can only be rendered inside a Menu component");return(0,Hd.jsxs)(xB,{ref:d,...o,accessibleWhenDisabled:!0,disabled:n,store:r,hideOnClick:a,children:[(0,Hd.jsx)(lm,{store:r,render:(0,Hd.jsx)(AX,{}),style:{width:"auto",height:"auto"},children:(0,Hd.jsx)(Kc,{icon:tJe,size:24})}),(0,Hd.jsxs)(OX,{children:[(0,Hd.jsx)(QX,{children:c}),t&&(0,Hd.jsx)(UX,{children:t})]})]})});var fB=u(T(),1);var Sae=u(F(),1),wae=(0,fB.forwardRef)(function(t,c){let n=(0,fB.useContext)(_t);if(!n?.store)throw new Error("Menu.Group can only be rendered inside a Menu component");return(0,Sae.jsx)(hae,{ref:c,...t,store:n.store})});var yB=u(T(),1);var hw=u(F(),1),kae=(0,yB.forwardRef)(function(t,c){let n=(0,yB.useContext)(_t);if(!n?.store)throw new Error("Menu.GroupLabel can only be rendered inside a Menu component");return(0,hw.jsx)(Bae,{ref:c,render:(0,hw.jsx)(Kn,{upperCase:!0,variant:"muted",size:"11px",weight:de.fontWeightEmphasis,lineHeight:"16px"}),...t,store:n.store})});var WB=u(T(),1);var zae=u(F(),1),Tae=(0,WB.forwardRef)(function(t,c){let n=(0,WB.useContext)(_t);if(!n?.store)throw new Error("Menu.Separator can only be rendered inside a Menu component");return(0,zae.jsx)(vae,{ref:c,...t,store:n.store,variant:n.variant})});var hB=u(T(),1);var Aae=u(F(),1),Oae=(0,hB.forwardRef)(function(t,c){if(!(0,hB.useContext)(_t)?.store)throw new Error("Menu.ItemLabel can only be rendered inside a Menu component");return(0,Aae.jsx)(Cae,{numberOfLines:1,ref:c,...t})});var BB=u(T(),1);var Qae=u(F(),1),Uae=(0,BB.forwardRef)(function(t,c){if(!(0,BB.useContext)(_t)?.store)throw new Error("Menu.ItemHelpText can only be rendered inside a Menu component");return(0,Qae.jsx)(Fae,{numberOfLines:2,ref:c,...t})});var vB=u(T(),1);var Eae=u(F(),1),Lae=(0,vB.forwardRef)(function({children:t,disabled:c=!1,...n},l){let o=(0,vB.useContext)(_t);if(!o?.store)throw new Error("Menu.TriggerButton can only be rendered inside a Menu component");if(o.store.parent)throw new Error("Menu.TriggerButton should not be rendered inside a nested Menu component. Use Menu.SubmenuTriggerItem instead.");return(0,Eae.jsx)(nm,{ref:l,...n,disabled:c,store:o.store,children:t})});var VB=u(T(),1);var Gs=u(F(),1),Dae=(0,VB.forwardRef)(function({suffix:t,...c},n){let l=(0,VB.useContext)(_t);if(!l?.store.parent)throw new Error("Menu.SubmenuTriggerItem can only be rendered inside a nested Menu component");return(0,Gs.jsx)(nm,{ref:n,accessibleWhenDisabled:!0,store:l.store,render:(0,Gs.jsx)(RB,{...c,store:l.store.parent,suffix:(0,Gs.jsxs)(Gs.Fragment,{children:[t,(0,Gs.jsx)(Vae,{"aria-hidden":"true",icon:Qg,size:24,preserveAspectRatio:"xMidYMid slice"})]})})})});var wr=u(T(),1);var CB=u(F(),1),_ae=(0,wr.forwardRef)(function({gutter:t,shift:c,modal:n=!0,...l},o){let d=(0,wr.useContext)(_t),i=$(d?.store,"currentPlacement")?.split("-")[0],r=(0,wr.useCallback)(m=>(m.preventDefault(),!0),[]),a=$(d?.store,"rtl")?"rtl":"ltr",s=(0,wr.useMemo)(()=>({dir:a,style:{direction:a}}),[a]);if(!d?.store)throw new Error("Menu.Popover can only be rendered inside a Menu component");let b=(0,wr.useCallback)(m=>(0,CB.jsx)(yae,{children:(0,CB.jsx)(Co,{...m,variant:d.variant})}),[d.variant]);return(0,CB.jsx)(Gu,{...l,ref:o,modal:n,store:d.store,gutter:t??(d.store.parent?0:8),shift:c??(d.store.parent?-4:0),hideOnHoverOutside:!1,"data-side":i,"data-submenu":!!d.store.parent||void 0,wrapperProps:s,hideOnEscape:r,unmountOnHide:!0,render:b})});var Mae=u(F(),1),cJe=e=>{let{children:t,defaultOpen:c=!1,open:n,onOpenChange:l,placement:o,variant:d}=ae(e,"Menu"),i=(0,FB.useContext)(_t),r=(0,jae.isRTL)(),a=o??(i?.store?"right-start":"bottom-start");r&&(/right/.test(a)?a=a.replace("right","left"):/left/.test(a)&&(a=a.replace("left","right")));let s=mI({parent:i?.store,open:n,defaultOpen:c,placement:a,focusLoop:!0,setOpen(m){l?.(m)},rtl:r}),b=(0,FB.useMemo)(()=>({store:s,variant:d}),[s,d]);return(0,Mae.jsx)(_t.Provider,{value:b,children:t})},Pae=Object.assign(ab(cJe,"Menu"),{Context:Object.assign(_t,{displayName:"Menu.Context"}),Item:Object.assign(RB,{displayName:"Menu.Item"}),RadioItem:Object.assign(Nae,{displayName:"Menu.RadioItem"}),CheckboxItem:Object.assign(Yae,{displayName:"Menu.CheckboxItem"}),Group:Object.assign(wae,{displayName:"Menu.Group"}),GroupLabel:Object.assign(kae,{displayName:"Menu.GroupLabel"}),Separator:Object.assign(Tae,{displayName:"Menu.Separator"}),ItemLabel:Object.assign(Oae,{displayName:"Menu.ItemLabel"}),ItemHelpText:Object.assign(Uae,{displayName:"Menu.ItemHelpText"}),Popover:Object.assign(_ae,{displayName:"Menu.Popover"}),TriggerButton:Object.assign(Lae,{displayName:"Menu.TriggerButton"}),SubmenuTriggerItem:Object.assign(Dae,{displayName:"Menu.SubmenuTriggerItem"})});var use=u(me(),1),mse=u(T(),1),Xse=u(Ze(),1);var JB=u(T(),1),uR=(0,JB.createContext)(void 0);uR.displayName="TabsContext";var LX=()=>(0,JB.useContext)(uR);var cse=u(T(),1),T_t=u(En(),1);var Kae=q(wu,{target:"enfox0g4"})(`display:flex;align-items:stretch;overflow-x:auto;&[aria-orientation='vertical']{flex-direction:column;}:where( [aria-orientation='horizontal'] ){width:fit-content;}--direction-factor:1;--direction-start:left;--direction-end:right;--selected-start:var( --selected-left, 0 );&:dir( rtl ){--direction-factor:-1;--direction-start:right;--direction-end:left;--selected-start:var( --selected-right, 0 );}@media not ( prefers-reduced-motion ){&[data-indicator-animated]::before{transition-property:transform,border-radius,border-block;transition-duration:0.2s;transition-timing-function:ease-out;}}position:relative;&::before{content:'';position:absolute;pointer-events:none;transform-origin:var( --direction-start ) top;outline:2px solid transparent;outline-offset:-1px;}--antialiasing-factor:100;&[aria-orientation='horizontal']{--fade-width:64px;--fade-gradient-base:transparent 0%,black var( --fade-width );--fade-gradient-composed:var( --fade-gradient-base ),black 60%,transparent 50%;&.is-overflowing-first{mask-image:linear-gradient( | |
| 111 | 149 | to var( --direction-end ), |
| 112 | 150 | var( --fade-gradient-base ) |
| 113 | 151 | );}&.is-overflowing-last{mask-image:linear-gradient( |
| 114 | 152 | to var( --direction-start ), |
| 115 | 153 | var( --fade-gradient-base ) |
| 116 | - );}&.is-overflowing-first.is-overflowing-last{mask-image:linear-gradient( | |
| 117 | - to right, | |
| 118 | - var( --fade-gradient-composed ) | |
| 119 | - ),linear-gradient( to left, var( --fade-gradient-composed ) );}&::before{bottom:0;height:0;width:calc( var( --antialiasing-factor ) * 1px );transform:translateX( | |
| 154 | + );}&.is-overflowing-first.is-overflowing-last{mask-image:linear-gradient( to right, var( --fade-gradient-composed ) ),linear-gradient( to left, var( --fade-gradient-composed ) );}&::before{bottom:0;height:0;width:calc( var( --antialiasing-factor ) * 1px );transform:translateX( | |
| 120 | 155 | calc( |
| 121 | 156 | var( --selected-start ) * var( --direction-factor ) * |
| 122 | 157 | 1px |
| 123 | 158 | ) |
| @@ -125,10 +160,10 @@ | ||
| 125 | 160 | calc( |
| 126 | 161 | var( --selected-width, 0 ) / |
| 127 | 162 | var( --antialiasing-factor ) |
| 128 | 163 | ) |
| 129 | - );border-bottom:var( --wp-admin-border-width-focus ) solid `,w.theme.accent,";}}&[aria-orientation='vertical']{&::before{border-radius:",Q.radiusSmall,`/calc( | |
| 130 | - `,Q.radiusSmall,` / | |
| 164 | + );border-bottom:var( --wp-admin-border-width-focus ) solid `,oe.theme.gray[700],";}}&[aria-orientation='vertical']{&::before{border-radius:",de.radiusSmall,`/calc( | |
| 165 | + `,de.radiusSmall,` / | |
| 131 | 166 | ( |
| 132 | 167 | var( --selected-height, 0 ) / |
| 133 | 168 | var( --antialiasing-factor ) |
| 134 | 169 | ) |
| @@ -136,21 +171,17 @@ | ||
| 136 | 171 | calc( |
| 137 | 172 | var( --selected-height, 0 ) / |
| 138 | 173 | var( --antialiasing-factor ) |
| 139 | 174 | ) |
| 140 | - );background-color:color-mix( | |
| 141 | - in srgb, | |
| 142 | - `,w.theme.accent,`, | |
| 143 | - transparent 96% | |
| 144 | - );}&[data-select-on-move='true']:has( | |
| 175 | + );background-color:`,oe.theme.gray[100],`;}&[data-select-on-move='true']:has( | |
| 145 | 176 | :is( :focus-visible, [data-focus-visible] ) |
| 146 | - )::before{box-sizing:border-box;border:var( --wp-admin-border-width-focus ) solid `,w.theme.accent,`;border-block-width:calc( | |
| 177 | + )::before{box-sizing:border-box;border:var( --wp-admin-border-width-focus ) solid `,oe.theme.accent,`;border-block-width:calc( | |
| 147 | 178 | var( --wp-admin-border-width-focus, 1px ) / |
| 148 | 179 | ( |
| 149 | 180 | var( --selected-height, 0 ) / |
| 150 | 181 | var( --antialiasing-factor ) |
| 151 | 182 | ) |
| 152 | - );}}`),qq=f(oa,{target:"enfox0g3"})("&{border-radius:0;background:transparent;border:none;box-shadow:none;flex:1 0 auto;white-space:nowrap;display:flex;align-items:center;cursor:pointer;line-height:1.2;font-family:",vl("default.fontFamily"),";font-weight:400;font-size:",vl("default.fontSize"),";color:",w.theme.foreground,";position:relative;&[aria-disabled='true']{cursor:default;color:",w.ui.textDisabled,";}&:not( [aria-disabled='true'] ):is( :hover, [data-focus-visible] ){color:",w.theme.accent,";}&:focus:not( :disabled ){box-shadow:none;outline:none;}&::after{position:absolute;pointer-events:none;outline:var( --wp-admin-border-width-focus ) solid ",w.theme.accent,";border-radius:",Q.radiusSmall,";opacity:0;@media not ( prefers-reduced-motion ){transition:opacity 0.1s linear;}}&[data-focus-visible]::after{opacity:1;}}[aria-orientation='horizontal'] &{padding-inline:",z(4),";height:",z(12),";scroll-margin:24px;&::after{content:'';inset:",z(3),";}}[aria-orientation='vertical'] &{padding:",z(2)," ",z(3),";min-height:",z(10),";&[aria-selected='true']{color:",w.theme.accent,";fill:currentColor;}}[aria-orientation='vertical'][data-select-on-move='false'] &::after{content:'';inset:var( --wp-admin-border-width-focus );}"),$q=f("span",{target:"enfox0g2"})({name:"9at4z3",styles:"flex-grow:1;display:flex;align-items:center;[aria-orientation='horizontal'] &{justify-content:center;}[aria-orientation='vertical'] &{justify-content:start;}"}),c$=f(tl,{target:"enfox0g1"})("flex-shrink:0;margin-inline-end:",z(-1),";[aria-orientation='horizontal'] &{display:none;}opacity:0;[role='tab']:is( [aria-selected='true'], [data-focus-visible], :hover ) &{opacity:1;}@media not ( prefers-reduced-motion ){[data-select-on-move='true'] [role='tab']:is( [aria-selected='true'], ) &{transition:opacity 0.15s 0.15s linear;}}&:dir( rtl ){rotate:180deg;}"),l$=f(ma,{target:"enfox0g0"})("&:focus{box-shadow:none;outline:none;}&[data-focus-visible]{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",w.theme.accent,";outline:2px solid transparent;outline-offset:0;}");var ur=u(V(),1),e$=(0,t$.forwardRef)(function({children:l,tabId:t,disabled:e,render:d,...b},o){let{store:n,instanceId:G}=em()??{};if(!n)return null;let X=`${G}-${t}`;return(0,ur.jsxs)(qq,{ref:o,store:n,id:X,disabled:e,render:d,...b,children:[(0,ur.jsx)($q,{children:l}),(0,ur.jsx)(c$,{icon:MX})]})});var a2l=u(ne(),1),dm=u(h(),1),o$=u(ec(),1);var Ei=u(h(),1),d$=u(ec(),1);function b$(c,l){let[t,e]=(0,Ei.useState)(!1),[d,b]=(0,Ei.useState)(!1),[o,n]=(0,Ei.useState)(),G=(0,d$.useEvent)(X=>{for(let i of X)i.target===l.first&&e(!i.isIntersecting),i.target===l.last&&b(!i.isIntersecting)});return(0,Ei.useEffect)(()=>{if(!c||!window.IntersectionObserver)return;let X=new IntersectionObserver(G,{root:c,threshold:.9});return n(X),()=>X.disconnect()},[G,c]),(0,Ei.useEffect)(()=>{if(o)return l.first&&o.observe(l.first),l.last&&o.observe(l.last),()=>{l.first&&o.unobserve(l.first),l.last&&o.unobserve(l.last)}},[l.first,l.last,o]),{first:t,last:d}}var Qh=u(V(),1),FHc=24;function vHc(c,l,{margin:t=FHc}={}){(0,dm.useLayoutEffect)(()=>{if(!c||!l)return;let{scrollLeft:e}=c,d=c.getBoundingClientRect().width,{left:b,width:o}=l,n=e+d,X=b+o+t-n,i=e-(b-t),a=null;i>0?a=e-i:X>0&&(a=e+X),a!==null&&c.scroll?.({left:a})},[t,c,l])}var n$=(0,dm.forwardRef)(function({children:l,...t},e){let{store:d}=em()??{},b=xc(d,"selectedId"),o=xc(d,"activeId"),n=xc(d,"selectOnMove"),G=xc(d,"items"),[X,i]=(0,dm.useState)(),a=(0,o$.useMergeRefs)([e,i]),m=d?.item(b),x=xc(d,"renderedItems"),s=x&&m?x.indexOf(m):-1,g=uW(m?.element,[s]),r=b$(X,{first:G?.at(0)?.element,last:G?.at(-1)?.element});xW(X,g,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:Z=>Z.pseudoElement==="::before",roundRect:!0}),vHc(X,g);let H=()=>{n&&b!==o&&d?.setActiveId(b)};return d?(0,Qh.jsx)(_q,{ref:a,store:d,render:Z=>(0,Qh.jsx)("div",{...Z,tabIndex:Z.tabIndex??-1}),onBlur:H,"data-select-on-move":n?"true":"false",...t,className:O(r.first&&"is-overflowing-first",r.last&&"is-overflowing-last",t.className),children:l}):null});var G$=u(h(),1);var I2l=u(ne(),1);var X$=u(V(),1),i$=(0,G$.forwardRef)(function({children:l,tabId:t,focusable:e=!0,...d},b){let o=em(),n=xc(o?.store,"selectedId");if(!o)return null;let{store:G,instanceId:X}=o,i=`${X}-${t}`;return(0,X$.jsx)(l$,{ref:b,store:G,id:`${i}-view`,tabId:i,focusable:e,...d,children:n===i&&l})});var x$=u(V(),1);function w5(c,l){return c&&`${l}-${c}`}function a$(c,l){return typeof c=="string"?c.replace(`${l}-`,""):c}var s$=Object.assign(function c({selectOnMove:l=!0,defaultTabId:t,orientation:e="horizontal",onSelect:d,children:b,selectedTabId:o,activeTabId:n,defaultActiveTabId:G,onActiveTabIdChange:X}){let i=(0,u$.useInstanceId)(c,"tabs"),a=uX({selectOnMove:l,orientation:e,defaultSelectedId:w5(t,i),setSelectedId:r=>{d?.(a$(r,i))},selectedId:w5(o,i),defaultActiveId:w5(G,i),setActiveId:r=>{X?.(a$(r,i))},activeId:w5(n,i),rtl:(0,m$.isRTL)()}),{items:m,activeId:x}=xc(a),{setActiveId:s}=a;(0,T5.useEffect)(()=>{requestAnimationFrame(()=>{let r=m?.[0]?.element?.ownerDocument.activeElement;!r||!m.some(H=>r===H.element)||x!==r.id&&s(r.id)})},[x,m,s]);let g=(0,T5.useMemo)(()=>({store:a,instanceId:i}),[a,i]);return(0,x$.jsx)(ar.Provider,{value:g,children:b})},{Tab:Object.assign(e$,{displayName:"Tabs.Tab"}),TabList:Object.assign(n$,{displayName:"Tabs.TabList"}),TabPanel:Object.assign(i$,{displayName:"Tabs.TabPanel"}),Context:Object.assign(ar,{displayName:"Tabs.Context"})});var Z$=u(r$(),1),{lock:H$,unlock:F2l}=(0,Z$.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/components");var bm=u(V(),1);function NHc(c="default"){switch(c){case"info":return N2;case"success":return vs;case"warning":return Z2;case"error":return Cs;default:return null}}function fHc({className:c,intent:l="default",children:t,...e}){let d=NHc(l),b=!!d;return(0,bm.jsx)("span",{className:O("components-badge",c,{[`is-${l}`]:l,"has-icon":b}),...e,children:(0,bm.jsxs)("span",{className:"components-badge__flex-wrapper",children:[b&&(0,bm.jsx)(tl,{icon:d,size:16,fill:"currentColor",className:"components-badge__icon"}),(0,bm.jsx)("span",{className:"components-badge__content",children:t})]})})}var R$=fHc;var Jc=u(E(),1);var SHc={},mr={};function Mi(c,l){try{let e=(SHc[c]||=new Intl.DateTimeFormat("en-GB",{timeZone:c,hour:"numeric",timeZoneName:"longOffset"}).format)(l).split("GMT")[1]||"";return e in mr?mr[e]:I$(e,e.split(":"))}catch{if(c in mr)return mr[c];let t=c?.match(kHc);return t?I$(c,t.slice(1)):NaN}}var kHc=/([+-]\d\d):?(\d\d)?/;function I$(c,l){let t=+l[0],e=+(l[1]||0);return mr[c]=t>0?t*60+e:t*60-e}var jG=class c extends Date{constructor(...l){super(),l.length>1&&typeof l[l.length-1]=="string"&&(this.timeZone=l.pop()),this.internal=new Date,isNaN(Mi(this.timeZone,this))?this.setTime(NaN):l.length?typeof l[0]=="number"&&(l.length===1||l.length===2&&typeof l[1]!="number")?this.setTime(l[0]):typeof l[0]=="string"?this.setTime(+new Date(l[0])):l[0]instanceof Date?this.setTime(+l[0]):(this.setTime(+new Date(...l)),p$(this,NaN),wh(this)):this.setTime(Date.now())}static tz(l,...t){return t.length?new c(...t,l):new c(Date.now(),l)}withTimeZone(l){return new c(+this,l)}getTimezoneOffset(){return-Mi(this.timeZone,this)}setTime(l){return Date.prototype.setTime.apply(this,arguments),wh(this),+this}[Symbol.for("constructDateFrom")](l){return new c(+new Date(l),this.timeZone)}},W$=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(c=>{if(!W$.test(c))return;let l=c.replace(W$,"$1UTC");jG.prototype[l]&&(c.startsWith("get")?jG.prototype[c]=function(){return this.internal[l]()}:(jG.prototype[c]=function(){return Date.prototype[l].apply(this.internal,arguments),zHc(this),+this},jG.prototype[l]=function(){return Date.prototype[l].apply(this,arguments),wh(this),+this}))});function wh(c){c.internal.setTime(+c),c.internal.setUTCMinutes(c.internal.getUTCMinutes()-c.getTimezoneOffset())}function zHc(c){Date.prototype.setFullYear.call(c,c.internal.getUTCFullYear(),c.internal.getUTCMonth(),c.internal.getUTCDate()),Date.prototype.setHours.call(c,c.internal.getUTCHours(),c.internal.getUTCMinutes(),c.internal.getUTCSeconds(),c.internal.getUTCMilliseconds()),p$(c)}function p$(c){let l=Mi(c.timeZone,c),t=new Date(+c);t.setUTCHours(t.getUTCHours()-1);let e=-new Date(+c).getTimezoneOffset(),d=-new Date(+t).getTimezoneOffset(),b=e-d,o=Date.prototype.getHours.apply(c)!==c.internal.getUTCHours();b&&o&&c.internal.setUTCMinutes(c.internal.getUTCMinutes()+b);let n=e-l;n&&Date.prototype.setUTCMinutes.call(c,Date.prototype.getUTCMinutes.call(c)+n);let G=Mi(c.timeZone,c),i=-new Date(+c).getTimezoneOffset()-G,a=G!==l,m=i-n;if(a&&m){Date.prototype.setUTCMinutes.call(c,Date.prototype.getUTCMinutes.call(c)+m);let x=Mi(c.timeZone,c),s=G-x;s&&(c.internal.setUTCMinutes(c.internal.getUTCMinutes()+s),Date.prototype.setUTCMinutes.call(c,Date.prototype.getUTCMinutes.call(c)+s))}}var ct=class c extends jG{static tz(l,...t){return t.length?new c(...t,l):new c(Date.now(),l)}toISOString(){let[l,t,e]=this.tzComponents(),d=`${l}${t}:${e}`;return this.internal.toISOString().slice(0,-1)+d}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[l,t,e,d]=this.internal.toUTCString().split(" ");return`${l?.slice(0,-1)} ${e} ${t} ${d}`}toTimeString(){let l=this.internal.toUTCString().split(" ")[4],[t,e,d]=this.tzComponents();return`${l} GMT${t}${e}${d} (${AHc(this.timeZone,this)})`}toLocaleString(l,t){return Date.prototype.toLocaleString.call(this,l,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(l,t){return Date.prototype.toLocaleDateString.call(this,l,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(l,t){return Date.prototype.toLocaleTimeString.call(this,l,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let l=this.getTimezoneOffset(),t=l>0?"-":"+",e=String(Math.floor(Math.abs(l)/60)).padStart(2,"0"),d=String(Math.abs(l)%60).padStart(2,"0");return[t,e,d]}withTimeZone(l){return new c(+this,l)}[Symbol.for("constructDateFrom")](l){return new c(+new Date(l),this.timeZone)}};function AHc(c,l){return new Intl.DateTimeFormat("en-GB",{timeZone:c,timeZoneName:"long"}).format(l).slice(12)}var rc;(function(c){c.Root="root",c.Chevron="chevron",c.Day="day",c.DayButton="day_button",c.CaptionLabel="caption_label",c.Dropdowns="dropdowns",c.Dropdown="dropdown",c.DropdownRoot="dropdown_root",c.Footer="footer",c.MonthGrid="month_grid",c.MonthCaption="month_caption",c.MonthsDropdown="months_dropdown",c.Month="month",c.Months="months",c.Nav="nav",c.NextMonthButton="button_next",c.PreviousMonthButton="button_previous",c.Week="week",c.Weeks="weeks",c.Weekday="weekday",c.Weekdays="weekdays",c.WeekNumber="week_number",c.WeekNumberHeader="week_number_header",c.YearsDropdown="years_dropdown"})(rc||(rc={}));var ml;(function(c){c.disabled="disabled",c.hidden="hidden",c.outside="outside",c.focused="focused",c.today="today"})(ml||(ml={}));var Ae;(function(c){c.range_end="range_end",c.range_middle="range_middle",c.range_start="range_start",c.selected="selected"})(Ae||(Ae={}));var Ze;(function(c){c.weeks_before_enter="weeks_before_enter",c.weeks_before_exit="weeks_before_exit",c.weeks_after_enter="weeks_after_enter",c.weeks_after_exit="weeks_after_exit",c.caption_after_enter="caption_after_enter",c.caption_after_exit="caption_after_exit",c.caption_before_enter="caption_before_enter",c.caption_before_exit="caption_before_exit"})(Ze||(Ze={}));function B$(c,l){let t=l.startOfMonth(c),e=t.getDay()>0?t.getDay():7,d=l.addDays(c,-e+1),b=l.addDays(d,34);return l.getMonth(c)===l.getMonth(b)?5:4}function D5(c,l){let t=l.startOfMonth(c),e=t.getDay();return e===1?t:e===0?l.addDays(t,-6):l.addDays(t,-1*(e-1))}function y$(c,l){let t=D5(c,l),e=B$(c,l);return l.addDays(t,e*7-1)}var ot=class{constructor(l,t){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?ct.tz(this.options.timeZone):new this.Date,this.newDate=(e,d,b)=>this.overrides?.newDate?this.overrides.newDate(e,d,b):this.options.timeZone?new ct(e,d,b,this.options.timeZone):new Date(e,d,b),this.addDays=(e,d)=>this.overrides?.addDays?this.overrides.addDays(e,d):xo(e,d),this.addMonths=(e,d)=>this.overrides?.addMonths?this.overrides.addMonths(e,d):ed(e,d),this.addWeeks=(e,d)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,d):FG(e,d),this.addYears=(e,d)=>this.overrides?.addYears?this.overrides.addYears(e,d):p0(e,d),this.differenceInCalendarDays=(e,d)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,d):Bi(e,d),this.differenceInCalendarMonths=(e,d)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,d):A7(e,d),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):Np(e),this.endOfBroadcastWeek=e=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):y$(e,this),this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):w7(e),this.endOfMonth=e=>this.overrides?.endOfMonth?this.overrides.endOfMonth(e):pg(e),this.endOfWeek=(e,d)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,d):y0(e,this.options),this.endOfYear=e=>this.overrides?.endOfYear?this.overrides.endOfYear(e):Q7(e),this.format=(e,d,b)=>{let o=this.overrides?.format?this.overrides.format(e,d,this.options):dM(e,d,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(o):o},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):kp(e),this.getMonth=(e,d)=>this.overrides?.getMonth?this.overrides.getMonth(e,this.options):oM(e,this.options),this.getYear=(e,d)=>this.overrides?.getYear?this.overrides.getYear(e,this.options):nM(e,this.options),this.getWeek=(e,d)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):Ap(e,this.options),this.isAfter=(e,d)=>this.overrides?.isAfter?this.overrides.isAfter(e,d):Op(e,d),this.isBefore=(e,d)=>this.overrides?.isBefore?this.overrides.isBefore(e,d):Qp(e,d),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):vp(e),this.isSameDay=(e,d)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,d):Wg(e,d),this.isSameMonth=(e,d)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,d):Vg(e,d),this.isSameYear=(e,d)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,d):GM(e,d),this.max=e=>this.overrides?.max?this.overrides.max(e):S7(e),this.min=e=>this.overrides?.min?this.overrides.min(e):k7(e),this.setMonth=(e,d)=>this.overrides?.setMonth?this.overrides.setMonth(e,d):Y0(e,d),this.setYear=(e,d)=>this.overrides?.setYear?this.overrides.setYear(e,d):wp(e,d),this.startOfBroadcastWeek=(e,d)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):D5(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):go(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):gn(e),this.startOfMonth=e=>this.overrides?.startOfMonth?this.overrides.startOfMonth(e):yg(e),this.startOfWeek=(e,d)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):rt(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):fp(e),this.options={locale:zd,...l},this.overrides=t}getDigitMap(){let{numerals:l="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:l}),e={};for(let d=0;d<10;d++)e[d.toString()]=t.format(d);return e}replaceDigits(l){let t=this.getDigitMap();return l.replace(/\d/g,e=>t[e]||e)}formatNumber(l){return this.replaceDigits(l.toString())}},lt=new ot;var om=class{constructor(l,t,e=lt){this.date=l,this.displayMonth=t,this.outside=!!(t&&!e.isSameMonth(l,t)),this.dateLib=e}isEqualTo(l){return this.dateLib.isSameDay(l.date,this.date)&&this.dateLib.isSameMonth(l.displayMonth,this.displayMonth)}};var U5=class{constructor(l,t){this.date=l,this.weeks=t}};var L5=class{constructor(l,t){this.days=t,this.weekNumber=l}};function Oe(c,l,t=!1,e=lt){let{from:d,to:b}=c,{differenceInCalendarDays:o,isSameDay:n}=e;return d&&b?(o(b,d)<0&&([d,b]=[b,d]),o(l,d)>=(t?1:0)&&o(b,l)>=(t?1:0)):!t&&b?n(b,l):!t&&d?n(d,l):!1}function j5(c){return!!(c&&typeof c=="object"&&"before"in c&&"after"in c)}function nm(c){return!!(c&&typeof c=="object"&&"from"in c)}function E5(c){return!!(c&&typeof c=="object"&&"after"in c)}function M5(c){return!!(c&&typeof c=="object"&&"before"in c)}function P5(c){return!!(c&&typeof c=="object"&&"dayOfWeek"in c)}function K5(c,l){return Array.isArray(c)&&c.every(l.isDate)}function Td(c,l,t=lt){let e=Array.isArray(l)?l:[l],{isSameDay:d,differenceInCalendarDays:b,isAfter:o}=t;return e.some(n=>{if(typeof n=="boolean")return n;if(t.isDate(n))return d(c,n);if(K5(n,t))return n.includes(c);if(nm(n))return Oe(n,c,!1,t);if(P5(n))return Array.isArray(n.dayOfWeek)?n.dayOfWeek.includes(c.getDay()):n.dayOfWeek===c.getDay();if(j5(n)){let G=b(n.before,c),X=b(n.after,c),i=G>0,a=X<0;return o(n.before,n.after)?a&&i:i||a}return E5(n)?b(c,n.after)>0:M5(n)?b(n.before,c)>0:typeof n=="function"?n(c):!1})}function V$(c,l,t){let{disabled:e,hidden:d,modifiers:b,showOutsideDays:o,broadcastCalendar:n,today:G}=l,{isSameDay:X,isSameMonth:i,startOfMonth:a,isBefore:m,endOfMonth:x,isAfter:s}=t,g=l.startMonth&&a(l.startMonth),r=l.endMonth&&x(l.endMonth),H={[ml.focused]:[],[ml.outside]:[],[ml.disabled]:[],[ml.hidden]:[],[ml.today]:[]},Z={};for(let R of c){let{date:W,displayMonth:I}=R,B=!!(I&&!i(W,I)),p=!!(g&&m(W,g)),y=!!(r&&s(W,r)),Y=!!(e&&Td(W,e,t)),C=!!(d&&Td(W,d,t))||p||y||!n&&!o&&B||n&&o===!1&&B,J=X(W,G??t.today());B&&H.outside.push(R),Y&&H.disabled.push(R),C&&H.hidden.push(R),J&&H.today.push(R),b&&Object.keys(b).forEach(N=>{let S=b?.[N];S&&Td(W,S,t)&&(Z[N]?Z[N].push(R):Z[N]=[R])})}return R=>{let W={[ml.focused]:!1,[ml.disabled]:!1,[ml.hidden]:!1,[ml.outside]:!1,[ml.today]:!1},I={};for(let B in H){let p=H[B];W[B]=p.some(y=>y===R)}for(let B in Z)I[B]=Z[B].some(p=>p===R);return{...W,...I}}}function C$(c,l,t={}){return Object.entries(c).filter(([,d])=>d===!0).reduce((d,[b])=>(t[b]?d.push(t[b]):l[ml[b]]?d.push(l[ml[b]]):l[Ae[b]]&&d.push(l[Ae[b]]),d),[l[rc.Day]])}var Uh={};_G(Uh,{Button:()=>OHc,CaptionLabel:()=>QHc,Chevron:()=>wHc,Day:()=>THc,DayButton:()=>DHc,Dropdown:()=>UHc,DropdownNav:()=>LHc,Footer:()=>jHc,Month:()=>EHc,MonthCaption:()=>MHc,MonthGrid:()=>PHc,Months:()=>KHc,MonthsDropdown:()=>_Hc,Nav:()=>qHc,NextMonthButton:()=>$Hc,Option:()=>cRc,PreviousMonthButton:()=>lRc,Root:()=>tRc,Select:()=>eRc,Week:()=>dRc,WeekNumber:()=>nRc,WeekNumberHeader:()=>GRc,Weekday:()=>bRc,Weekdays:()=>oRc,Weeks:()=>XRc,YearsDropdown:()=>iRc});var J$=u(E(),1);function OHc(c){return J$.default.createElement("button",{...c})}var Y$=u(E(),1);function QHc(c){return Y$.default.createElement("span",{...c})}var Gm=u(E(),1);function wHc(c){let{size:l=24,orientation:t="left",className:e}=c;return Gm.default.createElement("svg",{className:e,width:l,height:l,viewBox:"0 0 24 24"},t==="up"&&Gm.default.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),t==="down"&&Gm.default.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),t==="left"&&Gm.default.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),t==="right"&&Gm.default.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}var h$=u(E(),1);function THc(c){let{day:l,modifiers:t,...e}=c;return h$.default.createElement("td",{...e})}var _5=u(E(),1);function DHc(c){let{day:l,modifiers:t,...e}=c,d=_5.default.useRef(null);return _5.default.useEffect(()=>{t.focused&&d.current?.focus()},[t.focused]),_5.default.createElement("button",{ref:d,...e})}var Xm=u(E(),1);function UHc(c){let{options:l,className:t,components:e,classNames:d,...b}=c,o=[d[rc.Dropdown],t].join(" "),n=l?.find(({value:G})=>G===b.value);return Xm.default.createElement("span",{"data-disabled":b.disabled,className:d[rc.DropdownRoot]},Xm.default.createElement(e.Select,{className:o,...b},l?.map(({value:G,label:X,disabled:i})=>Xm.default.createElement(e.Option,{key:G,value:G,disabled:i},X))),Xm.default.createElement("span",{className:d[rc.CaptionLabel],"aria-hidden":!0},n?.label,Xm.default.createElement(e.Chevron,{orientation:"down",size:18,className:d[rc.Chevron]})))}var F$=u(E(),1);function LHc(c){return F$.default.createElement("div",{...c})}var v$=u(E(),1);function jHc(c){return v$.default.createElement("div",{...c})}var N$=u(E(),1);function EHc(c){let{calendarMonth:l,displayIndex:t,...e}=c;return N$.default.createElement("div",{...e},c.children)}var f$=u(E(),1);function MHc(c){let{calendarMonth:l,displayIndex:t,...e}=c;return f$.default.createElement("div",{...e})}var S$=u(E(),1);function PHc(c){return S$.default.createElement("table",{...c})}var k$=u(E(),1);function KHc(c){return k$.default.createElement("div",{...c})}var z$=u(E(),1);var q5=u(E(),1),Th=(0,q5.createContext)(void 0);function Co(){let c=(0,q5.useContext)(Th);if(c===void 0)throw new Error("useDayPicker() must be used within a custom component.");return c}function _Hc(c){let{components:l}=Co();return z$.default.createElement(l.Dropdown,{...c})}var Fn=u(E(),1);function qHc(c){let{onPreviousClick:l,onNextClick:t,previousMonth:e,nextMonth:d,...b}=c,{components:o,classNames:n,labels:{labelPrevious:G,labelNext:X}}=Co(),i=(0,Fn.useCallback)(m=>{d&&t?.(m)},[d,t]),a=(0,Fn.useCallback)(m=>{e&&l?.(m)},[e,l]);return Fn.default.createElement("nav",{...b},Fn.default.createElement(o.PreviousMonthButton,{type:"button",className:n[rc.PreviousMonthButton],tabIndex:e?void 0:-1,"aria-disabled":e?void 0:!0,"aria-label":G(e),onClick:a},Fn.default.createElement(o.Chevron,{disabled:e?void 0:!0,className:n[rc.Chevron],orientation:"left"})),Fn.default.createElement(o.NextMonthButton,{type:"button",className:n[rc.NextMonthButton],tabIndex:d?void 0:-1,"aria-disabled":d?void 0:!0,"aria-label":X(d),onClick:i},Fn.default.createElement(o.Chevron,{disabled:d?void 0:!0,orientation:"right",className:n[rc.Chevron]})))}var A$=u(E(),1);function $Hc(c){let{components:l}=Co();return A$.default.createElement(l.Button,{...c})}var O$=u(E(),1);function cRc(c){return O$.default.createElement("option",{...c})}var Q$=u(E(),1);function lRc(c){let{components:l}=Co();return Q$.default.createElement(l.Button,{...c})}var w$=u(E(),1);function tRc(c){let{rootRef:l,...t}=c;return w$.default.createElement("div",{...t,ref:l})}var T$=u(E(),1);function eRc(c){return T$.default.createElement("select",{...c})}var D$=u(E(),1);function dRc(c){let{week:l,...t}=c;return D$.default.createElement("tr",{...t})}var U$=u(E(),1);function bRc(c){return U$.default.createElement("th",{...c})}var Dh=u(E(),1);function oRc(c){return Dh.default.createElement("thead",{"aria-hidden":!0},Dh.default.createElement("tr",{...c}))}var L$=u(E(),1);function nRc(c){let{week:l,...t}=c;return L$.default.createElement("th",{...t})}var j$=u(E(),1);function GRc(c){return j$.default.createElement("th",{...c})}var E$=u(E(),1);function XRc(c){return E$.default.createElement("tbody",{...c})}var M$=u(E(),1);function iRc(c){let{components:l}=Co();return M$.default.createElement(l.Dropdown,{...c})}function P$(c){return{...Uh,...c}}function K$(c){let l={"data-mode":c.mode??void 0,"data-required":"required"in c?c.required:void 0,"data-multiple-months":c.numberOfMonths&&c.numberOfMonths>1||void 0,"data-week-numbers":c.showWeekNumber||void 0,"data-broadcast-calendar":c.broadcastCalendar||void 0,"data-nav-layout":c.navLayout||void 0};return Object.entries(c).forEach(([t,e])=>{t.startsWith("data-")&&(l[t]=e)}),l}function _$(){let c={};for(let l in rc)c[rc[l]]=`rdp-${rc[l]}`;for(let l in ml)c[ml[l]]=`rdp-${ml[l]}`;for(let l in Ae)c[Ae[l]]=`rdp-${Ae[l]}`;for(let l in Ze)c[Ze[l]]=`rdp-${Ze[l]}`;return c}var Lh={};_G(Lh,{formatCaption:()=>q$,formatDay:()=>uRc,formatMonthCaption:()=>aRc,formatMonthDropdown:()=>mRc,formatWeekNumber:()=>xRc,formatWeekNumberHeader:()=>sRc,formatWeekdayName:()=>gRc,formatYearCaption:()=>rRc,formatYearDropdown:()=>$$});function q$(c,l,t){return(t??new ot(l)).format(c,"LLLL y")}var aRc=q$;function uRc(c,l,t){return(t??new ot(l)).format(c,"d")}function mRc(c,l=lt){return l.format(c,"LLLL")}function xRc(c,l=lt){return c<10?l.formatNumber(`0${c.toLocaleString()}`):l.formatNumber(`${c.toLocaleString()}`)}function sRc(){return""}function gRc(c,l,t){return(t??new ot(l)).format(c,"cccccc")}function $$(c,l=lt){return l.format(c,"yyyy")}var rRc=$$;function ccc(c){return c?.formatMonthCaption&&!c.formatCaption&&(c.formatCaption=c.formatMonthCaption),c?.formatYearCaption&&!c.formatYearDropdown&&(c.formatYearDropdown=c.formatYearCaption),{...Lh,...c}}function lcc(c,l,t,e,d){let{startOfMonth:b,startOfYear:o,endOfYear:n,eachMonthOfInterval:G,getMonth:X}=d;return G({start:o(c),end:n(c)}).map(m=>{let x=e.formatMonthDropdown(m,d),s=X(m),g=l&&m<b(l)||t&&m>b(t)||!1;return{value:s,label:x,disabled:g}})}function tcc(c,l={},t={}){let e={...l?.[rc.Day]};return Object.entries(c).filter(([,d])=>d===!0).forEach(([d])=>{e={...e,...t?.[d]}}),e}function ecc(c,l,t){let e=c.today(),d=t?c.startOfBroadcastWeek(e,c):l?c.startOfISOWeek(e):c.startOfWeek(e),b=[];for(let o=0;o<7;o++){let n=c.addDays(d,o);b.push(n)}return b}function dcc(c,l,t,e){if(!c||!l)return;let{startOfYear:d,endOfYear:b,addYears:o,getYear:n,isBefore:G,isSameYear:X}=e,i=d(c),a=b(l),m=[],x=i;for(;G(x,a)||X(x,a);)m.push(x),x=o(x,1);return m.map(s=>{let g=t.formatYearDropdown(s,e);return{value:n(s),label:g,disabled:!1}})}var jh={};_G(jh,{labelCaption:()=>ZRc,labelDay:()=>RRc,labelDayButton:()=>occ,labelGrid:()=>bcc,labelGridcell:()=>HRc,labelMonthDropdown:()=>WRc,labelNav:()=>IRc,labelNext:()=>pRc,labelPrevious:()=>BRc,labelWeekNumber:()=>VRc,labelWeekNumberHeader:()=>CRc,labelWeekday:()=>yRc,labelYearDropdown:()=>JRc});function bcc(c,l,t){return(t??new ot(l)).format(c,"LLLL y")}var ZRc=bcc;function HRc(c,l,t,e){let d=(e??new ot(t)).format(c,"PPPP");return l?.today&&(d=`Today, ${d}`),d}function occ(c,l,t,e){let d=(e??new ot(t)).format(c,"PPPP");return l.today&&(d=`Today, ${d}`),l.selected&&(d=`${d}, selected`),d}var RRc=occ;function IRc(){return""}function WRc(c){return"Choose the Month"}function pRc(c){return"Go to the Next Month"}function BRc(c){return"Go to the Previous Month"}function yRc(c,l,t){return(t??new ot(l)).format(c,"cccc")}function VRc(c,l){return`Week ${c}`}function CRc(c){return"Week Number"}function JRc(c){return"Choose the Year"}var im=u(E(),1);var xr=c=>c instanceof HTMLElement?c:null,Eh=c=>[...c.querySelectorAll("[data-animated-month]")??[]],YRc=c=>xr(c.querySelector("[data-animated-month]")),Mh=c=>xr(c.querySelector("[data-animated-caption]")),Ph=c=>xr(c.querySelector("[data-animated-weeks]")),hRc=c=>xr(c.querySelector("[data-animated-nav]")),FRc=c=>xr(c.querySelector("[data-animated-weekdays]"));function ncc(c,l,{classNames:t,months:e,focused:d,dateLib:b}){let o=(0,im.useRef)(null),n=(0,im.useRef)(e),G=(0,im.useRef)(!1);(0,im.useLayoutEffect)(()=>{let X=n.current;if(n.current=e,!l||!c.current||!(c.current instanceof HTMLElement)||e.length===0||X.length===0||e.length!==X.length)return;let i=b.isSameMonth(e[0].date,X[0].date),a=b.isAfter(e[0].date,X[0].date),m=a?t[Ze.caption_after_enter]:t[Ze.caption_before_enter],x=a?t[Ze.weeks_after_enter]:t[Ze.weeks_before_enter],s=o.current,g=c.current.cloneNode(!0);if(g instanceof HTMLElement?(Eh(g).forEach(R=>{if(!(R instanceof HTMLElement))return;let W=YRc(R);W&&R.contains(W)&&R.removeChild(W);let I=Mh(R);I&&I.classList.remove(m);let B=Ph(R);B&&B.classList.remove(x)}),o.current=g):o.current=null,G.current||i||d)return;let r=s instanceof HTMLElement?Eh(s):[],H=Eh(c.current);if(H&&H.every(Z=>Z instanceof HTMLElement)&&r&&r.every(Z=>Z instanceof HTMLElement)){G.current=!0;let Z=[];c.current.style.isolation="isolate";let R=hRc(c.current);R&&(R.style.zIndex="1"),H.forEach((W,I)=>{let B=r[I];if(!B)return;W.style.position="relative",W.style.overflow="hidden";let p=Mh(W);p&&p.classList.add(m);let y=Ph(W);y&&y.classList.add(x);let Y=()=>{G.current=!1,c.current&&(c.current.style.isolation=""),R&&(R.style.zIndex=""),p&&p.classList.remove(m),y&&y.classList.remove(x),W.style.position="",W.style.overflow="",W.contains(B)&&W.removeChild(B)};Z.push(Y),B.style.pointerEvents="none",B.style.position="absolute",B.style.overflow="hidden",B.setAttribute("aria-hidden","true");let C=FRc(B);C&&(C.style.opacity="0");let J=Mh(B);J&&(J.classList.add(a?t[Ze.caption_before_exit]:t[Ze.caption_after_exit]),J.addEventListener("animationend",Y));let N=Ph(B);N&&N.classList.add(a?t[Ze.weeks_before_exit]:t[Ze.weeks_after_exit]),W.insertBefore(B,W.firstChild)})}})}var rcc=u(E(),1);function Gcc(c,l,t,e){let d=c[0],b=c[c.length-1],{ISOWeek:o,fixedWeeks:n,broadcastCalendar:G}=t??{},{addDays:X,differenceInCalendarDays:i,differenceInCalendarMonths:a,endOfBroadcastWeek:m,endOfISOWeek:x,endOfMonth:s,endOfWeek:g,isAfter:r,startOfBroadcastWeek:H,startOfISOWeek:Z,startOfWeek:R}=e,W=G?H(d,e):o?Z(d):R(d),I=G?m(b):o?x(s(b)):g(s(b)),B=i(I,W),p=a(b,d)+1,y=[];for(let J=0;J<=B;J++){let N=X(W,J);if(l&&r(N,l))break;y.push(N)}let C=(G?35:42)*p;if(n&&y.length<C){let J=C-y.length;for(let N=0;N<J;N++){let S=X(y[y.length-1],1);y.push(S)}}return y}function Xcc(c){let l=[];return c.reduce((t,e)=>{let d=e.weeks.reduce((b,o)=>[...b,...o.days],l);return[...t,...d]},l)}function icc(c,l,t,e){let{numberOfMonths:d=1}=t,b=[];for(let o=0;o<d;o++){let n=e.addMonths(c,o);if(l&&n>l)break;b.push(n)}return b}function Kh(c,l){let{month:t,defaultMonth:e,today:d=l.today(),numberOfMonths:b=1,endMonth:o,startMonth:n}=c,G=t||e||d,{differenceInCalendarMonths:X,addMonths:i,startOfMonth:a}=l;if(o&&X(o,G)<0){let m=-1*(b-1);G=i(o,m)}return n&&X(G,n)<0&&(G=n),a(G)}function acc(c,l,t,e){let{addDays:d,endOfBroadcastWeek:b,endOfISOWeek:o,endOfMonth:n,endOfWeek:G,getISOWeek:X,getWeek:i,startOfBroadcastWeek:a,startOfISOWeek:m,startOfWeek:x}=e,s=c.reduce((g,r)=>{let H=t.broadcastCalendar?a(r,e):t.ISOWeek?m(r):x(r),Z=t.broadcastCalendar?b(r):t.ISOWeek?o(n(r)):G(n(r)),R=l.filter(p=>p>=H&&p<=Z),W=t.broadcastCalendar?35:42;if(t.fixedWeeks&&R.length<W){let p=l.filter(y=>{let Y=W-R.length;return y>Z&&y<=d(Z,Y)});R.push(...p)}let I=R.reduce((p,y)=>{let Y=t.ISOWeek?X(y):i(y),C=p.find(N=>N.weekNumber===Y),J=new om(y,r,e);return C?C.days.push(J):p.push(new L5(Y,[J])),p},[]),B=new U5(r,I);return g.push(B),g},[]);return t.reverseMonths?s.reverse():s}function ucc(c,l){let{startMonth:t,endMonth:e}=c,{startOfYear:d,startOfDay:b,startOfMonth:o,endOfMonth:n,addYears:G,endOfYear:X,newDate:i,today:a}=l,{fromYear:m,toYear:x,fromMonth:s,toMonth:g}=c;!t&&s&&(t=s),!t&&m&&(t=l.newDate(m,0,1)),!e&&g&&(e=g),!e&&x&&(e=i(x,11,31));let r=c.captionLayout==="dropdown"||c.captionLayout==="dropdown-years";return t?t=o(t):m?t=i(m,0,1):!t&&r&&(t=d(G(c.today??a(),-100))),e?e=n(e):x?e=i(x,11,31):!e&&r&&(e=X(c.today??a())),[t&&b(t),e&&b(e)]}function mcc(c,l,t,e){if(t.disableNavigation)return;let{pagedNavigation:d,numberOfMonths:b=1}=t,{startOfMonth:o,addMonths:n,differenceInCalendarMonths:G}=e,X=d?b:1,i=o(c);if(!l)return n(i,X);if(!(G(l,c)<b))return n(i,X)}function xcc(c,l,t,e){if(t.disableNavigation)return;let{pagedNavigation:d,numberOfMonths:b}=t,{startOfMonth:o,addMonths:n,differenceInCalendarMonths:G}=e,X=d?b??1:1,i=o(c);if(!l)return n(i,-X);if(!(G(i,l)<=0))return n(i,-X)}function scc(c){let l=[];return c.reduce((t,e)=>[...t,...e.weeks],l)}var gcc=u(E(),1);function EG(c,l){let[t,e]=(0,gcc.useState)(c);return[l===void 0?t:l,e]}function Zcc(c,l){let[t,e]=ucc(c,l),{startOfMonth:d,endOfMonth:b}=l,o=Kh(c,l),[n,G]=EG(o,c.month?o:void 0);(0,rcc.useEffect)(()=>{let B=Kh(c,l);G(B)},[c.timeZone]);let X=icc(n,e,c,l),i=Gcc(X,c.endMonth?b(c.endMonth):void 0,c,l),a=acc(X,i,c,l),m=scc(a),x=Xcc(a),s=xcc(n,t,c,l),g=mcc(n,e,c,l),{disableNavigation:r,onMonthChange:H}=c,Z=B=>m.some(p=>p.days.some(y=>y.isEqualTo(B))),R=B=>{if(r)return;let p=d(B);t&&p<d(t)&&(p=d(t)),e&&p>d(e)&&(p=d(e)),G(p),H?.(p)};return{months:a,weeks:m,days:x,navStart:t,navEnd:e,previousMonth:s,nextMonth:g,goToMonth:R,goToDay:B=>{Z(B)||R(B.date)}}}var qh=u(E(),1);var Jo;(function(c){c[c.Today=0]="Today",c[c.Selected=1]="Selected",c[c.LastFocused=2]="LastFocused",c[c.FocusedModifier=3]="FocusedModifier"})(Jo||(Jo={}));function Hcc(c){return!c[ml.disabled]&&!c[ml.hidden]&&!c[ml.outside]}function Rcc(c,l,t,e){let d,b=-1;for(let o of c){let n=l(o);Hcc(n)&&(n[ml.focused]&&b<Jo.FocusedModifier?(d=o,b=Jo.FocusedModifier):e?.isEqualTo(o)&&b<Jo.LastFocused?(d=o,b=Jo.LastFocused):t(o.date)&&b<Jo.Selected?(d=o,b=Jo.Selected):n[ml.today]&&b<Jo.Today&&(d=o,b=Jo.Today))}return d||(d=c.find(o=>Hcc(l(o)))),d}function Icc(c,l,t,e,d,b,o){let{ISOWeek:n,broadcastCalendar:G}=b,{addDays:X,addMonths:i,addWeeks:a,addYears:m,endOfBroadcastWeek:x,endOfISOWeek:s,endOfWeek:g,max:r,min:H,startOfBroadcastWeek:Z,startOfISOWeek:R,startOfWeek:W}=o,B={day:X,week:a,month:i,year:m,startOfWeek:p=>G?Z(p,o):n?R(p):W(p),endOfWeek:p=>G?x(p):n?s(p):g(p)}[c](t,l==="after"?1:-1);return l==="before"&&e?B=r([e,B]):l==="after"&&d&&(B=H([d,B])),B}function _h(c,l,t,e,d,b,o,n=0){if(n>365)return;let G=Icc(c,l,t.date,e,d,b,o),X=!!(b.disabled&&Td(G,b.disabled,o)),i=!!(b.hidden&&Td(G,b.hidden,o)),a=G,m=new om(G,a,o);return!X&&!i?m:_h(c,l,m,e,d,b,o,n+1)}function Wcc(c,l,t,e,d){let{autoFocus:b}=c,[o,n]=(0,qh.useState)(),G=Rcc(l.days,t,e||(()=>!1),o),[X,i]=(0,qh.useState)(b?G:void 0);return{isFocusTarget:g=>!!G?.isEqualTo(g),setFocused:i,focused:X,blur:()=>{n(X),i(void 0)},moveFocus:(g,r)=>{if(!X)return;let H=_h(g,r,X,l.navStart,l.navEnd,c,d);H&&(l.goToDay(H),i(H))}}}function pcc(c,l){let{selected:t,required:e,onSelect:d}=c,[b,o]=EG(t,d?t:void 0),n=d?t:b,{isSameDay:G}=l,X=x=>n?.some(s=>G(s,x))??!1,{min:i,max:a}=c;return{selected:n,select:(x,s,g)=>{let r=[...n??[]];if(X(x)){if(n?.length===i||e&&n?.length===1)return;r=n?.filter(H=>!G(H,x))}else n?.length===a?r=[x]:r=[...r,x];return d||o(r),d?.(r,x,s,g),r},isSelected:X}}function Bcc(c,l,t=0,e=0,d=!1,b=lt){let{from:o,to:n}=l||{},{isSameDay:G,isAfter:X,isBefore:i}=b,a;if(!o&&!n)a={from:c,to:t>0?void 0:c};else if(o&&!n)G(o,c)?d?a={from:o,to:void 0}:a=void 0:i(c,o)?a={from:c,to:o}:a={from:o,to:c};else if(o&&n)if(G(o,c)&&G(n,c))d?a={from:o,to:n}:a=void 0;else if(G(o,c))a={from:o,to:t>0?void 0:c};else if(G(n,c))a={from:c,to:t>0?void 0:c};else if(i(c,o))a={from:c,to:n};else if(X(c,o))a={from:o,to:c};else if(X(c,n))a={from:o,to:c};else throw new Error("Invalid range");if(a?.from&&a?.to){let m=b.differenceInCalendarDays(a.to,a.from);e>0&&m>e?a={from:c,to:void 0}:t>1&&m<t&&(a={from:c,to:void 0})}return a}function ycc(c,l,t=lt){let e=Array.isArray(l)?l:[l],d=c.from,b=t.differenceInCalendarDays(c.to,c.from),o=Math.min(b,6);for(let n=0;n<=o;n++){if(e.includes(d.getDay()))return!0;d=t.addDays(d,1)}return!1}function $h(c,l,t=lt){return Oe(c,l.from,!1,t)||Oe(c,l.to,!1,t)||Oe(l,c.from,!1,t)||Oe(l,c.to,!1,t)}function $5(c,l,t=lt){let e=Array.isArray(l)?l:[l];if(e.filter(n=>typeof n!="function").some(n=>typeof n=="boolean"?n:t.isDate(n)?Oe(c,n,!1,t):K5(n,t)?n.some(G=>Oe(c,G,!1,t)):nm(n)?n.from&&n.to?$h(c,{from:n.from,to:n.to},t):!1:P5(n)?ycc(c,n.dayOfWeek,t):j5(n)?t.isAfter(n.before,n.after)?$h(c,{from:t.addDays(n.after,1),to:t.addDays(n.before,-1)},t):Td(c.from,n,t)||Td(c.to,n,t):E5(n)||M5(n)?Td(c.from,n,t)||Td(c.to,n,t):!1))return!0;let o=e.filter(n=>typeof n=="function");if(o.length){let n=c.from,G=t.differenceInCalendarDays(c.to,c.from);for(let X=0;X<=G;X++){if(o.some(i=>i(n)))return!0;n=t.addDays(n,1)}}return!1}function Vcc(c,l){let{disabled:t,excludeDisabled:e,selected:d,required:b,onSelect:o}=c,[n,G]=EG(d,o?d:void 0),X=o?d:n;return{selected:X,select:(m,x,s)=>{let{min:g,max:r}=c,H=m?Bcc(m,X,g,r,b,l):void 0;return e&&t&&H?.from&&H.to&&$5({from:H.from,to:H.to},t,l)&&(H.from=m,H.to=void 0),o||G(H),o?.(H,m,x,s),H},isSelected:m=>X&&Oe(X,m,!1,l)}}function Ccc(c,l){let{selected:t,required:e,onSelect:d}=c,[b,o]=EG(t,d?t:void 0),n=d?t:b,{isSameDay:G}=l;return{selected:n,select:(a,m,x)=>{let s=a;return!e&&n&&n&&G(a,n)&&(s=void 0),d||o(s),d?.(s,a,m,x),s},isSelected:a=>n?G(n,a):!1}}function Jcc(c,l){let t=Ccc(c,l),e=pcc(c,l),d=Vcc(c,l);switch(c.mode){case"single":return t;case"multiple":return e;case"range":return d;default:return}}function cy(c){let l=c;l.timeZone&&(l={...c},l.today&&(l.today=new ct(l.today,l.timeZone)),l.month&&(l.month=new ct(l.month,l.timeZone)),l.defaultMonth&&(l.defaultMonth=new ct(l.defaultMonth,l.timeZone)),l.startMonth&&(l.startMonth=new ct(l.startMonth,l.timeZone)),l.endMonth&&(l.endMonth=new ct(l.endMonth,l.timeZone)),l.mode==="single"&&l.selected?l.selected=new ct(l.selected,l.timeZone):l.mode==="multiple"&&l.selected?l.selected=l.selected?.map(Cc=>new ct(Cc,l.timeZone)):l.mode==="range"&&l.selected&&(l.selected={from:l.selected.from?new ct(l.selected.from,l.timeZone):void 0,to:l.selected.to?new ct(l.selected.to,l.timeZone):void 0}));let{components:t,formatters:e,labels:d,dateLib:b,locale:o,classNames:n}=(0,Jc.useMemo)(()=>{let Cc={...zd,...l.locale};return{dateLib:new ot({locale:Cc,weekStartsOn:l.broadcastCalendar?1:l.weekStartsOn,firstWeekContainsDate:l.firstWeekContainsDate,useAdditionalWeekYearTokens:l.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:l.useAdditionalDayOfYearTokens,timeZone:l.timeZone,numerals:l.numerals},l.dateLib),components:P$(l.components),formatters:ccc(l.formatters),labels:{...jh,...l.labels},locale:Cc,classNames:{..._$(),...l.classNames}}},[l.locale,l.broadcastCalendar,l.weekStartsOn,l.firstWeekContainsDate,l.useAdditionalWeekYearTokens,l.useAdditionalDayOfYearTokens,l.timeZone,l.numerals,l.dateLib,l.components,l.formatters,l.labels,l.classNames]),{captionLayout:G,mode:X,navLayout:i,numberOfMonths:a=1,onDayBlur:m,onDayClick:x,onDayFocus:s,onDayKeyDown:g,onDayMouseEnter:r,onDayMouseLeave:H,onNextClick:Z,onPrevClick:R,showWeekNumber:W,styles:I}=l,{formatCaption:B,formatDay:p,formatMonthDropdown:y,formatWeekNumber:Y,formatWeekNumberHeader:C,formatWeekdayName:J,formatYearDropdown:N}=e,S=Zcc(l,b),{days:F,months:D,navStart:L,navEnd:v,previousMonth:T,nextMonth:k,goToMonth:M}=S,P=V$(F,l,b),{isSelected:Gc,select:U,selected:dc}=Jcc(l,b)??{},{blur:j,focused:oc,isFocusTarget:Rc,moveFocus:Vc,setFocused:Mc}=Wcc(l,S,P,Gc??(()=>!1),b),{labelDayButton:Dl,labelGridcell:xl,labelGrid:sc,labelMonthDropdown:Pc,labelNav:Fl,labelPrevious:Nt,labelNext:uc,labelWeekday:Yc,labelWeekNumber:Vl,labelWeekNumberHeader:Fc,labelYearDropdown:Sl}=d,nt=(0,Jc.useMemo)(()=>ecc(b,l.ISOWeek),[b,l.ISOWeek]),Et=X!==void 0||x!==void 0,Mt=(0,Jc.useCallback)(()=>{T&&(M(T),R?.(T))},[T,M,R]),id=(0,Jc.useCallback)(()=>{k&&(M(k),Z?.(k))},[M,k,Z]),Yo=(0,Jc.useCallback)((Cc,qc)=>wc=>{wc.preventDefault(),wc.stopPropagation(),Mc(Cc),U?.(Cc.date,qc,wc),x?.(Cc.date,qc,wc)},[U,x,Mc]),MG=(0,Jc.useCallback)((Cc,qc)=>wc=>{Mc(Cc),s?.(Cc.date,qc,wc)},[s,Mc]),Nn=(0,Jc.useCallback)((Cc,qc)=>wc=>{j(),m?.(Cc.date,qc,wc)},[j,m]),PG=(0,Jc.useCallback)((Cc,qc)=>wc=>{let Xt={ArrowLeft:["day",l.dir==="rtl"?"after":"before"],ArrowRight:["day",l.dir==="rtl"?"before":"after"],ArrowDown:["week","after"],ArrowUp:["week","before"],PageUp:[wc.shiftKey?"year":"month","before"],PageDown:[wc.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Xt[wc.key]){wc.preventDefault(),wc.stopPropagation();let[Qe,Ki]=Xt[wc.key];Vc(Qe,Ki)}g?.(Cc.date,qc,wc)},[Vc,g,l.dir]),KG=(0,Jc.useCallback)((Cc,qc)=>wc=>{r?.(Cc.date,qc,wc)},[r]),fn=(0,Jc.useCallback)((Cc,qc)=>wc=>{H?.(Cc.date,qc,wc)},[H]),Gt=(0,Jc.useCallback)(Cc=>qc=>{let wc=Number(qc.target.value),Xt=b.setMonth(b.startOfMonth(Cc),wc);M(Xt)},[b,M]),kl=(0,Jc.useCallback)(Cc=>qc=>{let wc=Number(qc.target.value),Xt=b.setYear(b.startOfMonth(Cc),wc);M(Xt)},[b,M]),{className:sm,style:gm}=(0,Jc.useMemo)(()=>({className:[n[rc.Root],l.className].filter(Boolean).join(" "),style:{...I?.[rc.Root],...l.style}}),[n,l.className,l.style,I]),Pt=K$(l),Kt=(0,Jc.useRef)(null);ncc(Kt,!!l.animate,{classNames:n,months:D,focused:oc,dateLib:b});let ho={dayPickerProps:l,selected:dc,select:U,isSelected:Gc,months:D,nextMonth:k,previousMonth:T,goToMonth:M,getModifiers:P,components:t,classNames:n,styles:I,labels:d,formatters:e};return Jc.default.createElement(Th.Provider,{value:ho},Jc.default.createElement(t.Root,{rootRef:l.animate?Kt:void 0,className:sm,style:gm,dir:l.dir,id:l.id,lang:l.lang,nonce:l.nonce,title:l.title,role:l.role,"aria-label":l["aria-label"],...Pt},Jc.default.createElement(t.Months,{className:n[rc.Months],style:I?.[rc.Months]},!l.hideNavigation&&!i&&Jc.default.createElement(t.Nav,{"data-animated-nav":l.animate?"true":void 0,className:n[rc.Nav],style:I?.[rc.Nav],"aria-label":Fl(),onPreviousClick:Mt,onNextClick:id,previousMonth:T,nextMonth:k}),D.map((Cc,qc)=>{let wc=lcc(Cc.date,L,v,e,b),Xt=dcc(L,v,e,b);return Jc.default.createElement(t.Month,{"data-animated-month":l.animate?"true":void 0,className:n[rc.Month],style:I?.[rc.Month],key:qc,displayIndex:qc,calendarMonth:Cc},i==="around"&&!l.hideNavigation&&qc===0&&Jc.default.createElement(t.PreviousMonthButton,{type:"button",className:n[rc.PreviousMonthButton],tabIndex:T?void 0:-1,"aria-disabled":T?void 0:!0,"aria-label":Nt(T),onClick:Mt,"data-animated-button":l.animate?"true":void 0},Jc.default.createElement(t.Chevron,{disabled:T?void 0:!0,className:n[rc.Chevron],orientation:l.dir==="rtl"?"right":"left"})),Jc.default.createElement(t.MonthCaption,{"data-animated-caption":l.animate?"true":void 0,className:n[rc.MonthCaption],style:I?.[rc.MonthCaption],calendarMonth:Cc,displayIndex:qc},G?.startsWith("dropdown")?Jc.default.createElement(t.DropdownNav,{className:n[rc.Dropdowns],style:I?.[rc.Dropdowns]},G==="dropdown"||G==="dropdown-months"?Jc.default.createElement(t.MonthsDropdown,{className:n[rc.MonthsDropdown],"aria-label":Pc(),classNames:n,components:t,disabled:!!l.disableNavigation,onChange:Gt(Cc.date),options:wc,style:I?.[rc.Dropdown],value:b.getMonth(Cc.date)}):Jc.default.createElement("span",null,y(Cc.date,b)),G==="dropdown"||G==="dropdown-years"?Jc.default.createElement(t.YearsDropdown,{className:n[rc.YearsDropdown],"aria-label":Sl(b.options),classNames:n,components:t,disabled:!!l.disableNavigation,onChange:kl(Cc.date),options:Xt,style:I?.[rc.Dropdown],value:b.getYear(Cc.date)}):Jc.default.createElement("span",null,N(Cc.date,b)),Jc.default.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},B(Cc.date,b.options,b))):Jc.default.createElement(t.CaptionLabel,{className:n[rc.CaptionLabel],role:"status","aria-live":"polite"},B(Cc.date,b.options,b))),i==="around"&&!l.hideNavigation&&qc===a-1&&Jc.default.createElement(t.NextMonthButton,{type:"button",className:n[rc.NextMonthButton],tabIndex:k?void 0:-1,"aria-disabled":k?void 0:!0,"aria-label":uc(k),onClick:id,"data-animated-button":l.animate?"true":void 0},Jc.default.createElement(t.Chevron,{disabled:k?void 0:!0,className:n[rc.Chevron],orientation:l.dir==="rtl"?"left":"right"})),qc===a-1&&i==="after"&&!l.hideNavigation&&Jc.default.createElement(t.Nav,{"data-animated-nav":l.animate?"true":void 0,className:n[rc.Nav],style:I?.[rc.Nav],"aria-label":Fl(),onPreviousClick:Mt,onNextClick:id,previousMonth:T,nextMonth:k}),Jc.default.createElement(t.MonthGrid,{role:"grid","aria-multiselectable":X==="multiple"||X==="range","aria-label":sc(Cc.date,b.options,b)||void 0,className:n[rc.MonthGrid],style:I?.[rc.MonthGrid]},!l.hideWeekdays&&Jc.default.createElement(t.Weekdays,{"data-animated-weekdays":l.animate?"true":void 0,className:n[rc.Weekdays],style:I?.[rc.Weekdays]},W&&Jc.default.createElement(t.WeekNumberHeader,{"aria-label":Fc(b.options),className:n[rc.WeekNumberHeader],style:I?.[rc.WeekNumberHeader],scope:"col"},C()),nt.map((Qe,Ki)=>Jc.default.createElement(t.Weekday,{"aria-label":Yc(Qe,b.options,b),className:n[rc.Weekday],key:Ki,style:I?.[rc.Weekday],scope:"col"},J(Qe,b.options,b)))),Jc.default.createElement(t.Weeks,{"data-animated-weeks":l.animate?"true":void 0,className:n[rc.Weeks],style:I?.[rc.Weeks]},Cc.weeks.map((Qe,Ki)=>Jc.default.createElement(t.Week,{className:n[rc.Week],key:Qe.weekNumber,style:I?.[rc.Week],week:Qe},W&&Jc.default.createElement(t.WeekNumber,{week:Qe,style:I?.[rc.WeekNumber],"aria-label":Vl(Qe.weekNumber,{locale:o}),className:n[rc.WeekNumber],scope:"row",role:"rowheader"},Y(Qe.weekNumber,b)),Qe.days.map(zl=>{let{date:He}=zl,Tc=P(zl);if(Tc[ml.focused]=!Tc.hidden&&!!oc?.isEqualTo(zl),Tc[Ae.selected]=Gc?.(He)||Tc.selected,nm(dc)){let{from:Zm,to:Hm}=dc;Tc[Ae.range_start]=!!(Zm&&Hm&&b.isSameDay(He,Zm)),Tc[Ae.range_end]=!!(Zm&&Hm&&b.isSameDay(He,Hm)),Tc[Ae.range_middle]=Oe(dc,He,!0,b)}let rm=tcc(Tc,I,l.modifiersStyles),my=C$(Tc,n,l.modifiersClassNames),xy=!Et&&!Tc.hidden?xl(He,Tc,b.options,b):void 0;return Jc.default.createElement(t.Day,{key:`${b.format(He,"yyyy-MM-dd")}_${b.format(zl.displayMonth,"yyyy-MM")}`,day:zl,modifiers:Tc,className:my.join(" "),style:rm,role:"gridcell","aria-selected":Tc.selected||void 0,"aria-label":xy,"data-day":b.format(He,"yyyy-MM-dd"),"data-month":zl.outside?b.format(He,"yyyy-MM"):void 0,"data-selected":Tc.selected||void 0,"data-disabled":Tc.disabled||void 0,"data-hidden":Tc.hidden||void 0,"data-outside":zl.outside||void 0,"data-focused":Tc.focused||void 0,"data-today":Tc.today||void 0},!Tc.hidden&&Et?Jc.default.createElement(t.DayButton,{className:n[rc.DayButton],style:I?.[rc.DayButton],type:"button",day:zl,modifiers:Tc,disabled:Tc.disabled||void 0,tabIndex:Rc(zl)?0:-1,"aria-label":Dl(He,Tc,b.options,b),onClick:Yo(zl,Tc),onBlur:Nn(zl,Tc),onFocus:MG(zl,Tc),onKeyDown:PG(zl,Tc),onMouseEnter:KG(zl,Tc),onMouseLeave:fn(zl,Tc)},p(He,b.options,b)):!Tc.hidden&&p(zl.date,b.options,b))}))))))})),l.footer&&Jc.default.createElement(t.Footer,{className:n[rc.Footer],style:I?.[rc.Footer],role:"status","aria-live":"polite"},l.footer)))}var vcc=u(h(),1);var Xd=u(V(),1),vRc=()=>(0,Xd.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.7677",strokeDashoffset:"3.2",strokeWidth:"1",children:(0,Xd.jsx)("path",{d:"M29.5,0.5 h-27 a2,2 0 0 0 -2,2 v27 a2,2 0 0 0 2,2 h27 a2,2 0 0 0 2,-2 v-27 a2,2 0 0 0 -2,-2"})}),NRc=()=>(0,Xd.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.84516",strokeDashoffset:"1.9226",strokeWidth:"1",children:(0,Xd.jsx)("path",{d:"M32,0.5 h-29.5 a2,2 0 0 0 -2,2 v27 a2,2 0 0 0 2,2 h30"})}),fRc=()=>(0,Xd.jsxs)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.9 4",strokeDashoffset:"2",strokeWidth:"1",children:[(0,Xd.jsx)("line",{x1:"0",y1:"0.5",x2:"100",y2:"0.5"}),(0,Xd.jsx)("line",{x1:"0",y1:"31.5",x2:"100",y2:"31.5"})]}),SRc=()=>(0,Xd.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.84516",strokeDashoffset:"1.9226",strokeWidth:"1",children:(0,Xd.jsx)("path",{d:"M0,0.5 h29.5 a2,2 0 0 1 2,2 v27 a2,2 0 0 1 -2,2 h-29.5"})});function Ycc(c){let{day:l,modifiers:t,children:e,...d}=c,b;return t.preview_start&&t.preview_end?b=vRc:t.preview_start?b=NRc:t.preview_end?b=SRc:t.preview&&(b=fRc),(0,Xd.jsxs)("td",{...d,children:[b&&(0,Xd.jsx)(b,{}),e]})}var kRc={root:"components-calendar",day:"components-calendar__day",day_button:"components-calendar__day-button",outside:"components-calendar__day--outside",caption_label:"components-calendar__caption-label",button_next:"components-calendar__button-next",button_previous:"components-calendar__button-previous",chevron:"components-calendar__chevron",nav:"components-calendar__nav",month_caption:"components-calendar__month-caption",months:"components-calendar__months",month_grid:"components-calendar__month-grid",weekday:"components-calendar__weekday",today:"components-calendar__day--today",selected:"components-calendar__day--selected",disabled:"components-calendar__day--disabled",hidden:"components-calendar__day--hidden",range_start:"components-calendar__range-start",range_end:"components-calendar__range-end",range_middle:"components-calendar__range-middle",weeks_before_enter:"components-calendar__weeks-before-enter",weeks_before_exit:"components-calendar__weeks-before-exit",weeks_after_enter:"components-calendar__weeks-after-enter",weeks_after_exit:"components-calendar__weeks-after-exit",caption_after_enter:"components-calendar__caption-after-enter",caption_after_exit:"components-calendar__caption-after-exit",caption_before_enter:"components-calendar__caption-before-enter",caption_before_exit:"components-calendar__caption-before-exit"},hcc={preview:"components-calendar__day--preview",preview_start:"components-calendar__day--preview-start",preview_end:"components-calendar__day--preview-end"},ly={animate:!0,showOutsideDays:!1,showWeekNumber:!1,hideWeekdays:!1,captionLayout:"label",fixedWeeks:!1,hideNavigation:!1,classNames:kRc,role:"application",components:{Day:Ycc}};function ty(c){return Math.min(3,Math.max(1,c))}var Dd=u(bc(),1),Fcc=u(h(),1);function zRc(c){let l=new Intl.Locale(c),t=l.getTextInfo?.().direction;return t?t==="rtl":["ar","he","fa","ur","ps","syr","dv","ku","yi"].includes(l.language)}var ey=({locale:c,timeZone:l,mode:t})=>(0,Fcc.useMemo)(()=>{let e=new Intl.DateTimeFormat(c.code,{year:"numeric",month:"long",timeZone:l}),d=new Intl.DateTimeFormat(c.code,{weekday:"narrow",timeZone:l}),b=new Intl.DateTimeFormat(c.code,{weekday:"long",timeZone:l}),o=new Intl.DateTimeFormat(c.code,{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:l});return{"aria-label":t==="single"?(0,Dd.__)("Date calendar"):(0,Dd.__)("Date range calendar"),labels:{labelGrid:n=>e.format(n),labelGridcell:(n,G)=>{let X=o.format(n),i=X;return G?.today&&(i=(0,Dd.sprintf)((0,Dd.__)("Today, %s"),X)),i},labelNext:()=>(0,Dd.__)("Go to the Next Month"),labelPrevious:()=>(0,Dd.__)("Go to the Previous Month"),labelDayButton:(n,G)=>{let X=o.format(n),i=X;return G?.today&&(i=(0,Dd.sprintf)((0,Dd.__)("Today, %s"),X)),G?.selected&&(i=(0,Dd.sprintf)((0,Dd.__)("%s, selected"),X)),i},labelWeekday:n=>b.format(n)},locale:c,dir:zRc(c.code)?"rtl":"ltr",formatters:{formatWeekdayName:n=>d.format(n),formatCaption:n=>e.format(n)},timeZone:l}},[c,l,t]);var Ncc=u(V(),1),c9=({defaultSelected:c,selected:l,onSelect:t,numberOfMonths:e=1,locale:d=zd,timeZone:b,...o})=>{let n=ey({locale:d,timeZone:b,mode:"single"}),G=(0,vcc.useCallback)((a,m,x,s)=>{t?.(a??void 0,m,x,s)},[t]),[X,i]=ee({defaultValue:c,value:l,onChange:G});return(0,Ncc.jsx)(cy,{...ly,...n,...o,mode:"single",numberOfMonths:ty(e),selected:X??void 0,onSelect:i})};var Pi=u(h(),1);var fcc=u(V(),1);function ARc({selected:c,hoveredDate:l,excludeDisabled:t,min:e,max:d,disabled:b}){return(0,Pi.useMemo)(()=>{if(!l||!c?.from)return;let o,n;return l<c.from?(o={from:l,to:c.from},n={from:l,to:c.to??c.from}):c.to&&l>c.from&&l<c.to?(o={from:c.from,to:l},n={from:c.from,to:l}):l>c.from&&(o={from:c.to??c.from,to:l},n={from:c.from,to:l}),e!==void 0&&e>0&&n&&Bi(n.to,n.from)<e&&(o={from:l,to:l}),d!==void 0&&d>0&&n&&Bi(n.to,n.from)>d&&(o={from:l,to:l}),t&&b&&n&&$5(n,b)&&(o={from:l,to:l}),o},[c,l,t,e,d,b])}var l9=({defaultSelected:c,selected:l,onSelect:t,numberOfMonths:e=1,excludeDisabled:d,min:b,max:o,disabled:n,locale:G=zd,timeZone:X,...i})=>{let a=ey({locale:G,timeZone:X,mode:"range"}),m=(0,Pi.useCallback)((R,W,I,B)=>{t?.(R??void 0,W,I,B)},[t]),[x,s]=ee({defaultValue:c,value:l,onChange:m}),[g,r]=(0,Pi.useState)(void 0),H=ARc({selected:x,hoveredDate:g,excludeDisabled:d,min:b,max:o,disabled:n}),Z=(0,Pi.useMemo)(()=>({preview:H,preview_start:H?.from,preview_end:H?.to}),[H]);return(0,fcc.jsx)(cy,{...ly,...a,...i,mode:"range",numberOfMonths:ty(e),disabled:n,excludeDisabled:d,min:b,max:o,selected:x??void 0,onSelect:s,onDayMouseEnter:R=>r(R),onDayMouseLeave:()=>r(void 0),modifiers:Z,modifiersClassNames:hcc})};var zcc=u(ec(),1),dy=u(h(),1);var e9=u(bc(),1),vt=u(h(),1);var sr=u(V(),1);function t9({id:c,type:l,message:t}){let e={valid:vs,invalid:Cs};return(0,sr.jsxs)("p",{id:c,className:O("components-validated-control__indicator",`is-${l}`),children:[l==="validating"?(0,sr.jsx)(H0,{className:"components-validated-control__indicator-spinner"}):(0,sr.jsx)(tl,{className:"components-validated-control__indicator-icon",icon:e[l],size:16,fill:"currentColor"}),t]})}var vn=u(V(),1);function ORc(c,l,t){let e;return l&&!t?e=`(${(0,e9.__)("Required")})`:!l&&t&&(e=`(${(0,e9.__)("Optional")})`),e?typeof c=="string"?`${c} ${e}`:(0,vn.jsxs)(vn.Fragment,{children:[c," ",e]}):c}var Scc="data-validity-visible",kcc="components-validated-control";function QRc({required:c,markWhenOptional:l,customValidity:t,getValidityTarget:e,children:d},b){let[o,n]=(0,vt.useState)(),[G,X]=(0,vt.useState)(),[i,a]=(0,vt.useState)(!1),[m,x]=(0,vt.useState)(!1);(0,vt.useEffect)(()=>{let Z=e(),R=()=>{a(!0),Z?.setAttribute(Scc,"")};return Z?.addEventListener("invalid",R),()=>Z?.removeEventListener("invalid",R)},[e]),(0,vt.useEffect)(()=>{let Z=e(),R=I=>{I.preventDefault();let B=I.target,p=Array.from(B.form?.elements??[]).find(y=>!y.validity.valid);(!B.form||p===B)&&B.focus()},W=Z?.type==="radio"&&Z?.name?Array.from(Z?.closest(`.${kcc}`)?.querySelectorAll(`input[type="radio"][name="${Z?.name}"]`)??[]).filter(I=>I!==Z):[];return Z?.addEventListener("invalid",R),W.forEach(I=>I.addEventListener("invalid",R)),()=>{Z?.removeEventListener("invalid",R),W.forEach(I=>I.removeEventListener("invalid",R))}},[e]),(0,vt.useEffect)(()=>{let Z=e();if(!t?.type){Z?.setCustomValidity(""),n(Z?.validationMessage),X(void 0);return}switch(t.type){case"validating":{Z?.setCustomValidity(""),n(void 0),X({type:"validating",message:t.message});break}case"valid":{Z?.setCustomValidity(""),n(Z?.validationMessage),X({type:"valid",message:t.message});break}case"invalid":{Z?.setCustomValidity(t.message??""),n(Z?.validationMessage),X(void 0);break}}},[t,e]),(0,vt.useEffect)(()=>{if(!(!m||i)){if(t?.type==="validating"){let Z=setTimeout(()=>{a(!0)},1e3);return()=>clearTimeout(Z)}a(!0)}},[m,t?.type,i]);let s=Z=>{m||(!Z.relatedTarget||!Z.currentTarget.contains(Z.relatedTarget))&&(x(!0),e()?.setAttribute(Scc,""))},g=(0,vt.useId)(),r=o?(0,vn.jsx)(t9,{id:g,type:"invalid",message:o}):G?.type?(0,vn.jsx)(t9,{id:g,type:G.type,message:G.message}):null,H=i?r:null;return(0,vt.useEffect)(()=>{let Z=e();if(!Z)return;function R(W,I){let B=(W.getAttribute("aria-describedby")??"").split(" ").filter(p=>p&&p!==g);I&&B.push(g),B.length?W.setAttribute("aria-describedby",B.join(" ")):W.removeAttribute("aria-describedby")}return R(Z,!!H),()=>R(Z,!1)},[H,g,e]),(0,vn.jsxs)("div",{className:kcc,ref:b,onBlur:s,children:[(0,vt.cloneElement)(d,{label:ORc(d.props.label,c,l),required:c}),(0,vn.jsx)("div",{"aria-live":"polite",children:H})]})}var Nl=(0,vt.forwardRef)(QRc);Nl.displayName="ControlWithError";var d9=u(V(),1),wRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,dy.useRef)(null),o=(0,zcc.useMergeRefs)([d,b]);return(0,d9.jsx)(Nl,{required:c,markWhenOptional:t,ref:o,customValidity:l,getValidityTarget:()=>b.current?.querySelector('input[type="checkbox"]'),children:(0,d9.jsx)(dp,{...e})})},b9=(0,dy.forwardRef)(wRc);b9.displayName="ValidatedCheckboxControl";var Acc=u(ec(),1),am=u(h(),1);var o9=u(V(),1),TRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,am.useRef)(null),o=(0,Acc.useMergeRefs)([d,b]);return(0,am.useEffect)(()=>{let n=b.current?.querySelector('input[role="combobox"]');n&&(n.required=c??!1)},[c]),(0,o9.jsx)(Nl,{required:c,markWhenOptional:t,ref:o,customValidity:l,getValidityTarget:()=>b.current?.querySelector('input[role="combobox"]'),children:(0,o9.jsx)(yp,{__next40pxDefaultSize:!0,...e})})},n9=(0,am.forwardRef)(TRc);n9.displayName="ValidatedComboboxControl";var by=u(h(),1);var um=u(V(),1),DRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,by.useRef)(null);return(0,um.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",ref:d,children:[(0,um.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,um.jsx)(cB,{__next40pxDefaultSize:!0,...e})}),(0,um.jsx)("input",{className:"components-validated-control__error-delegate",type:"text",ref:b,required:c,value:e.value&&e.value.length>0?"hasvalue":"",tabIndex:-1,onChange:()=>{},onFocus:o=>{o.target.previousElementSibling?.querySelector('input[type="text"]')?.focus()}})]})},G9=(0,by.forwardRef)(DRc);G9.displayName="ValidatedFormTokenField";var oy=u(h(),1),Occ=u(ec(),1);var X9=u(V(),1),URc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,oy.useRef)(null),o=(0,Occ.useMergeRefs)([d,b]);return(0,X9.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,X9.jsx)(qb,{__next40pxDefaultSize:!0,ref:o,...e})})},i9=(0,oy.forwardRef)(URc);i9.displayName="ValidatedInputControl";var ny=u(h(),1),Qcc=u(ec(),1);var a9=u(V(),1),LRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,ny.useRef)(null),o=(0,Qcc.useMergeRefs)([d,b]);return(0,a9.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,a9.jsx)(Yt,{__next40pxDefaultSize:!0,ref:o,...e})})},u9=(0,ny.forwardRef)(LRc);u9.displayName="ValidatedNumberControl";var wcc=u(ec(),1),Gy=u(h(),1);var m9=u(V(),1),jRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,Gy.useRef)(null),o=(0,wcc.useMergeRefs)([d,b]);return(0,m9.jsx)(Nl,{required:c,markWhenOptional:t,ref:o,customValidity:l,getValidityTarget:()=>b.current?.querySelector('input[type="radio"]'),children:(0,m9.jsx)(OB,{...e})})},x9=(0,Gy.forwardRef)(jRc);x9.displayName="ValidatedRadioControl";var Xy=u(h(),1),Tcc=u(ec(),1);var s9=u(V(),1),ERc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,Xy.useRef)(null),o=(0,Tcc.useMergeRefs)([d,b]);return(0,s9.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,s9.jsx)(hd,{__next40pxDefaultSize:!0,ref:o,...e})})},g9=(0,Xy.forwardRef)(ERc);g9.displayName="ValidatedSelectControl";var Dcc=u(ec(),1),iy=u(h(),1);var r9=u(V(),1),MRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,iy.useRef)(null),o=(0,Dcc.useMergeRefs)([d,b]);return(0,r9.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,r9.jsx)(c5,{__next40pxDefaultSize:!0,ref:o,...e})})},Z9=(0,iy.forwardRef)(MRc);Z9.displayName="ValidatedTextControl";var ay=u(h(),1),Ucc=u(ec(),1);var H9=u(V(),1),PRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,ay.useRef)(null),o=(0,Ucc.useMergeRefs)([d,b]);return(0,H9.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,H9.jsx)(l5,{ref:o,...e})})},R9=(0,ay.forwardRef)(PRc);R9.displayName="ValidatedTextareaControl";var uy=u(h(),1),Lcc=u(ec(),1);var I9=u(V(),1),KRc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,uy.useRef)(null),o=(0,Lcc.useMergeRefs)([d,b]);return(0,I9.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,I9.jsx)(t5,{ref:o,required:c,...e})})},W9=(0,uy.forwardRef)(KRc);W9.displayName="ValidatedToggleControl";var xm=u(h(),1);var mm=u(V(),1),_Rc=({required:c,customValidity:l,markWhenOptional:t,...e},d)=>{let b=(0,xm.useRef)(null),o=(0,xm.useId)();return(0,mm.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",children:[(0,mm.jsx)(Nl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>b.current,children:(0,mm.jsx)(Jd,{__next40pxDefaultSize:!0,ref:d,...e})}),(0,mm.jsx)("input",{className:"components-validated-control__error-delegate",type:"radio",ref:b,required:c,checked:e.value!==void 0,tabIndex:-1,name:o,onChange:()=>{},onFocus:n=>{n.target.previousElementSibling?.querySelector('[data-active-item="true"]')?.focus()}})]})},p9=(0,xm.forwardRef)(_Rc);p9.displayName="ValidatedToggleGroupControl";var B9={};H$(B9,{__experimentalPopoverLegacyPositionToPlacement:GG,ComponentsContext:Rs,Tabs:s$,Theme:Kq,Menu:Uq,kebabCase:jI,withIgnoreIMEEvents:yd,Badge:R$,normalizeTextString:_s,DateCalendar:c9,DateRangeCalendar:l9,TZDate:ct,useDrag:hI,ValidatedInputControl:i9,ValidatedCheckboxControl:b9,ValidatedComboboxControl:n9,ValidatedNumberControl:u9,ValidatedSelectControl:g9,ValidatedRadioControl:x9,ValidatedTextControl:Z9,ValidatedTextareaControl:R9,ValidatedToggleControl:W9,ValidatedToggleGroupControl:p9,ValidatedFormTokenField:G9});return h9(qRc);})(); | |
| 183 | + );}}`),qae=q(Nu,{target:"enfox0g3"})("&{border-radius:0;background:transparent;border:none;box-shadow:none;flex:1 0 auto;white-space:nowrap;display:flex;align-items:center;cursor:pointer;line-height:1.2;font-family:",_o("default.fontFamily"),";font-weight:400;font-size:",_o("default.fontSize"),";color:",oe.theme.foreground,";position:relative;&[aria-disabled='true']{cursor:default;color:",oe.ui.textDisabled,";}&:not( [aria-disabled='true'] ):is( :hover, [data-focus-visible] ){color:",oe.theme.foreground,";}&:focus:not( :disabled ){box-shadow:none;outline:none;}&::after{position:absolute;pointer-events:none;outline:var( --wp-admin-border-width-focus ) solid ",oe.theme.accent,";border-radius:",de.radiusSmall,";opacity:0;@media not ( prefers-reduced-motion ){transition:opacity 0.1s linear;}}&[data-focus-visible]::after{opacity:1;}}[aria-orientation='horizontal'] &{padding-inline:",K(4),";height:",K(12),";scroll-margin:24px;&::after{content:'';inset:",K(3),";}}[aria-orientation='vertical'] &{padding:",K(2)," ",K(3),";min-height:",K(10),";&[aria-selected='true']{fill:currentColor;}}[aria-orientation='vertical'][data-select-on-move='false'] &::after{content:'';inset:var( --wp-admin-border-width-focus );}"),$ae=q("span",{target:"enfox0g2"})({name:"9at4z3",styles:"flex-grow:1;display:flex;align-items:center;[aria-orientation='horizontal'] &{justify-content:center;}[aria-orientation='vertical'] &{justify-content:start;}"}),ese=q(Ot,{target:"enfox0g1"})("flex-shrink:0;margin-inline-end:",K(-1),";[aria-orientation='horizontal'] &{display:none;}opacity:0;[role='tab']:is( [aria-selected='true'], [data-focus-visible], :hover ) &{opacity:1;}@media not ( prefers-reduced-motion ){[data-select-on-move='true'] [role='tab']:is( [aria-selected='true'], ) &{transition:opacity 0.15s 0.15s linear;}}&:dir( rtl ){rotate:180deg;}"),tse=q(zu,{target:"enfox0g0"})("&:focus{box-shadow:none;outline:none;}&[data-focus-visible]{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",oe.theme.accent,";outline:2px solid transparent;outline-offset:0;}");var mR=u(F(),1),nse=(0,cse.forwardRef)(function({children:t,tabId:c,disabled:n,render:l,...o},d){let{store:i,instanceId:r}=LX()??{};if(!i)return null;let a=`${r}-${c}`;return(0,mR.jsxs)(qae,{ref:d,store:i,id:a,disabled:n,render:l,...o,children:[(0,mR.jsx)($ae,{children:t}),(0,mR.jsx)(ese,{icon:bV})]})});var j_t=u(En(),1),DX=u(T(),1),dse=u(me(),1);var xu=u(T(),1),lse=u(me(),1);function ose(e,t){let[c,n]=(0,xu.useState)(!1),[l,o]=(0,xu.useState)(!1),[d,i]=(0,xu.useState)(),r=(0,lse.useEvent)(a=>{for(let s of a)s.target===t.first&&n(!s.isIntersecting),s.target===t.last&&o(!s.isIntersecting)});return(0,xu.useEffect)(()=>{if(!e||!window.IntersectionObserver)return;let a=new IntersectionObserver(r,{root:e,threshold:.9});return i(a),()=>a.disconnect()},[r,e]),(0,xu.useEffect)(()=>{if(d)return t.first&&d.observe(t.first),t.last&&d.observe(t.last),()=>{t.first&&d.unobserve(t.first),t.last&&d.unobserve(t.last)}},[t.first,t.last,d]),{first:c,last:l}}var Bw=u(F(),1),nJe=24;function lJe(e,t,{margin:c=nJe}={}){(0,DX.useLayoutEffect)(()=>{if(!e||!t)return;let{scrollLeft:n}=e,l=e.getBoundingClientRect().width,{left:o,width:d}=t,i=n+l,a=o+d+c-i,s=n-(o-c),b=null;s>0?b=n-s:a>0&&(b=n+a),b!==null&&e.scroll?.({left:b})},[c,e,t])}var ise=(0,DX.forwardRef)(function({children:t,...c},n){let{store:l}=LX()??{},o=$(l,"selectedId"),d=$(l,"selectOnMove"),i=$(l,"items"),[r,a]=(0,DX.useState)(),s=(0,dse.useMergeRefs)([n,a]),b=l?.item(o),m=$(l,"renderedItems"),X=m&&b?m.indexOf(b):-1,G=Ly(b?.element,[X]),g=ose(r,{first:i?.at(0)?.element,last:i?.at(-1)?.element});return _y(r,G,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:x=>x.pseudoElement==="::before",roundRect:!0}),lJe(r,G),l?(0,Bw.jsx)(Kae,{ref:s,store:l,render:x=>(0,Bw.jsx)("div",{...x,tabIndex:x.tabIndex??-1}),"data-select-on-move":d?"true":"false",...c,className:w(g.first&&"is-overflowing-first",g.last&&"is-overflowing-last",c.className),children:t}):null});var rse=u(T(),1),njt=u(En(),1);var ase=u(F(),1),sse=(0,rse.forwardRef)(function({children:t,tabId:c,focusable:n=!0,...l},o){let d=LX(),i=$(d?.store,"selectedId");if(!d)return null;let{store:r,instanceId:a}=d,s=`${a}-${c}`;return(0,ase.jsx)(tse,{ref:o,store:r,id:`${s}-view`,tabId:s,focusable:n,...l,children:i===s&&t})});var Gse=u(F(),1);function YB(e,t){return e&&`${t}-${e}`}function bse(e,t){return typeof e=="string"?e.replace(`${t}-`,""):e}var gse=Object.assign(function e({selectOnMove:t=!0,defaultTabId:c,orientation:n="horizontal",onSelect:l,children:o,selectedTabId:d,activeTabId:i,defaultActiveTabId:r,onActiveTabIdChange:a}){let s=(0,use.useInstanceId)(e,"tabs"),b=Ou({selectOnMove:t,orientation:n,defaultSelectedId:YB(c,s),setSelectedId:X=>{l?.(bse(X,s))},selectedId:YB(d,s),defaultActiveId:YB(r,s),setActiveId:X=>{a?.(bse(X,s))},activeId:YB(i,s),rtl:(0,Xse.isRTL)()}),m=(0,mse.useMemo)(()=>({store:b,instanceId:s}),[b,s]);return(0,Gse.jsx)(uR.Provider,{value:m,children:o})},{Tab:Object.assign(nse,{displayName:"Tabs.Tab"}),TabList:Object.assign(ise,{displayName:"Tabs.TabList"}),TabPanel:Object.assign(sse,{displayName:"Tabs.TabPanel"}),Context:Object.assign(uR,{displayName:"Tabs.Context"})});var _X=u(F(),1);function oJe(e="default"){switch(e){case"info":return RV;case"success":return $g;case"warning":return dV;case"error":return Dg;default:return null}}function dJe({className:e,intent:t="default",children:c,...n}){let l=oJe(t),o=!!l;return(0,_X.jsx)("span",{className:w("components-badge",e,{[`is-${t}`]:t,"has-icon":o}),...n,children:(0,_X.jsxs)("span",{className:"components-badge__flex-wrapper",children:[o&&(0,_X.jsx)(Ot,{icon:l,size:16,fill:"currentColor",className:"components-badge__icon"}),(0,_X.jsx)("span",{className:"components-badge__content",children:c})]})})}var xse=dJe;var NB=u(T(),1),pse=u(me(),1),Rse=u(Xt(),1);var vw=u(F(),1),iJe=({required:e,customValidity:t,markWhenOptional:c,...n},l)=>{(0,Rse.default)("wp.components.privateApis.ValidatedInputControl",{since:"7.2",alternative:"ValidatedInputControl from @wordpress/ui",hint:"This private API will be completely removed within a few Gutenberg plugin releases."});let o=(0,NB.useRef)(null),d=(0,pse.useMergeRefs)([l,o]);return(0,vw.jsx)(es,{className:"components-validated-control",required:e,markWhenOptional:c,customValidity:t,getValidityTarget:()=>o.current,children:(0,vw.jsx)(_d,{ref:d,...n})})},Vw=(0,NB.forwardRef)(iJe);Vw.displayName="ValidatedInputControl";var kB=u(T(),1);var Hse=u(me(),1),SB=u(T(),1);var jX=u(F(),1),Cw="data-wp-hash";function Fw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&aJe(document)),e.__wpStyleRuntime}function rJe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${Cw}]`))if(c.getAttribute(Cw)===t)return!0;return!1}function Ise(e,t,c){if(!e.head)return;let n=Fw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(rJe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(Cw,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function aJe(e){let t=Fw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Ise(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function sJe(e,t){let c=Fw();c.styles.set(e,t);for(let n of c.documents.keys())Ise(n,e,t)}typeof process>"u",sJe("284f47c8a8","._0f130cee1a924516__editable{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;width:100%}@media (min-width:600px){._0f130cee1a924516__editable{font-size:13px;line-height:normal}}._0f130cee1a924516__editable:hover:not(:disabled,[aria-disabled=true]){border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}._0f130cee1a924516__editable:focus{border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);box-shadow:none;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._0f130cee1a924516__editable::placeholder{color:rgba(30,30,30,.62)}._0f130cee1a924516__editable[aria-placeholder]:empty:before{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%);content:attr(aria-placeholder)}._0f130cee1a924516__editable{min-height:40px;padding:12px}._0f130cee1a924516__editable[aria-disabled=true]{background:var(--wp-components-color-gray-100,var(--wpds-color-background-surface-neutral,#fcfcfc));border-color:var(--wp-components-color-gray-300,var(--wpds-color-stroke-surface-neutral,#dbdbdb));color:var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));cursor:default}");var bJe={editable:"_0f130cee1a924516__editable"};function uJe({label:e,id:t,className:c,help:n,hideLabelFromVision:l,disabled:o,required:d,placeholder:i,...r},a){let{baseControlProps:s,controlProps:b}=Xb({id:t,className:c,help:n}),m=`${b.id}__label`,X=(0,SB.useRef)(null),G=(0,Hse.useMergeRefs)([X,a]);return(0,jX.jsxs)(at,{...s,children:[l?(0,jX.jsx)(bt,{id:m,children:e}):(0,jX.jsx)(at.VisualLabel,{id:m,onClick:()=>X.current?.focus(),children:e}),(0,jX.jsx)("div",{className:bJe.editable,role:"textbox","aria-multiline":!0,"aria-labelledby":m,"aria-placeholder":i||void 0,"aria-disabled":o||void 0,"aria-required":d||void 0,ref:G,contentEditable:!o,suppressContentEditableWarning:!0,...r,...b})]})}var mJe=(0,SB.forwardRef)(uJe),wB=mJe;var MX=u(F(),1),XJe=({required:e,customValidity:t,markWhenOptional:c,value:n,className:l,...o},d)=>{let i=(0,kB.useRef)(null);return(0,MX.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",children:[(0,MX.jsx)(es,{className:"components-validated-control",required:e,markWhenOptional:c,customValidity:t,getValidityTarget:()=>i.current,children:(0,MX.jsx)(wB,{ref:d,className:w("components-validated-control__content-editable",l),"aria-invalid":t?.type==="invalid"||void 0,...o})}),(0,MX.jsx)("input",{className:"components-validated-control__error-delegate",type:"text",ref:i,required:e,value:n?.trim()??"",tabIndex:-1,onChange:()=>{},onFocus:r=>{r.target.previousElementSibling?.querySelector('[role="textbox"]')?.focus()}})]})},Jw=(0,kB.forwardRef)(XJe);Jw.displayName="ValidatedContentEditableControl";var zB=u(T(),1),Zse=u(me(),1),fse=u(Xt(),1);var Yw=u(F(),1),GJe=({required:e,customValidity:t,markWhenOptional:c,...n},l)=>{(0,fse.default)("wp.components.privateApis.ValidatedTextareaControl",{since:"7.2",alternative:"ValidatedTextareaControl from @wordpress/ui",hint:"This private API will be completely removed within a few Gutenberg plugin releases."});let o=(0,zB.useRef)(null),d=(0,Zse.useMergeRefs)([l,o]);return(0,Yw.jsx)(es,{className:"components-validated-control",required:e,markWhenOptional:c,customValidity:t,getValidityTarget:()=>o.current,children:(0,Yw.jsx)(O1,{ref:d,...n})})},Nw=(0,zB.forwardRef)(GJe);Nw.displayName="ValidatedTextareaControl";var Sw={};Fj(Sw,{ContentEditableControl:wB,__experimentalPopoverLegacyPositionToPlacement:sa,ComponentsContext:Sg,Tabs:gse,Menu:Pae,Badge:xse,useDrag:sy,ValidatedInputControl:Vw,ValidatedContentEditableControl:Jw,ValidatedTextareaControl:Nw});return Aw(gJe);})(); | |
| 153 | 184 | /*! Bundled license information: |
| 154 | 185 | |
| 155 | 186 | use-sync-external-store/cjs/use-sync-external-store-shim.production.js: |
| 156 | 187 | (** |
| @@ -172,8 +203,19 @@ | ||
| 172 | 203 | * This source code is licensed under the MIT license found in the |
| 173 | 204 | * LICENSE file in the root directory of this source tree. |
| 174 | 205 | *) |
| 175 | 206 | |
| 207 | +use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js: | |
| 208 | + (** | |
| 209 | + * @license React | |
| 210 | + * use-sync-external-store-shim/with-selector.production.js | |
| 211 | + * | |
| 212 | + * Copyright (c) Meta Platforms, Inc. and affiliates. | |
| 213 | + * | |
| 214 | + * This source code is licensed under the MIT license found in the | |
| 215 | + * LICENSE file in the root directory of this source tree. | |
| 216 | + *) | |
| 217 | + | |
| 176 | 218 | is-plain-object/dist/is-plain-object.mjs: |
| 177 | 219 | (*! |
| 178 | 220 | * is-plain-object <https://github.com/jonschlinkert/is-plain-object> |
| 179 | 221 | * |
| @@ -180,5 +222,7 @@ | ||
| 180 | 222 | * Copyright (c) 2014-2017, Jon Schlinkert. |
| 181 | 223 | * Released under the MIT License. |
| 182 | 224 | *) |
| 183 | 225 | */ |
| 226 | +(window.wp ||= {}).components = wp.components; | |
| 227 | +})(); | |
| 184 | 228 | //# sourceMappingURL=index.min.js.map |