uawdijnntqw1x1x1
IP : 3.15.186.220
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
wp-includes
/
.
/
certificates
/
..
/
js
/
dist
/
core-data.min.js
/
/
/*! This file is auto-generated */ this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="dsJ0")}({"1ZqX":function(e,t){e.exports=window.wp.data},"7Cbv":function(e,t,n){"use strict";var r,i=new Uint8Array(16);function s(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var a=function(e){return"string"==typeof e&&o.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!a(n))throw TypeError("Stringified UUID is invalid");return n};t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||s)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return l(r)}},FtRg:function(e,t,n){"use strict";function r(e){return(r="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)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var s=Object.keys(t).sort(),o=Array.isArray(t)?r:i,a=0;a<s.length;a++){var c=s[a];if(void 0===(o=o.get(c)))return;var u=t[c];if(void 0===(o=o.get(u)))return}var l=o.get("_ekm_value");return l?(n.delete(l[0]),l[0]=t,o.set("_ekm_value",l),n.set(t,l),l):void 0}var o=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,o;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var i=Object.keys(t).sort(),s=[t,n],o=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,a=0;a<i.length;a++){var c=i[a];o.has(c)||o.set(c,new e),o=o.get(c);var u=t[c];o.has(u)||o.set(u,new e),o=o.get(u)}var l=o.get("_ekm_value");return l&&this._map.delete(l[0]),o.set("_ekm_value",s),this._map.set(t,s),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=s(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==s(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(i,s){null!==s&&"object"===r(s)&&(i=i[1]),e.call(n,i,s,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&i(t.prototype,n),o&&i(t,o),e}();e.exports=o},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},Mmq9:function(e,t){e.exports=window.wp.url},NMb1:function(e,t){e.exports=window.wp.deprecated},YLtl:function(e,t){e.exports=window.lodash},dsJ0:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return $t})),n.d(t,"EntityProvider",(function(){return Pt})),n.d(t,"useEntityId",(function(){return Dt})),n.d(t,"useEntityProp",(function(){return qt})),n.d(t,"useEntityBlockEditor",(function(){return Nt})),n.d(t,"__experimentalFetchLinkSuggestions",(function(){return Vt})),n.d(t,"__experimentalFetchUrlData",(function(){return Ft}));var r={};n.r(r),n.d(r,"receiveUserQuery",(function(){return T})),n.d(r,"receiveCurrentUser",(function(){return S})),n.d(r,"addEntities",(function(){return I})),n.d(r,"receiveEntityRecords",(function(){return U})),n.d(r,"receiveCurrentTheme",(function(){return x})),n.d(r,"__experimentalReceiveCurrentGlobalStylesId",(function(){return A})),n.d(r,"__experimentalReceiveThemeBaseGlobalStyles",(function(){return C})),n.d(r,"receiveThemeSupports",(function(){return L})),n.d(r,"receiveEmbedPreview",(function(){return P})),n.d(r,"deleteEntityRecord",(function(){return D})),n.d(r,"editEntityRecord",(function(){return q})),n.d(r,"undo",(function(){return N})),n.d(r,"redo",(function(){return M})),n.d(r,"__unstableCreateUndoLevel",(function(){return V})),n.d(r,"saveEntityRecord",(function(){return G})),n.d(r,"__experimentalBatch",(function(){return F})),n.d(r,"saveEditedEntityRecord",(function(){return B})),n.d(r,"__experimentalSaveSpecifiedEntityEdits",(function(){return Q})),n.d(r,"receiveUploadPermissions",(function(){return Y})),n.d(r,"receiveUserPermission",(function(){return $})),n.d(r,"receiveAutosaves",(function(){return H}));var i={};n.r(i),n.d(i,"isRequestingEmbedPreview",(function(){return ge})),n.d(i,"getAuthors",(function(){return _e})),n.d(i,"getCurrentUser",(function(){return Re})),n.d(i,"getUserQueryResults",(function(){return Oe})),n.d(i,"getEntitiesByKind",(function(){return we})),n.d(i,"getEntity",(function(){return je})),n.d(i,"getEntityRecord",(function(){return ke})),n.d(i,"__experimentalGetEntityRecordNoResolver",(function(){return Te})),n.d(i,"getRawEntityRecord",(function(){return Se})),n.d(i,"hasEntityRecords",(function(){return Ie})),n.d(i,"getEntityRecords",(function(){return Ue})),n.d(i,"__experimentalGetDirtyEntityRecords",(function(){return xe})),n.d(i,"__experimentalGetEntitiesBeingSaved",(function(){return Ae})),n.d(i,"getEntityRecordEdits",(function(){return Ce})),n.d(i,"getEntityRecordNonTransientEdits",(function(){return Le})),n.d(i,"hasEditsForEntityRecord",(function(){return Pe})),n.d(i,"getEditedEntityRecord",(function(){return De})),n.d(i,"isAutosavingEntityRecord",(function(){return qe})),n.d(i,"isSavingEntityRecord",(function(){return Ne})),n.d(i,"isDeletingEntityRecord",(function(){return Me})),n.d(i,"getLastEntitySaveError",(function(){return Ve})),n.d(i,"getLastEntityDeleteError",(function(){return Ge})),n.d(i,"getUndoEdit",(function(){return Be})),n.d(i,"getRedoEdit",(function(){return Qe})),n.d(i,"hasUndo",(function(){return Ye})),n.d(i,"hasRedo",(function(){return $e})),n.d(i,"getCurrentTheme",(function(){return He})),n.d(i,"__experimentalGetCurrentGlobalStylesId",(function(){return Ke})),n.d(i,"getThemeSupports",(function(){return We})),n.d(i,"getEmbedPreview",(function(){return ze})),n.d(i,"isPreviewEmbedFallback",(function(){return Xe})),n.d(i,"canUser",(function(){return Je})),n.d(i,"canUserEditEntityRecord",(function(){return Ze})),n.d(i,"getAutosaves",(function(){return et})),n.d(i,"getAutosave",(function(){return tt})),n.d(i,"hasFetchedAutosaves",(function(){return nt})),n.d(i,"getReferenceByDistinctEdits",(function(){return rt})),n.d(i,"__experimentalGetTemplateForLink",(function(){return it})),n.d(i,"__experimentalGetCurrentThemeBaseGlobalStyles",(function(){return st}));var s={};n.r(s),n.d(s,"getAuthors",(function(){return at})),n.d(s,"getCurrentUser",(function(){return ct})),n.d(s,"getEntityRecord",(function(){return ut})),n.d(s,"getRawEntityRecord",(function(){return lt})),n.d(s,"getEditedEntityRecord",(function(){return dt})),n.d(s,"getEntityRecords",(function(){return ft})),n.d(s,"getCurrentTheme",(function(){return pt})),n.d(s,"getThemeSupports",(function(){return yt})),n.d(s,"getEmbedPreview",(function(){return bt})),n.d(s,"canUser",(function(){return vt})),n.d(s,"canUserEditEntityRecord",(function(){return ht})),n.d(s,"getAutosaves",(function(){return Et})),n.d(s,"getAutosave",(function(){return mt})),n.d(s,"__experimentalGetTemplateForLink",(function(){return gt})),n.d(s,"__experimentalGetCurrentGlobalStylesId",(function(){return _t})),n.d(s,"__experimentalGetCurrentThemeBaseGlobalStyles",(function(){return Rt}));var o=n("1ZqX"),a=n("YLtl"),c=n("rl8x"),u=n.n(c);var l=e=>t=>(n,r)=>void 0===n||e(r)?t(n,r):n;var d=e=>t=>(n,r)=>t(n,e(r));function f(e,t){if(!e)return t;let n=!1;const r={};for(const i in t)Object(a.isEqual)(e[i],t[i])?r[i]=e[i]:(n=!0,r[i]=t[i]);if(!n)return e;for(const t in e)r.hasOwnProperty(t)||(r[t]=e[t]);return r}var p=e=>t=>function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const i=r[e];if(void 0===i)return n;const s=t(n[i],r);return s===n[i]?n:{...n,[i]:s}},y=n("ywyh"),b=n.n(y),v=n("l3Sj"),h=n("7Cbv"),E=n("Mmq9"),m=n("NMb1"),g=n.n(m);function _(e,t){return{type:"RECEIVE_ITEMS",items:Object(a.castArray)(e),persistedEdits:t}}function R(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:"REMOVE_ITEMS",itemIds:Object(a.castArray)(n),kind:e,name:t,invalidateCache:r}}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return{..._(e,n),query:t}}let w=null;async function j(e){if(null===w){const e=await b()({path:"/batch/v1",method:"OPTIONS"});w=e.endpoints[0].args.requests.maxItems}const t=[];for(const n of Object(a.chunk)(e,w)){const e=await b()({path:"/batch/v1",method:"POST",data:{validation:"require-all-validate",requests:n.map(e=>({path:e.path,body:e.data,method:e.method,headers:e.headers}))}});let r;r=e.failed?e.responses.map(e=>({error:null==e?void 0:e.body})):e.responses.map(e=>{const t={};return e.status>=200&&e.status<300?t.output=e.body:t.error=e.body,t}),t.push(...r)}return t}class k{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.set=new Set(...t),this.subscribers=new Set}get size(){return this.set.size}add(){return this.set.add(...arguments),this.subscribers.forEach(e=>e()),this}delete(){const e=this.set.delete(...arguments);return this.subscribers.forEach(e=>e()),e}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}}function T(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(a.castArray)(t),queryID:e}}function S(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function I(e){return{type:"ADD_ENTITIES",entities:e}}function U(e,t,n,r){let i,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return"postType"===e&&(n=Object(a.castArray)(n).map(e=>"auto-draft"===e.status?{...e,title:""}:e)),i=r?O(n,r,o):_(n,o),{...i,kind:e,name:t,invalidateCache:s}}function x(e){return{type:"RECEIVE_CURRENT_THEME",currentTheme:e}}function A(e){return{type:"RECEIVE_CURRENT_GLOBAL_STYLES_ID",id:e}}function C(e,t){return{type:"RECEIVE_THEME_GLOBAL_STYLES",stylesheet:e,globalStyles:t}}function L(){return g()("wp.data.dispatch( 'core' ).receiveThemeSupports",{since:"5.9"}),{type:"DO_NOTHING"}}function P(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}const D=function(e,t,n,r){let{__unstableFetch:i=b.a}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return async s=>{let{dispatch:o}=s;const c=await o(ee(e)),u=Object(a.find)(c,{kind:e,name:t});let l,d=!1;if(!u||null!=u&&u.__experimentalNoFetch)return;const f=await o.__unstableAcquireStoreLock("core",["entities","data",e,t,n],{exclusive:!0});try{o({type:"DELETE_ENTITY_RECORD_START",kind:e,name:t,recordId:n});try{let s=`${u.baseURL}/${n}`;r&&(s=Object(E.addQueryArgs)(s,r)),d=await i({path:s,method:"DELETE"}),await o(R(e,t,n,!0))}catch(e){l=e}return o({type:"DELETE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:n,error:l}),d}finally{o.__unstableReleaseStoreLock(f)}}},q=function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return s=>{let{select:o,dispatch:c}=s;const u=o.getEntity(e,t);if(!u)throw new Error(`The entity being edited (${e}, ${t}) does not have a loaded config.`);const{transientEdits:l={},mergedEdits:d={}}=u,f=o.getRawEntityRecord(e,t,n),p=o.getEditedEntityRecord(e,t,n),y={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((e,t)=>{const n=f[t],i=p[t],s=d[t]?{...i,...r[t]}:r[t];return e[t]=Object(a.isEqual)(n,s)?void 0:s,e},{}),transientEdits:l};c({type:"EDIT_ENTITY_RECORD",...y,meta:{undo:!i.undoIgnore&&{...y,edits:Object.keys(r).reduce((e,t)=>(e[t]=p[t],e),{})}}})}},N=()=>e=>{let{select:t,dispatch:n}=e;const r=t.getUndoEdit();r&&n({type:"EDIT_ENTITY_RECORD",...r,meta:{isUndo:!0}})},M=()=>e=>{let{select:t,dispatch:n}=e;const r=t.getRedoEdit();r&&n({type:"EDIT_ENTITY_RECORD",...r,meta:{isRedo:!0}})};function V(){return{type:"CREATE_UNDO_LEVEL"}}const G=function(e,t,n){let{isAutosave:r=!1,__unstableFetch:i=b.a}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return async s=>{let{select:o,resolveSelect:c,dispatch:u}=s;const l=await u(ee(e)),d=Object(a.find)(l,{kind:e,name:t});if(!d||null!=d&&d.__experimentalNoFetch)return;const f=d.key||K,p=n[f],y=await u.__unstableAcquireStoreLock("core",["entities","data",e,t,p||Object(h.a)()],{exclusive:!0});try{for(const[r,i]of Object.entries(n))if("function"==typeof i){const s=i(o.getEditedEntityRecord(e,t,p));u.editEntityRecord(e,t,p,{[r]:s},{undoIgnore:!0}),n[r]=s}let s,a;u({type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:p,isAutosave:r});try{const a=`${d.baseURL}${p?"/"+p:""}`,l=o.getRawEntityRecord(e,t,p);if(r){const r=o.getCurrentUser(),d=r?r.id:void 0,f=c.getAutosave(l.type,l.id,d);let p={...l,...f,...n};if(p=Object.keys(p).reduce((e,t)=>(["title","excerpt","content"].includes(t)&&(e[t]=p[t]),e),{status:"auto-draft"===p.status?"draft":p.status}),s=await i({path:a+"/autosaves",method:"POST",data:p}),l.id===s.id){let n={...l,...p,...s};n=Object.keys(n).reduce((e,t)=>(["title","excerpt","content"].includes(t)?e[t]=n[t]:e[t]="status"===t?"auto-draft"===l.status&&"draft"===n.status?n.status:l.status:l[t],e),{}),u.receiveEntityRecords(e,t,n,void 0,!0)}else u.receiveAutosaves(l.id,s)}else{let r=n;d.__unstablePrePersist&&(r={...r,...d.__unstablePrePersist(l,r)}),s=await i({path:a,method:p?"PUT":"POST",data:r}),u.receiveEntityRecords(e,t,s,void 0,!0,r)}}catch(e){a=e}return u({type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:p,error:a,isAutosave:r}),s}finally{u.__unstableReleaseStoreLock(y)}}},F=e=>async t=>{let{dispatch:n}=t;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,t=0,n=[];const r=new k;return{add(e){const i=++t;r.add(i);const s=e=>new Promise((t,s)=>{n.push({input:e,resolve:t,reject:s}),r.delete(i)});return Object(a.isFunction)(e)?Promise.resolve(e(s)).finally(()=>{r.delete(i)}):s(e)},async run(){let t;r.size&&await new Promise(e=>{const t=r.subscribe(()=>{r.size||(t(),e())})});try{if(t=await e(n.map(e=>{let{input:t}=e;return t})),t.length!==n.length)throw new Error("run: Array returned by processor must be same size as input array.")}catch(e){for(const{reject:t}of n)t(e);throw e}let i=!0;for(const[e,{resolve:r,reject:o}]of Object(a.zip)(t,n)){var s;if(null!=e&&e.error)o(e.error),i=!1;else r(null!==(s=null==e?void 0:e.output)&&void 0!==s?s:e)}return n=[],i}}}(),i={saveEntityRecord:(e,t,i,s)=>r.add(r=>n.saveEntityRecord(e,t,i,{...s,__unstableFetch:r})),saveEditedEntityRecord:(e,t,i,s)=>r.add(r=>n.saveEditedEntityRecord(e,t,i,{...s,__unstableFetch:r})),deleteEntityRecord:(e,t,i,s,o)=>r.add(r=>n.deleteEntityRecord(e,t,i,s,{...o,__unstableFetch:r}))},s=e.map(e=>e(i)),[,...o]=await Promise.all([r.run(),...s]);return o},B=(e,t,n,r)=>async i=>{let{select:s,dispatch:o}=i;if(!s.hasEditsForEntityRecord(e,t,n))return;const c=await o(ee(e)),u=Object(a.find)(c,{kind:e,name:t});if(!u)return;const l=u.key||K,d=s.getEntityRecordNonTransientEdits(e,t,n),f={[l]:n,...d};return await o.saveEntityRecord(e,t,f,r)},Q=(e,t,n,r,i)=>async s=>{let{select:o,dispatch:a}=s;if(!o.hasEditsForEntityRecord(e,t,n))return;const c=o.getEntityRecordNonTransientEdits(e,t,n),u={};for(const e in c)r.some(t=>t===e)&&(u[e]=c[e]);return await a.saveEntityRecord(e,t,u,i)};function Y(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function H(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(a.castArray)(t)}}const K="id",W=["title","excerpt","content"],z=[{label:Object(v.__)("Base"),name:"__unstableBase",kind:"root",baseURL:"/"},{label:Object(v.__)("Site"),name:"site",kind:"root",baseURL:"/wp/v2/settings",getTitle:e=>Object(a.get)(e,["title"],Object(v.__)("Site Title"))},{label:Object(v.__)("Post Type"),name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types",baseURLParams:{context:"edit"},rawAttributes:W},{name:"media",kind:"root",baseURL:"/wp/v2/media",baseURLParams:{context:"edit"},plural:"mediaItems",label:Object(v.__)("Media")},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",baseURLParams:{context:"edit"},plural:"taxonomies",label:Object(v.__)("Taxonomy")},{name:"sidebar",kind:"root",baseURL:"/wp/v2/sidebars",plural:"sidebars",transientEdits:{blocks:!0},label:Object(v.__)("Widget areas")},{name:"widget",kind:"root",baseURL:"/wp/v2/widgets",baseURLParams:{context:"edit"},plural:"widgets",transientEdits:{blocks:!0},label:Object(v.__)("Widgets")},{name:"widgetType",kind:"root",baseURL:"/wp/v2/widget-types",baseURLParams:{context:"edit"},plural:"widgetTypes",label:Object(v.__)("Widget types")},{label:Object(v.__)("User"),name:"user",kind:"root",baseURL:"/wp/v2/users",baseURLParams:{context:"edit"},plural:"users"},{name:"comment",kind:"root",baseURL:"/wp/v2/comments",baseURLParams:{context:"edit"},plural:"comments",label:Object(v.__)("Comment")},{name:"menu",kind:"root",baseURL:"/wp/v2/menus",baseURLParams:{context:"edit"},plural:"menus",label:Object(v.__)("Menu")},{name:"menuItem",kind:"root",baseURL:"/wp/v2/menu-items",baseURLParams:{context:"edit"},plural:"menuItems",label:Object(v.__)("Menu Item"),rawAttributes:["title","content"]},{name:"menuLocation",kind:"root",baseURL:"/wp/v2/menu-locations",baseURLParams:{context:"edit"},plural:"menuLocations",label:Object(v.__)("Menu Location"),key:"name"},{name:"navigationArea",kind:"root",baseURL:"/wp/v2/block-navigation-areas",baseURLParams:{context:"edit"},plural:"navigationAreas",label:Object(v.__)("Navigation Area"),key:"name",getTitle:e=>null==e?void 0:e.description},{label:Object(v.__)("Global Styles"),name:"globalStyles",kind:"root",baseURL:"/wp/v2/global-styles",baseURLParams:{context:"edit"},plural:"globalStylesVariations",getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)}},{label:Object(v.__)("Themes"),name:"theme",kind:"root",baseURL:"/wp/v2/themes",baseURLParams:{context:"edit"},key:"stylesheet"},{label:Object(v.__)("Plugins"),name:"plugin",kind:"root",baseURL:"/wp/v2/plugins",baseURLParams:{context:"edit"},key:"plugin"}],X=[{name:"postType",loadEntities:async function(){const e=await b()({path:"/wp/v2/types?context=edit"});return Object(a.map)(e,(e,t)=>{var n;const r=["wp_template","wp_template_part"].includes(t);return{kind:"postType",baseURL:`/${null!==(n=null==e?void 0:e.rest_namespace)&&void 0!==n?n:"wp/v2"}/${e.rest_base}`,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name,transientEdits:{blocks:!0,selection:!0},mergedEdits:{meta:!0},rawAttributes:W,getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)||(r?Object(a.startCase)(e.slug):String(e.id))},__unstablePrePersist:r?void 0:J,__unstable_rest_base:e.rest_base}})}},{name:"taxonomy",loadEntities:async function(){const e=await b()({path:"/wp/v2/taxonomies?context=edit"});return Object(a.map)(e,(e,t)=>{var n;return{kind:"taxonomy",baseURL:`/${null!==(n=null==e?void 0:e.rest_namespace)&&void 0!==n?n:"wp/v2"}/${e.rest_base}`,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name}})}}],J=(e,t)=>{const n={};return"auto-draft"===(null==e?void 0:e.status)&&(t.status||n.status||(n.status="draft"),t.title&&"Auto Draft"!==t.title||n.title||null!=e&&e.title&&"Auto Draft"!==(null==e?void 0:e.title)||(n.title="")),n};const Z=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=Object(a.find)(z,{kind:e,name:t}),s="root"===e?"":Object(a.upperFirst)(Object(a.camelCase)(e)),o=Object(a.upperFirst)(Object(a.camelCase)(t))+(r?"s":""),c=r&&i.plural?Object(a.upperFirst)(Object(a.camelCase)(i.plural)):o;return`${n}${s}${c}`},ee=e=>async t=>{let{select:n,dispatch:r}=t,i=n.getEntitiesByKind(e);if(i&&0!==i.length)return i;const s=Object(a.find)(X,{name:e});return s?(i=await s.loadEntities(),r(I(i)),i):[]};var te=function(e){return"string"==typeof e?e.split(","):Array.isArray(e)?e:null};var ne=function(e){const t=new WeakMap;return n=>{let r;return t.has(n)?r=t.get(n):(r=e(n),Object(a.isObjectLike)(n)&&t.set(n,r)),r}}((function(e){const t={stableKey:"",page:1,perPage:10,fields:null,include:null,context:"default"},n=Object.keys(e).sort();for(let r=0;r<n.length;r++){const i=n[r];let s=e[i];switch(i){case"page":t[i]=Number(s);break;case"per_page":t.perPage=Number(s);break;case"context":t.context=s;break;default:"_fields"===i&&(t.fields=te(s),s=t.fields.join()),"include"===i&&(t.include=te(s).map(Number),s=t.include.join()),t.stableKey+=(t.stableKey?"&":"")+Object(E.addQueryArgs)("",{[i]:s}).slice(1)}}return t}));function re(e){const{query:t}=e;if(!t)return"default";return ne(t).context}function ie(e,t,n,r){if(1===n&&-1===r)return t;const i=(n-1)*r,s=Math.max(e.length,i+t.length),o=new Array(s);for(let n=0;n<s;n++){const r=n>=i&&n<i+t.length;o[n]=r?t[n-i]:e[n]}return o}const se=Object(a.flowRight)([l(e=>"query"in e),d(e=>e.query?{...e,...ne(e.query)}:e),p("context"),p("stableKey")])((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;const{type:n,page:r,perPage:i,key:s=K}=t;return"RECEIVE_ITEMS"!==n?e:ie(e||[],Object(a.map)(t.items,s),r,i)}));var oe=Object(o.combineReducers)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":{const n=re(t),r=t.key||K;return{...e,[n]:{...e[n],...t.items.reduce((t,i)=>{var s;const o=i[r];return t[o]=f(null==e||null===(s=e[n])||void 0===s?void 0:s[o],i),t},{})}}}case"REMOVE_ITEMS":return Object(a.mapValues)(e,e=>Object(a.omit)(e,t.itemIds))}return e},itemIsComplete:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":{const n=re(t),{query:r,key:i=K}=t,s=r?ne(r):{},o=!r||!Array.isArray(s.fields);return{...e,[n]:{...e[n],...t.items.reduce((t,r)=>{var s;const a=r[i];return t[a]=(null==e||null===(s=e[n])||void 0===s?void 0:s[a])||o,t},{})}}}case"REMOVE_ITEMS":return Object(a.mapValues)(e,e=>Object(a.omit)(e,t.itemIds))}return e},queries:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return se(e,t);case"REMOVE_ITEMS":const n=t.itemIds.reduce((e,t)=>(e[t]=!0,e),{});return Object(a.mapValues)(e,e=>Object(a.mapValues)(e,e=>Object(a.filter)(e,e=>!n[e])));default:return e}}});function ae(e){return Object(a.flowRight)([l(t=>t.name&&t.kind&&t.name===e.name&&t.kind===e.kind),d(t=>({...t,key:e.key||K}))])(Object(o.combineReducers)({queriedData:oe,edits:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"RECEIVE_ITEMS":if("default"!==(null!==(e=null==r||null===(t=r.query)||void 0===t?void 0:t.context)&&void 0!==e?e:"default"))return n;const i={...n};for(const e of r.items){const t=e[r.key],n=i[t];if(!n)continue;const s=Object.keys(n).reduce((t,i)=>(Object(a.isEqual)(n[i],Object(a.get)(e[i],"raw",e[i]))||r.persistedEdits&&Object(a.isEqual)(n[i],r.persistedEdits[i])||(t[i]=n[i]),t),{});Object.keys(s).length?i[t]=s:delete i[t]}return i;case"EDIT_ENTITY_RECORD":const s={...n[r.recordId],...r.edits};return Object.keys(s).forEach(e=>{void 0===s[e]&&delete s[e]}),{...n,[r.recordId]:s}}return n},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}}}return e},deleting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DELETE_ENTITY_RECORD_START":case"DELETE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"DELETE_ENTITY_RECORD_START"===t.type,error:t.error}}}return e}}))}function ce(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[...e,...t.entities]}return e}const ue=[];let le;ue.offset=0;var de=Object(o.combineReducers)({terms:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return{...e,[t.taxonomy]:t.terms}}return e},users:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:{...e.byId,...Object(a.keyBy)(t.users,"id")},queries:{...e.queries,[t.queryID]:Object(a.map)(t.users,e=>e.id)}}}return e},currentTheme:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_THEME":return t.currentTheme.stylesheet}return e},currentGlobalStylesId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_GLOBAL_STYLES_ID":return t.id}return e},currentUser:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},themeBaseGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_GLOBAL_STYLES":return{...e,[t.stylesheet]:t.globalStyles}}return e},taxonomies:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},entities:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=ce(e.config,t);let r=e.reducer;if(!r||n!==e.config){const e=Object(a.groupBy)(n,"kind");r=Object(o.combineReducers)(Object.entries(e).reduce((e,t)=>{let[n,r]=t;const i=Object(o.combineReducers)(r.reduce((e,t)=>({...e,[t.name]:ae(t)}),{}));return e[n]=i,e},{}))}const i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},undo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":let n="CREATE_UNDO_LEVEL"===t.type;const r=!n&&(t.meta.isUndo||t.meta.isRedo);let i;if(n?t=le:r||(le=Object.keys(t.edits).some(e=>!t.transientEdits[e])?t:{...t,edits:{...le&&le.edits,...t.edits}}),r){if(i=[...e],i.offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return i;n=!0,le.meta.undo||(le.meta.undo={edits:{}}),t=le}if(!t.meta.undo)return e;if(!n&&!Object.keys(t.edits).some(e=>!t.transientEdits[e]))return i=[...e],i.flattenedUndo={...e.flattenedUndo,...t.edits},i.offset=e.offset,i;i=i||e.slice(0,e.offset||void 0),i.offset=i.offset||0,i.pop(),n||i.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:{...e.flattenedUndo,...t.meta.undo.edits}});const s=Object.values(t.meta.undo.edits).filter(e=>"function"!=typeof e),o=Object.values(t.edits).filter(e=>"function"!=typeof e);return u()(s,o)||i.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:n?{...e.flattenedUndo,...t.edits}:t.edits}),i}return e},embedPreviews:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":const{url:n,preview:r}=t;return{...e,[n]:r}}return e},userPermissions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return{...e,[t.key]:t.isAllowed}}return e},autosaves:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":const{postId:n,autosaves:r}=t;return{...e,[n]:r}}return e}}),fe=n("pPDe"),pe=n("FtRg"),ye=n.n(pe);const be=new WeakMap;function ve(e,t){var n,r;const{stableKey:i,page:s,perPage:o,include:c,fields:u,context:l}=ne(t);let d;if(null!==(n=e.queries)&&void 0!==n&&null!==(r=n[l])&&void 0!==r&&r[i]&&(d=e.queries[l][i]),!d)return null;const f=-1===o?0:(s-1)*o,p=-1===o?d.length:Math.min(f+o,d.length),y=[];for(let t=f;t<p;t++){var b;const n=d[t];if(Array.isArray(c)&&!c.includes(n))continue;if(null===(b=e.items[l])||void 0===b||!b.hasOwnProperty(n))return null;const r=e.items[l][n];let i;if(Array.isArray(u)){i={};for(let e=0;e<u.length;e++){const t=u[e].split("."),n=Object(a.get)(r,t);Object(a.set)(i,t,n)}}else{var v;if(null===(v=e.itemIsComplete[l])||void 0===v||!v[n])return null;i=r}y.push(i)}return y}const he=Object(fe.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=be.get(e);if(n){const e=n.get(t);if(void 0!==e)return e}else n=new ye.a,be.set(e,n);const r=ve(e,t);return n.set(t,r),r}));const Ee={},me=[],ge=Object(o.createRegistrySelector)(e=>(t,n)=>e("core").isResolving("getEmbedPreview",[n]));function _e(e,t){g()("select( 'core' ).getAuthors()",{since:"5.9",alternative:"select( 'core' ).getUsers({ who: 'authors' })"});const n=Object(E.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",t);return Oe(e,n)}function Re(e){return e.currentUser}const Oe=Object(fe.a)((e,t)=>{const n=e.users.queries[t];return Object(a.map)(n,t=>e.users.byId[t])},(e,t)=>[e.users.queries[t],e.users.byId]);function we(e,t){return Object(a.filter)(e.entities.config,{kind:t})}function je(e,t,n){return Object(a.find)(e.entities.config,{kind:t,name:n})}const ke=Object(fe.a)((e,t,n,r,i)=>{var s,o;const c=Object(a.get)(e.entities.data,[t,n,"queriedData"]);if(!c)return;const u=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";if(void 0===i){var l;if(null===(l=c.itemIsComplete[u])||void 0===l||!l[r])return;return c.items[u][r]}const d=null===(o=c.items[u])||void 0===o?void 0:o[r];if(d&&i._fields){const e={},t=te(i._fields);for(let n=0;n<t.length;n++){const r=t[n].split("."),i=Object(a.get)(d,r);Object(a.set)(e,r,i)}return e}return d},(e,t,n,r,i)=>{var s;const o=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";return[Object(a.get)(e.entities.data,[t,n,"queriedData","items",o,r]),Object(a.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",o,r])]});function Te(e,t,n,r){return ke(e,t,n,r)}const Se=Object(fe.a)((e,t,n,r)=>{const i=ke(e,t,n,r);return i&&Object.keys(i).reduce((r,s)=>{var o,c;return o=je(e,t,n),c=s,(o.rawAttributes||[]).includes(c)?r[s]=Object(a.get)(i[s],"raw",i[s]):r[s]=i[s],r},{})},(e,t,n,r,i)=>{var s;const o=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";return[e.entities.config,Object(a.get)(e.entities.data,[t,n,"queriedData","items",o,r]),Object(a.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",o,r])]});function Ie(e,t,n,r){return Array.isArray(Ue(e,t,n,r))}function Ue(e,t,n,r){const i=Object(a.get)(e.entities.data,[t,n,"queriedData"]);return i?he(i,r):me}const xe=Object(fe.a)(e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach(r=>{Object.keys(t[r]).forEach(i=>{const s=Object.keys(t[r][i].edits).filter(t=>ke(e,r,i,t)&&Pe(e,r,i,t));if(s.length){const t=je(e,r,i);s.forEach(s=>{var o;const a=De(e,r,i,s);n.push({key:a[t.key||K],title:(null==t||null===(o=t.getTitle)||void 0===o?void 0:o.call(t,a))||"",name:i,kind:r})})}})}),n},e=>[e.entities.data]),Ae=Object(fe.a)(e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach(r=>{Object.keys(t[r]).forEach(i=>{const s=Object.keys(t[r][i].saving).filter(t=>Ne(e,r,i,t));if(s.length){const t=je(e,r,i);s.forEach(s=>{var o;const a=De(e,r,i,s);n.push({key:a[t.key||K],title:(null==t||null===(o=t.getTitle)||void 0===o?void 0:o.call(t,a))||"",name:i,kind:r})})}})}),n},e=>[e.entities.data]);function Ce(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"edits",r])}const Le=Object(fe.a)((e,t,n,r)=>{const{transientEdits:i}=je(e,t,n)||{},s=Ce(e,t,n,r)||{};return i?Object.keys(s).reduce((e,t)=>(i[t]||(e[t]=s[t]),e),{}):s},(e,t,n,r)=>[e.entities.config,Object(a.get)(e.entities.data,[t,n,"edits",r])]);function Pe(e,t,n,r){return Ne(e,t,n,r)||Object.keys(Le(e,t,n,r)).length>0}const De=Object(fe.a)((e,t,n,r)=>({...Se(e,t,n,r),...Ce(e,t,n,r)}),(e,t,n,r,i)=>{var s;const o=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";return[e.entities.config,Object(a.get)(e.entities.data,[t,n,"queriedData","items",o,r]),Object(a.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",o,r]),Object(a.get)(e.entities.data,[t,n,"edits",r])]});function qe(e,t,n,r){const{pending:i,isAutosave:s}=Object(a.get)(e.entities.data,[t,n,"saving",r],{});return Boolean(i&&s)}function Ne(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Me(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"deleting",r,"pending"],!1)}function Ve(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"saving",r,"error"])}function Ge(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"deleting",r,"error"])}function Fe(e){return e.undo.offset}function Be(e){return e.undo[e.undo.length-2+Fe(e)]}function Qe(e){return e.undo[e.undo.length+Fe(e)]}function Ye(e){return Boolean(Be(e))}function $e(e){return Boolean(Qe(e))}function He(e){return ke(e,"root","theme",e.currentTheme)}function Ke(e){return e.currentGlobalStylesId}function We(e){var t,n;return null!==(t=null===(n=He(e))||void 0===n?void 0:n.theme_supports)&&void 0!==t?t:Ee}function ze(e,t){return e.embedPreviews[t]}function Xe(e,t){const n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function Je(e,t,n,r){const i=Object(a.compact)([t,n,r]).join("/");return Object(a.get)(e,["userPermissions",i])}function Ze(e,t,n,r){const i=je(e,t,n);if(!i)return!1;return Je(e,"update",i.__unstable_rest_base,r)}function et(e,t,n){return e.autosaves[n]}function tt(e,t,n,r){if(void 0===r)return;const i=e.autosaves[n];return Object(a.find)(i,{author:r})}const nt=Object(o.createRegistrySelector)(e=>(t,n,r)=>e("core").hasFinishedResolution("getAutosaves",[n,r])),rt=Object(fe.a)(()=>[],e=>[e.undo.length,e.undo.offset,e.undo.flattenedUndo]);function it(e,t){const n=Ue(e,"postType","wp_template",{"find-template":t}),r=null!=n&&n.length?n[0]:null;return r?De(e,"postType","wp_template",r.id):r}function st(e){const t=He(e);return t?e.themeBaseGlobalStyles[t.stylesheet]:null}var ot=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return async t=>{let{resolveSelect:r}=t;await r[e](...n)}};const at=e=>async t=>{let{dispatch:n}=t;const r=Object(E.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",e),i=await b()({path:r});n.receiveUserQuery(r,i)},ct=()=>async e=>{let{dispatch:t}=e;const n=await b()({path:"/wp/v2/users/me"});t.receiveCurrentUser(n)},ut=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;return async i=>{let{select:s,dispatch:o}=i;const c=await o(ee(e)),u=Object(a.find)(c,{kind:e,name:t});if(!u||null!=u&&u.__experimentalNoFetch)return;const l=await o.__unstableAcquireStoreLock("core",["entities","data",e,t,n],{exclusive:!1});try{void 0!==r&&r._fields&&(r={...r,_fields:Object(a.uniq)([...te(r._fields)||[],u.key||K]).join()});const i=Object(E.addQueryArgs)(u.baseURL+(n?"/"+n:""),{...u.baseURLParams,...r});if(void 0!==r){r={...r,include:[n]};if(s.hasEntityRecords(e,t,r))return}const c=await b()({path:i});o.receiveEntityRecords(e,t,c,r)}catch(e){}finally{o.__unstableReleaseStoreLock(l)}}},lt=ot("getEntityRecord"),dt=ot("getEntityRecord"),ft=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return async r=>{let{dispatch:i}=r;const s=await i(ee(e)),o=Object(a.find)(s,{kind:e,name:t});if(!o||null!=o&&o.__experimentalNoFetch)return;const c=await i.__unstableAcquireStoreLock("core",["entities","data",e,t],{exclusive:!1});try{var u;n._fields&&(n={...n,_fields:Object(a.uniq)([...te(n._fields)||[],o.key||K]).join()});const r=Object(E.addQueryArgs)(o.baseURL,{...o.baseURLParams,...n});let s=Object.values(await b()({path:r}));if(n._fields&&(s=s.map(e=>(n._fields.split(",").forEach(t=>{e.hasOwnProperty(t)||(e[t]=void 0)}),e))),i.receiveEntityRecords(e,t,s,n),!(null!==(u=n)&&void 0!==u&&u._fields||n.context)){const n=o.key||K,r=s.filter(e=>e[n]).map(r=>[e,t,r[n]]);i({type:"START_RESOLUTIONS",selectorName:"getEntityRecord",args:r}),i({type:"FINISH_RESOLUTIONS",selectorName:"getEntityRecord",args:r})}}catch(e){}finally{i.__unstableReleaseStoreLock(c)}}};ft.shouldInvalidate=(e,t,n)=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&t===e.kind&&n===e.name;const pt=()=>async e=>{let{dispatch:t,resolveSelect:n}=e;const r=await n.getEntityRecords("root","theme",{status:"active"});t.receiveCurrentTheme(r[0])},yt=ot("getCurrentTheme"),bt=e=>async t=>{let{dispatch:n}=t;try{const t=await b()({path:Object(E.addQueryArgs)("/oembed/1.0/proxy",{url:e})});n.receiveEmbedPreview(e,t)}catch(t){n.receiveEmbedPreview(e,!1)}},vt=(e,t,n)=>async r=>{let{dispatch:i}=r;const s={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e];if(!s)throw new Error(`'${e}' is not a valid action.`);const o=n?`/wp/v2/${t}/${n}`:"/wp/v2/"+t;let c,u;try{c=await b()({path:o,method:n?"GET":"OPTIONS",parse:!1})}catch(e){return}u=Object(a.hasIn)(c,["headers","get"])?c.headers.get("allow"):Object(a.get)(c,["headers","Allow"],"");const l=Object(a.compact)([e,t,n]).join("/"),d=Object(a.includes)(u,s);i.receiveUserPermission(l,d)},ht=(e,t,n)=>async r=>{let{dispatch:i}=r;const s=await i(ee(e)),o=Object(a.find)(s,{kind:e,name:t});if(!o)return;const c=o.__unstable_rest_base;await i(vt("update",c,n))},Et=(e,t)=>async n=>{let{dispatch:r,resolveSelect:i}=n;const{rest_base:s}=await i.getPostType(e),o=await b()({path:`/wp/v2/${s}/${t}/autosaves?context=edit`});o&&o.length&&r.receiveAutosaves(t,o)},mt=(e,t)=>async n=>{let{resolveSelect:r}=n;await r.getAutosaves(e,t)},gt=e=>async t=>{let n,{dispatch:r,resolveSelect:i}=t;try{n=await window.fetch(Object(E.addQueryArgs)(e,{"_wp-find-template":!0})).then(e=>e.json()).then(e=>{let{data:t}=e;return t})}catch(e){}if(!n)return;const s=await i.getEntityRecord("postType","wp_template",n.id);s&&r.receiveEntityRecords("postType","wp_template",[s],{"find-template":e})};gt.shouldInvalidate=e=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&"postType"===e.kind&&"wp_template"===e.name;const _t=()=>async e=>{let{dispatch:t,resolveSelect:n}=e;const r=await n.getEntityRecords("root","theme",{status:"active"}),i=Object(a.get)(r,[0,"_links","wp:user-global-styles",0,"href"]);if(i){const e=await b()({url:i});t.__experimentalReceiveCurrentGlobalStylesId(e.id)}},Rt=()=>async e=>{let{resolveSelect:t,dispatch:n}=e;const r=await t.getCurrentTheme(),i=await b()({path:"/wp/v2/global-styles/themes/"+r.stylesheet});await n.__experimentalReceiveThemeBaseGlobalStyles(r.stylesheet,i)};function Ot(e,t){const n={...e};let r=n;for(const e of t)r.children={...r.children,[e]:{locks:[],children:{},...r.children[e]}},r=r.children[e];return n}function wt(e,t){let n=e;for(const e of t){const t=n.children[e];if(!t)return null;n=t}return n}function jt(e,t){let{exclusive:n}=e;return!(!n||!t.length)||!(n||!t.filter(e=>e.exclusive).length)}const kt={requests:[],tree:{locks:[],children:{}}};function Tt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:kt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENQUEUE_LOCK_REQUEST":{const{request:n}=t;return{...e,requests:[n,...e.requests]}}case"GRANT_LOCK_REQUEST":{const{lock:n,request:r}=t,{store:i,path:s}=r,o=[i,...s],a=Ot(e.tree,o),c=wt(a,o);return c.locks=[...c.locks,n],{...e,requests:e.requests.filter(e=>e!==r),tree:a}}case"RELEASE_LOCK":{const{lock:n}=t,r=[n.store,...n.path],i=Ot(e.tree,r),s=wt(i,r);return s.locks=s.locks.filter(e=>e!==n),{...e,tree:i}}}return e}function St(e,t,n,r){let{exclusive:i}=r;const s=[t,...n],o=e.tree;for(const e of function*(e,t){let n=e;yield n;for(const e of t){const t=n.children[e];if(!t)break;yield t,n=t}}(o,s))if(jt({exclusive:i},e.locks))return!1;const a=wt(o,s);if(!a)return!0;for(const e of function*(e){const t=Object.values(e.children);for(;t.length;){const e=t.pop();yield e,t.push(...Object.values(e.children))}}(a))if(jt({exclusive:i},e.locks))return!1;return!0}function It(){const e=function(){let e=Tt(void 0,{type:"@@INIT"});function t(){for(const t of function(e){return e.requests}(e)){const{store:n,path:r,exclusive:i,notifyAcquired:s}=t;if(St(e,n,r,{exclusive:i})){const o={store:n,path:r,exclusive:i};e=Tt(e,{type:"GRANT_LOCK_REQUEST",lock:o,request:t}),s(o)}}}return{acquire:function(n,r,i){return new Promise(s=>{e=Tt(e,{type:"ENQUEUE_LOCK_REQUEST",request:{store:n,path:r,exclusive:i,notifyAcquired:s}}),t()})},release:function(n){e=Tt(e,{type:"RELEASE_LOCK",lock:n}),t()}}}();return{__unstableAcquireStoreLock:function(t,n,r){let{exclusive:i}=r;return()=>e.acquire(t,n,i)},__unstableReleaseStoreLock:function(t){return()=>e.release(t)}}}var Ut=n("GRId"),xt=n("HSyU");const At=[],Ct={...z.reduce((e,t)=>(e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:Object(Ut.createContext)()},e),{}),...X.reduce((e,t)=>(e[t.name]={},e),{})},Lt=(e,t)=>{if(!Ct[e])throw new Error(`Missing entity config for kind: ${e}.`);return Ct[e][t]||(Ct[e][t]={context:Object(Ut.createContext)()}),Ct[e][t]};function Pt(e){let{kind:t,type:n,id:r,children:i}=e;const s=Lt(t,n).context.Provider;return Object(Ut.createElement)(s,{value:r},i)}function Dt(e,t){return Object(Ut.useContext)(Lt(e,t).context)}function qt(e,t,n,r){const i=Dt(e,t),s=null!=r?r:i,{value:a,fullValue:c}=Object(o.useSelect)(r=>{const{getEntityRecord:i,getEditedEntityRecord:o}=r("core"),a=i(e,t,s),c=o(e,t,s);return a&&c?{value:c[n],fullValue:a[n]}:{}},[e,t,s,n]),{editEntityRecord:u}=Object(o.useDispatch)("core");return[a,Object(Ut.useCallback)(r=>{u(e,t,s,{[n]:r})},[e,t,s,n]),c]}function Nt(e,t){let{id:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Dt(e,t),i=null!=n?n:r,{content:s,blocks:a}=Object(o.useSelect)(n=>{const{getEditedEntityRecord:r}=n("core"),s=r(e,t,i);return{blocks:s.blocks,content:s.content}},[e,t,i]),{__unstableCreateUndoLevel:c,editEntityRecord:u}=Object(o.useDispatch)("core");Object(Ut.useEffect)(()=>{if(s&&"function"!=typeof s&&!a){const n=Object(xt.parse)(s);u(e,t,i,{blocks:n},{undoIgnore:!0})}},[s]);const l=Object(Ut.useCallback)((n,r)=>{const{selection:s}=r,o={blocks:n,selection:s};if(a===o.blocks)return c(e,t,i);o.content=e=>{let{blocks:t=[]}=e;return Object(xt.__unstableSerializeAndClean)(t)},u(e,t,i,o)},[e,t,i,a]),d=Object(Ut.useCallback)((n,r)=>{const{selection:s}=r;u(e,t,i,{blocks:n,selection:s})},[e,t,i]);return[null!=a?a:At,d,l]}var Mt=n("rmEH");var Vt=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{isInitialSuggestions:r=!1,type:i,subtype:s,page:o,perPage:a=(r?3:20)}=t,{disablePostFormats:c=!1}=n,u=[];return i&&"post"!==i||u.push(b()({path:Object(E.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:a,type:"post",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"post-type",subtype:s}}))).catch(()=>[])),i&&"term"!==i||u.push(b()({path:Object(E.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:a,type:"term",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:s}}))).catch(()=>[])),c||i&&"post-format"!==i||u.push(b()({path:Object(E.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:a,type:"post-format",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:s}}))).catch(()=>[])),Promise.all(u).then(e=>e.reduce((e,t)=>e.concat(t),[]).filter(e=>!!e.id).slice(0,a).map(e=>{var t;return{id:e.id,url:e.url,title:Object(Mt.decodeEntities)(e.title||"")||Object(v.__)("(no title)"),type:e.subtype||e.type,kind:null==e||null===(t=e.meta)||void 0===t?void 0:t.kind}}))};const Gt=new Map;var Ft=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="/wp-block-editor/v1/url-details",r={url:Object(E.prependHTTP)(e)};if(!Object(E.isURL)(e))return Promise.reject(e+" is not a valid URL.");const i=Object(E.getProtocol)(e);return Object(E.isValidProtocol)(i)&&i.startsWith("http")&&/^https?:\/\/[^\/\s]/i.test(e)?Gt.has(e)?Gt.get(e):b()({path:Object(E.addQueryArgs)(n,r),...t}).then(t=>(Gt.set(e,t),t)):Promise.reject(e+' does not have a valid protocol. URLs must be "http" based')};const Bt=z.reduce((e,t)=>{const{kind:n,name:r}=t;return e[Z(n,r)]=(e,t,i)=>ke(e,n,r,t,i),e[Z(n,r,"get",!0)]=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];return Ue(e,n,r,...i)},e},{}),Qt=z.reduce((e,t)=>{const{kind:n,name:r}=t;e[Z(n,r)]=(e,t)=>ut(n,r,e,t);const i=Z(n,r,"get",!0);return e[i]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return ft(n,r,...t)},e[i].shouldInvalidate=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];return ft.shouldInvalidate(e,n,r,...i)},e},{}),Yt=z.reduce((e,t)=>{const{kind:n,name:r}=t;return e[Z(n,r,"save")]=e=>G(n,r,e),e[Z(n,r,"delete")]=(e,t)=>D(n,r,e,t),e},{}),$t=Object(o.createReduxStore)("core",{reducer:de,actions:{...r,...Yt,...It()},selectors:{...i,...Bt},resolvers:{...s,...Qt},__experimentalUseThunks:!0});Object(o.register)($t)},l3Sj:function(e,t){e.exports=window.wp.i18n},pPDe:function(e,t,n){"use strict";var r,i;function s(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function u(){n=i?new WeakMap:o()}function l(){var n,r,i,s,o,u=arguments.length;for(s=new Array(u),i=0;i<u;i++)s[i]=arguments[i];for(o=t.apply(null,s),(n=c(o)).isUniqueByDependants||(n.lastDependants&&!a(o,n.lastDependants,0)&&n.clear(),n.lastDependants=o),r=n.head;r;){if(a(r.args,s,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,s)},s[0]=null,r.args=s,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=s),c=i?function(e){var t,i,s,a,c,u=n,l=!0;for(t=0;t<e.length;t++){if(i=e[t],!(c=i)||"object"!=typeof c){l=!1;break}u.has(i)?u=u.get(i):(s=new WeakMap,u.set(i,s),u=s)}return u.has(r)||((a=o()).isUniqueByDependants=l,u.set(r,a)),u.get(r)}:function(){return n},l.getDependants=t,l.clear=u,u(),l}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},rmEH:function(e,t){e.exports=window.wp.htmlEntities},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
/home/sudancam/.trash/wp-includes/./certificates/../js/dist/core-data.min.js