/*! For license information please see index.js.LICENSE.txt */ (()=>{var __webpack_modules__={5520:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var r=o(86087);const n=(0,r.forwardRef)((function({icon:e,size:t=24,...o},n){return(0,r.cloneElement)(e,{width:t,height:t,...o,ref:n})}))},42059:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})})},64816:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},29543:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})})},89505:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},40738:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.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"})})},31496:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},91218:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.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"})})},82022:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.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 0Zm8 4a4 4 0 0 0 4-4H8a4 4 0 0 0 4 4Z"})})},43112:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})})},62978:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});const r=o(48483).A},67237:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},6006:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})})},76938:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})})},2111:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})})},27200:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5A6.5 6.5 0 0 1 6.93 7.931l9.139 9.138A6.473 6.473 0 0 1 12 18.5Zm5.123-2.498a6.5 6.5 0 0 0-9.124-9.124l9.124 9.124ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"})})},77892:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsxs)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,n.jsx)(r.Path,{d:"M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z"}),(0,n.jsx)(r.Path,{d:"M16 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM6 3.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z"}),(0,n.jsx)(r.Path,{d:"M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})]})},48483:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},67606:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})})},52887:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"})})},29706:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.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"})})},22794:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})})},98639:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.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 0Zm9 1V8h-1.5v3.5h-2V13H13Z"})})},51157:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})})},22150:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},51388:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})})},25434:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M4.67 10.664s-2.09 1.11-2.917 1.582l.494.87 1.608-.914.002.002c.343.502.86 1.17 1.563 1.84.348.33.742.663 1.185.976L5.57 16.744l.858.515 1.02-1.701a9.1 9.1 0 0 0 4.051 1.18V19h1v-2.263a9.1 9.1 0 0 0 4.05-1.18l1.021 1.7.858-.514-1.034-1.723c.442-.313.837-.646 1.184-.977.703-.669 1.22-1.337 1.563-1.839l.002-.003 1.61.914.493-.87c-1.75-.994-2.918-1.58-2.918-1.58l-.003.005a8.29 8.29 0 0 1-.422.689 10.097 10.097 0 0 1-1.36 1.598c-1.218 1.16-3.042 2.293-5.544 2.293-2.503 0-4.327-1.132-5.546-2.293a10.099 10.099 0 0 1-1.359-1.599 8.267 8.267 0 0 1-.422-.689l-.003-.005Z"})})},30267:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(5573),n=o(39793);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,n.jsx)(r.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})})},78269:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var r=o(56427),n=o(86087),a=o(39793);const c=()=>{};function i({name:e,as:t=r.Button,onClick:o,...n}){return(0,a.jsx)(r.Fill,{name:e,children:({onClick:e})=>(0,a.jsx)(t,{onClick:o||e?(...t)=>{(o||c)(...t),(e||c)(...t)}:void 0,...n})})}i.Slot=function({name:e,as:t=r.ButtonGroup,fillProps:o={},bubblesVirtually:c,...i}){return(0,a.jsx)(r.Slot,{name:e,bubblesVirtually:c,fillProps:o,children:e=>{if(!n.Children.toArray(e).length)return null;const o=[];n.Children.forEach(e,(({props:{__unstableExplicitMenuItem:e,__unstableTarget:t}})=>{t&&e&&o.push(t)}));const r=n.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&o.includes(e.props.__unstableTarget)?null:e));return(0,a.jsx)(t,{...i,children:r})}})};const l=i},95248:(e,t,o)=>{"use strict";o.d(t,{A:()=>m});var r=o(4921),n=o(86087),a=o(56427),c=o(27723),i=o(29491),l=o(40073),s=o(39793);const u={type:"tween",duration:.25,ease:[.6,0,.4,1]},d={hidden:{opacity:1,marginTop:-60},visible:{opacity:1,marginTop:0},distractionFreeHover:{opacity:1,marginTop:0,transition:{...u,delay:.2,delayChildren:.2}},distractionFreeHidden:{opacity:0,marginTop:-60},distractionFreeDisabled:{opacity:0,marginTop:0,transition:{...u,delay:.8,delayChildren:.8}}},m=(0,n.forwardRef)((function({isDistractionFree:e,footer:t,header:o,editorNotices:u,sidebar:m,secondarySidebar:p,content:h,actions:_,labels:v,className:w,enableRegionNavigation:g=!0,shortcuts:f},E){const[b,C]=(0,i.useResizeObserver)(),x=(0,i.useViewportMatch)("medium","<"),y={type:"tween",duration:(0,i.useReducedMotion)()?0:.25,ease:[.6,0,.4,1]},A=(0,a.__unstableUseNavigateRegions)(f);!function(e){(0,n.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const k={header:(0,c._x)("Header","header landmark area"),body:(0,c.__)("Content"),secondarySidebar:(0,c.__)("Block Library"),sidebar:(0,c.__)("Settings"),actions:(0,c.__)("Publish"),footer:(0,c.__)("Footer"),...v};return(0,s.jsxs)("div",{...g?A:{},ref:(0,i.useMergeRefs)([E,g?A.ref:void 0]),className:(0,r.A)(w,"interface-interface-skeleton",A.className,!!t&&"has-footer"),children:[(0,s.jsxs)("div",{className:"interface-interface-skeleton__editor",children:[(0,s.jsx)(a.__unstableAnimatePresence,{initial:!1,children:!!o&&(0,s.jsx)(l.A,{as:a.__unstableMotion.div,className:"interface-interface-skeleton__header","aria-label":k.header,initial:e?"distractionFreeHidden":"hidden",whileHover:e?"distractionFreeHover":"visible",animate:e?"distractionFreeDisabled":"visible",exit:e?"distractionFreeHidden":"hidden",variants:d,transition:y,children:o})}),e&&(0,s.jsx)("div",{className:"interface-interface-skeleton__header",children:u}),(0,s.jsxs)("div",{className:"interface-interface-skeleton__body",children:[(0,s.jsx)(a.__unstableAnimatePresence,{initial:!1,children:!!p&&(0,s.jsx)(l.A,{className:"interface-interface-skeleton__secondary-sidebar",ariaLabel:k.secondarySidebar,as:a.__unstableMotion.div,initial:"closed",animate:x?"mobileOpen":"open",exit:"closed",variants:{open:{width:C.width},closed:{width:0},mobileOpen:{width:"100vw"}},transition:y,children:(0,s.jsxs)("div",{style:{position:"absolute",width:x?"100vw":"fit-content",height:"100%",right:0},children:[b,p]})})}),(0,s.jsx)(l.A,{className:"interface-interface-skeleton__content",ariaLabel:k.body,children:h}),!!m&&(0,s.jsx)(l.A,{className:"interface-interface-skeleton__sidebar",ariaLabel:k.sidebar,children:m}),!!_&&(0,s.jsx)(l.A,{className:"interface-interface-skeleton__actions",ariaLabel:k.actions,children:_})]})]}),!!t&&(0,s.jsx)(l.A,{className:"interface-interface-skeleton__footer",ariaLabel:k.footer,children:t})]})}))},40073:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(4921),n=o(39793);function a({children:e,className:t,ariaLabel:o,as:a="div",...c}){return(0,n.jsx)(a,{className:(0,r.A)("interface-navigable-region",t),"aria-label":o,role:"region",tabIndex:"-1",...c,children:e})}},88150:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var r=o(4921),n=o(56427),a=o(39793);function c({scope:e,...t}){return(0,a.jsx)(n.Fill,{name:`PinnedItems/${e}`,...t})}c.Slot=function({scope:e,className:t,...o}){return(0,a.jsx)(n.Slot,{name:`PinnedItems/${e}`,...o,children:e=>e?.length>0&&(0,a.jsx)("div",{className:(0,r.A)(t,"interface-pinned-items"),children:e})})};const i=c},38482:(e,t,o)=>{"use strict";o.d(t,{h:()=>i});var r=o(86087),n=o(64816),a=o(56427),c=o(27723);function i({dropdownButtonLabel:e=(0,c.__)("More options","woocommerce"),controls:t,defaultOpen:o=!1,popoverProps:{placement:i="bottom-end",position:l="bottom left left",offset:s=0}={placement:"bottom-end",position:"bottom left left",offset:0},className:u,renderMenu:d,onToggle:m,...p}){return(0,r.createElement)(a.Flex,{className:"woocommerce-button-with-dropdown-menu"+(u?.length?" "+u:""),justify:"left",gap:0,expanded:!1,role:"group"},(0,r.createElement)(a.FlexItem,{role:"none"},(0,r.createElement)(a.Button,{...p,className:"woocommerce-button-with-dropdown-menu__main-button"})),(0,r.createElement)(a.FlexItem,{role:"none"},(0,r.createElement)(a.DropdownMenu,{toggleProps:{className:"woocommerce-button-with-dropdown-menu__dropdown-button",variant:p.variant},controls:t,icon:n.A,label:e,popoverProps:{placement:i,position:l,offset:s},defaultOpen:o,onToggle:m},d)))}},85764:(e,t,o)=>{"use strict";o.d(t,{I:()=>y});var r=o(56427),n=o(3582),a=o(47143),c=o(86087),i=o(96476),l=o(83306),s=o(3450),u=o(65446),d=o(59331),m=o(29259),p=o(82014),h=o(27723),_=o(53031),v=o(97387),w=o(16027),g=o(15703),f=o(38482),E=o(70723),b=o(79979);function C(e,t){const{createSuccessNotice:o}=(0,a.dispatch)("core/notices"),r=function(e,t){return"future"===e.status?(0,h.sprintf)((0,h.__)("Product scheduled for %s.","woocommerce"),(0,b.Uq)(`${e.date_created_gmt}+00:00`)):"publish"===t||"future"===t?(0,h.__)("Product updated.","woocommerce"):(0,h.__)("Product published.","woocommerce")}(e,t);o(r,{icon:"🎉",actions:[{label:(0,h.__)("View in store","woocommerce"),url:e.permalink,onClick(t){t.preventDefault(),window.open(e.permalink,"_blank")}}]})}function x({postType:e,visibleTab:t="general",...o}){const{isScheduling:s,isScheduled:m,schedule:_,date:b,formattedDate:x}=(0,w.M)(e),[y,A]=(0,c.useState)(),{copyToDraft:k,trash:S}=(0,v.O)(e),{createErrorNotice:P,createSuccessNotice:V}=(0,a.useDispatch)("core/notices"),[,,B]=(0,n.useEntityProp)("postType",e,"status"),{getProductErrorMessageAndProps:M}=(0,u.u)();function F(e){_(e).then((e=>{(0,d.R)("product_schedule",e),C(e)})).catch((async e=>{const{message:o,errorProps:r}=await M(e,t);P(o,r)})).finally((()=>{A(void 0)}))}return(0,c.createElement)(c.Fragment,null,(0,c.createElement)(f.h,{...o,onToggle:e=>{e&&(0,l.recordEvent)("product_publish_dropdown_open",{source:p.bG}),o.onToggle?.(e)},renderMenu:function({onClose:e}){return(0,c.createElement)(c.Fragment,null,(0,c.createElement)(r.MenuGroup,null,m?(0,c.createElement)(c.Fragment,null,(0,c.createElement)(r.MenuItem,{onClick:()=>{F(),e&&e()}},(0,h.__)("Publish now","woocommerce")),(0,c.createElement)(r.MenuItem,{info:x,onClick:()=>{A("edit"),e&&e()}},(0,h.__)("Edit schedule","woocommerce"))):(0,c.createElement)(r.MenuItem,{onClick:()=>{(0,l.recordEvent)("product_schedule_publish",{source:p.bG}),A("schedule"),e&&e()}},(0,h.__)("Schedule publish","woocommerce"))),"trash"!==B&&(0,c.createElement)(r.MenuGroup,null,(0,c.createElement)(r.MenuItem,{onClick:()=>{k().then((e=>{(0,d.R)("product_copied_to_draft",e),V((0,h.__)("Product successfully duplicated","woocommerce"));const t=(0,i.getNewPath)({},`/product/${e.id}`);(0,i.navigateTo)({url:t})})).catch((async e=>{const{message:o,errorProps:r}=await M(e,t);P(o,r)})),e&&e()}},(0,h.__)("Copy to a new draft","woocommerce")),(0,c.createElement)(r.MenuItem,{isDestructive:!0,onClick:()=>{S().then((e=>{(0,d.R)("product_delete",e),V((0,h.__)("Product successfully deleted","woocommerce"));const t=(0,g.getAdminLink)("edit.php?post_type=product");(0,i.navigateTo)({url:t})})).catch((async e=>{const{message:o,errorProps:r}=await M(e,t);P(o,r)})),e&&e()}},(0,h.__)("Move to trash","woocommerce"))))}}),y&&(0,c.createElement)(E.Y,{postType:e,value:"edit"===y?b:void 0,isScheduling:s,onCancel:()=>A(void 0),onSchedule:F}))}function y({productType:e="product",isMenuButton:t,isPrePublishPanelVisible:o=!0,visibleTab:g="general",...f}){const{createErrorNotice:E}=(0,a.useDispatch)("core/notices"),{maybeShowFeedbackBar:b}=(0,m.A)(),{openPrepublishPanel:y}=(0,a.useDispatch)(s.p),{getProductErrorMessageAndProps:A}=(0,u.u)(),[k,,S]=(0,n.useEntityProp)("postType",e,"status"),P=function({productType:e="product",disabled:t,onClick:o,onPublishSuccess:r,onPublishError:a,...c}){const{isValidating:i,isDirty:l,isPublishing:s,publish:u}=(0,v.O)(e),[,,d]=(0,n.useEntityProp)("postType",e,"status"),{isScheduled:m}=(0,w.M)(e),p=s||i,g="draft"!==d&&(t||p||!l),f=()=>u().then(r).catch(a);return(0,_.useShortcut)("core/editor/save",(e=>{e.preventDefault(),g||"publish"!==d&&"future"!==d||f()})),{children:m?(0,h.__)("Schedule","woocommerce"):"publish"===d||"future"===d?(0,h.__)("Update","woocommerce"):(0,h.__)("Publish","woocommerce"),...c,isBusy:p,"aria-disabled":g,variant:"primary",onClick:function(e){g?e.preventDefault?.():(o&&o(e),f())}}}({productType:e,...f,onPublishSuccess(e){if(("publish"===e.status||"future"===e.status)&&(0,d.R)("product_update",e),C(e,S),b(),"auto-draft"===S||"draft"===S){const t=(0,i.getNewPath)({},`/product/${e.id}`);(0,i.navigateTo)({url:t})}},async onPublishError(e){const{message:t,errorProps:o}=await A(e,g);E(t,o)}});if("product"===e&&t){function V(t){return(0,c.createElement)(x,{...t,postType:e,visibleTab:g})}if("publish"!==k&&"future"!==k&&window.wcAdminFeatures["product-pre-publish-modal"]&&o){function B(e){P["aria-disabled"]?e.preventDefault():((0,l.recordEvent)("product_prepublish_panel",{source:p.bG,action:"view"}),y())}return(0,c.createElement)(x,{...P,postType:e,controls:void 0,onClick:B,renderMenu:V,visibleTab:g})}return(0,c.createElement)(x,{...P,postType:e,controls:void 0,renderMenu:V,visibleTab:g})}return(0,c.createElement)(r.Button,{...P})}},36952:(e,t,o)=>{"use strict";o.d(t,{L1:()=>n,PK:()=>r,g1:()=>a});const r="woocommerce-product-editor-settings-sidebar",n="woocommerce/product-editor/modal-block-editor/sidebar",a=`${n}/plugin-more-menu`},96699:(e,t,o)=>{"use strict";o.d(t,{w:()=>c});var r=o(86087),n=o(36952);const a=(0,r.lazy)((()=>o.e(6664).then(o.bind(o,26664)).then((e=>({default:e.ComplementaryArea})))));function c({className:e,...t}){return(0,r.createElement)(a,{panelClassName:e,className:"woocommerce-iframe-editor__sidebar",scope:n.L1,...t})}},3846:(e,t,o)=>{"use strict";o.d(t,{Y:()=>l});var r=o(4921),n=o(56427),a=o(86087),c=o(27723),i=o(76938);const l=({as:e=n.DropdownMenu,className:t,label:o=(0,c.__)("Options","woocommerce"),popoverProps:l,toggleProps:s,children:u})=>(0,a.createElement)(e,{className:(0,r.A)("interface-more-menu-dropdown",t),icon:i.A,label:o,popoverProps:{placement:"bottom-end",...l,className:(0,r.A)("interface-more-menu-dropdown__content",l?.className)},toggleProps:{tooltipPosition:"bottom",...s,size:"compact"}},(({onClose:e})=>u(e)))},70723:(e,t,o)=>{"use strict";o.d(t,{Y:()=>s});var r=o(56427),n=o(86087),a=o(27723),c=o(4921),i=o(59704),l=o(38438);function s({postType:e,title:t=(0,a.__)("Schedule product","woocommerce"),description:o=(0,a.__)("Decide when this product should become visible to customers.","woocommerce"),value:s,className:u,onCancel:d,onSchedule:m,isScheduling:p,...h}){const[_,v]=(0,n.useState)((()=>null!=s?s:(0,i.H)()));function w(e){v(null!=e?e:"")}return(0,n.createElement)(r.Modal,{...h,title:t,className:(0,c.A)(u,"woocommerce-schedule-publish-modal"),onRequestClose:()=>d?.()},(0,n.createElement)("p",{className:"woocommerce-schedule-publish-modal__description"},o),(0,n.createElement)("div",{className:"woocommerce-schedule-publish-modal__content"},(0,n.createElement)("div",{className:"woocommerce-schedule-publish-modal__button-now"},(0,n.createElement)("strong",null,(0,a.__)("Publish","woocommerce")),(0,n.createElement)(r.Button,{variant:"link",onClick:()=>w((0,i.H)())},(0,a.__)("Now","woocommerce"))),(0,n.createElement)(r.DateTimePicker,{currentDate:_,onChange:w,is12Hour:(0,l.$)()})),(0,n.createElement)("div",{className:"woocommerce-schedule-publish-modal__buttons"},(0,n.createElement)(r.Button,{variant:"tertiary",onClick:d},(0,a.__)("Cancel","woocommerce")),(0,n.createElement)(r.Button,{variant:"primary",isBusy:p,disabled:p,onClick:()=>m?.(_)},(0,a.__)("Schedule","woocommerce"))))}},82014:(e,t,o)=>{"use strict";o.d(t,{Bz:()=>i,F7:()=>n,LG:()=>_,TU:()=>u,Tc:()=>w,Vf:()=>s,_R:()=>v,af:()=>a,bG:()=>h,cw:()=>r,dB:()=>m,dY:()=>p,hL:()=>c,hq:()=>d,w1:()=>l});const r="woocommerce_product_editor_show_feedback_bar",n="product_editor",a="woocommerce_single_variation_notice_dismissed",c="woocommerce_show_prepublish_checks_enabled",i="[^-\\d\\%s]+",l="[%s](?=%s*[%s])",s="__ADD_NEW_SHIPPING_CLASS_OPTION__",u=32,d="tab/general",m=`${d}/details`,p="product-details",h="product-block-editor-v1",_="woocommerce/product-editor",v=5,w=[5,10,25]},55874:(e,t,o)=>{"use strict";o.d(t,{G:()=>a});var r=o(86087),n=o(90471);function a(){const e=(0,r.useContext)(n.d),[t,o]=(0,r.useState)(!1);return{isValidating:t,validate:async t=>(o(!0),new Promise(((o,r)=>{e.validateAll(t).then((e=>{!function(e){return Object.values(e).some(Boolean)}(e)?o():r(e)})).catch((()=>{r(e.errors)}))})).finally((()=>{o(!1)}))),focusByValidatorId:async function(t){const o=await e.getFieldByValidatorId(t);if(!o)return;const r=o.closest(".wp-block-woocommerce-product-tab__content"),n=new MutationObserver((()=>{r&&"none"!==getComputedStyle(r).display&&(o.focus(),n.disconnect())}));r&&n.observe(r,{attributes:!0})},getFieldByValidatorId:e.getFieldByValidatorId}}},90471:(e,t,o)=>{"use strict";o.d(t,{d:()=>r});const r=(0,o(86087).createContext)({errors:{},getFieldByValidatorId:()=>({}),registerValidator:()=>()=>{},unRegisterValidator:()=>()=>{},validateField:()=>Promise.resolve(void 0),validateAll:()=>Promise.resolve({})})},65446:(e,t,o)=>{"use strict";o.d(t,{u:()=>s});var r=o(27723),n=o(86087),a=o(96476),c=o(55874),i=o(47143);function l(e="",t,o,n=(0,r.__)("View error","woocommerce")){return{explicitDismiss:!0,actions:[{label:n,onClick:async()=>{var r;await o(t),(0,a.navigateTo)({url:(r=e,(0,a.getNewPath)({tab:r}))})}}]}}const s=()=>{const{focusByValidatorId:e,getFieldByValidatorId:t}=(0,c.G)(),{getClientIdByField:o,getParentTabId:a,getParentTabIdByBlockName:s}=function(){function e(e){const[t]=(0,i.select)("core/block-editor").getBlockParentsByBlockName(e,"woocommerce/product-tab",!0);if(!t)return null;const{attributes:o}=(0,i.select)("core/block-editor").getBlock(t);return o?.id}return{getClientIdByField:function(e){const t=e.closest("[data-block]");return t?.dataset.block},getParentTabId:function(t){return t?e(t):null},getParentTabIdByBlockName:function(t){const o=(0,i.select)("core/block-editor").getBlocksByName(t);return o.length?e(o[0]):null}}}();return{getProductErrorMessageAndProps:(0,n.useCallback)((async(n,c)=>{const i={message:"",errorProps:{}},{code:u,message:d,validatorId:m=""}=n,p=await async function(e){if(!e)return null;const r=await t(e);return r?o(r):null}(m),h=a(p);switch(u){case"variable_product_no_variation_prices":i.message=d,"variations"!==c&&null!==h&&(i.errorProps=l(h,m,e));break;case"product_form_field_error":i.message=d,c!==h&&null!==h&&(i.errorProps=l(h,m,e));break;case"product_invalid_sku":i.message=(0,r.__)("Invalid or duplicated SKU.","woocommerce");const t=s("woocommerce/product-sku-field");c!==t&&null!==t&&(i.errorProps=l(t,"sku",e,(0,r.__)("View SKU field","woocommerce")));break;case"product_invalid_global_unique_id":i.message=(0,r.__)("Invalid or duplicated GTIN, UPC, EAN or ISBN.","woocommerce");const o=h||"inventory";c!==o&&(i.errorProps=l(o,"global_unique_id",e,(0,r.__)("View identifier field","woocommerce")));break;case"product_create_error":i.message=(0,r.__)("Failed to create product.","woocommerce");break;case"product_publish_error":i.message=(0,r.__)("Failed to publish product.","woocommerce");break;case"product_preview_error":i.message=(0,r.__)("Failed to preview product.","woocommerce");break;default:i.message=(0,r.__)("Failed to save product.","woocommerce")}return i}),[])}}},29259:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var r=o(47143),n=o(40314),a=o(82014);const c=()=>{const{updateOptions:e}=(0,r.useDispatch)(n.optionsStore),{shouldShowFeedbackBar:t}=(0,r.useSelect)((e=>{const{getOption:t,hasFinishedResolution:o}=e(n.optionsStore),r=t(a.cw);return{shouldShowFeedbackBar:!!o("getOption",[a.cw])&&window.wcTracks?.isEnabled&&"yes"===r}}),[]);return{shouldShowFeedbackBar:t,maybeShowFeedbackBar:async()=>{const{showFeedbackBarOption:t}=await(async()=>{const{getOption:e}=(0,r.resolveSelect)(n.optionsStore);return{showFeedbackBarOption:await e(a.cw)}})();window.wcTracks?.isEnabled&&"no"!==t&&e({[a.cw]:"yes"})},hideFeedbackBar:()=>{e({[a.cw]:"no"})}}}},97387:(e,t,o)=>{"use strict";o.d(t,{O:()=>u});var r=o(3582),n=o(47143),a=o(86087),c=o(40314),i=o(55874),l=o(70796),s=o(92319);function u(e){const[t]=(0,r.useEntityProp)("postType",e,"id"),[o,,u]=(0,r.useEntityProp)("postType",e,"name"),[d]=(0,r.useEntityProp)("postType",e,"status"),[m,p]=(0,a.useState)(!1),[h,_]=(0,a.useState)(!1),{isValidating:v,validate:w}=(0,i.G)(),{isDirty:g}=(0,n.useSelect)((o=>({isDirty:o("core").hasEditsForEntityRecord("postType",e,t)})),[e,t]);async function f(o={}){try{p(!0),await w(o);const{saveEntityRecord:a}=(0,n.dispatch)(r.store),{blocks:c,content:i,selection:l,...s}=(0,n.select)(r.store).getEntityRecordEdits("postType",e,t);return await a("postType",e,{...s,...o,id:t},{throwOnError:!0})}catch(e){throw(0,s.$)(e,d)}finally{p(!1)}}return{isValidating:v,isDirty:g,isSaving:m,isPublishing:m,isTrashing:h,save:f,publish:async function(e={}){return f("publish"===d||"future"===d?e:{status:"publish",...e})},trash:async function(o=!1){try{_(!0),await w();const{deleteEntityRecord:r,saveEditedEntityRecord:a}=(0,n.dispatch)("core");return await a("postType",e,t,{throwOnError:!0}),await r("postType",e,t,{force:o,throwOnError:!0})}catch(e){throw(0,s.$)(e,d)}finally{_(!1)}},copyToDraft:async function(){try{const e=l.u6===u&&o!==u?{name:o}:{};return p(!0),await(0,n.dispatch)(c.productsStore).duplicateProduct(t,e)}catch(e){throw(0,s.$)(e,d)}finally{p(!1)}}}}},16027:(e,t,o)=>{"use strict";o.d(t,{M:()=>s});var r=o(3582),n=o(38443),a=o(59704),c=o(79979),i=o(97387);const l="Y-m-d\\TH:i:s";function s(e){const{isSaving:t,save:o}=(0,i.O)(e),[s,u]=(0,r.useEntityProp)("postType",e,"date_created_gmt"),[d,m,p]=(0,r.useEntityProp)("postType",e,"status"),h=`${s}+00:00`,_=(0,a.H)(h);function v(e){const t=(0,n.getDate)(null!=e?e:null),o=(0,n.date)(l,t,"GMT");let r=p;return(0,n.isInTheFuture)(t.toISOString())?r="future":"future"===p&&(r="publish"),{status:r,date_created_gmt:o}}return{isScheduling:t,isScheduled:"future"===d||(0,n.isInTheFuture)(_),date:_,formattedDate:(0,c.Uq)(h),setDate:async function(e){const t=v(e);u(t.date_created_gmt),m(t.status)},schedule:async function(e){const t=v(e);return o(t)}}}},3450:(e,t,o)=>{"use strict";o.d(t,{A:()=>p,p:()=>m});var r=o(47143);const n="MODAL_EDITOR_OPEN",a="MODAL_EDITOR_CLOSE",c="MODAL_EDITOR_SET_BLOCKS",i="MODAL_EDITOR_CONTENT_HAS_CHANGED",l="PANEL_PREPUBLISH_OPEN",s="PANEL_PREPUBLISH_CLOSE",u={openModalEditor:()=>({type:n}),closeModalEditor:()=>({type:a}),setModalEditorBlocks:e=>({type:c,blocks:e}),setModalEditorContentHasChanged:e=>({type:i,hasChanged:e}),isModalEditorOpen:()=>({type:Boolean}),openPrepublishPanel:()=>({type:l}),closePrepublishPanel:()=>({type:s})},d={modalEditor:{isOpen:!1,blocks:[],hasChanged:!1},prepublishPanel:{isOpen:!1}},m=(0,r.createReduxStore)("woo/product-editor-ui",{actions:u,selectors:{isModalEditorOpen:function(e){return e.modalEditor?.isOpen},getModalEditorBlocks:function(e){return e.modalEditor?.blocks||[]},getModalEditorContentHasChanged:function(e){return!!e.modalEditor?.hasChanged},isPrepublishPanelOpen:function(e){return e.prepublishPanel?.isOpen}},reducer:function(e=d,t){switch(t.type){case n:return{...e,modalEditor:{...e.modalEditor,isOpen:!0}};case a:return{...e,modalEditor:{...e.modalEditor,isOpen:!1}};case c:return{...e,modalEditor:{...e.modalEditor,blocks:t.blocks||[]}};case i:return{...e,modalEditor:{...e.modalEditor,hasChanged:t?.hasChanged||!1}};case l:return{...e,prepublishPanel:{isOpen:!0}};case s:return{...e,prepublishPanel:{isOpen:!1}}}return e}});function p(){(0,r.register)(m)}},70796:(e,t,o)=>{"use strict";o.d(t,{TU:()=>n,gI:()=>r,u6:()=>a});const r="[^-0-9%s1%s2]",n=32,a="AUTO-DRAFT"},79979:(e,t,o)=>{"use strict";o.d(t,{Ib:()=>s,J$:()=>u,T4:()=>l,Uq:()=>d});var r=o(38443),n=o(27723),a=o(73023),c=o(33244),i=o(96721);const l="Y-m-d\\TH:i:s";function s(e,t){const{formats:o}=(0,r.getSettings)(),a=(0,n.sprintf)((0,n._x)("F j, Y %s","product schedule full date format","woocommerce"),o.time);return(0,r.dateI18n)(null!=t?t:a,e,void 0)}function u(e){const t=(0,a.y)(),o=s(e);return(0,n.isRTL)()?`${t} ${o}`:`${o} ${t}`}function d(e){const{formats:t}=(0,r.getSettings)(),o=(0,r.getDate)(e),a=(0,r.getDate)(null);if((0,c.r)(o,a)&&!(0,r.isInTheFuture)(e))return(0,n.__)("Immediately","woocommerce");if(!(0,i.X)(a))return u(e);if((0,c.r)(o,a))return(0,n.sprintf)((0,n.__)("Today at %s","woocommerce"),s(e,t.time));const l=new Date(a);return l.setDate(l.getDate()+1),(0,c.r)(o,l)?(0,n.sprintf)((0,n.__)("Tomorrow at %s","woocommerce"),s(e,t.time)):o.getFullYear()===a.getFullYear()?s(o,(0,n.sprintf)((0,n._x)("F j %s","product schedule date format without year","woocommerce"),t.time)):s(e)}},59704:(e,t,o)=>{"use strict";o.d(t,{H:()=>n});var r=o(38443);function n(e){const t=(0,r.getDate)(null!=e?e:null);return(0,r.date)("Y-m-d\\TH:i:s",t,void 0)}},73023:(e,t,o)=>{"use strict";o.d(t,{y:()=>n});var r=o(38443);function n(){var e;const{timezone:t}=(0,r.getSettings)();return t.abbr&&isNaN(Number(t.abbr))?t.abbr:`UTC${Number(t.offset)<0?"":"+"}${null!==(e=t.offsetFormatted)&&void 0!==e?e:t.offset}`}},33244:(e,t,o)=>{"use strict";function r(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}o.d(t,{r:()=>r})},38438:(e,t,o)=>{"use strict";o.d(t,{$:()=>n});var r=o(38443);function n(){const e=(0,r.getSettings)();return/a(?!\\)/i.test(e.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""))}},96721:(e,t,o)=>{"use strict";o.d(t,{X:()=>n});var r=o(38443);function n(e){const{timezone:t}=(0,r.getSettings)();return Number(t.offset)===e.getTimezoneOffset()/60*-1}},92319:(e,t,o)=>{"use strict";function r(e,t){if(e.code)return e;const o=Object.values(e).find((e=>void 0!==e));return"variations"in e&&e.variations?{...o,code:"variable_product_no_variation_prices"}:void 0!==o?{...o,code:"product_form_field_error"}:{code:"publish"===t||"future"===t?"product_publish_error":"product_create_error"}}o.d(t,{$:()=>r})},59331:(e,t,o)=>{"use strict";o.d(t,{R:()=>c});var r=o(83306);const n={cross_sell_ids:"cross_sells",reviews_allowed:"enable_reviews",downloadable:"is_downloadable",virtual:"is_virtual",images:"product_gallery",upsell_ids:"upsells"},a=["attributes","categories","description","manage_stock","menu_order","note","purchase_note","sale_price","short_description","tags","weight","cross_sell_ids","reviews_allowed","downloadable","virtual","images","upsell_ids"];function c(e,t){const{id:o,type:c}=t,i={product_id:o,source:"product-blocks-editor-v1",product_type:c};t.parent_id>0&&(t.note=t.description,delete t.description);for(const e of Object.keys(t))if(a.includes(e)){const o=n[e]||e;Array.isArray(t[e])||"string"==typeof t[e]?i[o]=t[e].length?"yes":"no":i[o]=t[e]?"yes":"no"}if(t.downloadable||t.virtual){const{downloadable:e,virtual:o}=t,r={virtual:o,downloadable:e};i.product_type_options=Object.keys(r).filter((e=>r[e])).join(",")}"images"in t&&(i.product_image=t.images.length?"yes":"no"),t.dimensions&&(i.dimensions=t.dimensions.length.length||t.dimensions.width.length||t.dimensions.height.length?"yes":"no"),(0,r.recordEvent)(e,i)}},13240:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,o){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,o)}function o(e,r,n){return o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,o,r){var n=[null];n.push.apply(n,o);var a=new(Function.bind.apply(e,n));return r&&t(a,r.prototype),a},o.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o1?o-1:0),n=1;n/gm),Z=d(/\${[\w\W]*}/gm),U=d(/^data-[\-\w.\u00B7-\uFFFF]/),q=d(/^aria-[\-\w]+$/),W=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=d(/^(?:\w+script|data):/i),J=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=d(/^html$/i),Q=d(/^[a-z][.\w]*(-[.\w]+)+$/i),X=function(){return"undefined"==typeof window?null:window};return function t(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X(),n=function(e){return t(e)};if(n.version="2.5.7",n.removed=[],!o||!o.document||9!==o.document.nodeType)return n.isSupported=!1,n;var a=o.document,c=o.document,i=o.DocumentFragment,l=o.HTMLTemplateElement,s=o.Node,d=o.Element,m=o.NodeFilter,p=o.NamedNodeMap,h=void 0===p?o.NamedNodeMap||o.MozNamedAttrMap:p,_=o.HTMLFormElement,v=o.DOMParser,P=o.trustedTypes,ee=d.prototype,te=M(ee,"cloneNode"),oe=M(ee,"nextSibling"),re=M(ee,"childNodes"),ne=M(ee,"parentNode");if("function"==typeof l){var ae=c.createElement("template");ae.content&&ae.content.ownerDocument&&(c=ae.content.ownerDocument)}var ce=function(t,o){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,n="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(n)&&(r=o.currentScript.getAttribute(n));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}}(P,a),ie=ce?ce.createHTML(""):"",le=c,se=le.implementation,ue=le.createNodeIterator,de=le.createDocumentFragment,me=le.getElementsByTagName,pe=a.importNode,he={};try{he=B(c).documentMode?c.documentMode:{}}catch(e){}var _e={};n.isSupported="function"==typeof ne&&se&&void 0!==se.createHTMLDocument&&9!==he;var ve,we,ge=G,fe=$,Ee=Z,be=U,Ce=q,xe=Y,ye=J,Ae=Q,ke=W,Se=null,Pe=V({},[].concat(r(F),r(N),r(L),r(D),r(z))),Ve=null,Be=V({},[].concat(r(j),r(R),r(I),r(O))),Me=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Fe=null,Ne=null,Le=!0,Te=!0,De=!1,He=!0,ze=!1,je=!0,Re=!1,Ie=!1,Oe=!1,Ge=!1,$e=!1,Ze=!1,Ue=!0,qe=!1,We=!0,Ye=!1,Je={},Ke=null,Qe=V({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,et=V({},["audio","video","img","source","image","track"]),tt=null,ot=V({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",at="http://www.w3.org/1999/xhtml",ct=at,it=!1,lt=null,st=V({},[rt,nt,at],b),ut=["application/xhtml+xml","text/html"],dt=null,mt=c.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(t){dt&&dt===t||(t&&"object"===e(t)||(t={}),t=B(t),ve=ve=-1===ut.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===ve?b:E,Se="ALLOWED_TAGS"in t?V({},t.ALLOWED_TAGS,we):Pe,Ve="ALLOWED_ATTR"in t?V({},t.ALLOWED_ATTR,we):Be,lt="ALLOWED_NAMESPACES"in t?V({},t.ALLOWED_NAMESPACES,b):st,tt="ADD_URI_SAFE_ATTR"in t?V(B(ot),t.ADD_URI_SAFE_ATTR,we):ot,Xe="ADD_DATA_URI_TAGS"in t?V(B(et),t.ADD_DATA_URI_TAGS,we):et,Ke="FORBID_CONTENTS"in t?V({},t.FORBID_CONTENTS,we):Qe,Fe="FORBID_TAGS"in t?V({},t.FORBID_TAGS,we):{},Ne="FORBID_ATTR"in t?V({},t.FORBID_ATTR,we):{},Je="USE_PROFILES"in t&&t.USE_PROFILES,Le=!1!==t.ALLOW_ARIA_ATTR,Te=!1!==t.ALLOW_DATA_ATTR,De=t.ALLOW_UNKNOWN_PROTOCOLS||!1,He=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ze=t.SAFE_FOR_TEMPLATES||!1,je=!1!==t.SAFE_FOR_XML,Re=t.WHOLE_DOCUMENT||!1,Ge=t.RETURN_DOM||!1,$e=t.RETURN_DOM_FRAGMENT||!1,Ze=t.RETURN_TRUSTED_TYPE||!1,Oe=t.FORCE_BODY||!1,Ue=!1!==t.SANITIZE_DOM,qe=t.SANITIZE_NAMED_PROPS||!1,We=!1!==t.KEEP_CONTENT,Ye=t.IN_PLACE||!1,ke=t.ALLOWED_URI_REGEXP||ke,ct=t.NAMESPACE||at,Me=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Me.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Me.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Me.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&(Te=!1),$e&&(Ge=!0),Je&&(Se=V({},r(z)),Ve=[],!0===Je.html&&(V(Se,F),V(Ve,j)),!0===Je.svg&&(V(Se,N),V(Ve,R),V(Ve,O)),!0===Je.svgFilters&&(V(Se,L),V(Ve,R),V(Ve,O)),!0===Je.mathMl&&(V(Se,D),V(Ve,I),V(Ve,O))),t.ADD_TAGS&&(Se===Pe&&(Se=B(Se)),V(Se,t.ADD_TAGS,we)),t.ADD_ATTR&&(Ve===Be&&(Ve=B(Ve)),V(Ve,t.ADD_ATTR,we)),t.ADD_URI_SAFE_ATTR&&V(tt,t.ADD_URI_SAFE_ATTR,we),t.FORBID_CONTENTS&&(Ke===Qe&&(Ke=B(Ke)),V(Ke,t.FORBID_CONTENTS,we)),We&&(Se["#text"]=!0),Re&&V(Se,["html","head","body"]),Se.table&&(V(Se,["tbody"]),delete Fe.tbody),u&&u(t),dt=t)},_t=V({},["mi","mo","mn","ms","mtext"]),vt=V({},["annotation-xml"]),wt=V({},["title","style","font","a","script"]),gt=V({},N);V(gt,L),V(gt,T);var ft=V({},D);V(ft,H);var Et=function(e){f(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},bt=function(e,t){try{f(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ve[e])if(Ge||$e)try{Et(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ct=function(e){var t,o;if(Oe)e=""+e;else{var r=C(e,/^[\r\n\t ]+/);o=r&&r[0]}"application/xhtml+xml"===ve&&ct===at&&(e=''+e+"");var n=ce?ce.createHTML(e):e;if(ct===at)try{t=(new v).parseFromString(n,ve)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(ct,"template",null);try{t.documentElement.innerHTML=it?ie:n}catch(e){}}var a=t.body||t.documentElement;return e&&o&&a.insertBefore(c.createTextNode(o),a.childNodes[0]||null),ct===at?me.call(t,Re?"html":"body")[0]:Re?t.documentElement:a},xt=function(e){return ue.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null,!1)},yt=function(e){return e instanceof _&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof h)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},At=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},kt=function(e,t,o){_e[e]&&w(_e[e],(function(e){e.call(n,t,o,dt)}))},St=function(e){var t;if(kt("beforeSanitizeElements",e,null),yt(e))return Et(e),!0;if(k(/[\u0080-\uFFFF]/,e.nodeName))return Et(e),!0;var o=we(e.nodeName);if(kt("uponSanitizeElement",e,{tagName:o,allowedTags:Se}),e.hasChildNodes()&&!At(e.firstElementChild)&&(!At(e.content)||!At(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return Et(e),!0;if("select"===o&&k(/