245 lines
817 KiB
JavaScript
245 lines
817 KiB
JavaScript
|
|
/*! This file is auto-generated */
|
||
|
|
(function() {
|
||
|
|
"use strict";var wp;(wp||={}).components=(()=>{var mcc=Object.create;var Bx=Object.defineProperty;var xcc=Object.getOwnPropertyDescriptor;var gcc=Object.getOwnPropertyNames;var Zcc=Object.getPrototypeOf,Hcc=Object.prototype.hasOwnProperty;var fC=(c,t)=>()=>(c&&(t=c(c=0)),t);var ct=(c,t)=>()=>(t||c((t={exports:{}}).exports,t),t.exports),Li=(c,t)=>{for(var e in t)Bx(c,e,{get:t[e],enumerable:!0})},SC=(c,t,e,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of gcc(t))!Hcc.call(c,d)&&d!==e&&Bx(c,d,{get:()=>t[d],enumerable:!(l=xcc(t,d))||l.enumerable});return c};var u=(c,t,e)=>(e=c!=null?mcc(Zcc(c)):{},SC(t||!c||!c.__esModule?Bx(e,"default",{value:c,enumerable:!0}):e,c)),kC=c=>SC(Bx({},"__esModule",{value:!0}),c);var zc=ct((PIc,zC)=>{zC.exports=window.wp.primitives});var ic=ct((_Ic,OC)=>{OC.exports=window.wp.i18n});var bc=ct((qIc,wC)=>{wC.exports=window.wp.compose});var F=ct(($Ic,TC)=>{TC.exports=window.wp.element});var K=ct((cpc,QC)=>{QC.exports=window.React});var V=ct((dpc,XY)=>{XY.exports=window.ReactJSXRuntime});var QY=ct(TY=>{"use strict";var jG=K();function gtc(c,t){return c===t&&(c!==0||1/c===1/t)||c!==c&&t!==t}var Ztc=typeof Object.is=="function"?Object.is:gtc,Htc=jG.useState,Rtc=jG.useEffect,Itc=jG.useLayoutEffect,ptc=jG.useDebugValue;function Wtc(c,t){var e=t(),l=Htc({inst:{value:e,getSnapshot:t}}),d=l[0].inst,b=l[1];return Itc(function(){d.value=e,d.getSnapshot=t,e5(d)&&b({inst:d})},[c,e,t]),Rtc(function(){return e5(d)&&b({inst:d}),c(function(){e5(d)&&b({inst:d})})},[c]),ptc(e),e}function e5(c){var t=c.getSnapshot;c=c.value;try{var e=t();return!Ztc(c,e)}catch{return!0}}function Btc(c,t){return t()}var ytc=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Btc:Wtc;TY.useSyncExternalStore=jG.useSyncExternalStore!==void 0?jG.useSyncExternalStore:ytc});var DY=ct((Tpc,LY)=>{"use strict";LY.exports=QY()});var KG=ct((FWc,dF)=>{dF.exports=window.ReactDOM});var mt=ct((VYc,Qf)=>{Qf.exports=window.wp.deprecated});function OH(c){var t=Object.create(null);return function(e){return t[e]===void 0&&(t[e]=c(e)),t[e]}}var wH=fC(()=>{});var Kk={};Li(Kk,{default:()=>b1});var inc,b1,o1=fC(()=>{wH();inc=/^((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|conte
|
||
|
|
[data-motion-pop-id="${e}"] {
|
||
|
|
position: absolute !important;
|
||
|
|
width: ${o}px !important;
|
||
|
|
height: ${n}px !important;
|
||
|
|
top: ${i}px !important;
|
||
|
|
left: ${a}px !important;
|
||
|
|
}
|
||
|
|
`),()=>{document.head.removeChild(G)}},[t]),(0,Gz.jsx)(i1,{isPresent:t,childRef:l,sizeRef:d,children:UH.cloneElement(c,{ref:l})})}var sz=({children:c,initial:t,isPresent:e,onExitComplete:l,custom:d,presenceAffectsLayout:b,mode:o})=>{let n=MX(unc),i=(0,Ca.useId)(),a=(0,Ca.useCallback)(X=>{n.set(X,!0);for(let s of n.values())if(!s)return;l&&l()},[n,l]),G=(0,Ca.useMemo)(()=>({id:i,initial:t,isPresent:e,custom:d,onExitComplete:a,register:X=>(n.set(X,!1),()=>n.delete(X))}),b?[Math.random(),a]:[e,a]);return(0,Ca.useMemo)(()=>{n.forEach((X,s)=>n.set(s,!1))},[e]),uz.useEffect(()=>{!e&&!n.size&&l&&l()},[e]),o==="popLayout"&&(c=(0,a1.jsx)(Xz,{isPresent:e,children:c})),(0,a1.jsx)(Pn.Provider,{value:G,children:c})};function unc(){return new Map}var jH=u(K(),1),r0=c=>c.key||"";function G1(c){let t=[];return jH.Children.forEach(c,e=>{(0,jH.isValidElement)(e)&&t.push(e)}),t}var tu=({children:c,exitBeforeEnter:t,custom:e,initial:l=!0,onExitComplete:d,presenceAffectsLayout:b=!0,mode:o="sync"})=>{Ll(!t,"Replace exitBeforeEnter with mode='wait'");let n=(0,jb.useMemo)(()=>G1(c),[c]),i=n.map(r0),a=(0,jb.useRef)(!0),G=(0,jb.useRef)(n),X=MX(()=>new Map),[s,r]=(0,jb.useState)(n),[m,x]=(0,jb.useState)(n);VH(()=>{a.current=!1,G.current=n;for(let Z=0;Z<m.length;Z++){let H=r0(m[Z]);i.includes(H)?X.delete(H):X.get(H)!==!0&&X.set(H,!1)}},[m,i.length,i.join("-")]);let g=[];if(n!==s){let Z=[...n];for(let H=0;H<m.length;H++){let W=m[H],p=r0(W);i.includes(p)||(Z.splice(H,0,W),g.push(W))}o==="wait"&&g.length&&(Z=g),x(G1(Z)),r(n);return}let{forceRender:R}=(0,jb.useContext)(zX);return(0,m0.jsx)(m0.Fragment,{children:m.map(Z=>{let H=r0(Z),W=n===m||i.includes(H),p=()=>{if(X.has(H))X.set(H,!0);else return;let I=!0;X.forEach(y=>{y||(I=!1)}),I&&(R?.(),x(G.current),d&&d())};return(0,m0.jsx)(sz,{isPresent:W,initial:!a.current||l?void 0:!1,custom:W?void 0:e,presenceAffectsLayout:b,mode:o,onExitComplete:W?void 0:p,children:Z},H)})})};var eu=u(F(),1);function Te(c){return c!=null}function rz(c){let t=c==="";return!Te(c)||t}function mz(c=[],t){return c.find(Te)??t}var snc=c=>parseFloat(c),x0=c=>typeof c=="string"?snc(c):c;var xz={initial:void 0,fallback:""};function rnc(c,t=xz){let{initial:e,fallback:l}={...xz,...t},[d,b]=(0,eu.useState)(c),o=Te(c);(0,eu.useEffect)(()=>{o&&d&&b(void 0)},[o,d]);let n=mz([c,d,e],l),i=(0,eu.useCallback)(a=>{o||b(a)},[o]);return[n,i]}var jo=rnc;var g0=u(F(),1);function mnc(c,t){let e=(0,g0.useRef)(!1);(0,g0.useEffect)(()=>{if(e.current)return c();e.current=!0},t),(0,g0.useEffect)(()=>()=>{e.current=!1},[])}var Ya=mnc;var EH=u(F(),1);function tl({defaultValue:c,onChange:t,value:e}){let l=typeof e<"u",d=l?e:c,[b,o]=(0,EH.useState)(d),n=l?e:b,i=(0,EH.useCallback)((G,...X)=>{o(G),t?.(G,...X)},[t]),a;return l&&typeof t=="function"?a=t:!l&&typeof t=="function"?a=i:a=o,[n,a]}var xd=u(K()),y0=u(K());var xnc=!1;function gnc(c){if(c.sheet)return c.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===c)return document.styleSheets[t]}function Znc(c){var t=document.createElement("style");return t.setAttribute("data-emotion",c.key),c.nonce!==void 0&&t.setAttribute("nonce",c.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var gz=(function(){function c(e){var l=this;this._insertTag=function(d){var b;l.tags.length===0?l.insertionPoint?b=l.insertionPoint.nextSibling:l.prepend?b=l.container.firstChild:b=l.before:b=l.tags[l.tags.length-1].nextSibling,l.container.insertBefore(d,b),l.tags.push(d)},this.isSpeedy=e.speedy===void 0?!xnc:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=c.prototype;return t.hydrate=function(l){l.forEach(this._insertTag)},t.insert=function(l){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Znc(this));var d=this.tags[this.tags.length-1];if(this.isSpeedy){var b=gnc(d);try{b.insertRule(l,b.cssRules.length)}catch{}}else d.appendChild(document.createTextNode(l));this.ctr++},t.flush=function(){this.tags.forEach(function(l){var d;r
|
||
|
|
feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix
|
||
|
|
feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood
|
||
|
|
feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode
|
||
|
|
feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile
|
||
|
|
feTurbulence filter foreignObject g image line linearGradient marker mask
|
||
|
|
metadata mpath path pattern polygon polyline radialGradient rect set stop svg
|
||
|
|
switch symbol text textPath tspan use view`.split(/\s+/)),Lic=new Set(`children dangerouslySetInnerHTML key 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`.split(/\s+/)),Dic=new Set(`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`.split(/\s+/)),Uic=new Set(["autofocus","class","for"]);function jic(c,t){return wic.test(c)||Tic.test(c)||Lic.has(c)||Uic.has(c)?!0:Qic.has(t)&&Dic.has(c)}function Eic(c,t){return Object.fromEntries(Object.entries(c).filter(([e])=>jic(e,t)))}function Mic({as:c,...t},e){let l=c||"div",d=typeof l=="string"?Eic(t,l):t;return(0,oO.jsx)(l,{ref:e,...d})}var RR=(0,bO.forwardRef)(Mic);var iO=u(V(),1);function Pic({css:c,...t},e){return(0,iO.jsx)(RR,{ref:e,...t})}var Kic=Object.assign((0,nO.forwardRef)(Pic),{selector:".components-view"}),ac=Kic;var aO=u(V(),1);function _ic(c,t){let{style:e,...l}=ec(c,"VisuallyHidden");return(0,aO.jsx)(ac,{ref:t,...l,"data-visually-hidden":"",style:{...dO,...e||{}}})}var qic=lc(_ic,"VisuallyHidden"),kc=qic;var lb=u(ic(),1),F1=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],GO={"top left":(0,lb.__)("Top Left"),"top center":(0,lb.__)("Top Center"),"top right":(0,lb.__)("Top Right"),"center left":(0,lb.__)("Center Left"),"center center":(0,lb.__)("Center"),center:(0,lb.__)("Center"),"center right":(0,lb.__)("Center Right"),"bottom left":(0,lb.__)("Bottom Left"),"bottom center":(0,lb.__)("Bottom Center"),"bottom right":(0,lb.__)("Bottom Right")},IR=F1.flat();function N1(c){let e=(c==="center"?"center center":c)?.replace("-"," ");return IR.includes(e)?e:void 0}function pR(c,t){let e=N1(t);if(!e)return;let l=e.replace(" ","-");return`${c}-${l}`}function XO(c,t){let e=t?.replace(c+"-","");return N1(e)}function uO(c="center"){let t=N1(c);if(!t)return;let e=IR.indexOf(t);return e>-1?e:void 0}var Aa=u(V(),1),f1="data-wp-hash";function S1(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&cac(document)),c.__wpStyleRuntime}function $ic(c,t){if(!c.head)return!1;for(let e of c.head.querySelectorAll(`style[${f1}]`))if(e.getAttribute(f1)===t)return!0;return!1}function rO(c,t,e){if(!c.head)return;let l=S1(),d=l.injectedStyles.get(c);if(d||(d=new Set,l.injectedStyles.set(c,d)),d.has(t))return;if($ic(c,t)){d.add(t);return}let b=c.createElement("style");b.setAttribute(f1,t),b.appendChild(c.createTextNode(e)),c.head.appendChild(b),d.add(t)}function cac(c){let t=S1();t.documents.set(c,(t.documents.get(c)??0)+1);for(let[e,l]of t.styles)rO(c,e,l);return()=>{let e=t.documents.get(c);if(e!==void 0){if(e<=1){t.documents.delete(c);return}t.documents.set(c,e-1)}}}function tac(c,t){let e=S1();e.styles.set(c,t);for(let l of e.documents.keys())rO(l,c,t)}typeof process>"u",tac("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:
|
||
|
|
1,
|
||
|
|
max( 0, var( --selected-width, 0 ), var( --selected-height, 0 ) )
|
||
|
|
);}`,""),muc=c=>{let t=L("border-color:",O.gray[300],";","");return L(c&&t," &:hover{border-color:",O.gray[400],";}&:focus-within{z-index:1;outline:",A.borderWidthFocus," solid ",O.ui.borderFocus,";outline-offset:1px;}","")};var LQ=u(bc(),1),Au=u(F(),1),DQ=u(ic(),1);var QI=u(F(),1),f2=(0,QI.createContext)({});f2.displayName="ToggleGroupControlContext";var TQ=()=>(0,QI.useContext)(f2),LI=f2;var QQ=u(bc(),1),zu=u(F(),1);function DI(c){let t=(0,zu.useRef)(!0),e=(0,QQ.usePrevious)(c),l=(0,zu.useRef)(!1);(0,zu.useEffect)(()=>{t.current&&(t.current=!1)},[]);let d=l.current||!t.current&&e!==c;return(0,zu.useEffect)(()=>{l.current=d},[d]),d?{value:c??"",defaultValue:void 0}:{value:void 0,defaultValue:c}}var UI=u(V(),1);function guc({children:c,isAdaptiveWidth:t,label:e,onChange:l,value:d,id:b,setSelectedElement:o,...n},i){let a=(0,LQ.useInstanceId)(jI,"toggle-group-control-as-radio-group"),G=b||a,{value:X,defaultValue:s}=DI(d),m=GX({defaultValue:s,value:X,setValue:l?Z=>{l(Z??void 0)}:void 0,rtl:(0,DQ.isRTL)()}),x=E(m,"value"),g=m.setValue;(0,Au.useEffect)(()=>{x===""&&m.setActiveId(void 0)},[m,x]);let R=(0,Au.useMemo)(()=>({activeItemIsNotFirstItem:()=>m.getState().activeId!==m.first(),baseId:G,isBlock:!t,value:x,setValue:g,setSelectedElement:o}),[G,t,m,x,o,g]);return(0,UI.jsx)(LI.Provider,{value:R,children:(0,UI.jsx)(aX,{store:m,"aria-label":e,render:(0,UI.jsx)(ac,{}),...n,id:G,ref:i,children:c})})}var jI=(0,Au.forwardRef)(guc);jI.displayName="ToggleGroupControlAsRadioGroup";var UQ=u(bc(),1),EI=u(F(),1);var S2=u(V(),1);function Zuc({children:c,isAdaptiveWidth:t,label:e,onChange:l,value:d,id:b,setSelectedElement:o,...n},i){let a=(0,UQ.useInstanceId)(MI,"toggle-group-control-as-button-group"),G=b||a,{value:X,defaultValue:s}=DI(d),[r,m]=tl({defaultValue:s,value:X,onChange:l}),x=(0,EI.useMemo)(()=>({baseId:G,value:r,setValue:m,isBlock:!t,isDeselectable:!0,setSelectedElement:o}),[G,r,m,t,o]);return(0,S2.jsx)(LI.Provider,{value:x,children:(0,S2.jsx)(ac,{"aria-label":e,...n,ref:i,role:"group",id:G,children:c})})}var MI=(0,EI.forwardRef)(Zuc);MI.displayName="ToggleGroupControlAsButtonGroup";var ja=u(F(),1),PI=u(bc(),1),k2={element:void 0,top:0,right:0,bottom:0,left:0,width:0,height:0};function Huc(c){let t=c.getBoundingClientRect();if(t.width===0||t.height===0)return;let e=c.offsetParent,l=e?.getBoundingClientRect()??k2,d=e?.scrollLeft??0,b=e?.scrollTop??0,o=parseFloat(getComputedStyle(c).width),n=parseFloat(getComputedStyle(c).height),i=o/t.width,a=n/t.height;return{element:c,top:(t.top-l?.top)*a+b,right:(l?.right-t.right)*i-d,bottom:(l?.bottom-t.bottom)*a-b,left:(t.left-l?.left)*i+d,width:o,height:n}}var Ruc=100;function KI(c,t=[]){let[e,l]=(0,ja.useState)(k2),d=(0,ja.useRef)(void 0),b=(0,PI.useEvent)(()=>{if(c&&c.isConnected){let n=Huc(c);if(n)return l(n),clearInterval(d.current),!0}else clearInterval(d.current);return!1}),o=(0,PI.useResizeObserver)(()=>{b()||requestAnimationFrame(()=>{b()||(d.current=setInterval(b,Ruc))})});return(0,ja.useLayoutEffect)(()=>{o(c),c||l(k2)},[o,c]),(0,ja.useLayoutEffect)(()=>{b()},t),e}var MQ=u(bc(),1),z2=u(F(),1);var jQ=u(bc(),1),_I=u(F(),1);function EQ(c,t){let e=(0,_I.useRef)(c),l=(0,jQ.useEvent)(t);(0,_I.useLayoutEffect)(()=>{e.current!==c&&(l({previousValue:e.current}),e.current=c)},[l,c])}function qI(c,t,{prefix:e="subelement",dataAttribute:l=`${e}-animated`,transitionEndFilter:d=()=>!0,roundRect:b=!1}={}){let o=(0,MQ.useEvent)(()=>{Object.keys(t).forEach(n=>n!=="element"&&c?.style.setProperty(`--${e}-${n}`,String(b?Math.floor(t[n]):t[n])))});(0,z2.useLayoutEffect)(()=>{o()},[t,o]),EQ(t.element,({previousValue:n})=>{t.element&&n&&c?.setAttribute(`data-${l}`,"")}),(0,z2.useLayoutEffect)(()=>{function n(i){d(i)&&c?.removeAttribute(`data-${l}`)}return c?.addEventListener("transitionend",n),()=>c?.removeEventListener("transitionend",n)},[l,c,d])}var A2=u(V(),1);function Iuc(c,t){let{__nextHasNoMarginBottom:e,size:l,__next40pxDefaultSize:d,__shouldNotWarnDeprecated36pxSize:b,className:o,isAdaptiveWidth:n=!1,isBlock:i=!1,isDeselectable:a=!1,id:G,label:X,hideLabelFromVision:s=!1,help:r,onChange:m,va
|
||
|
|
.react-colorful__interactive {
|
||
|
|
width: calc( 100% - ${Q(2)} );
|
||
|
|
margin-left: ${Q(1)};
|
||
|
|
}`,EL=S("div",{target:"ez9hsf43"})("padding-top:",Q(2),";padding-right:0;padding-left:0;padding-bottom:0;"),ML=S(jc,{target:"ez9hsf42"})("padding-left:",Q(4),";padding-right:",Q(4),";"),PL=S(Zt,{target:"ez9hsf41"})("padding-top:",Q(4),";padding-left:",Q(4),";padding-right:",Q(3),";padding-bottom:",Q(5),";"),KL=S("div",{target:"ez9hsf40"})(Ml,";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:",Q(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:",A.radiusFull,";margin-bottom:",Q(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 ",A.transitionDurationFast," ease-in-out;}}.react-colorful__interactive:focus .react-colorful__pointer{box-shadow:0 0 0 ",A.borderWidthFocus," ",A.surfaceColor,";border:",A.borderWidthFocus," solid black;transform:translate( -50%, -50% ) scale( 1.5 );}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",A.borderWidthFocus," #fff;}",usc,";");var _L=u(bc(),1),Qu=u(F(),1);var M2=u(ic(),1);var P2=u(V(),1),qL=c=>{let{color:t,colorType:e}=c,[l,d]=(0,Qu.useState)(null),b=(0,Qu.useRef)(void 0),o=(0,_L.useCopyToClipboard)(()=>{switch(e){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:case"hex":return t.toHex()}},()=>{b.current&&clearTimeout(b.current),d(t.toHex()),b.current=setTimeout(()=>{d(null),b.current=void 0},3e3)});(0,Qu.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]);let n=l===t.toHex(),i=n?(0,M2.__)("Copied!"):(0,M2.__)("Copy");return(0,P2.jsx)(Nl,{delay:0,hideOnClick:!1,text:i,children:(0,P2.jsx)(Bu,{size:"compact","aria-label":i,ref:o,icon:n?De:uh,showTooltip:!1})})};var $a=u(V(),1),oo=({min:c,max:t,label:e,abbreviation:l,onChange:d,value:b})=>(0,$a.jsxs)(jc,{spacing:4,children:[(0,$a.jsx)(DL,{min:c,max:t,label:e,hideLabelFromVision:!0,value:b,onChange:n=>{if(!n){d(0);return}if(typeof n=="string"){d(parseInt(n,10));return}d(n)},prefix:(0,$a.jsx)(ai,{children:(0,$a.jsx)(nl,{color:O.theme.accent,lineHeight:1,children:l})}),spinControls:"none"}),(0,$a.jsx)(jL,{label:e,hideLabelFromVision:!0,min:c,max:t,value:b,onChange:d,withInputField:!1})]});var dn=u(V(),1),$L=({color:c,onChange:t,enableAlpha:e})=>{let{r:l,g:d,b,a:o}=c.toRgb();return(0,dn.jsxs)(dn.Fragment,{children:[(0,dn.jsx)(oo,{min:0,max:255,label:"Red",abbreviation:"R",value:l,onChange:n=>t(Zc({r:n,g:d,b,a:o}))}),(0,dn.jsx)(oo,{min:0,max:255,label:"Green",abbreviation:"G",value:d,onChange:n=>t(Zc({r:l,g:n,b,a:o}))}),(0,dn.jsx)(oo,{min:0,max:255,label:"Blue",abbreviation:"B",value:b,onChange:n=>t(Zc({r:l,g:d,b:n,a:o}))}),e&&(0,dn.jsx)(oo,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(o*100),onChange:n=>t(Zc({r:l,g:d,b,a:n/100}))})]})};var bn=u(V(),1),cD=({hsla:c,onChange:t,enableAlpha:e})=>{let l=d=>{t({...c,...d})};return(0,bn.jsxs)(bn.Fragment,{children:[(0,bn.jsx)(oo,{min:0,max:359,label:"Hue",abbreviation:"H",value:c.h,onChange:d=>{l({h:d})}}),(0,bn.jsx)(oo,{min:0,max:100,label:"Saturation",abbreviation:"S",value:c.s,onChange:d=>{l({s:d})}}),(0,bn.jsx)(oo,{min:0,max:100,label:"Lightness",abbreviation:"L",value:c.l,onChange:d=>{l({l:d})}}),e&&(0,bn.jsx)(oo,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c.a),onChange:d=>{l({a:d/100})}})]})};var tD=u(ic(),1);var op=u(V(),1),eD=({color:c,onChange:t,enableAlpha:e})=>{let l=b=>{if(b===void 0)return;let o=b.startsWith("#")?b:"#"+b;t(Zc(o))},d=(b,o)=>{if(o.payload?.event?.nativeEvent?.inputType!=="insertFromPaste")return{...b};let i=b.value?.startsWith("#")?b.value.slice(1).toUpperCase():b.value?.toUpperCase();return{...b,value:i}};return(0,op.jsx)(RI,{prefix:(0,op.jsx)(ai,{children:(0,op.jsx)(nl,{color:O.theme.accent,lineHeight:1,children:"#"})}),value:c.toHex().slice(1).toUpperCase(),onChange:l,maxLength:e?9:7,label:(0,tD.__)("Hex color"),hideLabelFromVision:!0,__unstableStateRedu
|
||
|
|
-45deg,
|
||
|
|
transparent 48%,
|
||
|
|
rgb( 0 0 0 / 20% ) 48%,
|
||
|
|
rgb( 0 0 0 / 20% ) 52%,
|
||
|
|
transparent 52%
|
||
|
|
);}`,"")},Ksc=28,_sc=12,cU=L("width:",Ksc*6+_sc*5,"px;>div:first-of-type>",Kl,"{margin-bottom:0;}&& ",Kl,"+button:not( .has-text ){min-width:24px;padding:0;}",""),tU=L("",""),eU=L("",""),lU={name:"1ghe26v",styles:"display:flex;justify-content:flex-end;margin-top:12px"},dU=()=>L("flex:1 1 60%;",dt({marginRight:Q(3)})(),";","");var Tc=u(ic(),1),Go={px:{value:"px",label:"px",a11yLabel:(0,Tc.__)("Pixels (px)"),step:1},"%":{value:"%",label:"%",a11yLabel:(0,Tc.__)("Percent (%)"),step:.1},em:{value:"em",label:"em",a11yLabel:(0,Tc._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:"rem",a11yLabel:(0,Tc._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:"vw",a11yLabel:(0,Tc.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:"vh",a11yLabel:(0,Tc.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:"vmin",a11yLabel:(0,Tc.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:"vmax",a11yLabel:(0,Tc.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:"ch",a11yLabel:(0,Tc.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:"ex",a11yLabel:(0,Tc.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:"cm",a11yLabel:(0,Tc.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:"mm",a11yLabel:(0,Tc.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:"in",a11yLabel:(0,Tc.__)("Inches (in)"),step:.001},pc:{value:"pc",label:"pc",a11yLabel:(0,Tc.__)("Picas (pc)"),step:1},pt:{value:"pt",label:"pt",a11yLabel:(0,Tc.__)("Points (pt)"),step:1},svw:{value:"svw",label:"svw",a11yLabel:(0,Tc.__)("Small viewport width (svw)"),step:.1},svh:{value:"svh",label:"svh",a11yLabel:(0,Tc.__)("Small viewport height (svh)"),step:.1},svi:{value:"svi",label:"svi",a11yLabel:(0,Tc.__)("Small viewport width or height (svi)"),step:.1},svb:{value:"svb",label:"svb",a11yLabel:(0,Tc.__)("Small viewport width or height (svb)"),step:.1},svmin:{value:"svmin",label:"svmin",a11yLabel:(0,Tc.__)("Small viewport smallest dimension (svmin)"),step:.1},lvw:{value:"lvw",label:"lvw",a11yLabel:(0,Tc.__)("Large viewport width (lvw)"),step:.1},lvh:{value:"lvh",label:"lvh",a11yLabel:(0,Tc.__)("Large viewport height (lvh)"),step:.1},lvi:{value:"lvi",label:"lvi",a11yLabel:(0,Tc.__)("Large viewport width or height (lvi)"),step:.1},lvb:{value:"lvb",label:"lvb",a11yLabel:(0,Tc.__)("Large viewport width or height (lvb)"),step:.1},lvmin:{value:"lvmin",label:"lvmin",a11yLabel:(0,Tc.__)("Large viewport smallest dimension (lvmin)"),step:.1},dvw:{value:"dvw",label:"dvw",a11yLabel:(0,Tc.__)("Dynamic viewport width (dvw)"),step:.1},dvh:{value:"dvh",label:"dvh",a11yLabel:(0,Tc.__)("Dynamic viewport height (dvh)"),step:.1},dvi:{value:"dvi",label:"dvi",a11yLabel:(0,Tc.__)("Dynamic viewport width or height (dvi)"),step:.1},dvb:{value:"dvb",label:"dvb",a11yLabel:(0,Tc.__)("Dynamic viewport width or height (dvb)"),step:.1},dvmin:{value:"dvmin",label:"dvmin",a11yLabel:(0,Tc.__)("Dynamic viewport smallest dimension (dvmin)"),step:.1},dvmax:{value:"dvmax",label:"dvmax",a11yLabel:(0,Tc.__)("Dynamic viewport largest dimension (dvmax)"),step:.1},svmax:{value:"svmax",label:"svmax",a11yLabel:(0,Tc.__)("Small viewport largest dimension (svmax)"),step:.1},lvmax:{value:"lvmax",label:"lvmax",a11yLabel:(0,Tc.__)("Large viewport largest dimension (lvmax)"),step:.1}},up=Object.values(Go),sp=[Go.px,Go["%"],Go.em,Go.rem,Go.vw,Go.vh],qsc=Go.px;function nJ(c,t,e){let l=t?`${c??""}${t}`:c;return Et(l,e)}function rp(c){return Array.isArray(c)&&!!c.length}function Et(c,t=up){let e,l;if(typeof c<"u"||c===null){e=`${c}`.trim();let n=parseFloat(e);l=isFinite(n)?n:void 0}let b=e?.match(/[\d.\-\+]*\s*(.*)/)?.[1]?.toLowerCase(),o;return rp(t)?o=t.find(i=>i.value===b)?.value:o=qsc.value,[l,o]}function oU(c,t,e,l){let[d,b]=Et(c,t),o=d??e,n=b||l;return!n&&rp(t)&&(n=t[0].value),[o,n]}function $sc(c=[],t){return Array.isArray(t)?t.filter(e=>c.includes(e.value)):[]}var Rm=({units:c=up,availableUnits:t=[],defaultValues:e})=>{let l=$sc(t,c);return e?l.map(d=>{let[b]=e[d.value]?Et(e[d.value]):[];retu
|
||
|
|
${t}`}function aj(c){let{active:t,borderRadius:e="inherit",className:l,focus:d,hover:b,isInteractive:o=!1,offset:n=0,value:i=0,...a}=ec(c,"Elevation"),G=Hc(),X=(0,ij.useMemo)(()=>{let s=Te(b)?b:i*2,r=Te(t)?t:i/2;o||(s=Te(b)?b:void 0,r=Te(t)?t:void 0);let m=`box-shadow ${A.transitionDuration} ${A.transitionTimingFunction}`,x={};x.Base=L({borderRadius:e,bottom:n,boxShadow:Cp(i),opacity:A.elevationIntensity,left:n,right:n,top:n},L("@media not ( prefers-reduced-motion ){transition:",m,";}",""),"",""),Te(s)&&(x.hover=L("*:hover>&{box-shadow:",Cp(s),";}","")),Te(r)&&(x.active=L("*:active>&{box-shadow:",Cp(r),";}","")),Te(d)&&(x.focus=L("*:focus>&{box-shadow:",Cp(d),";}",""));let g=L(nj,x.Base,x.hover,x.focus,x.active,"","");return G(g,l)},[t,e,l,G,d,b,o,n,i]);return{...a,className:X,"aria-hidden":!0}}var Gj=u(V(),1);function Jrc(c,t){let e=aj(c);return(0,Gj.jsx)(ac,{...e,ref:t})}var vrc=lc(Jrc,"Elevation"),ju=vrc;var Xj=L("padding:",Q(2),";",""),uj={none:{name:"1hcx8jb",styles:"padding:0"},large:L("padding:",Q(6)," ",Q(8),";",""),medium:L("padding:",Q(4)," ",Q(6),";",""),small:L("padding:",Q(4),";",""),xSmall:Xj,extraSmall:Xj},Yp=c=>{switch(c){case"xSmall":return Q(2);case"small":return Q(4);case"medium":return Q(6);case"large":return Q(8);case"none":return"0";default:return Q(6)}},Vm=c=>{if(typeof c=="string")return uj[c];if(c){let{blockStart:t,blockEnd:e,inlineStart:l,inlineEnd:d}=c;return L("padding-block-start:",Yp(t),";padding-block-end:",Yp(e),";padding-inline-start:",Yp(l),";padding-inline-end:",Yp(d),";","")}return uj.medium};var hm=`calc(${A.radiusLarge} - 1px)`,Crc=L("box-shadow:0 0 0 1px ",A.surfaceBorderColor,";outline:none;",""),Yrc={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},Frc={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},sj={name:"13udsys",styles:"height:100%"},rj={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},mj={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},xj={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},Eu=L("&:first-of-type{border-top-left-radius:",hm,";border-top-right-radius:",hm,";}&:last-of-type{border-bottom-left-radius:",hm,";border-bottom-right-radius:",hm,";}",""),Fp=L("border-color:",A.colorDivider,";",""),Nrc={name:"1t90u8d",styles:"box-shadow:none"},gj={name:"1e1ncky",styles:"border:none"},frc=L("border-radius:",hm,";",""),Np=L("background-color:",O.ui.backgroundDisabled,";","");function Zj({isBorderless:c,isRounded:t}){return L(Crc,c&&Nrc,t&&frc,"","")}function Hj({isBorderless:c,isShady:t,size:e}){return L(Yrc,Eu,Fp,Vm(e),c&&gj,t&&Np,"","")}function Rj({isBorderless:c,isShady:t,size:e}){return L(Frc,Eu,Fp,Vm(e),c&&gj,t&&Np,"","")}var Wj=u(mt(),1),Bj=u(F(),1);var HJ="data-wp-hash";function RJ(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&krc(document)),c.__wpStyleRuntime}function Src(c,t){if(!c.head)return!1;for(let e of c.head.querySelectorAll(`style[${HJ}]`))if(e.getAttribute(HJ)===t)return!0;return!1}function Ij(c,t,e){if(!c.head)return;let l=RJ(),d=l.injectedStyles.get(c);if(d||(d=new Set,l.injectedStyles.set(c,d)),d.has(t))return;if(Src(c,t)){d.add(t);return}let b=c.createElement("style");b.setAttribute(HJ,t),b.appendChild(c.createTextNode(e)),c.head.appendChild(b),d.add(t)}function krc(c){let t=RJ();t.documents.set(c,(t.documents.get(c)??0)+1);for(let[e,l]of t.styles)Ij(c,e,l);return()=>{let e=t.documents.get(c);if(e!==void 0){if(e<=1){t.documents.delete(c);return}t.documents.set(c,e-1)}}}function zrc(c,t){let e=RJ();e.styles.set(c,t);for(let l of e.documents.keys())Ij(l,c,t)}typeof process>"u",zrc("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-botto
|
||
|
|
from {
|
||
|
|
transform: rotate(0deg);
|
||
|
|
}
|
||
|
|
to {
|
||
|
|
transform: rotate(360deg);
|
||
|
|
}
|
||
|
|
`,bM=S("svg",{target:"ea4tfvq2"})("width:",A.spinnerSize,"px;height:",A.spinnerSize,"px;display:inline-block;margin:5px 11px 0;position:relative;color:",O.theme.accent,";overflow:visible;opacity:1;background-color:transparent;"),oM={name:"9s4963",styles:"fill:transparent;stroke-width:1.5px"},nM=S("circle",{target:"ea4tfvq1"})(oM,";stroke:",O.gray[300],";"),iM=S("path",{target:"ea4tfvq0"})(oM,";stroke:currentColor;stroke-linecap:round;transform-origin:50% 50%;animation:1.4s linear infinite both ",cmc,";");var aM=u(F(),1),Ym=u(V(),1);function tmc({className:c,...t},e){return(0,Ym.jsxs)(bM,{className:f("components-spinner",c),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...t,ref:e,children:[(0,Ym.jsx)(nM,{cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,Ym.jsx)(iM,{d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})}var GM=(0,aM.forwardRef)(tmc);GM.displayName="Spinner";var es=GM;var rb=u(V(),1),emc=()=>{},lmc=nW(class extends zl.Component{handleFocusOutside(t){this.props.onFocusOutside(t)}render(){return this.props.children}}),iW=(c,t)=>c===null?-1:t.indexOf(c);function uM(c){let{value:t,label:e,options:l,onChange:d,onFilterValueChange:b=emc,hideLabelFromVision:o,help:n,allowReset:i=!0,className:a,isLoading:G=!1,messages:X={selected:(0,Bi.__)("Item selected.")},__experimentalRenderItem:s,expandOnFocus:r=!0,placeholder:m}=c,[x,g]=tl({value:t,onChange:d}),R=l.find(j=>j.value===x),Z=R?.label??"",H=(0,XM.useInstanceId)(uM,"combobox-control"),[W,p]=(0,zl.useState)(R||null),[I,y]=(0,zl.useState)(!1),[B,C]=(0,zl.useState)(!1),[J,h]=(0,zl.useState)(""),Y=(0,zl.useRef)(null),N=(0,zl.useMemo)(()=>{let j=[],q=[],Gc=om(J);return l.forEach(Rc=>{let Vc=om(Rc.label).indexOf(Gc);Vc===0?j.push(Rc):Vc>0&&q.push(Rc)}),j.concat(q)},[J,l]),w=j=>{j.disabled||(g(j.value),(0,KJ.speak)(X.selected,"assertive"),p(j),h(""),y(!1))},z=(j=1)=>{let Gc=iW(W,N)+j;Gc<0?Gc=N.length-1:Gc>=N.length&&(Gc=0),p(N[Gc]),y(!0)},D=Rd(j=>{let q=!1;if(!j.defaultPrevented){switch(j.code){case"Enter":W&&(w(W),q=!0);break;case"ArrowUp":z(-1),q=!0;break;case"ArrowDown":z(1),q=!0;break;case"Escape":y(!1),p(null),q=!0;break;default:break}q&&j.preventDefault()}}),U=()=>{C(!1)},k=()=>{C(!0),r&&y(!0),b(""),h("")},v=()=>{y(!0)},T=()=>{y(!1)},P=j=>{let q=j.value;h(q),b(q),B&&y(!0)},tc=()=>{g(null),Y.current?.focus()},M=j=>{j.stopPropagation()};return(0,zl.useEffect)(()=>{let j=N.length>0,q=iW(W,N)>0;j&&!q&&p(N[0])},[N,W]),(0,zl.useEffect)(()=>{let j=N.length>0;if(I){let q=j?(0,Bi.sprintf)((0,Bi._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",N.length),N.length):(0,Bi.__)("No results.");(0,KJ.speak)(q,"polite")}},[N,I]),(0,rb.jsx)(lmc,{onFocusOutside:T,children:(0,rb.jsx)(Oc,{className:f(a,"components-combobox-control"),label:e,id:`components-form-token-input-${H}`,hideLabelFromVision:o,help:n,children:(0,rb.jsxs)("div",{className:"components-combobox-control__suggestions-container",tabIndex:-1,onKeyDown:D,children:[(0,rb.jsxs)(cM,{children:[(0,rb.jsx)(ol,{children:(0,rb.jsx)(lW,{className:"components-combobox-control__input",instanceId:H,ref:Y,placeholder:m,value:I?J:Z,onFocus:k,onBlur:U,onClick:v,isExpanded:I,selectedSuggestionIndex:iW(W,N),onChange:P,"aria-describedby":n?`components-form-token-input-${H}__help`:void 0})}),G&&(0,rb.jsx)(es,{}),i&&!!x&&!I&&(0,rb.jsx)(oc,{size:"small",icon:Po,onClick:tc,onKeyDown:M,label:(0,Bi.__)("Reset")})]}),I&&!G&&(0,rb.jsx)(dW,{instanceId:H,match:{label:J,value:""},displayTransform:j=>j.label,suggestions:N,selectedIndex:iW(W,N),onHover:p,onSelect:w,scrollIntoView:!0,__experimentalRenderItem:s})]})})})}var aW=uM;var sM=u(F(),1),qJ=u(bc(),1),$J=u(mt(),1);var c9=u(V(),1);function rM(c){if(c.state){let{state:t,...e}=c,{store:l,...d}=rM(t);return{...e,...d,store:l}}return c}var _J={__unstableComposite:"Composite",__unstableCompositeGroup:"Composite.Group or Composite.Row",__unstableCompositeItem:"Composite.Item",__unstableUseCompositeState:"Composite"};function t9(c,t={
|
||
|
|
pointer-events: none;
|
||
|
|
`," &&&{border-radius:",A.radiusRound,";height:",Q(7),";width:",Q(7),";font-weight:400;",c=>c.isSelected&&`
|
||
|
|
background: ${O.theme.accent};
|
||
|
|
|
||
|
|
&,
|
||
|
|
&:hover:not(:disabled, [aria-disabled=true]) {
|
||
|
|
color: ${O.theme.accentInverted};
|
||
|
|
}
|
||
|
|
|
||
|
|
&:focus:not(:disabled),
|
||
|
|
&:focus:not(:disabled) {
|
||
|
|
border: ${A.borderWidthFocus} solid currentColor;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Highlight the selected day for high-contrast mode */
|
||
|
|
&::after {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
pointer-events: none;
|
||
|
|
inset: 0;
|
||
|
|
border-radius: inherit;
|
||
|
|
border: 1px solid transparent;
|
||
|
|
}
|
||
|
|
`," ",c=>!c.isSelected&&c.isToday&&`
|
||
|
|
background: ${O.theme.gray[200]};
|
||
|
|
`,";}",c=>c.hasEvents&&`
|
||
|
|
::before {
|
||
|
|
border: 2px solid ${c.isSelected?O.theme.accentInverted:O.theme.accent};
|
||
|
|
border-radius: ${A.radiusRound};
|
||
|
|
content: " ";
|
||
|
|
left: 50%;
|
||
|
|
position: absolute;
|
||
|
|
transform: translate(-50%, 9px);
|
||
|
|
}
|
||
|
|
`,";");var mn=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}},f7=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(c=>{if(f7.test(c)){let t=Date.prototype[c.replace(f7,"$1UTC")];t&&(mn.prototype[c]=t)}});var b0t=new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),o0t=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),n0t=new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var ql=u(Om(),1);function wm(c){if(typeof c=="string")return/Z|[+-]\d{2}(:?\d{2})?$/.test(c)?new mn(new Date(c)):new mn((0,ql.getDate)(c).getTime());let t=c instanceof Date?c.getTime():c;return new mn(t)}function Vi(c){let t=Number((0,ql.date)("Y",c)),e=Number((0,ql.date)("n",c))-1,l=Number((0,ql.date)("j",c));return new Date(t,e,l,0,0,0,0)}function s9(c,t){return t?(c%12+12)%24:c%12}function S7(c){return c%12||12}function Tm(c){return(t,e)=>{let l={...t};return(e.type===Oa||e.type===ni||e.type===wa)&&l.value!==void 0&&(l.value=l.value.toString().padStart(c,"0")),l}}var r9=(c,t)=>new Date(c,t+1,0).getDate();function rs(c,t){let e={year:Number((0,ql.date)("Y",c)),month:Number((0,ql.date)("n",c))-1,date:Number((0,ql.date)("j",c)),hours:Number((0,ql.date)("H",c)),minutes:Number((0,ql.date)("i",c)),seconds:Number((0,ql.date)("s",c)),...t},l=r9(e.year,e.month);e.date=Math.min(e.date,l);let d=String(e.year).padStart(4,"0"),b=String(e.month+1).padStart(2,"0"),o=String(e.date).padStart(2,"0"),n=String(e.hours).padStart(2,"0"),i=String(e.minutes).padStart(2,"0"),a=String(e.seconds).padStart(2,"0"),G=`${d}-${b}-${o}T${n}:${i}:${a}`;return new mn((0,ql.getDate)(G).getTime())}function VW(c){let t=c.target?.ownerDocument.defaultView?.HTMLInputElement??HTMLInputElement;return c.target instanceof t?c.target.validity.valid:!1}var xn="Y-m-d\\TH:i:s";var fd=u(V(),1);function sxc({currentDate:c,onChange:t,events:e=[],isInvalidDate:l,onMonthPreviewed:d,startOfWeek:b=0}){let o=wm(c??new Date),{calendar:n,viewing:i,setSelected:a,setViewing:G,isSelected:X,viewPreviousMonth:s,viewNextMonth:r}=y7({selected:[Vi(o)],viewing:Vi(o),weekStartsOn:b}),[m,x]=(0,hi.useState)(Vi(o)),[g,R]=(0,hi.useState)(!1),[Z,H]=(0,hi.useState)(c);return c!==Z&&(H(c),a([Vi(o)]),G(Vi(o)),x(Vi(o))),(0,fd.jsxs)(V7,{className:"components-datetime__date",role:"application","aria-label":(0,rl.__)("Calendar"),children:[(0,fd.jsxs)(h7,{children:[(0,fd.jsx)(J7,{icon:(0,rl.isRTL)()?YR:vR,variant:"tertiary","aria-label":(0,rl.__)("View previous month"),onClick:()=>{s(),x(ss(m,1));let W=ss(i,1);d?.((0,$l.dateI18n)(xn,W,-W.getTimezoneOffset()))},size:"compact"}),(0,fd.jsxs)(C7,{level:3,children:[(0,fd.jsx)("strong",{children:(0,$l.dateI18n)("F",i,-i.getTimezoneOffset())})," ",(0,$l.dateI18n)("Y",i,-i.getTimezoneOffset())]}),(0,fd.jsx)(v7,{icon:(0,rl.isRTL)()?vR:YR,variant:"tertiary","aria-label":(0,rl.__)("View next month"),onClick:()=>{r(),x(_l(m,1));let W=_l(i,1);d?.((0,$l.dateI18n)(xn,W,-W.getTimezoneOffset()))},size:"compact"})]}),(0,fd.jsxs)(Y7,{onFocus:()=>R(!0),onBlur:()=>R(!1),children:[n[0][0].map(W=>(0,fd.jsx)(F7,{children:(0,$l.dateI18n)("D",W,-W.getTimezoneOffset())},W.toString())),n[0].map(W=>W.map((p,I)=>Am(p,i)?(0,fd.jsx)(rxc,{day:p,column:I+1,isSelected:X(p),isFocusable:mG(p,m),isFocusAllowed:g,isToday:fm(p,Vi(new Date)),isInvalid:l?l(p):!1,numEvents:e.filter(y=>fm(y.date,p)).length,onClick:()=>{a([p]),x(p);let y=rs(o,{year:p.getFullYear(),month:p.getMonth(),date:p.getDate()});t?.((0,$l.date)(xn,y))},onKeyDown:y=>{let B;if(y.key==="ArrowLeft"&&(B=mo(p,(0,rl.isRTL)()?1:-1)),y.key==="ArrowRight"&&(B=mo(p,(0,rl.isRTL)()?-1:1)),y.key==="ArrowUp"&&(B=I7(p,1)),y.key==="ArrowDown"&&(B=yi(p,1)),y.key==="PageUp"&&(B=ss(p,1)),y.key==="PageDown"&&(B=_l(p,1)),y.key==="Home"){let J=(p.getDay()-b+7)%7;B=Z7(p,J)}if(y.key==="End"){let C=p.getDay(),J=(b+6-C)%7;B=mo(p,J)}B&&(y.preventDefault(),x(B),Am(B,i)||(G(B),d?.((0
|
||
|
|
`,A.controlHeight," - ",A.borderWidth,` * 2
|
||
|
|
);display:inline-block;`),w7=S(Je,{target:"exz187h4"})(hW," width:",Q(9),";&&& ",db,"{padding-left:0;}&&& ",Hd,"{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;}"),T7=S("div",{target:"exz187h3"})({name:"1ff36h2",styles:"flex-grow:1"}),Q7=S(Je,{target:"exz187h2"})(hW," width:",Q(9),";"),L7=S(Je,{target:"exz187h1"})(hW," width:",Q(14),";"),m9=S("div",{target:"exz187h0"})({name:"ebu3jh",styles:"text-decoration:underline dotted"});var JW=u(V(),1),xxc=()=>{let{timezone:c}=(0,U7.getSettings)(),t=-1*(new Date().getTimezoneOffset()/60);if(Number(c.offset)===t)return null;let e=Number(c.offset)>=0?"+":"",l=c.abbr!==""&&isNaN(Number(c.abbr))?c.abbr:`UTC${e}${c.offsetFormatted}`,d=c.string.replace("_"," "),b=c.string==="UTC"?(0,D7.__)("Coordinated Universal Time"):`(${l}) ${d}`;return d.trim().length===0?(0,JW.jsx)(m9,{className:"components-datetime__timezone",children:l}):(0,JW.jsx)(Nl,{placement:"top",text:b,children:(0,JW.jsx)(m9,{className:"components-datetime__timezone",children:l})})},j7=xxc;var ms=u(ic(),1),E7=u(F(),1);var Sd=u(V(),1);function x9({value:c,defaultValue:t,is12Hour:e,label:l,minutesProps:d,onChange:b}){let[o={hours:new Date().getHours(),minutes:new Date().getMinutes()},n]=tl({value:c,onChange:b,defaultValue:t}),i=s(o.hours),a=S7(o.hours),G=m=>(x,{event:g})=>{if(!VW(g))return;let R=Number(x);n({...o,[m]:m==="hours"&&e?s9(R,i==="PM"):R})},X=m=>()=>{i!==m&&n({...o,hours:s9(a,m==="PM")})};function s(m){return m<12?"AM":"PM"}return(0,Sd.jsxs)(l?Lm:E7.Fragment,{children:[l&&(0,Sd.jsx)(Oc.VisualLabel,{as:"legend",children:l}),(0,Sd.jsxs)(jc,{alignment:"left",expanded:!1,children:[(0,Sd.jsxs)(z7,{className:"components-datetime__time-field components-datetime__time-field-time",children:[(0,Sd.jsx)(A7,{className:"components-datetime__time-field-hours-input",label:(0,ms.__)("Hours"),hideLabelFromVision:!0,value:String(e?a:o.hours).padStart(2,"0"),step:1,min:e?1:0,max:e?12:23,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:G("hours"),__unstableStateReducer:Tm(2)}),(0,Sd.jsx)(O7,{className:"components-datetime__time-separator","aria-hidden":"true",children:":"}),(0,Sd.jsx)(w7,{className:f("components-datetime__time-field-minutes-input",d?.className),label:(0,ms.__)("Minutes"),hideLabelFromVision:!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:(...m)=>{G("minutes")(...m),d?.onChange?.(...m)},__unstableStateReducer:Tm(2),...d})]}),e&&(0,Sd.jsxs)(Wd,{isBlock:!0,label:(0,ms.__)("Select AM or PM"),hideLabelFromVision:!0,value:i,onChange:m=>{X(m)()},children:[(0,Sd.jsx)(ln,{value:"AM",label:(0,ms.__)("AM")}),(0,Sd.jsx)(ln,{value:"PM",label:(0,ms.__)("PM")})]})]})]})}var xe=u(V(),1),gxc=["dmy","mdy","ymd"];function g9({is12Hour:c,currentTime:t,onChange:e,dateOrder:l,hideLabelFromVision:d=!1}){let[b,o]=(0,xs.useState)(()=>u9(wm(t??new Date)));(0,xs.useEffect)(()=>{o(u9(wm(t??new Date)))},[t]);let n=[{value:"01",label:(0,Kt.__)("January")},{value:"02",label:(0,Kt.__)("February")},{value:"03",label:(0,Kt.__)("March")},{value:"04",label:(0,Kt.__)("April")},{value:"05",label:(0,Kt.__)("May")},{value:"06",label:(0,Kt.__)("June")},{value:"07",label:(0,Kt.__)("July")},{value:"08",label:(0,Kt.__)("August")},{value:"09",label:(0,Kt.__)("September")},{value:"10",label:(0,Kt.__)("October")},{value:"11",label:(0,Kt.__)("November")},{value:"12",label:(0,Kt.__)("December")}],{day:i,month:a,year:G,minutes:X,hours:s}=(0,xs.useMemo)(()=>({day:(0,gn.date)("d",b),month:(0,gn.date)("m",b),year:(0,gn.date)("Y",b),minutes:(0,gn.date)("i",b),hours:(0,gn.date)("H",b)}),[b]),r=p=>(y,{event:B})=>{if(!VW(B))return;let C=Number(y),J=rs(b,{[p]:C});o(J),e?.((0,gn.date)(xn,J))},m=({hours:p,minutes:I})=>{let y=rs(b,{hours:p,minutes:I});o(y),e?.((0,gn.date)(xn,y))},x=(0,xe.jsx)(Q7,{className:"components-datetime__time-field components-datetime__time-field-day",label:(0,Kt.__)("Day"),hideLabelFromVision:!0,value:i,step:1,min:1,max:r9(Number(G),Number(a)-1),required:!0,spi
|
||
|
|
box-shadow: rgb( 0 0 0 / 12% ) 0px 0px 10px;
|
||
|
|
transform: scale( 1.1 );
|
||
|
|
cursor: grabbing;
|
||
|
|
`,";");var L4=u(V(),1);function D4({left:c="50%",top:t="50%",...e}){return(0,L4.jsx)(Q4,{...e,className:"components-focal-point-picker__icon_container",style:{left:c,top:t}})}var gG=u(V(),1);function U4({bounds:c,...t}){return(0,gG.jsxs)(A4,{...t,className:"components-focal-point-picker__grid",style:{width:c.width,height:c.height},children:[(0,gG.jsx)(S9,{style:{top:"33%"}}),(0,gG.jsx)(S9,{style:{top:"66%"}}),(0,gG.jsx)(k9,{style:{left:"33%"}}),(0,gG.jsx)(k9,{style:{left:"66%"}})]})}var FW=u(V(),1);function j4({alt:c,autoPlay:t,src:e,onLoad:l,mediaRef:d,muted:b=!0,...o}){return e?Y4(e)?(0,FW.jsx)("video",{...o,autoPlay:t,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:b,onLoadedData:l,ref:d,src:e}):(0,FW.jsx)("img",{...o,alt:c,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:l,ref:d,src:e}):(0,FW.jsx)(S4,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",ref:d,...o})}var gb=u(V(),1),Mxc=600;function Pxc({__nextHasNoMarginBottom:c,__next40pxDefaultSize:t,autoPlay:e=!0,className:l,help:d,hideLabelFromVision:b,label:o,onChange:n,onDrag:i,onDragEnd:a,onDragStart:G,resolvePoint:X,url:s,value:r={x:.5,y:.5},...m}){let[x,g]=(0,Zn.useState)(r),[R,Z]=(0,Zn.useState)(!1),{startDrag:H,endDrag:W,isDragging:p}=(0,NW.__experimentalUseDragging)({onDragStart:k=>{B.current?.focus();let v=Y(k);v&&(G?.(v,k),g(v))},onDragMove:k=>{k.preventDefault();let v=Y(k);v&&(i?.(v,k),g(v))},onDragEnd:()=>{a?.(),n?.(x)}}),{x:I,y}=p?x:r,B=(0,Zn.useRef)(null),[C,J]=(0,Zn.useState)(Hs),h=(0,Zn.useRef)(()=>{if(!B.current)return;let{clientWidth:k,clientHeight:v}=B.current;J(k>0&&v>0?{width:k,height:v}:{...Hs})});(0,Zn.useEffect)(()=>{let k=h.current;if(!B.current)return;let{defaultView:v}=B.current.ownerDocument;return v?.addEventListener("resize",k),()=>v?.removeEventListener("resize",k)},[]),(0,NW.useIsomorphicLayoutEffect)(()=>{h.current()},[]);let Y=({clientX:k,clientY:v,shiftKey:T})=>{if(!B.current)return;let{top:P,left:tc}=B.current.getBoundingClientRect(),M=(k-tc)/C.width,j=(v-P)/C.height;return T&&(M=Math.round(M/.1)*.1,j=Math.round(j/.1)*.1),N({x:M,y:j})},N=k=>{let v=X?.(k)??k;v.x=Math.max(0,Math.min(v.x,1)),v.y=Math.max(0,Math.min(v.y,1));let T=P=>Math.round(P*100)/100;return{x:T(v.x),y:T(v.y)}},w=k=>{let{code:v,shiftKey:T}=k;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(v))return;k.preventDefault();let P={x:I,y},tc=T?.1:.01,M=v==="ArrowUp"||v==="ArrowLeft"?-1*tc:tc,j=v==="ArrowUp"||v==="ArrowDown"?"y":"x";P[j]=P[j]+M,n?.(N(P))},z={left:I!==void 0?I*C.width:.5*C.width,top:y!==void 0?y*C.height:.5*C.height},D=f("components-focal-point-picker-control",l),U=b?kc:Kl;return Ya(()=>{Z(!0);let k=window.setTimeout(()=>{Z(!1)},Mxc);return()=>window.clearTimeout(k)},[I,y]),(0,gb.jsxs)(F4,{...m,as:"fieldset",className:D,children:[!!o&&(0,gb.jsx)(U,{as:"legend",children:o}),(0,gb.jsx)(N4,{className:"components-focal-point-picker-wrapper",children:(0,gb.jsxs)(f4,{className:"components-focal-point-picker",onKeyDown:w,onMouseDown:H,onBlur:()=>{p&&W()},ref:B,role:"button",tabIndex:-1,children:[(0,gb.jsx)(U4,{bounds:C,showOverlay:R}),(0,gb.jsx)(j4,{alt:(0,E4.__)("Media preview"),autoPlay:e,onLoad:h.current,src:s}),(0,gb.jsx)(D4,{...z,isDragging:p})]})}),(0,gb.jsx)(T4,{hasHelpText:!!d,point:{x:I,y},onChange:k=>{n?.(N(k))}}),!!d&&(0,gb.jsx)(cn,{children:d})]})}var M4=Pxc;var fW=u(bc(),1),P4=u(mt(),1),K4=u(V(),1);function _4({iframeRef:c,...t}){let e=(0,fW.useMergeRefs)([c,(0,fW.useFocusableIframe)()]);return(0,P4.default)("wp.components.FocusableIframe",{since:"5.9",alternative:"wp.compose.useFocusableIframe"}),(0,K4.jsx)("iframe",{ref:e,...t})}var ZG=u(ic(),1);var SW=u(F(),1),X6=u(bc(),1);var q4=S("fieldset",{target:"e8tqeku4"})({name:"k2q51s",styles:"border:0;margin:0;padding:0;display:contents"}),$4=S(jc,{target:"e8tqeku3"})("height:",Q(4),";"),c6=S(oc,{target:"e8tqeku2"})("margin-top:",Q(-1),";"),t6=S(Oc.VisualLabel,{target:"e8tqeku1"})("display:flex;gap:",Q(1),";justify-content:flex-star
|
||
|
|
in srgb,
|
||
|
|
`,O.theme.foreground,`,
|
||
|
|
transparent 90%
|
||
|
|
);border-radius:`,A.radiusFull,";outline:2px solid transparent;outline-offset:2px;:where( & ){width:160px;}"),Kgc={name:"152sa26",styles:"width:var(--indicator-width);transition:width 0.4s ease-in-out"},qP=S("div",{target:"e15u147w1"})("display:inline-block;position:absolute;top:0;height:100%;border-radius:",A.radiusFull,`;background-color:color-mix(
|
||
|
|
in srgb,
|
||
|
|
`,O.theme.foreground,`,
|
||
|
|
transparent 10%
|
||
|
|
);outline:2px solid transparent;outline-offset:-2px;`,({isIndeterminate:c})=>c?L({animationDuration:"1.5s",animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationName:Mgc((0,KP.isRTL)()),width:`${Pgc}%`},"",""):Kgc,";"),$P=S("progress",{target:"e15u147w0"})({name:"11fb690",styles:"position:absolute;top:0;left:0;opacity:0;width:100%;height:100%"});var tx=u(V(),1);function qgc(c,t){let{className:e,value:l,...d}=c,b=!Number.isFinite(l);return(0,tx.jsxs)(_P,{className:e,children:[(0,tx.jsx)(qP,{style:{"--indicator-width":b?void 0:`${l}%`},isIndeterminate:b}),(0,tx.jsx)($P,{max:100,value:l,"aria-label":(0,cK.__)("Loading \u2026"),ref:t,...d})]})}var eK=(0,tK.forwardRef)(qgc);eK.displayName="ProgressBar";var lK=eK;var ed=u(ic(),1);var $gc=c=>c.every(t=>t.parent!==null);function cB(c){let t=c.map(d=>({children:[],parent:null,...d,id:String(d.id)}));if(!$gc(t))return t;let e=t.reduce((d,b)=>{let{parent:o}=b;return d[o]||(d[o]=[]),d[o].push(b),d},{}),l=d=>d.map(b=>{let o=e[b.id];return{...b,children:o&&o.length?l(o):[]}});return l(e[0]||[])}var oK=u(F(),1),nK=u(bK(),1);var iK=u(V(),1);function aK(c,t=0){return c.flatMap(e=>[{value:e.id,label:"\xA0".repeat(t*3)+(0,nK.decodeEntities)(e.name)},...aK(e.children||[],t+1)])}function cZc(c){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:e,label:l,noOptionLabel:d,onChange:b,selectedId:o,tree:n=[],...i}=c,a=(0,oK.useMemo)(()=>[d&&{value:"",label:d},...aK(n)].filter(G=>!!G),[d,n]);return(0,iK.jsx)(um,{label:l,options:a,onChange:b,value:o,...i})}var Js=cZc;var GK=u(V(),1);function XK({label:c,noOptionLabel:t,authorList:e,selectedAuthorId:l,onChange:d}){if(!e)return null;let b=cB(e);return(0,GK.jsx)(Js,{label:c,noOptionLabel:t,onChange:d,tree:b,selectedId:l!==void 0?String(l):void 0})}var uK=u(F(),1);var sK=u(V(),1);function rK({label:c,noOptionLabel:t,categoriesList:e,selectedCategoryId:l,onChange:d,...b}){let o=(0,uK.useMemo)(()=>cB(e),[e]);return(0,sK.jsx)(Js,{label:c,noOptionLabel:t,onChange:d,tree:o,selectedId:l!==void 0?String(l):void 0,...b})}var WG=u(V(),1),tZc=1,eZc=100,lZc=20;function dZc(c){return"categoriesList"in c}function bZc(c){return"categorySuggestions"in c}var oZc=[{label:(0,ed.__)("Newest to oldest"),value:"date/desc"},{label:(0,ed.__)("Oldest to newest"),value:"date/asc"},{label:(0,ed.__)("A \u2192 Z"),value:"title/asc"},{label:(0,ed.__)("Z \u2192 A"),value:"title/desc"}];function nZc({authorList:c,selectedAuthorId:t,numberOfItems:e,order:l,orderBy:d,orderByOptions:b=oZc,maxItems:o=eZc,minItems:n=tZc,onAuthorChange:i,onNumberOfItemsChange:a,onOrderChange:G,onOrderByChange:X,...s}){return(0,WG.jsx)(it,{spacing:"4",className:"components-query-controls",children:[G&&X&&(0,WG.jsx)(yd,{label:(0,ed.__)("Order by"),value:d===void 0||l===void 0?void 0:`${d}/${l}`,options:b,onChange:r=>{if(typeof r!="string")return;let[m,x]=r.split("/");x!==l&&G(x),m!==d&&X(m)}},"query-controls-order-select"),dZc(s)&&s.categoriesList&&s.onCategoryChange&&(0,WG.jsx)(rK,{categoriesList:s.categoriesList,label:(0,ed.__)("Category"),noOptionLabel:(0,ed._x)("All","categories"),selectedCategoryId:s.selectedCategoryId,onChange:s.onCategoryChange},"query-controls-category-select"),bZc(s)&&s.categorySuggestions&&s.onCategoryChange&&(0,WG.jsx)(OW,{label:(0,ed.__)("Categories"),value:s.selectedCategories&&s.selectedCategories.map(r=>({id:r.id,value:r.name||r.value})),suggestions:Object.keys(s.categorySuggestions),onChange:s.onCategoryChange,maxSuggestions:lZc},"query-controls-categories-select"),i&&(0,WG.jsx)(XK,{authorList:c,label:(0,ed.__)("Author"),noOptionLabel:(0,ed._x)("All","authors"),selectedAuthorId:t,onChange:i},"query-controls-author-select"),a&&(0,WG.jsx)(Vd,{label:(0,ed.__)("Number of items"),value:e,onChange:a,min:n,max:o,required:!0},"query-controls-range-control")]})}var mK=nZc;var tB=u(F(),1);var xK=u(F(),1),ex=(0,xK.createContext)({store:void 0,disabled:void 0});ex.displayName="RadioGroupContext";var j9=u(V(),1);function iZc({value:c,children:t,__next40pxDefaultSize:e,...l},d){let{store:b,disabled:o}=(0,tB.useContext)(ex),n=E(b,"value");return(0,j9.jsx)(iX,
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
html,
|
||
|
|
body,
|
||
|
|
body > div {
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
html.wp-has-aspect-ratio,
|
||
|
|
body.wp-has-aspect-ratio,
|
||
|
|
body.wp-has-aspect-ratio > div,
|
||
|
|
body.wp-has-aspect-ratio > div iframe {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
overflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */
|
||
|
|
}
|
||
|
|
body > div > * {
|
||
|
|
margin-top: 0 !important; /* Has to have !important to override inline styles. */
|
||
|
|
margin-bottom: 0 !important;
|
||
|
|
}
|
||
|
|
`;function KK({html:c,title:t,type:e,styles:l,scripts:d,lang:b}){let o=(0,xl.jsxs)("html",{lang:b,className:e,children:[(0,xl.jsxs)("head",{children:[(0,xl.jsx)("title",{children:t}),(0,xl.jsx)("style",{dangerouslySetInnerHTML:{__html:kZc}}),l.map((n,i)=>(0,xl.jsx)("style",{dangerouslySetInnerHTML:{__html:n}},i)),(0,xl.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${SZc.toString()})();`}})]}),(0,xl.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:e,children:[(0,xl.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}),d.map(n=>(0,xl.jsx)("script",{src:n},n))]})]});return"<!DOCTYPE html>"+(0,Ye.renderToString)(o)}function zZc({html:c="",title:t="",type:e,styles:l=[],scripts:d=[],onFocus:b,tabIndex:o}){let n=(0,Ye.useRef)(null),[i,a]=(0,Ye.useState)(0),[G,X]=(0,Ye.useState)(0),s=(0,Ye.useMemo)(()=>KK({html:c,title:t,type:e,styles:l,scripts:d,lang:document.documentElement.lang}),[c,t,e,l,d]);return(0,Ye.useEffect)(()=>{let r=n.current;if(!r)return;function m(R){if(!r||r.contentWindow!==R.source)return;let Z=R.data||{};if(typeof Z=="string")try{Z=JSON.parse(Z)}catch{}Z.action==="resize"&&(a(Z.width),X(Z.height))}let x=null;function g(){let R=r?.ownerDocument?.defaultView??null;R!==x&&(x?.removeEventListener("message",m),x=R,x?.addEventListener("message",m))}return g(),r.addEventListener("load",g),()=>{r.removeEventListener("load",g),x?.removeEventListener("message",m)}},[]),(0,xl.jsx)("iframe",{ref:(0,Cs.useMergeRefs)([n,(0,Cs.useFocusableIframe)()]),title:t,tabIndex:o,className:"components-sandbox",sandbox:"allow-scripts allow-presentation",srcDoc:s,onFocus:b,width:Math.ceil(i),height:Math.ceil(G)})}function AZc({html:c="",title:t="",type:e,styles:l=[],scripts:d=[],onFocus:b,tabIndex:o}){let n=(0,Ye.useRef)(null),[i,a]=(0,Ye.useState)(0),[G,X]=(0,Ye.useState)(0);function s(){try{return!!n.current?.contentDocument?.body}catch{return!1}}function r(m=!1){if(!s())return;let{contentDocument:x,ownerDocument:g}=n.current;!m&&x?.body.getAttribute("data-resizable-iframe-connected")!==null||(x.open(),x.write(KK({html:c,title:t,type:e,styles:l,scripts:d,lang:g.documentElement.lang})),x.close())}return(0,Ye.useEffect)(()=>{r();function m(){r(!1)}function x(Z){let H=n.current;if(!H||H.contentWindow!==Z.source)return;let W=Z.data||{};if(typeof W=="string")try{W=JSON.parse(W)}catch{}W.action==="resize"&&(a(W.width),X(W.height))}let g=n.current,R=g?.ownerDocument?.defaultView;return g?.addEventListener("load",m,!1),R?.addEventListener("message",x),()=>{g?.removeEventListener("load",m,!1),R?.removeEventListener("message",x)}},[]),(0,Ye.useEffect)(()=>{r()},[t,l,d]),(0,Ye.useEffect)(()=>{r(!0)},[c,e]),(0,xl.jsx)("iframe",{ref:(0,Cs.useMergeRefs)([n,(0,Cs.useFocusableIframe)()]),title:t,tabIndex:o,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:b,width:Math.ceil(i),height:Math.ceil(G)})}function OZc({allowSameOrigin:c=!1,...t}){return c?(0,xl.jsx)(AZc,{...t}):(0,xl.jsx)(zZc,{...t})}var _K=OZc;var gB=u(bc(),1),dx=u(ic(),1);var ZB=u(F(),1),c_=u(mt(),1);var qK=S($b,{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;}}"}),$K=S(_c,{target:"effl84m0"})({name:"1i54h4p",styles:"&:dir( ltr ){transform:scaleX( -1 );}"});var yG=u(V(),1);function wZc({searchRef:c,value:t,onChange:e,onClose:l}){if(!l&&!t)return null;l&&(0,c_.default)("`onClose` prop in wp.components.SearchControl",{since:"6.8"});let d=()=>{e(""),c.current?.focus()};return(0,yG.jsx)(m2,{variant:"control",children:(0,yG.jsx)(oc,{size:"small",icon:Po,label:l?(0,dx.__)("Close search"):(0,dx.__)("Reset search"),onClick:l??d})})}function TZc({__nextHasNoMarginBottom:c,__next40pxDefaultSize:t,className:e,onChange:l,value:d,label:b=(0,dx.__)("Search"),placeholder:o=(0,dx.__)("Search"),hideLabelFromVision:n=!0,onClose:i,size:a="default",...G},X){let{disabled:s,...r}=G,m=(0,ZB.useRef)(null),x=(0,gB.useInstanceId)($9,"c
|
||
|
|
-`,Qe.SLIDE_DISTANCE,`
|
||
|
|
);}&:has( > `,zd,`[data-side='top'] ){transform:translateY(
|
||
|
|
`,Qe.SLIDE_DISTANCE,`
|
||
|
|
);}&:has( > `,zd,`[data-side='left'] ){transform:translateX(
|
||
|
|
`,Qe.SLIDE_DISTANCE,`
|
||
|
|
);}&:has( > `,zd,`[data-side='right'] ){transform:translateX(
|
||
|
|
-`,Qe.SLIDE_DISTANCE,`
|
||
|
|
);}&:has( > `,zd,"[data-enter][data-side='bottom'] ),&:has( > ",zd,"[data-enter][data-side='top'] ){transform:translateY( 0 );}&:has( > ",zd,"[data-enter][data-side='left'] ),&:has( > ",zd,"[data-enter][data-side='right'] ){transform:translateX( 0 );}}}"),Av=L("all:unset;cursor:pointer;position:relative;min-height:",Q(8),";box-sizing:border-box;grid-column:1/-1;display:grid;grid-template-columns:",w8,";align-items:center;@supports ( grid-template-columns: subgrid ){grid-template-columns:subgrid;}font-size:",vt("default.fontSize"),";font-family:inherit;font-weight:normal;line-height:20px;color:",O.theme.foreground,";border-radius:",A.radiusSmall,";padding-block:",qHc,";padding-inline:",kv,";scroll-margin:",A8,";user-select:none;outline:none;&[aria-disabled='true']{color:",O.ui.textDisabled,`;}&[data-active-item]:not( [data-focus-visible] ):not(
|
||
|
|
[aria-disabled='true']
|
||
|
|
){background-color:`,O.theme.accent,";color:",O.theme.accentInverted,";}&[data-focus-visible]{box-shadow:0 0 0 1.5px ",O.theme.accent,";outline:2px solid transparent;}&:active,&[data-active]{}",CG,':not(:focus) &:not(:focus)[aria-expanded="true"]{background-color:',tRc,";color:",O.theme.foreground,";}svg{fill:currentColor;}",""),Q8=S(rZ,{target:"e1wg7tti12"})(Av,";"),PB=S(mZ,{target:"e1wg7tti11"})(Av,";"),KB=S(xZ,{target:"e1wg7tti10"})(Av,";"),fs=S("span",{target:"e1wg7tti9"})("grid-column:1;",PB,">&,",KB,">&{min-width:",Q(6),";}",PB,">&,",KB,">&,&:not( :empty ){margin-inline-end:",Q(2),";}display:flex;align-items:center;justify-content:center;color:",zv,";[data-active-item]:not( [data-focus-visible] )>&,[aria-disabled='true']>&{color:inherit;}"),Ss=S("div",{target:"e1wg7tti8"})("grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:",Q(3),";pointer-events:none;"),ks=S("div",{target:"e1wg7tti7"})("flex:1;display:inline-flex;flex-direction:column;gap:",Q(1),";"),zs=S("span",{target:"e1wg7tti6"})("flex:0 1 fit-content;min-width:0;width:fit-content;display:flex;align-items:center;justify-content:center;gap:",Q(3),";color:",zv,";[data-active-item]:not( [data-focus-visible] ) *:not(",CG,") &,[aria-disabled='true'] *:not(",CG,") &{color:inherit;}"),L8=S(uZ,{target:"e1wg7tti5"})({name:"49aokf",styles:"display:contents"}),D8=S(sZ,{target:"e1wg7tti4"})("grid-column:1/-1;padding-block-start:",Q(3),";padding-block-end:",Q(2),";padding-inline:",kv,";"),U8=S(ZZ,{target:"e1wg7tti3"})("grid-column:1/-1;border:none;height:",A.borderWidth,";background-color:",c=>c.variant==="toolbar"?O8:cRc,";margin-block:",Q(2),";margin-inline:",kv,";outline:2px solid transparent;"),j8=S(_c,{target:"e1wg7tti2"})("width:",Q(1.5),";",dt({transform:"scaleX(1)"},{transform:"scaleX(-1)"}),";"),E8=S(_o,{target:"e1wg7tti1"})("font-size:",vt("default.fontSize"),";line-height:20px;color:inherit;"),M8=S(_o,{target:"e1wg7tti0"})("font-size:",vt("helpText.fontSize"),";line-height:16px;color:",zv,";overflow-wrap:anywhere;[data-active-item]:not( [data-focus-visible] ) *:not( ",CG," ) &,[aria-disabled='true'] *:not( ",CG," ) &{color:inherit;}");var P8=u(F(),1);function dRc(c){if(c.focus(),c.ownerDocument.activeElement===c)return;let t=c.closest("[inert]");t&&(t.inert=!1),c.ownerDocument.defaultView?.HTMLElement.prototype.focus.call(c)}function As(c,t){return(0,P8.useCallback)(e=>{if(!(typeof t=="function"?t(e):t))return!1;if(!c||!("hideAll"in c))return!0;let d=c.getState().contentElement,b=d?.ownerDocument.activeElement;if(d?.contains(b??null)){let o=c;for(;o.parent;)o=o.parent;let n=o.getState().disclosureElement;n&&dRc(n)}return!0},[t,c])}var YG=u(V(),1),qB=(0,_B.forwardRef)(function({prefix:t,suffix:e,children:l,disabled:d=!1,hideOnClick:b=!0,store:o,...n},i){let a=(0,_B.useContext)(rt),G=o??a?.store,X=As(G,b);if(!a?.store||!G)throw new Error("Menu.Item can only be rendered inside a Menu component");return(0,YG.jsxs)(Q8,{ref:i,...n,accessibleWhenDisabled:!0,disabled:d,store:G,hideOnClick:X,children:[(0,YG.jsx)(fs,{children:t}),(0,YG.jsxs)(Ss,{children:[(0,YG.jsx)(ks,{children:l}),e&&(0,YG.jsx)(zs,{children:e})]})]})});var $B=u(F(),1);var hn=u(V(),1),K8=(0,$B.forwardRef)(function({suffix:t,children:e,disabled:l=!1,hideOnClick:d=!1,...b},o){let i=(0,$B.useContext)(rt)?.store,a=As(i,d);if(!i)throw new Error("Menu.CheckboxItem can only be rendered inside a Menu component");return(0,hn.jsxs)(PB,{ref:o,...b,accessibleWhenDisabled:!0,disabled:l,store:i,hideOnClick:a,children:[(0,hn.jsx)(rX,{store:i,render:(0,hn.jsx)(fs,{}),style:{width:"auto",height:"auto"},children:(0,hn.jsx)(ue,{icon:De,size:24})}),(0,hn.jsxs)(Ss,{children:[(0,hn.jsx)(ks,{children:e}),t&&(0,hn.jsx)(zs,{children:t})]})]})});var cy=u(F(),1);var ty=u(zc(),1);var Bb=u(V(),1),bRc=(0,Bb.jsx)(ty.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Bb.jsx)(ty.Circle,{cx:12,cy:12,r:3})}),_8=(0,cy.forwardRef)(function({suffix:t,children:e,disabled:l=!1,hideOnClick:d=!1,...b},o){let i=(0,cy.useContext)(rt)?.store,a=As(i,d);if(!i)throw new Error("Menu.RadioItem can on
|
||
|
|
to var( --direction-end ),
|
||
|
|
var( --fade-gradient-base )
|
||
|
|
);}&.is-overflowing-last{mask-image:linear-gradient(
|
||
|
|
to var( --direction-start ),
|
||
|
|
var( --fade-gradient-base )
|
||
|
|
);}&.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(
|
||
|
|
calc(
|
||
|
|
var( --selected-start ) * var( --direction-factor ) *
|
||
|
|
1px
|
||
|
|
)
|
||
|
|
) scaleX(
|
||
|
|
calc(
|
||
|
|
var( --selected-width, 0 ) /
|
||
|
|
var( --antialiasing-factor )
|
||
|
|
)
|
||
|
|
);border-bottom:var( --wp-admin-border-width-focus ) solid `,O.theme.gray[700],";}}&[aria-orientation='vertical']{&::before{border-radius:",A.radiusSmall,`/calc(
|
||
|
|
`,A.radiusSmall,` /
|
||
|
|
(
|
||
|
|
var( --selected-height, 0 ) /
|
||
|
|
var( --antialiasing-factor )
|
||
|
|
)
|
||
|
|
);top:0;left:0;width:100%;height:calc( var( --antialiasing-factor ) * 1px );transform:translateY( calc( var( --selected-top, 0 ) * 1px ) ) scaleY(
|
||
|
|
calc(
|
||
|
|
var( --selected-height, 0 ) /
|
||
|
|
var( --antialiasing-factor )
|
||
|
|
)
|
||
|
|
);background-color:`,O.theme.gray[100],`;}&[data-select-on-move='true']:has(
|
||
|
|
:is( :focus-visible, [data-focus-visible] )
|
||
|
|
)::before{box-sizing:border-box;border:var( --wp-admin-border-width-focus ) solid `,O.theme.accent,`;border-block-width:calc(
|
||
|
|
var( --wp-admin-border-width-focus, 1px ) /
|
||
|
|
(
|
||
|
|
var( --selected-height, 0 ) /
|
||
|
|
var( --antialiasing-factor )
|
||
|
|
)
|
||
|
|
);}}`),Hq=S(EG,{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:",vt("default.fontFamily"),";font-weight:400;font-size:",vt("default.fontSize"),";color:",O.theme.foreground,";position:relative;&[aria-disabled='true']{cursor:default;color:",O.ui.textDisabled,";}&:not( [aria-disabled='true'] ):is( :hover, [data-focus-visible] ){color:",O.theme.foreground,";}&:focus:not( :disabled ){box-shadow:none;outline:none;}&::after{position:absolute;pointer-events:none;outline:var( --wp-admin-border-width-focus ) solid ",O.theme.accent,";border-radius:",A.radiusSmall,";opacity:0;@media not ( prefers-reduced-motion ){transition:opacity 0.1s linear;}}&[data-focus-visible]::after{opacity:1;}}[aria-orientation='horizontal'] &{padding-inline:",Q(4),";height:",Q(12),";scroll-margin:24px;&::after{content:'';inset:",Q(3),";}}[aria-orientation='vertical'] &{padding:",Q(2)," ",Q(3),";min-height:",Q(10),";&[aria-selected='true']{fill:currentColor;}}[aria-orientation='vertical'][data-select-on-move='false'] &::after{content:'';inset:var( --wp-admin-border-width-focus );}"),Rq=S("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;}"}),Iq=S(_c,{target:"enfox0g1"})("flex-shrink:0;margin-inline-end:",Q(-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;}"),pq=S(_G,{target:"enfox0g0"})("&:focus{box-shadow:none;outline:none;}&[data-focus-visible]{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",O.theme.accent,";outline:2px solid transparent;outline-offset:0;}");var Zx=u(V(),1),Bq=(0,Wq.forwardRef)(function({children:t,tabId:e,disabled:l,render:d,...b},o){let{store:n,instanceId:i}=Os()??{};if(!n)return null;let a=`${i}-${e}`;return(0,Zx.jsxs)(Hq,{ref:o,store:n,id:a,disabled:l,render:d,...b,children:[(0,Zx.jsx)(Rq,{children:t}),(0,Zx.jsx)(Iq,{icon:oh})]})});var ryt=u(bl(),1),ws=u(F(),1),hq=u(bc(),1);var FG=u(F(),1),yq=u(bc(),1);function Vq(c,t){let[e,l]=(0,FG.useState)(!1),[d,b]=(0,FG.useState)(!1),[o,n]=(0,FG.useState)(),i=(0,yq.useEvent)(a=>{for(let G of a)G.target===t.first&&l(!G.isIntersecting),G.target===t.last&&b(!G.isIntersecting)});return(0,FG.useEffect)(()=>{if(!c||!window.IntersectionObserver)return;let a=new IntersectionObserver(i,{root:c,threshold:.9});return n(a),()=>a.disconnect()},[i,c]),(0,FG.useEffect)(()=>{if(o)return t.first&&o.observe(t.first),t.last&&o.observe(t.last),()=>{t.first&&o.unobserve(t.first),t.last&&o.unobserve(t.last)}},[t.first,t.last,o]),{first:e,last:d}}var Dv=u(V(),1),HRc=24;function RRc(c,t,{margin:e=HRc}={}){(0,ws.useLayoutEffect)(()=>{if(!c||!t)return;let{scrollLeft:l}=c,d=c.getBoundingClientRect().width,{left:b,width:o}=t,n=l+d,a=b+o+e-n,G=l-(b-e),X=null;G>0?X=l-G:a>0&&(X=l+a),X!==null&&c.scroll?.({left:X})},[e,c,t])}var Jq=(0,ws.forwardRef)(function({children:t,...e},l){let{store:d}=Os()??{},b=E(d,"selectedId"),o=E(d,"selectOnMove"),n=E(d,"items"),[i,a]=(0,ws.useState)(),G=(0,hq.useMergeRefs)([l,a]),X=d?.item(b),s=E(d,"renderedItems"),r=s&&X?s.indexOf(X):-1,m=KI(X?.element,[r]),x=Vq(i,{first:n?.at(0)?.element,last:n?.at(-1)?.element});return qI(i,m,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:g=>g.pseudoElement==="::before",roundRect:!0}),RRc(i,m),d?(0,Dv.jsx)(Zq,{ref:G,store:d,render:g=>(0,Dv.jsx)("div",{...g,tabIndex:g.tabIndex??-1}),"data-select-on-move":o?"true":"false",...e,className:f(x.first&&"is-overflowing-first",x.last&&"is-overflowing-last",e.className),children:t}):null});var vq=u(F(),1);var Byt=u(bl(),1);var Cq=u(V(),1),Yq=(0,vq.forwardRef)(function({children:t,tabId:e,focusable:l=!0,...d}
|
||
|
|
/*! Bundled license information:
|
||
|
|
|
||
|
|
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
|
||
|
|
(**
|
||
|
|
* @license React
|
||
|
|
* use-sync-external-store-shim.production.js
|
||
|
|
*
|
||
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
|
|
*
|
||
|
|
* This source code is licensed under the MIT license found in the
|
||
|
|
* LICENSE file in the root directory of this source tree.
|
||
|
|
*)
|
||
|
|
|
||
|
|
react-is/cjs/react-is.production.min.js:
|
||
|
|
(** @license React v16.13.1
|
||
|
|
* react-is.production.min.js
|
||
|
|
*
|
||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
|
*
|
||
|
|
* This source code is licensed under the MIT license found in the
|
||
|
|
* LICENSE file in the root directory of this source tree.
|
||
|
|
*)
|
||
|
|
|
||
|
|
is-plain-object/dist/is-plain-object.mjs:
|
||
|
|
(*!
|
||
|
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||
|
|
*
|
||
|
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
|
|
* Released under the MIT License.
|
||
|
|
*)
|
||
|
|
*/
|
||
|
|
(window.wp ||= {}).components = wp.components;
|
||
|
|
})();
|