← Back
Editing: 5904.js
/*! For license information please see 5904.js.LICENSE.txt */ (globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[3590,5904],{88556:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(86087),s=n(65993),c=n.n(s),i=n(56427);function o(t){return(0,r.createElement)(i.Button,{...t,className:c()("edit-site-sidebar-button",t.className)})}},16505:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var r=n(86087),s=n(65993),c=n.n(s),i=n(56427),o=n(27723);const a=(0,r.forwardRef)(function({icon:t,size:e=24,...n},s){return(0,r.cloneElement)(t,{width:e,height:e,...n,ref:s})});var l=n(51609),u=n(5573);const f=(0,l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(u.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})),d=(0,l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(u.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"}));function v({className:t,icon:e,withChevron:n=!1,suffix:s,children:l,...u}){return(0,r.createElement)(i.__experimentalItem,{className:c()("edit-site-sidebar-navigation-item",{"with-suffix":!n&&s},t),...u},(0,r.createElement)(i.__experimentalHStack,{justify:"flex-start"},e&&(0,r.createElement)(a,{style:{fill:"currentcolor"},icon:e,size:24}),(0,r.createElement)(i.FlexBlock,null,l),n&&(0,r.createElement)(a,{icon:(0,o.isRTL)()?f:d,className:"edit-site-sidebar-navigation-item__drilldown-indicator",size:24}),!n&&s))}},83705:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var r=n(86087),s=n(65993),c=n.n(s),i=n(47143),o=n(56427),a=n(27723),l=n(51609),u=n(5573);const f=(0,l.createElement)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,l.createElement)(u.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"}));var d=n(3582);const v=function({className:t}){const{isRequestingSite:e,siteIconUrl:n}=(0,i.useSelect)(t=>{const{getEntityRecord:e}=t(d.store),n=e("root","__unstableBase",void 0);return{isRequestingSite:!n,siteIconUrl:n?.site_icon_url}},[]);if(e&&!n)return(0,r.createElement)("div",{className:"edit-site-site-icon__image"});const s=n?(0,r.createElement)("img",{className:"edit-site-site-icon__image",alt:(0,a.__)("Site Icon"),src:n}):(0,r.createElement)(o.Icon,{className:"edit-site-site-icon__icon",size:"48px",icon:f});return(0,r.createElement)("div",{className:c()(t,"edit-site-site-icon")},s)}},50919:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"})})},3588:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},36415:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},8533:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.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"})})},27676:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})})},98041:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"})})},7194:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"})})},68989:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})})},49407:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(39793),s=n(5573),c=(0,r.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(s.Path,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})})},65993:(t,e)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var t="",e=0;e<arguments.length;e++){var n=arguments[e];n&&(t=i(t,c(n)))}return t}function c(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return s.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var n in t)r.call(t,n)&&t[n]&&(e=i(e,n));return e}function i(t,e){return e?t?t+" "+e:t+e:t}t.exports?(s.default=s,t.exports=s):void 0===(n=function(){return s}.apply(e,[]))||(t.exports=n)}()},89:(t,e,n)=>{"use strict";function r(t,e){const n={};for(const r in t){const s=t[r];if(e?.hasOwnProperty(r)){const t=e[r](s);null!=t&&Object.assign(n,t);continue}!0===s?n[`data-${r.toLowerCase()}`]="":s&&(n[`data-${r.toLowerCase()}`]=s.toString())}return n}n.d(e,{v:()=>r})},48690:(t,e,n)=>{"use strict";n.d(e,{o:()=>v});var r=n(69579),s=n(51609),c=n(52424),i=n(50707),o=n(65789),a=n(34984),l=n(89),u=n(41343),f=n(15841),d=n(72194);function v(t,e,n={}){let v=e.render;!1!==n.enabled&&(v=function(t){if(t?.$$typeof!==h)return t;const e=s.Children.toArray(t)[0];return s.isValidElement(e)?e:t}(v));const m=function(t,e,n){const{className:r,style:s}=t,{state:v=a.t0,ref:h,props:m,stateAttributesMapping:w,enabled:p=!0}=e,g=p?(0,u.S)(r,v):void 0,x=p?(0,f.m)(s,v):void 0,y=p?(0,l.v)(v,w):a.t0,b=p&&m?function(t){return Array.isArray(t)?(0,d.lZ)(t):(0,d.v6)(void 0,t)}(m):void 0,z=p?(0,o.r)(y,b)??{}:a.t0;return"undefined"!=typeof document&&(p?Array.isArray(h)?z.ref=(0,c.U)([z.ref,(0,i.v)(n),...h]):z.ref=(0,c.a)(z.ref,(0,i.v)(n),h):(0,c.a)(null,null)),p?(void 0!==g&&(z.className=(0,d.VN)(z.className,g)),void 0!==x&&(z.style=(0,o.r)(z.style,x)),z):a.t0}(e,n,v);return!1===n.enabled?null:function(t,e,n,c){if(e){if("function"==typeof e)return e(n,c);const t=(0,d.v6)(n,e.props);return t.ref=n.ref,s.cloneElement(e,t)}if(t&&"string"==typeof t)return function(t,e){return"button"===t?(0,s.createElement)("button",{type:"button",...e,key:e.key}):"img"===t?(0,s.createElement)("img",{alt:"",...e,key:e.key}):s.createElement(t,e)}(t,n);throw new Error((0,r.A)(8))}(t,v,m,n.state??a.t0)}const h=Symbol.for("react.lazy")},72194:(t,e,n)=>{"use strict";n.d(e,{VN:()=>m,lZ:()=>i,v6:()=>c});var r=n(65789);const s={};function c(t,e,n,r,s){if(!(n||r||s||t))return o(e);let c=o(t);return e&&(c=a(c,e)),n&&(c=a(c,n)),r&&(c=a(c,r)),s&&(c=a(c,s)),c}function i(t){if(0===t.length)return s;if(1===t.length)return o(t[0]);let e=o(t[0]);for(let n=1;n<t.length;n+=1)e=a(e,t[n]);return e}function o(t){return u(t)?{...f(t,s)}:function(t){const e={...t};for(const t in e){const n=e[t];l(t,n)&&(e[t]=v(n))}return e}(t)}function a(t,e){return u(e)?f(e,t):function(t,e){if(!e)return t;for(const n in e){const s=e[n];switch(n){case"style":t[n]=(0,r.r)(t.style,s);break;case"className":t[n]=m(t.className,s);break;default:l(n,s)?t[n]=d(t[n],s):t[n]=s}}return t}(t,e)}function l(t,e){const n=t.charCodeAt(0),r=t.charCodeAt(1),s=t.charCodeAt(2);return 111===n&&110===r&&s>=65&&s<=90&&("function"==typeof e||void 0===e)}function u(t){return"function"==typeof t}function f(t,e){return u(t)?t(e):t??s}function d(t,e){return e?t?(...n)=>{const r=n[0];if(w(r)){const s=r;h(s);const c=e(...n);return s.baseUIHandlerPrevented||t?.(...n),c}const s=e(...n);return t?.(...n),s}:v(e):t}function v(t){return t?(...e)=>{const n=e[0];return w(n)&&h(n),t(...e)}:t}function h(t){return t.preventBaseUIHandler=()=>{t.baseUIHandlerPrevented=!0},t}function m(t,e){return e?t?e+" "+t:e:t}function w(t){return null!=t&&"object"==typeof t&&"nativeEvent"in t}},13590:(t,e,n)=>{"use strict";n.d(e,{C:()=>s});var r=n(48690);function s(t){return(0,r.o)(t.defaultTagName??"div",t,t)}},41343:(t,e,n)=>{"use strict";function r(t,e){return"function"==typeof t?t(e):t}n.d(e,{S:()=>r})},15841:(t,e,n)=>{"use strict";function r(t,e){return"function"==typeof t?t(e):t}n.d(e,{m:()=>r})},34984:(t,e,n)=>{"use strict";n.d(e,{t0:()=>r}),Object.freeze([]);const r=Object.freeze({})},69579:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,...e){const n=new URL("https://base-ui.com/production-error");return n.searchParams.set("code",t.toString()),e.forEach(t=>n.searchParams.append("args[]",t)),`Base UI error #${t}; visit ${n} for the full message.`}},50707:(t,e,n)=>{"use strict";n.d(e,{v:()=>c});var r=n(51609),s=n(37026);function c(t){if(!r.isValidElement(t))return null;const e=t,n=e.props;return((0,s._)(19)?n?.ref:e.ref)??null}},65789:(t,e,n)=>{"use strict";function r(t,e){return t&&!e?t:!t&&e?e:t||e?{...t,...e}:void 0}n.d(e,{r:()=>r})},37026:(t,e,n)=>{"use strict";n.d(e,{_:()=>c});var r=n(51609);const s=parseInt(r.version,10);function c(t){return s>=t}},52424:(t,e,n)=>{"use strict";n.d(e,{U:()=>c,a:()=>s});var r=n(25427);function s(t,e,n,s){const c=(0,r.j)(i).current;return function(t,e,n,r,s){return t.refs[0]!==e||t.refs[1]!==n||t.refs[2]!==r||t.refs[3]!==s}(c,t,e,n,s)&&o(c,[t,e,n,s]),c.callback}function c(t){const e=(0,r.j)(i).current;return function(t,e){return t.refs.length!==e.length||t.refs.some((t,n)=>t!==e[n])}(e,t)&&o(e,t),e.callback}function i(){return{callback:null,cleanup:null,refs:[]}}function o(t,e){t.refs=e,e.every(t=>null==t)?t.callback=null:t.callback=n=>{if(t.cleanup&&(t.cleanup(),t.cleanup=null),null!=n){const r=Array(e.length).fill(null);for(let t=0;t<e.length;t+=1){const s=e[t];if(null!=s)switch(typeof s){case"function":{const e=s(n);"function"==typeof e&&(r[t]=e);break}case"object":s.current=n}}t.cleanup=()=>{for(let t=0;t<e.length;t+=1){const n=e[t];if(null!=n)switch(typeof n){case"function":{const e=r[t];"function"==typeof e?e():n(null);break}case"object":n.current=null}}}}}}},25427:(t,e,n)=>{"use strict";n.d(e,{j:()=>c});var r=n(51609);const s={};function c(t,e){const n=r.useRef(s);return n.current===s&&(n.current=t(e)),n}}}]);
Save File
Cancel